@rxap/window-system 16.0.0-dev.5 → 16.0.0-dev.7

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 CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.0.0-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/window-system@16.0.0-dev.6...@rxap/window-system@16.0.0-dev.7) (2023-08-01)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add browser-tailwind as imp dep if project has tailwind configuration ([6ea13c5](https://gitlab.com/rxap/packages/commit/6ea13c5f9b4e652436bf1da879b564d1ed7b8061))
11
+ - add tailwind bundle build target and configurations ([bec6b96](https://gitlab.com/rxap/packages/commit/bec6b96be15bbc11ad072ccefdcaf7df9e8fea52))
12
+ - generate readme with peer dependencies to install ([e7039bb](https://gitlab.com/rxap/packages/commit/e7039bb5e86ffeadfe7cc92d5fc71d32f8efb4fb))
13
+
14
+ # 16.0.0-dev.6 (2023-08-01)
15
+
16
+ ### Bug Fixes
17
+
18
+ - add missing utility modules ([782ea5d](https://gitlab.com/rxap/packages/commit/782ea5d41816f476700a1e88918af83303f26fc9))
19
+ - restructure and merge mono repos packages, schematics, plugins and nest ([a057d77](https://gitlab.com/rxap/packages/commit/a057d77ca2acf9426a03a497da8532f8a2fe2c86))
20
+ - update package dependency versions ([45bd022](https://gitlab.com/rxap/packages/commit/45bd022d755c0c11f7d0bcc76d26b39928007941))
21
+
6
22
  # [16.0.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/window-system@16.0.0-dev.4...@rxap/window-system@16.0.0-dev.5) (2023-07-11)
7
23
 
8
24
  ### Bug Fixes
package/README.md CHANGED
@@ -17,5 +17,5 @@ yarn add @rxap/window-system
17
17
  ```
18
18
  **Install peer dependencies:**
19
19
  ```bash
20
- yarn add
20
+ yarn add @angular/cdk@^16.1.4 @angular/common@^16.1.4 @angular/core@^16.1.4 @angular/flex-layout@^15.0.0-beta.42 @angular/material@^16.1.4 @rxap/directives@^16.0.0-dev.5 @rxap/material-directives@^16.0.0-dev.7 @rxap/rxjs@^1.0.1-dev.1 @rxap/services@^16.0.0-dev.5 @rxap/utilities@^16.0.0-dev.4 rxjs@^7.8.0
21
21
  ```
@@ -39,25 +39,8 @@ export class WindowContainerComponent {
39
39
  $event.source.reset();
40
40
  this.windowRef.setPos(pos.left + 'px', pos.top + 'px');
41
41
  }
42
- dragConstrainPosition(point, dragRef) {
43
- const height = document.body.offsetHeight;
44
- const width = document.body.offsetWidth;
45
- if (point.y <= 0) {
46
- point.y = 0;
47
- }
48
- if (point.x <= 0) {
49
- point.x = 0;
50
- }
51
- if (point.y > height - 64) {
52
- point.y = height - 64;
53
- }
54
- if (point.x > width - 100) {
55
- point.x = width - 100;
56
- }
57
- return point;
58
- }
59
42
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 [cdkDragConstrainPosition]=\"dragConstrainPosition\"\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 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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1.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"] }, { kind: "directive", type: i1.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"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", 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"] }, { 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i5.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.Default }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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.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 cdkDragBoundary=\".cdk-overlay-container\"\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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1.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"] }, { kind: "directive", type: i1.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"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", 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"] }, { 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i5.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.Default }); }
61
44
  }
62
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerComponent, decorators: [{
63
46
  type: Component,
@@ -76,7 +59,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
76
59
  MatProgressBarModule,
77
60
  WindowResizerComponent,
78
61
  AsyncPipe,
79
- ], template: "<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\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 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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"] }]
62
+ ], 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 cdkDragBoundary=\".cdk-overlay-container\"\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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"] }]
80
63
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
81
64
  type: Inject,
82
65
  args: [RXAP_WINDOW_CONTEXT]
@@ -99,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
99
82
  type: HostBinding,
100
83
  args: ['attr.data-id']
101
84
  }] } });
102
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL3dpbmRvdy1zeXN0ZW0vc3JjL2xpYi93aW5kb3ctY29udGFpbmVyL3dpbmRvdy1jb250YWluZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci93aW5kb3ctc3lzdGVtL3NyYy9saWIvd2luZG93LWNvbnRhaW5lci93aW5kb3ctY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixVQUFVLEVBQ1YsV0FBVyxFQUNYLE1BQU0sRUFFTixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNMLG1CQUFtQixFQUNuQixlQUFlLEdBQ2hCLE1BQU0sV0FBVyxDQUFDO0FBQ25CLE9BQU8sRUFDTCxLQUFLLEdBRU4sTUFBT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W5kb3ctdG9vbC1iYXI+XG4gIDwvZGl2PlxuXG4gIDxkaXYgY2xhc3M9XCJjb250ZW50XCIgZnhGbGV4PVwiZ3Jvd1wiPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9kaXY+XG5cbiAgPG1hdC10b29sYmFyICpuZ0lmPVwid2luZG93UmVmLmZvb3RlclBvcnRhbCQgfCBhc3luYyBhcyBmb290ZXJQb3J0YWxcIiBjbGFzcz1cImZvb3RlciBtYXQtZWxldmF0aW9uLXoxXCJcbiAgICAgICAgICAgICAgIGZ4RmxleD1cIm5vZ3Jvd1wiPlxuICAgIDxuZy10ZW1wbGF0ZSBbY2RrUG9ydGFsT3V0bGV0XT1cImZvb3RlclBvcnRhbFwiPjwvbmctdGVtcGxhdGU+XG4gIDwvbWF0LXRvb2xiYXI+XG5cbiAgPG1hdC1wcm9ncmVzcy1iYXIgKm5nSWY9XCJ3aW5kb3dJbnN0YW5jZS5pc0xvYWRpbmckIHwgYXN5bmNcIiBtb2RlPVwiaW5kZXRlcm1pbmF0ZVwiPjwvbWF0LXByb2dyZXNzLWJhcj5cblxuICA8cnhhcC13aW5kb3ctcmVzaXplciBbY29udGFpbmVyUmVmXT1cImNvbnRhaW5lclJlZlwiPjwvcnhhcC13aW5kb3ctcmVzaXplcj5cblxuPC9kaXY+XG4iXX0=
@@ -5,35 +5,32 @@ import { IconDirective } from '@rxap/material-directives/icon';
5
5
  import { MatIconModule } from '@angular/material/icon';
6
6
  import { PortalModule } from '@angular/cdk/portal';
7
7
  import { AsyncPipe, NgIf, } from '@angular/common';
8
- import { FlexModule } from '@angular/flex-layout/flex';
9
8
  import { MatToolbarModule } from '@angular/material/toolbar';
10
9
  import * as i0 from "@angular/core";
11
10
  import * as i1 from "@angular/material/toolbar";
12
- import * as i2 from "@angular/flex-layout/flex";
13
- import * as i3 from "@angular/cdk/portal";
14
- import * as i4 from "@angular/material/icon";
15
- import * as i5 from "@angular/material/button";
11
+ import * as i2 from "@angular/cdk/portal";
12
+ import * as i3 from "@angular/material/icon";
13
+ import * as i4 from "@angular/material/button";
16
14
  export class WindowToolBarComponent {
17
15
  constructor(context) {
18
16
  this.windowRef = context.windowRef;
19
17
  }
20
18
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowToolBarComponent, isStandalone: true, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"15px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"\n 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"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2.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"] }, { kind: "directive", type: i2.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"] }, { kind: "directive", type: i2.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"] }, { kind: "directive", type: i2.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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.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: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"></mat-icon>\n <h3 *ngIf=\"settings.title\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.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]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
22
20
  }
23
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowToolBarComponent, decorators: [{
24
22
  type: Component,
25
23
  args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [
26
24
  MatToolbarModule,
27
- FlexModule,
28
25
  NgIf,
29
26
  PortalModule,
30
27
  MatIconModule,
31
28
  IconDirective,
32
29
  MatButtonModule,
33
30
  AsyncPipe,
34
- ], template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"15px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"\n 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"] }]
31
+ ], 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 <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"></mat-icon>\n <h3 *ngIf=\"settings.title\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\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"] }]
35
32
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
36
33
  type: Inject,
37
34
  args: [RXAP_WINDOW_CONTE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gIDxtYXQtaWNvbj5jbG9zZTwvbWF0LWljb24+XG4gICAgPC9idXR0b24+XG4gIDwvZGl2PlxuPC9tYXQtdG9vbGJhcj5cbiJdfQ==
@@ -15,19 +15,19 @@ import { Required, GenerateRandomString } from '@rxap/utilities';
15
15
  import { AsyncPipe, NgIf, NgStyle, NgClass, NgFor } from '@angular/common';
16
16
  import * as i2$1 from '@angular/flex-layout/extended';
17
17
  import { ExtendedModule } from '@angular/flex-layout/extended';
18
- import * as i4 from '@angular/material/icon';
18
+ import * as i3 from '@angular/material/icon';
19
19
  import { MatIconModule } from '@angular/material/icon';
20
- import * as i5$1 from '@angular/material/progress-bar';
20
+ import * as i5 from '@angular/material/progress-bar';
21
21
  import { MatProgressBarModule } from '@angular/material/progress-bar';
22
22
  import * as i1$1 from '@angular/material/toolbar';
23
23
  import { MatToolbarModule } from '@angular/material/toolbar';
24
- import * as i5 from '@angular/material/button';
24
+ import * as i4 from '@angular/material/button';
25
25
  import { MatButtonModule } from '@angular/material/button';
26
26
  import { IconDirective } from '@rxap/material-directives/icon';
27
27
  import * as i1$2 from '@angular/flex-layout/flex';
28
28
  import { FlexModule } from '@angular/flex-layout/flex';
29
29
  import { StopPropagationDirective } from '@rxap/directives';
30
- import * as i3 from '@angular/material/badge';
30
+ import * as i3$1 from '@angular/material/badge';
31
31
  import { MatBadgeModule } from '@angular/material/badge';
32
32
 
33
33
  const DEFAULT_WINDOW_CONFIG = {
@@ -347,7 +347,7 @@ class WindowResizerComponent {
347
347
  }), finalize(() => this.resizing$.emit(false))))).subscribe());
348
348
  }
349
349
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowResizerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
350
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 [fxShow]=\"resizing$ | async\">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: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
350
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 [fxShow]=\"resizing$ | async\">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: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
351
351
  }
352
352
  __decorate([
353
353
  Required,
@@ -380,20 +380,19 @@ class WindowToolBarComponent {
380
380
  this.windowRef = context.windowRef;
381
381
  }
382
382
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
383
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowToolBarComponent, isStandalone: true, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"15px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"\n 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"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.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: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
383
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"></mat-icon>\n <h3 *ngIf=\"settings.title\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\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$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.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]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
384
384
  }
385
385
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowToolBarComponent, decorators: [{
386
386
  type: Component,
387
387
  args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [
388
388
  MatToolbarModule,
389
- FlexModule,
390
389
  NgIf,
391
390
  PortalModule,
392
391
  MatIconModule,
393
392
  IconDirective,
394
393
  MatButtonModule,
395
394
  AsyncPipe,
396
- ], template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"15px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"\n 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"] }]
395
+ ], 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 <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"></mat-icon>\n <h3 *ngIf=\"settings.title\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\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"] }]
397
396
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
398
397
  type: Inject,
399
398
  args: [RXAP_WINDOW_CONTEXT]
@@ -418,25 +417,8 @@ class WindowContainerComponent {
418
417
  $event.source.reset();
419
418
  this.windowRef.setPos(pos.left + 'px', pos.top + 'px');
420
419
  }
421
- dragConstrainPosition(point, dragRef) {
422
- const height = document.body.offsetHeight;
423
- const width = document.body.offsetWidth;
424
- if (point.y <= 0) {
425
- point.y = 0;
426
- }
427
- if (point.x <= 0) {
428
- point.x = 0;
429
- }
430
- if (point.y > height - 64) {
431
- point.y = height - 64;
432
- }
433
- if (point.x > width - 100) {
434
- point.x = width - 100;
435
- }
436
- return point;
437
- }
438
420
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
439
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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 [cdkDragConstrainPosition]=\"dragConstrainPosition\"\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 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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.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: i5$1.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.Default }); }
421
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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.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 cdkDragBoundary=\".cdk-overlay-container\"\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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.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: i5.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.Default }); }
440
422
  }
441
423
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerComponent, decorators: [{
442
424
  type: Component,
@@ -455,7 +437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
455
437
  MatProgressBarModule,
456
438
  WindowResizerComponent,
457
439
  AsyncPipe,
458
- ], template: "<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\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 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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"] }]
440
+ ], 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 cdkDragBoundary=\".cdk-overlay-container\"\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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></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;background-color:#fff}.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"] }]
459
441
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
460
442
  type: Inject,
461
443
  args: [RXAP_WINDOW_CONTEXT]
@@ -645,7 +627,7 @@ class WindowTaskComponent {
645
627
  this.window.reopen();
646
628
  }
647
629
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
648
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowTaskComponent, isStandalone: true, selector: "rxap-window-task", inputs: { window: "window" }, ngImport: i0, template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"5px\">\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()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:5px;cursor:pointer}.container.minimized{opacity:.5}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.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: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
630
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowTaskComponent, isStandalone: true, selector: "rxap-window-task", inputs: { window: "window" }, ngImport: i0, template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"5px\">\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()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:5px;cursor:pointer}.container.minimized{opacity:.5}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.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]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
649
631
  }
650
632
  __decorate([
651
633
  Required,
@@ -706,7 +688,7 @@ class WindowTaskBarContainerComponent {
706
688
  }
707
689
  }
708
690
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskBarContainerComponent, deps: [{ token: WindowService }, { token: RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
709
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowTaskBarContainerComponent, isStandalone: true, 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:16px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i3.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "component", type: WindowTaskBarComponent, selector: "rxap-window-task-bar" }] }); }
691
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowTaskBarContainerComponent, isStandalone: true, 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:16px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "directive", type: i1$2.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"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i3$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$1.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"] }, { kind: "component", type: WindowTaskBarComponent, selector: "rxap-window-task-bar" }] }); }
710
692
  }
711
693
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskBarContainerComponent, decorators: [{
712
694
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-window-system.mjs","sources":["../../../../../packages/angular/window-system/src/lib/window-config.ts","../../../../../packages/angular/window-system/src/lib/utilities.ts","../../../../../packages/angular/window-system/src/lib/tokens.ts","../../../../../packages/angular/window-system/src/lib/window-ref.ts","../../../../../packages/angular/window-system/src/lib/window-content/window-content.component.ts","../../../../../packages/angular/window-system/src/lib/window-content/window-content.component.html","../../../../../packages/angular/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../../packages/angular/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../../packages/angular/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-container/window-container.component.ts","../../../../../packages/angular/window-system/src/lib/window-container/window-container.component.html","../../../../../packages/angular/window-system/src/lib/default-window/default-window.component.ts","../../../../../packages/angular/window-system/src/lib/default-window/default-window.component.html","../../../../../packages/angular/window-system/src/lib/window.service.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../../packages/angular/window-system/src/lib/window-footer.directive.ts","../../../../../packages/angular/window-system/src/lib/window-title.directive.ts","../../../../../packages/angular/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-system.module.ts","../../../../../packages/angular/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { ComponentType } from '@angular/cdk/portal';\nimport {\n ComponentFactoryResolver,\n Injector,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/rxjs';\n\nexport interface WindowActions<A> {\n position?: 'start' | 'end';\n definitions: ButtonDefinition<[ A ]>[];\n}\n\nexport interface WindowSettings<D = any> {\n id?: string;\n title?: string;\n icon?: IconConfig;\n width?: string;\n height?: string;\n minWidth?: string;\n minHeight?: string;\n maxWidth?: string;\n maxHeight?: string;\n resizeable?: boolean;\n minimizable?: boolean;\n draggable?: boolean;\n panelClass?: string;\n data?: D;\n actions?: WindowActions<D>;\n}\n\nexport interface WindowConfig<D = any, T = any> extends WindowSettings<D> {\n component?: ComponentType<T>;\n template?: TemplateRef<T>;\n injector?: Injector | null;\n injectorName?: string;\n componentFactoryResolver?: ComponentFactoryResolver | null;\n viewContainerRef?: ViewContainerRef | null;\n}\n\nexport const DEFAULT_WINDOW_CONFIG: WindowConfig<any, any> = {\n resizeable: true,\n draggable: true,\n injector: null,\n componentFactoryResolver: null,\n minWidth: '384px',\n minHeight: '192px',\n maxWidth: '100vw',\n maxHeight: '100vw',\n};\n","export function GetWindowStartPos(): { top: string, left: string } {\n let top = '16px';\n let left = '16px';\n\n // TODO : remove hack to get a better window starting position\n\n const rxapLayoutHeaderElements = document.getElementsByClassName('rxap-layout-header');\n\n if (rxapLayoutHeaderElements) {\n const rxapLayoutHeaderElement = rxapLayoutHeaderElements.item(0);\n if (rxapLayoutHeaderElement && rxapLayoutHeaderElement instanceof HTMLElement) {\n top = (rxapLayoutHeaderElement.offsetHeight + 16) + 'px';\n }\n }\n\n const rxapLayoutSidenavs = document.getElementsByClassName('rxap-layout-sidenav');\n\n if (rxapLayoutSidenavs) {\n const rxapLayoutSidenav = rxapLayoutSidenavs.item(0);\n if (rxapLayoutSidenav && rxapLayoutSidenav instanceof HTMLElement) {\n const container = rxapLayoutSidenav.firstElementChild;\n if (container && container instanceof HTMLElement) {\n left = (container.offsetWidth + 16) + 'px';\n }\n }\n }\n\n return {\n top,\n left,\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport type {\n WindowContainerContext,\n WindowContext,\n} from './window-context';\nimport type { WindowRef } from './window-ref';\nimport { WindowSettings } from './window-config';\n\nexport const RXAP_WINDOW_CONTEXT = new InjectionToken<WindowContext<any>>('rxap/core/window/WINDOW_CONTEXT');\nexport const RXAP_WINDOW_DATA = new InjectionToken<any>('rxap/core/window/WINDOW_DATA');\nexport const RXAP_WINDOW_CONTAINER_CONTEXT = new InjectionToken<WindowContainerContext<any>>(\n 'rxap/core/window/WINDOW_CONTAINER_CONTEXT');\nexport const RXAP_WINDOW_REF = new InjectionToken<WindowRef>('rxap/window-system/WINDOW_REF');\nexport const RXAP_WINDOW_SETTINGS = new InjectionToken<WindowSettings>('rxap/window-system/window-settings');\nexport const RXAP_WINDOW_DEFAULT_SETTINGS = new InjectionToken<WindowSettings>(\n 'rxap/window-system/default-window-settings');\n","import {\n Overlay,\n OverlayRef,\n OverlaySizeConfig,\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n ReplaySubject,\n Subject,\n} from 'rxjs';\nimport { GetWindowStartPos } from './utilities';\nimport { Portal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n EmbeddedViewRef,\n InjectFlags,\n} from '@angular/core';\nimport { RXAP_WINDOW_SETTINGS } from './tokens';\n\nexport class WindowRef<D = any, R = any> extends Subject<R> {\n\n public readonly width$ = new BehaviorSubject<string>(this.getWidth());\n public readonly height$ = new BehaviorSubject<string>(this.getHeight());\n\n /**\n * @deprecated removed. use the subscribe method and wait for the resolve event\n */\n public readonly closed$ = new Subject<R | undefined>();\n\n public attachedRef$ = new ReplaySubject<ComponentRef<any> | EmbeddedViewRef<any>>(1);\n /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n public settings$ = new ReplaySubject<WindowSettings>(1);\n /**\n * stores the window size before fullScreen\n * @internal\n */\n private oldSizes: { width: string, height: string, pos: { x: string, y: string } } | null = null;\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>,\n ) {\n super();\n }\n\n public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\n /**\n * @deprecated removed. use the complete method\n * @param result\n */\n public close(result?: R): void {\n this.closed$.next(result);\n if (result !== undefined) {\n this.next(result);\n }\n this.complete();\n }\n\n public override complete() {\n this.overlayRef.dispose();\n super.complete();\n }\n\n public minimize(): void {\n this.overlayRef.hostElement.style.display = 'none';\n }\n\n public reopen(): void {\n const startPos = GetWindowStartPos();\n this.setPos(startPos.left, startPos.top);\n this.overlayRef.hostElement.style.display = 'flex';\n }\n\n public getSizeConfig(): OverlaySizeConfig {\n const config = this.overlayRef.getConfig();\n return {\n width: config.width,\n height: config.height,\n minHeight: config.minHeight,\n minWidth: config.minWidth,\n maxHeight: config.maxHeight,\n maxWidth: config.maxWidth,\n };\n }\n\n public setWidth(width: string): void {\n this.overlayRef.updateSize({\n ...this.getSizeConfig(),\n width,\n });\n this.width$.next(width);\n }\n\n public setHeight(height: string): void {\n this.overlayRef.updateSize({\n ...this.getSizeConfig(),\n height,\n });\n this.height$.next(height);\n }\n\n public getWidth(): string {\n // tslint:disable-next-line:no-non-null-assertion\n return this.getSizeConfig().width! + '';\n // return this.overlayRef.overlayElement.offsetWidth + 'px'\n }\n\n public getHeight(): string {\n // tslint:disable-next-line:no-non-null-assertion\n return this.getSizeConfig().height! + '';\n // return this.overlayRef.overlayElement.offsetHeight + 'px';\n }\n\n public setPos(x: string, y: string): void {\n this.overlayRef.updatePositionStrategy(this\n .overlay\n .position()\n .global()\n .top(y)\n .left(x),\n );\n this.overlayRef.updatePosition();\n }\n\n public getPos(): { x: string, y: string } {\n const pos = this.overlayRef.overlayElement.getBoundingClientRect();\n return {\n x: pos.left + 'px',\n y: pos.top + 'px',\n };\n }\n\n public fullScreen(): void {\n if (this.oldSizes === null) {\n this.oldSizes = {\n width: this.overlayRef.overlayElement.offsetWidth + 'px',\n height: this.overlayRef.overlayElement.offsetHeight + 'px',\n pos: this.getPos(),\n };\n this.setWidth('100vw');\n this.setHeight('100vh');\n this.setPos('0px', '0px');\n } else {\n this.setWidth(this.oldSizes.width);\n this.setHeight(this.oldSizes.height);\n this.setPos(this.oldSizes.pos.x, this.oldSizes.pos.y);\n this.oldSizes = null;\n }\n }\n\n /**\n * @param portal\n */\n public setFooterPortal(portal: Portal<any>) {\n setTimeout(() => {\n this.footerPortal$.next(portal);\n });\n }\n\n public setTitlePortal(portal: Portal<any>) {\n setTimeout(() => {\n this.titlePortal$.next(portal);\n });\n }\n\n public setAttachedRef(attachedRef: ComponentRef<any> | EmbeddedViewRef<any>) {\n if (attachedRef instanceof ComponentRef) {\n this.updateWindowSettings(attachedRef);\n } else {\n this.updateWindowSettings();\n }\n this.attachedRef$.next(attachedRef);\n }\n\n\n /**\n * Injects the window settings from the component ref injector and overwrites\n * the settings\n * @private\n */\n private updateWindowSettings(componentRef?: ComponentRef<any>) {\n const settings = componentRef?.injector.get(RXAP_WINDOW_SETTINGS, null, InjectFlags.Optional) ?? this.settings;\n if (settings) {\n // prevent change diction error: ExpressionChangedAfterItHasBeenCheckedError\n setTimeout(() => {\n this.settings$.next(Object.assign({}, this.settings, settings));\n });\n }\n }\n\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ComponentRef,\n Inject,\n Injector,\n isDevMode,\n OnInit,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n CdkPortalOutlet,\n ComponentPortal,\n Portal,\n PortalModule,\n TemplatePortal,\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n catchError,\n delay,\n filter,\n startWith,\n take,\n tap,\n timeout,\n} from 'rxjs/operators';\nimport {\n isObservable,\n throwError,\n TimeoutError,\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/rxjs';\n\n@Component({\n selector: 'rxap-window-content',\n templateUrl: './window-content.component.html',\n styleUrls: [ './window-content.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [ PortalModule ],\n})\nexport class WindowContentComponent implements AfterViewInit, OnInit {\n\n public context: WindowContainerContext<any>;\n\n public portal: Portal<any> | null = null;\n\n @ViewChild(CdkPortalOutlet)\n public portalOutlet!: CdkPortalOutlet;\n\n constructor(\n @Inject(RXAP_WINDOW_CONTAINER_CONTEXT)\n context: any,\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n private readonly injector: Injector,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly loadingIndicatorService: LoadingIndicatorService,\n ) {\n this.context = context;\n }\n\n public ngOnInit() {\n if (this.context.template) {\n this.portal = new TemplatePortal(this.context.template, this.viewContainerRef);\n } else if (this.context.component) {\n this.portal = new ComponentPortal<any>(this.context.component, this.viewContainerRef, this.injector);\n }\n }\n\n public ngAfterViewInit() {\n this.portalOutlet.attached.pipe(\n startWith(this.portalOutlet.attachedRef),\n isDefined(),\n take(1),\n tap(attachedRef => this.windowRef.setAttachedRef(attachedRef)),\n tap(attachedRef => {\n const promise: Promise<any>[] = [];\n if (attachedRef instanceof ComponentRef) {\n attachedRef.changeDetectorRef.detectChanges();\n const loading$ = attachedRef.instance.loading$;\n if (loading$ && isObservable(loading$)) {\n if (isDevMode()) {\n console.warn('The component has a loading indicator member');\n }\n this.loadingIndicatorService.attachLoading(loading$);\n promise.push(loading$.pipe(\n filter(Boolean),\n take(1),\n delay(100),\n tap(() => attachedRef.changeDetectorRef.detectChanges()),\n ).toPromise());\n } else {\n this.loadingIndicatorService.disable();\n }\n } else {\n this.loadingIndicatorService.disable();\n }\n return Promise.all(promise);\n }),\n timeout(10000),\n catchError(error => {\n\n if (error instanceof TimeoutError) {\n if (isDevMode()) {\n console.warn('The window content never resolved the attached ref');\n }\n }\n\n return throwError(error);\n }),\n ).subscribe();\n }\n\n}\n","<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription,\n} from 'rxjs';\nimport {\n filter,\n finalize,\n map,\n switchMap,\n takeUntil,\n tap,\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\nimport { AsyncPipe } from '@angular/common';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'rxap-window-resizer',\n templateUrl: './window-resizer.component.html',\n styleUrls: [ './window-resizer.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ MatIconModule, ExtendedModule, AsyncPipe ],\n})\nexport class WindowResizerComponent implements OnInit, OnDestroy {\n\n @Input() @Required public containerRef!: ElementRef<any>;\n\n public windowRef: WindowRef<any>;\n\n @ViewChild('resizer', { static: true }) public resizerRef!: ElementRef<any>;\n\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('width') public width$ = new EventEmitter<string>();\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('height') public height$ = new EventEmitter<string>();\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('resizing') public resizing$ = new EventEmitter<boolean>();\n\n private _subscription = new Subscription();\n\n constructor(\n @Inject(RXAP_WINDOW_CONTEXT) context: any,\n ) {\n this.windowRef = context.windowRef;\n }\n\n ngOnDestroy(): void {\n this._subscription.unsubscribe();\n }\n\n ngOnInit() {\n\n let originalMouseX = 0;\n let originalMouseY = 0;\n let originalWidth = 0;\n let originalHeight = 0;\n\n this._subscription.add(\n fromEvent<MouseEvent>(this.resizerRef.nativeElement, 'mousedown').pipe(\n tap(event => {\n this.resizing$.emit(true);\n originalMouseX = event.pageX;\n originalMouseY = event.pageY;\n originalWidth = parseFloat(\n getComputedStyle(this.containerRef.nativeElement, null)\n .getPropertyValue('width')\n .replace('px', ''),\n );\n originalHeight = parseFloat(\n getComputedStyle(this.containerRef.nativeElement, null)\n .getPropertyValue('height')\n .replace('px', ''),\n );\n }),\n switchMap(() => fromEvent<MouseEvent>(window, 'mousemove').pipe(\n takeUntil(fromEvent(window, 'mouseup')),\n map((event) => ({\n width: originalWidth + (event.pageX - originalMouseX),\n height: originalHeight + (event.pageY - originalMouseY),\n })),\n filter(size => (Number(this.windowRef.getSizeConfig().minHeight) || 0) <=\n size.height &&\n (Number(this.windowRef.getSizeConfig().minWidth) || 0) <=\n size.width),\n map(size => ({\n width: size.width + 'px',\n height: size.height + 'px',\n })),\n tap(size => {\n this.width$.emit(size.width);\n this.height$.emit(size.height);\n }),\n tap(size => {\n this.windowRef.setHeight(size.height);\n this.windowRef.setWidth(size.width);\n }),\n finalize(() => this.resizing$.emit(false)),\n ),\n ),\n ).subscribe(),\n );\n\n }\n\n}\n","<div #resizer class=\"resizer\">\n <mat-icon [fxShow]=\"resizing$ | async\">texture</mat-icon>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { MatButtonModule } from '@angular/material/button';\nimport { IconDirective } from '@rxap/material-directives/icon';\nimport { MatIconModule } from '@angular/material/icon';\nimport { PortalModule } from '@angular/cdk/portal';\nimport {\n AsyncPipe,\n NgIf,\n} from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout/flex';\nimport { MatToolbarModule } from '@angular/material/toolbar';\n\n@Component({\n selector: 'rxap-window-tool-bar',\n templateUrl: './window-tool-bar.component.html',\n styleUrls: [ './window-tool-bar.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [\n MatToolbarModule,\n FlexModule,\n NgIf,\n PortalModule,\n MatIconModule,\n IconDirective,\n MatButtonModule,\n AsyncPipe,\n ],\n})\nexport class WindowToolBarComponent<D> {\n\n public windowRef: WindowRef<D>;\n\n constructor(@Inject(RXAP_WINDOW_CONTEXT) context: any) {\n this.windowRef = context.windowRef;\n }\n\n}\n","<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"15px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"\n 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","import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n Inject,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF,\n} from '../tokens';\nimport {\n merge,\n Observable,\n} from 'rxjs';\nimport {\n CdkDrag,\n CdkDragEnd,\n CdkDragHandle,\n DragRef,\n} from '@angular/cdk/drag-drop';\nimport { WindowResizerComponent } from '../window-resizer/window-resizer.component';\nimport { WindowRef } from '../window-ref';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowToolBarComponent } from '../window-tool-bar/window-tool-bar.component';\nimport {\n AsyncPipe,\n NgIf,\n NgStyle,\n} from '@angular/common';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\nexport interface Point {\n x: number;\n y: number;\n}\n\n@Component({\n selector: 'rxap-window-container',\n templateUrl: './window-container.component.html',\n styleUrls: [ './window-container.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: {\n class: 'rxap-window-container',\n },\n standalone: true,\n imports: [\n CdkDrag,\n FlexModule,\n ExtendedModule,\n NgStyle,\n CdkDragHandle,\n WindowToolBarComponent,\n NgIf,\n MatToolbarModule,\n PortalModule,\n MatProgressBarModule,\n WindowResizerComponent,\n AsyncPipe,\n ],\n})\nexport class WindowContainerComponent<D> implements OnInit {\n\n @ContentChild('[footer]', { static: true }) public footerContent!: ElementRef<any>;\n\n @ViewChild('container', { static: true }) public containerRef!: ElementRef<any>;\n @ViewChild(WindowResizerComponent, { static: true }) public windowContainerResizer!: WindowResizerComponent;\n public width$!: Observable<string>;\n public height$!: Observable<string>;\n\n constructor(\n @Inject(RXAP_WINDOW_CONTEXT)\n public readonly context: any,\n @Inject(RXAP_WINDOW_REF)\n public readonly windowRef: WindowRef<D>,\n @Inject(LoadingIndicatorService)\n public readonly windowInstance: LoadingIndicatorService,\n ) {\n }\n\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\n public ngOnInit() {\n\n this.width$ = merge(\n this.windowContainerResizer.width$,\n this.windowRef.width$,\n );\n\n this.height$ = merge(\n this.windowContainerResizer.height$,\n this.windowRef.height$,\n );\n\n }\n\n public onDragEnded($event: CdkDragEnd<any>) {\n const nativeElement = $event.source.element.nativeElement;\n const pos = nativeElement.getBoundingClientRect();\n $event.source.reset();\n this.windowRef.setPos(pos.left + 'px', pos.top + 'px');\n }\n\n public dragConstrainPosition(point: Point, dragRef: DragRef): Point {\n const height = document.body.offsetHeight;\n const width = document.body.offsetWidth;\n if (point.y <= 0) {\n point.y = 0;\n }\n if (point.x <= 0) {\n point.x = 0;\n }\n if (point.y > height - 64) {\n point.y = height - 64;\n }\n if (point.x > width - 100) {\n point.x = width - 100;\n }\n return point;\n }\n\n}\n","<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\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 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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { WindowContentComponent } from '../window-content/window-content.component';\nimport { WindowContainerComponent } from '../window-container/window-container.component';\n\n@Component({\n selector: 'rxap-default-window',\n templateUrl: './default-window.component.html',\n styleUrls: [ './default-window.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [ WindowContainerComponent, WindowContentComponent ],\n})\nexport class DefaultWindowComponent {\n}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n ComponentFactoryResolver,\n Inject,\n Injectable,\n InjectFlags,\n Injector,\n Optional,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n DEFAULT_WINDOW_CONFIG,\n WindowConfig,\n WindowSettings,\n} from './window-config';\nimport {\n Overlay,\n OverlayConfig,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_DATA,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_REF,\n} from './tokens';\nimport {\n WindowContainerContext,\n WindowContext,\n} from './window-context';\nimport {\n finalize,\n take,\n tap,\n} from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { GenerateRandomString } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\n public readonly activeCount$ = new Subject<number>();\n private readonly active = new Map<string, WindowRef<any>>();\n\n constructor(\n @Inject(Injector) private readonly injector: Injector,\n @Inject(Overlay) private readonly overlay: Overlay,\n @Inject(ComponentFactoryResolver)\n private readonly componentFactoryResolver: ComponentFactoryResolver,\n @Optional()\n @Inject(RXAP_WINDOW_DEFAULT_SETTINGS)\n private readonly defaultWindowSettings?: WindowSettings,\n ) {\n }\n\n public get hasActiveWindows(): boolean {\n return this.active.size !== 0;\n }\n\n public get activeWindowCount(): number {\n return this.active.size;\n }\n\n public get allActiveWindows(): Array<WindowRef<any>> {\n return Array.from(this.active.values());\n }\n\n public get<D>(id: string): WindowRef<D> {\n if (!this.has(id)) {\n throw new Error(`Active Window with id '${ id }' not found`);\n }\n // tslint:disable-next-line:no-non-null-assertion\n return this.active.get(id)!;\n }\n\n public close(id: string): void {\n const windowRef = this.get(id);\n windowRef.complete();\n }\n\n public has(id: string): boolean {\n return this.active.has(id);\n }\n\n public open<D, T>(config: WindowConfig<D, T>): WindowRef<D> {\n // Override default configuration\n const windowConfig = {\n id: GenerateRandomString(),\n ...DEFAULT_WINDOW_CONFIG,\n ...(this.defaultWindowSettings ?? {}),\n ...config,\n };\n\n if (this.has(windowConfig.id)) {\n return this.get(windowConfig.id);\n }\n\n // Returns an OverlayRef which is a PortalHost\n const overlayRef = this.createOverlay(windowConfig);\n\n // Instantiate remote control\n const windowRef = new WindowRef<D>(overlayRef, this.overlay, windowConfig);\n\n const context: WindowContext<any> = {\n id: windowConfig.id,\n overlayRef,\n windowRef,\n data: windowConfig.data,\n };\n\n const containerContext: WindowContainerContext<any> = {\n template: windowConfig.template,\n component: windowConfig.component,\n };\n\n const injector = Injector.create({\n parent: windowConfig.injector ?? this.injector,\n providers: [\n {\n provide: RXAP_WINDOW_CONTAINER_CONTEXT,\n useValue: containerContext,\n },\n {\n provide: RXAP_WINDOW_CONTEXT,\n useValue: context,\n },\n {\n provide: RXAP_WINDOW_DATA,\n useValue: windowConfig.data,\n },\n {\n provide: RXAP_WINDOW_REF,\n useValue: windowRef,\n },\n {\n provide: LoadingIndicatorService,\n useClass: LoadingIndicatorService,\n },\n ],\n name: windowConfig?.injectorName ?? 'WindowService',\n });\n\n const containerPortal = new ComponentPortal(\n DefaultWindowComponent,\n injector.get(ViewContainerRef, null, InjectFlags.Optional) ??\n windowConfig.viewContainerRef ??\n null,\n injector,\n injector.get(ComponentFactoryResolver, null, InjectFlags.Optional) ??\n windowConfig.componentFactoryResolver ??\n this.componentFactoryResolver,\n );\n\n overlayRef.attach(containerPortal);\n\n overlayRef\n .backdropClick()\n .pipe(\n take(1),\n tap(() => windowRef.complete()),\n )\n .subscribe();\n\n windowRef.pipe(finalize(() => this.remove(windowConfig.id))).subscribe();\n\n this.add(windowRef);\n\n return windowRef;\n }\n\n public remove(id: string) {\n const result = this.active.delete(id);\n this.activeCount$.next(this.active.size);\n return result;\n }\n\n public add(windowRef: WindowRef<any>): void {\n this.active.set(windowRef.settings.id!, windowRef);\n this.activeCount$.next(this.active.size);\n }\n\n private createOverlay({\n panelClass,\n width,\n height,\n minHeight,\n minWidth,\n maxHeight,\n maxWidth,\n }: OverlayConfig) {\n const startPos = GetWindowStartPos();\n\n const positionStrategy = this.overlay\n .position()\n .global()\n .top(startPos.top)\n .left(startPos.left);\n\n const overlayConfig = new OverlayConfig({\n hasBackdrop: false,\n panelClass,\n scrollStrategy: this.overlay.scrollStrategies.block(),\n width,\n height,\n maxWidth: maxWidth ?? this.defaultWindowSettings?.maxWidth ?? '100vw',\n maxHeight: maxHeight ?? this.defaultWindowSettings?.maxHeight ?? '100vh',\n minWidth: minWidth ?? this.defaultWindowSettings?.minWidth ?? '384px',\n minHeight: minHeight ?? this.defaultWindowSettings?.minHeight ?? '192px',\n positionStrategy,\n });\n\n return this.overlay.create(overlayConfig);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\nimport { StopPropagationDirective } from '@rxap/directives';\nimport { MatButtonModule } from '@angular/material/button';\nimport { IconDirective } from '@rxap/material-directives/icon';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport {\n AsyncPipe,\n NgClass,\n NgIf,\n} from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\n@Component({\n selector: 'rxap-window-task',\n templateUrl: './window-task.component.html',\n styleUrls: [ './window-task.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n FlexModule,\n NgClass,\n ExtendedModule,\n NgIf,\n MatIconModule,\n IconDirective,\n MatButtonModule,\n StopPropagationDirective,\n AsyncPipe,\n ],\n})\nexport class WindowTaskComponent {\n\n @Input() @Required public window!: WindowRef<any>;\n\n public close() {\n this.window.complete();\n }\n\n public reopen() {\n this.window.reopen();\n }\n\n}\n","<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"5px\">\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()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { NgFor } from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\n@Component({\n selector: 'rxap-window-task-bar',\n templateUrl: './window-task-bar.component.html',\n styleUrls: [ './window-task-bar.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, NgFor, WindowTaskComponent ],\n})\nexport class WindowTaskBarComponent implements OnInit, OnDestroy {\n\n public subscriptions = new Subscription();\n\n constructor(\n @Inject(WindowService) public windowService: WindowService,\n @Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,\n ) {\n }\n\n public ngOnInit(): void {\n this.subscriptions.add(this.windowService.activeCount$.pipe(\n tap(() => this.cdr.markForCheck()),\n ).subscribe());\n }\n\n public ngOnDestroy(): void {\n this.subscriptions.unsubscribe();\n }\n\n}\n","<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","import {\n Component,\n Inject,\n InjectionToken,\n Optional,\n} from '@angular/core';\nimport { WindowService } from '../../window.service';\nimport { WindowTaskBarComponent } from '../window-task-bar.component';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout/flex';\nimport { NgIf } from '@angular/common';\n\nexport interface WindowTaskBarContainerSettings {\n expand?: boolean;\n}\n\nexport const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS = new InjectionToken('rxap/window-system/task-bar-container');\n\n@Component({\n selector: 'rxap-window-task-bar-container',\n templateUrl: './window-task-bar-container.component.html',\n styleUrls: [ './window-task-bar-container.component.scss' ],\n standalone: true,\n imports: [\n NgIf,\n FlexModule,\n MatButtonModule,\n MatBadgeModule,\n MatIconModule,\n MatToolbarModule,\n ExtendedModule,\n WindowTaskBarComponent,\n ],\n})\nexport class WindowTaskBarContainerComponent {\n\n public expand = true;\n\n constructor(\n @Inject(WindowService)\n public windowService: WindowService,\n @Optional()\n @Inject(RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS)\n settings: WindowTaskBarContainerSettings | null = null,\n ) {\n if (settings) {\n if (settings.expand !== undefined) {\n this.expand = settings.expand;\n }\n }\n }\n\n}\n","<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","import { NgModule } from '@angular/core';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\n\n@NgModule({\n imports: [\n WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent,\n ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ],\n})\nexport class WindowTaskBarModule {}\n","import {\n Directive,\n Inject,\n OnInit,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { WindowRef } from './window-ref';\nimport { RXAP_WINDOW_REF } from './tokens';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\nexport interface WindowFooterTemplateContext {\n $implicit: WindowRef;\n}\n\n@Directive({\n selector: '[rxapWindowFooter]',\n standalone: true,\n})\nexport class WindowFooterDirective implements OnInit {\n\n constructor(\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n @Inject(TemplateRef)\n private readonly template: TemplateRef<WindowFooterTemplateContext>,\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n ) {\n }\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir: WindowFooterDirective, ctx: any):\n ctx is WindowFooterTemplateContext {\n return true;\n }\n\n public ngOnInit() {\n this.windowRef.setFooterPortal(new TemplatePortal<WindowFooterTemplateContext>(\n this.template,\n this.viewContainerRef,\n {\n $implicit: this.windowRef,\n },\n ));\n }\n\n}\n\n\n","import {\n Directive,\n Inject,\n OnInit,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { WindowRef } from './window-ref';\nimport { RXAP_WINDOW_REF } from './tokens';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\nexport interface WindowTitleTemplateContext {\n $implicit: WindowRef;\n}\n\n@Directive({\n selector: '[rxapWindowTitle]',\n standalone: true,\n})\nexport class WindowTitleDirective implements OnInit {\n\n constructor(\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n @Inject(TemplateRef)\n private readonly template: TemplateRef<WindowTitleTemplateContext>,\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n ) {\n }\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any):\n ctx is WindowTitleTemplateContext {\n return true;\n }\n\n public ngOnInit() {\n this.windowRef.setTitlePortal(new TemplatePortal<WindowTitleTemplateContext>(\n this.template,\n this.viewContainerRef,\n {\n $implicit: this.windowRef,\n },\n ));\n }\n\n}\n\n\n","import {\n Component,\n Inject,\n Injector,\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/rxjs';\nimport { FlexModule } from '@angular/flex-layout/flex';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { NgIf } from '@angular/common';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ],\n standalone: true,\n imports: [ NgIf, MatToolbarModule, FlexModule ],\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position = 'start';\n\n constructor(@Inject(RXAP_WINDOW_CONTEXT) context: any, public injector: Injector) {\n if (context.windowRef.settings.actions) {\n this.definitions = context.windowRef.settings.actions.definitions;\n this.position = context.windowRef.settings.actions.position || this.position;\n }\n }\n\n}\n","<mat-toolbar-row *ngIf=\"definitions\" class=\"container\" fxLayout=\"row\" fxLayoutAlign=\"{{position}} center\"\n fxLayoutGap=\"8px\">\n <span>this feature is removed</span>\n</mat-toolbar-row>\n","import { NgModule } from '@angular/core';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { WindowToolBarComponent } from './window-tool-bar/window-tool-bar.component';\nimport { WindowResizerComponent } from './window-resizer/window-resizer.component';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { WindowContentComponent } from './window-content/window-content.component';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\n\n@NgModule({\n imports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule,\n ],\n})\nexport class RxapWindowSystemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0Ca,MAAA,qBAAqB,GAA2B;AAC3D,IAAA,UAAU,EAAE,IAA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,wBAAwB;YACxB,sBAAsB;YACtB,sBAAsB;YACtB,sBAAsB;YACtB,sBAAsB;AACtB,YAAA,wBAAwB,EAQxB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGV,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAlBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,wBAAwB;wBACxB,sBAAsB;wBACtB,sBAAsB;wBACtB,sBAAsB;wBACtB,sBAAsB;wBACtB,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;wBACxB,sBAAsB;wBACtB,sBAAsB;wBACtB,sBAAsB;wBACtB,sBAAsB;wBACtB,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
1
+ {"version":3,"file":"rxap-window-system.mjs","sources":["../../../../../packages/angular/window-system/src/lib/window-config.ts","../../../../../packages/angular/window-system/src/lib/utilities.ts","../../../../../packages/angular/window-system/src/lib/tokens.ts","../../../../../packages/angular/window-system/src/lib/window-ref.ts","../../../../../packages/angular/window-system/src/lib/window-content/window-content.component.ts","../../../../../packages/angular/window-system/src/lib/window-content/window-content.component.html","../../../../../packages/angular/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../../packages/angular/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../../packages/angular/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-container/window-container.component.ts","../../../../../packages/angular/window-system/src/lib/window-container/window-container.component.html","../../../../../packages/angular/window-system/src/lib/default-window/default-window.component.ts","../../../../../packages/angular/window-system/src/lib/default-window/default-window.component.html","../../../../../packages/angular/window-system/src/lib/window.service.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../../packages/angular/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../../packages/angular/window-system/src/lib/window-footer.directive.ts","../../../../../packages/angular/window-system/src/lib/window-title.directive.ts","../../../../../packages/angular/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../../packages/angular/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../../packages/angular/window-system/src/lib/window-system.module.ts","../../../../../packages/angular/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { ComponentType } from '@angular/cdk/portal';\nimport {\n ComponentFactoryResolver,\n Injector,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/rxjs';\n\nexport interface WindowActions<A> {\n position?: 'start' | 'end';\n definitions: ButtonDefinition<[ A ]>[];\n}\n\nexport interface WindowSettings<D = any> {\n id?: string;\n title?: string;\n icon?: IconConfig;\n width?: string;\n height?: string;\n minWidth?: string;\n minHeight?: string;\n maxWidth?: string;\n maxHeight?: string;\n resizeable?: boolean;\n minimizable?: boolean;\n draggable?: boolean;\n panelClass?: string;\n data?: D;\n actions?: WindowActions<D>;\n}\n\nexport interface WindowConfig<D = any, T = any> extends WindowSettings<D> {\n component?: ComponentType<T>;\n template?: TemplateRef<T>;\n injector?: Injector | null;\n injectorName?: string;\n componentFactoryResolver?: ComponentFactoryResolver | null;\n viewContainerRef?: ViewContainerRef | null;\n}\n\nexport const DEFAULT_WINDOW_CONFIG: WindowConfig<any, any> = {\n resizeable: true,\n draggable: true,\n injector: null,\n componentFactoryResolver: null,\n minWidth: '384px',\n minHeight: '192px',\n maxWidth: '100vw',\n maxHeight: '100vw',\n};\n","export function GetWindowStartPos(): { top: string, left: string } {\n let top = '16px';\n let left = '16px';\n\n // TODO : remove hack to get a better window starting position\n\n const rxapLayoutHeaderElements = document.getElementsByClassName('rxap-layout-header');\n\n if (rxapLayoutHeaderElements) {\n const rxapLayoutHeaderElement = rxapLayoutHeaderElements.item(0);\n if (rxapLayoutHeaderElement && rxapLayoutHeaderElement instanceof HTMLElement) {\n top = (rxapLayoutHeaderElement.offsetHeight + 16) + 'px';\n }\n }\n\n const rxapLayoutSidenavs = document.getElementsByClassName('rxap-layout-sidenav');\n\n if (rxapLayoutSidenavs) {\n const rxapLayoutSidenav = rxapLayoutSidenavs.item(0);\n if (rxapLayoutSidenav && rxapLayoutSidenav instanceof HTMLElement) {\n const container = rxapLayoutSidenav.firstElementChild;\n if (container && container instanceof HTMLElement) {\n left = (container.offsetWidth + 16) + 'px';\n }\n }\n }\n\n return {\n top,\n left,\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport type {\n WindowContainerContext,\n WindowContext,\n} from './window-context';\nimport type { WindowRef } from './window-ref';\nimport { WindowSettings } from './window-config';\n\nexport const RXAP_WINDOW_CONTEXT = new InjectionToken<WindowContext<any>>('rxap/core/window/WINDOW_CONTEXT');\nexport const RXAP_WINDOW_DATA = new InjectionToken<any>('rxap/core/window/WINDOW_DATA');\nexport const RXAP_WINDOW_CONTAINER_CONTEXT = new InjectionToken<WindowContainerContext<any>>(\n 'rxap/core/window/WINDOW_CONTAINER_CONTEXT');\nexport const RXAP_WINDOW_REF = new InjectionToken<WindowRef>('rxap/window-system/WINDOW_REF');\nexport const RXAP_WINDOW_SETTINGS = new InjectionToken<WindowSettings>('rxap/window-system/window-settings');\nexport const RXAP_WINDOW_DEFAULT_SETTINGS = new InjectionToken<WindowSettings>(\n 'rxap/window-system/default-window-settings');\n","import {\n Overlay,\n OverlayRef,\n OverlaySizeConfig,\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n ReplaySubject,\n Subject,\n} from 'rxjs';\nimport { GetWindowStartPos } from './utilities';\nimport { Portal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n EmbeddedViewRef,\n InjectFlags,\n} from '@angular/core';\nimport { RXAP_WINDOW_SETTINGS } from './tokens';\n\nexport class WindowRef<D = any, R = any> extends Subject<R> {\n\n public readonly width$ = new BehaviorSubject<string>(this.getWidth());\n public readonly height$ = new BehaviorSubject<string>(this.getHeight());\n\n /**\n * @deprecated removed. use the subscribe method and wait for the resolve event\n */\n public readonly closed$ = new Subject<R | undefined>();\n\n public attachedRef$ = new ReplaySubject<ComponentRef<any> | EmbeddedViewRef<any>>(1);\n /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n public settings$ = new ReplaySubject<WindowSettings>(1);\n /**\n * stores the window size before fullScreen\n * @internal\n */\n private oldSizes: { width: string, height: string, pos: { x: string, y: string } } | null = null;\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>,\n ) {\n super();\n }\n\n public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\n /**\n * @deprecated removed. use the complete method\n * @param result\n */\n public close(result?: R): void {\n this.closed$.next(result);\n if (result !== undefined) {\n this.next(result);\n }\n this.complete();\n }\n\n public override complete() {\n this.overlayRef.dispose();\n super.complete();\n }\n\n public minimize(): void {\n this.overlayRef.hostElement.style.display = 'none';\n }\n\n public reopen(): void {\n const startPos = GetWindowStartPos();\n this.setPos(startPos.left, startPos.top);\n this.overlayRef.hostElement.style.display = 'flex';\n }\n\n public getSizeConfig(): OverlaySizeConfig {\n const config = this.overlayRef.getConfig();\n return {\n width: config.width,\n height: config.height,\n minHeight: config.minHeight,\n minWidth: config.minWidth,\n maxHeight: config.maxHeight,\n maxWidth: config.maxWidth,\n };\n }\n\n public setWidth(width: string): void {\n this.overlayRef.updateSize({\n ...this.getSizeConfig(),\n width,\n });\n this.width$.next(width);\n }\n\n public setHeight(height: string): void {\n this.overlayRef.updateSize({\n ...this.getSizeConfig(),\n height,\n });\n this.height$.next(height);\n }\n\n public getWidth(): string {\n // tslint:disable-next-line:no-non-null-assertion\n return this.getSizeConfig().width! + '';\n // return this.overlayRef.overlayElement.offsetWidth + 'px'\n }\n\n public getHeight(): string {\n // tslint:disable-next-line:no-non-null-assertion\n return this.getSizeConfig().height! + '';\n // return this.overlayRef.overlayElement.offsetHeight + 'px';\n }\n\n public setPos(x: string, y: string): void {\n this.overlayRef.updatePositionStrategy(this\n .overlay\n .position()\n .global()\n .top(y)\n .left(x),\n );\n this.overlayRef.updatePosition();\n }\n\n public getPos(): { x: string, y: string } {\n const pos = this.overlayRef.overlayElement.getBoundingClientRect();\n return {\n x: pos.left + 'px',\n y: pos.top + 'px',\n };\n }\n\n public fullScreen(): void {\n if (this.oldSizes === null) {\n this.oldSizes = {\n width: this.overlayRef.overlayElement.offsetWidth + 'px',\n height: this.overlayRef.overlayElement.offsetHeight + 'px',\n pos: this.getPos(),\n };\n this.setWidth('100vw');\n this.setHeight('100vh');\n this.setPos('0px', '0px');\n } else {\n this.setWidth(this.oldSizes.width);\n this.setHeight(this.oldSizes.height);\n this.setPos(this.oldSizes.pos.x, this.oldSizes.pos.y);\n this.oldSizes = null;\n }\n }\n\n /**\n * @param portal\n */\n public setFooterPortal(portal: Portal<any>) {\n setTimeout(() => {\n this.footerPortal$.next(portal);\n });\n }\n\n public setTitlePortal(portal: Portal<any>) {\n setTimeout(() => {\n this.titlePortal$.next(portal);\n });\n }\n\n public setAttachedRef(attachedRef: ComponentRef<any> | EmbeddedViewRef<any>) {\n if (attachedRef instanceof ComponentRef) {\n this.updateWindowSettings(attachedRef);\n } else {\n this.updateWindowSettings();\n }\n this.attachedRef$.next(attachedRef);\n }\n\n\n /**\n * Injects the window settings from the component ref injector and overwrites\n * the settings\n * @private\n */\n private updateWindowSettings(componentRef?: ComponentRef<any>) {\n const settings = componentRef?.injector.get(RXAP_WINDOW_SETTINGS, null, InjectFlags.Optional) ?? this.settings;\n if (settings) {\n // prevent change diction error: ExpressionChangedAfterItHasBeenCheckedError\n setTimeout(() => {\n this.settings$.next(Object.assign({}, this.settings, settings));\n });\n }\n }\n\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ComponentRef,\n Inject,\n Injector,\n isDevMode,\n OnInit,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n CdkPortalOutlet,\n ComponentPortal,\n Portal,\n PortalModule,\n TemplatePortal,\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n catchError,\n delay,\n filter,\n startWith,\n take,\n tap,\n timeout,\n} from 'rxjs/operators';\nimport {\n isObservable,\n throwError,\n TimeoutError,\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/rxjs';\n\n@Component({\n selector: 'rxap-window-content',\n templateUrl: './window-content.component.html',\n styleUrls: [ './window-content.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [ PortalModule ],\n})\nexport class WindowContentComponent implements AfterViewInit, OnInit {\n\n public context: WindowContainerContext<any>;\n\n public portal: Portal<any> | null = null;\n\n @ViewChild(CdkPortalOutlet)\n public portalOutlet!: CdkPortalOutlet;\n\n constructor(\n @Inject(RXAP_WINDOW_CONTAINER_CONTEXT)\n context: any,\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n private readonly injector: Injector,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly loadingIndicatorService: LoadingIndicatorService,\n ) {\n this.context = context;\n }\n\n public ngOnInit() {\n if (this.context.template) {\n this.portal = new TemplatePortal(this.context.template, this.viewContainerRef);\n } else if (this.context.component) {\n this.portal = new ComponentPortal<any>(this.context.component, this.viewContainerRef, this.injector);\n }\n }\n\n public ngAfterViewInit() {\n this.portalOutlet.attached.pipe(\n startWith(this.portalOutlet.attachedRef),\n isDefined(),\n take(1),\n tap(attachedRef => this.windowRef.setAttachedRef(attachedRef)),\n tap(attachedRef => {\n const promise: Promise<any>[] = [];\n if (attachedRef instanceof ComponentRef) {\n attachedRef.changeDetectorRef.detectChanges();\n const loading$ = attachedRef.instance.loading$;\n if (loading$ && isObservable(loading$)) {\n if (isDevMode()) {\n console.warn('The component has a loading indicator member');\n }\n this.loadingIndicatorService.attachLoading(loading$);\n promise.push(loading$.pipe(\n filter(Boolean),\n take(1),\n delay(100),\n tap(() => attachedRef.changeDetectorRef.detectChanges()),\n ).toPromise());\n } else {\n this.loadingIndicatorService.disable();\n }\n } else {\n this.loadingIndicatorService.disable();\n }\n return Promise.all(promise);\n }),\n timeout(10000),\n catchError(error => {\n\n if (error instanceof TimeoutError) {\n if (isDevMode()) {\n console.warn('The window content never resolved the attached ref');\n }\n }\n\n return throwError(error);\n }),\n ).subscribe();\n }\n\n}\n","<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription,\n} from 'rxjs';\nimport {\n filter,\n finalize,\n map,\n switchMap,\n takeUntil,\n tap,\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\nimport { AsyncPipe } from '@angular/common';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'rxap-window-resizer',\n templateUrl: './window-resizer.component.html',\n styleUrls: [ './window-resizer.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ MatIconModule, ExtendedModule, AsyncPipe ],\n})\nexport class WindowResizerComponent implements OnInit, OnDestroy {\n\n @Input() @Required public containerRef!: ElementRef<any>;\n\n public windowRef: WindowRef<any>;\n\n @ViewChild('resizer', { static: true }) public resizerRef!: ElementRef<any>;\n\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('width') public width$ = new EventEmitter<string>();\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('height') public height$ = new EventEmitter<string>();\n // eslint-disable-next-line @angular-eslint/no-output-rename\n @Output('resizing') public resizing$ = new EventEmitter<boolean>();\n\n private _subscription = new Subscription();\n\n constructor(\n @Inject(RXAP_WINDOW_CONTEXT) context: any,\n ) {\n this.windowRef = context.windowRef;\n }\n\n ngOnDestroy(): void {\n this._subscription.unsubscribe();\n }\n\n ngOnInit() {\n\n let originalMouseX = 0;\n let originalMouseY = 0;\n let originalWidth = 0;\n let originalHeight = 0;\n\n this._subscription.add(\n fromEvent<MouseEvent>(this.resizerRef.nativeElement, 'mousedown').pipe(\n tap(event => {\n this.resizing$.emit(true);\n originalMouseX = event.pageX;\n originalMouseY = event.pageY;\n originalWidth = parseFloat(\n getComputedStyle(this.containerRef.nativeElement, null)\n .getPropertyValue('width')\n .replace('px', ''),\n );\n originalHeight = parseFloat(\n getComputedStyle(this.containerRef.nativeElement, null)\n .getPropertyValue('height')\n .replace('px', ''),\n );\n }),\n switchMap(() => fromEvent<MouseEvent>(window, 'mousemove').pipe(\n takeUntil(fromEvent(window, 'mouseup')),\n map((event) => ({\n width: originalWidth + (event.pageX - originalMouseX),\n height: originalHeight + (event.pageY - originalMouseY),\n })),\n filter(size => (Number(this.windowRef.getSizeConfig().minHeight) || 0) <=\n size.height &&\n (Number(this.windowRef.getSizeConfig().minWidth) || 0) <=\n size.width),\n map(size => ({\n width: size.width + 'px',\n height: size.height + 'px',\n })),\n tap(size => {\n this.width$.emit(size.width);\n this.height$.emit(size.height);\n }),\n tap(size => {\n this.windowRef.setHeight(size.height);\n this.windowRef.setWidth(size.width);\n }),\n finalize(() => this.resizing$.emit(false)),\n ),\n ),\n ).subscribe(),\n );\n\n }\n\n}\n","<div #resizer class=\"resizer\">\n <mat-icon [fxShow]=\"resizing$ | async\">texture</mat-icon>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { MatButtonModule } from '@angular/material/button';\nimport { IconDirective } from '@rxap/material-directives/icon';\nimport { MatIconModule } from '@angular/material/icon';\nimport { PortalModule } from '@angular/cdk/portal';\nimport {\n AsyncPipe,\n NgIf,\n} from '@angular/common';\nimport { MatToolbarModule } from '@angular/material/toolbar';\n\n@Component({\n selector: 'rxap-window-tool-bar',\n templateUrl: './window-tool-bar.component.html',\n styleUrls: [ './window-tool-bar.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [\n MatToolbarModule,\n NgIf,\n PortalModule,\n MatIconModule,\n IconDirective,\n MatButtonModule,\n AsyncPipe,\n ],\n})\nexport class WindowToolBarComponent<D> {\n\n public windowRef: WindowRef<D>;\n\n constructor(@Inject(RXAP_WINDOW_CONTEXT) context: any) {\n this.windowRef = context.windowRef;\n }\n\n}\n","<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 <ng-template [ngIfElse]=\"titleFromSettings\" [ngIf]=\"windowRef.titlePortal$ | async\" 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\"></mat-icon>\n <h3 *ngIf=\"settings.title\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"flex flex-row justify-end items-center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\"\n mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\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","import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n Inject,\n OnInit,\n ViewChild,\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF,\n} from '../tokens';\nimport {\n merge,\n Observable,\n} from 'rxjs';\nimport {\n CdkDrag,\n CdkDragEnd,\n CdkDragHandle,\n} from '@angular/cdk/drag-drop';\nimport { WindowResizerComponent } from '../window-resizer/window-resizer.component';\nimport { WindowRef } from '../window-ref';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowToolBarComponent } from '../window-tool-bar/window-tool-bar.component';\nimport {\n AsyncPipe,\n NgIf,\n NgStyle,\n} from '@angular/common';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\nexport interface Point {\n x: number;\n y: number;\n}\n\n@Component({\n selector: 'rxap-window-container',\n templateUrl: './window-container.component.html',\n styleUrls: [ './window-container.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: {\n class: 'rxap-window-container',\n },\n standalone: true,\n imports: [\n CdkDrag,\n FlexModule,\n ExtendedModule,\n NgStyle,\n CdkDragHandle,\n WindowToolBarComponent,\n NgIf,\n MatToolbarModule,\n PortalModule,\n MatProgressBarModule,\n WindowResizerComponent,\n AsyncPipe,\n ],\n})\nexport class WindowContainerComponent<D> implements OnInit {\n\n @ContentChild('[footer]', { static: true }) public footerContent!: ElementRef<any>;\n\n @ViewChild('container', { static: true }) public containerRef!: ElementRef<any>;\n @ViewChild(WindowResizerComponent, { static: true }) public windowContainerResizer!: WindowResizerComponent;\n public width$!: Observable<string>;\n public height$!: Observable<string>;\n\n constructor(\n @Inject(RXAP_WINDOW_CONTEXT)\n public readonly context: any,\n @Inject(RXAP_WINDOW_REF)\n public readonly windowRef: WindowRef<D>,\n @Inject(LoadingIndicatorService)\n public readonly windowInstance: LoadingIndicatorService,\n ) {\n }\n\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\n public ngOnInit() {\n\n this.width$ = merge(\n this.windowContainerResizer.width$,\n this.windowRef.width$,\n );\n\n this.height$ = merge(\n this.windowContainerResizer.height$,\n this.windowRef.height$,\n );\n\n }\n\n public onDragEnded($event: CdkDragEnd<any>) {\n const nativeElement = $event.source.element.nativeElement;\n const pos = nativeElement.getBoundingClientRect();\n $event.source.reset();\n this.windowRef.setPos(pos.left + 'px', pos.top + 'px');\n }\n\n}\n","<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 cdkDragBoundary=\".cdk-overlay-container\"\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\"\n fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar *ngIf=\"windowInstance.isLoading$ | async\" mode=\"indeterminate\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { WindowContentComponent } from '../window-content/window-content.component';\nimport { WindowContainerComponent } from '../window-container/window-container.component';\n\n@Component({\n selector: 'rxap-default-window',\n templateUrl: './default-window.component.html',\n styleUrls: [ './default-window.component.scss' ],\n changeDetection: ChangeDetectionStrategy.Default,\n standalone: true,\n imports: [ WindowContainerComponent, WindowContentComponent ],\n})\nexport class DefaultWindowComponent {\n}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n ComponentFactoryResolver,\n Inject,\n Injectable,\n InjectFlags,\n Injector,\n Optional,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n DEFAULT_WINDOW_CONFIG,\n WindowConfig,\n WindowSettings,\n} from './window-config';\nimport {\n Overlay,\n OverlayConfig,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_DATA,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_REF,\n} from './tokens';\nimport {\n WindowContainerContext,\n WindowContext,\n} from './window-context';\nimport {\n finalize,\n take,\n tap,\n} from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { GenerateRandomString } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\n public readonly activeCount$ = new Subject<number>();\n private readonly active = new Map<string, WindowRef<any>>();\n\n constructor(\n @Inject(Injector) private readonly injector: Injector,\n @Inject(Overlay) private readonly overlay: Overlay,\n @Inject(ComponentFactoryResolver)\n private readonly componentFactoryResolver: ComponentFactoryResolver,\n @Optional()\n @Inject(RXAP_WINDOW_DEFAULT_SETTINGS)\n private readonly defaultWindowSettings?: WindowSettings,\n ) {\n }\n\n public get hasActiveWindows(): boolean {\n return this.active.size !== 0;\n }\n\n public get activeWindowCount(): number {\n return this.active.size;\n }\n\n public get allActiveWindows(): Array<WindowRef<any>> {\n return Array.from(this.active.values());\n }\n\n public get<D>(id: string): WindowRef<D> {\n if (!this.has(id)) {\n throw new Error(`Active Window with id '${ id }' not found`);\n }\n // tslint:disable-next-line:no-non-null-assertion\n return this.active.get(id)!;\n }\n\n public close(id: string): void {\n const windowRef = this.get(id);\n windowRef.complete();\n }\n\n public has(id: string): boolean {\n return this.active.has(id);\n }\n\n public open<D, T>(config: WindowConfig<D, T>): WindowRef<D> {\n // Override default configuration\n const windowConfig = {\n id: GenerateRandomString(),\n ...DEFAULT_WINDOW_CONFIG,\n ...(this.defaultWindowSettings ?? {}),\n ...config,\n };\n\n if (this.has(windowConfig.id)) {\n return this.get(windowConfig.id);\n }\n\n // Returns an OverlayRef which is a PortalHost\n const overlayRef = this.createOverlay(windowConfig);\n\n // Instantiate remote control\n const windowRef = new WindowRef<D>(overlayRef, this.overlay, windowConfig);\n\n const context: WindowContext<any> = {\n id: windowConfig.id,\n overlayRef,\n windowRef,\n data: windowConfig.data,\n };\n\n const containerContext: WindowContainerContext<any> = {\n template: windowConfig.template,\n component: windowConfig.component,\n };\n\n const injector = Injector.create({\n parent: windowConfig.injector ?? this.injector,\n providers: [\n {\n provide: RXAP_WINDOW_CONTAINER_CONTEXT,\n useValue: containerContext,\n },\n {\n provide: RXAP_WINDOW_CONTEXT,\n useValue: context,\n },\n {\n provide: RXAP_WINDOW_DATA,\n useValue: windowConfig.data,\n },\n {\n provide: RXAP_WINDOW_REF,\n useValue: windowRef,\n },\n {\n provide: LoadingIndicatorService,\n useClass: LoadingIndicatorService,\n },\n ],\n name: windowConfig?.injectorName ?? 'WindowService',\n });\n\n const containerPortal = new ComponentPortal(\n DefaultWindowComponent,\n injector.get(ViewContainerRef, null, InjectFlags.Optional) ??\n windowConfig.viewContainerRef ??\n null,\n injector,\n injector.get(ComponentFactoryResolver, null, InjectFlags.Optional) ??\n windowConfig.componentFactoryResolver ??\n this.componentFactoryResolver,\n );\n\n overlayRef.attach(containerPortal);\n\n overlayRef\n .backdropClick()\n .pipe(\n take(1),\n tap(() => windowRef.complete()),\n )\n .subscribe();\n\n windowRef.pipe(finalize(() => this.remove(windowConfig.id))).subscribe();\n\n this.add(windowRef);\n\n return windowRef;\n }\n\n public remove(id: string) {\n const result = this.active.delete(id);\n this.activeCount$.next(this.active.size);\n return result;\n }\n\n public add(windowRef: WindowRef<any>): void {\n this.active.set(windowRef.settings.id!, windowRef);\n this.activeCount$.next(this.active.size);\n }\n\n private createOverlay({\n panelClass,\n width,\n height,\n minHeight,\n minWidth,\n maxHeight,\n maxWidth,\n }: OverlayConfig) {\n const startPos = GetWindowStartPos();\n\n const positionStrategy = this.overlay\n .position()\n .global()\n .top(startPos.top)\n .left(startPos.left);\n\n const overlayConfig = new OverlayConfig({\n hasBackdrop: false,\n panelClass,\n scrollStrategy: this.overlay.scrollStrategies.block(),\n width,\n height,\n maxWidth: maxWidth ?? this.defaultWindowSettings?.maxWidth ?? '100vw',\n maxHeight: maxHeight ?? this.defaultWindowSettings?.maxHeight ?? '100vh',\n minWidth: minWidth ?? this.defaultWindowSettings?.minWidth ?? '384px',\n minHeight: minHeight ?? this.defaultWindowSettings?.minHeight ?? '192px',\n positionStrategy,\n });\n\n return this.overlay.create(overlayConfig);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\nimport { StopPropagationDirective } from '@rxap/directives';\nimport { MatButtonModule } from '@angular/material/button';\nimport { IconDirective } from '@rxap/material-directives/icon';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport {\n AsyncPipe,\n NgClass,\n NgIf,\n} from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\n@Component({\n selector: 'rxap-window-task',\n templateUrl: './window-task.component.html',\n styleUrls: [ './window-task.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n FlexModule,\n NgClass,\n ExtendedModule,\n NgIf,\n MatIconModule,\n IconDirective,\n MatButtonModule,\n StopPropagationDirective,\n AsyncPipe,\n ],\n})\nexport class WindowTaskComponent {\n\n @Input() @Required public window!: WindowRef<any>;\n\n public close() {\n this.window.complete();\n }\n\n public reopen() {\n this.window.reopen();\n }\n\n}\n","<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"5px\">\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()\" mat-icon-button rxapStopPropagation type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { NgFor } from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout/flex';\n\n@Component({\n selector: 'rxap-window-task-bar',\n templateUrl: './window-task-bar.component.html',\n styleUrls: [ './window-task-bar.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, NgFor, WindowTaskComponent ],\n})\nexport class WindowTaskBarComponent implements OnInit, OnDestroy {\n\n public subscriptions = new Subscription();\n\n constructor(\n @Inject(WindowService) public windowService: WindowService,\n @Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,\n ) {\n }\n\n public ngOnInit(): void {\n this.subscriptions.add(this.windowService.activeCount$.pipe(\n tap(() => this.cdr.markForCheck()),\n ).subscribe());\n }\n\n public ngOnDestroy(): void {\n this.subscriptions.unsubscribe();\n }\n\n}\n","<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","import {\n Component,\n Inject,\n InjectionToken,\n Optional,\n} from '@angular/core';\nimport { WindowService } from '../../window.service';\nimport { WindowTaskBarComponent } from '../window-task-bar.component';\nimport { ExtendedModule } from '@angular/flex-layout/extended';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout/flex';\nimport { NgIf } from '@angular/common';\n\nexport interface WindowTaskBarContainerSettings {\n expand?: boolean;\n}\n\nexport const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS = new InjectionToken('rxap/window-system/task-bar-container');\n\n@Component({\n selector: 'rxap-window-task-bar-container',\n templateUrl: './window-task-bar-container.component.html',\n styleUrls: [ './window-task-bar-container.component.scss' ],\n standalone: true,\n imports: [\n NgIf,\n FlexModule,\n MatButtonModule,\n MatBadgeModule,\n MatIconModule,\n MatToolbarModule,\n ExtendedModule,\n WindowTaskBarComponent,\n ],\n})\nexport class WindowTaskBarContainerComponent {\n\n public expand = true;\n\n constructor(\n @Inject(WindowService)\n public windowService: WindowService,\n @Optional()\n @Inject(RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS)\n settings: WindowTaskBarContainerSettings | null = null,\n ) {\n if (settings) {\n if (settings.expand !== undefined) {\n this.expand = settings.expand;\n }\n }\n }\n\n}\n","<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","import { NgModule } from '@angular/core';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\n\n@NgModule({\n imports: [\n WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent,\n ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ],\n})\nexport class WindowTaskBarModule {}\n","import {\n Directive,\n Inject,\n OnInit,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { WindowRef } from './window-ref';\nimport { RXAP_WINDOW_REF } from './tokens';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\nexport interface WindowFooterTemplateContext {\n $implicit: WindowRef;\n}\n\n@Directive({\n selector: '[rxapWindowFooter]',\n standalone: true,\n})\nexport class WindowFooterDirective implements OnInit {\n\n constructor(\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n @Inject(TemplateRef)\n private readonly template: TemplateRef<WindowFooterTemplateContext>,\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n ) {\n }\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir: WindowFooterDirective, ctx: any):\n ctx is WindowFooterTemplateContext {\n return true;\n }\n\n public ngOnInit() {\n this.windowRef.setFooterPortal(new TemplatePortal<WindowFooterTemplateContext>(\n this.template,\n this.viewContainerRef,\n {\n $implicit: this.windowRef,\n },\n ));\n }\n\n}\n\n\n","import {\n Directive,\n Inject,\n OnInit,\n TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\nimport { WindowRef } from './window-ref';\nimport { RXAP_WINDOW_REF } from './tokens';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\nexport interface WindowTitleTemplateContext {\n $implicit: WindowRef;\n}\n\n@Directive({\n selector: '[rxapWindowTitle]',\n standalone: true,\n})\nexport class WindowTitleDirective implements OnInit {\n\n constructor(\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef,\n @Inject(TemplateRef)\n private readonly template: TemplateRef<WindowTitleTemplateContext>,\n @Inject(ViewContainerRef)\n private readonly viewContainerRef: ViewContainerRef,\n ) {\n }\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any):\n ctx is WindowTitleTemplateContext {\n return true;\n }\n\n public ngOnInit() {\n this.windowRef.setTitlePortal(new TemplatePortal<WindowTitleTemplateContext>(\n this.template,\n this.viewContainerRef,\n {\n $implicit: this.windowRef,\n },\n ));\n }\n\n}\n\n\n","import {\n Component,\n Inject,\n Injector,\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/rxjs';\nimport { FlexModule } from '@angular/flex-layout/flex';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { NgIf } from '@angular/common';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ],\n standalone: true,\n imports: [ NgIf, MatToolbarModule, FlexModule ],\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position = 'start';\n\n constructor(@Inject(RXAP_WINDOW_CONTEXT) context: any, public injector: Injector) {\n if (context.windowRef.settings.actions) {\n this.definitions = context.windowRef.settings.actions.definitions;\n this.position = context.windowRef.settings.actions.position || this.position;\n }\n }\n\n}\n","<mat-toolbar-row *ngIf=\"definitions\" class=\"container\" fxLayout=\"row\" fxLayoutAlign=\"{{position}} center\"\n fxLayoutGap=\"8px\">\n <span>this feature is removed</span>\n</mat-toolbar-row>\n","import { NgModule } from '@angular/core';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { WindowToolBarComponent } from './window-tool-bar/window-tool-bar.component';\nimport { WindowResizerComponent } from './window-resizer/window-resizer.component';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { WindowContentComponent } from './window-content/window-content.component';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\n\n@NgModule({\n imports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule,\n ],\n})\nexport class RxapWindowSystemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0Ca,MAAA,qBAAqB,GAA2B;AAC3D,I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from '@angular/cdk/drag-drop';
3
+ import { CdkDragEnd } from '@angular/cdk/drag-drop';
4
4
  import { WindowResizerComponent } from '../window-resizer/window-resizer.component';
5
5
  import { WindowRef } from '../window-ref';
6
6
  import { LoadingIndicatorService } from '@rxap/services';
@@ -22,7 +22,6 @@ export declare class WindowContainerComponent<D> implements OnInit {
22
22
  get id(): string;
23
23
  ngOnInit(): void;
24
24
  onDragEnded($event: CdkDragEnd<any>): void;
25
- dragConstrainPosition(point: Point, dragRef: DragRef): Point;
26
25
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerComponent<any>, never>;
27
26
  static ɵcmp: i0.ɵɵComponentDeclaration<WindowContainerComponent<any>, "rxap-window-container", never, {}, {}, ["footerContent"], ["*"], true, never>;
28
27
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@rxap/window-system",
3
- "version": "16.0.0-dev.5",
3
+ "version": "16.0.0-dev.7",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^16.1.4",
6
6
  "@angular/common": "^16.1.4",
7
7
  "@angular/core": "^16.1.4",
8
8
  "@angular/flex-layout": "^15.0.0-beta.42",
9
9
  "@angular/material": "^16.1.4",
10
- "@rxap/directives": "^16.0.0-dev.4",
11
- "@rxap/material-directives": "^16.0.0-dev.5",
12
- "@rxap/rxjs": "^1.0.1-dev.0",
13
- "@rxap/services": "^16.0.0-dev.4",
14
- "@rxap/utilities": "^16.0.0-dev.2",
10
+ "@rxap/directives": "^16.0.0-dev.5",
11
+ "@rxap/material-directives": "^16.0.0-dev.7",
12
+ "@rxap/rxjs": "^1.0.1-dev.1",
13
+ "@rxap/services": "^16.0.0-dev.5",
14
+ "@rxap/utilities": "^16.0.0-dev.4",
15
15
  "rxjs": "^7.8.0",
16
16
  "workspace": "1.0.0"
17
17
  },
@@ -26,7 +26,9 @@
26
26
  "keywords": [
27
27
  "rxap",
28
28
  "angular",
29
- "ngx"
29
+ "ngx",
30
+ "packages",
31
+ "window-system"
30
32
  ],
31
33
  "homepage": "https:/gitlab.com/rxap/packages/packages/angular/window-system",
32
34
  "bugs": {
@@ -47,27 +49,27 @@
47
49
  "packageGroup": [
48
50
  {
49
51
  "package": "@rxap/directives",
50
- "version": "16.0.0-dev.4"
52
+ "version": "16.0.0-dev.5"
51
53
  },
52
54
  {
53
55
  "package": "@rxap/material-directives",
54
- "version": "16.0.0-dev.5"
56
+ "version": "16.0.0-dev.7"
55
57
  },
56
58
  {
57
59
  "package": "@rxap/rxjs",
58
- "version": "1.0.1-dev.0"
60
+ "version": "1.0.1-dev.1"
59
61
  },
60
62
  {
61
63
  "package": "@rxap/services",
62
- "version": "16.0.0-dev.4"
64
+ "version": "16.0.0-dev.5"
63
65
  },
64
66
  {
65
67
  "package": "@rxap/utilities",
66
- "version": "16.0.0-dev.2"
68
+ "version": "16.0.0-dev.4"
67
69
  }
68
70
  ]
69
71
  },
70
- "gitHead": "9ad96f2d4db9225ab199d03fc172efff52609d5d",
72
+ "gitHead": "7f6659b846dcf3884a3ac68ff2c8e1d6a3438a73",
71
73
  "module": "fesm2022/rxap-window-system.mjs",
72
74
  "typings": "index.d.ts",
73
75
  "exports": {
@@ -79,6 +81,7 @@
79
81
  "esm2022": "./esm2022/rxap-window-system.mjs",
80
82
  "esm": "./esm2022/rxap-window-system.mjs",
81
83
  "default": "./fesm2022/rxap-window-system.mjs"
82
- }
84
+ },
85
+ "./theme": "./theme.css"
83
86
  }
84
87
  }
package/theme.css ADDED
@@ -0,0 +1 @@
1
+ .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.contents{display:contents}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.capitalize{text-transform:capitalize}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}