@wizishop/img-manager 15.2.9 → 15.2.11

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.
@@ -115,6 +115,7 @@ export declare class ImagesViewComponent implements OnInit, AfterViewInit {
115
115
  private _getImgList;
116
116
  private refreshTotalImgList;
117
117
  switchDisplayWindowMosaic(): void;
118
+ isLastImgRemovedInList(): boolean;
118
119
  ngOnDestroy(): void;
119
120
  static ɵfac: i0.ɵɵFactoryDeclaration<ImagesViewComponent, never>;
120
121
  static ɵcmp: i0.ɵɵComponentDeclaration<ImagesViewComponent, "images-view", never, { "stateDisplayed": "stateDisplayed"; "tabDisplayed": "tabDisplayed"; "fullSize": "fullSize"; "maxLengthCardShow": "maxLengthCardShow"; "nbRowToShow": "nbRowToShow"; "listDisplayed": "listDisplayed"; "multipleImgMode": "multipleImgMode"; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
@@ -20,6 +20,7 @@ export declare class MosaicViewComponent extends ImagesActionHandler implements
20
20
  onSearchChange(event: string): void;
21
21
  onCardRenamePicture(pictureRenamed: PictureNameUpdate): void;
22
22
  switchDisplayWindowCard(): void;
23
+ trackById(index: number, picture: any): any;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<MosaicViewComponent, never>;
24
25
  static ɵcmp: i0.ɵɵComponentDeclaration<MosaicViewComponent, "mosaic-view", never, { "tabDisplayed": "tabDisplayed"; "fullSize": "fullSize"; "nbFakeImg": "nbFakeImg"; }, { "switchDisplayWindow": "switchDisplayWindow"; }, never, never, false, never>;
25
26
  }
@@ -1,12 +1,11 @@
1
+ import { BehaviorSubject } from "rxjs";
1
2
  import { ImgPictureDTO } from '../dto/img-manager.dto';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class ImgEventService {
5
+ imgRemoved$: BehaviorSubject<string>;
4
6
  private imgToEditEvent;
5
- private imgRemoved;
6
7
  private imgAdded;
7
8
  private listDisplayedChange;
8
- emitImgRemoved(id_file: string): void;
9
- getImgRemovedEventListner(): import("rxjs").Observable<string>;
10
9
  emitImgToEdit(imgToEdit: ImgPictureDTO): void;
11
10
  getImgToEditEventListener(): import("rxjs").Observable<ImgPictureDTO>;
12
11
  emitImgAdded(id_file: string): void;
@@ -15,7 +15,7 @@ export declare class ImgManagerService {
15
15
  apiService: ApiService;
16
16
  shopImgList: ImgPicturesDTO;
17
17
  previousParams: ParamsImgManagerDTO;
18
- getShopImgList(params?: ParamsImgManagerDTO): Observable<ImgPicturesDTO>;
18
+ getShopImgList(params?: ParamsImgManagerDTO, forceToUpdate?: boolean): Observable<ImgPicturesDTO>;
19
19
  getShopTotalImgList(params?: ParamsImgManagerDTO): Observable<number>;
20
20
  getShopImg(idFile: string): Observable<ImgPictureDTO>;
21
21
  resetParams(params: ParamsImgManagerDTO): HttpParams;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/img-manager",
3
- "version": "15.2.9",
3
+ "version": "15.2.11",
4
4
  "description": "The best and the most beautiful image manager.",
5
5
  "repository": {
6
6
  "type": "git",
Binary file
@@ -940,9 +940,9 @@ $tag-radius: rem(20px)!default;
940
940
  z-index: 1;
941
941
 
942
942
  &--full {
943
- max-height: calc(100vh - 160px)!important;
944
- height: calc(100vh - 160px)!important;
945
- min-height: calc(100vh - 160px) !important;
943
+ max-height: calc(100vh - 160px);
944
+ height: calc(100vh - 160px);
945
+ min-height: calc(100vh - 160px) ;
946
946
  }
947
947
 
948
948
  &--smallDisplay {
@@ -966,12 +966,15 @@ $tag-radius: rem(20px)!default;
966
966
  &--hide {
967
967
  &--mosaic {
968
968
  min-height: 100px !important;
969
+ height: auto;
969
970
  &--small {
970
971
  min-height: unset !important;
972
+ height: auto;
971
973
  }
972
974
  }
973
975
  &--table {
974
976
  min-height: 170px !important;
977
+ height: auto;
975
978
  }
976
979
 
977
980
  }
@@ -1979,8 +1982,8 @@ $tag-radius: rem(20px)!default;
1979
1982
 
1980
1983
  &__scroll {
1981
1984
  position: relative;
1982
- max-height: calc(100vh - 50px)!important;
1983
- height: 100%;
1985
+ max-height: calc(100vh - 50px);
1986
+ height: calc(100vh - 160px);
1984
1987
 
1985
1988
  &--smallDisplay {
1986
1989
  max-height: 275px!important;
@@ -1989,6 +1992,14 @@ $tag-radius: rem(20px)!default;
1989
1992
  min-height: calc(100vh - 90px) !important;
1990
1993
  }
1991
1994
  }
1995
+
1996
+ &--noResult {
1997
+ max-height: 100px!important;
1998
+ }
1999
+
2000
+ &--hide {
2001
+ display: none;
2002
+ }
1992
2003
  }
1993
2004
 
1994
2005
  &__search {
Binary file