@dangl/angular-ava 1.5.2-beta0078 → 1.5.2-beta0082
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _dangl_ava_model from '@dangl/ava-model';
|
|
2
|
-
import { IElementDto,
|
|
2
|
+
import { IElementDto, ProjectDto } from '@dangl/ava-model';
|
|
3
3
|
export { ExchangePhaseDto, ExecutionDescriptionDto, IElementDto, ItemNumberDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, NoteTextDto, OriginDto, PositionDto, PriceRoundingModeDto, PriceTypeDto, ProjectDto, ServiceSpecificationDto, ServiceSpecificationGroupDto } from '@dangl/ava-model';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { OnInit, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
|
|
@@ -1512,14 +1512,6 @@ type ContextMenuDataType = {
|
|
|
1512
1512
|
node: IElementDto;
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
-
/**
|
|
1516
|
-
* Represents an update to an element in the tree.
|
|
1517
|
-
*/
|
|
1518
|
-
interface IElementUpdate {
|
|
1519
|
-
id: string;
|
|
1520
|
-
updates: Partial<IPositionDto> | Partial<IServiceSpecificationGroupDto>;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
1515
|
declare enum ModeViewType {
|
|
1524
1516
|
Tree = "Tree",
|
|
1525
1517
|
List = "List",
|
|
@@ -1546,6 +1538,7 @@ declare class AvaTreeComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1546
1538
|
private expandParentGroupService;
|
|
1547
1539
|
private keyboardOperationService;
|
|
1548
1540
|
private configurationTreeService;
|
|
1541
|
+
private treeNodes;
|
|
1549
1542
|
private readonly injector;
|
|
1550
1543
|
private transformFn;
|
|
1551
1544
|
/**
|
|
@@ -1568,22 +1561,7 @@ declare class AvaTreeComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1568
1561
|
* ModeViewType.List or ModeViewType.Table.
|
|
1569
1562
|
*/
|
|
1570
1563
|
readonly modeview: _angular_core.InputSignal<ModeViewType>;
|
|
1571
|
-
|
|
1572
|
-
* Input to update a specific element in the tree by its ID.
|
|
1573
|
-
* When you set this input with a new value, the tree will find the element
|
|
1574
|
-
* and update its properties, then refresh the view.
|
|
1575
|
-
*
|
|
1576
|
-
* @example
|
|
1577
|
-
* // In parent component
|
|
1578
|
-
* elementUpdate = signal<IElementUpdate | null>(null);
|
|
1579
|
-
*
|
|
1580
|
-
* // In template
|
|
1581
|
-
* <ava-tree [elementUpdate]="elementUpdate()"></ava-tree>
|
|
1582
|
-
*
|
|
1583
|
-
* // To trigger update
|
|
1584
|
-
* this.elementUpdate.set({ id: 'element-123', updates: { shortText: 'New text' } });
|
|
1585
|
-
*/
|
|
1586
|
-
readonly elementUpdate: _angular_core.InputSignalWithTransform<IElementUpdate | null, IElementUpdate | null | undefined>;
|
|
1564
|
+
updateTree(elementIds: string[], hasAddedOrRemovedElements?: boolean): void;
|
|
1587
1565
|
/**
|
|
1588
1566
|
* You can optionally supply a list of elements that should be selected initially. This is only used if
|
|
1589
1567
|
* isSelectionMode is true.
|
|
@@ -1669,7 +1647,7 @@ declare class AvaTreeComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1669
1647
|
private initializeEventListeners;
|
|
1670
1648
|
private selectElementById;
|
|
1671
1649
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvaTreeComponent, never>;
|
|
1672
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvaTreeComponent, "ava-tree", never, { "project": { "alias": "project"; "required": true; "isSignal": true; }; "expansionstate": { "alias": "expansionstate"; "required": false; "isSignal": true; }; "selectednodeid": { "alias": "selectednodeid"; "required": false; "isSignal": true; }; "modeview": { "alias": "modeview"; "required": false; "isSignal": true; }; "
|
|
1650
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvaTreeComponent, "ava-tree", never, { "project": { "alias": "project"; "required": true; "isSignal": true; }; "expansionstate": { "alias": "expansionstate"; "required": false; "isSignal": true; }; "selectednodeid": { "alias": "selectednodeid"; "required": false; "isSignal": true; }; "modeview": { "alias": "modeview"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "selectClick": "selectClick"; "selectDblClick": "selectDblClick"; "contextMenuEvent": "contextMenuEvent"; "selectedElementsChanged": "selectedElementsChanged"; }, never, never, true, never>;
|
|
1673
1651
|
}
|
|
1674
1652
|
|
|
1675
1653
|
declare const DEFAULT_FILTERS: FilterFunction[];
|
|
@@ -1786,4 +1764,4 @@ declare const localeTypes: {
|
|
|
1786
1764
|
};
|
|
1787
1765
|
|
|
1788
1766
|
export { AttachmentMimeType, AvaTreeComponent, DEFAULT_CURRENCY_CODE, DEFAULT_DIGITS_INFO, DEFAULT_FILTERS, DEFAULT_LANGUAGE, DEFAULT_TEXT_WORDS, DEFAULT_TEXT_WORD_INVOICE, InvoiceDisplayComponent, InvoiceType, ModeViewType, VatCategory, defaults, germanTextsAva, germanTextsInvoice, localeTypes, version };
|
|
1789
|
-
export type { ContextMenuDataType, IConfigurationInvoice, IConfigurationTree,
|
|
1767
|
+
export type { ContextMenuDataType, IConfigurationInvoice, IConfigurationTree, IFunctionViewLine, ITextWordInvoice, IViewLine, Invoice, InvoiceAllowance, InvoiceCharge, InvoiceLineItem, InvoiceNote, InvoicePeriod, InvoiceTotals, LanguageType, LineItemAllowance, LineItemAttribute, LineItemCharge, LineItemInformation, LineItemPriceDetail, LineItemVatInformation, Organization, Payee, PaymentInstructions, PaymentMeans, PreviousInvoice, References, SelectedElement, SupportingDocument, TableColumnType, VatBreakdown };
|