common-header-lib 0.0.15 → 0.0.16
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/README.md +24 -24
- package/assets/i18n/ar.json +2 -1
- package/assets/i18n/de.json +2 -1
- package/assets/i18n/en.json +2 -2
- package/assets/i18n/es.json +2 -1
- package/assets/i18n/fr.json +2 -1
- package/assets/i18n/hi.json +2 -1
- package/assets/i18n/ja.json +2 -1
- package/assets/i18n/ko.json +2 -1
- package/assets/i18n/languages.json +1 -0
- package/assets/images/toast-alert.svg +3 -3
- package/assets/images/toast-error.svg +3 -3
- package/assets/images/toast-info.svg +3 -3
- package/assets/images/toast-success.svg +10 -10
- package/assets/scss/styles.scss +577 -577
- package/esm2020/lib/common-header-lib.component.mjs +1 -1
- package/esm2020/lib/common-header-lib.module.mjs +39 -15
- package/esm2020/lib/common-header-lib.service.mjs +1 -1
- package/esm2020/lib/components/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2020/lib/components/ng-translation/ng-translation.component.mjs +33 -27
- package/esm2020/lib/model/data_model.mjs +17 -5
- package/esm2020/lib/services/http/http-common.service.mjs +1 -1
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/common-header-lib.mjs +87 -47
- package/fesm2015/common-header-lib.mjs.map +1 -1
- package/fesm2020/common-header-lib.mjs +85 -45
- package/fesm2020/common-header-lib.mjs.map +1 -1
- package/lib/common-header-lib.module.d.ts +2 -1
- package/lib/components/ng-translation/ng-translation.component.d.ts +6 -8
- package/lib/model/data_model.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/i18n/ar.json +2 -1
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +2 -2
- package/src/assets/i18n/es.json +2 -1
- package/src/assets/i18n/fr.json +2 -1
- package/src/assets/i18n/hi.json +2 -1
- package/src/assets/i18n/ja.json +2 -1
- package/src/assets/i18n/ko.json +2 -1
- package/src/assets/i18n/languages.json +1 -0
- package/src/assets/images/toast-alert.svg +3 -3
- package/src/assets/images/toast-error.svg +3 -3
- package/src/assets/images/toast-info.svg +3 -3
- package/src/assets/images/toast-success.svg +10 -10
- package/src/assets/scss/styles.scss +577 -577
|
@@ -3,7 +3,7 @@ import { Injectable, EventEmitter, Component, Input, Output, Pipe, ViewEncapsula
|
|
|
3
3
|
import { map, catchError, debounceTime, take, switchMap, takeUntil, finalize } from 'rxjs/operators';
|
|
4
4
|
import * as i1 from '@angular/common/http';
|
|
5
5
|
import { HttpParams, HttpClientModule, HttpClient } from '@angular/common/http';
|
|
6
|
-
import { throwError, BehaviorSubject, Subject, map as map$1, catchError as catchError$1, of, takeUntil as takeUntil$1, finalize as finalize$1, forkJoin } from 'rxjs';
|
|
6
|
+
import { throwError, BehaviorSubject, Subject, map as map$1, catchError as catchError$1, of, takeUntil as takeUntil$1, finalize as finalize$1, forkJoin, firstValueFrom } from 'rxjs';
|
|
7
7
|
import * as i9 from 'primeng/api';
|
|
8
8
|
import { ConfirmationService } from 'primeng/api';
|
|
9
9
|
import * as i2 from 'primeng/confirmdialog';
|
|
@@ -66,14 +66,26 @@ GlobalConstants.PAGEROW = 10;
|
|
|
66
66
|
GlobalConstants.CONFIGCONNECTORS = false;
|
|
67
67
|
GlobalConstants.USERLANGUAGES = [
|
|
68
68
|
{ langKey: 'en', langName: 'English' },
|
|
69
|
-
{ langKey: 'ar', langName: 'العربية' },
|
|
70
|
-
{ langKey: 'es', langName: 'Español' },
|
|
71
69
|
{ langKey: 'hi', langName: 'हिन्दी' },
|
|
72
|
-
{ langKey: '
|
|
70
|
+
{ langKey: 'mr', langName: 'मराठी' },
|
|
71
|
+
{ langKey: 'ar', langName: 'العربية' },
|
|
73
72
|
{ langKey: 'fr', langName: 'Français' },
|
|
73
|
+
{ langKey: 'es', langName: 'Español' },
|
|
74
74
|
{ langKey: 'de', langName: 'Deutsch' },
|
|
75
|
-
{ langKey: '
|
|
75
|
+
{ langKey: 'ja', langName: '日本語' },
|
|
76
|
+
{ langKey: 'ko', langName: '한국어' },
|
|
77
|
+
{ langKey: 'zh', langName: '中文' },
|
|
78
|
+
{ langKey: 'ru', langName: 'Русский' },
|
|
79
|
+
{ langKey: 'pt', langName: 'Português' },
|
|
80
|
+
{ langKey: 'it', langName: 'Italiano' },
|
|
81
|
+
{ langKey: 'nl', langName: 'Nederlands' },
|
|
82
|
+
{ langKey: 'tr', langName: 'Türkçe' },
|
|
83
|
+
{ langKey: 'sv', langName: 'Svenska' },
|
|
84
|
+
{ langKey: 'pl', langName: 'Polski' },
|
|
85
|
+
{ langKey: 'th', langName: 'ไทย' },
|
|
86
|
+
{ langKey: 'vi', langName: 'Tiếng Việt' },
|
|
76
87
|
];
|
|
88
|
+
GlobalConstants.USERFILTEREDLANGUAGES = [];
|
|
77
89
|
GlobalConstants.DEFAULTLANG = { langKey: 'en', langName: 'English' };
|
|
78
90
|
GlobalConstants.DEFAULTLANGKEY = 'en';
|
|
79
91
|
GlobalConstants.DEFAULT_IMGPATH = 'assets/images/';
|
|
@@ -484,10 +496,10 @@ class ConfirmDialogComponent {
|
|
|
484
496
|
}
|
|
485
497
|
}
|
|
486
498
|
ConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i9.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
487
|
-
ConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: { header: "header", message: "message" }, outputs: { result: "result" }, providers: [ConfirmationService], ngImport: i0, template: "<div class=\"card flex justify-center gap-2 view-pass-details confirmtion-modal\">\n <p-confirmDialog icon=\"none\" acceptIcon=\"\" rejectIcon=\"\"></p-confirmDialog>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i2.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }] });
|
|
499
|
+
ConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: { header: "header", message: "message" }, outputs: { result: "result" }, providers: [ConfirmationService], ngImport: i0, template: "<div class=\"card flex justify-center gap-2 view-pass-details confirmtion-modal\">\r\n <p-confirmDialog icon=\"none\" acceptIcon=\"\" rejectIcon=\"\"></p-confirmDialog>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "component", type: i2.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }] });
|
|
488
500
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
489
501
|
type: Component,
|
|
490
|
-
args: [{ selector: 'confirm-dialog', providers: [ConfirmationService], template: "<div class=\"card flex justify-center gap-2 view-pass-details confirmtion-modal\">\n <p-confirmDialog icon=\"none\" acceptIcon=\"\" rejectIcon=\"\"></p-confirmDialog>\n</div>\n" }]
|
|
502
|
+
args: [{ selector: 'confirm-dialog', providers: [ConfirmationService], template: "<div class=\"card flex justify-center gap-2 view-pass-details confirmtion-modal\">\r\n <p-confirmDialog icon=\"none\" acceptIcon=\"\" rejectIcon=\"\"></p-confirmDialog>\r\n</div>\r\n" }]
|
|
491
503
|
}], ctorParameters: function () { return [{ type: i9.ConfirmationService }]; }, propDecorators: { header: [{
|
|
492
504
|
type: Input,
|
|
493
505
|
args: ['header']
|
|
@@ -2535,54 +2547,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2535
2547
|
}], ctorParameters: function () { return [{ type: CommonHeaderLibService }, { type: i2$1.FormBuilder }, { type: ToastMsgService }, { type: EncrydecryRSAdataService }, { type: RESTLoginFormService }, { type: ASYNCPasswordcheckService }, { type: i4.TranslateService }, { type: VaptValidationService }, { type: i1$3.DynamicDialogConfig }, { type: HttpCommonService }, { type: HttpGeneralConfigurationService }]; } });
|
|
2536
2548
|
|
|
2537
2549
|
class NgTranslationComponent {
|
|
2538
|
-
constructor(_translate, _localstorage,
|
|
2550
|
+
constructor(_translate, _localstorage, msgService) {
|
|
2539
2551
|
this._translate = _translate;
|
|
2540
2552
|
this._localstorage = _localstorage;
|
|
2541
|
-
this.
|
|
2542
|
-
|
|
2543
|
-
this.languages = GlobalConstants.USERLANGUAGES;
|
|
2553
|
+
this.msgService = msgService;
|
|
2554
|
+
this.languages = [];
|
|
2544
2555
|
this.selectedLang = {};
|
|
2545
2556
|
}
|
|
2546
2557
|
ngOnInit() {
|
|
2547
|
-
this.
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2558
|
+
this.loadLanguages();
|
|
2559
|
+
}
|
|
2560
|
+
loadLanguages() {
|
|
2561
|
+
/* 1. Load filtered languages */
|
|
2562
|
+
this.languages = GlobalConstants.USERFILTEREDLANGUAGES || [];
|
|
2563
|
+
/* 2. Read saved language */
|
|
2564
|
+
const savedLang = this._localstorage.getData(COOKIECONSTANT.USERLANG);
|
|
2565
|
+
if (savedLang) {
|
|
2553
2566
|
try {
|
|
2554
|
-
|
|
2567
|
+
const parsed = JSON.parse(savedLang);
|
|
2568
|
+
const validLang = this.languages.find((x) => x.langKey === parsed?.langKey);
|
|
2569
|
+
this.selectedLang = validLang || GlobalConstants.DEFAULTLANG;
|
|
2555
2570
|
}
|
|
2556
|
-
catch
|
|
2557
|
-
// If corrupted JSON, fallback to default
|
|
2571
|
+
catch {
|
|
2558
2572
|
this.selectedLang = GlobalConstants.DEFAULTLANG;
|
|
2559
|
-
this.saveUserLanguage(this.selectedLang);
|
|
2560
2573
|
}
|
|
2561
2574
|
}
|
|
2562
2575
|
else {
|
|
2563
|
-
// 2. First time → set default
|
|
2564
2576
|
this.selectedLang = GlobalConstants.DEFAULTLANG;
|
|
2565
|
-
this.saveUserLanguage(this.selectedLang);
|
|
2566
2577
|
}
|
|
2567
|
-
// 3. Apply language
|
|
2568
|
-
this._translate.use(this.selectedLang.langKey);
|
|
2569
2578
|
}
|
|
2570
|
-
|
|
2579
|
+
/* Language Change */
|
|
2571
2580
|
selectLang(event) {
|
|
2572
2581
|
this.selectedLang = event?.value;
|
|
2573
|
-
this.
|
|
2574
|
-
|
|
2582
|
+
this.useTranslate(this.selectedLang);
|
|
2583
|
+
}
|
|
2584
|
+
useTranslate(selectedLang) {
|
|
2585
|
+
this._translate.use(selectedLang.langKey).subscribe({
|
|
2586
|
+
next: () => {
|
|
2587
|
+
this.saveUserLanguage(selectedLang);
|
|
2588
|
+
},
|
|
2589
|
+
error: () => {
|
|
2590
|
+
this.msgService.error(this._translate.instant('Generic_lib.FailedToLoadLanguageFile'));
|
|
2591
|
+
},
|
|
2592
|
+
});
|
|
2575
2593
|
}
|
|
2576
2594
|
saveUserLanguage(lang) {
|
|
2577
2595
|
this._localstorage.saveData(COOKIECONSTANT.USERLANG, JSON.stringify(lang));
|
|
2578
2596
|
}
|
|
2579
2597
|
}
|
|
2580
|
-
NgTranslationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgTranslationComponent, deps: [{ token: i4.TranslateService }, { token: StorageService }, { token:
|
|
2598
|
+
NgTranslationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgTranslationComponent, deps: [{ token: i4.TranslateService }, { token: StorageService }, { token: ToastMsgService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2581
2599
|
NgTranslationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: NgTranslationComponent, selector: "ng-translation", ngImport: i0, template: "<p-dropdown [options]=\"languages\" optionLabel=\"langName\" placeholder='{{ \"Generic_lib.SelectLanguage\" | translate }}'\r\n (onChange)=\"selectLang($event)\" [filter]=\"true\" filterBy=\"langName\"\r\n filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}' [showClear]=\"false\"\r\n [(ngModel)]=\"selectedLang\"></p-dropdown>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i8.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
|
2582
2600
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgTranslationComponent, decorators: [{
|
|
2583
2601
|
type: Component,
|
|
2584
|
-
args: [{ selector: 'ng-translation', template: "<p-dropdown [options]=\"languages\" optionLabel=\"langName\" placeholder='{{ \"Generic_lib.SelectLanguage\" | translate }}'\r\n (onChange)=\"selectLang($event)\" [filter]=\"true\" filterBy=\"langName\"\r\n filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}' [showClear]=\"false\"\r\n [(ngModel)]=\"selectedLang\"></p-dropdown>\r\n" }]
|
|
2585
|
-
}], ctorParameters: function () { return [{ type: i4.TranslateService }, { type: StorageService }, { type:
|
|
2602
|
+
args: [{ selector: 'ng-translation', standalone: false, template: "<p-dropdown [options]=\"languages\" optionLabel=\"langName\" placeholder='{{ \"Generic_lib.SelectLanguage\" | translate }}'\r\n (onChange)=\"selectLang($event)\" [filter]=\"true\" filterBy=\"langName\"\r\n filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}' [showClear]=\"false\"\r\n [(ngModel)]=\"selectedLang\"></p-dropdown>\r\n" }]
|
|
2603
|
+
}], ctorParameters: function () { return [{ type: i4.TranslateService }, { type: StorageService }, { type: ToastMsgService }]; } });
|
|
2586
2604
|
|
|
2587
2605
|
class SliceToTwoPipe {
|
|
2588
2606
|
transform(textName) {
|
|
@@ -3959,7 +3977,7 @@ CommonHeaderLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
|
|
|
3959
3977
|
{
|
|
3960
3978
|
provide: APP_INITIALIZER,
|
|
3961
3979
|
useFactory: initTranslateService,
|
|
3962
|
-
deps: [TranslateService, StorageService],
|
|
3980
|
+
deps: [TranslateService, StorageService, HttpClient, ToastMsgService],
|
|
3963
3981
|
multi: true,
|
|
3964
3982
|
},
|
|
3965
3983
|
], imports: [CommonModule,
|
|
@@ -4046,37 +4064,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4046
4064
|
{
|
|
4047
4065
|
provide: APP_INITIALIZER,
|
|
4048
4066
|
useFactory: initTranslateService,
|
|
4049
|
-
deps: [TranslateService, StorageService],
|
|
4067
|
+
deps: [TranslateService, StorageService, HttpClient, ToastMsgService],
|
|
4050
4068
|
multi: true,
|
|
4051
4069
|
},
|
|
4052
4070
|
],
|
|
4053
4071
|
}]
|
|
4054
4072
|
}] });
|
|
4055
|
-
function initTranslateService(translate, localStorageService) {
|
|
4056
|
-
return () => {
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4073
|
+
function initTranslateService(translate, localStorageService, http, msgService) {
|
|
4074
|
+
return async () => {
|
|
4075
|
+
let selectedLang = GlobalConstants.DEFAULTLANG;
|
|
4076
|
+
try {
|
|
4077
|
+
/* 1. Load allowed languages from JSON */
|
|
4078
|
+
const codes = await firstValueFrom(http.get('assets/common-header-lib/i18n/languages.json'));
|
|
4079
|
+
/* 2. Filter languages */
|
|
4080
|
+
GlobalConstants.USERFILTEREDLANGUAGES =
|
|
4081
|
+
GlobalConstants.USERLANGUAGES.filter((lang, index, self) => codes?.includes(lang.langKey) &&
|
|
4082
|
+
index === self.findIndex((x) => x.langKey === lang.langKey));
|
|
4083
|
+
/* 3. Fallback if empty */
|
|
4084
|
+
if (!GlobalConstants.USERFILTEREDLANGUAGES ||
|
|
4085
|
+
GlobalConstants.USERFILTEREDLANGUAGES.length === 0) {
|
|
4086
|
+
GlobalConstants.USERFILTEREDLANGUAGES = [GlobalConstants.DEFAULTLANG];
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
4089
|
+
catch {
|
|
4090
|
+
/* If languages.json fails */
|
|
4091
|
+
GlobalConstants.USERFILTEREDLANGUAGES = [GlobalConstants.DEFAULTLANG];
|
|
4092
|
+
//* Note: Here we directly use English toast as no any .json file is loaded and we cannot rely on translate service to get the message.
|
|
4093
|
+
msgService.error('Failed to load language file.', 'Error');
|
|
4094
|
+
}
|
|
4095
|
+
/* 4. Read saved language */
|
|
4061
4096
|
const saved = localStorageService.getData(COOKIECONSTANT.USERLANG);
|
|
4062
4097
|
if (saved) {
|
|
4063
4098
|
try {
|
|
4064
4099
|
const parsed = JSON.parse(saved);
|
|
4065
|
-
const isValid =
|
|
4100
|
+
const isValid = GlobalConstants.USERFILTEREDLANGUAGES.some((lang) => lang.langKey === parsed?.langKey);
|
|
4066
4101
|
if (isValid) {
|
|
4067
4102
|
selectedLang = parsed;
|
|
4068
4103
|
}
|
|
4069
4104
|
}
|
|
4070
4105
|
catch {
|
|
4071
|
-
|
|
4072
|
-
selectedLang = defaultLang;
|
|
4106
|
+
selectedLang = GlobalConstants.DEFAULTLANG;
|
|
4073
4107
|
}
|
|
4074
4108
|
}
|
|
4075
|
-
/*
|
|
4109
|
+
/* 5. Ensure selected language exists */
|
|
4110
|
+
const validSelected = GlobalConstants.USERFILTEREDLANGUAGES.find((x) => x.langKey === selectedLang.langKey);
|
|
4111
|
+
if (!validSelected) {
|
|
4112
|
+
selectedLang =
|
|
4113
|
+
GlobalConstants.USERFILTEREDLANGUAGES[0] || GlobalConstants.DEFAULTLANG;
|
|
4114
|
+
}
|
|
4115
|
+
/* 6. Save corrected language */
|
|
4076
4116
|
localStorageService.saveData(COOKIECONSTANT.USERLANG, JSON.stringify(selectedLang));
|
|
4077
|
-
/*
|
|
4117
|
+
/* 7. Apply translation */
|
|
4078
4118
|
translate.setDefaultLang(selectedLang.langKey);
|
|
4079
|
-
|
|
4119
|
+
await firstValueFrom(translate.use(selectedLang.langKey));
|
|
4080
4120
|
};
|
|
4081
4121
|
}
|
|
4082
4122
|
function createLibTranslateLoader(http) {
|