@schneideress/dashboardframework 0.0.121 → 0.0.122
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 +9 -1
- 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-dashboard-area/ra.dashboard.area.js +4 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +7 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +4 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +7 -1
- package/fesm2015/schneideress-dashboardframework.js +9 -1
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +9 -1
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -1032,6 +1032,8 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1032
1032
|
*/
|
|
1033
1033
|
function (widgetInstanceId, isalertDisabled) {
|
|
1034
1034
|
if (isalertDisabled === void 0) { isalertDisabled = false; }
|
|
1035
|
+
debugger;
|
|
1036
|
+
console.log("goCorona");
|
|
1035
1037
|
/** @type {?} */
|
|
1036
1038
|
var widget = this.widgetList.filter((/**
|
|
1037
1039
|
* @param {?} item
|
|
@@ -1044,7 +1046,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1044
1046
|
this.widgetList.splice(this.widgetList.indexOf(widget[0]), 1);
|
|
1045
1047
|
this.setAreaHeight();
|
|
1046
1048
|
if (!isalertDisabled) {
|
|
1047
|
-
this.notifier.notify('success', " " + this.translateService.translate('
|
|
1049
|
+
this.notifier.notify('success', " " + this.translateService.translate('Common.widget') + " " + widget[0].widgetInfo.widgetTitle + " " + this.translateService.translate('Common.deletedSuccesfully') + " ");
|
|
1048
1050
|
}
|
|
1049
1051
|
this.options.compactType = 'compactLeft&Up';
|
|
1050
1052
|
this.options.api.optionsChanged();
|
|
@@ -1615,6 +1617,9 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1615
1617
|
* @return {?}
|
|
1616
1618
|
*/
|
|
1617
1619
|
function (e) {
|
|
1620
|
+
console.log('in enable state listener');
|
|
1621
|
+
console.log(e);
|
|
1622
|
+
console.log(e.detail);
|
|
1618
1623
|
widgetContainer.setNotConfiguredState(widgetInfo, e.detail);
|
|
1619
1624
|
}));
|
|
1620
1625
|
titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
|
|
@@ -1662,12 +1667,15 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1662
1667
|
*/
|
|
1663
1668
|
function (widgetInfo, forceEnable) {
|
|
1664
1669
|
if (forceEnable === void 0) { forceEnable = false; }
|
|
1670
|
+
console.log('force enable is');
|
|
1671
|
+
console.log(forceEnable);
|
|
1665
1672
|
if ((widgetInfo.showDefaultState && (widgetInfo.widgetConfigInfo.config == "" || Object.keys(JSON.parse(widgetInfo.widgetConfigInfo.config)).length == 0)) || (forceEnable)) {
|
|
1666
1673
|
this.isNotConfigured = true;
|
|
1667
1674
|
}
|
|
1668
1675
|
else {
|
|
1669
1676
|
this.isNotConfigured = false;
|
|
1670
1677
|
}
|
|
1678
|
+
console.log(this.isNotConfigured);
|
|
1671
1679
|
};
|
|
1672
1680
|
/** To refresh widget on input config changes */
|
|
1673
1681
|
/**
|