pigallery2-extension-kit 2.0.1-edge
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/index.js +6 -0
- package/index.js.map +1 -0
- package/index.ts +2 -0
- package/lib/extension/index.d.ts +1 -0
- package/lib/src/backend/Logger.d.ts +20 -0
- package/lib/src/backend/ProjectPath.d.ts +16 -0
- package/lib/src/backend/exceptions/LocationLookupException.d.ts +4 -0
- package/lib/src/backend/index.d.ts +1 -0
- package/lib/src/backend/middlewares/AlbumMWs.d.ts +6 -0
- package/lib/src/backend/middlewares/GalleryMWs.d.ts +11 -0
- package/lib/src/backend/middlewares/MetaFileMWs.d.ts +4 -0
- package/lib/src/backend/middlewares/NotificationMWs.d.ts +4 -0
- package/lib/src/backend/middlewares/PersonMWs.d.ts +7 -0
- package/lib/src/backend/middlewares/RenderingMWs.d.ts +12 -0
- package/lib/src/backend/middlewares/ServerTimingMWs.d.ts +16 -0
- package/lib/src/backend/middlewares/SharingMWs.d.ts +10 -0
- package/lib/src/backend/middlewares/VersionMWs.d.ts +7 -0
- package/lib/src/backend/middlewares/admin/AdminMWs.d.ts +10 -0
- package/lib/src/backend/middlewares/admin/SettingsMWs.d.ts +10 -0
- package/lib/src/backend/middlewares/thumbnail/PhotoConverterMWs.d.ts +4 -0
- package/lib/src/backend/middlewares/thumbnail/ThumbnailGeneratorMWs.d.ts +13 -0
- package/lib/src/backend/middlewares/user/AuthenticationMWs.d.ts +14 -0
- package/lib/src/backend/middlewares/user/UserMWs.d.ts +7 -0
- package/lib/src/backend/middlewares/user/UserRequestConstrainsMWs.d.ts +6 -0
- package/lib/src/backend/model/EventLoopHandler.d.ts +6 -0
- package/lib/src/backend/model/FFmpegFactory.d.ts +4 -0
- package/lib/src/backend/model/Localizations.d.ts +3 -0
- package/lib/src/backend/model/NotifocationManager.d.ts +8 -0
- package/lib/src/backend/model/ObjectManagers.d.ts +61 -0
- package/lib/src/backend/model/PasswordHelper.d.ts +4 -0
- package/lib/src/backend/model/database/AlbumManager.d.ts +18 -0
- package/lib/src/backend/model/database/CoverManager.d.ts +31 -0
- package/lib/src/backend/model/database/GalleryManager.d.ts +30 -0
- package/lib/src/backend/model/database/IObjectManager.d.ts +6 -0
- package/lib/src/backend/model/database/IndexingManager.d.ts +32 -0
- package/lib/src/backend/model/database/LocationManager.d.ts +12 -0
- package/lib/src/backend/model/database/PersonManager.d.ts +31 -0
- package/lib/src/backend/model/database/SQLConnection.d.ts +22 -0
- package/lib/src/backend/model/database/SearchManager.d.ts +41 -0
- package/lib/src/backend/model/database/SharingManager.d.ts +11 -0
- package/lib/src/backend/model/database/UserManager.d.ts +10 -0
- package/lib/src/backend/model/database/VersionManager.d.ts +7 -0
- package/lib/src/backend/model/database/enitites/DirectoryEntity.d.ts +27 -0
- package/lib/src/backend/model/database/enitites/EntityUtils.d.ts +7 -0
- package/lib/src/backend/model/database/enitites/FileEntity.d.ts +7 -0
- package/lib/src/backend/model/database/enitites/MDFileEntity.d.ts +5 -0
- package/lib/src/backend/model/database/enitites/MediaEntity.d.ts +61 -0
- package/lib/src/backend/model/database/enitites/PersonEntry.d.ts +11 -0
- package/lib/src/backend/model/database/enitites/PersonJunctionTable.d.ts +10 -0
- package/lib/src/backend/model/database/enitites/PhotoEntity.d.ts +7 -0
- package/lib/src/backend/model/database/enitites/SharingEntity.d.ts +12 -0
- package/lib/src/backend/model/database/enitites/UserEntity.d.ts +8 -0
- package/lib/src/backend/model/database/enitites/VersionEntity.d.ts +4 -0
- package/lib/src/backend/model/database/enitites/VideoEntity.d.ts +10 -0
- package/lib/src/backend/model/database/enitites/album/AlbumBaseEntity.d.ts +12 -0
- package/lib/src/backend/model/database/enitites/album/SavedSearchEntity.d.ts +6 -0
- package/lib/src/backend/model/diagnostics/ConfigDiagnostics.d.ts +23 -0
- package/lib/src/backend/model/extension/ExpressRouterWrapper.d.ts +27 -0
- package/lib/src/backend/model/extension/ExtensionApp.d.ts +8 -0
- package/lib/src/backend/model/extension/ExtensionConfigWrapper.d.ts +17 -0
- package/lib/src/backend/model/extension/ExtensionDB.d.ts +10 -0
- package/lib/src/backend/model/extension/ExtensionDecorator.d.ts +6 -0
- package/lib/src/backend/model/extension/ExtensionEvent.d.ts +17 -0
- package/lib/src/backend/model/extension/ExtensionManager.d.ts +20 -0
- package/lib/src/backend/model/extension/ExtensionMessengerHandler.d.ts +13 -0
- package/lib/src/backend/model/extension/ExtensionObject.d.ts +21 -0
- package/lib/src/backend/model/extension/IExtension.d.ts +178 -0
- package/lib/src/backend/model/fileaccess/DiskManager.d.ts +28 -0
- package/lib/src/backend/model/fileaccess/MetadataLoader.d.ts +7 -0
- package/lib/src/backend/model/fileaccess/PhotoWorker.d.ts +38 -0
- package/lib/src/backend/model/fileaccess/TaskExecuter.d.ts +13 -0
- package/lib/src/backend/model/fileaccess/TaskQue.d.ts +18 -0
- package/lib/src/backend/model/fileaccess/VideoConverterWorker.d.ts +23 -0
- package/lib/src/backend/model/fileaccess/fileprocessing/GPXProcessing.d.ts +9 -0
- package/lib/src/backend/model/fileaccess/fileprocessing/PhotoProcessing.d.ts +23 -0
- package/lib/src/backend/model/fileaccess/fileprocessing/VideoProcessing.d.ts +9 -0
- package/lib/src/backend/model/jobs/JobManager.d.ts +37 -0
- package/lib/src/backend/model/jobs/JobProgressManager.d.ts +15 -0
- package/lib/src/backend/model/jobs/JobRepository.d.ts +10 -0
- package/lib/src/backend/model/jobs/jobs/AlbumCoverFillingJob.d.ts +18 -0
- package/lib/src/backend/model/jobs/jobs/AlbumCoverResetJob.d.ts +10 -0
- package/lib/src/backend/model/jobs/jobs/AlbumResetJob.d.ts +10 -0
- package/lib/src/backend/model/jobs/jobs/FileJob.d.ts +32 -0
- package/lib/src/backend/model/jobs/jobs/GPXCompressionJob.d.ts +10 -0
- package/lib/src/backend/model/jobs/jobs/GPXCompressionResetJob.d.ts +8 -0
- package/lib/src/backend/model/jobs/jobs/GalleryResetJob.d.ts +10 -0
- package/lib/src/backend/model/jobs/jobs/IJob.d.ts +14 -0
- package/lib/src/backend/model/jobs/jobs/IJobListener.d.ts +7 -0
- package/lib/src/backend/model/jobs/jobs/IndexingJob.d.ts +14 -0
- package/lib/src/backend/model/jobs/jobs/Job.d.ts +31 -0
- package/lib/src/backend/model/jobs/jobs/JobProgress.d.ts +26 -0
- package/lib/src/backend/model/jobs/jobs/PhotoConvertingJob.d.ts +8 -0
- package/lib/src/backend/model/jobs/jobs/TempFolderCleaningJob.d.ts +16 -0
- package/lib/src/backend/model/jobs/jobs/ThumbnailGenerationJob.d.ts +18 -0
- package/lib/src/backend/model/jobs/jobs/TopPickSendJob.d.ts +21 -0
- package/lib/src/backend/model/jobs/jobs/VideoConvertingJob.d.ts +8 -0
- package/lib/src/backend/model/messenger/EmailMessenger.d.ts +18 -0
- package/lib/src/backend/model/messenger/ExtensionMessenger.d.ts +11 -0
- package/lib/src/backend/model/messenger/Messenger.d.ts +14 -0
- package/lib/src/backend/model/messenger/MessengerRepository.d.ts +12 -0
- package/lib/src/backend/model/messenger/StdoutMessenger.d.ts +8 -0
- package/lib/src/backend/routes/AlbumRouter.d.ts +7 -0
- package/lib/src/backend/routes/ErrorRouter.d.ts +6 -0
- package/lib/src/backend/routes/GalleryRouter.d.ts +19 -0
- package/lib/src/backend/routes/LoggerRouter.d.ts +17 -0
- package/lib/src/backend/routes/NotificationRouter.d.ts +5 -0
- package/lib/src/backend/routes/PersonRouter.d.ts +7 -0
- package/lib/src/backend/routes/PublicRouter.d.ts +20 -0
- package/lib/src/backend/routes/Router.d.ts +4 -0
- package/lib/src/backend/routes/SharingRouter.d.ts +11 -0
- package/lib/src/backend/routes/UserRouter.d.ts +11 -0
- package/lib/src/backend/routes/admin/AdminRouter.d.ts +8 -0
- package/lib/src/backend/routes/admin/SettingsRouter.d.ts +5 -0
- package/lib/src/backend/server.d.ts +26 -0
- package/lib/src/common/BackendTexts.d.ts +35 -0
- package/lib/src/common/CookieNames.d.ts +6 -0
- package/lib/src/common/CustomHeaders.d.ts +3 -0
- package/lib/src/common/DataStructureVersion.d.ts +4 -0
- package/lib/src/common/PG2ConfMap.d.ts +20 -0
- package/lib/src/common/QueryParams.d.ts +23 -0
- package/lib/src/common/SearchQueryParser.d.ts +47 -0
- package/lib/src/common/SupportedFormats.d.ts +18 -0
- package/lib/src/common/Utils.d.ts +48 -0
- package/lib/src/common/config/private/Config.d.ts +6 -0
- package/lib/src/common/config/private/MessagingConfig.d.ts +15 -0
- package/lib/src/common/config/private/PrivateConfig.d.ts +203 -0
- package/lib/src/common/config/private/WebConfig.d.ts +5 -0
- package/lib/src/common/config/public/ClientConfig.d.ts +275 -0
- package/lib/src/common/config/public/Config.d.ts +8 -0
- package/lib/src/common/entities/AutoCompleteItem.d.ts +11 -0
- package/lib/src/common/entities/ConentWrapper.d.ts +18 -0
- package/lib/src/common/entities/DirectoryDTO.d.ts +55 -0
- package/lib/src/common/entities/DuplicatesDTO.d.ts +4 -0
- package/lib/src/common/entities/DynamicConfig.d.ts +19 -0
- package/lib/src/common/entities/Error.d.ts +34 -0
- package/lib/src/common/entities/FileDTO.d.ts +6 -0
- package/lib/src/common/entities/GridSizes.d.ts +7 -0
- package/lib/src/common/entities/LoginCredential.d.ts +6 -0
- package/lib/src/common/entities/MDFileDTO.d.ts +8 -0
- package/lib/src/common/entities/MediaDTO.d.ts +27 -0
- package/lib/src/common/entities/MediaPickDTO.d.ts +7 -0
- package/lib/src/common/entities/Message.d.ts +6 -0
- package/lib/src/common/entities/NotificationDTO.d.ts +15 -0
- package/lib/src/common/entities/PasswordChangeRequest.d.ts +6 -0
- package/lib/src/common/entities/PersonDTO.d.ts +7 -0
- package/lib/src/common/entities/PhotoDTO.d.ts +53 -0
- package/lib/src/common/entities/SearchQueryDTO.d.ts +130 -0
- package/lib/src/common/entities/SearchResultDTO.d.ts +11 -0
- package/lib/src/common/entities/SharingDTO.d.ts +17 -0
- package/lib/src/common/entities/SortingMethods.d.ts +56 -0
- package/lib/src/common/entities/UserDTO.d.ts +21 -0
- package/lib/src/common/entities/UserModificationRequest.d.ts +4 -0
- package/lib/src/common/entities/VideoDTO.d.ts +17 -0
- package/lib/src/common/entities/album/AlbumBaseDTO.d.ts +8 -0
- package/lib/src/common/entities/album/SavedSearchDTO.d.ts +11 -0
- package/lib/src/common/entities/job/JobDTO.d.ts +26 -0
- package/lib/src/common/entities/job/JobProgressDTO.d.ts +31 -0
- package/lib/src/common/entities/job/JobScheduleDTO.d.ts +38 -0
- package/lib/src/common/entities/settings/IndexingDTO.d.ts +3 -0
- package/lib/src/common/entities/settings/StatisticDTO.d.ts +7 -0
- package/lib/src/common/event/Event.d.ts +11 -0
- package/lib/src/common/event/Event2Args.d.ts +7 -0
- package/lib/src/common/event/EventLimit.d.ts +9 -0
- package/lib/src/frontend/app/app.component.d.ts +18 -0
- package/lib/src/frontend/app/app.module.d.ts +23 -0
- package/lib/src/frontend/app/app.routing.d.ts +4 -0
- package/lib/src/frontend/app/icon.component.d.ts +7 -0
- package/lib/src/frontend/app/model/IRenderable.d.ts +17 -0
- package/lib/src/frontend/app/model/backendtext.service.d.ts +7 -0
- package/lib/src/frontend/app/model/backendtext.service.spec.d.ts +1 -0
- package/lib/src/frontend/app/model/navigation.service.d.ts +12 -0
- package/lib/src/frontend/app/model/network/autehentication.service.spec.d.ts +1 -0
- package/lib/src/frontend/app/model/network/authentication.service.d.ts +22 -0
- package/lib/src/frontend/app/model/network/helper/auth.guard.d.ts +9 -0
- package/lib/src/frontend/app/model/network/helper/csrf.interceptor.d.ts +8 -0
- package/lib/src/frontend/app/model/network/helper/error.interceptor.d.ts +8 -0
- package/lib/src/frontend/app/model/network/network.service.d.ts +26 -0
- package/lib/src/frontend/app/model/network/network.service.spec.d.ts +1 -0
- package/lib/src/frontend/app/model/network/user.service.d.ts +13 -0
- package/lib/src/frontend/app/model/network/user.service.spec.d.ts +1 -0
- package/lib/src/frontend/app/model/notification.service.d.ts +28 -0
- package/lib/src/frontend/app/model/page.helper.d.ts +12 -0
- package/lib/src/frontend/app/model/pi-title.service.d.ts +15 -0
- package/lib/src/frontend/app/model/query.service.d.ts +16 -0
- package/lib/src/frontend/app/model/seededRandom.service.d.ts +7 -0
- package/lib/src/frontend/app/model/theme.service.d.ts +16 -0
- package/lib/src/frontend/app/model/version.service.d.ts +6 -0
- package/lib/src/frontend/app/pipes/DurationPipe.d.ts +4 -0
- package/lib/src/frontend/app/pipes/FileDTOToPathPipe.d.ts +5 -0
- package/lib/src/frontend/app/pipes/FileDTOToRelativePathPipe.d.ts +5 -0
- package/lib/src/frontend/app/pipes/FileSizePipe.d.ts +4 -0
- package/lib/src/frontend/app/pipes/GPXFilesFilterPipe.d.ts +5 -0
- package/lib/src/frontend/app/pipes/MDFilesFilterPipe.d.ts +6 -0
- package/lib/src/frontend/app/pipes/ParseIntPipe.d.ts +4 -0
- package/lib/src/frontend/app/pipes/PhotoFilterPipe.d.ts +6 -0
- package/lib/src/frontend/app/pipes/SafeHTMLPipe.d.ts +7 -0
- package/lib/src/frontend/app/pipes/StringifyEnum.d.ts +4 -0
- package/lib/src/frontend/app/pipes/StringifyGridSize.d.ts +5 -0
- package/lib/src/frontend/app/pipes/StringifyRolePipe.d.ts +4 -0
- package/lib/src/frontend/app/pipes/StringifySearchQuery.d.ts +8 -0
- package/lib/src/frontend/app/pipes/StringifySearchType.d.ts +5 -0
- package/lib/src/frontend/app/pipes/StringifySortingMethod.d.ts +4 -0
- package/lib/src/frontend/app/ui/EnumTranslations.d.ts +5 -0
- package/lib/src/frontend/app/ui/admin/admin.component.d.ts +36 -0
- package/lib/src/frontend/app/ui/albums/album/album.component.d.ts +26 -0
- package/lib/src/frontend/app/ui/albums/albums.component.d.ts +26 -0
- package/lib/src/frontend/app/ui/albums/albums.service.d.ts +12 -0
- package/lib/src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.d.ts +15 -0
- package/lib/src/frontend/app/ui/duplicates/duplicates.component.d.ts +36 -0
- package/lib/src/frontend/app/ui/duplicates/duplicates.service.d.ts +9 -0
- package/lib/src/frontend/app/ui/duplicates/photo/photo.duplicates.component.d.ts +11 -0
- package/lib/src/frontend/app/ui/faces/Person.d.ts +8 -0
- package/lib/src/frontend/app/ui/faces/face/face.component.d.ts +22 -0
- package/lib/src/frontend/app/ui/faces/faces.component.d.ts +18 -0
- package/lib/src/frontend/app/ui/faces/faces.service.d.ts +10 -0
- package/lib/src/frontend/app/ui/frame/frame.component.d.ts +54 -0
- package/lib/src/frontend/app/ui/gallery/Media.d.ts +16 -0
- package/lib/src/frontend/app/ui/gallery/MediaIcon.d.ts +18 -0
- package/lib/src/frontend/app/ui/gallery/blog/blog.gallery.component.d.ts +14 -0
- package/lib/src/frontend/app/ui/gallery/blog/blog.service.d.ts +23 -0
- package/lib/src/frontend/app/ui/gallery/cache.gallery.service.d.ts +54 -0
- package/lib/src/frontend/app/ui/gallery/content.service.d.ts +11 -0
- package/lib/src/frontend/app/ui/gallery/contentLoader.service.d.ts +35 -0
- package/lib/src/frontend/app/ui/gallery/directories/directories.component.d.ts +14 -0
- package/lib/src/frontend/app/ui/gallery/directories/directory/directory.gallery.component.d.ts +20 -0
- package/lib/src/frontend/app/ui/gallery/filter/filter.gallery.component.d.ts +32 -0
- package/lib/src/frontend/app/ui/gallery/filter/filter.service.d.ts +51 -0
- package/lib/src/frontend/app/ui/gallery/fullscreen.service.d.ts +7 -0
- package/lib/src/frontend/app/ui/gallery/gallery.component.d.ts +55 -0
- package/lib/src/frontend/app/ui/gallery/grid/GridMedia.d.ts +13 -0
- package/lib/src/frontend/app/ui/gallery/grid/GridRowBuilder.d.ts +16 -0
- package/lib/src/frontend/app/ui/gallery/grid/grid.gallery.component.d.ts +85 -0
- package/lib/src/frontend/app/ui/gallery/grid/grid.gallery.component.spec.d.ts +1 -0
- package/lib/src/frontend/app/ui/gallery/grid/photo/loading/loading.photo.grid.gallery.component.d.ts +4 -0
- package/lib/src/frontend/app/ui/gallery/grid/photo/photo.grid.gallery.component.d.ts +37 -0
- package/lib/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.d.ts +102 -0
- package/lib/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.d.ts +48 -0
- package/lib/src/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.d.ts +88 -0
- package/lib/src/frontend/app/ui/gallery/lightbox/lightbox.service.d.ts +5 -0
- package/lib/src/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.d.ts +63 -0
- package/lib/src/frontend/app/ui/gallery/map/MarkerFactory.d.ts +12 -0
- package/lib/src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.d.ts +71 -0
- package/lib/src/frontend/app/ui/gallery/map/map.gallery.component.d.ts +32 -0
- package/lib/src/frontend/app/ui/gallery/map/map.service.d.ts +20 -0
- package/lib/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.d.ts +79 -0
- package/lib/src/frontend/app/ui/gallery/navigator/navigator.service.d.ts +13 -0
- package/lib/src/frontend/app/ui/gallery/navigator/sorting.service.d.ts +38 -0
- package/lib/src/frontend/app/ui/gallery/overlay.service.d.ts +9 -0
- package/lib/src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.d.ts +30 -0
- package/lib/src/frontend/app/ui/gallery/search/AutoCompleteRenderItem.d.ts +11 -0
- package/lib/src/frontend/app/ui/gallery/search/autocomplete.service.d.ts +33 -0
- package/lib/src/frontend/app/ui/gallery/search/query-builder/query-bulder.gallery.component.d.ts +22 -0
- package/lib/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.d.ts +40 -0
- package/lib/src/frontend/app/ui/gallery/search/search-field/search-field.gallery.component.d.ts +31 -0
- package/lib/src/frontend/app/ui/gallery/search/search-field-base/search-field-base.gallery.component.d.ts +57 -0
- package/lib/src/frontend/app/ui/gallery/search/search-query-parser.service.d.ts +9 -0
- package/lib/src/frontend/app/ui/gallery/search/search.gallery.component.d.ts +39 -0
- package/lib/src/frontend/app/ui/gallery/share/share.gallery.component.d.ts +63 -0
- package/lib/src/frontend/app/ui/gallery/share.service.d.ts +30 -0
- package/lib/src/frontend/app/ui/gallery/thumbnailLoader.service.d.ts +41 -0
- package/lib/src/frontend/app/ui/gallery/thumbnailManager.service.d.ts +46 -0
- package/lib/src/frontend/app/ui/language/language.component.d.ts +10 -0
- package/lib/src/frontend/app/ui/login/login.component.d.ts +15 -0
- package/lib/src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.d.ts +5 -0
- package/lib/src/frontend/app/ui/settings/scheduled-jobs.service.d.ts +40 -0
- package/lib/src/frontend/app/ui/settings/settings.service.d.ts +27 -0
- package/lib/src/frontend/app/ui/settings/sharings-list/sharings-list.component.d.ts +14 -0
- package/lib/src/frontend/app/ui/settings/template/CustomSettingsEntries.d.ts +34 -0
- package/lib/src/frontend/app/ui/settings/template/ISettingsComponent.d.ts +13 -0
- package/lib/src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.d.ts +118 -0
- package/lib/src/frontend/app/ui/settings/template/settings-entry/sorting-method/sorting-method.settings-entry.component.d.ts +25 -0
- package/lib/src/frontend/app/ui/settings/template/template.component.d.ts +86 -0
- package/lib/src/frontend/app/ui/settings/users/users.component.d.ts +34 -0
- package/lib/src/frontend/app/ui/settings/users/users.service.d.ts +10 -0
- package/lib/src/frontend/app/ui/settings/workflow/button/job-button.settings.component.d.ts +25 -0
- package/lib/src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.d.ts +25 -0
- package/lib/src/frontend/app/ui/settings/workflow/workflow.component.d.ts +68 -0
- package/lib/src/frontend/app/ui/sharelogin/share-login.component.d.ts +16 -0
- package/lib/src/frontend/app/ui/utils/grid-size-icon/grid-size-icon.component.d.ts +5 -0
- package/lib/src/frontend/app/ui/utils/sorting-method-icon/sorting-method-icon.component.d.ts +13 -0
- package/lib/src/frontend/app/ui/utils/timestamp-datepicker/datepicker.component.d.ts +10 -0
- package/lib/src/frontend/app/ui/utils/timestamp-timepicker/timepicker.component.d.ts +11 -0
- package/lib/src/frontend/environments/environment.d.ts +3 -0
- package/lib/src/frontend/environments/environment.prod.d.ts +3 -0
- package/lib/src/frontend/main.d.ts +1 -0
- package/lib/src/frontend/polyfills.d.ts +60 -0
- package/lib/src/frontend/test.d.ts +1 -0
- package/lib/test.d.ts +1 -0
- package/lib/test2.d.ts +1 -0
- package/package.json +8 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { AutoCompleteService } from '../autocomplete.service';
|
|
4
|
+
import { SearchQueryTypes } from '../../../../../../common/entities/SearchQueryDTO';
|
|
5
|
+
import { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
6
|
+
import { AutoCompleteRenderItem } from '../AutoCompleteRenderItem';
|
|
7
|
+
export declare class GallerySearchFieldBaseComponent implements ControlValueAccessor, Validator, OnDestroy {
|
|
8
|
+
private autoCompleteService;
|
|
9
|
+
router: Router;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
search: EventEmitter<void>;
|
|
12
|
+
searchField: ElementRef;
|
|
13
|
+
searchHintField: ElementRef;
|
|
14
|
+
autoCompleteRenders: AutoCompleteRenderItem[];
|
|
15
|
+
rawSearchText: string;
|
|
16
|
+
mouseOverAutoComplete: boolean;
|
|
17
|
+
readonly SearchQueryTypes: typeof SearchQueryTypes;
|
|
18
|
+
readonly MetadataSearchQueryTypes: {
|
|
19
|
+
value: string;
|
|
20
|
+
key: SearchQueryTypes;
|
|
21
|
+
}[];
|
|
22
|
+
highlightedAutoCompleteItem: number;
|
|
23
|
+
private cache;
|
|
24
|
+
private autoCompleteItemsSubscription;
|
|
25
|
+
private autoCompleteItems;
|
|
26
|
+
inFocus: boolean;
|
|
27
|
+
constructor(autoCompleteService: AutoCompleteService, router: Router);
|
|
28
|
+
get SearchHint(): string;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
getAutocompleteToken(): {
|
|
31
|
+
current: string;
|
|
32
|
+
prev: string;
|
|
33
|
+
};
|
|
34
|
+
onSearchChange(): void;
|
|
35
|
+
setMouseOverAutoComplete(value: boolean): void;
|
|
36
|
+
onFocus(): void;
|
|
37
|
+
onFocusLost(): void;
|
|
38
|
+
applyHint($event: Event): void;
|
|
39
|
+
applyAutoComplete(item: AutoCompleteRenderItem): void;
|
|
40
|
+
searchAutoComplete(item: AutoCompleteRenderItem): void;
|
|
41
|
+
setMouseOverAutoCompleteItem(i: number): void;
|
|
42
|
+
selectAutocompleteUp(): void;
|
|
43
|
+
selectAutocompleteDown(): void;
|
|
44
|
+
OnEnter(): boolean;
|
|
45
|
+
onTouched(): void;
|
|
46
|
+
writeValue(obj: string): void;
|
|
47
|
+
registerOnChange(fn: (_: unknown) => void): void;
|
|
48
|
+
registerOnTouched(fn: () => void): void;
|
|
49
|
+
onChange(): void;
|
|
50
|
+
validate(): ValidationErrors;
|
|
51
|
+
Scrolled(): void;
|
|
52
|
+
private emptyAutoComplete;
|
|
53
|
+
private autocomplete;
|
|
54
|
+
private showSuggestions;
|
|
55
|
+
private propagateChange;
|
|
56
|
+
private propagateTouch;
|
|
57
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QueryKeywords } from '../../../../../common/SearchQueryParser';
|
|
2
|
+
import { SearchQueryDTO } from '../../../../../common/entities/SearchQueryDTO';
|
|
3
|
+
export declare class SearchQueryParserService {
|
|
4
|
+
readonly keywords: QueryKeywords;
|
|
5
|
+
private readonly parser;
|
|
6
|
+
constructor();
|
|
7
|
+
parse(str: string): SearchQueryDTO;
|
|
8
|
+
stringify(query: SearchQueryDTO): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { SearchQueryDTO, SearchQueryTypes } from '../../../../../common/entities/SearchQueryDTO';
|
|
4
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
5
|
+
import { SearchQueryParserService } from './search-query-parser.service';
|
|
6
|
+
import { AlbumsService } from '../../albums/albums.service';
|
|
7
|
+
import { AuthenticationService } from '../../../model/network/authentication.service';
|
|
8
|
+
export declare class GallerySearchComponent implements OnDestroy {
|
|
9
|
+
private searchQueryParserService;
|
|
10
|
+
private albumService;
|
|
11
|
+
private route;
|
|
12
|
+
router: Router;
|
|
13
|
+
private modalService;
|
|
14
|
+
authenticationService: AuthenticationService;
|
|
15
|
+
searchQueryDTO: SearchQueryDTO;
|
|
16
|
+
rawSearchText: string;
|
|
17
|
+
mouseOverAutoComplete: boolean;
|
|
18
|
+
readonly SearchQueryTypes: typeof SearchQueryTypes;
|
|
19
|
+
readonly MetadataSearchQueryTypes: {
|
|
20
|
+
value: string;
|
|
21
|
+
key: SearchQueryTypes;
|
|
22
|
+
}[];
|
|
23
|
+
saveSearchName: string;
|
|
24
|
+
private searchModalRef;
|
|
25
|
+
private readonly subscription;
|
|
26
|
+
private saveSearchModalRef;
|
|
27
|
+
constructor(searchQueryParserService: SearchQueryParserService, albumService: AlbumsService, route: ActivatedRoute, router: Router, modalService: BsModalService, authenticationService: AuthenticationService);
|
|
28
|
+
get CanCreateAlbum(): boolean;
|
|
29
|
+
get HTMLSearchQuery(): string;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
openSearchModal(template: TemplateRef<unknown>): Promise<void>;
|
|
32
|
+
hideSearchModal(): void;
|
|
33
|
+
openSaveSearchModal(template: TemplateRef<unknown>): Promise<void>;
|
|
34
|
+
hideSaveSearchModal(): void;
|
|
35
|
+
onQueryChange(): void;
|
|
36
|
+
validateRawSearchText(): void;
|
|
37
|
+
Search(): void;
|
|
38
|
+
saveSearch(): Promise<void>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ShareService } from '../share.service';
|
|
3
|
+
import { SharingDTO } from '../../../../../common/entities/SharingDTO';
|
|
4
|
+
import { NotificationService } from '../../../model/notification.service';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import { AuthenticationService } from '../../../model/network/authentication.service';
|
|
9
|
+
import { ClipboardService } from 'ngx-clipboard';
|
|
10
|
+
import { ContentLoaderService } from '../contentLoader.service';
|
|
11
|
+
export declare class GalleryShareComponent implements OnInit, OnDestroy {
|
|
12
|
+
sharingService: ShareService;
|
|
13
|
+
galleryService: ContentLoaderService;
|
|
14
|
+
private notification;
|
|
15
|
+
private modalService;
|
|
16
|
+
authService: AuthenticationService;
|
|
17
|
+
private clipboardService;
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
dropDownItem: boolean;
|
|
20
|
+
url: string;
|
|
21
|
+
urlValid: boolean;
|
|
22
|
+
showSharingList: boolean;
|
|
23
|
+
input: {
|
|
24
|
+
includeSubfolders: boolean;
|
|
25
|
+
valid: {
|
|
26
|
+
amount: number;
|
|
27
|
+
type: ValidityTypes;
|
|
28
|
+
};
|
|
29
|
+
password: string;
|
|
30
|
+
};
|
|
31
|
+
currentDir: string;
|
|
32
|
+
sharing: SharingDTO;
|
|
33
|
+
contentSubscription: Subscription;
|
|
34
|
+
readonly passwordProtection: boolean;
|
|
35
|
+
readonly ValidityTypes: typeof ValidityTypes;
|
|
36
|
+
modalRef: BsModalRef;
|
|
37
|
+
invalidSettings: string;
|
|
38
|
+
activeShares: SharingDTO[];
|
|
39
|
+
text: {
|
|
40
|
+
Yes: string;
|
|
41
|
+
No: string;
|
|
42
|
+
};
|
|
43
|
+
constructor(sharingService: ShareService, galleryService: ContentLoaderService, notification: NotificationService, modalService: BsModalService, authService: AuthenticationService, clipboardService: ClipboardService);
|
|
44
|
+
get IsAdmin(): boolean;
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
deleteSharing(sharing: SharingDTO): Promise<void>;
|
|
48
|
+
private updateActiveSharesList;
|
|
49
|
+
calcValidity(): number;
|
|
50
|
+
update(): Promise<void>;
|
|
51
|
+
get(): Promise<void>;
|
|
52
|
+
openModal(template: TemplateRef<unknown>): Promise<void>;
|
|
53
|
+
onCopy(): void;
|
|
54
|
+
hideModal(): void;
|
|
55
|
+
share(): Promise<void>;
|
|
56
|
+
}
|
|
57
|
+
export declare enum ValidityTypes {
|
|
58
|
+
Minutes = 1,
|
|
59
|
+
Hours = 2,
|
|
60
|
+
Days = 3,
|
|
61
|
+
Months = 4,
|
|
62
|
+
Forever = 99
|
|
63
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NetworkService } from '../../model/network/network.service';
|
|
2
|
+
import { SharingDTO } from '../../../../common/entities/SharingDTO';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { UserDTO } from '../../../../common/entities/UserDTO';
|
|
6
|
+
export declare class ShareService {
|
|
7
|
+
private networkService;
|
|
8
|
+
private router;
|
|
9
|
+
readonly UnknownSharingKey: SharingDTO;
|
|
10
|
+
param: string;
|
|
11
|
+
queryParam: string;
|
|
12
|
+
sharingKey: string;
|
|
13
|
+
inited: boolean;
|
|
14
|
+
ReadyPR: Promise<void>;
|
|
15
|
+
sharingSubject: BehaviorSubject<SharingDTO>;
|
|
16
|
+
currentSharing: import("rxjs").Observable<SharingDTO>;
|
|
17
|
+
private resolve;
|
|
18
|
+
constructor(networkService: NetworkService, router: Router);
|
|
19
|
+
getUrl(share: SharingDTO): string;
|
|
20
|
+
onNewUser: (user: UserDTO) => Promise<void>;
|
|
21
|
+
wait(): Promise<void>;
|
|
22
|
+
createSharing(dir: string, includeSubFolders: boolean, valid: number): Promise<SharingDTO>;
|
|
23
|
+
updateSharing(dir: string, sharingId: number, includeSubFolders: boolean, password: string, valid: number): Promise<SharingDTO>;
|
|
24
|
+
getSharingKey(): string;
|
|
25
|
+
isSharing(): boolean;
|
|
26
|
+
private getSharing;
|
|
27
|
+
getSharingListForDir(dir: string): Promise<SharingDTO[]>;
|
|
28
|
+
getSharingList(): Promise<SharingDTO[]>;
|
|
29
|
+
deleteSharing(sharing: SharingDTO): Promise<void>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { GalleryCacheService } from './cache.gallery.service';
|
|
2
|
+
import { Media } from './Media';
|
|
3
|
+
import { MediaIcon } from './MediaIcon';
|
|
4
|
+
import { PersonDTO } from '../../../../common/entities/PersonDTO';
|
|
5
|
+
export declare enum ThumbnailLoadingPriority {
|
|
6
|
+
extraHigh = 4,
|
|
7
|
+
high = 3,
|
|
8
|
+
medium = 2,
|
|
9
|
+
low = 1
|
|
10
|
+
}
|
|
11
|
+
export declare class ThumbnailLoaderService {
|
|
12
|
+
private galleryCacheService;
|
|
13
|
+
que: Array<ThumbnailTask>;
|
|
14
|
+
runningRequests: number;
|
|
15
|
+
constructor(galleryCacheService: GalleryCacheService);
|
|
16
|
+
run: () => void;
|
|
17
|
+
removeTask(taskEntry: ThumbnailTaskEntity): void;
|
|
18
|
+
loadIcon(media: MediaIcon, priority: ThumbnailLoadingPriority, listener: ThumbnailLoadingListener): ThumbnailTaskEntity;
|
|
19
|
+
loadImage(media: Media, priority: ThumbnailLoadingPriority, listener: ThumbnailLoadingListener): ThumbnailTaskEntity;
|
|
20
|
+
loadPersonThumbnail(person: PersonDTO, priority: ThumbnailLoadingPriority, listener: ThumbnailLoadingListener): ThumbnailTaskEntity;
|
|
21
|
+
private load;
|
|
22
|
+
private getNextTask;
|
|
23
|
+
private taskReady;
|
|
24
|
+
}
|
|
25
|
+
export interface ThumbnailLoadingListener {
|
|
26
|
+
onStartedLoading: () => void;
|
|
27
|
+
onLoad: () => void;
|
|
28
|
+
onError: (error: Event | string) => void;
|
|
29
|
+
}
|
|
30
|
+
export interface ThumbnailTaskEntity {
|
|
31
|
+
priority: ThumbnailLoadingPriority;
|
|
32
|
+
listener: ThumbnailLoadingListener;
|
|
33
|
+
parentTask: ThumbnailTask;
|
|
34
|
+
}
|
|
35
|
+
interface ThumbnailTask {
|
|
36
|
+
inProgress: boolean;
|
|
37
|
+
taskEntities: Array<ThumbnailTaskEntity>;
|
|
38
|
+
path: string;
|
|
39
|
+
onLoaded: () => void;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ThumbnailLoaderService, ThumbnailTaskEntity } from './thumbnailLoader.service';
|
|
2
|
+
import { Media } from './Media';
|
|
3
|
+
import { MediaIcon } from './MediaIcon';
|
|
4
|
+
import { PersonDTO } from '../../../../common/entities/PersonDTO';
|
|
5
|
+
export declare class ThumbnailManagerService {
|
|
6
|
+
private thumbnailLoader;
|
|
7
|
+
constructor(thumbnailLoader: ThumbnailLoaderService);
|
|
8
|
+
getThumbnail(photo: Media): Thumbnail;
|
|
9
|
+
getLazyThumbnail(photo: Media): Thumbnail;
|
|
10
|
+
getIcon(photo: MediaIcon): IconThumbnail;
|
|
11
|
+
getPersonThumbnail(person: PersonDTO): PersonThumbnail;
|
|
12
|
+
}
|
|
13
|
+
export declare abstract class ThumbnailBase {
|
|
14
|
+
protected thumbnailService: ThumbnailLoaderService;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
protected available: boolean;
|
|
17
|
+
protected src: string;
|
|
18
|
+
protected error: boolean;
|
|
19
|
+
protected onLoad: () => void;
|
|
20
|
+
protected thumbnailTask: ThumbnailTaskEntity;
|
|
21
|
+
protected constructor(thumbnailService: ThumbnailLoaderService);
|
|
22
|
+
abstract set Visible(visible: boolean);
|
|
23
|
+
set OnLoad(onLoad: () => void);
|
|
24
|
+
get Available(): boolean;
|
|
25
|
+
get Src(): string;
|
|
26
|
+
get Loading(): boolean;
|
|
27
|
+
get Error(): boolean;
|
|
28
|
+
destroy(): void;
|
|
29
|
+
}
|
|
30
|
+
export declare class PersonThumbnail extends ThumbnailBase {
|
|
31
|
+
private person;
|
|
32
|
+
constructor(person: PersonDTO, thumbnailService: ThumbnailLoaderService);
|
|
33
|
+
set Visible(visible: boolean);
|
|
34
|
+
}
|
|
35
|
+
export declare class IconThumbnail extends ThumbnailBase {
|
|
36
|
+
private media;
|
|
37
|
+
constructor(media: MediaIcon, thumbnailService: ThumbnailLoaderService);
|
|
38
|
+
set Visible(visible: boolean);
|
|
39
|
+
}
|
|
40
|
+
export declare class Thumbnail extends ThumbnailBase {
|
|
41
|
+
private media;
|
|
42
|
+
constructor(media: Media, thumbnailService: ThumbnailLoaderService, autoLoad?: boolean);
|
|
43
|
+
set CurrentlyWaiting(value: boolean);
|
|
44
|
+
set Visible(visible: boolean);
|
|
45
|
+
load(): void;
|
|
46
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
2
|
+
import { BsDropdownDirective } from 'ngx-bootstrap/dropdown';
|
|
3
|
+
export declare class LanguageComponent {
|
|
4
|
+
private cookieService;
|
|
5
|
+
languages: string[];
|
|
6
|
+
current: string;
|
|
7
|
+
urlBase: string;
|
|
8
|
+
dropdown: BsDropdownDirective;
|
|
9
|
+
constructor(cookieService: CookieService);
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { LoginCredential } from '../../../../common/entities/LoginCredential';
|
|
3
|
+
import { AuthenticationService } from '../../model/network/authentication.service';
|
|
4
|
+
import { NavigationService } from '../../model/navigation.service';
|
|
5
|
+
export declare class LoginComponent implements OnInit {
|
|
6
|
+
private authService;
|
|
7
|
+
private navigation;
|
|
8
|
+
loginCredential: LoginCredential;
|
|
9
|
+
loginError: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
inProgress: boolean;
|
|
12
|
+
constructor(authService: AuthenticationService, navigation: NavigationService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onLogin(): Promise<void>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { JobProgressDTO, OnTimerJobProgressDTO } from '../../../../common/entities/job/JobProgressDTO';
|
|
4
|
+
import { NetworkService } from '../../model/network/network.service';
|
|
5
|
+
import { JobScheduleDTO } from '../../../../common/entities/job/JobScheduleDTO';
|
|
6
|
+
import { JobDTO } from '../../../../common/entities/job/JobDTO';
|
|
7
|
+
import { BackendtextService } from '../../model/backendtext.service';
|
|
8
|
+
import { NotificationService } from '../../model/notification.service';
|
|
9
|
+
import { DynamicConfig } from '../../../../common/entities/DynamicConfig';
|
|
10
|
+
export declare class ScheduledJobsService {
|
|
11
|
+
private networkService;
|
|
12
|
+
private notification;
|
|
13
|
+
private backendTextService;
|
|
14
|
+
progress: BehaviorSubject<Record<string, OnTimerJobProgressDTO>>;
|
|
15
|
+
onJobFinish: EventEmitter<string>;
|
|
16
|
+
timer: number;
|
|
17
|
+
availableJobs: BehaviorSubject<JobDTO[]>;
|
|
18
|
+
availableMessengers: BehaviorSubject<string[]>;
|
|
19
|
+
jobStartingStopping: {
|
|
20
|
+
[key: string]: boolean;
|
|
21
|
+
};
|
|
22
|
+
private subscribers;
|
|
23
|
+
constructor(networkService: NetworkService, notification: NotificationService, backendTextService: BackendtextService);
|
|
24
|
+
getAvailableJobs(): Promise<void>;
|
|
25
|
+
getAvailableMessengers(): Promise<void>;
|
|
26
|
+
getConfigTemplate(JobName: string): DynamicConfig[];
|
|
27
|
+
getDefaultConfig(jobName: string): Record<string, unknown>;
|
|
28
|
+
getProgress(schedule: JobScheduleDTO): JobProgressDTO;
|
|
29
|
+
subscribeToProgress(): void;
|
|
30
|
+
unsubscribeFromProgress(): void;
|
|
31
|
+
forceUpdate(): Promise<void>;
|
|
32
|
+
start(jobName: string, config?: any, soloStart?: boolean, allowParallelRun?: boolean): Promise<void>;
|
|
33
|
+
stop(jobName: string): Promise<void>;
|
|
34
|
+
protected loadProgress(): Promise<void>;
|
|
35
|
+
protected isAnyJobRunning(): boolean;
|
|
36
|
+
protected getProgressPeriodically(): void;
|
|
37
|
+
private addDummyProgress;
|
|
38
|
+
private incSubscribers;
|
|
39
|
+
private decSubscribers;
|
|
40
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { NetworkService } from '../../model/network/network.service';
|
|
3
|
+
import { WebConfig } from '../../../../common/config/private/WebConfig';
|
|
4
|
+
import { ConfigPriority, TAGS } from '../../../../common/config/public/ClientConfig';
|
|
5
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
6
|
+
import { StatisticDTO } from '../../../../common/entities/settings/StatisticDTO';
|
|
7
|
+
import { ScheduledJobsService } from './scheduled-jobs.service';
|
|
8
|
+
import { IWebConfigClassPrivate } from 'typeconfig/src/decorators/class/IWebConfigClass';
|
|
9
|
+
export declare enum ConfigStyle {
|
|
10
|
+
full = 1,
|
|
11
|
+
compact = 2
|
|
12
|
+
}
|
|
13
|
+
export declare class SettingsService {
|
|
14
|
+
private networkService;
|
|
15
|
+
private jobsService;
|
|
16
|
+
private cookieService;
|
|
17
|
+
configPriority: ConfigPriority;
|
|
18
|
+
configStyle: ConfigStyle;
|
|
19
|
+
settings: BehaviorSubject<IWebConfigClassPrivate<TAGS> & WebConfig>;
|
|
20
|
+
private fetchingSettings;
|
|
21
|
+
statistic: BehaviorSubject<StatisticDTO>;
|
|
22
|
+
constructor(networkService: NetworkService, jobsService: ScheduledJobsService, cookieService: CookieService);
|
|
23
|
+
getSettings(): Promise<void>;
|
|
24
|
+
updateSettings(settings: Record<string, any>, settingsPath: string): Promise<void>;
|
|
25
|
+
configSetupChanged(): void;
|
|
26
|
+
loadStatistic(): Promise<void>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SharingDTO } from '../../../../../common/entities/SharingDTO';
|
|
3
|
+
import { SettingsService } from '../settings.service';
|
|
4
|
+
import { ShareService } from '../../gallery/share.service';
|
|
5
|
+
export declare class SharingsListComponent implements OnInit {
|
|
6
|
+
sharingService: ShareService;
|
|
7
|
+
settingsService: SettingsService;
|
|
8
|
+
shares: SharingDTO[];
|
|
9
|
+
constructor(sharingService: ShareService, settingsService: SettingsService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
get Enabled(): boolean;
|
|
12
|
+
deleteSharing(sharing: SharingDTO): Promise<void>;
|
|
13
|
+
private getSharingList;
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { propertyTypes } from 'typeconfig/common';
|
|
2
|
+
import { ClientSortingConfig, SVGIconConfig } from '../../../../../common/config/public/ClientConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration in these class have a custom UI
|
|
5
|
+
*/
|
|
6
|
+
export declare class CustomSettingsEntries {
|
|
7
|
+
static readonly entries: ({
|
|
8
|
+
c: typeof ClientSortingConfig;
|
|
9
|
+
name: string;
|
|
10
|
+
} | {
|
|
11
|
+
c: typeof SVGIconConfig;
|
|
12
|
+
name: string;
|
|
13
|
+
})[];
|
|
14
|
+
static getConfigName(s: {
|
|
15
|
+
tags?: {
|
|
16
|
+
uiType?: string;
|
|
17
|
+
};
|
|
18
|
+
type?: propertyTypes;
|
|
19
|
+
arrayType?: propertyTypes;
|
|
20
|
+
}): string;
|
|
21
|
+
static getFullName(s: {
|
|
22
|
+
tags?: {
|
|
23
|
+
uiType?: string;
|
|
24
|
+
};
|
|
25
|
+
type?: propertyTypes;
|
|
26
|
+
arrayType?: propertyTypes;
|
|
27
|
+
}): string;
|
|
28
|
+
static iS(s: {
|
|
29
|
+
tags?: {
|
|
30
|
+
uiType?: string;
|
|
31
|
+
};
|
|
32
|
+
type?: propertyTypes;
|
|
33
|
+
}): boolean;
|
|
34
|
+
}
|
package/lib/src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.d.ts
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { OnChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import { propertyTypes } from 'typeconfig/common';
|
|
4
|
+
import { SearchQueryParserService } from '../../../gallery/search/search-query-parser.service';
|
|
5
|
+
import { MapLayers, NavigationLinkTypes, TAGS } from '../../../../../../common/config/public/ClientConfig';
|
|
6
|
+
import { ConfigStyle, SettingsService } from '../../settings.service';
|
|
7
|
+
import { WebConfig } from '../../../../../../common/config/private/WebConfig';
|
|
8
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
9
|
+
interface IState {
|
|
10
|
+
shouldHide(): boolean;
|
|
11
|
+
isEnumArrayType: boolean;
|
|
12
|
+
isEnumType: boolean;
|
|
13
|
+
isConfigType: boolean;
|
|
14
|
+
isConfigArrayType: boolean;
|
|
15
|
+
default: any;
|
|
16
|
+
value: any;
|
|
17
|
+
min?: number;
|
|
18
|
+
max?: number;
|
|
19
|
+
type: propertyTypes;
|
|
20
|
+
arrayType: any;
|
|
21
|
+
original: any;
|
|
22
|
+
rootConfig: WebConfig;
|
|
23
|
+
readonly?: boolean;
|
|
24
|
+
description?: string;
|
|
25
|
+
tags: TAGS;
|
|
26
|
+
}
|
|
27
|
+
export declare class SettingsEntryComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
28
|
+
private searchQueryParserService;
|
|
29
|
+
settingsService: SettingsService;
|
|
30
|
+
private modalService;
|
|
31
|
+
name: string;
|
|
32
|
+
required: boolean;
|
|
33
|
+
dockerWarning: boolean;
|
|
34
|
+
experimental: boolean;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
allowSpaces: boolean;
|
|
37
|
+
description: string;
|
|
38
|
+
state: IState;
|
|
39
|
+
isNumberArray: boolean;
|
|
40
|
+
isNumber: boolean;
|
|
41
|
+
HTMLInputType: string;
|
|
42
|
+
title: string;
|
|
43
|
+
idName: string;
|
|
44
|
+
private readonly GUID;
|
|
45
|
+
NavigationLinkTypes: typeof NavigationLinkTypes;
|
|
46
|
+
type: string | object;
|
|
47
|
+
arrayType: string;
|
|
48
|
+
uiType: string;
|
|
49
|
+
newThemeModalRef: any;
|
|
50
|
+
iconModal: {
|
|
51
|
+
ref?: any;
|
|
52
|
+
error?: string;
|
|
53
|
+
};
|
|
54
|
+
noChangeDetection: boolean;
|
|
55
|
+
readonly ConfigStyle: typeof ConfigStyle;
|
|
56
|
+
protected readonly SortByTypes: {
|
|
57
|
+
[x: number]: string;
|
|
58
|
+
Random: import("../../../../../../common/entities/SortingMethods").SortByBasicTypes.Random;
|
|
59
|
+
Name: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Name;
|
|
60
|
+
Date: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Date;
|
|
61
|
+
Rating: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Rating;
|
|
62
|
+
PersonCount: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.PersonCount;
|
|
63
|
+
FileSize: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.FileSize;
|
|
64
|
+
};
|
|
65
|
+
protected readonly GroupByTypes: {
|
|
66
|
+
[x: number]: string;
|
|
67
|
+
NoGrouping: import("../../../../../../common/entities/SortingMethods").GroupByBasicTypes.NoGrouping;
|
|
68
|
+
Name: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Name;
|
|
69
|
+
Date: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Date;
|
|
70
|
+
Rating: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.Rating;
|
|
71
|
+
PersonCount: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.PersonCount;
|
|
72
|
+
FileSize: import("../../../../../../common/entities/SortingMethods").SortByDirectionalTypes.FileSize;
|
|
73
|
+
};
|
|
74
|
+
constructor(searchQueryParserService: SearchQueryParserService, settingsService: SettingsService, modalService: BsModalService);
|
|
75
|
+
get changed(): boolean;
|
|
76
|
+
get isOriginal(): boolean;
|
|
77
|
+
get shouldHide(): boolean;
|
|
78
|
+
get defaultStr(): string;
|
|
79
|
+
get StringValue(): string;
|
|
80
|
+
set StringValue(value: string);
|
|
81
|
+
get AvailableThemes(): any[];
|
|
82
|
+
get SelectedThemeSettings(): {
|
|
83
|
+
theme: string;
|
|
84
|
+
};
|
|
85
|
+
get Disabled(): boolean;
|
|
86
|
+
ngOnChanges(): void;
|
|
87
|
+
getOptionsView(state: IState & {
|
|
88
|
+
optionsView?: {
|
|
89
|
+
key: number | string;
|
|
90
|
+
value: string | number;
|
|
91
|
+
}[];
|
|
92
|
+
}): {
|
|
93
|
+
key: number | string;
|
|
94
|
+
value: string | number;
|
|
95
|
+
}[];
|
|
96
|
+
validate(): ValidationErrors;
|
|
97
|
+
onChange: (value: unknown) => void;
|
|
98
|
+
onTouched: () => void;
|
|
99
|
+
newThemeName: string;
|
|
100
|
+
writeValue(obj: IState): void;
|
|
101
|
+
registerOnChange(fn: (v: never) => void): void;
|
|
102
|
+
registerOnTouched(fn: () => void): void;
|
|
103
|
+
AddNew(): void;
|
|
104
|
+
remove(i: number): void;
|
|
105
|
+
/**
|
|
106
|
+
* MapLayer function
|
|
107
|
+
*/
|
|
108
|
+
addNewLayer(): void;
|
|
109
|
+
removeLayer(layer: MapLayers): void;
|
|
110
|
+
addNewTheme(): void;
|
|
111
|
+
removeTheme(): void;
|
|
112
|
+
showNewThemeModal(template: TemplateRef<any>): void;
|
|
113
|
+
showIconModal(template: TemplateRef<any>): void;
|
|
114
|
+
hideNewThemeModal(): void;
|
|
115
|
+
hideIconModal(): void;
|
|
116
|
+
newSvgFile(event: Event): void;
|
|
117
|
+
}
|
|
118
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import { SortingMethod } from '../../../../../../../common/entities/SortingMethods';
|
|
4
|
+
export declare class SortingMethodSettingsEntryComponent implements ControlValueAccessor, Validator, OnInit {
|
|
5
|
+
sortingByEnum: Record<string, number | string> & {
|
|
6
|
+
[k: number]: string;
|
|
7
|
+
};
|
|
8
|
+
sortingMethod: SortingMethod;
|
|
9
|
+
sortingByTypes: {
|
|
10
|
+
key: number;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onTouched(): void;
|
|
15
|
+
writeValue(obj: SortingMethod): void;
|
|
16
|
+
registerOnChange(fn: (_: unknown) => void): void;
|
|
17
|
+
registerOnTouched(fn: () => void): void;
|
|
18
|
+
onChange(): void;
|
|
19
|
+
validate(): ValidationErrors;
|
|
20
|
+
private propagateChange;
|
|
21
|
+
private propagateTouch;
|
|
22
|
+
isBidirectional(value: number): boolean;
|
|
23
|
+
setSortingBy(key: number): void;
|
|
24
|
+
setSortingAscending(ascending: boolean): void;
|
|
25
|
+
}
|