@wizishop/img-manager 15.0.1 → 15.0.3
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/esm2020/lib/components/canva-btn/canva-btn.component.mjs +4 -4
- package/esm2020/lib/components/images-view/images-view.component.mjs +4 -4
- package/esm2020/lib/components/img-editor/img-editor.component.mjs +4 -4
- package/esm2020/lib/components/pexels-lib/pexels-lib.component.mjs +9 -8
- package/esm2020/lib/components/shared/select/select.component.mjs +4 -4
- package/esm2020/lib/components/upload-list/upload-list.component.mjs +4 -4
- package/esm2020/lib/dto/config/img-manager.mjs +8 -0
- package/esm2020/lib/services/img-manager.service.mjs +1 -1
- package/esm2020/lib/services/pexels.service.mjs +2 -2
- package/esm2020/lib/wz-img-manager.module.mjs +3 -7
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wizishop-img-manager.mjs +19 -23
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +19 -23
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/lib/dto/config/img-manager.d.ts +2 -0
- package/lib/services/img-manager.service.d.ts +2 -1
- package/lib/wz-img-manager.module.d.ts +1 -2
- package/package.json +17 -18
- package/public-api.d.ts +1 -0
- package/wizishop-img-manager-15.0.3.tgz +0 -0
- package/wz-img-manager.scss +11 -1
- package/wizishop-img-manager-15.0.1.tgz +0 -0
|
@@ -2,6 +2,7 @@ import { HttpClient, HttpParams } from '@angular/common/http';
|
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ImgPictureDTO, ParamsImgManagerDTO } from '../dto/img-manager.dto';
|
|
4
4
|
import { ImgManagerDisplayConfig } from '../dto/export-dtos.api';
|
|
5
|
+
import { ImgManagerConfig } from '../dto/config/img-manager';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ImgManagerService {
|
|
7
8
|
private http;
|
|
@@ -26,7 +27,7 @@ export declare class ImgManagerService {
|
|
|
26
27
|
changeImgName(fileName: string, id_file: string): Observable<Object>;
|
|
27
28
|
removeImg(id_file: string): Observable<Object>;
|
|
28
29
|
removeMultipleImg(id_array: string[]): Observable<Object>;
|
|
29
|
-
getImgManagerDisplayConfig(displayName:
|
|
30
|
+
getImgManagerDisplayConfig(displayName: ImgManagerConfig): ImgManagerDisplayConfig;
|
|
30
31
|
getAllImgManagerDisplayConfig(): ImgManagerDisplayConfig[];
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgManagerService, never>;
|
|
32
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<ImgManagerService>;
|
|
@@ -50,9 +50,8 @@ import * as i48 from "ngx-image-cropper";
|
|
|
50
50
|
import * as i49 from "@angular/cdk/table";
|
|
51
51
|
import * as i50 from "@angular/cdk/drag-drop";
|
|
52
52
|
import * as i51 from "@ngx-translate/core";
|
|
53
|
-
import * as i52 from "ngx-perfect-scrollbar";
|
|
54
53
|
export declare class WzImgManagerModule {
|
|
55
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<WzImgManagerModule, never>;
|
|
56
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WzImgManagerModule, [typeof i1.WzImgManagerComponent, typeof i2.ImgTabsComponent, typeof i3.ImgUploadComponent, typeof i4.PexelLibComponent, typeof i5.ImgCardComponent, typeof i6.UploadListComponent, typeof i7.ImgEditorComponent, typeof i8.EditorInfoSectionComponent, typeof i9.CanvaBtnComponent, typeof i10.ImgSelectionComponent, typeof i11.LoaderComponent, typeof i12.DropdownComponent, typeof i13.CropperComponent, typeof i14.ImagesViewComponent, typeof i15.MosaicViewComponent, typeof i16.TableViewComponent, typeof i17.TableComponent, typeof i18.InputSearchComponent, typeof i19.PaginationComponent, typeof i20.CheckboxComponent, typeof i21.AlertComponent, typeof i22.PageSelectorComponent, typeof i23.SelectComponent, typeof i24.DragDropDirective, typeof i25.LoadingDirective, typeof i26.AutoHideDirective, typeof i27.CopyClipboardDirective, typeof i28.TableColumn, typeof i29.CheckBoxRow, typeof i30.TableColumnHeader, typeof i31.TableRow, typeof i32.AbstractDebounceDirective, typeof i33.DebounceKeyupDirective, typeof i34.ZindexToggleDirective, typeof i35.PagniationArrayTotalPages, typeof i36.PagniationIsLastPage, typeof i37.PagniationText, typeof i38.ImageSrcPipe, typeof i39.NumberToArray, typeof i40.LargeNumberOfPagePipe, typeof i41.SelectFiltersPipe], [typeof i42.CommonModule, typeof i43.HttpClientModule, typeof i44.FormsModule, typeof i45.NgScrollbarModule, typeof i46.NgScrollbarReachedModule, typeof i47.NwbAllModule, typeof i48.ImageCropperModule, typeof i49.CdkTableModule, typeof i50.DragDropModule, typeof i51.TranslateModule
|
|
55
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WzImgManagerModule, [typeof i1.WzImgManagerComponent, typeof i2.ImgTabsComponent, typeof i3.ImgUploadComponent, typeof i4.PexelLibComponent, typeof i5.ImgCardComponent, typeof i6.UploadListComponent, typeof i7.ImgEditorComponent, typeof i8.EditorInfoSectionComponent, typeof i9.CanvaBtnComponent, typeof i10.ImgSelectionComponent, typeof i11.LoaderComponent, typeof i12.DropdownComponent, typeof i13.CropperComponent, typeof i14.ImagesViewComponent, typeof i15.MosaicViewComponent, typeof i16.TableViewComponent, typeof i17.TableComponent, typeof i18.InputSearchComponent, typeof i19.PaginationComponent, typeof i20.CheckboxComponent, typeof i21.AlertComponent, typeof i22.PageSelectorComponent, typeof i23.SelectComponent, typeof i24.DragDropDirective, typeof i25.LoadingDirective, typeof i26.AutoHideDirective, typeof i27.CopyClipboardDirective, typeof i28.TableColumn, typeof i29.CheckBoxRow, typeof i30.TableColumnHeader, typeof i31.TableRow, typeof i32.AbstractDebounceDirective, typeof i33.DebounceKeyupDirective, typeof i34.ZindexToggleDirective, typeof i35.PagniationArrayTotalPages, typeof i36.PagniationIsLastPage, typeof i37.PagniationText, typeof i38.ImageSrcPipe, typeof i39.NumberToArray, typeof i40.LargeNumberOfPagePipe, typeof i41.SelectFiltersPipe], [typeof i42.CommonModule, typeof i43.HttpClientModule, typeof i44.FormsModule, typeof i45.NgScrollbarModule, typeof i46.NgScrollbarReachedModule, typeof i47.NwbAllModule, typeof i48.ImageCropperModule, typeof i49.CdkTableModule, typeof i50.DragDropModule, typeof i51.TranslateModule], [typeof i1.WzImgManagerComponent]>;
|
|
57
56
|
static ɵinj: i0.ɵɵInjectorDeclaration<WzImgManagerModule>;
|
|
58
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/img-manager",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.3",
|
|
4
4
|
"description": "The best and the most beautiful image manager.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,35 +16,34 @@
|
|
|
16
16
|
"author": "Geffrault Romain",
|
|
17
17
|
"license": "UNLICENSED",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"tslib": "^2.
|
|
19
|
+
"tslib": "^2.4.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/animations": "~
|
|
23
|
-
"@angular/cdk": "^
|
|
24
|
-
"@angular/common": "~
|
|
25
|
-
"@angular/core": "~
|
|
26
|
-
"@angular/forms": "~
|
|
27
|
-
"@angular/platform-browser": "~
|
|
28
|
-
"@angular/platform-browser-dynamic": "~
|
|
29
|
-
"@angular/router": "~
|
|
22
|
+
"@angular/animations": "~15.0.4",
|
|
23
|
+
"@angular/cdk": "^15.0.3",
|
|
24
|
+
"@angular/common": "~15.0.4",
|
|
25
|
+
"@angular/core": "~15.0.4",
|
|
26
|
+
"@angular/forms": "~15.0.4",
|
|
27
|
+
"@angular/platform-browser": "~15.0.4",
|
|
28
|
+
"@angular/platform-browser-dynamic": "~15.0.4",
|
|
29
|
+
"@angular/router": "~15.0.4",
|
|
30
30
|
"@ngx-translate/core": "^14.0.0",
|
|
31
31
|
"@ngx-translate/http-loader": "^7.0.0",
|
|
32
|
-
"@wizishop/img-manager": "^0.
|
|
33
|
-
"@wizishop/ng-wizi-bulma": "^
|
|
32
|
+
"@wizishop/img-manager": "^15.0.1",
|
|
33
|
+
"@wizishop/ng-wizi-bulma": "^15.0.3",
|
|
34
34
|
"bourbon": "^7.0.0",
|
|
35
35
|
"bulma": "^0.9.4",
|
|
36
36
|
"bulma-checkradio": "^2.1.3",
|
|
37
37
|
"bulma-extensions": "^6.2.7",
|
|
38
38
|
"bundle-scss": "^1.4.17",
|
|
39
39
|
"include-media": "^1.4.10",
|
|
40
|
-
"ngx-image-cropper": "^6.2
|
|
41
|
-
"ngx-perfect-scrollbar": "^10.1.1",
|
|
40
|
+
"ngx-image-cropper": "^6.3.2",
|
|
42
41
|
"ngx-scrollbar": "^10.0.0",
|
|
43
|
-
"nodemon": "^2.0.
|
|
44
|
-
"rxjs": "^7.
|
|
45
|
-
"sass": "^1.
|
|
42
|
+
"nodemon": "^2.0.20",
|
|
43
|
+
"rxjs": "^7.8.0",
|
|
44
|
+
"sass": "^1.57.1",
|
|
46
45
|
"sass-flex-mixin": "^1.0.3",
|
|
47
|
-
"zone.js": "
|
|
46
|
+
"zone.js": "^0.12.0"
|
|
48
47
|
},
|
|
49
48
|
"module": "fesm2015/wizishop-img-manager.mjs",
|
|
50
49
|
"es2020": "fesm2020/wizishop-img-manager.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export { ImgSelectionService } from './lib/services/img-selection.service';
|
|
|
4
4
|
export { ImgManagerService } from './lib/services/img-manager.service';
|
|
5
5
|
export { RenamePictureService } from './lib/services/rename-picture.service';
|
|
6
6
|
export { CanvaService } from './lib/services/canva.service';
|
|
7
|
+
export * from './lib/dto/ImgManagerDisplayConfig.dto';
|
|
7
8
|
export * from './lib/dto/export-dtos.api';
|
|
Binary file
|
package/wz-img-manager.scss
CHANGED
|
@@ -931,7 +931,7 @@ $tag-radius: rem(20px)!default;
|
|
|
931
931
|
|
|
932
932
|
&.fullSize {
|
|
933
933
|
& + .images-view__scroll {
|
|
934
|
-
max-height: 1160px;
|
|
934
|
+
max-height: 1160px!important;
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
|
|
@@ -942,13 +942,16 @@ $tag-radius: rem(20px)!default;
|
|
|
942
942
|
|
|
943
943
|
&--full {
|
|
944
944
|
max-height: calc(100vh - 160px)!important;
|
|
945
|
+
height: calc(100vh - 160px)!important;
|
|
945
946
|
min-height: calc(100vh - 160px) !important;
|
|
946
947
|
}
|
|
947
948
|
|
|
948
949
|
&--smallDisplay {
|
|
949
950
|
max-height: 275px!important;
|
|
951
|
+
height: 275px!important;
|
|
950
952
|
@include media('<tablet') {
|
|
951
953
|
max-height: calc(100vh - 90px)!important;
|
|
954
|
+
height: calc(100vh - 90px)!important;
|
|
952
955
|
min-height: calc(100vh - 90px) !important;
|
|
953
956
|
}
|
|
954
957
|
}
|
|
@@ -1134,6 +1137,7 @@ $tag-radius: rem(20px)!default;
|
|
|
1134
1137
|
@media screen and (max-width: 768px) {
|
|
1135
1138
|
.wz-img-manager .img-tabs__tabsFirst .img-tabs__tabsFirst__list .images-view__scroll {
|
|
1136
1139
|
max-height: none!important;
|
|
1140
|
+
height: none!important;
|
|
1137
1141
|
|
|
1138
1142
|
.ng-scroll-content {
|
|
1139
1143
|
margin: 0 !important;
|
|
@@ -1149,13 +1153,16 @@ $tag-radius: rem(20px)!default;
|
|
|
1149
1153
|
|
|
1150
1154
|
&--full {
|
|
1151
1155
|
max-height: calc(100vh - 90px)!important;
|
|
1156
|
+
height: calc(100vh - 90px)!important;
|
|
1152
1157
|
min-height: calc(100vh - 90px) !important;
|
|
1153
1158
|
}
|
|
1154
1159
|
|
|
1155
1160
|
&--smallDisplay {
|
|
1156
1161
|
max-height: 275px!important;
|
|
1162
|
+
height: 275px!important;
|
|
1157
1163
|
@include media('<tablet') {
|
|
1158
1164
|
max-height: calc(100vh - 90px)!important;
|
|
1165
|
+
height: calc(100vh - 90px)!important;
|
|
1159
1166
|
min-height: calc(100vh - 90px) !important;
|
|
1160
1167
|
}
|
|
1161
1168
|
}
|
|
@@ -2193,6 +2200,7 @@ $tag-radius: rem(20px)!default;
|
|
|
2193
2200
|
|
|
2194
2201
|
&--smallDisplay {
|
|
2195
2202
|
max-height: 260px!important;
|
|
2203
|
+
height: 260px!important;
|
|
2196
2204
|
|
|
2197
2205
|
.upload-list__box {
|
|
2198
2206
|
margin-bottom: 20px;
|
|
@@ -2201,6 +2209,7 @@ $tag-radius: rem(20px)!default;
|
|
|
2201
2209
|
|
|
2202
2210
|
&--window {
|
|
2203
2211
|
max-height: none;
|
|
2212
|
+
height: none;
|
|
2204
2213
|
}
|
|
2205
2214
|
|
|
2206
2215
|
.ng-scroll-content {
|
|
@@ -3879,6 +3888,7 @@ $card-img-size-small: 140px;
|
|
|
3879
3888
|
font-size: rem(12);
|
|
3880
3889
|
line-height: rem(14);
|
|
3881
3890
|
color: $img-grey-color;
|
|
3891
|
+
width: auto;
|
|
3882
3892
|
white-space: nowrap;
|
|
3883
3893
|
overflow: hidden;
|
|
3884
3894
|
text-overflow: ellipsis;
|
|
Binary file
|