@ts-core/angular 19.0.3 → 19.0.4
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.
|
@@ -6,13 +6,14 @@ import * as i1 from "./LanguagePipe";
|
|
|
6
6
|
import * as i2 from "./LanguagePipePure";
|
|
7
7
|
import * as i3 from "./LanguagePipeHas";
|
|
8
8
|
import * as i4 from "./LanguagePipeHasPure";
|
|
9
|
-
import * as i5 from "./
|
|
10
|
-
import * as i6 from "./
|
|
11
|
-
import * as i7 from "
|
|
9
|
+
import * as i5 from "./LanguageToggleDirective";
|
|
10
|
+
import * as i6 from "./LanguageHasDirective";
|
|
11
|
+
import * as i7 from "./LanguageDirective";
|
|
12
|
+
import * as i8 from "../cookie/CookieModule";
|
|
12
13
|
export declare class LanguageModule {
|
|
13
14
|
static forRoot(options?: ILanguageServiceOptions): ModuleWithProviders<LanguageModule>;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LanguageModule, [typeof i1.LanguagePipe, typeof i2.LanguagePipePure, typeof i3.LanguagePipeHas, typeof i4.LanguagePipeHasPure, typeof i5.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LanguageModule, [typeof i1.LanguagePipe, typeof i2.LanguagePipePure, typeof i3.LanguagePipeHas, typeof i4.LanguagePipeHasPure, typeof i5.LanguageToggleDirective, typeof i6.LanguageHasDirective, typeof i7.LanguageDirective], [typeof i8.CookieModule], [typeof i1.LanguagePipe, typeof i2.LanguagePipePure, typeof i3.LanguagePipeHas, typeof i4.LanguagePipeHasPure, typeof i5.LanguageToggleDirective, typeof i6.LanguageHasDirective, typeof i7.LanguageDirective]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<LanguageModule>;
|
|
17
18
|
}
|
|
18
19
|
export declare function languageServiceFactory(cookie: ICookieService, options?: ILanguageServiceOptions): LanguageService;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Destroyable } from '@ts-core/common';
|
|
2
|
+
import { LanguageService } from '@ts-core/frontend';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LanguageToggleDirective extends Destroyable {
|
|
5
|
+
private language;
|
|
6
|
+
constructor(language: LanguageService);
|
|
7
|
+
protected clickHandler(): void;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageToggleDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LanguageToggleDirective, "[vi-language-toggle]", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export * from './language/LanguageResolver';
|
|
|
37
37
|
export * from './language/LanguageRequireResolver';
|
|
38
38
|
export * from './language/LanguageDirective';
|
|
39
39
|
export * from './language/LanguageHasDirective';
|
|
40
|
+
export * from './language/LanguageToggleDirective';
|
|
40
41
|
export * from './login/LoginGuard';
|
|
41
42
|
export * from './login/LoginIfCanGuard';
|
|
42
43
|
export * from './login/LoginNotGuard';
|