@wizishop/img-manager 15.2.11 → 15.2.12
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/README.md +40 -1
- package/esm2020/lib/components/images-view/images-actions-handler.mjs +5 -2
- package/esm2020/lib/services/api.service.mjs +1 -1
- package/esm2020/lib/services/image-not-found.service.mjs +13 -0
- package/esm2020/lib/services/img-event.service.mjs +1 -1
- package/esm2020/lib/wz-img-manager.module.mjs +5 -3
- package/fesm2015/wizishop-img-manager.mjs +17 -2
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +17 -2
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/lib/components/images-view/images-actions-handler.d.ts +1 -0
- package/lib/services/image-not-found.service.d.ts +6 -0
- package/lib/wz-img-manager.module.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-img-manager-15.2.12.tgz +0 -0
- package/wz-img-manager.scss +110 -110
- package/wizishop-img-manager-15.2.11.tgz +0 -0
|
@@ -36,6 +36,7 @@ export declare abstract class ImagesActionHandler {
|
|
|
36
36
|
private getDataAPISub;
|
|
37
37
|
private errorRemoveImg;
|
|
38
38
|
private errorAlreadyUsedImg;
|
|
39
|
+
private imageNotFoundService;
|
|
39
40
|
constructor(imgManager: ImgManagerService, imgSelectionService: ImgSelectionService, http: HttpClient, imgCDNService: ImgCDNService, imgEventCardService: ImgEventService, alertService: AlertService, translateService: TranslateService, apiService: ApiService);
|
|
40
41
|
/** Event emit when the header checkbox is checked */
|
|
41
42
|
onToggleAllCheckBoxRow(event: any): void;
|
|
@@ -52,7 +52,7 @@ import * as i49 from "@angular/cdk/table";
|
|
|
52
52
|
import * as i50 from "@angular/cdk/drag-drop";
|
|
53
53
|
import * as i51 from "@ngx-translate/core";
|
|
54
54
|
export declare class WzImgManagerModule {
|
|
55
|
-
static withConfig(ApiService: Provider): ModuleWithProviders<WzImgManagerModule>;
|
|
55
|
+
static withConfig(ApiService: Provider, ImageNotFoundProvider?: Provider): ModuleWithProviders<WzImgManagerModule>;
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<WzImgManagerModule, never>;
|
|
57
57
|
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]>;
|
|
58
58
|
static ɵinj: i0.ɵɵInjectorDeclaration<WzImgManagerModule>;
|
package/package.json
CHANGED
|
Binary file
|
package/wz-img-manager.scss
CHANGED
|
@@ -2729,115 +2729,6 @@ $green-color: #2ecc71;
|
|
|
2729
2729
|
line-height: rem(25);
|
|
2730
2730
|
}
|
|
2731
2731
|
}
|
|
2732
|
-
.wz-img-manager .is-checkradio[type='checkbox'] {
|
|
2733
|
-
outline: 0 !important;
|
|
2734
|
-
& + label {
|
|
2735
|
-
font-size: rem(14);
|
|
2736
|
-
line-height: rem(24);
|
|
2737
|
-
color: $input-radio-color-label;
|
|
2738
|
-
padding-left: 26px;
|
|
2739
|
-
outline: 0 !important;
|
|
2740
|
-
&:before {
|
|
2741
|
-
width: 16px;
|
|
2742
|
-
height: 16px;
|
|
2743
|
-
border: 1px solid $border-color;
|
|
2744
|
-
top: 4px;
|
|
2745
|
-
transition: all 0.3s ease-in-out;
|
|
2746
|
-
}
|
|
2747
|
-
&:after {
|
|
2748
|
-
top: 6.3px !important;
|
|
2749
|
-
left: 3px !important;
|
|
2750
|
-
width: 10px;
|
|
2751
|
-
height: 12px;
|
|
2752
|
-
border: none !important;
|
|
2753
|
-
background: transparent
|
|
2754
|
-
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
|
|
2755
|
-
center center / 8px 8px no-repeat;
|
|
2756
|
-
transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
|
|
2757
|
-
transition: all 0.3s ease-in-out;
|
|
2758
|
-
}
|
|
2759
|
-
&:hover,
|
|
2760
|
-
&:focus {
|
|
2761
|
-
&:before {
|
|
2762
|
-
border-color: $input-active-color !important;
|
|
2763
|
-
}
|
|
2764
|
-
}
|
|
2765
|
-
&:before,
|
|
2766
|
-
&:after {
|
|
2767
|
-
outline: 0 !important;
|
|
2768
|
-
}
|
|
2769
|
-
}
|
|
2770
|
-
&:hover {
|
|
2771
|
-
& + label {
|
|
2772
|
-
color: $input-radio-color-active-label;
|
|
2773
|
-
&:before {
|
|
2774
|
-
border-color: $input-active-color !important;
|
|
2775
|
-
}
|
|
2776
|
-
&:after {
|
|
2777
|
-
border-color: $white !important;
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
&:not([disabled]) {
|
|
2781
|
-
& + label {
|
|
2782
|
-
&:before {
|
|
2783
|
-
border-color: $input-active-color !important;
|
|
2784
|
-
}
|
|
2785
|
-
}
|
|
2786
|
-
}
|
|
2787
|
-
}
|
|
2788
|
-
&:checked + label {
|
|
2789
|
-
color: $input-radio-color-active-label;
|
|
2790
|
-
&:before {
|
|
2791
|
-
border: 1px solid $input-active-color;
|
|
2792
|
-
background-color: $input-active-color;
|
|
2793
|
-
transition: all 0.3s ease-in-out;
|
|
2794
|
-
}
|
|
2795
|
-
&:after {
|
|
2796
|
-
left: 7px;
|
|
2797
|
-
top: 8px;
|
|
2798
|
-
transition: all 0.3s ease-in-out;
|
|
2799
|
-
}
|
|
2800
|
-
}
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
.wz-img-manager .field {
|
|
2804
|
-
&__row {
|
|
2805
|
-
min-width: 100%;
|
|
2806
|
-
margin: 0 0 10px;
|
|
2807
|
-
}
|
|
2808
|
-
&--nowrap {
|
|
2809
|
-
display: inline-block;
|
|
2810
|
-
width: auto;
|
|
2811
|
-
min-width: 0;
|
|
2812
|
-
margin: 0 10px 10px 0;
|
|
2813
|
-
.field {
|
|
2814
|
-
&__row {
|
|
2815
|
-
width: auto;
|
|
2816
|
-
display: inline-block;
|
|
2817
|
-
margin: 0;
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
}
|
|
2821
|
-
&.alone {
|
|
2822
|
-
.is-checkradio[type='checkbox'] {
|
|
2823
|
-
& + label {
|
|
2824
|
-
padding: 0;
|
|
2825
|
-
&:before {
|
|
2826
|
-
border-width: 1px;
|
|
2827
|
-
width: 16px;
|
|
2828
|
-
height: 16px;
|
|
2829
|
-
border-radius: 2px;
|
|
2830
|
-
}
|
|
2831
|
-
}
|
|
2832
|
-
&:checked + label {
|
|
2833
|
-
&:after {
|
|
2834
|
-
top: 7px;
|
|
2835
|
-
transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
}
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2841
2732
|
.wz-img-manager .dropdownWizi {
|
|
2842
2733
|
padding: 10px;
|
|
2843
2734
|
|
|
@@ -2952,7 +2843,116 @@ $green-color: #2ecc71;
|
|
|
2952
2843
|
|
|
2953
2844
|
.dropdownWizi:not(.is-hoverable) {
|
|
2954
2845
|
cursor: not-allowed;
|
|
2955
|
-
}.wz-img-manager
|
|
2846
|
+
}.wz-img-manager .is-checkradio[type='checkbox'] {
|
|
2847
|
+
outline: 0 !important;
|
|
2848
|
+
& + label {
|
|
2849
|
+
font-size: rem(14);
|
|
2850
|
+
line-height: rem(24);
|
|
2851
|
+
color: $input-radio-color-label;
|
|
2852
|
+
padding-left: 26px;
|
|
2853
|
+
outline: 0 !important;
|
|
2854
|
+
&:before {
|
|
2855
|
+
width: 16px;
|
|
2856
|
+
height: 16px;
|
|
2857
|
+
border: 1px solid $border-color;
|
|
2858
|
+
top: 4px;
|
|
2859
|
+
transition: all 0.3s ease-in-out;
|
|
2860
|
+
}
|
|
2861
|
+
&:after {
|
|
2862
|
+
top: 6.3px !important;
|
|
2863
|
+
left: 3px !important;
|
|
2864
|
+
width: 10px;
|
|
2865
|
+
height: 12px;
|
|
2866
|
+
border: none !important;
|
|
2867
|
+
background: transparent
|
|
2868
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
|
|
2869
|
+
center center / 8px 8px no-repeat;
|
|
2870
|
+
transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
|
|
2871
|
+
transition: all 0.3s ease-in-out;
|
|
2872
|
+
}
|
|
2873
|
+
&:hover,
|
|
2874
|
+
&:focus {
|
|
2875
|
+
&:before {
|
|
2876
|
+
border-color: $input-active-color !important;
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
&:before,
|
|
2880
|
+
&:after {
|
|
2881
|
+
outline: 0 !important;
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
&:hover {
|
|
2885
|
+
& + label {
|
|
2886
|
+
color: $input-radio-color-active-label;
|
|
2887
|
+
&:before {
|
|
2888
|
+
border-color: $input-active-color !important;
|
|
2889
|
+
}
|
|
2890
|
+
&:after {
|
|
2891
|
+
border-color: $white !important;
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
&:not([disabled]) {
|
|
2895
|
+
& + label {
|
|
2896
|
+
&:before {
|
|
2897
|
+
border-color: $input-active-color !important;
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
&:checked + label {
|
|
2903
|
+
color: $input-radio-color-active-label;
|
|
2904
|
+
&:before {
|
|
2905
|
+
border: 1px solid $input-active-color;
|
|
2906
|
+
background-color: $input-active-color;
|
|
2907
|
+
transition: all 0.3s ease-in-out;
|
|
2908
|
+
}
|
|
2909
|
+
&:after {
|
|
2910
|
+
left: 7px;
|
|
2911
|
+
top: 8px;
|
|
2912
|
+
transition: all 0.3s ease-in-out;
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
.wz-img-manager .field {
|
|
2918
|
+
&__row {
|
|
2919
|
+
min-width: 100%;
|
|
2920
|
+
margin: 0 0 10px;
|
|
2921
|
+
}
|
|
2922
|
+
&--nowrap {
|
|
2923
|
+
display: inline-block;
|
|
2924
|
+
width: auto;
|
|
2925
|
+
min-width: 0;
|
|
2926
|
+
margin: 0 10px 10px 0;
|
|
2927
|
+
.field {
|
|
2928
|
+
&__row {
|
|
2929
|
+
width: auto;
|
|
2930
|
+
display: inline-block;
|
|
2931
|
+
margin: 0;
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
&.alone {
|
|
2936
|
+
.is-checkradio[type='checkbox'] {
|
|
2937
|
+
& + label {
|
|
2938
|
+
padding: 0;
|
|
2939
|
+
&:before {
|
|
2940
|
+
border-width: 1px;
|
|
2941
|
+
width: 16px;
|
|
2942
|
+
height: 16px;
|
|
2943
|
+
border-radius: 2px;
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
&:checked + label {
|
|
2947
|
+
&:after {
|
|
2948
|
+
top: 7px;
|
|
2949
|
+
transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
.wz-img-manager .input-search.field {
|
|
2956
2956
|
padding: 10px 20px;
|
|
2957
2957
|
background-color: $gray-background;
|
|
2958
2958
|
@include media('<tablet') {
|
|
Binary file
|