@trudb/tru-common-lib 0.2.12 → 0.2.13
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.
|
@@ -5909,8 +5909,8 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5909
5909
|
eGui;
|
|
5910
5910
|
onRightClick = (event) => {
|
|
5911
5911
|
event.preventDefault();
|
|
5912
|
-
this.contextMenuPosition.x = event.
|
|
5913
|
-
this.contextMenuPosition.y =
|
|
5912
|
+
this.contextMenuPosition.x = event.pageX + 'px';
|
|
5913
|
+
this.contextMenuPosition.y = event.pageY + 'px';
|
|
5914
5914
|
this.contextMenu.menu?.focusFirstItem('mouse');
|
|
5915
5915
|
this.contextMenu.openMenu();
|
|
5916
5916
|
};
|
|
@@ -5950,7 +5950,7 @@ class TruDataGridPkeyCellRenderer {
|
|
|
5950
5950
|
<span>Insert At Top</span>
|
|
5951
5951
|
</button>
|
|
5952
5952
|
</mat-menu>
|
|
5953
|
-
</div>`, isInline: true, styles: ["::ng-deep .mat-menu-item{height:25px!important;min-height:
|
|
5953
|
+
</div>`, isInline: true, 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"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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 });
|
|
5954
5954
|
}
|
|
5955
5955
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridPkeyCellRenderer, decorators: [{
|
|
5956
5956
|
type: Component,
|
|
@@ -5981,7 +5981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
5981
5981
|
<span>Insert At Top</span>
|
|
5982
5982
|
</button>
|
|
5983
5983
|
</mat-menu>
|
|
5984
|
-
</div>`, styles: ["::ng-deep .mat-menu-item{height:25px!important;min-height:
|
|
5984
|
+
</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"] }]
|
|
5985
5985
|
}], propDecorators: { contextMenu: [{
|
|
5986
5986
|
type: ViewChild,
|
|
5987
5987
|
args: [MatMenuTrigger]
|