@ts-core/angular 13.0.20 → 13.0.21
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/application/ApplicationComponent.d.ts +2 -0
- package/esm2020/application/ApplicationComponent.mjs +8 -4
- package/fesm2015/ts-core-angular.mjs +7 -3
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +7 -3
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +15 -15
|
@@ -683,10 +683,14 @@ class ApplicationComponent extends ApplicationBaseComponent {
|
|
|
683
683
|
initialize() {
|
|
684
684
|
Assets.initialize(this.settings.assetsUrl);
|
|
685
685
|
ViewUtil.initialize(this.renderer);
|
|
686
|
-
|
|
686
|
+
this.initializeTheme();
|
|
687
|
+
this.initializeLanguage();
|
|
688
|
+
}
|
|
689
|
+
initializeTheme() {
|
|
687
690
|
this.theme.initialize(this.settings.themes);
|
|
688
|
-
|
|
689
|
-
|
|
691
|
+
}
|
|
692
|
+
initializeLanguage() {
|
|
693
|
+
this.language.initialize(`${this.settings.assetsUrl}language/`, this.settings.languages);
|
|
690
694
|
this.language.events.pipe(takeUntil(this.destroyed)).subscribe(data => {
|
|
691
695
|
switch (data.type) {
|
|
692
696
|
case LoadableEvent.COMPLETE:
|