ng-tailwind 4.2.21 → 4.2.22
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/components/ngt-context-menu/ngt-context-menu.directive.d.ts +3 -2
- package/esm2020/components/ngt-context-menu/ngt-context-menu.directive.mjs +6 -2
- package/fesm2015/ng-tailwind.mjs +5 -1
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +5 -1
- package/fesm2020/ng-tailwind.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/ng-tailwind.mjs
CHANGED
|
@@ -7958,6 +7958,7 @@ class NgtContextMenuDirective {
|
|
|
7958
7958
|
this.viewContainerRef = viewContainerRef;
|
|
7959
7959
|
this.changeDetector = changeDetector;
|
|
7960
7960
|
this.onNgtContextMenuClick = new EventEmitter();
|
|
7961
|
+
this.onOpenNgtContextMenu = new EventEmitter();
|
|
7961
7962
|
this.componentRef = null;
|
|
7962
7963
|
}
|
|
7963
7964
|
onContextMenu(event) {
|
|
@@ -7989,6 +7990,7 @@ class NgtContextMenuDirective {
|
|
|
7989
7990
|
this.componentRef.instance.menuTemplate = this.ngtContextMenuTemplate;
|
|
7990
7991
|
this.bindSubscriptions();
|
|
7991
7992
|
document.body.appendChild(this.componentRef.location.nativeElement);
|
|
7993
|
+
this.onOpenNgtContextMenu.emit(this.componentRef.instance);
|
|
7992
7994
|
}
|
|
7993
7995
|
bindSubscriptions() {
|
|
7994
7996
|
this.menuItemClickSubscription = this.componentRef.instance
|
|
@@ -8009,7 +8011,7 @@ class NgtContextMenuDirective {
|
|
|
8009
8011
|
}
|
|
8010
8012
|
}
|
|
8011
8013
|
NgtContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtContextMenuDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8012
|
-
NgtContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.8", type: NgtContextMenuDirective, selector: "[ngt-contextmenu]", inputs: { ngtContextMenuOptions: "ngtContextMenuOptions", ngtContextMenuTemplate: "ngtContextMenuTemplate" }, outputs: { onNgtContextMenuClick: "onNgtContextMenuClick" }, host: { listeners: { "contextmenu": "onContextMenu($event)", "document:contextmenu": "onDocumentContextMenuClick($event)", "document:click": "onDocumentClick()", "click": "onClick()" } }, ngImport: i0 });
|
|
8014
|
+
NgtContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.8", type: NgtContextMenuDirective, selector: "[ngt-contextmenu]", inputs: { ngtContextMenuOptions: "ngtContextMenuOptions", ngtContextMenuTemplate: "ngtContextMenuTemplate" }, outputs: { onNgtContextMenuClick: "onNgtContextMenuClick", onOpenNgtContextMenu: "onOpenNgtContextMenu" }, host: { listeners: { "contextmenu": "onContextMenu($event)", "document:contextmenu": "onDocumentContextMenuClick($event)", "document:click": "onDocumentClick()", "click": "onClick()" } }, ngImport: i0 });
|
|
8013
8015
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtContextMenuDirective, decorators: [{
|
|
8014
8016
|
type: Directive,
|
|
8015
8017
|
args: [{
|
|
@@ -8017,6 +8019,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
8017
8019
|
}]
|
|
8018
8020
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onNgtContextMenuClick: [{
|
|
8019
8021
|
type: Output
|
|
8022
|
+
}], onOpenNgtContextMenu: [{
|
|
8023
|
+
type: Output
|
|
8020
8024
|
}], ngtContextMenuOptions: [{
|
|
8021
8025
|
type: Input
|
|
8022
8026
|
}], ngtContextMenuTemplate: [{
|