@trudb/tru-common-lib 0.1.994 → 0.1.995
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.
|
@@ -5889,12 +5889,14 @@ class TruDataGridCellRenderer {
|
|
|
5889
5889
|
}
|
|
5890
5890
|
|
|
5891
5891
|
class TruDataGridPkeyCellRenderer {
|
|
5892
|
+
params;
|
|
5892
5893
|
// private eGui: is an empty element to satisfy the getGui method.
|
|
5893
5894
|
eGui;
|
|
5894
5895
|
onRightClick = (event) => {
|
|
5895
5896
|
event.preventDefault();
|
|
5896
5897
|
};
|
|
5897
|
-
|
|
5898
|
+
agInit(params) {
|
|
5899
|
+
this.params = params;
|
|
5898
5900
|
//params.eGridCell.innerHTML = '';
|
|
5899
5901
|
//let value = params.value;
|
|
5900
5902
|
//if (params.value < 0)
|
|
@@ -5911,7 +5913,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5911
5913
|
}
|
|
5912
5914
|
destroy() { }
|
|
5913
5915
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5914
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridPkeyCellRenderer, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<span [matMenuTriggerFor]="truDataGridContextMenu">
|
|
5916
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridPkeyCellRenderer, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<span [matMenuTriggerFor]="truDataGridContextMenu">{{params.value}}
|
|
5915
5917
|
<mat-menu #truDataGridContextMenu="matMenu">
|
|
5916
5918
|
<button mat-menu-item>
|
|
5917
5919
|
<span>Copy</span>
|
|
@@ -5935,7 +5937,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
5935
5937
|
MatButtonModule,
|
|
5936
5938
|
MatMenuModule,
|
|
5937
5939
|
MatIconModule
|
|
5938
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: `<span [matMenuTriggerFor]="truDataGridContextMenu">
|
|
5940
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: `<span [matMenuTriggerFor]="truDataGridContextMenu">{{params.value}}
|
|
5939
5941
|
<mat-menu #truDataGridContextMenu="matMenu">
|
|
5940
5942
|
<button mat-menu-item>
|
|
5941
5943
|
<span>Copy</span>
|