@ts-core/angular 19.0.15 → 21.0.1
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/fesm2022/ts-core-angular.mjs +290 -277
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/package.json +26 -16
- package/types/ts-core-angular.d.ts +1830 -0
- package/ApplicationInjector.d.ts +0 -2
- package/VIModule.d.ts +0 -60
- package/application/ApplicationComponent.d.ts +0 -13
- package/application/ApplicationComponentBase.d.ts +0 -21
- package/application/ApplicationInitializerBase.d.ts +0 -35
- package/application/MessageComponentBase.d.ts +0 -15
- package/asset/AssetBackgroundDirective.d.ts +0 -33
- package/asset/AssetBackgroundPipe.d.ts +0 -7
- package/asset/AssetFilePipe.d.ts +0 -7
- package/asset/AssetIconPipe.d.ts +0 -7
- package/asset/AssetImagePipe.d.ts +0 -7
- package/asset/AssetModule.d.ts +0 -14
- package/asset/AssetSoundPipe.d.ts +0 -7
- package/asset/AssetVideoPipe.d.ts +0 -7
- package/bottomSheet/BottomSheetService.d.ts +0 -21
- package/cookie/CookieModule.d.ts +0 -13
- package/cookie/CookieOptions.d.ts +0 -10
- package/cookie/CookieService.d.ts +0 -13
- package/directive/AspectRatioResizeDirective.d.ts +0 -29
- package/directive/AutoScrollBottomDirective.d.ts +0 -24
- package/directive/ClickToCopyDirective.d.ts +0 -11
- package/directive/ClickToSelectDirective.d.ts +0 -11
- package/directive/FocusDirective.d.ts +0 -12
- package/directive/HTMLContentTitleDirective.d.ts +0 -14
- package/directive/HTMLTitleDirective.d.ts +0 -14
- package/directive/InfiniteScrollDirective.d.ts +0 -15
- package/directive/IsBrowserDirective.d.ts +0 -9
- package/directive/IsServerDirective.d.ts +0 -9
- package/directive/NullEmptyValueDirective.d.ts +0 -9
- package/directive/ResizeDirective.d.ts +0 -20
- package/directive/ScrollCheckDirective.d.ts +0 -24
- package/directive/ScrollDirective.d.ts +0 -24
- package/directive/SelectOnFocusDirective.d.ts +0 -11
- package/directive/StructureDirective.d.ts +0 -13
- package/directive/UppercaseValueDirective.d.ts +0 -9
- package/index.d.ts +0 -5
- package/language/LanguageDirective.d.ts +0 -21
- package/language/LanguageHasDirective.d.ts +0 -18
- package/language/LanguageModule.d.ts +0 -20
- package/language/LanguagePipe.d.ts +0 -18
- package/language/LanguagePipeHas.d.ts +0 -15
- package/language/LanguagePipeHasPure.d.ts +0 -12
- package/language/LanguagePipePure.d.ts +0 -12
- package/language/LanguageRequireResolver.d.ts +0 -4
- package/language/LanguageResolver.d.ts +0 -8
- package/language/LanguageToggleDirective.d.ts +0 -12
- package/list/IListItem.d.ts +0 -12
- package/list/ListItem.d.ts +0 -39
- package/list/ListItems.d.ts +0 -23
- package/list/select/ISelectListItem.d.ts +0 -6
- package/list/select/RouterSelectListItems.d.ts +0 -14
- package/list/select/SelectListItem.d.ts +0 -16
- package/list/select/SelectListItems.d.ts +0 -26
- package/login/LoginGuard.d.ts +0 -12
- package/login/LoginIfCanGuard.d.ts +0 -12
- package/login/LoginNotGuard.d.ts +0 -12
- package/login/LoginRequireResolver.d.ts +0 -8
- package/login/LoginResolver.d.ts +0 -8
- package/login/LoginServiceBase.d.ts +0 -44
- package/login/LoginTokenStorage.d.ts +0 -7
- package/login/Loginable.d.ts +0 -10
- package/manager/FocusManager.d.ts +0 -11
- package/manager/ResizeManager.d.ts +0 -20
- package/menu/MenuItem.d.ts +0 -6
- package/menu/MenuItemBase.d.ts +0 -15
- package/menu/MenuItems.d.ts +0 -20
- package/menu/NavigationMenuItem.d.ts +0 -7
- package/module/LazyModuleLoader.d.ts +0 -23
- package/notification/INotification.d.ts +0 -27
- package/notification/INotificationConfig.d.ts +0 -9
- package/notification/INotificationContent.d.ts +0 -31
- package/notification/NotificationConfig.d.ts +0 -14
- package/notification/NotificationService.d.ts +0 -23
- package/notification/NotificationServiceEvent.d.ts +0 -6
- package/pipe/CamelCasePipe.d.ts +0 -8
- package/pipe/FinancePipe.d.ts +0 -10
- package/pipe/MomentDateAdaptivePipe.d.ts +0 -13
- package/pipe/MomentDateFromNowPipe.d.ts +0 -9
- package/pipe/MomentDatePipe.d.ts +0 -14
- package/pipe/MomentTimePipe.d.ts +0 -9
- package/pipe/NgModelErrorPipe.d.ts +0 -12
- package/pipe/PrettifyPipe.d.ts +0 -9
- package/pipe/SanitizePipe.d.ts +0 -9
- package/pipe/StartCasePipe.d.ts +0 -8
- package/pipe/TimePipe.d.ts +0 -9
- package/pipe/TruncatePipe.d.ts +0 -8
- package/public-api.d.ts +0 -123
- package/question/IQuestion.d.ts +0 -31
- package/question/QuestionManager.d.ts +0 -25
- package/resolver/LoadableResolver.d.ts +0 -9
- package/service/PipeServiceBase.d.ts +0 -44
- package/service/PlatformService.d.ts +0 -11
- package/service/RouterServiceBase.d.ts +0 -46
- package/service/ServiceWorkerService.d.ts +0 -22
- package/service/route/CanDeactivateGuard.d.ts +0 -6
- package/service/route/IRouterDeactivatable.d.ts +0 -5
- package/storage/BooleanValueStorage.d.ts +0 -5
- package/storage/ClassTypeValueStorage.d.ts +0 -10
- package/storage/DateValueStorage.d.ts +0 -11
- package/storage/IValueStorage.d.ts +0 -8
- package/storage/JSONValueStorage.d.ts +0 -5
- package/storage/LocalStorageService.d.ts +0 -12
- package/storage/ValueStorage.d.ts +0 -18
- package/theme/ThemeAssetBackgroundDirective.d.ts +0 -13
- package/theme/ThemeAssetDirective.d.ts +0 -56
- package/theme/ThemeAssetIconDirective.d.ts +0 -13
- package/theme/ThemeAssetImageDirective.d.ts +0 -13
- package/theme/ThemeModule.d.ts +0 -20
- package/theme/ThemeStyleDirective.d.ts +0 -27
- package/theme/ThemeStyleHoverDirective.d.ts +0 -23
- package/theme/ThemeToggleDirective.d.ts +0 -11
- package/transport/TransportLazy.d.ts +0 -13
- package/transport/TransportLazyModule.d.ts +0 -16
- package/transport/TransportLazyModuleLoadedEvent.d.ts +0 -6
- package/user/IUser.d.ts +0 -7
- package/user/UserServiceBase.d.ts +0 -27
- package/util/ViewUtil.d.ts +0 -71
- package/window/IWindow.d.ts +0 -42
- package/window/IWindowConfig.d.ts +0 -43
- package/window/IWindowContent.d.ts +0 -35
- package/window/WindowBase.d.ts +0 -35
- package/window/WindowClosedError.d.ts +0 -6
- package/window/WindowConfig.d.ts +0 -62
- package/window/WindowService.d.ts +0 -21
- package/window/WindowServiceEvent.d.ts +0 -7
|
@@ -184,10 +184,10 @@ class ApplicationComponentBase extends DestroyableContainer {
|
|
|
184
184
|
get isViewReady() {
|
|
185
185
|
return !_.isNil(this.viewReadyPromise) ? this.viewReadyPromise.isResolved : false;
|
|
186
186
|
}
|
|
187
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
188
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ApplicationComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", type: ApplicationComponentBase, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
189
189
|
}
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ApplicationComponentBase, decorators: [{
|
|
191
191
|
type: Component,
|
|
192
192
|
args: [{ template: '' }]
|
|
193
193
|
}], ctorParameters: () => [] });
|
|
@@ -570,7 +570,7 @@ class ViewUtil {
|
|
|
570
570
|
return NaN;
|
|
571
571
|
}
|
|
572
572
|
let value = parseFloat(ViewUtil.getStyle(container, 'minHeight'));
|
|
573
|
-
if (isNaN(value)) {
|
|
573
|
+
if (_.isNaN(value)) {
|
|
574
574
|
value = 0;
|
|
575
575
|
}
|
|
576
576
|
return value;
|
|
@@ -1012,10 +1012,10 @@ class AssetBackgroundDirective extends Destroyable {
|
|
|
1012
1012
|
get background() {
|
|
1013
1013
|
return this._background;
|
|
1014
1014
|
}
|
|
1015
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1016
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
1015
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1016
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: AssetBackgroundDirective, isStandalone: false, 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 });
|
|
1017
1017
|
}
|
|
1018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
|
|
1019
1019
|
type: Directive,
|
|
1020
1020
|
args: [{
|
|
1021
1021
|
selector: '[vi-asset-background]',
|
|
@@ -1048,10 +1048,10 @@ class AssetBackgroundPipe {
|
|
|
1048
1048
|
transform(name, extension = 'png') {
|
|
1049
1049
|
return Assets.getBackground(name, extension);
|
|
1050
1050
|
}
|
|
1051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1052
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1052
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetBackgroundPipe, isStandalone: false, name: "viAssetBackground" });
|
|
1053
1053
|
}
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
|
|
1055
1055
|
type: Pipe,
|
|
1056
1056
|
args: [{
|
|
1057
1057
|
name: 'viAssetBackground',
|
|
@@ -1068,10 +1068,10 @@ class AssetIconPipe {
|
|
|
1068
1068
|
transform(name, extension = 'png') {
|
|
1069
1069
|
return Assets.getIcon(name, extension);
|
|
1070
1070
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1072
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1071
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1072
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetIconPipe, isStandalone: false, name: "viAssetIcon" });
|
|
1073
1073
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetIconPipe, decorators: [{
|
|
1075
1075
|
type: Pipe,
|
|
1076
1076
|
args: [{
|
|
1077
1077
|
name: 'viAssetIcon',
|
|
@@ -1088,10 +1088,10 @@ class AssetFilePipe {
|
|
|
1088
1088
|
transform(name, extension) {
|
|
1089
1089
|
return Assets.getFile(name, extension);
|
|
1090
1090
|
}
|
|
1091
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1092
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1092
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetFilePipe, isStandalone: false, name: "viAssetFile" });
|
|
1093
1093
|
}
|
|
1094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetFilePipe, decorators: [{
|
|
1095
1095
|
type: Pipe,
|
|
1096
1096
|
args: [{
|
|
1097
1097
|
name: 'viAssetFile',
|
|
@@ -1108,10 +1108,10 @@ class AssetVideoPipe {
|
|
|
1108
1108
|
transform(name, extension = 'mp4') {
|
|
1109
1109
|
return Assets.getVideo(name, extension);
|
|
1110
1110
|
}
|
|
1111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1112
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1112
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetVideoPipe, isStandalone: false, name: "viAssetVideo" });
|
|
1113
1113
|
}
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetVideoPipe, decorators: [{
|
|
1115
1115
|
type: Pipe,
|
|
1116
1116
|
args: [{
|
|
1117
1117
|
name: 'viAssetVideo',
|
|
@@ -1128,10 +1128,10 @@ class AssetSoundPipe {
|
|
|
1128
1128
|
transform(name, extension = 'mp3') {
|
|
1129
1129
|
return Assets.getSound(name, extension);
|
|
1130
1130
|
}
|
|
1131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1132
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1132
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetSoundPipe, isStandalone: false, name: "viAssetSound" });
|
|
1133
1133
|
}
|
|
1134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetSoundPipe, decorators: [{
|
|
1135
1135
|
type: Pipe,
|
|
1136
1136
|
args: [{
|
|
1137
1137
|
name: 'viAssetSound',
|
|
@@ -1148,10 +1148,10 @@ class AssetImagePipe {
|
|
|
1148
1148
|
transform(name, extension = 'png') {
|
|
1149
1149
|
return Assets.getImage(name, extension);
|
|
1150
1150
|
}
|
|
1151
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1152
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1152
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetImagePipe, isStandalone: false, name: "viAssetImage" });
|
|
1153
1153
|
}
|
|
1154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetImagePipe, decorators: [{
|
|
1155
1155
|
type: Pipe,
|
|
1156
1156
|
args: [{
|
|
1157
1157
|
name: 'viAssetImage',
|
|
@@ -1161,11 +1161,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1161
1161
|
|
|
1162
1162
|
let declarations$3 = [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective];
|
|
1163
1163
|
class AssetModule {
|
|
1164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1165
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1166
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1165
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
|
|
1166
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetModule, imports: [CommonModule] });
|
|
1167
1167
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AssetModule, decorators: [{
|
|
1169
1169
|
type: NgModule,
|
|
1170
1170
|
args: [{
|
|
1171
1171
|
imports: [CommonModule],
|
|
@@ -1270,10 +1270,10 @@ class PlatformService extends Destroyable {
|
|
|
1270
1270
|
get isPlatformBrowser() {
|
|
1271
1271
|
return this._isPlatformBrowser;
|
|
1272
1272
|
}
|
|
1273
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1274
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1273
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1274
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PlatformService, providedIn: 'root' });
|
|
1275
1275
|
}
|
|
1276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PlatformService, decorators: [{
|
|
1277
1277
|
type: Injectable,
|
|
1278
1278
|
args: [{ providedIn: 'root' }]
|
|
1279
1279
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1303,11 +1303,11 @@ class CookieModule {
|
|
|
1303
1303
|
]
|
|
1304
1304
|
};
|
|
1305
1305
|
}
|
|
1306
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1307
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1308
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1307
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: CookieModule });
|
|
1308
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: CookieModule });
|
|
1309
1309
|
}
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: CookieModule, decorators: [{
|
|
1311
1311
|
type: NgModule
|
|
1312
1312
|
}] });
|
|
1313
1313
|
function cookieServiceFactory(nativeWindow, options, platform) {
|
|
@@ -1525,10 +1525,10 @@ class AspectRatioResizeDirective extends Destroyable {
|
|
|
1525
1525
|
get ratio() {
|
|
1526
1526
|
return this._ratio;
|
|
1527
1527
|
}
|
|
1528
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1529
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
1528
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1529
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: AspectRatioResizeDirective, isStandalone: false, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: ["ratio", "ratio", numberAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
1530
1530
|
}
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
|
|
1532
1532
|
type: Directive,
|
|
1533
1533
|
args: [{
|
|
1534
1534
|
selector: '[vi-aspect-ratio]',
|
|
@@ -1645,10 +1645,10 @@ class ScrollDirective extends Destroyable {
|
|
|
1645
1645
|
get scrollValue() {
|
|
1646
1646
|
return this._scrollValue;
|
|
1647
1647
|
}
|
|
1648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1649
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
1648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1649
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: ScrollDirective, isStandalone: false, selector: "[vi-scroll]", inputs: { scrollValue: ["scrollValue", "scrollValue", numberAttribute] }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
1650
1650
|
}
|
|
1651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ScrollDirective, decorators: [{
|
|
1652
1652
|
type: Directive,
|
|
1653
1653
|
args: [{
|
|
1654
1654
|
selector: '[vi-scroll]',
|
|
@@ -1716,10 +1716,10 @@ class InfiniteScrollDirective extends ScrollDirective {
|
|
|
1716
1716
|
get scrollHeight() {
|
|
1717
1717
|
return this.element.scrollHeight;
|
|
1718
1718
|
}
|
|
1719
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1720
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
1719
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1720
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: InfiniteScrollDirective, isStandalone: false, selector: "[vi-infinite-scroll]", inputs: { elementHeight: ["elementHeight", "elementHeight", numberAttribute] }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
|
|
1721
1721
|
}
|
|
1722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
|
|
1723
1723
|
type: Directive,
|
|
1724
1724
|
args: [{
|
|
1725
1725
|
selector: '[vi-infinite-scroll]',
|
|
@@ -1825,7 +1825,7 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
1825
1825
|
if (value === this._trigger) {
|
|
1826
1826
|
return;
|
|
1827
1827
|
}
|
|
1828
|
-
if (!isNaN(this._trigger) && !isNaN(value)) {
|
|
1828
|
+
if (!_.isNaN(this._trigger) && !_.isNaN(value)) {
|
|
1829
1829
|
this.triggerDelta = value - this._trigger;
|
|
1830
1830
|
}
|
|
1831
1831
|
this._trigger = value;
|
|
@@ -1835,10 +1835,10 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
1835
1835
|
this.isScrollLocked = true;
|
|
1836
1836
|
this.scrollCheck();
|
|
1837
1837
|
}
|
|
1838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1839
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1839
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: AutoScrollBottomDirective, isStandalone: false, selector: "[vi-auto-scroll-bottom]", inputs: { behavior: "behavior", trigger: ["vi-auto-scroll-bottom", "trigger"] }, outputs: { triggerChanged: "triggerChanged" }, usesInheritance: true, ngImport: i0 });
|
|
1840
1840
|
}
|
|
1841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
|
|
1842
1842
|
type: Directive,
|
|
1843
1843
|
args: [{
|
|
1844
1844
|
selector: '[vi-auto-scroll-bottom]',
|
|
@@ -1885,10 +1885,10 @@ class ClickToCopyDirective extends Destroyable {
|
|
|
1885
1885
|
this.element = null;
|
|
1886
1886
|
clearTimeout(this.selectionClearTimer);
|
|
1887
1887
|
}
|
|
1888
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1889
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1888
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1889
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ClickToCopyDirective, isStandalone: false, selector: "[vi-click-to-copy]", inputs: { element: ["vi-click-to-copy", "element"] }, host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
1890
1890
|
}
|
|
1891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ClickToCopyDirective, decorators: [{
|
|
1892
1892
|
type: Directive,
|
|
1893
1893
|
args: [{
|
|
1894
1894
|
selector: '[vi-click-to-copy]',
|
|
@@ -1940,10 +1940,10 @@ class ClickToSelectDirective extends Destroyable {
|
|
|
1940
1940
|
super.destroy();
|
|
1941
1941
|
this.element = null;
|
|
1942
1942
|
}
|
|
1943
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1944
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1944
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ClickToSelectDirective, isStandalone: false, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
1945
1945
|
}
|
|
1946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ClickToSelectDirective, decorators: [{
|
|
1947
1947
|
type: Directive,
|
|
1948
1948
|
args: [{
|
|
1949
1949
|
selector: '[vi-click-to-select]',
|
|
@@ -2048,10 +2048,10 @@ class FocusDirective extends Destroyable {
|
|
|
2048
2048
|
set trigger(value) {
|
|
2049
2049
|
this.focus();
|
|
2050
2050
|
}
|
|
2051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2052
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2052
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: FocusDirective, isStandalone: false, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
|
|
2053
2053
|
}
|
|
2054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: FocusDirective, decorators: [{
|
|
2055
2055
|
type: Directive,
|
|
2056
2056
|
args: [{
|
|
2057
2057
|
selector: '[vi-focus]',
|
|
@@ -2093,10 +2093,10 @@ class SelectOnFocusDirective extends Destroyable {
|
|
|
2093
2093
|
super.destroy();
|
|
2094
2094
|
this.element = null;
|
|
2095
2095
|
}
|
|
2096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2097
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2097
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: SelectOnFocusDirective, isStandalone: false, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
2098
2098
|
}
|
|
2099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
|
|
2100
2100
|
type: Directive,
|
|
2101
2101
|
args: [{
|
|
2102
2102
|
selector: '[vi-select-on-focus]',
|
|
@@ -2161,10 +2161,10 @@ class ResizeDirective extends Destroyable {
|
|
|
2161
2161
|
this.interactable = null;
|
|
2162
2162
|
}
|
|
2163
2163
|
}
|
|
2164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2165
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
2164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2165
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: ResizeDirective, isStandalone: false, 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 });
|
|
2166
2166
|
}
|
|
2167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ResizeDirective, decorators: [{
|
|
2168
2168
|
type: Directive,
|
|
2169
2169
|
args: [{
|
|
2170
2170
|
selector: '[vi-resize]',
|
|
@@ -2253,7 +2253,7 @@ class StructureDirective extends Destroyable {
|
|
|
2253
2253
|
//
|
|
2254
2254
|
//--------------------------------------------------------------------------
|
|
2255
2255
|
set isNeedAdd(value) {
|
|
2256
|
-
if (value
|
|
2256
|
+
if (value === this._isNeedAdd) {
|
|
2257
2257
|
return;
|
|
2258
2258
|
}
|
|
2259
2259
|
this._isNeedAdd = value;
|
|
@@ -2302,9 +2302,9 @@ class ScrollCheckDirective extends Destroyable {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
let offset = !_.isNaN(this.offset) ? this.offset : 0;
|
|
2304
2304
|
value = this.scrollValue + this.clientHeight + offset >= this.scrollHeight;
|
|
2305
|
-
this.bottom.
|
|
2305
|
+
this.bottom.emit(value);
|
|
2306
2306
|
value = this.scrollValue <= offset;
|
|
2307
|
-
this.top.
|
|
2307
|
+
this.top.emit(value);
|
|
2308
2308
|
};
|
|
2309
2309
|
//--------------------------------------------------------------------------
|
|
2310
2310
|
//
|
|
@@ -2331,7 +2331,7 @@ class ScrollCheckDirective extends Destroyable {
|
|
|
2331
2331
|
//
|
|
2332
2332
|
//--------------------------------------------------------------------------
|
|
2333
2333
|
set scrollLimit(value) {
|
|
2334
|
-
if (value
|
|
2334
|
+
if (value === this._scrollLimit) {
|
|
2335
2335
|
return;
|
|
2336
2336
|
}
|
|
2337
2337
|
this._scrollLimit = value;
|
|
@@ -2340,10 +2340,10 @@ class ScrollCheckDirective extends Destroyable {
|
|
|
2340
2340
|
get scrollLimit() {
|
|
2341
2341
|
return this._scrollLimit;
|
|
2342
2342
|
}
|
|
2343
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2344
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
2343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2344
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: ScrollCheckDirective, isStandalone: false, 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 });
|
|
2345
2345
|
}
|
|
2346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ScrollCheckDirective, decorators: [{
|
|
2347
2347
|
type: Directive,
|
|
2348
2348
|
args: [{
|
|
2349
2349
|
selector: '[vi-scroll-check]',
|
|
@@ -2437,10 +2437,10 @@ class LanguagePipe extends Destroyable {
|
|
|
2437
2437
|
this.lastParams = null;
|
|
2438
2438
|
this.lastValue = null;
|
|
2439
2439
|
}
|
|
2440
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2441
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2440
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2441
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipe, isStandalone: false, name: "viTranslate", pure: false });
|
|
2442
2442
|
}
|
|
2443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipe, decorators: [{
|
|
2444
2444
|
type: Pipe,
|
|
2445
2445
|
args: [{
|
|
2446
2446
|
name: 'viTranslate',
|
|
@@ -2503,10 +2503,10 @@ class HTMLTitleDirective extends Destroyable {
|
|
|
2503
2503
|
get value() {
|
|
2504
2504
|
return this._value;
|
|
2505
2505
|
}
|
|
2506
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2507
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2507
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: HTMLTitleDirective, isStandalone: false, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2508
2508
|
}
|
|
2509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2510
2510
|
type: Directive,
|
|
2511
2511
|
args: [{
|
|
2512
2512
|
selector: '[vi-html-title]',
|
|
@@ -2572,10 +2572,10 @@ class HTMLContentTitleDirective extends Destroyable {
|
|
|
2572
2572
|
get value() {
|
|
2573
2573
|
return this._value;
|
|
2574
2574
|
}
|
|
2575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2576
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2575
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2576
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: HTMLContentTitleDirective, isStandalone: false, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2577
2577
|
}
|
|
2578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
|
|
2579
2579
|
type: Directive,
|
|
2580
2580
|
args: [{
|
|
2581
2581
|
selector: '[vi-html-content-title]',
|
|
@@ -2596,10 +2596,10 @@ class IsBrowserDirective extends StructureDirective {
|
|
|
2596
2596
|
super(templateRef, container);
|
|
2597
2597
|
this.isNeedAdd = platform.isPlatformBrowser;
|
|
2598
2598
|
}
|
|
2599
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2600
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2600
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: IsBrowserDirective, isStandalone: false, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
|
|
2601
2601
|
}
|
|
2602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IsBrowserDirective, decorators: [{
|
|
2603
2603
|
type: Directive,
|
|
2604
2604
|
args: [{
|
|
2605
2605
|
selector: '[viIsBrowser]',
|
|
@@ -2617,10 +2617,10 @@ class IsServerDirective extends StructureDirective {
|
|
|
2617
2617
|
super(templateRef, container);
|
|
2618
2618
|
this.isNeedAdd = platform.isPlatformServer;
|
|
2619
2619
|
}
|
|
2620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2621
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2620
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2621
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: IsServerDirective, isStandalone: false, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
|
|
2622
2622
|
}
|
|
2623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IsServerDirective, decorators: [{
|
|
2624
2624
|
type: Directive,
|
|
2625
2625
|
args: [{
|
|
2626
2626
|
selector: '[viIsServer]',
|
|
@@ -2643,13 +2643,14 @@ class NullEmptyValueDirective {
|
|
|
2643
2643
|
// Event Listener
|
|
2644
2644
|
//
|
|
2645
2645
|
//--------------------------------------------------------------------------
|
|
2646
|
-
onEvent(
|
|
2646
|
+
onEvent(event) {
|
|
2647
|
+
let target = event.target;
|
|
2647
2648
|
this.control.viewToModelUpdate(_.isEmpty(target.value) ? null : target.value);
|
|
2648
2649
|
}
|
|
2649
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2650
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: NullEmptyValueDirective, deps: [{ token: i1$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: NullEmptyValueDirective, isStandalone: false, selector: "input[nullEmptyValue]", host: { listeners: { "input": "onEvent($event)" } }, ngImport: i0 });
|
|
2651
2652
|
}
|
|
2652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: NullEmptyValueDirective, decorators: [{
|
|
2653
2654
|
type: Directive,
|
|
2654
2655
|
args: [{
|
|
2655
2656
|
selector: 'input[nullEmptyValue]',
|
|
@@ -2657,7 +2658,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
2657
2658
|
}]
|
|
2658
2659
|
}], ctorParameters: () => [{ type: i1$1.NgControl }], propDecorators: { onEvent: [{
|
|
2659
2660
|
type: HostListener,
|
|
2660
|
-
args: ['input', ['$event
|
|
2661
|
+
args: ['input', ['$event']]
|
|
2661
2662
|
}] } });
|
|
2662
2663
|
|
|
2663
2664
|
class UppercaseValueDirective {
|
|
@@ -2675,16 +2676,16 @@ class UppercaseValueDirective {
|
|
|
2675
2676
|
// Event Listener
|
|
2676
2677
|
//
|
|
2677
2678
|
//--------------------------------------------------------------------------
|
|
2678
|
-
onEvent(
|
|
2679
|
-
let
|
|
2680
|
-
if (!_.isEmpty(value)) {
|
|
2681
|
-
target.value = value.toUpperCase();
|
|
2679
|
+
onEvent(event) {
|
|
2680
|
+
let target = event.target;
|
|
2681
|
+
if (!_.isEmpty(target.value)) {
|
|
2682
|
+
target.value = target.value.toUpperCase();
|
|
2682
2683
|
}
|
|
2683
2684
|
}
|
|
2684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2685
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: UppercaseValueDirective, deps: [{ token: i1$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2686
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: UppercaseValueDirective, isStandalone: false, selector: "input[uppercaseValue]", host: { listeners: { "input": "onEvent($event)" } }, ngImport: i0 });
|
|
2686
2687
|
}
|
|
2687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: UppercaseValueDirective, decorators: [{
|
|
2688
2689
|
type: Directive,
|
|
2689
2690
|
args: [{
|
|
2690
2691
|
standalone: false,
|
|
@@ -2692,7 +2693,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
2692
2693
|
}]
|
|
2693
2694
|
}], ctorParameters: () => [{ type: i1$1.NgControl }], propDecorators: { onEvent: [{
|
|
2694
2695
|
type: HostListener,
|
|
2695
|
-
args: ['input', ['$event
|
|
2696
|
+
args: ['input', ['$event']]
|
|
2696
2697
|
}] } });
|
|
2697
2698
|
|
|
2698
2699
|
class LanguagePipePure extends Destroyable {
|
|
@@ -2721,10 +2722,10 @@ class LanguagePipePure extends Destroyable {
|
|
|
2721
2722
|
super.destroy();
|
|
2722
2723
|
this.language = null;
|
|
2723
2724
|
}
|
|
2724
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2725
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2725
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipePure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2726
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipePure, isStandalone: false, name: "viTranslatePure" });
|
|
2726
2727
|
}
|
|
2727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipePure, decorators: [{
|
|
2728
2729
|
type: Pipe,
|
|
2729
2730
|
args: [{
|
|
2730
2731
|
name: 'viTranslatePure',
|
|
@@ -2790,10 +2791,10 @@ class LanguageResolver extends LanguageRequireResolver {
|
|
|
2790
2791
|
constructor(service) {
|
|
2791
2792
|
super(service);
|
|
2792
2793
|
}
|
|
2793
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2794
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2794
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageResolver, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2795
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageResolver, providedIn: 'root' });
|
|
2795
2796
|
}
|
|
2796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageResolver, decorators: [{
|
|
2797
2798
|
type: Injectable,
|
|
2798
2799
|
args: [{ providedIn: 'root' }]
|
|
2799
2800
|
}], ctorParameters: () => [{ type: i1.LanguageService }] });
|
|
@@ -2876,10 +2877,10 @@ class LanguageDirective extends Destroyable {
|
|
|
2876
2877
|
get params() {
|
|
2877
2878
|
return this._params;
|
|
2878
2879
|
}
|
|
2879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2880
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
2880
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2881
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: LanguageDirective, isStandalone: false, selector: "[vi-translate]", inputs: { isNeedTitle: ["isNeedTitle", "isNeedTitle", booleanAttribute], key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
|
|
2881
2882
|
}
|
|
2882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageDirective, decorators: [{
|
|
2883
2884
|
type: Directive,
|
|
2884
2885
|
args: [{
|
|
2885
2886
|
selector: '[vi-translate]',
|
|
@@ -2932,10 +2933,10 @@ class LanguageToggleDirective extends Destroyable {
|
|
|
2932
2933
|
super.destroy();
|
|
2933
2934
|
this.language = null;
|
|
2934
2935
|
}
|
|
2935
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2936
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2936
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageToggleDirective, deps: [{ token: i1.LanguageService }, { token: i1.SettingsServiceBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2937
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: LanguageToggleDirective, isStandalone: false, selector: "[vi-language-toggle]", host: { listeners: { "click": "clickHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
2937
2938
|
}
|
|
2938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageToggleDirective, decorators: [{
|
|
2939
2940
|
type: Directive,
|
|
2940
2941
|
args: [{
|
|
2941
2942
|
selector: '[vi-language-toggle]',
|
|
@@ -2993,10 +2994,10 @@ class LanguagePipeHas extends Destroyable {
|
|
|
2993
2994
|
this.language = null;
|
|
2994
2995
|
this.key = null;
|
|
2995
2996
|
}
|
|
2996
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2997
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2997
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHas, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2998
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHas, isStandalone: false, name: "viTranslateHas", pure: false });
|
|
2998
2999
|
}
|
|
2999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHas, decorators: [{
|
|
3000
3001
|
type: Pipe,
|
|
3001
3002
|
args: [{
|
|
3002
3003
|
name: 'viTranslateHas',
|
|
@@ -3031,10 +3032,10 @@ class LanguagePipeHasPure extends Destroyable {
|
|
|
3031
3032
|
super.destroy();
|
|
3032
3033
|
this.language = null;
|
|
3033
3034
|
}
|
|
3034
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3035
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
3035
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHasPure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3036
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHasPure, isStandalone: false, name: "viTranslateHasPure" });
|
|
3036
3037
|
}
|
|
3037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguagePipeHasPure, decorators: [{
|
|
3038
3039
|
type: Pipe,
|
|
3039
3040
|
args: [{
|
|
3040
3041
|
name: 'viTranslateHasPure',
|
|
@@ -3108,10 +3109,10 @@ class LanguageHasDirective extends StructureDirective {
|
|
|
3108
3109
|
get viTranslateHasIsOnlyIfNotEmpty() {
|
|
3109
3110
|
return this._isOnlyIfNotEmpty;
|
|
3110
3111
|
}
|
|
3111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3112
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageHasDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3113
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: LanguageHasDirective, isStandalone: false, selector: "[viTranslateHas]", inputs: { viTranslateHas: "viTranslateHas", viTranslateHasIsOnlyIfNotEmpty: "viTranslateHasIsOnlyIfNotEmpty" }, usesInheritance: true, ngImport: i0 });
|
|
3113
3114
|
}
|
|
3114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageHasDirective, decorators: [{
|
|
3115
3116
|
type: Directive,
|
|
3116
3117
|
args: [{
|
|
3117
3118
|
selector: '[viTranslateHas]',
|
|
@@ -3153,11 +3154,11 @@ class LanguageModule {
|
|
|
3153
3154
|
]
|
|
3154
3155
|
};
|
|
3155
3156
|
}
|
|
3156
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3157
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3158
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3158
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LanguageModule, declarations: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageToggleDirective, LanguageHasDirective, LanguageDirective], imports: [CookieModule], exports: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageToggleDirective, LanguageHasDirective, LanguageDirective] });
|
|
3159
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageModule, imports: [CookieModule] });
|
|
3159
3160
|
}
|
|
3160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LanguageModule, decorators: [{
|
|
3161
3162
|
type: NgModule,
|
|
3162
3163
|
args: [{
|
|
3163
3164
|
imports: [CookieModule],
|
|
@@ -3193,8 +3194,8 @@ class Loginable extends Loadable {
|
|
|
3193
3194
|
if (this.login.isLoggedIn) {
|
|
3194
3195
|
this.loginedHandler();
|
|
3195
3196
|
}
|
|
3196
|
-
this.login.logined.pipe().subscribe(() => this.loginedHandler());
|
|
3197
|
-
this.login.logouted.pipe().subscribe(() => this.logoutedHandler());
|
|
3197
|
+
this.login.logined.pipe(takeUntil(this.destroyed)).subscribe(() => this.loginedHandler());
|
|
3198
|
+
this.login.logouted.pipe(takeUntil(this.destroyed)).subscribe(() => this.logoutedHandler());
|
|
3198
3199
|
}
|
|
3199
3200
|
async loginedHandler() { }
|
|
3200
3201
|
async logoutedHandler() { }
|
|
@@ -3460,10 +3461,10 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
3460
3461
|
canActivate(route, state) {
|
|
3461
3462
|
return this.isLoggedIn() ? true : this.router.parseUrl(LoginGuard.redirectUrl);
|
|
3462
3463
|
}
|
|
3463
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3464
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3465
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
3465
3466
|
}
|
|
3466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginGuard, decorators: [{
|
|
3467
3468
|
type: Injectable,
|
|
3468
3469
|
args: [{ providedIn: 'root' }]
|
|
3469
3470
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3496,10 +3497,10 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
3496
3497
|
canActivate(route, state) {
|
|
3497
3498
|
return !this.isLoggedIn() ? true : this.router.parseUrl(LoginNotGuard.redirectUrl);
|
|
3498
3499
|
}
|
|
3499
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3500
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3501
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
3501
3502
|
}
|
|
3502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
3503
3504
|
type: Injectable,
|
|
3504
3505
|
args: [{ providedIn: 'root' }]
|
|
3505
3506
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3516,10 +3517,10 @@ class LoginResolver extends LoginRequireResolver {
|
|
|
3516
3517
|
constructor(login) {
|
|
3517
3518
|
super(login);
|
|
3518
3519
|
}
|
|
3519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3520
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginResolver, deps: [{ token: LoginServiceBase }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3521
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginResolver, providedIn: 'root' });
|
|
3521
3522
|
}
|
|
3522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginResolver, decorators: [{
|
|
3523
3524
|
type: Injectable,
|
|
3524
3525
|
args: [{ providedIn: 'root' }]
|
|
3525
3526
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3565,10 +3566,10 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
3565
3566
|
}
|
|
3566
3567
|
return super.canActivate(route, state);
|
|
3567
3568
|
}
|
|
3568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3569
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3569
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3570
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
3570
3571
|
}
|
|
3571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
3572
3573
|
type: Injectable,
|
|
3573
3574
|
args: [{ providedIn: 'root' }]
|
|
3574
3575
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3829,7 +3830,7 @@ class MenuItems extends DestroyableContainer {
|
|
|
3829
3830
|
remove(item) {
|
|
3830
3831
|
let index = this._items.indexOf(item);
|
|
3831
3832
|
if (index > -1) {
|
|
3832
|
-
this._items.
|
|
3833
|
+
this._items.splice(index, 1);
|
|
3833
3834
|
}
|
|
3834
3835
|
return item;
|
|
3835
3836
|
}
|
|
@@ -4357,8 +4358,7 @@ class RouterSelectListItems extends SelectListItems {
|
|
|
4357
4358
|
this.selectedItem = !_.isNil(item) ? item : _.first(this.collection);
|
|
4358
4359
|
}
|
|
4359
4360
|
setFragment(item) {
|
|
4360
|
-
|
|
4361
|
-
this.router.setFragment(index > 0 ? item.data.toString() : null);
|
|
4361
|
+
this.router.setFragment(_.indexOf(this.collection, item) > -1 ? item.data.toString() : null);
|
|
4362
4362
|
}
|
|
4363
4363
|
getRouterSelectedItem() {
|
|
4364
4364
|
return _.find(this.collection, { data: this.router.getFragment() });
|
|
@@ -4381,44 +4381,6 @@ class RouterSelectListItems extends SelectListItems {
|
|
|
4381
4381
|
}
|
|
4382
4382
|
}
|
|
4383
4383
|
|
|
4384
|
-
class PrettifyPipe {
|
|
4385
|
-
// --------------------------------------------------------------------------
|
|
4386
|
-
//
|
|
4387
|
-
// Static Properties
|
|
4388
|
-
//
|
|
4389
|
-
// --------------------------------------------------------------------------
|
|
4390
|
-
static EMPTY_SYMBOL = '-';
|
|
4391
|
-
// --------------------------------------------------------------------------
|
|
4392
|
-
//
|
|
4393
|
-
// Static Methods
|
|
4394
|
-
//
|
|
4395
|
-
// --------------------------------------------------------------------------
|
|
4396
|
-
static transform(value) {
|
|
4397
|
-
let isNil = _.isNil(value);
|
|
4398
|
-
if (!isNil && !_.isNumber(value)) {
|
|
4399
|
-
isNil = _.isEmpty(value);
|
|
4400
|
-
}
|
|
4401
|
-
return !isNil ? value : PrettifyPipe.EMPTY_SYMBOL;
|
|
4402
|
-
}
|
|
4403
|
-
// --------------------------------------------------------------------------
|
|
4404
|
-
//
|
|
4405
|
-
// Public Methods
|
|
4406
|
-
//
|
|
4407
|
-
// --------------------------------------------------------------------------
|
|
4408
|
-
transform(value) {
|
|
4409
|
-
return PrettifyPipe.transform(value);
|
|
4410
|
-
}
|
|
4411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4412
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PrettifyPipe, isStandalone: false, name: "viPrettify" });
|
|
4413
|
-
}
|
|
4414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PrettifyPipe, decorators: [{
|
|
4415
|
-
type: Pipe,
|
|
4416
|
-
args: [{
|
|
4417
|
-
name: 'viPrettify',
|
|
4418
|
-
standalone: false
|
|
4419
|
-
}]
|
|
4420
|
-
}] });
|
|
4421
|
-
|
|
4422
4384
|
class CamelCasePipe {
|
|
4423
4385
|
// --------------------------------------------------------------------------
|
|
4424
4386
|
//
|
|
@@ -4426,7 +4388,7 @@ class CamelCasePipe {
|
|
|
4426
4388
|
//
|
|
4427
4389
|
// --------------------------------------------------------------------------
|
|
4428
4390
|
static transform(value) {
|
|
4429
|
-
return !_.isNil(value) ? _.camelCase(value) :
|
|
4391
|
+
return !_.isNil(value) ? _.camelCase(value) : null;
|
|
4430
4392
|
}
|
|
4431
4393
|
// --------------------------------------------------------------------------
|
|
4432
4394
|
//
|
|
@@ -4436,10 +4398,10 @@ class CamelCasePipe {
|
|
|
4436
4398
|
transform(value) {
|
|
4437
4399
|
return CamelCasePipe.transform(value);
|
|
4438
4400
|
}
|
|
4439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4440
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: CamelCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4402
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: CamelCasePipe, isStandalone: false, name: "viCamelCase" });
|
|
4441
4403
|
}
|
|
4442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: CamelCasePipe, decorators: [{
|
|
4443
4405
|
type: Pipe,
|
|
4444
4406
|
args: [{
|
|
4445
4407
|
name: 'viCamelCase',
|
|
@@ -4489,10 +4451,10 @@ class FinancePipe {
|
|
|
4489
4451
|
transform(value, format, isNeedPlus = false) {
|
|
4490
4452
|
return FinancePipe.transform(value, format, isNeedPlus);
|
|
4491
4453
|
}
|
|
4492
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4493
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: FinancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4455
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: FinancePipe, isStandalone: false, name: "viFinance" });
|
|
4494
4456
|
}
|
|
4495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: FinancePipe, decorators: [{
|
|
4496
4458
|
type: Pipe,
|
|
4497
4459
|
args: [{
|
|
4498
4460
|
name: 'viFinance',
|
|
@@ -4559,10 +4521,10 @@ class MomentDatePipe {
|
|
|
4559
4521
|
transform(value, format) {
|
|
4560
4522
|
return MomentDatePipe.transform(value, format);
|
|
4561
4523
|
}
|
|
4562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4563
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4525
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: MomentDatePipe, isStandalone: false, name: "viMomentDate" });
|
|
4564
4526
|
}
|
|
4565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDatePipe, decorators: [{
|
|
4566
4528
|
type: Pipe,
|
|
4567
4529
|
args: [{
|
|
4568
4530
|
name: 'viMomentDate',
|
|
@@ -4570,6 +4532,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
4570
4532
|
}]
|
|
4571
4533
|
}] });
|
|
4572
4534
|
|
|
4535
|
+
class PrettifyPipe {
|
|
4536
|
+
// --------------------------------------------------------------------------
|
|
4537
|
+
//
|
|
4538
|
+
// Static Properties
|
|
4539
|
+
//
|
|
4540
|
+
// --------------------------------------------------------------------------
|
|
4541
|
+
static EMPTY_SYMBOL = '-';
|
|
4542
|
+
// --------------------------------------------------------------------------
|
|
4543
|
+
//
|
|
4544
|
+
// Static Methods
|
|
4545
|
+
//
|
|
4546
|
+
// --------------------------------------------------------------------------
|
|
4547
|
+
static transform(value) {
|
|
4548
|
+
let isNil = _.isNil(value);
|
|
4549
|
+
if (!isNil && !_.isNumber(value)) {
|
|
4550
|
+
isNil = _.isEmpty(value);
|
|
4551
|
+
}
|
|
4552
|
+
return !isNil ? value : PrettifyPipe.EMPTY_SYMBOL;
|
|
4553
|
+
}
|
|
4554
|
+
// --------------------------------------------------------------------------
|
|
4555
|
+
//
|
|
4556
|
+
// Public Methods
|
|
4557
|
+
//
|
|
4558
|
+
// --------------------------------------------------------------------------
|
|
4559
|
+
transform(value) {
|
|
4560
|
+
return PrettifyPipe.transform(value);
|
|
4561
|
+
}
|
|
4562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4563
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PrettifyPipe, isStandalone: false, name: "viPrettify" });
|
|
4564
|
+
}
|
|
4565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PrettifyPipe, decorators: [{
|
|
4566
|
+
type: Pipe,
|
|
4567
|
+
args: [{
|
|
4568
|
+
name: 'viPrettify',
|
|
4569
|
+
standalone: false
|
|
4570
|
+
}]
|
|
4571
|
+
}] });
|
|
4572
|
+
|
|
4573
4573
|
class MomentDateAdaptivePipe {
|
|
4574
4574
|
// --------------------------------------------------------------------------
|
|
4575
4575
|
//
|
|
@@ -4586,8 +4586,8 @@ class MomentDateAdaptivePipe {
|
|
|
4586
4586
|
//
|
|
4587
4587
|
// --------------------------------------------------------------------------
|
|
4588
4588
|
static transform(value) {
|
|
4589
|
-
if (_.
|
|
4590
|
-
return
|
|
4589
|
+
if (_.isNil(value)) {
|
|
4590
|
+
return PrettifyPipe.EMPTY_SYMBOL;
|
|
4591
4591
|
}
|
|
4592
4592
|
let item = MomentDatePipe.parseMoment(value);
|
|
4593
4593
|
let duration = moment.duration(moment().diff(item));
|
|
@@ -4614,10 +4614,10 @@ class MomentDateAdaptivePipe {
|
|
|
4614
4614
|
transform(value) {
|
|
4615
4615
|
return MomentDateAdaptivePipe.transform(value);
|
|
4616
4616
|
}
|
|
4617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4618
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4617
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDateAdaptivePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4618
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: MomentDateAdaptivePipe, isStandalone: false, name: "viMomentAdaptiveDate" });
|
|
4619
4619
|
}
|
|
4620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDateAdaptivePipe, decorators: [{
|
|
4621
4621
|
type: Pipe,
|
|
4622
4622
|
args: [{
|
|
4623
4623
|
name: 'viMomentAdaptiveDate',
|
|
@@ -4642,10 +4642,10 @@ class MomentDateFromNowPipe {
|
|
|
4642
4642
|
transform(value, format) {
|
|
4643
4643
|
return MomentDateFromNowPipe.transform(value, format);
|
|
4644
4644
|
}
|
|
4645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4646
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4645
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDateFromNowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4646
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: MomentDateFromNowPipe, isStandalone: false, name: "viMomentDateFromNow" });
|
|
4647
4647
|
}
|
|
4648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentDateFromNowPipe, decorators: [{
|
|
4649
4649
|
type: Pipe,
|
|
4650
4650
|
args: [{
|
|
4651
4651
|
name: 'viMomentDateFromNow',
|
|
@@ -4682,10 +4682,10 @@ class MomentTimePipe {
|
|
|
4682
4682
|
transform(timeMilliseconds, format) {
|
|
4683
4683
|
return MomentTimePipe.transform(timeMilliseconds, format);
|
|
4684
4684
|
}
|
|
4685
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4686
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4686
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: MomentTimePipe, isStandalone: false, name: "viMomentTime" });
|
|
4687
4687
|
}
|
|
4688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: MomentTimePipe, decorators: [{
|
|
4689
4689
|
type: Pipe,
|
|
4690
4690
|
args: [{
|
|
4691
4691
|
name: 'viMomentTime',
|
|
@@ -4722,10 +4722,10 @@ class NgModelErrorPipe {
|
|
|
4722
4722
|
constructor(language) {
|
|
4723
4723
|
this.language = language;
|
|
4724
4724
|
}
|
|
4725
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4726
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4725
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: NgModelErrorPipe, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4726
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: NgModelErrorPipe, isStandalone: false, name: "viNgModelError" });
|
|
4727
4727
|
}
|
|
4728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: NgModelErrorPipe, decorators: [{
|
|
4729
4729
|
type: Pipe,
|
|
4730
4730
|
args: [{
|
|
4731
4731
|
name: 'viNgModelError',
|
|
@@ -4767,10 +4767,10 @@ class SanitizePipe {
|
|
|
4767
4767
|
throw new Error('Invalid safe type specified: ' + type);
|
|
4768
4768
|
}
|
|
4769
4769
|
}
|
|
4770
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4771
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SanitizePipe, deps: [{ token: i1$3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4771
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: SanitizePipe, isStandalone: false, name: "viSanitize" });
|
|
4772
4772
|
}
|
|
4773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: SanitizePipe, decorators: [{
|
|
4774
4774
|
type: Pipe,
|
|
4775
4775
|
args: [{
|
|
4776
4776
|
name: 'viSanitize',
|
|
@@ -4785,7 +4785,7 @@ class StartCasePipe {
|
|
|
4785
4785
|
//
|
|
4786
4786
|
// --------------------------------------------------------------------------
|
|
4787
4787
|
static transform(value) {
|
|
4788
|
-
return !_.isEmpty(value) ? value.charAt(0).toUpperCase() + value.slice(1) :
|
|
4788
|
+
return !_.isEmpty(value) ? value.charAt(0).toUpperCase() + value.slice(1) : null;
|
|
4789
4789
|
}
|
|
4790
4790
|
// --------------------------------------------------------------------------
|
|
4791
4791
|
//
|
|
@@ -4795,10 +4795,10 @@ class StartCasePipe {
|
|
|
4795
4795
|
transform(value) {
|
|
4796
4796
|
return StartCasePipe.transform(value);
|
|
4797
4797
|
}
|
|
4798
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4799
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4798
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: StartCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4799
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: StartCasePipe, isStandalone: false, name: "viStartCase" });
|
|
4800
4800
|
}
|
|
4801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: StartCasePipe, decorators: [{
|
|
4802
4802
|
type: Pipe,
|
|
4803
4803
|
args: [{
|
|
4804
4804
|
name: 'viStartCase',
|
|
@@ -4813,7 +4813,7 @@ class TruncatePipe {
|
|
|
4813
4813
|
//
|
|
4814
4814
|
// --------------------------------------------------------------------------
|
|
4815
4815
|
static transform(value, maxLength) {
|
|
4816
|
-
return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) :
|
|
4816
|
+
return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) : null;
|
|
4817
4817
|
}
|
|
4818
4818
|
// --------------------------------------------------------------------------
|
|
4819
4819
|
//
|
|
@@ -4823,10 +4823,10 @@ class TruncatePipe {
|
|
|
4823
4823
|
transform(value, maxLength) {
|
|
4824
4824
|
return TruncatePipe.transform(value, maxLength);
|
|
4825
4825
|
}
|
|
4826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4827
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4826
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4827
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: TruncatePipe, isStandalone: false, name: "viTruncate" });
|
|
4828
4828
|
}
|
|
4829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
4830
4830
|
type: Pipe,
|
|
4831
4831
|
args: [{
|
|
4832
4832
|
name: 'viTruncate',
|
|
@@ -4849,7 +4849,7 @@ class TimePipe {
|
|
|
4849
4849
|
static transform(milliseconds, format) {
|
|
4850
4850
|
milliseconds = Number(milliseconds);
|
|
4851
4851
|
if (_.isNaN(milliseconds)) {
|
|
4852
|
-
return
|
|
4852
|
+
return null;
|
|
4853
4853
|
}
|
|
4854
4854
|
if (_.isNil(format)) {
|
|
4855
4855
|
format = TimePipe.DEFAULT_FORMAT;
|
|
@@ -4864,10 +4864,10 @@ class TimePipe {
|
|
|
4864
4864
|
transform(milliseconds, format) {
|
|
4865
4865
|
return TimePipe.transform(milliseconds, format);
|
|
4866
4866
|
}
|
|
4867
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4868
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4867
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4868
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: TimePipe, isStandalone: false, name: "viTime" });
|
|
4869
4869
|
}
|
|
4870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TimePipe, decorators: [{
|
|
4871
4871
|
type: Pipe,
|
|
4872
4872
|
args: [{
|
|
4873
4873
|
name: 'viTime',
|
|
@@ -5039,7 +5039,7 @@ class PipeServiceBase extends Destroyable {
|
|
|
5039
5039
|
commitLanguageProperties() {
|
|
5040
5040
|
let locale = this.language.locale ? this.language.locale : 'en';
|
|
5041
5041
|
this._locale = locale === 'en' ? 'en-US' : locale;
|
|
5042
|
-
if (PipeServiceBase.DATE) {
|
|
5042
|
+
if (!_.isNil(PipeServiceBase.DATE)) {
|
|
5043
5043
|
PipeServiceBase.DATE = new DatePipe(this.locale);
|
|
5044
5044
|
}
|
|
5045
5045
|
}
|
|
@@ -5049,7 +5049,7 @@ class PipeServiceBase extends Destroyable {
|
|
|
5049
5049
|
//
|
|
5050
5050
|
// --------------------------------------------------------------------------
|
|
5051
5051
|
get date() {
|
|
5052
|
-
if (
|
|
5052
|
+
if (_.isNil(PipeServiceBase.DATE)) {
|
|
5053
5053
|
PipeServiceBase.DATE = new DatePipe(this.locale);
|
|
5054
5054
|
}
|
|
5055
5055
|
return PipeServiceBase.DATE;
|
|
@@ -5218,7 +5218,8 @@ class RouterServiceBase extends Loadable {
|
|
|
5218
5218
|
if (!_.isNil(extras)) {
|
|
5219
5219
|
Object.assign(params, extras);
|
|
5220
5220
|
}
|
|
5221
|
-
return this.router.navigateByUrl(url, params);
|
|
5221
|
+
// return this.router.navigateByUrl(url, params);
|
|
5222
|
+
return this.router.navigate([url], params);
|
|
5222
5223
|
}
|
|
5223
5224
|
navigateToExternalUrl(url, target = '_blank') {
|
|
5224
5225
|
this.window.open(url, target);
|
|
@@ -5278,7 +5279,7 @@ class RouterServiceBase extends Loadable {
|
|
|
5278
5279
|
else {
|
|
5279
5280
|
this.params.delete(name);
|
|
5280
5281
|
}
|
|
5281
|
-
if (
|
|
5282
|
+
if (_.isNil(extras)) {
|
|
5282
5283
|
extras = { replaceUrl: true };
|
|
5283
5284
|
}
|
|
5284
5285
|
this.applyExtras(extras);
|
|
@@ -5290,7 +5291,7 @@ class RouterServiceBase extends Loadable {
|
|
|
5290
5291
|
}
|
|
5291
5292
|
clearParams(extras) {
|
|
5292
5293
|
this.params.clear();
|
|
5293
|
-
if (
|
|
5294
|
+
if (_.isNil(extras)) {
|
|
5294
5295
|
extras = { replaceUrl: true };
|
|
5295
5296
|
}
|
|
5296
5297
|
this.applyExtras(extras);
|
|
@@ -5447,10 +5448,10 @@ class ServiceWorkerService extends Loadable {
|
|
|
5447
5448
|
get isEnabled() {
|
|
5448
5449
|
return this.updates.isEnabled;
|
|
5449
5450
|
}
|
|
5450
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5451
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5451
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ServiceWorkerService, deps: [{ token: i1$4.SwUpdate }, { token: i2.Logger }, { token: NotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5452
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ServiceWorkerService, providedIn: 'root' });
|
|
5452
5453
|
}
|
|
5453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ServiceWorkerService, decorators: [{
|
|
5454
5455
|
type: Injectable,
|
|
5455
5456
|
args: [{ providedIn: 'root' }]
|
|
5456
5457
|
}], ctorParameters: () => [{ type: i1$4.SwUpdate }, { type: i2.Logger }, { type: NotificationService }] });
|
|
@@ -5568,10 +5569,10 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
5568
5569
|
this.stylePropertiesCheck();
|
|
5569
5570
|
}
|
|
5570
5571
|
}
|
|
5571
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5572
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5572
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5573
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeStyleDirective, isStandalone: false, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
|
|
5573
5574
|
}
|
|
5574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
5575
5576
|
type: Directive,
|
|
5576
5577
|
args: [{
|
|
5577
5578
|
selector: '[vi-theme-style]',
|
|
@@ -5672,10 +5673,10 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
5672
5673
|
set flags(value) {
|
|
5673
5674
|
super.flags = value;
|
|
5674
5675
|
}
|
|
5675
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5676
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5676
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5677
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeStyleHoverDirective, isStandalone: false, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
|
|
5677
5678
|
}
|
|
5678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
5679
5680
|
type: Directive,
|
|
5680
5681
|
args: [{
|
|
5681
5682
|
selector: '[vi-theme-style-hover]',
|
|
@@ -5904,10 +5905,10 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
5904
5905
|
this._extension = value;
|
|
5905
5906
|
this.setSourceProperties();
|
|
5906
5907
|
}
|
|
5907
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5908
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
5908
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5909
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", type: ThemeAssetDirective, isStandalone: true, 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 });
|
|
5909
5910
|
}
|
|
5910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
5911
5912
|
type: Directive
|
|
5912
5913
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { errorLoadingHandler: [{
|
|
5913
5914
|
type: HostListener,
|
|
@@ -5969,10 +5970,10 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
5969
5970
|
get name() {
|
|
5970
5971
|
return super.name;
|
|
5971
5972
|
}
|
|
5972
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5973
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5973
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5974
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeAssetBackgroundDirective, isStandalone: false, selector: "[vi-theme-background]", inputs: { name: ["vi-theme-background", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
5974
5975
|
}
|
|
5975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
5976
5977
|
type: Directive,
|
|
5977
5978
|
args: [{
|
|
5978
5979
|
selector: '[vi-theme-background]',
|
|
@@ -6015,10 +6016,10 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
6015
6016
|
get name() {
|
|
6016
6017
|
return super.name;
|
|
6017
6018
|
}
|
|
6018
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6019
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6020
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeAssetImageDirective, isStandalone: false, selector: "[vi-theme-image]", inputs: { name: ["vi-theme-image", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
6020
6021
|
}
|
|
6021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
6022
6023
|
type: Directive,
|
|
6023
6024
|
args: [{
|
|
6024
6025
|
selector: '[vi-theme-image]',
|
|
@@ -6060,10 +6061,10 @@ class ThemeAssetIconDirective extends ThemeAssetDirective {
|
|
|
6060
6061
|
get name() {
|
|
6061
6062
|
return super.name;
|
|
6062
6063
|
}
|
|
6063
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6064
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6064
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetIconDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6065
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeAssetIconDirective, isStandalone: false, selector: "[vi-theme-icon]", inputs: { name: ["vi-theme-icon", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
6065
6066
|
}
|
|
6066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
|
|
6067
6068
|
type: Directive,
|
|
6068
6069
|
args: [{
|
|
6069
6070
|
selector: '[vi-theme-icon]',
|
|
@@ -6108,10 +6109,10 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
6108
6109
|
super.destroy();
|
|
6109
6110
|
this.theme = null;
|
|
6110
6111
|
}
|
|
6111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6112
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6113
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: ThemeToggleDirective, isStandalone: false, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
6113
6114
|
}
|
|
6114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
6115
6116
|
type: Directive,
|
|
6116
6117
|
args: [{
|
|
6117
6118
|
selector: '[vi-theme-toggle]',
|
|
@@ -6157,8 +6158,8 @@ class ThemeModule {
|
|
|
6157
6158
|
]
|
|
6158
6159
|
};
|
|
6159
6160
|
}
|
|
6160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6161
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6162
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
|
|
6162
6163
|
ThemeAssetImageDirective,
|
|
6163
6164
|
ThemeAssetIconDirective,
|
|
6164
6165
|
ThemeAssetBackgroundDirective,
|
|
@@ -6169,9 +6170,9 @@ class ThemeModule {
|
|
|
6169
6170
|
ThemeAssetBackgroundDirective,
|
|
6170
6171
|
ThemeStyleDirective,
|
|
6171
6172
|
ThemeStyleHoverDirective] });
|
|
6172
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6173
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
|
|
6173
6174
|
}
|
|
6174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ThemeModule, decorators: [{
|
|
6175
6176
|
type: NgModule,
|
|
6176
6177
|
args: [{
|
|
6177
6178
|
imports: [CookieModule],
|
|
@@ -6296,7 +6297,7 @@ var UserServiceBaseEvent;
|
|
|
6296
6297
|
class IWindow extends Destroyable {
|
|
6297
6298
|
// --------------------------------------------------------------------------
|
|
6298
6299
|
//
|
|
6299
|
-
//
|
|
6300
|
+
// Properties
|
|
6300
6301
|
//
|
|
6301
6302
|
// --------------------------------------------------------------------------
|
|
6302
6303
|
isOnTop = false;
|
|
@@ -6308,6 +6309,9 @@ class IWindow extends Destroyable {
|
|
|
6308
6309
|
backdrop;
|
|
6309
6310
|
config;
|
|
6310
6311
|
content;
|
|
6312
|
+
onTop;
|
|
6313
|
+
disabled;
|
|
6314
|
+
minimized;
|
|
6311
6315
|
}
|
|
6312
6316
|
var WindowEvent;
|
|
6313
6317
|
(function (WindowEvent) {
|
|
@@ -6316,9 +6320,9 @@ var WindowEvent;
|
|
|
6316
6320
|
WindowEvent["CONTENT_READY"] = "CONTENT_READY";
|
|
6317
6321
|
WindowEvent["MOVED"] = "MOVED";
|
|
6318
6322
|
WindowEvent["RESIZED"] = "RESIZED";
|
|
6319
|
-
WindowEvent["DISABLED_CHANGED"] = "DISABLED_CHANGED";
|
|
6320
|
-
WindowEvent["MINIMIZED_CHANGED"] = "MINIMIZED_CHANGED";
|
|
6321
6323
|
WindowEvent["IS_ON_TOP_CHANGED"] = "IS_ON_TOP_CHANGED";
|
|
6324
|
+
WindowEvent["IS_DISABLED_CHANGED"] = "IS_DISABLED_CHANGED";
|
|
6325
|
+
WindowEvent["IS_MINIMIZED_CHANGED"] = "IS_MINIMIZED_CHANGED";
|
|
6322
6326
|
WindowEvent["EXPAND"] = "EXPAND";
|
|
6323
6327
|
WindowEvent["SET_ON_TOP"] = "SET_ON_TOP";
|
|
6324
6328
|
})(WindowEvent || (WindowEvent = {}));
|
|
@@ -6455,7 +6459,7 @@ class WindowBase extends DestroyableContainer {
|
|
|
6455
6459
|
return this._height;
|
|
6456
6460
|
}
|
|
6457
6461
|
set height(value) {
|
|
6458
|
-
value = WindowBase.
|
|
6462
|
+
value = WindowBase.parseHeight(value, this.getConfig());
|
|
6459
6463
|
if (value === this._height) {
|
|
6460
6464
|
return;
|
|
6461
6465
|
}
|
|
@@ -6594,7 +6598,7 @@ class WindowConfig {
|
|
|
6594
6598
|
if (!_.isNaN(this._elementMinY)) {
|
|
6595
6599
|
return this._elementMinY;
|
|
6596
6600
|
}
|
|
6597
|
-
this._elementMinY =
|
|
6601
|
+
this._elementMinY = -ViewUtil.getStageHeight();
|
|
6598
6602
|
if (!_.isNaN(this.paddingTop)) {
|
|
6599
6603
|
this._elementMinY += this.paddingTop;
|
|
6600
6604
|
}
|
|
@@ -6631,11 +6635,11 @@ class WindowConfig {
|
|
|
6631
6635
|
return this._elementMaxX;
|
|
6632
6636
|
}
|
|
6633
6637
|
get elementWidth() {
|
|
6634
|
-
if (this._elementWidth) {
|
|
6638
|
+
if (!_.isNil(this._elementWidth)) {
|
|
6635
6639
|
return this._elementWidth;
|
|
6636
6640
|
}
|
|
6637
6641
|
this._elementWidth = 'auto';
|
|
6638
|
-
if (this.defaultWidth) {
|
|
6642
|
+
if (!_.isNaN(this.defaultWidth)) {
|
|
6639
6643
|
this._elementWidth = this.defaultWidth + 'px';
|
|
6640
6644
|
}
|
|
6641
6645
|
return this._elementWidth;
|
|
@@ -6674,11 +6678,11 @@ class WindowConfig {
|
|
|
6674
6678
|
return this._elementMaxWidth;
|
|
6675
6679
|
}
|
|
6676
6680
|
get elementHeight() {
|
|
6677
|
-
if (this._elementHeight) {
|
|
6681
|
+
if (!_.isNil(this._elementHeight)) {
|
|
6678
6682
|
return this._elementHeight;
|
|
6679
6683
|
}
|
|
6680
6684
|
this._elementHeight = 'auto';
|
|
6681
|
-
if (this.defaultHeight) {
|
|
6685
|
+
if (!_.isNaN(this.defaultHeight)) {
|
|
6682
6686
|
this._elementHeight = this.defaultHeight + 'px';
|
|
6683
6687
|
}
|
|
6684
6688
|
return this._elementHeight;
|
|
@@ -6730,11 +6734,12 @@ var WindowServiceEvent;
|
|
|
6730
6734
|
WindowServiceEvent["SETTED_ON_TOP"] = "SETTED_ON_TOP";
|
|
6731
6735
|
})(WindowServiceEvent || (WindowServiceEvent = {}));
|
|
6732
6736
|
|
|
6737
|
+
const WINDOW_CONTENT_CONTAINER = new InjectionToken('WINDOW_CONTENT_CONTAINER');
|
|
6733
6738
|
class IWindowContent extends DestroyableContainer {
|
|
6734
6739
|
container;
|
|
6735
6740
|
// --------------------------------------------------------------------------
|
|
6736
6741
|
//
|
|
6737
|
-
// Properties
|
|
6742
|
+
// Properties
|
|
6738
6743
|
//
|
|
6739
6744
|
// --------------------------------------------------------------------------
|
|
6740
6745
|
_window;
|
|
@@ -6809,12 +6814,21 @@ class IWindowContent extends DestroyableContainer {
|
|
|
6809
6814
|
get isOnTop() {
|
|
6810
6815
|
return !_.isNil(this.window) ? this.window.isOnTop : false;
|
|
6811
6816
|
}
|
|
6817
|
+
get onTop() {
|
|
6818
|
+
return !_.isNil(this.window) ? this.window.onTop : null;
|
|
6819
|
+
}
|
|
6812
6820
|
get isMinimized() {
|
|
6813
6821
|
return !_.isNil(this.window) ? this.window.isMinimized : false;
|
|
6814
6822
|
}
|
|
6823
|
+
get minimized() {
|
|
6824
|
+
return !_.isNil(this.window) ? this.window.minimized : null;
|
|
6825
|
+
}
|
|
6815
6826
|
get events() {
|
|
6816
6827
|
return !_.isNil(this.window) ? this.window.events : null;
|
|
6817
6828
|
}
|
|
6829
|
+
get disabled() {
|
|
6830
|
+
return !_.isNil(this.window) ? this.window.disabled : null;
|
|
6831
|
+
}
|
|
6818
6832
|
set isDisabled(value) {
|
|
6819
6833
|
if (!_.isNil(this.window)) {
|
|
6820
6834
|
this.window.isDisabled = value;
|
|
@@ -6849,10 +6863,10 @@ class IWindowContent extends DestroyableContainer {
|
|
|
6849
6863
|
this.commitWindowProperties();
|
|
6850
6864
|
}
|
|
6851
6865
|
}
|
|
6852
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6853
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
6866
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IWindowContent, deps: [{ token: WINDOW_CONTENT_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6867
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.8", type: IWindowContent, isStandalone: true, selector: "ng-component", inputs: { isDisabled: ["isDisabled", "isDisabled", booleanAttribute], window: "window" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
6854
6868
|
}
|
|
6855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: IWindowContent, decorators: [{
|
|
6856
6870
|
type: Component,
|
|
6857
6871
|
args: [{ template: '' }]
|
|
6858
6872
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -6866,7 +6880,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
6866
6880
|
}], window: [{
|
|
6867
6881
|
type: Input
|
|
6868
6882
|
}] } });
|
|
6869
|
-
const WINDOW_CONTENT_CONTAINER = new InjectionToken('WINDOW_CONTENT_CONTAINER');
|
|
6870
6883
|
|
|
6871
6884
|
class WindowClosedError extends ExtendedError {
|
|
6872
6885
|
// --------------------------------------------------------------------------
|
|
@@ -7028,10 +7041,10 @@ class INotificationContent extends DestroyableContainer {
|
|
|
7028
7041
|
get config() {
|
|
7029
7042
|
return this._config;
|
|
7030
7043
|
}
|
|
7031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7032
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7044
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: INotificationContent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7045
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", type: INotificationContent, isStandalone: true, selector: "ng-component", inputs: { config: "config" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
7033
7046
|
}
|
|
7034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: INotificationContent, decorators: [{
|
|
7035
7048
|
type: Component,
|
|
7036
7049
|
args: [{ template: '' }]
|
|
7037
7050
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { config: [{
|
|
@@ -7323,10 +7336,10 @@ class LazyModuleLoader extends Loadable {
|
|
|
7323
7336
|
get modules() {
|
|
7324
7337
|
return this._modules;
|
|
7325
7338
|
}
|
|
7326
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7327
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LazyModuleLoader, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7340
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LazyModuleLoader, providedIn: 'root' });
|
|
7328
7341
|
}
|
|
7329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LazyModuleLoader, decorators: [{
|
|
7330
7343
|
type: Injectable,
|
|
7331
7344
|
args: [{ providedIn: 'root' }]
|
|
7332
7345
|
}], ctorParameters: () => [{ type: i0.Compiler }, { type: i0.Injector }] });
|
|
@@ -7498,7 +7511,7 @@ let declarations = [
|
|
|
7498
7511
|
AutoScrollBottomDirective,
|
|
7499
7512
|
AspectRatioResizeDirective
|
|
7500
7513
|
];
|
|
7501
|
-
let exports = [...imports, ...declarations];
|
|
7514
|
+
let exports$1 = [...imports, ...declarations];
|
|
7502
7515
|
class VIModule {
|
|
7503
7516
|
// --------------------------------------------------------------------------
|
|
7504
7517
|
//
|
|
@@ -7529,8 +7542,8 @@ class VIModule {
|
|
|
7529
7542
|
]
|
|
7530
7543
|
};
|
|
7531
7544
|
}
|
|
7532
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7533
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7546
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: VIModule, declarations: [TimePipe,
|
|
7534
7547
|
FinancePipe,
|
|
7535
7548
|
SanitizePipe,
|
|
7536
7549
|
TruncatePipe,
|
|
@@ -7585,14 +7598,14 @@ class VIModule {
|
|
|
7585
7598
|
HTMLContentTitleDirective,
|
|
7586
7599
|
AutoScrollBottomDirective,
|
|
7587
7600
|
AspectRatioResizeDirective] });
|
|
7588
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7601
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
|
|
7589
7602
|
}
|
|
7590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: VIModule, decorators: [{
|
|
7591
7604
|
type: NgModule,
|
|
7592
7605
|
args: [{
|
|
7593
7606
|
imports,
|
|
7594
7607
|
declarations,
|
|
7595
|
-
exports
|
|
7608
|
+
exports: exports$1
|
|
7596
7609
|
}]
|
|
7597
7610
|
}] });
|
|
7598
7611
|
class IVIOptions extends ICookieOptions {
|