@rxap/window-system 13.0.0 → 14.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/default-window/default-window.component.mjs +4 -4
- package/esm2020/lib/window-action-bar/window-action-bar.component.mjs +7 -7
- package/esm2020/lib/window-container/window-container.component.mjs +11 -11
- package/esm2020/lib/window-content/window-content.component.mjs +3 -3
- package/esm2020/lib/window-footer.directive.mjs +7 -7
- package/esm2020/lib/window-resizer/window-resizer.component.mjs +7 -7
- package/esm2020/lib/window-system.module.mjs +15 -17
- package/esm2020/lib/window-task-bar/window-task/window-task.component.mjs +11 -11
- package/esm2020/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.mjs +11 -11
- package/esm2020/lib/window-task-bar/window-task-bar.component.mjs +6 -6
- package/esm2020/lib/window-task-bar/window-task-bar.module.mjs +12 -14
- package/esm2020/lib/window-title.directive.mjs +7 -7
- package/esm2020/lib/window-tool-bar/window-tool-bar.component.mjs +7 -7
- package/esm2020/lib/window.service.mjs +3 -3
- package/fesm2015/rxap-window-system.mjs +87 -91
- package/fesm2015/rxap-window-system.mjs.map +1 -1
- package/fesm2020/rxap-window-system.mjs +87 -91
- package/fesm2020/rxap-window-system.mjs.map +1 -1
- package/lib/default-window/default-window.component.d.ts +1 -1
- package/lib/window-action-bar/window-action-bar.component.d.ts +1 -1
- package/lib/window-container/window-container.component.d.ts +1 -1
- package/lib/window-content/window-content.component.d.ts +1 -1
- package/lib/window-footer.directive.d.ts +1 -1
- package/lib/window-resizer/window-resizer.component.d.ts +1 -1
- package/lib/window-task-bar/window-task/window-task.component.d.ts +1 -1
- package/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.d.ts +1 -1
- package/lib/window-task-bar/window-task-bar.component.d.ts +1 -1
- package/lib/window-title.directive.d.ts +1 -1
- package/lib/window-tool-bar/window-tool-bar.component.d.ts +1 -1
- package/package.json +24 -24
- package/_theming.scss +0 -35
- package/rxap-window-system.d.ts +0 -5
|
@@ -13,8 +13,8 @@ import { IconDirectiveModule } from '@rxap/material-directives/icon';
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class WindowTaskBarModule {
|
|
15
15
|
}
|
|
16
|
-
WindowTaskBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
16
|
+
WindowTaskBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTaskBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17
|
+
WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: WindowTaskBarModule, declarations: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent], imports: [CommonModule,
|
|
18
18
|
FlexLayoutModule,
|
|
19
19
|
MatIconModule,
|
|
20
20
|
MatToolbarModule,
|
|
@@ -22,17 +22,15 @@ WindowTaskBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
22
22
|
MatButtonModule,
|
|
23
23
|
StopPropagationDirectiveModule,
|
|
24
24
|
IconDirectiveModule], exports: [WindowTaskBarComponent, WindowTaskBarContainerComponent] });
|
|
25
|
-
WindowTaskBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
]] });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: WindowTaskBarModule, decorators: [{
|
|
25
|
+
WindowTaskBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTaskBarModule, imports: [CommonModule,
|
|
26
|
+
FlexLayoutModule,
|
|
27
|
+
MatIconModule,
|
|
28
|
+
MatToolbarModule,
|
|
29
|
+
MatBadgeModule,
|
|
30
|
+
MatButtonModule,
|
|
31
|
+
StopPropagationDirectiveModule,
|
|
32
|
+
IconDirectiveModule] });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTaskBarModule, decorators: [{
|
|
36
34
|
type: NgModule,
|
|
37
35
|
args: [{
|
|
38
36
|
declarations: [WindowTaskBarComponent, WindowTaskComponent, WindowTaskBarContainerComponent],
|
|
@@ -49,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
49
47
|
exports: [WindowTaskBarComponent, WindowTaskBarContainerComponent]
|
|
50
48
|
}]
|
|
51
49
|
}] });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LXRhc2stYmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvd2luZG93LXN5c3RlbS9zcmMvbGliL3dpbmRvdy10YXNrLWJhci93aW5kb3ctdGFzay1iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQzFFLE9BQU8sRUFB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mNvbXBvbmVudCc7XG5pbXBvcnQgeyBTdG9wUHJvcGFnYXRpb25EaXJlY3RpdmVNb2R1bGUgfSBmcm9tICdAcnhhcC9kaXJlY3RpdmVzJztcbmltcG9ydCB7IEljb25EaXJlY3RpdmVNb2R1bGUgfSBmcm9tICdAcnhhcC9tYXRlcmlhbC1kaXJlY3RpdmVzL2ljb24nO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFsgV2luZG93VGFza0JhckNvbXBvbmVudCwgV2luZG93VGFza0NvbXBvbmVudCwgV2luZG93VGFza0JhckNvbnRhaW5lckNvbXBvbmVudCBdLFxuICBpbXBvcnRzOiAgICAgIFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgRmxleExheW91dE1vZHVsZSxcbiAgICBNYXRJY29uTW9kdWxlLFxuICAgIE1hdFRvb2xiYXJNb2R1bGUsXG4gICAgTWF0QmFkZ2VNb2R1bGUsXG4gICAgTWF0QnV0dG9uTW9kdWxlLFxuICAgIFN0b3BQcm9wYWdhdGlvbkRpcmVjdGl2ZU1vZHVsZSxcbiAgICBJY29uRGlyZWN0aXZlTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6ICAgICAgWyBXaW5kb3dUYXNrQmFyQ29tcG9uZW50LCBXaW5kb3dUYXNrQmFyQ29udGFpbmVyQ29tcG9uZW50IF1cbn0pXG5leHBvcnQgY2xhc3MgV2luZG93VGFza0Jhck1vZHVsZSB7fVxuIl19
|
|
@@ -25,9 +25,9 @@ export class WindowTitleDirective {
|
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
WindowTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
WindowTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
WindowTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirective, deps: [{ token: RXAP_WINDOW_REF }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
+
WindowTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: WindowTitleDirective, selector: "[rxapWindowTitle]", ngImport: i0 });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirective, decorators: [{
|
|
31
31
|
type: Directive,
|
|
32
32
|
args: [{
|
|
33
33
|
selector: '[rxapWindowTitle]'
|
|
@@ -44,10 +44,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
44
44
|
}] }]; } });
|
|
45
45
|
export class WindowTitleDirectiveModule {
|
|
46
46
|
}
|
|
47
|
-
WindowTitleDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
WindowTitleDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
49
|
-
WindowTitleDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
47
|
+
WindowTitleDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
WindowTitleDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirectiveModule, declarations: [WindowTitleDirective], exports: [WindowTitleDirective] });
|
|
49
|
+
WindowTitleDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirectiveModule });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowTitleDirectiveModule, decorators: [{
|
|
51
51
|
type: NgModule,
|
|
52
52
|
args: [{
|
|
53
53
|
declarations: [WindowTitleDirective],
|
|
@@ -2,10 +2,10 @@ import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
|
2
2
|
import { RXAP_WINDOW_CONTEXT } from '../tokens';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/material/toolbar";
|
|
5
|
-
import * as i2 from "@angular/
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "@angular/
|
|
8
|
-
import * as i5 from "@angular/
|
|
5
|
+
import * as i2 from "@angular/flex-layout/flex";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/material/icon";
|
|
8
|
+
import * as i5 from "@angular/material/button";
|
|
9
9
|
import * as i6 from "@angular/cdk/portal";
|
|
10
10
|
import * as i7 from "@rxap/material-directives/icon";
|
|
11
11
|
export class WindowToolBarComponent {
|
|
@@ -13,9 +13,9 @@ export class WindowToolBarComponent {
|
|
|
13
13
|
this.windowRef = context.windowRef;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
WindowToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowToolBarComponent, deps: [{ token: RXAP_WINDOW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
WindowToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: WindowToolBarComponent, selector: "rxap-window-tool-bar", ngImport: i0, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"], dependencies: [{ kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.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"] }, { kind: "directive", type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i7.IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowToolBarComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'rxap-window-tool-bar', changeDetection: ChangeDetectionStrategy.Default, template: "<mat-toolbar class=\"header\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"1.5rem\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1.0rem\">\n <ng-template [ngIf]=\"windowRef.titlePortal$ | async\" [ngIfElse]=\"titleFromSettings\" let-titlePortal>\n <ng-template [cdkPortalOutlet]=\"titlePortal\"></ng-template>\n </ng-template>\n <ng-template #titleFromSettings>\n <ng-template [ngIf]=\"windowRef.settings$ | async\" let-settings>\n <mat-icon *ngIf=\"settings.icon\" [rxapIcon]=\"settings.icon\" fxFlex=\"40px\"></mat-icon>\n <h3 *ngIf=\"settings.title\" fxFlex=\"nogrow\">{{settings.title}}</h3>\n </ng-template>\n </ng-template>\n </div>\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <button (click)=\"windowRef.minimize()\" *ngIf=\"windowRef.settings.minimizable !== false\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>minimize</mat-icon>\n </button>\n <button (click)=\"windowRef.fullScreen()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n <button (click)=\"windowRef.complete()\" fxFlex=\"40px\" mat-icon-button type=\"button\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: [":host{width:100%}.header{height:64px}\n"] }]
|
|
21
21
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -140,9 +140,9 @@ export class WindowService {
|
|
|
140
140
|
return this.overlay.create(overlayConfig);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
144
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
143
|
+
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowService, deps: [{ token: Injector }, { token: Overlay }, { token: ComponentFactoryResolver }, { token: RXAP_WINDOW_DEFAULT_SETTINGS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
144
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: WindowService, decorators: [{
|
|
146
146
|
type: Injectable,
|
|
147
147
|
args: [{ providedIn: 'root' }]
|
|
148
148
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|