@bizy/core 19.15.1 → 19.15.2
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.
package/fesm2022/bizy-core.mjs
CHANGED
|
@@ -5759,8 +5759,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
5759
5759
|
class BizyTableColumnComponent {
|
|
5760
5760
|
id = `bizy-table-column-${Math.random()}`;
|
|
5761
5761
|
customClass = '';
|
|
5762
|
+
contextMenu = new EventEmitter();
|
|
5762
5763
|
onSelect = new EventEmitter();
|
|
5763
5764
|
#elementRef = inject(ElementRef);
|
|
5765
|
+
onRightClick(event) {
|
|
5766
|
+
this.contextMenu.emit(event);
|
|
5767
|
+
}
|
|
5764
5768
|
getId = () => {
|
|
5765
5769
|
return this.id;
|
|
5766
5770
|
};
|
|
@@ -5771,7 +5775,7 @@ class BizyTableColumnComponent {
|
|
|
5771
5775
|
this.#elementRef.nativeElement.setMarginLeft(margin);
|
|
5772
5776
|
}
|
|
5773
5777
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: BizyTableColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5774
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: BizyTableColumnComponent, isStandalone: true, selector: "bizy-table-column", inputs: { id: "id", customClass: "customClass" }, outputs: { onSelect: "onSelect" }, ngImport: i0, template: "<button \n type=\"button\"\n [id]=\"id\"\n (click)=\"onSelect.emit($event)\"\n (keyup.enter)=\"onSelect.emit($event)\"\n class=\"bizy-table-column {{customClass}}\">\n\n <ng-content></ng-content>\n \n</button>", styles: [":host{font-size:1rem;flex:1;background-color:inherit;min-height:var(--bizy-table-row-height);display:flex;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}:host:has(.bizy-table-column-arrows) .bizy-table-column{cursor:pointer!important}.bizy-table-column{font-size:1rem;min-width:var(--bizy-table-column-min-width);width:100%;cursor:var(--bizy-table-column-cursor);border-top:var(--bizy-table-column-border-top);border-right:var(--bizy-table-column-border-right);border-bottom:var(--bizy-table-column-border-bottom);border-left:var(--bizy-table-column-border-left);background-color:var(--bizy-table-column-background-color);display:flex;align-items:center;justify-content:var(--bizy-table-column-justify-content);column-gap:.3rem;padding-right:.3rem}::ng-deep .bizy-table-column *{text-align:start}::ng-deep .bizy-table-column:hover .bizy-table-column-arrows{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5778
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: BizyTableColumnComponent, isStandalone: true, selector: "bizy-table-column", inputs: { id: "id", customClass: "customClass" }, outputs: { contextMenu: "contextMenu", onSelect: "onSelect" }, host: { listeners: { "contextmenu": "onRightClick($event)" } }, ngImport: i0, template: "<button \n type=\"button\"\n [id]=\"id\"\n (click)=\"onSelect.emit($event)\"\n (keyup.enter)=\"onSelect.emit($event)\"\n class=\"bizy-table-column {{customClass}}\">\n\n <ng-content></ng-content>\n \n</button>", styles: [":host{font-size:1rem;flex:1;background-color:inherit;min-height:var(--bizy-table-row-height);display:flex;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}:host:has(.bizy-table-column-arrows) .bizy-table-column{cursor:pointer!important}.bizy-table-column{font-size:1rem;min-width:var(--bizy-table-column-min-width);width:100%;cursor:var(--bizy-table-column-cursor);border-top:var(--bizy-table-column-border-top);border-right:var(--bizy-table-column-border-right);border-bottom:var(--bizy-table-column-border-bottom);border-left:var(--bizy-table-column-border-left);background-color:var(--bizy-table-column-background-color);display:flex;align-items:center;justify-content:var(--bizy-table-column-justify-content);column-gap:.3rem;padding-right:.3rem}::ng-deep .bizy-table-column *{text-align:start}::ng-deep .bizy-table-column:hover .bizy-table-column-arrows{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5775
5779
|
}
|
|
5776
5780
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: BizyTableColumnComponent, decorators: [{
|
|
5777
5781
|
type: Component,
|
|
@@ -5780,8 +5784,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
5780
5784
|
type: Input
|
|
5781
5785
|
}], customClass: [{
|
|
5782
5786
|
type: Input
|
|
5787
|
+
}], contextMenu: [{
|
|
5788
|
+
type: Output
|
|
5783
5789
|
}], onSelect: [{
|
|
5784
5790
|
type: Output
|
|
5791
|
+
}], onRightClick: [{
|
|
5792
|
+
type: HostListener,
|
|
5793
|
+
args: ['contextmenu', ['$event']]
|
|
5785
5794
|
}] } });
|
|
5786
5795
|
|
|
5787
5796
|
class BizyTableHeaderComponent {
|