ngx-scandoc 1.1.3 → 1.1.4

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.
@@ -2855,9 +2855,11 @@ class ScanComponent extends BaseComponent {
2855
2855
  console.log(this.logData);
2856
2856
  }
2857
2857
  this.actions.emit({
2858
- type: 'scanDataUse',
2859
- model: this.model,
2860
- images: this.images,
2858
+ type: 'scanDataClose',
2859
+ data: {
2860
+ model: this.model,
2861
+ images: this.images,
2862
+ },
2861
2863
  });
2862
2864
  // this.dialogRef?.close({
2863
2865
  // model: this.model,
@@ -3962,6 +3964,9 @@ class ScanProfileComponent extends BaseComponent {
3962
3964
  actions(event) {
3963
3965
  console.log(event);
3964
3966
  switch (event.type) {
3967
+ case 'scanDataClose':
3968
+ this.dialogRef?.close(event.data);
3969
+ break;
3965
3970
  case 'turnDocumentOver':
3966
3971
  this.dialogs.turnDocument(event.side).subscribe(() => {
3967
3972
  this.showDialog = false;