@trudb/tru-common-lib 0.2.37 → 0.2.39
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.
|
@@ -5947,6 +5947,8 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5947
5947
|
this.contextMenu.menu?.focusFirstItem('mouse');
|
|
5948
5948
|
this.contextMenu.openMenu();
|
|
5949
5949
|
};
|
|
5950
|
+
onMouseDown = (event) => {
|
|
5951
|
+
};
|
|
5950
5952
|
onMouseUp = (event) => {
|
|
5951
5953
|
event.stopPropagation();
|
|
5952
5954
|
event.preventDefault();
|
|
@@ -5988,6 +5990,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5988
5990
|
else
|
|
5989
5991
|
this.displayValue = params.value;
|
|
5990
5992
|
params.eGridCell.addEventListener('contextmenu', this.onRightClick);
|
|
5993
|
+
params.eGridCell.addEventListener('mousedown', this.onMouseDown);
|
|
5991
5994
|
params.eGridCell.addEventListener('mousedown', this.onMouseUp);
|
|
5992
5995
|
}
|
|
5993
5996
|
getGui() {
|
|
@@ -5998,6 +6001,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5998
6001
|
}
|
|
5999
6002
|
destroy() {
|
|
6000
6003
|
this.params.eGridCell.removeEventListener('contextmenu', this.onRightClick);
|
|
6004
|
+
this.params.eGridCell.removeEventListener('mousedown', this.onMouseDown);
|
|
6001
6005
|
this.params.eGridCell.removeEventListener('mousedown', this.onMouseUp);
|
|
6002
6006
|
}
|
|
6003
6007
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, deps: [{ token: TruDataGridClipboard }, { token: TruUtil }], target: i0.ɵɵFactoryTarget.Component });
|