@ts-core/angular 17.0.18 → 17.0.20
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/VIModule.d.ts +1 -1
- package/cookie/CookieModule.d.ts +3 -2
- package/cookie/CookieService.d.ts +2 -2
- package/esm2022/VIModule.mjs +7 -7
- package/esm2022/application/ApplicationBaseComponent.mjs +3 -3
- package/esm2022/asset/AssetBackgroundDirective.mjs +3 -3
- package/esm2022/asset/AssetBackgroundPipe.mjs +3 -3
- package/esm2022/asset/AssetFilePipe.mjs +3 -3
- package/esm2022/asset/AssetIconPipe.mjs +3 -3
- package/esm2022/asset/AssetImagePipe.mjs +3 -3
- package/esm2022/asset/AssetModule.mjs +4 -4
- package/esm2022/asset/AssetSoundPipe.mjs +3 -3
- package/esm2022/asset/AssetVideoPipe.mjs +3 -3
- package/esm2022/cookie/CookieModule.mjs +10 -9
- package/esm2022/cookie/CookieService.mjs +34 -5
- package/esm2022/directive/AspectRatioResizeDirective.mjs +3 -3
- package/esm2022/directive/AutoScrollBottomDirective.mjs +3 -3
- package/esm2022/directive/ClickToCopyDirective.mjs +3 -3
- package/esm2022/directive/ClickToSelectDirective.mjs +3 -3
- package/esm2022/directive/FocusDirective.mjs +3 -3
- package/esm2022/directive/HTMLContentTitleDirective.mjs +3 -3
- package/esm2022/directive/HTMLTitleDirective.mjs +3 -3
- package/esm2022/directive/InfiniteScrollDirective.mjs +3 -3
- package/esm2022/directive/IsBrowserDirective.mjs +3 -3
- package/esm2022/directive/IsServerDirective.mjs +3 -3
- package/esm2022/directive/ResizeDirective.mjs +3 -3
- package/esm2022/directive/ScrollCheckDirective.mjs +3 -3
- package/esm2022/directive/ScrollDirective.mjs +3 -3
- package/esm2022/directive/SelectOnFocusDirective.mjs +3 -3
- package/esm2022/language/LanguageDirective.mjs +3 -3
- package/esm2022/language/LanguageHasDirective.mjs +3 -3
- package/esm2022/language/LanguageModule.mjs +4 -4
- package/esm2022/language/LanguagePipe.mjs +3 -3
- package/esm2022/language/LanguagePipeHas.mjs +3 -3
- package/esm2022/language/LanguagePipeHasPure.mjs +3 -3
- package/esm2022/language/LanguagePipePure.mjs +3 -3
- package/esm2022/language/LanguageResolver.mjs +3 -3
- package/esm2022/login/LoginBaseService.mjs +2 -2
- package/esm2022/login/LoginGuard.mjs +3 -3
- package/esm2022/login/LoginIfCanGuard.mjs +3 -3
- package/esm2022/login/LoginNotGuard.mjs +3 -3
- package/esm2022/login/LoginResolver.mjs +3 -3
- package/esm2022/login/LoginTokenStorage.mjs +3 -3
- package/esm2022/module/LazyModuleLoader.mjs +3 -3
- package/esm2022/notification/INotificationContent.mjs +3 -3
- package/esm2022/pipe/CamelCasePipe.mjs +3 -3
- package/esm2022/pipe/FinancePipe.mjs +3 -3
- package/esm2022/pipe/MomentDateAdaptivePipe.mjs +3 -3
- package/esm2022/pipe/MomentDateFromNowPipe.mjs +3 -3
- package/esm2022/pipe/MomentDatePipe.mjs +3 -3
- package/esm2022/pipe/MomentTimePipe.mjs +3 -3
- package/esm2022/pipe/NgModelErrorPipe.mjs +3 -3
- package/esm2022/pipe/PrettifyPipe.mjs +3 -3
- package/esm2022/pipe/SanitizePipe.mjs +3 -3
- package/esm2022/pipe/StartCasePipe.mjs +3 -3
- package/esm2022/pipe/TimePipe.mjs +3 -3
- package/esm2022/pipe/TruncatePipe.mjs +3 -3
- package/esm2022/service/PlatformService.mjs +3 -3
- package/esm2022/storage/ValueStorage.mjs +10 -1
- package/esm2022/theme/ThemeAssetBackgroundDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetIconDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetImageDirective.mjs +3 -3
- package/esm2022/theme/ThemeModule.mjs +4 -4
- package/esm2022/theme/ThemeStyleDirective.mjs +3 -3
- package/esm2022/theme/ThemeStyleHoverDirective.mjs +3 -3
- package/esm2022/theme/ThemeToggleDirective.mjs +3 -3
- package/esm2022/window/IWindowContent.mjs +3 -3
- package/fesm2022/ts-core-angular.mjs +277 -239
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/login/LoginTokenStorage.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,10 +26,10 @@ export class TimePipe {
|
|
|
26
26
|
}
|
|
27
27
|
return FinancePipe.format(milliseconds / DateUtil.MILLISECONDS_SECOND, format);
|
|
28
28
|
}
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
30
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
30
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, name: "viTime" });
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, decorators: [{
|
|
33
33
|
type: Pipe,
|
|
34
34
|
args: [{
|
|
35
35
|
name: 'viTime'
|
|
@@ -11,10 +11,10 @@ export class TruncatePipe {
|
|
|
11
11
|
transform(value, maxLength) {
|
|
12
12
|
return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) : PrettifyPipe.EMPTY_SYMBOL;
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
15
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, name: "viTruncate" });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{
|
|
20
20
|
name: 'viTruncate'
|
|
@@ -32,10 +32,10 @@ export class PlatformService extends DestroyableContainer {
|
|
|
32
32
|
get isPlatformBrowser() {
|
|
33
33
|
return this._isPlatformBrowser;
|
|
34
34
|
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
36
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, providedIn: 'root' });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, decorators: [{
|
|
39
39
|
type: Injectable,
|
|
40
40
|
args: [{ providedIn: 'root' }]
|
|
41
41
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -37,6 +37,9 @@ export class ValueStorage extends DestroyableContainer {
|
|
|
37
37
|
//
|
|
38
38
|
//--------------------------------------------------------------------------
|
|
39
39
|
get(defaultValue) {
|
|
40
|
+
if (this.isDestroyed) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
40
43
|
let item = null;
|
|
41
44
|
if (this.storage.has(this.name)) {
|
|
42
45
|
item = this.storage.get(this.name);
|
|
@@ -47,9 +50,15 @@ export class ValueStorage extends DestroyableContainer {
|
|
|
47
50
|
return !_.isNil(item) ? this.serialize(item) : defaultValue;
|
|
48
51
|
}
|
|
49
52
|
has() {
|
|
53
|
+
if (this.isDestroyed) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
50
56
|
return this.storage.has(this.name) || this.cookies.has(this.name);
|
|
51
57
|
}
|
|
52
58
|
set(value) {
|
|
59
|
+
if (this.isDestroyed) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
53
62
|
let item = !_.isNil(value) ? this.deserialize(value) : null;
|
|
54
63
|
this.cookies.put(this.name, item);
|
|
55
64
|
this.storage.set(this.name, item);
|
|
@@ -72,4 +81,4 @@ export class ValueStorage extends DestroyableContainer {
|
|
|
72
81
|
return this._name;
|
|
73
82
|
}
|
|
74
83
|
}
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFsdWVTdG9yYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3N0b3JhZ2UvVmFsdWVTdG9yYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBSXZELE9BQU8sS0FBSyxDQUFDLE1BQU0sUUFBUSxDQUFDO0FBRTVCLE1BQU0sT0FBTyxZQUF5QixTQUFRLG9CQUFvQjtJQWUxQjtJQUF3QztJQWQ1RSw0RUFBNEU7SUFDNUUsRUFBRTtJQUNGLGNBQWM7SUFDZCxFQUFFO0lBQ0YsNEVBQTRF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uX25hbWU7XG4gICAgfVxufVxuIl19
|
|
@@ -36,10 +36,10 @@ export class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
36
36
|
get name() {
|
|
37
37
|
return super.name;
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
40
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", inputs: { name: ["vi-theme-background", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: '[vi-theme-background]'
|
|
@@ -219,10 +219,10 @@ export class ThemeAssetDirective extends Destroyable {
|
|
|
219
219
|
this._extension = value;
|
|
220
220
|
this.setSourceProperties();
|
|
221
221
|
}
|
|
222
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
223
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
223
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ThemeAssetDirective, inputs: { isSound: ["isSound", "isSound", booleanAttribute], isVideo: ["isVideo", "isVideo", booleanAttribute], isFile: ["isFile", "isFile", booleanAttribute], isImage: ["isImage", "isImage", booleanAttribute], isBackground: ["isBackground", "isBackground", booleanAttribute], isIgnoreTheme: ["isIgnoreTheme", "isIgnoreTheme", booleanAttribute], name: "name", extension: "extension" }, host: { listeners: { "error": "errorLoadingHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
224
224
|
}
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
226
226
|
type: Directive
|
|
227
227
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { errorLoadingHandler: [{
|
|
228
228
|
type: HostListener,
|
|
@@ -33,10 +33,10 @@ export class ThemeAssetIconDirective extends ThemeAssetDirective {
|
|
|
33
33
|
get name() {
|
|
34
34
|
return super.name;
|
|
35
35
|
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
37
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetIconDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeAssetIconDirective, selector: "[vi-theme-icon]", inputs: { name: ["vi-theme-icon", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[vi-theme-icon]'
|
|
@@ -34,10 +34,10 @@ export class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
34
34
|
get name() {
|
|
35
35
|
return super.name;
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
38
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", inputs: { name: ["vi-theme-image", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[vi-theme-image]'
|
|
@@ -46,8 +46,8 @@ export class ThemeModule {
|
|
|
46
46
|
]
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
50
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
50
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
|
|
51
51
|
ThemeAssetImageDirective,
|
|
52
52
|
ThemeAssetIconDirective,
|
|
53
53
|
ThemeAssetBackgroundDirective,
|
|
@@ -58,9 +58,9 @@ export class ThemeModule {
|
|
|
58
58
|
ThemeAssetBackgroundDirective,
|
|
59
59
|
ThemeStyleDirective,
|
|
60
60
|
ThemeStyleHoverDirective] });
|
|
61
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
61
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
imports: [CookieModule],
|
|
@@ -106,10 +106,10 @@ export class ThemeStyleDirective extends Destroyable {
|
|
|
106
106
|
this.stylePropertiesCheck();
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
110
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
110
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeStyleDirective, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
113
113
|
type: Directive,
|
|
114
114
|
args: [{
|
|
115
115
|
selector: '[vi-theme-style]'
|
|
@@ -88,10 +88,10 @@ export class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
88
88
|
set flags(value) {
|
|
89
89
|
super.flags = value;
|
|
90
90
|
}
|
|
91
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
92
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
91
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
92
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeStyleHoverDirective, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
95
95
|
type: Directive,
|
|
96
96
|
args: [{
|
|
97
97
|
selector: '[vi-theme-style-hover]'
|
|
@@ -48,10 +48,10 @@ export class ThemeToggleDirective extends Destroyable {
|
|
|
48
48
|
super.destroy();
|
|
49
49
|
this.theme = null;
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
52
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
52
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ThemeToggleDirective, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
55
55
|
type: Directive,
|
|
56
56
|
args: [{
|
|
57
57
|
selector: '[vi-theme-toggle]'
|
|
@@ -122,10 +122,10 @@ export class IWindowContent extends DestroyableContainer {
|
|
|
122
122
|
this.commitWindowProperties();
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
126
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IWindowContent, deps: [{ token: WINDOW_CONTENT_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
126
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.7", type: IWindowContent, selector: "ng-component", inputs: { isDisabled: ["isDisabled", "isDisabled", booleanAttribute], window: "window" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
127
127
|
}
|
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IWindowContent, decorators: [{
|
|
129
129
|
type: Component,
|
|
130
130
|
args: [{ template: '' }]
|
|
131
131
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|