import { Component, Input } from "@angular/core";
import * as i0 from "@angular/core";
import * as i1 from "./dxc-transaction/dxc-transaction.component";
import * as i2 from "@angular/common";
import * as i3 from "@angular/material/tooltip";
export class DxcTransactionsComponent {
    constructor() {
        this.filesSummary = [];
    }
    ngOnInit() { }
    ngOnChanges() { }
}
DxcTransactionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: DxcTransactionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
DxcTransactionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: DxcTransactionsComponent, selector: "dxc-transactions", inputs: { filesSummary: "filesSummary", successfulCount: "successfulCount" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"header\">\n  <span class=\"uploadedLabel\">Files uploaded</span>\n  <span class=\"successCount\"\n    ><span>{{ successfulCount }}</span> files uploaded in total</span\n  >\n</div>\n<div *ngFor=\"let file of filesSummary; index as i; let first = first;\" class=\"filesSummary\" [class.first-item]=\"first\">\n  <dxc-transaction\n    matTooltip=\"{{ file.errorMessage }}\"\n    [file]=\"file\"\n    id=\"i\"\n  ></dxc-transaction>\n</div>\n", styles: [":host{width:35%;padding:46px 0 20px 65px;overflow-y:auto}:host::-webkit-scrollbar{width:3px}:host::-webkit-scrollbar-track{background-color:var(--upload-scrollBarTrackColor);border-radius:3px}:host::-webkit-scrollbar-thumb{background-color:var(--upload-scrollBarThumbColor);border-radius:3px}:host .filesSummary{margin-top:18px}:host .filesSummary.first-item{margin-top:30px}:host .header{display:flex;flex-direction:column}:host .header .uploadedLabel{font-family:var(--upload-fontFamily);letter-spacing:.26px;color:var(--upload-uploadedFilesTitleFontColor);margin-bottom:4px;font-size:var(--upload-uploadedFilesTitleFontSize);font-style:var(--upload-uploadedFilesTitleFontStyle);font-weight:var(--upload-uploadedFilesTitleFontWeight);text-transform:var(--upload-uploadedFilesTitleFontTextTransform)}:host .header .successCount{font-family:var(--upload-fontFamily);color:var(--upload-uploadedFilesSubtitleFontColor);font-size:var(--upload-uploadedFilesSubtitleFontSize);font-style:var(--upload-uploadedFilesSubtitleFontStyle);font-weight:var(--upload-uploadedFilesSubtitleFontWeight);text-transform:var(--upload-uploadedFilesSubtitleFontTextTransform)}:host .header .successCount span{font-weight:var(--upload-uploadedFilesNumberFontWeight)}\n"], components: [{ type: i1.DxcTransactionComponent, selector: "dxc-transaction", inputs: ["file"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: DxcTransactionsComponent, decorators: [{
            type: Component,
            args: [{ selector: "dxc-transactions", template: "<div class=\"header\">\n  <span class=\"uploadedLabel\">Files uploaded</span>\n  <span class=\"successCount\"\n    ><span>{{ successfulCount }}</span> files uploaded in total</span\n  >\n</div>\n<div *ngFor=\"let file of filesSummary; index as i; let first = first;\" class=\"filesSummary\" [class.first-item]=\"first\">\n  <dxc-transaction\n    matTooltip=\"{{ file.errorMessage }}\"\n    [file]=\"file\"\n    id=\"i\"\n  ></dxc-transaction>\n</div>\n", styles: [":host{width:35%;padding:46px 0 20px 65px;overflow-y:auto}:host::-webkit-scrollbar{width:3px}:host::-webkit-scrollbar-track{background-color:var(--upload-scrollBarTrackColor);border-radius:3px}:host::-webkit-scrollbar-thumb{background-color:var(--upload-scrollBarThumbColor);border-radius:3px}:host .filesSummary{margin-top:18px}:host .filesSummary.first-item{margin-top:30px}:host .header{display:flex;flex-direction:column}:host .header .uploadedLabel{font-family:var(--upload-fontFamily);letter-spacing:.26px;color:var(--upload-uploadedFilesTitleFontColor);margin-bottom:4px;font-size:var(--upload-uploadedFilesTitleFontSize);font-style:var(--upload-uploadedFilesTitleFontStyle);font-weight:var(--upload-uploadedFilesTitleFontWeight);text-transform:var(--upload-uploadedFilesTitleFontTextTransform)}:host .header .successCount{font-family:var(--upload-fontFamily);color:var(--upload-uploadedFilesSubtitleFontColor);font-size:var(--upload-uploadedFilesSubtitleFontSize);font-style:var(--upload-uploadedFilesSubtitleFontStyle);font-weight:var(--upload-uploadedFilesSubtitleFontWeight);text-transform:var(--upload-uploadedFilesSubtitleFontTextTransform)}:host .header .successCount span{font-weight:var(--upload-uploadedFilesNumberFontWeight)}\n"] }]
        }], propDecorators: { filesSummary: [{
                type: Input
            }], successfulCount: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHhjLXRyYW5zYWN0aW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9keGMtbmd4LWNkay9zcmMvbGliL2R4Yy11cGxvYWQvZHhjLXRyYW5zYWN0aW9ucy9keGMtdHJhbnNhY3Rpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2R4Yy1uZ3gtY2RrL3NyYy9saWIvZHhjLXVwbG9hZC9keGMtdHJhbnNhY3Rpb25zL2R4Yy10cmFuc2FjdGlvbnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBTTVELE1BQU0sT0FBTyx3QkFBd0I7SUFMckM7UUFNVyxpQkFBWSxHQUFHLEVBQUUsQ0FBQztLQU01QjtJQUhRLFFBQVEsS0FBSSxDQUFDO0lBRWIsV0FBVyxLQUFVLENBQUM7O3FIQU5sQix3QkFBd0I7eUdBQXhCLHdCQUF3QiwySkNOckMsc2NBYUE7MkZEUGEsd0JBQXdCO2tCQUxwQyxTQUFTOytCQUNFLGtCQUFrQjs4Qk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