@mintplayer/ng-bootstrap 14.5.1 → 14.5.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/esm2020/lib/components/modal/components/modal-host/modal-host.component.mjs +13 -3
- package/esm2020/lib/components/offcanvas/components/offcanvas-host/offcanvas-host.component.mjs +13 -4
- package/fesm2015/mintplayer-ng-bootstrap.mjs +22 -4
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +22 -4
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/lib/components/modal/components/modal-host/modal-host.component.d.ts +7 -3
- package/lib/components/offcanvas/components/offcanvas-host/offcanvas-host.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
1
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
-
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
3
|
+
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, EventEmitter, Injector, OnDestroy, TemplateRef } from '@angular/core';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
4
5
|
import { BsModalComponent } from '../modal/modal.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BsModalHostComponent implements AfterViewInit {
|
|
7
|
+
export declare class BsModalHostComponent implements AfterViewInit, OnDestroy {
|
|
7
8
|
private overlay;
|
|
8
9
|
private parentInjector;
|
|
9
10
|
private portalFactory;
|
|
10
11
|
private componentFactoryResolver;
|
|
11
12
|
constructor(overlay: Overlay, parentInjector: Injector, portalFactory: (injector: Injector) => ComponentPortal<any>, componentFactoryResolver: ComponentFactoryResolver);
|
|
13
|
+
overlayRef: OverlayRef;
|
|
12
14
|
componentInstance?: ComponentRef<BsModalComponent>;
|
|
13
15
|
template: TemplateRef<any>;
|
|
16
|
+
destroyed$: Subject<unknown>;
|
|
14
17
|
private _isOpen;
|
|
15
18
|
get isOpen(): boolean;
|
|
16
19
|
set isOpen(value: boolean);
|
|
17
20
|
isOpenChange: EventEmitter<boolean>;
|
|
18
21
|
closeOnEscape: boolean;
|
|
19
22
|
ngAfterViewInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
20
24
|
private onKeyDown;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsModalHostComponent, never>;
|
|
22
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<BsModalHostComponent, "bs-modal", never, { "isOpen": "isOpen"; "closeOnEscape": "closeOnEscape"; }, { "isOpenChange": "isOpenChange"; }, never, never, false>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
1
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
3
|
import { AfterViewInit, ComponentRef, EventEmitter, Injector, OnDestroy, TemplateRef } from '@angular/core';
|
|
4
4
|
import { BsViewState } from '../../../../types/view-state.type';
|
|
@@ -12,6 +12,7 @@ export declare class BsOffcanvasHostComponent implements AfterViewInit, OnDestro
|
|
|
12
12
|
private portalFactory;
|
|
13
13
|
constructor(overlayService: Overlay, rootInjector: Injector, portalFactory: (injector: Injector) => ComponentPortal<any>);
|
|
14
14
|
content: TemplateRef<any>;
|
|
15
|
+
overlayRef: OverlayRef;
|
|
15
16
|
component: ComponentRef<BsOffcanvasComponent>;
|
|
16
17
|
viewInited$: BehaviorSubject<boolean>;
|
|
17
18
|
state$: BehaviorSubject<BsViewState>;
|