ngx-wapp-components 3.3.1-alpha.2 → 3.3.1
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.
|
@@ -7234,7 +7234,6 @@ class WImageFileUploaderComponent {
|
|
|
7234
7234
|
}
|
|
7235
7235
|
}
|
|
7236
7236
|
onCustomizeUploadFunctionMultiMode(event) {
|
|
7237
|
-
console.log(event);
|
|
7238
7237
|
if (this.activeImageUpload == true) {
|
|
7239
7238
|
if (this.cropperImages.length > 0) {
|
|
7240
7239
|
let base64Images = this.mapToObjectB64(this.cropperImages);
|
|
@@ -7266,7 +7265,6 @@ class WImageFileUploaderComponent {
|
|
|
7266
7265
|
}
|
|
7267
7266
|
}
|
|
7268
7267
|
onCustomUploadMultiMode(event) {
|
|
7269
|
-
console.log(event);
|
|
7270
7268
|
if (this.fileUpload?.msgs && this.fileUpload.msgs.length > 0) {
|
|
7271
7269
|
setTimeout(() => {
|
|
7272
7270
|
this.fileUpload.msgs = [];
|
|
@@ -7382,10 +7380,9 @@ class WImageFileUploaderComponent {
|
|
|
7382
7380
|
else {
|
|
7383
7381
|
this.cropperImages.push(imageCropped);
|
|
7384
7382
|
this.cropperImages = (this.activePositionProperty && this.activeImageUpload == false) ? this.addPositionProperty(this.cropperImages) : this.cropperImages;
|
|
7385
|
-
if (this.activeImageUpload
|
|
7386
|
-
this.imagesAlreadyUploaded.
|
|
7387
|
-
this.imagesAlreadyUploaded
|
|
7388
|
-
if (this.imagesAlreadyUploaded.length == 1) {
|
|
7383
|
+
if (this.activeImageUpload === false) {
|
|
7384
|
+
this.imagesAlreadyUploaded = [...this.imagesAlreadyUploaded, imageCropped];
|
|
7385
|
+
if (this.imagesAlreadyUploaded.length === 1) {
|
|
7389
7386
|
this.activeIndexGallery = 0;
|
|
7390
7387
|
}
|
|
7391
7388
|
this.onReturnImagesB64.emit(this.getArraysToCreateAndToUpdate(this.cropperImages));
|