@colijnit/catalog 255.1.19 → 255.1.20
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/colijnit-catalog.umd.js +13 -7
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-255.1.19.tgz +0 -0
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/service/catalog-settings.service.js +9 -2
- package/fesm2015/colijnit-catalog.js +9 -3
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +1 -1
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
function Version() {
|
|
31
31
|
this.name = "@colijnit/catalog";
|
|
32
32
|
this.description = "iOne Catalog module based on Angular 12";
|
|
33
|
-
this.symVer = "255.1.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "255.1.20";
|
|
34
|
+
this.publishDate = "24-12-2024 13:53:50";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -687,14 +687,20 @@
|
|
|
687
687
|
switch (_a.label) {
|
|
688
688
|
case 0:
|
|
689
689
|
this._dictionaryService.rootUrl = this.settings.url.replace('/ajaxservice', '');
|
|
690
|
-
if (!!this.settings.additionalTranslationFile) return [3 /*break*/,
|
|
691
|
-
|
|
690
|
+
if (!!this.settings.additionalTranslationFile) return [3 /*break*/, 4];
|
|
691
|
+
if (!(this.settings.languageCode !== undefined)) return [3 /*break*/, 2];
|
|
692
692
|
return [4 /*yield*/, this._dictionaryService.setDictionary(this.settings.languageCode)];
|
|
693
693
|
case 1:
|
|
694
|
-
// const languageCode: string = this._dictionaryService.getLanguageCode(this.settings.languageCode);
|
|
695
694
|
_a.sent();
|
|
696
|
-
|
|
697
|
-
case 2:
|
|
695
|
+
return [3 /*break*/, 4];
|
|
696
|
+
case 2:
|
|
697
|
+
// Fall back
|
|
698
|
+
return [4 /*yield*/, this._dictionaryService.setDictionary(languageCode_enum.LanguageCode.Dutch)];
|
|
699
|
+
case 3:
|
|
700
|
+
// Fall back
|
|
701
|
+
_a.sent();
|
|
702
|
+
_a.label = 4;
|
|
703
|
+
case 4:
|
|
698
704
|
this.settingsLoaded.next(true);
|
|
699
705
|
return [2 /*return*/];
|
|
700
706
|
}
|