@wizishop/img-manager 15.2.54 → 15.2.57
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/assets/i18n/en.json +1 -1
- package/assets/i18n/es.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/assets/i18n/it.json +1 -1
- package/esm2020/lib/components/images-view/images-actions-handler.mjs +13 -2
- package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +3 -3
- package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +14 -3
- package/esm2020/lib/services/img-manager.service.mjs +45 -2
- package/fesm2015/wizishop-img-manager.mjs +74 -6
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +71 -6
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/lib/components/images-view/images-actions-handler.d.ts +1 -0
- package/lib/components/images-view/table-view/table-view.component.d.ts +1 -0
- package/lib/services/img-manager.service.d.ts +3 -0
- package/package.json +2 -2
- package/wizishop-img-manager-15.2.57.tgz +0 -0
- package/wz-img-manager.scss +40 -2
- package/wizishop-img-manager-15.2.54.tgz +0 -0
|
@@ -44,6 +44,7 @@ export declare abstract class ImagesActionHandler {
|
|
|
44
44
|
/** Event emit each time filters change */
|
|
45
45
|
onFiltersChange(): void;
|
|
46
46
|
onEdit(picture: ImgPictureDTO): void;
|
|
47
|
+
copyLink(file_name: string): void;
|
|
47
48
|
onToggleSelectImg(index: number): void;
|
|
48
49
|
onRemoveImg(picture: ImgPictureDTO): void;
|
|
49
50
|
onPictureNotLoading(event: any): void;
|
|
@@ -13,6 +13,7 @@ export declare class TableViewComponent extends ImagesActionHandler implements O
|
|
|
13
13
|
dataTableName: string;
|
|
14
14
|
constructor(imgManager: ImgManagerService, imgSelectionService: ImgSelectionService, http: HttpClient, imgCDNService: ImgCDNService, imgEventCardService: ImgEventService, alertService: AlertService, translateService: TranslateService, apiService: ApiService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
|
+
copyImageLink(file_name: string): Promise<void>;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableViewComponent, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableViewComponent, "table-view", never, {}, {}, never, never, false, never>;
|
|
18
19
|
}
|
|
@@ -6,6 +6,7 @@ import { ImgManagerConfig } from '../dto/config/img-manager';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ImgManagerService {
|
|
8
8
|
private readonly uploadService;
|
|
9
|
+
private readonly ngZone;
|
|
9
10
|
params: HttpParams;
|
|
10
11
|
private pageFicheProductConfig;
|
|
11
12
|
private angularFicheProductConfig;
|
|
@@ -36,6 +37,8 @@ export declare class ImgManagerService {
|
|
|
36
37
|
getImgManagerDisplayConfig(displayName: ImgManagerConfig): ImgManagerDisplayConfig;
|
|
37
38
|
getAllImgManagerDisplayConfig(): ImgManagerDisplayConfig[];
|
|
38
39
|
ngOnDestroy(): void;
|
|
40
|
+
copyToClipboard(url: string): Promise<boolean>;
|
|
41
|
+
private fallbackCopyToClipboard;
|
|
39
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgManagerService, never>;
|
|
40
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<ImgManagerService>;
|
|
41
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/img-manager",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.57",
|
|
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": "~15.0.4",
|
|
30
30
|
"@ngx-translate/core": "^14.0.0",
|
|
31
31
|
"@ngx-translate/http-loader": "^7.0.0",
|
|
32
|
-
"@wizishop/img-manager": "^15.
|
|
32
|
+
"@wizishop/img-manager": "^15.2.57",
|
|
33
33
|
"@wizishop/ng-wizi-bulma": "^15.0.3",
|
|
34
34
|
"bourbon": "^7.0.0",
|
|
35
35
|
"bulma": "^0.9.4",
|
|
Binary file
|
package/wz-img-manager.scss
CHANGED
|
@@ -29,6 +29,7 @@ $img-primary-button-desable: #dbdbdb!default;
|
|
|
29
29
|
|
|
30
30
|
$img-grey-color: #6B7881!default;
|
|
31
31
|
$img-green-color: #2ecc71!default;
|
|
32
|
+
$img-green-color-secondary: #27ae60!default;
|
|
32
33
|
$img-yellow-color: #faa945!default;
|
|
33
34
|
$img-orange-color: #F39C12!default;
|
|
34
35
|
$img-bleu-action: #3498DB!default;
|
|
@@ -2663,8 +2664,35 @@ $tag-radius: rem(20px)!default;
|
|
|
2663
2664
|
|
|
2664
2665
|
.grey {
|
|
2665
2666
|
color: $img-grey-color;
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
.buttonCopy {
|
|
2670
|
+
background-color: $img-green-color; // Vert léger
|
|
2671
|
+
border: 1px solid $img-green-color; // Bordure verte légère
|
|
2672
|
+
border-radius: 4px;
|
|
2673
|
+
padding: 8px 12px;
|
|
2674
|
+
cursor: pointer;
|
|
2675
|
+
transition: all 0.2s ease;
|
|
2676
|
+
|
|
2677
|
+
i {
|
|
2678
|
+
color: $img-white; // Icône verte
|
|
2679
|
+
transition: color 0.2s ease;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
&:hover {
|
|
2683
|
+
background-color: $img-green-color-secondary; // Vert plus foncé au survol
|
|
2684
|
+
border-color: $img-green-color-secondary;
|
|
2685
|
+
|
|
2686
|
+
i {
|
|
2687
|
+
color: $img-white; // Icône verte plus foncée au survol
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
&:active {
|
|
2692
|
+
background-color: #b1dfbb;
|
|
2693
|
+
transform: scale(0.98);
|
|
2694
|
+
}
|
|
2695
|
+
}image-cropper {
|
|
2668
2696
|
max-height: 60vh;
|
|
2669
2697
|
}.img-editor__infoSection__propertySEO__tooltips {
|
|
2670
2698
|
i {
|
|
@@ -3760,6 +3788,13 @@ $card-img-size-small: 140px;
|
|
|
3760
3788
|
background-color: $img-orange-color;
|
|
3761
3789
|
}
|
|
3762
3790
|
}
|
|
3791
|
+
&.copy {
|
|
3792
|
+
background-color: $img-green-color;
|
|
3793
|
+
transition: transform .3s ease .15s;
|
|
3794
|
+
span, &:before {
|
|
3795
|
+
background-color: $img-green-color;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3763
3798
|
&.deleted {
|
|
3764
3799
|
background-color: $img-red-color;
|
|
3765
3800
|
transition: transform .3s ease .15s;
|
|
@@ -3972,6 +4007,9 @@ $card-img-size-small: 140px;
|
|
|
3972
4007
|
&.edit {
|
|
3973
4008
|
transition: transform .3s ease .3s;
|
|
3974
4009
|
}
|
|
4010
|
+
&.copy {
|
|
4011
|
+
transition: transform .3s ease .45s;
|
|
4012
|
+
}
|
|
3975
4013
|
&.deleted {
|
|
3976
4014
|
transition: transform .3s ease .45s;
|
|
3977
4015
|
}
|
|
Binary file
|