diff --git a/Dockerfile b/Dockerfile index 57a59ad94..9aef31abe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN gradle clean build # Stage 3: Final image FROM eclipse-temurin:21-jre-alpine -RUN apk update && apk add nginx +RUN apk update && apk add nginx su-exec COPY ./nginx.conf /etc/nginx/nginx.conf COPY --from=angular-build /angular-app/dist/booklore/browser /usr/share/nginx/html @@ -36,4 +36,4 @@ COPY --from=springboot-build /springboot-app/build/libs/booklore-api-0.0.1-SNAPS EXPOSE 8080 80 CMD /usr/sbin/nginx -g "daemon off;" & \ - java -jar /app/app.jar \ No newline at end of file + su-exec ${PUID:-0}:${PGID:-0} java -jar /app/app.jar \ No newline at end of file diff --git a/booklore-api/build.gradle b/booklore-api/build.gradle index 9785f1d26..3671d1ac1 100644 --- a/booklore-api/build.gradle +++ b/booklore-api/build.gradle @@ -1,8 +1,8 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.5.0' + id 'org.springframework.boot' version '3.5.1' id 'io.spring.dependency-management' version '1.1.7' - id 'org.hibernate.orm' version '7.0.0.Final' + id 'org.hibernate.orm' version '7.1.0.Final' id 'com.github.ben-manes.versions' version '0.52.0' } @@ -39,8 +39,8 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' // --- Database & Migration --- - implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.3' - implementation 'org.flywaydb:flyway-mysql:11.9.0' + implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.4' + implementation 'org.flywaydb:flyway-mysql:11.11.0' implementation 'jakarta.persistence:jakarta.persistence-api:3.2.0' // --- Security & Authentication --- @@ -61,22 +61,22 @@ dependencies { implementation 'io.documentnode:epub4j-core:4.2.2' // --- JSON & Web Scraping --- - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.0' - implementation 'org.jsoup:jsoup:1.20.1' + implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.2' + implementation 'org.jsoup:jsoup:1.21.1' // --- Mapping (DTOs & Entities) --- implementation 'org.mapstruct:mapstruct:1.6.3' annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3' // --- API Documentation --- - implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.8' - implementation 'org.apache.commons:commons-compress:1.27.1' + implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9' + implementation 'org.apache.commons:commons-compress:1.28.0' implementation 'com.github.junrar:junrar:7.5.5' - implementation 'org.apache.commons:commons-text:1.13.1' + implementation 'org.apache.commons:commons-text:1.14.0' // --- Test Dependencies --- testImplementation 'org.springframework.boot:spring-boot-starter-test' - testImplementation 'org.assertj:assertj-core:3.26.3' + testImplementation 'org.assertj:assertj-core:3.27.3' testImplementation "org.mockito:mockito-inline:5.2.0" } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/controller/FileUploadController.java b/booklore-api/src/main/java/com/adityachandel/booklore/controller/FileUploadController.java index 82281a393..195427b23 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/controller/FileUploadController.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/controller/FileUploadController.java @@ -28,4 +28,13 @@ public class FileUploadController { } return ResponseEntity.ok(fileUploadService.uploadFile(file, libraryId, pathId)); } + + @PreAuthorize("@securityUtil.isAdmin() or @securityUtil.canUpload()") + @PostMapping(value = "/upload/bookdrop", consumes = "multipart/form-data") + public ResponseEntity uploadFile(@RequestParam("file") MultipartFile file) throws IOException { + if (file.isEmpty()) { + throw new IllegalArgumentException("Uploaded file is missing."); + } + return ResponseEntity.ok(fileUploadService.uploadFileBookDrop(file)); + } } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/controller/LibraryController.java b/booklore-api/src/main/java/com/adityachandel/booklore/controller/LibraryController.java index b5d4a59d8..ed7f0cbb3 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/controller/LibraryController.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/controller/LibraryController.java @@ -11,6 +11,7 @@ import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import java.util.List; +import java.util.Map; @RestController @RequestMapping("/api/v1/libraries") @@ -72,4 +73,13 @@ public class LibraryController { libraryService.rescanLibrary(libraryId); return ResponseEntity.noContent().build(); } + + @PatchMapping("/{libraryId}/file-naming-pattern") + @CheckLibraryAccess(libraryIdParam = "libraryId") + @PreAuthorize("@securityUtil.canManipulateLibrary() or @securityUtil.isAdmin()") + public ResponseEntity setFileNamingPattern(@PathVariable long libraryId, @RequestBody Map body) { + String pattern = body.get("fileNamingPattern"); + Library updated = libraryService.setFileNamingPattern(libraryId, pattern); + return ResponseEntity.ok(updated); + } } \ No newline at end of file diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/controller/TaskController.java b/booklore-api/src/main/java/com/adityachandel/booklore/controller/TaskController.java new file mode 100644 index 000000000..ccd21ebaa --- /dev/null +++ b/booklore-api/src/main/java/com/adityachandel/booklore/controller/TaskController.java @@ -0,0 +1,30 @@ +package com.adityachandel.booklore.controller; + +import com.adityachandel.booklore.quartz.JobSchedulerService; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.Map; + +@Slf4j +@RestController +@RequestMapping("/api/v1/tasks") +@RequiredArgsConstructor +public class TaskController { + + private final JobSchedulerService jobSchedulerService; + + @DeleteMapping("/{taskId}") + public ResponseEntity cancelTask(@PathVariable String taskId) { + log.info("Received request to cancel task: {}", taskId); + boolean cancelled = jobSchedulerService.cancelJob(taskId); + if (cancelled) { + return ResponseEntity.ok(Map.of("message", "Task cancellation scheduled")); + } else { + return ResponseEntity.badRequest().body(Map.of("error", "Failed to cancel task or task not found")); + } + } +} + diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/exception/APIException.java b/booklore-api/src/main/java/com/adityachandel/booklore/exception/APIException.java index 8146f519b..769e32916 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/exception/APIException.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/exception/APIException.java @@ -14,5 +14,3 @@ public class APIException extends RuntimeException { this.message = formattedMessage; } } - - diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/exception/GlobalExceptionHandler.java b/booklore-api/src/main/java/com/adityachandel/booklore/exception/GlobalExceptionHandler.java index 850211ca2..0a8debfb8 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/exception/GlobalExceptionHandler.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/exception/GlobalExceptionHandler.java @@ -85,6 +85,14 @@ public class GlobalExceptionHandler { return new ResponseEntity<>(errorResponse, HttpStatus.OK); } + @ExceptionHandler(InterruptedException.class) + public ResponseEntity handleInterruptedException(InterruptedException ex) { + log.info("Request was interrupted: {}", ex.getMessage() != null ? ex.getMessage() : "Thread interrupted"); + Thread.currentThread().interrupt(); + ErrorResponse errorResponse = new ErrorResponse(HttpStatus.OK.value(), "Request was cancelled."); + return new ResponseEntity<>(errorResponse, HttpStatus.OK); + } + @ExceptionHandler(Exception.class) public ResponseEntity handleGenericException(Exception ex) { ErrorResponse errorResponse = new ErrorResponse(HttpStatus.INTERNAL_SERVER_ERROR.value(), "An unexpected error occurred."); diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/Library.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/Library.java index def8aa8c9..dece1d838 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/Library.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/Library.java @@ -14,6 +14,7 @@ public class Library { private String name; private Sort sort; private String icon; + private String fileNamingPattern; private boolean watch; private List paths; } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/TaskMessage.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/TaskMessage.java new file mode 100644 index 000000000..a9a7c665f --- /dev/null +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/TaskMessage.java @@ -0,0 +1,36 @@ +package com.adityachandel.booklore.model.dto; + +import com.adityachandel.booklore.model.enums.EventTaskType; +import com.adityachandel.booklore.model.enums.TaskStatus; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.Instant; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class TaskMessage { + private String taskId; + + @Builder.Default + private Instant timestamp = Instant.now(); + + private String message; + private EventTaskType taskType; + private TaskStatus status; + + @JsonProperty + public String getTitle() { + return taskType != null ? taskType.getTitle() : null; + } + + @JsonProperty + public boolean isCancellable() { + return taskType != null && taskType.isCancellable(); + } +} \ No newline at end of file diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/request/BookdropFinalizeRequest.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/request/BookdropFinalizeRequest.java index 58572a76c..59f00d5cb 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/request/BookdropFinalizeRequest.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/request/BookdropFinalizeRequest.java @@ -7,7 +7,6 @@ import java.util.List; @Data public class BookdropFinalizeRequest { - private String uploadPattern; private Boolean selectAll; private List excludedIds; private List files; diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/entity/LibraryEntity.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/entity/LibraryEntity.java index bb31d9a95..551040291 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/model/entity/LibraryEntity.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/entity/LibraryEntity.java @@ -37,4 +37,7 @@ public class LibraryEntity { private boolean watch; private String icon; + + @Column(name = "file_naming_pattern") + private String fileNamingPattern; } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/EventTaskType.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/EventTaskType.java new file mode 100644 index 000000000..f3a942bf8 --- /dev/null +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/EventTaskType.java @@ -0,0 +1,13 @@ +package com.adityachandel.booklore.model.enums; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum EventTaskType { + METADATA_REFRESH("Metadata Refresh", true); + + private final String title; + private final boolean cancellable; +} \ No newline at end of file diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/TaskStatus.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/TaskStatus.java new file mode 100644 index 000000000..c2d9243dd --- /dev/null +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/enums/TaskStatus.java @@ -0,0 +1,9 @@ +package com.adityachandel.booklore.model.enums; + +public enum TaskStatus { + IN_PROGRESS, + CANCELLED, + COMPLETED, + FAILED +} + diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/websocket/Topic.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/websocket/Topic.java index 3ef47a9a9..24228b624 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/model/websocket/Topic.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/websocket/Topic.java @@ -10,7 +10,7 @@ public enum Topic { BOOK_METADATA_BATCH_UPDATE("/topic/book-metadata-batch-update"), BOOK_METADATA_BATCH_PROGRESS("/topic/book-metadata-batch-progress"), BOOKDROP_FILE("/topic/bookdrop-file"), - + TASK("/topic/task"), LOG("/topic/log"); private final String path; diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/quartz/JobSchedulerService.java b/booklore-api/src/main/java/com/adityachandel/booklore/quartz/JobSchedulerService.java index 1ecd8762f..74fc64b55 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/quartz/JobSchedulerService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/quartz/JobSchedulerService.java @@ -9,7 +9,9 @@ import org.quartz.*; import org.quartz.impl.matchers.KeyMatcher; import org.springframework.stereotype.Service; +import java.util.Map; import java.util.concurrent.BlockingQueue; +import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.LinkedBlockingQueue; @Slf4j @@ -20,6 +22,7 @@ public class JobSchedulerService { private final Scheduler scheduler; private final BlockingQueue jobQueue = new LinkedBlockingQueue<>(); + private final Map runningJobs = new ConcurrentHashMap<>(); private boolean isJobRunning = false; public synchronized void scheduleMetadataRefresh(MetadataRefreshRequest request, Long userId) { @@ -47,7 +50,6 @@ public class JobSchedulerService { log.info("Processing job from queue. Remaining queue size: {}", jobQueue.size()); String jobId = generateUniqueJobId(request); try { - log.info("Scheduling job with ID: {}", jobId); scheduleJob(request, userId, jobId); } catch (Exception e) { isJobRunning = false; @@ -57,11 +59,39 @@ public class JobSchedulerService { } } + public synchronized boolean cancelJob(String jobId) { + try { + String quartzJobId = runningJobs.get(jobId); + if (quartzJobId == null) { + log.warn("Job with ID {} not found in running jobs", jobId); + return false; + } + + JobKey jobKey = new JobKey(quartzJobId, "metadataRefreshJobGroup"); + boolean cancelled = scheduler.interrupt(jobKey); + + if (cancelled) { + runningJobs.remove(jobId); + isJobRunning = false; + log.info("Job {} cancellation scheduled", jobId); + processQueue(); + } else { + log.warn("Failed to cancel job {}", jobId); + } + + return cancelled; + } catch (UnableToInterruptJobException e) { + log.error("Job {} cannot be interrupted: {}", jobId, e.getMessage()); + return false; + } + } + private void scheduleJob(MetadataRefreshRequest request, Long userId, String jobId) { try { JobDataMap jobDataMap = new JobDataMap(); jobDataMap.put("request", request); jobDataMap.put("userId", userId); + jobDataMap.put("jobId", jobId); JobDetail jobDetail = JobBuilder.newJob(RefreshMetadataJob.class) .withIdentity(jobId, "metadataRefreshJobGroup") @@ -74,6 +104,8 @@ public class JobSchedulerService { .startNow() .build(); + runningJobs.put(jobId, jobId); + scheduler.scheduleJob(jobDetail, trigger); log.info("Job scheduled successfully with ID: {}", jobId); @@ -99,6 +131,7 @@ public class JobSchedulerService { if (jobException != null) { log.error("Job execution encountered an error: {}", jobException.getMessage(), jobException); } + runningJobs.remove(jobId); isJobRunning = false; log.debug("Job completion handled. Processing next job in the queue."); processQueue(); diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/quartz/RefreshMetadataJob.java b/booklore-api/src/main/java/com/adityachandel/booklore/quartz/RefreshMetadataJob.java index 0a89b2b98..af060613c 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/quartz/RefreshMetadataJob.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/quartz/RefreshMetadataJob.java @@ -1,32 +1,57 @@ package com.adityachandel.booklore.quartz; import com.adityachandel.booklore.model.dto.request.MetadataRefreshRequest; -import com.adityachandel.booklore.service.metadata.BookMetadataService; import com.adityachandel.booklore.service.metadata.MetadataRefreshService; -import lombok.AllArgsConstructor; +import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.quartz.DisallowConcurrentExecution; -import org.quartz.Job; -import org.quartz.JobExecutionContext; -import org.quartz.JobExecutionException; +import org.quartz.*; import org.springframework.stereotype.Component; @Slf4j @Component -@AllArgsConstructor +@RequiredArgsConstructor @DisallowConcurrentExecution -public class RefreshMetadataJob implements Job { +public class RefreshMetadataJob implements InterruptableJob { - private MetadataRefreshService metadataRefreshService; + private final MetadataRefreshService metadataRefreshService; + private volatile Thread executionThread; @Override public void execute(JobExecutionContext context) throws JobExecutionException { + executionThread = Thread.currentThread(); try { MetadataRefreshRequest request = (MetadataRefreshRequest) context.getMergedJobDataMap().get("request"); Long userId = (Long) context.getMergedJobDataMap().get("userId"); - metadataRefreshService.refreshMetadata(request, userId); - } catch (Exception e) { + String jobId = (String) context.getMergedJobDataMap().get("jobId"); + log.info("Starting metadata refresh job with ID: {}", jobId); + metadataRefreshService.refreshMetadata(request, userId, jobId); + log.info("Completed metadata refresh job with ID: {}", jobId); + } catch (RuntimeException e) { + if (e.getCause() instanceof InterruptedException) { + log.info("Metadata refresh job with ID was interrupted: {}", context.getMergedJobDataMap().get("jobId")); + Thread.currentThread().interrupt(); + return; + } throw new JobExecutionException("Error occurred while executing metadata refresh job", e); + } catch (Exception e) { + if (Thread.currentThread().isInterrupted()) { + log.info("Metadata refresh job was interrupted"); + Thread.currentThread().interrupt(); + return; + } + throw new JobExecutionException("Error occurred while executing metadata refresh job", e); + } finally { + executionThread = null; + } + } + + @Override + public void interrupt() throws UnableToInterruptJobException { + Thread thread = executionThread; + if (thread != null) { + thread.interrupt(); + } else { + log.warn("No execution thread found to interrupt"); } } } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/repository/BookRepository.java b/booklore-api/src/main/java/com/adityachandel/booklore/repository/BookRepository.java index 432d23901..7d9b66b5e 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/repository/BookRepository.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/repository/BookRepository.java @@ -14,13 +14,15 @@ import java.util.Set; @Repository public interface BookRepository extends JpaRepository, JpaSpecificationExecutor { - Optional findBookByIdAndLibraryId(long id, long libraryId); Optional findBookByFileNameAndLibraryId(String fileName, long libraryId); Optional findByCurrentHash(String currentHash); + @Query("SELECT b.id FROM BookEntity b WHERE b.library.id = :libraryId AND (b.deleted IS NULL OR b.deleted = false)") + Set findBookIdsByLibraryId(@Param("libraryId") long libraryId); + List findAllByLibraryPathIdAndFileSubPathStartingWith(Long libraryPathId, String fileSubPathPrefix); @Query("SELECT b FROM BookEntity b WHERE b.libraryPath.id = :libraryPathId AND b.fileSubPath = :fileSubPath AND b.fileName = :fileName AND (b.deleted IS NULL OR b.deleted = false)") @@ -31,9 +33,6 @@ public interface BookRepository extends JpaRepository, JpaSpec @Query("SELECT b.id FROM BookEntity b WHERE b.libraryPath.id IN :libraryPathIds AND (b.deleted IS NULL OR b.deleted = false)") List findAllBookIdsByLibraryPathIdIn(@Param("libraryPathIds") Collection libraryPathIds); - @Query("SELECT b FROM BookEntity b WHERE b.id IN :bookIds AND (b.deleted IS NULL OR b.deleted = false)") - List findAllNonDeletedByIds(@Param("bookIds") Collection bookIds); - @EntityGraph(attributePaths = {"metadata", "shelves", "libraryPath"}) @Query("SELECT b FROM BookEntity b WHERE (b.deleted IS NULL OR b.deleted = false)") List findAllWithMetadata(); diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/bookdrop/BookDropService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/bookdrop/BookDropService.java index 49003f6bb..bd22e96a9 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/bookdrop/BookDropService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/bookdrop/BookDropService.java @@ -22,6 +22,7 @@ import com.adityachandel.booklore.repository.BookRepository; import com.adityachandel.booklore.repository.BookdropFileRepository; import com.adityachandel.booklore.repository.LibraryRepository; import com.adityachandel.booklore.service.NotificationService; +import com.adityachandel.booklore.service.appsettings.AppSettingService; import com.adityachandel.booklore.service.fileprocessor.BookFileProcessor; import com.adityachandel.booklore.service.fileprocessor.BookFileProcessorRegistry; import com.adityachandel.booklore.service.metadata.MetadataRefreshService; @@ -70,6 +71,7 @@ public class BookDropService { private final AppProperties appProperties; private final BookdropFileMapper mapper; private final ObjectMapper objectMapper; + AppSettingService appSettingService; public BookdropFileNotification getFileNotificationSummary() { long pendingCount = bookdropFileRepository.countByStatus(BookdropFileEntity.Status.PENDING_REVIEW); @@ -127,7 +129,7 @@ public class BookDropService { failedCount.incrementAndGet(); continue; } - processFile(file, metadataById.get(id), defaultLibraryId, defaultPathId, request.getUploadPattern(), results, failedCount); + processFile(file, metadataById.get(id), defaultLibraryId, defaultPathId, results, failedCount); } } } else { @@ -156,7 +158,7 @@ public class BookDropService { failedCount.incrementAndGet(); continue; } - processFile(file, metadataById.get(id), defaultLibraryId, defaultPathId, request.getUploadPattern(), results, failedCount); + processFile(file, metadataById.get(id), defaultLibraryId, defaultPathId, results, failedCount); } } } @@ -188,7 +190,6 @@ public class BookDropService { BookdropFinalizeRequest.BookdropFinalizeFile fileReq, Long defaultLibraryId, Long defaultPathId, - String uploadPattern, BookdropFinalizeResult results, AtomicInteger failedCount ) { @@ -217,13 +218,7 @@ public class BookDropService { log.debug("Processing fileId={}, fileName={} with default metadata, libraryId={}, pathId={}", fileEntity.getId(), fileEntity.getFileName(), libraryId, pathId); } - BookdropFileResult result = moveFile( - libraryId, - pathId, - uploadPattern, - metadata, - fileEntity - ); + BookdropFileResult result = moveFile(libraryId, pathId, metadata, fileEntity); results.getResults().add(result); if (!result.isSuccess()) { @@ -241,7 +236,7 @@ public class BookDropService { } } - private BookdropFileResult moveFile(long libraryId, long pathId, String filePattern, BookMetadata metadata, BookdropFileEntity bookdropFile) throws Exception { + private BookdropFileResult moveFile(long libraryId, long pathId, BookMetadata metadata, BookdropFileEntity bookdropFile) throws Exception { LibraryEntity library = libraryRepository.findById(libraryId) .orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(libraryId)); @@ -250,6 +245,11 @@ public class BookDropService { .findFirst() .orElseThrow(() -> ApiError.INVALID_LIBRARY_PATH.createException(libraryId)); + String filePattern = library.getFileNamingPattern(); + if (filePattern == null || filePattern.isBlank()) { + filePattern = appSettingService.getAppSettings().getUploadPattern(); + } + if (filePattern.endsWith("/") || filePattern.endsWith("\\")) { filePattern += "{currentFilename}"; } diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/AbstractFileProcessor.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/AbstractFileProcessor.java index 71beac768..32dd2028f 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/AbstractFileProcessor.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/AbstractFileProcessor.java @@ -39,28 +39,42 @@ public abstract class AbstractFileProcessor implements BookFileProcessor { @Transactional(propagation = Propagation.REQUIRES_NEW) @Override public Book processFile(LibraryFile libraryFile) { - Path filePath = libraryFile.getFullPath(); - String fileName = filePath.getFileName().toString(); - String hash = FileFingerprint.generateHash(filePath); + Path path = libraryFile.getFullPath(); + String fileName = path.getFileName().toString(); + String hash = FileFingerprint.generateHash(path); - Optional existing = fileProcessingUtils.checkForDuplicateAndUpdateMetadataIfNeeded(libraryFile, hash, bookRepository, bookMapper); - if (existing.isPresent()) { - return existing.get(); - } - Optional byName = bookRepository.findBookByFileNameAndLibraryId(fileName, libraryFile.getLibraryEntity().getId()); - if (byName.isPresent()) { - return bookMapper.toBook(byName.get()); + Optional duplicate = fileProcessingUtils.checkForDuplicateAndUpdateMetadataIfNeeded(libraryFile, hash, bookRepository, bookMapper); + if (duplicate.isPresent()) { + return handleDuplicate(duplicate.get(), libraryFile); } - BookEntity book = processNewFile(libraryFile); - book.setCurrentHash(hash); + Long libraryId = libraryFile.getLibraryEntity().getId(); + return bookRepository.findBookByFileNameAndLibraryId(fileName, libraryId) + .map(bookMapper::toBook) + .orElseGet(() -> createAndMapBook(libraryFile, hash)); + } - Float score = metadataMatchService.calculateMatchScore(book); - book.setMetadataMatchScore(score); + private Book handleDuplicate(Book bookDto, LibraryFile libraryFile) { + bookRepository.findById(bookDto.getId()) + .ifPresent(entity -> { + entity.setFileSubPath(libraryFile.getFileSubPath()); + entity.setFileName(libraryFile.getFileName()); + entity.setLibraryPath(libraryFile.getLibraryPathEntity()); + log.info("Duplicate file handled: bookId={} fileName='{}' libraryId={} subPath='{}'", + entity.getId(), + libraryFile.getFileName(), + libraryFile.getLibraryEntity().getId(), + libraryFile.getFileSubPath()); + }); + return bookDto; + } - bookCreatorService.saveConnections(book); - - return bookMapper.toBook(book); + private Book createAndMapBook(LibraryFile libraryFile, String hash) { + BookEntity entity = processNewFile(libraryFile); + entity.setCurrentHash(hash); + entity.setMetadataMatchScore(metadataMatchService.calculateMatchScore(entity)); + bookCreatorService.saveConnections(entity); + return bookMapper.toBook(entity); } protected abstract BookEntity processNewFile(LibraryFile libraryFile); diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java index a5f7a5cce..6632e3fdc 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryProcessingService.java @@ -1,6 +1,7 @@ package com.adityachandel.booklore.service.library; import com.adityachandel.booklore.exception.ApiError; +import com.adityachandel.booklore.mapper.BookMapper; import com.adityachandel.booklore.model.dto.settings.LibraryFile; import com.adityachandel.booklore.model.entity.BookEntity; import com.adityachandel.booklore.model.entity.LibraryEntity; @@ -21,6 +22,7 @@ import org.springframework.transaction.annotation.Transactional; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; +import java.time.Instant; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -36,6 +38,7 @@ public class LibraryProcessingService { private final NotificationService notificationService; private final BookRepository bookRepository; private final FileService fileService; + private final BookMapper bookMapper; private final LibraryFileProcessorRegistry fileProcessorRegistry; @Transactional @@ -53,12 +56,47 @@ public class LibraryProcessingService { LibraryEntity libraryEntity = libraryRepository.findById(libraryId).orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(libraryId)); notificationService.sendMessage(Topic.LOG, createLogNotification("Started refreshing library: " + libraryEntity.getName())); List libraryFiles = getLibraryFiles(libraryEntity); - deleteRemovedBooks(detectDeletedBookIds(libraryFiles, libraryEntity)); + List bookIds = detectDeletedBookIds(libraryFiles, libraryEntity); + if (!bookIds.isEmpty()) { + log.info("Detected {} removed books in library: {}", bookIds.size(), libraryEntity.getName()); + deleteRemovedBooks(bookIds); + } + restoreDeletedBooks(libraryFiles); LibraryFileProcessor processor = fileProcessorRegistry.getProcessor(libraryEntity); processor.processLibraryFiles(detectNewBookPaths(libraryFiles, libraryEntity), libraryEntity); notificationService.sendMessage(Topic.LOG, createLogNotification("Finished refreshing library: " + libraryEntity.getName())); } + private void restoreDeletedBooks(List libraryFiles) { + if (libraryFiles.isEmpty()) return; + + LibraryEntity libraryEntity = libraryFiles.get(0).getLibraryEntity(); + Set currentPaths = libraryFiles.stream() + .map(LibraryFile::getFullPath) + .collect(Collectors.toSet()); + + List toRestore = libraryEntity.getBookEntities().stream() + .filter(book -> Boolean.TRUE.equals(book.getDeleted())) + .filter(book -> currentPaths.contains(book.getFullFilePath())) + .collect(Collectors.toList()); + + if (toRestore.isEmpty()) return; + + toRestore.forEach(book -> { + book.setDeleted(false); + book.setDeletedAt(null); + book.setAddedOn(Instant.now()); + notificationService.sendMessage(Topic.BOOK_ADD, bookMapper.toBookWithDescription(book, false)); + }); + bookRepository.saveAll(toRestore); + + List restoredIds = toRestore.stream() + .map(BookEntity::getId) + .toList(); + + log.info("Restored {} books in library: {}", restoredIds.size(), libraryEntity.getName()); + } + public void processLibraryFiles(List libraryFiles, LibraryEntity libraryEntity) { LibraryFileProcessor processor = fileProcessorRegistry.getProcessor(libraryEntity); processor.processLibraryFiles(libraryFiles, libraryEntity); @@ -150,4 +188,4 @@ public class LibraryProcessingService { .toList(); } } -} \ No newline at end of file +} diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryService.java index fb0c3f00a..1107a37eb 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/library/LibraryService.java @@ -231,4 +231,10 @@ public class LibraryService { List bookEntities = bookRepository.findAllWithMetadataByLibraryId(libraryId); return bookEntities.stream().map(bookMapper::toBook).toList(); } + + public Library setFileNamingPattern(long libraryId, String pattern) { + LibraryEntity library = libraryRepository.findById(libraryId).orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(libraryId)); + library.setFileNamingPattern(pattern); + return libraryMapper.toLibrary(libraryRepository.save(library)); + } } \ No newline at end of file diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/MetadataRefreshService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/MetadataRefreshService.java index 25c207b81..c734aa867 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/MetadataRefreshService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/MetadataRefreshService.java @@ -5,44 +5,44 @@ import com.adityachandel.booklore.mapper.BookMapper; import com.adityachandel.booklore.model.MetadataUpdateWrapper; import com.adityachandel.booklore.model.dto.Book; import com.adityachandel.booklore.model.dto.BookMetadata; +import com.adityachandel.booklore.model.dto.TaskMessage; import com.adityachandel.booklore.model.dto.MetadataBatchProgressNotification; import com.adityachandel.booklore.model.dto.request.FetchMetadataRequest; import com.adityachandel.booklore.model.dto.request.MetadataRefreshOptions; import com.adityachandel.booklore.model.dto.request.MetadataRefreshRequest; import com.adityachandel.booklore.model.dto.settings.AppSettings; -import com.adityachandel.booklore.model.entity.*; -import com.adityachandel.booklore.model.enums.BookFileExtension; +import com.adityachandel.booklore.model.entity.BookEntity; +import com.adityachandel.booklore.model.entity.LibraryEntity; +import com.adityachandel.booklore.model.entity.MetadataFetchJobEntity; +import com.adityachandel.booklore.model.entity.MetadataFetchProposalEntity; import com.adityachandel.booklore.model.enums.FetchedMetadataProposalStatus; import com.adityachandel.booklore.model.enums.MetadataFetchTaskStatus; import com.adityachandel.booklore.model.enums.MetadataProvider; +import com.adityachandel.booklore.model.enums.EventTaskType; +import com.adityachandel.booklore.model.enums.TaskStatus; import com.adityachandel.booklore.model.websocket.Topic; -import com.adityachandel.booklore.repository.BookdropFileRepository; +import com.adityachandel.booklore.repository.BookRepository; import com.adityachandel.booklore.repository.LibraryRepository; import com.adityachandel.booklore.repository.MetadataFetchJobRepository; import com.adityachandel.booklore.repository.MetadataFetchProposalRepository; -import com.adityachandel.booklore.service.BookQueryService; import com.adityachandel.booklore.service.NotificationService; import com.adityachandel.booklore.service.appsettings.AppSettingService; -import com.adityachandel.booklore.service.metadata.extractor.EpubMetadataExtractor; -import com.adityachandel.booklore.service.metadata.extractor.PdfMetadataExtractor; import com.adityachandel.booklore.service.metadata.parser.BookParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; +import org.springframework.transaction.PlatformTransactionManager; +import org.springframework.transaction.support.TransactionTemplate; -import java.io.File; import java.time.Instant; import java.util.*; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ThreadLocalRandom; import java.util.stream.Collectors; -import static com.adityachandel.booklore.model.entity.BookdropFileEntity.Status.PENDING_REVIEW; import static com.adityachandel.booklore.model.enums.MetadataProvider.*; -import static com.adityachandel.booklore.model.websocket.LogNotification.createLogNotification; @Slf4j @AllArgsConstructor @@ -56,92 +56,193 @@ public class MetadataRefreshService { private final BookMetadataUpdater bookMetadataUpdater; private final NotificationService notificationService; private final AppSettingService appSettingService; - private final BookQueryService bookQueryService; private final Map parserMap; private final ObjectMapper objectMapper; + private final BookRepository bookRepository; + private final PlatformTransactionManager transactionManager; - @Transactional - public void refreshMetadata(MetadataRefreshRequest request, Long userId) { - log.info("Refresh Metadata task started!"); - - if (Boolean.TRUE.equals(request.getQuick())) { - AppSettings appSettings = appSettingService.getAppSettings(); - request.setRefreshOptions(appSettings.getMetadataRefreshOptions()); - } - - List providers = prepareProviders(request); - List books = getBookEntities(request); - - boolean isReviewMode = Boolean.TRUE.equals(request.getRefreshOptions().getReviewBeforeApply()); - MetadataFetchJobEntity task = null; - String taskId = null; - - if (isReviewMode) { - taskId = UUID.randomUUID().toString(); - task = MetadataFetchJobEntity.builder() - .taskId(taskId) - .userId(userId) - .status(MetadataFetchTaskStatus.IN_PROGRESS) - .startedAt(Instant.now()) - .totalBooksCount(books.size()) - .completedBooks(0) - .build(); - metadataFetchJobRepository.save(task); - } - - int completedCount = 0; + public void refreshMetadata(MetadataRefreshRequest request, Long userId, String jobId) { try { - for (BookEntity book : books) { - try { - if (book.getMetadata().areAllFieldsLocked()) { - log.info("Skipping locked book: {}", book.getFileName()); - notificationService.sendMessage(Topic.LOG, createLogNotification("Book '" + book.getMetadata().getTitle() + "' is locked.")); - continue; - } - - reportProgressIfNeeded(task, taskId, completedCount, books.size(), book); - Map metadataMap = fetchMetadataForBook(providers, book); - if (providers.contains(GoodReads)) { - Thread.sleep(ThreadLocalRandom.current().nextLong(500, 1500)); - } - BookMetadata fetched = buildFetchMetadata(book.getId(), request, metadataMap); - if (isReviewMode) { - saveProposal(taskId, book.getId(), fetched); - } else { - updateBookMetadata(book, fetched, request.getRefreshOptions().isRefreshCovers(), request.getRefreshOptions().isMergeCategories()); - } - - completedCount++; - - } catch (Exception e) { - log.error("Metadata update failed for book: {}", book.getFileName(), e); - } + if (Boolean.TRUE.equals(request.getQuick())) { + AppSettings appSettings = appSettingService.getAppSettings(); + request.setRefreshOptions(appSettings.getMetadataRefreshOptions()); } + List providers = prepareProviders(request); + Set bookIds = getBookEntities(request); + + boolean isReviewMode = Boolean.TRUE.equals(request.getRefreshOptions().getReviewBeforeApply()); + MetadataFetchJobEntity task; + if (isReviewMode) { - completeTask(task, completedCount, books.size()); + task = MetadataFetchJobEntity.builder() + .taskId(jobId) + .userId(userId) + .status(MetadataFetchTaskStatus.IN_PROGRESS) + .startedAt(Instant.now()) + .totalBooksCount(bookIds.size()) + .completedBooks(0) + .build(); + metadataFetchJobRepository.save(task); + } else { + task = null; } + TransactionTemplate txTemplate = new TransactionTemplate(transactionManager); + int completedCount = 0; + + for (Long bookId : bookIds) { + checkForInterruption(jobId, task, bookIds.size()); + int finalCompletedCount = completedCount; + txTemplate.execute(status -> { + BookEntity book = bookRepository.findAllWithMetadataByIds(Collections.singleton(bookId)) + .stream().findFirst() + .orElseThrow(() -> ApiError.BOOK_NOT_FOUND.createException(bookId)); + try { + checkForInterruption(jobId, task, bookIds.size()); + if (book.getMetadata().areAllFieldsLocked()) { + log.info("Skipping locked book: {}", book.getFileName()); + sendTaskNotification(jobId, "Skipped locked book: " + book.getMetadata().getTitle(), TaskStatus.IN_PROGRESS); + return null; + } + reportProgressIfNeeded(task, jobId, finalCompletedCount, bookIds.size(), book); + Map metadataMap = fetchMetadataForBook(providers, book); + if (providers.contains(GoodReads)) { + try { + Thread.sleep(ThreadLocalRandom.current().nextLong(500, 1500)); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + status.setRollbackOnly(); + return null; + } + } + BookMetadata fetched = buildFetchMetadata(book.getId(), request, metadataMap); + if (isReviewMode) { + saveProposal(task.getTaskId(), book.getId(), fetched); + } else { + updateBookMetadata(book, fetched, request.getRefreshOptions().isRefreshCovers(), request.getRefreshOptions().isMergeCategories()); + sendTaskProgressNotification(jobId, finalCompletedCount + 1, bookIds.size(), "Metadata updated: " + book.getMetadata().getTitle()); + } + } catch (Exception e) { + if (Thread.currentThread().isInterrupted()) { + log.info("Processing interrupted for book: {}", book.getFileName()); + status.setRollbackOnly(); + return null; + } + log.error("Metadata update failed for book: {}", book.getFileName(), e); + sendTaskNotification(jobId, String.format("Failed to process: %s - %s", book.getMetadata().getTitle(), e.getMessage()), TaskStatus.FAILED); + } + bookRepository.saveAndFlush(book); + return null; + }); + completedCount++; + } + + if (isReviewMode) completeTask(task, completedCount, bookIds.size()); + log.info("Metadata refresh task {} completed successfully", jobId); + + sendTaskNotification(jobId, String.format("Metadata refresh completed successfully - processed %d books", completedCount), TaskStatus.COMPLETED); + + } catch (RuntimeException e) { + if (e.getCause() instanceof InterruptedException) { + log.info("Metadata refresh task {} cancelled successfully", jobId); + return; + } + log.error("Fatal error during metadata refresh", e); + sendTaskNotification(jobId, "Fatal error during metadata refresh: " + e.getMessage(), TaskStatus.FAILED); + throw e; } catch (Exception fatal) { log.error("Fatal error during metadata refresh", fatal); - if (isReviewMode) { - failTask(task, books.size(), fatal.getMessage()); - } + sendTaskNotification(jobId, "Fatal error during metadata refresh: " + fatal.getMessage(), TaskStatus.FAILED); throw fatal; } + } - log.info("Metadata refresh task completed!"); + public Map fetchMetadataForBook(List providers, Book book) { + return providers.stream() + .map(provider -> createInterruptibleMetadataFuture(() -> fetchTopMetadataFromAProvider(provider, book))) + .map(this::joinFutureSafely) + .filter(Objects::nonNull) + .collect(Collectors.toMap( + BookMetadata::getProvider, + metadata -> metadata, + (existing, replacement) -> existing + )); + } + + protected Map fetchMetadataForBook(List providers, BookEntity bookEntity) { + Book book = bookMapper.toBook(bookEntity); + return providers.stream() + .map(provider -> createInterruptibleMetadataFuture(() -> fetchTopMetadataFromAProvider(provider, book))) + .map(this::joinFutureSafely) + .filter(Objects::nonNull) + .collect(Collectors.toMap( + BookMetadata::getProvider, + metadata -> metadata, + (existing, replacement) -> existing + )); + } + + private CompletableFuture createInterruptibleMetadataFuture(java.util.function.Supplier metadataSupplier) { + return CompletableFuture.supplyAsync(() -> { + if (Thread.currentThread().isInterrupted()) { + log.info("Skipping metadata fetch due to interruption"); + return null; + } + return metadataSupplier.get(); + }).exceptionally(e -> { + if (e.getCause() instanceof InterruptedException) { + log.info("Metadata fetch was interrupted"); + Thread.currentThread().interrupt(); + return null; + } + log.error("Error fetching metadata from provider", e); + return null; + }); + } + + private BookMetadata joinFutureSafely(CompletableFuture future) { + try { + return future.join(); + } catch (Exception e) { + if (Thread.currentThread().isInterrupted()) { + log.info("Future join interrupted"); + return null; + } + throw e; + } + } + + private void checkForInterruption(String jobId, MetadataFetchJobEntity task, int totalBooks) { + if (Thread.currentThread().isInterrupted()) { + log.info("Metadata refresh task {} cancelled by user request", jobId); + sendTaskNotification(jobId, "Task cancelled by user", TaskStatus.CANCELLED); + if (task != null) { + failTask(task, totalBooks); + } + throw new RuntimeException(new InterruptedException("Task was cancelled")); + } + } + + private void sendTaskNotification(String taskId, String message, TaskStatus status) { + notificationService.sendMessage(Topic.TASK, TaskMessage.builder() + .taskId(taskId) + .taskType(EventTaskType.METADATA_REFRESH) + .message(message) + .status(status) + .build()); + } + + private void sendTaskProgressNotification(String taskId, int current, int total, String message) { + sendTaskNotification(taskId, String.format("(%d/%d) %s", current, total, message), TaskStatus.IN_PROGRESS); } private void reportProgressIfNeeded(MetadataFetchJobEntity task, String taskId, int completedCount, int total, BookEntity book) { if (task == null) return; - task.setCompletedBooks(completedCount); metadataFetchJobRepository.save(task); - String message = String.format("Processing '%s'", book.getMetadata().getTitle()); - notificationService.sendMessage(Topic.BOOK_METADATA_BATCH_PROGRESS, new MetadataBatchProgressNotification( taskId, completedCount, total, message, MetadataFetchTaskStatus.IN_PROGRESS.name() @@ -161,14 +262,14 @@ public class MetadataRefreshService { )); } - private void failTask(MetadataFetchJobEntity task, int total, String errorMessage) { + private void failTask(MetadataFetchJobEntity task, int total) { task.setStatus(MetadataFetchTaskStatus.ERROR); task.setCompletedAt(Instant.now()); metadataFetchJobRepository.save(task); notificationService.sendMessage(Topic.BOOK_METADATA_BATCH_PROGRESS, new MetadataBatchProgressNotification( - task.getTaskId(), 0, total, "Error: " + errorMessage, + task.getTaskId(), 0, total, "Error: " + "Task was cancelled", MetadataFetchTaskStatus.ERROR.name() )); } @@ -188,7 +289,7 @@ public class MetadataRefreshService { metadataFetchProposalRepository.save(proposal); } - @Transactional + public void updateBookMetadata(BookEntity bookEntity, BookMetadata metadata, boolean replaceCover, boolean mergeCategories) { if (metadata != null) { MetadataUpdateWrapper metadataUpdateWrapper = MetadataUpdateWrapper.builder() @@ -198,17 +299,14 @@ public class MetadataRefreshService { Book book = bookMapper.toBook(bookEntity); notificationService.sendMessage(Topic.BOOK_METADATA_UPDATE, book); - notificationService.sendMessage(Topic.LOG, createLogNotification("Book metadata updated: " + book.getMetadata().getTitle())); } } - @Transactional public List prepareProviders(MetadataRefreshRequest request) { Set allProviders = new HashSet<>(getAllProvidersUsingIndividualFields(request)); return new ArrayList<>(allProviders); } - @Transactional protected Set getAllProvidersUsingIndividualFields(MetadataRefreshRequest request) { MetadataRefreshOptions.FieldOptions fieldOptions = request.getRefreshOptions().getFieldOptions(); Set uniqueProviders = new HashSet<>(); @@ -224,7 +322,6 @@ public class MetadataRefreshService { return uniqueProviders; } - @Transactional protected void addProviderToSet(MetadataRefreshOptions.FieldProvider fieldProvider, Set providerSet) { if (fieldProvider != null) { if (fieldProvider.getP4() != null) providerSet.add(fieldProvider.getP4()); @@ -234,39 +331,6 @@ public class MetadataRefreshService { } } - @Transactional - public Map fetchMetadataForBook(List providers, Book book) { - return providers.stream() - .map(provider -> CompletableFuture.supplyAsync(() -> fetchTopMetadataFromAProvider(provider, book)) - .exceptionally(e -> { - log.error("Error fetching metadata from provider: {}", provider, e); - return null; - })) - .map(CompletableFuture::join) - .filter(Objects::nonNull) - .collect(Collectors.toMap( - BookMetadata::getProvider, - metadata -> metadata, - (existing, replacement) -> existing - )); - } - - @Transactional - protected Map fetchMetadataForBook(List providers, BookEntity bookEntity) { - return providers.stream() - .map(provider -> CompletableFuture.supplyAsync(() -> fetchTopMetadataFromAProvider(provider, bookMapper.toBook(bookEntity))) - .exceptionally(e -> { - log.error("Error fetching metadata from provider: {}", provider, e); - return null; - })) - .map(CompletableFuture::join) - .filter(Objects::nonNull) - .collect(Collectors.toMap( - BookMetadata::getProvider, - metadata -> metadata, - (existing, replacement) -> existing - )); - } public BookMetadata fetchTopMetadataFromAProvider(MetadataProvider provider, Book book) { return getParser(provider).fetchTopMetadata(book, buildFetchMetadataRequestFromBook(book)); @@ -291,7 +355,6 @@ public class MetadataRefreshService { .build(); } - @Transactional public BookMetadata buildFetchMetadata(Long bookId, MetadataRefreshRequest request, Map metadataMap) { BookMetadata metadata = BookMetadata.builder().bookId(bookId).build(); MetadataRefreshOptions.FieldOptions fieldOptions = request.getRefreshOptions().getFieldOptions(); @@ -309,11 +372,10 @@ public class MetadataRefreshService { if (metadataMap.containsKey(Google)) { metadata.setGoogleId(metadataMap.get(Google).getGoogleId()); } - if (metadataMap.containsKey(Comicvine)){ + if (metadataMap.containsKey(Comicvine)) { metadata.setComicvineId(metadataMap.get(Comicvine).getComicvineId()); } - - + if (request.getRefreshOptions().isMergeCategories()) { metadata.setCategories(getAllCategories(metadataMap, fieldOptions.getCategories(), BookMetadata::getCategories)); @@ -338,7 +400,7 @@ public class MetadataRefreshService { return metadata; } - @Transactional + protected void setOtherUnspecifiedMetadata(Map metadataMap, BookMetadata metadataCombined, MetadataProvider provider) { if (metadataMap.containsKey(provider)) { BookMetadata metadata = metadataMap.get(provider); @@ -373,7 +435,7 @@ public class MetadataRefreshService { Set extract(BookMetadata metadata); } - @Transactional + protected String resolveFieldAsString(Map metadataMap, MetadataRefreshOptions.FieldProvider fieldProvider, FieldValueExtractor fieldValueExtractor) { String value = null; if (fieldProvider.getP4() != null && metadataMap.containsKey(fieldProvider.getP4())) { @@ -395,7 +457,7 @@ public class MetadataRefreshService { return value; } - @Transactional + protected Set resolveFieldAsList(Map metadataMap, MetadataRefreshOptions.FieldProvider fieldProvider, FieldValueExtractorList fieldValueExtractor) { Set values = new HashSet<>(); if (fieldProvider.getP4() != null && metadataMap.containsKey(fieldProvider.getP4())) { @@ -439,23 +501,18 @@ public class MetadataRefreshService { } - @Transactional - protected List getBookEntities(MetadataRefreshRequest request) { + protected Set getBookEntities(MetadataRefreshRequest request) { MetadataRefreshRequest.RefreshType refreshType = request.getRefreshType(); if (refreshType != MetadataRefreshRequest.RefreshType.LIBRARY && refreshType != MetadataRefreshRequest.RefreshType.BOOKS) { throw ApiError.INVALID_REFRESH_TYPE.createException(); } - - List books = switch (refreshType) { + return switch (refreshType) { case LIBRARY -> { - LibraryEntity libraryEntity = libraryRepository.findById(request.getLibraryId()) - .orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(request.getLibraryId())); - yield libraryEntity.getBookEntities(); + LibraryEntity libraryEntity = libraryRepository.findById(request.getLibraryId()).orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(request.getLibraryId())); + yield bookRepository.findBookIdsByLibraryId(libraryEntity.getId()); } - case BOOKS -> bookQueryService.findAllWithMetadataByIds(request.getBookIds()); + case BOOKS -> request.getBookIds(); }; - - books.sort(Comparator.comparing(BookEntity::getFileName, Comparator.nullsLast(String::compareTo))); - return books; } -} \ No newline at end of file +} + diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/upload/FileUploadService.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/upload/FileUploadService.java index 6038d16c0..e88777ff0 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/upload/FileUploadService.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/upload/FileUploadService.java @@ -1,5 +1,6 @@ package com.adityachandel.booklore.service.upload; +import com.adityachandel.booklore.config.AppProperties; import com.adityachandel.booklore.exception.ApiError; import com.adityachandel.booklore.model.dto.Book; import com.adityachandel.booklore.model.dto.BookMetadata; @@ -48,6 +49,7 @@ public class FileUploadService { private final BookFileProcessorRegistry processorRegistry; private final NotificationService notificationService; private final AppSettingService appSettingService; + private final AppProperties appProperties; private final PdfMetadataExtractor pdfMetadataExtractor; private final EpubMetadataExtractor epubMetadataExtractor; private final MonitoringService monitoringService; @@ -61,8 +63,7 @@ public class FileUploadService { public Book uploadFile(MultipartFile file, long libraryId, long pathId) throws IOException { validateFile(file); - LibraryEntity libraryEntity = libraryRepository.findById(libraryId) - .orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(libraryId)); + LibraryEntity libraryEntity = libraryRepository.findById(libraryId).orElseThrow(() -> ApiError.LIBRARY_NOT_FOUND.createException(libraryId)); LibraryPathEntity libraryPathEntity = libraryEntity.getLibraryPaths() .stream() @@ -81,20 +82,15 @@ public class FileUploadService { try { file.transferTo(tempPath); - setTemporaryFileOwnership(tempPath); - BookFileExtension fileExt = BookFileExtension.fromFileName(file.getOriginalFilename()).orElseThrow(() -> ApiError.INVALID_FILE_FORMAT.createException("Unsupported file extension")); - BookMetadata metadata = extractMetadata(fileExt, tempPath.toFile()); - String uploadPattern = appSettingService.getAppSettings().getUploadPattern(); if (uploadPattern.endsWith("/") || uploadPattern.endsWith("\\")) { uploadPattern += "{currentFilename}"; } String relativePath = PathPatternResolver.resolvePattern(metadata, uploadPattern, file.getOriginalFilename()); - Path finalPath = Paths.get(libraryPathEntity.getPath(), relativePath); File finalFile = finalPath.toFile(); @@ -132,6 +128,33 @@ public class FileUploadService { } } + public Book uploadFileBookDrop(MultipartFile file) throws IOException { + validateFile(file); + + Path dropFolder = Paths.get(appProperties.getBookdropFolder()); + Files.createDirectories(dropFolder); + + String originalFilename = Objects.requireNonNull(file.getOriginalFilename()); + Path tempPath = Files.createTempFile("bookdrop-", originalFilename); + + try { + file.transferTo(tempPath); + setTemporaryFileOwnership(tempPath); + + Path finalPath = dropFolder.resolve(originalFilename); + + if (Files.exists(finalPath)) { + throw ApiError.FILE_ALREADY_EXISTS.createException(); + } + Files.move(tempPath, finalPath); + + log.info("File moved to book-drop folder: {}", finalPath); + return null; + } finally { + Files.deleteIfExists(tempPath); + } + } + private BookMetadata extractMetadata(BookFileExtension fileExt, File file) throws IOException { return switch (fileExt) { case PDF -> pdfMetadataExtractor.extractMetadata(file); @@ -153,7 +176,7 @@ public class FileUploadService { private void setTemporaryFileOwnership(Path tempPath) throws IOException { UserPrincipalLookupService lookupService = FileSystems.getDefault() - .getUserPrincipalLookupService(); + .getUserPrincipalLookupService(); if (!userId.equals("0")) { UserPrincipal user = lookupService.lookupPrincipalByName(userId); Files.getFileAttributeView(tempPath, PosixFileAttributeView.class, LinkOption.NOFOLLOW_LINKS).setOwner(user); @@ -178,5 +201,4 @@ public class FileUploadService { BookFileProcessor processor = processorRegistry.getProcessorOrThrow(type); return processor.processFile(libraryFile); } - } \ No newline at end of file diff --git a/booklore-api/src/main/resources/db/migration/V43__Add_file_naming_pattern_column_to_library.sql b/booklore-api/src/main/resources/db/migration/V43__Add_file_naming_pattern_column_to_library.sql new file mode 100644 index 000000000..1a9cf7443 --- /dev/null +++ b/booklore-api/src/main/resources/db/migration/V43__Add_file_naming_pattern_column_to_library.sql @@ -0,0 +1,3 @@ +ALTER TABLE library + ADD COLUMN IF NOT EXISTS file_naming_pattern VARCHAR(1000); + diff --git a/booklore-api/src/test/java/com/adityachandel/booklore/service/upload/FileUploadServiceTest.java b/booklore-api/src/test/java/com/adityachandel/booklore/service/upload/FileUploadServiceTest.java new file mode 100644 index 000000000..3889a8a92 --- /dev/null +++ b/booklore-api/src/test/java/com/adityachandel/booklore/service/upload/FileUploadServiceTest.java @@ -0,0 +1,212 @@ +package com.adityachandel.booklore.service.upload; + +import com.adityachandel.booklore.config.AppProperties; +import com.adityachandel.booklore.exception.APIException; +import com.adityachandel.booklore.exception.ApiError; +import com.adityachandel.booklore.model.dto.Book; +import com.adityachandel.booklore.model.dto.settings.AppSettings; +import com.adityachandel.booklore.model.entity.LibraryEntity; +import com.adityachandel.booklore.model.entity.LibraryPathEntity; +import com.adityachandel.booklore.model.enums.BookFileType; +import com.adityachandel.booklore.model.websocket.Topic; +import com.adityachandel.booklore.repository.LibraryRepository; +import com.adityachandel.booklore.service.NotificationService; +import com.adityachandel.booklore.service.appsettings.AppSettingService; +import com.adityachandel.booklore.service.fileprocessor.BookFileProcessor; +import com.adityachandel.booklore.service.fileprocessor.BookFileProcessorRegistry; +import com.adityachandel.booklore.service.metadata.extractor.EpubMetadataExtractor; +import com.adityachandel.booklore.service.metadata.extractor.PdfMetadataExtractor; +import com.adityachandel.booklore.service.monitoring.MonitoringService; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; +import org.springframework.mock.web.MockMultipartFile; +import org.springframework.test.util.ReflectionTestUtils; +import org.springframework.web.multipart.MultipartFile; + +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.List; +import java.util.Optional; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatExceptionOfType; +import static org.mockito.ArgumentMatchers.*; +import static org.mockito.Mockito.*; + +class FileUploadServiceTest { + + @TempDir + Path tempDir; + + @Mock + LibraryRepository libraryRepository; + @Mock + BookFileProcessorRegistry processorRegistry; + @Mock + NotificationService notificationService; + @Mock + AppSettingService appSettingService; + @Mock + PdfMetadataExtractor pdfMetadataExtractor; + @Mock + EpubMetadataExtractor epubMetadataExtractor; + @Mock + MonitoringService monitoringService; + + AppProperties appProperties; + FileUploadService service; + + @BeforeEach + void setUp() { + MockitoAnnotations.openMocks(this); + appProperties = new AppProperties(); + appProperties.setBookdropFolder(tempDir.toString()); + + AppSettings settings = new AppSettings(); + settings.setMaxFileUploadSizeInMb(10); + settings.setUploadPattern("{currentFilename}"); + when(appSettingService.getAppSettings()).thenReturn(settings); + + service = new FileUploadService( + libraryRepository, processorRegistry, notificationService, + appSettingService, appProperties, pdfMetadataExtractor, + epubMetadataExtractor, monitoringService + ); + + ReflectionTestUtils.setField(service, "userId", "0"); + ReflectionTestUtils.setField(service, "groupId", "0"); + } + + @Test + void uploadFileBookDrop_succeeds_and_copiesFile() throws IOException { + byte[] content = "hello".getBytes(); + MockMultipartFile file = new MockMultipartFile("file", "test.pdf", "application/pdf", content); + + assertThat(service.uploadFileBookDrop(file)).isNull(); + + Path dropped = tempDir.resolve("test.pdf"); + assertThat(Files.exists(dropped)).isTrue(); + assertThat(Files.readAllBytes(dropped)).isEqualTo(content); + } + + @Test + void uploadFileBookDrop_throws_when_duplicate() throws IOException { + byte[] content = "data".getBytes(); + MockMultipartFile file = new MockMultipartFile("file", "dup.epub", "application/epub+zip", content); + Files.write(tempDir.resolve("dup.epub"), new byte[]{1, 2, 3}); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFileBookDrop(file)) + .satisfies(ex -> { + assertThat(ex.getStatus()).isEqualTo(ApiError.FILE_ALREADY_EXISTS.getStatus()); + assertThat(ex.getMessage()).isEqualTo(ApiError.FILE_ALREADY_EXISTS.getMessage()); + }); + } + + @Test + void uploadFileBookDrop_throws_on_invalid_extension() { + MockMultipartFile file = new MockMultipartFile("file", "bad.txt", "text/plain", "x".getBytes()); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFileBookDrop(file)) + .satisfies(ex -> { + assertThat(ex.getStatus()).isEqualTo(ApiError.INVALID_FILE_FORMAT.getStatus()); + assertThat(ex.getMessage()).contains("Invalid file format, only pdf and epub are supported"); + }); + } + + @Test + void uploadFileBookDrop_throws_when_too_large() { + byte[] content = new byte[2 * 1024 * 1024]; + MockMultipartFile file = new MockMultipartFile("file", "big.pdf", "application/pdf", content); + AppSettings small = new AppSettings(); + small.setMaxFileUploadSizeInMb(1); + when(appSettingService.getAppSettings()).thenReturn(small); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFileBookDrop(file)) + .satisfies(ex -> { + assertThat(ex.getStatus()).isEqualTo(ApiError.FILE_TOO_LARGE.getStatus()); + assertThat(ex.getMessage()).contains("1"); + }); + } + + @Test + void uploadFile_throws_when_library_not_found() { + MockMultipartFile file = new MockMultipartFile("file", "book.cbz", "application/octet-stream", new byte[]{1}); + when(libraryRepository.findById(42L)).thenReturn(Optional.empty()); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFile(file, 42L, 1L)) + .satisfies(ex -> assertThat(ex.getStatus()).isEqualTo(ApiError.LIBRARY_NOT_FOUND.getStatus())); + } + + @Test + void uploadFile_throws_when_invalid_library_path() { + MockMultipartFile file = new MockMultipartFile("file", "book.cbz", "application/octet-stream", new byte[]{1}); + LibraryEntity lib = new LibraryEntity(); + lib.setId(42L); + lib.setLibraryPaths(List.of()); + when(libraryRepository.findById(42L)).thenReturn(Optional.of(lib)); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFile(file, 42L, 99L)) + .satisfies(ex -> assertThat(ex.getStatus()).isEqualTo(ApiError.INVALID_LIBRARY_PATH.getStatus())); + } + + @Test + void uploadFile_throws_on_transfer_io_exception() throws IOException { + MultipartFile file = mock(MultipartFile.class); + when(file.getOriginalFilename()).thenReturn("book.cbz"); + when(file.getSize()).thenReturn(100L); + when(file.getName()).thenReturn("file"); + doThrow(new IOException("disk error")).when(file).transferTo(any(Path.class)); + + LibraryEntity lib = new LibraryEntity(); + lib.setId(1L); + LibraryPathEntity path = new LibraryPathEntity(); + path.setId(1L); + path.setPath(tempDir.toString()); + lib.setLibraryPaths(List.of(path)); + when(libraryRepository.findById(1L)).thenReturn(Optional.of(lib)); + + assertThatExceptionOfType(APIException.class) + .isThrownBy(() -> service.uploadFile(file, 1L, 1L)) + .satisfies(ex -> { + assertThat(ex.getStatus()).isEqualTo(ApiError.FILE_READ_ERROR.getStatus()); + assertThat(ex.getMessage()).contains("Error reading files from path"); + }); + } + + @Test + void uploadFile_succeeds_and_processes() throws IOException { + byte[] data = "content".getBytes(); + MockMultipartFile file = new MockMultipartFile("file", "book.cbz", "application/octet-stream", data); + + LibraryEntity lib = new LibraryEntity(); + lib.setId(7L); + LibraryPathEntity path = new LibraryPathEntity(); + path.setId(2L); + path.setPath(tempDir.toString()); + lib.setLibraryPaths(List.of(path)); + when(libraryRepository.findById(7L)).thenReturn(Optional.of(lib)); + + BookFileProcessor proc = mock(BookFileProcessor.class); + Book stubBook = Book.builder().build(); + stubBook.setTitle("X"); + when(processorRegistry.getProcessorOrThrow(BookFileType.CBX)).thenReturn(proc); + when(proc.processFile(any())).thenReturn(stubBook); + + Book result = service.uploadFile(file, 7L, 2L); + + assertThat(result).isSameAs(stubBook); + Path moved = tempDir.resolve("book.cbz"); + assertThat(Files.exists(moved)).isTrue(); + verify(notificationService).sendMessage(eq(Topic.BOOK_ADD), same(stubBook)); + verifyNoInteractions(pdfMetadataExtractor, epubMetadataExtractor); + } +} diff --git a/booklore-ui/package-lock.json b/booklore-ui/package-lock.json index 3fc3c80a7..fc8e69849 100644 --- a/booklore-ui/package-lock.json +++ b/booklore-ui/package-lock.json @@ -8,16 +8,16 @@ "name": "booklore", "version": "0.0.0", "dependencies": { - "@angular/animations": "^20.0.1", - "@angular/common": "^20.0.1", - "@angular/compiler": "^20.0.1", - "@angular/core": "^20.0.1", - "@angular/forms": "^20.0.1", - "@angular/platform-browser": "^20.0.1", - "@angular/platform-browser-dynamic": "^20.0.1", - "@angular/router": "^20.0.1", + "@angular/animations": "^20.1.6", + "@angular/common": "^20.1.6", + "@angular/compiler": "^20.1.6", + "@angular/core": "^20.1.6", + "@angular/forms": "^20.1.6", + "@angular/platform-browser": "^20.1.6", + "@angular/platform-browser-dynamic": "^20.1.6", + "@angular/router": "^20.1.6", "@iharbeck/ngx-virtual-scroller": "^19.0.1", - "@primeng/themes": "^19.1.3", + "@primeng/themes": "^19.1.4", "@stomp/rx-stomp": "^2.0.1", "@stomp/stompjs": "^7.1.1", "@tailwindcss/postcss": "^4.1.8", @@ -26,9 +26,9 @@ "jwt-decode": "^4.0.0", "ng-lazyload-image": "^9.1.3", "ngx-extended-pdf-viewer": "^23.3.1", - "ngx-infinite-scroll": "^19.0.0", + "ngx-infinite-scroll": "^20.0.0", "primeicons": "^7.0.0", - "primeng": "19.1.2", + "primeng": "19.1.4", "quill": "^2.0.3", "rxjs": "^7.8.2", "showdown": "^2.1.0", @@ -38,15 +38,15 @@ "zone.js": "^0.15.1" }, "devDependencies": { - "@angular-devkit/build-angular": "^20.0.1", - "@angular/cli": "^20.0.1", - "@angular/compiler-cli": "^20.0.1", + "@angular-devkit/build-angular": "^20.1.5", + "@angular/cli": "^20.1.5", + "@angular/compiler-cli": "^20.1.6", "@tailwindcss/typography": "^0.5.16", "@types/jasmine": "^5.1.8", "@types/showdown": "^2.0.6", - "angular-eslint": "^19.7.1", + "angular-eslint": "^20.1.1", "autoprefixer": "^10.4.21", - "eslint": "^9.28.0", + "eslint": "^9.33.0", "jasmine-core": "^5.7.1", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", @@ -54,8 +54,8 @@ "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "^2.1.0", "tailwindcss": "3.4.17", - "typescript": "^5.8.3", - "typescript-eslint": "^8.33.1" + "typescript": "^5.8.2", + "typescript-eslint": "^8.39.0" } }, "node_modules/@algolia/client-abtesting": { @@ -277,13 +277,13 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.2001.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2001.4.tgz", - "integrity": "sha512-lZ9wYv1YDcw2Ggi2/TXXhYs7JAukAJHdZGZn6Co5s1QE774bVled1qK8pf46rSsG1BGn1a9VFsRFOlB/sx6WjA==", + "version": "0.2001.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2001.5.tgz", + "integrity": "sha512-LdjmE75wjmpHNfFsDecZB95H/DekX1hJLmRzGWid+Fd6lbyFBQyUjq+ucwD9WlHqqrD+CgKapQKnUhlBSIJxPQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "20.1.4", + "@angular-devkit/core": "20.1.5", "rxjs": "7.8.2" }, "engines": { @@ -293,17 +293,17 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-20.1.4.tgz", - "integrity": "sha512-mD7B2JqmbP3qBp8MfDhDm1PfybLQX+qVscCr32siuDpS02KvizsmABfnrDOdpHuzCjx4IbmNk0nVUWn1tSHZfw==", + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-20.1.5.tgz", + "integrity": "sha512-WB2I1snyJBKvk1oeE8q02I7qSCtUdRh/WoLKip8BGefy5+wPqZsgb1BfbHL/u5GrwMstZVzMLKzGc3TcsfRwXw==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.2001.4", - "@angular-devkit/build-webpack": "0.2001.4", - "@angular-devkit/core": "20.1.4", - "@angular/build": "20.1.4", + "@angular-devkit/architect": "0.2001.5", + "@angular-devkit/build-webpack": "0.2001.5", + "@angular-devkit/core": "20.1.5", + "@angular/build": "20.1.5", "@babel/core": "7.27.7", "@babel/generator": "7.27.5", "@babel/helper-annotate-as-pure": "7.27.3", @@ -314,7 +314,7 @@ "@babel/preset-env": "7.27.2", "@babel/runtime": "7.27.6", "@discoveryjs/json-ext": "0.6.3", - "@ngtools/webpack": "20.1.4", + "@ngtools/webpack": "20.1.5", "ansi-colors": "4.1.3", "autoprefixer": "10.4.21", "babel-loader": "10.0.0", @@ -369,7 +369,7 @@ "@angular/platform-browser": "^20.0.0", "@angular/platform-server": "^20.0.0", "@angular/service-worker": "^20.0.0", - "@angular/ssr": "^20.1.4", + "@angular/ssr": "^20.1.5", "@web/test-runner": "^0.20.0", "browser-sync": "^3.0.2", "jest": "^29.5.0", @@ -425,450 +425,15 @@ } } }, - "node_modules/@angular-devkit/build-webpack": { - "version": "0.2001.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.2001.4.tgz", - "integrity": "sha512-R/xEwVTaqZN1yKfpQIlP7kcyoEvQueFt78HSNm+FFhqMM5MlSLoc+1ond2MYk9MDEvmvHYlx7r6AZ7C+KouU/Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/architect": "0.2001.4", - "rxjs": "7.8.2" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "webpack": "^5.30.0", - "webpack-dev-server": "^5.0.2" - } - }, - "node_modules/@angular-devkit/core": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-20.1.4.tgz", - "integrity": "sha512-I5CllQoDrVL20/+0JZk/gmR14n/+mwYIoD1RfBDwnaiHlO9o2whRsJj+LeUd9IA5Hf9MPPx+EkOVQt3vsYU0sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.2", - "source-map": "0.7.4" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-devkit/schematics": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-20.1.4.tgz", - "integrity": "sha512-dyvlQcXf5XKPRC1qTqzIGkltFHh8mYujPk6qt6Ah2nKp7UeA80ZSAocwOmlBg8t7GjN8ICe4Kese5scT1ByFXQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "20.1.4", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "8.2.0", - "rxjs": "7.8.2" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-eslint/builder": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-19.8.1.tgz", - "integrity": "sha512-NOMkw0xgDoDVCLkL5nkkvdd3ouDYkOGqtEmabTR7N4/kQnk1R4coOTWGCqAgMXCFdxlyjuxquDwuJ+yni81pRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/architect": ">= 0.1900.0 < 0.2000.0", - "@angular-devkit/core": ">= 19.0.0 < 20.0.0" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular-eslint/builder/node_modules/@angular-devkit/architect": { - "version": "0.1902.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1902.15.tgz", - "integrity": "sha512-RbqhStc6ZoRv57ZqLB36VOkBkAdU3nNezCvIs0AJV5V4+vLPMrb0hpIB0sF+9yMlMjWsolnRsj0/Fil+zQG3bw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "19.2.15", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-eslint/builder/node_modules/@angular-devkit/core": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.15.tgz", - "integrity": "sha512-pU2RZYX6vhd7uLSdLwPnuBcr0mXJSjp3EgOXKsrlQFQZevc+Qs+2JdXgIElnOT/aDqtRtriDmLlSbtdE8n3ZbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-eslint/builder/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/@angular-eslint/bundled-angular-compiler": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-19.8.1.tgz", - "integrity": "sha512-WXi1YbSs7SIQo48u+fCcc5Nt14/T4QzYQPLZUnjtsUXPgQG7ZoahhcGf7PPQ+n0V3pSopHOlSHwqK+tSsYK87A==", - "dev": true, - "license": "MIT" - }, - "node_modules/@angular-eslint/eslint-plugin": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-19.8.1.tgz", - "integrity": "sha512-wZEBMPwD2TRhifG751hcj137EMIEaFmsxRB2EI+vfINCgPnFGSGGOHXqi8aInn9fXqHs7VbXkAzXYdBsvy1m4Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-eslint/bundled-angular-compiler": "19.8.1", - "@angular-eslint/utils": "19.8.1" - }, - "peerDependencies": { - "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular-eslint/eslint-plugin-template": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-19.8.1.tgz", - "integrity": "sha512-0ZVQldndLrDfB0tzFe/uIwvkUcakw8qGxvkEU0l7kSbv/ngNQ/qrkRi7P64otB15inIDUNZI2jtmVat52dqSfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-eslint/bundled-angular-compiler": "19.8.1", - "@angular-eslint/utils": "19.8.1", - "aria-query": "5.3.2", - "axobject-query": "4.1.0" - }, - "peerDependencies": { - "@angular-eslint/template-parser": "19.8.1", - "@typescript-eslint/types": "^7.11.0 || ^8.0.0", - "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular-eslint/schematics": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-19.8.1.tgz", - "integrity": "sha512-MKzfO3puOCuQFgP8XDUkEr5eaqcCQLAdYLLMcywEO/iRs1eRHL46+rkW+SjDp1cUqlxKtu+rLiTYr0T/O4fi9Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": ">= 19.0.0 < 20.0.0", - "@angular-devkit/schematics": ">= 19.0.0 < 20.0.0", - "@angular-eslint/eslint-plugin": "19.8.1", - "@angular-eslint/eslint-plugin-template": "19.8.1", - "ignore": "7.0.5", - "semver": "7.7.2", - "strip-json-comments": "3.1.1" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/@angular-devkit/core": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.15.tgz", - "integrity": "sha512-pU2RZYX6vhd7uLSdLwPnuBcr0mXJSjp3EgOXKsrlQFQZevc+Qs+2JdXgIElnOT/aDqtRtriDmLlSbtdE8n3ZbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/@angular-eslint/schematics/node_modules/@angular-devkit/schematics": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.15.tgz", - "integrity": "sha512-kNOJ+3vekJJCQKWihNmxBkarJzNW09kP5a9E1SRNiQVNOUEeSwcRR0qYotM65nx821gNzjjhJXnAZ8OazWldrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "19.2.15", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/@angular-eslint/schematics/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@angular-eslint/schematics/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular-eslint/template-parser": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-19.8.1.tgz", - "integrity": "sha512-pQiOg+se1AU/ncMlnJ9V6xYnMQ84qI1BGWuJpbU6A99VTXJg90scg0+T7DWmKssR1YjP5qmmBtrZfKsHEcLW/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-eslint/bundled-angular-compiler": "19.8.1", - "eslint-scope": "^8.0.2" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular-eslint/utils": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-19.8.1.tgz", - "integrity": "sha512-gVDKYWmAjeTPtaYmddT/HS03fCebXJtrk8G1MouQIviZbHqLjap6TbVlzlkBigRzaF0WnFnrDduQslkJzEdceA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-eslint/bundled-angular-compiler": "19.8.1" - }, - "peerDependencies": { - "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": "*" - } - }, - "node_modules/@angular/animations": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.1.4.tgz", - "integrity": "sha512-y4mq2r6jhAj5QuA3UnWkVfok0EcA22uH+XVb4HBKY7q23/xaQYu2CGdVOVpdUsaPTf3zRD1DkAnTkV3J3ZHIiA==", - "license": "MIT", - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0" - }, - "peerDependencies": { - "@angular/common": "20.1.4", - "@angular/core": "20.1.4" - } - }, - "node_modules/@angular/build": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-20.1.4.tgz", - "integrity": "sha512-DClI15kl0t1YijptthQfw0cRSj8Opf8ACsZa1xT3o77BALpeusxS2QzSy6xGH+QnwesTyJFux1oRYjtAKmE2YA==", + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build": { + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-20.1.5.tgz", + "integrity": "sha512-Uh0VX9HQMLt4054P03f7UL6tu5kvuJhf5UXiRUzkaK/tMk7SDokp9YtN7lErPiWvDQFtuX9o27PMFpxwEfdRcA==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.2001.4", + "@angular-devkit/architect": "0.2001.5", "@babel/core": "7.27.7", "@babel/helper-annotate-as-pure": "7.27.3", "@babel/helper-split-export-declaration": "7.24.7", @@ -910,7 +475,7 @@ "@angular/platform-browser": "^20.0.0", "@angular/platform-server": "^20.0.0", "@angular/service-worker": "^20.0.0", - "@angular/ssr": "^20.1.4", + "@angular/ssr": "^20.1.5", "karma": "^6.4.0", "less": "^4.2.0", "ng-packagr": "^20.0.0", @@ -959,6 +524,312 @@ } } }, + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build/node_modules/@vitejs/plugin-basic-ssl": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.1.0.tgz", + "integrity": "sha512-dOxxrhgyDIEUADhb/8OlV9JIqYLgos03YorAueTIeOUskLJSEsfwCByjbu98ctXitUN3znXKp0bYD/WHSudCeA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "peerDependencies": { + "vite": "^6.0.0 || ^7.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build/node_modules/vite": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.0.6.tgz", + "integrity": "sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.6", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.40.0", + "tinyglobby": "^0.2.14" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build/node_modules/vite/node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack": { + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-20.1.5.tgz", + "integrity": "sha512-QAiGzqxHhdV3uh53GlXHegVEnK5GmS90Hqqhx2lLnhWCI7blpe2CuG+BuIWMXMUck9NUz6kR6jPysQYA5ENATA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^20.0.0", + "typescript": ">=5.8 <5.9", + "webpack": "^5.54.0" + } + }, + "node_modules/@angular-devkit/build-webpack": { + "version": "0.2001.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.2001.5.tgz", + "integrity": "sha512-AsycqeZz+DUYtqOwkmf0/Ucsrc/sVuoZVSAl+qZDSj1Qd3ou73Z+QioRIwu2MRRRgLMSBFZymaf0csoaW/ddmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.2001.5", + "rxjs": "7.8.2" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "webpack": "^5.30.0", + "webpack-dev-server": "^5.0.2" + } + }, + "node_modules/@angular-devkit/core": { + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-20.1.5.tgz", + "integrity": "sha512-458Q/pNoXIyUWVbnXktMyc7Ly3MxsYwgQcEIFzzxJu+zDLAt1PwyDe4o+rd8XHwbceW9r0XIlQa78dEjew6MPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.17.1", + "ajv-formats": "3.0.1", + "jsonc-parser": "3.3.1", + "picomatch": "4.0.2", + "rxjs": "7.8.2", + "source-map": "0.7.4" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^4.0.0" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/schematics": { + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-20.1.5.tgz", + "integrity": "sha512-fAxBFNIlete9FiqaqpQuXgjpoXwQRwKjv9MEW7DuciPYd/FFWr0858U2bzuJEk0mFNY3f9Q4vlY/RgDk9HWF2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "20.1.5", + "jsonc-parser": "3.3.1", + "magic-string": "0.30.17", + "ora": "8.2.0", + "rxjs": "7.8.2" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-eslint/builder": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-20.1.1.tgz", + "integrity": "sha512-pfCYfocX79CZ5nokZF4gVScUGyLWRKQHZsUkQ5V/1hsaGsahvzDRjxsYz0J9rO0ligSa2pwgUCXEwSY8hhHQBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": ">= 0.2000.0 < 0.2100.0", + "@angular-devkit/core": ">= 20.0.0 < 21.0.0" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" + } + }, + "node_modules/@angular-eslint/bundled-angular-compiler": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-20.1.1.tgz", + "integrity": "sha512-hEWh/upyTj2bhyRmbNnGtlOXhBSEHwLg8/9YYhwmiNApQwKcvcg7lkstZMEVrKievNHZT6Wh4dWZvjRjMqLNSg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular-eslint/eslint-plugin": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-20.1.1.tgz", + "integrity": "sha512-h+D6T35UGIuG0keYPH7dc6OTdfTVJ8GoIhCIpoAmVGhdIdfXIISvDvvX/QPiZtTcefik3vEZEGRiI/Nzc5xImw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-eslint/bundled-angular-compiler": "20.1.1", + "@angular-eslint/utils": "20.1.1", + "ts-api-utils": "^2.1.0" + }, + "peerDependencies": { + "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" + } + }, + "node_modules/@angular-eslint/eslint-plugin-template": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-20.1.1.tgz", + "integrity": "sha512-dRqfxYvgOC4DZqvRTmxoIUMeIqTzcIkRcMVEuP8qvR10KHAWDkV7xT4f7BAee9deI/lzoAk3tk5wkQg6POQo7Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-eslint/bundled-angular-compiler": "20.1.1", + "@angular-eslint/utils": "20.1.1", + "aria-query": "5.3.2", + "axobject-query": "4.1.0" + }, + "peerDependencies": { + "@angular-eslint/template-parser": "20.1.1", + "@typescript-eslint/types": "^7.11.0 || ^8.0.0", + "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" + } + }, + "node_modules/@angular-eslint/schematics": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-20.1.1.tgz", + "integrity": "sha512-4sXU0Gr/RhdW3xSBFRzjhTO9mk6ugXUhUIPc1FRta1pmNnbmkvx22ewnKZE8IeRl8PMyk6xJuxZHq19CW1oWOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": ">= 20.0.0 < 21.0.0", + "@angular-devkit/schematics": ">= 20.0.0 < 21.0.0", + "@angular-eslint/eslint-plugin": "20.1.1", + "@angular-eslint/eslint-plugin-template": "20.1.1", + "ignore": "7.0.5", + "semver": "7.7.2", + "strip-json-comments": "3.1.1" + } + }, + "node_modules/@angular-eslint/template-parser": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-20.1.1.tgz", + "integrity": "sha512-giIMYORf8P8MbBxh6EUfiR/7Y+omxJtK2C7a8lYTtLSOIGO0D8c8hXx9hTlPcdupVX+xZXDuZ85c9JDen+JSSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-eslint/bundled-angular-compiler": "20.1.1", + "eslint-scope": "^8.0.2" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" + } + }, + "node_modules/@angular-eslint/utils": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-20.1.1.tgz", + "integrity": "sha512-hqbzGqa/0Ua90r4TMn4oZVnLuwIF6dqEfH7SlstB224h/7+nKoi67aHkmUq7VItWXpDDe+f1opeR01GKS9fNog==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-eslint/bundled-angular-compiler": "20.1.1" + }, + "peerDependencies": { + "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": "*" + } + }, + "node_modules/@angular/animations": { + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-20.1.6.tgz", + "integrity": "sha512-vSU0BP0BzX20HoCE81MKcr9cd6H9zB1qbCNk2J1ulH1C9rXs5ZpeORy+riIJTOZDYLtE0jCsXT3pvVb+nPmADQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@angular/common": "20.1.6", + "@angular/core": "20.1.6" + } + }, "node_modules/@angular/cdk": { "version": "19.2.19", "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-19.2.19.tgz", @@ -976,19 +847,19 @@ } }, "node_modules/@angular/cli": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-20.1.4.tgz", - "integrity": "sha512-VAQ/EBelBPiX1vV57TZJRPcao/e+Ee9IeLK43fsE2xL+GuEjrJ/fQXqt7OesrgIJHJBwUiX+j8pMMT6VfT1xSA==", + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-20.1.5.tgz", + "integrity": "sha512-1pkShcbPEkQn8wCoHsr9v+udy5EmelHVwZ5kNZjZZ2EDTcB/RC7cuuUfyWRxrYJxwT5K/jx00ORQvbVJj0L+zw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.2001.4", - "@angular-devkit/core": "20.1.4", - "@angular-devkit/schematics": "20.1.4", + "@angular-devkit/architect": "0.2001.5", + "@angular-devkit/core": "20.1.5", + "@angular-devkit/schematics": "20.1.5", "@inquirer/prompts": "7.6.0", "@listr2/prompt-adapter-inquirer": "2.0.22", "@modelcontextprotocol/sdk": "1.13.3", - "@schematics/angular": "20.1.4", + "@schematics/angular": "20.1.5", "@yarnpkg/lockfile": "1.1.0", "algoliasearch": "5.32.0", "ini": "5.0.0", @@ -1012,9 +883,9 @@ } }, "node_modules/@angular/common": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.1.4.tgz", - "integrity": "sha512-AL+HdsY5xL2iM1zZ55ce33U+w2LgPJZQwKvHXJJ/Hpk3rpFNamWtRPmJBeq8Z0dQV1lLTMM+2pUatH6p+5pvEg==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.1.6.tgz", + "integrity": "sha512-VwV6u5y5NQg5u+Z5A50MCJNpxseny9Rv+csZe9zckH0ylqy9tLowbG6L7jrts36Ze2lwqRag0b+wB0TgrvaT0w==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1023,14 +894,14 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/core": "20.1.4", + "@angular/core": "20.1.6", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.1.4.tgz", - "integrity": "sha512-gQbchh2ziK9QxZuHgEf7BUMCm/ayu6Zr9hst6itSecinUJgUeeSp3Z4vXjIBNBUKMPB135tWw9RGiVbW8saBmg==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-20.1.6.tgz", + "integrity": "sha512-PASAnrY3dHl3mOlYP7n49a1djbw+CGeBwkzhSVhDTrkg9hyx6GMDCNdNr1xZFWFjgS7vB3K8nIk8o9k+bXpH0g==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1040,9 +911,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.1.4.tgz", - "integrity": "sha512-I603/3EmclgX4VUryBo3bxlF+8+fVucrW/V0leqNlt72ppFTphDiKiopogoJFWJxuULTo2V+7Koq8Em7kUO67Q==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.1.6.tgz", + "integrity": "sha512-wskAeqRH46XfYRjaNSE3waeaBrogKghUM82WDDEw0U+CMP/j3BBS0RqILRYJCmuTjQ7RwXaPQBV2m2jAYaHlNg==", "dev": true, "license": "MIT", "dependencies": { @@ -1063,7 +934,7 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/compiler": "20.1.4", + "@angular/compiler": "20.1.6", "typescript": ">=5.8 <5.9" }, "peerDependenciesMeta": { @@ -1138,9 +1009,9 @@ } }, "node_modules/@angular/core": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.1.4.tgz", - "integrity": "sha512-aWDux64a9usuVU2SnF0epqjXAj8JO8jViUzZAJAuFKSCtkeNzqP+Z6DjkqsCKrNvGP7xkX1XhhepUygxgh7/6A==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.1.6.tgz", + "integrity": "sha512-Nz62f9FNcvjOxUivi50YtmEfSdrS7xqpPDoN/jwLkT5VmFfIUFF77sabTF5KTWHCDbp420e2UON6uEblfiRfaw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1149,7 +1020,7 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/compiler": "20.1.4", + "@angular/compiler": "20.1.6", "rxjs": "^6.5.3 || ^7.4.0", "zone.js": "~0.15.0" }, @@ -1163,9 +1034,9 @@ } }, "node_modules/@angular/forms": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.1.4.tgz", - "integrity": "sha512-5gUwcV+JpzJ2rSPo1nR6iNz2Dm3iRcVCvRTsVnKhFbZCIbGLihLpoCuittsgUY/C9wh/rnmXlatmLJ7giSuUZA==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-20.1.6.tgz", + "integrity": "sha512-9gLaiX8c2qOCu4jVukATCnSAANJuLKWGLZpZyLdJGHpZWM7ECf6hpsDKOq+AytqqYKWqZvjcI8AujUroU6aUtg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1174,16 +1045,16 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.1.4", - "@angular/core": "20.1.4", - "@angular/platform-browser": "20.1.4", + "@angular/common": "20.1.6", + "@angular/core": "20.1.6", + "@angular/platform-browser": "20.1.6", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.1.4.tgz", - "integrity": "sha512-z86NsGSwm5pXCACdWBbp7SC1Xn+UGvuoRqTsi0dNUXT/3WrP6MvZT3TfNKwM63GLUqFAICSt7uFXS84D72ukvA==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.1.6.tgz", + "integrity": "sha512-0FmqP1+JdzrT74JZLbf5IpC8nn0AeJ3Mk1IlXRVcK5olyh3SiEZIGBw89mYwmgP3gQqnjoakooTMA3wwy4Evxw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1192,9 +1063,9 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/animations": "20.1.4", - "@angular/common": "20.1.4", - "@angular/core": "20.1.4" + "@angular/animations": "20.1.6", + "@angular/common": "20.1.6", + "@angular/core": "20.1.6" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1203,9 +1074,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.1.4.tgz", - "integrity": "sha512-bH4CjZ2O2oqRaKd36Xe/EhZDHx769pPf9oR4oITsZJ10bIhkWcaG9pgaW+W1PGc+nMevVpJ7XfG9m9n6+3bEfw==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.1.6.tgz", + "integrity": "sha512-vAzgQUGppZ6lBpT++hFzCw6K77MfeYwtL/2BxHPWZMsJVrHF2WtbATn0Icgx6vyKixz7eJzDPKhooFSn5o32RQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1214,16 +1085,16 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.1.4", - "@angular/compiler": "20.1.4", - "@angular/core": "20.1.4", - "@angular/platform-browser": "20.1.4" + "@angular/common": "20.1.6", + "@angular/compiler": "20.1.6", + "@angular/core": "20.1.6", + "@angular/platform-browser": "20.1.6" } }, "node_modules/@angular/router": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.1.4.tgz", - "integrity": "sha512-Etd2V2Qw+clQhJORBm7tMphCCweLNKbZvUc+lh1r7yrbBPnZvK3yd69W9ZQoRzrSSI25VGQDyzQXgpLUlHoE+w==", + "version": "20.1.6", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-20.1.6.tgz", + "integrity": "sha512-42eB6UB/uZt5LqBK7sIGV+fnWPWgwlhZDCl7aujv0Tlwx1HgdLW7EbqMYs+2SIrezn4uj0hg+74oy1PL46V7MA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1232,9 +1103,9 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }, "peerDependencies": { - "@angular/common": "20.1.4", - "@angular/core": "20.1.4", - "@angular/platform-browser": "20.1.4", + "@angular/common": "20.1.6", + "@angular/core": "20.1.6", + "@angular/platform-browser": "20.1.6", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -2882,74 +2753,6 @@ "node": ">=14.17.0" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz", - "integrity": "sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.5.tgz", - "integrity": "sha512-AdJKSPeEHgi7/ZhuIPtcQKr5RQdo6OO2IL87JkianiMYMPbCtot9fxPbrMiBADOWWm3T2si9stAiVsGbTQFkbA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.5.tgz", - "integrity": "sha512-VGzGhj4lJO+TVGV1v8ntCZWJktV7SGCs3Pn1GRWI1SBFtRALoomm8k5E9Pmwg3HOAal2VDc2F9+PM/rEY6oIDg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.5.tgz", - "integrity": "sha512-D2GyJT1kjvO//drbRT3Hib9XPwQeWd9vZoBJn+bu/lVsOZ13cqNdDeqIF/xQ5/VmWvMduP6AmXvylO/PIc2isw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=18" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.25.5", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.5.tgz", @@ -2967,346 +2770,6 @@ "node": ">=18" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.5.tgz", - "integrity": "sha512-1iT4FVL0dJ76/q1wd7XDsXrSW+oLoquptvh4CLR4kITDtqi2e/xwXwdCVH8hVHU43wgJdsq7Gxuzcs6Iq/7bxQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.5.tgz", - "integrity": "sha512-nk4tGP3JThz4La38Uy/gzyXtpkPW8zSAmoUhK9xKKXdBCzKODMc2adkB2+8om9BDYugz+uGV7sLmpTYzvmz6Sw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.5.tgz", - "integrity": "sha512-PrikaNjiXdR2laW6OIjlbeuCPrPaAl0IwPIaRv+SMV8CiM8i2LqVUHFC1+8eORgWyY7yhQY+2U2fA55mBzReaw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.5.tgz", - "integrity": "sha512-cPzojwW2okgh7ZlRpcBEtsX7WBuqbLrNXqLU89GxWbNt6uIg78ET82qifUy3W6OVww6ZWobWub5oqZOVtwolfw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.5.tgz", - "integrity": "sha512-Z9kfb1v6ZlGbWj8EJk9T6czVEjjq2ntSYLY2cw6pAZl4oKtfgQuS4HOq41M/BcoLPzrUbNd+R4BXFyH//nHxVg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.5.tgz", - "integrity": "sha512-sQ7l00M8bSv36GLV95BVAdhJ2QsIbCuCjh/uYrWiMQSUuV+LpXwIqhgJDcvMTj+VsQmqAHL2yYaasENvJ7CDKA==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.5.tgz", - "integrity": "sha512-0ur7ae16hDUC4OL5iEnDb0tZHDxYmuQyhKhsPBV8f99f6Z9KQM02g33f93rNH5A30agMS46u2HP6qTdEt6Q1kg==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.5.tgz", - "integrity": "sha512-kB/66P1OsHO5zLz0i6X0RxlQ+3cu0mkxS3TKFvkb5lin6uwZ/ttOkP3Z8lfR9mJOBk14ZwZ9182SIIWFGNmqmg==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.5.tgz", - "integrity": "sha512-UZCmJ7r9X2fe2D6jBmkLBMQetXPXIsZjQJCjgwpVDz+YMcS6oFR27alkgGv3Oqkv07bxdvw7fyB71/olceJhkQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.5.tgz", - "integrity": "sha512-kTxwu4mLyeOlsVIFPfQo+fQJAV9mh24xL+y+Bm6ej067sYANjyEw1dNHmvoqxJUCMnkBdKpvOn0Ahql6+4VyeA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.5.tgz", - "integrity": "sha512-K2dSKTKfmdh78uJ3NcWFiqyRrimfdinS5ErLSn3vluHNeHVnBAFWC8a4X5N+7FgVE1EjXS1QDZbpqZBjfrqMTQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.5.tgz", - "integrity": "sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.5.tgz", - "integrity": "sha512-pwHtMP9viAy1oHPvgxtOv+OkduK5ugofNTVDilIzBLpoWAM16r7b/mxBvfpuQDpRQFMfuVr5aLcn4yveGvBZvw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.5.tgz", - "integrity": "sha512-WOb5fKrvVTRMfWFNCroYWWklbnXH0Q5rZppjq0vQIdlsQKuw6mdSihwSo4RV/YdQ5UCKKvBy7/0ZZYLBZKIbwQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.5.tgz", - "integrity": "sha512-7A208+uQKgTxHd0G0uqZO8UjK2R0DDb4fDmERtARjSHWxqMTye4Erz4zZafx7Di9Cv+lNHYuncAkiGFySoD+Mw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.5.tgz", - "integrity": "sha512-G4hE405ErTWraiZ8UiSoesH8DaCsMm0Cay4fsFWOOUcz8b8rC6uCvnagr+gnioEjWn0wC+o1/TAHt+It+MpIMg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.5.tgz", - "integrity": "sha512-l+azKShMy7FxzY0Rj4RCt5VD/q8mG/e+mDivgspo+yL8zW7qEwctQ6YqKX34DTEleFAvCIUviCFX1SDZRSyMQA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.5.tgz", - "integrity": "sha512-O2S7SNZzdcFG7eFKgvwUEZ2VG9D/sn/eIiz8XRZ1Q/DO5a3s76Xv0mdBzVM5j5R639lXQmPmSo0iRpHqUUrsxw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.5.tgz", - "integrity": "sha512-onOJ02pqs9h1iMJ1PQphR+VZv8qBMQ77Klcsqv9CNW2w6yLqoURLcgERAIurY6QE63bbLuqgP9ATqajFLK5AMQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.25.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.5.tgz", - "integrity": "sha512-TXv6YnJ8ZMVdX+SXWVBo/0p8LTcrUYngpWjvm91TMjjBQii7Oz11Lw5lbDV5Y0TzuhSJHwiH4hEtC1I42mMS0g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=18" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", @@ -3376,9 +2839,9 @@ } }, "node_modules/@eslint/config-helpers": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz", - "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.1.tgz", + "integrity": "sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -3386,9 +2849,9 @@ } }, "node_modules/@eslint/core": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", - "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.2.tgz", + "integrity": "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -3481,9 +2944,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.32.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz", - "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==", + "version": "9.33.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.33.0.tgz", + "integrity": "sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==", "dev": true, "license": "MIT", "engines": { @@ -3504,13 +2967,13 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", - "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz", + "integrity": "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.15.1", + "@eslint/core": "^0.15.2", "levn": "^0.4.1" }, "engines": { @@ -4107,17 +3570,57 @@ "tslib": "2" } }, + "node_modules/@jsonjoy.com/codegen": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/codegen/-/codegen-1.0.0.tgz", + "integrity": "sha512-E8Oy+08cmCf0EK/NMxpaJZmOxPqM+6iSe2S4nlSBrPZOORoDJILxtbSUEDKQyTamm/BVAhIGllOBNU79/dwf0g==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, "node_modules/@jsonjoy.com/json-pack": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-1.5.0.tgz", - "integrity": "sha512-8FACCxfDF9cRbzYFG2LzCdzj7Ji+oPDI+JVG0H95Y9gupU0v5TUvuLmxNfC4GU9r4A1Vt2OxJGsi8Z+0a3CWfQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-1.10.0.tgz", + "integrity": "sha512-PMOU9Sh0baiLZEDewwR/YAHJBV2D8pPIzcFQSU7HQl/k/HNCDyVfO1OvkyDwBGp4dPtvZc7Hl9FFYWwTP1CbZw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/base64": "^1.1.1", - "@jsonjoy.com/util": "^1.1.2", + "@jsonjoy.com/base64": "^1.1.2", + "@jsonjoy.com/buffers": "^1.0.0", + "@jsonjoy.com/codegen": "^1.0.0", + "@jsonjoy.com/json-pointer": "^1.0.1", + "@jsonjoy.com/util": "^1.9.0", "hyperdyperid": "^1.2.0", - "thingies": "^1.20.0" + "thingies": "^2.5.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/json-pointer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pointer/-/json-pointer-1.0.1.tgz", + "integrity": "sha512-tJpwQfuBuxqZlyoJOSZcqf7OUmiYQ6MiPNmOv4KbZdXE/DdvBSSAwhos0zIlJU/AXxC8XpuO8p08bh2fIl+RKA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/util": "^1.3.0" }, "engines": { "node": ">=10.0" @@ -4131,13 +3634,14 @@ } }, "node_modules/@jsonjoy.com/util": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.8.1.tgz", - "integrity": "sha512-26hOMkQx15sYBpt/bCK3/S7Bep8vMy+VKGBhWQax7GXYd+mwP5mc0HNX5oqLws/JQZ9GRjn9rvXoDbcq1OC2xA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.9.0.tgz", + "integrity": "sha512-pLuQo+VPRnN8hfPqUTLTHk126wuYdXVxE6aDmjSeV4NCAgyxWbiOIeNJVtID3h1Vzpoi9m4jXezf73I6LgabgQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/buffers": "^1.0.0" + "@jsonjoy.com/buffers": "^1.0.0", + "@jsonjoy.com/codegen": "^1.0.0" }, "engines": { "node": ">=10.0" @@ -4210,90 +3714,6 @@ "darwin" ] }, - "node_modules/@lmdb/lmdb-darwin-x64": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.4.1.tgz", - "integrity": "sha512-9CMB3seTyHs3EOVWdKiB8IIEDBJ3Gq00Tqyi0V7DS3HL90BjM/AkbZGuhzXwPrfeFazR24SKaRrUQF74f+CmWw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@lmdb/lmdb-linux-arm": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.4.1.tgz", - "integrity": "sha512-1Mi69vU0akHgCI7tF6YbimPaNEKJiBm/p5A+aM8egr0joj27cQmCCOm2mZQ+Ht2BqmCfZaIgQnMg4gFYNMlpCA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-linux-arm64": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.4.1.tgz", - "integrity": "sha512-d0vuXOdoKjHHJYZ/CRWopnkOiUpev+bgBBW+1tXtWsYWUj8uxl9ZmTBEmsL5mjUlpQDrlYiJSrhOU1hg5QWBSw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-linux-x64": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.4.1.tgz", - "integrity": "sha512-00RbEpvfnyPodlICiGFuiOmyvWaL9nzCRSqZz82BVFsGTiSQnnF0gpD1C8tO6OvtptELbtRuM7BS9f97LcowZw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@lmdb/lmdb-win32-arm64": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-arm64/-/lmdb-win32-arm64-3.4.1.tgz", - "integrity": "sha512-4h8tm3i1ODf+28UyqQZLP7c2jmRM26AyEEyYp994B4GiBdGvGAsYUu3oiHANYK9xFpvLuFzyGeqFm1kdNC0D1A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@lmdb/lmdb-win32-x64": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.4.1.tgz", - "integrity": "sha512-HqqKIhTbq6piJhkJpTTf3w1m/CgrmwXRAL9R9j7Ru5xdZSeO7Mg4AWiBC9B00uXR+LvVZKtUyRMVZfhmIZztmQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@modelcontextprotocol/sdk": { "version": "1.13.3", "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.13.3.tgz", @@ -4356,76 +3776,6 @@ "darwin" ] }, - "node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz", - "integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz", - "integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz", - "integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz", - "integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", - "integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@napi-rs/nice": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@napi-rs/nice/-/nice-1.0.4.tgz", @@ -4459,40 +3809,6 @@ "@napi-rs/nice-win32-x64-msvc": "1.0.4" } }, - "node_modules/@napi-rs/nice-android-arm-eabi": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm-eabi/-/nice-android-arm-eabi-1.0.4.tgz", - "integrity": "sha512-OZFMYUkih4g6HCKTjqJHhMUlgvPiDuSLZPbPBWHLjKmFTv74COzRlq/gwHtmEVaR39mJQ6ZyttDl2HNMUbLVoA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-android-arm64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm64/-/nice-android-arm64-1.0.4.tgz", - "integrity": "sha512-k8u7cjeA64vQWXZcRrPbmwjH8K09CBnNaPnI9L1D5N6iMPL3XYQzLcN6WwQonfcqCDv5OCY3IqX89goPTV4KMw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@napi-rs/nice-darwin-arm64": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-arm64/-/nice-darwin-arm64-1.0.4.tgz", @@ -4510,244 +3826,6 @@ "node": ">= 10" } }, - "node_modules/@napi-rs/nice-darwin-x64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-x64/-/nice-darwin-x64-1.0.4.tgz", - "integrity": "sha512-1y3gyT3e5zUY5SxRl3QDtJiWVsbkmhtUHIYwdWWIQ3Ia+byd/IHIEpqAxOGW1nhhnIKfTCuxBadHQb+yZASVoA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-freebsd-x64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-freebsd-x64/-/nice-freebsd-x64-1.0.4.tgz", - "integrity": "sha512-06oXzESPRdXUuzS8n2hGwhM2HACnDfl3bfUaSqLGImM8TA33pzDXgGL0e3If8CcFWT98aHows5Lk7xnqYNGFeA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm-gnueabihf": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm-gnueabihf/-/nice-linux-arm-gnueabihf-1.0.4.tgz", - "integrity": "sha512-CgklZ6g8WL4+EgVVkxkEvvsi2DSLf9QIloxWO0fvQyQBp6VguUSX3eHLeRpqwW8cRm2Hv/Q1+PduNk7VK37VZw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm64-gnu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-gnu/-/nice-linux-arm64-gnu-1.0.4.tgz", - "integrity": "sha512-wdAJ7lgjhAlsANUCv0zi6msRwq+D4KDgU+GCCHssSxWmAERZa2KZXO0H2xdmoJ/0i03i6YfK/sWaZgUAyuW2oQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-arm64-musl": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-musl/-/nice-linux-arm64-musl-1.0.4.tgz", - "integrity": "sha512-4b1KYG+sriufhFrpUS9uNOEYYJqSfcbnwGx6uGX7JjrH8tELG90cOpCawz5THNIwlS3DhLgnCOcn0+4p6z26QA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-ppc64-gnu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-ppc64-gnu/-/nice-linux-ppc64-gnu-1.0.4.tgz", - "integrity": "sha512-iaf3vMRgr23oe1PUaKpxaH3DS0IMN0+N9iEiWVwYPm/U15vZFYdqVegGfN2PzrZLUl5lc8ZxbmEKDfuqslhAMA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-riscv64-gnu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-riscv64-gnu/-/nice-linux-riscv64-gnu-1.0.4.tgz", - "integrity": "sha512-UXoREY6Yw6rHrGuTwQgBxpfjK34t6mTjibE9/cXbefL9AuUCJ9gEgwNKZiONuR5QGswChqo9cnthjdKkYyAdDg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-s390x-gnu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-s390x-gnu/-/nice-linux-s390x-gnu-1.0.4.tgz", - "integrity": "sha512-eFbgYCRPmsqbYPAlLYU5hYTNbogmIDUvknilehHsFhCH1+0/kN87lP+XaLT0Yeq4V/rpwChSd9vlz4muzFArtw==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-x64-gnu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-gnu/-/nice-linux-x64-gnu-1.0.4.tgz", - "integrity": "sha512-4T3E6uTCwWT6IPnwuPcWVz3oHxvEp/qbrCxZhsgzwTUBEwu78EGNXGdHfKJQt3soth89MLqZJw+Zzvnhrsg1mQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-linux-x64-musl": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-musl/-/nice-linux-x64-musl-1.0.4.tgz", - "integrity": "sha512-NtbBkAeyBPLvCBkWtwkKXkNSn677eaT0cX3tygq+2qVv71TmHgX4gkX6o9BXjlPzdgPGwrUudavCYPT9tzkEqQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-arm64-msvc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-arm64-msvc/-/nice-win32-arm64-msvc-1.0.4.tgz", - "integrity": "sha512-vubOe3i+YtSJGEk/++73y+TIxbuVHi+W8ZzrRm2eETCjCRwNlgbfToQZ85dSA+4iBB/NJRGNp+O4hfdbbttZWA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-ia32-msvc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-ia32-msvc/-/nice-win32-ia32-msvc-1.0.4.tgz", - "integrity": "sha512-BMOVrUDZeg1RNRKVlh4eyLv5djAAVLiSddfpuuQ47EFjBcklg0NUeKMFKNrKQR4UnSn4HAiACLD7YK7koskwmg==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@napi-rs/nice-win32-x64-msvc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-x64-msvc/-/nice-win32-x64-msvc-1.0.4.tgz", - "integrity": "sha512-kCNk6HcRZquhw/whwh4rHsdPyOSCQCgnVDVik+Y9cuSVTDy3frpiCJTScJqPPS872h4JgZKkr/+CwcwttNEo9Q==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@ngtools/webpack": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-20.1.4.tgz", - "integrity": "sha512-pk7xas/dBRHIVpdBIhOUreXA8D9CH7f5anFoiALfubYPldlEtneQCO5HAeS9MjtLIIonv2kJC9+nNEvyJa95oQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=24.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "@angular/compiler-cli": "^20.0.0", - "typescript": ">=5.8 <5.9", - "webpack": "^5.54.0" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -5070,27 +4148,6 @@ "@parcel/watcher-win32-x64": "2.5.1" } }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", - "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/@parcel/watcher-darwin-arm64": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", @@ -5112,237 +4169,6 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", - "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", - "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", - "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", - "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", - "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", - "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-glibc": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", - "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", - "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", - "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", - "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", - "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/@parcel/watcher/node_modules/detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", @@ -5405,34 +4231,6 @@ "node": ">=12.11.0" } }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.44.1.tgz", - "integrity": "sha512-JAcBr1+fgqx20m7Fwe1DxPUl/hPkee6jA6Pl7n1v2EFiktAHenTaXl5aIFjUIEsfn9w3HE4gK1lEgNGMzBDs1w==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.44.1.tgz", - "integrity": "sha512-RurZetXqTu4p+G0ChbnkwBuAtwAbIwJkycw1n6GvlGlBuS4u5qlr5opix8cBAYFJgaY05TWtM+LaoFggUmbZEQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, "node_modules/@rollup/rollup-darwin-arm64": { "version": "4.44.1", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.44.1.tgz", @@ -5447,253 +4245,15 @@ "darwin" ] }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.44.1.tgz", - "integrity": "sha512-gDnWk57urJrkrHQ2WVx9TSVTH7lSlU7E3AFqiko+bgjlh78aJ88/3nycMax52VIVjIm3ObXnDL2H00e/xzoipw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.44.1.tgz", - "integrity": "sha512-wnFQmJ/zPThM5zEGcnDcCJeYJgtSLjh1d//WuHzhf6zT3Md1BvvhJnWoy+HECKu2bMxaIcfWiu3bJgx6z4g2XA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.44.1.tgz", - "integrity": "sha512-uBmIxoJ4493YATvU2c0upGz87f99e3wop7TJgOA/bXMFd2SvKCI7xkxY/5k50bv7J6dw1SXT4MQBQSLn8Bb/Uw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.44.1.tgz", - "integrity": "sha512-n0edDmSHlXFhrlmTK7XBuwKlG5MbS7yleS1cQ9nn4kIeW+dJH+ExqNgQ0RrFRew8Y+0V/x6C5IjsHrJmiHtkxQ==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.44.1.tgz", - "integrity": "sha512-8WVUPy3FtAsKSpyk21kV52HCxB+me6YkbkFHATzC2Yd3yuqHwy2lbFL4alJOLXKljoRw08Zk8/xEj89cLQ/4Nw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.44.1.tgz", - "integrity": "sha512-yuktAOaeOgorWDeFJggjuCkMGeITfqvPgkIXhDqsfKX8J3jGyxdDZgBV/2kj/2DyPaLiX6bPdjJDTu9RB8lUPQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.44.1.tgz", - "integrity": "sha512-W+GBM4ifET1Plw8pdVaecwUgxmiH23CfAUj32u8knq0JPFyK4weRy6H7ooxYFD19YxBulL0Ktsflg5XS7+7u9g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.44.1.tgz", - "integrity": "sha512-1zqnUEMWp9WrGVuVak6jWTl4fEtrVKfZY7CvcBmUUpxAJ7WcSowPSAWIKa/0o5mBL/Ij50SIf9tuirGx63Ovew==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.44.1.tgz", - "integrity": "sha512-Rl3JKaRu0LHIx7ExBAAnf0JcOQetQffaw34T8vLlg9b1IhzcBgaIdnvEbbsZq9uZp3uAH+JkHd20Nwn0h9zPjA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.44.1.tgz", - "integrity": "sha512-j5akelU3snyL6K3N/iX7otLBIl347fGwmd95U5gS/7z6T4ftK288jKq3A5lcFKcx7wwzb5rgNvAg3ZbV4BqUSw==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.44.1.tgz", - "integrity": "sha512-ppn5llVGgrZw7yxbIm8TTvtj1EoPgYUAbfw0uDjIOzzoqlZlZrLJ/KuiE7uf5EpTpCTrNt1EdtzF0naMm0wGYg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.44.1.tgz", - "integrity": "sha512-Hu6hEdix0oxtUma99jSP7xbvjkUM/ycke/AQQ4EC5g7jNRLLIwjcNwaUy95ZKBJJwg1ZowsclNnjYqzN4zwkAw==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.1.tgz", - "integrity": "sha512-EtnsrmZGomz9WxK1bR5079zee3+7a+AdFlghyd6VbAjgRJDbTANJ9dcPIPAi76uG05micpEL+gPGmAKYTschQw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.44.1.tgz", - "integrity": "sha512-iAS4p+J1az6Usn0f8xhgL4PaU878KEtutP4hqw52I4IO6AGoyOkHCxcc4bqufv1tQLdDWFx8lR9YlwxKuv3/3g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.44.1.tgz", - "integrity": "sha512-NtSJVKcXwcqozOl+FwI41OH3OApDyLk3kqTJgx8+gp6On9ZEt5mYhIsKNPGuaZr3p9T6NWPKGU/03Vw4CNU9qg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.44.1.tgz", - "integrity": "sha512-JYA3qvCOLXSsnTR3oiyGws1Dm0YTuxAAeaYGVlGpUsHqloPcFjPg+X0Fj2qODGLNwQOAcCiQmHub/V007kiH5A==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.44.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.44.1.tgz", - "integrity": "sha512-J8o22LuF0kTe7m+8PvW9wk3/bRq5+mRo5Dqo6+vXb7otCm3TPhYOJqOaQtGU9YMWQSL3krMnoOxMr0+9E6F3Ug==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@schematics/angular": { - "version": "20.1.4", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-20.1.4.tgz", - "integrity": "sha512-TNpm15NKf4buxPYnGaB3JY2B/3sbL19SdlpPDxkgyVY8WDDeZX95m3Tz2qlKpsYxy2XCGUj4Sxh7zJNGC9e/4g==", + "version": "20.1.5", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-20.1.5.tgz", + "integrity": "sha512-+bgbujb9F6cgP/hz0L8IEJy16aXIsgypTcHdckozbjDRUMtqjjmCNjutep0t6hfe9La/4hF8pKiOx9KLBFG+rw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "20.1.4", - "@angular-devkit/schematics": "20.1.4", + "@angular-devkit/core": "20.1.5", + "@angular-devkit/schematics": "20.1.5", "jsonc-parser": "3.3.1" }, "engines": { @@ -5855,22 +4415,6 @@ "@tailwindcss/oxide-win32-x64-msvc": "4.1.11" } }, - "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.11.tgz", - "integrity": "sha512-3IfFuATVRUMZZprEIx9OGDjG3Ou3jG4xQzNTvjDoKmU9JdmoCohQJ83MYd0GPnQIu89YoJqvMM0G3uqLRFtetg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@tailwindcss/oxide-darwin-arm64": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.11.tgz", @@ -5887,179 +4431,6 @@ "node": ">= 10" } }, - "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.11.tgz", - "integrity": "sha512-EgnK8kRchgmgzG6jE10UQNaH9Mwi2n+yw1jWmof9Vyg2lpKNX2ioe7CJdf9M5f8V9uaQxInenZkOxnTVL3fhAw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.11.tgz", - "integrity": "sha512-xdqKtbpHs7pQhIKmqVpxStnY1skuNh4CtbcyOHeX1YBE0hArj2romsFGb6yUmzkq/6M24nkxDqU8GYrKrz+UcA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.11.tgz", - "integrity": "sha512-ryHQK2eyDYYMwB5wZL46uoxz2zzDZsFBwfjssgB7pzytAeCCa6glsiJGjhTEddq/4OsIjsLNMAiMlHNYnkEEeg==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.11.tgz", - "integrity": "sha512-mYwqheq4BXF83j/w75ewkPJmPZIqqP1nhoghS9D57CLjsh3Nfq0m4ftTotRYtGnZd3eCztgbSPJ9QhfC91gDZQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.11.tgz", - "integrity": "sha512-m/NVRFNGlEHJrNVk3O6I9ggVuNjXHIPoD6bqay/pubtYC9QIdAMpS+cswZQPBLvVvEF6GtSNONbDkZrjWZXYNQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.11.tgz", - "integrity": "sha512-YW6sblI7xukSD2TdbbaeQVDysIm/UPJtObHJHKxDEcW2exAtY47j52f8jZXkqE1krdnkhCMGqP3dbniu1Te2Fg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.11.tgz", - "integrity": "sha512-e3C/RRhGunWYNC3aSF7exsQkdXzQ/M+aYuZHKnw4U7KQwTJotnWsGOIVih0s2qQzmEzOFIJ3+xt7iq67K/p56Q==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.11.tgz", - "integrity": "sha512-Xo1+/GU0JEN/C/dvcammKHzeM6NqKovG+6921MR6oadee5XPBaKOumrJCXvopJ/Qb5TH7LX/UAywbqrP4lax0g==", - "bundleDependencies": [ - "@napi-rs/wasm-runtime", - "@emnapi/core", - "@emnapi/runtime", - "@tybys/wasm-util", - "@emnapi/wasi-threads", - "tslib" - ], - "cpu": [ - "wasm32" - ], - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "^1.4.3", - "@emnapi/runtime": "^1.4.3", - "@emnapi/wasi-threads": "^1.0.2", - "@napi-rs/wasm-runtime": "^0.2.11", - "@tybys/wasm-util": "^0.9.0", - "tslib": "^2.8.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.11.tgz", - "integrity": "sha512-UgKYx5PwEKrac3GPNPf6HVMNhUIGuUh4wlDFR2jYYdkX6pL/rn73zTq/4pzUm8fOjAn5L8zDeHp9iXmUGOXZ+w==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.11.tgz", - "integrity": "sha512-YfHoggn1j0LK7wR82TOucWc5LDCguHnoS879idHekmmiR7g9HUtMw9MI0NHatS28u/Xlkfi9w5RJWgz2Dl+5Qg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@tailwindcss/postcss": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.1.11.tgz", @@ -6383,17 +4754,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz", - "integrity": "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.0.tgz", + "integrity": "sha512-bhEz6OZeUR+O/6yx9Jk6ohX6H9JSFTaiY0v9/PuKT3oGK0rn0jNplLmyFUGV+a9gfYnVNwGDwS/UkLIuXNb2Rw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.38.0", - "@typescript-eslint/type-utils": "8.38.0", - "@typescript-eslint/utils": "8.38.0", - "@typescript-eslint/visitor-keys": "8.38.0", + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/type-utils": "8.39.0", + "@typescript-eslint/utils": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -6407,22 +4778,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.38.0", + "@typescript-eslint/parser": "^8.39.0", "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.38.0.tgz", - "integrity": "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.0.tgz", + "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.38.0", - "@typescript-eslint/types": "8.38.0", - "@typescript-eslint/typescript-estree": "8.38.0", - "@typescript-eslint/visitor-keys": "8.38.0", + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", "debug": "^4.3.4" }, "engines": { @@ -6434,18 +4805,18 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.38.0.tgz", - "integrity": "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.0.tgz", + "integrity": "sha512-CTzJqaSq30V/Z2Og9jogzZt8lJRR5TKlAdXmWgdu4hgcC9Kww5flQ+xFvMxIBWVNdxJO7OifgdOK4PokMIWPew==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.38.0", - "@typescript-eslint/types": "^8.38.0", + "@typescript-eslint/tsconfig-utils": "^8.39.0", + "@typescript-eslint/types": "^8.39.0", "debug": "^4.3.4" }, "engines": { @@ -6456,18 +4827,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz", - "integrity": "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.0.tgz", + "integrity": "sha512-8QOzff9UKxOh6npZQ/4FQu4mjdOCGSdO3p44ww0hk8Vu+IGbg0tB/H1LcTARRDzGCC8pDGbh2rissBuuoPgH8A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.38.0", - "@typescript-eslint/visitor-keys": "8.38.0" + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6478,9 +4849,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz", - "integrity": "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.0.tgz", + "integrity": "sha512-Fd3/QjmFV2sKmvv3Mrj8r6N8CryYiCS8Wdb/6/rgOXAWGcFuc+VkQuG28uk/4kVNVZBQuuDHEDUpo/pQ32zsIQ==", "dev": true, "license": "MIT", "engines": { @@ -6491,19 +4862,19 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz", - "integrity": "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.0.tgz", + "integrity": "sha512-6B3z0c1DXVT2vYA9+z9axjtc09rqKUPRmijD5m9iv8iQpHBRYRMBcgxSiKTZKm6FwWw1/cI4v6em35OsKCiN5Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.38.0", - "@typescript-eslint/typescript-estree": "8.38.0", - "@typescript-eslint/utils": "8.38.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/utils": "8.39.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -6516,13 +4887,13 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/types": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.38.0.tgz", - "integrity": "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.0.tgz", + "integrity": "sha512-ArDdaOllnCj3yn/lzKn9s0pBQYmmyme/v1HbGIGB0GB/knFI3fWMHloC+oYTJW46tVbYnGKTMDK4ah1sC2v0Kg==", "dev": true, "license": "MIT", "engines": { @@ -6534,16 +4905,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz", - "integrity": "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.0.tgz", + "integrity": "sha512-ndWdiflRMvfIgQRpckQQLiB5qAKQ7w++V4LlCHwp62eym1HLB/kw7D9f2e8ytONls/jt89TEasgvb+VwnRprsw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.38.0", - "@typescript-eslint/tsconfig-utils": "8.38.0", - "@typescript-eslint/types": "8.38.0", - "@typescript-eslint/visitor-keys": "8.38.0", + "@typescript-eslint/project-service": "8.39.0", + "@typescript-eslint/tsconfig-utils": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -6559,20 +4930,20 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/utils": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.38.0.tgz", - "integrity": "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.0.tgz", + "integrity": "sha512-4GVSvNA0Vx1Ktwvf4sFE+exxJ3QGUorQG1/A5mRfRNZtkBT2xrA/BCO2H0eALx/PnvCS6/vmYwRdDA41EoffkQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.38.0", - "@typescript-eslint/types": "8.38.0", - "@typescript-eslint/typescript-estree": "8.38.0" + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6583,17 +4954,17 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz", - "integrity": "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.0.tgz", + "integrity": "sha512-ldgiJ+VAhQCfIjeOgu8Kj5nSxds0ktPOSO9p4+0VDH2R2pLvQraaM5Oen2d7NxzMCm+Sn/vJT+mv2H5u6b/3fA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/types": "8.39.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -6617,19 +4988,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@vitejs/plugin-basic-ssl": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.1.0.tgz", - "integrity": "sha512-dOxxrhgyDIEUADhb/8OlV9JIqYLgos03YorAueTIeOUskLJSEsfwCByjbu98ctXitUN3znXKp0bYD/WHSudCeA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "peerDependencies": { - "vite": "^6.0.0 || ^7.0.0" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", @@ -6982,19 +5340,19 @@ } }, "node_modules/angular-eslint": { - "version": "19.8.1", - "resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-19.8.1.tgz", - "integrity": "sha512-A6mPcVAXEDdJk7bKKBwd+1b/VA/xwpWWN2fExTGO1dkVNPz550LlgxBjEio9G7u4i+pD2aLrl6Cx6O+9o1iusQ==", + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/angular-eslint/-/angular-eslint-20.1.1.tgz", + "integrity": "sha512-sJ/7vdBMmmYGq5054UHfBXCWHABo79bPbNiXVznqBu6mV85RZsT+IBV1JKLHmV4JtfHoNx1ElkSL2hR3ZeJbkQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": ">= 19.0.0 < 20.0.0", - "@angular-devkit/schematics": ">= 19.0.0 < 20.0.0", - "@angular-eslint/builder": "19.8.1", - "@angular-eslint/eslint-plugin": "19.8.1", - "@angular-eslint/eslint-plugin-template": "19.8.1", - "@angular-eslint/schematics": "19.8.1", - "@angular-eslint/template-parser": "19.8.1", + "@angular-devkit/core": ">= 20.0.0 < 21.0.0", + "@angular-devkit/schematics": ">= 20.0.0 < 21.0.0", + "@angular-eslint/builder": "20.1.1", + "@angular-eslint/eslint-plugin": "20.1.1", + "@angular-eslint/eslint-plugin-template": "20.1.1", + "@angular-eslint/schematics": "20.1.1", + "@angular-eslint/template-parser": "20.1.1", "@typescript-eslint/types": "^8.0.0", "@typescript-eslint/utils": "^8.0.0" }, @@ -7004,200 +5362,6 @@ "typescript-eslint": "^8.0.0" } }, - "node_modules/angular-eslint/node_modules/@angular-devkit/core": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.15.tgz", - "integrity": "sha512-pU2RZYX6vhd7uLSdLwPnuBcr0mXJSjp3EgOXKsrlQFQZevc+Qs+2JdXgIElnOT/aDqtRtriDmLlSbtdE8n3ZbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "8.17.1", - "ajv-formats": "3.0.1", - "jsonc-parser": "3.3.1", - "picomatch": "4.0.2", - "rxjs": "7.8.1", - "source-map": "0.7.4" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - }, - "peerDependencies": { - "chokidar": "^4.0.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/angular-eslint/node_modules/@angular-devkit/schematics": { - "version": "19.2.15", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.15.tgz", - "integrity": "sha512-kNOJ+3vekJJCQKWihNmxBkarJzNW09kP5a9E1SRNiQVNOUEeSwcRR0qYotM65nx821gNzjjhJXnAZ8OazWldrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@angular-devkit/core": "19.2.15", - "jsonc-parser": "3.3.1", - "magic-string": "0.30.17", - "ora": "5.4.1", - "rxjs": "7.8.1" - }, - "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" - } - }, - "node_modules/angular-eslint/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/angular-eslint/node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/angular-eslint/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/angular-eslint/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/angular-eslint/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/angular-eslint/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/angular-eslint/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/angular-eslint/node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/angular-eslint/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/angular-eslint/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/angular-eslint/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/angular-oauth2-oidc": { "version": "20.0.2", "resolved": "https://registry.npmjs.org/angular-oauth2-oidc/-/angular-oauth2-oidc-20.0.2.tgz", @@ -7461,27 +5625,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/base64id": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", @@ -7541,33 +5684,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bl/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/body-parser": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz", @@ -7661,31 +5777,6 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -8003,16 +6094,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/clone-deep": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", @@ -8572,19 +6653,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/define-lazy-prop": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", @@ -9208,20 +7276,20 @@ } }, "node_modules/eslint": { - "version": "9.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz", - "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==", + "version": "9.33.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.33.0.tgz", + "integrity": "sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.0", - "@eslint/config-helpers": "^0.3.0", - "@eslint/core": "^0.15.0", + "@eslint/config-helpers": "^0.3.1", + "@eslint/core": "^0.15.2", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.32.0", - "@eslint/plugin-kit": "^0.3.4", + "@eslint/js": "9.33.0", + "@eslint/plugin-kit": "^0.3.5", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -10412,27 +8480,6 @@ "postcss": "^8.1.0" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/ignore": { "version": "7.0.5", "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", @@ -11664,9 +9711,9 @@ } }, "node_modules/launch-editor": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.11.0.tgz", - "integrity": "sha512-R/PIF14L6e2eHkhvQPu7jDRCr0msfCYCxbYiLgkkAGi0dVPWuM+RrsPu0a5dpuNe0KWGL3jpAkOlv53xGfPheQ==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.11.1.tgz", + "integrity": "sha512-SEET7oNfgSaB6Ym0jufAdCeo3meJVeCaaDyzRygy0xsp2BFKCprcfHljTq4QkzTLUxEKkFK6OK4811YM2oSrRg==", "dev": true, "license": "MIT", "dependencies": { @@ -11879,186 +9926,6 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/lightningcss-darwin-x64": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.1.tgz", - "integrity": "sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-freebsd-x64": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.1.tgz", - "integrity": "sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.1.tgz", - "integrity": "sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q==", - "cpu": [ - "arm" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.1.tgz", - "integrity": "sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.1.tgz", - "integrity": "sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.1.tgz", - "integrity": "sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-linux-x64-musl": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.1.tgz", - "integrity": "sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.1.tgz", - "integrity": "sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.1.tgz", - "integrity": "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/lilconfig": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", @@ -12513,9 +10380,9 @@ } }, "node_modules/memfs": { - "version": "4.30.1", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.30.1.tgz", - "integrity": "sha512-7dIqBl69ijTozwDO/RCmQQE/puqFgMFtBFzeZoz1xh7KUxczbRVrJbm+M0zHCTYUN1Slt9/DjHJr77i54yI+kg==", + "version": "4.36.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.36.0.tgz", + "integrity": "sha512-mfBfzGUdoEw5AZwG8E965ej3BbvW2F9LxEWj4uLxF6BEh1dO2N9eS3AGu9S6vfenuQYrVjsbUOOZK7y3vz4vyQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -12632,16 +10499,6 @@ "node": ">= 0.6" } }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/mimic-function": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", @@ -13052,16 +10909,16 @@ } }, "node_modules/ngx-infinite-scroll": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/ngx-infinite-scroll/-/ngx-infinite-scroll-19.0.0.tgz", - "integrity": "sha512-Ft4xNNDLXoDGi2hF6ylehjxbG8JIgfoL6qDWWcebGMcbh1CEfEsh0HGkDuFlX/cBBMenRh2HFbXlYq8BAtbvLw==", + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/ngx-infinite-scroll/-/ngx-infinite-scroll-20.0.0.tgz", + "integrity": "sha512-Mh7lg85jeDPzZirxPHjyMagCcC3vbk+yPO5uoXHNkmGer8MrO6vOydOX306qY4QYDyMJ+ngIQgpl5HJXfc590A==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/common": ">=19.0.0 <20.0.0", - "@angular/core": ">=19.0.0 <20.0.0" + "@angular/common": ">=20.0.0 <21.0.0", + "@angular/core": ">=20.0.0 <21.0.0" } }, "node_modules/node-addon-api": { @@ -14289,9 +12146,9 @@ "license": "MIT" }, "node_modules/primeng": { - "version": "19.1.2", - "resolved": "https://registry.npmjs.org/primeng/-/primeng-19.1.2.tgz", - "integrity": "sha512-iu4lDrStBPCyYn+iSfofp/Hsv/dHVlnlsOhqFZlYTQB1o+MlVXa4PanLgHdoBr1thy3ozRkNDZHsICkUecWu0A==", + "version": "19.1.4", + "resolved": "https://registry.npmjs.org/primeng/-/primeng-19.1.4.tgz", + "integrity": "sha512-l5l8SHTxopxxyyXZx1BvbQ11P7ndLv2Qp8H5k2/+OCi65jTZn4xmtrBDGDs7k2K5UMHSqAnGjBgtpbckyqQETg==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@primeuix/styled": "^0.3.2", @@ -16361,14 +14218,18 @@ } }, "node_modules/thingies": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/thingies/-/thingies-1.21.0.tgz", - "integrity": "sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/thingies/-/thingies-2.5.0.tgz", + "integrity": "sha512-s+2Bwztg6PhWUD7XMfeYm5qliDdSiZm7M7n8KjTkIsm3l/2lgVRc2/Gx/v+ZX8lT4FMA+i8aQvhcWylldc+ZNw==", "dev": true, - "license": "Unlicense", + "license": "MIT", "engines": { "node": ">=10.18" }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, "peerDependencies": { "tslib": "^2" } @@ -16554,9 +14415,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", - "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", + "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -16568,16 +14429,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.38.0.tgz", - "integrity": "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg==", + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.39.0.tgz", + "integrity": "sha512-lH8FvtdtzcHJCkMOKnN73LIn6SLTpoojgJqDAxPm1jCR14eWSGPX8ul/gggBdPMk/d5+u9V854vTYQ8T5jF/1Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.38.0", - "@typescript-eslint/parser": "8.38.0", - "@typescript-eslint/typescript-estree": "8.38.0", - "@typescript-eslint/utils": "8.38.0" + "@typescript-eslint/eslint-plugin": "8.39.0", + "@typescript-eslint/parser": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/utils": "8.39.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -16588,7 +14449,7 @@ }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" + "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/ua-parser-js": { @@ -16827,94 +14688,6 @@ "node": ">= 0.8" } }, - "node_modules/vite": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.0.6.tgz", - "integrity": "sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "^0.25.0", - "fdir": "^6.4.6", - "picomatch": "^4.0.3", - "postcss": "^8.5.6", - "rollup": "^4.40.0", - "tinyglobby": "^0.2.14" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^20.19.0 || >=22.12.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^20.19.0 || >=22.12.0", - "jiti": ">=1.21.0", - "less": "^4.0.0", - "lightningcss": "^1.21.0", - "sass": "^1.70.0", - "sass-embedded": "^1.70.0", - "stylus": ">=0.54.8", - "sugarss": "^5.0.0", - "terser": "^5.16.0", - "tsx": "^4.8.1", - "yaml": "^2.4.2" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "jiti": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - }, - "tsx": { - "optional": true - }, - "yaml": { - "optional": true - } - } - }, - "node_modules/vite/node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", @@ -16949,16 +14722,6 @@ "minimalistic-assert": "^1.0.0" } }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dev": true, - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, "node_modules/weak-lru-cache": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", diff --git a/booklore-ui/package.json b/booklore-ui/package.json index 5ee3802ae..a00ab1007 100644 --- a/booklore-ui/package.json +++ b/booklore-ui/package.json @@ -12,16 +12,16 @@ }, "private": true, "dependencies": { - "@angular/animations": "^20.0.1", - "@angular/common": "^20.0.1", - "@angular/compiler": "^20.0.1", - "@angular/core": "^20.0.1", - "@angular/forms": "^20.0.1", - "@angular/platform-browser": "^20.0.1", - "@angular/platform-browser-dynamic": "^20.0.1", - "@angular/router": "^20.0.1", + "@angular/animations": "^20.1.6", + "@angular/common": "^20.1.6", + "@angular/compiler": "^20.1.6", + "@angular/core": "^20.1.6", + "@angular/forms": "^20.1.6", + "@angular/platform-browser": "^20.1.6", + "@angular/platform-browser-dynamic": "^20.1.6", + "@angular/router": "^20.1.6", "@iharbeck/ngx-virtual-scroller": "^19.0.1", - "@primeng/themes": "^19.1.3", + "@primeng/themes": "^19.1.4", "@stomp/rx-stomp": "^2.0.1", "@stomp/stompjs": "^7.1.1", "@tailwindcss/postcss": "^4.1.8", @@ -30,9 +30,9 @@ "jwt-decode": "^4.0.0", "ng-lazyload-image": "^9.1.3", "ngx-extended-pdf-viewer": "^23.3.1", - "ngx-infinite-scroll": "^19.0.0", + "ngx-infinite-scroll": "^20.0.0", "primeicons": "^7.0.0", - "primeng": "19.1.2", + "primeng": "19.1.4", "quill": "^2.0.3", "rxjs": "^7.8.2", "showdown": "^2.1.0", @@ -42,15 +42,15 @@ "zone.js": "^0.15.1" }, "devDependencies": { - "@angular-devkit/build-angular": "^20.0.1", - "@angular/cli": "^20.0.1", - "@angular/compiler-cli": "^20.0.1", + "@angular-devkit/build-angular": "^20.1.5", + "@angular/cli": "^20.1.5", + "@angular/compiler-cli": "^20.1.6", "@tailwindcss/typography": "^0.5.16", "@types/jasmine": "^5.1.8", "@types/showdown": "^2.0.6", - "angular-eslint": "^19.7.1", + "angular-eslint": "^20.1.1", "autoprefixer": "^10.4.21", - "eslint": "^9.28.0", + "eslint": "^9.33.0", "jasmine-core": "^5.7.1", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", @@ -58,7 +58,7 @@ "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "^2.1.0", "tailwindcss": "3.4.17", - "typescript": "^5.8.3", - "typescript-eslint": "^8.33.1" + "typescript": "^5.8.2", + "typescript-eslint": "^8.39.0" } } diff --git a/booklore-ui/src/app/app.component.ts b/booklore-ui/src/app/app.component.ts index 2d0c9d76c..f5a5d2e94 100644 --- a/booklore-ui/src/app/app.component.ts +++ b/booklore-ui/src/app/app.component.ts @@ -3,7 +3,7 @@ import {RxStompService} from './shared/websocket/rx-stomp.service'; import {Message} from '@stomp/stompjs'; import {BookService} from './book/service/book.service'; import {NotificationEventService} from './shared/websocket/notification-event.service'; -import {parseLogNotification} from './shared/websocket/model/log-notification.model'; +import {parseLogNotification, parseTaskMessage, TaskMessage} from './shared/websocket/model/log-notification.model'; import {ConfirmDialog} from 'primeng/confirmdialog'; import {Toast} from 'primeng/toast'; import {RouterOutlet} from '@angular/router'; @@ -12,6 +12,7 @@ import {AppConfigService} from './core/service/app-config.service'; import {MetadataBatchProgressNotification} from './core/model/metadata-batch-progress.model'; import {MetadataProgressService} from './core/service/metadata-progress-service'; import {BookdropFileService, BookdropFileNotification} from './bookdrop/bookdrop-file.service'; +import {TaskEventService} from './shared/websocket/task-event.service'; @Component({ selector: 'app-root', @@ -29,6 +30,7 @@ export class AppComponent implements OnInit { private notificationEventService = inject(NotificationEventService); private metadataProgressService = inject(MetadataProgressService); private bookdropFileService = inject(BookdropFileService); + private taskEventService = inject(TaskEventService); private appConfigService = inject(AppConfigService); ngOnInit(): void { @@ -64,6 +66,11 @@ export class AppComponent implements OnInit { this.notificationEventService.handleNewNotification(logNotification); }); + this.rxStompService.watch('/topic/task').subscribe((message: Message) => { + const taskMessage: TaskMessage = parseTaskMessage(message.body); + this.taskEventService.handleTaskMessage(taskMessage); + }); + this.rxStompService.watch('/topic/bookdrop-file').subscribe((message: Message) => { const notification = JSON.parse(message.body) as BookdropFileNotification; this.bookdropFileService.handleIncomingFile(notification); diff --git a/booklore-ui/src/app/book/model/library.model.ts b/booklore-ui/src/app/book/model/library.model.ts index 4f4b4810e..dc00fd584 100644 --- a/booklore-ui/src/app/book/model/library.model.ts +++ b/booklore-ui/src/app/book/model/library.model.ts @@ -5,6 +5,7 @@ export interface Library { name: string; icon: string; watch: boolean; + fileNamingPattern?: string; sort?: SortOption; paths: LibraryPath[]; } diff --git a/booklore-ui/src/app/book/service/library.service.ts b/booklore-ui/src/app/book/service/library.service.ts index 529303431..a075b2c53 100644 --- a/booklore-ui/src/app/book/service/library.service.ts +++ b/booklore-ui/src/app/book/service/library.service.ts @@ -122,14 +122,27 @@ export class LibraryService { getLibraryPathById(pathId: number): string | undefined { const libraries = this.libraryStateSubject.value.libraries || []; - for (const library of libraries) { const match = library.paths.find(p => p.id === pathId); if (match) { return match.path; } } - return undefined; } + + updateLibraryFileNamingPattern(libraryId: number, fileNamingPattern: string): Observable { + return this.http.patch(`${this.url}/${libraryId}/file-naming-pattern`, { fileNamingPattern }).pipe( + map(updatedLibrary => { + const currentState = this.libraryStateSubject.value; + const updatedLibraries = currentState.libraries ? currentState.libraries.map(existingLibrary => + existingLibrary.id === updatedLibrary.id ? updatedLibrary : existingLibrary) : [updatedLibrary]; + this.libraryStateSubject.next({...currentState, libraries: updatedLibraries}); + return updatedLibrary; + }), + catchError(error => { + throw error; + }) + ); + } } diff --git a/booklore-ui/src/app/bookdrop/bookdrop-file-metadata-picker-component/bookdrop-file-metadata-picker.component.ts b/booklore-ui/src/app/bookdrop/bookdrop-file-metadata-picker-component/bookdrop-file-metadata-picker.component.ts index 56cd642a3..e6b35d1b5 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-file-metadata-picker-component/bookdrop-file-metadata-picker.component.ts +++ b/booklore-ui/src/app/bookdrop/bookdrop-file-metadata-picker-component/bookdrop-file-metadata-picker.component.ts @@ -27,7 +27,7 @@ import {Textarea} from 'primeng/textarea'; export class BookdropFileMetadataPickerComponent { @Input() fetchedMetadata!: BookMetadata; - @Input() originalMetadata!: BookMetadata; + @Input() originalMetadata?: BookMetadata; @Input() metadataForm!: FormGroup; @Input() copiedFields: Record = {}; @Input() savedFields: Record = {}; @@ -127,7 +127,7 @@ export class BookdropFileMetadataPickerComponent { } resetField(field: string) { - this.metadataForm.get(field)?.setValue(this.originalMetadata[field]); + this.metadataForm.get(field)?.setValue(this.originalMetadata?.[field]); this.copiedFields[field] = false; this.hoveredFields[field] = false; } diff --git a/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.html b/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.html index 5e7e45a90..1a1ce558f 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.html +++ b/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.html @@ -33,25 +33,6 @@ } @if (bookdropFileUis.length !== 0) { - -
- - - -
-
@@ -126,7 +107,7 @@ }
-
+
@if (bookdropFileUis.length === 0) {
No bookdrop files to review. diff --git a/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.ts b/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.ts index 687ab8b75..e91f8854b 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.ts +++ b/booklore-ui/src/app/bookdrop/bookdrop-file-review-component/bookdrop-file-review.component.ts @@ -11,7 +11,6 @@ import {DropdownModule} from 'primeng/dropdown'; import {FormControl, FormGroup, FormsModule} from '@angular/forms'; import {Button} from 'primeng/button'; import {Select} from 'primeng/select'; -import {InputText} from 'primeng/inputtext'; import {Tooltip} from 'primeng/tooltip'; import {Divider} from 'primeng/divider'; import {ConfirmationService, MessageService} from 'primeng/api'; @@ -55,7 +54,6 @@ export interface BookdropFileUI { BookdropFileMetadataPickerComponent, Tooltip, Divider, - InputText, Checkbox, NgStyle, NgClass, @@ -231,31 +229,31 @@ export class BookdropFileReviewComponent implements OnInit { Object.values(this.fileUiCache).forEach(fileUi => { const original = fileUi.file.originalMetadata; fileUi.metadataForm.patchValue({ - title: original.title || null, - subtitle: original.subtitle || null, - authors: [...(original.authors ?? [])].sort(), - categories: [...(original.categories ?? [])].sort(), - publisher: original.publisher || null, - publishedDate: original.publishedDate || null, - isbn10: original.isbn10 ?? null, - isbn13: original.isbn13 ?? null, - description: original.description ?? null, - pageCount: original.pageCount ?? null, - language: original.language ?? null, - asin: original.asin ?? null, - amazonRating: original.amazonRating ?? null, - amazonReviewCount: original.amazonReviewCount ?? null, - goodreadsId: original.goodreadsId ?? null, - goodreadsRating: original.goodreadsRating ?? null, - goodreadsReviewCount: original.goodreadsReviewCount ?? null, - hardcoverId: original.hardcoverId ?? null, - hardcoverRating: original.hardcoverRating ?? null, - hardcoverReviewCount: original.hardcoverReviewCount ?? null, - googleId: original.googleId ?? null, - comicvineId: original.comicvineId ?? null, - seriesName: original.seriesName ?? null, - seriesNumber: original.seriesNumber ?? null, - seriesTotal: original.seriesTotal ?? null, + title: original?.title || null, + subtitle: original?.subtitle || null, + authors: [...(original?.authors ?? [])].sort(), + categories: [...(original?.categories ?? [])].sort(), + publisher: original?.publisher || null, + publishedDate: original?.publishedDate || null, + isbn10: original?.isbn10 ?? null, + isbn13: original?.isbn13 ?? null, + description: original?.description ?? null, + pageCount: original?.pageCount ?? null, + language: original?.language ?? null, + asin: original?.asin ?? null, + amazonRating: original?.amazonRating ?? null, + amazonReviewCount: original?.amazonReviewCount ?? null, + goodreadsId: original?.goodreadsId ?? null, + goodreadsRating: original?.goodreadsRating ?? null, + goodreadsReviewCount: original?.goodreadsReviewCount ?? null, + hardcoverId: original?.hardcoverId ?? null, + hardcoverRating: original?.hardcoverRating ?? null, + hardcoverReviewCount: original?.hardcoverReviewCount ?? null, + googleId: original?.googleId ?? null, + comicvineId: original?.comicvineId ?? null, + seriesName: original?.seriesName ?? null, + seriesNumber: original?.seriesNumber ?? null, + seriesTotal: original?.seriesTotal ?? null, thumbnailUrl: this.urlHelper.getBookdropCoverUrl(fileUi.file.id), }); fileUi.copiedFields = {}; @@ -425,7 +423,6 @@ export class BookdropFileReviewComponent implements OnInit { }); const payload: BookdropFinalizePayload = { - uploadPattern: this.uploadPattern, selectAll: this.selectAllAcrossPages, excludedIds: this.selectAllAcrossPages ? Array.from(this.excludedFiles) : undefined, defaultLibraryId: this.defaultLibraryId ? Number(this.defaultLibraryId) : undefined, @@ -473,33 +470,33 @@ export class BookdropFileReviewComponent implements OnInit { }); } - private createMetadataForm(original: BookMetadata, bookdropFileId: number): FormGroup { + private createMetadataForm(original: BookMetadata | undefined, bookdropFileId: number): FormGroup { return new FormGroup({ - title: new FormControl(original.title ?? ''), - subtitle: new FormControl(original.subtitle ?? ''), - authors: new FormControl([...(original.authors ?? [])].sort()), - categories: new FormControl([...(original.categories ?? [])].sort()), - publisher: new FormControl(original.publisher ?? ''), - publishedDate: new FormControl(original.publishedDate ?? ''), - isbn10: new FormControl(original.isbn10 ?? ''), - isbn13: new FormControl(original.isbn13 ?? ''), - description: new FormControl(original.description ?? ''), - pageCount: new FormControl(original.pageCount ?? ''), - language: new FormControl(original.language ?? ''), - asin: new FormControl(original.asin ?? ''), - amazonRating: new FormControl(original.amazonRating ?? ''), - amazonReviewCount: new FormControl(original.amazonReviewCount ?? ''), - goodreadsId: new FormControl(original.goodreadsId ?? ''), - goodreadsRating: new FormControl(original.goodreadsRating ?? ''), - goodreadsReviewCount: new FormControl(original.goodreadsReviewCount ?? ''), - hardcoverId: new FormControl(original.hardcoverId ?? ''), - hardcoverRating: new FormControl(original.hardcoverRating ?? ''), - hardcoverReviewCount: new FormControl(original.hardcoverReviewCount ?? ''), - googleId: new FormControl(original.googleId ?? ''), - comicvineId: new FormControl(original.comicvineId ?? ''), - seriesName: new FormControl(original.seriesName ?? ''), - seriesNumber: new FormControl(original.seriesNumber ?? ''), - seriesTotal: new FormControl(original.seriesTotal ?? ''), + title: new FormControl(original?.title ?? ''), + subtitle: new FormControl(original?.subtitle ?? ''), + authors: new FormControl([...(original?.authors ?? [])].sort()), + categories: new FormControl([...(original?.categories ?? [])].sort()), + publisher: new FormControl(original?.publisher ?? ''), + publishedDate: new FormControl(original?.publishedDate ?? ''), + isbn10: new FormControl(original?.isbn10 ?? ''), + isbn13: new FormControl(original?.isbn13 ?? ''), + description: new FormControl(original?.description ?? ''), + pageCount: new FormControl(original?.pageCount ?? ''), + language: new FormControl(original?.language ?? ''), + asin: new FormControl(original?.asin ?? ''), + amazonRating: new FormControl(original?.amazonRating ?? ''), + amazonReviewCount: new FormControl(original?.amazonReviewCount ?? ''), + goodreadsId: new FormControl(original?.goodreadsId ?? ''), + goodreadsRating: new FormControl(original?.goodreadsRating ?? ''), + goodreadsReviewCount: new FormControl(original?.goodreadsReviewCount ?? ''), + hardcoverId: new FormControl(original?.hardcoverId ?? ''), + hardcoverRating: new FormControl(original?.hardcoverRating ?? ''), + hardcoverReviewCount: new FormControl(original?.hardcoverReviewCount ?? ''), + googleId: new FormControl(original?.googleId ?? ''), + comicvineId: new FormControl(original?.comicvineId ?? ''), + seriesName: new FormControl(original?.seriesName ?? ''), + seriesNumber: new FormControl(original?.seriesNumber ?? ''), + seriesTotal: new FormControl(original?.seriesTotal ?? ''), thumbnailUrl: new FormControl(this.urlHelper.getBookdropCoverUrl(bookdropFileId)), }); } diff --git a/booklore-ui/src/app/bookdrop/bookdrop-file-task.service.ts b/booklore-ui/src/app/bookdrop/bookdrop-file-task.service.ts index 2aafe6bf7..a7086ccc5 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-file-task.service.ts +++ b/booklore-ui/src/app/bookdrop/bookdrop-file-task.service.ts @@ -5,13 +5,11 @@ import {BookMetadata} from '../book/model/book.model'; import {API_CONFIG} from '../config/api-config'; export enum BookdropFileStatus { - PENDING_REVIEW = 'PENDING_REVIEW', ACCEPTED = 'ACCEPTED', REJECTED = 'REJECTED', } export interface BookdropFinalizePayload { - uploadPattern: string; selectAll?: boolean; excludedIds?: number[]; defaultLibraryId?: number; @@ -30,7 +28,7 @@ export interface BookdropFile { fileName: string; filePath: string; fileSize: number; - originalMetadata: BookMetadata; + originalMetadata?: BookMetadata; fetchedMetadata?: BookMetadata; createdAt: string; updatedAt: string; diff --git a/booklore-ui/src/app/bookdrop/bookdrop-file.service.ts b/booklore-ui/src/app/bookdrop/bookdrop-file.service.ts index 85153586d..4873d050c 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-file.service.ts +++ b/booklore-ui/src/app/bookdrop/bookdrop-file.service.ts @@ -1,7 +1,8 @@ import {inject, Injectable, OnDestroy} from '@angular/core'; import {BehaviorSubject, Subscription} from 'rxjs'; -import {map} from 'rxjs/operators'; +import {map, filter, take} from 'rxjs/operators'; import {BookdropFileApiService} from './bookdrop-file-api.service'; +import {AuthService} from '../core/service/auth.service'; export interface BookdropFileNotification { pendingCount: number; @@ -25,14 +26,13 @@ export class BookdropFileService implements OnDestroy { ); private apiService = inject(BookdropFileApiService); + private authService = inject(AuthService); private subscriptions = new Subscription(); constructor() { - const sub = this.apiService.getNotification().subscribe({ - next: summary => this.summarySubject.next(summary), - error: err => console.warn('Failed to fetch bookdrop file summary:', err) - }); - this.subscriptions.add(sub); + this.authService.token$ + .pipe(filter(t => !!t), take(1)) + .subscribe(() => this.refresh()); } handleIncomingFile(summary: BookdropFileNotification): void { diff --git a/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.html b/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.html index 80a886bbe..c2d974a9e 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.html +++ b/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.html @@ -1,23 +1,24 @@ -
+
-

Pending Bookdrop Files

+

Pending Bookdrop Files

{{ pendingCount }}

@if (lastUpdatedAt) { -

+

Last updated: {{ lastUpdatedAt | date: 'short' }}

}
- +
diff --git a/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.ts b/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.ts index ad71c3093..9bd2cc73e 100644 --- a/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.ts +++ b/booklore-ui/src/app/bookdrop/bookdrop-files-widget-component/bookdrop-files-widget.component.ts @@ -4,6 +4,7 @@ import {takeUntil} from 'rxjs/operators'; import {BookdropFileNotification, BookdropFileService} from '../bookdrop-file.service'; import {DatePipe} from '@angular/common'; import {Router} from '@angular/router'; +import {Button} from 'primeng/button'; @Component({ selector: 'app-bookdrop-files-widget-component', @@ -11,7 +12,8 @@ import {Router} from '@angular/router'; templateUrl: './bookdrop-files-widget.component.html', styleUrl: './bookdrop-files-widget.component.scss', imports: [ - DatePipe + DatePipe, + Button ] }) export class BookdropFilesWidgetComponent implements OnInit, OnDestroy { diff --git a/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.html b/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.html index 59f219e81..175e51877 100644 --- a/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.html +++ b/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.html @@ -1,4 +1,4 @@ -
-

{{ latestNotification.timestamp }}

-

{{ latestNotification.message }}

+
+

{{ latestNotification.timestamp }}

+

{{ latestNotification.message }}

diff --git a/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.ts b/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.ts index 2696a23ed..750fef8ca 100644 --- a/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.ts +++ b/booklore-ui/src/app/core/component/live-notification-box/live-notification-box.component.ts @@ -1,6 +1,6 @@ import {Component, inject} from '@angular/core'; -import {LogNotification} from '../../../shared/websocket/model/log-notification.model'; import {NotificationEventService} from '../../../shared/websocket/notification-event.service'; +import {LogNotification} from '../../../shared/websocket/model/log-notification.model'; @Component({ selector: 'app-live-notification-box', diff --git a/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.html b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.html new file mode 100644 index 000000000..6c249b429 --- /dev/null +++ b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.html @@ -0,0 +1,43 @@ +
+ @if (tasks$ | async; as tasks) { + @if (tasks.length === 0) { +
+

No active tasks

+
+ } @else { + @for (task of tasks; track task.taskId; let i = $index) { + @if (i > 0) { +
+ } +
+

{{ task.timestamp }}

+ +
+
+
+ + {{ getStatusText(task.status) }} + + @if (task.title) { +

Task: {{ task.title }}

+ } +
+
+ @if (task.status === TaskStatus.IN_PROGRESS && task.cancellable) { + + + } + + +
+
+

{{ task.message }}

+
+ +
+ } + } + } +
diff --git a/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.scss b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.scss new file mode 100644 index 000000000..76336d9e6 --- /dev/null +++ b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.scss @@ -0,0 +1,6 @@ +.live-border { + background: var(--card-background); + border: 1px solid var(--primary-color); + border-radius: 0.5rem; +} + diff --git a/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.ts b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.ts new file mode 100644 index 000000000..b47029c45 --- /dev/null +++ b/booklore-ui/src/app/core/component/live-task-event-box/live-task-event-box.component.ts @@ -0,0 +1,84 @@ +import {Component, inject} from '@angular/core'; +import {CommonModule} from '@angular/common'; +import {TaskMessage, TaskStatus} from '../../../shared/websocket/model/log-notification.model'; +import {TaskEventService} from '../../../shared/websocket/task-event.service'; +import {TaskService} from '../../../shared/services/task.service'; +import {Observable, take} from 'rxjs'; +import {Button} from 'primeng/button'; +import {MessageService} from 'primeng/api'; + +@Component({ + selector: 'app-live-task-event-box', + standalone: true, + imports: [CommonModule, Button], + templateUrl: './live-task-event-box.component.html', + styleUrls: ['./live-task-event-box.component.scss'], + host: { + class: 'config-panel' + } +}) +export class LiveTaskEventBoxComponent { + tasks$: Observable; + TaskStatus = TaskStatus; + + private taskEventService = inject(TaskEventService); + private taskService = inject(TaskService); + private messageService = inject(MessageService); + + constructor() { + this.tasks$ = this.taskEventService.tasks$; + } + + cancelTask(taskId: string): void { + this.taskService.cancelTask(taskId).pipe(take(1)).subscribe({ + next: (response) => { + this.messageService.add({ + severity: 'success', + summary: 'Success', + detail: `Task cancellation scheduled` + }); + }, + error: (error) => { + this.messageService.add({ + severity: 'error', + summary: 'Cancellation failed', + detail: error.error?.error || 'Failed to cancel task' + }); + } + }); + } + + removeTask(taskId: string): void { + this.taskEventService.removeTask(taskId); + } + + getStatusClasses(status: TaskStatus): string { + switch (status) { + case TaskStatus.IN_PROGRESS: + return 'bg-blue-700 text-zinc-100'; + case TaskStatus.COMPLETED: + return 'bg-green-700 text-zinc-100'; + case TaskStatus.FAILED: + return 'bg-red-700 text-zinc-100'; + case TaskStatus.CANCELLED: + return 'bg-gray-700 text-zinc-100'; + default: + return 'bg-zinc-700 text-zinc-100'; + } + } + + getStatusText(status: TaskStatus): string { + switch (status) { + case TaskStatus.IN_PROGRESS: + return 'Running'; + case TaskStatus.COMPLETED: + return 'Completed'; + case TaskStatus.FAILED: + return 'Failed'; + case TaskStatus.CANCELLED: + return 'Cancelled'; + default: + return 'Unknown'; + } + } +} diff --git a/booklore-ui/src/app/core/component/unified-notification-popover-component/unified-notification-popover-component.html b/booklore-ui/src/app/core/component/unified-notification-popover-component/unified-notification-popover-component.html index 36547be20..1d1c30865 100644 --- a/booklore-ui/src/app/core/component/unified-notification-popover-component/unified-notification-popover-component.html +++ b/booklore-ui/src/app/core/component/unified-notification-popover-component/unified-notification-popover-component.html @@ -1,5 +1,8 @@ - diff --git a/booklore-ui/src/app/settings/global-preferences/global-preferences.component.ts b/booklore-ui/src/app/settings/global-preferences/global-preferences.component.ts index 670ee91ef..7e100a35f 100644 --- a/booklore-ui/src/app/settings/global-preferences/global-preferences.component.ts +++ b/booklore-ui/src/app/settings/global-preferences/global-preferences.component.ts @@ -14,7 +14,6 @@ import {AppSettingsService} from '../../core/service/app-settings.service'; import {BookService} from '../../book/service/book.service'; import {AppSettingKey, AppSettings} from '../../core/model/app-settings.model'; import {filter, take} from 'rxjs/operators'; -import {FileUploadPatternComponent} from './file-upload-pattern/file-upload-pattern.component'; import {InputText} from 'primeng/inputtext'; @Component({ @@ -28,7 +27,6 @@ import {InputText} from 'primeng/inputtext'; Tooltip, ToggleSwitch, FormsModule, - FileUploadPatternComponent, InputText ], templateUrl: './global-preferences.component.html', diff --git a/booklore-ui/src/app/settings/settings.component.html b/booklore-ui/src/app/settings/settings.component.html index c552f7567..bbe137430 100644 --- a/booklore-ui/src/app/settings/settings.component.html +++ b/booklore-ui/src/app/settings/settings.component.html @@ -22,6 +22,9 @@ Email + + Patterns + Authentication @@ -55,6 +58,9 @@ + + + diff --git a/booklore-ui/src/app/settings/settings.component.ts b/booklore-ui/src/app/settings/settings.component.ts index 821e06621..491d0a4e2 100644 --- a/booklore-ui/src/app/settings/settings.component.ts +++ b/booklore-ui/src/app/settings/settings.component.ts @@ -13,17 +13,19 @@ import {ReaderPreferences} from './reader-preferences/reader-preferences.compone import {MetadataSettingsComponent} from './metadata-settings-component/metadata-settings-component'; import {OpdsSettingsComponent} from './global-preferences/opds-settings/opds-settings.component'; import {DeviceSettingsComponent} from './device-settings-component/device-settings-component'; +import {FileNamingPatternComponent} from './file-naming-pattern/file-naming-pattern.component'; export enum SettingsTab { - ReaderSettings = 'reader-settings', - ViewPreferences = 'view-settings', - DeviceSettings = 'device-settings', - UserManagement = 'user-management', - EmailSettings = 'email-settings', - MetadataSettings = 'metadata-settings', - ApplicationSettings = 'app-settings', - AuthenticationSettings = 'auth-settings', - Opds = 'opds-settings' + ReaderSettings = 'reader', + ViewPreferences = 'view', + DeviceSettings = 'device', + UserManagement = 'user', + EmailSettings = 'email', + NamingPattern = 'naming-pattern', + MetadataSettings = 'metadata', + ApplicationSettings = 'application', + AuthenticationSettings = 'authentication', + Opds = 'opds' } @Component({ @@ -43,7 +45,8 @@ export enum SettingsTab { ReaderPreferences, MetadataSettingsComponent, OpdsSettingsComponent, - DeviceSettingsComponent + DeviceSettingsComponent, + FileNamingPatternComponent ], templateUrl: './settings.component.html', styleUrl: './settings.component.scss' diff --git a/booklore-ui/src/app/settings/user-management/user.service.ts b/booklore-ui/src/app/settings/user-management/user.service.ts index f56dadf83..fcc5dfc91 100644 --- a/booklore-ui/src/app/settings/user-management/user.service.ts +++ b/booklore-ui/src/app/settings/user-management/user.service.ts @@ -6,6 +6,8 @@ import {RxStompService} from '../../shared/websocket/rx-stomp.service'; import {Library} from '../../book/model/library.model'; import {catchError} from 'rxjs/operators'; import {CbxPageSpread, CbxPageViewMode, PdfPageSpread, PdfPageViewMode} from '../../book/model/book.model'; +import {filter, take} from 'rxjs/operators'; +import {AuthService} from '../../core/service/auth.service'; export interface EntityViewPreferences { global: EntityViewPreference; @@ -119,18 +121,12 @@ export class UserService { private readonly userUrl = `${API_CONFIG.BASE_URL}/api/v1/users`; private http = inject(HttpClient); - private injector = inject(Injector); - - private rxStompService?: RxStompService; private userStateSubject = new BehaviorSubject(null); userState$ = this.userStateSubject.asObservable(); - constructor() { - this.getMyself().subscribe(user => { - this.userStateSubject.next(user); - this.startWebSocket(); - }); + public setInitialUser(user: User): void { + this.userStateSubject.next(user); } getCurrentUser(): User | null { @@ -200,29 +196,4 @@ export class UserService { } }); } - - - updateUserSettingV2(userId: number, key: string, value: any): Observable { - const payload = { key, value }; - return this.http.put(`${this.userUrl}/${userId}/settings`, payload); - } - - private startWebSocket(): void { - const token = this.getToken(); - if (token) { - const rxStompService = this.getRxStompService(); - rxStompService.activate(); - } - } - - private getRxStompService(): RxStompService { - if (!this.rxStompService) { - this.rxStompService = this.injector.get(RxStompService); - } - return this.rxStompService; - } - - getToken(): string | null { - return localStorage.getItem('accessToken'); - } } diff --git a/booklore-ui/src/app/shared/services/task.service.ts b/booklore-ui/src/app/shared/services/task.service.ts new file mode 100644 index 000000000..eb91daeb8 --- /dev/null +++ b/booklore-ui/src/app/shared/services/task.service.ts @@ -0,0 +1,17 @@ +import {Injectable, inject} from '@angular/core'; +import {HttpClient} from '@angular/common/http'; +import {Observable} from 'rxjs'; +import {API_CONFIG} from '../../config/api-config'; + +@Injectable({ + providedIn: 'root' +}) +export class TaskService { + private http = inject(HttpClient); + + private readonly url = `${API_CONFIG.BASE_URL}/api/v1/tasks`; + + cancelTask(taskId: string): Observable<{ message: string }> { + return this.http.delete<{ message: string }>(`${this.url}/${taskId}`); + } +} diff --git a/booklore-ui/src/app/shared/websocket/model/log-notification.model.ts b/booklore-ui/src/app/shared/websocket/model/log-notification.model.ts index 69cde426e..d85506e74 100644 --- a/booklore-ui/src/app/shared/websocket/model/log-notification.model.ts +++ b/booklore-ui/src/app/shared/websocket/model/log-notification.model.ts @@ -1,3 +1,10 @@ +export enum TaskStatus { + IN_PROGRESS = 'IN_PROGRESS', + CANCELLED = 'CANCELLED', + COMPLETED = 'COMPLETED', + FAILED = 'FAILED' +} + export interface LogNotification { timestamp?: string; message: string; @@ -5,10 +12,25 @@ export interface LogNotification { export function parseLogNotification(messageBody: string): LogNotification { const raw = JSON.parse(messageBody); - const localTime = new Date(raw.timestamp).toLocaleTimeString(); - return { - timestamp: localTime, + timestamp: raw.timestamp ? new Date(raw.timestamp).toLocaleTimeString() : undefined, message: raw.message, }; } + +export interface TaskMessage { + taskId: string; + timestamp: string; + title?: string; + message: string; + cancellable: boolean; + status: TaskStatus; +} + +export function parseTaskMessage(messageBody: string): TaskMessage { + const raw = JSON.parse(messageBody) as TaskMessage; + return { + ...raw, + timestamp: new Date(raw.timestamp).toLocaleTimeString() + }; +} diff --git a/booklore-ui/src/app/shared/websocket/task-event.service.ts b/booklore-ui/src/app/shared/websocket/task-event.service.ts new file mode 100644 index 000000000..63786ea8d --- /dev/null +++ b/booklore-ui/src/app/shared/websocket/task-event.service.ts @@ -0,0 +1,42 @@ +import { Injectable } from '@angular/core'; +import { BehaviorSubject, Observable } from 'rxjs'; +import { map } from 'rxjs/operators'; +import { TaskMessage } from './model/log-notification.model'; + +@Injectable({ + providedIn: 'root' +}) +export class TaskEventService { + private tasksSubject = new BehaviorSubject>(new Map()); + + tasks$: Observable = this.tasksSubject.asObservable().pipe( + map(taskMap => Array.from(taskMap.values())) + ); + + handleTaskMessage(taskMessage: TaskMessage): void { + const currentTasks = new Map(this.tasksSubject.value); + currentTasks.set(taskMessage.taskId, taskMessage); + this.tasksSubject.next(currentTasks); + } + + removeTask(taskId: string): void { + const currentTasks = new Map(this.tasksSubject.value); + currentTasks.delete(taskId); + this.tasksSubject.next(currentTasks); + } + + getTask(taskId: string): TaskMessage | undefined { + return this.tasksSubject.value.get(taskId); + } + + getTaskById$(taskId: string): Observable { + return this.tasksSubject.asObservable().pipe( + map(taskMap => taskMap.get(taskId)) + ); + } + + clearAllTasks(): void { + this.tasksSubject.next(new Map()); + } +} + diff --git a/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.html b/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.html index d9719f68a..351aeb3ac 100644 --- a/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.html +++ b/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.html @@ -1,26 +1,38 @@ @if ((libraryState$ | async)?.libraries; as libraries) {
- - + class="flex flex-col gap-8 p-4 items-center justify-center w-full max-w-[700px]"> +
+ + + +
+ @if (value === 'library') { + + + } + [disabled]="value === 'library' ? (!selectedLibrary || !selectedPath) : false">
diff --git a/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.ts b/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.ts index b3710b2d1..ab9433880 100644 --- a/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.ts +++ b/booklore-ui/src/app/utilities/component/book-uploader/book-uploader.component.ts @@ -1,7 +1,7 @@ import {Component, inject, OnInit} from '@angular/core'; import {FileSelectEvent, FileUpload, FileUploadHandlerEvent} from 'primeng/fileupload'; import {Button} from 'primeng/button'; -import { AsyncPipe } from '@angular/common'; +import {AsyncPipe} from '@angular/common'; import {FormsModule} from '@angular/forms'; import {MessageService} from 'primeng/api'; import {Select} from 'primeng/select'; @@ -17,6 +17,7 @@ import {Tooltip} from 'primeng/tooltip'; import {AppSettingsService} from '../../../core/service/app-settings.service'; import {filter, take} from 'rxjs/operators'; import {AppSettings} from '../../../core/model/app-settings.model'; +import {SelectButton} from 'primeng/selectbutton'; interface UploadingFile { file: File; @@ -34,8 +35,9 @@ interface UploadingFile { FormsModule, Select, Badge, - Tooltip -], + Tooltip, + SelectButton + ], templateUrl: './book-uploader.component.html', styleUrl: './book-uploader.component.scss' }) @@ -53,6 +55,11 @@ export class BookUploaderComponent implements OnInit { readonly libraryState$: Observable = this.libraryService.libraryState$; appSettings$: Observable = this.appSettingsService.appSettings$; maxFileSizeBytes?: number; + stateOptions = [ + {label: 'Library', value: 'library'}, + {label: 'Bookdrop', value: 'bookdrop'} + ]; + value = 'library'; ngOnInit(): void { this.appSettings$ @@ -101,7 +108,7 @@ export class BookUploaderComponent implements OnInit { } uploadFiles(event: FileUploadHandlerEvent): void { - if (!this.selectedLibrary || !this.selectedPath) { + if (this.value === 'library' && (!this.selectedLibrary || !this.selectedPath)) { this.messageService.add({ severity: 'warn', summary: 'Missing Data', @@ -111,34 +118,52 @@ export class BookUploaderComponent implements OnInit { return; } - const libraryId = this.selectedLibrary.id!.toString(); - const pathId = this.selectedPath.id!.toString(); const filesToUpload = this.files.filter(f => f.status === 'Pending'); - if (filesToUpload.length === 0) return; this.isUploading = true; - let pending = filesToUpload.length; + this.uploadBatch(filesToUpload, 0, 5); + } - for (const uploadFile of filesToUpload) { + private uploadBatch(files: UploadingFile[], startIndex: number, batchSize: number): void { + const batch = files.slice(startIndex, startIndex + batchSize); + if (batch.length === 0) { + this.isUploading = false; + return; + } + + let pending = batch.length; + + for (const uploadFile of batch) { uploadFile.status = 'Uploading'; const formData = new FormData(); formData.append('file', uploadFile.file); - formData.append('libraryId', libraryId); - formData.append('pathId', pathId); - this.http.post(`${API_CONFIG.BASE_URL}/api/v1/files/upload`, formData).subscribe({ + let uploadUrl: string; + if (this.value === 'library') { + const libraryId = this.selectedLibrary!.id!.toString(); + const pathId = this.selectedPath!.id!.toString(); + formData.append('libraryId', libraryId); + formData.append('pathId', pathId); + uploadUrl = `${API_CONFIG.BASE_URL}/api/v1/files/upload`; + } else { + uploadUrl = `${API_CONFIG.BASE_URL}/api/v1/files/upload/bookdrop`; + } + + this.http.post(uploadUrl, formData).subscribe({ next: () => { uploadFile.status = 'Uploaded'; - if (--pending === 0) this.isUploading = false; + if (--pending === 0) { + this.uploadBatch(files, startIndex + batchSize, batchSize); + } }, error: (err) => { uploadFile.status = 'Failed'; uploadFile.errorMessage = err?.error?.message || 'Upload failed due to unknown error.'; console.error('Upload failed for', uploadFile.file.name, err); if (--pending === 0) { - this.isUploading = false; + this.uploadBatch(files, startIndex + batchSize, batchSize); } } }); @@ -146,11 +171,14 @@ export class BookUploaderComponent implements OnInit { } isChooseDisabled(): boolean { + if (this.value === 'bookdrop') { + return this.isUploading; + } return !this.selectedLibrary || !this.selectedPath || this.isUploading; } isUploadDisabled(): boolean { - return this.isChooseDisabled() || !this.filesPresent() || !this.hasPendingFiles; + return this.isChooseDisabled() || !this.filesPresent() || !this.hasPendingFiles(); } formatSize(bytes: number): string { diff --git a/booklore-ui/src/app/utilities/component/file-mover-component/file-mover-component.html b/booklore-ui/src/app/utilities/component/file-mover-component/file-mover-component.html index ec83f41e5..26fab43b1 100644 --- a/booklore-ui/src/app/utilities/component/file-mover-component/file-mover-component.html +++ b/booklore-ui/src/app/utilities/component/file-mover-component/file-mover-component.html @@ -11,7 +11,7 @@ {{ '{authors}' }} to automatically insert metadata.
A preview below shows how files will be renamed and moved. - Once you're satisfied, click Apply to proceed. + Once you're satisfied, click Move Files to proceed. Files will be physically moved on your system when you apply changes. @@ -57,7 +57,7 @@ }
-
+
-
+
@if (movedFileCount > 0) { {{ movedFileCount }} file{{ movedFileCount > 1 ? 's' : '' }} successfully moved diff --git a/booklore-ui/src/app/utilities/component/github-support-dialog/github-support-dialog.html b/booklore-ui/src/app/utilities/component/github-support-dialog/github-support-dialog.html index bf8954f7e..93e2bfff4 100644 --- a/booklore-ui/src/app/utilities/component/github-support-dialog/github-support-dialog.html +++ b/booklore-ui/src/app/utilities/component/github-support-dialog/github-support-dialog.html @@ -1,14 +1,61 @@ -

- I hope Booklore has made managing your book collection easier and more enjoyable. - If you appreciate the project, please consider giving it a ⭐ on GitHub. Your support truly means a lot and motivates me to keep improving. -

-

- — Aditya (Creator of BookLore) -

-
- - +
+
+ + Open Source & Community Driven + +

+ Booklore +

+

+ Booklore is designed to help you manage your book collection with ease and enjoyment.
+ If you find Booklore valuable, please consider supporting its continued development. +

+
+
+

+ Your feedback and support help me keep Booklore improving for everyone.
+ - Aditya (Creator of Booklore) +

+
+ +
+ Booklore will always remain free for everyone. That is my commitment to you. +
+

+ Open Collective contributions directly support development, infrastructure, and ongoing improvements. +

+

+ Venmo is a wonderful way to show personal appreciation, think of it as buying me a coffee for my hard work. +

+

+ Every contribution, no matter the size, helps keep Booklore open, growing, and accessible to all. +

+
+
diff --git a/booklore-ui/src/main.ts b/booklore-ui/src/main.ts index a356efb92..6575e2f3b 100644 --- a/booklore-ui/src/main.ts +++ b/booklore-ui/src/main.ts @@ -16,6 +16,7 @@ import {AuthService, websocketInitializer} from './app/core/service/auth.service import {provideOAuthClient} from 'angular-oauth2-oidc'; import {APP_INITIALIZER, provideAppInitializer} from '@angular/core'; import {initializeAuthFactory} from './app/auth-initializer'; +import {StartupService} from './app/core/service/startup.service'; bootstrapApplication(AppComponent, { providers: [ @@ -25,6 +26,12 @@ bootstrapApplication(AppComponent, { deps: [AuthService], multi: true }, + { + provide: APP_INITIALIZER, + useFactory: (startup: StartupService) => () => startup.load(), + deps: [StartupService], + multi: true + }, provideHttpClient(withInterceptors([AuthInterceptorService])), provideOAuthClient(), provideAppInitializer(initializeAuthFactory()), diff --git a/example-docker/.env b/example-docker/.env index 0531cebff..bf86478fa 100644 --- a/example-docker/.env +++ b/example-docker/.env @@ -5,6 +5,7 @@ BOOKLORE_IMAGE_TAG=latest # User and Timezone Settings # PUID and PGID define the user/group running the container. +# Avoid using "user" property because system won't work with it. # TZ sets the timezone for correct time-related operations. PUID=1000 # Default user ID (Check with `id -u` on Linux/Mac) PGID=1000 # Default group ID (Check with `id -g` on Linux/Mac)