@recursyve/nice-ui-kit.v2 16.0.0-beta.139 → 16.0.0-beta.140
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/esm2022/lib/components/translation-form/directives/translation-context.directive.mjs +12 -4
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs +10 -2
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/translation-form/directives/translation-context.directive.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { BehaviorSubject } from "rxjs";
|
|
3
3
|
import { NiceTranslationFormService } from "../providers/nice-translation-form.service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TranslationContextDirective implements OnInit, OnDestroy {
|
|
6
6
|
private translationFormService;
|
|
7
|
+
activeLanguageChange: EventEmitter<string>;
|
|
7
8
|
activeLanguage$: BehaviorSubject<string>;
|
|
8
9
|
private _unsubscribeAll$;
|
|
9
10
|
constructor(translationFormService: NiceTranslationFormService);
|
|
@@ -12,5 +13,5 @@ export declare class TranslationContextDirective implements OnInit, OnDestroy {
|
|
|
12
13
|
updateLanguage(language: string): void;
|
|
13
14
|
reset(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationContextDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslationContextDirective, "[niceTranslationContext]", never, {}, {}, never, never, false, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslationContextDirective, "[niceTranslationContext]", never, {}, { "activeLanguageChange": "activeLanguageChange"; }, never, never, false, never>;
|
|
16
17
|
}
|