@dangl/angular-ava 1.2.3-beta0019 → 1.3.0-beta0032

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,16 +1,16 @@
1
- import { SimpleChanges } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { IConfigurationInvoice, ITextWordInvoice } from '../../model';
4
4
  import { Invoice } from '../../model';
5
5
  import { ConfigurationInvoiceService } from '../../services/configuration-invoice.service';
6
6
  import * as i0 from "@angular/core";
7
- export type WindowPlus = Window & typeof globalThis & {
8
- InvoiceGlobalVariable: Invoice;
9
- };
10
- export declare class InvoiceDisplayComponent {
7
+ export declare class InvoiceDisplayComponent implements OnInit {
11
8
  private configurationInvoiceService;
12
- invoice: Invoice;
9
+ private transformFn;
10
+ readonly invoice: import("@angular/core").InputSignalWithTransform<Invoice | null, Invoice>;
13
11
  readonly textWords$: Observable<ITextWordInvoice | null>;
12
+ readonly pdfViewEnabled$: Observable<boolean>;
13
+ private readonly currencyCode;
14
14
  /**
15
15
  * You can supply a map of strings to be used for the text in the tree. This allows you to translate
16
16
  * the text in the tree to other languages.
@@ -62,10 +62,10 @@ export declare class InvoiceDisplayComponent {
62
62
  *
63
63
  * }
64
64
  */
65
- set config(configObject: IConfigurationInvoice);
65
+ readonly config: import("@angular/core").InputSignalWithTransform<IConfigurationInvoice | null, IConfigurationInvoice>;
66
+ private readonly linkedConfig;
66
67
  constructor(configurationInvoiceService: ConfigurationInvoiceService);
67
- ngOnChanges(change: SimpleChanges): void;
68
- getCurrencyCode(): void;
68
+ ngOnInit(): void;
69
69
  static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDisplayComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDisplayComponent, "ava-invoice-display", never, { "invoice": { "alias": "invoice"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
70
+ 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>;
71
71
  }
@@ -7,7 +7,7 @@ import { ConfigurationInvoiceService } from '../../services/configuration-invoic
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class InvoiceDocumentsComponent implements OnInit, AfterViewInit {
9
9
  private configurationInvoiceService;
10
- documents: SupportingDocument[];
10
+ documents: import("@angular/core").InputSignal<SupportingDocument[]>;
11
11
  documentsPanel: MatExpansionPanel | null;
12
12
  private destroyRef;
13
13
  readonly textWords$: Observable<ITextWordInvoice | null>;
@@ -20,5 +20,5 @@ export declare class InvoiceDocumentsComponent implements OnInit, AfterViewInit
20
20
  private downloadLink;
21
21
  private saveAs;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDocumentsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDocumentsComponent, "ava-invoice-documents", never, { "documents": { "alias": "documents"; "required": false; }; }, {}, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDocumentsComponent, "ava-invoice-documents", never, { "documents": { "alias": "documents"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/angular-ava",
3
- "version": "1.2.3-beta0019",
3
+ "version": "1.3.0-beta0032",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "ava",