@rxap/window-system 19.0.5 → 21.0.1-dev.1
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/CHANGELOG.md +39 -0
- package/compodoc/changelog.html +37 -0
- package/compodoc/classes/WindowRef.html +46 -47
- package/compodoc/components/WindowActionBarComponent.html +26 -64
- package/compodoc/components/WindowContainerComponent.html +219 -175
- package/compodoc/components/WindowContentComponent.html +27 -135
- package/compodoc/components/WindowResizerComponent.html +188 -194
- package/compodoc/components/WindowTaskBarComponent.html +43 -166
- package/compodoc/components/WindowTaskBarContainerComponent.html +43 -105
- package/compodoc/components/WindowTaskComponent.html +71 -66
- package/compodoc/components/WindowToolBarComponent.html +33 -65
- package/compodoc/dependencies.html +11 -11
- package/compodoc/directives/WindowFooterDirective.html +6 -90
- package/compodoc/graph/dependencies.svg +15 -255
- package/compodoc/injectables/WindowService.html +23 -124
- package/compodoc/interfaces/WindowFooterTemplateContext.html +4 -16
- package/compodoc/interfaces/WindowTaskBarContainerSettings.html +14 -25
- package/compodoc/js/menu-wc.js +0 -67
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -34
- package/compodoc/overview.html +1 -287
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2306 -3085
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/DefaultWindowComponent.html +2 -2
- package/docs/html/classes/WindowActionBarComponent.html +2 -2
- package/docs/html/classes/WindowContainerComponent.html +5 -10
- package/docs/html/classes/WindowContentComponent.html +2 -12
- package/docs/html/classes/WindowFooterDirective.html +4 -4
- package/docs/html/classes/WindowInstanceService.html +3 -3
- package/docs/html/classes/WindowRef.html +22 -22
- package/docs/html/classes/WindowResizerComponent.html +6 -10
- package/docs/html/classes/WindowService.html +2 -2
- package/docs/html/classes/WindowTaskBarComponent.html +5 -13
- package/docs/html/classes/WindowTaskBarContainerComponent.html +2 -2
- package/docs/html/classes/WindowTaskComponent.html +2 -2
- package/docs/html/classes/WindowTitleDirective.html +3 -3
- package/docs/html/classes/WindowToolBarComponent.html +2 -2
- package/docs/html/functions/GetWindowStartPos.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/WindowActions.html +2 -2
- package/docs/html/interfaces/WindowConfig.html +2 -2
- package/docs/html/interfaces/WindowContainerContext.html +2 -2
- package/docs/html/interfaces/WindowContext.html +2 -2
- package/docs/html/interfaces/WindowFooterTemplateContext.html +2 -2
- package/docs/html/interfaces/WindowSettings.html +2 -2
- package/docs/html/interfaces/WindowTaskBarContainerSettings.html +2 -2
- package/docs/html/interfaces/WindowTitleTemplateContext.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/DEFAULT_WINDOW_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_CONTAINER_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_DATA.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_DEFAULT_SETTINGS.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_REF.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_SETTINGS.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/DefaultWindowComponent.md +2 -2
- package/docs/markdown/classes/WindowActionBarComponent.md +7 -17
- package/docs/markdown/classes/WindowContainerComponent.md +42 -44
- package/docs/markdown/classes/WindowContentComponent.md +8 -77
- package/docs/markdown/classes/WindowFooterDirective.md +5 -21
- package/docs/markdown/classes/WindowInstanceService.md +5 -5
- package/docs/markdown/classes/WindowRef.md +69 -71
- package/docs/markdown/classes/WindowResizerComponent.md +26 -45
- package/docs/markdown/classes/WindowService.md +13 -33
- package/docs/markdown/classes/WindowTaskBarComponent.md +9 -72
- package/docs/markdown/classes/WindowTaskBarContainerComponent.md +6 -16
- package/docs/markdown/classes/WindowTaskComponent.md +6 -6
- package/docs/markdown/classes/WindowTitleDirective.md +4 -4
- package/docs/markdown/classes/WindowToolBarComponent.md +5 -11
- package/docs/markdown/functions/GetWindowStartPos.md +2 -2
- package/docs/markdown/globals.md +2 -4
- package/docs/markdown/interfaces/WindowActions.md +4 -4
- package/docs/markdown/interfaces/WindowConfig.md +25 -25
- package/docs/markdown/interfaces/WindowContainerContext.md +4 -4
- package/docs/markdown/interfaces/WindowContext.md +6 -6
- package/docs/markdown/interfaces/WindowFooterTemplateContext.md +3 -3
- package/docs/markdown/interfaces/WindowSettings.md +17 -17
- package/docs/markdown/interfaces/WindowTaskBarContainerSettings.md +3 -3
- package/docs/markdown/interfaces/WindowTitleTemplateContext.md +3 -3
- package/docs/markdown/variables/DEFAULT_WINDOW_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_CONTAINER_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_DATA.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_DEFAULT_SETTINGS.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_REF.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_SETTINGS.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +2 -2
- package/docs/wiki/Class.DefaultWindowComponent.md +1 -1
- package/docs/wiki/Class.WindowActionBarComponent.md +6 -16
- package/docs/wiki/Class.WindowContainerComponent.md +41 -43
- package/docs/wiki/Class.WindowContentComponent.md +7 -76
- package/docs/wiki/Class.WindowFooterDirective.md +4 -20
- package/docs/wiki/Class.WindowInstanceService.md +4 -4
- package/docs/wiki/Class.WindowRef.md +68 -70
- package/docs/wiki/Class.WindowResizerComponent.md +25 -44
- package/docs/wiki/Class.WindowService.md +12 -32
- package/docs/wiki/Class.WindowTaskBarComponent.md +8 -71
- package/docs/wiki/Class.WindowTaskBarContainerComponent.md +5 -15
- package/docs/wiki/Class.WindowTaskComponent.md +5 -5
- package/docs/wiki/Class.WindowTitleDirective.md +3 -3
- package/docs/wiki/Class.WindowToolBarComponent.md +4 -10
- package/docs/wiki/Function.GetWindowStartPos.md +1 -1
- package/docs/wiki/Interface.WindowActions.md +3 -3
- package/docs/wiki/Interface.WindowConfig.md +24 -24
- package/docs/wiki/Interface.WindowContainerContext.md +3 -3
- package/docs/wiki/Interface.WindowContext.md +5 -5
- package/docs/wiki/Interface.WindowFooterTemplateContext.md +2 -2
- package/docs/wiki/Interface.WindowSettings.md +16 -16
- package/docs/wiki/Interface.WindowTaskBarContainerSettings.md +2 -2
- package/docs/wiki/Interface.WindowTitleTemplateContext.md +2 -2
- package/docs/wiki/Variable.DEFAULT_WINDOW_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_CONTAINER_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_DATA.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_DEFAULT_SETTINGS.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_REF.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_SETTINGS.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -2
- package/docs/wiki/globals.md +1 -3
- package/fesm2022/rxap-window-system.mjs +151 -296
- package/fesm2022/rxap-window-system.mjs.map +1 -1
- package/package.json +30 -29
- package/types/rxap-window-system.d.ts +305 -0
- package/docs/html/classes/RxapWindowSystemModule.html +0 -2
- package/docs/html/classes/WindowTaskBarModule.html +0 -2
- package/docs/markdown/classes/RxapWindowSystemModule.md +0 -19
- package/docs/markdown/classes/WindowTaskBarModule.md +0 -19
- package/docs/wiki/Class.RxapWindowSystemModule.md +0 -15
- package/docs/wiki/Class.WindowTaskBarModule.md +0 -15
- package/index.d.ts +0 -20
- package/lib/default-window/default-window.component.d.ts +0 -5
- package/lib/tokens.d.ts +0 -10
- package/lib/utilities.d.ts +0 -4
- package/lib/window-action-bar/window-action-bar.component.d.ts +0 -11
- package/lib/window-config.d.ts +0 -35
- package/lib/window-container/window-container.component.d.ts +0 -21
- package/lib/window-content/window-content.component.d.ts +0 -20
- package/lib/window-context.d.ts +0 -13
- package/lib/window-footer.directive.d.ts +0 -22
- package/lib/window-instance.service.d.ts +0 -12
- package/lib/window-ref.d.ts +0 -71
- package/lib/window-resizer/window-resizer.component.d.ts +0 -17
- package/lib/window-system.module.d.ts +0 -13
- package/lib/window-task-bar/window-task/window-task.component.d.ts +0 -9
- package/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.d.ts +0 -14
- package/lib/window-task-bar/window-task-bar.component.d.ts +0 -14
- package/lib/window-task-bar/window-task-bar.module.d.ts +0 -9
- package/lib/window-title.directive.d.ts +0 -21
- package/lib/window-tool-bar/window-tool-bar.component.d.ts +0 -8
- package/lib/window.service.d.ts +0 -27
package/lib/window-ref.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayRef, OverlaySizeConfig } from '@angular/cdk/overlay';
|
|
2
|
-
import { Portal } from '@angular/cdk/portal';
|
|
3
|
-
import { ComponentRef, EmbeddedViewRef } from '@angular/core';
|
|
4
|
-
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
|
5
|
-
import { WindowSettings } from './window-config';
|
|
6
|
-
export declare class WindowRef<D = any, R = any> extends Subject<R> {
|
|
7
|
-
protected readonly overlayRef: OverlayRef;
|
|
8
|
-
protected readonly overlay: Overlay;
|
|
9
|
-
protected readonly settings: WindowSettings<D>;
|
|
10
|
-
readonly width$: BehaviorSubject<string>;
|
|
11
|
-
readonly height$: BehaviorSubject<string>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated removed. use the subscribe method and wait for the resolve event
|
|
14
|
-
*/
|
|
15
|
-
readonly closed$: Subject<R | undefined>;
|
|
16
|
-
attachedRef$: ReplaySubject<ComponentRef<any> | EmbeddedViewRef<any>>;
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
footerPortal$: ReplaySubject<Portal<any>>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
titlePortal$: ReplaySubject<Portal<any>>;
|
|
25
|
-
settings$: ReplaySubject<WindowSettings<any>>;
|
|
26
|
-
/**
|
|
27
|
-
* stores the window size before fullScreen
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
private oldSizes;
|
|
31
|
-
constructor(overlayRef: OverlayRef, overlay: Overlay, settings: WindowSettings<D>);
|
|
32
|
-
get id(): string | undefined;
|
|
33
|
-
get minimizable(): boolean | undefined;
|
|
34
|
-
get draggable(): boolean | undefined;
|
|
35
|
-
get minWidth(): string | undefined;
|
|
36
|
-
get minHeight(): string | undefined;
|
|
37
|
-
get maxWidth(): string | undefined;
|
|
38
|
-
get maxHeight(): string | undefined;
|
|
39
|
-
get isMinimized(): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated removed. use the complete method
|
|
42
|
-
* @param result
|
|
43
|
-
*/
|
|
44
|
-
close(result?: R): void;
|
|
45
|
-
complete(): void;
|
|
46
|
-
minimize(): void;
|
|
47
|
-
reopen(): void;
|
|
48
|
-
getSizeConfig(): OverlaySizeConfig;
|
|
49
|
-
setWidth(width: string): void;
|
|
50
|
-
setHeight(height: string): void;
|
|
51
|
-
getWidth(): string;
|
|
52
|
-
getHeight(): string;
|
|
53
|
-
setPos(x: string, y: string): void;
|
|
54
|
-
getPos(): {
|
|
55
|
-
x: string;
|
|
56
|
-
y: string;
|
|
57
|
-
};
|
|
58
|
-
fullScreen(): void;
|
|
59
|
-
/**
|
|
60
|
-
* @param portal
|
|
61
|
-
*/
|
|
62
|
-
setFooterPortal(portal: Portal<any>): void;
|
|
63
|
-
setTitlePortal(portal: Portal<any>): void;
|
|
64
|
-
setAttachedRef(attachedRef: ComponentRef<any> | EmbeddedViewRef<any>): void;
|
|
65
|
-
/**
|
|
66
|
-
* Injects the window settings from the component ref injector and overwrites
|
|
67
|
-
* the settings
|
|
68
|
-
* @private
|
|
69
|
-
*/
|
|
70
|
-
private updateWindowSettings;
|
|
71
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { WindowRef } from '../window-ref';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WindowResizerComponent implements OnInit, OnDestroy {
|
|
5
|
-
containerRef: ElementRef<any>;
|
|
6
|
-
windowRef: WindowRef<any>;
|
|
7
|
-
resizerRef: ElementRef<any>;
|
|
8
|
-
width$: EventEmitter<string>;
|
|
9
|
-
height$: EventEmitter<string>;
|
|
10
|
-
resizing$: EventEmitter<boolean>;
|
|
11
|
-
private _subscription;
|
|
12
|
-
constructor(context: any);
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowResizerComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowResizerComponent, "rxap-window-resizer", never, { "containerRef": { "alias": "containerRef"; "required": true; }; }, { "width$": "width"; "height$": "height"; "resizing$": "resizing"; }, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./window-container/window-container.component";
|
|
3
|
-
import * as i2 from "./window-tool-bar/window-tool-bar.component";
|
|
4
|
-
import * as i3 from "./window-resizer/window-resizer.component";
|
|
5
|
-
import * as i4 from "./default-window/default-window.component";
|
|
6
|
-
import * as i5 from "./window-content/window-content.component";
|
|
7
|
-
import * as i6 from "./window-action-bar/window-action-bar.component";
|
|
8
|
-
import * as i7 from "./window-task-bar/window-task-bar.module";
|
|
9
|
-
export declare class RxapWindowSystemModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RxapWindowSystemModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RxapWindowSystemModule, never, [typeof i1.WindowContainerComponent, typeof i2.WindowToolBarComponent, typeof i3.WindowResizerComponent, typeof i4.DefaultWindowComponent, typeof i5.WindowContentComponent, typeof i6.WindowActionBarComponent], [typeof i1.WindowContainerComponent, typeof i2.WindowToolBarComponent, typeof i3.WindowResizerComponent, typeof i4.DefaultWindowComponent, typeof i5.WindowContentComponent, typeof i7.WindowTaskBarModule]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RxapWindowSystemModule>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { WindowRef } from '../../window-ref';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WindowTaskComponent {
|
|
4
|
-
window: WindowRef<any>;
|
|
5
|
-
close(): void;
|
|
6
|
-
reopen(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskComponent, "rxap-window-task", never, { "window": { "alias": "window"; "required": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
package/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { WindowService } from '../../window.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface WindowTaskBarContainerSettings {
|
|
5
|
-
expand?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS: InjectionToken<unknown>;
|
|
8
|
-
export declare class WindowTaskBarContainerComponent {
|
|
9
|
-
windowService: WindowService;
|
|
10
|
-
expand: boolean;
|
|
11
|
-
constructor(windowService: WindowService, settings?: WindowTaskBarContainerSettings | null);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarContainerComponent, [null, { optional: true; }]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskBarContainerComponent, "rxap-window-task-bar-container", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { WindowService } from '../window.service';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WindowTaskBarComponent implements OnInit, OnDestroy {
|
|
6
|
-
windowService: WindowService;
|
|
7
|
-
cdr: ChangeDetectorRef;
|
|
8
|
-
subscriptions: Subscription;
|
|
9
|
-
constructor(windowService: WindowService, cdr: ChangeDetectorRef);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskBarComponent, "rxap-window-task-bar", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./window-task-bar.component";
|
|
3
|
-
import * as i2 from "./window-task/window-task.component";
|
|
4
|
-
import * as i3 from "./window-task-bar-container/window-task-bar-container.component";
|
|
5
|
-
export declare class WindowTaskBarModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowTaskBarModule, never, [typeof i1.WindowTaskBarComponent, typeof i2.WindowTaskComponent, typeof i3.WindowTaskBarContainerComponent], [typeof i1.WindowTaskBarComponent, typeof i3.WindowTaskBarContainerComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WindowTaskBarModule>;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { WindowRef } from './window-ref';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface WindowTitleTemplateContext {
|
|
5
|
-
$implicit: WindowRef;
|
|
6
|
-
}
|
|
7
|
-
export declare class WindowTitleDirective implements OnInit {
|
|
8
|
-
private readonly windowRef;
|
|
9
|
-
private readonly template;
|
|
10
|
-
private readonly viewContainerRef;
|
|
11
|
-
/**
|
|
12
|
-
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
13
|
-
*
|
|
14
|
-
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
15
|
-
* `NgForOf` structural directive renders its template with a specific context type.
|
|
16
|
-
*/
|
|
17
|
-
static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any): ctx is WindowTitleTemplateContext;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowTitleDirective, "[rxapWindowTitle]", never, {}, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { WindowRef } from '../window-ref';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WindowToolBarComponent<D> {
|
|
4
|
-
windowRef: WindowRef<D>;
|
|
5
|
-
constructor(context: any);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowToolBarComponent<any>, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowToolBarComponent<any>, "rxap-window-tool-bar", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
package/lib/window.service.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ComponentFactoryResolver, Injector } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { WindowConfig, WindowSettings } from './window-config';
|
|
5
|
-
import { WindowRef } from './window-ref';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WindowService {
|
|
8
|
-
private readonly injector;
|
|
9
|
-
private readonly overlay;
|
|
10
|
-
private readonly componentFactoryResolver;
|
|
11
|
-
private readonly defaultWindowSettings?;
|
|
12
|
-
readonly activeCount$: Subject<number>;
|
|
13
|
-
private readonly active;
|
|
14
|
-
constructor(injector: Injector, overlay: Overlay, componentFactoryResolver: ComponentFactoryResolver, defaultWindowSettings?: WindowSettings | undefined);
|
|
15
|
-
get hasActiveWindows(): boolean;
|
|
16
|
-
get activeWindowCount(): number;
|
|
17
|
-
get allActiveWindows(): Array<WindowRef<any>>;
|
|
18
|
-
get<D>(id: string): WindowRef<D>;
|
|
19
|
-
close(id: string): void;
|
|
20
|
-
has(id: string): boolean;
|
|
21
|
-
open<D, T>(config: WindowConfig<D, T>): WindowRef<D>;
|
|
22
|
-
remove(id: string): boolean;
|
|
23
|
-
add(windowRef: WindowRef<any>): void;
|
|
24
|
-
private createOverlay;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, [null, null, null, { optional: true; }]>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
|
|
27
|
-
}
|