@dangl/angular-ava
Version:
[](https://www.npmjs.com/package/@dangl/angular-ava)
74 lines (73 loc) • 3.38 kB
TypeScript
import { OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { IConfigurationInvoice, ITextWordInvoice } from '../../model';
import { Invoice } from '../../model';
import { IColorSettings } from '../../model/configInvoice.model';
import { ConfigurationInvoiceService } from '../../services/configuration-invoice.service';
import * as i0 from "@angular/core";
export declare class InvoiceDisplayComponent implements OnInit {
private configurationInvoiceService;
private transformFn;
readonly invoice: import("@angular/core").InputSignalWithTransform<Invoice | null, Invoice>;
readonly colorSettings$: Observable<IColorSettings | null>;
readonly textWords$: Observable<ITextWordInvoice | null>;
readonly pdfViewEnabled$: Observable<boolean>;
private readonly currencyCode;
/**
* You can supply a map of strings to be used for the text in the tree. This allows you to translate
* the text in the tree to other languages.
* {
* invoiceTitle: string;
* vatId: string;
* detailsInvoiceNumber: string;
* detailsInvoiceDate: string;
* detailsPaymentDueDate: string;
* detailsCurrencyCode: string;
* detailsPaymentTerms: string;
* referencesTopic: string;
* referencesBuyerReference: string;
* referencesProjectReference: string;
* referencesContractReference: string;
* referencesPurchaseOrderReference: string;
* referencesSalesOrderReference: string;
* referencesReceivingAdviceReference: string;
* referencesDispatchAdviceReference: string;
* referencesTenderOrLotReference: string;
* referencesInvoicedObjectIdentifier: string;
* tableHeadDescription: string;
* tableHeadQuantity: string;
* tableHeadUnit: string;
* tableHeadNetPrice: string;
* tableHeadNetAmount: string;
* totalsTopic: string;
* totalsTotalNet: string;
* totalsTotalAllowances: string;
* totalsTotalCharges: string;
* totalsTotalAfterDeductions: string;
* totalsTotalVatAmount: string;
* totalsTotalGross: string;
* totalsAlreadyPaidTotal: string;
* totalsTotalToBePaid: string;
* instructionsTopic: string;
* instructionsAccountIdentifier: string;
* instructionsAccountName: string;
* instructionsServiceProviderIdentifier: string;
* notesTopic: string;
* attachmentsHeading: string;
* attachmentsName: string;
* attachmentsDescription: string;
* attachmentsUrl: string;
* attachmentsDataSize: string;
* attachmentsMimeType: string;
* attachmentsFileName: string;
* attachmentsDownloadButton: string;
*
* }
*/
readonly config: import("@angular/core").InputSignalWithTransform<IConfigurationInvoice | null, IConfigurationInvoice>;
private readonly linkedConfig;
constructor(configurationInvoiceService: ConfigurationInvoiceService);
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDisplayComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDisplayComponent, "ava-invoice-display", never, { "invoice": { "alias": "invoice"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
}