@dangl/angular-ava 1.4.4 → 1.4.5-beta0015
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/fesm2022/dangl-angular-ava.mjs +857 -100
- package/fesm2022/dangl-angular-ava.mjs.map +1 -1
- package/index.d.ts +2915 -5
- package/package.json +1 -1
- package/lib/ava-tree/components/ava-tree/ava-tree.component.d.ts +0 -128
- package/lib/ava-tree/components/list-structure/list-structure.component.d.ts +0 -20
- package/lib/ava-tree/components/table-structure/table-structure.component.d.ts +0 -37
- package/lib/ava-tree/components/tree-item/tree-item.component.d.ts +0 -40
- package/lib/ava-tree/components/tree-node/tree-node.component.d.ts +0 -25
- package/lib/ava-tree/constants/defaultFilters.d.ts +0 -2
- package/lib/ava-tree/constants/defaultTextWords.d.ts +0 -18
- package/lib/ava-tree/constants/defaults.d.ts +0 -3
- package/lib/ava-tree/constants/index.d.ts +0 -4
- package/lib/ava-tree/directives/hover-effect.directive.d.ts +0 -18
- package/lib/ava-tree/directives/save-changing-view.directive.d.ts +0 -20
- package/lib/ava-tree/model/ava-models.d.ts +0 -1034
- package/lib/ava-tree/model/config-tree.model.d.ts +0 -75
- package/lib/ava-tree/model/context-menu-data.model.d.ts +0 -8
- package/lib/ava-tree/model/function-view-line.model.d.ts +0 -12
- package/lib/ava-tree/model/index.d.ts +0 -8
- package/lib/ava-tree/model/selecting.model.d.ts +0 -14
- package/lib/ava-tree/model/tableColumnType.d.ts +0 -6
- package/lib/ava-tree/model/tree-mode.model.d.ts +0 -5
- package/lib/ava-tree/pipes/element-icon-name.pipe.d.ts +0 -8
- package/lib/ava-tree/pipes/element-item-number.pipe.d.ts +0 -8
- package/lib/ava-tree/pipes/element-text.pipe.d.ts +0 -9
- package/lib/ava-tree/pipes/group-child-elements.pipe.d.ts +0 -8
- package/lib/ava-tree/services/configuration-tree.service.d.ts +0 -40
- package/lib/ava-tree/services/expand-parent-group.service.d.ts +0 -11
- package/lib/ava-tree/services/flat-elements.service.d.ts +0 -27
- package/lib/ava-tree/services/keyboard-operation.service.d.ts +0 -35
- package/lib/ava-tree/services/select-element.service.d.ts +0 -28
- package/lib/ava-tree/services/tree-hover-tooltip.service.d.ts +0 -4
- package/lib/ava-tree/services/tree-node-selection.service.d.ts +0 -26
- package/lib/invoice/components/invoice-display/invoice-display.component.d.ts +0 -73
- package/lib/invoice/components/invoice-documents/invoice-documents.component.d.ts +0 -26
- package/lib/invoice/components/invoice-line-item-additional-info/invoice-line-item-additional-info.component.d.ts +0 -11
- package/lib/invoice/components/invoice-line-items-table/invoice-line-items-table.component.d.ts +0 -25
- package/lib/invoice/components/reference-and-delivery-information/reference-and-delivery-information.component.d.ts +0 -14
- package/lib/invoice/constants/defaultTextWordInvoice.d.ts +0 -3
- package/lib/invoice/constants/index.d.ts +0 -3
- package/lib/invoice/constants/language.d.ts +0 -8
- package/lib/invoice/model/configInvoice.model.d.ts +0 -13
- package/lib/invoice/model/index.d.ts +0 -4
- package/lib/invoice/model/invoice-models.d.ts +0 -527
- package/lib/invoice/model/invoice-words.model.d.ts +0 -73
- package/lib/invoice/pipes/currency-plus.pipe.d.ts +0 -11
- package/lib/invoice/pipes/invoice-attachment-mime-type.pipe.d.ts +0 -8
- package/lib/invoice/pipes/number-plus.pipe.d.ts +0 -11
- package/lib/invoice/pipes/percent-plus.pipe.d.ts +0 -11
- package/lib/invoice/services/configuration-invoice.service.d.ts +0 -26
- package/lib/version.d.ts +0 -8
- package/public-api.d.ts +0 -7
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { LanguageType } from '../../invoice/model';
|
|
2
|
-
import { IElementDto } from './ava-models';
|
|
3
|
-
import { IFunctionViewLine } from './function-view-line.model';
|
|
4
|
-
import { SelectedElement } from './selecting.model';
|
|
5
|
-
import { TableColumnType } from './tableColumnType';
|
|
6
|
-
import { ITextWords } from '../constants/defaultTextWords';
|
|
7
|
-
import { IKeyboardOperationConfig } from '../services/keyboard-operation.service';
|
|
8
|
-
export interface IConfigurationTree {
|
|
9
|
-
/**
|
|
10
|
-
* Optional, defaults to 20px. If this is set, then the tree will be indented by the given value each level.
|
|
11
|
-
* This can be any valid CSS value for the padding-left property, such as 20px, 1em, or 5%.
|
|
12
|
-
*/
|
|
13
|
-
indent?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Optional, you can supply a color to be used as the background color for the selected line. Defaults to the primary
|
|
16
|
-
* color from the Material theme, which is #00acc1.
|
|
17
|
-
*/
|
|
18
|
-
selectedColor?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Optional, defaults to true. If this is disabled, then the double click event for elements is not raised, and clicking on an elemt sends an immediate result since the component has not to wait and check if a double click event is fired.
|
|
21
|
-
*/
|
|
22
|
-
allowDblClick?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* If this is set to true, then the tree will be in selection mode, and the user can select elements by clicking on them. The selected elements will be emitted in the selectedElementsChanged event.
|
|
25
|
-
*/
|
|
26
|
-
isSelectionMode?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* You can optionally supply a list of elements that should be selected initially. This is only used if isSelectionMode is true.
|
|
29
|
-
*/
|
|
30
|
-
initiallySelectedElements?: SelectedElement[];
|
|
31
|
-
/**
|
|
32
|
-
* 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. There are also 'DEFAULT_TEXT_WORDS' and 'germanTextsAva' supplied with the package. You may optionally just submit the string values 'en' or 'de' to use the default text words for English or German.
|
|
33
|
-
*/
|
|
34
|
-
textWords?: ITextWords | LanguageType;
|
|
35
|
-
/**
|
|
36
|
-
* Defaults to true. If this is enabled, then navigating in the tree with the keyboard only works if the mouse is over the tree area. This limitation is useful if you have multiple trees or other components that might be using keyboard input.
|
|
37
|
-
*/
|
|
38
|
-
mouseAwareKeyboardControl?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* With this parameter, you can configure which keys will be listenend to to switch the tree elements, and also to disable the functionality of the keys
|
|
41
|
-
*/
|
|
42
|
-
customKeyboardOperationConfig?: IKeyboardOperationConfig | null;
|
|
43
|
-
/**
|
|
44
|
-
* You can supply custom filters that are processed when the filter input is changed. Default filters are used that check for short text and item number matches, and you can either add custom filters or replace the default ones.
|
|
45
|
-
*/
|
|
46
|
-
listFilterFunc?: FilterFunction[];
|
|
47
|
-
/**
|
|
48
|
-
* Optional. For table views, this allows you to add custom columns to the table.
|
|
49
|
-
* addTableColumns: Array of objects
|
|
50
|
-
* {
|
|
51
|
-
* name: string, // name of column
|
|
52
|
-
* title: string, // showed title of column
|
|
53
|
-
* align?: string, // optional alight: left(default) / center / right
|
|
54
|
-
* numberFormat?: string // optional format of number value, example: '1.2-2'
|
|
55
|
-
* }
|
|
56
|
-
*/
|
|
57
|
-
addTableColumns?: TableColumnType[];
|
|
58
|
-
/**
|
|
59
|
-
* This allows you to supply a list of functions that can be used to change the appearance of elements.
|
|
60
|
-
* They objects contain a predicate function that is evaluated, along with an option to configure the appearance of the element.
|
|
61
|
-
* functionView: Array of objects
|
|
62
|
-
* {
|
|
63
|
-
* name: string, // name of view part: you can add/remove it when needed
|
|
64
|
-
* func: (element: any, result?: any) => boolean, // this filter function calculates conditions to change the view
|
|
65
|
-
* view: {
|
|
66
|
-
* iconName?: string, // changed name of icon
|
|
67
|
-
* iconColor?: string, // changed color of icon
|
|
68
|
-
* textBold?: string, // changed weight of text
|
|
69
|
-
* textColor?: string // changed color of text
|
|
70
|
-
* }
|
|
71
|
-
* }
|
|
72
|
-
*/
|
|
73
|
-
functionView?: IFunctionViewLine[];
|
|
74
|
-
}
|
|
75
|
-
export type FilterFunction = (element: IElementDto, filter: string) => boolean | undefined | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IElementDto } from './ava-models';
|
|
2
|
-
export interface IFunctionViewLine {
|
|
3
|
-
name: string;
|
|
4
|
-
func: (element: IElementDto) => boolean;
|
|
5
|
-
view: IViewLine;
|
|
6
|
-
}
|
|
7
|
-
export interface IViewLine {
|
|
8
|
-
iconName?: string;
|
|
9
|
-
iconColor?: string;
|
|
10
|
-
textBold?: string;
|
|
11
|
-
textColor?: string;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ExchangePhaseDto, ExecutionDescriptionDto, IElementDto, ItemNumberDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, NoteTextDto, OriginDto, PositionDto, PriceRoundingModeDto, PriceTypeDto, ProjectDto, ServiceSpecificationDto, ServiceSpecificationGroupDto } from './ava-models';
|
|
2
|
-
import { IConfigurationTree } from './config-tree.model';
|
|
3
|
-
import { ContextMenuDataType } from './context-menu-data.model';
|
|
4
|
-
import { IFunctionViewLine, IViewLine } from './function-view-line.model';
|
|
5
|
-
import { SelectedElement } from './selecting.model';
|
|
6
|
-
import { TableColumnType } from './tableColumnType';
|
|
7
|
-
import { ModeViewType } from './tree-mode.model';
|
|
8
|
-
export { ProjectDto, ServiceSpecificationDto, IElementDto, PositionDto, ExecutionDescriptionDto, NoteTextDto, ServiceSpecificationGroupDto, ItemNumberDto, SelectedElement, ModeViewType, TableColumnType, IFunctionViewLine, IViewLine, ContextMenuDataType, ExchangePhaseDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, OriginDto, PriceRoundingModeDto, PriceTypeDto, IConfigurationTree };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface SelectedElement {
|
|
2
|
-
elementId: string;
|
|
3
|
-
children?: SelectedElement[] | null;
|
|
4
|
-
}
|
|
5
|
-
export type SelectingElementsType = {
|
|
6
|
-
elementId: string;
|
|
7
|
-
children?: SelectingElementsType[];
|
|
8
|
-
parent?: SelectingElementsType | null;
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
indeterminate?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export type SelectingElementsObjectType = {
|
|
13
|
-
[elementId: string]: SelectingElementsType;
|
|
14
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { IElementDto } from '../model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ElementIconNamePipe implements PipeTransform {
|
|
5
|
-
transform(element: IElementDto): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementIconNamePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElementIconNamePipe, "elementIconName", true>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { IElementDto } from '../model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ElementItemNumberPipe implements PipeTransform {
|
|
5
|
-
transform(element: IElementDto): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementItemNumberPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElementItemNumberPipe, "elementItemNumber", true>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ITextWords } from '../constants/defaultTextWords';
|
|
3
|
-
import { IElementDto } from '../model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ElementTextPipe implements PipeTransform {
|
|
6
|
-
transform(element: IElementDto, treeWords: ITextWords): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementTextPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElementTextPipe, "elementText", true>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { IElementDto } from '../model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GroupChildElementsPipe implements PipeTransform {
|
|
5
|
-
transform(element: IElementDto): IElementDto[] | null;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupChildElementsPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GroupChildElementsPipe, "groupChildElements", true>;
|
|
8
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ITextWords } from '../constants/defaultTextWords';
|
|
3
|
-
import { FilterFunction, IConfigurationTree } from '../model/config-tree.model';
|
|
4
|
-
import { IFunctionViewLine } from '../model/function-view-line.model';
|
|
5
|
-
import { SelectedElement } from '../model/selecting.model';
|
|
6
|
-
import { TableColumnType } from '../model/tableColumnType';
|
|
7
|
-
import { IKeyboardOperationConfig } from '../services/keyboard-operation.service';
|
|
8
|
-
export declare class ConfigurationTreeService {
|
|
9
|
-
private _language;
|
|
10
|
-
private _textWords;
|
|
11
|
-
private _indent;
|
|
12
|
-
private _functionView;
|
|
13
|
-
private _selectedColor;
|
|
14
|
-
private _allowDblClick;
|
|
15
|
-
private _mouseAwareKeyboardControl;
|
|
16
|
-
private _addTableColumns;
|
|
17
|
-
private _isSelectionMode;
|
|
18
|
-
private _initiallySelectedElements;
|
|
19
|
-
private _customKeyboardOperationConfig;
|
|
20
|
-
private _listFilterFunc;
|
|
21
|
-
private treeConfigSource;
|
|
22
|
-
treeConfig$: Observable<IConfigurationTree>;
|
|
23
|
-
constructor();
|
|
24
|
-
setTreeConfig(value: IConfigurationTree): void;
|
|
25
|
-
getCurrentTreeConfig(): IConfigurationTree | null;
|
|
26
|
-
getTextWordsFromConfig(): Observable<ITextWords | null>;
|
|
27
|
-
private selectTextWords;
|
|
28
|
-
getIndentFromConfig(): Observable<string>;
|
|
29
|
-
getFunctionViewFromConfig(): Observable<IFunctionViewLine[]>;
|
|
30
|
-
getSelectedColorFromConfig(): Observable<string>;
|
|
31
|
-
getAllowDblClickFromConfig(): Observable<boolean>;
|
|
32
|
-
getAddTableColumnsFromConfig(): Observable<TableColumnType[]>;
|
|
33
|
-
getIsSelectionModeFromConfig(): Observable<boolean>;
|
|
34
|
-
getInitiallySelectedElementsViewFromConfig(): Observable<SelectedElement[]>;
|
|
35
|
-
getMouseAwareKeyboardControlFromConfig(): Observable<boolean>;
|
|
36
|
-
getCustomKeyboardOperationConfigFromConfig(): Observable<IKeyboardOperationConfig | null>;
|
|
37
|
-
getListFilterFuncFromConfig(): Observable<FilterFunction[]>;
|
|
38
|
-
private getDefaultConfiguration;
|
|
39
|
-
get locale(): string;
|
|
40
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IElementDto } from '../model/ava-models';
|
|
2
|
-
export interface IExpansionState {
|
|
3
|
-
[id: string]: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class ExpandParentGroupService {
|
|
6
|
-
expansionState: import("@angular/core").WritableSignal<IExpansionState | null>;
|
|
7
|
-
constructor();
|
|
8
|
-
expandParentGroups(element: IElementDto, flatElements: IElementDto[] | null, expansionState: {
|
|
9
|
-
[id: string]: boolean;
|
|
10
|
-
}): void;
|
|
11
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { IElementDto, ServiceSpecificationDto } from '../model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FlatElementsService {
|
|
5
|
-
private _flatElementsDto;
|
|
6
|
-
private flatElementsDtoSource;
|
|
7
|
-
flatElementsDto: Observable<IElementDto[]>;
|
|
8
|
-
private objectElementsDto;
|
|
9
|
-
listFilterFunc: import("../model/config-tree.model").FilterFunction[];
|
|
10
|
-
constructor();
|
|
11
|
-
setElementsDto(elementsDto: ServiceSpecificationDto): void;
|
|
12
|
-
static getFlatElements(container: {
|
|
13
|
-
elements?: IElementDto[] | null;
|
|
14
|
-
}): IElementDto[];
|
|
15
|
-
static getObjectElements(elements: IElementDto[]): {
|
|
16
|
-
[id: string]: IElementDto;
|
|
17
|
-
};
|
|
18
|
-
getOneElementById(id: string | null): Observable<IElementDto | null>;
|
|
19
|
-
checkFilterValue(element: IElementDto, filterValue: string): boolean;
|
|
20
|
-
jumpNextNode(delta: number, currentElement: IElementDto | null, conditionFunc?: (e: IElementDto) => boolean): IElementDto | null;
|
|
21
|
-
private getNextIndex;
|
|
22
|
-
getObjectElementsDto(): {
|
|
23
|
-
[id: string]: IElementDto;
|
|
24
|
-
};
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlatElementsService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlatElementsService>;
|
|
27
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IElementDto } from '../model/ava-models';
|
|
2
|
-
export interface IKeyboardOperationConfig {
|
|
3
|
-
operations: IKeyboardOperations;
|
|
4
|
-
}
|
|
5
|
-
export declare enum KeyboardOperationType {
|
|
6
|
-
MoveSelectedPositionUp = "moveSelectedPositionUp",
|
|
7
|
-
MoveSelectedPositionDown = "moveSelectedPositionDown",
|
|
8
|
-
MoveChosenPositionDown = "moveChosenPositionDown",
|
|
9
|
-
MoveChosenPositionUp = "moveChosenPositionUp",
|
|
10
|
-
ClearChosenPosition = "clearChosenPosition",
|
|
11
|
-
SelectChosenPosition = "selectChosenPosition"
|
|
12
|
-
}
|
|
13
|
-
export type IKeyboardOperations = {
|
|
14
|
-
[key in KeyboardOperationType]?: IKeyboardOperation;
|
|
15
|
-
};
|
|
16
|
-
export interface IKeyboardOperation {
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
keyEvent?: string;
|
|
19
|
-
}
|
|
20
|
-
export declare class KeyboardOperationService {
|
|
21
|
-
private defaultKeyboardOperationConfig;
|
|
22
|
-
private flatElementsService;
|
|
23
|
-
private selectElementService;
|
|
24
|
-
private currentConfig;
|
|
25
|
-
constructor();
|
|
26
|
-
getConfig(): {
|
|
27
|
-
operations: IKeyboardOperations;
|
|
28
|
-
};
|
|
29
|
-
mergeConfigOperation(config: IKeyboardOperationConfig): void;
|
|
30
|
-
private deepMerge;
|
|
31
|
-
handleKeyboardEvent(keyEvent: KeyboardEvent, element: IElementDto | null): {
|
|
32
|
-
operation: KeyboardOperationType;
|
|
33
|
-
nextElement: IElementDto | null;
|
|
34
|
-
} | null;
|
|
35
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IElementDto } from '../model';
|
|
2
|
-
export declare class SelectElementService {
|
|
3
|
-
private preselectedElementSource;
|
|
4
|
-
private preselectedElementWasNull;
|
|
5
|
-
preselectedElement: import("rxjs").Observable<IElementDto | null>;
|
|
6
|
-
private selectClickElementSource;
|
|
7
|
-
selectClickElement: import("rxjs").Observable<IElementDto | null>;
|
|
8
|
-
private selectDblClickElementSource;
|
|
9
|
-
selectDblClickElement: import("rxjs").Observable<IElementDto>;
|
|
10
|
-
private selectContextMenuElementSource;
|
|
11
|
-
selectContextMenuElement: import("rxjs").Observable<{
|
|
12
|
-
position: {
|
|
13
|
-
x: string;
|
|
14
|
-
y: string;
|
|
15
|
-
};
|
|
16
|
-
node: IElementDto;
|
|
17
|
-
}>;
|
|
18
|
-
setPreselectedElement(element: IElementDto | null): void;
|
|
19
|
-
setClickElement(element: IElementDto | null): void;
|
|
20
|
-
setDblClickElement(element: IElementDto): void;
|
|
21
|
-
setContextMenuElement(data: {
|
|
22
|
-
position: {
|
|
23
|
-
x: string;
|
|
24
|
-
y: string;
|
|
25
|
-
};
|
|
26
|
-
node: IElementDto;
|
|
27
|
-
}): void;
|
|
28
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IElementDto } from '../model/ava-models';
|
|
2
|
-
import { SelectedElement, SelectingElementsType } from '../model/selecting.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TreeNodeSelectionService {
|
|
5
|
-
private treeNodeSelectingSource;
|
|
6
|
-
treeNodeSelecting: import("rxjs").Observable<{
|
|
7
|
-
[elementId: string]: SelectingElementsType;
|
|
8
|
-
}>;
|
|
9
|
-
private _selectingElementsTreeData;
|
|
10
|
-
private selectingChangedSource;
|
|
11
|
-
selectingChanged: import("rxjs").Observable<SelectingElementsType[]>;
|
|
12
|
-
flatSelectedListId: string[];
|
|
13
|
-
constructor();
|
|
14
|
-
setSelectingChanged(selectingChanged: SelectingElementsType[]): void;
|
|
15
|
-
loadSelectingElements(elements: IElementDto[] | null | undefined, parent?: SelectingElementsType | null | undefined): SelectingElementsType[];
|
|
16
|
-
getTreeData(): SelectingElementsType[] | null;
|
|
17
|
-
private changeAllChild;
|
|
18
|
-
private changeAllParent;
|
|
19
|
-
changeSelecting(value: boolean, id: string, isUserChanged?: boolean): void;
|
|
20
|
-
private getIndeterminate;
|
|
21
|
-
changeAll(value: boolean): void;
|
|
22
|
-
getFlatSelectedListId(selectedElements: SelectedElement[]): void;
|
|
23
|
-
getTreeRoot(treeRoot: SelectingElementsType[]): SelectingElementsType[];
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeSelectionService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TreeNodeSelectionService>;
|
|
26
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IConfigurationInvoice, ITextWordInvoice } from '../../model';
|
|
4
|
-
import { Invoice } from '../../model';
|
|
5
|
-
import { IColorSettings } from '../../model/configInvoice.model';
|
|
6
|
-
import { ConfigurationInvoiceService } from '../../services/configuration-invoice.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class InvoiceDisplayComponent implements OnInit {
|
|
9
|
-
private configurationInvoiceService;
|
|
10
|
-
private transformFn;
|
|
11
|
-
readonly invoice: import("@angular/core").InputSignalWithTransform<Invoice | null, Invoice>;
|
|
12
|
-
readonly colorSettings$: Observable<IColorSettings | null>;
|
|
13
|
-
readonly textWords$: Observable<ITextWordInvoice | null>;
|
|
14
|
-
readonly pdfViewEnabled$: Observable<boolean>;
|
|
15
|
-
private readonly currencyCode;
|
|
16
|
-
/**
|
|
17
|
-
* You can supply a map of strings to be used for the text in the tree. This allows you to translate
|
|
18
|
-
* the text in the tree to other languages.
|
|
19
|
-
* {
|
|
20
|
-
* invoiceTitle: string;
|
|
21
|
-
* vatId: string;
|
|
22
|
-
* detailsInvoiceNumber: string;
|
|
23
|
-
* detailsInvoiceDate: string;
|
|
24
|
-
* detailsPaymentDueDate: string;
|
|
25
|
-
* detailsCurrencyCode: string;
|
|
26
|
-
* detailsPaymentTerms: string;
|
|
27
|
-
* referencesTopic: string;
|
|
28
|
-
* referencesBuyerReference: string;
|
|
29
|
-
* referencesProjectReference: string;
|
|
30
|
-
* referencesContractReference: string;
|
|
31
|
-
* referencesPurchaseOrderReference: string;
|
|
32
|
-
* referencesSalesOrderReference: string;
|
|
33
|
-
* referencesReceivingAdviceReference: string;
|
|
34
|
-
* referencesDispatchAdviceReference: string;
|
|
35
|
-
* referencesTenderOrLotReference: string;
|
|
36
|
-
* referencesInvoicedObjectIdentifier: string;
|
|
37
|
-
* tableHeadDescription: string;
|
|
38
|
-
* tableHeadQuantity: string;
|
|
39
|
-
* tableHeadUnit: string;
|
|
40
|
-
* tableHeadNetPrice: string;
|
|
41
|
-
* tableHeadNetAmount: string;
|
|
42
|
-
* totalsTopic: string;
|
|
43
|
-
* totalsTotalNet: string;
|
|
44
|
-
* totalsTotalAllowances: string;
|
|
45
|
-
* totalsTotalCharges: string;
|
|
46
|
-
* totalsTotalAfterDeductions: string;
|
|
47
|
-
* totalsTotalVatAmount: string;
|
|
48
|
-
* totalsTotalGross: string;
|
|
49
|
-
* totalsAlreadyPaidTotal: string;
|
|
50
|
-
* totalsTotalToBePaid: string;
|
|
51
|
-
* instructionsTopic: string;
|
|
52
|
-
* instructionsAccountIdentifier: string;
|
|
53
|
-
* instructionsAccountName: string;
|
|
54
|
-
* instructionsServiceProviderIdentifier: string;
|
|
55
|
-
* notesTopic: string;
|
|
56
|
-
* attachmentsHeading: string;
|
|
57
|
-
* attachmentsName: string;
|
|
58
|
-
* attachmentsDescription: string;
|
|
59
|
-
* attachmentsUrl: string;
|
|
60
|
-
* attachmentsDataSize: string;
|
|
61
|
-
* attachmentsMimeType: string;
|
|
62
|
-
* attachmentsFileName: string;
|
|
63
|
-
* attachmentsDownloadButton: string;
|
|
64
|
-
*
|
|
65
|
-
* }
|
|
66
|
-
*/
|
|
67
|
-
readonly config: import("@angular/core").InputSignalWithTransform<IConfigurationInvoice | null, IConfigurationInvoice>;
|
|
68
|
-
private readonly linkedConfig;
|
|
69
|
-
constructor(configurationInvoiceService: ConfigurationInvoiceService);
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDisplayComponent, never>;
|
|
72
|
-
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>;
|
|
73
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
-
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { IColorSettings } from '../../model/configInvoice.model';
|
|
5
|
-
import { SupportingDocument } from '../../model/invoice-models';
|
|
6
|
-
import { ITextWordInvoice } from '../../model/invoice-words.model';
|
|
7
|
-
import { ConfigurationInvoiceService } from '../../services/configuration-invoice.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class InvoiceDocumentsComponent implements OnInit, AfterViewInit {
|
|
10
|
-
private configurationInvoiceService;
|
|
11
|
-
documents: import("@angular/core").InputSignal<SupportingDocument[]>;
|
|
12
|
-
documentsPanel: MatExpansionPanel | null;
|
|
13
|
-
private destroyRef;
|
|
14
|
-
readonly textWords$: Observable<ITextWordInvoice | null>;
|
|
15
|
-
readonly colorSettings$: Observable<IColorSettings | null>;
|
|
16
|
-
pdfViewEnabled: boolean;
|
|
17
|
-
constructor(configurationInvoiceService: ConfigurationInvoiceService);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
download(documentValue: SupportingDocument): void;
|
|
21
|
-
private downloadAny;
|
|
22
|
-
private downloadLink;
|
|
23
|
-
private saveAs;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceDocumentsComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDocumentsComponent, "ava-invoice-documents", never, { "documents": { "alias": "documents"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { InvoiceLineItem } from '../../model/invoice-models';
|
|
3
|
-
import { ITextWordInvoice } from '../../model/invoice-words.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InvoiceLineItemAdditionalInfoComponent {
|
|
6
|
-
lineItem: InvoiceLineItem;
|
|
7
|
-
private configurationInvoiceService;
|
|
8
|
-
readonly textWords$: Observable<ITextWordInvoice | null>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceLineItemAdditionalInfoComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceLineItemAdditionalInfoComponent, "ava-invoice-line-item-additional-info", never, { "lineItem": { "alias": "lineItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
package/lib/invoice/components/invoice-line-items-table/invoice-line-items-table.component.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IColorSettings } from '../../model/configInvoice.model';
|
|
4
|
-
import { InvoiceLineItem } from '../../model/invoice-models';
|
|
5
|
-
import { ITextWordInvoice } from '../../model/invoice-words.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface IInvoiceLineItemsPuls extends InvoiceLineItem {
|
|
8
|
-
indentLevel: number | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare class InvoiceLineItemsTableComponent implements OnInit {
|
|
11
|
-
lineItems: import("@angular/core").InputSignal<InvoiceLineItem[]>;
|
|
12
|
-
flatLineItems: IInvoiceLineItemsPuls[];
|
|
13
|
-
private configurationInvoiceService;
|
|
14
|
-
readonly textWords$: Observable<ITextWordInvoice | null>;
|
|
15
|
-
readonly pdfViewEnabled$: Observable<boolean>;
|
|
16
|
-
readonly colorSettings$: Observable<IColorSettings | null>;
|
|
17
|
-
readonly displayedColumns: string[];
|
|
18
|
-
private expandedElements;
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
toggleRow(row: IInvoiceLineItemsPuls): void;
|
|
21
|
-
isRowExpanded(row: IInvoiceLineItemsPuls): boolean;
|
|
22
|
-
private getFlatLineItems;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceLineItemsTableComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceLineItemsTableComponent, "ava-invoice-line-items-table", never, { "lineItems": { "alias": "lineItems"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { IColorSettings } from '../../model/configInvoice.model';
|
|
3
|
-
import { DeliveryInformation, References } from '../../model/invoice-models';
|
|
4
|
-
import { ITextWordInvoice } from '../../model/invoice-words.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ReferenceAndDeliveryInformationComponent {
|
|
7
|
-
deliveryInformation: import("@angular/core").InputSignal<DeliveryInformation | null>;
|
|
8
|
-
references: import("@angular/core").InputSignal<References | null>;
|
|
9
|
-
private configurationInvoiceService;
|
|
10
|
-
readonly textWords$: Observable<ITextWordInvoice | null>;
|
|
11
|
-
readonly colorSettings$: Observable<IColorSettings | null>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReferenceAndDeliveryInformationComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferenceAndDeliveryInformationComponent, "ava-reference-and-delivery-information", never, { "deliveryInformation": { "alias": "deliveryInformation"; "required": false; "isSignal": true; }; "references": { "alias": "references"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_TEXT_WORD_INVOICE, germanTextsInvoice } from './defaultTextWordInvoice';
|
|
2
|
-
import { DEFAULT_CURRENCY_CODE, DEFAULT_DIGITS_INFO, DEFAULT_LANGUAGE, localeTypes } from './language';
|
|
3
|
-
export { DEFAULT_TEXT_WORD_INVOICE, germanTextsInvoice, DEFAULT_DIGITS_INFO, DEFAULT_CURRENCY_CODE, DEFAULT_LANGUAGE, localeTypes };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LanguageType } from '../model';
|
|
2
|
-
export declare const DEFAULT_DIGITS_INFO: string;
|
|
3
|
-
export declare const DEFAULT_CURRENCY_CODE: string;
|
|
4
|
-
export declare const DEFAULT_LANGUAGE: LanguageType;
|
|
5
|
-
export declare const localeTypes: {
|
|
6
|
-
en: string;
|
|
7
|
-
de: string;
|
|
8
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ITextWordInvoice } from './invoice-words.model';
|
|
2
|
-
export interface IConfigurationInvoice {
|
|
3
|
-
textWords?: ITextWordInvoice | null;
|
|
4
|
-
pdfViewEnabled?: boolean;
|
|
5
|
-
language?: LanguageType;
|
|
6
|
-
quantityDecimalPlaces?: string;
|
|
7
|
-
colorSettings?: IColorSettings | null;
|
|
8
|
-
}
|
|
9
|
-
export interface IColorSettings {
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
textColor: string;
|
|
12
|
-
}
|
|
13
|
-
export type LanguageType = 'en' | 'de';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IConfigurationInvoice, LanguageType } from './configInvoice.model';
|
|
2
|
-
import { InvoiceType, References, PreviousInvoice, Organization, Payee, InvoiceNote, InvoicePeriod, InvoiceTotals, PaymentInstructions, PaymentMeans, SupportingDocument, AttachmentMimeType, VatBreakdown, VatCategory, InvoiceAllowance, InvoiceCharge, InvoiceLineItem, LineItemAllowance, LineItemCharge, LineItemPriceDetail, LineItemVatInformation, LineItemInformation, LineItemAttribute, Invoice } from './invoice-models';
|
|
3
|
-
import { ITextWordInvoice } from './invoice-words.model';
|
|
4
|
-
export { ITextWordInvoice, InvoiceType, References, PreviousInvoice, Organization, Payee, InvoiceNote, InvoicePeriod, InvoiceTotals, PaymentInstructions, PaymentMeans, SupportingDocument, AttachmentMimeType, VatBreakdown, VatCategory, InvoiceAllowance, InvoiceCharge, InvoiceLineItem, LineItemAllowance, LineItemCharge, LineItemPriceDetail, LineItemVatInformation, LineItemInformation, LineItemAttribute, Invoice, IConfigurationInvoice, LanguageType };
|