@trudb/tru-common-lib 0.2.140 → 0.2.144

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.
@@ -6121,9 +6121,11 @@ class TruDataGridCellRenderer {
6121
6121
  }
6122
6122
  destroy() {
6123
6123
  document.removeEventListener('mouseover', this.onMouseOver);
6124
+ this.contextMenu.closeMenu();
6125
+ this.contextMenu.ngOnDestroy();
6124
6126
  }
6125
6127
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridCellRenderer, deps: [{ token: TruDataContext }, { token: TruDataGridClipboard }], target: i0.ɵɵFactoryTarget.Component });
6126
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridCellRenderer, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: TruContextMenuTrigger, descendants: true }], ngImport: i0, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
6128
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridCellRenderer, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: TruContextMenuTrigger, descendants: true }], ngImport: i0, template: `<div>{{displayValue}}
6127
6129
  <div style="visibility: hidden; position: absolute;"
6128
6130
  [truContextMenuTriggerFor]="truDataGridCellContextMenu">
6129
6131
  </div>
@@ -6149,7 +6151,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
6149
6151
  MatButtonModule,
6150
6152
  MatMenuModule,
6151
6153
  TruContextMenuTrigger
6152
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
6154
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: `<div>{{displayValue}}
6153
6155
  <div style="visibility: hidden; position: absolute;"
6154
6156
  [truContextMenuTriggerFor]="truDataGridCellContextMenu">
6155
6157
  </div>