@trudb/tru-common-lib 0.2.131 → 0.2.133
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.
|
@@ -6068,12 +6068,9 @@ class TruDataGridCellRenderer {
|
|
|
6068
6068
|
}
|
|
6069
6069
|
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 });
|
|
6070
6070
|
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: MatMenuTrigger, descendants: true }], ngImport: i0, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
|
|
6071
|
-
<
|
|
6071
|
+
<mat-menu #truDataGridCellContextMenu="matMenu"
|
|
6072
6072
|
[style.left]="contextMenuPosition.x"
|
|
6073
|
-
[style.top]="contextMenuPosition.y"
|
|
6074
|
-
[matMenuTriggerFor]="truDataGridCellContextMenu">
|
|
6075
|
-
</div>
|
|
6076
|
-
<mat-menu #truDataGridCellContextMenu="matMenu">
|
|
6073
|
+
[style.top]="contextMenuPosition.y">
|
|
6077
6074
|
<button mat-menu-item (click)="onCopy($event)">
|
|
6078
6075
|
<mat-icon [svgIcon]="'copy-icon'"></mat-icon>
|
|
6079
6076
|
<span>Copy</span>
|
|
@@ -6083,7 +6080,7 @@ class TruDataGridCellRenderer {
|
|
|
6083
6080
|
<span>Paste</span>
|
|
6084
6081
|
</button>
|
|
6085
6082
|
</mat-menu>
|
|
6086
|
-
</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: i4$1.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: i4$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }
|
|
6083
|
+
</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: i4$1.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: i4$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6087
6084
|
}
|
|
6088
6085
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridCellRenderer, decorators: [{
|
|
6089
6086
|
type: Component,
|
|
@@ -6095,12 +6092,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
|
|
|
6095
6092
|
MatButtonModule,
|
|
6096
6093
|
MatMenuModule
|
|
6097
6094
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
|
|
6098
|
-
<
|
|
6095
|
+
<mat-menu #truDataGridCellContextMenu="matMenu"
|
|
6099
6096
|
[style.left]="contextMenuPosition.x"
|
|
6100
|
-
[style.top]="contextMenuPosition.y"
|
|
6101
|
-
[matMenuTriggerFor]="truDataGridCellContextMenu">
|
|
6102
|
-
</div>
|
|
6103
|
-
<mat-menu #truDataGridCellContextMenu="matMenu">
|
|
6097
|
+
[style.top]="contextMenuPosition.y">
|
|
6104
6098
|
<button mat-menu-item (click)="onCopy($event)">
|
|
6105
6099
|
<mat-icon [svgIcon]="'copy-icon'"></mat-icon>
|
|
6106
6100
|
<span>Copy</span>
|