@dangl/angular-ava 1.3.1-beta0014 → 1.3.1-beta0016
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.
|
@@ -248,12 +248,12 @@ var ModeViewType;
|
|
|
248
248
|
|
|
249
249
|
// This file is automatically generated as part of the build process
|
|
250
250
|
const version = {
|
|
251
|
-
version: "1.3.1-
|
|
252
|
-
commitInfo: "Branch.develop.Sha.
|
|
251
|
+
version: "1.3.1-beta0016",
|
|
252
|
+
commitInfo: "Branch.develop.Sha.9308537098eac328d7cadd27403c21cd59479043",
|
|
253
253
|
commitDate: "2025-03-02",
|
|
254
|
-
commitHash: "
|
|
255
|
-
informationalVersion: "1.3.1-beta.
|
|
256
|
-
buildDateUtc: new Date(Date.UTC(2025, 2, 2,
|
|
254
|
+
commitHash: "9308537098eac328d7cadd27403c21cd59479043",
|
|
255
|
+
informationalVersion: "1.3.1-beta.16+Branch.develop.Sha.9308537098eac328d7cadd27403c21cd59479043",
|
|
256
|
+
buildDateUtc: new Date(Date.UTC(2025, 2, 2, 19, 12, 11))
|
|
257
257
|
};
|
|
258
258
|
|
|
259
259
|
class TreeHoverTooltipService {
|
|
@@ -1686,7 +1686,6 @@ class AvaTreeComponent {
|
|
|
1686
1686
|
return s;
|
|
1687
1687
|
}
|
|
1688
1688
|
});
|
|
1689
|
-
this.isListenKeyboard = false;
|
|
1690
1689
|
this.isEmiteSelectedElements = false;
|
|
1691
1690
|
this.selectingElementsTreeData = [];
|
|
1692
1691
|
this.flatElements = null;
|
|
@@ -1789,20 +1788,11 @@ class AvaTreeComponent {
|
|
|
1789
1788
|
this.$destroy.next(true);
|
|
1790
1789
|
this.$destroy.complete();
|
|
1791
1790
|
}
|
|
1792
|
-
mouseOver() {
|
|
1793
|
-
if (!this.isListenKeyboard) {
|
|
1794
|
-
this.isListenKeyboard = true;
|
|
1795
|
-
this.avaTreeFilterInput()?.nativeElement.focus();
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
mouseOut() {
|
|
1799
|
-
this.isListenKeyboard = false;
|
|
1800
|
-
}
|
|
1801
1791
|
handleGlobalKeyboardEvent(event) {
|
|
1802
1792
|
//TODO remove zone js. from the project
|
|
1803
1793
|
this.ngZone.run(() => {
|
|
1804
1794
|
const keyEvent = event;
|
|
1805
|
-
if (!this.mouseAwareKeyboardControl || this.
|
|
1795
|
+
if (!this.mouseAwareKeyboardControl || this.avaMainWrapper().nativeElement.matches(':hover')) {
|
|
1806
1796
|
const element = this.preselectedElement || this.selectedElement;
|
|
1807
1797
|
const { operation, nextElement } = this.keyboardOperationService.handleKeyboardEvent(keyEvent, element) || { nextElement: null };
|
|
1808
1798
|
switch (operation) {
|
|
@@ -1914,27 +1904,16 @@ class AvaTreeComponent {
|
|
|
1914
1904
|
this.cdr.markForCheck();
|
|
1915
1905
|
}
|
|
1916
1906
|
initializeEventListeners() {
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
.
|
|
1921
|
-
.
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
.pipe(takeUntil(this.$destroy))
|
|
1926
|
-
.subscribe(() => {
|
|
1927
|
-
this.mouseOver();
|
|
1907
|
+
if (!this.isSelectionMode) {
|
|
1908
|
+
fromEvent(document, 'keydown')
|
|
1909
|
+
.pipe(takeUntil(this.$destroy), filter(() => !this.mouseAwareKeyboardControl || this.avaMainWrapper().nativeElement.matches(':hover')))
|
|
1910
|
+
.subscribe((event) => {
|
|
1911
|
+
if (this.avaMainWrapper().nativeElement.matches(':hover')) {
|
|
1912
|
+
this.avaTreeFilterInput()?.nativeElement.focus();
|
|
1913
|
+
}
|
|
1914
|
+
this.handleGlobalKeyboardEvent(event);
|
|
1928
1915
|
});
|
|
1929
|
-
|
|
1930
|
-
fromEvent(document, 'keydown')
|
|
1931
|
-
.pipe(takeUntil(this.$destroy), filter(() => !this.mouseAwareKeyboardControl || this.isListenKeyboard))
|
|
1932
|
-
.subscribe((event) => {
|
|
1933
|
-
this.handleGlobalKeyboardEvent(event);
|
|
1934
|
-
this.cdr.detectChanges();
|
|
1935
|
-
});
|
|
1936
|
-
}
|
|
1937
|
-
});
|
|
1916
|
+
}
|
|
1938
1917
|
}
|
|
1939
1918
|
selectElementById(id) {
|
|
1940
1919
|
this.flatElementsService.getOneElementById(id).subscribe((e) => {
|