@schneideress/dashboardframework 0.0.227 → 0.0.228

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.
@@ -2112,19 +2112,13 @@
2112
2112
  this.baseUrl = this.getHostUrl();
2113
2113
  /** @type {?} */
2114
2114
  var url = this.baseUrl + this.detailPageUrl;
2115
- console.log('visit page url');
2116
- console.log(url);
2117
2115
  if (this.data.widgetInfo && this.data.widgetInfo.widgetSettings) {
2118
2116
  this.widgetSettings = this.getParsedConfig(this.data.widgetInfo.widgetSettings);
2119
2117
  if (this.widgetSettings.customPageParams) {
2120
2118
  /** @type {?} */
2121
2119
  var params = this.widgetElement.getPageParamsClicked();
2122
- console.log('params');
2123
- console.log(params);
2124
2120
  if (params)
2125
2121
  url = url + '?' + params;
2126
- console.log('resultant url is');
2127
- console.log(url);
2128
2122
  }
2129
2123
  }
2130
2124
  location.href = url;
@@ -2284,10 +2278,19 @@
2284
2278
  else
2285
2279
  _this.hideTitle = false;
2286
2280
  }));
2287
- titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
2288
- if (typeof (titleLineEnabled) != 'undefined') {
2289
- this.enableTitleLine = titleLineEnabled;
2290
- this.enableTitleLineActual = titleLineEnabled;
2281
+ widgetContainer.widgetElement.addEventListener('update-lock-data', (/**
2282
+ * @param {?} e
2283
+ * @return {?}
2284
+ */
2285
+ function (e) {
2286
+ _this.setLock(e.detail);
2287
+ }));
2288
+ if (typeof (widgetContainer.widgetElement.titleLineEnabled) != 'undefined') {
2289
+ titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
2290
+ if (titleLineEnabled) {
2291
+ this.enableTitleLine = titleLineEnabled;
2292
+ this.enableTitleLineActual = titleLineEnabled;
2293
+ }
2291
2294
  }
2292
2295
  this.editText = this.translateService.translate('Common.edit');
2293
2296
  if (this.translateService.translate('Common.edit').length > 6) {