@rxap/window-system 12.0.10 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/rxap-window-system.umd.js +1 -1
- package/bundles/rxap-window-system.umd.js.map +1 -1
- package/esm2015/lib/window-config.js.map +1 -1
- package/esm2015/lib/window-tool-bar/window-tool-bar.component.js +1 -1
- package/esm2015/lib/window-tool-bar/window-tool-bar.component.js.map +1 -1
- package/fesm2015/rxap-window-system.js +1 -1
- package/fesm2015/rxap-window-system.js.map +1 -1
- package/lib/window-config.d.ts +1 -0
- package/package.json +7 -6
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
return WindowToolBarComponent;
|
|
446
446
|
}());
|
|
447
447
|
WindowToolBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
448
|
-
WindowToolBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0__namespace, 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()\" 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}"], components: [{ type: i3__namespace.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i1__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4__namespace.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7__namespace.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i8__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.Default });
|
|
448
|
+
WindowToolBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0__namespace, 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}"], components: [{ type: i3__namespace.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i1__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4__namespace.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7__namespace.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i8__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.Default });
|
|
449
449
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: WindowToolBarComponent, decorators: [{
|
|
450
450
|
type: i0.Component,
|
|
451
451
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-window-system.umd.js","sources":["../../../../libs/window-system/src/lib/tokens.ts","../../../../node_modules/tslib/tslib.es6.js","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../libs/window-system/src/lib/utilities.ts","../../../../libs/window-system/src/lib/window-ref.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.html","../../../../libs/window-system/src/lib/window-content/window-content.component.ts","../../../../libs/window-system/src/lib/window-content/window-content.component.html","../../../../libs/window-system/src/lib/default-window/default-window.component.ts","../../../../libs/window-system/src/lib/default-window/default-window.component.html","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../libs/window-system/src/lib/window-config.ts","../../../../libs/window-system/src/lib/window.service.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../libs/window-system/src/lib/window-system.module.ts","../../../../libs/window-system/src/lib/window-footer.directive.ts","../../../../libs/window-system/src/lib/window-title.directive.ts","../../../../libs/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport type {\n WindowContext,\n WindowContainerContext\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>>('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>('rxap/window-system/default-window-settings');\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Component,\n OnInit,\n Input,\n ElementRef,\n OnDestroy,\n ViewChild,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport {\n tap,\n switchMap,\n takeUntil,\n map,\n filter,\n finalize\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\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})\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 @Output('width') public width$ = new EventEmitter<string>();\n @Output('height') public height$ = new EventEmitter<string>();\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 => ({ width: size.width + 'px', height: size.height + 'px' })),\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 Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\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})\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=\"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()\" 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","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 { top, left };\n}\n","import {\n OverlayRef,\n OverlaySizeConfig,\n Overlay\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n Subject,\n ReplaySubject\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 public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\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 /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n\n public settings$ = new ReplaySubject<WindowSettings>(1);\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>\n ) {\n super();\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 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 { x: pos.left + 'px', y: pos.top + 'px' };\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 Component,\n OnInit,\n Inject,\n ViewChild,\n ElementRef,\n ChangeDetectionStrategy,\n ContentChild,\n HostBinding\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport {\n Observable,\n merge\n} from 'rxjs';\nimport {\n CdkDragEnd,\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';\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 host: {\n class: 'rxap-window-container'\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\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\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 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 [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","import {\n Component,\n Inject,\n ChangeDetectionStrategy,\n Injector,\n ViewContainerRef,\n ViewChild,\n AfterViewInit,\n ComponentRef,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n ComponentPortal,\n Portal,\n TemplatePortal,\n CdkPortalOutlet\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n startWith,\n take,\n tap,\n timeout,\n catchError,\n filter,\n delay\n} from 'rxjs/operators';\nimport {\n TimeoutError,\n throwError,\n isObservable\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/utilities/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})\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 Component,\n ChangeDetectionStrategy\n} from '@angular/core';\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})\nexport class DefaultWindowComponent {}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n Component,\n Inject,\n Injector\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ]\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position: string = '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\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n","import { ComponentType } from '@angular/cdk/portal';\nimport {\n Injector,\n ComponentFactoryResolver,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/utilities/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 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","import {\n Injectable,\n Injector,\n ComponentFactoryResolver,\n Inject,\n ViewContainerRef,\n InjectFlags,\n Optional,\n} from '@angular/core';\nimport {\n WindowConfig,\n DEFAULT_WINDOW_CONFIG,\n WindowSettings,\n} from './window-config';\nimport { OverlayConfig, Overlay } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_DATA,\n} from './tokens';\nimport { WindowContext, WindowContainerContext } from './window-context';\nimport { tap, take, finalize } from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { v4 as uuid } from 'uuid';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\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 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 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: uuid(),\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 Component,\n Input,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\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})\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\" 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","import {\n Component,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n Inject\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\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})\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 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';\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})\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 { CommonModule } from '@angular/common';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n declarations: [ WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatIconModule,\n MatToolbarModule,\n MatBadgeModule,\n MatButtonModule,\n StopPropagationDirectiveModule,\n IconDirectiveModule\n ],\n entryComponents: [ WindowTaskBarComponent ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ]\n})\nexport class WindowTaskBarModule {}\n","import { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\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 { OverlayModule } from '@angular/cdk/overlay';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\nimport { ButtonComponentModule } from '@rxap/components';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n imports: [\n MatToolbarModule,\n FlexLayoutModule,\n CommonModule,\n DragDropModule,\n MatIconModule,\n MatButtonModule,\n OverlayModule,\n ButtonComponentModule,\n PortalModule,\n MatProgressBarModule,\n IconDirectiveModule\n ],\n declarations: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n entryComponents: [\n DefaultWindowComponent\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule\n ]\n})\nexport class RxapWindowSystemModule { }\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowFooterDirective implements OnInit {\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 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 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@NgModule({\n declarations: [WindowFooterDirective],\n exports: [WindowFooterDirective]\n})\nexport class WindowFooterDirectiveModule {}\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowTitleDirective implements OnInit {\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 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 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@NgModule({\n declarations: [ WindowTitleDirective ],\n exports: [ WindowTitleDirective ]\n})\nexport class WindowTitleDirectiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["InjectionToken","EventEmitter","Subscription","fromEvent","tap","switchMap","takeUntil","map","filter","finalize","Required","ElementRef","Component","ChangeDetectionStrategy","Inject","Input","ViewChild","Output","BehaviorSubject","Subject","ReplaySubject","ComponentRef","InjectFlags","merge","LoadingIndicatorService","ContentChild","HostBinding","TemplatePortal","ComponentPortal","startWith","isDefined","take","isObservable","isDevMode","delay","timeout","catchError","TimeoutError","throwError","CdkPortalOutlet","uuid","Injector","ViewContainerRef","ComponentFactoryResolver","OverlayConfig","Overlay","Injectable","Optional","ChangeDetectorRef","CommonModule","FlexLayoutModule","MatIconModule","MatToolbarModule","MatBadgeModule","MatButtonModule","StopPropagationDirectiveModule","Icon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IAAI,CAAC,SAAS;aAC1B,CACF,CAAC,CAAC;SACJ;;;2IA9BU,oBAAoB,kBAcrB,eAAe,aAEfoC,cAAW,aAEXrB,mBAAgB;oHAlBf,oBAAoB;qHAApB,oBAAoB;sBAHhCsB,YAAS;uBAAC;wBACT,QAAQ,EAAE,mBAAmB;qBAC9B;;;kCAeIlD,SAAM;mCAAC,eAAe;;kCAEtBA,SAAM;mCAACiD,cAAW;;kCAElBjD,SAAM;mCAAC4B,mBAAgB;;;;QAoB5B;;;;iJAAa,0BAA0B;kJAA1B,0BAA0B,iBAtC1B,oBAAoB,aAApB,oBAAoB;kJAsCpB,0BAA0B;qHAA1B,0BAA0B;sBAJtCe,WAAQ;uBAAC;wBACR,YAAY,EAAE,CAAE,oBAAoB,CAAE;wBACtC,OAAO,EAAO,CAAE,oBAAoB,CAAE;qBACvC;;;ICxDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"rxap-window-system.umd.js","sources":["../../../../libs/window-system/src/lib/tokens.ts","../../../../node_modules/tslib/tslib.es6.js","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../libs/window-system/src/lib/utilities.ts","../../../../libs/window-system/src/lib/window-ref.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.html","../../../../libs/window-system/src/lib/window-content/window-content.component.ts","../../../../libs/window-system/src/lib/window-content/window-content.component.html","../../../../libs/window-system/src/lib/default-window/default-window.component.ts","../../../../libs/window-system/src/lib/default-window/default-window.component.html","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../libs/window-system/src/lib/window-config.ts","../../../../libs/window-system/src/lib/window.service.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../libs/window-system/src/lib/window-system.module.ts","../../../../libs/window-system/src/lib/window-footer.directive.ts","../../../../libs/window-system/src/lib/window-title.directive.ts","../../../../libs/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport type {\n WindowContext,\n WindowContainerContext\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>>('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>('rxap/window-system/default-window-settings');\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Component,\n OnInit,\n Input,\n ElementRef,\n OnDestroy,\n ViewChild,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport {\n tap,\n switchMap,\n takeUntil,\n map,\n filter,\n finalize\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\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})\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 @Output('width') public width$ = new EventEmitter<string>();\n @Output('height') public height$ = new EventEmitter<string>();\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 => ({ width: size.width + 'px', height: size.height + 'px' })),\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 Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\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})\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=\"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","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 { top, left };\n}\n","import {\n OverlayRef,\n OverlaySizeConfig,\n Overlay\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n Subject,\n ReplaySubject\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 public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\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 /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n\n public settings$ = new ReplaySubject<WindowSettings>(1);\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>\n ) {\n super();\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 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 { x: pos.left + 'px', y: pos.top + 'px' };\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 Component,\n OnInit,\n Inject,\n ViewChild,\n ElementRef,\n ChangeDetectionStrategy,\n ContentChild,\n HostBinding\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport {\n Observable,\n merge\n} from 'rxjs';\nimport {\n CdkDragEnd,\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';\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 host: {\n class: 'rxap-window-container'\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\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\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 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 [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","import {\n Component,\n Inject,\n ChangeDetectionStrategy,\n Injector,\n ViewContainerRef,\n ViewChild,\n AfterViewInit,\n ComponentRef,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n ComponentPortal,\n Portal,\n TemplatePortal,\n CdkPortalOutlet\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n startWith,\n take,\n tap,\n timeout,\n catchError,\n filter,\n delay\n} from 'rxjs/operators';\nimport {\n TimeoutError,\n throwError,\n isObservable\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/utilities/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})\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 Component,\n ChangeDetectionStrategy\n} from '@angular/core';\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})\nexport class DefaultWindowComponent {}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n Component,\n Inject,\n Injector\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ]\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position: string = '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\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n","import { ComponentType } from '@angular/cdk/portal';\nimport {\n Injector,\n ComponentFactoryResolver,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/utilities/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","import {\n Injectable,\n Injector,\n ComponentFactoryResolver,\n Inject,\n ViewContainerRef,\n InjectFlags,\n Optional,\n} from '@angular/core';\nimport {\n WindowConfig,\n DEFAULT_WINDOW_CONFIG,\n WindowSettings,\n} from './window-config';\nimport { OverlayConfig, Overlay } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_DATA,\n} from './tokens';\nimport { WindowContext, WindowContainerContext } from './window-context';\nimport { tap, take, finalize } from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { v4 as uuid } from 'uuid';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\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 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 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: uuid(),\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 Component,\n Input,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\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})\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\" 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","import {\n Component,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n Inject\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\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})\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 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';\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})\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 { CommonModule } from '@angular/common';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n declarations: [ WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatIconModule,\n MatToolbarModule,\n MatBadgeModule,\n MatButtonModule,\n StopPropagationDirectiveModule,\n IconDirectiveModule\n ],\n entryComponents: [ WindowTaskBarComponent ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ]\n})\nexport class WindowTaskBarModule {}\n","import { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\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 { OverlayModule } from '@angular/cdk/overlay';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\nimport { ButtonComponentModule } from '@rxap/components';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n imports: [\n MatToolbarModule,\n FlexLayoutModule,\n CommonModule,\n DragDropModule,\n MatIconModule,\n MatButtonModule,\n OverlayModule,\n ButtonComponentModule,\n PortalModule,\n MatProgressBarModule,\n IconDirectiveModule\n ],\n declarations: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n entryComponents: [\n DefaultWindowComponent\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule\n ]\n})\nexport class RxapWindowSystemModule { }\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowFooterDirective implements OnInit {\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 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 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@NgModule({\n declarations: [WindowFooterDirective],\n exports: [WindowFooterDirective]\n})\nexport class WindowFooterDirectiveModule {}\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowTitleDirective implements OnInit {\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 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 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@NgModule({\n declarations: [ WindowTitleDirective ],\n exports: [ WindowTitleDirective ]\n})\nexport class WindowTitleDirectiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["InjectionToken","EventEmitter","Subscription","fromEvent","tap","switchMap","takeUntil","map","filter","finalize","Required","ElementRef","Component","ChangeDetectionStrategy","Inject","Input","ViewChild","Output","BehaviorSubject","Subject","ReplaySubject","ComponentRef","InjectFlags","merge","LoadingIndicatorService","ContentChild","HostBinding","TemplatePortal","ComponentPortal","startWith","isDefined","take","isObservable","isDevMode","delay","timeout","catchError","TimeoutError","throwError","CdkPortalOutlet","uuid","Injector","ViewContainerRef","ComponentFactoryResolver","OverlayConfig","Overlay","Injectable","Optional","ChangeDetectorRef","CommonModule","FlexLayoutModule","MatIconModule","MatToolbarModule","MatBadgeModule","MatButtonModule","StopPropagationDirectiveModule","IconDirectiveModule","NgModule","DragDropModule","OverlayModule","ButtonComponentModule","PortalModule","MatProgressBarModule","TemplateRef","Directive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQa,mBAAmB,GAAa,IAAIA,iBAAc,CAAqB,iCAAiC,EAAE;QAC1G,gBAAgB,GAAgB,IAAIA,iBAAc,CAAM,8BAA8B,EAAE;QACxF,6BAA6B,GAAG,IAAIA,iBAAc,CAA8B,2CAA2C,EAAE;QAC7H,eAAe,GAAiB,IAAIA,iBAAc,CAAY,+BAA+B,EAAE;QAC/F,oBAAoB,GAAY,IAAIA,iBAAc,CAAiB,oCAAoC,EAAE;QACzG,4BAA4B,GAAI,IAAIA,iBAAc,CAAiB,4CAA4C;;ICb5H;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;aAEc,SAAS,CAAC,CAAC,EAAE,CAAC;QAC1B,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,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,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI9B,iBAAc,CAC9C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,gBAAgB,EACrB;gBACE,SAAS,EAAE,IAAI,CAAC,SAAS;aAC1B,CACF,CAAC,CAAC;SACJ;;;2IA9BU,oBAAoB,kBAcrB,eAAe,aAEfoC,cAAW,aAEXrB,mBAAgB;oHAlBf,oBAAoB;qHAApB,oBAAoB;sBAHhCsB,YAAS;uBAAC;wBACT,QAAQ,EAAE,mBAAmB;qBAC9B;;;kCAeIlD,SAAM;mCAAC,eAAe;;kCAEtBA,SAAM;mCAACiD,cAAW;;kCAElBjD,SAAM;mCAAC4B,mBAAgB;;;;QAoB5B;;;;iJAAa,0BAA0B;kJAA1B,0BAA0B,iBAtC1B,oBAAoB,aAApB,oBAAoB;kJAsCpB,0BAA0B;qHAA1B,0BAA0B;sBAJtCe,WAAQ;uBAAC;wBACR,YAAY,EAAE,CAAE,oBAAoB,CAAE;wBACtC,OAAO,EAAO,CAAE,oBAAoB,CAAE;qBACvC;;;ICxDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window-config.js","sourceRoot":"","sources":["../../../../../libs/window-system/src/lib/window-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"window-config.js","sourceRoot":"","sources":["../../../../../libs/window-system/src/lib/window-config.ts"],"names":[],"mappings":"AA0CA,MAAM,CAAC,MAAM,qBAAqB,GAA2B;IAC3D,UAAU,EAAgB,IAAI;IAC9B,SAAS,EAAiB,IAAI;IAC9B,QAAQ,EAAkB,IAAI;IAC9B,wBAAwB,EAAE,IAAI;IAC9B,QAAQ,EAAkB,OAAO;IACjC,SAAS,EAAiB,OAAO;IACjC,QAAQ,EAAkB,OAAO;IACjC,SAAS,EAAiB,OAAO;CAClC,CAAC","sourcesContent":["import { ComponentType } from '@angular/cdk/portal';\nimport {\n Injector,\n ComponentFactoryResolver,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/utilities/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"]}
|
|
@@ -14,7 +14,7 @@ export class WindowToolBarComponent {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" 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}"], components: [{ type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i5.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
17
|
+
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}"], components: [{ type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i5.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
18
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: WindowToolBarComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window-tool-bar.component.js","sourceRoot":"","sources":["../../../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;;;;;;;;;AAQhD,MAAM,OAAO,sBAAsB;IAIjC,YAAyC,OAAY;QACnD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IACrC,CAAC;;mHANU,sBAAsB,kBAIb,mBAAmB;uGAJ5B,sBAAsB,4DCdnC,
|
|
1
|
+
{"version":3,"file":"window-tool-bar.component.js","sourceRoot":"","sources":["../../../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;;;;;;;;;AAQhD,MAAM,OAAO,sBAAsB;IAIjC,YAAyC,OAAY;QACnD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IACrC,CAAC;;mHANU,sBAAsB,kBAIb,mBAAmB;uGAJ5B,sBAAsB,4DCdnC,m0CAwBA;2FDVa,sBAAsB;kBANlC,SAAS;mBAAC;oBACT,QAAQ,EAAS,sBAAsB;oBACvC,WAAW,EAAM,kCAAkC;oBACnD,SAAS,EAAQ,CAAE,kCAAkC,CAAE;oBACvD,eAAe,EAAE,uBAAuB,CAAC,OAAO;iBACjD;;0BAKc,MAAM;2BAAC,mBAAmB","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\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})\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=\"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"]}
|
|
@@ -300,7 +300,7 @@ class WindowToolBarComponent {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
-
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" 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}"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
303
|
+
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
304
304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: WindowToolBarComponent, decorators: [{
|
|
305
305
|
type: Component,
|
|
306
306
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-window-system.js","sources":["../../../../libs/window-system/src/lib/tokens.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../libs/window-system/src/lib/utilities.ts","../../../../libs/window-system/src/lib/window-ref.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../libs/window-system/src/lib/window-container/window-container.component.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.html","../../../../libs/window-system/src/lib/window-content/window-content.component.ts","../../../../libs/window-system/src/lib/window-content/window-content.component.html","../../../../libs/window-system/src/lib/default-window/default-window.component.ts","../../../../libs/window-system/src/lib/default-window/default-window.component.html","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../libs/window-system/src/lib/window-config.ts","../../../../libs/window-system/src/lib/window.service.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../libs/window-system/src/lib/window-system.module.ts","../../../../libs/window-system/src/lib/window-footer.directive.ts","../../../../libs/window-system/src/lib/window-title.directive.ts","../../../../libs/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport type {\n WindowContext,\n WindowContainerContext\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>>('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>('rxap/window-system/default-window-settings');\n","import {\n Component,\n OnInit,\n Input,\n ElementRef,\n OnDestroy,\n ViewChild,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport {\n tap,\n switchMap,\n takeUntil,\n map,\n filter,\n finalize\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\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})\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 @Output('width') public width$ = new EventEmitter<string>();\n @Output('height') public height$ = new EventEmitter<string>();\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 => ({ width: size.width + 'px', height: size.height + 'px' })),\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","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 { top, left };\n}\n","import {\n OverlayRef,\n OverlaySizeConfig,\n Overlay\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n Subject,\n ReplaySubject\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 public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\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 /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n\n public settings$ = new ReplaySubject<WindowSettings>(1);\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>\n ) {\n super();\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 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 { x: pos.left + 'px', y: pos.top + 'px' };\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 Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\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})\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=\"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()\" 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","import {\n Component,\n OnInit,\n Inject,\n ViewChild,\n ElementRef,\n ChangeDetectionStrategy,\n ContentChild,\n HostBinding\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport {\n Observable,\n merge\n} from 'rxjs';\nimport {\n CdkDragEnd,\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';\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 host: {\n class: 'rxap-window-container'\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\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\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 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 [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","import {\n Component,\n Inject,\n ChangeDetectionStrategy,\n Injector,\n ViewContainerRef,\n ViewChild,\n AfterViewInit,\n ComponentRef,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n ComponentPortal,\n Portal,\n TemplatePortal,\n CdkPortalOutlet\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n startWith,\n take,\n tap,\n timeout,\n catchError,\n filter,\n delay\n} from 'rxjs/operators';\nimport {\n TimeoutError,\n throwError,\n isObservable\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/utilities/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})\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 Component,\n ChangeDetectionStrategy\n} from '@angular/core';\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})\nexport class DefaultWindowComponent {}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n Component,\n Inject,\n Injector\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ]\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position: string = '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\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n","import { ComponentType } from '@angular/cdk/portal';\nimport {\n Injector,\n ComponentFactoryResolver,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/utilities/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 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","import {\n Injectable,\n Injector,\n ComponentFactoryResolver,\n Inject,\n ViewContainerRef,\n InjectFlags,\n Optional,\n} from '@angular/core';\nimport {\n WindowConfig,\n DEFAULT_WINDOW_CONFIG,\n WindowSettings,\n} from './window-config';\nimport { OverlayConfig, Overlay } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_DATA,\n} from './tokens';\nimport { WindowContext, WindowContainerContext } from './window-context';\nimport { tap, take, finalize } from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { v4 as uuid } from 'uuid';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\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 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 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: uuid(),\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 Component,\n Input,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\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})\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\" 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","import {\n Component,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n Inject\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\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})\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 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';\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})\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 { CommonModule } from '@angular/common';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n declarations: [ WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatIconModule,\n MatToolbarModule,\n MatBadgeModule,\n MatButtonModule,\n StopPropagationDirectiveModule,\n IconDirectiveModule\n ],\n entryComponents: [ WindowTaskBarComponent ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ]\n})\nexport class WindowTaskBarModule {}\n","import { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\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 { OverlayModule } from '@angular/cdk/overlay';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\nimport { ButtonComponentModule } from '@rxap/components';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n imports: [\n MatToolbarModule,\n FlexLayoutModule,\n CommonModule,\n DragDropModule,\n MatIconModule,\n MatButtonModule,\n OverlayModule,\n ButtonComponentModule,\n PortalModule,\n MatProgressBarModule,\n IconDirectiveModule\n ],\n declarations: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n entryComponents: [\n DefaultWindowComponent\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule\n ]\n})\nexport class RxapWindowSystemModule { }\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowFooterDirective implements OnInit {\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 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 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@NgModule({\n declarations: [WindowFooterDirective],\n exports: [WindowFooterDirective]\n})\nexport class WindowFooterDirectiveModule {}\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowTitleDirective implements OnInit {\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 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 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@NgModule({\n declarations: [ WindowTitleDirective ],\n exports: [ WindowTitleDirective ]\n})\nexport class WindowTitleDirectiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mBAAmB,GAAa,IAAI,cAAc,CAAqB,iCAAiC,EAAE;MAC1G,gBAAgB,GAAgB,IAAI,cAAc,CAAM,8BAA8B,EAAE;MACxF,6BAA6B,GAAG,IAAI,cAAc,CAA8B,2CAA2C,EAAE;MAC7H,eAAe,GAAiB,IAAI,cAAc,CAAY,+BAA+B,EAAE;MAC/F,oBAAoB,GAAY,IAAI,cAAc,CAAiB,oCAAoC,EAAE;MACzG,4BAA4B,GAAI,IAAI,cAAc,CAAiB,4CAA4C;;MCqB/G,sBAAsB;IAcjC,YAC+B,OAAY;QAPnB,WAAM,GAAS,IAAI,YAAY,EAAU,CAAC;QACzC,YAAO,GAAO,IAAI,YAAY,EAAU,CAAC;QACvC,cAAS,GAAG,IAAI,YAAY,EAAW,CAAC;QAE3D,kBAAa,GAAG,IAAI,YAAY,EAAE,CAAC;QAKzC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;KACpC;IAED,WAAW;QACT,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;KAClC;IAED,QAAQ;QAEN,IAAI,cAAc,GAAG,CAAC,CAAC;QACvB,IAAI,cAAc,GAAG,CAAC,CAAC;QACvB,IAAI,aAAa,GAAI,CAAC,CAAC;QACvB,IAAI,cAAc,GAAG,CAAC,CAAC;QAEvB,IAAI,CAAC,aAAa,CAAC,GAAG,CACpB,SAAS,CAAa,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,IAAI,CACpE,GAAG,CAAC,KAAK;YACP,IAAI,CAAC,SAAS,CA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AAO,sBAAsB,CAAC,GAAyB,EAAE,GAAQ;QAE/D,OAAO,IAAI,CAAC;KACb;IAWM,QAAQ;QACb,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,cAAc,CAC9C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,gBAAgB,EACrB;YACE,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CACF,CAAC,CAAC;KACJ;;iHA9BU,oBAAoB,kBAcrB,eAAe,aAEf,WAAW,aAEX,gBAAgB;qGAlBf,oBAAoB;2FAApB,oBAAoB;kBAHhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;iBAC9B;;0BAeI,MAAM;2BAAC,eAAe;;0BAEtB,MAAM;2BAAC,WAAW;;0BAElB,MAAM;2BAAC,gBAAgB;;MAoBf,0BAA0B;;uHAA1B,0BAA0B;wHAA1B,0BAA0B,iBAtC1B,oBAAoB,aAApB,oBAAoB;wHAsCpB,0BAA0B;2FAA1B,0BAA0B;kBAJtC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,oBAAoB,CAAE;oBACtC,OAAO,EAAO,CAAE,oBAAoB,CAAE;iBACvC;;;ACxDD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"rxap-window-system.js","sources":["../../../../libs/window-system/src/lib/tokens.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.ts","../../../../libs/window-system/src/lib/window-resizer/window-resizer.component.html","../../../../libs/window-system/src/lib/utilities.ts","../../../../libs/window-system/src/lib/window-ref.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.ts","../../../../libs/window-system/src/lib/window-tool-bar/window-tool-bar.component.html","../../../../libs/window-system/src/lib/window-container/window-container.component.ts","../../../../libs/window-system/src/lib/window-container/window-container.component.html","../../../../libs/window-system/src/lib/window-content/window-content.component.ts","../../../../libs/window-system/src/lib/window-content/window-content.component.html","../../../../libs/window-system/src/lib/default-window/default-window.component.ts","../../../../libs/window-system/src/lib/default-window/default-window.component.html","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.ts","../../../../libs/window-system/src/lib/window-action-bar/window-action-bar.component.html","../../../../libs/window-system/src/lib/window-config.ts","../../../../libs/window-system/src/lib/window.service.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task/window-task.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.ts","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.html","../../../../libs/window-system/src/lib/window-task-bar/window-task-bar.module.ts","../../../../libs/window-system/src/lib/window-system.module.ts","../../../../libs/window-system/src/lib/window-footer.directive.ts","../../../../libs/window-system/src/lib/window-title.directive.ts","../../../../libs/window-system/src/rxap-window-system.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport type {\n WindowContext,\n WindowContainerContext\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>>('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>('rxap/window-system/default-window-settings');\n","import {\n Component,\n OnInit,\n Input,\n ElementRef,\n OnDestroy,\n ViewChild,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport {\n tap,\n switchMap,\n takeUntil,\n map,\n filter,\n finalize\n} from 'rxjs/operators';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { WindowRef } from '../window-ref';\nimport { Required } from '@rxap/utilities';\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})\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 @Output('width') public width$ = new EventEmitter<string>();\n @Output('height') public height$ = new EventEmitter<string>();\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 => ({ width: size.width + 'px', height: size.height + 'px' })),\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","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 { top, left };\n}\n","import {\n OverlayRef,\n OverlaySizeConfig,\n Overlay\n} from '@angular/cdk/overlay';\nimport { WindowSettings } from './window-config';\nimport {\n BehaviorSubject,\n Subject,\n ReplaySubject\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 public get isMinimized(): boolean {\n return this.overlayRef.hostElement.style.display === 'none';\n }\n\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 /**\n * @internal\n */\n public footerPortal$ = new ReplaySubject<Portal<any>>(1);\n\n /**\n * @internal\n */\n public titlePortal$ = new ReplaySubject<Portal<any>>(1);\n\n public settings$ = new ReplaySubject<WindowSettings>(1);\n\n constructor(\n public readonly overlayRef: OverlayRef,\n private readonly overlay: Overlay,\n public settings: WindowSettings<D>\n ) {\n super();\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 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 { x: pos.left + 'px', y: pos.top + 'px' };\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 Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { WindowRef } from '../window-ref';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\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})\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=\"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","import {\n Component,\n OnInit,\n Inject,\n ViewChild,\n ElementRef,\n ChangeDetectionStrategy,\n ContentChild,\n HostBinding\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport {\n Observable,\n merge\n} from 'rxjs';\nimport {\n CdkDragEnd,\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';\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 host: {\n class: 'rxap-window-container'\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\n @HostBinding('attr.data-id')\n public get id(): string {\n return this.context.id;\n }\n\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 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 [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","import {\n Component,\n Inject,\n ChangeDetectionStrategy,\n Injector,\n ViewContainerRef,\n ViewChild,\n AfterViewInit,\n ComponentRef,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport {\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF\n} from '../tokens';\nimport { WindowContainerContext } from '../window-context';\nimport {\n ComponentPortal,\n Portal,\n TemplatePortal,\n CdkPortalOutlet\n} from '@angular/cdk/portal';\nimport type { WindowRef } from '../window-ref';\nimport {\n startWith,\n take,\n tap,\n timeout,\n catchError,\n filter,\n delay\n} from 'rxjs/operators';\nimport {\n TimeoutError,\n throwError,\n isObservable\n} from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\nimport { isDefined } from '@rxap/utilities/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})\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 Component,\n ChangeDetectionStrategy\n} from '@angular/core';\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})\nexport class DefaultWindowComponent {}\n","<rxap-window-container>\n <rxap-window-content></rxap-window-content>\n</rxap-window-container>\n","import {\n Component,\n Inject,\n Injector\n} from '@angular/core';\nimport { RXAP_WINDOW_CONTEXT } from '../tokens';\nimport { ButtonDefinition } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-window-action-bar',\n templateUrl: './window-action-bar.component.html',\n styleUrls: [ './window-action-bar.component.scss' ]\n})\nexport class WindowActionBarComponent {\n\n public definitions: ButtonDefinition<any>[] | null = null;\n public position: string = '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\" fxLayoutGap=\".8rem\">\n <button *ngFor=\"let definition of definitions\" [rxap-button]=\"definition\" fxFlex=\"nogrow\"></button>\n</mat-toolbar-row>\n","import { ComponentType } from '@angular/cdk/portal';\nimport {\n Injector,\n ComponentFactoryResolver,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { IconConfig } from '@rxap/utilities';\nimport { ButtonDefinition } from '@rxap/utilities/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","import {\n Injectable,\n Injector,\n ComponentFactoryResolver,\n Inject,\n ViewContainerRef,\n InjectFlags,\n Optional,\n} from '@angular/core';\nimport {\n WindowConfig,\n DEFAULT_WINDOW_CONFIG,\n WindowSettings,\n} from './window-config';\nimport { OverlayConfig, Overlay } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { WindowRef } from './window-ref';\nimport {\n RXAP_WINDOW_CONTEXT,\n RXAP_WINDOW_CONTAINER_CONTEXT,\n RXAP_WINDOW_REF,\n RXAP_WINDOW_DEFAULT_SETTINGS,\n RXAP_WINDOW_DATA,\n} from './tokens';\nimport { WindowContext, WindowContainerContext } from './window-context';\nimport { tap, take, finalize } from 'rxjs/operators';\nimport { DefaultWindowComponent } from './default-window/default-window.component';\nimport { v4 as uuid } from 'uuid';\nimport { GetWindowStartPos } from './utilities';\nimport { Subject } from 'rxjs';\nimport { LoadingIndicatorService } from '@rxap/services';\n\n@Injectable({ providedIn: 'root' })\nexport class WindowService {\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 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 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: uuid(),\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 Component,\n Input,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { WindowRef } from '../../window-ref';\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})\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\" 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","import {\n Component,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n Inject\n} from '@angular/core';\nimport { WindowService } from '../window.service';\nimport { Subscription } from 'rxjs';\nimport { tap } from 'rxjs/operators';\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})\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 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';\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})\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 { CommonModule } from '@angular/common';\nimport { WindowTaskBarComponent } from './window-task-bar.component';\nimport { WindowTaskComponent } from './window-task/window-task.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowTaskBarContainerComponent } from './window-task-bar-container/window-task-bar-container.component';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n declarations: [ WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatIconModule,\n MatToolbarModule,\n MatBadgeModule,\n MatButtonModule,\n StopPropagationDirectiveModule,\n IconDirectiveModule\n ],\n entryComponents: [ WindowTaskBarComponent ],\n exports: [ WindowTaskBarComponent, WindowTaskBarContainerComponent ]\n})\nexport class WindowTaskBarModule {}\n","import { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { WindowContainerComponent } from './window-container/window-container.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\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 { OverlayModule } from '@angular/cdk/overlay';\nimport { WindowActionBarComponent } from './window-action-bar/window-action-bar.component';\nimport { WindowTaskBarModule } from './window-task-bar/window-task-bar.module';\nimport { ButtonComponentModule } from '@rxap/components';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n@NgModule({\n imports: [\n MatToolbarModule,\n FlexLayoutModule,\n CommonModule,\n DragDropModule,\n MatIconModule,\n MatButtonModule,\n OverlayModule,\n ButtonComponentModule,\n PortalModule,\n MatProgressBarModule,\n IconDirectiveModule\n ],\n declarations: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowActionBarComponent,\n ],\n entryComponents: [\n DefaultWindowComponent\n ],\n exports: [\n WindowContainerComponent,\n WindowToolBarComponent,\n WindowResizerComponent,\n DefaultWindowComponent,\n WindowContentComponent,\n WindowTaskBarModule\n ]\n})\nexport class RxapWindowSystemModule { }\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowFooterDirective implements OnInit {\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 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 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@NgModule({\n declarations: [WindowFooterDirective],\n exports: [WindowFooterDirective]\n})\nexport class WindowFooterDirectiveModule {}\n","import {\n Directive,\n Inject,\n TemplateRef,\n OnInit,\n NgModule,\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})\nexport class WindowTitleDirective implements OnInit {\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 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 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@NgModule({\n declarations: [ WindowTitleDirective ],\n exports: [ WindowTitleDirective ]\n})\nexport class WindowTitleDirectiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mBAAmB,GAAa,IAAI,cAAc,CAAqB,iCAAiC,EAAE;MAC1G,gBAAgB,GAAgB,IAAI,cAAc,CAAM,8BAA8B,EAAE;MACxF,6BAA6B,GAAG,IAAI,cAAc,CAA8B,2CAA2C,EAAE;MAC7H,eAAe,GAAiB,IAAI,cAAc,CAAY,+BAA+B,EAAE;MAC/F,oBAAoB,GAAY,IAAI,cAAc,CAAiB,oCAAoC,EAAE;MACzG,4BAA4B,GAAI,IAAI,cAAc,CAAiB,4CAA4C;;MCqB/G,sBAAsB;IAcjC,YAC+B,OAAY;QAPnB,WAAM,GAAS,IAAI,YAAY,EAAU,CAAC;QACzC,YAAO,GAAO,IAAI,YAAY,EAAU,CAAC;QACvC,cAAS,GAAG,IAAI,YAAY,EAAW,CAAC;QAE3D,kBAAa,GAAG,IAAI,YAAY,EAAE,CAAC;QAKzC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;KACpC;IAED,WAAW;QACT,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;KAClC;IAED,QAAQ;QAEN,IAAI,cAAc,GAAG,CAAC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;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;iBACjC;;;MCrCY,oBAAoB;IAa/B,YAEmB,SAAoB,EAEpB,QAAiD,EAEjD,gBAAkC;QAJlC,cAAS,GAAT,SAAS,CAAW;QAEpB,aAAQ,GAAR,QAAQ,CAAyC;QAEjD,qBAAgB,GAAhB,gBAAgB,CAAkB;KAChD;;;;;;;IAZL,OAAO,sBAAsB,CAAC,GAAyB,EAAE,GAAQ;QAE/D,OAAO,IAAI,CAAC;KACb;IAWM,QAAQ;QACb,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,cAAc,CAC9C,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,gBAAgB,EACrB;YACE,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CACF,CAAC,CAAC;KACJ;;iHA9BU,oBAAoB,kBAcrB,eAAe,aAEf,WAAW,aAEX,gBAAgB;qGAlBf,oBAAoB;2FAApB,oBAAoB;kBAHhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;iBAC9B;;0BAeI,MAAM;2BAAC,eAAe;;0BAEtB,MAAM;2BAAC,WAAW;;0BAElB,MAAM;2BAAC,gBAAgB;;MAoBf,0BAA0B;;uHAA1B,0BAA0B;wHAA1B,0BAA0B,iBAtC1B,oBAAoB,aAApB,oBAAoB;wHAsCpB,0BAA0B;2FAA1B,0BAA0B;kBAJtC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,oBAAoB,CAAE;oBACtC,OAAO,EAAO,CAAE,oBAAoB,CAAE;iBACvC;;;ACxDD;;;;;;"}
|
package/lib/window-config.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/window-system",
|
|
3
|
-
"version": "12.0
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Merzough Münker",
|
|
6
6
|
"homepage": "https://gitlab.com/rxap/packages/libs/window-system",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"description": "Provides the WindowSystem concept for RxAP.",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
+
"@angular-devkit/schematics": "^12.2.9",
|
|
20
21
|
"@angular/cdk": "^12.0.1",
|
|
21
22
|
"@angular/common": "^12.0.1",
|
|
22
23
|
"@angular/core": "^12.0.1",
|
|
@@ -27,10 +28,10 @@
|
|
|
27
28
|
"@angular/router": "^12.0.1",
|
|
28
29
|
"@rxap/components": "^12.0.10",
|
|
29
30
|
"@rxap/config": "^12.3.0",
|
|
30
|
-
"@rxap/directives": "^12.
|
|
31
|
+
"@rxap/directives": "^12.3.0",
|
|
31
32
|
"@rxap/material-directives": "^12.0.7",
|
|
32
|
-
"@rxap/services": "^12.0.
|
|
33
|
-
"@rxap/utilities": "^12.2.
|
|
33
|
+
"@rxap/services": "^12.0.8",
|
|
34
|
+
"@rxap/utilities": "^12.2.2",
|
|
34
35
|
"reflect-metadata": "^0.1.13",
|
|
35
36
|
"rxjs": "^6.5.5"
|
|
36
37
|
},
|
|
@@ -55,10 +56,10 @@
|
|
|
55
56
|
"save": "dependencies"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
|
-
"@rxap/schematics-utilities": "^12.
|
|
59
|
+
"@rxap/schematics-utilities": "^12.7.0",
|
|
59
60
|
"tslib": "^2.2.0",
|
|
60
61
|
"uuid": "^8.3.2",
|
|
61
|
-
"@rxap/schematics-ts-morph": "^12.3.
|
|
62
|
+
"@rxap/schematics-ts-morph": "^12.3.2"
|
|
62
63
|
},
|
|
63
64
|
"main": "bundles/rxap-window-system.umd.js",
|
|
64
65
|
"module": "fesm2015/rxap-window-system.js",
|