nuxeo-development-framework 1.1.6 → 1.1.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/bundles/nuxeo-development-framework.umd.js +22 -14
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/Core/services/translation/translation.service.js +9 -6
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +2 -2
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +1 -1
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +3 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +5 -2
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +1 -1
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +22 -14
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/Core/services/translation/translation.service.d.ts +5 -2
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { TranslateLoaderService } from './translate-loader.service';
|
|
|
5
5
|
import { UserPreferencesService } from '../user/user-preferences.service';
|
|
6
6
|
import { LocalStoragService } from '../localStorag/local-storag.service';
|
|
7
7
|
import { NuxeoService } from '../nuxeo/nuxeo.service';
|
|
8
|
+
import { AppConfigService } from '../../../configuration/app-config.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare const TRANSLATION_PROVIDER: InjectionToken<unknown>;
|
|
10
11
|
export interface TranslationProvider {
|
|
@@ -15,6 +16,7 @@ export declare class TranslationService {
|
|
|
15
16
|
translate: TranslateService;
|
|
16
17
|
private rendererFactory;
|
|
17
18
|
private localStorage;
|
|
19
|
+
private appConfig;
|
|
18
20
|
private nuxeoService;
|
|
19
21
|
private environment;
|
|
20
22
|
arabicFile: any;
|
|
@@ -26,7 +28,8 @@ export declare class TranslationService {
|
|
|
26
28
|
private renderer;
|
|
27
29
|
isArabic: BehaviorSubject<boolean>;
|
|
28
30
|
isArabic$: Observable<boolean>;
|
|
29
|
-
|
|
31
|
+
translationApiName: any;
|
|
32
|
+
constructor(translate: TranslateService, rendererFactory: RendererFactory2, localStorage: LocalStoragService, userPreferencesService: UserPreferencesService, appConfig: AppConfigService, nuxeoService: NuxeoService, environment: any, providers: TranslationProvider[]);
|
|
30
33
|
/**
|
|
31
34
|
* Adds a new folder of translation source files.
|
|
32
35
|
* @param name Name for the translation provider
|
|
@@ -66,6 +69,6 @@ export declare class TranslationService {
|
|
|
66
69
|
instant(key: string | Array<string>, interpolateParams?: Object): string | any;
|
|
67
70
|
getOrCreateTranslationFile(lang: any): Observable<unknown>;
|
|
68
71
|
updateTranslationFile(doc: any, params?: {}): Observable<any>;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
70
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
|
|
71
74
|
}
|