@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-beta0028",
248
- commitInfo: "Branch.develop.Sha.ed4309226df6bb9533ebc4b8a8fb727ae895fe5b",
247
+ version: "1.4.5-beta0040",
248
+ commitInfo: "Branch.develop.Sha.e51a628d092dc533c9e47e5c30f4002be2ea8dc4",
249
249
  commitDate: "2025-07-08",
250
- commitHash: "ed4309226df6bb9533ebc4b8a8fb727ae895fe5b",
251
- informationalVersion: "1.4.5-beta.28+Branch.develop.Sha.ed4309226df6bb9533ebc4b8a8fb727ae895fe5b",
252
- buildDateUtc: new Date(Date.UTC(2025, 6, 8, 14, 18, 2))
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, ngZone, configurationTreeService) {
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
- //TODO remove zone js. from the project
1809
- this.ngZone.run(() => {
1810
- const keyEvent = event;
1811
- if (!this.mouseAwareKeyboardControl || this.avaMainWrapper().nativeElement.matches(':hover')) {
1812
- const element = this.preselectedElement || this.selectedElement;
1813
- const { operation, nextElement } = this.keyboardOperationService.handleKeyboardEvent(keyEvent, element) || { nextElement: null };
1814
- switch (operation) {
1815
- case KeyboardOperationType.MoveSelectedPositionUp:
1816
- this.showElement(nextElement, '.select');
1817
- break;
1818
- case KeyboardOperationType.MoveSelectedPositionDown:
1819
- this.showElement(nextElement, '.select');
1820
- break;
1821
- case KeyboardOperationType.MoveChosenPositionDown:
1822
- this.showElement(nextElement, nextElement?.id === this.selectedElement?.id ? '.select' : '.choose');
1823
- break;
1824
- case KeyboardOperationType.MoveChosenPositionUp:
1825
- this.showElement(nextElement, nextElement?.id === this.selectedElement?.id ? '.select' : '.choose');
1826
- break;
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: i0.NgZone }, { token: ConfigurationTreeService }], target: i0.ɵɵFactoryTarget.Component }); }
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: i0.NgZone }, { type: ConfigurationTreeService }] });
1979
+ }] }, { type: ConfigurationTreeService }] });
1984
1980
 
1985
1981
  class ConfigurationInvoiceService {
1986
1982
  constructor() {