@ts-core/angular 19.0.8 → 19.0.10
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 +11 -9
- package/application/ApplicationComponent.d.ts +4 -4
- package/application/{ApplicationBaseComponent.d.ts → ApplicationComponentBase.d.ts} +3 -3
- package/application/ApplicationInitializerBase.d.ts +30 -0
- package/application/{MessageBaseComponent.d.ts → MessageComponentBase.d.ts} +1 -1
- package/directive/NullEmptyValueDirective.d.ts +9 -0
- package/directive/UppercaseValueDirective.d.ts +9 -0
- package/fesm2022/ts-core-angular.mjs +409 -249
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/list/select/RouterSelectListItems.d.ts +3 -3
- package/package.json +2 -2
- package/public-api.d.ts +7 -4
- package/resolver/LoadableResolver.d.ts +2 -0
- package/service/{PipeBaseService.d.ts → PipeServiceBase.d.ts} +1 -1
- package/service/{RouterBaseService.d.ts → RouterServiceBase.d.ts} +2 -2
- package/user/UserServiceBase.d.ts +1 -1
package/VIModule.d.ts
CHANGED
|
@@ -31,18 +31,20 @@ import * as i19 from "./directive/ClickToCopyDirective";
|
|
|
31
31
|
import * as i20 from "./directive/SelectOnFocusDirective";
|
|
32
32
|
import * as i21 from "./directive/ClickToSelectDirective";
|
|
33
33
|
import * as i22 from "./directive/InfiniteScrollDirective";
|
|
34
|
-
import * as i23 from "./directive/
|
|
35
|
-
import * as i24 from "./directive/
|
|
36
|
-
import * as i25 from "./directive/
|
|
37
|
-
import * as i26 from "./directive/
|
|
38
|
-
import * as i27 from "./
|
|
39
|
-
import * as i28 from "./
|
|
40
|
-
import * as i29 from "./
|
|
41
|
-
import * as i30 from "./
|
|
34
|
+
import * as i23 from "./directive/NullEmptyValueDirective";
|
|
35
|
+
import * as i24 from "./directive/UppercaseValueDirective";
|
|
36
|
+
import * as i25 from "./directive/HTMLTitleDirective";
|
|
37
|
+
import * as i26 from "./directive/HTMLContentTitleDirective";
|
|
38
|
+
import * as i27 from "./directive/AutoScrollBottomDirective";
|
|
39
|
+
import * as i28 from "./directive/AspectRatioResizeDirective";
|
|
40
|
+
import * as i29 from "./cookie/CookieModule";
|
|
41
|
+
import * as i30 from "./theme/ThemeModule";
|
|
42
|
+
import * as i31 from "./language/LanguageModule";
|
|
43
|
+
import * as i32 from "./asset/AssetModule";
|
|
42
44
|
export declare class VIModule {
|
|
43
45
|
static forRoot(options?: IVIOptions): ModuleWithProviders<VIModule>;
|
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<VIModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VIModule, [typeof i1.TimePipe, typeof i2.FinancePipe, typeof i3.SanitizePipe, typeof i4.TruncatePipe, typeof i5.PrettifyPipe, typeof i6.CamelCasePipe, typeof i7.StartCasePipe, typeof i8.NgModelErrorPipe, typeof i9.IsServerDirective, typeof i10.IsBrowserDirective, typeof i11.MomentDatePipe, typeof i12.MomentTimePipe, typeof i13.MomentDateFromNowPipe, typeof i14.MomentDateAdaptivePipe, typeof i15.FocusDirective, typeof i16.ResizeDirective, typeof i17.ScrollDirective, typeof i18.ScrollCheckDirective, typeof i19.ClickToCopyDirective, typeof i20.SelectOnFocusDirective, typeof i21.ClickToSelectDirective, typeof i22.InfiniteScrollDirective, typeof i23.
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VIModule, [typeof i1.TimePipe, typeof i2.FinancePipe, typeof i3.SanitizePipe, typeof i4.TruncatePipe, typeof i5.PrettifyPipe, typeof i6.CamelCasePipe, typeof i7.StartCasePipe, typeof i8.NgModelErrorPipe, typeof i9.IsServerDirective, typeof i10.IsBrowserDirective, typeof i11.MomentDatePipe, typeof i12.MomentTimePipe, typeof i13.MomentDateFromNowPipe, typeof i14.MomentDateAdaptivePipe, typeof i15.FocusDirective, typeof i16.ResizeDirective, typeof i17.ScrollDirective, typeof i18.ScrollCheckDirective, typeof i19.ClickToCopyDirective, typeof i20.SelectOnFocusDirective, typeof i21.ClickToSelectDirective, typeof i22.InfiniteScrollDirective, typeof i23.NullEmptyValueDirective, typeof i24.UppercaseValueDirective, typeof i25.HTMLTitleDirective, typeof i26.HTMLContentTitleDirective, typeof i27.AutoScrollBottomDirective, typeof i28.AspectRatioResizeDirective], [typeof i29.CookieModule, typeof i30.ThemeModule, typeof i31.LanguageModule, typeof i32.AssetModule], [typeof i29.CookieModule, typeof i30.ThemeModule, typeof i31.LanguageModule, typeof i32.AssetModule, typeof i1.TimePipe, typeof i2.FinancePipe, typeof i3.SanitizePipe, typeof i4.TruncatePipe, typeof i5.PrettifyPipe, typeof i6.CamelCasePipe, typeof i7.StartCasePipe, typeof i8.NgModelErrorPipe, typeof i9.IsServerDirective, typeof i10.IsBrowserDirective, typeof i11.MomentDatePipe, typeof i12.MomentTimePipe, typeof i13.MomentDateFromNowPipe, typeof i14.MomentDateAdaptivePipe, typeof i15.FocusDirective, typeof i16.ResizeDirective, typeof i17.ScrollDirective, typeof i18.ScrollCheckDirective, typeof i19.ClickToCopyDirective, typeof i20.SelectOnFocusDirective, typeof i21.ClickToSelectDirective, typeof i22.InfiniteScrollDirective, typeof i23.NullEmptyValueDirective, typeof i24.UppercaseValueDirective, typeof i25.HTMLTitleDirective, typeof i26.HTMLContentTitleDirective, typeof i27.AutoScrollBottomDirective, typeof i28.AspectRatioResizeDirective]>;
|
|
46
48
|
static ɵinj: i0.ɵɵInjectorDeclaration<VIModule>;
|
|
47
49
|
}
|
|
48
50
|
export declare class IVIOptions extends ICookieOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ThemeService, LanguageService,
|
|
1
|
+
import { ThemeService, LanguageService, SettingsServiceBase } from '@ts-core/frontend';
|
|
2
2
|
import { Language } from '@ts-core/language';
|
|
3
|
-
import {
|
|
4
|
-
export declare abstract class ApplicationComponent<T extends
|
|
3
|
+
import { ApplicationComponentBase } from './ApplicationComponentBase';
|
|
4
|
+
export declare abstract class ApplicationComponent<T extends SettingsServiceBase> extends ApplicationComponentBase {
|
|
5
5
|
private isLanguageLoaded;
|
|
6
6
|
protected initialize(): void;
|
|
7
7
|
protected initializeAssets(): void;
|
|
@@ -12,7 +12,7 @@ export declare abstract class ApplicationComponent<T extends SettingsBaseService
|
|
|
12
12
|
protected abstract languageLoadingError(item: Language, error: Error): void;
|
|
13
13
|
protected viewReadyHandler(): void;
|
|
14
14
|
protected setLocale(item: Language): void;
|
|
15
|
-
protected abstract get settings(): T;
|
|
16
15
|
protected abstract get theme(): ThemeService;
|
|
16
|
+
protected abstract get settings(): T;
|
|
17
17
|
protected abstract get language(): LanguageService;
|
|
18
18
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit } from '@angular/core';
|
|
|
2
2
|
import { DestroyableContainer } from '@ts-core/common';
|
|
3
3
|
import { PromiseHandler } from '@ts-core/common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class
|
|
5
|
+
export declare abstract class ApplicationComponentBase extends DestroyableContainer implements AfterViewInit {
|
|
6
6
|
protected timeout: any;
|
|
7
7
|
protected isReadyAlreadyCalled: boolean;
|
|
8
8
|
protected viewReadyDelay: number;
|
|
@@ -17,6 +17,6 @@ export declare abstract class ApplicationBaseComponent extends DestroyableContai
|
|
|
17
17
|
destroy(): void;
|
|
18
18
|
get isViewReady(): boolean;
|
|
19
19
|
get viewReady(): Promise<void>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationComponentBase, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationComponentBase, "ng-component", never, {}, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Destroyable } from '@ts-core/common';
|
|
2
|
+
import { LanguageService, SettingsServiceBase } from '@ts-core/frontend';
|
|
3
|
+
import { ILanguageLoader, ILanguageProjectSettings, LanguageLoadFunction } from '@ts-core/language';
|
|
4
|
+
import { RouterServiceBase } from '../service/RouterServiceBase';
|
|
5
|
+
import { PlatformService } from '../service/PlatformService';
|
|
6
|
+
import { WindowService } from '../window/WindowService';
|
|
7
|
+
export declare abstract class ApplicationInitializerBase<T = any, O extends ServerInitializeOptions<T> = ServerInitializeOptions<T>> extends Destroyable {
|
|
8
|
+
protected router: RouterServiceBase;
|
|
9
|
+
protected settings: SettingsServiceBase;
|
|
10
|
+
protected platform: PlatformService;
|
|
11
|
+
protected language: LanguageService;
|
|
12
|
+
protected windows: WindowService;
|
|
13
|
+
protected options?: O;
|
|
14
|
+
constructor(router: RouterServiceBase, settings: SettingsServiceBase, platform: PlatformService, language: LanguageService, windows: WindowService, options?: O);
|
|
15
|
+
initialize(): Promise<boolean>;
|
|
16
|
+
protected getLanguageLoader<T = any>(): Promise<ILanguageLoader<T>>;
|
|
17
|
+
protected getConfig(): Promise<any>;
|
|
18
|
+
protected getConfigLocal<T = any>(): Promise<T>;
|
|
19
|
+
protected getConfigRemote<T = any>(): Promise<T>;
|
|
20
|
+
protected abstract getLanguageLoadSettings<T = any>(): ILanguageLoadSettings<T>;
|
|
21
|
+
}
|
|
22
|
+
export interface ILanguageLoadSettings<T = any> {
|
|
23
|
+
url: string;
|
|
24
|
+
proxy: LanguageLoadFunction<T>;
|
|
25
|
+
project: ILanguageProjectSettings;
|
|
26
|
+
}
|
|
27
|
+
export declare abstract class ServerInitializeOptions<T = any> {
|
|
28
|
+
config: T;
|
|
29
|
+
locales: Map<string, any>;
|
|
30
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActivatedRoute } from '@angular/router';
|
|
2
2
|
import { DestroyableContainer } from '@ts-core/common';
|
|
3
3
|
import { LanguageService } from '@ts-core/frontend';
|
|
4
|
-
export declare abstract class
|
|
4
|
+
export declare abstract class MessageComponentBase extends DestroyableContainer {
|
|
5
5
|
protected route: ActivatedRoute;
|
|
6
6
|
protected language: LanguageService;
|
|
7
7
|
text: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NullEmptyValueDirective {
|
|
4
|
+
protected control: NgControl;
|
|
5
|
+
constructor(control: NgControl);
|
|
6
|
+
onEvent(target: HTMLInputElement): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NullEmptyValueDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NullEmptyValueDirective, "input[nullEmptyValue]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UppercaseValueDirective {
|
|
4
|
+
protected control: NgControl;
|
|
5
|
+
constructor(control: NgControl);
|
|
6
|
+
onEvent(target: HTMLInputElement): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UppercaseValueDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UppercaseValueDirective, "input[uppercaseValue]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|