@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.
@@ -1238,6 +1238,8 @@
1238
1238
  */
1239
1239
  function (widgetInstanceId, isalertDisabled) {
1240
1240
  if (isalertDisabled === void 0) { isalertDisabled = false; }
1241
+ debugger;
1242
+ console.log("goCorona");
1241
1243
  /** @type {?} */
1242
1244
  var widget = this.widgetList.filter((/**
1243
1245
  * @param {?} item
@@ -1250,7 +1252,7 @@
1250
1252
  this.widgetList.splice(this.widgetList.indexOf(widget[0]), 1);
1251
1253
  this.setAreaHeight();
1252
1254
  if (!isalertDisabled) {
1253
- this.notifier.notify('success', " " + this.translateService.translate('Widget') + " " + widget[0].widgetInfo.widgetTitle + " " + this.translateService.translate('DeletedSuccesfully') + " ");
1255
+ this.notifier.notify('success', " " + this.translateService.translate('Common.widget') + " " + widget[0].widgetInfo.widgetTitle + " " + this.translateService.translate('Common.deletedSuccesfully') + " ");
1254
1256
  }
1255
1257
  this.options.compactType = 'compactLeft&Up';
1256
1258
  this.options.api.optionsChanged();
@@ -1821,6 +1823,9 @@
1821
1823
  * @return {?}
1822
1824
  */
1823
1825
  function (e) {
1826
+ console.log('in enable state listener');
1827
+ console.log(e);
1828
+ console.log(e.detail);
1824
1829
  widgetContainer.setNotConfiguredState(widgetInfo, e.detail);
1825
1830
  }));
1826
1831
  titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
@@ -1868,12 +1873,15 @@
1868
1873
  */
1869
1874
  function (widgetInfo, forceEnable) {
1870
1875
  if (forceEnable === void 0) { forceEnable = false; }
1876
+ console.log('force enable is');
1877
+ console.log(forceEnable);
1871
1878
  if ((widgetInfo.showDefaultState && (widgetInfo.widgetConfigInfo.config == "" || Object.keys(JSON.parse(widgetInfo.widgetConfigInfo.config)).length == 0)) || (forceEnable)) {
1872
1879
  this.isNotConfigured = true;
1873
1880
  }
1874
1881
  else {
1875
1882
  this.isNotConfigured = false;
1876
1883
  }
1884
+ console.log(this.isNotConfigured);
1877
1885
  };
1878
1886
  /** To refresh widget on input config changes */
1879
1887
  /**