@rxap/window-system 19.0.5-dev.0 → 21.0.1-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 +23 -0
- package/compodoc/changelog.html +20 -0
- package/compodoc/classes/WindowRef.html +46 -47
- package/compodoc/components/WindowActionBarComponent.html +8 -7
- package/compodoc/components/WindowTaskBarComponent.html +9 -8
- package/compodoc/components/WindowTaskBarContainerComponent.html +35 -34
- package/compodoc/components/WindowTaskComponent.html +23 -25
- package/compodoc/components/WindowToolBarComponent.html +28 -28
- package/compodoc/dependencies.html +11 -11
- package/compodoc/injectables/WindowService.html +19 -23
- package/compodoc/interfaces/WindowTaskBarContainerSettings.html +8 -12
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules/RxapWindowSystemModule/dependencies.svg +4 -4
- package/compodoc/modules/RxapWindowSystemModule.html +4 -4
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +484 -488
- package/docs/html/classes/DefaultWindowComponent.html +2 -2
- package/docs/html/classes/RxapWindowSystemModule.html +2 -2
- package/docs/html/classes/WindowActionBarComponent.html +2 -2
- package/docs/html/classes/WindowContainerComponent.html +3 -3
- package/docs/html/classes/WindowContentComponent.html +4 -4
- 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 +4 -4
- package/docs/html/classes/WindowService.html +2 -2
- package/docs/html/classes/WindowTaskBarComponent.html +4 -4
- package/docs/html/classes/WindowTaskBarContainerComponent.html +2 -2
- package/docs/html/classes/WindowTaskBarModule.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/RxapWindowSystemModule.md +2 -2
- package/docs/markdown/classes/WindowActionBarComponent.md +6 -6
- package/docs/markdown/classes/WindowContainerComponent.md +13 -13
- package/docs/markdown/classes/WindowContentComponent.md +8 -8
- package/docs/markdown/classes/WindowFooterDirective.md +5 -5
- package/docs/markdown/classes/WindowInstanceService.md +5 -5
- package/docs/markdown/classes/WindowRef.md +69 -71
- package/docs/markdown/classes/WindowResizerComponent.md +11 -11
- package/docs/markdown/classes/WindowService.md +14 -14
- package/docs/markdown/classes/WindowTaskBarComponent.md +8 -8
- package/docs/markdown/classes/WindowTaskBarContainerComponent.md +5 -5
- package/docs/markdown/classes/WindowTaskBarModule.md +2 -2
- 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 +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.RxapWindowSystemModule.md +1 -1
- package/docs/wiki/Class.WindowActionBarComponent.md +5 -5
- package/docs/wiki/Class.WindowContainerComponent.md +12 -12
- package/docs/wiki/Class.WindowContentComponent.md +7 -7
- package/docs/wiki/Class.WindowFooterDirective.md +4 -4
- package/docs/wiki/Class.WindowInstanceService.md +4 -4
- package/docs/wiki/Class.WindowRef.md +68 -70
- package/docs/wiki/Class.WindowResizerComponent.md +10 -10
- package/docs/wiki/Class.WindowService.md +13 -13
- package/docs/wiki/Class.WindowTaskBarComponent.md +7 -7
- package/docs/wiki/Class.WindowTaskBarContainerComponent.md +4 -4
- package/docs/wiki/Class.WindowTaskBarModule.md +1 -1
- 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 +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/globals.md +1 -1
- package/fesm2022/rxap-window-system.mjs +60 -65
- package/fesm2022/rxap-window-system.mjs.map +1 -1
- package/package.json +30 -29
- package/types/rxap-window-system.d.ts +316 -0
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, Inject, ChangeDetectionStrategy, Component, ComponentRef, isDevMode, ViewChild, EventEmitter, Output, Input, inject, INJECTOR, runInInjectionContext, HostBinding, ContentChild, Injector, ViewContainerRef, ComponentFactoryResolver, Optional, Injectable, ChangeDetectorRef, NgModule, TemplateRef, Directive } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/material/button';
|
|
4
4
|
import { MatButtonModule } from '@angular/material/button';
|
|
5
5
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
@@ -7,7 +7,7 @@ import * as i1$1 from '@angular/material/icon';
|
|
|
7
7
|
import { MatIconModule } from '@angular/material/icon';
|
|
8
8
|
import * as i2 from '@angular/cdk/portal';
|
|
9
9
|
import { PortalModule, TemplatePortal, ComponentPortal, CdkPortalOutlet } from '@angular/cdk/portal';
|
|
10
|
-
import {
|
|
10
|
+
import { AsyncPipe, NgClass, NgStyle } from '@angular/common';
|
|
11
11
|
import * as i1 from '@angular/material/toolbar';
|
|
12
12
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
13
13
|
import * as i1$3 from '@angular/cdk/overlay';
|
|
@@ -37,20 +37,19 @@ class WindowToolBarComponent {
|
|
|
37
37
|
constructor(context) {
|
|
38
38
|
this.windowRef = context.windowRef;
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowToolBarComponent, isStandalone: true, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header flex flex-row items-center justify-between gap-x-4\">\n <div class=\"flex flex-row justify-end items-center gap-x-3\">\n @if (windowRef.titlePortal$ | async; as titlePortal) {\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n } @else {\n @if (windowRef.settings$ | async; as settings) {\n @if (settings.icon) {\n <mat-icon [rxapIcon]=\"settings.icon\"></mat-icon>\n }\n @if (settings.title) {\n <h3>{{settings.title}}</h3>\n }\n }\n }\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n @if (windowRef.minimizable !== false) {\n <button (click)=\"windowRef.minimize()\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n }\n <button (click)=\"windowRef.fullScreen()\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowToolBarComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, imports: [
|
|
46
46
|
MatToolbarModule,
|
|
47
|
-
NgIf,
|
|
48
47
|
PortalModule,
|
|
49
48
|
MatIconModule,
|
|
50
49
|
IconDirective,
|
|
51
50
|
MatButtonModule,
|
|
52
|
-
AsyncPipe
|
|
53
|
-
], template: "<mat-toolbar class=\"header flex flex-row items-center justify-between gap-x-4\">\n <div class=\"flex flex-row justify-end items-center gap-x-3\">\n
|
|
51
|
+
AsyncPipe
|
|
52
|
+
], template: "<mat-toolbar class=\"header flex flex-row items-center justify-between gap-x-4\">\n <div class=\"flex flex-row justify-end items-center gap-x-3\">\n @if (windowRef.titlePortal$ | async; as titlePortal) {\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n } @else {\n @if (windowRef.settings$ | async; as settings) {\n @if (settings.icon) {\n <mat-icon [rxapIcon]=\"settings.icon\"></mat-icon>\n }\n @if (settings.title) {\n <h3>{{settings.title}}</h3>\n }\n }\n }\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n @if (windowRef.minimizable !== false) {\n <button (click)=\"windowRef.minimize()\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n }\n <button (click)=\"windowRef.fullScreen()\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"] }]
|
|
54
53
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
55
54
|
type: Inject,
|
|
56
55
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -103,10 +102,10 @@ class WindowContentComponent {
|
|
|
103
102
|
return throwError(error);
|
|
104
103
|
})).subscribe();
|
|
105
104
|
}
|
|
106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
107
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowContentComponent, deps: [{ token: RXAP_WINDOW_CONTAINER_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: i1$2.LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
106
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: WindowContentComponent, isStandalone: true, selector: "rxap-window-content", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"p-4\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
108
107
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowContentComponent, decorators: [{
|
|
110
109
|
type: Component,
|
|
111
110
|
args: [{ selector: 'rxap-window-content', changeDetection: ChangeDetectionStrategy.Default, imports: [PortalModule], template: "<div class=\"p-4\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</div>\n" }]
|
|
112
111
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -166,10 +165,10 @@ class WindowResizerComponent {
|
|
|
166
165
|
this.windowRef.setWidth(size.width);
|
|
167
166
|
}), finalize(() => this.resizing$.emit(false))))).subscribe());
|
|
168
167
|
}
|
|
169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
170
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowResizerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
169
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: WindowResizerComponent, isStandalone: true, selector: "rxap-window-resizer", inputs: { containerRef: "containerRef" }, outputs: { width$: "width", height$: "height", resizing$: "resizing" }, viewQueries: [{ propertyName: "resizerRef", first: true, predicate: ["resizer"], descendants: true, static: true }], ngImport: i0, template: "<div #resizer class=\"resizer\">\n <mat-icon [ngClass]=\"{ hidden: (resizing$ | async) === false }\">texture</mat-icon>\n</div>\n", styles: [":host,.resizer{position:absolute;inset:auto 0 0 auto;width:24px;height:24px;cursor:nwse-resize;z-index:100}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
171
170
|
}
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowResizerComponent, decorators: [{
|
|
173
172
|
type: Component,
|
|
174
173
|
args: [{ selector: 'rxap-window-resizer', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIconModule, AsyncPipe, NgClass], template: "<div #resizer class=\"resizer\">\n <mat-icon [ngClass]=\"{ hidden: (resizing$ | async) === false }\">texture</mat-icon>\n</div>\n", styles: [":host,.resizer{position:absolute;inset:auto 0 0 auto;width:24px;height:24px;cursor:nwse-resize;z-index:100}\n"] }]
|
|
175
174
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -214,10 +213,10 @@ class WindowContainerComponent {
|
|
|
214
213
|
$event.source.reset();
|
|
215
214
|
this.windowRef.setPos(pos.left + 'px', pos.top + 'px');
|
|
216
215
|
}
|
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
218
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowContainerComponent, isStandalone: true, selector: "rxap-window-container", host: { properties: { "attr.data-id": "this.id" }, classAttribute: "rxap-window-container" }, queries: [{ propertyName: "footerContent", first: true, predicate: ["[footer]"], descendants: true, static: true }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "windowContainerResizer", first: true, predicate: WindowResizerComponent, descendants: true, static: true }], ngImport: i0, template: "<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragDisabled]=\"windowRef.draggable === false\"\n [ngStyle]=\"{\n 'width': width(),\n 'height': height(),\n 'minWidth': windowRef.minWidth,\n 'minHeight': windowRef.minHeight,\n 'maxWidth': windowRef.maxWidth,\n 'maxHeight': windowRef.maxHeight\n }\"\n cdkDrag\n cdkDragBoundary=\".cdk-overlay-container\"\n class=\"drop-shadow-2xl bg-white dark:bg-black border-2 border-gray-400 dark:border-gray-800 rounded-xl overflow-hidden\">\n <div class=\"flex flex-col h-full max-h-full\">\n\n <div cdkDragHandle class=\"grow-0 w-full h-[64px] min-h-[64px] cursor-move\">\n <rxap-window-tool-bar></rxap-window-tool-bar>\n </div>\n\n <div class=\"grow overflow-auto w-full\">\n <ng-content></ng-content>\n </div>\n\n @if (windowRef.footerPortal$ | async; as footerPortal) {\n <mat-toolbar class=\"mat-elevation-z1 grow-0 w-full h-[64px] min-h-[64px]\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n }\n\n @if (windowInstance.isLoading$ | async) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: WindowToolBarComponent, selector: "rxap-window-tool-bar" }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i3.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: WindowResizerComponent, selector: "rxap-window-resizer", inputs: ["containerRef"], outputs: ["width", "height", "resizing"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
219
218
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowContainerComponent, decorators: [{
|
|
221
220
|
type: Component,
|
|
222
221
|
args: [{ selector: 'rxap-window-container', changeDetection: ChangeDetectionStrategy.Default, host: {
|
|
223
222
|
class: 'rxap-window-container',
|
|
@@ -247,10 +246,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
247
246
|
}] } });
|
|
248
247
|
|
|
249
248
|
class DefaultWindowComponent {
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
250
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DefaultWindowComponent, isStandalone: true, selector: "rxap-default-window", ngImport: i0, template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n", styles: [""], dependencies: [{ kind: "component", type: WindowContainerComponent, selector: "rxap-window-container" }, { kind: "component", type: WindowContentComponent, selector: "rxap-window-content" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
252
251
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultWindowComponent, decorators: [{
|
|
254
253
|
type: Component,
|
|
255
254
|
args: [{ selector: 'rxap-default-window', changeDetection: ChangeDetectionStrategy.Default, imports: [WindowContainerComponent, WindowContentComponent], template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n" }]
|
|
256
255
|
}] });
|
|
@@ -464,7 +463,7 @@ class WindowRef extends Subject {
|
|
|
464
463
|
* @private
|
|
465
464
|
*/
|
|
466
465
|
updateWindowSettings(componentRef) {
|
|
467
|
-
const settings = componentRef?.injector.get(RXAP_WINDOW_SETTINGS, null,
|
|
466
|
+
const settings = componentRef?.injector.get(RXAP_WINDOW_SETTINGS, null, { optional: true }) ?? this.settings;
|
|
468
467
|
if (settings) {
|
|
469
468
|
// prevent change diction error: ExpressionChangedAfterItHasBeenCheckedError
|
|
470
469
|
setTimeout(() => {
|
|
@@ -556,11 +555,9 @@ class WindowService {
|
|
|
556
555
|
],
|
|
557
556
|
name: windowConfig?.injectorName ?? 'WindowService',
|
|
558
557
|
});
|
|
559
|
-
const containerPortal = new ComponentPortal(windowConfig.windowComponent ?? DefaultWindowComponent, injector.get(ViewContainerRef, null,
|
|
558
|
+
const containerPortal = new ComponentPortal(windowConfig.windowComponent ?? DefaultWindowComponent, injector.get(ViewContainerRef, null, { optional: true }) ??
|
|
560
559
|
windowConfig.viewContainerRef ??
|
|
561
|
-
null, injector
|
|
562
|
-
windowConfig.componentFactoryResolver ??
|
|
563
|
-
this.componentFactoryResolver);
|
|
560
|
+
null, injector);
|
|
564
561
|
overlayRef.attach(containerPortal);
|
|
565
562
|
overlayRef
|
|
566
563
|
.backdropClick()
|
|
@@ -600,10 +597,10 @@ class WindowService {
|
|
|
600
597
|
});
|
|
601
598
|
return this.overlay.create(overlayConfig);
|
|
602
599
|
}
|
|
603
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
604
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
600
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowService, deps: [{ token: Injector }, { token: Overlay }, { token: ComponentFactoryResolver }, { token: RXAP_WINDOW_DEFAULT_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
601
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowService, providedIn: 'root' }); }
|
|
605
602
|
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowService, decorators: [{
|
|
607
604
|
type: Injectable,
|
|
608
605
|
args: [{ providedIn: 'root' }]
|
|
609
606
|
}], ctorParameters: () => [{ type: i0.Injector, decorators: [{
|
|
@@ -629,20 +626,19 @@ class WindowTaskComponent {
|
|
|
629
626
|
reopen() {
|
|
630
627
|
this.window.reopen();
|
|
631
628
|
}
|
|
632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
633
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
630
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowTaskComponent, isStandalone: true, selector: "rxap-window-task", inputs: { window: "window" }, ngImport: i0, template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\"\n class=\"rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2\">\n @if (window.settings$ | async; as settings) {\n @if (settings.icon) {\n <mat-icon [rxapIcon]=\"settings.icon\"></mat-icon>\n }\n @if (settings.title) {\n <h3 class=\"grow\">{{settings.title}}</h3>\n }\n }\n <button (click)=\"close()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".rxap-container{padding:5px;cursor:pointer}.rxap-container.minimized{opacity:.5}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
634
631
|
}
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskComponent, decorators: [{
|
|
636
633
|
type: Component,
|
|
637
634
|
args: [{ selector: 'rxap-window-task', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
638
635
|
NgClass,
|
|
639
|
-
NgIf,
|
|
640
636
|
MatIconModule,
|
|
641
637
|
IconDirective,
|
|
642
638
|
MatButtonModule,
|
|
643
639
|
StopPropagationDirective,
|
|
644
|
-
AsyncPipe
|
|
645
|
-
], template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\"\n
|
|
640
|
+
AsyncPipe
|
|
641
|
+
], template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\"\n class=\"rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2\">\n @if (window.settings$ | async; as settings) {\n @if (settings.icon) {\n <mat-icon [rxapIcon]=\"settings.icon\"></mat-icon>\n }\n @if (settings.title) {\n <h3 class=\"grow\">{{settings.title}}</h3>\n }\n }\n <button (click)=\"close()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".rxap-container{padding:5px;cursor:pointer}.rxap-container.minimized{opacity:.5}\n"] }]
|
|
646
642
|
}], propDecorators: { window: [{
|
|
647
643
|
type: Input,
|
|
648
644
|
args: [{ required: true }]
|
|
@@ -660,12 +656,12 @@ class WindowTaskBarComponent {
|
|
|
660
656
|
ngOnDestroy() {
|
|
661
657
|
this.subscriptions.unsubscribe();
|
|
662
658
|
}
|
|
663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
664
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
659
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarComponent, deps: [{ token: WindowService }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
660
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowTaskBarComponent, isStandalone: true, selector: "rxap-window-task-bar", ngImport: i0, template: "<div class=\"tasks grow-0 flex flex-row flex-wrap\">\n @for (window of windowService.allActiveWindows; track window) {\n <rxap-window-task\n [window]=\"window\"\n class=\"grow-0\">\n </rxap-window-task>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: WindowTaskComponent, selector: "rxap-window-task", inputs: ["window"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
665
661
|
}
|
|
666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarComponent, decorators: [{
|
|
667
663
|
type: Component,
|
|
668
|
-
args: [{ selector: 'rxap-window-task-bar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
664
|
+
args: [{ selector: 'rxap-window-task-bar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [WindowTaskComponent], template: "<div class=\"tasks grow-0 flex flex-row flex-wrap\">\n @for (window of windowService.allActiveWindows; track window) {\n <rxap-window-task\n [window]=\"window\"\n class=\"grow-0\">\n </rxap-window-task>\n }\n</div>\n" }]
|
|
669
665
|
}], ctorParameters: () => [{ type: WindowService, decorators: [{
|
|
670
666
|
type: Inject,
|
|
671
667
|
args: [WindowService]
|
|
@@ -685,20 +681,19 @@ class WindowTaskBarContainerComponent {
|
|
|
685
681
|
}
|
|
686
682
|
}
|
|
687
683
|
}
|
|
688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarContainerComponent, deps: [{ token: WindowService }, { token: RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
685
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowTaskBarContainerComponent, isStandalone: true, selector: "rxap-window-task-bar-container", ngImport: i0, template: "@if (windowService.hasActiveWindows) {\n <div class=\"rxap-container flex flex-col\">\n <div class=\"flex flex-row justify-end items-end\">\n <button (click)=\"expand = !expand\"\n [matBadgeHidden]=\"!windowService.hasActiveWindows\"\n [matBadge]=\"windowService.activeWindowCount.toFixed(0)\"\n class=\"pin\"\n color=\"primary\"\n mat-icon-button\n matBadgePosition=\"above before\"\n type=\"button\">\n @if (!expand) {\n <mat-icon>keyboard_arrow_up</mat-icon>\n }\n @if (expand) {\n <mat-icon>keyboard_arrow_down</mat-icon>\n }\n </button>\n </div>\n <mat-toolbar [ngClass]=\"{ hidden: !expand }\" class=\"tasks\">\n <rxap-window-task-bar></rxap-window-task-bar>\n </mat-toolbar>\n </div>\n}\n", styles: [".rxap-container .pin{border:none;border-radius:50% 50% 0 0;cursor:pointer}.rxap-container .tasks{height:auto;padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i2$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: WindowTaskBarComponent, selector: "rxap-window-task-bar" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
690
686
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarContainerComponent, decorators: [{
|
|
692
688
|
type: Component,
|
|
693
689
|
args: [{ selector: 'rxap-window-task-bar-container', imports: [
|
|
694
|
-
NgIf,
|
|
695
690
|
MatButtonModule,
|
|
696
691
|
MatBadgeModule,
|
|
697
692
|
MatIconModule,
|
|
698
693
|
MatToolbarModule,
|
|
699
694
|
WindowTaskBarComponent,
|
|
700
|
-
NgClass
|
|
701
|
-
], template: "
|
|
695
|
+
NgClass
|
|
696
|
+
], template: "@if (windowService.hasActiveWindows) {\n <div class=\"rxap-container flex flex-col\">\n <div class=\"flex flex-row justify-end items-end\">\n <button (click)=\"expand = !expand\"\n [matBadgeHidden]=\"!windowService.hasActiveWindows\"\n [matBadge]=\"windowService.activeWindowCount.toFixed(0)\"\n class=\"pin\"\n color=\"primary\"\n mat-icon-button\n matBadgePosition=\"above before\"\n type=\"button\">\n @if (!expand) {\n <mat-icon>keyboard_arrow_up</mat-icon>\n }\n @if (expand) {\n <mat-icon>keyboard_arrow_down</mat-icon>\n }\n </button>\n </div>\n <mat-toolbar [ngClass]=\"{ hidden: !expand }\" class=\"tasks\">\n <rxap-window-task-bar></rxap-window-task-bar>\n </mat-toolbar>\n </div>\n}\n", styles: [".rxap-container .pin{border:none;border-radius:50% 50% 0 0;cursor:pointer}.rxap-container .tasks{height:auto;padding:16px}\n"] }]
|
|
702
697
|
}], ctorParameters: () => [{ type: WindowService, decorators: [{
|
|
703
698
|
type: Inject,
|
|
704
699
|
args: [WindowService]
|
|
@@ -710,11 +705,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
|
|
|
710
705
|
}] }] });
|
|
711
706
|
|
|
712
707
|
class WindowTaskBarModule {
|
|
713
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
714
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
715
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
709
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarModule, imports: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent], exports: [WindowTaskBarComponent, WindowTaskBarContainerComponent] }); }
|
|
710
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarModule, imports: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent] }); }
|
|
716
711
|
}
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTaskBarModule, decorators: [{
|
|
718
713
|
type: NgModule,
|
|
719
714
|
args: [{
|
|
720
715
|
imports: [
|
|
@@ -734,12 +729,12 @@ class WindowActionBarComponent {
|
|
|
734
729
|
this.position = context.windowRef.settings.actions.position || this.position;
|
|
735
730
|
}
|
|
736
731
|
}
|
|
737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
738
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowActionBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
733
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WindowActionBarComponent, isStandalone: true, selector: "rxap-window-action-bar", ngImport: i0, template: "@if (definitions) {\n <mat-toolbar-row class=\"p-2 flex flex-row gap-2 justify-{{position}} items-center\">\n <span>this feature is removed</span>\n </mat-toolbar-row>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "directive", type: i1.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }] }); }
|
|
739
734
|
}
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowActionBarComponent, decorators: [{
|
|
741
736
|
type: Component,
|
|
742
|
-
args: [{ selector: 'rxap-window-action-bar', imports: [
|
|
737
|
+
args: [{ selector: 'rxap-window-action-bar', imports: [MatToolbarModule], template: "@if (definitions) {\n <mat-toolbar-row class=\"p-2 flex flex-row gap-2 justify-{{position}} items-center\">\n <span>this feature is removed</span>\n </mat-toolbar-row>\n}\n" }]
|
|
743
738
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
744
739
|
type: Inject,
|
|
745
740
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -765,10 +760,10 @@ class WindowFooterDirective {
|
|
|
765
760
|
$implicit: this.windowRef,
|
|
766
761
|
}));
|
|
767
762
|
}
|
|
768
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
769
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
763
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowFooterDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
764
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: WindowFooterDirective, isStandalone: true, selector: "[rxapWindowFooter]", ngImport: i0 }); }
|
|
770
765
|
}
|
|
771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowFooterDirective, decorators: [{
|
|
772
767
|
type: Directive,
|
|
773
768
|
args: [{
|
|
774
769
|
selector: '[rxapWindowFooter]',
|
|
@@ -796,17 +791,17 @@ class WindowInstanceService {
|
|
|
796
791
|
ngOnDestroy() {
|
|
797
792
|
this._attachedLoadingSubscription.unsubscribe();
|
|
798
793
|
}
|
|
799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
800
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowInstanceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
795
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowInstanceService }); }
|
|
801
796
|
}
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowInstanceService, decorators: [{
|
|
803
798
|
type: Injectable
|
|
804
799
|
}] });
|
|
805
800
|
|
|
806
801
|
// TODO : refactor to be used without a central module
|
|
807
802
|
class RxapWindowSystemModule {
|
|
808
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
809
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
803
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapWindowSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
804
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: RxapWindowSystemModule, imports: [WindowContainerComponent,
|
|
810
805
|
WindowToolBarComponent,
|
|
811
806
|
WindowResizerComponent,
|
|
812
807
|
DefaultWindowComponent,
|
|
@@ -817,14 +812,14 @@ class RxapWindowSystemModule {
|
|
|
817
812
|
DefaultWindowComponent,
|
|
818
813
|
WindowContentComponent,
|
|
819
814
|
WindowTaskBarModule] }); }
|
|
820
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
815
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapWindowSystemModule, imports: [WindowContainerComponent,
|
|
821
816
|
WindowToolBarComponent,
|
|
822
817
|
WindowResizerComponent,
|
|
823
818
|
DefaultWindowComponent,
|
|
824
819
|
WindowContentComponent,
|
|
825
820
|
WindowActionBarComponent, WindowTaskBarModule] }); }
|
|
826
821
|
}
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RxapWindowSystemModule, decorators: [{
|
|
828
823
|
type: NgModule,
|
|
829
824
|
args: [{
|
|
830
825
|
imports: [
|
|
@@ -866,10 +861,10 @@ class WindowTitleDirective {
|
|
|
866
861
|
$implicit: this.windowRef,
|
|
867
862
|
}));
|
|
868
863
|
}
|
|
869
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
870
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
865
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: WindowTitleDirective, isStandalone: true, selector: "[rxapWindowTitle]", ngImport: i0 }); }
|
|
871
866
|
}
|
|
872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WindowTitleDirective, decorators: [{
|
|
873
868
|
type: Directive,
|
|
874
869
|
args: [{
|
|
875
870
|
selector: '[rxapWindowTitle]',
|