@ts-core/angular 17.0.18 → 17.0.19
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/cookie/CookieModule.d.ts +3 -2
- package/cookie/CookieService.d.ts +2 -2
- package/esm2022/VIModule.mjs +4 -4
- package/esm2022/application/ApplicationBaseComponent.mjs +3 -3
- package/esm2022/asset/AssetBackgroundDirective.mjs +3 -3
- package/esm2022/asset/AssetBackgroundPipe.mjs +3 -3
- package/esm2022/asset/AssetFilePipe.mjs +3 -3
- package/esm2022/asset/AssetIconPipe.mjs +3 -3
- package/esm2022/asset/AssetImagePipe.mjs +3 -3
- package/esm2022/asset/AssetModule.mjs +4 -4
- package/esm2022/asset/AssetSoundPipe.mjs +3 -3
- package/esm2022/asset/AssetVideoPipe.mjs +3 -3
- package/esm2022/cookie/CookieModule.mjs +10 -9
- package/esm2022/cookie/CookieService.mjs +34 -5
- package/esm2022/directive/AspectRatioResizeDirective.mjs +3 -3
- package/esm2022/directive/AutoScrollBottomDirective.mjs +3 -3
- package/esm2022/directive/ClickToCopyDirective.mjs +3 -3
- package/esm2022/directive/ClickToSelectDirective.mjs +3 -3
- package/esm2022/directive/FocusDirective.mjs +3 -3
- package/esm2022/directive/HTMLContentTitleDirective.mjs +3 -3
- package/esm2022/directive/HTMLTitleDirective.mjs +3 -3
- package/esm2022/directive/InfiniteScrollDirective.mjs +3 -3
- package/esm2022/directive/IsBrowserDirective.mjs +3 -3
- package/esm2022/directive/IsServerDirective.mjs +3 -3
- package/esm2022/directive/ResizeDirective.mjs +3 -3
- package/esm2022/directive/ScrollCheckDirective.mjs +3 -3
- package/esm2022/directive/ScrollDirective.mjs +3 -3
- package/esm2022/directive/SelectOnFocusDirective.mjs +3 -3
- package/esm2022/language/LanguageDirective.mjs +3 -3
- package/esm2022/language/LanguageHasDirective.mjs +3 -3
- package/esm2022/language/LanguageModule.mjs +4 -4
- package/esm2022/language/LanguagePipe.mjs +3 -3
- package/esm2022/language/LanguagePipeHas.mjs +3 -3
- package/esm2022/language/LanguagePipeHasPure.mjs +3 -3
- package/esm2022/language/LanguagePipePure.mjs +3 -3
- package/esm2022/language/LanguageResolver.mjs +3 -3
- package/esm2022/login/LoginGuard.mjs +3 -3
- package/esm2022/login/LoginIfCanGuard.mjs +3 -3
- package/esm2022/login/LoginNotGuard.mjs +3 -3
- package/esm2022/login/LoginResolver.mjs +3 -3
- package/esm2022/module/LazyModuleLoader.mjs +3 -3
- package/esm2022/notification/INotificationContent.mjs +3 -3
- package/esm2022/pipe/CamelCasePipe.mjs +3 -3
- package/esm2022/pipe/FinancePipe.mjs +3 -3
- package/esm2022/pipe/MomentDateAdaptivePipe.mjs +3 -3
- package/esm2022/pipe/MomentDateFromNowPipe.mjs +3 -3
- package/esm2022/pipe/MomentDatePipe.mjs +3 -3
- package/esm2022/pipe/MomentTimePipe.mjs +3 -3
- package/esm2022/pipe/NgModelErrorPipe.mjs +3 -3
- package/esm2022/pipe/PrettifyPipe.mjs +3 -3
- package/esm2022/pipe/SanitizePipe.mjs +3 -3
- package/esm2022/pipe/StartCasePipe.mjs +3 -3
- package/esm2022/pipe/TimePipe.mjs +3 -3
- package/esm2022/pipe/TruncatePipe.mjs +3 -3
- package/esm2022/service/PlatformService.mjs +3 -3
- package/esm2022/theme/ThemeAssetBackgroundDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetIconDirective.mjs +3 -3
- package/esm2022/theme/ThemeAssetImageDirective.mjs +3 -3
- package/esm2022/theme/ThemeModule.mjs +4 -4
- package/esm2022/theme/ThemeStyleDirective.mjs +3 -3
- package/esm2022/theme/ThemeStyleHoverDirective.mjs +3 -3
- package/esm2022/theme/ThemeToggleDirective.mjs +3 -3
- package/esm2022/window/IWindowContent.mjs +3 -3
- package/fesm2022/ts-core-angular.mjs +263 -234
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
package/cookie/CookieModule.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { ICookieOptions
|
|
2
|
+
import { ICookieOptions } from '@ts-core/frontend';
|
|
3
3
|
import { CookieService } from './CookieService';
|
|
4
|
+
import { PlatformService } from '../service/PlatformService';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class CookieModule {
|
|
6
7
|
static forRoot(options?: ICookieOptions): ModuleWithProviders<CookieModule>;
|
|
@@ -8,5 +9,5 @@ export declare class CookieModule {
|
|
|
8
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<CookieModule, never, never, never>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<CookieModule>;
|
|
10
11
|
}
|
|
11
|
-
export declare function cookieServiceFactory(
|
|
12
|
+
export declare function cookieServiceFactory(document: Document, options: ICookieOptions, platform: PlatformService): CookieService;
|
|
12
13
|
export declare const COOKIE_OPTIONS: InjectionToken<ICookieOptions>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ICookieOptions, ICookieService } from '@ts-core/frontend';
|
|
2
|
-
import * as Cookie from 'ngx-cookie';
|
|
3
2
|
import { CookieOptions } from './CookieOptions';
|
|
3
|
+
import * as Cookie from 'ngx-cookie';
|
|
4
4
|
export declare class CookieService extends Cookie.CookieService implements ICookieService {
|
|
5
|
-
constructor(options: CookieOptions,
|
|
5
|
+
constructor(document: Document, options: CookieOptions, isPlatformBrowser: boolean);
|
|
6
6
|
has(key: string): boolean;
|
|
7
7
|
get<T = string>(key: string, defaultValue?: T): T;
|
|
8
8
|
getObject<T = any>(key: string, defaultValue?: T): T;
|
package/esm2022/VIModule.mjs
CHANGED
|
@@ -102,8 +102,8 @@ export class VIModule {
|
|
|
102
102
|
]
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
106
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
105
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
106
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: VIModule, declarations: [TimePipe,
|
|
107
107
|
FinancePipe,
|
|
108
108
|
SanitizePipe,
|
|
109
109
|
TruncatePipe,
|
|
@@ -154,9 +154,9 @@ export class VIModule {
|
|
|
154
154
|
HTMLContentTitleDirective,
|
|
155
155
|
AutoScrollBottomDirective,
|
|
156
156
|
AspectRatioResizeDirective] });
|
|
157
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
157
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
|
|
158
158
|
}
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VIModule, decorators: [{
|
|
160
160
|
type: NgModule,
|
|
161
161
|
args: [{
|
|
162
162
|
imports,
|
|
@@ -86,10 +86,10 @@ export class ApplicationBaseComponent extends DestroyableContainer {
|
|
|
86
86
|
get viewReady() {
|
|
87
87
|
return !_.isNil(this.viewReadyPromise) ? this.viewReadyPromise.promise : null;
|
|
88
88
|
}
|
|
89
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
90
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
89
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ApplicationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.7", type: ApplicationBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
91
91
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ApplicationBaseComponent, decorators: [{
|
|
93
93
|
type: Component,
|
|
94
94
|
args: [{ template: '' }]
|
|
95
95
|
}], ctorParameters: () => [] });
|
|
@@ -127,10 +127,10 @@ export class AssetBackgroundDirective extends Destroyable {
|
|
|
127
127
|
get background() {
|
|
128
128
|
return this._background;
|
|
129
129
|
}
|
|
130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
131
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
131
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: AssetBackgroundDirective, selector: "[vi-asset-background]", inputs: { isIcon: ["isIcon", "isIcon", booleanAttribute], isImage: ["isImage", "isImage", booleanAttribute], isUrl: ["isUrl", "isUrl", booleanAttribute], repeat: "repeat", extension: "extension", background: ["vi-asset-background", "background"] }, usesInheritance: true, ngImport: i0 });
|
|
132
132
|
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
|
|
134
134
|
type: Directive,
|
|
135
135
|
args: [{
|
|
136
136
|
selector: '[vi-asset-background]'
|
|
@@ -10,10 +10,10 @@ export class AssetBackgroundPipe {
|
|
|
10
10
|
transform(name, extension = 'png') {
|
|
11
11
|
return Assets.getBackground(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, name: "viAssetBackground" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetBackground'
|
|
@@ -10,10 +10,10 @@ export class AssetFilePipe {
|
|
|
10
10
|
transform(name, extension) {
|
|
11
11
|
return Assets.getFile(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, name: "viAssetFile" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetFilePipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetFile'
|
|
@@ -10,10 +10,10 @@ export class AssetIconPipe {
|
|
|
10
10
|
transform(name, extension = 'png') {
|
|
11
11
|
return Assets.getIcon(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, name: "viAssetIcon" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetIconPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetIcon'
|
|
@@ -10,10 +10,10 @@ export class AssetImagePipe {
|
|
|
10
10
|
transform(name, extension = 'png') {
|
|
11
11
|
return Assets.getImage(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, name: "viAssetImage" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetImagePipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetImage'
|
|
@@ -10,11 +10,11 @@ import { AssetVideoPipe } from './AssetVideoPipe';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
let declarations = [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective];
|
|
12
12
|
export class AssetModule {
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
15
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
|
|
15
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, imports: [CommonModule] });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetModule, decorators: [{
|
|
18
18
|
type: NgModule,
|
|
19
19
|
args: [{
|
|
20
20
|
imports: [CommonModule],
|
|
@@ -10,10 +10,10 @@ export class AssetSoundPipe {
|
|
|
10
10
|
transform(name, extension = 'mp3') {
|
|
11
11
|
return Assets.getSound(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, name: "viAssetSound" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetSoundPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetSound'
|
|
@@ -10,10 +10,10 @@ export class AssetVideoPipe {
|
|
|
10
10
|
transform(name, extension = 'mp4') {
|
|
11
11
|
return Assets.getVideo(name, extension);
|
|
12
12
|
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
14
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, name: "viAssetVideo" });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AssetVideoPipe, decorators: [{
|
|
17
17
|
type: Pipe,
|
|
18
18
|
args: [{
|
|
19
19
|
name: 'viAssetVideo'
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, NgModule } from '@angular/core';
|
|
2
|
-
import { NativeWindowService } from '@ts-core/frontend';
|
|
3
2
|
import { CookieService } from './CookieService';
|
|
3
|
+
import { PlatformService } from '../service/PlatformService';
|
|
4
4
|
import * as _ from 'lodash';
|
|
5
|
+
import { DOCUMENT } from '@angular/common';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export class CookieModule {
|
|
7
8
|
// --------------------------------------------------------------------------
|
|
@@ -19,20 +20,20 @@ export class CookieModule {
|
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
provide: CookieService,
|
|
22
|
-
deps: [
|
|
23
|
+
deps: [DOCUMENT, COOKIE_OPTIONS, PlatformService],
|
|
23
24
|
useFactory: cookieServiceFactory
|
|
24
25
|
}
|
|
25
26
|
]
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
29
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
30
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: CookieModule });
|
|
31
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule });
|
|
31
32
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: CookieModule, decorators: [{
|
|
33
34
|
type: NgModule
|
|
34
35
|
}] });
|
|
35
|
-
export function cookieServiceFactory(
|
|
36
|
+
export function cookieServiceFactory(document, options, platform) {
|
|
36
37
|
options = _.assign({
|
|
37
38
|
path: '/',
|
|
38
39
|
domain: null,
|
|
@@ -40,7 +41,7 @@ export function cookieServiceFactory(nativeWindow, options) {
|
|
|
40
41
|
secure: false,
|
|
41
42
|
httpOnly: false
|
|
42
43
|
}, options);
|
|
43
|
-
return new CookieService(options,
|
|
44
|
+
return new CookieService(document, options, platform.isPlatformBrowser);
|
|
44
45
|
}
|
|
45
46
|
export const COOKIE_OPTIONS = new InjectionToken(`COOKIE_OPTIONS`);
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29va2llTW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi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G4gICAgLy9cbiAgICAvLyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuXG4gICAgcHVibGljIHN0YXRpYyBmb3JSb290KG9wdGlvbnM/OiBJQ29va2llT3B0aW9ucyk6IE1vZHVsZVdpdGhQcm92aWRlcnM8Q29va2llTW9kdWxlPiB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBuZ01vZHVsZTogQ29va2llTW9kdWxlLFxuICAgICAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBwcm92aWRlOiBDT09LSUVfT1BUSU9OUyxcbiAgICAgICAgICAgICAgICAgICAgdXNlVmFsdWU6IG9wdGlvbnMgfHwge31cbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgcHJvdmlkZTogQ29va2llU2VydmljZSxcbiAgICAgICAgICAgICAgICAgICAgZGVwczogW0RPQ1VNRU5ULCBDT09LSUVfT1BUSU9OUywgUGxhdGZvcm1TZXJ2aWNlXSxcbiAgICAgICAgICAgICAgICAgICAgdXNlRmFjdG9yeTogY29va2llU2VydmljZUZhY3RvcnlcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICBdXG4gICAgICAgIH07XG4gICAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gY29va2llU2VydmljZUZhY3RvcnkoZG9jdW1lbnQ6IERvY3VtZW50LCBvcHRpb25zOiBJQ29va2llT3B0aW9ucywgcGxhdGZvcm06IFBsYXRmb3JtU2VydmljZSk6IENvb2tpZVNlcnZpY2Uge1xuICAgIG9wdGlvbnMgPSBfLmFzc2lnbihcbiAgICAgICAge1xuICAgICAgICAgICAgcGF0aDogJy8nLFxuICAgICAgICAgICAgZG9tYWluOiBudWxsLFxuICAgICAgICAgICAgZXhwaXJlczogbnVsbCxcbiAgICAgICAgICAgIHNlY3VyZTogZmFsc2UsXG4gICAgICAgICAgICBodHRwT25seTogZmFsc2VcbiAgICAgICAgfSxcbiAgICAgICAgb3B0aW9uc1xuICAgICk7XG4gICAgcmV0dXJuIG5ldyBDb29raWVTZXJ2aWNlKGRvY3VtZW50LCBvcHRpb25zLCBwbGF0Zm9ybS5pc1BsYXRmb3JtQnJvd3Nlcik7XG59XG5cbmV4cG9ydCBjb25zdCBDT09LSUVfT1BUSU9OUyA9IG5ldyBJbmplY3Rpb25Ub2tlbjxJQ29va2llT3B0aW9ucz4oYENPT0tJRV9PUFRJT05TYCk7XG4iXX0=
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as _ from 'lodash';
|
|
2
1
|
import * as Cookie from 'ngx-cookie';
|
|
3
|
-
import
|
|
2
|
+
import * as _ from 'lodash';
|
|
4
3
|
export class CookieService extends Cookie.CookieService {
|
|
5
4
|
// --------------------------------------------------------------------------
|
|
6
5
|
//
|
|
7
6
|
// Constructor
|
|
8
7
|
//
|
|
9
8
|
// --------------------------------------------------------------------------
|
|
10
|
-
constructor(options,
|
|
11
|
-
super(document, { options }, new CookieWriterService(document));
|
|
9
|
+
constructor(document, options, isPlatformBrowser) {
|
|
10
|
+
super(document, { options }, new CookieWriterService(document, isPlatformBrowser));
|
|
12
11
|
}
|
|
13
12
|
// --------------------------------------------------------------------------
|
|
14
13
|
//
|
|
@@ -37,4 +36,34 @@ export class CookieService extends Cookie.CookieService {
|
|
|
37
36
|
this.putObject(key, value, options);
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
|
-
|
|
39
|
+
class CookieWriterService extends Cookie.CookieWriterService {
|
|
40
|
+
// --------------------------------------------------------------------------
|
|
41
|
+
//
|
|
42
|
+
// Properties
|
|
43
|
+
//
|
|
44
|
+
// --------------------------------------------------------------------------
|
|
45
|
+
isPlatformBrowser;
|
|
46
|
+
// --------------------------------------------------------------------------
|
|
47
|
+
//
|
|
48
|
+
// Constructor
|
|
49
|
+
//
|
|
50
|
+
// --------------------------------------------------------------------------
|
|
51
|
+
constructor(document, isPlatformBrowser) {
|
|
52
|
+
super(document);
|
|
53
|
+
this.isPlatformBrowser = isPlatformBrowser;
|
|
54
|
+
}
|
|
55
|
+
// --------------------------------------------------------------------------
|
|
56
|
+
//
|
|
57
|
+
// Public Methods
|
|
58
|
+
//
|
|
59
|
+
// --------------------------------------------------------------------------
|
|
60
|
+
readAllAsString() {
|
|
61
|
+
return this.isPlatformBrowser ? super.readAllAsString() : '';
|
|
62
|
+
}
|
|
63
|
+
write(name, value, options) {
|
|
64
|
+
if (this.isPlatformBrowser) {
|
|
65
|
+
super.write(name, value, options);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29va2llU2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb29raWUvQ29va2llU2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxPQUFPLEtBQUssTUFBTSxNQUFNLFlBQVksQ0FBQztBQUNyQyxPQUFPLEtBQUssQ0FBQyxNQUFNLFFBQVEsQ0FBQztBQUU1QixNQUFNLE9BQU8sYUFBYyxTQUFRLE1BQU0sQ0FBQyxhQUFhO0lBQ25ELDZFQUE2RTtJQUM3RSxFQUFFO0lBQ0YsZUFBZTtJQUNmLEVBQUU7SUFDRiw2RUFBNkU7SUFFN0UsWUFBWSxRQUFrQixFQUFFLE9BQXNCLEVBQUUsaUJBQTBCO1FBQzlFLEtBQUssQ0FBQyxRQUFRLEVBQUUsRUFBRSxPQUFPLEVBQTJCLEVBQUUsSUFBSSxtQkFBbUIsQ0FBQyxRQUFRLEVBQUUsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO0lBQ2hILENBQUM7SUFFRCw2RUFBNkU7SUFDN0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4gICAgY29uc3RydWN0b3IoZG9jdW1lbnQ6IERvY3VtZW50LCBpc1BsYXRmb3JtQnJvd3NlcjogYm9vbGVhbikge1xuICAgICAgICBzdXBlcihkb2N1bWVudCk7XG4gICAgICAgIHRoaXMuaXNQbGF0Zm9ybUJyb3dzZXIgPSBpc1BsYXRmb3JtQnJvd3NlcjtcbiAgICB9XG5cbiAgICAvLyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuICAgIC8vXG4gICAgLy8gXHRQdWJsaWMgTWV0aG9kc1xuICAgIC8vXG4gICAgLy8gLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cblxuICAgIHB1YmxpYyByZWFkQWxsQXNTdHJpbmcoKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuaXNQbGF0Zm9ybUJyb3dzZXIgPyBzdXBlci5yZWFkQWxsQXNTdHJpbmcoKSA6ICcnO1xuICAgIH1cblxuICAgIHB1YmxpYyB3cml0ZShuYW1lOiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcgfCB1bmRlZmluZWQsIG9wdGlvbnM/OiBDb29raWVPcHRpb25zKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmlzUGxhdGZvcm1Ccm93c2VyKSB7XG4gICAgICAgICAgICBzdXBlci53cml0ZShuYW1lLCB2YWx1ZSwgb3B0aW9ucyk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -112,10 +112,10 @@ export class AspectRatioResizeDirective extends DestroyableContainer {
|
|
|
112
112
|
get ratio() {
|
|
113
113
|
return this._ratio;
|
|
114
114
|
}
|
|
115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
116
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: AspectRatioResizeDirective, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: ["ratio", "ratio", numberAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
|
|
119
119
|
type: Directive,
|
|
120
120
|
args: [{
|
|
121
121
|
selector: '[vi-aspect-ratio]'
|
|
@@ -103,10 +103,10 @@ export class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
103
103
|
this.isScrollLocked = true;
|
|
104
104
|
this.scrollCheck();
|
|
105
105
|
}
|
|
106
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
107
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
107
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: AutoScrollBottomDirective, selector: "[vi-auto-scroll-bottom]", inputs: { behavior: "behavior", trigger: ["vi-auto-scroll-bottom", "trigger"] }, outputs: { triggerChanged: "triggerChanged" }, usesInheritance: true, ngImport: i0 });
|
|
108
108
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
|
|
110
110
|
type: Directive,
|
|
111
111
|
args: [{
|
|
112
112
|
selector: '[vi-auto-scroll-bottom]'
|
|
@@ -35,10 +35,10 @@ export class ClickToCopyDirective extends Destroyable {
|
|
|
35
35
|
this.element = null;
|
|
36
36
|
clearTimeout(this.selectionClearTimer);
|
|
37
37
|
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
39
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ClickToCopyDirective, selector: "[vi-click-to-copy]", inputs: { element: ["vi-click-to-copy", "element"] }, host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToCopyDirective, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '[vi-click-to-copy]'
|
|
@@ -40,10 +40,10 @@ export class ClickToSelectDirective extends Destroyable {
|
|
|
40
40
|
super.destroy();
|
|
41
41
|
this.element = null;
|
|
42
42
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
44
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: ClickToSelectDirective, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ClickToSelectDirective, decorators: [{
|
|
47
47
|
type: Directive,
|
|
48
48
|
args: [{
|
|
49
49
|
selector: '[vi-click-to-select]'
|
|
@@ -45,10 +45,10 @@ export class FocusDirective extends Destroyable {
|
|
|
45
45
|
set trigger(value) {
|
|
46
46
|
this.focus();
|
|
47
47
|
}
|
|
48
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
49
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
49
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: FocusDirective, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: FocusDirective, decorators: [{
|
|
52
52
|
type: Directive,
|
|
53
53
|
args: [{
|
|
54
54
|
selector: '[vi-focus]'
|
|
@@ -59,10 +59,10 @@ export class HTMLContentTitleDirective extends Destroyable {
|
|
|
59
59
|
get value() {
|
|
60
60
|
return this._value;
|
|
61
61
|
}
|
|
62
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
63
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
|
|
66
66
|
type: Directive,
|
|
67
67
|
args: [{
|
|
68
68
|
selector: '[vi-html-content-title]'
|
|
@@ -58,10 +58,10 @@ export class HTMLTitleDirective extends Destroyable {
|
|
|
58
58
|
get value() {
|
|
59
59
|
return this._value;
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
62
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
62
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
65
65
|
type: Directive,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: '[vi-html-title]'
|
|
@@ -53,10 +53,10 @@ export class InfiniteScrollDirective extends ScrollDirective {
|
|
|
53
53
|
get scrollHeight() {
|
|
54
54
|
return this.element.scrollHeight;
|
|
55
55
|
}
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
57
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: InfiniteScrollDirective, selector: "[vi-infinite-scroll]", inputs: { elementHeight: ["elementHeight", "elementHeight", numberAttribute] }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
|
|
60
60
|
type: Directive,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: '[vi-infinite-scroll]'
|
|
@@ -12,10 +12,10 @@ export class IsBrowserDirective extends StructureDirective {
|
|
|
12
12
|
super(templateRef, container);
|
|
13
13
|
this.isNeedAdd = platform.isPlatformBrowser;
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: IsBrowserDirective, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsBrowserDirective, decorators: [{
|
|
19
19
|
type: Directive,
|
|
20
20
|
args: [{
|
|
21
21
|
selector: '[viIsBrowser]'
|
|
@@ -12,10 +12,10 @@ export class IsServerDirective extends StructureDirective {
|
|
|
12
12
|
super(templateRef, container);
|
|
13
13
|
this.isNeedAdd = platform.isPlatformServer;
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: IsServerDirective, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: IsServerDirective, decorators: [{
|
|
19
19
|
type: Directive,
|
|
20
20
|
args: [{
|
|
21
21
|
selector: '[viIsServer]'
|
|
@@ -58,10 +58,10 @@ export class ResizeDirective extends Destroyable {
|
|
|
58
58
|
this.interactable = null;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
62
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
62
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ResizeDirective, selector: "[vi-resize]", inputs: { isTop: ["isTop", "isTop", booleanAttribute], isLeft: ["isLeft", "isLeft", booleanAttribute], isRight: ["isRight", "isRight", booleanAttribute], isBottom: ["isBottom", "isBottom", booleanAttribute] }, outputs: { resized: "resized" }, usesInheritance: true, ngImport: i0 });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ResizeDirective, decorators: [{
|
|
65
65
|
type: Directive,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: '[vi-resize]'
|
|
@@ -79,10 +79,10 @@ export class ScrollCheckDirective extends DestroyableContainer {
|
|
|
79
79
|
get scrollLimit() {
|
|
80
80
|
return this._scrollLimit;
|
|
81
81
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
83
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ScrollCheckDirective, selector: "[vi-scroll-check]", inputs: { delay: ["delay", "delay", numberAttribute], offset: ["offset", "offset", numberAttribute], scrollLimit: ["vi-scroll-check", "scrollLimit"] }, outputs: { top: "top", bottom: "bottom", limitExceed: "limitExceed" }, usesInheritance: true, ngImport: i0 });
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollCheckDirective, decorators: [{
|
|
86
86
|
type: Directive,
|
|
87
87
|
args: [{
|
|
88
88
|
selector: '[vi-scroll-check]'
|
|
@@ -101,10 +101,10 @@ export class ScrollDirective extends Destroyable {
|
|
|
101
101
|
get scrollValue() {
|
|
102
102
|
return this._scrollValue;
|
|
103
103
|
}
|
|
104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
105
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
105
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: ScrollDirective, selector: "[vi-scroll]", inputs: { scrollValue: ["scrollValue", "scrollValue", numberAttribute] }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: ScrollDirective, decorators: [{
|
|
108
108
|
type: Directive,
|
|
109
109
|
args: [{
|
|
110
110
|
selector: '[vi-scroll]'
|
|
@@ -33,10 +33,10 @@ export class SelectOnFocusDirective extends Destroyable {
|
|
|
33
33
|
super.destroy();
|
|
34
34
|
this.element = null;
|
|
35
35
|
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
37
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.7", type: SelectOnFocusDirective, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[vi-select-on-focus]'
|
|
@@ -83,10 +83,10 @@ export class LanguageDirective extends Destroyable {
|
|
|
83
83
|
get params() {
|
|
84
84
|
return this._params;
|
|
85
85
|
}
|
|
86
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
87
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.
|
|
86
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
87
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.7", type: LanguageDirective, selector: "[vi-translate]", inputs: { isNeedTitle: ["isNeedTitle", "isNeedTitle", booleanAttribute], key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: LanguageDirective, decorators: [{
|
|
90
90
|
type: Directive,
|
|
91
91
|
args: [{
|
|
92
92
|
selector: '[vi-translate]'
|