pigallery2-extension-kit 3.7.0-edge → 3.8.0-rc.1
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/lib/backend/model/database/enitites/SharingEntity.d.ts +1 -0
- package/lib/backend/model/fileaccess/fileprocessing/PhotoProcessing.d.ts +4 -0
- package/lib/common/DataStructureVersion.d.ts +1 -1
- package/lib/common/config/private/PrivateConfig.d.ts +1 -0
- package/lib/common/config/public/ClientConfig.d.ts +0 -1
- package/lib/common/config/public/ClientConfig.js +1 -13
- package/lib/common/entities/SharingDTO.d.ts +4 -0
- package/lib/common/entities/UserDTO.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,4 +20,8 @@ export declare class PhotoProcessing {
|
|
|
20
20
|
static generateThumbnail(mediaPath: string, size: number, sourceType: ThumbnailSourceType, makeSquare: boolean): Promise<string>;
|
|
21
21
|
static isPhoto(fullPath: string): boolean;
|
|
22
22
|
static renderSVG(svgIcon: SVGIconConfig, outPath: string, color?: string): Promise<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Renders the svg to a size x size png. The file name gets the hash of the svg, so a changed svg is a new file.
|
|
25
|
+
*/
|
|
26
|
+
static renderSVGString(svgString: string, size: number, outPath: string): Promise<string>;
|
|
23
27
|
}
|
|
@@ -186,7 +186,6 @@ export declare class ThemesConfig {
|
|
|
186
186
|
}
|
|
187
187
|
export declare class ClientGalleryConfig {
|
|
188
188
|
enableCache: boolean;
|
|
189
|
-
enableOnScrollRendering: boolean;
|
|
190
189
|
enableDirectorySortingByDate: boolean;
|
|
191
190
|
ignoreTimestampOffset: boolean;
|
|
192
191
|
enableOnScrollThumbnailPrioritising: boolean;
|
|
@@ -1167,7 +1167,7 @@ let ClientLightboxConfig = class ClientLightboxConfig {
|
|
|
1167
1167
|
this.captionAlwaysOn = false;
|
|
1168
1168
|
this.facesAlwaysOn = false;
|
|
1169
1169
|
this.loopVideos = false;
|
|
1170
|
-
this.loopSlideshow =
|
|
1170
|
+
this.loopSlideshow = true;
|
|
1171
1171
|
this.loadFullImageOnZoom = true;
|
|
1172
1172
|
this.loadFullImageIfPreviewTooSmall = true;
|
|
1173
1173
|
this.Titles = new ClientLightboxTitleConfig();
|
|
@@ -1372,7 +1372,6 @@ exports.ThemesConfig = ThemesConfig = __decorate([
|
|
|
1372
1372
|
let ClientGalleryConfig = class ClientGalleryConfig {
|
|
1373
1373
|
constructor() {
|
|
1374
1374
|
this.enableCache = true;
|
|
1375
|
-
this.enableOnScrollRendering = true;
|
|
1376
1375
|
this.enableDirectorySortingByDate = false;
|
|
1377
1376
|
this.ignoreTimestampOffset = true;
|
|
1378
1377
|
this.enableOnScrollThumbnailPrioritising = true;
|
|
@@ -1397,17 +1396,6 @@ __decorate([
|
|
|
1397
1396
|
}),
|
|
1398
1397
|
__metadata("design:type", Boolean)
|
|
1399
1398
|
], ClientGalleryConfig.prototype, "enableCache", void 0);
|
|
1400
|
-
__decorate([
|
|
1401
|
-
(0, common_1.ConfigProperty)({
|
|
1402
|
-
type: 'boolean',
|
|
1403
|
-
tags: {
|
|
1404
|
-
name: $localize `Scroll based thumbnail generation`,
|
|
1405
|
-
priority: Enums_1.ConfigPriority.advanced,
|
|
1406
|
-
},
|
|
1407
|
-
description: $localize `Those thumbnails get higher priority that are visible on the screen.`
|
|
1408
|
-
}),
|
|
1409
|
-
__metadata("design:type", Boolean)
|
|
1410
|
-
], ClientGalleryConfig.prototype, "enableOnScrollRendering", void 0);
|
|
1411
1399
|
__decorate([
|
|
1412
1400
|
(0, common_1.ConfigProperty)({
|
|
1413
1401
|
type: 'boolean',
|
|
@@ -16,6 +16,7 @@ export interface BaseSharingDTO extends SharingDTOKey {
|
|
|
16
16
|
sharingKey: string;
|
|
17
17
|
expires: number;
|
|
18
18
|
timeStamp: number;
|
|
19
|
+
preventDownload?: boolean;
|
|
19
20
|
creator?: UserDTO;
|
|
20
21
|
}
|
|
21
22
|
export interface ResponseSharingDTO extends BaseSharingDTO, PublicSharingDTO {
|
|
@@ -27,6 +28,7 @@ export interface ResponseSharingDTO extends BaseSharingDTO, PublicSharingDTO {
|
|
|
27
28
|
sharingKey: string;
|
|
28
29
|
expires: number;
|
|
29
30
|
timeStamp: number;
|
|
31
|
+
preventDownload?: boolean;
|
|
30
32
|
creator?: UserDTO;
|
|
31
33
|
passwordProtected: boolean;
|
|
32
34
|
}
|
|
@@ -40,6 +42,7 @@ export interface UpdateSharingDTO extends BaseSharingDTO {
|
|
|
40
42
|
password?: string | null;
|
|
41
43
|
expires: number;
|
|
42
44
|
timeStamp: number;
|
|
45
|
+
preventDownload?: boolean;
|
|
43
46
|
creator?: UserDTO;
|
|
44
47
|
}
|
|
45
48
|
export interface CreateSharingDTO {
|
|
@@ -50,5 +53,6 @@ export interface CreateSharingDTO {
|
|
|
50
53
|
defaultDirectoryView?: string;
|
|
51
54
|
searchQuery: SearchQueryDTO;
|
|
52
55
|
directoryQuery?: DirectorySearch;
|
|
56
|
+
preventDownload?: boolean;
|
|
53
57
|
}
|
|
54
58
|
export {};
|
package/package.json
CHANGED