@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
|
@@ -1901,7 +1901,6 @@
|
|
|
1901
1901
|
size.width = this.width;
|
|
1902
1902
|
size.cellHeight = this.gridCellHeight;
|
|
1903
1903
|
this.widgetElement.widgetResized(size);
|
|
1904
|
-
this.setTitleLineFor1xView();
|
|
1905
1904
|
}
|
|
1906
1905
|
};
|
|
1907
1906
|
/**
|
|
@@ -2170,7 +2169,12 @@
|
|
|
2170
2169
|
*/
|
|
2171
2170
|
function () {
|
|
2172
2171
|
_this.setNotConfiguredState(widgetInfo);
|
|
2173
|
-
|
|
2172
|
+
/** @type {?} */
|
|
2173
|
+
var appModule = _this.data.widgetInfo.widgetName;
|
|
2174
|
+
if (_this.data.widgetInfo.applicationModule && _this.data.widgetInfo.applicationModule.length > 0) {
|
|
2175
|
+
appModule = _this.data.widgetInfo.applicationModule;
|
|
2176
|
+
}
|
|
2177
|
+
_this.translateService.loadTranslations(_this.appConfig.appManagementBaseUrl, appModule, false).then((/**
|
|
2174
2178
|
* @return {?}
|
|
2175
2179
|
*/
|
|
2176
2180
|
function () {
|
|
@@ -2187,6 +2191,7 @@
|
|
|
2187
2191
|
*/
|
|
2188
2192
|
function () { return __awaiter(_this, void 0, void 0, function () {
|
|
2189
2193
|
var titleLineEnabled;
|
|
2194
|
+
var _this = this;
|
|
2190
2195
|
return __generator(this, function (_a) {
|
|
2191
2196
|
switch (_a.label) {
|
|
2192
2197
|
case 0:
|
|
@@ -2214,6 +2219,16 @@
|
|
|
2214
2219
|
function (e) {
|
|
2215
2220
|
widgetContainer.setEmptyState(e.detail);
|
|
2216
2221
|
}));
|
|
2222
|
+
widgetContainer.widgetElement.addEventListener('set-title-underline', (/**
|
|
2223
|
+
* @param {?} e
|
|
2224
|
+
* @return {?}
|
|
2225
|
+
*/
|
|
2226
|
+
function (e) {
|
|
2227
|
+
if (e.detail == true)
|
|
2228
|
+
_this.enableTitleLine = true;
|
|
2229
|
+
else
|
|
2230
|
+
_this.enableTitleLine = _this.enableTitleLineActual;
|
|
2231
|
+
}));
|
|
2217
2232
|
titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
|
|
2218
2233
|
if (typeof (titleLineEnabled) != 'undefined') {
|
|
2219
2234
|
this.enableTitleLine = titleLineEnabled;
|
|
@@ -2261,7 +2276,6 @@
|
|
|
2261
2276
|
return [4 /*yield*/, widgetContainer.setDownloadIcon()];
|
|
2262
2277
|
case 2:
|
|
2263
2278
|
_a.sent();
|
|
2264
|
-
this.setTitleLineFor1xView();
|
|
2265
2279
|
return [2 /*return*/];
|
|
2266
2280
|
}
|
|
2267
2281
|
});
|
|
@@ -2764,22 +2778,6 @@
|
|
|
2764
2778
|
else
|
|
2765
2779
|
this.noPadding = false;
|
|
2766
2780
|
};
|
|
2767
|
-
/**
|
|
2768
|
-
* @private
|
|
2769
|
-
* @return {?}
|
|
2770
|
-
*/
|
|
2771
|
-
RAWidgetContainer.prototype.setTitleLineFor1xView = /**
|
|
2772
|
-
* @private
|
|
2773
|
-
* @return {?}
|
|
2774
|
-
*/
|
|
2775
|
-
function () {
|
|
2776
|
-
/** @type {?} */
|
|
2777
|
-
var titleLineEnabled1x = this.widgetElement.titleLineEnabledFor1xView();
|
|
2778
|
-
if (typeof (titleLineEnabled1x) != 'undefined' && titleLineEnabled1x && (this.height == 1 || this.width == 1))
|
|
2779
|
-
this.enableTitleLine = true;
|
|
2780
|
-
else
|
|
2781
|
-
this.enableTitleLine = this.enableTitleLineActual;
|
|
2782
|
-
};
|
|
2783
2781
|
RAWidgetContainer.decorators = [
|
|
2784
2782
|
{ type: core.Component, args: [{
|
|
2785
2783
|
selector: 'ra-widget-container',
|