@dangl/angular-ava 1.5.2-beta0087 → 1.5.2-beta0090
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
|
@@ -1512,6 +1512,11 @@ type ContextMenuDataType = {
|
|
|
1512
1512
|
node: IElementDto;
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
+
interface TopLevelExpansionChangedEvent {
|
|
1516
|
+
elementId: string;
|
|
1517
|
+
isExpanded: boolean;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1515
1520
|
declare enum ModeViewType {
|
|
1516
1521
|
Tree = "Tree",
|
|
1517
1522
|
List = "List",
|
|
@@ -1615,6 +1620,11 @@ declare class AvaTreeComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1615
1620
|
* actually focussing them, e.g. for further processing.
|
|
1616
1621
|
*/
|
|
1617
1622
|
selectedElementsChanged: _angular_core.OutputEmitterRef<SelectedElement[]>;
|
|
1623
|
+
/**
|
|
1624
|
+
* This is emitted in tree view mode when a top-level element's expansion state changes.
|
|
1625
|
+
* The event contains the element id and whether it is now expanded or collapsed.
|
|
1626
|
+
*/
|
|
1627
|
+
topLevelExpansionChanged: _angular_core.OutputEmitterRef<TopLevelExpansionChangedEvent>;
|
|
1618
1628
|
avaTreeWrapper: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
1619
1629
|
avaMainWrapper: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
1620
1630
|
avaTreeFilterInput: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
@@ -1646,9 +1656,14 @@ declare class AvaTreeComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1646
1656
|
selectOrDeselectAll(value: boolean): void;
|
|
1647
1657
|
private getFilteredList;
|
|
1648
1658
|
private initializeEventListeners;
|
|
1659
|
+
/**
|
|
1660
|
+
* Programmatically select an element in the tree from outside the component.
|
|
1661
|
+
* You can pass either an IElementDto instance or a string id.
|
|
1662
|
+
*/
|
|
1663
|
+
selectElement(elementOrId: IElementDto | string): void;
|
|
1649
1664
|
private selectElementById;
|
|
1650
1665
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvaTreeComponent, never>;
|
|
1651
|
-
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>;
|
|
1666
|
+
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"; "topLevelExpansionChanged": "topLevelExpansionChanged"; }, never, never, true, never>;
|
|
1652
1667
|
}
|
|
1653
1668
|
|
|
1654
1669
|
declare const DEFAULT_FILTERS: FilterFunction[];
|
|
@@ -1765,4 +1780,4 @@ declare const localeTypes: {
|
|
|
1765
1780
|
};
|
|
1766
1781
|
|
|
1767
1782
|
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 };
|
|
1768
|
-
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 };
|
|
1783
|
+
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, TopLevelExpansionChangedEvent, VatBreakdown };
|