@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.
@@ -1901,19 +1901,13 @@ var RAWidgetContainer = /** @class */ (function () {
1901
1901
  this.baseUrl = this.getHostUrl();
1902
1902
  /** @type {?} */
1903
1903
  var url = this.baseUrl + this.detailPageUrl;
1904
- console.log('visit page url');
1905
- console.log(url);
1906
1904
  if (this.data.widgetInfo && this.data.widgetInfo.widgetSettings) {
1907
1905
  this.widgetSettings = this.getParsedConfig(this.data.widgetInfo.widgetSettings);
1908
1906
  if (this.widgetSettings.customPageParams) {
1909
1907
  /** @type {?} */
1910
1908
  var params = this.widgetElement.getPageParamsClicked();
1911
- console.log('params');
1912
- console.log(params);
1913
1909
  if (params)
1914
1910
  url = url + '?' + params;
1915
- console.log('resultant url is');
1916
- console.log(url);
1917
1911
  }
1918
1912
  }
1919
1913
  location.href = url;
@@ -2073,10 +2067,19 @@ var RAWidgetContainer = /** @class */ (function () {
2073
2067
  else
2074
2068
  _this.hideTitle = false;
2075
2069
  }));
2076
- titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
2077
- if (typeof (titleLineEnabled) != 'undefined') {
2078
- this.enableTitleLine = titleLineEnabled;
2079
- this.enableTitleLineActual = titleLineEnabled;
2070
+ widgetContainer.widgetElement.addEventListener('update-lock-data', (/**
2071
+ * @param {?} e
2072
+ * @return {?}
2073
+ */
2074
+ function (e) {
2075
+ _this.setLock(e.detail);
2076
+ }));
2077
+ if (typeof (widgetContainer.widgetElement.titleLineEnabled) != 'undefined') {
2078
+ titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
2079
+ if (titleLineEnabled) {
2080
+ this.enableTitleLine = titleLineEnabled;
2081
+ this.enableTitleLineActual = titleLineEnabled;
2082
+ }
2080
2083
  }
2081
2084
  this.editText = this.translateService.translate('Common.edit');
2082
2085
  if (this.translateService.translate('Common.edit').length > 6) {