@dangl/angular-ava 1.4.5-beta0028 → 1.4.5-beta0040
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.
|
@@ -244,12 +244,12 @@ var ModeViewType;
|
|
|
244
244
|
|
|
245
245
|
// This file is automatically generated as part of the build process
|
|
246
246
|
const version = {
|
|
247
|
-
version: "1.4.5-
|
|
248
|
-
commitInfo: "Branch.develop.Sha.
|
|
247
|
+
version: "1.4.5-beta0040",
|
|
248
|
+
commitInfo: "Branch.develop.Sha.e51a628d092dc533c9e47e5c30f4002be2ea8dc4",
|
|
249
249
|
commitDate: "2025-07-08",
|
|
250
|
-
commitHash: "
|
|
251
|
-
informationalVersion: "1.4.5-beta.
|
|
252
|
-
buildDateUtc: new Date(Date.UTC(2025, 6, 8,
|
|
250
|
+
commitHash: "e51a628d092dc533c9e47e5c30f4002be2ea8dc4",
|
|
251
|
+
informationalVersion: "1.4.5-beta.40+Branch.develop.Sha.e51a628d092dc533c9e47e5c30f4002be2ea8dc4",
|
|
252
|
+
buildDateUtc: new Date(Date.UTC(2025, 6, 8, 18, 39, 26))
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
class TreeHoverTooltipService {
|
|
@@ -1580,13 +1580,12 @@ class AvaTreeComponent {
|
|
|
1580
1580
|
set customKeyboardOperationConfig(config) {
|
|
1581
1581
|
this.keyboardOperationService.mergeConfigOperation(config);
|
|
1582
1582
|
}
|
|
1583
|
-
constructor(flatElementsService, selectElementService, treeNodeSelectionService, expandParentGroupService, keyboardOperationService,
|
|
1583
|
+
constructor(flatElementsService, selectElementService, treeNodeSelectionService, expandParentGroupService, keyboardOperationService, configurationTreeService) {
|
|
1584
1584
|
this.flatElementsService = flatElementsService;
|
|
1585
1585
|
this.selectElementService = selectElementService;
|
|
1586
1586
|
this.treeNodeSelectionService = treeNodeSelectionService;
|
|
1587
1587
|
this.expandParentGroupService = expandParentGroupService;
|
|
1588
1588
|
this.keyboardOperationService = keyboardOperationService;
|
|
1589
|
-
this.ngZone = ngZone;
|
|
1590
1589
|
this.configurationTreeService = configurationTreeService;
|
|
1591
1590
|
this.injector = inject(EnvironmentInjector);
|
|
1592
1591
|
this.transformFn = (data) => {
|
|
@@ -1805,30 +1804,27 @@ class AvaTreeComponent {
|
|
|
1805
1804
|
this.$destroy.complete();
|
|
1806
1805
|
}
|
|
1807
1806
|
handleGlobalKeyboardEvent(event) {
|
|
1808
|
-
|
|
1809
|
-
this.
|
|
1810
|
-
const
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
default:
|
|
1828
|
-
break;
|
|
1829
|
-
}
|
|
1807
|
+
const keyEvent = event;
|
|
1808
|
+
if (!this.mouseAwareKeyboardControl || this.avaMainWrapper().nativeElement.matches(':hover')) {
|
|
1809
|
+
const element = this.preselectedElement || this.selectedElement;
|
|
1810
|
+
const { operation, nextElement } = this.keyboardOperationService.handleKeyboardEvent(keyEvent, element) || { nextElement: null };
|
|
1811
|
+
switch (operation) {
|
|
1812
|
+
case KeyboardOperationType.MoveSelectedPositionUp:
|
|
1813
|
+
this.showElement(nextElement, '.select');
|
|
1814
|
+
break;
|
|
1815
|
+
case KeyboardOperationType.MoveSelectedPositionDown:
|
|
1816
|
+
this.showElement(nextElement, '.select');
|
|
1817
|
+
break;
|
|
1818
|
+
case KeyboardOperationType.MoveChosenPositionDown:
|
|
1819
|
+
this.showElement(nextElement, nextElement?.id === this.selectedElement?.id ? '.select' : '.choose');
|
|
1820
|
+
break;
|
|
1821
|
+
case KeyboardOperationType.MoveChosenPositionUp:
|
|
1822
|
+
this.showElement(nextElement, nextElement?.id === this.selectedElement?.id ? '.select' : '.choose');
|
|
1823
|
+
break;
|
|
1824
|
+
default:
|
|
1825
|
+
break;
|
|
1830
1826
|
}
|
|
1831
|
-
}
|
|
1827
|
+
}
|
|
1832
1828
|
}
|
|
1833
1829
|
showElement(element, nameQuery) {
|
|
1834
1830
|
if (element) {
|
|
@@ -1933,7 +1929,7 @@ class AvaTreeComponent {
|
|
|
1933
1929
|
}
|
|
1934
1930
|
});
|
|
1935
1931
|
}
|
|
1936
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AvaTreeComponent, deps: [{ token: FlatElementsService, self: true }, { token: SelectElementService, self: true }, { token: TreeNodeSelectionService, self: true }, { token: ExpandParentGroupService, self: true }, { token: KeyboardOperationService, self: true }, { token:
|
|
1932
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: AvaTreeComponent, deps: [{ token: FlatElementsService, self: true }, { token: SelectElementService, self: true }, { token: TreeNodeSelectionService, self: true }, { token: ExpandParentGroupService, self: true }, { token: KeyboardOperationService, self: true }, { token: ConfigurationTreeService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1937
1933
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: AvaTreeComponent, isStandalone: true, selector: "ava-tree", inputs: { project: { classPropertyName: "project", publicName: "project", isSignal: true, isRequired: true, transformFunction: null }, expansionstate: { classPropertyName: "expansionstate", publicName: "expansionstate", isSignal: true, isRequired: false, transformFunction: null }, selectednodeid: { classPropertyName: "selectednodeid", publicName: "selectednodeid", isSignal: true, isRequired: false, transformFunction: null }, modeview: { classPropertyName: "modeview", publicName: "modeview", isSignal: true, isRequired: false, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectClick: "selectClick", selectDblClick: "selectDblClick", contextMenuEvent: "contextMenuEvent", selectedElementsChanged: "selectedElementsChanged" }, providers: [
|
|
1938
1934
|
FlatElementsService,
|
|
1939
1935
|
SelectElementService,
|
|
@@ -1980,7 +1976,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
|
|
|
1980
1976
|
type: Self
|
|
1981
1977
|
}] }, { type: KeyboardOperationService, decorators: [{
|
|
1982
1978
|
type: Self
|
|
1983
|
-
}] }, { type:
|
|
1979
|
+
}] }, { type: ConfigurationTreeService }] });
|
|
1984
1980
|
|
|
1985
1981
|
class ConfigurationInvoiceService {
|
|
1986
1982
|
constructor() {
|