@trudb/tru-common-lib 0.2.121 → 0.2.124
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.
|
@@ -6032,7 +6032,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
6032
6032
|
class TruDataGridPkeyCellRenderer {
|
|
6033
6033
|
dataContext;
|
|
6034
6034
|
dataGridClipboard;
|
|
6035
|
-
util;
|
|
6036
6035
|
contextMenu;
|
|
6037
6036
|
params;
|
|
6038
6037
|
contextMenuPosition = { x: '0px', y: '0px' };
|
|
@@ -6042,10 +6041,9 @@ class TruDataGridPkeyCellRenderer {
|
|
|
6042
6041
|
insertAtTopIsDisabled = true;
|
|
6043
6042
|
// private eGui: is an empty element to satisfy the getGui method.
|
|
6044
6043
|
eGui;
|
|
6045
|
-
constructor(dataContext, dataGridClipboard
|
|
6044
|
+
constructor(dataContext, dataGridClipboard) {
|
|
6046
6045
|
this.dataContext = dataContext;
|
|
6047
6046
|
this.dataGridClipboard = dataGridClipboard;
|
|
6048
|
-
this.util = util;
|
|
6049
6047
|
}
|
|
6050
6048
|
onRightClick = (event) => {
|
|
6051
6049
|
event.preventDefault();
|
|
@@ -6095,7 +6093,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
6095
6093
|
this.params.eGridCell.removeEventListener('mousedown', this.onMouseDown);
|
|
6096
6094
|
this.params.eGridCell.removeEventListener('mousedown', this.onMouseUp);
|
|
6097
6095
|
}
|
|
6098
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, deps: [{ token: TruDataContext }, { token: TruDataGridClipboard }
|
|
6096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, deps: [{ token: TruDataContext }, { token: TruDataGridClipboard }], target: i0.ɵɵFactoryTarget.Component });
|
|
6099
6097
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridPkeyCellRenderer, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: MatMenuTrigger, descendants: true }], ngImport: i0, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
|
|
6100
6098
|
<div style="visibility: hidden; position: relative"
|
|
6101
6099
|
[style.left]="contextMenuPosition.x"
|
|
@@ -6146,7 +6144,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
6146
6144
|
</button>
|
|
6147
6145
|
</mat-menu>
|
|
6148
6146
|
</div>`, styles: ["::ng-deep .mat-mdc-menu-item{height:25px!important;min-height:25px!important}::ng-deep .mat-mdc-menu-content mat-icon svg{fill:#949494}\n"] }]
|
|
6149
|
-
}], ctorParameters: () => [{ type: TruDataContext }, { type: TruDataGridClipboard }
|
|
6147
|
+
}], ctorParameters: () => [{ type: TruDataContext }, { type: TruDataGridClipboard }], propDecorators: { contextMenu: [{
|
|
6150
6148
|
type: ViewChild,
|
|
6151
6149
|
args: [MatMenuTrigger]
|
|
6152
6150
|
}] } });
|