ngx-wapp-components 3.2.22 → 3.2.23-alpha.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.
|
@@ -6858,6 +6858,7 @@ class WImageFileUploaderComponent {
|
|
|
6858
6858
|
numScroll: 1
|
|
6859
6859
|
}
|
|
6860
6860
|
];
|
|
6861
|
+
this.dialogRefs = [];
|
|
6861
6862
|
}
|
|
6862
6863
|
ngOnInit() {
|
|
6863
6864
|
this.fileSizeService.init(this.imageUploadConfig.maxImageSize);
|
|
@@ -6968,6 +6969,8 @@ class WImageFileUploaderComponent {
|
|
|
6968
6969
|
}
|
|
6969
6970
|
}
|
|
6970
6971
|
onCustomizeUploadFunctionMultiMode(event) {
|
|
6972
|
+
console.log("onCustomizeUploadFunctionMultiMode");
|
|
6973
|
+
console.log(event);
|
|
6971
6974
|
if (this.activeImageUpload == true) {
|
|
6972
6975
|
if (this.cropperImages.length > 0) {
|
|
6973
6976
|
let base64Images = this.mapToObjectB64(this.cropperImages);
|
|
@@ -6999,6 +7002,8 @@ class WImageFileUploaderComponent {
|
|
|
6999
7002
|
}
|
|
7000
7003
|
}
|
|
7001
7004
|
onCustomUploadMultiMode(event) {
|
|
7005
|
+
console.log("onCustomUploadMultiMode");
|
|
7006
|
+
console.log(event);
|
|
7002
7007
|
if (this.fileUpload?.msgs && this.fileUpload.msgs.length > 0) {
|
|
7003
7008
|
setTimeout(() => {
|
|
7004
7009
|
this.fileUpload.msgs = [];
|
|
@@ -7102,8 +7107,10 @@ class WImageFileUploaderComponent {
|
|
|
7102
7107
|
width: '70rem',
|
|
7103
7108
|
contentStyle: { "overflow": "auto", "height": "auto", "padding-bottom": "8px" },
|
|
7104
7109
|
data: { dataModal: this.dimensionsInput, translations: this.imageUploadConfig.croppedDialogTranslations, blob: fileBlob },
|
|
7105
|
-
resizable: true
|
|
7110
|
+
resizable: true,
|
|
7111
|
+
duplicate: true
|
|
7106
7112
|
});
|
|
7113
|
+
this.dialogRefs.push(ref);
|
|
7107
7114
|
ref.onClose.subscribe((imageCropped) => {
|
|
7108
7115
|
if (imageCropped) {
|
|
7109
7116
|
if (this.allowMultipleImages == false) {
|