@rxap/window-system 12.0.9 → 13.0.0-next.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/esm2020/index.mjs +17 -0
- package/esm2020/lib/default-window/default-window.component.mjs +13 -0
- package/esm2020/lib/tokens.mjs +8 -0
- package/esm2020/lib/utilities.mjs +24 -0
- package/esm2020/lib/window-action-bar/window-action-bar.component.mjs +28 -0
- package/esm2020/lib/window-config.mjs +11 -0
- package/esm2020/lib/window-container/window-container.component.mjs +85 -0
- package/esm2020/lib/window-content/window-content.component.mjs +74 -0
- package/esm2020/lib/window-context.mjs +2 -0
- package/esm2020/lib/window-footer.directive.mjs +57 -0
- package/esm2020/lib/window-ref.mjs +162 -0
- package/esm2020/lib/window-resizer/window-resizer.component.mjs +79 -0
- package/esm2020/lib/window-system.module.mjs +92 -0
- package/esm2020/lib/window-task-bar/window-task/window-task.component.mjs +33 -0
- package/esm2020/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.mjs +39 -0
- package/esm2020/lib/window-task-bar/window-task-bar.component.mjs +35 -0
- package/esm2020/lib/window-task-bar/window-task-bar.module.mjs +52 -0
- package/esm2020/lib/window-title.directive.mjs +57 -0
- package/esm2020/lib/window-tool-bar/window-tool-bar.component.mjs +25 -0
- package/esm2020/lib/window.service.mjs +163 -0
- package/esm2020/rxap-window-system.mjs +5 -0
- package/fesm2015/rxap-window-system.mjs +933 -0
- package/fesm2015/rxap-window-system.mjs.map +1 -0
- package/{fesm2015/rxap-window-system.js → fesm2020/rxap-window-system.mjs} +90 -126
- package/fesm2020/rxap-window-system.mjs.map +1 -0
- package/lib/window-config.d.ts +1 -0
- package/package.json +41 -22
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
- package/bundles/rxap-window-system.umd.js +0 -1384
- package/bundles/rxap-window-system.umd.js.map +0 -1
- package/esm2015/index.js +0 -17
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/default-window/default-window.component.js +0 -18
- package/esm2015/lib/default-window/default-window.component.js.map +0 -1
- package/esm2015/lib/tokens.js +0 -8
- package/esm2015/lib/tokens.js.map +0 -1
- package/esm2015/lib/utilities.js +0 -24
- package/esm2015/lib/utilities.js.map +0 -1
- package/esm2015/lib/window-action-bar/window-action-bar.component.js +0 -32
- package/esm2015/lib/window-action-bar/window-action-bar.component.js.map +0 -1
- package/esm2015/lib/window-config.js +0 -11
- package/esm2015/lib/window-config.js.map +0 -1
- package/esm2015/lib/window-container/window-container.component.js +0 -91
- package/esm2015/lib/window-container/window-container.component.js.map +0 -1
- package/esm2015/lib/window-content/window-content.component.js +0 -79
- package/esm2015/lib/window-content/window-content.component.js.map +0 -1
- package/esm2015/lib/window-context.js +0 -2
- package/esm2015/lib/window-context.js.map +0 -1
- package/esm2015/lib/window-footer.directive.js +0 -57
- package/esm2015/lib/window-footer.directive.js.map +0 -1
- package/esm2015/lib/window-ref.js +0 -157
- package/esm2015/lib/window-ref.js.map +0 -1
- package/esm2015/lib/window-resizer/window-resizer.component.js +0 -84
- package/esm2015/lib/window-resizer/window-resizer.component.js.map +0 -1
- package/esm2015/lib/window-system.module.js +0 -95
- package/esm2015/lib/window-system.module.js.map +0 -1
- package/esm2015/lib/window-task-bar/window-task/window-task.component.js +0 -38
- package/esm2015/lib/window-task-bar/window-task/window-task.component.js.map +0 -1
- package/esm2015/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.js +0 -43
- package/esm2015/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.js.map +0 -1
- package/esm2015/lib/window-task-bar/window-task-bar.component.js +0 -40
- package/esm2015/lib/window-task-bar/window-task-bar.component.js.map +0 -1
- package/esm2015/lib/window-task-bar/window-task-bar.module.js +0 -53
- package/esm2015/lib/window-task-bar/window-task-bar.module.js.map +0 -1
- package/esm2015/lib/window-title.directive.js +0 -57
- package/esm2015/lib/window-title.directive.js.map +0 -1
- package/esm2015/lib/window-tool-bar/window-tool-bar.component.js +0 -30
- package/esm2015/lib/window-tool-bar/window-tool-bar.component.js.map +0 -1
- package/esm2015/lib/window.service.js +0 -156
- package/esm2015/lib/window.service.js.map +0 -1
- package/esm2015/rxap-window-system.js +0 -5
- package/esm2015/rxap-window-system.js.map +0 -1
- package/fesm2015/rxap-window-system.js.map +0 -1
|
@@ -84,20 +84,15 @@ class WindowResizerComponent {
|
|
|
84
84
|
}), finalize(() => this.resizing$.emit(false))))).subscribe());
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
WindowResizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
WindowResizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
87
|
+
WindowResizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowResizerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
WindowResizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowResizerComponent, 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 [fxShow]=\"resizing$ | async\">texture</mat-icon>\n</div>\n", styles: [":host,.resizer{position:absolute;top:auto;left:auto;right:0;bottom:0;width:24px;height:24px;cursor:nwse-resize;z-index:100}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
89
89
|
__decorate([
|
|
90
90
|
Required,
|
|
91
91
|
__metadata("design:type", ElementRef)
|
|
92
92
|
], WindowResizerComponent.prototype, "containerRef", void 0);
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowResizerComponent, decorators: [{
|
|
94
94
|
type: Component,
|
|
95
|
-
args: [{
|
|
96
|
-
selector: 'rxap-window-resizer',
|
|
97
|
-
templateUrl: './window-resizer.component.html',
|
|
98
|
-
styleUrls: ['./window-resizer.component.scss'],
|
|
99
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
100
|
-
}]
|
|
95
|
+
args: [{ selector: 'rxap-window-resizer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #resizer class=\"resizer\">\n <mat-icon [fxShow]=\"resizing$ | async\">texture</mat-icon>\n</div>\n", styles: [":host,.resizer{position:absolute;top:auto;left:auto;right:0;bottom:0;width:24px;height:24px;cursor:nwse-resize;z-index:100}\n"] }]
|
|
101
96
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
102
97
|
type: Inject,
|
|
103
98
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -207,11 +202,17 @@ class WindowRef extends Subject {
|
|
|
207
202
|
};
|
|
208
203
|
}
|
|
209
204
|
setWidth(width) {
|
|
210
|
-
this.overlayRef.updateSize(
|
|
205
|
+
this.overlayRef.updateSize({
|
|
206
|
+
...this.getSizeConfig(),
|
|
207
|
+
width
|
|
208
|
+
});
|
|
211
209
|
this.width$.next(width);
|
|
212
210
|
}
|
|
213
211
|
setHeight(height) {
|
|
214
|
-
this.overlayRef.updateSize(
|
|
212
|
+
this.overlayRef.updateSize({
|
|
213
|
+
...this.getSizeConfig(),
|
|
214
|
+
height
|
|
215
|
+
});
|
|
215
216
|
this.height$.next(height);
|
|
216
217
|
}
|
|
217
218
|
getWidth() {
|
|
@@ -283,8 +284,7 @@ class WindowRef extends Subject {
|
|
|
283
284
|
* @private
|
|
284
285
|
*/
|
|
285
286
|
updateWindowSettings(componentRef) {
|
|
286
|
-
|
|
287
|
-
const settings = (_a = componentRef === null || componentRef === void 0 ? void 0 : componentRef.injector.get(RXAP_WINDOW_SETTINGS, null, InjectFlags.Optional)) !== null && _a !== void 0 ? _a : this.settings;
|
|
287
|
+
const settings = componentRef?.injector.get(RXAP_WINDOW_SETTINGS, null, InjectFlags.Optional) ?? this.settings;
|
|
288
288
|
if (settings) {
|
|
289
289
|
// prevent change diction error: ExpressionChangedAfterItHasBeenCheckedError
|
|
290
290
|
setTimeout(() => {
|
|
@@ -299,16 +299,11 @@ class WindowToolBarComponent {
|
|
|
299
299
|
this.windowRef = context.windowRef;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
303
|
-
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
302
|
+
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
+
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" 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"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowToolBarComponent, decorators: [{
|
|
305
305
|
type: Component,
|
|
306
|
-
args: [{
|
|
307
|
-
selector: 'rxap-window-tool-bar',
|
|
308
|
-
templateUrl: './window-tool-bar.component.html',
|
|
309
|
-
styleUrls: ['./window-tool-bar.component.scss'],
|
|
310
|
-
changeDetection: ChangeDetectionStrategy.Default
|
|
311
|
-
}]
|
|
306
|
+
args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" 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"] }]
|
|
312
307
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
313
308
|
type: Inject,
|
|
314
309
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -351,19 +346,13 @@ class WindowContainerComponent {
|
|
|
351
346
|
return point;
|
|
352
347
|
}
|
|
353
348
|
}
|
|
354
|
-
WindowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
355
|
-
WindowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
349
|
+
WindowContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowContainerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
350
|
+
WindowContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowContainerComponent, 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.settings.draggable === false\"\n [ngStyle]=\"{\n 'width': width$ | async,\n 'height': height$ | async,\n 'minWidth': windowRef.settings.minWidth,\n 'minHeight': windowRef.settings.minHeight,\n 'maxWidth': windowRef.settings.maxWidth,\n 'maxHeight': windowRef.settings.maxHeight\n }\"\n cdkDrag\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\n class=\"container mat-elevation-z4\"\n fxLayout=\"column\">\n\n <div cdkDragHandle class=\"tool-bar\" fxFlex=\"nogrow\">\n <rxap-window-tool-bar></rxap-window-tool-bar>\n </div>\n\n <div class=\"content\" fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n\n <mat-toolbar *ngIf=\"windowRef.footerPortal$ | async as footerPortal\" class=\"footer mat-elevation-z1\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"windowInstance.isLoading$ | async\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n", styles: [".container{cursor:move;position:relative;z-index:1;max-height:100vh;max-width:100vw}.container:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.container .tool-bar{width:100%}.container .content{overflow:auto;width:100%}.container .footer{width:100%;height:64px}\n"], components: [{ type: WindowToolBarComponent, selector: "rxap-window-tool-bar" }, { type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i3$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: WindowResizerComponent, selector: "rxap-window-resizer", inputs: ["containerRef"], outputs: ["width", "height", "resizing"] }], directives: [{ type: i5.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i2.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowContainerComponent, decorators: [{
|
|
357
352
|
type: Component,
|
|
358
|
-
args: [{
|
|
359
|
-
selector: 'rxap-window-container',
|
|
360
|
-
templateUrl: './window-container.component.html',
|
|
361
|
-
styleUrls: ['./window-container.component.scss'],
|
|
362
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
363
|
-
host: {
|
|
353
|
+
args: [{ selector: 'rxap-window-container', changeDetection: ChangeDetectionStrategy.Default, host: {
|
|
364
354
|
class: 'rxap-window-container'
|
|
365
|
-
}
|
|
366
|
-
}]
|
|
355
|
+
}, template: "<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragDisabled]=\"windowRef.settings.draggable === false\"\n [ngStyle]=\"{\n 'width': width$ | async,\n 'height': height$ | async,\n 'minWidth': windowRef.settings.minWidth,\n 'minHeight': windowRef.settings.minHeight,\n 'maxWidth': windowRef.settings.maxWidth,\n 'maxHeight': windowRef.settings.maxHeight\n }\"\n cdkDrag\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\n class=\"container mat-elevation-z4\"\n fxLayout=\"column\">\n\n <div cdkDragHandle class=\"tool-bar\" fxFlex=\"nogrow\">\n <rxap-window-tool-bar></rxap-window-tool-bar>\n </div>\n\n <div class=\"content\" fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n\n <mat-toolbar *ngIf=\"windowRef.footerPortal$ | async as footerPortal\" class=\"footer mat-elevation-z1\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"windowInstance.isLoading$ | async\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n", styles: [".container{cursor:move;position:relative;z-index:1;max-height:100vh;max-width:100vw}.container:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.container .tool-bar{width:100%}.container .content{overflow:auto;width:100%}.container .footer{width:100%;height:64px}\n"] }]
|
|
367
356
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
368
357
|
type: Inject,
|
|
369
358
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -435,16 +424,11 @@ class WindowContentComponent {
|
|
|
435
424
|
})).subscribe();
|
|
436
425
|
}
|
|
437
426
|
}
|
|
438
|
-
WindowContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
439
|
-
WindowContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
427
|
+
WindowContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowContentComponent, deps: [{ token: RXAP_WINDOW_CONTAINER_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: i1$1.LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
428
|
+
WindowContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowContentComponent, selector: "rxap-window-content", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:1.5rem}\n"], directives: [{ type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowContentComponent, decorators: [{
|
|
441
430
|
type: Component,
|
|
442
|
-
args: [{
|
|
443
|
-
selector: 'rxap-window-content',
|
|
444
|
-
templateUrl: './window-content.component.html',
|
|
445
|
-
styleUrls: ['./window-content.component.scss'],
|
|
446
|
-
changeDetection: ChangeDetectionStrategy.Default
|
|
447
|
-
}]
|
|
431
|
+
args: [{ selector: 'rxap-window-content', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:1.5rem}\n"] }]
|
|
448
432
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
449
433
|
type: Inject,
|
|
450
434
|
args: [RXAP_WINDOW_CONTAINER_CONTEXT]
|
|
@@ -458,16 +442,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
458
442
|
|
|
459
443
|
class DefaultWindowComponent {
|
|
460
444
|
}
|
|
461
|
-
DefaultWindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
462
|
-
DefaultWindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
445
|
+
DefaultWindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
446
|
+
DefaultWindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DefaultWindowComponent, selector: "rxap-default-window", ngImport: i0, template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n", styles: [""], components: [{ type: WindowContainerComponent, selector: "rxap-window-container" }, { type: WindowContentComponent, selector: "rxap-window-content" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DefaultWindowComponent, decorators: [{
|
|
464
448
|
type: Component,
|
|
465
|
-
args: [{
|
|
466
|
-
selector: 'rxap-default-window',
|
|
467
|
-
templateUrl: './default-window.component.html',
|
|
468
|
-
styleUrls: ['./default-window.component.scss'],
|
|
469
|
-
changeDetection: ChangeDetectionStrategy.Default
|
|
470
|
-
}]
|
|
449
|
+
args: [{ selector: 'rxap-default-window', changeDetection: ChangeDetectionStrategy.Default, template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n", styles: [""] }]
|
|
471
450
|
}] });
|
|
472
451
|
|
|
473
452
|
class WindowActionBarComponent {
|
|
@@ -481,15 +460,11 @@ class WindowActionBarComponent {
|
|
|
481
460
|
}
|
|
482
461
|
}
|
|
483
462
|
}
|
|
484
|
-
WindowActionBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
485
|
-
WindowActionBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
463
|
+
WindowActionBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowActionBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
464
|
+
WindowActionBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowActionBarComponent, selector: "rxap-window-action-bar", ngImport: i0, template: "<mat-toolbar-row *ngIf=\"definitions\" class=\"container\" fxLayout=\"row\" fxLayoutAlign=\"{{position}} center\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n", styles: [".container{padding:.8rem}\n"], components: [{ type: i1$2.ButtonComponent, selector: "button[rxap-button]", inputs: ["disabled", "disableRipple", "color", "context", "contextAll", "action", "rxap-button", "icon", "tooltip", "tooltipDisabled", "label", "show", "confirm"], outputs: ["confirmed", "unconfirmed"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }] });
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowActionBarComponent, decorators: [{
|
|
487
466
|
type: Component,
|
|
488
|
-
args: [{
|
|
489
|
-
selector: 'rxap-window-action-bar',
|
|
490
|
-
templateUrl: './window-action-bar.component.html',
|
|
491
|
-
styleUrls: ['./window-action-bar.component.scss']
|
|
492
|
-
}]
|
|
467
|
+
args: [{ selector: 'rxap-window-action-bar', template: "<mat-toolbar-row *ngIf=\"definitions\" class=\"container\" fxLayout=\"row\" fxLayoutAlign=\"{{position}} center\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n", styles: [".container{padding:.8rem}\n"] }]
|
|
493
468
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
494
469
|
type: Inject,
|
|
495
470
|
args: [RXAP_WINDOW_CONTEXT]
|
|
@@ -539,9 +514,13 @@ class WindowService {
|
|
|
539
514
|
return this.active.has(id);
|
|
540
515
|
}
|
|
541
516
|
open(config) {
|
|
542
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
543
517
|
// Override default configuration
|
|
544
|
-
const windowConfig =
|
|
518
|
+
const windowConfig = {
|
|
519
|
+
id: v4(),
|
|
520
|
+
...DEFAULT_WINDOW_CONFIG,
|
|
521
|
+
...(this.defaultWindowSettings ?? {}),
|
|
522
|
+
...config,
|
|
523
|
+
};
|
|
545
524
|
if (this.has(windowConfig.id)) {
|
|
546
525
|
return this.get(windowConfig.id);
|
|
547
526
|
}
|
|
@@ -560,7 +539,7 @@ class WindowService {
|
|
|
560
539
|
component: windowConfig.component,
|
|
561
540
|
};
|
|
562
541
|
const injector = Injector.create({
|
|
563
|
-
parent:
|
|
542
|
+
parent: windowConfig.injector ?? this.injector,
|
|
564
543
|
providers: [
|
|
565
544
|
{
|
|
566
545
|
provide: RXAP_WINDOW_CONTAINER_CONTEXT,
|
|
@@ -583,9 +562,13 @@ class WindowService {
|
|
|
583
562
|
useClass: LoadingIndicatorService,
|
|
584
563
|
},
|
|
585
564
|
],
|
|
586
|
-
name:
|
|
565
|
+
name: windowConfig?.injectorName ?? 'WindowService',
|
|
587
566
|
});
|
|
588
|
-
const containerPortal = new ComponentPortal(DefaultWindowComponent,
|
|
567
|
+
const containerPortal = new ComponentPortal(DefaultWindowComponent, injector.get(ViewContainerRef, null, InjectFlags.Optional) ??
|
|
568
|
+
windowConfig.viewContainerRef ??
|
|
569
|
+
null, injector, injector.get(ComponentFactoryResolver, null, InjectFlags.Optional) ??
|
|
570
|
+
windowConfig.componentFactoryResolver ??
|
|
571
|
+
this.componentFactoryResolver);
|
|
589
572
|
overlayRef.attach(containerPortal);
|
|
590
573
|
overlayRef
|
|
591
574
|
.backdropClick()
|
|
@@ -605,7 +588,6 @@ class WindowService {
|
|
|
605
588
|
this.activeCount$.next(this.active.size);
|
|
606
589
|
}
|
|
607
590
|
createOverlay({ panelClass, width, height, minHeight, minWidth, maxHeight, maxWidth, }) {
|
|
608
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
609
591
|
const startPos = GetWindowStartPos();
|
|
610
592
|
const positionStrategy = this.overlay
|
|
611
593
|
.position()
|
|
@@ -618,18 +600,18 @@ class WindowService {
|
|
|
618
600
|
scrollStrategy: this.overlay.scrollStrategies.block(),
|
|
619
601
|
width,
|
|
620
602
|
height,
|
|
621
|
-
maxWidth:
|
|
622
|
-
maxHeight:
|
|
623
|
-
minWidth:
|
|
624
|
-
minHeight:
|
|
603
|
+
maxWidth: maxWidth ?? this.defaultWindowSettings?.maxWidth ?? '100vw',
|
|
604
|
+
maxHeight: maxHeight ?? this.defaultWindowSettings?.maxHeight ?? '100vh',
|
|
605
|
+
minWidth: minWidth ?? this.defaultWindowSettings?.minWidth ?? '384px',
|
|
606
|
+
minHeight: minHeight ?? this.defaultWindowSettings?.minHeight ?? '192px',
|
|
625
607
|
positionStrategy,
|
|
626
608
|
});
|
|
627
609
|
return this.overlay.create(overlayConfig);
|
|
628
610
|
}
|
|
629
611
|
}
|
|
630
|
-
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
631
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
612
|
+
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowService, deps: [{ token: Injector }, { token: Overlay }, { token: ComponentFactoryResolver }, { token: RXAP_WINDOW_DEFAULT_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
613
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowService, decorators: [{
|
|
633
615
|
type: Injectable,
|
|
634
616
|
args: [{ providedIn: 'root' }]
|
|
635
617
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
@@ -656,20 +638,15 @@ class WindowTaskComponent {
|
|
|
656
638
|
this.window.reopen();
|
|
657
639
|
}
|
|
658
640
|
}
|
|
659
|
-
WindowTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
660
|
-
WindowTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
641
|
+
WindowTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
642
|
+
WindowTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowTaskComponent, selector: "rxap-window-task", inputs: { window: "window" }, ngImport: i0, template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n fxLayoutGap=\".5rem\">\n <ng-template [ngIf]=\"window.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"grow\">{{settings.title}}</h3>\n </ng-template>\n <button (click)=\"close()\" rxapStopPropagation mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:.5rem;cursor:pointer}.container.minimized{opacity:.5}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7$1.StopPropagationDirective, selector: "[rxapStopPropagation]" }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
661
643
|
__decorate([
|
|
662
644
|
Required,
|
|
663
645
|
__metadata("design:type", WindowRef)
|
|
664
646
|
], WindowTaskComponent.prototype, "window", void 0);
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskComponent, decorators: [{
|
|
666
648
|
type: Component,
|
|
667
|
-
args: [{
|
|
668
|
-
selector: 'rxap-window-task',
|
|
669
|
-
templateUrl: './window-task.component.html',
|
|
670
|
-
styleUrls: ['./window-task.component.scss'],
|
|
671
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
672
|
-
}]
|
|
649
|
+
args: [{ selector: 'rxap-window-task', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n fxLayoutGap=\".5rem\">\n <ng-template [ngIf]=\"window.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"grow\">{{settings.title}}</h3>\n </ng-template>\n <button (click)=\"close()\" rxapStopPropagation mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:.5rem;cursor:pointer}.container.minimized{opacity:.5}\n"] }]
|
|
673
650
|
}], propDecorators: { window: [{
|
|
674
651
|
type: Input
|
|
675
652
|
}] } });
|
|
@@ -687,16 +664,11 @@ class WindowTaskBarComponent {
|
|
|
687
664
|
this.subscriptions.unsubscribe();
|
|
688
665
|
}
|
|
689
666
|
}
|
|
690
|
-
WindowTaskBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
WindowTaskBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
667
|
+
WindowTaskBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarComponent, deps: [{ token: WindowService }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
668
|
+
WindowTaskBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowTaskBarComponent, selector: "rxap-window-task-bar", ngImport: i0, template: "<div class=\"tasks\"\n fxFlex=\"nogrow\"\n fxLayout=\"row wrap\">\n <rxap-window-task *ngFor=\"let window of windowService.allActiveWindows\"\n [window]=\"window\"\n fxFlex=\"nogrow\">\n </rxap-window-task>\n</div>\n", styles: [""], components: [{ type: WindowTaskComponent, selector: "rxap-window-task", inputs: ["window"] }], directives: [{ type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarComponent, decorators: [{
|
|
693
670
|
type: Component,
|
|
694
|
-
args: [{
|
|
695
|
-
selector: 'rxap-window-task-bar',
|
|
696
|
-
templateUrl: './window-task-bar.component.html',
|
|
697
|
-
styleUrls: ['./window-task-bar.component.scss'],
|
|
698
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
699
|
-
}]
|
|
671
|
+
args: [{ selector: 'rxap-window-task-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tasks\"\n fxFlex=\"nogrow\"\n fxLayout=\"row wrap\">\n <rxap-window-task *ngFor=\"let window of windowService.allActiveWindows\"\n [window]=\"window\"\n fxFlex=\"nogrow\">\n </rxap-window-task>\n</div>\n", styles: [""] }]
|
|
700
672
|
}], ctorParameters: function () { return [{ type: WindowService, decorators: [{
|
|
701
673
|
type: Inject,
|
|
702
674
|
args: [WindowService]
|
|
@@ -717,15 +689,11 @@ class WindowTaskBarContainerComponent {
|
|
|
717
689
|
}
|
|
718
690
|
}
|
|
719
691
|
}
|
|
720
|
-
WindowTaskBarContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
721
|
-
WindowTaskBarContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
692
|
+
WindowTaskBarContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarContainerComponent, deps: [{ token: WindowService }, { token: RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
693
|
+
WindowTaskBarContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: WindowTaskBarContainerComponent, selector: "rxap-window-task-bar-container", ngImport: i0, template: "<div *ngIf=\"windowService.hasActiveWindows\" class=\"container\" fxLayout=\"column\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end 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 <mat-icon *ngIf=\"!expand\">keyboard_arrow_up</mat-icon>\n <mat-icon *ngIf=\"expand\">keyboard_arrow_down</mat-icon>\n </button>\n </div>\n <mat-toolbar [fxShow]=\"expand\" class=\"tasks\">\n <rxap-window-task-bar></rxap-window-task-bar>\n </mat-toolbar>\n</div>\n", styles: [".container .pin{border:none;border-radius:50% 50% 0 0;cursor:pointer}.container .tasks{height:auto;padding:1.6rem}\n"], components: [{ type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: WindowTaskBarComponent, selector: "rxap-window-task-bar" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i7$2.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { type: i2.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
|
|
694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarContainerComponent, decorators: [{
|
|
723
695
|
type: Component,
|
|
724
|
-
args: [{
|
|
725
|
-
selector: 'rxap-window-task-bar-container',
|
|
726
|
-
templateUrl: './window-task-bar-container.component.html',
|
|
727
|
-
styleUrls: ['./window-task-bar-container.component.scss']
|
|
728
|
-
}]
|
|
696
|
+
args: [{ selector: 'rxap-window-task-bar-container', template: "<div *ngIf=\"windowService.hasActiveWindows\" class=\"container\" fxLayout=\"column\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end 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 <mat-icon *ngIf=\"!expand\">keyboard_arrow_up</mat-icon>\n <mat-icon *ngIf=\"expand\">keyboard_arrow_down</mat-icon>\n </button>\n </div>\n <mat-toolbar [fxShow]=\"expand\" class=\"tasks\">\n <rxap-window-task-bar></rxap-window-task-bar>\n </mat-toolbar>\n</div>\n", styles: [".container .pin{border:none;border-radius:50% 50% 0 0;cursor:pointer}.container .tasks{height:auto;padding:1.6rem}\n"] }]
|
|
729
697
|
}], ctorParameters: function () { return [{ type: WindowService, decorators: [{
|
|
730
698
|
type: Inject,
|
|
731
699
|
args: [WindowService]
|
|
@@ -738,8 +706,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
738
706
|
|
|
739
707
|
class WindowTaskBarModule {
|
|
740
708
|
}
|
|
741
|
-
WindowTaskBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
742
|
-
WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
709
|
+
WindowTaskBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
710
|
+
WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarModule, declarations: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent], imports: [CommonModule,
|
|
743
711
|
FlexLayoutModule,
|
|
744
712
|
MatIconModule,
|
|
745
713
|
MatToolbarModule,
|
|
@@ -747,7 +715,7 @@ WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
747
715
|
MatButtonModule,
|
|
748
716
|
StopPropagationDirectiveModule,
|
|
749
717
|
IconDirectiveModule], exports: [WindowTaskBarComponent, WindowTaskBarContainerComponent] });
|
|
750
|
-
WindowTaskBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
718
|
+
WindowTaskBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarModule, imports: [[
|
|
751
719
|
CommonModule,
|
|
752
720
|
FlexLayoutModule,
|
|
753
721
|
MatIconModule,
|
|
@@ -757,7 +725,7 @@ WindowTaskBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
757
725
|
StopPropagationDirectiveModule,
|
|
758
726
|
IconDirectiveModule
|
|
759
727
|
]] });
|
|
760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarModule, decorators: [{
|
|
761
729
|
type: NgModule,
|
|
762
730
|
args: [{
|
|
763
731
|
declarations: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent],
|
|
@@ -771,15 +739,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
771
739
|
StopPropagationDirectiveModule,
|
|
772
740
|
IconDirectiveModule
|
|
773
741
|
],
|
|
774
|
-
entryComponents: [WindowTaskBarComponent],
|
|
775
742
|
exports: [WindowTaskBarComponent, WindowTaskBarContainerComponent]
|
|
776
743
|
}]
|
|
777
744
|
}] });
|
|
778
745
|
|
|
779
746
|
class RxapWindowSystemModule {
|
|
780
747
|
}
|
|
781
|
-
RxapWindowSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
782
|
-
RxapWindowSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
748
|
+
RxapWindowSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RxapWindowSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
749
|
+
RxapWindowSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RxapWindowSystemModule, declarations: [WindowContainerComponent,
|
|
783
750
|
WindowToolBarComponent,
|
|
784
751
|
WindowResizerComponent,
|
|
785
752
|
DefaultWindowComponent,
|
|
@@ -800,7 +767,7 @@ RxapWindowSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
800
767
|
DefaultWindowComponent,
|
|
801
768
|
WindowContentComponent,
|
|
802
769
|
WindowTaskBarModule] });
|
|
803
|
-
RxapWindowSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
770
|
+
RxapWindowSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RxapWindowSystemModule, imports: [[
|
|
804
771
|
MatToolbarModule,
|
|
805
772
|
FlexLayoutModule,
|
|
806
773
|
CommonModule,
|
|
@@ -813,7 +780,7 @@ RxapWindowSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
813
780
|
MatProgressBarModule,
|
|
814
781
|
IconDirectiveModule
|
|
815
782
|
], WindowTaskBarModule] });
|
|
816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RxapWindowSystemModule, decorators: [{
|
|
817
784
|
type: NgModule,
|
|
818
785
|
args: [{
|
|
819
786
|
imports: [
|
|
@@ -835,10 +802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
835
802
|
WindowResizerComponent,
|
|
836
803
|
DefaultWindowComponent,
|
|
837
804
|
WindowContentComponent,
|
|
838
|
-
WindowActionBarComponent
|
|
839
|
-
],
|
|
840
|
-
entryComponents: [
|
|
841
|
-
DefaultWindowComponent
|
|
805
|
+
WindowActionBarComponent
|
|
842
806
|
],
|
|
843
807
|
exports: [
|
|
844
808
|
WindowContainerComponent,
|
|
@@ -872,9 +836,9 @@ class WindowFooterDirective {
|
|
|
872
836
|
}));
|
|
873
837
|
}
|
|
874
838
|
}
|
|
875
|
-
WindowFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
WindowFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
839
|
+
WindowFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
840
|
+
WindowFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: WindowFooterDirective, selector: "[rxapWindowFooter]", ngImport: i0 });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirective, decorators: [{
|
|
878
842
|
type: Directive,
|
|
879
843
|
args: [{
|
|
880
844
|
selector: '[rxapWindowFooter]',
|
|
@@ -891,10 +855,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
891
855
|
}] }]; } });
|
|
892
856
|
class WindowFooterDirectiveModule {
|
|
893
857
|
}
|
|
894
|
-
WindowFooterDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
895
|
-
WindowFooterDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
896
|
-
WindowFooterDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
858
|
+
WindowFooterDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
859
|
+
WindowFooterDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirectiveModule, declarations: [WindowFooterDirective], exports: [WindowFooterDirective] });
|
|
860
|
+
WindowFooterDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirectiveModule });
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowFooterDirectiveModule, decorators: [{
|
|
898
862
|
type: NgModule,
|
|
899
863
|
args: [{
|
|
900
864
|
declarations: [WindowFooterDirective],
|
|
@@ -923,9 +887,9 @@ class WindowTitleDirective {
|
|
|
923
887
|
}));
|
|
924
888
|
}
|
|
925
889
|
}
|
|
926
|
-
WindowTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
927
|
-
WindowTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
890
|
+
WindowTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
891
|
+
WindowTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: WindowTitleDirective, selector: "[rxapWindowTitle]", ngImport: i0 });
|
|
892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirective, decorators: [{
|
|
929
893
|
type: Directive,
|
|
930
894
|
args: [{
|
|
931
895
|
selector: '[rxapWindowTitle]'
|
|
@@ -942,10 +906,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
942
906
|
}] }]; } });
|
|
943
907
|
class WindowTitleDirectiveModule {
|
|
944
908
|
}
|
|
945
|
-
WindowTitleDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
946
|
-
WindowTitleDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
947
|
-
WindowTitleDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
909
|
+
WindowTitleDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
910
|
+
WindowTitleDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirectiveModule, declarations: [WindowTitleDirective], exports: [WindowTitleDirective] });
|
|
911
|
+
WindowTitleDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirectiveModule });
|
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTitleDirectiveModule, decorators: [{
|
|
949
913
|
type: NgModule,
|
|
950
914
|
args: [{
|
|
951
915
|
declarations: [WindowTitleDirective],
|
|
@@ -958,4 +922,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
|
|
|
958
922
|
*/
|
|
959
923
|
|
|
960
924
|
export { DEFAULT_WINDOW_CONFIG, DefaultWindowComponent, RXAP_WINDOW_CONTAINER_CONTEXT, RXAP_WINDOW_CONTEXT, RXAP_WINDOW_DATA, RXAP_WINDOW_DEFAULT_SETTINGS, RXAP_WINDOW_REF, RXAP_WINDOW_SETTINGS, RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, RxapWindowSystemModule, WindowContainerComponent, WindowContentComponent, WindowFooterDirective, WindowFooterDirectiveModule, WindowRef, WindowResizerComponent, WindowService, WindowTaskBarComponent, WindowTaskBarContainerComponent, WindowTaskBarModule, WindowTitleDirective, WindowTitleDirectiveModule, WindowToolBarComponent };
|
|
961
|
-
//# sourceMappingURL=rxap-window-system.
|
|
925
|
+
//# sourceMappingURL=rxap-window-system.mjs.map
|