@ts-core/angular 19.0.8 → 19.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VIModule.d.ts +10 -9
- package/directive/NullEmptyValueDirective.d.ts +9 -0
- package/fesm2022/ts-core-angular.mjs +256 -207
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/resolver/LoadableResolver.d.ts +2 -0
- package/user/UserServiceBase.d.ts +1 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewContainerRef, booleanAttribute,
|
|
2
|
+
import { Component, ViewContainerRef, booleanAttribute, Input, Directive, Pipe, NgModule, PLATFORM_ID, Inject, Injectable, InjectionToken, numberAttribute, EventEmitter, HostListener, Output, RendererStyleFlags2, Optional, NgModuleFactory, RendererFactory2, APP_INITIALIZER } from '@angular/core';
|
|
3
3
|
import * as i2 from '@ts-core/common';
|
|
4
4
|
import { DestroyableContainer, PromiseHandler, LoadableEvent, ExtendedError, Destroyable, DateUtil, ArrayUtil, Loadable, LoadableStatus, ObservableData, TransportTimeoutError, TransportNoConnectionError, FilterableMapCollection, RemoveFilterableCondition, GetFilterableCondition, IDestroyable, MapCollection, TransportEvent, TransportLocal, Logger, LoggerLevel } from '@ts-core/common';
|
|
5
5
|
import * as _ from 'lodash';
|
|
6
6
|
import * as i1 from '@ts-core/frontend';
|
|
7
|
-
import {
|
|
7
|
+
import { AssetUrlProvider, Assets, NativeWindowService, LanguageService, ThemeService, ThemeAssetService, LoadingService, ICookieOptions, DefaultLogger } from '@ts-core/frontend';
|
|
8
8
|
import { takeUntil, BehaviorSubject, distinctUntilChanged, debounceTime, fromEvent, filter, map, Subject } from 'rxjs';
|
|
9
9
|
import moment from 'moment';
|
|
10
10
|
import numeral from 'numeral';
|
|
11
11
|
import { CommonModule, isPlatformServer, isPlatformBrowser, DatePipe, DOCUMENT } from '@angular/common';
|
|
12
12
|
import * as Cookie from 'ngx-cookie';
|
|
13
13
|
import * as interact from 'interactjs';
|
|
14
|
-
import * as i1$1 from '@angular/
|
|
14
|
+
import * as i1$1 from '@angular/forms';
|
|
15
|
+
import * as i1$2 from '@angular/router';
|
|
15
16
|
import { NavigationStart, NavigationEnd, NavigationCancel, NavigationError } from '@angular/router';
|
|
16
|
-
import * as i1$
|
|
17
|
-
import * as i1$
|
|
17
|
+
import * as i1$3 from '@angular/platform-browser';
|
|
18
|
+
import * as i1$4 from '@angular/service-worker';
|
|
18
19
|
|
|
19
20
|
class ApplicationBaseComponent extends DestroyableContainer {
|
|
20
21
|
// --------------------------------------------------------------------------
|
|
@@ -99,10 +100,10 @@ class ApplicationBaseComponent extends DestroyableContainer {
|
|
|
99
100
|
get viewReady() {
|
|
100
101
|
return !_.isNil(this.viewReadyPromise) ? this.viewReadyPromise.promise : null;
|
|
101
102
|
}
|
|
102
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
103
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ApplicationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: ApplicationBaseComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
104
105
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ApplicationBaseComponent, decorators: [{
|
|
106
107
|
type: Component,
|
|
107
108
|
args: [{ template: '' }]
|
|
108
109
|
}], ctorParameters: () => [] });
|
|
@@ -942,10 +943,10 @@ class AssetBackgroundDirective extends Destroyable {
|
|
|
942
943
|
get background() {
|
|
943
944
|
return this._background;
|
|
944
945
|
}
|
|
945
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
946
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
947
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", 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 });
|
|
947
948
|
}
|
|
948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
|
|
949
950
|
type: Directive,
|
|
950
951
|
args: [{
|
|
951
952
|
selector: '[vi-asset-background]',
|
|
@@ -978,10 +979,10 @@ class AssetBackgroundPipe {
|
|
|
978
979
|
transform(name, extension = 'png') {
|
|
979
980
|
return Assets.getBackground(name, extension);
|
|
980
981
|
}
|
|
981
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
982
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
983
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetBackgroundPipe, isStandalone: false, name: "viAssetBackground" });
|
|
983
984
|
}
|
|
984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
|
|
985
986
|
type: Pipe,
|
|
986
987
|
args: [{
|
|
987
988
|
name: 'viAssetBackground',
|
|
@@ -998,10 +999,10 @@ class AssetIconPipe {
|
|
|
998
999
|
transform(name, extension = 'png') {
|
|
999
1000
|
return Assets.getIcon(name, extension);
|
|
1000
1001
|
}
|
|
1001
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1002
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
1002
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1003
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetIconPipe, isStandalone: false, name: "viAssetIcon" });
|
|
1003
1004
|
}
|
|
1004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetIconPipe, decorators: [{
|
|
1005
1006
|
type: Pipe,
|
|
1006
1007
|
args: [{
|
|
1007
1008
|
name: 'viAssetIcon',
|
|
@@ -1018,10 +1019,10 @@ class AssetFilePipe {
|
|
|
1018
1019
|
transform(name, extension) {
|
|
1019
1020
|
return Assets.getFile(name, extension);
|
|
1020
1021
|
}
|
|
1021
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1022
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
1022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1023
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetFilePipe, isStandalone: false, name: "viAssetFile" });
|
|
1023
1024
|
}
|
|
1024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetFilePipe, decorators: [{
|
|
1025
1026
|
type: Pipe,
|
|
1026
1027
|
args: [{
|
|
1027
1028
|
name: 'viAssetFile',
|
|
@@ -1038,10 +1039,10 @@ class AssetVideoPipe {
|
|
|
1038
1039
|
transform(name, extension = 'mp4') {
|
|
1039
1040
|
return Assets.getVideo(name, extension);
|
|
1040
1041
|
}
|
|
1041
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1042
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
1042
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1043
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetVideoPipe, isStandalone: false, name: "viAssetVideo" });
|
|
1043
1044
|
}
|
|
1044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetVideoPipe, decorators: [{
|
|
1045
1046
|
type: Pipe,
|
|
1046
1047
|
args: [{
|
|
1047
1048
|
name: 'viAssetVideo',
|
|
@@ -1058,10 +1059,10 @@ class AssetSoundPipe {
|
|
|
1058
1059
|
transform(name, extension = 'mp3') {
|
|
1059
1060
|
return Assets.getSound(name, extension);
|
|
1060
1061
|
}
|
|
1061
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1062
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
1062
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1063
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetSoundPipe, isStandalone: false, name: "viAssetSound" });
|
|
1063
1064
|
}
|
|
1064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetSoundPipe, decorators: [{
|
|
1065
1066
|
type: Pipe,
|
|
1066
1067
|
args: [{
|
|
1067
1068
|
name: 'viAssetSound',
|
|
@@ -1078,10 +1079,10 @@ class AssetImagePipe {
|
|
|
1078
1079
|
transform(name, extension = 'png') {
|
|
1079
1080
|
return Assets.getImage(name, extension);
|
|
1080
1081
|
}
|
|
1081
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1082
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
1082
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1083
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetImagePipe, isStandalone: false, name: "viAssetImage" });
|
|
1083
1084
|
}
|
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetImagePipe, decorators: [{
|
|
1085
1086
|
type: Pipe,
|
|
1086
1087
|
args: [{
|
|
1087
1088
|
name: 'viAssetImage',
|
|
@@ -1091,11 +1092,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
1091
1092
|
|
|
1092
1093
|
let declarations$3 = [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective];
|
|
1093
1094
|
class AssetModule {
|
|
1094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1095
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
1096
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
1095
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1096
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
|
|
1097
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetModule, imports: [CommonModule] });
|
|
1097
1098
|
}
|
|
1098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetModule, decorators: [{
|
|
1099
1100
|
type: NgModule,
|
|
1100
1101
|
args: [{
|
|
1101
1102
|
imports: [CommonModule],
|
|
@@ -1200,10 +1201,10 @@ class PlatformService extends Destroyable {
|
|
|
1200
1201
|
get isPlatformBrowser() {
|
|
1201
1202
|
return this._isPlatformBrowser;
|
|
1202
1203
|
}
|
|
1203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1204
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
1204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1205
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlatformService, providedIn: 'root' });
|
|
1205
1206
|
}
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlatformService, decorators: [{
|
|
1207
1208
|
type: Injectable,
|
|
1208
1209
|
args: [{ providedIn: 'root' }]
|
|
1209
1210
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1233,11 +1234,11 @@ class CookieModule {
|
|
|
1233
1234
|
]
|
|
1234
1235
|
};
|
|
1235
1236
|
}
|
|
1236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1237
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
1238
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
1237
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1238
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: CookieModule });
|
|
1239
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CookieModule });
|
|
1239
1240
|
}
|
|
1240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CookieModule, decorators: [{
|
|
1241
1242
|
type: NgModule
|
|
1242
1243
|
}] });
|
|
1243
1244
|
function cookieServiceFactory(nativeWindow, options, platform) {
|
|
@@ -1455,10 +1456,10 @@ class AspectRatioResizeDirective extends Destroyable {
|
|
|
1455
1456
|
get ratio() {
|
|
1456
1457
|
return this._ratio;
|
|
1457
1458
|
}
|
|
1458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1459
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
1459
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1460
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", type: AspectRatioResizeDirective, isStandalone: false, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: ["ratio", "ratio", numberAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
1460
1461
|
}
|
|
1461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
|
|
1462
1463
|
type: Directive,
|
|
1463
1464
|
args: [{
|
|
1464
1465
|
selector: '[vi-aspect-ratio]',
|
|
@@ -1575,10 +1576,10 @@ class ScrollDirective extends Destroyable {
|
|
|
1575
1576
|
get scrollValue() {
|
|
1576
1577
|
return this._scrollValue;
|
|
1577
1578
|
}
|
|
1578
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1579
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
1579
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1580
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", type: ScrollDirective, isStandalone: false, selector: "[vi-scroll]", inputs: { scrollValue: ["scrollValue", "scrollValue", numberAttribute] }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
1580
1581
|
}
|
|
1581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ScrollDirective, decorators: [{
|
|
1582
1583
|
type: Directive,
|
|
1583
1584
|
args: [{
|
|
1584
1585
|
selector: '[vi-scroll]',
|
|
@@ -1646,10 +1647,10 @@ class InfiniteScrollDirective extends ScrollDirective {
|
|
|
1646
1647
|
get scrollHeight() {
|
|
1647
1648
|
return this.element.scrollHeight;
|
|
1648
1649
|
}
|
|
1649
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1650
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
1650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", type: InfiniteScrollDirective, isStandalone: false, selector: "[vi-infinite-scroll]", inputs: { elementHeight: ["elementHeight", "elementHeight", numberAttribute] }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
|
|
1651
1652
|
}
|
|
1652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
|
|
1653
1654
|
type: Directive,
|
|
1654
1655
|
args: [{
|
|
1655
1656
|
selector: '[vi-infinite-scroll]',
|
|
@@ -1765,10 +1766,10 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
1765
1766
|
this.isScrollLocked = true;
|
|
1766
1767
|
this.scrollCheck();
|
|
1767
1768
|
}
|
|
1768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
1769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1770
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", 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 });
|
|
1770
1771
|
}
|
|
1771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
|
|
1772
1773
|
type: Directive,
|
|
1773
1774
|
args: [{
|
|
1774
1775
|
selector: '[vi-auto-scroll-bottom]',
|
|
@@ -1815,10 +1816,10 @@ class ClickToCopyDirective extends Destroyable {
|
|
|
1815
1816
|
this.element = null;
|
|
1816
1817
|
clearTimeout(this.selectionClearTimer);
|
|
1817
1818
|
}
|
|
1818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1819
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
1819
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1820
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", 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 });
|
|
1820
1821
|
}
|
|
1821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClickToCopyDirective, decorators: [{
|
|
1822
1823
|
type: Directive,
|
|
1823
1824
|
args: [{
|
|
1824
1825
|
selector: '[vi-click-to-copy]',
|
|
@@ -1870,10 +1871,10 @@ class ClickToSelectDirective extends Destroyable {
|
|
|
1870
1871
|
super.destroy();
|
|
1871
1872
|
this.element = null;
|
|
1872
1873
|
}
|
|
1873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1874
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
1874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1875
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ClickToSelectDirective, isStandalone: false, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
1875
1876
|
}
|
|
1876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClickToSelectDirective, decorators: [{
|
|
1877
1878
|
type: Directive,
|
|
1878
1879
|
args: [{
|
|
1879
1880
|
selector: '[vi-click-to-select]',
|
|
@@ -1978,10 +1979,10 @@ class FocusDirective extends Destroyable {
|
|
|
1978
1979
|
set trigger(value) {
|
|
1979
1980
|
this.focus();
|
|
1980
1981
|
}
|
|
1981
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1982
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
1982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1983
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: FocusDirective, isStandalone: false, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
|
|
1983
1984
|
}
|
|
1984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: FocusDirective, decorators: [{
|
|
1985
1986
|
type: Directive,
|
|
1986
1987
|
args: [{
|
|
1987
1988
|
selector: '[vi-focus]',
|
|
@@ -2023,10 +2024,10 @@ class SelectOnFocusDirective extends Destroyable {
|
|
|
2023
2024
|
super.destroy();
|
|
2024
2025
|
this.element = null;
|
|
2025
2026
|
}
|
|
2026
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2027
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2027
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2028
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: SelectOnFocusDirective, isStandalone: false, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
2028
2029
|
}
|
|
2029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
|
|
2030
2031
|
type: Directive,
|
|
2031
2032
|
args: [{
|
|
2032
2033
|
selector: '[vi-select-on-focus]',
|
|
@@ -2091,10 +2092,10 @@ class ResizeDirective extends Destroyable {
|
|
|
2091
2092
|
this.interactable = null;
|
|
2092
2093
|
}
|
|
2093
2094
|
}
|
|
2094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2095
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
2095
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2096
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", 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 });
|
|
2096
2097
|
}
|
|
2097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ResizeDirective, decorators: [{
|
|
2098
2099
|
type: Directive,
|
|
2099
2100
|
args: [{
|
|
2100
2101
|
selector: '[vi-resize]',
|
|
@@ -2270,10 +2271,10 @@ class ScrollCheckDirective extends Destroyable {
|
|
|
2270
2271
|
get scrollLimit() {
|
|
2271
2272
|
return this._scrollLimit;
|
|
2272
2273
|
}
|
|
2273
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2274
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
2274
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2275
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", 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 });
|
|
2275
2276
|
}
|
|
2276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ScrollCheckDirective, decorators: [{
|
|
2277
2278
|
type: Directive,
|
|
2278
2279
|
args: [{
|
|
2279
2280
|
selector: '[vi-scroll-check]',
|
|
@@ -2367,10 +2368,10 @@ class LanguagePipe extends Destroyable {
|
|
|
2367
2368
|
this.lastParams = null;
|
|
2368
2369
|
this.lastValue = null;
|
|
2369
2370
|
}
|
|
2370
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2371
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
2371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2372
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipe, isStandalone: false, name: "viTranslate", pure: false });
|
|
2372
2373
|
}
|
|
2373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipe, decorators: [{
|
|
2374
2375
|
type: Pipe,
|
|
2375
2376
|
args: [{
|
|
2376
2377
|
name: 'viTranslate',
|
|
@@ -2433,10 +2434,10 @@ class HTMLTitleDirective extends Destroyable {
|
|
|
2433
2434
|
get value() {
|
|
2434
2435
|
return this._value;
|
|
2435
2436
|
}
|
|
2436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2437
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2438
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: HTMLTitleDirective, isStandalone: false, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2438
2439
|
}
|
|
2439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2440
2441
|
type: Directive,
|
|
2441
2442
|
args: [{
|
|
2442
2443
|
selector: '[vi-html-title]',
|
|
@@ -2502,10 +2503,10 @@ class HTMLContentTitleDirective extends Destroyable {
|
|
|
2502
2503
|
get value() {
|
|
2503
2504
|
return this._value;
|
|
2504
2505
|
}
|
|
2505
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2506
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2507
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: HTMLContentTitleDirective, isStandalone: false, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2507
2508
|
}
|
|
2508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
|
|
2509
2510
|
type: Directive,
|
|
2510
2511
|
args: [{
|
|
2511
2512
|
selector: '[vi-html-content-title]',
|
|
@@ -2526,10 +2527,10 @@ class IsBrowserDirective extends StructureDirective {
|
|
|
2526
2527
|
super(templateRef, container);
|
|
2527
2528
|
this.isNeedAdd = platform.isPlatformBrowser;
|
|
2528
2529
|
}
|
|
2529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2530
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2530
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2531
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: IsBrowserDirective, isStandalone: false, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
|
|
2531
2532
|
}
|
|
2532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IsBrowserDirective, decorators: [{
|
|
2533
2534
|
type: Directive,
|
|
2534
2535
|
args: [{
|
|
2535
2536
|
selector: '[viIsBrowser]',
|
|
@@ -2547,10 +2548,10 @@ class IsServerDirective extends StructureDirective {
|
|
|
2547
2548
|
super(templateRef, container);
|
|
2548
2549
|
this.isNeedAdd = platform.isPlatformServer;
|
|
2549
2550
|
}
|
|
2550
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2551
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2552
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: IsServerDirective, isStandalone: false, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
|
|
2552
2553
|
}
|
|
2553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IsServerDirective, decorators: [{
|
|
2554
2555
|
type: Directive,
|
|
2555
2556
|
args: [{
|
|
2556
2557
|
selector: '[viIsServer]',
|
|
@@ -2558,6 +2559,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
2558
2559
|
}]
|
|
2559
2560
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: PlatformService }] });
|
|
2560
2561
|
|
|
2562
|
+
class NullEmptyValueDirective {
|
|
2563
|
+
control;
|
|
2564
|
+
//--------------------------------------------------------------------------
|
|
2565
|
+
//
|
|
2566
|
+
// Constructor
|
|
2567
|
+
//
|
|
2568
|
+
//--------------------------------------------------------------------------
|
|
2569
|
+
constructor(control) {
|
|
2570
|
+
this.control = control;
|
|
2571
|
+
}
|
|
2572
|
+
//--------------------------------------------------------------------------
|
|
2573
|
+
//
|
|
2574
|
+
// Event Listener
|
|
2575
|
+
//
|
|
2576
|
+
//--------------------------------------------------------------------------
|
|
2577
|
+
onEvent(target) {
|
|
2578
|
+
this.control.viewToModelUpdate(_.isEmpty(target.value) ? null : target.value);
|
|
2579
|
+
}
|
|
2580
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NullEmptyValueDirective, deps: [{ token: i1$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2581
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: NullEmptyValueDirective, isStandalone: false, selector: "input[nullEmptyValue]", host: { listeners: { "input": "onEvent($event.target)" } }, ngImport: i0 });
|
|
2582
|
+
}
|
|
2583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NullEmptyValueDirective, decorators: [{
|
|
2584
|
+
type: Directive,
|
|
2585
|
+
args: [{
|
|
2586
|
+
selector: 'input[nullEmptyValue]',
|
|
2587
|
+
standalone: false
|
|
2588
|
+
}]
|
|
2589
|
+
}], ctorParameters: () => [{ type: i1$1.NgControl }], propDecorators: { onEvent: [{
|
|
2590
|
+
type: HostListener,
|
|
2591
|
+
args: ['input', ['$event.target']]
|
|
2592
|
+
}] } });
|
|
2593
|
+
|
|
2561
2594
|
class LanguagePipePure extends Destroyable {
|
|
2562
2595
|
language;
|
|
2563
2596
|
// --------------------------------------------------------------------------
|
|
@@ -2584,10 +2617,10 @@ class LanguagePipePure extends Destroyable {
|
|
|
2584
2617
|
super.destroy();
|
|
2585
2618
|
this.language = null;
|
|
2586
2619
|
}
|
|
2587
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2588
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
2620
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipePure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2621
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipePure, isStandalone: false, name: "viTranslatePure" });
|
|
2589
2622
|
}
|
|
2590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipePure, decorators: [{
|
|
2591
2624
|
type: Pipe,
|
|
2592
2625
|
args: [{
|
|
2593
2626
|
name: 'viTranslatePure',
|
|
@@ -2607,20 +2640,31 @@ class LoadableResolver {
|
|
|
2607
2640
|
}
|
|
2608
2641
|
// --------------------------------------------------------------------------
|
|
2609
2642
|
//
|
|
2643
|
+
// Protected Methods
|
|
2644
|
+
//
|
|
2645
|
+
// --------------------------------------------------------------------------
|
|
2646
|
+
resolveHandler() { }
|
|
2647
|
+
rejectHandler() { }
|
|
2648
|
+
// --------------------------------------------------------------------------
|
|
2649
|
+
//
|
|
2610
2650
|
// Public Methods
|
|
2611
2651
|
//
|
|
2612
2652
|
// --------------------------------------------------------------------------
|
|
2613
2653
|
resolve(route, state) {
|
|
2614
2654
|
if (this.service.isLoaded) {
|
|
2655
|
+
this.resolveHandler();
|
|
2615
2656
|
return Promise.resolve();
|
|
2616
2657
|
}
|
|
2617
2658
|
let promise = PromiseHandler.create();
|
|
2618
2659
|
let subscription = this.service.events.subscribe(data => {
|
|
2619
2660
|
if (data.type === LoadableEvent.COMPLETE) {
|
|
2661
|
+
this.resolveHandler();
|
|
2620
2662
|
promise.resolve();
|
|
2621
2663
|
}
|
|
2622
2664
|
else if (data.type === LoadableEvent.ERROR) {
|
|
2623
|
-
|
|
2665
|
+
this.rejectHandler();
|
|
2666
|
+
let error = data.error?.toString();
|
|
2667
|
+
promise.reject(error);
|
|
2624
2668
|
}
|
|
2625
2669
|
else if (data.type === LoadableEvent.FINISHED) {
|
|
2626
2670
|
subscription.unsubscribe();
|
|
@@ -2642,10 +2686,10 @@ class LanguageResolver extends LanguageRequireResolver {
|
|
|
2642
2686
|
constructor(service) {
|
|
2643
2687
|
super(service);
|
|
2644
2688
|
}
|
|
2645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2646
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
2689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageResolver, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2690
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageResolver, providedIn: 'root' });
|
|
2647
2691
|
}
|
|
2648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageResolver, decorators: [{
|
|
2649
2693
|
type: Injectable,
|
|
2650
2694
|
args: [{ providedIn: 'root' }]
|
|
2651
2695
|
}], ctorParameters: () => [{ type: i1.LanguageService }] });
|
|
@@ -2728,10 +2772,10 @@ class LanguageDirective extends Destroyable {
|
|
|
2728
2772
|
get params() {
|
|
2729
2773
|
return this._params;
|
|
2730
2774
|
}
|
|
2731
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2732
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
2775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2776
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", type: LanguageDirective, isStandalone: false, selector: "[vi-translate]", inputs: { isNeedTitle: ["isNeedTitle", "isNeedTitle", booleanAttribute], key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
|
|
2733
2777
|
}
|
|
2734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageDirective, decorators: [{
|
|
2735
2779
|
type: Directive,
|
|
2736
2780
|
args: [{
|
|
2737
2781
|
selector: '[vi-translate]',
|
|
@@ -2781,10 +2825,10 @@ class LanguageToggleDirective extends Destroyable {
|
|
|
2781
2825
|
super.destroy();
|
|
2782
2826
|
this.language = null;
|
|
2783
2827
|
}
|
|
2784
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2785
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
2828
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageToggleDirective, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2829
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: LanguageToggleDirective, isStandalone: false, selector: "[vi-language-toggle]", host: { listeners: { "click": "clickHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
2786
2830
|
}
|
|
2787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageToggleDirective, decorators: [{
|
|
2788
2832
|
type: Directive,
|
|
2789
2833
|
args: [{
|
|
2790
2834
|
selector: '[vi-language-toggle]',
|
|
@@ -2842,10 +2886,10 @@ class LanguagePipeHas extends Destroyable {
|
|
|
2842
2886
|
this.language = null;
|
|
2843
2887
|
this.key = null;
|
|
2844
2888
|
}
|
|
2845
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2846
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
2889
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHas, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2890
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHas, isStandalone: false, name: "viTranslateHas", pure: false });
|
|
2847
2891
|
}
|
|
2848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHas, decorators: [{
|
|
2849
2893
|
type: Pipe,
|
|
2850
2894
|
args: [{
|
|
2851
2895
|
name: 'viTranslateHas',
|
|
@@ -2880,10 +2924,10 @@ class LanguagePipeHasPure extends Destroyable {
|
|
|
2880
2924
|
super.destroy();
|
|
2881
2925
|
this.language = null;
|
|
2882
2926
|
}
|
|
2883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2884
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
2927
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHasPure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2928
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHasPure, isStandalone: false, name: "viTranslateHasPure" });
|
|
2885
2929
|
}
|
|
2886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
2930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguagePipeHasPure, decorators: [{
|
|
2887
2931
|
type: Pipe,
|
|
2888
2932
|
args: [{
|
|
2889
2933
|
name: 'viTranslateHasPure',
|
|
@@ -2957,10 +3001,10 @@ class LanguageHasDirective extends StructureDirective {
|
|
|
2957
3001
|
get viTranslateHasIsOnlyIfNotEmpty() {
|
|
2958
3002
|
return this._isOnlyIfNotEmpty;
|
|
2959
3003
|
}
|
|
2960
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
2961
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
3004
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageHasDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3005
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: LanguageHasDirective, isStandalone: false, selector: "[viTranslateHas]", inputs: { viTranslateHas: "viTranslateHas", viTranslateHasIsOnlyIfNotEmpty: "viTranslateHasIsOnlyIfNotEmpty" }, usesInheritance: true, ngImport: i0 });
|
|
2962
3006
|
}
|
|
2963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageHasDirective, decorators: [{
|
|
2964
3008
|
type: Directive,
|
|
2965
3009
|
args: [{
|
|
2966
3010
|
selector: '[viTranslateHas]',
|
|
@@ -3002,11 +3046,11 @@ class LanguageModule {
|
|
|
3002
3046
|
]
|
|
3003
3047
|
};
|
|
3004
3048
|
}
|
|
3005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3006
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
3007
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
3049
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3050
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: LanguageModule, declarations: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageToggleDirective, LanguageHasDirective, LanguageDirective], imports: [CookieModule], exports: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageToggleDirective, LanguageHasDirective, LanguageDirective] });
|
|
3051
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageModule, imports: [CookieModule] });
|
|
3008
3052
|
}
|
|
3009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LanguageModule, decorators: [{
|
|
3010
3054
|
type: NgModule,
|
|
3011
3055
|
args: [{
|
|
3012
3056
|
imports: [CookieModule],
|
|
@@ -3309,16 +3353,16 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
3309
3353
|
canActivate(route, state) {
|
|
3310
3354
|
return this.isLoggedIn() ? true : this.router.parseUrl(LoginGuard.redirectUrl);
|
|
3311
3355
|
}
|
|
3312
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3313
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
3356
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3357
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
3314
3358
|
}
|
|
3315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginGuard, decorators: [{
|
|
3316
3360
|
type: Injectable,
|
|
3317
3361
|
args: [{ providedIn: 'root' }]
|
|
3318
3362
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3319
3363
|
type: Inject,
|
|
3320
3364
|
args: [LoginServiceBase]
|
|
3321
|
-
}] }, { type: i1$
|
|
3365
|
+
}] }, { type: i1$2.Router }] });
|
|
3322
3366
|
|
|
3323
3367
|
class LoginNotGuard extends LoginRequireResolver {
|
|
3324
3368
|
router;
|
|
@@ -3345,16 +3389,16 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
3345
3389
|
canActivate(route, state) {
|
|
3346
3390
|
return !this.isLoggedIn() ? true : this.router.parseUrl(LoginNotGuard.redirectUrl);
|
|
3347
3391
|
}
|
|
3348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3349
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
3392
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3393
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
3350
3394
|
}
|
|
3351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
3352
3396
|
type: Injectable,
|
|
3353
3397
|
args: [{ providedIn: 'root' }]
|
|
3354
3398
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3355
3399
|
type: Inject,
|
|
3356
3400
|
args: [LoginServiceBase]
|
|
3357
|
-
}] }, { type: i1$
|
|
3401
|
+
}] }, { type: i1$2.Router }] });
|
|
3358
3402
|
|
|
3359
3403
|
class LoginResolver extends LoginRequireResolver {
|
|
3360
3404
|
// --------------------------------------------------------------------------
|
|
@@ -3365,10 +3409,10 @@ class LoginResolver extends LoginRequireResolver {
|
|
|
3365
3409
|
constructor(login) {
|
|
3366
3410
|
super(login);
|
|
3367
3411
|
}
|
|
3368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3369
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
3412
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginResolver, deps: [{ token: LoginServiceBase }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3413
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginResolver, providedIn: 'root' });
|
|
3370
3414
|
}
|
|
3371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginResolver, decorators: [{
|
|
3372
3416
|
type: Injectable,
|
|
3373
3417
|
args: [{ providedIn: 'root' }]
|
|
3374
3418
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -3414,16 +3458,16 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
3414
3458
|
}
|
|
3415
3459
|
return super.canActivate(route, state);
|
|
3416
3460
|
}
|
|
3417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3418
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
3461
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginServiceBase }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3462
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
3419
3463
|
}
|
|
3420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
3421
3465
|
type: Injectable,
|
|
3422
3466
|
args: [{ providedIn: 'root' }]
|
|
3423
3467
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3424
3468
|
type: Inject,
|
|
3425
3469
|
args: [LoginServiceBase]
|
|
3426
|
-
}] }, { type: i1$
|
|
3470
|
+
}] }, { type: i1$2.Router }] });
|
|
3427
3471
|
|
|
3428
3472
|
class ValueStorage extends Destroyable {
|
|
3429
3473
|
storage;
|
|
@@ -4255,10 +4299,10 @@ class PrettifyPipe {
|
|
|
4255
4299
|
//
|
|
4256
4300
|
// --------------------------------------------------------------------------
|
|
4257
4301
|
constructor() { }
|
|
4258
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4259
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4302
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4303
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: PrettifyPipe, isStandalone: false, name: "viPrettify" });
|
|
4260
4304
|
}
|
|
4261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PrettifyPipe, decorators: [{
|
|
4262
4306
|
type: Pipe,
|
|
4263
4307
|
args: [{
|
|
4264
4308
|
name: 'viPrettify',
|
|
@@ -4275,10 +4319,10 @@ class CamelCasePipe {
|
|
|
4275
4319
|
transform(value) {
|
|
4276
4320
|
return !_.isNil(value) ? _.camelCase(value) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4277
4321
|
}
|
|
4278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4279
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CamelCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4323
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: CamelCasePipe, isStandalone: false, name: "viCamelCase" });
|
|
4280
4324
|
}
|
|
4281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CamelCasePipe, decorators: [{
|
|
4282
4326
|
type: Pipe,
|
|
4283
4327
|
args: [{
|
|
4284
4328
|
name: 'viCamelCase',
|
|
@@ -4325,10 +4369,10 @@ class FinancePipe {
|
|
|
4325
4369
|
}
|
|
4326
4370
|
return FinancePipe.format(value, format);
|
|
4327
4371
|
}
|
|
4328
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4329
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4372
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: FinancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4373
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: FinancePipe, isStandalone: false, name: "viFinance" });
|
|
4330
4374
|
}
|
|
4331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: FinancePipe, decorators: [{
|
|
4332
4376
|
type: Pipe,
|
|
4333
4377
|
args: [{
|
|
4334
4378
|
name: 'viFinance',
|
|
@@ -4392,10 +4436,10 @@ class MomentDatePipe {
|
|
|
4392
4436
|
let moment = MomentDatePipe.parseMoment(value);
|
|
4393
4437
|
return moment.format(format || MomentDatePipe.DEFAULT_FORMAT);
|
|
4394
4438
|
}
|
|
4395
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4396
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4439
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4440
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: MomentDatePipe, isStandalone: false, name: "viMomentDate" });
|
|
4397
4441
|
}
|
|
4398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDatePipe, decorators: [{
|
|
4399
4443
|
type: Pipe,
|
|
4400
4444
|
args: [{
|
|
4401
4445
|
name: 'viMomentDate',
|
|
@@ -4439,10 +4483,10 @@ class MomentDateAdaptivePipe {
|
|
|
4439
4483
|
}
|
|
4440
4484
|
return item.format(format);
|
|
4441
4485
|
}
|
|
4442
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4443
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDateAdaptivePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4487
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: MomentDateAdaptivePipe, isStandalone: false, name: "viMomentAdaptiveDate" });
|
|
4444
4488
|
}
|
|
4445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDateAdaptivePipe, decorators: [{
|
|
4446
4490
|
type: Pipe,
|
|
4447
4491
|
args: [{
|
|
4448
4492
|
name: 'viMomentAdaptiveDate',
|
|
@@ -4459,10 +4503,10 @@ class MomentDateFromNowPipe {
|
|
|
4459
4503
|
transform(value, format) {
|
|
4460
4504
|
return MomentDatePipe.fromNow(value, format);
|
|
4461
4505
|
}
|
|
4462
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4463
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDateFromNowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4507
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: MomentDateFromNowPipe, isStandalone: false, name: "viMomentDateFromNow" });
|
|
4464
4508
|
}
|
|
4465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentDateFromNowPipe, decorators: [{
|
|
4466
4510
|
type: Pipe,
|
|
4467
4511
|
args: [{
|
|
4468
4512
|
name: 'viMomentDateFromNow',
|
|
@@ -4491,10 +4535,10 @@ class MomentTimePipe {
|
|
|
4491
4535
|
.add(timeMilliseconds, 'milliseconds')
|
|
4492
4536
|
.format(format || MomentTimePipe.DEFAULT_FORMAT);
|
|
4493
4537
|
}
|
|
4494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4495
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4539
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: MomentTimePipe, isStandalone: false, name: "viMomentTime" });
|
|
4496
4540
|
}
|
|
4497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MomentTimePipe, decorators: [{
|
|
4498
4542
|
type: Pipe,
|
|
4499
4543
|
args: [{
|
|
4500
4544
|
name: 'viMomentTime',
|
|
@@ -4531,10 +4575,10 @@ class NgModelErrorPipe {
|
|
|
4531
4575
|
constructor(language) {
|
|
4532
4576
|
this.language = language;
|
|
4533
4577
|
}
|
|
4534
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4535
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4578
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgModelErrorPipe, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4579
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: NgModelErrorPipe, isStandalone: false, name: "viNgModelError" });
|
|
4536
4580
|
}
|
|
4537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgModelErrorPipe, decorators: [{
|
|
4538
4582
|
type: Pipe,
|
|
4539
4583
|
args: [{
|
|
4540
4584
|
name: 'viNgModelError',
|
|
@@ -4576,16 +4620,16 @@ class SanitizePipe {
|
|
|
4576
4620
|
throw new Error('Invalid safe type specified: ' + type);
|
|
4577
4621
|
}
|
|
4578
4622
|
}
|
|
4579
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4580
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SanitizePipe, deps: [{ token: i1$3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4624
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: SanitizePipe, isStandalone: false, name: "viSanitize" });
|
|
4581
4625
|
}
|
|
4582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: SanitizePipe, decorators: [{
|
|
4583
4627
|
type: Pipe,
|
|
4584
4628
|
args: [{
|
|
4585
4629
|
name: 'viSanitize',
|
|
4586
4630
|
standalone: false
|
|
4587
4631
|
}]
|
|
4588
|
-
}], ctorParameters: () => [{ type: i1$
|
|
4632
|
+
}], ctorParameters: () => [{ type: i1$3.DomSanitizer }] });
|
|
4589
4633
|
|
|
4590
4634
|
class StartCasePipe {
|
|
4591
4635
|
// --------------------------------------------------------------------------
|
|
@@ -4596,10 +4640,10 @@ class StartCasePipe {
|
|
|
4596
4640
|
transform(value) {
|
|
4597
4641
|
return !_.isEmpty(value) ? value.charAt(0).toUpperCase() + value.slice(1) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4598
4642
|
}
|
|
4599
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4600
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4643
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: StartCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4644
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: StartCasePipe, isStandalone: false, name: "viStartCase" });
|
|
4601
4645
|
}
|
|
4602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: StartCasePipe, decorators: [{
|
|
4603
4647
|
type: Pipe,
|
|
4604
4648
|
args: [{
|
|
4605
4649
|
name: 'viStartCase',
|
|
@@ -4616,10 +4660,10 @@ class TruncatePipe {
|
|
|
4616
4660
|
transform(value, maxLength) {
|
|
4617
4661
|
return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) : PrettifyPipe.EMPTY_SYMBOL;
|
|
4618
4662
|
}
|
|
4619
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4620
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4664
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: TruncatePipe, isStandalone: false, name: "viTruncate" });
|
|
4621
4665
|
}
|
|
4622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruncatePipe, decorators: [{
|
|
4623
4667
|
type: Pipe,
|
|
4624
4668
|
args: [{
|
|
4625
4669
|
name: 'viTruncate',
|
|
@@ -4649,10 +4693,10 @@ class TimePipe {
|
|
|
4649
4693
|
}
|
|
4650
4694
|
return FinancePipe.format(milliseconds / DateUtil.MILLISECONDS_SECOND, format);
|
|
4651
4695
|
}
|
|
4652
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
4653
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
4696
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4697
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: TimePipe, isStandalone: false, name: "viTime" });
|
|
4654
4698
|
}
|
|
4655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
4699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TimePipe, decorators: [{
|
|
4656
4700
|
type: Pipe,
|
|
4657
4701
|
args: [{
|
|
4658
4702
|
name: 'viTime',
|
|
@@ -5232,13 +5276,13 @@ class ServiceWorkerService extends Loadable {
|
|
|
5232
5276
|
get isEnabled() {
|
|
5233
5277
|
return this.updates.isEnabled;
|
|
5234
5278
|
}
|
|
5235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5236
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
5279
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ServiceWorkerService, deps: [{ token: i1$4.SwUpdate }, { token: i2.Logger }, { token: NotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5280
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ServiceWorkerService, providedIn: 'root' });
|
|
5237
5281
|
}
|
|
5238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ServiceWorkerService, decorators: [{
|
|
5239
5283
|
type: Injectable,
|
|
5240
5284
|
args: [{ providedIn: 'root' }]
|
|
5241
|
-
}], ctorParameters: () => [{ type: i1$
|
|
5285
|
+
}], ctorParameters: () => [{ type: i1$4.SwUpdate }, { type: i2.Logger }, { type: NotificationService }] });
|
|
5242
5286
|
|
|
5243
5287
|
class CanDeactivateGuard {
|
|
5244
5288
|
// --------------------------------------------------------------------------
|
|
@@ -5352,10 +5396,10 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
5352
5396
|
this.stylePropertiesCheck();
|
|
5353
5397
|
}
|
|
5354
5398
|
}
|
|
5355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5356
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5400
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeStyleDirective, isStandalone: false, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
|
|
5357
5401
|
}
|
|
5358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
5359
5403
|
type: Directive,
|
|
5360
5404
|
args: [{
|
|
5361
5405
|
selector: '[vi-theme-style]',
|
|
@@ -5456,10 +5500,10 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
5456
5500
|
set flags(value) {
|
|
5457
5501
|
super.flags = value;
|
|
5458
5502
|
}
|
|
5459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5460
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5503
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5504
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeStyleHoverDirective, isStandalone: false, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
|
|
5461
5505
|
}
|
|
5462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
5463
5507
|
type: Directive,
|
|
5464
5508
|
args: [{
|
|
5465
5509
|
selector: '[vi-theme-style-hover]',
|
|
@@ -5688,10 +5732,10 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
5688
5732
|
this._extension = value;
|
|
5689
5733
|
this.setSourceProperties();
|
|
5690
5734
|
}
|
|
5691
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5692
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.
|
|
5735
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5736
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.3", 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 });
|
|
5693
5737
|
}
|
|
5694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
5695
5739
|
type: Directive
|
|
5696
5740
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { errorLoadingHandler: [{
|
|
5697
5741
|
type: HostListener,
|
|
@@ -5753,10 +5797,10 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
5753
5797
|
get name() {
|
|
5754
5798
|
return super.name;
|
|
5755
5799
|
}
|
|
5756
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5757
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5800
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5801
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeAssetBackgroundDirective, isStandalone: false, selector: "[vi-theme-background]", inputs: { name: ["vi-theme-background", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
5758
5802
|
}
|
|
5759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
5760
5804
|
type: Directive,
|
|
5761
5805
|
args: [{
|
|
5762
5806
|
selector: '[vi-theme-background]',
|
|
@@ -5799,10 +5843,10 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
5799
5843
|
get name() {
|
|
5800
5844
|
return super.name;
|
|
5801
5845
|
}
|
|
5802
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5803
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5847
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeAssetImageDirective, isStandalone: false, selector: "[vi-theme-image]", inputs: { name: ["vi-theme-image", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
5804
5848
|
}
|
|
5805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
5806
5850
|
type: Directive,
|
|
5807
5851
|
args: [{
|
|
5808
5852
|
selector: '[vi-theme-image]',
|
|
@@ -5844,10 +5888,10 @@ class ThemeAssetIconDirective extends ThemeAssetDirective {
|
|
|
5844
5888
|
get name() {
|
|
5845
5889
|
return super.name;
|
|
5846
5890
|
}
|
|
5847
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5848
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5891
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetIconDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5892
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeAssetIconDirective, isStandalone: false, selector: "[vi-theme-icon]", inputs: { name: ["vi-theme-icon", "name"] }, usesInheritance: true, ngImport: i0 });
|
|
5849
5893
|
}
|
|
5850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
|
|
5851
5895
|
type: Directive,
|
|
5852
5896
|
args: [{
|
|
5853
5897
|
selector: '[vi-theme-icon]',
|
|
@@ -5892,10 +5936,10 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
5892
5936
|
super.destroy();
|
|
5893
5937
|
this.theme = null;
|
|
5894
5938
|
}
|
|
5895
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5896
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
5939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5940
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: ThemeToggleDirective, isStandalone: false, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
5897
5941
|
}
|
|
5898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
5942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
5899
5943
|
type: Directive,
|
|
5900
5944
|
args: [{
|
|
5901
5945
|
selector: '[vi-theme-toggle]',
|
|
@@ -5941,8 +5985,8 @@ class ThemeModule {
|
|
|
5941
5985
|
]
|
|
5942
5986
|
};
|
|
5943
5987
|
}
|
|
5944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
5945
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
5988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5989
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
|
|
5946
5990
|
ThemeAssetImageDirective,
|
|
5947
5991
|
ThemeAssetIconDirective,
|
|
5948
5992
|
ThemeAssetBackgroundDirective,
|
|
@@ -5953,9 +5997,9 @@ class ThemeModule {
|
|
|
5953
5997
|
ThemeAssetBackgroundDirective,
|
|
5954
5998
|
ThemeStyleDirective,
|
|
5955
5999
|
ThemeStyleHoverDirective] });
|
|
5956
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
6000
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
|
|
5957
6001
|
}
|
|
5958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
6002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ThemeModule, decorators: [{
|
|
5959
6003
|
type: NgModule,
|
|
5960
6004
|
args: [{
|
|
5961
6005
|
imports: [CookieModule],
|
|
@@ -6003,10 +6047,12 @@ class UserServiceBase extends Loginable {
|
|
|
6003
6047
|
}
|
|
6004
6048
|
async loginedHandler() {
|
|
6005
6049
|
await this.initializeUser(this.login.loginData);
|
|
6050
|
+
this.status = LoadableStatus.LOADED;
|
|
6006
6051
|
this.observer.next(new ObservableData(UserServiceBaseEvent.LOGINED, this.user));
|
|
6007
6052
|
}
|
|
6008
6053
|
async logoutedHandler() {
|
|
6009
6054
|
await this.deinitializeUser();
|
|
6055
|
+
this.status = LoadableStatus.NOT_LOADED;
|
|
6010
6056
|
this.observer.next(new ObservableData(UserServiceBaseEvent.LOGOUTED));
|
|
6011
6057
|
}
|
|
6012
6058
|
// --------------------------------------------------------------------------
|
|
@@ -6014,7 +6060,7 @@ class UserServiceBase extends Loginable {
|
|
|
6014
6060
|
// Public Methods
|
|
6015
6061
|
//
|
|
6016
6062
|
// --------------------------------------------------------------------------
|
|
6017
|
-
|
|
6063
|
+
isEquals(item) {
|
|
6018
6064
|
if (!this.has || _.isNil(item)) {
|
|
6019
6065
|
return false;
|
|
6020
6066
|
}
|
|
@@ -6631,10 +6677,10 @@ class IWindowContent extends DestroyableContainer {
|
|
|
6631
6677
|
this.commitWindowProperties();
|
|
6632
6678
|
}
|
|
6633
6679
|
}
|
|
6634
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
6635
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.
|
|
6680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IWindowContent, deps: [{ token: WINDOW_CONTENT_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6681
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.3", type: IWindowContent, isStandalone: true, selector: "ng-component", inputs: { isDisabled: ["isDisabled", "isDisabled", booleanAttribute], window: "window" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
6636
6682
|
}
|
|
6637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
6683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IWindowContent, decorators: [{
|
|
6638
6684
|
type: Component,
|
|
6639
6685
|
args: [{ template: '' }]
|
|
6640
6686
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -6810,10 +6856,10 @@ class INotificationContent extends DestroyableContainer {
|
|
|
6810
6856
|
get config() {
|
|
6811
6857
|
return this._config;
|
|
6812
6858
|
}
|
|
6813
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
6814
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.
|
|
6859
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: INotificationContent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6860
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: INotificationContent, isStandalone: true, selector: "ng-component", inputs: { config: "config" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
6815
6861
|
}
|
|
6816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
6862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: INotificationContent, decorators: [{
|
|
6817
6863
|
type: Component,
|
|
6818
6864
|
args: [{ template: '' }]
|
|
6819
6865
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { config: [{
|
|
@@ -7081,10 +7127,10 @@ class LazyModuleLoader extends Loadable {
|
|
|
7081
7127
|
get modules() {
|
|
7082
7128
|
return this._modules;
|
|
7083
7129
|
}
|
|
7084
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
7085
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
7130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LazyModuleLoader, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7131
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LazyModuleLoader, providedIn: 'root' });
|
|
7086
7132
|
}
|
|
7087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
7133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: LazyModuleLoader, decorators: [{
|
|
7088
7134
|
type: Injectable,
|
|
7089
7135
|
args: [{ providedIn: 'root' }]
|
|
7090
7136
|
}], ctorParameters: () => [{ type: i0.Compiler }, { type: i0.Injector }] });
|
|
@@ -7249,6 +7295,7 @@ let declarations = [
|
|
|
7249
7295
|
SelectOnFocusDirective,
|
|
7250
7296
|
ClickToSelectDirective,
|
|
7251
7297
|
InfiniteScrollDirective,
|
|
7298
|
+
NullEmptyValueDirective,
|
|
7252
7299
|
HTMLTitleDirective,
|
|
7253
7300
|
HTMLContentTitleDirective,
|
|
7254
7301
|
AutoScrollBottomDirective,
|
|
@@ -7285,8 +7332,8 @@ class VIModule {
|
|
|
7285
7332
|
]
|
|
7286
7333
|
};
|
|
7287
7334
|
}
|
|
7288
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
7289
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
7335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7336
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: VIModule, declarations: [TimePipe,
|
|
7290
7337
|
FinancePipe,
|
|
7291
7338
|
SanitizePipe,
|
|
7292
7339
|
TruncatePipe,
|
|
@@ -7308,6 +7355,7 @@ class VIModule {
|
|
|
7308
7355
|
SelectOnFocusDirective,
|
|
7309
7356
|
ClickToSelectDirective,
|
|
7310
7357
|
InfiniteScrollDirective,
|
|
7358
|
+
NullEmptyValueDirective,
|
|
7311
7359
|
HTMLTitleDirective,
|
|
7312
7360
|
HTMLContentTitleDirective,
|
|
7313
7361
|
AutoScrollBottomDirective,
|
|
@@ -7333,13 +7381,14 @@ class VIModule {
|
|
|
7333
7381
|
SelectOnFocusDirective,
|
|
7334
7382
|
ClickToSelectDirective,
|
|
7335
7383
|
InfiniteScrollDirective,
|
|
7384
|
+
NullEmptyValueDirective,
|
|
7336
7385
|
HTMLTitleDirective,
|
|
7337
7386
|
HTMLContentTitleDirective,
|
|
7338
7387
|
AutoScrollBottomDirective,
|
|
7339
7388
|
AspectRatioResizeDirective] });
|
|
7340
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
7389
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
|
|
7341
7390
|
}
|
|
7342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
7391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: VIModule, decorators: [{
|
|
7343
7392
|
type: NgModule,
|
|
7344
7393
|
args: [{
|
|
7345
7394
|
imports,
|
|
@@ -7377,5 +7426,5 @@ const VI_ANGULAR_OPTIONS = new InjectionToken(`VI_ANGULAR_OPTIONS`);
|
|
|
7377
7426
|
* Generated bundle index. Do not edit.
|
|
7378
7427
|
*/
|
|
7379
7428
|
|
|
7380
|
-
export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BooleanValueStorage, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, DateValueStorage, Direction, FinancePipe, FocusDirective, FocusManager, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVIOptions, IWindow, IWindowContent, InfiniteScrollDirective, IsBrowserDirective, IsServerDirective, JSONValueStorage, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageModule, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LanguageToggleDirective, LazyModuleLoader, ListItem, ListItems, LoadableResolver, LocalStorageService, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, LoginServiceBase, LoginServiceBaseEvent, LoginTokenStorage, Loginable, MenuItem, MenuItemBase, MenuItems, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationConfig, NotificationEvent, NotificationService, NotificationServiceEvent, PipeBaseService, PlatformService, PrettifyPipe, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, RouterSelectListItems, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListItem, SelectListItems, SelectOnFocusDirective, ServiceWorkerService, StartCasePipe, StructureDirective, THEME_OPTIONS, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetIconDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserServiceBase, UserServiceBaseEvent, VIModule, VI_ANGULAR_OPTIONS, ValueStorage, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowClosedError, WindowConfig, WindowEvent, WindowService, WindowServiceEvent, cookieServiceFactory, initializerFactory, languageServiceFactory, localStorageServiceFactory, loggerServiceFactory, loginTokenStorageServiceFactory, nativeWindowServiceFactory, themeAssetServiceFactory, themeServiceFactory };
|
|
7429
|
+
export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BooleanValueStorage, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, DateValueStorage, Direction, FinancePipe, FocusDirective, FocusManager, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVIOptions, IWindow, IWindowContent, InfiniteScrollDirective, IsBrowserDirective, IsServerDirective, JSONValueStorage, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageModule, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LanguageToggleDirective, LazyModuleLoader, ListItem, ListItems, LoadableResolver, LocalStorageService, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, LoginServiceBase, LoginServiceBaseEvent, LoginTokenStorage, Loginable, MenuItem, MenuItemBase, MenuItems, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationConfig, NotificationEvent, NotificationService, NotificationServiceEvent, NullEmptyValueDirective, PipeBaseService, PlatformService, PrettifyPipe, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, RouterSelectListItems, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListItem, SelectListItems, SelectOnFocusDirective, ServiceWorkerService, StartCasePipe, StructureDirective, THEME_OPTIONS, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetIconDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserServiceBase, UserServiceBaseEvent, VIModule, VI_ANGULAR_OPTIONS, ValueStorage, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowClosedError, WindowConfig, WindowEvent, WindowService, WindowServiceEvent, cookieServiceFactory, initializerFactory, languageServiceFactory, localStorageServiceFactory, loggerServiceFactory, loginTokenStorageServiceFactory, nativeWindowServiceFactory, themeAssetServiceFactory, themeServiceFactory };
|
|
7381
7430
|
//# sourceMappingURL=ts-core-angular.mjs.map
|