@nova-ui/dashboards 15.0.11 → 15.0.12
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/esm2020/lib/pizzagna/directives/component-portal/component-portal.directive.mjs +3 -2
- package/fesm2015/nova-ui-dashboards.mjs +3 -1
- package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
- package/fesm2020/nova-ui-dashboards.mjs +2 -1
- package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
- package/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +1 -0
- package/package.json +1 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.d.ts +1 -0
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js +3 -1
- package/sdk/atoms/src/lib/pizzagna/directives/component-portal/component-portal.directive.js.map +1 -1
|
@@ -3546,6 +3546,7 @@ class ComponentPortalDirective {
|
|
|
3546
3546
|
ngOnDestroy() {
|
|
3547
3547
|
this.logger.debug("Portal destroyed:", this.componentId);
|
|
3548
3548
|
this.destroyProviders();
|
|
3549
|
+
this.listenerUnsubscriber?.();
|
|
3549
3550
|
this.destroy$.next();
|
|
3550
3551
|
this.destroy$.complete();
|
|
3551
3552
|
}
|
|
@@ -3553,7 +3554,7 @@ class ComponentPortalDirective {
|
|
|
3553
3554
|
this.component = componentRef.instance;
|
|
3554
3555
|
// ctrl+shift+click on a pizzagna to get a dump of its properties
|
|
3555
3556
|
// this will propagate through the parent components, so it should dump the parent pizzagnas as well
|
|
3556
|
-
this.renderer.listen(componentRef.location.nativeElement, "click", (event) => {
|
|
3557
|
+
this.listenerUnsubscriber = this.renderer.listen(componentRef.location.nativeElement, "click", (event) => {
|
|
3557
3558
|
// event.metaKey is a CMD key for Mac
|
|
3558
3559
|
if ((event.ctrlKey || event.metaKey) &&
|
|
3559
3560
|
event.shiftKey &&
|