@eqproject/eqp-attachments 2.0.9 → 2.10.0

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.
@@ -1,13 +1,13 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { ImageCroppedEvent, ImageCropperComponent, ImageTransform } from 'ngx-image-cropper';
4
- import { AttachmentType, CropOptionEnum, IAttachmentDTO } from './interfaces/IAttachment';
5
- import { ConfigColumn, EqpTableComponent, TooltipPositionType } from '@eqproject/eqp-table';
6
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
7
- import { DomSanitizer } from '@angular/platform-browser';
8
- import { HttpClient } from '@angular/common/http';
9
- import { IOptions } from './interfaces/IOptions';
10
- import { EqpAttachmentService } from './services/eqp-attachment.service';
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from "@angular/core";
3
+ import { FormBuilder, FormGroup } from "@angular/forms";
4
+ import { MatDialog, MatDialogRef } from "@angular/material/dialog";
5
+ import { DomSanitizer } from "@angular/platform-browser";
6
+ import { ConfigColumn, EqpTableComponent, TooltipPositionType } from "@eqproject/eqp-table";
7
+ import { ImageCroppedEvent, ImageCropperComponent, ImageTransform } from "ngx-image-cropper";
8
+ import { AttachmentType, CropOptionEnum, IAttachmentDTO } from "./interfaces/IAttachment";
9
+ import { IOptions } from "./interfaces/IOptions";
10
+ import { EqpAttachmentService } from "./services/eqp-attachment.service";
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class EqpAttachmentsComponent implements OnInit {
13
13
  private dialog;
@@ -247,7 +247,7 @@ export declare class EqpAttachmentsComponent implements OnInit {
247
247
  * @returns
248
248
  */
249
249
  disableSave(): boolean;
250
- confirmAddAttachment(multipleAttachments?: boolean): void;
250
+ confirmAddAttachment(): void;
251
251
  /**
252
252
  * Apre il dialog per l'anteprima dell'allegato selezionato.
253
253
  * @param row
@@ -296,7 +296,6 @@ export declare class EqpAttachmentsComponent implements OnInit {
296
296
  onDimensionsChange(dimension: string): void;
297
297
  imageCropped(event: ImageCroppedEvent): void;
298
298
  getCroppedAndUpload(file: any, newAttachment: IAttachmentDTO): void;
299
- confirmCrop(): void;
300
299
  rotateLeft(): void;
301
300
  rotateRight(): void;
302
301
  private flipAfterRotate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eqproject/eqp-attachments",
3
- "version": "2.0.9",
3
+ "version": "2.10.0",
4
4
  "description": "Dynamic attachments component - Angular Material based",
5
5
  "author": {
6
6
  "name": "EqProject"