@schneideress/dashboardframework 0.0.209 → 0.0.210
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 +14 -18
- 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 +14 -15
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +15 -19
- package/fesm2015/schneideress-dashboardframework.js +13 -14
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +14 -18
- 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
|
/**
|
|
@@ -1976,6 +1975,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1976
1975
|
*/
|
|
1977
1976
|
function () { return __awaiter(_this, void 0, void 0, function () {
|
|
1978
1977
|
var titleLineEnabled;
|
|
1978
|
+
var _this = this;
|
|
1979
1979
|
return __generator(this, function (_a) {
|
|
1980
1980
|
switch (_a.label) {
|
|
1981
1981
|
case 0:
|
|
@@ -2003,6 +2003,19 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2003
2003
|
function (e) {
|
|
2004
2004
|
widgetContainer.setEmptyState(e.detail);
|
|
2005
2005
|
}));
|
|
2006
|
+
widgetContainer.widgetElement.addEventListener('set-title-underline', (/**
|
|
2007
|
+
* @param {?} e
|
|
2008
|
+
* @return {?}
|
|
2009
|
+
*/
|
|
2010
|
+
function (e) {
|
|
2011
|
+
console.log("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
|
|
2012
|
+
console.log(e);
|
|
2013
|
+
console.log(e.details);
|
|
2014
|
+
if (e.detail == true)
|
|
2015
|
+
_this.enableTitleLine = true;
|
|
2016
|
+
else
|
|
2017
|
+
_this.enableTitleLine = _this.enableTitleLineActual;
|
|
2018
|
+
}));
|
|
2006
2019
|
titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
|
|
2007
2020
|
if (typeof (titleLineEnabled) != 'undefined') {
|
|
2008
2021
|
this.enableTitleLine = titleLineEnabled;
|
|
@@ -2050,7 +2063,6 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2050
2063
|
return [4 /*yield*/, widgetContainer.setDownloadIcon()];
|
|
2051
2064
|
case 2:
|
|
2052
2065
|
_a.sent();
|
|
2053
|
-
this.setTitleLineFor1xView();
|
|
2054
2066
|
return [2 /*return*/];
|
|
2055
2067
|
}
|
|
2056
2068
|
});
|
|
@@ -2553,22 +2565,6 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2553
2565
|
else
|
|
2554
2566
|
this.noPadding = false;
|
|
2555
2567
|
};
|
|
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
2568
|
RAWidgetContainer.decorators = [
|
|
2573
2569
|
{ type: Component, args: [{
|
|
2574
2570
|
selector: 'ra-widget-container',
|