@rxap/window-system 16.0.0-dev.2 → 16.0.0-dev.3

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +264 -0
  2. package/README.md +7 -22
  3. package/esm2022/index.mjs +1 -1
  4. package/esm2022/lib/default-window/default-window.component.mjs +6 -7
  5. package/esm2022/lib/tokens.mjs +1 -1
  6. package/esm2022/lib/utilities.mjs +5 -2
  7. package/esm2022/lib/window-config.mjs +2 -2
  8. package/esm2022/lib/window-container/window-container.component.mjs +16 -17
  9. package/esm2022/lib/window-content/window-content.component.mjs +12 -13
  10. package/esm2022/lib/window-context.mjs +1 -1
  11. package/esm2022/lib/window-footer.directive.mjs +12 -13
  12. package/esm2022/lib/window-ref.mjs +19 -16
  13. package/esm2022/lib/window-resizer/window-resizer.component.mjs +16 -11
  14. package/esm2022/lib/window-task-bar/window-task/window-task.component.mjs +18 -9
  15. package/esm2022/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.mjs +16 -8
  16. package/esm2022/lib/window-task-bar/window-task-bar.component.mjs +6 -7
  17. package/esm2022/lib/window-title.directive.mjs +13 -14
  18. package/esm2022/lib/window-tool-bar/window-tool-bar.component.mjs +17 -9
  19. package/esm2022/lib/window.service.mjs +19 -20
  20. package/esm2022/rxap-window-system.mjs +1 -1
  21. package/fesm2022/rxap-window-system.mjs +124 -85
  22. package/fesm2022/rxap-window-system.mjs.map +1 -1
  23. package/lib/tokens.d.ts +1 -1
  24. package/lib/window-config.d.ts +2 -2
  25. package/lib/window-container/window-container.component.d.ts +2 -2
  26. package/lib/window-content/window-content.component.d.ts +2 -2
  27. package/lib/window-context.d.ts +1 -1
  28. package/lib/window-footer.directive.d.ts +2 -2
  29. package/lib/window-ref.d.ts +8 -8
  30. package/lib/window-resizer/window-resizer.component.d.ts +1 -1
  31. package/lib/window-task-bar/window-task-bar.component.d.ts +1 -1
  32. package/lib/window-title.directive.d.ts +2 -2
  33. package/lib/window.service.d.ts +4 -4
  34. package/package.json +56 -53
  35. package/src/lib/window-container/_window-container.component.theme.scss +22 -0
  36. package/LICENSE +0 -24
  37. package/collection.json +0 -10
  38. package/migration.json +0 -4
  39. package/src/schematics/ng-add/index.d.ts +0 -2
  40. package/src/schematics/ng-add/index.js +0 -8
  41. package/src/schematics/ng-add/index.js.map +0 -1
  42. package/src/schematics/ng-add/schema.json +0 -7
@@ -8,10 +8,10 @@ import { Subject, BehaviorSubject, ReplaySubject, isObservable, TimeoutError, th
8
8
  import { startWith, take, tap, filter, delay, timeout, catchError, switchMap, takeUntil, map, finalize } from 'rxjs/operators';
9
9
  import * as i1 from '@rxap/services';
10
10
  import { LoadingIndicatorService } from '@rxap/services';
11
- import { isDefined } from '@rxap/utilities/rxjs';
11
+ import { isDefined } from '@rxap/rxjs';
12
12
  import { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';
13
13
  import { __decorate, __metadata } from 'tslib';
14
- import { Required } from '@rxap/utilities';
14
+ 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';
@@ -26,7 +26,6 @@ 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
- import { v4 } from 'uuid';
30
29
  import { StopPropagationDirective } from '@rxap/directives';
31
30
  import * as i3 from '@angular/material/badge';
32
31
  import { MatBadgeModule } from '@angular/material/badge';
@@ -39,7 +38,7 @@ const DEFAULT_WINDOW_CONFIG = {
39
38
  minWidth: '384px',
40
39
  minHeight: '192px',
41
40
  maxWidth: '100vw',
42
- maxHeight: '100vw'
41
+ maxHeight: '100vw',
43
42
  };
44
43
 
45
44
  function GetWindowStartPos() {
@@ -63,7 +62,10 @@ function GetWindowStartPos() {
63
62
  }
64
63
  }
65
64
  }
66
- return { top, left };
65
+ return {
66
+ top,
67
+ left,
68
+ };
67
69
  }
68
70
 
69
71
  const RXAP_WINDOW_CONTEXT = new InjectionToken('rxap/core/window/WINDOW_CONTEXT');
@@ -74,9 +76,6 @@ const RXAP_WINDOW_SETTINGS = new InjectionToken('rxap/window-system/window-setti
74
76
  const RXAP_WINDOW_DEFAULT_SETTINGS = new InjectionToken('rxap/window-system/default-window-settings');
75
77
 
76
78
  class WindowRef extends Subject {
77
- get isMinimized() {
78
- return this.overlayRef.hostElement.style.display === 'none';
79
- }
80
79
  constructor(overlayRef, overlay, settings) {
81
80
  super();
82
81
  this.overlayRef = overlayRef;
@@ -89,11 +88,6 @@ class WindowRef extends Subject {
89
88
  */
90
89
  this.closed$ = new Subject();
91
90
  this.attachedRef$ = new ReplaySubject(1);
92
- /**
93
- * stores the window size before fullScreen
94
- * @internal
95
- */
96
- this.oldSizes = null;
97
91
  /**
98
92
  * @internal
99
93
  */
@@ -103,6 +97,14 @@ class WindowRef extends Subject {
103
97
  */
104
98
  this.titlePortal$ = new ReplaySubject(1);
105
99
  this.settings$ = new ReplaySubject(1);
100
+ /**
101
+ * stores the window size before fullScreen
102
+ * @internal
103
+ */
104
+ this.oldSizes = null;
105
+ }
106
+ get isMinimized() {
107
+ return this.overlayRef.hostElement.style.display === 'none';
106
108
  }
107
109
  /**
108
110
  * @deprecated removed. use the complete method
@@ -135,20 +137,20 @@ class WindowRef extends Subject {
135
137
  minHeight: config.minHeight,
136
138
  minWidth: config.minWidth,
137
139
  maxHeight: config.maxHeight,
138
- maxWidth: config.maxWidth
140
+ maxWidth: config.maxWidth,
139
141
  };
140
142
  }
141
143
  setWidth(width) {
142
144
  this.overlayRef.updateSize({
143
145
  ...this.getSizeConfig(),
144
- width
146
+ width,
145
147
  });
146
148
  this.width$.next(width);
147
149
  }
148
150
  setHeight(height) {
149
151
  this.overlayRef.updateSize({
150
152
  ...this.getSizeConfig(),
151
- height
153
+ height,
152
154
  });
153
155
  this.height$.next(height);
154
156
  }
@@ -173,14 +175,17 @@ class WindowRef extends Subject {
173
175
  }
174
176
  getPos() {
175
177
  const pos = this.overlayRef.overlayElement.getBoundingClientRect();
176
- return { x: pos.left + 'px', y: pos.top + 'px' };
178
+ return {
179
+ x: pos.left + 'px',
180
+ y: pos.top + 'px',
181
+ };
177
182
  }
178
183
  fullScreen() {
179
184
  if (this.oldSizes === null) {
180
185
  this.oldSizes = {
181
186
  width: this.overlayRef.overlayElement.offsetWidth + 'px',
182
187
  height: this.overlayRef.overlayElement.offsetHeight + 'px',
183
- pos: this.getPos()
188
+ pos: this.getPos(),
184
189
  };
185
190
  this.setWidth('100vw');
186
191
  this.setHeight('100vh');
@@ -278,12 +283,12 @@ class WindowContentComponent {
278
283
  return throwError(error);
279
284
  })).subscribe();
280
285
  }
281
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowContentComponent, deps: [{ token: RXAP_WINDOW_CONTAINER_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: i1.LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
282
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: WindowContentComponent, isStandalone: true, selector: "rxap-window-content", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:1.5rem}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
286
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContentComponent, deps: [{ token: RXAP_WINDOW_CONTAINER_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: i1.LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
287
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowContentComponent, isStandalone: true, selector: "rxap-window-content", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:15px}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
283
288
  }
284
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowContentComponent, decorators: [{
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContentComponent, decorators: [{
285
290
  type: Component,
286
- args: [{ selector: 'rxap-window-content', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [PortalModule], template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:1.5rem}\n"] }]
291
+ args: [{ selector: 'rxap-window-content', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [PortalModule], template: "<div class=\"content\">\n <div class=\"inner\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </div>\n</div>\n", styles: [".content{cursor:initial}.content .inner{padding:15px}\n"] }]
287
292
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
288
293
  type: Inject,
289
294
  args: [RXAP_WINDOW_CONTAINER_CONTEXT]
@@ -297,8 +302,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
297
302
 
298
303
  class WindowResizerComponent {
299
304
  constructor(context) {
305
+ // eslint-disable-next-line @angular-eslint/no-output-rename
300
306
  this.width$ = new EventEmitter();
307
+ // eslint-disable-next-line @angular-eslint/no-output-rename
301
308
  this.height$ = new EventEmitter();
309
+ // eslint-disable-next-line @angular-eslint/no-output-rename
302
310
  this.resizing$ = new EventEmitter();
303
311
  this._subscription = new Subscription();
304
312
  this.windowRef = context.windowRef;
@@ -323,11 +331,14 @@ class WindowResizerComponent {
323
331
  .replace('px', ''));
324
332
  }), switchMap(() => fromEvent(window, 'mousemove').pipe(takeUntil(fromEvent(window, 'mouseup')), map((event) => ({
325
333
  width: originalWidth + (event.pageX - originalMouseX),
326
- height: originalHeight + (event.pageY - originalMouseY)
334
+ height: originalHeight + (event.pageY - originalMouseY),
327
335
  })), filter(size => (Number(this.windowRef.getSizeConfig().minHeight) || 0) <=
328
336
  size.height &&
329
337
  (Number(this.windowRef.getSizeConfig().minWidth) || 0) <=
330
- size.width), map(size => ({ width: size.width + 'px', height: size.height + 'px' })), tap(size => {
338
+ size.width), map(size => ({
339
+ width: size.width + 'px',
340
+ height: size.height + 'px',
341
+ })), tap(size => {
331
342
  this.width$.emit(size.width);
332
343
  this.height$.emit(size.height);
333
344
  }), tap(size => {
@@ -335,14 +346,14 @@ class WindowResizerComponent {
335
346
  this.windowRef.setWidth(size.width);
336
347
  }), finalize(() => this.resizing$.emit(false))))).subscribe());
337
348
  }
338
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowResizerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
339
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", 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 }); }
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 }); }
340
351
  }
341
352
  __decorate([
342
353
  Required,
343
354
  __metadata("design:type", ElementRef)
344
355
  ], WindowResizerComponent.prototype, "containerRef", void 0);
345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowResizerComponent, decorators: [{
356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowResizerComponent, decorators: [{
346
357
  type: Component,
347
358
  args: [{ selector: 'rxap-window-resizer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule, ExtendedModule, AsyncPipe], 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"] }]
348
359
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -368,26 +379,35 @@ class WindowToolBarComponent {
368
379
  constructor(context) {
369
380
  this.windowRef = context.windowRef;
370
381
  }
371
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
372
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: WindowToolBarComponent, isStandalone: true, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"], 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 }); }
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 }); }
373
384
  }
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowToolBarComponent, decorators: [{
385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowToolBarComponent, decorators: [{
375
386
  type: Component,
376
- args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [MatToolbarModule, FlexModule, NgIf, PortalModule, MatIconModule, IconDirective, MatButtonModule, AsyncPipe], template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"] }]
387
+ args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [
388
+ MatToolbarModule,
389
+ FlexModule,
390
+ NgIf,
391
+ PortalModule,
392
+ MatIconModule,
393
+ IconDirective,
394
+ MatButtonModule,
395
+ 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"] }]
377
397
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
378
398
  type: Inject,
379
399
  args: [RXAP_WINDOW_CONTEXT]
380
400
  }] }]; } });
381
401
 
382
402
  class WindowContainerComponent {
383
- get id() {
384
- return this.context.id;
385
- }
386
403
  constructor(context, windowRef, windowInstance) {
387
404
  this.context = context;
388
405
  this.windowRef = windowRef;
389
406
  this.windowInstance = windowInstance;
390
407
  }
408
+ get id() {
409
+ return this.context.id;
410
+ }
391
411
  ngOnInit() {
392
412
  this.width$ = merge(this.windowContainerResizer.width$, this.windowRef.width$);
393
413
  this.height$ = merge(this.windowContainerResizer.height$, this.windowRef.height$);
@@ -415,13 +435,13 @@ class WindowContainerComponent {
415
435
  }
416
436
  return point;
417
437
  }
418
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowContainerComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }, { token: RXAP_WINDOW_REF }, { token: LoadingIndicatorService }], target: i0.ɵɵFactoryTarget.Component }); }
419
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", 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 [cdkDragConstrainPosition]=\"dragConstrainPosition\"\n class=\"container mat-elevation-z4\"\n fxLayout=\"column\">\n\n <div cdkDragHandle class=\"tool-bar\" fxFlex=\"nogrow\">\n <rxap-window-tool-bar></rxap-window-tool-bar>\n </div>\n\n <div class=\"content\" fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n\n <mat-toolbar *ngIf=\"windowRef.footerPortal$ | async as footerPortal\" class=\"footer mat-elevation-z1\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"windowInstance.isLoading$ | async\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n", styles: [".container{cursor:move;position:relative;z-index:1;max-height:100vh;max-width:100vw;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 }); }
438
+ 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 }); }
420
440
  }
421
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowContainerComponent, decorators: [{
441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerComponent, decorators: [{
422
442
  type: Component,
423
443
  args: [{ selector: 'rxap-window-container', changeDetection: ChangeDetectionStrategy.Default, host: {
424
- class: 'rxap-window-container'
444
+ class: 'rxap-window-container',
425
445
  }, standalone: true, imports: [
426
446
  CdkDrag,
427
447
  FlexModule,
@@ -434,8 +454,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
434
454
  PortalModule,
435
455
  MatProgressBarModule,
436
456
  WindowResizerComponent,
437
- AsyncPipe
438
- ], template: "<div #container\n (cdkDragEnded)=\"onDragEnded($event)\"\n [cdkDragDisabled]=\"windowRef.settings.draggable === false\"\n [ngStyle]=\"{\n 'width': width$ | async,\n 'height': height$ | async,\n 'minWidth': windowRef.settings.minWidth,\n 'minHeight': windowRef.settings.minHeight,\n 'maxWidth': windowRef.settings.maxWidth,\n 'maxHeight': windowRef.settings.maxHeight\n }\"\n cdkDrag\n [cdkDragConstrainPosition]=\"dragConstrainPosition\"\n class=\"container mat-elevation-z4\"\n fxLayout=\"column\">\n\n <div cdkDragHandle class=\"tool-bar\" fxFlex=\"nogrow\">\n <rxap-window-tool-bar></rxap-window-tool-bar>\n </div>\n\n <div class=\"content\" fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n\n <mat-toolbar *ngIf=\"windowRef.footerPortal$ | async as footerPortal\" class=\"footer mat-elevation-z1\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </mat-toolbar>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"windowInstance.isLoading$ | async\"></mat-progress-bar>\n\n <rxap-window-resizer [containerRef]=\"containerRef\"></rxap-window-resizer>\n\n</div>\n", styles: [".container{cursor:move;position:relative;z-index:1;max-height:100vh;max-width:100vw;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"] }]
457
+ 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"] }]
439
459
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
440
460
  type: Inject,
441
461
  args: [RXAP_WINDOW_CONTEXT]
@@ -460,15 +480,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
460
480
  }] } });
461
481
 
462
482
  class DefaultWindowComponent {
463
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DefaultWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
464
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: DefaultWindowComponent, isStandalone: true, selector: "rxap-default-window", ngImport: i0, template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n", styles: [""], dependencies: [{ kind: "component", type: WindowContainerComponent, selector: "rxap-window-container" }, { kind: "component", type: WindowContentComponent, selector: "rxap-window-content" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
483
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DefaultWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
484
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: DefaultWindowComponent, isStandalone: true, selector: "rxap-default-window", ngImport: i0, template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n", styles: [""], dependencies: [{ kind: "component", type: WindowContainerComponent, selector: "rxap-window-container" }, { kind: "component", type: WindowContentComponent, selector: "rxap-window-content" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
465
485
  }
466
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DefaultWindowComponent, decorators: [{
486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DefaultWindowComponent, decorators: [{
467
487
  type: Component,
468
488
  args: [{ selector: 'rxap-default-window', changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [WindowContainerComponent, WindowContentComponent], template: "<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n" }]
469
489
  }] });
470
490
 
471
491
  class WindowService {
492
+ constructor(injector, overlay, componentFactoryResolver, defaultWindowSettings) {
493
+ this.injector = injector;
494
+ this.overlay = overlay;
495
+ this.componentFactoryResolver = componentFactoryResolver;
496
+ this.defaultWindowSettings = defaultWindowSettings;
497
+ this.activeCount$ = new Subject();
498
+ this.active = new Map();
499
+ }
472
500
  get hasActiveWindows() {
473
501
  return this.active.size !== 0;
474
502
  }
@@ -478,14 +506,6 @@ class WindowService {
478
506
  get allActiveWindows() {
479
507
  return Array.from(this.active.values());
480
508
  }
481
- constructor(injector, overlay, componentFactoryResolver, defaultWindowSettings) {
482
- this.injector = injector;
483
- this.overlay = overlay;
484
- this.componentFactoryResolver = componentFactoryResolver;
485
- this.defaultWindowSettings = defaultWindowSettings;
486
- this.activeCount$ = new Subject();
487
- this.active = new Map();
488
- }
489
509
  get(id) {
490
510
  if (!this.has(id)) {
491
511
  throw new Error(`Active Window with id '${id}' not found`);
@@ -503,7 +523,7 @@ class WindowService {
503
523
  open(config) {
504
524
  // Override default configuration
505
525
  const windowConfig = {
506
- id: v4(),
526
+ id: GenerateRandomString(),
507
527
  ...DEFAULT_WINDOW_CONFIG,
508
528
  ...(this.defaultWindowSettings ?? {}),
509
529
  ...config,
@@ -595,10 +615,10 @@ class WindowService {
595
615
  });
596
616
  return this.overlay.create(overlayConfig);
597
617
  }
598
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowService, deps: [{ token: Injector }, { token: Overlay }, { token: ComponentFactoryResolver }, { token: RXAP_WINDOW_DEFAULT_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
599
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowService, providedIn: 'root' }); }
618
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowService, deps: [{ token: Injector }, { token: Overlay }, { token: ComponentFactoryResolver }, { token: RXAP_WINDOW_DEFAULT_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
619
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowService, providedIn: 'root' }); }
600
620
  }
601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowService, decorators: [{
621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowService, decorators: [{
602
622
  type: Injectable,
603
623
  args: [{ providedIn: 'root' }]
604
624
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
@@ -624,16 +644,26 @@ class WindowTaskComponent {
624
644
  reopen() {
625
645
  this.window.reopen();
626
646
  }
627
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
628
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", 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\" fxLayoutAlign=\"start center\"\n fxLayoutGap=\".5rem\">\n <ng-template [ngIf]=\"window.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"grow\">{{settings.title}}</h3>\n </ng-template>\n <button (click)=\"close()\" rxapStopPropagation mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:.5rem;cursor:pointer}.container.minimized{opacity:.5}\n"], 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 }); }
647
+ 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 }); }
629
649
  }
630
650
  __decorate([
631
651
  Required,
632
652
  __metadata("design:type", WindowRef)
633
653
  ], WindowTaskComponent.prototype, "window", void 0);
634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskComponent, decorators: [{
654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskComponent, decorators: [{
635
655
  type: Component,
636
- args: [{ selector: 'rxap-window-task', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgClass, ExtendedModule, NgIf, MatIconModule, IconDirective, MatButtonModule, StopPropagationDirective, AsyncPipe], template: "<div (click)=\"reopen()\" [ngClass]=\"{ minimized: window.isMinimized }\" class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutAlign=\"start center\"\n fxLayoutGap=\".5rem\">\n <ng-template [ngIf]=\"window.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"grow\">{{settings.title}}</h3>\n </ng-template>\n <button (click)=\"close()\" rxapStopPropagation mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", styles: [".container{padding:.5rem;cursor:pointer}.container.minimized{opacity:.5}\n"] }]
656
+ args: [{ selector: 'rxap-window-task', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
657
+ FlexModule,
658
+ NgClass,
659
+ ExtendedModule,
660
+ NgIf,
661
+ MatIconModule,
662
+ IconDirective,
663
+ MatButtonModule,
664
+ StopPropagationDirective,
665
+ AsyncPipe,
666
+ ], 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"] }]
637
667
  }], propDecorators: { window: [{
638
668
  type: Input
639
669
  }] } });
@@ -650,10 +680,10 @@ class WindowTaskBarComponent {
650
680
  ngOnDestroy() {
651
681
  this.subscriptions.unsubscribe();
652
682
  }
653
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskBarComponent, deps: [{ token: WindowService }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
654
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: WindowTaskBarComponent, isStandalone: true, selector: "rxap-window-task-bar", ngImport: i0, template: "<div class=\"tasks\"\n fxFlex=\"nogrow\"\n fxLayout=\"row wrap\">\n <rxap-window-task *ngFor=\"let window of windowService.allActiveWindows\"\n [window]=\"window\"\n fxFlex=\"nogrow\">\n </rxap-window-task>\n</div>\n", styles: [""], 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.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: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: WindowTaskComponent, selector: "rxap-window-task", inputs: ["window"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
683
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskBarComponent, deps: [{ token: WindowService }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
684
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowTaskBarComponent, isStandalone: true, selector: "rxap-window-task-bar", ngImport: i0, template: "<div class=\"tasks\"\n fxFlex=\"nogrow\"\n fxLayout=\"row wrap\">\n <rxap-window-task *ngFor=\"let window of windowService.allActiveWindows\"\n [window]=\"window\"\n fxFlex=\"nogrow\">\n </rxap-window-task>\n</div>\n", styles: [""], 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.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: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: WindowTaskComponent, selector: "rxap-window-task", inputs: ["window"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
655
685
  }
656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskBarComponent, decorators: [{
686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskBarComponent, decorators: [{
657
687
  type: Component,
658
688
  args: [{ selector: 'rxap-window-task-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgFor, WindowTaskComponent], template: "<div class=\"tasks\"\n fxFlex=\"nogrow\"\n fxLayout=\"row wrap\">\n <rxap-window-task *ngFor=\"let window of windowService.allActiveWindows\"\n [window]=\"window\"\n fxFlex=\"nogrow\">\n </rxap-window-task>\n</div>\n" }]
659
689
  }], ctorParameters: function () { return [{ type: WindowService, decorators: [{
@@ -675,12 +705,21 @@ class WindowTaskBarContainerComponent {
675
705
  }
676
706
  }
677
707
  }
678
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskBarContainerComponent, deps: [{ token: WindowService }, { token: RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
679
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", 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:1.6rem}\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" }] }); }
708
+ 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" }] }); }
680
710
  }
681
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTaskBarContainerComponent, decorators: [{
711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTaskBarContainerComponent, decorators: [{
682
712
  type: Component,
683
- args: [{ selector: 'rxap-window-task-bar-container', standalone: true, imports: [NgIf, FlexModule, MatButtonModule, MatBadgeModule, MatIconModule, MatToolbarModule, ExtendedModule, WindowTaskBarComponent], template: "<div *ngIf=\"windowService.hasActiveWindows\" class=\"container\" fxLayout=\"column\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end end\">\n <button (click)=\"expand = !expand\"\n [matBadgeHidden]=\"!windowService.hasActiveWindows\"\n [matBadge]=\"windowService.activeWindowCount.toFixed(0)\"\n class=\"pin\"\n color=\"primary\"\n mat-icon-button\n matBadgePosition=\"above before\"\n type=\"button\">\n <mat-icon *ngIf=\"!expand\">keyboard_arrow_up</mat-icon>\n <mat-icon *ngIf=\"expand\">keyboard_arrow_down</mat-icon>\n </button>\n </div>\n <mat-toolbar [fxShow]=\"expand\" class=\"tasks\">\n <rxap-window-task-bar></rxap-window-task-bar>\n </mat-toolbar>\n</div>\n", styles: [".container .pin{border:none;border-radius:50% 50% 0 0;cursor:pointer}.container .tasks{height:auto;padding:1.6rem}\n"] }]
713
+ args: [{ selector: 'rxap-window-task-bar-container', standalone: true, imports: [
714
+ NgIf,
715
+ FlexModule,
716
+ MatButtonModule,
717
+ MatBadgeModule,
718
+ MatIconModule,
719
+ MatToolbarModule,
720
+ ExtendedModule,
721
+ WindowTaskBarComponent,
722
+ ], 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"] }]
684
723
  }], ctorParameters: function () { return [{ type: WindowService, decorators: [{
685
724
  type: Inject,
686
725
  args: [WindowService]
@@ -692,6 +731,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
692
731
  }] }]; } });
693
732
 
694
733
  class WindowFooterDirective {
734
+ constructor(windowRef, template, viewContainerRef) {
735
+ this.windowRef = windowRef;
736
+ this.template = template;
737
+ this.viewContainerRef = viewContainerRef;
738
+ }
695
739
  /**
696
740
  * Asserts the correct type of the context for the template that `NgForOf` will render.
697
741
  *
@@ -701,24 +745,19 @@ class WindowFooterDirective {
701
745
  static ngTemplateContextGuard(dir, ctx) {
702
746
  return true;
703
747
  }
704
- constructor(windowRef, template, viewContainerRef) {
705
- this.windowRef = windowRef;
706
- this.template = template;
707
- this.viewContainerRef = viewContainerRef;
708
- }
709
748
  ngOnInit() {
710
749
  this.windowRef.setFooterPortal(new TemplatePortal(this.template, this.viewContainerRef, {
711
750
  $implicit: this.windowRef,
712
751
  }));
713
752
  }
714
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowFooterDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
715
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: WindowFooterDirective, isStandalone: true, selector: "[rxapWindowFooter]", ngImport: i0 }); }
753
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowFooterDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
754
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: WindowFooterDirective, isStandalone: true, selector: "[rxapWindowFooter]", ngImport: i0 }); }
716
755
  }
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowFooterDirective, decorators: [{
756
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowFooterDirective, decorators: [{
718
757
  type: Directive,
719
758
  args: [{
720
759
  selector: '[rxapWindowFooter]',
721
- standalone: true
760
+ standalone: true,
722
761
  }]
723
762
  }], ctorParameters: function () { return [{ type: WindowRef, decorators: [{
724
763
  type: Inject,
@@ -732,6 +771,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
732
771
  }] }]; } });
733
772
 
734
773
  class WindowTitleDirective {
774
+ constructor(windowRef, template, viewContainerRef) {
775
+ this.windowRef = windowRef;
776
+ this.template = template;
777
+ this.viewContainerRef = viewContainerRef;
778
+ }
735
779
  /**
736
780
  * Asserts the correct type of the context for the template that `NgForOf` will render.
737
781
  *
@@ -741,24 +785,19 @@ class WindowTitleDirective {
741
785
  static ngTemplateContextGuard(dir, ctx) {
742
786
  return true;
743
787
  }
744
- constructor(windowRef, template, viewContainerRef) {
745
- this.windowRef = windowRef;
746
- this.template = template;
747
- this.viewContainerRef = viewContainerRef;
748
- }
749
788
  ngOnInit() {
750
789
  this.windowRef.setTitlePortal(new TemplatePortal(this.template, this.viewContainerRef, {
751
- $implicit: this.windowRef
790
+ $implicit: this.windowRef,
752
791
  }));
753
792
  }
754
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTitleDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
755
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: WindowTitleDirective, isStandalone: true, selector: "[rxapWindowTitle]", ngImport: i0 }); }
793
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTitleDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
794
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: WindowTitleDirective, isStandalone: true, selector: "[rxapWindowTitle]", ngImport: i0 }); }
756
795
  }
757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: WindowTitleDirective, decorators: [{
796
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowTitleDirective, decorators: [{
758
797
  type: Directive,
759
798
  args: [{
760
799
  selector: '[rxapWindowTitle]',
761
- standalone: true
800
+ standalone: true,
762
801
  }]
763
802
  }], ctorParameters: function () { return [{ type: WindowRef, decorators: [{
764
803
  type: Inject,