@rxap/window-system 16.0.0-dev.2 → 16.0.0-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +373 -0
- package/LICENSE +621 -24
- package/LICENSE.md +621 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +3 -1
- package/esm2022/lib/default-window/default-window.component.mjs +6 -7
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/utilities.mjs +5 -2
- package/esm2022/lib/window-action-bar/window-action-bar.component.mjs +28 -0
- package/esm2022/lib/window-config.mjs +4 -3
- package/esm2022/lib/window-container/window-container.component.mjs +16 -34
- package/esm2022/lib/window-content/window-content.component.mjs +12 -13
- package/esm2022/lib/window-context.mjs +1 -1
- package/esm2022/lib/window-footer.directive.mjs +12 -13
- package/esm2022/lib/window-ref.mjs +41 -19
- package/esm2022/lib/window-resizer/window-resizer.component.mjs +18 -18
- package/esm2022/lib/window-system.module.mjs +51 -0
- package/esm2022/lib/window-task-bar/window-task/window-task.component.mjs +23 -20
- package/esm2022/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.mjs +16 -8
- package/esm2022/lib/window-task-bar/window-task-bar.component.mjs +6 -7
- package/esm2022/lib/window-task-bar/window-task-bar.module.mjs +20 -0
- package/esm2022/lib/window-title.directive.mjs +13 -14
- package/esm2022/lib/window-tool-bar/window-tool-bar.component.mjs +19 -14
- package/esm2022/lib/window.service.mjs +24 -26
- package/esm2022/rxap-window-system.mjs +1 -1
- package/fesm2022/rxap-window-system.mjs +375 -264
- package/fesm2022/rxap-window-system.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/tokens.d.ts +1 -1
- package/lib/window-action-bar/window-action-bar.component.d.ts +11 -0
- package/lib/window-config.d.ts +2 -2
- package/lib/window-container/window-container.component.d.ts +3 -4
- package/lib/window-content/window-content.component.d.ts +2 -2
- package/lib/window-context.d.ts +1 -1
- package/lib/window-footer.directive.d.ts +2 -2
- package/lib/window-ref.d.ts +19 -12
- package/lib/window-resizer/window-resizer.component.d.ts +2 -2
- package/lib/window-system.module.d.ts +13 -0
- package/lib/window-task-bar/window-task/window-task.component.d.ts +1 -1
- package/lib/window-task-bar/window-task-bar.component.d.ts +1 -1
- package/lib/window-task-bar/window-task-bar.module.d.ts +9 -0
- package/lib/window-title.directive.d.ts +2 -2
- package/lib/window.service.d.ts +6 -6
- package/package.json +63 -56
- package/theme.css +1 -0
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { WindowService } from '../window.service';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./window-task-bar.component";
|
|
3
|
+
import * as i2 from "./window-task/window-task.component";
|
|
4
|
+
import * as i3 from "./window-task-bar-container/window-task-bar-container.component";
|
|
5
|
+
export declare class WindowTaskBarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTaskBarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowTaskBarModule, never, [typeof i1.WindowTaskBarComponent, typeof i2.WindowTaskComponent, typeof i3.WindowTaskBarContainerComponent], [typeof i1.WindowTaskBarComponent, typeof i3.WindowTaskBarContainerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WindowTaskBarModule>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { WindowRef } from './window-ref';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface WindowTitleTemplateContext {
|
|
@@ -8,6 +8,7 @@ export declare class WindowTitleDirective implements OnInit {
|
|
|
8
8
|
private readonly windowRef;
|
|
9
9
|
private readonly template;
|
|
10
10
|
private readonly viewContainerRef;
|
|
11
|
+
constructor(windowRef: WindowRef, template: TemplateRef<WindowTitleTemplateContext>, viewContainerRef: ViewContainerRef);
|
|
11
12
|
/**
|
|
12
13
|
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
13
14
|
*
|
|
@@ -15,7 +16,6 @@ export declare class WindowTitleDirective implements OnInit {
|
|
|
15
16
|
* `NgForOf` structural directive renders its template with a specific context type.
|
|
16
17
|
*/
|
|
17
18
|
static ngTemplateContextGuard(dir: WindowTitleDirective, ctx: any): ctx is WindowTitleTemplateContext;
|
|
18
|
-
constructor(windowRef: WindowRef, template: TemplateRef<WindowTitleTemplateContext>, viewContainerRef: ViewContainerRef);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleDirective, never>;
|
|
21
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowTitleDirective, "[rxapWindowTitle]", never, {}, {}, never, never, true, never>;
|
package/lib/window.service.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Injector, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
-
import { WindowConfig, WindowSettings } from './window-config';
|
|
3
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
4
|
-
import {
|
|
2
|
+
import { ComponentFactoryResolver, Injector } from '@angular/core';
|
|
5
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import { WindowConfig, WindowSettings } from './window-config';
|
|
5
|
+
import { WindowRef } from './window-ref';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class WindowService {
|
|
8
8
|
private readonly injector;
|
|
9
9
|
private readonly overlay;
|
|
10
10
|
private readonly componentFactoryResolver;
|
|
11
11
|
private readonly defaultWindowSettings?;
|
|
12
|
-
get hasActiveWindows(): boolean;
|
|
13
|
-
get activeWindowCount(): number;
|
|
14
|
-
get allActiveWindows(): Array<WindowRef<any>>;
|
|
15
12
|
readonly activeCount$: Subject<number>;
|
|
16
13
|
private readonly active;
|
|
17
14
|
constructor(injector: Injector, overlay: Overlay, componentFactoryResolver: ComponentFactoryResolver, defaultWindowSettings?: WindowSettings<any> | undefined);
|
|
15
|
+
get hasActiveWindows(): boolean;
|
|
16
|
+
get activeWindowCount(): number;
|
|
17
|
+
get allActiveWindows(): Array<WindowRef<any>>;
|
|
18
18
|
get<D>(id: string): WindowRef<D>;
|
|
19
19
|
close(id: string): void;
|
|
20
20
|
has(id: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,68 +1,75 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "16.0.0-dev.21",
|
|
2
3
|
"name": "@rxap/window-system",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
"homepage": "https://gitlab.com/rxap/packages/libs/window-system",
|
|
7
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"rxap",
|
|
10
|
-
"angular",
|
|
11
|
-
"window-system"
|
|
12
|
-
],
|
|
13
|
-
"license": "BSD-3-Clause",
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
16
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
4
|
+
"license": "GPL-3.0-or-later",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"tslib": "2.6.2"
|
|
17
7
|
},
|
|
18
|
-
"description": "Provides the WindowSystem concept for RxAP.",
|
|
19
8
|
"peerDependencies": {
|
|
20
|
-
"@angular
|
|
21
|
-
"@angular/
|
|
22
|
-
"@angular/
|
|
23
|
-
"@angular/core": "^16.0.2",
|
|
9
|
+
"@angular/cdk": "^16.1.4",
|
|
10
|
+
"@angular/common": "^16.1.4",
|
|
11
|
+
"@angular/core": "^16.1.4",
|
|
24
12
|
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
25
|
-
"@angular/
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@rxap/
|
|
31
|
-
"
|
|
32
|
-
"@rxap/directives": "^16.0.0-dev.2",
|
|
33
|
-
"@rxap/material-directives": "^16.0.0-dev.2",
|
|
34
|
-
"@rxap/services": "^16.0.0-dev.2",
|
|
35
|
-
"@rxap/utilities": "^16.0.0-dev.1",
|
|
36
|
-
"joi": "^17.6.3",
|
|
37
|
-
"reflect-metadata": "^0.1.13",
|
|
38
|
-
"rxjs": "^6.6.0"
|
|
13
|
+
"@angular/material": "^16.1.4",
|
|
14
|
+
"@rxap/directives": "^16.0.0-dev.17",
|
|
15
|
+
"@rxap/material-directives": "^16.0.0-dev.19",
|
|
16
|
+
"@rxap/rxjs": "^1.0.1-dev.11",
|
|
17
|
+
"@rxap/services": "^16.0.0-dev.20",
|
|
18
|
+
"@rxap/utilities": "^16.0.0-dev.21",
|
|
19
|
+
"rxjs": "^7.8.0"
|
|
39
20
|
},
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "Merzough Münker",
|
|
23
|
+
"email": "mmuenker@digitaix.com"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
27
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/window-system",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"angular",
|
|
32
|
+
"angular-window-system",
|
|
33
|
+
"ngx",
|
|
34
|
+
"packages",
|
|
35
|
+
"rxap",
|
|
36
|
+
"window-system"
|
|
37
|
+
],
|
|
38
|
+
"nx-migrations": {
|
|
43
39
|
"packageGroup": [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
{
|
|
41
|
+
"package": "@rxap/directives",
|
|
42
|
+
"version": "16.0.0-dev.17"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"package": "@rxap/material-directives",
|
|
46
|
+
"version": "16.0.0-dev.19"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"package": "@rxap/rxjs",
|
|
50
|
+
"version": "1.0.1-dev.11"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"package": "@rxap/services",
|
|
54
|
+
"version": "16.0.0-dev.20"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"package": "@rxap/utilities",
|
|
58
|
+
"version": "16.0.0-dev.21"
|
|
59
|
+
}
|
|
51
60
|
]
|
|
52
61
|
},
|
|
53
62
|
"publishConfig": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
},
|
|
57
|
-
"ng-add": {
|
|
58
|
-
"save": "dependencies"
|
|
63
|
+
"access": "public",
|
|
64
|
+
"directory": "../../../dist/packages/angular/window-system"
|
|
59
65
|
},
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"tsconfig-paths-webpack-plugin": "3.5.2"
|
|
66
|
+
"repository": {
|
|
67
|
+
"type": "git",
|
|
68
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
69
|
+
"directory": "packages/angular/window-system"
|
|
65
70
|
},
|
|
71
|
+
"sideEffects": false,
|
|
72
|
+
"gitHead": "cc79abe8b76799cf9e91a91b92e8172b23a74b13",
|
|
66
73
|
"module": "fesm2022/rxap-window-system.mjs",
|
|
67
74
|
"typings": "index.d.ts",
|
|
68
75
|
"exports": {
|
|
@@ -74,7 +81,7 @@
|
|
|
74
81
|
"esm2022": "./esm2022/rxap-window-system.mjs",
|
|
75
82
|
"esm": "./esm2022/rxap-window-system.mjs",
|
|
76
83
|
"default": "./fesm2022/rxap-window-system.mjs"
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
84
|
+
},
|
|
85
|
+
"./theme": "./theme.css"
|
|
86
|
+
}
|
|
80
87
|
}
|
package/theme.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.contents{display:contents}.hidden{display:none}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.p-2{padding:.5rem}.capitalize{text-transform:capitalize}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
|
package/collection.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schematics": {
|
|
3
|
-
"ng-add": {
|
|
4
|
-
"description": "Setup the package @rxap/window-system for the workspace.",
|
|
5
|
-
"factory": "./src/schematics/ng-add/index",
|
|
6
|
-
"schema": "./src/schematics/ng-add/schema.json"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
|
|
10
|
-
}
|
package/migration.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
4
|
-
function default_1() {
|
|
5
|
-
return (0, schematics_utilities_1.InstallPeerDependencies)();
|
|
6
|
-
}
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/window-system/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
|