@rxap/window-system 21.0.1 → 22.0.0-dev.0
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 +8 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/components/DefaultWindowComponent.html +2 -2
- package/compodoc/components/WindowTaskBarContainerComponent.html +9 -4
- package/compodoc/components/WindowToolBarComponent.html +2 -2
- package/compodoc/dependencies.html +8 -8
- package/compodoc/injectables/WindowService.html +17 -18
- package/compodoc/interfaces/WindowActions.html +0 -3
- package/compodoc/interfaces/WindowConfig.html +0 -48
- package/compodoc/interfaces/WindowSettings.html +0 -3
- package/compodoc/interfaces/WindowTaskBarContainerSettings.html +2 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/variables.html +0 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1238 -1278
- 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 +2 -2
- package/docs/html/classes/WindowContentComponent.html +2 -2
- package/docs/html/classes/WindowFooterDirective.html +3 -3
- package/docs/html/classes/WindowInstanceService.html +3 -3
- package/docs/html/classes/WindowRef.html +11 -11
- package/docs/html/classes/WindowResizerComponent.html +4 -4
- package/docs/html/classes/WindowService.html +2 -2
- package/docs/html/classes/WindowTaskBarComponent.html +2 -2
- 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 -3
- 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 +6 -6
- package/docs/markdown/classes/WindowContainerComponent.md +14 -14
- package/docs/markdown/classes/WindowContentComponent.md +6 -6
- package/docs/markdown/classes/WindowFooterDirective.md +4 -4
- package/docs/markdown/classes/WindowInstanceService.md +5 -5
- package/docs/markdown/classes/WindowRef.md +36 -36
- package/docs/markdown/classes/WindowResizerComponent.md +11 -11
- package/docs/markdown/classes/WindowService.md +12 -12
- package/docs/markdown/classes/WindowTaskBarComponent.md +4 -4
- package/docs/markdown/classes/WindowTaskBarContainerComponent.md +5 -5
- package/docs/markdown/classes/WindowTaskComponent.md +5 -5
- package/docs/markdown/classes/WindowTitleDirective.md +4 -4
- package/docs/markdown/classes/WindowToolBarComponent.md +4 -4
- package/docs/markdown/functions/GetWindowStartPos.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/WindowActions.md +4 -4
- package/docs/markdown/interfaces/WindowConfig.md +23 -31
- 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 +5 -5
- package/docs/wiki/Class.WindowContainerComponent.md +13 -13
- package/docs/wiki/Class.WindowContentComponent.md +5 -5
- package/docs/wiki/Class.WindowFooterDirective.md +3 -3
- package/docs/wiki/Class.WindowInstanceService.md +4 -4
- package/docs/wiki/Class.WindowRef.md +35 -35
- package/docs/wiki/Class.WindowResizerComponent.md +10 -10
- package/docs/wiki/Class.WindowService.md +11 -11
- package/docs/wiki/Class.WindowTaskBarComponent.md +3 -3
- package/docs/wiki/Class.WindowTaskBarContainerComponent.md +4 -4
- package/docs/wiki/Class.WindowTaskComponent.md +4 -4
- package/docs/wiki/Class.WindowTitleDirective.md +3 -3
- package/docs/wiki/Class.WindowToolBarComponent.md +3 -3
- package/docs/wiki/Function.GetWindowStartPos.md +1 -1
- package/docs/wiki/Interface.WindowActions.md +3 -3
- package/docs/wiki/Interface.WindowConfig.md +22 -30
- 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/globals.md +1 -1
- package/fesm2022/rxap-window-system.mjs +1082 -342
- package/fesm2022/rxap-window-system.mjs.map +1 -1
- package/package.json +19 -19
- package/types/rxap-window-system.d.ts +278 -283
|
@@ -1,305 +1,300 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { ComponentType, Overlay, OverlayRef, OverlaySizeConfig } from "@angular/cdk/overlay";
|
|
5
|
+
import { CdkPortalOutlet, ComponentType as ComponentType$1, Portal } from "@angular/cdk/portal";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import { ComponentRef, ElementRef, EmbeddedViewRef, InjectionToken, Injector, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
8
|
+
import { BehaviorSubject, Observable, ReplaySubject, Subject } from "rxjs";
|
|
9
|
+
import { ButtonDefinition, ToggleSubject } from "@rxap/rxjs";
|
|
10
|
+
import { IconConfig } from "@rxap/utilities";
|
|
11
|
+
import { CdkDragEnd } from "@angular/cdk/drag-drop";
|
|
12
|
+
import { LoadingIndicatorService } from "@rxap/services";
|
|
13
|
+
export interface WindowActions<A> {
|
|
14
|
+
position?: 'start' | 'end';
|
|
15
|
+
definitions: ButtonDefinition<[A]>[];
|
|
15
16
|
}
|
|
16
|
-
interface WindowSettings<D = any> {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
export interface WindowSettings<D = any> {
|
|
18
|
+
id?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
icon?: IconConfig;
|
|
21
|
+
width?: string;
|
|
22
|
+
height?: string;
|
|
23
|
+
minWidth?: string;
|
|
24
|
+
minHeight?: string;
|
|
25
|
+
maxWidth?: string;
|
|
26
|
+
maxHeight?: string;
|
|
27
|
+
resizeable?: boolean;
|
|
28
|
+
minimizable?: boolean;
|
|
29
|
+
draggable?: boolean;
|
|
30
|
+
panelClass?: string;
|
|
31
|
+
data?: D;
|
|
32
|
+
actions?: WindowActions<D>;
|
|
32
33
|
}
|
|
33
|
-
interface WindowConfig<D = any, T = any> extends WindowSettings<D> {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
viewContainerRef?: ViewContainerRef | null;
|
|
34
|
+
export interface WindowConfig<D = any, T = any> extends WindowSettings<D> {
|
|
35
|
+
windowComponent?: ComponentType$1<T>;
|
|
36
|
+
component?: ComponentType$1<T>;
|
|
37
|
+
template?: TemplateRef<T>;
|
|
38
|
+
injector?: Injector | null;
|
|
39
|
+
injectorName?: string;
|
|
40
|
+
viewContainerRef?: ViewContainerRef | null;
|
|
41
41
|
}
|
|
42
|
-
declare const DEFAULT_WINDOW_CONFIG: WindowConfig<any, any>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
private updateWindowSettings;
|
|
42
|
+
export declare const DEFAULT_WINDOW_CONFIG: WindowConfig<any, any>;
|
|
43
|
+
export declare class WindowRef<D = any, R = any> extends Subject<R> {
|
|
44
|
+
protected readonly overlayRef: OverlayRef;
|
|
45
|
+
protected readonly overlay: Overlay;
|
|
46
|
+
protected readonly settings: WindowSettings<D>;
|
|
47
|
+
readonly width$: BehaviorSubject<string>;
|
|
48
|
+
readonly height$: BehaviorSubject<string>;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated removed. use the subscribe method and wait for the resolve event
|
|
51
|
+
*/
|
|
52
|
+
readonly closed$: Subject<R | undefined>;
|
|
53
|
+
attachedRef$: ReplaySubject<ComponentRef<any> | EmbeddedViewRef<any>>;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
footerPortal$: ReplaySubject<Portal<any>>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
titlePortal$: ReplaySubject<Portal<any>>;
|
|
62
|
+
settings$: ReplaySubject<WindowSettings<any>>;
|
|
63
|
+
/**
|
|
64
|
+
* stores the window size before fullScreen
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
private oldSizes;
|
|
68
|
+
constructor(overlayRef: OverlayRef, overlay: Overlay, settings: WindowSettings<D>);
|
|
69
|
+
get id(): string | undefined;
|
|
70
|
+
get minimizable(): boolean | undefined;
|
|
71
|
+
get draggable(): boolean | undefined;
|
|
72
|
+
get minWidth(): string | undefined;
|
|
73
|
+
get minHeight(): string | undefined;
|
|
74
|
+
get maxWidth(): string | undefined;
|
|
75
|
+
get maxHeight(): string | undefined;
|
|
76
|
+
get isMinimized(): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated removed. use the complete method
|
|
79
|
+
* @param result
|
|
80
|
+
*/
|
|
81
|
+
close(result?: R): void;
|
|
82
|
+
complete(): void;
|
|
83
|
+
minimize(): void;
|
|
84
|
+
reopen(): void;
|
|
85
|
+
getSizeConfig(): OverlaySizeConfig;
|
|
86
|
+
setWidth(width: string): void;
|
|
87
|
+
setHeight(height: string): void;
|
|
88
|
+
getWidth(): string;
|
|
89
|
+
getHeight(): string;
|
|
90
|
+
setPos(x: string, y: string): void;
|
|
91
|
+
getPos(): {
|
|
92
|
+
x: string;
|
|
93
|
+
y: string;
|
|
94
|
+
};
|
|
95
|
+
fullScreen(): void;
|
|
96
|
+
/**
|
|
97
|
+
* @param portal
|
|
98
|
+
*/
|
|
99
|
+
setFooterPortal(portal: Portal<any>): void;
|
|
100
|
+
setTitlePortal(portal: Portal<any>): void;
|
|
101
|
+
setAttachedRef(attachedRef: ComponentRef<any> | EmbeddedViewRef<any>): void;
|
|
102
|
+
/**
|
|
103
|
+
* Injects the window settings from the component ref injector and overwrites
|
|
104
|
+
* the settings
|
|
105
|
+
* @private
|
|
106
|
+
*/
|
|
107
|
+
private updateWindowSettings;
|
|
109
108
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowToolBarComponent<any>, "rxap-window-tool-bar", never, {}, {}, never, never, true, never>;
|
|
109
|
+
export declare class WindowToolBarComponent<D> {
|
|
110
|
+
windowRef: WindowRef<D>;
|
|
111
|
+
constructor();
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowToolBarComponent<any>, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowToolBarComponent<any>, "rxap-window-tool-bar", never, {}, {}, never, never, true, never>;
|
|
116
114
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
|
|
136
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
|
|
115
|
+
export declare class WindowService {
|
|
116
|
+
private readonly injector;
|
|
117
|
+
private readonly overlay;
|
|
118
|
+
private readonly defaultWindowSettings;
|
|
119
|
+
readonly activeCount$: Subject<number>;
|
|
120
|
+
private readonly active;
|
|
121
|
+
get hasActiveWindows(): boolean;
|
|
122
|
+
get activeWindowCount(): number;
|
|
123
|
+
get allActiveWindows(): Array<WindowRef<any>>;
|
|
124
|
+
get<D>(id: string): WindowRef<D>;
|
|
125
|
+
close(id: string): void;
|
|
126
|
+
has(id: string): boolean;
|
|
127
|
+
open<D, T>(config: WindowConfig<D, T>): WindowRef<D>;
|
|
128
|
+
remove(id: string): boolean;
|
|
129
|
+
add(windowRef: WindowRef<any>): void;
|
|
130
|
+
private createOverlay;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
|
|
132
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
137
133
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
expand?: boolean;
|
|
134
|
+
export interface WindowTaskBarContainerSettings {
|
|
135
|
+
expand?: boolean;
|
|
141
136
|
}
|
|
142
|
-
declare const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS: InjectionToken<unknown>;
|
|
143
|
-
declare class WindowTaskBarContainerComponent {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
137
|
+
export declare const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS: InjectionToken<unknown>;
|
|
138
|
+
export declare class WindowTaskBarContainerComponent {
|
|
139
|
+
windowService: WindowService;
|
|
140
|
+
expand: boolean;
|
|
141
|
+
constructor();
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarContainerComponent, never>;
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskBarContainerComponent, "rxap-window-task-bar-container", never, {}, {}, never, never, true, never>;
|
|
149
144
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
145
|
+
export declare class WindowTaskComponent {
|
|
146
|
+
readonly window: import("@angular/core").InputSignal<WindowRef<any, any>>;
|
|
147
|
+
close(): void;
|
|
148
|
+
reopen(): void;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskComponent, never>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskComponent, "rxap-window-task", never, {
|
|
151
|
+
"window": {
|
|
152
|
+
"alias": "window";
|
|
153
|
+
"required": true;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
}, {}, never, never, true, never>;
|
|
157
157
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskBarComponent, "rxap-window-task-bar", never, {}, {}, never, never, true, never>;
|
|
158
|
+
export declare class WindowTaskBarComponent {
|
|
159
|
+
windowService: WindowService;
|
|
160
|
+
/**
|
|
161
|
+
* Emits whenever the number of active windows changes. Reading the signal in the template
|
|
162
|
+
* marks the component dirty so the window list is re-evaluated.
|
|
163
|
+
*/
|
|
164
|
+
readonly activeCount: import("@angular/core").Signal<number | undefined>;
|
|
165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarComponent, never>;
|
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTaskBarComponent, "rxap-window-task-bar", never, {}, {}, never, never, true, never>;
|
|
168
167
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
168
|
+
export declare class WindowResizerComponent implements OnDestroy {
|
|
169
|
+
readonly containerRef: import("@angular/core").InputSignal<ElementRef<any>>;
|
|
170
|
+
windowRef: WindowRef<any>;
|
|
171
|
+
readonly resizerRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
172
|
+
readonly width$: import("@angular/core").OutputEmitterRef<string>;
|
|
173
|
+
readonly height$: import("@angular/core").OutputEmitterRef<string>;
|
|
174
|
+
readonly resizing$: import("@angular/core").OutputEmitterRef<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* null until the first resize action has started
|
|
177
|
+
*/
|
|
178
|
+
readonly resizing: import("@angular/core").WritableSignal<boolean | null>;
|
|
179
|
+
private _subscription;
|
|
180
|
+
constructor();
|
|
181
|
+
ngOnDestroy(): void;
|
|
182
|
+
private init;
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowResizerComponent, never>;
|
|
184
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowResizerComponent, "rxap-window-resizer", never, {
|
|
185
|
+
"containerRef": {
|
|
186
|
+
"alias": "containerRef";
|
|
187
|
+
"required": true;
|
|
188
|
+
"isSignal": true;
|
|
189
|
+
};
|
|
190
|
+
}, {
|
|
191
|
+
"width$": "width";
|
|
192
|
+
"height$": "height";
|
|
193
|
+
"resizing$": "resizing";
|
|
194
|
+
}, never, never, true, never>;
|
|
187
195
|
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
id: string;
|
|
196
|
+
export interface WindowContext<D> {
|
|
197
|
+
overlayRef: OverlayRef;
|
|
198
|
+
windowRef: WindowRef<D>;
|
|
199
|
+
data?: D;
|
|
200
|
+
id: string;
|
|
194
201
|
}
|
|
195
|
-
interface WindowContainerContext<T> {
|
|
196
|
-
|
|
197
|
-
|
|
202
|
+
export interface WindowContainerContext<T> {
|
|
203
|
+
component?: ComponentType<T>;
|
|
204
|
+
template?: TemplateRef<T>;
|
|
198
205
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContentComponent, "rxap-window-content", never, {}, {}, never, never, true, never>;
|
|
206
|
+
export declare class WindowContentComponent {
|
|
207
|
+
private readonly windowRef;
|
|
208
|
+
private readonly injector;
|
|
209
|
+
private readonly viewContainerRef;
|
|
210
|
+
private readonly loadingIndicatorService;
|
|
211
|
+
context: WindowContainerContext<any>;
|
|
212
|
+
portal: Portal<any> | null;
|
|
213
|
+
readonly portalOutlet: import("@angular/core").Signal<CdkPortalOutlet>;
|
|
214
|
+
constructor();
|
|
215
|
+
private attach;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContentComponent, never>;
|
|
217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContentComponent, "rxap-window-content", never, {}, {}, never, never, true, never>;
|
|
212
218
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContainerComponent, "rxap-window-container", never, {}, {}, ["footerContent"], ["*"], true, never>;
|
|
219
|
+
export declare class WindowContainerComponent {
|
|
220
|
+
readonly footerContent: import("@angular/core").Signal<ElementRef<any>>;
|
|
221
|
+
readonly containerRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
222
|
+
readonly windowContainerResizer: import("@angular/core").Signal<WindowResizerComponent>;
|
|
223
|
+
readonly width: import("@angular/core").WritableSignal<string>;
|
|
224
|
+
readonly height: import("@angular/core").WritableSignal<string>;
|
|
225
|
+
readonly context: import("@rxap/window-system").WindowContext<any>;
|
|
226
|
+
readonly windowRef: import("@rxap/window-system").WindowRef<any, any>;
|
|
227
|
+
readonly windowInstance: LoadingIndicatorService;
|
|
228
|
+
constructor();
|
|
229
|
+
onResizerWidth(value: string): void;
|
|
230
|
+
onResizerHeight(value: string): void;
|
|
231
|
+
onDragEnded($event: CdkDragEnd): void;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerComponent, never>;
|
|
233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowContainerComponent, "rxap-window-container", never, {}, {}, ["footerContent"], ["*"], true, never>;
|
|
229
234
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowActionBarComponent, "rxap-window-action-bar", never, {}, {}, never, never, true, never>;
|
|
235
|
+
export declare class WindowActionBarComponent {
|
|
236
|
+
injector: Injector;
|
|
237
|
+
definitions: ButtonDefinition<any>[] | null;
|
|
238
|
+
position: string;
|
|
239
|
+
constructor();
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowActionBarComponent, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowActionBarComponent, "rxap-window-action-bar", never, {}, {}, never, never, true, never>;
|
|
238
242
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultWindowComponent, "rxap-default-window", never, {}, {}, never, never, true, never>;
|
|
243
|
+
export declare class DefaultWindowComponent {
|
|
244
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultWindowComponent, never>;
|
|
245
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultWindowComponent, "rxap-default-window", never, {}, {}, never, never, true, never>;
|
|
243
246
|
}
|
|
244
|
-
|
|
245
|
-
declare const
|
|
246
|
-
declare const
|
|
247
|
-
declare const
|
|
248
|
-
declare const
|
|
249
|
-
declare const
|
|
250
|
-
declare
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
top: string;
|
|
254
|
-
left: string;
|
|
247
|
+
export declare const RXAP_WINDOW_CONTEXT: InjectionToken<WindowContext<any>>;
|
|
248
|
+
export declare const RXAP_WINDOW_DATA: InjectionToken<any>;
|
|
249
|
+
export declare const RXAP_WINDOW_CONTAINER_CONTEXT: InjectionToken<WindowContainerContext<any>>;
|
|
250
|
+
export declare const RXAP_WINDOW_REF: InjectionToken<WindowRef<any, any>>;
|
|
251
|
+
export declare const RXAP_WINDOW_SETTINGS: InjectionToken<WindowSettings<any>>;
|
|
252
|
+
export declare const RXAP_WINDOW_DEFAULT_SETTINGS: InjectionToken<WindowSettings<any>>;
|
|
253
|
+
export declare function GetWindowStartPos(): {
|
|
254
|
+
top: string;
|
|
255
|
+
left: string;
|
|
255
256
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
$implicit: WindowRef;
|
|
259
|
-
}
|
|
260
|
-
declare class WindowFooterDirective implements OnInit {
|
|
261
|
-
private readonly windowRef;
|
|
262
|
-
private readonly template;
|
|
263
|
-
private readonly viewContainerRef;
|
|
264
|
-
/**
|
|
265
|
-
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
266
|
-
*
|
|
267
|
-
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
268
|
-
* `NgForOf` structural directive renders its template with a specific context type.
|
|
269
|
-
*/
|
|
270
|
-
static ngTemplateContextGuard(dir: WindowFooterDirective, ctx: any): ctx is WindowFooterTemplateContext;
|
|
271
|
-
ngOnInit(): void;
|
|
272
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowFooterDirective, never>;
|
|
273
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowFooterDirective, "[rxapWindowFooter]", never, {}, {}, never, never, true, never>;
|
|
257
|
+
export interface WindowFooterTemplateContext {
|
|
258
|
+
$implicit: WindowRef;
|
|
274
259
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
260
|
+
export declare class WindowFooterDirective implements OnInit {
|
|
261
|
+
private readonly windowRef;
|
|
262
|
+
private readonly template;
|
|
263
|
+
private readonly viewContainerRef;
|
|
264
|
+
/**
|
|
265
|
+
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
266
|
+
*
|
|
267
|
+
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
268
|
+
* `NgForOf` structural directive renders its template with a specific context type.
|
|
269
|
+
*/
|
|
270
|
+
static ngTemplateContextGuard(dir: WindowFooterDirective, ctx: any): ctx is WindowFooterTemplateContext;
|
|
271
|
+
ngOnInit(): void;
|
|
272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowFooterDirective, never>;
|
|
273
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowFooterDirective, "[rxapWindowFooter]", never, {}, {}, never, never, true, never>;
|
|
283
274
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
275
|
+
export declare class WindowInstanceService implements OnDestroy {
|
|
276
|
+
readonly loading$: ToggleSubject;
|
|
277
|
+
private readonly _attachedLoadingSubscription;
|
|
278
|
+
attachLoading(loading$: Observable<any>): void;
|
|
279
|
+
ngOnDestroy(): void;
|
|
280
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowInstanceService, never>;
|
|
281
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
287
282
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
private readonly template;
|
|
291
|
-
private readonly viewContainerRef;
|
|
292
|
-
/**
|
|
293
|
-
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
294
|
-
*
|
|
295
|
-
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
296
|
-
* `NgForOf` structural directive renders its template with a specific context type.
|
|
297
|
-
*/
|
|
298
|
-
static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any): ctx is WindowTitleTemplateContext;
|
|
299
|
-
ngOnInit(): void;
|
|
300
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleDirective, never>;
|
|
301
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowTitleDirective, "[rxapWindowTitle]", never, {}, {}, never, never, true, never>;
|
|
283
|
+
export interface WindowTitleTemplateContext {
|
|
284
|
+
$implicit: WindowRef;
|
|
302
285
|
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
286
|
+
export declare class WindowTitleDirective implements OnInit {
|
|
287
|
+
private readonly windowRef;
|
|
288
|
+
private readonly template;
|
|
289
|
+
private readonly viewContainerRef;
|
|
290
|
+
/**
|
|
291
|
+
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
292
|
+
*
|
|
293
|
+
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
294
|
+
* `NgForOf` structural directive renders its template with a specific context type.
|
|
295
|
+
*/
|
|
296
|
+
static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any): ctx is WindowTitleTemplateContext;
|
|
297
|
+
ngOnInit(): void;
|
|
298
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleDirective, never>;
|
|
299
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowTitleDirective, "[rxapWindowTitle]", never, {}, {}, never, never, true, never>;
|
|
300
|
+
}
|