@trudb/tru-common-lib 0.1.993 → 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: `<
|
|
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>
|
|
@@ -5923,7 +5925,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5923
5925
|
<span>Insert At Top</span>
|
|
5924
5926
|
</button>
|
|
5925
5927
|
</mat-menu>
|
|
5926
|
-
</
|
|
5928
|
+
</span>`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5927
5929
|
}
|
|
5928
5930
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, decorators: [{
|
|
5929
5931
|
type: Component,
|
|
@@ -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: `<
|
|
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>
|
|
@@ -5947,7 +5949,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
5947
5949
|
<span>Insert At Top</span>
|
|
5948
5950
|
</button>
|
|
5949
5951
|
</mat-menu>
|
|
5950
|
-
</
|
|
5952
|
+
</span>` }]
|
|
5951
5953
|
}] });
|
|
5952
5954
|
|
|
5953
5955
|
var TruDataGridTypes;
|