@taiga-ui/addon-doc 3.23.0-dev.main-db0dc40 → 3.23.1
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/taiga-ui-addon-doc.umd.js +4 -4
- package/bundles/taiga-ui-addon-doc.umd.js.map +1 -1
- package/esm2015/services/theme.service.js +6 -6
- package/fesm2015/taiga-ui-addon-doc.js +4 -4
- package/fesm2015/taiga-ui-addon-doc.js.map +1 -1
- package/package.json +5 -5
- package/services/theme.service.d.ts +2 -2
|
@@ -1883,9 +1883,9 @@
|
|
|
1883
1883
|
|
|
1884
1884
|
var TuiThemeService = /** @class */ (function (_super) {
|
|
1885
1885
|
__extends(TuiThemeService, _super);
|
|
1886
|
-
function TuiThemeService(
|
|
1887
|
-
var _this = _super.call(this, storage.getItem(key) ||
|
|
1888
|
-
_this.
|
|
1886
|
+
function TuiThemeService(initialTheme, key, storage) {
|
|
1887
|
+
var _this = _super.call(this, storage.getItem(key) || initialTheme) || this;
|
|
1888
|
+
_this.initialTheme = initialTheme;
|
|
1889
1889
|
_this.key = key;
|
|
1890
1890
|
_this.storage = storage;
|
|
1891
1891
|
return _this;
|
|
@@ -1896,7 +1896,7 @@
|
|
|
1896
1896
|
};
|
|
1897
1897
|
Object.defineProperty(TuiThemeService.prototype, "isDefaultTheme", {
|
|
1898
1898
|
get: function () {
|
|
1899
|
-
return this.value ===
|
|
1899
|
+
return this.value === TUI_THEME_DEFAULT_NAME;
|
|
1900
1900
|
},
|
|
1901
1901
|
enumerable: false,
|
|
1902
1902
|
configurable: true
|