@wizishop/img-manager 15.2.62 → 15.2.64-beta

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.
Files changed (44) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/es.json +1 -1
  3. package/assets/i18n/fr.json +1 -1
  4. package/assets/i18n/it.json +1 -1
  5. package/esm2020/lib/components/images-view/images-actions-handler.mjs +5 -1
  6. package/esm2020/lib/components/images-view/images-view.component.mjs +12 -9
  7. package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +3 -3
  8. package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +3 -3
  9. package/esm2020/lib/components/img-editor/img-editor.component.mjs +44 -7
  10. package/esm2020/lib/components/img-editor/info-video/info-video.component.mjs +62 -0
  11. package/esm2020/lib/components/img-editor/show-iframe/show-iframe.component.mjs +105 -0
  12. package/esm2020/lib/components/img-selection/img-selection.component.mjs +3 -3
  13. package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +12 -3
  14. package/esm2020/lib/components/shared/table/table.component.mjs +2 -1
  15. package/esm2020/lib/dto/img-manager.dto.mjs +1 -1
  16. package/esm2020/lib/services/api.service.mjs +1 -1
  17. package/esm2020/lib/services/img-event.service.mjs +8 -1
  18. package/esm2020/lib/services/img-manager.service.mjs +3 -2
  19. package/esm2020/lib/services/rename-picture.service.mjs +4 -1
  20. package/esm2020/lib/services/table/filters-table.service.mjs +2 -1
  21. package/esm2020/lib/services/video-info.service.mjs +87 -0
  22. package/esm2020/lib/wz-img-manager.module.mjs +7 -1
  23. package/fesm2015/wizishop-img-manager.mjs +321 -15
  24. package/fesm2015/wizishop-img-manager.mjs.map +1 -1
  25. package/fesm2020/wizishop-img-manager.mjs +319 -14
  26. package/fesm2020/wizishop-img-manager.mjs.map +1 -1
  27. package/lib/components/images-view/images-actions-handler.d.ts +1 -0
  28. package/lib/components/images-view/images-view.component.d.ts +3 -2
  29. package/lib/components/img-editor/img-editor.component.d.ts +8 -1
  30. package/lib/components/img-editor/info-video/info-video.component.d.ts +20 -0
  31. package/lib/components/img-editor/show-iframe/show-iframe.component.d.ts +16 -0
  32. package/lib/components/img-tabs/img-tabs.component.d.ts +1 -0
  33. package/lib/dto/img-manager.dto.d.ts +9 -0
  34. package/lib/services/api.service.d.ts +1 -0
  35. package/lib/services/img-event.service.d.ts +3 -0
  36. package/lib/services/img-manager.service.d.ts +8 -14
  37. package/lib/services/rename-picture.service.d.ts +1 -0
  38. package/lib/services/table/filters-table.service.d.ts +1 -0
  39. package/lib/services/video-info.service.d.ts +23 -0
  40. package/lib/wz-img-manager.module.d.ts +46 -44
  41. package/package.json +1 -1
  42. package/wizishop-img-manager-15.2.64-beta.tgz +0 -0
  43. package/wz-img-manager.scss +286 -11
  44. package/wizishop-img-manager-15.2.62.tgz +0 -0
@@ -987,7 +987,7 @@ $tag-radius: rem(20px)!default;
987
987
  &__container {
988
988
  display: flex;
989
989
  justify-content: space-between;
990
- margin: 0 0 rem(20);
990
+ margin: 0 0;
991
991
 
992
992
  > div {
993
993
  display: flex;
@@ -998,7 +998,7 @@ $tag-radius: rem(20px)!default;
998
998
  }
999
999
 
1000
1000
  &--window {
1001
- margin: rem(30) 0 rem(20);
1001
+ margin: rem(30) 0 0;
1002
1002
  }
1003
1003
 
1004
1004
  &--uploadTab {
@@ -1150,6 +1150,32 @@ $tag-radius: rem(20px)!default;
1150
1150
  }
1151
1151
  }
1152
1152
  }
1153
+
1154
+ .filter-video {
1155
+ width: 100%;
1156
+ margin: 0 0 20px;
1157
+ label {
1158
+ display: flex;
1159
+ gap: 10px;
1160
+ width: fit-content;
1161
+ align-items: center;
1162
+ }
1163
+ span {
1164
+ font-weight: 500;
1165
+ }
1166
+ select {
1167
+ padding: 0 10px;
1168
+ min-height: 25px;
1169
+ line-height: 25px;
1170
+ border: 1px solid $img-input-border;
1171
+ appearance: none;
1172
+ -webkit-appearance: none;
1173
+ -moz-appearance: none;
1174
+ 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");
1175
+ background-repeat: no-repeat;
1176
+ background-position: right 10px center;
1177
+ }
1178
+ }
1153
1179
  .wz-img-manager .img-editor {
1154
1180
  &__scroll {
1155
1181
  position: relative;
@@ -1336,6 +1362,10 @@ $tag-radius: rem(20px)!default;
1336
1362
  padding: 0;
1337
1363
  margin: 0 rem(30) 0 0;
1338
1364
 
1365
+ &, * {
1366
+ box-sizing: border-box;
1367
+ }
1368
+
1339
1369
  &__propertyEditable {
1340
1370
  margin-bottom: 31px;
1341
1371
  p {
@@ -1468,6 +1498,31 @@ $tag-radius: rem(20px)!default;
1468
1498
  .wz-img-manager .marginBottom {
1469
1499
  margin-bottom: 20px;
1470
1500
  }
1501
+
1502
+ .img-editorVideo__tabs {
1503
+ display: flex;
1504
+ justify-content: flex-start;
1505
+ align-items: center;
1506
+ gap: 20px;
1507
+ list-style-type: none;
1508
+ width: 100%;
1509
+ margin: 0 0 30px;
1510
+ li {
1511
+ cursor: pointer;
1512
+ padding-bottom: 8px;
1513
+ font-size: rem(14);
1514
+ color: $img-second-color;
1515
+ border-bottom: 1px solid transparent;
1516
+ transition: .3s ease;
1517
+ &:hover {
1518
+ color: $main-text;
1519
+ }
1520
+ &.active {
1521
+ color: $main-text;
1522
+ border-bottom: 1px solid $img-main-color;
1523
+ }
1524
+ }
1525
+ }
1471
1526
  // Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
1472
1527
  .wz-img-manager .img-selection {
1473
1528
  background-color: white;
@@ -1501,6 +1556,27 @@ $tag-radius: rem(20px)!default;
1501
1556
  transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
1502
1557
  }
1503
1558
  }
1559
+ &__video {
1560
+ width: fit-content;
1561
+ height: 30px;
1562
+ display: flex;
1563
+ justify-content: center;
1564
+ align-items: center;
1565
+ position: absolute;
1566
+ top: 10px;
1567
+ left: 10px;
1568
+ background-color: rgba(29, 42, 59, 0.8);
1569
+ gap: 5px;
1570
+ border-radius: 3px;
1571
+ padding: 0 10px;
1572
+ color: white;
1573
+ font-size: rem(12);
1574
+ font-weight: 500;
1575
+ i {
1576
+ color: white;
1577
+ font-size: rem(14);
1578
+ }
1579
+ }
1504
1580
  .delete-btn {
1505
1581
  position: absolute;
1506
1582
  top: 100%;
@@ -2562,6 +2638,28 @@ $tag-radius: rem(20px)!default;
2562
2638
  padding-top: 100%;
2563
2639
  }
2564
2640
 
2641
+ &__container__video {
2642
+ height: 16px;
2643
+ width: 60px;
2644
+ display: flex;
2645
+ justify-content: center;
2646
+ align-items: center;
2647
+ position: absolute;
2648
+ bottom: 0;
2649
+ left: 0;
2650
+ background-color: rgba(29, 42, 59, 0.8);
2651
+ gap: 5px;
2652
+ border-radius: 3px;
2653
+ padding: 0;
2654
+ color: white;
2655
+ font-size: rem(10);
2656
+ font-weight: 500;
2657
+ i {
2658
+ color: white;
2659
+ font-size: rem(10);
2660
+ }
2661
+ }
2662
+
2565
2663
  &__img {
2566
2664
  margin: 0!important;
2567
2665
  position: absolute;
@@ -2662,42 +2760,180 @@ $tag-radius: rem(20px)!default;
2662
2760
 
2663
2761
  .grey {
2664
2762
  color: $img-grey-color;
2665
- }
2763
+ }
2666
2764
 
2667
- .buttonCopy {
2765
+ .buttonCopy {
2668
2766
  background-color: $img-green-color; // Vert léger
2669
2767
  border: 1px solid $img-green-color; // Bordure verte légère
2670
2768
  border-radius: 4px;
2671
2769
  padding: 8px 12px;
2672
2770
  cursor: pointer;
2673
2771
  transition: all 0.2s ease;
2674
-
2772
+
2675
2773
  i {
2676
2774
  color: $img-white; // Icône verte
2677
2775
  transition: color 0.2s ease;
2678
2776
  }
2679
-
2777
+
2680
2778
  &:hover {
2681
2779
  background-color: $img-green-color-secondary; // Vert plus foncé au survol
2682
2780
  border-color: $img-green-color-secondary;
2683
-
2781
+
2684
2782
  i {
2685
2783
  color: $img-white; // Icône verte plus foncée au survol
2686
2784
  }
2687
2785
  }
2688
-
2786
+
2689
2787
  &:active {
2690
2788
  background-color: #b1dfbb;
2691
2789
  transform: scale(0.98);
2692
2790
  }
2693
- }image-cropper {
2791
+ }
2792
+
2793
+ .wrap-name-info {
2794
+ width: 100%;
2795
+ > p {
2796
+ padding: 0 0 0 15px;
2797
+ display: flex;
2798
+ align-items: center;
2799
+ gap: 10px;
2800
+ color: $wizishop-blue;
2801
+ font-size: rem(14);
2802
+ i {
2803
+ color: $wizishop-blue;
2804
+ }
2805
+ }
2806
+ }
2807
+ image-cropper {
2694
2808
  max-height: 60vh;
2695
2809
  }.img-editor__infoSection__propertySEO__tooltips {
2696
2810
  i {
2697
2811
  font-size: rem(16);
2698
2812
  color: $main-text;
2699
2813
  }
2700
- }$default-color-p-alert: #1e5568;
2814
+ }.info-video {
2815
+ width: 100%;
2816
+ &, * {
2817
+ box-sizing: border-box;
2818
+ }
2819
+ &__wrapper {
2820
+ width: 100%;
2821
+ display: flex;
2822
+ flex-direction: column;
2823
+ justify-content: flex-start;
2824
+ align-items: flex-start;
2825
+ gap: 30px;
2826
+ &__top {
2827
+ width: 100%;
2828
+ display: flex;
2829
+ flex-direction: column;
2830
+ justify-content: flex-start;
2831
+ align-items: flex-start;
2832
+ gap: 12px;
2833
+ > label {
2834
+ font-size: rem(14);
2835
+ font-weight: 500;
2836
+ color: $main-text;
2837
+ i {
2838
+ font-size: rem(14);
2839
+ font-weight: 400;
2840
+ color: $img-second-color;
2841
+ margin: 0 0 0 5px;
2842
+ }
2843
+ }
2844
+ > span {
2845
+ font-size: rem(12);
2846
+ color: $img-second-color;
2847
+ margin-top: -2px;
2848
+ }
2849
+ > input {
2850
+ width: 100%;
2851
+ height: rem(40);
2852
+ border: 1px solid $img-input-border;
2853
+ border-radius: rem(3);
2854
+ color: $img-main-text;
2855
+ padding: 0 rem(20);
2856
+ font-size: rem(14);
2857
+ &:hover, &:focus {
2858
+ color: $main-text;
2859
+ border-color: $main-text;
2860
+ }
2861
+ }
2862
+ }
2863
+ &__bottom {
2864
+ width: 100%;
2865
+ display: flex;
2866
+ flex-direction: column;
2867
+ justify-content: flex-start;
2868
+ align-items: flex-start;
2869
+ gap: 15px;
2870
+ &.has-border {
2871
+ padding-bottom: 32px;
2872
+ border-bottom: 2px solid $img-input-border;
2873
+ }
2874
+ > strong {
2875
+ font-size: rem(16);
2876
+ font-weight: 600;
2877
+ color: $main-text;
2878
+ }
2879
+ > p {
2880
+ font-size: rem(14);
2881
+ font-weight: 400;
2882
+ color: $main-text;
2883
+ display: flex;
2884
+ align-items: center;
2885
+ width: 100%;
2886
+ > span {
2887
+ white-space: nowrap;
2888
+ &:first-child {
2889
+ width: 100%;
2890
+ }
2891
+ &:last-child {
2892
+ width: auto;
2893
+ }
2894
+ }
2895
+ }
2896
+ }
2897
+ & > a {
2898
+ color: $img-bright-red-color;
2899
+ text-decoration: underline;
2900
+ transition: .3s ease;
2901
+ cursor: pointer;
2902
+ font-size: rem(14);
2903
+ font-weight: 400;
2904
+ &:hover, &:focus {
2905
+ color: darken($img-bright-red-color, 10%);
2906
+ text-decoration: none;
2907
+ }
2908
+ }
2909
+ }
2910
+ }
2911
+ .show-iframe {
2912
+ box-sizing: border-box;
2913
+ padding: 20px;
2914
+ &__none {
2915
+ width: 100%;
2916
+ text-align: center;
2917
+ font-size: rem(16);
2918
+ font-weight: 600;
2919
+ color: $main-text;
2920
+ padding: 20px 0;
2921
+ }
2922
+ }
2923
+
2924
+ .video-container {
2925
+ width: 100%;
2926
+ max-width: 600px;
2927
+ aspect-ratio: 16 / 9;
2928
+ margin: 0 auto;
2929
+ iframe {
2930
+ width: 100%;
2931
+ height: 100%;
2932
+ border: 0;
2933
+ }
2934
+ }
2935
+
2936
+ $default-color-p-alert: #1e5568;
2701
2937
  $success-color-p-alert: #11552e;
2702
2938
  $warning-color-p-alert: #3a0505;
2703
2939
  $primary-button: #e95656;
@@ -3786,7 +4022,7 @@ $card-img-size-small: 140px;
3786
4022
  background-color: $img-orange-color;
3787
4023
  }
3788
4024
  }
3789
- &.copy {
4025
+ &.copy {
3790
4026
  background-color: $img-green-color;
3791
4027
  transition: transform .3s ease .15s;
3792
4028
  span, &:before {
@@ -3910,6 +4146,27 @@ $card-img-size-small: 140px;
3910
4146
  }
3911
4147
  }
3912
4148
  }
4149
+ &__video {
4150
+ width: fit-content;
4151
+ height: 24px;
4152
+ display: flex;
4153
+ justify-content: center;
4154
+ align-items: center;
4155
+ position: absolute;
4156
+ bottom: 10px;
4157
+ right: 10px;
4158
+ background-color: rgba(29, 42, 59, 0.8);
4159
+ gap: 5px;
4160
+ border-radius: 3px;
4161
+ padding: 0 10px;
4162
+ color: white;
4163
+ font-size: rem(12);
4164
+ font-weight: 500;
4165
+ i {
4166
+ color: white;
4167
+ font-size: rem(14);
4168
+ }
4169
+ }
3913
4170
  }
3914
4171
 
3915
4172
  &__nameContainer {
@@ -3975,6 +4232,9 @@ $card-img-size-small: 140px;
3975
4232
 
3976
4233
  &:hover, &:focus {
3977
4234
  z-index: 3;
4235
+ .hover-img-size {
4236
+ opacity: 1;
4237
+ }
3978
4238
  .img-card {
3979
4239
  &__nameContainer {
3980
4240
  overflow: visible;
@@ -4031,6 +4291,21 @@ $card-img-size-small: 140px;
4031
4291
  width: $card-img-size-small;
4032
4292
  }
4033
4293
  }
4294
+
4295
+ .hover-img-size {
4296
+ position: absolute;
4297
+ top: 10px;
4298
+ right: 10px;
4299
+ opacity: 0;
4300
+ transition: .3s ease;
4301
+ background-color: rgba(0,0,0,.45);
4302
+ color: $white;
4303
+ font-size: rem(12);
4304
+ padding: 3px 6px;
4305
+ border-radius: 2px;
4306
+ pointer-events: none;
4307
+ }
4308
+
4034
4309
  .wz-selector {
4035
4310
  &__default {
4036
4311
  position: relative;
Binary file