@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.
- package/esm2020/lib/eqp-attachments.component.mjs +112 -79
- package/esm2020/lib/services/eqp-attachment.service.mjs +9 -13
- package/fesm2015/eqproject-eqp-attachments.mjs +123 -94
- package/fesm2015/eqproject-eqp-attachments.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-attachments.mjs +123 -94
- package/fesm2020/eqproject-eqp-attachments.mjs.map +1 -1
- package/lib/eqp-attachments.component.d.ts +11 -12
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { IOptions } from
|
|
10
|
-
import { EqpAttachmentService } from
|
|
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(
|
|
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;
|