@wizishop/img-manager 18.2.0-beta → 18.2.1-beta
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/esm2022/lib/components/canva-btn/canva-btn.component.mjs +73 -0
- package/esm2022/lib/components/images-view/images-actions-handler.mjs +168 -0
- package/esm2022/lib/components/images-view/images-view.component.mjs +391 -0
- package/esm2022/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +70 -0
- package/esm2022/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +73 -0
- package/esm2022/lib/components/images-view/table-view/table-view.component.mjs +48 -0
- package/esm2022/lib/components/img-editor/cropper/cropper.component.mjs +313 -0
- package/esm2022/lib/components/img-editor/img-editor.component.mjs +129 -0
- package/esm2022/lib/components/img-editor/info-section/info-section.component.mjs +58 -0
- package/esm2022/lib/components/img-selection/img-selection.component.mjs +58 -0
- package/esm2022/lib/components/img-tabs/img-tabs.component.mjs +128 -0
- package/esm2022/lib/components/img-upload/img-upload.component.mjs +133 -0
- package/esm2022/lib/components/loader/loader.component.mjs +21 -0
- package/esm2022/lib/components/pexels-lib/pexels-lib.component.mjs +211 -0
- package/esm2022/lib/components/shared/alert/alert.component.mjs +26 -0
- package/esm2022/lib/components/shared/checkbox/checkbox.component.mjs +56 -0
- package/esm2022/lib/components/shared/dropdown/dropdown.component.mjs +21 -0
- package/esm2022/lib/components/shared/input-search/input-search.component.mjs +53 -0
- package/esm2022/lib/components/shared/pagination/page-selector/page-selector.component.mjs +50 -0
- package/esm2022/lib/components/shared/pagination/pagination.component.mjs +49 -0
- package/esm2022/lib/components/shared/select/select.component.mjs +117 -0
- package/esm2022/lib/components/shared/table/table.component.mjs +124 -0
- package/esm2022/lib/components/upload-list/upload-list.component.mjs +85 -0
- package/esm2022/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +41 -0
- package/{esm2020 → esm2022}/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +5 -5
- package/esm2022/lib/directives/auto-hide.directive.mjs +51 -0
- package/esm2022/lib/directives/copy-to-clipboard.directive.mjs +36 -0
- package/esm2022/lib/directives/drag-drop.directive.mjs +55 -0
- package/esm2022/lib/directives/loading.directive.mjs +43 -0
- package/esm2022/lib/directives/table/checkBoxRow.directive.mjs +130 -0
- package/esm2022/lib/directives/table/column.directive.mjs +50 -0
- package/esm2022/lib/directives/table/columnHeader.directive.mjs +215 -0
- package/esm2022/lib/directives/table/raw.directive.mjs +34 -0
- package/esm2022/lib/directives/zindex-toggle.directive.mjs +45 -0
- package/esm2022/lib/dto/canva-create-design.dto.mjs +9 -0
- package/esm2022/lib/dto/canva.dto.mjs +6 -0
- package/esm2022/lib/dto/config/apis/api.dto.mjs +11 -0
- package/esm2022/lib/dto/config/external/external-config.dto.mjs +5 -0
- package/esm2022/lib/dto/wizi-block-media.dto.mjs +7 -0
- package/esm2022/lib/pipes/images/img-src.pipe.mjs +29 -0
- package/{esm2020 → esm2022}/lib/pipes/number-to-array.pipe.mjs +4 -4
- package/esm2022/lib/pipes/pagination/array-total-pages/array-pages.pipe.mjs +28 -0
- package/esm2022/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +53 -0
- package/esm2022/lib/pipes/pagination/text/custom-text.pipe.mjs +36 -0
- package/esm2022/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +25 -0
- package/{esm2020 → esm2022}/lib/pipes/select/select-filters.pipe.mjs +4 -4
- package/esm2022/lib/services/alert.service.mjs +53 -0
- package/{esm2020 → esm2022}/lib/services/api.service.mjs +4 -4
- package/esm2022/lib/services/canva.service.mjs +165 -0
- package/esm2022/lib/services/config/img-cdn.service.mjs +21 -0
- package/esm2022/lib/services/dom.service.mjs +31 -0
- package/{esm2020 → esm2022}/lib/services/icon.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/image-not-found.service.mjs +4 -4
- package/esm2022/lib/services/img-event.service.mjs +33 -0
- package/esm2022/lib/services/img-manager.service.mjs +134 -0
- package/esm2022/lib/services/img-selection.service.mjs +75 -0
- package/esm2022/lib/services/pexels.service.mjs +66 -0
- package/esm2022/lib/services/rename-picture.service.mjs +66 -0
- package/esm2022/lib/services/snackbar.service.mjs +67 -0
- package/esm2022/lib/services/table/filters-table.service.mjs +61 -0
- package/esm2022/lib/services/upload.service.mjs +20 -0
- package/esm2022/lib/services/user-settings.service.mjs +23 -0
- package/esm2022/lib/wz-img-manager.component.mjs +209 -0
- package/{esm2020 → esm2022}/lib/wz-img-manager.module.mjs +61 -61
- package/{fesm2020 → fesm2022}/wizishop-img-manager.mjs +1018 -830
- package/fesm2022/wizishop-img-manager.mjs.map +1 -0
- package/lib/components/canva-btn/canva-btn.component.d.ts +1 -1
- package/lib/components/images-view/images-actions-handler.d.ts +2 -1
- package/lib/components/images-view/images-view.component.d.ts +4 -9
- package/lib/components/images-view/mosaic-view/img-card/img-card.component.d.ts +1 -1
- package/lib/components/images-view/mosaic-view/mosaic-view.component.d.ts +1 -1
- package/lib/components/img-editor/cropper/cropper.component.d.ts +1 -1
- package/lib/components/img-editor/img-editor.component.d.ts +1 -1
- package/lib/components/img-editor/info-section/info-section.component.d.ts +1 -1
- package/lib/components/img-selection/img-selection.component.d.ts +4 -5
- package/lib/components/img-tabs/img-tabs.component.d.ts +1 -1
- package/lib/components/img-upload/img-upload.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/pexels-lib/pexels-lib.component.d.ts +1 -1
- package/lib/components/shared/alert/alert.component.d.ts +1 -1
- package/lib/components/shared/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/shared/dropdown/dropdown.component.d.ts +1 -1
- package/lib/components/shared/input-search/input-search.component.d.ts +1 -1
- package/lib/components/shared/pagination/page-selector/page-selector.component.d.ts +1 -1
- package/lib/components/shared/pagination/pagination.component.d.ts +1 -1
- package/lib/components/shared/select/select.component.d.ts +1 -1
- package/lib/components/shared/table/table.component.d.ts +1 -1
- package/lib/components/upload-list/upload-list.component.d.ts +1 -1
- package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts +1 -1
- package/lib/directives/auto-hide.directive.d.ts +1 -1
- package/lib/directives/copy-to-clipboard.directive.d.ts +1 -1
- package/lib/directives/table/checkBoxRow.directive.d.ts +1 -1
- package/lib/directives/table/column.directive.d.ts +1 -1
- package/lib/directives/table/columnHeader.directive.d.ts +1 -1
- package/lib/directives/zindex-toggle.directive.d.ts +1 -1
- package/lib/wz-img-manager.component.d.ts +3 -3
- package/package.json +7 -13
- package/wizishop-img-manager-18.2.1-beta.tgz +0 -0
- package/wz-img-manager.scss +20 -3
- package/esm2020/lib/components/canva-btn/canva-btn.component.mjs +0 -67
- package/esm2020/lib/components/images-view/images-actions-handler.mjs +0 -154
- package/esm2020/lib/components/images-view/images-view.component.mjs +0 -369
- package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +0 -66
- package/esm2020/lib/components/images-view/mosaic-view/mosaic-view.component.mjs +0 -71
- package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +0 -48
- package/esm2020/lib/components/img-editor/cropper/cropper.component.mjs +0 -307
- package/esm2020/lib/components/img-editor/img-editor.component.mjs +0 -124
- package/esm2020/lib/components/img-editor/info-section/info-section.component.mjs +0 -54
- package/esm2020/lib/components/img-selection/img-selection.component.mjs +0 -53
- package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +0 -122
- package/esm2020/lib/components/img-upload/img-upload.component.mjs +0 -126
- package/esm2020/lib/components/loader/loader.component.mjs +0 -21
- package/esm2020/lib/components/pexels-lib/pexels-lib.component.mjs +0 -203
- package/esm2020/lib/components/shared/alert/alert.component.mjs +0 -27
- package/esm2020/lib/components/shared/checkbox/checkbox.component.mjs +0 -52
- package/esm2020/lib/components/shared/dropdown/dropdown.component.mjs +0 -21
- package/esm2020/lib/components/shared/input-search/input-search.component.mjs +0 -54
- package/esm2020/lib/components/shared/pagination/page-selector/page-selector.component.mjs +0 -49
- package/esm2020/lib/components/shared/pagination/pagination.component.mjs +0 -49
- package/esm2020/lib/components/shared/select/select.component.mjs +0 -110
- package/esm2020/lib/components/shared/table/table.component.mjs +0 -116
- package/esm2020/lib/components/upload-list/upload-list.component.mjs +0 -79
- package/esm2020/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +0 -37
- package/esm2020/lib/directives/auto-hide.directive.mjs +0 -48
- package/esm2020/lib/directives/copy-to-clipboard.directive.mjs +0 -37
- package/esm2020/lib/directives/drag-drop.directive.mjs +0 -57
- package/esm2020/lib/directives/loading.directive.mjs +0 -42
- package/esm2020/lib/directives/table/checkBoxRow.directive.mjs +0 -114
- package/esm2020/lib/directives/table/column.directive.mjs +0 -45
- package/esm2020/lib/directives/table/columnHeader.directive.mjs +0 -204
- package/esm2020/lib/directives/table/raw.directive.mjs +0 -31
- package/esm2020/lib/directives/zindex-toggle.directive.mjs +0 -42
- package/esm2020/lib/dto/canva-create-design.dto.mjs +0 -4
- package/esm2020/lib/dto/canva.dto.mjs +0 -4
- package/esm2020/lib/dto/config/apis/api.dto.mjs +0 -9
- package/esm2020/lib/dto/config/external/external-config.dto.mjs +0 -3
- package/esm2020/lib/dto/wizi-block-media.dto.mjs +0 -3
- package/esm2020/lib/pipes/images/img-src.pipe.mjs +0 -28
- package/esm2020/lib/pipes/pagination/array-total-pages/array-pages.pipe.mjs +0 -28
- package/esm2020/lib/pipes/pagination/large-number-of-page/large-number-of-page.pipe.mjs +0 -53
- package/esm2020/lib/pipes/pagination/text/custom-text.pipe.mjs +0 -35
- package/esm2020/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +0 -25
- package/esm2020/lib/services/alert.service.mjs +0 -50
- package/esm2020/lib/services/canva.service.mjs +0 -159
- package/esm2020/lib/services/config/img-cdn.service.mjs +0 -23
- package/esm2020/lib/services/dom.service.mjs +0 -33
- package/esm2020/lib/services/img-event.service.mjs +0 -35
- package/esm2020/lib/services/img-manager.service.mjs +0 -136
- package/esm2020/lib/services/img-selection.service.mjs +0 -76
- package/esm2020/lib/services/pexels.service.mjs +0 -62
- package/esm2020/lib/services/rename-picture.service.mjs +0 -63
- package/esm2020/lib/services/snackbar.service.mjs +0 -64
- package/esm2020/lib/services/table/filters-table.service.mjs +0 -60
- package/esm2020/lib/services/upload.service.mjs +0 -22
- package/esm2020/lib/services/user-settings.service.mjs +0 -25
- package/esm2020/lib/wz-img-manager.component.mjs +0 -192
- package/fesm2015/wizishop-img-manager.mjs +0 -4035
- package/fesm2015/wizishop-img-manager.mjs.map +0 -1
- package/fesm2020/wizishop-img-manager.mjs.map +0 -1
- package/wizishop-img-manager-18.2.0-beta.tgz +0 -0
- /package/{esm2020 → esm2022}/lib/animations/easeInOut/ease-in-out.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/animations/insertRemove/insert-remove.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/animations/listAnnimation/list.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/shared/select/call-to-action.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/shared/select/select-items.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/ImgManagerDisplayConfig.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/config/image-cdn/image-cdn-config.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/config/img-manager.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/export-dtos.api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/img-editor-config.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/img-manager.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/pexels-img.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/picture-name-update.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/stateDisplayed.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dto/tabDisplayed.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/wizishop-img-manager.mjs +0 -0
|
@@ -35,5 +35,5 @@ export declare class CanvaBtnComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
onOpenCanva(width: number, height: number): void;
|
|
36
36
|
ngOnDestroy(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanvaBtnComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CanvaBtnComponent, "canva-btn", never, { "stateDisplayed": "stateDisplayed"; }, { "showImgUploaded": "showImgUploaded"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CanvaBtnComponent, "canva-btn", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; }, { "showImgUploaded": "showImgUploaded"; }, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -38,6 +38,7 @@ export declare abstract class ImagesActionHandler {
|
|
|
38
38
|
private errorAlreadyUsedImg;
|
|
39
39
|
private imageNotFoundService;
|
|
40
40
|
constructor(imgManager: ImgManagerService, imgSelectionService: ImgSelectionService, http: HttpClient, imgCDNService: ImgCDNService, imgEventCardService: ImgEventService, alertService: AlertService, translateService: TranslateService, apiService: ApiService);
|
|
41
|
+
ngOnInit(): void;
|
|
41
42
|
/** Event emit when the header checkbox is checked */
|
|
42
43
|
onToggleAllCheckBoxRow(event: any): void;
|
|
43
44
|
onToggleDelSelection(index: number): void;
|
|
@@ -54,5 +55,5 @@ export declare abstract class ImagesActionHandler {
|
|
|
54
55
|
private downloadUrl;
|
|
55
56
|
ngDestroy(): void;
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImagesActionHandler, never>;
|
|
57
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ImagesActionHandler, never, never, { "picturesList": "picturesList"; "tableFilters": "tableFilters"; "displayPexelsResults": "displayPexelsResults"; "disable": "disable"; "isLoading": "isLoading"; "stateDisplayed": "stateDisplayed"; }, { "picturesListChange": "picturesListChange"; "disableChange": "disableChange"; "filtersChange": "filtersChange"; "pictureNameChange": "pictureNameChange"; }, never, never, false, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImagesActionHandler, never, never, { "picturesList": { "alias": "picturesList"; "required": false; }; "tableFilters": { "alias": "tableFilters"; "required": false; }; "displayPexelsResults": { "alias": "displayPexelsResults"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; }, { "picturesListChange": "picturesListChange"; "disableChange": "disableChange"; "filtersChange": "filtersChange"; "pictureNameChange": "pictureNameChange"; }, never, never, false, never>;
|
|
58
59
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, AfterViewInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ImgPictureDTO, ParamsImgManagerDTO } from '../../dto/img-manager.dto';
|
|
3
3
|
import { ImgManagerService } from '../../services/img-manager.service';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
4
5
|
import { ImgEventService } from '../../services/img-event.service';
|
|
5
6
|
import { ImgSelectionService } from '../../services/img-selection.service';
|
|
6
7
|
import { UserSettingsService } from '../../services/user-settings.service';
|
|
@@ -47,15 +48,9 @@ export declare class ImagesViewComponent implements AfterViewInit {
|
|
|
47
48
|
private errorGetImg;
|
|
48
49
|
private errorRemoveImg;
|
|
49
50
|
private destroy$;
|
|
50
|
-
vm$:
|
|
51
|
-
isLoading: boolean;
|
|
52
|
-
displayPexelsResults: boolean;
|
|
53
|
-
picturesList: ImgPictureDTO[];
|
|
54
|
-
imageTotal: number;
|
|
55
|
-
tableFilters: TableFilters;
|
|
56
|
-
skipSetImagesToDisplay: boolean;
|
|
57
|
-
}>;
|
|
51
|
+
vm$: Observable<any>;
|
|
58
52
|
constructor(imgManager: ImgManagerService, imgEventService: ImgEventService, imgSelectionService: ImgSelectionService, alertService: AlertService, userSettingsService: UserSettingsService, renamePictureService: RenamePictureService, changeDetectorRef: ChangeDetectorRef);
|
|
53
|
+
ngOnInit(): void;
|
|
59
54
|
private getTableFilters;
|
|
60
55
|
ngAfterViewInit(): void;
|
|
61
56
|
/**
|
|
@@ -100,5 +95,5 @@ export declare class ImagesViewComponent implements AfterViewInit {
|
|
|
100
95
|
switchDisplayWindowMosaic(): void;
|
|
101
96
|
ngOnDestroy(): void;
|
|
102
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImagesViewComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImagesViewComponent, "images-view", never, { "stateDisplayed": "stateDisplayed"; "tabDisplayed": "tabDisplayed"; "fullSize": "fullSize"; "nbRowToShow": "nbRowToShow"; "listDisplayed": "listDisplayed"; "multipleImgMode": "multipleImgMode"; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImagesViewComponent, "images-view", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "tabDisplayed": { "alias": "tabDisplayed"; "required": false; }; "fullSize": { "alias": "fullSize"; "required": false; }; "nbRowToShow": { "alias": "nbRowToShow"; "required": false; }; "listDisplayed": { "alias": "listDisplayed"; "required": false; }; "multipleImgMode": { "alias": "multipleImgMode"; "required": false; }; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
104
99
|
}
|
|
@@ -26,5 +26,5 @@ export declare class ImgCardComponent extends ImagesActionHandler implements OnI
|
|
|
26
26
|
displayLargeWindow(): void;
|
|
27
27
|
onToggleImgSelected(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgCardComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgCardComponent, "img-card", never, { "tabDisplayed": "tabDisplayed"; "fullSize": "fullSize"; "picture": "picture"; "index": "index"; }, { "toggleImgSelected": "toggleImgSelected"; "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgCardComponent, "img-card", never, { "tabDisplayed": { "alias": "tabDisplayed"; "required": false; }; "fullSize": { "alias": "fullSize"; "required": false; }; "picture": { "alias": "picture"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, { "toggleImgSelected": "toggleImgSelected"; "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -22,5 +22,5 @@ export declare class MosaicViewComponent extends ImagesActionHandler implements
|
|
|
22
22
|
switchDisplayWindowCard(): void;
|
|
23
23
|
trackById(index: number, picture: any): any;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MosaicViewComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MosaicViewComponent, "mosaic-view", never, { "tabDisplayed": "tabDisplayed"; "fullSize": "fullSize"; "nbFakeImg": "nbFakeImg"; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MosaicViewComponent, "mosaic-view", never, { "tabDisplayed": { "alias": "tabDisplayed"; "required": false; }; "fullSize": { "alias": "fullSize"; "required": false; }; "nbFakeImg": { "alias": "nbFakeImg"; "required": false; }; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -70,5 +70,5 @@ export declare class CropperComponent implements OnInit {
|
|
|
70
70
|
zoomIn(): void;
|
|
71
71
|
applyMethod(method: string): void;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<CropperComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CropperComponent, "cropper", never, { "imgToEdit": "imgToEdit"; "isImgModified": "isImgModified"; }, { "isImgModifiedChange": "isImgModifiedChange"; "editClosed": "editClosed"; "currentCroppedImageChange": "currentCroppedImageChange"; }, never, never, false, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CropperComponent, "cropper", never, { "imgToEdit": { "alias": "imgToEdit"; "required": false; }; "isImgModified": { "alias": "isImgModified"; "required": false; }; }, { "isImgModifiedChange": "isImgModifiedChange"; "editClosed": "editClosed"; "currentCroppedImageChange": "currentCroppedImageChange"; }, never, never, false, never>;
|
|
74
74
|
}
|
|
@@ -26,5 +26,5 @@ export declare class ImgEditorComponent implements OnInit {
|
|
|
26
26
|
onImgCropped(imgBase64: string): void;
|
|
27
27
|
private renameAndReplaceImg;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgEditorComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgEditorComponent, "img-editor", never, { "stateDisplayed": "stateDisplayed"; "imgToEdit": "imgToEdit"; }, { "editClosed": "editClosed"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgEditorComponent, "img-editor", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "imgToEdit": { "alias": "imgToEdit"; "required": false; }; }, { "editClosed": "editClosed"; }, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -20,5 +20,5 @@ export declare class EditorInfoSectionComponent implements OnInit {
|
|
|
20
20
|
copyToClipBoard(event: any): void;
|
|
21
21
|
onNameChange(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorInfoSectionComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInfoSectionComponent, "info-section", never, { "imgToEdit": "imgToEdit"; "isNameModified": "isNameModified"; }, { "isNameModifiedChange": "isNameModifiedChange"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInfoSectionComponent, "info-section", never, { "imgToEdit": { "alias": "imgToEdit"; "required": false; }; "isNameModified": { "alias": "isNameModified"; "required": false; }; }, { "isNameModifiedChange": "isNameModifiedChange"; }, never, never, false, never>;
|
|
24
24
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ImgSelectionService } from '../../services/img-selection.service';
|
|
3
3
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
4
4
|
import { tabDisplayed } from '../../dto/export-dtos.api';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ImgSelectionComponent {
|
|
7
8
|
private imgSelectionService;
|
|
@@ -11,17 +12,15 @@ export declare class ImgSelectionComponent {
|
|
|
11
12
|
cancellingAll: boolean;
|
|
12
13
|
importingAll: boolean;
|
|
13
14
|
dragStart: boolean;
|
|
14
|
-
vm$:
|
|
15
|
-
imgSelectedList: import("../../dto/img-manager.dto").ImgPictureDTO[];
|
|
16
|
-
isLoading: boolean;
|
|
17
|
-
}>;
|
|
15
|
+
vm$: Observable<any>;
|
|
18
16
|
trashPositionIndex: number;
|
|
19
17
|
trashPositionLeft: string;
|
|
20
18
|
constructor(imgSelectionService: ImgSelectionService);
|
|
19
|
+
ngOnInit(): void;
|
|
21
20
|
init(): void;
|
|
22
21
|
removeImg(index: number): void;
|
|
23
22
|
drop(event: CdkDragDrop<string[]>): void;
|
|
24
23
|
removeImgFromSelection(event: CdkDragDrop<string[]>): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgSelectionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgSelectionComponent, "img-selection", never, { "tabDisplayed": "tabDisplayed"; }, { "imgManagerClosed": "imgManagerClosed"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgSelectionComponent, "img-selection", never, { "tabDisplayed": { "alias": "tabDisplayed"; "required": false; }; }, { "imgManagerClosed": "imgManagerClosed"; }, never, never, false, never>;
|
|
27
26
|
}
|
|
@@ -35,5 +35,5 @@ export declare class ImgTabsComponent implements OnInit {
|
|
|
35
35
|
switchRouterLink(event: any): void;
|
|
36
36
|
onImgManagerClosed(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgTabsComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgTabsComponent, "img-tabs", never, { "multipleImgMode": "multipleImgMode"; "stateDisplayed": "stateDisplayed"; "listDisplayed": "listDisplayed"; }, { "imgManagerClosed": "imgManagerClosed"; "currentTab": "currentTab"; "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgTabsComponent, "img-tabs", never, { "multipleImgMode": { "alias": "multipleImgMode"; "required": false; }; "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "listDisplayed": { "alias": "listDisplayed"; "required": false; }; }, { "imgManagerClosed": "imgManagerClosed"; "currentTab": "currentTab"; "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -42,5 +42,5 @@ export declare class ImgUploadComponent implements OnInit {
|
|
|
42
42
|
*/
|
|
43
43
|
removeDragAndDropStyle(): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgUploadComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgUploadComponent, "img-upload", never, { "stateDisplayed": "stateDisplayed"; }, { "imgUploaded": "imgUploaded"; }, never, never, false, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgUploadComponent, "img-upload", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; }, { "imgUploaded": "imgUploaded"; }, never, never, false, never>;
|
|
46
46
|
}
|
|
@@ -4,5 +4,5 @@ export declare class LoaderComponent {
|
|
|
4
4
|
small: boolean;
|
|
5
5
|
position: string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "wz-loader", never, { "text": "text"; "small": "small"; "position": "position"; }, {}, never, never, false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "wz-loader", never, { "text": { "alias": "text"; "required": false; }; "small": { "alias": "small"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -50,5 +50,5 @@ export declare class PexelLibComponent implements AfterViewInit {
|
|
|
50
50
|
uploadPhoto(photo: WzImgLibPhotoDto, url: string): void;
|
|
51
51
|
ngOnDestroy(): void;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<PexelLibComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PexelLibComponent, "pexels-lib", never, { "stateDisplayed": "stateDisplayed"; "searchValue": "searchValue"; "disableSearch": "disableSearch"; }, {}, never, never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PexelLibComponent, "pexels-lib", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "searchValue": { "alias": "searchValue"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
54
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AlertComponent implements OnInit {
|
|
|
8
8
|
constructor();
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "wz-alert", never, { "icon": "icon"; "warning": "warning"; "success": "success"; "iconClass": "iconClass"; }, {}, never, ["*"], false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "wz-alert", never, { "icon": { "alias": "icon"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "success": { "alias": "success"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
12
|
}
|
|
@@ -18,5 +18,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
18
18
|
writeValue(obj: any): void;
|
|
19
19
|
onChange(value: any): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "wz-checkbox", never, { "label": "label"; "value": "value"; "type": "type"; "alone": "alone"; "checked": "checked"; "id": "id"; "name": "name"; }, {}, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "wz-checkbox", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "alone": { "alias": "alone"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -6,5 +6,5 @@ export declare class DropdownComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "dropdown", never, { "dropDownMenuClass": "dropDownMenuClass"; "disable": "disable"; }, {}, never, ["[label]", "[item]"], false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "dropdown", never, { "dropDownMenuClass": { "alias": "dropDownMenuClass"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; }, {}, never, ["[label]", "[item]"], false, never>;
|
|
10
10
|
}
|
|
@@ -16,5 +16,5 @@ export declare class InputSearchComponent implements ControlValueAccessor {
|
|
|
16
16
|
registerOnTouched(fn: any): void;
|
|
17
17
|
handleDebouncedKeyUp(event: any): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchComponent, "wz-input-search", never, { "placeholder": "placeholder"; "smallPadding": "smallPadding"; "id": "id"; }, { "changeDebounced": "changeDebounced"; }, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchComponent, "wz-input-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "smallPadding": { "alias": "smallPadding"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "changeDebounced": "changeDebounced"; }, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -19,5 +19,5 @@ export declare class PageSelectorComponent {
|
|
|
19
19
|
constructor();
|
|
20
20
|
onGotoPageChange(event: any, directValue: any): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageSelectorComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageSelectorComponent, "wz-page-selector", never, { "pagination": "pagination"; "totalItems": "totalItems"; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageSelectorComponent, "wz-page-selector", never, { "pagination": { "alias": "pagination"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -15,5 +15,5 @@ export declare class PaginationComponent {
|
|
|
15
15
|
incrementPage(): void;
|
|
16
16
|
onGotoPageChange(pageNumber: any): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "wz-pagination", never, { "pagination": "pagination"; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "wz-pagination", never, { "pagination": { "alias": "pagination"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -37,5 +37,5 @@ export declare class SelectComponent implements OnInit, ControlValueAccessor {
|
|
|
37
37
|
registerOnChange(fn: any): void;
|
|
38
38
|
registerOnTouched(fn: any): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "wac-select", never, { "items": "items"; "placeholder": "placeholder"; "label": "label"; "maxWidthItems": "maxWidthItems"; "search": "search"; "type": "type"; "callToAction": "callToAction"; "maxWidth": "maxWidth"; "disabled": "disabled"; }, { "selectValue": "selectValue"; "clickOnCallToAction": "clickOnCallToAction"; }, never, never, false, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "wac-select", never, { "items": { "alias": "items"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "maxWidthItems": { "alias": "maxWidthItems"; "required": false; }; "search": { "alias": "search"; "required": false; }; "type": { "alias": "type"; "required": false; }; "callToAction": { "alias": "callToAction"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectValue": "selectValue"; "clickOnCallToAction": "clickOnCallToAction"; }, never, never, false, never>;
|
|
41
41
|
}
|
|
@@ -30,5 +30,5 @@ export declare class TableComponent implements OnInit {
|
|
|
30
30
|
private setTablesFilters;
|
|
31
31
|
ngDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "wz-table", never, { "tableFilters": "tableFilters"; "tableRoutingName": "tableRoutingName"; "placeholder": "placeholder"; "checkbox": "checkbox"; "disableSearch": "disableSearch"; "disablePagniation": "disablePagniation"; "isLoading": "isLoading"; }, { "tableFiltersChange": "tableFiltersChange"; "toggleAllCheckBox": "toggleAllCheckBox"; }, never, ["[headerCell]", "[tableRow]"], false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "wz-table", never, { "tableFilters": { "alias": "tableFilters"; "required": false; }; "tableRoutingName": { "alias": "tableRoutingName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "required": false; }; "disablePagniation": { "alias": "disablePagniation"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "tableFiltersChange": "tableFiltersChange"; "toggleAllCheckBox": "toggleAllCheckBox"; }, never, ["[headerCell]", "[tableRow]"], false, never>;
|
|
34
34
|
}
|
|
@@ -24,5 +24,5 @@ export declare class UploadListComponent implements OnInit {
|
|
|
24
24
|
private setEvents;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadListComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadListComponent, "upload-list", never, { "stateDisplayed": "stateDisplayed"; "tabDisplayed": "tabDisplayed"; "multipleImgMode": "multipleImgMode"; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadListComponent, "upload-list", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "tabDisplayed": { "alias": "tabDisplayed"; "required": false; }; "multipleImgMode": { "alias": "multipleImgMode"; "required": false; }; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -11,5 +11,5 @@ export declare class AbstractDebounceDirective implements OnDestroy {
|
|
|
11
11
|
emitChange(value: any): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDebounceDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDebounceDirective, "AbstractDebounceDirective", never, { "debounceTime": "debounceTime"; }, { "onEventChange": "onEventChange"; }, never, never, false, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDebounceDirective, "AbstractDebounceDirective", never, { "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "onEventChange": "onEventChange"; }, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -10,5 +10,5 @@ export declare class AutoHideDirective implements AfterViewInit {
|
|
|
10
10
|
clickOutside: EventEmitter<any>;
|
|
11
11
|
ngAfterViewInit(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoHideDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoHideDirective, "[wzAutoHide]", never, { "triggerElement": "triggerElement"; "forceOn": "forceOn"; }, { "clickOutside": "clickOutside"; }, never, never, false, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoHideDirective, "[wzAutoHide]", never, { "triggerElement": { "alias": "triggerElement"; "required": false; }; "forceOn": { "alias": "forceOn"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -5,5 +5,5 @@ export declare class CopyClipboardDirective {
|
|
|
5
5
|
copied: EventEmitter<string>;
|
|
6
6
|
onClick(event: MouseEvent): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyClipboardDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyClipboardDirective, "[copy-clipboard]", never, { "payload": "copy-clipboard"; }, { "copied": "copied"; }, never, never, false, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyClipboardDirective, "[copy-clipboard]", never, { "payload": { "alias": "copy-clipboard"; "required": false; }; }, { "copied": "copied"; }, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -24,7 +24,7 @@ export declare class CheckBoxRow {
|
|
|
24
24
|
private _toggleCheckbox;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxRow, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxRow, "[checkBoxRow]", never, { "checkBoxId": "checkBoxId"; "checkBoxName": "checkBoxName"; "checkBoxValue": "checkBoxValue"; }, { "checkBoxValueChange": "checkBoxValueChange"; }, never, never, false, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxRow, "[checkBoxRow]", never, { "checkBoxId": { "alias": "checkBoxId"; "required": false; }; "checkBoxName": { "alias": "checkBoxName"; "required": false; }; "checkBoxValue": { "alias": "checkBoxValue"; "required": false; }; }, { "checkBoxValueChange": "checkBoxValueChange"; }, never, never, false, never>;
|
|
28
28
|
}
|
|
29
29
|
export declare class HtmlContainer {
|
|
30
30
|
private hostElement;
|
|
@@ -12,5 +12,5 @@ export declare class TableColumn {
|
|
|
12
12
|
ngAfterViewInit(): void;
|
|
13
13
|
applyCustomStylesOnCell(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumn, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumn, "[tableColumn]", never, { "columnSize": "columnSize"; "centerCell": "centerCell"; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumn, "[tableColumn]", never, { "columnSize": { "alias": "columnSize"; "required": false; }; "centerCell": { "alias": "centerCell"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -39,5 +39,5 @@ export declare class TableColumnHeader {
|
|
|
39
39
|
emitEvents(newSort: any, newOrder: any): void;
|
|
40
40
|
ngOnDestroy(): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnHeader, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnHeader, "[headerCell]", never, { "headerName": "headerName"; "columnSize": "columnSize"; "filterRouting": "filterRouting"; "tableName": "tableName"; "sortName": "sortName"; "centerCell": "centerCell"; "tableFilters": "tableFilters"; }, { "onSortChange": "onSortChange"; "tableFiltersChange": "tableFiltersChange"; }, never, never, false, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnHeader, "[headerCell]", never, { "headerName": { "alias": "headerName"; "required": false; }; "columnSize": { "alias": "columnSize"; "required": false; }; "filterRouting": { "alias": "filterRouting"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "sortName": { "alias": "sortName"; "required": false; }; "centerCell": { "alias": "centerCell"; "required": false; }; "tableFilters": { "alias": "tableFilters"; "required": false; }; }, { "onSortChange": "onSortChange"; "tableFiltersChange": "tableFiltersChange"; }, never, never, false, never>;
|
|
43
43
|
}
|
|
@@ -12,5 +12,5 @@ export declare class ZindexToggleDirective implements OnInit, OnDestroy {
|
|
|
12
12
|
switchToggle(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZindexToggleDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ZindexToggleDirective, "[zIndexToggle]", never, { "isActive": "zIndexToggle"; }, { "onEventChange": "onEventChange"; }, never, never, false, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ZindexToggleDirective, "[zIndexToggle]", never, { "isActive": { "alias": "zIndexToggle"; "required": false; }; }, { "onEventChange": "onEventChange"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -29,8 +29,8 @@ export declare class WzImgManagerComponent implements OnInit {
|
|
|
29
29
|
set showImgManagerModule(activate: boolean);
|
|
30
30
|
get showImgManagerModule(): boolean;
|
|
31
31
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
32
|
-
imgSelectionChange:
|
|
33
|
-
imageUploaded:
|
|
32
|
+
imgSelectionChange: EventEmitter<any>;
|
|
33
|
+
imageUploaded: EventEmitter<any>;
|
|
34
34
|
close: boolean;
|
|
35
35
|
selectImgEvent: Subscription;
|
|
36
36
|
listDisplayed: boolean;
|
|
@@ -58,5 +58,5 @@ export declare class WzImgManagerComponent implements OnInit {
|
|
|
58
58
|
changeDisplayTab(): void;
|
|
59
59
|
ngOnDestroy(): void;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<WzImgManagerComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WzImgManagerComponent, "wz-img-manager", never, { "stateDisplayed": "stateDisplayed"; "showSelection": "showSelection"; "forceToOpenCanva": "forceToOpenCanva"; "multipleImgMode": "multipleImgMode"; "showImgManagerModule": "showImgManagerModule"; }, { "imgManagerClosed": "imgManagerClosed"; "imgSelectionChange": "imgSelectionChange"; "imageUploaded": "imageUploaded"; }, never, never, false, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WzImgManagerComponent, "wz-img-manager", never, { "stateDisplayed": { "alias": "stateDisplayed"; "required": false; }; "showSelection": { "alias": "showSelection"; "required": false; }; "forceToOpenCanva": { "alias": "forceToOpenCanva"; "required": false; }; "multipleImgMode": { "alias": "multipleImgMode"; "required": false; }; "showImgManagerModule": { "alias": "showImgManagerModule"; "required": false; }; }, { "imgManagerClosed": "imgManagerClosed"; "imgSelectionChange": "imgSelectionChange"; "imageUploaded": "imageUploaded"; }, never, never, false, never>;
|
|
62
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/img-manager",
|
|
3
|
-
"version": "18.2.
|
|
3
|
+
"version": "18.2.1-beta",
|
|
4
4
|
"description": "The best and the most beautiful image manager.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@angular/router": "^18.2.0",
|
|
30
30
|
"@ngx-translate/core": "^14.0.0",
|
|
31
31
|
"@ngx-translate/http-loader": "^7.0.0",
|
|
32
|
-
"@wizishop/img-manager": "^
|
|
32
|
+
"@wizishop/img-manager": "^18.2.0",
|
|
33
33
|
"@wizishop/ng-wizi-bulma": "^17.0.0",
|
|
34
34
|
"bourbon": "^7.3.0",
|
|
35
35
|
"bulma": "^0.9.4",
|
|
@@ -38,18 +38,14 @@
|
|
|
38
38
|
"bundle-scss": "^1.4.17",
|
|
39
39
|
"include-media": "^1.4.10",
|
|
40
40
|
"ngx-image-cropper": "^6.3.2",
|
|
41
|
-
"ngx-scrollbar": "^
|
|
41
|
+
"ngx-scrollbar": "^11.0.0",
|
|
42
42
|
"nodemon": "^2.0.20",
|
|
43
43
|
"rxjs": "^7.8.1",
|
|
44
44
|
"sass": "^1.64.2",
|
|
45
45
|
"sass-flex-mixin": "^1.0.3",
|
|
46
46
|
"zone.js": "^0.14.10"
|
|
47
47
|
},
|
|
48
|
-
"module": "
|
|
49
|
-
"es2020": "fesm2020/wizishop-img-manager.mjs",
|
|
50
|
-
"esm2020": "esm2020/wizishop-img-manager.mjs",
|
|
51
|
-
"fesm2020": "fesm2020/wizishop-img-manager.mjs",
|
|
52
|
-
"fesm2015": "fesm2015/wizishop-img-manager.mjs",
|
|
48
|
+
"module": "fesm2022/wizishop-img-manager.mjs",
|
|
53
49
|
"typings": "index.d.ts",
|
|
54
50
|
"exports": {
|
|
55
51
|
"./package.json": {
|
|
@@ -57,11 +53,9 @@
|
|
|
57
53
|
},
|
|
58
54
|
".": {
|
|
59
55
|
"types": "./index.d.ts",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"node": "./fesm2015/wizishop-img-manager.mjs",
|
|
64
|
-
"default": "./fesm2020/wizishop-img-manager.mjs"
|
|
56
|
+
"esm2022": "./esm2022/wizishop-img-manager.mjs",
|
|
57
|
+
"esm": "./esm2022/wizishop-img-manager.mjs",
|
|
58
|
+
"default": "./fesm2022/wizishop-img-manager.mjs"
|
|
65
59
|
}
|
|
66
60
|
},
|
|
67
61
|
"sideEffects": false
|
|
Binary file
|
package/wz-img-manager.scss
CHANGED
|
@@ -67,6 +67,23 @@ $color-CTA-select: #52aecd1a!default;
|
|
|
67
67
|
$border-CTA-select: #52aecd66!default;
|
|
68
68
|
$color-text-grey: #6b7881!default;
|
|
69
69
|
$select-box-shadow: #0000000d!default;
|
|
70
|
+
@use "sass:math";
|
|
71
|
+
$em-base: 16px;
|
|
72
|
+
|
|
73
|
+
@function strip-unit($value) {
|
|
74
|
+
@return math.div($value, $value * 0 + 1);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@function rem($pxval) {
|
|
78
|
+
@if not unitless($pxval) {
|
|
79
|
+
$pxval: strip-unit($pxval);
|
|
80
|
+
}
|
|
81
|
+
$base: $em-base;
|
|
82
|
+
@if not unitless($base) {
|
|
83
|
+
$base: strip-unit($base);
|
|
84
|
+
}
|
|
85
|
+
@return math.div($pxval, $base) * 1rem;
|
|
86
|
+
}
|
|
70
87
|
$base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null, $time: null) {
|
|
71
88
|
@if ($time == null) {
|
|
72
89
|
$time: $img-transition-base-time;
|
|
@@ -2680,7 +2697,7 @@ $green-color: #2ecc71;
|
|
|
2680
2697
|
|
|
2681
2698
|
.wz-alert {
|
|
2682
2699
|
width: 100%;
|
|
2683
|
-
background-color:
|
|
2700
|
+
background-color: scale-color($link-color, $alpha: -85%);
|
|
2684
2701
|
color: $link-color;
|
|
2685
2702
|
border-radius: 3px;
|
|
2686
2703
|
display: flex;
|
|
@@ -2688,7 +2705,7 @@ $green-color: #2ecc71;
|
|
|
2688
2705
|
justify-content: space-between;
|
|
2689
2706
|
padding: 20px;
|
|
2690
2707
|
&.success {
|
|
2691
|
-
background-color:
|
|
2708
|
+
background-color: scale-color($green-color, $alpha: -85%);
|
|
2692
2709
|
p {
|
|
2693
2710
|
color: $success-color-p-alert;
|
|
2694
2711
|
> * {
|
|
@@ -2700,7 +2717,7 @@ $green-color: #2ecc71;
|
|
|
2700
2717
|
}
|
|
2701
2718
|
}
|
|
2702
2719
|
&.warning {
|
|
2703
|
-
background-color:
|
|
2720
|
+
background-color: scale-color($primary-button, $alpha: -85%);
|
|
2704
2721
|
p {
|
|
2705
2722
|
color: $warning-color-p-alert;
|
|
2706
2723
|
> * {
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Component, Output, EventEmitter, Input } from '@angular/core';
|
|
2
|
-
import { CanvaService } from '../../services/canva.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services/canva.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "ngx-scrollbar";
|
|
7
|
-
import * as i4 from "../../directives/loading.directive";
|
|
8
|
-
import * as i5 from "../../directives/auto-hide.directive";
|
|
9
|
-
import * as i6 from "@ngx-translate/core";
|
|
10
|
-
export class CanvaBtnComponent {
|
|
11
|
-
constructor(canvaService) {
|
|
12
|
-
this.canvaService = canvaService;
|
|
13
|
-
this.showImgUploaded = new EventEmitter();
|
|
14
|
-
this.imgLoading = false;
|
|
15
|
-
this.availableFormat = {
|
|
16
|
-
'ImgManager.CanvaBtn.smallSquare': {
|
|
17
|
-
'width': 500,
|
|
18
|
-
'height': 500
|
|
19
|
-
},
|
|
20
|
-
'ImgManager.CanvaBtn.mediumSquare': {
|
|
21
|
-
'width': 1000,
|
|
22
|
-
'height': 1000
|
|
23
|
-
},
|
|
24
|
-
'ImgManager.CanvaBtn.bigSquare': {
|
|
25
|
-
'width': 2500,
|
|
26
|
-
'height': 2500
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
this.openDropDownMenu = false;
|
|
30
|
-
this.subs = [];
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
this.canvaLogoRouteAssets = this.canvaService.getCanvaLogo();
|
|
34
|
-
this.listenCanvaExpectedSize();
|
|
35
|
-
}
|
|
36
|
-
listenCanvaExpectedSize() {
|
|
37
|
-
// Subcribe to askImg from wizi-block
|
|
38
|
-
const subExpectedImgSizesChange = this.canvaService.bindEventExepectedImgSizeChange().subscribe((mediaDTO) => {
|
|
39
|
-
if (mediaDTO) {
|
|
40
|
-
this.expectedWidth = parseInt(mediaDTO.image_width, 10);
|
|
41
|
-
this.expectedHeight = parseInt(mediaDTO.image_height, 10);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
this.expectedWidth = undefined;
|
|
45
|
-
this.expectedHeight = undefined;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
this.subs.push(subExpectedImgSizesChange);
|
|
49
|
-
}
|
|
50
|
-
onOpenCanva(width, height) {
|
|
51
|
-
this.canvaService.openCanva(width, height);
|
|
52
|
-
}
|
|
53
|
-
ngOnDestroy() {
|
|
54
|
-
this.subs.forEach(sub => sub.unsubscribe());
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
CanvaBtnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CanvaBtnComponent, deps: [{ token: i1.CanvaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
CanvaBtnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CanvaBtnComponent, selector: "canva-btn", inputs: { stateDisplayed: "stateDisplayed" }, outputs: { showImgUploaded: "showImgUploaded" }, ngImport: i0, template: "<div class=\"canva dropdown is-right is-hoverable\"\r\n wzAutoHide (clickOutside)=\"openDropDownMenu = false;\"\r\n [ngClass]=\"{'is-up': stateDisplayed === 'small', 'noTooltip': stateDisplayed !== 'small'}\"\r\n >\r\n <div class=\"dropdown-trigger\">\r\n <div\r\n class=\"button canva-btn\"\r\n aria-controls=\"dropdown-menuCanva\"\r\n (click)=\"openDropDownMenu = true;\"\r\n >\r\n <span>{{'ImgManager.CanvaBtn.createImg' | translate}}</span>\r\n <img [src]=\"canvaLogoRouteAssets\" class=\"canva-btn__logo\">\r\n\r\n <span btnLoadingAnim class=\"btnLoadingAnnimation\" *ngIf=\"imgLoading\"></span>\r\n </div>\r\n </div>\r\n <div\r\n class=\"dropdown-menu dropDownShadow\"\r\n [ngClass]=\"{'displayDropDownMenu': openDropDownMenu }\"\r\n id=\"dropdown-menuCanva\"\r\n role=\"menu\">\r\n <ng-scrollbar\r\n class=\"smallScroll\"\r\n >\r\n <div class=\"dropdown-content\">\r\n <div class=\"dropdownTitle\">\r\n <p>{{'ImgManager.CanvaBtn.createImg.title' | translate}}</p>\r\n </div>\r\n\r\n <div class=\"infoItem\">\r\n <p>{{'ImgManager.CanvaBtn.info' | translate}}</p>\r\n </div>\r\n\r\n <ng-container >\r\n <div\r\n *ngIf=\"expectedWidth && expectedHeight\"\r\n class=\"dropdown-item-wrapper\"\r\n >\r\n <div class=\"dropdown-item expectedSizes\" (click)=\"onOpenCanva(expectedWidth, expectedHeight)\">\r\n <p>{{'ImgManager.CanvaBtn.recommanded' | translate}}</p><p>{{expectedWidth}}*{{expectedHeight}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div\r\n *ngFor=\"let format of availableFormat| keyvalue\"\r\n class=\"dropdown-item-wrapper\">\r\n <div\r\n (click)=\"onOpenCanva(format.value.width, format.value.height)\"\r\n class=\"dropdown-item\">\r\n <p>{{format.key | translate}}</p><p>{{format.value.width}}*{{format.value.height}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-scrollbar>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar", inputs: ["disabled", "sensorDisabled", "pointerEventsDisabled", "viewportPropagateMouseMove", "autoHeightDisabled", "autoWidthDisabled", "viewClass", "trackClass", "thumbClass", "minThumbSize", "trackClickScrollDuration", "pointerEventsMethod", "track", "visibility", "appearance", "position", "sensorDebounce", "scrollAuditTime"], outputs: ["updated"], exportAs: ["ngScrollbar"] }, { kind: "directive", type: i4.LoadingDirective, selector: "[btnLoadingAnim]" }, { kind: "directive", type: i5.AutoHideDirective, selector: "[wzAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CanvaBtnComponent, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{ selector: 'canva-btn', template: "<div class=\"canva dropdown is-right is-hoverable\"\r\n wzAutoHide (clickOutside)=\"openDropDownMenu = false;\"\r\n [ngClass]=\"{'is-up': stateDisplayed === 'small', 'noTooltip': stateDisplayed !== 'small'}\"\r\n >\r\n <div class=\"dropdown-trigger\">\r\n <div\r\n class=\"button canva-btn\"\r\n aria-controls=\"dropdown-menuCanva\"\r\n (click)=\"openDropDownMenu = true;\"\r\n >\r\n <span>{{'ImgManager.CanvaBtn.createImg' | translate}}</span>\r\n <img [src]=\"canvaLogoRouteAssets\" class=\"canva-btn__logo\">\r\n\r\n <span btnLoadingAnim class=\"btnLoadingAnnimation\" *ngIf=\"imgLoading\"></span>\r\n </div>\r\n </div>\r\n <div\r\n class=\"dropdown-menu dropDownShadow\"\r\n [ngClass]=\"{'displayDropDownMenu': openDropDownMenu }\"\r\n id=\"dropdown-menuCanva\"\r\n role=\"menu\">\r\n <ng-scrollbar\r\n class=\"smallScroll\"\r\n >\r\n <div class=\"dropdown-content\">\r\n <div class=\"dropdownTitle\">\r\n <p>{{'ImgManager.CanvaBtn.createImg.title' | translate}}</p>\r\n </div>\r\n\r\n <div class=\"infoItem\">\r\n <p>{{'ImgManager.CanvaBtn.info' | translate}}</p>\r\n </div>\r\n\r\n <ng-container >\r\n <div\r\n *ngIf=\"expectedWidth && expectedHeight\"\r\n class=\"dropdown-item-wrapper\"\r\n >\r\n <div class=\"dropdown-item expectedSizes\" (click)=\"onOpenCanva(expectedWidth, expectedHeight)\">\r\n <p>{{'ImgManager.CanvaBtn.recommanded' | translate}}</p><p>{{expectedWidth}}*{{expectedHeight}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div\r\n *ngFor=\"let format of availableFormat| keyvalue\"\r\n class=\"dropdown-item-wrapper\">\r\n <div\r\n (click)=\"onOpenCanva(format.value.width, format.value.height)\"\r\n class=\"dropdown-item\">\r\n <p>{{format.key | translate}}</p><p>{{format.value.width}}*{{format.value.height}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-scrollbar>\r\n </div>\r\n</div>\r\n" }]
|
|
62
|
-
}], ctorParameters: function () { return [{ type: i1.CanvaService }]; }, propDecorators: { stateDisplayed: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], showImgUploaded: [{
|
|
65
|
-
type: Output
|
|
66
|
-
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FudmEtYnRuLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d6LWltZy1tYW5hZ2VyL3NyYy9saWIvY29tcG9uZW50cy9jYW52YS1idG4vY2FudmEtYnRuLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d6LWltZy1tYW5hZ2VyL3NyYy9saWIvY29tcG9uZW50cy9jYW52YS1idG4vY2FudmEtYnRuLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQVUsTUFBTSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDekYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDhCQUE4QixDQUF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AgICAgICAgICAgICA8cD57eydJbWdNYW5hZ2VyLkNhbnZhQnRuLmluZm8nIHwgdHJhbnNsYXRlfX08L3A+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyID5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2XHJcbiAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cImV4cGVjdGVkV2lkdGggJiYgZXhwZWN0ZWRIZWlnaHRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJkcm9wZG93bi1pdGVtLXdyYXBwZXJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZHJvcGRvd24taXRlbSBleHBlY3RlZFNpemVzXCIgKGNsaWNrKT1cIm9uT3BlbkNhbnZhKGV4cGVjdGVkV2lkdGgsIGV4cGVjdGVkSGVpZ2h0KVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHA+e3snSW1nTWFuYWdlci5DYW52YUJ0bi5yZWNvbW1hbmRlZCcgfCB0cmFuc2xhdGV9fTwvcD48cD57e2V4cGVjdGVkV2lkdGh9fSp7e2V4cGVjdGVkSGVpZ2h0fX08L3A+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgICAgICAgICAgICAgPGRpdlxyXG4gICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgZm9ybWF0IG9mIGF2YWlsYWJsZUZvcm1hdHwga2V5dmFsdWVcIlxyXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImRyb3Bkb3duLWl0ZW0td3JhcHBlclwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvbk9wZW5DYW52YShmb3JtYXQudmFsdWUud2lkdGgsIGZvcm1hdC52YWx1ZS5oZWlnaHQpXCJcclxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZHJvcGRvd24taXRlbVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8cD57e2Zvcm1hdC5rZXkgfCB0cmFuc2xhdGV9fTwvcD48cD57e2Zvcm1hdC52YWx1ZS53aWR0aH19Knt7Zm9ybWF0LnZhbHVlLmhlaWdodH19PC9wPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvbmctc2Nyb2xsYmFyPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|