@schneideress/dashboardframework 0.0.209 → 0.0.211
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/schneideress-dashboardframework.umd.js +17 -19
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +17 -16
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +18 -20
- package/fesm2015/schneideress-dashboardframework.js +16 -15
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +17 -19
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +0 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1690,7 +1690,6 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1690
1690
|
size.width = this.width;
|
|
1691
1691
|
size.cellHeight = this.gridCellHeight;
|
|
1692
1692
|
this.widgetElement.widgetResized(size);
|
|
1693
|
-
this.setTitleLineFor1xView();
|
|
1694
1693
|
}
|
|
1695
1694
|
};
|
|
1696
1695
|
/**
|
|
@@ -1959,7 +1958,12 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1959
1958
|
*/
|
|
1960
1959
|
function () {
|
|
1961
1960
|
_this.setNotConfiguredState(widgetInfo);
|
|
1962
|
-
|
|
1961
|
+
/** @type {?} */
|
|
1962
|
+
var appModule = _this.data.widgetInfo.widgetName;
|
|
1963
|
+
if (_this.data.widgetInfo.applicationModule && _this.data.widgetInfo.applicationModule.length > 0) {
|
|
1964
|
+
appModule = _this.data.widgetInfo.applicationModule;
|
|
1965
|
+
}
|
|
1966
|
+
_this.translateService.loadTranslations(_this.appConfig.appManagementBaseUrl, appModule, false).then((/**
|
|
1963
1967
|
* @return {?}
|
|
1964
1968
|
*/
|
|
1965
1969
|
function () {
|
|
@@ -1976,6 +1980,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1976
1980
|
*/
|
|
1977
1981
|
function () { return __awaiter(_this, void 0, void 0, function () {
|
|
1978
1982
|
var titleLineEnabled;
|
|
1983
|
+
var _this = this;
|
|
1979
1984
|
return __generator(this, function (_a) {
|
|
1980
1985
|
switch (_a.label) {
|
|
1981
1986
|
case 0:
|
|
@@ -2003,6 +2008,16 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2003
2008
|
function (e) {
|
|
2004
2009
|
widgetContainer.setEmptyState(e.detail);
|
|
2005
2010
|
}));
|
|
2011
|
+
widgetContainer.widgetElement.addEventListener('set-title-underline', (/**
|
|
2012
|
+
* @param {?} e
|
|
2013
|
+
* @return {?}
|
|
2014
|
+
*/
|
|
2015
|
+
function (e) {
|
|
2016
|
+
if (e.detail == true)
|
|
2017
|
+
_this.enableTitleLine = true;
|
|
2018
|
+
else
|
|
2019
|
+
_this.enableTitleLine = _this.enableTitleLineActual;
|
|
2020
|
+
}));
|
|
2006
2021
|
titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
|
|
2007
2022
|
if (typeof (titleLineEnabled) != 'undefined') {
|
|
2008
2023
|
this.enableTitleLine = titleLineEnabled;
|
|
@@ -2050,7 +2065,6 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2050
2065
|
return [4 /*yield*/, widgetContainer.setDownloadIcon()];
|
|
2051
2066
|
case 2:
|
|
2052
2067
|
_a.sent();
|
|
2053
|
-
this.setTitleLineFor1xView();
|
|
2054
2068
|
return [2 /*return*/];
|
|
2055
2069
|
}
|
|
2056
2070
|
});
|
|
@@ -2553,22 +2567,6 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2553
2567
|
else
|
|
2554
2568
|
this.noPadding = false;
|
|
2555
2569
|
};
|
|
2556
|
-
/**
|
|
2557
|
-
* @private
|
|
2558
|
-
* @return {?}
|
|
2559
|
-
*/
|
|
2560
|
-
RAWidgetContainer.prototype.setTitleLineFor1xView = /**
|
|
2561
|
-
* @private
|
|
2562
|
-
* @return {?}
|
|
2563
|
-
*/
|
|
2564
|
-
function () {
|
|
2565
|
-
/** @type {?} */
|
|
2566
|
-
var titleLineEnabled1x = this.widgetElement.titleLineEnabledFor1xView();
|
|
2567
|
-
if (typeof (titleLineEnabled1x) != 'undefined' && titleLineEnabled1x && (this.height == 1 || this.width == 1))
|
|
2568
|
-
this.enableTitleLine = true;
|
|
2569
|
-
else
|
|
2570
|
-
this.enableTitleLine = this.enableTitleLineActual;
|
|
2571
|
-
};
|
|
2572
2570
|
RAWidgetContainer.decorators = [
|
|
2573
2571
|
{ type: Component, args: [{
|
|
2574
2572
|
selector: 'ra-widget-container',
|