@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
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewContainerRef, booleanAttribute, Directive, Input, Pipe, NgModule,
|
|
2
|
+
import { Component, ViewContainerRef, booleanAttribute, Directive, Input, Pipe, NgModule, PLATFORM_ID, Injectable, Inject, InjectionToken, numberAttribute, EventEmitter, Output, HostListener, RendererStyleFlags2, Optional, NgModuleFactory, APP_INITIALIZER, RendererFactory2 } from '@angular/core';
|
|
3
3
|
import { DestroyableContainer, PromiseHandler, LoadableEvent, ExtendedError, Destroyable, DateUtil, Loadable, LoadableStatus, ObservableData, TransportTimeoutError, TransportNoConnectionError, ArrayUtil, FilterableMapCollection, RemoveFilterableCondition, GetFilterableCondition, IDestroyable, MapCollection, TransportEvent, TransportLocal, Logger, LoggerLevel } from '@ts-core/common';
|
|
4
4
|
import * as _ from 'lodash';
|
|
5
5
|
import * as i1 from '@ts-core/frontend';
|
|
6
|
-
import { Assets, AssetUrlProvider,
|
|
6
|
+
import { Assets, AssetUrlProvider, LanguageService, ThemeService, NativeWindowService, ThemeAssetService, LoadingService, ICookieOptions, DefaultLogger } from '@ts-core/frontend';
|
|
7
7
|
import { takeUntil, BehaviorSubject, distinctUntilChanged, debounceTime, fromEvent, filter, map, Subject } from 'rxjs';
|
|
8
8
|
import moment from 'moment';
|
|
9
9
|
import numeral from 'numeral';
|
|
10
|
-
import { CommonModule, isPlatformServer, isPlatformBrowser,
|
|
10
|
+
import { CommonModule, isPlatformServer, isPlatformBrowser, DOCUMENT, DatePipe } from '@angular/common';
|
|
11
11
|
import * as Cookie from 'ngx-cookie';
|
|
12
|
-
import { CookieWriterService } from 'ngx-cookie';
|
|
13
12
|
import * as interact from 'interactjs';
|
|
14
13
|
import * as i1$1 from '@angular/router';
|
|
15
14
|
import { NavigationStart, NavigationEnd, NavigationCancel, NavigationError } from '@angular/router';
|
|
@@ -98,10 +97,10 @@ class ApplicationBaseComponent extends DestroyableContainer {
|
|
|
98
97
|
get viewReady() {
|
|
99
98
|
return !_.isNil(this.viewReadyPromise) ? this.viewReadyPromise.promise : null;
|
|
100
99
|
}
|
|
101
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
102
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ApplicationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: ApplicationBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
103
102
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ApplicationBaseComponent, decorators: [{
|
|
105
104
|
type: Component,
|
|
106
105
|
args: [{ template: '' }]
|
|
107
106
|
}], ctorParameters: () => [] });
|
|
@@ -938,10 +937,10 @@ class AssetBackgroundDirective extends Destroyable {
|
|
|
938
937
|
get background() {
|
|
939
938
|
return this._background;
|
|
940
939
|
}
|
|
941
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
942
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
940
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
941
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: AssetBackgroundDirective, selector: "[vi-asset-background]", inputs: { isIcon: ["isIcon", "isIcon", booleanAttribute], isImage: ["isImage", "isImage", booleanAttribute], isUrl: ["isUrl", "isUrl", booleanAttribute], repeat: "repeat", extension: "extension", background: ["vi-asset-background", "background"] }, usesInheritance: true, ngImport: i0 });
|
|
943
942
|
}
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
|
|
945
944
|
type: Directive,
|
|
946
945
|
args: [{
|
|
947
946
|
selector: '[vi-asset-background]'
|
|
@@ -973,10 +972,10 @@ class AssetBackgroundPipe {
|
|
|
973
972
|
transform(name, extension = 'png') {
|
|
974
973
|
return Assets.getBackground(name, extension);
|
|
975
974
|
}
|
|
976
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
977
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
976
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, name: "viAssetBackground" });
|
|
978
977
|
}
|
|
979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
|
|
980
979
|
type: Pipe,
|
|
981
980
|
args: [{
|
|
982
981
|
name: 'viAssetBackground'
|
|
@@ -992,10 +991,10 @@ class AssetIconPipe {
|
|
|
992
991
|
transform(name, extension = 'png') {
|
|
993
992
|
return Assets.getIcon(name, extension);
|
|
994
993
|
}
|
|
995
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
996
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
995
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, name: "viAssetIcon" });
|
|
997
996
|
}
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, decorators: [{
|
|
999
998
|
type: Pipe,
|
|
1000
999
|
args: [{
|
|
1001
1000
|
name: 'viAssetIcon'
|
|
@@ -1011,10 +1010,10 @@ class AssetFilePipe {
|
|
|
1011
1010
|
transform(name, extension) {
|
|
1012
1011
|
return Assets.getFile(name, extension);
|
|
1013
1012
|
}
|
|
1014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1015
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
1013
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1014
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, name: "viAssetFile" });
|
|
1016
1015
|
}
|
|
1017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, decorators: [{
|
|
1018
1017
|
type: Pipe,
|
|
1019
1018
|
args: [{
|
|
1020
1019
|
name: 'viAssetFile'
|
|
@@ -1030,10 +1029,10 @@ class AssetVideoPipe {
|
|
|
1030
1029
|
transform(name, extension = 'mp4') {
|
|
1031
1030
|
return Assets.getVideo(name, extension);
|
|
1032
1031
|
}
|
|
1033
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1034
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
1032
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1033
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, name: "viAssetVideo" });
|
|
1035
1034
|
}
|
|
1036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, decorators: [{
|
|
1037
1036
|
type: Pipe,
|
|
1038
1037
|
args: [{
|
|
1039
1038
|
name: 'viAssetVideo'
|
|
@@ -1049,10 +1048,10 @@ class AssetSoundPipe {
|
|
|
1049
1048
|
transform(name, extension = 'mp3') {
|
|
1050
1049
|
return Assets.getSound(name, extension);
|
|
1051
1050
|
}
|
|
1052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1053
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
1051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1052
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, name: "viAssetSound" });
|
|
1054
1053
|
}
|
|
1055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, decorators: [{
|
|
1056
1055
|
type: Pipe,
|
|
1057
1056
|
args: [{
|
|
1058
1057
|
name: 'viAssetSound'
|
|
@@ -1068,10 +1067,10 @@ class AssetImagePipe {
|
|
|
1068
1067
|
transform(name, extension = 'png') {
|
|
1069
1068
|
return Assets.getImage(name, extension);
|
|
1070
1069
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1072
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
1070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1071
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, name: "viAssetImage" });
|
|
1073
1072
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, decorators: [{
|
|
1075
1074
|
type: Pipe,
|
|
1076
1075
|
args: [{
|
|
1077
1076
|
name: 'viAssetImage'
|
|
@@ -1080,11 +1079,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
1080
1079
|
|
|
1081
1080
|
let declarations$3 = [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective];
|
|
1082
1081
|
class AssetModule {
|
|
1083
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1084
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
1085
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
1082
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1083
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
|
|
1084
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, imports: [CommonModule] });
|
|
1086
1085
|
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, decorators: [{
|
|
1088
1087
|
type: NgModule,
|
|
1089
1088
|
args: [{
|
|
1090
1089
|
imports: [CommonModule],
|
|
@@ -1099,8 +1098,8 @@ class CookieService extends Cookie.CookieService {
|
|
|
1099
1098
|
// Constructor
|
|
1100
1099
|
//
|
|
1101
1100
|
// --------------------------------------------------------------------------
|
|
1102
|
-
constructor(options,
|
|
1103
|
-
super(document, { options }, new CookieWriterService(document));
|
|
1101
|
+
constructor(document, options, isPlatformBrowser) {
|
|
1102
|
+
super(document, { options }, new CookieWriterService(document, isPlatformBrowser));
|
|
1104
1103
|
}
|
|
1105
1104
|
// --------------------------------------------------------------------------
|
|
1106
1105
|
//
|
|
@@ -1129,6 +1128,76 @@ class CookieService extends Cookie.CookieService {
|
|
|
1129
1128
|
this.putObject(key, value, options);
|
|
1130
1129
|
}
|
|
1131
1130
|
}
|
|
1131
|
+
class CookieWriterService extends Cookie.CookieWriterService {
|
|
1132
|
+
// --------------------------------------------------------------------------
|
|
1133
|
+
//
|
|
1134
|
+
// Properties
|
|
1135
|
+
//
|
|
1136
|
+
// --------------------------------------------------------------------------
|
|
1137
|
+
isPlatformBrowser;
|
|
1138
|
+
// --------------------------------------------------------------------------
|
|
1139
|
+
//
|
|
1140
|
+
// Constructor
|
|
1141
|
+
//
|
|
1142
|
+
// --------------------------------------------------------------------------
|
|
1143
|
+
constructor(document, isPlatformBrowser) {
|
|
1144
|
+
super(document);
|
|
1145
|
+
this.isPlatformBrowser = isPlatformBrowser;
|
|
1146
|
+
}
|
|
1147
|
+
// --------------------------------------------------------------------------
|
|
1148
|
+
//
|
|
1149
|
+
// Public Methods
|
|
1150
|
+
//
|
|
1151
|
+
// --------------------------------------------------------------------------
|
|
1152
|
+
readAllAsString() {
|
|
1153
|
+
return this.isPlatformBrowser ? super.readAllAsString() : '';
|
|
1154
|
+
}
|
|
1155
|
+
write(name, value, options) {
|
|
1156
|
+
if (this.isPlatformBrowser) {
|
|
1157
|
+
super.write(name, value, options);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
class PlatformService extends DestroyableContainer {
|
|
1163
|
+
// --------------------------------------------------------------------------
|
|
1164
|
+
//
|
|
1165
|
+
// Constants
|
|
1166
|
+
//
|
|
1167
|
+
// --------------------------------------------------------------------------
|
|
1168
|
+
_isPlatformServer;
|
|
1169
|
+
_isPlatformBrowser;
|
|
1170
|
+
// --------------------------------------------------------------------------
|
|
1171
|
+
//
|
|
1172
|
+
// Constructor
|
|
1173
|
+
//
|
|
1174
|
+
// --------------------------------------------------------------------------
|
|
1175
|
+
constructor(platformId) {
|
|
1176
|
+
super();
|
|
1177
|
+
this._isPlatformServer = isPlatformServer(platformId);
|
|
1178
|
+
this._isPlatformBrowser = isPlatformBrowser(platformId);
|
|
1179
|
+
}
|
|
1180
|
+
// --------------------------------------------------------------------------
|
|
1181
|
+
//
|
|
1182
|
+
// Public Properties
|
|
1183
|
+
//
|
|
1184
|
+
// --------------------------------------------------------------------------
|
|
1185
|
+
get isPlatformServer() {
|
|
1186
|
+
return this._isPlatformServer;
|
|
1187
|
+
}
|
|
1188
|
+
get isPlatformBrowser() {
|
|
1189
|
+
return this._isPlatformBrowser;
|
|
1190
|
+
}
|
|
1191
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1192
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, providedIn: 'root' });
|
|
1193
|
+
}
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PlatformService, decorators: [{
|
|
1195
|
+
type: Injectable,
|
|
1196
|
+
args: [{ providedIn: 'root' }]
|
|
1197
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1198
|
+
type: Inject,
|
|
1199
|
+
args: [PLATFORM_ID]
|
|
1200
|
+
}] }] });
|
|
1132
1201
|
|
|
1133
1202
|
class CookieModule {
|
|
1134
1203
|
// --------------------------------------------------------------------------
|
|
@@ -1146,20 +1215,20 @@ class CookieModule {
|
|
|
1146
1215
|
},
|
|
1147
1216
|
{
|
|
1148
1217
|
provide: CookieService,
|
|
1149
|
-
deps: [
|
|
1218
|
+
deps: [DOCUMENT, COOKIE_OPTIONS, PlatformService],
|
|
1150
1219
|
useFactory: cookieServiceFactory
|
|
1151
1220
|
}
|
|
1152
1221
|
]
|
|
1153
1222
|
};
|
|
1154
1223
|
}
|
|
1155
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1156
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
1157
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
1224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1225
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: CookieModule });
|
|
1226
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule });
|
|
1158
1227
|
}
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule, decorators: [{
|
|
1160
1229
|
type: NgModule
|
|
1161
1230
|
}] });
|
|
1162
|
-
function cookieServiceFactory(
|
|
1231
|
+
function cookieServiceFactory(document, options, platform) {
|
|
1163
1232
|
options = _.assign({
|
|
1164
1233
|
path: '/',
|
|
1165
1234
|
domain: null,
|
|
@@ -1167,7 +1236,7 @@ function cookieServiceFactory(nativeWindow, options) {
|
|
|
1167
1236
|
secure: false,
|
|
1168
1237
|
httpOnly: false
|
|
1169
1238
|
}, options);
|
|
1170
|
-
return new CookieService(options,
|
|
1239
|
+
return new CookieService(document, options, platform.isPlatformBrowser);
|
|
1171
1240
|
}
|
|
1172
1241
|
const COOKIE_OPTIONS = new InjectionToken(`COOKIE_OPTIONS`);
|
|
1173
1242
|
|
|
@@ -1374,10 +1443,10 @@ class AspectRatioResizeDirective extends DestroyableContainer {
|
|
|
1374
1443
|
get ratio() {
|
|
1375
1444
|
return this._ratio;
|
|
1376
1445
|
}
|
|
1377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1378
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
1446
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1447
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: AspectRatioResizeDirective, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: ["ratio", "ratio", numberAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
1379
1448
|
}
|
|
1380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
|
|
1381
1450
|
type: Directive,
|
|
1382
1451
|
args: [{
|
|
1383
1452
|
selector: '[vi-aspect-ratio]'
|
|
@@ -1493,10 +1562,10 @@ class ScrollDirective extends Destroyable {
|
|
|
1493
1562
|
get scrollValue() {
|
|
1494
1563
|
return this._scrollValue;
|
|
1495
1564
|
}
|
|
1496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1497
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
1565
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1566
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ScrollDirective, selector: "[vi-scroll]", inputs: { scrollValue: ["scrollValue", "scrollValue", numberAttribute] }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
1498
1567
|
}
|
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollDirective, decorators: [{
|
|
1500
1569
|
type: Directive,
|
|
1501
1570
|
args: [{
|
|
1502
1571
|
selector: '[vi-scroll]'
|
|
@@ -1563,10 +1632,10 @@ class InfiniteScrollDirective extends ScrollDirective {
|
|
|
1563
1632
|
get scrollHeight() {
|
|
1564
1633
|
return this.element.scrollHeight;
|
|
1565
1634
|
}
|
|
1566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1567
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
1635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1636
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: InfiniteScrollDirective, selector: "[vi-infinite-scroll]", inputs: { elementHeight: ["elementHeight", "elementHeight", numberAttribute] }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
|
|
1568
1637
|
}
|
|
1569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
|
|
1570
1639
|
type: Directive,
|
|
1571
1640
|
args: [{
|
|
1572
1641
|
selector: '[vi-infinite-scroll]'
|
|
@@ -1681,10 +1750,10 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
1681
1750
|
this.isScrollLocked = true;
|
|
1682
1751
|
this.scrollCheck();
|
|
1683
1752
|
}
|
|
1684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1685
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
1753
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1754
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: AutoScrollBottomDirective, selector: "[vi-auto-scroll-bottom]", inputs: { behavior: "behavior", trigger: ["vi-auto-scroll-bottom", "trigger"] }, outputs: { triggerChanged: "triggerChanged" }, usesInheritance: true, ngImport: i0 });
|
|
1686
1755
|
}
|
|
1687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
|
|
1688
1757
|
type: Directive,
|
|
1689
1758
|
args: [{
|
|
1690
1759
|
selector: '[vi-auto-scroll-bottom]'
|
|
@@ -1730,10 +1799,10 @@ class ClickToCopyDirective extends Destroyable {
|
|
|
1730
1799
|
this.element = null;
|
|
1731
1800
|
clearTimeout(this.selectionClearTimer);
|
|
1732
1801
|
}
|
|
1733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1734
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
1802
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1803
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ClickToCopyDirective, selector: "[vi-click-to-copy]", inputs: { element: ["vi-click-to-copy", "element"] }, host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
1735
1804
|
}
|
|
1736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToCopyDirective, decorators: [{
|
|
1737
1806
|
type: Directive,
|
|
1738
1807
|
args: [{
|
|
1739
1808
|
selector: '[vi-click-to-copy]'
|
|
@@ -1784,10 +1853,10 @@ class ClickToSelectDirective extends Destroyable {
|
|
|
1784
1853
|
super.destroy();
|
|
1785
1854
|
this.element = null;
|
|
1786
1855
|
}
|
|
1787
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1788
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
1856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1857
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ClickToSelectDirective, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
1789
1858
|
}
|
|
1790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToSelectDirective, decorators: [{
|
|
1791
1860
|
type: Directive,
|
|
1792
1861
|
args: [{
|
|
1793
1862
|
selector: '[vi-click-to-select]'
|
|
@@ -1891,10 +1960,10 @@ class FocusDirective extends Destroyable {
|
|
|
1891
1960
|
set trigger(value) {
|
|
1892
1961
|
this.focus();
|
|
1893
1962
|
}
|
|
1894
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1895
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
1963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1964
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: FocusDirective, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
|
|
1896
1965
|
}
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FocusDirective, decorators: [{
|
|
1898
1967
|
type: Directive,
|
|
1899
1968
|
args: [{
|
|
1900
1969
|
selector: '[vi-focus]'
|
|
@@ -1935,10 +2004,10 @@ class SelectOnFocusDirective extends Destroyable {
|
|
|
1935
2004
|
super.destroy();
|
|
1936
2005
|
this.element = null;
|
|
1937
2006
|
}
|
|
1938
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
1939
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2007
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2008
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: SelectOnFocusDirective, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
1940
2009
|
}
|
|
1941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
|
|
1942
2011
|
type: Directive,
|
|
1943
2012
|
args: [{
|
|
1944
2013
|
selector: '[vi-select-on-focus]'
|
|
@@ -2002,10 +2071,10 @@ class ResizeDirective extends Destroyable {
|
|
|
2002
2071
|
this.interactable = null;
|
|
2003
2072
|
}
|
|
2004
2073
|
}
|
|
2005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2006
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
2074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2075
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ResizeDirective, selector: "[vi-resize]", inputs: { isTop: ["isTop", "isTop", booleanAttribute], isLeft: ["isLeft", "isLeft", booleanAttribute], isRight: ["isRight", "isRight", booleanAttribute], isBottom: ["isBottom", "isBottom", booleanAttribute] }, outputs: { resized: "resized" }, usesInheritance: true, ngImport: i0 });
|
|
2007
2076
|
}
|
|
2008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ResizeDirective, decorators: [{
|
|
2009
2078
|
type: Directive,
|
|
2010
2079
|
args: [{
|
|
2011
2080
|
selector: '[vi-resize]'
|
|
@@ -2180,10 +2249,10 @@ class ScrollCheckDirective extends DestroyableContainer {
|
|
|
2180
2249
|
get scrollLimit() {
|
|
2181
2250
|
return this._scrollLimit;
|
|
2182
2251
|
}
|
|
2183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2184
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
2252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2253
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ScrollCheckDirective, selector: "[vi-scroll-check]", inputs: { delay: ["delay", "delay", numberAttribute], offset: ["offset", "offset", numberAttribute], scrollLimit: ["vi-scroll-check", "scrollLimit"] }, outputs: { top: "top", bottom: "bottom", limitExceed: "limitExceed" }, usesInheritance: true, ngImport: i0 });
|
|
2185
2254
|
}
|
|
2186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollCheckDirective, decorators: [{
|
|
2187
2256
|
type: Directive,
|
|
2188
2257
|
args: [{
|
|
2189
2258
|
selector: '[vi-scroll-check]'
|
|
@@ -2276,10 +2345,10 @@ class LanguagePipe extends DestroyableContainer {
|
|
|
2276
2345
|
this.lastParams = null;
|
|
2277
2346
|
this.lastValue = null;
|
|
2278
2347
|
}
|
|
2279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2280
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
2348
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2349
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipe, name: "viTranslate", pure: false });
|
|
2281
2350
|
}
|
|
2282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipe, decorators: [{
|
|
2283
2352
|
type: Pipe,
|
|
2284
2353
|
args: [{
|
|
2285
2354
|
name: 'viTranslate',
|
|
@@ -2341,10 +2410,10 @@ class HTMLTitleDirective extends Destroyable {
|
|
|
2341
2410
|
get value() {
|
|
2342
2411
|
return this._value;
|
|
2343
2412
|
}
|
|
2344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2345
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2413
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2414
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2346
2415
|
}
|
|
2347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2348
2417
|
type: Directive,
|
|
2349
2418
|
args: [{
|
|
2350
2419
|
selector: '[vi-html-title]'
|
|
@@ -2409,10 +2478,10 @@ class HTMLContentTitleDirective extends Destroyable {
|
|
|
2409
2478
|
get value() {
|
|
2410
2479
|
return this._value;
|
|
2411
2480
|
}
|
|
2412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2413
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2481
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2482
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2414
2483
|
}
|
|
2415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
|
|
2416
2485
|
type: Directive,
|
|
2417
2486
|
args: [{
|
|
2418
2487
|
selector: '[vi-html-content-title]'
|
|
@@ -2422,46 +2491,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
2422
2491
|
args: ['vi-html-content-title']
|
|
2423
2492
|
}] } });
|
|
2424
2493
|
|
|
2425
|
-
class PlatformService extends DestroyableContainer {
|
|
2426
|
-
// --------------------------------------------------------------------------
|
|
2427
|
-
//
|
|
2428
|
-
// Constants
|
|
2429
|
-
//
|
|
2430
|
-
// --------------------------------------------------------------------------
|
|
2431
|
-
_isPlatformServer;
|
|
2432
|
-
_isPlatformBrowser;
|
|
2433
|
-
// --------------------------------------------------------------------------
|
|
2434
|
-
//
|
|
2435
|
-
// Constructor
|
|
2436
|
-
//
|
|
2437
|
-
// --------------------------------------------------------------------------
|
|
2438
|
-
constructor(platformId) {
|
|
2439
|
-
super();
|
|
2440
|
-
this._isPlatformServer = isPlatformServer(platformId);
|
|
2441
|
-
this._isPlatformBrowser = isPlatformBrowser(platformId);
|
|
2442
|
-
}
|
|
2443
|
-
// --------------------------------------------------------------------------
|
|
2444
|
-
//
|
|
2445
|
-
// Public Properties
|
|
2446
|
-
//
|
|
2447
|
-
// --------------------------------------------------------------------------
|
|
2448
|
-
get isPlatformServer() {
|
|
2449
|
-
return this._isPlatformServer;
|
|
2450
|
-
}
|
|
2451
|
-
get isPlatformBrowser() {
|
|
2452
|
-
return this._isPlatformBrowser;
|
|
2453
|
-
}
|
|
2454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2455
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: PlatformService, providedIn: 'root' });
|
|
2456
|
-
}
|
|
2457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: PlatformService, decorators: [{
|
|
2458
|
-
type: Injectable,
|
|
2459
|
-
args: [{ providedIn: 'root' }]
|
|
2460
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2461
|
-
type: Inject,
|
|
2462
|
-
args: [PLATFORM_ID]
|
|
2463
|
-
}] }] });
|
|
2464
|
-
|
|
2465
2494
|
class IsBrowserDirective extends StructureDirective {
|
|
2466
2495
|
// --------------------------------------------------------------------------
|
|
2467
2496
|
//
|
|
@@ -2472,10 +2501,10 @@ class IsBrowserDirective extends StructureDirective {
|
|
|
2472
2501
|
super(templateRef, container);
|
|
2473
2502
|
this.isNeedAdd = platform.isPlatformBrowser;
|
|
2474
2503
|
}
|
|
2475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2476
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2504
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2505
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: IsBrowserDirective, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
|
|
2477
2506
|
}
|
|
2478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsBrowserDirective, decorators: [{
|
|
2479
2508
|
type: Directive,
|
|
2480
2509
|
args: [{
|
|
2481
2510
|
selector: '[viIsBrowser]'
|
|
@@ -2492,10 +2521,10 @@ class IsServerDirective extends StructureDirective {
|
|
|
2492
2521
|
super(templateRef, container);
|
|
2493
2522
|
this.isNeedAdd = platform.isPlatformServer;
|
|
2494
2523
|
}
|
|
2495
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2496
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2525
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: IsServerDirective, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
|
|
2497
2526
|
}
|
|
2498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsServerDirective, decorators: [{
|
|
2499
2528
|
type: Directive,
|
|
2500
2529
|
args: [{
|
|
2501
2530
|
selector: '[viIsServer]'
|
|
@@ -2528,10 +2557,10 @@ class LanguagePipePure extends DestroyableContainer {
|
|
|
2528
2557
|
super.destroy();
|
|
2529
2558
|
this.language = null;
|
|
2530
2559
|
}
|
|
2531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2532
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
2560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipePure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2561
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipePure, name: "viTranslatePure" });
|
|
2533
2562
|
}
|
|
2534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipePure, decorators: [{
|
|
2535
2564
|
type: Pipe,
|
|
2536
2565
|
args: [{
|
|
2537
2566
|
name: 'viTranslatePure'
|
|
@@ -2582,10 +2611,10 @@ class LanguageResolver extends LanguageRequireResolver {
|
|
|
2582
2611
|
constructor(language) {
|
|
2583
2612
|
super(language);
|
|
2584
2613
|
}
|
|
2585
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2586
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
2614
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageResolver, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2615
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageResolver, providedIn: 'root' });
|
|
2587
2616
|
}
|
|
2588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageResolver, decorators: [{
|
|
2589
2618
|
type: Injectable,
|
|
2590
2619
|
args: [{ providedIn: 'root' }]
|
|
2591
2620
|
}], ctorParameters: () => [{ type: i1.LanguageService }] });
|
|
@@ -2668,10 +2697,10 @@ class LanguageDirective extends Destroyable {
|
|
|
2668
2697
|
get params() {
|
|
2669
2698
|
return this._params;
|
|
2670
2699
|
}
|
|
2671
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2672
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
2700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2701
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: LanguageDirective, selector: "[vi-translate]", inputs: { isNeedTitle: ["isNeedTitle", "isNeedTitle", booleanAttribute], key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
|
|
2673
2702
|
}
|
|
2674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageDirective, decorators: [{
|
|
2675
2704
|
type: Directive,
|
|
2676
2705
|
args: [{
|
|
2677
2706
|
selector: '[vi-translate]'
|
|
@@ -2733,10 +2762,10 @@ class LanguagePipeHas extends DestroyableContainer {
|
|
|
2733
2762
|
this.language = null;
|
|
2734
2763
|
this.key = null;
|
|
2735
2764
|
}
|
|
2736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2737
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
2765
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHas, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2766
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHas, name: "viTranslateHas", pure: false });
|
|
2738
2767
|
}
|
|
2739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHas, decorators: [{
|
|
2740
2769
|
type: Pipe,
|
|
2741
2770
|
args: [{
|
|
2742
2771
|
name: 'viTranslateHas',
|
|
@@ -2770,10 +2799,10 @@ class LanguagePipeHasPure extends DestroyableContainer {
|
|
|
2770
2799
|
super.destroy();
|
|
2771
2800
|
this.language = null;
|
|
2772
2801
|
}
|
|
2773
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2774
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
2802
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHasPure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2803
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHasPure, name: "viTranslateHasPure" });
|
|
2775
2804
|
}
|
|
2776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguagePipeHasPure, decorators: [{
|
|
2777
2806
|
type: Pipe,
|
|
2778
2807
|
args: [{
|
|
2779
2808
|
name: 'viTranslateHasPure',
|
|
@@ -2846,10 +2875,10 @@ class LanguageHasDirective extends StructureDirective {
|
|
|
2846
2875
|
get viTranslateHasIsOnlyIfNotEmpty() {
|
|
2847
2876
|
return this._isOnlyIfNotEmpty;
|
|
2848
2877
|
}
|
|
2849
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2850
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
2878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageHasDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2879
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: LanguageHasDirective, selector: "[viTranslateHas]", inputs: { viTranslateHas: "viTranslateHas", viTranslateHasIsOnlyIfNotEmpty: "viTranslateHasIsOnlyIfNotEmpty" }, usesInheritance: true, ngImport: i0 });
|
|
2851
2880
|
}
|
|
2852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageHasDirective, decorators: [{
|
|
2853
2882
|
type: Directive,
|
|
2854
2883
|
args: [{
|
|
2855
2884
|
selector: '[viTranslateHas]'
|
|
@@ -2890,11 +2919,11 @@ class LanguageModule {
|
|
|
2890
2919
|
]
|
|
2891
2920
|
};
|
|
2892
2921
|
}
|
|
2893
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
2894
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
2895
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
2922
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2923
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: LanguageModule, declarations: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective], imports: [CookieModule], exports: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective] });
|
|
2924
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageModule, imports: [CookieModule] });
|
|
2896
2925
|
}
|
|
2897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
2926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageModule, decorators: [{
|
|
2898
2927
|
type: NgModule,
|
|
2899
2928
|
args: [{
|
|
2900
2929
|
imports: [CookieModule],
|
|
@@ -3057,8 +3086,8 @@ class LoginBaseService extends Loadable {
|
|
|
3057
3086
|
if (this.isDestroyed) {
|
|
3058
3087
|
return;
|
|
3059
3088
|
}
|
|
3060
|
-
super.destroy();
|
|
3061
3089
|
this.reset();
|
|
3090
|
+
super.destroy();
|
|
3062
3091
|
}
|
|
3063
3092
|
// --------------------------------------------------------------------------
|
|
3064
3093
|
//
|
|
@@ -3158,10 +3187,10 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
3158
3187
|
canActivate(route, state) {
|
|
3159
3188
|
return this.isLoggedIn() ? true : this.router.parseUrl(LoginGuard.redirectUrl);
|
|
3160
3189
|
}
|
|
3161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3162
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3191
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
3163
3192
|
}
|
|
3164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginGuard, decorators: [{
|
|
3165
3194
|
type: Injectable,
|
|
3166
3195
|
args: [{ providedIn: 'root' }]
|
|
3167
3196
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3194,10 +3223,10 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
3194
3223
|
canActivate(route, state) {
|
|
3195
3224
|
return !this.isLoggedIn() ? true : this.router.parseUrl(LoginNotGuard.redirectUrl);
|
|
3196
3225
|
}
|
|
3197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3198
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3227
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
3199
3228
|
}
|
|
3200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
3201
3230
|
type: Injectable,
|
|
3202
3231
|
args: [{ providedIn: 'root' }]
|
|
3203
3232
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3243,10 +3272,10 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
3243
3272
|
}
|
|
3244
3273
|
return super.canActivate(route, state);
|
|
3245
3274
|
}
|
|
3246
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3247
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3275
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3276
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
3248
3277
|
}
|
|
3249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
3250
3279
|
type: Injectable,
|
|
3251
3280
|
args: [{ providedIn: 'root' }]
|
|
3252
3281
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3263,10 +3292,10 @@ class LoginResolver extends LoginRequireResolver {
|
|
|
3263
3292
|
constructor(login) {
|
|
3264
3293
|
super(login);
|
|
3265
3294
|
}
|
|
3266
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3267
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
3295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginResolver, deps: [{ token: LoginBaseService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3296
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginResolver, providedIn: 'root' });
|
|
3268
3297
|
}
|
|
3269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LoginResolver, decorators: [{
|
|
3270
3299
|
type: Injectable,
|
|
3271
3300
|
args: [{ providedIn: 'root' }]
|
|
3272
3301
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3311,6 +3340,9 @@ class ValueStorage extends DestroyableContainer {
|
|
|
3311
3340
|
//
|
|
3312
3341
|
//--------------------------------------------------------------------------
|
|
3313
3342
|
get(defaultValue) {
|
|
3343
|
+
if (this.isDestroyed) {
|
|
3344
|
+
return null;
|
|
3345
|
+
}
|
|
3314
3346
|
let item = null;
|
|
3315
3347
|
if (this.storage.has(this.name)) {
|
|
3316
3348
|
item = this.storage.get(this.name);
|
|
@@ -3321,9 +3353,15 @@ class ValueStorage extends DestroyableContainer {
|
|
|
3321
3353
|
return !_.isNil(item) ? this.serialize(item) : defaultValue;
|
|
3322
3354
|
}
|
|
3323
3355
|
has() {
|
|
3356
|
+
if (this.isDestroyed) {
|
|
3357
|
+
return false;
|
|
3358
|
+
}
|
|
3324
3359
|
return this.storage.has(this.name) || this.cookies.has(this.name);
|
|
3325
3360
|
}
|
|
3326
3361
|
set(value) {
|
|
3362
|
+
if (this.isDestroyed) {
|
|
3363
|
+
return null;
|
|
3364
|
+
}
|
|
3327
3365
|
let item = !_.isNil(value) ? this.deserialize(value) : null;
|
|
3328
3366
|
this.cookies.put(this.name, item);
|
|
3329
3367
|
this.storage.set(this.name, item);
|
|
@@ -3359,8 +3397,8 @@ class LoginTokenStorage extends ValueStorage {
|
|
|
3359
3397
|
// Constructor
|
|
3360
3398
|
//
|
|
3361
3399
|
//--------------------------------------------------------------------------
|
|
3362
|
-
constructor(
|
|
3363
|
-
super(LoginTokenStorage.TOKEN_KEY,
|
|
3400
|
+
constructor(local, cookies) {
|
|
3401
|
+
super(LoginTokenStorage.TOKEN_KEY, local, cookies);
|
|
3364
3402
|
}
|
|
3365
3403
|
}
|
|
3366
3404
|
|
|
@@ -4091,10 +4129,10 @@ class PrettifyPipe {
|
|
|
4091
4129
|
//
|
|
4092
4130
|
// --------------------------------------------------------------------------
|
|
4093
4131
|
constructor() { }
|
|
4094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4095
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4133
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: PrettifyPipe, name: "viPrettify" });
|
|
4096
4134
|
}
|
|
4097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: PrettifyPipe, decorators: [{
|
|
4098
4136
|
type: Pipe,
|
|
4099
4137
|
args: [{
|
|
4100
4138
|
name: 'viPrettify'
|
|
@@ -4110,10 +4148,10 @@ class CamelCasePipe {
|
|
|
4110
4148
|
transform(value) {
|
|
4111
4149
|
return !_.isNil(value) ? _.camelCase(value) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4112
4150
|
}
|
|
4113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4114
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CamelCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4152
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: CamelCasePipe, name: "viCamelCase" });
|
|
4115
4153
|
}
|
|
4116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CamelCasePipe, decorators: [{
|
|
4117
4155
|
type: Pipe,
|
|
4118
4156
|
args: [{
|
|
4119
4157
|
name: 'viCamelCase'
|
|
@@ -4159,10 +4197,10 @@ class FinancePipe {
|
|
|
4159
4197
|
}
|
|
4160
4198
|
return FinancePipe.format(value, format);
|
|
4161
4199
|
}
|
|
4162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4163
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FinancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4201
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: FinancePipe, name: "viFinance" });
|
|
4164
4202
|
}
|
|
4165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FinancePipe, decorators: [{
|
|
4166
4204
|
type: Pipe,
|
|
4167
4205
|
args: [{
|
|
4168
4206
|
name: 'viFinance'
|
|
@@ -4225,10 +4263,10 @@ class MomentDatePipe {
|
|
|
4225
4263
|
let moment = MomentDatePipe.parseMoment(value);
|
|
4226
4264
|
return moment.format(format || MomentDatePipe.DEFAULT_FORMAT);
|
|
4227
4265
|
}
|
|
4228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4229
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4266
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4267
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: MomentDatePipe, name: "viMomentDate" });
|
|
4230
4268
|
}
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDatePipe, decorators: [{
|
|
4232
4270
|
type: Pipe,
|
|
4233
4271
|
args: [{
|
|
4234
4272
|
name: 'viMomentDate'
|
|
@@ -4271,10 +4309,10 @@ class MomentDateAdaptivePipe {
|
|
|
4271
4309
|
}
|
|
4272
4310
|
return item.format(format);
|
|
4273
4311
|
}
|
|
4274
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4275
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDateAdaptivePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4313
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: MomentDateAdaptivePipe, name: "viMomentAdaptiveDate" });
|
|
4276
4314
|
}
|
|
4277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDateAdaptivePipe, decorators: [{
|
|
4278
4316
|
type: Pipe,
|
|
4279
4317
|
args: [{
|
|
4280
4318
|
name: 'viMomentAdaptiveDate'
|
|
@@ -4290,10 +4328,10 @@ class MomentDateFromNowPipe {
|
|
|
4290
4328
|
transform(value, format) {
|
|
4291
4329
|
return MomentDatePipe.fromNow(value, format);
|
|
4292
4330
|
}
|
|
4293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4294
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDateFromNowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4332
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: MomentDateFromNowPipe, name: "viMomentDateFromNow" });
|
|
4295
4333
|
}
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentDateFromNowPipe, decorators: [{
|
|
4297
4335
|
type: Pipe,
|
|
4298
4336
|
args: [{
|
|
4299
4337
|
name: 'viMomentDateFromNow'
|
|
@@ -4321,10 +4359,10 @@ class MomentTimePipe {
|
|
|
4321
4359
|
.add(timeMilliseconds, 'milliseconds')
|
|
4322
4360
|
.format(format || MomentTimePipe.DEFAULT_FORMAT);
|
|
4323
4361
|
}
|
|
4324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4325
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4363
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: MomentTimePipe, name: "viMomentTime" });
|
|
4326
4364
|
}
|
|
4327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: MomentTimePipe, decorators: [{
|
|
4328
4366
|
type: Pipe,
|
|
4329
4367
|
args: [{
|
|
4330
4368
|
name: 'viMomentTime'
|
|
@@ -4360,10 +4398,10 @@ class NgModelErrorPipe {
|
|
|
4360
4398
|
constructor(language) {
|
|
4361
4399
|
this.language = language;
|
|
4362
4400
|
}
|
|
4363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4364
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: NgModelErrorPipe, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4402
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: NgModelErrorPipe, name: "viNgModelError" });
|
|
4365
4403
|
}
|
|
4366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: NgModelErrorPipe, decorators: [{
|
|
4367
4405
|
type: Pipe,
|
|
4368
4406
|
args: [{
|
|
4369
4407
|
name: 'viNgModelError'
|
|
@@ -4404,10 +4442,10 @@ class SanitizePipe {
|
|
|
4404
4442
|
throw new Error('Invalid safe type specified: ' + type);
|
|
4405
4443
|
}
|
|
4406
4444
|
}
|
|
4407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4408
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SanitizePipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4446
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: SanitizePipe, name: "viSanitize" });
|
|
4409
4447
|
}
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SanitizePipe, decorators: [{
|
|
4411
4449
|
type: Pipe,
|
|
4412
4450
|
args: [{
|
|
4413
4451
|
name: 'viSanitize'
|
|
@@ -4423,10 +4461,10 @@ class StartCasePipe {
|
|
|
4423
4461
|
transform(value) {
|
|
4424
4462
|
return !_.isEmpty(value) ? value.charAt(0).toUpperCase() + value.slice(1) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4425
4463
|
}
|
|
4426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4427
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: StartCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4465
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: StartCasePipe, name: "viStartCase" });
|
|
4428
4466
|
}
|
|
4429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: StartCasePipe, decorators: [{
|
|
4430
4468
|
type: Pipe,
|
|
4431
4469
|
args: [{
|
|
4432
4470
|
name: 'viStartCase'
|
|
@@ -4442,10 +4480,10 @@ class TruncatePipe {
|
|
|
4442
4480
|
transform(value, maxLength) {
|
|
4443
4481
|
return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4444
4482
|
}
|
|
4445
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4446
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4484
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, name: "viTruncate" });
|
|
4447
4485
|
}
|
|
4448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
4449
4487
|
type: Pipe,
|
|
4450
4488
|
args: [{
|
|
4451
4489
|
name: 'viTruncate'
|
|
@@ -4474,10 +4512,10 @@ class TimePipe {
|
|
|
4474
4512
|
}
|
|
4475
4513
|
return FinancePipe.format(milliseconds / DateUtil.MILLISECONDS_SECOND, format);
|
|
4476
4514
|
}
|
|
4477
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4478
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
4515
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4516
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, name: "viTime" });
|
|
4479
4517
|
}
|
|
4480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TimePipe, decorators: [{
|
|
4481
4519
|
type: Pipe,
|
|
4482
4520
|
args: [{
|
|
4483
4521
|
name: 'viTime'
|
|
@@ -5070,10 +5108,10 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
5070
5108
|
this.stylePropertiesCheck();
|
|
5071
5109
|
}
|
|
5072
5110
|
}
|
|
5073
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5074
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5111
|
+
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 });
|
|
5112
|
+
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 });
|
|
5075
5113
|
}
|
|
5076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
5077
5115
|
type: Directive,
|
|
5078
5116
|
args: [{
|
|
5079
5117
|
selector: '[vi-theme-style]'
|
|
@@ -5173,10 +5211,10 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
5173
5211
|
set flags(value) {
|
|
5174
5212
|
super.flags = value;
|
|
5175
5213
|
}
|
|
5176
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5177
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5214
|
+
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 });
|
|
5215
|
+
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 });
|
|
5178
5216
|
}
|
|
5179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
5180
5218
|
type: Directive,
|
|
5181
5219
|
args: [{
|
|
5182
5220
|
selector: '[vi-theme-style-hover]'
|
|
@@ -5404,10 +5442,10 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
5404
5442
|
this._extension = value;
|
|
5405
5443
|
this.setSourceProperties();
|
|
5406
5444
|
}
|
|
5407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5408
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
5445
|
+
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 });
|
|
5446
|
+
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 });
|
|
5409
5447
|
}
|
|
5410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
5411
5449
|
type: Directive
|
|
5412
5450
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { errorLoadingHandler: [{
|
|
5413
5451
|
type: HostListener,
|
|
@@ -5469,10 +5507,10 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
5469
5507
|
get name() {
|
|
5470
5508
|
return super.name;
|
|
5471
5509
|
}
|
|
5472
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5473
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5510
|
+
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 });
|
|
5511
|
+
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 });
|
|
5474
5512
|
}
|
|
5475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
5476
5514
|
type: Directive,
|
|
5477
5515
|
args: [{
|
|
5478
5516
|
selector: '[vi-theme-background]'
|
|
@@ -5514,10 +5552,10 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
5514
5552
|
get name() {
|
|
5515
5553
|
return super.name;
|
|
5516
5554
|
}
|
|
5517
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5518
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5555
|
+
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 });
|
|
5556
|
+
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 });
|
|
5519
5557
|
}
|
|
5520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
5521
5559
|
type: Directive,
|
|
5522
5560
|
args: [{
|
|
5523
5561
|
selector: '[vi-theme-image]'
|
|
@@ -5558,10 +5596,10 @@ class ThemeAssetIconDirective extends ThemeAssetDirective {
|
|
|
5558
5596
|
get name() {
|
|
5559
5597
|
return super.name;
|
|
5560
5598
|
}
|
|
5561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5562
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5599
|
+
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 });
|
|
5600
|
+
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 });
|
|
5563
5601
|
}
|
|
5564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
|
|
5565
5603
|
type: Directive,
|
|
5566
5604
|
args: [{
|
|
5567
5605
|
selector: '[vi-theme-icon]'
|
|
@@ -5617,10 +5655,10 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
5617
5655
|
super.destroy();
|
|
5618
5656
|
this.theme = null;
|
|
5619
5657
|
}
|
|
5620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5621
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
5658
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5659
|
+
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 });
|
|
5622
5660
|
}
|
|
5623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
5624
5662
|
type: Directive,
|
|
5625
5663
|
args: [{
|
|
5626
5664
|
selector: '[vi-theme-toggle]'
|
|
@@ -5665,8 +5703,8 @@ class ThemeModule {
|
|
|
5665
5703
|
]
|
|
5666
5704
|
};
|
|
5667
5705
|
}
|
|
5668
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5669
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
5706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5707
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
|
|
5670
5708
|
ThemeAssetImageDirective,
|
|
5671
5709
|
ThemeAssetIconDirective,
|
|
5672
5710
|
ThemeAssetBackgroundDirective,
|
|
@@ -5677,9 +5715,9 @@ class ThemeModule {
|
|
|
5677
5715
|
ThemeAssetBackgroundDirective,
|
|
5678
5716
|
ThemeStyleDirective,
|
|
5679
5717
|
ThemeStyleHoverDirective] });
|
|
5680
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
5718
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
|
|
5681
5719
|
}
|
|
5682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ThemeModule, decorators: [{
|
|
5683
5721
|
type: NgModule,
|
|
5684
5722
|
args: [{
|
|
5685
5723
|
imports: [CookieModule],
|
|
@@ -6382,10 +6420,10 @@ class IWindowContent extends DestroyableContainer {
|
|
|
6382
6420
|
this.commitWindowProperties();
|
|
6383
6421
|
}
|
|
6384
6422
|
}
|
|
6385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6386
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.
|
|
6423
|
+
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 });
|
|
6424
|
+
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 });
|
|
6387
6425
|
}
|
|
6388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IWindowContent, decorators: [{
|
|
6389
6427
|
type: Component,
|
|
6390
6428
|
args: [{ template: '' }]
|
|
6391
6429
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -6561,10 +6599,10 @@ class INotificationContent extends DestroyableContainer {
|
|
|
6561
6599
|
get config() {
|
|
6562
6600
|
return this._config;
|
|
6563
6601
|
}
|
|
6564
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6565
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
6602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: INotificationContent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6603
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: INotificationContent, selector: "ng-component", inputs: { config: "config" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
6566
6604
|
}
|
|
6567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: INotificationContent, decorators: [{
|
|
6568
6606
|
type: Component,
|
|
6569
6607
|
args: [{ template: '' }]
|
|
6570
6608
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { config: [{
|
|
@@ -6806,10 +6844,10 @@ class LazyModuleLoader extends Loadable {
|
|
|
6806
6844
|
get modules() {
|
|
6807
6845
|
return this._modules;
|
|
6808
6846
|
}
|
|
6809
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6810
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
6847
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LazyModuleLoader, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6848
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LazyModuleLoader, providedIn: 'root' });
|
|
6811
6849
|
}
|
|
6812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LazyModuleLoader, decorators: [{
|
|
6813
6851
|
type: Injectable,
|
|
6814
6852
|
args: [{ providedIn: 'root' }]
|
|
6815
6853
|
}], ctorParameters: () => [{ type: i0.Compiler }, { type: i0.Injector }] });
|
|
@@ -7010,8 +7048,8 @@ class VIModule {
|
|
|
7010
7048
|
]
|
|
7011
7049
|
};
|
|
7012
7050
|
}
|
|
7013
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7014
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
7051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7052
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: VIModule, declarations: [TimePipe,
|
|
7015
7053
|
FinancePipe,
|
|
7016
7054
|
SanitizePipe,
|
|
7017
7055
|
TruncatePipe,
|
|
@@ -7062,9 +7100,9 @@ class VIModule {
|
|
|
7062
7100
|
HTMLContentTitleDirective,
|
|
7063
7101
|
AutoScrollBottomDirective,
|
|
7064
7102
|
AspectRatioResizeDirective] });
|
|
7065
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
7103
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
|
|
7066
7104
|
}
|
|
7067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, decorators: [{
|
|
7068
7106
|
type: NgModule,
|
|
7069
7107
|
args: [{
|
|
7070
7108
|
imports,
|
|
@@ -7091,8 +7129,8 @@ function nativeWindowServiceFactory(document) {
|
|
|
7091
7129
|
function localStorageServiceFactory(nativeWindow) {
|
|
7092
7130
|
return new LocalStorageService(nativeWindow);
|
|
7093
7131
|
}
|
|
7094
|
-
function loginTokenStorageServiceFactory(
|
|
7095
|
-
return new LoginTokenStorage(
|
|
7132
|
+
function loginTokenStorageServiceFactory(local, cookies) {
|
|
7133
|
+
return new LoginTokenStorage(local, cookies);
|
|
7096
7134
|
}
|
|
7097
7135
|
const VI_ANGULAR_OPTIONS = new InjectionToken(`VI_ANGULAR_OPTIONS`);
|
|
7098
7136
|
|