@wizishop/img-manager 15.2.62 → 15.2.63
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 +5 -1
- package/esm2020/lib/components/images-view/images-view.component.mjs +12 -9
- 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 +3 -3
- package/esm2020/lib/components/img-editor/img-editor.component.mjs +44 -7
- package/esm2020/lib/components/img-editor/info-video/info-video.component.mjs +62 -0
- package/esm2020/lib/components/img-editor/show-iframe/show-iframe.component.mjs +105 -0
- package/esm2020/lib/components/img-selection/img-selection.component.mjs +3 -3
- package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +12 -3
- package/esm2020/lib/components/shared/table/table.component.mjs +2 -1
- package/esm2020/lib/dto/img-manager.dto.mjs +1 -1
- package/esm2020/lib/services/api.service.mjs +1 -1
- package/esm2020/lib/services/img-event.service.mjs +8 -1
- package/esm2020/lib/services/img-manager.service.mjs +4 -3
- package/esm2020/lib/services/rename-picture.service.mjs +4 -1
- package/esm2020/lib/services/table/filters-table.service.mjs +2 -1
- package/esm2020/lib/services/video-info.service.mjs +87 -0
- package/esm2020/lib/wz-img-manager.module.mjs +7 -1
- package/fesm2015/wizishop-img-manager.mjs +321 -16
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +319 -15
- 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/images-view.component.d.ts +3 -2
- package/lib/components/img-editor/img-editor.component.d.ts +8 -1
- package/lib/components/img-editor/info-video/info-video.component.d.ts +20 -0
- package/lib/components/img-editor/show-iframe/show-iframe.component.d.ts +16 -0
- package/lib/components/img-tabs/img-tabs.component.d.ts +1 -0
- package/lib/dto/img-manager.dto.d.ts +9 -0
- package/lib/services/api.service.d.ts +1 -0
- package/lib/services/img-event.service.d.ts +3 -0
- package/lib/services/img-manager.service.d.ts +8 -14
- package/lib/services/rename-picture.service.d.ts +1 -0
- package/lib/services/table/filters-table.service.d.ts +1 -0
- package/lib/services/video-info.service.d.ts +23 -0
- package/lib/wz-img-manager.module.d.ts +46 -44
- package/package.json +1 -1
- package/wizishop-img-manager-15.2.63.tgz +0 -0
- package/wz-img-manager.scss +302 -11
- package/wizishop-img-manager-15.2.62.tgz +0 -0
package/wz-img-manager.scss
CHANGED
|
@@ -592,6 +592,22 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
|
|
|
592
592
|
overflow: scroll;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
+
|
|
596
|
+
.img-tabs {
|
|
597
|
+
&.small {
|
|
598
|
+
@include media('>=desktop') {
|
|
599
|
+
.img-tabs__tabsFirst__upload + .img-tabs__tabsFirst__list {
|
|
600
|
+
.img-card {
|
|
601
|
+
&:hover, &:focus {
|
|
602
|
+
.img-card__container__video {
|
|
603
|
+
display: none;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
595
611
|
.wz-img-manager {
|
|
596
612
|
|
|
597
613
|
&__selectionHandler {
|
|
@@ -987,7 +1003,7 @@ $tag-radius: rem(20px)!default;
|
|
|
987
1003
|
&__container {
|
|
988
1004
|
display: flex;
|
|
989
1005
|
justify-content: space-between;
|
|
990
|
-
margin: 0 0
|
|
1006
|
+
margin: 0 0;
|
|
991
1007
|
|
|
992
1008
|
> div {
|
|
993
1009
|
display: flex;
|
|
@@ -998,7 +1014,7 @@ $tag-radius: rem(20px)!default;
|
|
|
998
1014
|
}
|
|
999
1015
|
|
|
1000
1016
|
&--window {
|
|
1001
|
-
margin: rem(30) 0
|
|
1017
|
+
margin: rem(30) 0 0;
|
|
1002
1018
|
}
|
|
1003
1019
|
|
|
1004
1020
|
&--uploadTab {
|
|
@@ -1150,6 +1166,32 @@ $tag-radius: rem(20px)!default;
|
|
|
1150
1166
|
}
|
|
1151
1167
|
}
|
|
1152
1168
|
}
|
|
1169
|
+
|
|
1170
|
+
.filter-video {
|
|
1171
|
+
width: 100%;
|
|
1172
|
+
margin: 0 0 20px;
|
|
1173
|
+
label {
|
|
1174
|
+
display: flex;
|
|
1175
|
+
gap: 10px;
|
|
1176
|
+
width: fit-content;
|
|
1177
|
+
align-items: center;
|
|
1178
|
+
}
|
|
1179
|
+
span {
|
|
1180
|
+
font-weight: 500;
|
|
1181
|
+
}
|
|
1182
|
+
select {
|
|
1183
|
+
padding: 0 10px;
|
|
1184
|
+
min-height: 25px;
|
|
1185
|
+
line-height: 25px;
|
|
1186
|
+
border: 1px solid $img-input-border;
|
|
1187
|
+
appearance: none;
|
|
1188
|
+
-webkit-appearance: none;
|
|
1189
|
+
-moz-appearance: none;
|
|
1190
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='black' fill='none'/%3E%3C/svg%3E");
|
|
1191
|
+
background-repeat: no-repeat;
|
|
1192
|
+
background-position: right 10px center;
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1153
1195
|
.wz-img-manager .img-editor {
|
|
1154
1196
|
&__scroll {
|
|
1155
1197
|
position: relative;
|
|
@@ -1336,6 +1378,10 @@ $tag-radius: rem(20px)!default;
|
|
|
1336
1378
|
padding: 0;
|
|
1337
1379
|
margin: 0 rem(30) 0 0;
|
|
1338
1380
|
|
|
1381
|
+
&, * {
|
|
1382
|
+
box-sizing: border-box;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1339
1385
|
&__propertyEditable {
|
|
1340
1386
|
margin-bottom: 31px;
|
|
1341
1387
|
p {
|
|
@@ -1468,6 +1514,31 @@ $tag-radius: rem(20px)!default;
|
|
|
1468
1514
|
.wz-img-manager .marginBottom {
|
|
1469
1515
|
margin-bottom: 20px;
|
|
1470
1516
|
}
|
|
1517
|
+
|
|
1518
|
+
.img-editorVideo__tabs {
|
|
1519
|
+
display: flex;
|
|
1520
|
+
justify-content: flex-start;
|
|
1521
|
+
align-items: center;
|
|
1522
|
+
gap: 20px;
|
|
1523
|
+
list-style-type: none;
|
|
1524
|
+
width: 100%;
|
|
1525
|
+
margin: 0 0 30px;
|
|
1526
|
+
li {
|
|
1527
|
+
cursor: pointer;
|
|
1528
|
+
padding-bottom: 8px;
|
|
1529
|
+
font-size: rem(14);
|
|
1530
|
+
color: $img-second-color;
|
|
1531
|
+
border-bottom: 1px solid transparent;
|
|
1532
|
+
transition: .3s ease;
|
|
1533
|
+
&:hover {
|
|
1534
|
+
color: $main-text;
|
|
1535
|
+
}
|
|
1536
|
+
&.active {
|
|
1537
|
+
color: $main-text;
|
|
1538
|
+
border-bottom: 1px solid $img-main-color;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1471
1542
|
// Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
|
|
1472
1543
|
.wz-img-manager .img-selection {
|
|
1473
1544
|
background-color: white;
|
|
@@ -1501,6 +1572,27 @@ $tag-radius: rem(20px)!default;
|
|
|
1501
1572
|
transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
|
|
1502
1573
|
}
|
|
1503
1574
|
}
|
|
1575
|
+
&__video {
|
|
1576
|
+
width: fit-content;
|
|
1577
|
+
height: 30px;
|
|
1578
|
+
display: flex;
|
|
1579
|
+
justify-content: center;
|
|
1580
|
+
align-items: center;
|
|
1581
|
+
position: absolute;
|
|
1582
|
+
top: 10px;
|
|
1583
|
+
left: 10px;
|
|
1584
|
+
background-color: rgba(29, 42, 59, 0.8);
|
|
1585
|
+
gap: 5px;
|
|
1586
|
+
border-radius: 3px;
|
|
1587
|
+
padding: 0 10px;
|
|
1588
|
+
color: white;
|
|
1589
|
+
font-size: rem(12);
|
|
1590
|
+
font-weight: 500;
|
|
1591
|
+
i {
|
|
1592
|
+
color: white;
|
|
1593
|
+
font-size: rem(14);
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1504
1596
|
.delete-btn {
|
|
1505
1597
|
position: absolute;
|
|
1506
1598
|
top: 100%;
|
|
@@ -2562,6 +2654,28 @@ $tag-radius: rem(20px)!default;
|
|
|
2562
2654
|
padding-top: 100%;
|
|
2563
2655
|
}
|
|
2564
2656
|
|
|
2657
|
+
&__container__video {
|
|
2658
|
+
height: 16px;
|
|
2659
|
+
width: 60px;
|
|
2660
|
+
display: flex;
|
|
2661
|
+
justify-content: center;
|
|
2662
|
+
align-items: center;
|
|
2663
|
+
position: absolute;
|
|
2664
|
+
bottom: 0;
|
|
2665
|
+
left: 0;
|
|
2666
|
+
background-color: rgba(29, 42, 59, 0.8);
|
|
2667
|
+
gap: 5px;
|
|
2668
|
+
border-radius: 3px;
|
|
2669
|
+
padding: 0;
|
|
2670
|
+
color: white;
|
|
2671
|
+
font-size: rem(10);
|
|
2672
|
+
font-weight: 500;
|
|
2673
|
+
i {
|
|
2674
|
+
color: white;
|
|
2675
|
+
font-size: rem(10);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2565
2679
|
&__img {
|
|
2566
2680
|
margin: 0!important;
|
|
2567
2681
|
position: absolute;
|
|
@@ -2662,42 +2776,180 @@ $tag-radius: rem(20px)!default;
|
|
|
2662
2776
|
|
|
2663
2777
|
.grey {
|
|
2664
2778
|
color: $img-grey-color;
|
|
2665
|
-
}
|
|
2779
|
+
}
|
|
2666
2780
|
|
|
2667
|
-
.buttonCopy {
|
|
2781
|
+
.buttonCopy {
|
|
2668
2782
|
background-color: $img-green-color; // Vert léger
|
|
2669
2783
|
border: 1px solid $img-green-color; // Bordure verte légère
|
|
2670
2784
|
border-radius: 4px;
|
|
2671
2785
|
padding: 8px 12px;
|
|
2672
2786
|
cursor: pointer;
|
|
2673
2787
|
transition: all 0.2s ease;
|
|
2674
|
-
|
|
2788
|
+
|
|
2675
2789
|
i {
|
|
2676
2790
|
color: $img-white; // Icône verte
|
|
2677
2791
|
transition: color 0.2s ease;
|
|
2678
2792
|
}
|
|
2679
|
-
|
|
2793
|
+
|
|
2680
2794
|
&:hover {
|
|
2681
2795
|
background-color: $img-green-color-secondary; // Vert plus foncé au survol
|
|
2682
2796
|
border-color: $img-green-color-secondary;
|
|
2683
|
-
|
|
2797
|
+
|
|
2684
2798
|
i {
|
|
2685
2799
|
color: $img-white; // Icône verte plus foncée au survol
|
|
2686
2800
|
}
|
|
2687
2801
|
}
|
|
2688
|
-
|
|
2802
|
+
|
|
2689
2803
|
&:active {
|
|
2690
2804
|
background-color: #b1dfbb;
|
|
2691
2805
|
transform: scale(0.98);
|
|
2692
2806
|
}
|
|
2693
|
-
}
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
.wrap-name-info {
|
|
2810
|
+
width: 100%;
|
|
2811
|
+
> p {
|
|
2812
|
+
padding: 0 0 0 15px;
|
|
2813
|
+
display: flex;
|
|
2814
|
+
align-items: center;
|
|
2815
|
+
gap: 10px;
|
|
2816
|
+
color: $wizishop-blue;
|
|
2817
|
+
font-size: rem(14);
|
|
2818
|
+
i {
|
|
2819
|
+
color: $wizishop-blue;
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
image-cropper {
|
|
2694
2824
|
max-height: 60vh;
|
|
2695
2825
|
}.img-editor__infoSection__propertySEO__tooltips {
|
|
2696
2826
|
i {
|
|
2697
2827
|
font-size: rem(16);
|
|
2698
2828
|
color: $main-text;
|
|
2699
2829
|
}
|
|
2700
|
-
}
|
|
2830
|
+
}.info-video {
|
|
2831
|
+
width: 100%;
|
|
2832
|
+
&, * {
|
|
2833
|
+
box-sizing: border-box;
|
|
2834
|
+
}
|
|
2835
|
+
&__wrapper {
|
|
2836
|
+
width: 100%;
|
|
2837
|
+
display: flex;
|
|
2838
|
+
flex-direction: column;
|
|
2839
|
+
justify-content: flex-start;
|
|
2840
|
+
align-items: flex-start;
|
|
2841
|
+
gap: 30px;
|
|
2842
|
+
&__top {
|
|
2843
|
+
width: 100%;
|
|
2844
|
+
display: flex;
|
|
2845
|
+
flex-direction: column;
|
|
2846
|
+
justify-content: flex-start;
|
|
2847
|
+
align-items: flex-start;
|
|
2848
|
+
gap: 12px;
|
|
2849
|
+
> label {
|
|
2850
|
+
font-size: rem(14);
|
|
2851
|
+
font-weight: 500;
|
|
2852
|
+
color: $main-text;
|
|
2853
|
+
i {
|
|
2854
|
+
font-size: rem(14);
|
|
2855
|
+
font-weight: 400;
|
|
2856
|
+
color: $img-second-color;
|
|
2857
|
+
margin: 0 0 0 5px;
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2860
|
+
> span {
|
|
2861
|
+
font-size: rem(12);
|
|
2862
|
+
color: $img-second-color;
|
|
2863
|
+
margin-top: -2px;
|
|
2864
|
+
}
|
|
2865
|
+
> input {
|
|
2866
|
+
width: 100%;
|
|
2867
|
+
height: rem(40);
|
|
2868
|
+
border: 1px solid $img-input-border;
|
|
2869
|
+
border-radius: rem(3);
|
|
2870
|
+
color: $img-main-text;
|
|
2871
|
+
padding: 0 rem(20);
|
|
2872
|
+
font-size: rem(14);
|
|
2873
|
+
&:hover, &:focus {
|
|
2874
|
+
color: $main-text;
|
|
2875
|
+
border-color: $main-text;
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
&__bottom {
|
|
2880
|
+
width: 100%;
|
|
2881
|
+
display: flex;
|
|
2882
|
+
flex-direction: column;
|
|
2883
|
+
justify-content: flex-start;
|
|
2884
|
+
align-items: flex-start;
|
|
2885
|
+
gap: 15px;
|
|
2886
|
+
&.has-border {
|
|
2887
|
+
padding-bottom: 32px;
|
|
2888
|
+
border-bottom: 2px solid $img-input-border;
|
|
2889
|
+
}
|
|
2890
|
+
> strong {
|
|
2891
|
+
font-size: rem(16);
|
|
2892
|
+
font-weight: 600;
|
|
2893
|
+
color: $main-text;
|
|
2894
|
+
}
|
|
2895
|
+
> p {
|
|
2896
|
+
font-size: rem(14);
|
|
2897
|
+
font-weight: 400;
|
|
2898
|
+
color: $main-text;
|
|
2899
|
+
display: flex;
|
|
2900
|
+
align-items: center;
|
|
2901
|
+
width: 100%;
|
|
2902
|
+
> span {
|
|
2903
|
+
white-space: nowrap;
|
|
2904
|
+
&:first-child {
|
|
2905
|
+
width: 100%;
|
|
2906
|
+
}
|
|
2907
|
+
&:last-child {
|
|
2908
|
+
width: auto;
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
& > a {
|
|
2914
|
+
color: $img-bright-red-color;
|
|
2915
|
+
text-decoration: underline;
|
|
2916
|
+
transition: .3s ease;
|
|
2917
|
+
cursor: pointer;
|
|
2918
|
+
font-size: rem(14);
|
|
2919
|
+
font-weight: 400;
|
|
2920
|
+
&:hover, &:focus {
|
|
2921
|
+
color: darken($img-bright-red-color, 10%);
|
|
2922
|
+
text-decoration: none;
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
.show-iframe {
|
|
2928
|
+
box-sizing: border-box;
|
|
2929
|
+
padding: 20px;
|
|
2930
|
+
&__none {
|
|
2931
|
+
width: 100%;
|
|
2932
|
+
text-align: center;
|
|
2933
|
+
font-size: rem(16);
|
|
2934
|
+
font-weight: 600;
|
|
2935
|
+
color: $main-text;
|
|
2936
|
+
padding: 20px 0;
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
.video-container {
|
|
2941
|
+
width: 100%;
|
|
2942
|
+
max-width: 600px;
|
|
2943
|
+
aspect-ratio: 16 / 9;
|
|
2944
|
+
margin: 0 auto;
|
|
2945
|
+
iframe {
|
|
2946
|
+
width: 100%;
|
|
2947
|
+
height: 100%;
|
|
2948
|
+
border: 0;
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
$default-color-p-alert: #1e5568;
|
|
2701
2953
|
$success-color-p-alert: #11552e;
|
|
2702
2954
|
$warning-color-p-alert: #3a0505;
|
|
2703
2955
|
$primary-button: #e95656;
|
|
@@ -3786,7 +4038,7 @@ $card-img-size-small: 140px;
|
|
|
3786
4038
|
background-color: $img-orange-color;
|
|
3787
4039
|
}
|
|
3788
4040
|
}
|
|
3789
|
-
&.copy {
|
|
4041
|
+
&.copy {
|
|
3790
4042
|
background-color: $img-green-color;
|
|
3791
4043
|
transition: transform .3s ease .15s;
|
|
3792
4044
|
span, &:before {
|
|
@@ -3910,6 +4162,27 @@ $card-img-size-small: 140px;
|
|
|
3910
4162
|
}
|
|
3911
4163
|
}
|
|
3912
4164
|
}
|
|
4165
|
+
&__video {
|
|
4166
|
+
width: fit-content;
|
|
4167
|
+
height: 24px;
|
|
4168
|
+
display: flex;
|
|
4169
|
+
justify-content: center;
|
|
4170
|
+
align-items: center;
|
|
4171
|
+
position: absolute;
|
|
4172
|
+
bottom: 10px;
|
|
4173
|
+
right: 10px;
|
|
4174
|
+
background-color: rgba(29, 42, 59, 0.8);
|
|
4175
|
+
gap: 5px;
|
|
4176
|
+
border-radius: 3px;
|
|
4177
|
+
padding: 0 10px;
|
|
4178
|
+
color: white;
|
|
4179
|
+
font-size: rem(12);
|
|
4180
|
+
font-weight: 500;
|
|
4181
|
+
i {
|
|
4182
|
+
color: white;
|
|
4183
|
+
font-size: rem(14);
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
3913
4186
|
}
|
|
3914
4187
|
|
|
3915
4188
|
&__nameContainer {
|
|
@@ -3975,6 +4248,9 @@ $card-img-size-small: 140px;
|
|
|
3975
4248
|
|
|
3976
4249
|
&:hover, &:focus {
|
|
3977
4250
|
z-index: 3;
|
|
4251
|
+
.hover-img-size {
|
|
4252
|
+
opacity: 1;
|
|
4253
|
+
}
|
|
3978
4254
|
.img-card {
|
|
3979
4255
|
&__nameContainer {
|
|
3980
4256
|
overflow: visible;
|
|
@@ -4031,6 +4307,21 @@ $card-img-size-small: 140px;
|
|
|
4031
4307
|
width: $card-img-size-small;
|
|
4032
4308
|
}
|
|
4033
4309
|
}
|
|
4310
|
+
|
|
4311
|
+
.hover-img-size {
|
|
4312
|
+
position: absolute;
|
|
4313
|
+
top: 10px;
|
|
4314
|
+
right: 10px;
|
|
4315
|
+
opacity: 0;
|
|
4316
|
+
transition: .3s ease;
|
|
4317
|
+
background-color: rgba(0,0,0,.45);
|
|
4318
|
+
color: $white;
|
|
4319
|
+
font-size: rem(12);
|
|
4320
|
+
padding: 3px 6px;
|
|
4321
|
+
border-radius: 2px;
|
|
4322
|
+
pointer-events: none;
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4034
4325
|
.wz-selector {
|
|
4035
4326
|
&__default {
|
|
4036
4327
|
position: relative;
|
|
Binary file
|