{ "version": 3, "sources": ["src/app/cards/_modals/edit-collection-tags/edit-collection-tags.component.ts", "src/app/cards/_modals/edit-collection-tags/edit-collection-tags.component.html", "src/app/collections/_components/all-collections/all-collections.component.ts", "src/app/collections/_components/all-collections/all-collections.component.html", "src/app/_single-module/smart-collection-drawer/smart-collection-drawer.component.ts", "src/app/_single-module/smart-collection-drawer/smart-collection-drawer.component.html", "src/app/collections/_components/collection-detail/collection-detail.component.ts", "src/app/collections/_components/collection-detail/collection-detail.component.html", "src/app/_routes/collections-routing.module.ts"], "sourcesContent": ["import {ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, inject, Input, OnInit} from '@angular/core';\nimport {FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators} from '@angular/forms';\nimport {\n NgbActiveModal,\n NgbNav,\n NgbNavContent,\n NgbNavItem,\n NgbNavLink,\n NgbNavOutlet,\n NgbPagination,\n NgbTooltip\n} from '@ng-bootstrap/ng-bootstrap';\nimport {ToastrService} from 'ngx-toastr';\nimport {debounceTime, distinctUntilChanged, forkJoin, switchMap, tap} from 'rxjs';\nimport {ConfirmService} from 'src/app/shared/confirm.service';\nimport {Breakpoint, UtilityService} from 'src/app/shared/_services/utility.service';\nimport {UserCollection} from 'src/app/_models/collection-tag';\nimport {Pagination} from 'src/app/_models/pagination';\nimport {Series} from 'src/app/_models/series';\nimport {CollectionTagService} from 'src/app/_services/collection-tag.service';\nimport {ImageService} from 'src/app/_services/image.service';\nimport {LibraryService} from 'src/app/_services/library.service';\nimport {SeriesService} from 'src/app/_services/series.service';\nimport {UploadService} from 'src/app/_services/upload.service';\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\";\nimport {DatePipe, DecimalPipe, NgIf, NgTemplateOutlet} from \"@angular/common\";\nimport {CoverImageChooserComponent} from \"../../cover-image-chooser/cover-image-chooser.component\";\nimport {translate, TranslocoDirective} from \"@jsverse/transloco\";\nimport {ScrobbleProvider} from \"../../../_services/scrobbling.service\";\nimport {FilterPipe} from \"../../../_pipes/filter.pipe\";\nimport {AccountService} from \"../../../_services/account.service\";\nimport {DefaultDatePipe} from \"../../../_pipes/default-date.pipe\";\nimport {ReadMoreComponent} from \"../../../shared/read-more/read-more.component\";\nimport {SafeHtmlPipe} from \"../../../_pipes/safe-html.pipe\";\nimport {SafeUrlPipe} from \"../../../_pipes/safe-url.pipe\";\nimport {MangaFormatPipe} from \"../../../_pipes/manga-format.pipe\";\nimport {SentenceCasePipe} from \"../../../_pipes/sentence-case.pipe\";\nimport {TagBadgeComponent} from \"../../../shared/tag-badge/tag-badge.component\";\nimport {SelectionModel} from \"../../../typeahead/_models/selection-model\";\nimport {UtcToLocalTimePipe} from \"../../../_pipes/utc-to-local-time.pipe\";\n\n\nenum TabID {\n General = 'general-tab',\n CoverImage = 'cover-image-tab',\n Series = 'series-tab',\n Info = 'info-tab'\n}\n\n@Component({\n selector: 'app-edit-collection-tags',\n standalone: true,\n imports: [NgbNav, NgbNavItem, NgbNavLink, NgbNavContent, ReactiveFormsModule, FormsModule, NgbPagination,\n CoverImageChooserComponent, NgbNavOutlet, NgbTooltip, TranslocoDirective, NgTemplateOutlet, FilterPipe, DatePipe, DefaultDatePipe, ReadMoreComponent, SafeHtmlPipe, SafeUrlPipe, MangaFormatPipe, NgIf, SentenceCasePipe, TagBadgeComponent, DecimalPipe, UtcToLocalTimePipe],\n templateUrl: './edit-collection-tags.component.html',\n styleUrls: ['./edit-collection-tags.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EditCollectionTagsComponent implements OnInit {\n\n public readonly modal = inject(NgbActiveModal);\n public readonly utilityService = inject(UtilityService);\n private readonly destroyRef = inject(DestroyRef);\n private readonly seriesService = inject(SeriesService);\n private readonly collectionService = inject(CollectionTagService);\n private readonly toastr = inject(ToastrService);\n private readonly confirmService = inject(ConfirmService);\n private readonly libraryService = inject(LibraryService);\n private readonly imageService = inject(ImageService);\n private readonly uploadService = inject(UploadService);\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly accountService = inject(AccountService);\n\n protected readonly Breakpoint = Breakpoint;\n protected readonly TabID = TabID;\n protected readonly ScrobbleProvider = ScrobbleProvider;\n\n @Input({required: true}) tag!: UserCollection;\n\n series: Array = [];\n selections!: SelectionModel;\n isLoading: boolean = true;\n\n pagination!: Pagination;\n selectAll: boolean = true;\n libraryNames!: any;\n collectionTagForm!: FormGroup;\n active = TabID.General;\n imageUrls: Array = [];\n selectedCover: string = '';\n formGroup = new FormGroup({'filter': new FormControl('', [])});\n\n\n get hasSomeSelected() {\n return this.selections != null && this.selections.hasSomeSelected();\n }\n\n filterList = (listItem: Series) => {\n const query = (this.formGroup.get('filter')?.value || '').toLowerCase();\n return listItem.name.toLowerCase().indexOf(query) >= 0 || listItem.localizedName.toLowerCase().indexOf(query) >= 0;\n }\n\n\n ngOnInit(): void {\n if (this.pagination == undefined) {\n this.pagination = {totalPages: 1, totalItems: 200, itemsPerPage: 200, currentPage: 0};\n }\n this.collectionTagForm = new FormGroup({\n title: new FormControl(this.tag.title, { nonNullable: true, validators: [Validators.required] }),\n summary: new FormControl(this.tag.summary, { nonNullable: true, validators: [] }),\n coverImageLocked: new FormControl(this.tag.coverImageLocked, { nonNullable: true, validators: [] }),\n coverImageIndex: new FormControl(0, { nonNullable: true, validators: [] }),\n promoted: new FormControl(this.tag.promoted, { nonNullable: true, validators: [] }),\n });\n\n if (this.tag.source !== ScrobbleProvider.Kavita) {\n this.collectionTagForm.get('title')?.disable();\n this.collectionTagForm.get('summary')?.disable();\n }\n\n this.accountService.currentUser$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(user => {\n if (!user) return;\n if (!this.accountService.hasPromoteRole(user)) {\n this.collectionTagForm.get('promoted')?.disable();\n this.cdRef.markForCheck();\n }\n });\n\n\n this.collectionTagForm.get('title')?.valueChanges.pipe(\n debounceTime(100),\n distinctUntilChanged(),\n switchMap(name => this.collectionService.tagNameExists(name)),\n tap(exists => {\n const isExistingName = this.collectionTagForm.get('title')?.value === this.tag.title;\n if (!exists || isExistingName) {\n this.collectionTagForm.get('title')?.setErrors(null);\n } else {\n this.collectionTagForm.get('title')?.setErrors({duplicateName: true})\n }\n this.cdRef.markForCheck();\n }),\n takeUntilDestroyed(this.destroyRef)\n ).subscribe();\n\n this.imageUrls.push(this.imageService.randomize(this.imageService.getCollectionCoverImage(this.tag.id)));\n this.loadSeries();\n }\n\n onPageChange(pageNum: number) {\n this.pagination.currentPage = pageNum;\n this.loadSeries();\n }\n\n toggleAll() {\n this.selectAll = !this.selectAll;\n this.series.forEach(s => this.selections.toggle(s, this.selectAll));\n this.cdRef.markForCheck();\n }\n\n loadSeries() {\n forkJoin([\n this.seriesService.getSeriesForTag(this.tag.id, this.pagination.currentPage, this.pagination.itemsPerPage),\n this.libraryService.getLibraryNames()\n ]).subscribe(results => {\n const series = results[0];\n this.pagination = series.pagination;\n this.series = series.result;\n\n this.imageUrls.push(...this.series.map(s => this.imageService.getSeriesCoverImage(s.id)));\n this.selections = new SelectionModel(true, this.series);\n this.isLoading = false;\n\n this.libraryNames = results[1];\n this.cdRef.markForCheck();\n });\n }\n\n handleSelection(item: Series) {\n this.selections.toggle(item);\n const numberOfSelected = this.selections.selected().length;\n if (numberOfSelected == 0) {\n this.selectAll = false;\n } else if (numberOfSelected == this.series.length) {\n this.selectAll = true;\n }\n this.cdRef.markForCheck();\n }\n\n libraryName(libraryId: number) {\n return this.libraryNames[libraryId];\n }\n\n close() {\n this.modal.dismiss();\n }\n\n async save() {\n const selectedIndex = this.collectionTagForm.get('coverImageIndex')?.value || 0;\n const unselectedIds = this.selections.unselected().map(s => s.id);\n const tag = this.collectionTagForm.value;\n tag.id = this.tag.id;\n tag.title = this.collectionTagForm.get('title')!.value;\n tag.summary = this.collectionTagForm.get('summary')!.value;\n\n\n if (unselectedIds.length == this.series.length &&\n !await this.confirmService.confirm(translate('toasts.no-series-collection-warning'))) {\n return;\n }\n\n const apis = [\n this.collectionService.updateTag(tag),\n ];\n\n const unselectedSeries = this.selections.unselected().map(s => s.id);\n if (unselectedSeries.length > 0) {\n apis.push(this.collectionService.updateSeriesForTag(tag, unselectedSeries));\n }\n\n if (selectedIndex > 0) {\n apis.push(this.uploadService.updateCollectionCoverImage(this.tag.id, this.selectedCover));\n }\n\n forkJoin(apis).subscribe(() => {\n this.modal.close({success: true, coverImageUpdated: selectedIndex > 0});\n this.toastr.success(translate('toasts.collection-updated'));\n });\n }\n\n updateSelectedIndex(index: number) {\n this.collectionTagForm.patchValue({\n coverImageIndex: index\n });\n }\n\n updateSelectedImage(url: string) {\n this.selectedCover = url;\n this.cdRef.markForCheck();\n }\n\n handleReset() {\n this.collectionTagForm.patchValue({\n coverImageLocked: false\n });\n this.cdRef.markForCheck();\n }\n}\n", "\n\n
\n

{{t('title', {collectionName: tag.title})}}

\n \n
\n
\n
    \n
  • \n {{t(TabID.General)}}\n \n
    \n
    \n
    \n \n \n @if (collectionTagForm.dirty || !collectionTagForm.untouched) {\n
    \n @if (collectionTagForm.get('title')?.errors?.required) {\n
    {{t('required-field')}}
    \n }\n @if (collectionTagForm.get('title')?.errors?.duplicateName) {\n
    {{t('name-validation')}}
    \n }\n
    \n }\n
    \n
    \n
    \n \n \n \n {{t('promote-tooltip')}}\n \n
    \n
    \n
    \n\n
    \n \n \n
    \n\n
    \n
    \n
  • \n\n @if (tag.source === ScrobbleProvider.Kavita) {\n
  • \n {{t(TabID.Series)}}\n \n @if (!isLoading) {\n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
      \n @for (item of series | filter: filterList; let i = $index; track item.id) {\n
    • \n
      \n \n \n
      \n
    • \n }\n
    \n @if (pagination && series.length !== 0 && pagination.totalPages > 1) {\n
    \n \n
    \n }\n
    \n }\n
    \n
  • \n }\n\n
  • \n {{t(TabID.CoverImage)}}\n \n \n \n
  • \n\n @if (tag.source !== ScrobbleProvider.Kavita) {\n
  • \n {{t(TabID.Info)}}\n \n
    \n
    \n
    {{t('last-sync-title')}}
    \n
    {{tag.lastSyncUtc | utcToLocalTime | date:'shortDate' | defaultDate}}
    \n
    \n
    \n
    {{t('source-url-title')}}
    \n {{tag.sourceUrl}}\n
    \n
    \n
    \n
    \n
    {{t('total-series-title')}}
    \n
    {{tag.totalSourceCount | number}}
    \n
    \n
    \n
    {{t('missing-series-title')}}
    \n
    {{tag.totalSourceCount - series.length}}
    \n
    \n
    \n\n\n @if (tag.missingSeriesFromSource !== null && (tag.totalSourceCount - series.length) > 0) {\n
    {{t('missing-series-title')}}
    \n
    \n

    \n
    \n }\n
    \n
  • \n }\n\n
\n\n
\n
\n
\n \n \n
\n\n
\n", "import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n EventEmitter,\n HostListener,\n inject,\n OnInit\n} from '@angular/core';\nimport {Title} from '@angular/platform-browser';\nimport {Router} from '@angular/router';\nimport {NgbModal} from '@ng-bootstrap/ng-bootstrap';\nimport {map, of} from 'rxjs';\nimport {Observable} from 'rxjs/internal/Observable';\nimport {EditCollectionTagsComponent} from 'src/app/cards/_modals/edit-collection-tags/edit-collection-tags.component';\nimport {UserCollection} from 'src/app/_models/collection-tag';\nimport {JumpKey} from 'src/app/_models/jumpbar/jump-key';\nimport {Tag} from 'src/app/_models/tag';\nimport {AccountService} from 'src/app/_services/account.service';\nimport {Action, ActionFactoryService, ActionItem} from 'src/app/_services/action-factory.service';\nimport {CollectionTagService} from 'src/app/_services/collection-tag.service';\nimport {ImageService} from 'src/app/_services/image.service';\nimport {JumpbarService} from 'src/app/_services/jumpbar.service';\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\";\nimport {AsyncPipe, DecimalPipe} from '@angular/common';\nimport {CardItemComponent} from '../../../cards/card-item/card-item.component';\nimport {CardDetailLayoutComponent} from '../../../cards/card-detail-layout/card-detail-layout.component';\nimport {\n SideNavCompanionBarComponent\n} from '../../../sidenav/_components/side-nav-companion-bar/side-nav-companion-bar.component';\nimport {translate, TranslocoDirective, TranslocoService} from \"@jsverse/transloco\";\nimport {ToastrService} from \"ngx-toastr\";\nimport {ScrobbleProvider} from \"../../../_services/scrobbling.service\";\nimport {ProviderImagePipe} from \"../../../_pipes/provider-image.pipe\";\nimport {ProviderNamePipe} from \"../../../_pipes/provider-name.pipe\";\nimport {CollectionOwnerComponent} from \"../collection-owner/collection-owner.component\";\nimport {User} from \"../../../_models/user\";\nimport {BulkOperationsComponent} from \"../../../cards/bulk-operations/bulk-operations.component\";\nimport {BulkSelectionService} from \"../../../cards/bulk-selection.service\";\nimport {SeriesCardComponent} from \"../../../cards/series-card/series-card.component\";\nimport {ActionService} from \"../../../_services/action.service\";\nimport {KEY_CODES} from \"../../../shared/_services/utility.service\";\nimport {WikiLink} from \"../../../_models/wiki\";\nimport {DefaultModalOptions} from \"../../../_models/default-modal-options\";\n\n\n@Component({\n selector: 'app-all-collections',\n templateUrl: './all-collections.component.html',\n styleUrls: ['./all-collections.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [SideNavCompanionBarComponent, CardDetailLayoutComponent, CardItemComponent, AsyncPipe, DecimalPipe, TranslocoDirective, ProviderImagePipe, ProviderNamePipe, CollectionOwnerComponent, BulkOperationsComponent, SeriesCardComponent]\n})\nexport class AllCollectionsComponent implements OnInit {\n\n private readonly destroyRef = inject(DestroyRef);\n private readonly translocoService = inject(TranslocoService);\n private readonly toastr = inject(ToastrService);\n private readonly collectionService = inject(CollectionTagService);\n private readonly router = inject(Router);\n private readonly actionFactoryService = inject(ActionFactoryService);\n private readonly modalService = inject(NgbModal);\n private readonly titleService = inject(Title);\n private readonly jumpbarService = inject(JumpbarService);\n private readonly cdRef = inject(ChangeDetectorRef);\n public readonly imageService = inject(ImageService);\n public readonly accountService = inject(AccountService);\n public readonly bulkSelectionService = inject(BulkSelectionService);\n public readonly actionService = inject(ActionService);\n\n protected readonly ScrobbleProvider = ScrobbleProvider;\n protected readonly WikiLink = WikiLink;\n\n isLoading: boolean = true;\n collections: UserCollection[] = [];\n collectionTagActions: ActionItem[] = [];\n jumpbarKeys: Array = [];\n filterOpen: EventEmitter = new EventEmitter();\n trackByIdentity = (index: number, item: UserCollection) => `${item.id}_${item.title}_${item.owner}_${item.promoted}`;\n user!: User;\n\n\n constructor() {\n this.router.routeReuseStrategy.shouldReuseRoute = () => false;\n this.titleService.setTitle('Kavita - ' + this.translocoService.translate('all-collections.title'));\n this.accountService.currentUser$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(user => {\n if (user) {\n this.user = user;\n this.cdRef.markForCheck();\n }\n });\n }\n\n ngOnInit() {\n this.loadPage();\n\n this.accountService.currentUser$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(user => {\n if (!user) return;\n this.collectionTagActions = this.actionFactoryService.getCollectionTagActions(this.handleCollectionActionCallback.bind(this))\n .filter(action => this.collectionService.actionListFilter(action, user));\n this.cdRef.markForCheck();\n });\n }\n\n loadCollection(item: UserCollection) {\n this.router.navigate(['collections', item.id]);\n }\n\n loadPage() {\n this.isLoading = true;\n this.cdRef.markForCheck();\n this.collectionService.allCollections().subscribe(tags => {\n this.collections = [...tags];\n this.isLoading = false;\n this.jumpbarKeys = this.jumpbarService.getJumpKeys(tags, (t: Tag) => t.title);\n this.cdRef.markForCheck();\n });\n }\n\n handleCollectionActionCallback(action: ActionItem, collectionTag: UserCollection) {\n\n if (collectionTag.owner != this.user.username) {\n this.toastr.error(translate('toasts.collection-not-owned'));\n return;\n }\n\n switch (action.action) {\n case Action.Promote:\n this.collectionService.promoteMultipleCollections([collectionTag.id], true).subscribe(_ => this.loadPage());\n break;\n case Action.UnPromote:\n this.collectionService.promoteMultipleCollections([collectionTag.id], false).subscribe(_ => this.loadPage());\n break;\n case(Action.Delete):\n this.collectionService.deleteTag(collectionTag.id).subscribe(res => {\n this.loadPage();\n this.toastr.success(res);\n });\n break;\n case(Action.Edit):\n const modalRef = this.modalService.open(EditCollectionTagsComponent, DefaultModalOptions);\n modalRef.componentInstance.tag = collectionTag;\n modalRef.closed.subscribe((results: {success: boolean, coverImageUpdated: boolean}) => {\n if (results.success) {\n this.loadPage();\n }\n });\n break;\n default:\n break;\n }\n }\n\n bulkActionCallback = (action: ActionItem, data: any) => {\n const selectedCollectionIndexies = this.bulkSelectionService.getSelectedCardsForSource('collection');\n const selectedCollections = this.collections.filter((col, index: number) => selectedCollectionIndexies.includes(index + ''));\n\n switch (action.action) {\n case Action.Promote:\n this.actionService.promoteMultipleCollections(selectedCollections, true, (success) => {\n if (!success) return;\n this.bulkSelectionService.deselectAll();\n this.loadPage();\n });\n break;\n case Action.UnPromote:\n this.actionService.promoteMultipleCollections(selectedCollections, false, (success) => {\n if (!success) return;\n this.bulkSelectionService.deselectAll();\n this.loadPage();\n });\n break;\n case Action.Delete:\n this.actionService.deleteMultipleCollections(selectedCollections, (successful) => {\n if (!successful) return;\n this.loadPage();\n this.bulkSelectionService.deselectAll();\n });\n break;\n }\n }\n}\n", "
\n \n \n

{{t('title')}}

\n
{{t('item-count', {num: collections.length | number})}}
\n
\n \n\n \n \n \n\n \n \n \n \n \n\n \n {{t('no-data')}}\n @if(accountService.isAdmin$ | async) {\n {{t('create-one-part-1')}} {{t('create-one-part-2')}}\n }\n \n \n\n
\n
\n", "import {ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, OnInit} from '@angular/core';\nimport {NgbActiveOffcanvas, NgbTooltip} from \"@ng-bootstrap/ng-bootstrap\";\nimport {UserCollection} from \"../../_models/collection-tag\";\nimport {ImageComponent} from \"../../shared/image/image.component\";\nimport {LoadingComponent} from \"../../shared/loading/loading.component\";\nimport {MetadataDetailComponent} from \"../../series-detail/_components/metadata-detail/metadata-detail.component\";\nimport {DatePipe, DecimalPipe, NgOptimizedImage} from \"@angular/common\";\nimport {ProviderImagePipe} from \"../../_pipes/provider-image.pipe\";\nimport {PublicationStatusPipe} from \"../../_pipes/publication-status.pipe\";\nimport {ReadMoreComponent} from \"../../shared/read-more/read-more.component\";\nimport {TranslocoDirective} from \"@jsverse/transloco\";\nimport {Series} from \"../../_models/series\";\nimport {SafeHtmlPipe} from \"../../_pipes/safe-html.pipe\";\nimport {RouterLink} from \"@angular/router\";\nimport {DefaultDatePipe} from \"../../_pipes/default-date.pipe\";\nimport {UtcToLocalTimePipe} from \"../../_pipes/utc-to-local-time.pipe\";\nimport {SettingItemComponent} from \"../../settings/_components/setting-item/setting-item.component\";\n\n@Component({\n selector: 'app-smart-collection-drawer',\n standalone: true,\n imports: [\n ImageComponent,\n LoadingComponent,\n MetadataDetailComponent,\n NgOptimizedImage,\n NgbTooltip,\n ProviderImagePipe,\n PublicationStatusPipe,\n ReadMoreComponent,\n TranslocoDirective,\n SafeHtmlPipe,\n RouterLink,\n DatePipe,\n DefaultDatePipe,\n UtcToLocalTimePipe,\n SettingItemComponent,\n DecimalPipe\n ],\n templateUrl: './smart-collection-drawer.component.html',\n styleUrl: './smart-collection-drawer.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartCollectionDrawerComponent implements OnInit {\n private readonly activeOffcanvas = inject(NgbActiveOffcanvas);\n private readonly cdRef = inject(ChangeDetectorRef);\n\n @Input({required: true}) collection!: UserCollection;\n @Input({required: true}) series: Series[] = [];\n\n ngOnInit() {\n\n }\n\n close() {\n this.activeOffcanvas.close();\n }\n}\n", "\n
\n
\n {{collection.title}}\n
\n \n
\n\n
\n\n
\n \n \n {{collection.lastSyncUtc | utcToLocalTime | date:'shortDate' | defaultDate}}\n \n \n
\n\n\n
\n \n \n {{collection.totalSourceCount - series.length}} / {{collection.totalSourceCount | number}}\n \n\n \n @if(collection.missingSeriesFromSource) {\n

\n }\n @for(s of series; track s.name) {\n \n }\n
\n
\n
\n
\n
\n", "import {AsyncPipe, DatePipe, DOCUMENT, NgStyle} from '@angular/common';\nimport {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n HostListener,\n inject,\n Inject,\n OnInit,\n ViewChild\n} from '@angular/core';\nimport {Title} from '@angular/platform-browser';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {NgbModal, NgbOffcanvas, NgbTooltip} from '@ng-bootstrap/ng-bootstrap';\nimport {ToastrService} from 'ngx-toastr';\nimport {debounceTime, take} from 'rxjs/operators';\nimport {BulkSelectionService} from 'src/app/cards/bulk-selection.service';\nimport {EditCollectionTagsComponent} from 'src/app/cards/_modals/edit-collection-tags/edit-collection-tags.component';\nimport {FilterSettings} from 'src/app/metadata-filter/filter-settings';\nimport {FilterUtilitiesService} from 'src/app/shared/_services/filter-utilities.service';\nimport {Breakpoint, KEY_CODES, UtilityService} from 'src/app/shared/_services/utility.service';\nimport {UserCollection} from 'src/app/_models/collection-tag';\nimport {SeriesAddedToCollectionEvent} from 'src/app/_models/events/series-added-to-collection-event';\nimport {JumpKey} from 'src/app/_models/jumpbar/jump-key';\nimport {Pagination} from 'src/app/_models/pagination';\nimport {Series} from 'src/app/_models/series';\nimport {FilterEvent} from 'src/app/_models/metadata/series-filter';\nimport {Action, ActionFactoryService, ActionItem} from 'src/app/_services/action-factory.service';\nimport {ActionService} from 'src/app/_services/action.service';\nimport {CollectionTagService} from 'src/app/_services/collection-tag.service';\nimport {ImageService} from 'src/app/_services/image.service';\nimport {JumpbarService} from 'src/app/_services/jumpbar.service';\nimport {EVENTS, MessageHubService} from 'src/app/_services/message-hub.service';\nimport {ScrollService} from 'src/app/_services/scroll.service';\nimport {SeriesService} from 'src/app/_services/series.service';\nimport {SeriesCardComponent} from '../../../cards/series-card/series-card.component';\nimport {CardDetailLayoutComponent} from '../../../cards/card-detail-layout/card-detail-layout.component';\nimport {BulkOperationsComponent} from '../../../cards/bulk-operations/bulk-operations.component';\nimport {ReadMoreComponent} from '../../../shared/read-more/read-more.component';\nimport {ImageComponent} from '../../../shared/image/image.component';\n\nimport {\n SideNavCompanionBarComponent\n} from '../../../sidenav/_components/side-nav-companion-bar/side-nav-companion-bar.component';\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\";\nimport {translate, TranslocoDirective, TranslocoService} from \"@jsverse/transloco\";\nimport {CardActionablesComponent} from \"../../../_single-module/card-actionables/card-actionables.component\";\nimport {FilterField} from \"../../../_models/metadata/v2/filter-field\";\nimport {FilterComparison} from \"../../../_models/metadata/v2/filter-comparison\";\nimport {SeriesFilterV2} from \"../../../_models/metadata/v2/series-filter-v2\";\nimport {AccountService} from \"../../../_services/account.service\";\nimport {User} from \"../../../_models/user\";\nimport {ScrobbleProvider} from \"../../../_services/scrobbling.service\";\nimport {SafeHtmlPipe} from \"../../../_pipes/safe-html.pipe\";\nimport {TranslocoDatePipe} from \"@jsverse/transloco-locale\";\nimport {DefaultDatePipe} from \"../../../_pipes/default-date.pipe\";\nimport {ProviderImagePipe} from \"../../../_pipes/provider-image.pipe\";\nimport {ProviderNamePipe} from \"../../../_pipes/provider-name.pipe\";\nimport {PromotedIconComponent} from \"../../../shared/_components/promoted-icon/promoted-icon.component\";\nimport {\n SmartCollectionDrawerComponent\n} from \"../../../_single-module/smart-collection-drawer/smart-collection-drawer.component\";\nimport {DefaultModalOptions} from \"../../../_models/default-modal-options\";\n\n@Component({\n selector: 'app-collection-detail',\n templateUrl: './collection-detail.component.html',\n styleUrls: ['./collection-detail.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [SideNavCompanionBarComponent, CardActionablesComponent, NgStyle, ImageComponent, ReadMoreComponent,\n BulkOperationsComponent, CardDetailLayoutComponent, SeriesCardComponent, TranslocoDirective, NgbTooltip,\n SafeHtmlPipe, TranslocoDatePipe, DatePipe, DefaultDatePipe, ProviderImagePipe, ProviderNamePipe, AsyncPipe,\n PromotedIconComponent]\n})\nexport class CollectionDetailComponent implements OnInit, AfterContentChecked {\n\n public readonly imageService = inject(ImageService);\n public readonly bulkSelectionService = inject(BulkSelectionService);\n private readonly destroyRef = inject(DestroyRef);\n private readonly translocoService = inject(TranslocoService);\n private readonly collectionService = inject(CollectionTagService);\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n private readonly seriesService = inject(SeriesService);\n private readonly toastr = inject(ToastrService);\n private readonly actionFactoryService = inject(ActionFactoryService);\n private readonly accountService = inject(AccountService);\n private readonly modalService = inject(NgbModal);\n private readonly offcanvasService = inject(NgbOffcanvas);\n private readonly titleService = inject(Title);\n private readonly jumpbarService = inject(JumpbarService);\n private readonly actionService = inject(ActionService);\n private readonly messageHub = inject(MessageHubService);\n private readonly filterUtilityService = inject(FilterUtilitiesService);\n protected readonly utilityService = inject(UtilityService);\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly scrollService = inject(ScrollService);\n\n protected readonly ScrobbleProvider = ScrobbleProvider;\n protected readonly Breakpoint = Breakpoint;\n\n @ViewChild('scrollingBlock') scrollingBlock: ElementRef | undefined;\n @ViewChild('companionBar') companionBar: ElementRef | undefined;\n\n\n\n collectionTag!: UserCollection;\n isLoading: boolean = true;\n series: Array = [];\n pagination: Pagination = new Pagination();\n collectionTagActions: ActionItem[] = [];\n filter: SeriesFilterV2 | undefined = undefined;\n filterSettings: FilterSettings = new FilterSettings();\n summary: string = '';\n user!: User;\n\n actionInProgress: boolean = false;\n filterActiveCheck!: SeriesFilterV2;\n filterActive: boolean = false;\n\n jumpbarKeys: Array = [];\n\n filterOpen: EventEmitter = new EventEmitter();\n trackByIdentity = (index: number, item: Series) => `${item.name}_${item.localizedName}_${item.pagesRead}`;\n\n\n bulkActionCallback = (action: ActionItem, data: any) => {\n const selectedSeriesIndices = this.bulkSelectionService.getSelectedCardsForSource('series');\n const selectedSeries = this.series.filter((series, index: number) => selectedSeriesIndices.includes(index + ''));\n\n switch (action.action) {\n case Action.AddToReadingList:\n this.actionService.addMultipleSeriesToReadingList(selectedSeries, (success) => {\n if (success) this.bulkSelectionService.deselectAll();\n this.cdRef.markForCheck();\n });\n break;\n case Action.AddToWantToReadList:\n this.actionService.addMultipleSeriesToWantToReadList(selectedSeries.map(s => s.id), () => {\n this.bulkSelectionService.deselectAll();\n this.cdRef.markForCheck();\n });\n break;\n case Action.RemoveFromWantToReadList:\n this.actionService.removeMultipleSeriesFromWantToReadList(selectedSeries.map(s => s.id), () => {\n this.bulkSelectionService.deselectAll();\n this.cdRef.markForCheck();\n });\n break;\n case Action.AddToCollection:\n this.actionService.addMultipleSeriesToCollectionTag(selectedSeries, (success) => {\n if (success) this.bulkSelectionService.deselectAll();\n this.cdRef.markForCheck();\n });\n break;\n case Action.MarkAsRead:\n this.actionService.markMultipleSeriesAsRead(selectedSeries, () => {\n this.bulkSelectionService.deselectAll();\n this.loadPage();\n this.cdRef.markForCheck();\n });\n break;\n case Action.MarkAsUnread:\n this.actionService.markMultipleSeriesAsUnread(selectedSeries, () => {\n this.bulkSelectionService.deselectAll();\n this.loadPage();\n this.cdRef.markForCheck();\n });\n break;\n case Action.Delete:\n this.actionService.deleteMultipleSeries(selectedSeries, successful => {\n if (!successful) return;\n this.bulkSelectionService.deselectAll();\n this.loadPage();\n this.cdRef.markForCheck();\n });\n break;\n }\n }\n\n constructor(@Inject(DOCUMENT) private document: Document) {\n this.router.routeReuseStrategy.shouldReuseRoute = () => false;\n\n const routeId = this.route.snapshot.paramMap.get('id');\n if (routeId === null) {\n this.router.navigate(['collections']);\n return;\n }\n const tagId = parseInt(routeId, 10);\n\n this.filterUtilityService.filterPresetsFromUrl(this.route.snapshot).subscribe(filter => {\n this.filter = filter;\n\n if (this.filter.statements.filter(stmt => stmt.field === FilterField.CollectionTags).length === 0) {\n this.filter!.statements.push({field: FilterField.CollectionTags, value: tagId + '', comparison: FilterComparison.Equal});\n }\n this.filterActiveCheck = this.filterUtilityService.createSeriesV2Filter();\n this.filterActiveCheck!.statements.push({field: FilterField.CollectionTags, value: tagId + '', comparison: FilterComparison.Equal});\n this.filterSettings.presetsV2 = this.filter;\n this.cdRef.markForCheck();\n\n this.updateTag(tagId);\n });\n }\n\n ngOnInit(): void {\n this.accountService.currentUser$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(user => {\n if (!user) return;\n this.user = user;\n this.collectionTagActions = this.actionFactoryService.getCollectionTagActions(this.handleCollectionActionCallback.bind(this))\n .filter(action => this.collectionService.actionListFilter(action, user));\n this.cdRef.markForCheck();\n });\n\n\n this.messageHub.messages$.pipe(takeUntilDestroyed(this.destroyRef), debounceTime(2000)).subscribe(event => {\n if (event.event == EVENTS.CollectionUpdated) {\n const collectionEvent = event.payload as SeriesAddedToCollectionEvent;\n if (collectionEvent.tagId === this.collectionTag.id) {\n this.loadPage();\n }\n } else if (event.event === EVENTS.SeriesRemoved) {\n this.loadPage();\n }\n });\n }\n\n ngAfterContentChecked(): void {\n this.scrollService.setScrollContainer(this.scrollingBlock);\n }\n\n updateTag(tagId: number) {\n this.collectionService.allCollections().subscribe(tags => {\n const matchingTags = tags.filter(t => t.id === tagId);\n if (matchingTags.length === 0) {\n this.toastr.error(this.translocoService.translate('errors.collection-invalid-access'));\n this.router.navigateByUrl('/');\n return;\n }\n\n this.collectionTag = matchingTags[0];\n this.summary = (this.collectionTag.summary === null ? '' : this.collectionTag.summary).replace(/\\n/g, '
');\n this.titleService.setTitle(this.translocoService.translate('collection-detail.title-alt', {collectionName: this.collectionTag.title}));\n this.cdRef.markForCheck();\n });\n }\n\n loadPage() {\n this.filterActive = !this.utilityService.deepEqual(this.filter, this.filterActiveCheck);\n this.isLoading = true;\n this.cdRef.markForCheck();\n\n this.seriesService.getAllSeriesV2(undefined, undefined, this.filter).pipe(take(1)).subscribe(series => {\n this.series = series.result;\n this.pagination = series.pagination;\n this.jumpbarKeys = this.jumpbarService.getJumpKeys(this.series, (series: Series) => series.name);\n this.isLoading = false;\n this.cdRef.markForCheck();\n });\n }\n\n updateFilter(data: FilterEvent) {\n if (data.filterV2 === undefined) return;\n this.filter = data.filterV2;\n\n if (data.isFirst) {\n this.loadPage();\n return;\n }\n\n this.filterUtilityService.updateUrlFromFilter(this.filter).subscribe((encodedFilter) => {\n this.loadPage();\n });\n }\n\n handleCollectionActionCallback(action: ActionItem, collectionTag: UserCollection) {\n if (collectionTag.owner != this.user.username) {\n this.toastr.error(translate('toasts.collection-not-owned'));\n return;\n }\n switch (action.action) {\n case Action.Promote:\n this.collectionService.promoteMultipleCollections([this.collectionTag.id], true).subscribe(() => {\n this.collectionTag.promoted = true;\n this.cdRef.markForCheck();\n });\n break;\n case Action.UnPromote:\n this.collectionService.promoteMultipleCollections([this.collectionTag.id], false).subscribe(() => {\n this.collectionTag.promoted = false;\n this.cdRef.markForCheck();\n });\n break;\n case(Action.Edit):\n this.openEditCollectionTagModal(this.collectionTag);\n break;\n case (Action.Delete):\n this.collectionService.deleteTag(this.collectionTag.id).subscribe(() => {\n this.toastr.success(translate('toasts.collection-tag-deleted'));\n this.router.navigateByUrl('collections');\n });\n break;\n default:\n break;\n }\n }\n\n performAction(action: ActionItem) {\n if (typeof action.callback === 'function') {\n action.callback(action, this.collectionTag);\n }\n }\n\n openEditCollectionTagModal(collectionTag: UserCollection) {\n const modalRef = this.modalService.open(EditCollectionTagsComponent, DefaultModalOptions);\n modalRef.componentInstance.tag = this.collectionTag;\n modalRef.closed.subscribe((results: {success: boolean, coverImageUpdated: boolean}) => {\n this.updateTag(this.collectionTag.id);\n this.loadPage();\n });\n }\n\n openSyncDetailDrawer() {\n\n const ref = this.offcanvasService.open(SmartCollectionDrawerComponent, {position: 'end', panelClass: ''});\n ref.componentInstance.collection = this.collectionTag;\n ref.componentInstance.series = this.series;\n }\n\n\n}\n", "
\n \n
\n @if (series) {\n \n \n @if (collectionTag) {\n

\n {{collectionTag.title}}\n @if(collectionTag.promoted) {\n ()\n }\n \n

\n }\n
{{t('item-count', {num: series.length})}}
\n
\n
\n }\n\n
\n\n @if (collectionTag) {\n
\n @if (summary.length > 0 || collectionTag.source !== ScrobbleProvider.Kavita) {\n
\n
\n \n\n @if (collectionTag.source !== ScrobbleProvider.Kavita && collectionTag.missingSeriesFromSource !== null\n && series.length !== collectionTag.totalSourceCount && collectionTag.totalSourceCount > 0) {\n
\n \n {{t('sync-progress', {title: series.length + ' / ' + collectionTag.totalSourceCount})}}\n \n
\n }\n
\n
\n @if (summary.length > 0) {\n
\n = Breakpoint.Desktop ? 585 : 200\">\n
\n\n @if (collectionTag.source !== ScrobbleProvider.Kavita) {\n
\n \n
\n }\n }\n
\n
\n
\n }\n\n\n\n \n\n @if (filter) {\n \n \n \n \n\n @if(!filterActive && series.length === 0) {\n
\n \n {{t('no-data')}}\n \n
\n }\n\n @if(filterActive && series.length === 0) {\n
\n \n {{t('no-data-filtered')}}\n \n
\n }\n\n \n }\n\n
\n }\n\n
\n
\n", "import { Routes } from '@angular/router';\nimport { AllCollectionsComponent } from '../collections/_components/all-collections/all-collections.component';\nimport { CollectionDetailComponent } from '../collections/_components/collection-detail/collection-detail.component';\n\nexport const routes: Routes = [\n {path: '', component: AllCollectionsComponent, pathMatch: 'full'},\n {path: ':id', component: CollectionDetailComponent},\n];\n\n"], "mappings": "o+GCqBsBA,EAAA,EAAA,KAAA,EAAKC,EAAA,CAAA,EAAuBC,EAAA,6BAAvBC,EAAA,EAAAC,EAAAC,EAAA,gBAAA,CAAA,6BAGLL,EAAA,EAAA,KAAA,EAAKC,EAAA,CAAA,EAAwBC,EAAA,6BAAxBC,EAAA,EAAAC,EAAAC,EAAA,iBAAA,CAAA,6BALTL,EAAA,EAAA,MAAA,EAAA,EACEM,EAAA,EAAAC,GAAA,EAAA,EAAA,KAAA,EAAwD,EAAAC,GAAA,EAAA,EAAA,KAAA,EAM1DN,EAAA,uBANEC,EAAA,EAAAM,EAAAC,GAAAA,EAAAC,EAAAC,kBAAAC,IAAA,OAAA,IAAA,MAAAH,EAAAI,QAAA,OAAAJ,EAAAI,OAAAC,SAAA,EAAA,EAAA,EAGAZ,EAAA,EAAAM,EAAAO,GAAAA,EAAAL,EAAAC,kBAAAC,IAAA,OAAA,IAAA,MAAAG,EAAAF,QAAA,OAAAE,EAAAF,OAAAG,cAAA,EAAA,EAAA,4BAY4BhB,EAAA,CAAA,4BAAAG,EAAAC,EAAA,iBAAA,CAAA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,CAE9C,CAEA4N,2BAA2B5N,EAA6B,CACtD,IAAM+N,EAAW,KAAK/H,aAAagI,KAAKC,GAA6BC,EAAmB,EACxFH,EAASI,kBAAkBC,IAAM,KAAKpO,cACtC+N,EAASM,OAAOpE,UAAWqE,GAA2D,CACpF,KAAKvD,UAAU,KAAK/K,cAAc0C,EAAE,EACpC,KAAKG,SAAQ,CACf,CAAC,CACH,CAEAlB,sBAAoB,CAElB,IAAM4M,EAAM,KAAKrI,iBAAiB8H,KAAKQ,GAAgC,CAACC,SAAU,MAAOC,WAAY,EAAE,CAAC,EACxGH,EAAIJ,kBAAkBQ,WAAa,KAAK3O,cACxCuO,EAAIJ,kBAAkBlN,OAAS,KAAKA,MACtC,iDA7PWuD,GAAyBoK,GA0GhBC,EAAQ,CAAA,CAAA,CAAA,+BA1GjBrK,EAAyBsK,UAAA,CAAA,CAAA,uBAAA,CAAA,EAAAC,UAAA,SAAAC,EAAAC,EAAA,IAAAD,EAAA,0zCC/EtChQ,EAAA,EAAA,MAAA,CAAA,EACEI,EAAA,EAAA8P,GAAA,EAAA,EAAA,eAAA,CAAA,EAoGF/P,EAAA,SApGmCW,EAAA,EAAAM,EAAA,gBAAA,mBAAA,kBDyEvB+O,GAA8BC,GAAmCC,GAAgBC,GACzFC,GAAyBC,GAA2BC,GAAqBC,EAAoBC,GAC5DC,EAAUC,EAAiBC,GAAmBC,GAAkBC,EAAS,EAAAC,OAAA,CAAA;qEAAA,EAAAC,gBAAA,CAAA,CAAA,CAAA,SAGjG1L,CAAyB,GAAA,EE3E/B,IAAM2L,GAAiB,CAC5B,CAACC,KAAM,GAAIC,UAAWC,GAAyBC,UAAW,MAAM,EAChE,CAACH,KAAM,MAAOC,UAAWG,EAAyB,CAAC", "names": ["\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "t_r3", "\u0275\u0275template", "EditCollectionTagsComponent_ng_container_0_ng_template_11_Conditional_6_Conditional_1_Template", "EditCollectionTagsComponent_ng_container_0_ng_template_11_Conditional_6_Conditional_2_Template", "\u0275\u0275conditional", "tmp_6_0", "ctx_r1", "collectionTagForm", "get", "errors", "required", "tmp_7_0", "duplicateName", "\u0275\u0275element", "EditCollectionTagsComponent_ng_container_0_ng_template_11_Conditional_6_Template", "EditCollectionTagsComponent_ng_container_0_ng_template_11_ng_template_13_Template", "\u0275\u0275templateRefExtractor", "\u0275\u0275elementContainer", "\u0275\u0275property", "\u0275\u0275classProp", "invalid", "touched", "dirty", "untouched", "promotedTooltip_r4", "\u0275\u0275listener", "item_r7", "\u0275\u0275restoreView", "_r6", "$implicit", "\u0275\u0275nextContext", "\u0275\u0275resetView", "handleSelection", "\u0275\u0275propertyInterpolate1", "\u0275$index_103_r8", "tag", "source", "ScrobbleProvider", "Kavita", "selections", "isSelected", "\u0275\u0275textInterpolate2", "name", "libraryName", "libraryId", "\u0275\u0275twoWayListener", "$event", "_r9", "i0", "\u0275\u0275twoWayBindingSet", "pagination", "currentPage", "onPageChange", "\u0275\u0275twoWayProperty", "itemsPerPage", "totalItems", "_r5", "toggleAll", "\u0275\u0275repeaterCreate", "EditCollectionTagsComponent_ng_container_0_Conditional_12_ng_template_3_Conditional_0_For_14_Template", "_forTrack0", "EditCollectionTagsComponent_ng_container_0_Conditional_12_ng_template_3_Conditional_0_Conditional_16_Template", "formGroup", "selectAll", "hasSomeSelected", "\u0275\u0275repeater", "\u0275\u0275pipeBind2", "series", "filterList", "length", "totalPages", "EditCollectionTagsComponent_ng_container_0_Conditional_12_ng_template_3_Conditional_0_Template", "isLoading", "EditCollectionTagsComponent_ng_container_0_Conditional_12_ng_template_3_Template", "TabID", "Series", "_r10", "imageUrls", "updateSelectedIndex", "updateSelectedImage", "handleReset", "coverImageLocked", "\u0275\u0275pipeBind1", "missingSeriesFromSource", "\u0275\u0275sanitizeHtml", "EditCollectionTagsComponent_ng_container_0_Conditional_17_ng_template_3_Conditional_27_Template", "lastSyncUtc", "sourceUrl", "\u0275\u0275sanitizeUrl", "totalSourceCount", "EditCollectionTagsComponent_ng_container_0_Conditional_17_ng_template_3_Template", "Info", "\u0275\u0275elementContainerStart", "_r1", "close", "active", "EditCollectionTagsComponent_ng_container_0_ng_template_11_Template", "EditCollectionTagsComponent_ng_container_0_Conditional_12_Template", "EditCollectionTagsComponent_ng_container_0_ng_template_16_Template", "EditCollectionTagsComponent_ng_container_0_Conditional_17_Template", "save", "\u0275\u0275pureFunction1", "_c0", "title", "\u0275\u0275classMapInterpolate1", "utilityService", "getActiveBreakpoint", "Breakpoint", "Mobile", "\u0275\u0275propertyInterpolate", "General", "CoverImage", "nav_r11", "EditCollectionTagsComponent", "constructor", "modal", "inject", "NgbActiveModal", "UtilityService", "destroyRef", "DestroyRef", "seriesService", "SeriesService", "collectionService", "CollectionTagService", "toastr", "ToastrService", "confirmService", "ConfirmService", "libraryService", "LibraryService", "imageService", "ImageService", "uploadService", "UploadService", "cdRef", "ChangeDetectorRef", "accountService", "AccountService", "selectedCover", "FormGroup", "FormControl", "listItem", "query", "value", "toLowerCase", "indexOf", "localizedName", "ngOnInit", "undefined", "nonNullable", "validators", "Validators", "summary", "coverImageIndex", "promoted", "disable", "currentUser$", "pipe", "takeUntilDestroyed", "subscribe", "user", "hasPromoteRole", "markForCheck", "valueChanges", "debounceTime", "distinctUntilChanged", "switchMap", "tagNameExists", "tap", "exists", "isExistingName", "setErrors", "push", "randomize", "getCollectionCoverImage", "id", "loadSeries", "pageNum", "forEach", "s", "toggle", "forkJoin", "getSeriesForTag", "getLibraryNames", "results", "result", "map", "getSeriesCoverImage", "SelectionModel", "libraryNames", "item", "numberOfSelected", "selected", "dismiss", "__async", "selectedIndex", "unselectedIds", "unselected", "confirm", "translate", "apis", "updateTag", "unselectedSeries", "updateSeriesForTag", "updateCollectionCoverImage", "success", "coverImageUpdated", "index", "patchValue", "url", "selectors", "inputs", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "consts", "template", "rf", "ctx", "EditCollectionTagsComponent_ng_container_0_Template", "NgbNav", "NgbNavItem", "NgbNavLink", "NgbNavContent", "ReactiveFormsModule", "\u0275NgNoValidate", "DefaultValueAccessor", "CheckboxControlValueAccessor", "NgControlStatus", "NgControlStatusGroup", "FormGroupDirective", "FormControlName", "FormsModule", "NgModel", "NgbPagination", "CoverImageChooserComponent", "NgbNavOutlet", "NgbTooltip", "TranslocoDirective", "NgTemplateOutlet", "FilterPipe", "DatePipe", "DefaultDatePipe", "SafeHtmlPipe", "SafeUrlPipe", "DecimalPipe", "UtcToLocalTimePipe", "styles", "changeDetection", "\u0275\u0275element", "\u0275\u0275property", "item_r4", "\u0275\u0275elementStart", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r3", "$implicit", "ctx_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "loadCollection", "$event", "position_r5", "idx", "bulkSelectionService", "handleCardSelection", "collections", "length", "\u0275\u0275template", "AllCollectionsComponent_ng_container_1_ng_template_9_ng_template_1_Template", "\u0275\u0275templateRefExtractor", "\u0275\u0275elementEnd", "title", "collectionTagActions", "imageService", "getCollectionCoverImage", "id", "itemCount", "isCardSelected", "\u0275\u0275text", "\u0275\u0275textInterpolate1", "t_r6", "\u0275\u0275advance", "WikiLink", "Collections", "\u0275\u0275sanitizeUrl", "\u0275\u0275textInterpolate", "AllCollectionsComponent_ng_container_1_ng_template_11_Conditional_1_Template", "\u0275\u0275conditional", "\u0275\u0275pipeBind1", "accountService", "isAdmin$", "\u0275\u0275elementContainerStart", "_r1", "filterOpen", "emit", "AllCollectionsComponent_ng_container_1_ng_template_9_Template", "AllCollectionsComponent_ng_container_1_ng_template_11_Template", "\u0275\u0275pureFunction1", "_c0", "bulkActionCallback", "isLoading", "jumpbarKeys", "trackByIdentity", "AllCollectionsComponent", "constructor", "destroyRef", "inject", "DestroyRef", "translocoService", "TranslocoService", "toastr", "ToastrService", "collectionService", "CollectionTagService", "router", "Router", "actionFactoryService", "ActionFactoryService", "modalService", "NgbModal", "titleService", "Title", "jumpbarService", "JumpbarService", "cdRef", "ChangeDetectorRef", "ImageService", "AccountService", "BulkSelectionService", "actionService", "ActionService", "ScrobbleProvider", "EventEmitter", "index", "item", "owner", "promoted", "action", "data", "selectedCollectionIndexies", "getSelectedCardsForSource", "selectedCollections", "filter", "col", "includes", "Action", "Promote", "promoteMultipleCollections", "success", "deselectAll", "loadPage", "UnPromote", "Delete", "deleteMultipleCollections", "successful", "routeReuseStrategy", "shouldReuseRoute", "setTitle", "translate", "currentUser$", "pipe", "takeUntilDestroyed", "subscribe", "user", "markForCheck", "ngOnInit", "getCollectionTagActions", "handleCollectionActionCallback", "bind", "actionListFilter", "navigate", "allCollections", "tags", "getJumpKeys", "t", "collectionTag", "username", "error", "_", "deleteTag", "res", "Edit", "modalRef", "open", "EditCollectionTagsComponent", "DefaultModalOptions", "componentInstance", "tag", "closed", "results", "selectors", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "consts", "template", "rf", "ctx", "AllCollectionsComponent_ng_container_1_Template", "SideNavCompanionBarComponent", "CardDetailLayoutComponent", "CardItemComponent", "AsyncPipe", "DecimalPipe", "TranslocoDirective", "CollectionOwnerComponent", "BulkOperationsComponent", "styles", "changeDetection", "\u0275\u0275text", "\u0275\u0275textInterpolate1", "\u0275\u0275pipeBind1", "\u0275\u0275pipeBind2", "ctx_r1", "collection", "lastSyncUtc", "\u0275\u0275elementStart", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate2", "totalSourceCount", "series", "length", "\u0275\u0275element", "\u0275\u0275property", "missingSeriesFromSource", "\u0275\u0275sanitizeHtml", "\u0275\u0275pureFunction2", "_c0", "s_r3", "libraryId", "id", "\u0275\u0275textInterpolate", "name", "\u0275\u0275template", "SmartCollectionDrawerComponent_ng_container_0_ng_template_14_Conditional_0_Template", "\u0275\u0275repeaterCreate", "SmartCollectionDrawerComponent_ng_container_0_ng_template_14_For_2_Template", "_forTrack0", "\u0275\u0275conditional", "\u0275\u0275repeater", "\u0275\u0275elementContainerStart", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "close", "SmartCollectionDrawerComponent_ng_container_0_ng_template_8_Template", "\u0275\u0275templateRefExtractor", "SmartCollectionDrawerComponent_ng_container_0_ng_template_12_Template", "SmartCollectionDrawerComponent_ng_container_0_ng_template_14_Template", "title", "t_r4", "SmartCollectionDrawerComponent", "constructor", "activeOffcanvas", "inject", "NgbActiveOffcanvas", "cdRef", "ChangeDetectorRef", "ngOnInit", "selectors", "inputs", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "consts", "template", "rf", "ctx", "SmartCollectionDrawerComponent_ng_container_0_Template", "TranslocoDirective", "SafeHtmlPipe", "RouterLink", "DatePipe", "DefaultDatePipe", "UtcToLocalTimePipe", "SettingItemComponent", "DecimalPipe", "styles", "changeDetection", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275element", "\u0275\u0275elementEnd", "\u0275\u0275template", "CollectionDetailComponent_ng_container_1_Conditional_3_Conditional_2_Conditional_2_Template", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r3", "ctx_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "performAction", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "collectionTag", "title", "\u0275\u0275conditional", "promoted", "\u0275\u0275property", "actionInProgress", "collectionTagActions", "_r1", "filterOpen", "emit", "\u0275\u0275elementContainerStart", "CollectionDetailComponent_ng_container_1_Conditional_3_Conditional_2_Template", "filterActive", "\u0275\u0275textInterpolate", "t_r4", "\u0275\u0275pureFunction1", "_c2", "series", "length", "\u0275\u0275pipeBind1", "source", "_c4", "totalSourceCount", "_c5", "\u0275\u0275pipeBind2", "lastSyncUtc", "_r5", "openSyncDetailDrawer", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_1_Conditional_5_Conditional_3_Template", "summary", "utilityService", "activeBreakpoint$", "Breakpoint", "Desktop", "ScrobbleProvider", "Kavita", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_1_Conditional_3_Template", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_1_Conditional_5_Template", "\u0275\u0275pureFunction0", "_c3", "imageService", "getCollectionCoverImage", "id", "missingSeriesFromSource", "_r7", "loadPage", "position_r8", "idx", "bulkSelectionService", "handleCardSelection", "item_r9", "libraryId", "isCardSelected", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_Conditional_3_ng_template_1_Template", "\u0275\u0275templateRefExtractor", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_Conditional_4_ng_template_1_Template", "_r6", "updateFilter", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_ng_template_1_Template", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_Conditional_3_Template", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_Conditional_4_Template", "isLoading", "pagination", "filterSettings", "trackByIdentity", "jumpbarKeys", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_1_Template", "CollectionDetailComponent_ng_container_1_Conditional_4_Conditional_3_Template", "bulkActionCallback", "filter", "CollectionDetailComponent_ng_container_1_Conditional_3_Template", "CollectionDetailComponent_ng_container_1_Conditional_4_Template", "CollectionDetailComponent", "constructor", "document", "inject", "ImageService", "BulkSelectionService", "destroyRef", "DestroyRef", "translocoService", "TranslocoService", "collectionService", "CollectionTagService", "router", "Router", "route", "ActivatedRoute", "seriesService", "SeriesService", "toastr", "ToastrService", "actionFactoryService", "ActionFactoryService", "accountService", "AccountService", "modalService", "NgbModal", "offcanvasService", "NgbOffcanvas", "titleService", "Title", "jumpbarService", "JumpbarService", "actionService", "ActionService", "messageHub", "MessageHubService", "filterUtilityService", "FilterUtilitiesService", "UtilityService", "cdRef", "ChangeDetectorRef", "scrollService", "ScrollService", "Pagination", "undefined", "FilterSettings", "EventEmitter", "index", "item", "name", "localizedName", "pagesRead", "action", "data", "selectedSeriesIndices", "getSelectedCardsForSource", "selectedSeries", "includes", "Action", "AddToReadingList", "addMultipleSeriesToReadingList", "success", "deselectAll", "markForCheck", "AddToWantToReadList", "addMultipleSeriesToWantToReadList", "map", "s", "RemoveFromWantToReadList", "removeMultipleSeriesFromWantToReadList", "AddToCollection", "addMultipleSeriesToCollectionTag", "MarkAsRead", "markMultipleSeriesAsRead", "MarkAsUnread", "markMultipleSeriesAsUnread", "Delete", "deleteMultipleSeries", "successful", "routeReuseStrategy", "shouldReuseRoute", "routeId", "snapshot", "paramMap", "get", "navigate", "tagId", "parseInt", "filterPresetsFromUrl", "subscribe", "statements", "stmt", "field", "FilterField", "CollectionTags", "push", "value", "comparison", "FilterComparison", "Equal", "filterActiveCheck", "createSeriesV2Filter", "presetsV2", "updateTag", "ngOnInit", "currentUser$", "pipe", "takeUntilDestroyed", "user", "getCollectionTagActions", "handleCollectionActionCallback", "bind", "actionListFilter", "messages$", "debounceTime", "event", "EVENTS", "CollectionUpdated", "payload", "SeriesRemoved", "ngAfterContentChecked", "setScrollContainer", "scrollingBlock", "allCollections", "tags", "matchingTags", "t", "error", "translate", "navigateByUrl", "replace", "setTitle", "collectionName", "deepEqual", "getAllSeriesV2", "take", "result", "getJumpKeys", "filterV2", "isFirst", "updateUrlFromFilter", "encodedFilter", "owner", "username", "Promote", "promoteMultipleCollections", "UnPromote", "Edit", "openEditCollectionTagModal", "deleteTag", "callback", "modalRef", "open", "EditCollectionTagsComponent", "DefaultModalOptions", "componentInstance", "tag", "closed", "results", "ref", "SmartCollectionDrawerComponent", "position", "panelClass", "collection", "\u0275\u0275directiveInject", "DOCUMENT", "selectors", "viewQuery", "rf", "ctx", "CollectionDetailComponent_ng_container_1_Template", "SideNavCompanionBarComponent", "CardActionablesComponent", "ImageComponent", "ReadMoreComponent", "BulkOperationsComponent", "CardDetailLayoutComponent", "SeriesCardComponent", "TranslocoDirective", "NgbTooltip", "DatePipe", "DefaultDatePipe", "ProviderImagePipe", "ProviderNamePipe", "AsyncPipe", "styles", "changeDetection", "routes", "path", "component", "AllCollectionsComponent", "pathMatch", "CollectionDetailComponent"] }