@ngx-smz/core 19.5.2 → 19.5.3
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.
|
@@ -35148,6 +35148,7 @@ class SmzLayoutsConfig {
|
|
|
35148
35148
|
useAvatar;
|
|
35149
35149
|
avatarProperty;
|
|
35150
35150
|
profileMessage;
|
|
35151
|
+
useLegacyThemeManager;
|
|
35151
35152
|
themes;
|
|
35152
35153
|
toast;
|
|
35153
35154
|
loader;
|
|
@@ -35600,7 +35601,11 @@ class ThemeManagerComponent {
|
|
|
35600
35601
|
constructor(store, themeManagerService) {
|
|
35601
35602
|
this.store = store;
|
|
35602
35603
|
this.themeManagerService = themeManagerService;
|
|
35603
|
-
|
|
35604
|
+
if (!GlobalInjector.config.layouts.useLegacyThemeManager) {
|
|
35605
|
+
console.log('useLegacyThemeManager is false');
|
|
35606
|
+
return;
|
|
35607
|
+
}
|
|
35608
|
+
console.log('useLegacyThemeManager is true');
|
|
35604
35609
|
// TODO: Esse código deve ser removido após a implementação do tema do primeng
|
|
35605
35610
|
this.contentLink = this.themeManagerService._document.createElement('link');
|
|
35606
35611
|
this.contentLink.setAttribute('rel', 'stylesheet');
|