@dangl/angular-ava 1.2.2 → 1.2.3-beta0006

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,2 +1,2 @@
1
- import { IElementDto } from '../model';
2
- export declare const DEFAULT_FILTERS: ((element: IElementDto, filter: string) => boolean | undefined)[];
1
+ import { FilterFunction } from '../model/config-tree.model';
2
+ export declare const DEFAULT_FILTERS: FilterFunction[];
@@ -89,4 +89,4 @@ export interface IConfigurationTree {
89
89
  */
90
90
  functionView?: IFunctionViewLine[];
91
91
  }
92
- export type FilterFunction = (element: IElementDto, filter: string) => boolean;
92
+ export type FilterFunction = (element: IElementDto, filter: string) => boolean | undefined | null;
@@ -6,7 +6,7 @@ export declare class FlatElementsService {
6
6
  private flatElementsDtoSource;
7
7
  flatElementsDto: Observable<IElementDto[]>;
8
8
  private objectElementsDto;
9
- listFilterFunc: ((element: IElementDto, filter: string) => boolean | undefined)[];
9
+ listFilterFunc: import("../model/config-tree.model").FilterFunction[];
10
10
  constructor();
11
11
  setElementsDto(elementsDto: ServiceSpecificationDto): void;
12
12
  static getFlatElements(container: {
@@ -1,10 +1,14 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { IConfigurationInvoice, ITextWordInvoice } from '../../model';
3
+ import { Invoice } from '../../model';
3
4
  import { ConfigurationInvoiceService } from '../../services/configuration-invoice.service';
4
5
  import * as i0 from "@angular/core";
6
+ export type WindowPlus = Window & typeof globalThis & {
7
+ InvoiceGlobalVariable: Invoice;
8
+ };
5
9
  export declare class InvoiceDisplayComponent {
6
10
  private configurationInvoiceService;
7
- invoice: any;
11
+ invoice: Invoice;
8
12
  readonly textWords$: Observable<ITextWordInvoice | null>;
9
13
  /**
10
14
  * You can supply a map of strings to be used for the text in the tree. This allows you to translate
@@ -60,5 +64,5 @@ export declare class InvoiceDisplayComponent {
60
64
  set config(configObject: IConfigurationInvoice);
61
65
  constructor(configurationInvoiceService: ConfigurationInvoiceService);
62
66
  static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDisplayComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDisplayComponent, "ava-invoice-display", never, { "invoice": { "alias": "invoice"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDisplayComponent, "ava-invoice-display", never, { "invoice": { "alias": "invoice"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
64
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/angular-ava",
3
- "version": "1.2.2",
3
+ "version": "1.2.3-beta0006",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "ava",