@schneideress/dashboardframework 0.0.226 → 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.
@@ -2067,10 +2067,19 @@ var RAWidgetContainer = /** @class */ (function () {
2067
2067
  else
2068
2068
  _this.hideTitle = false;
2069
2069
  }));
2070
- titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
2071
- if (typeof (titleLineEnabled) != 'undefined') {
2072
- this.enableTitleLine = titleLineEnabled;
2073
- 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
+ }
2074
2083
  }
2075
2084
  this.editText = this.translateService.translate('Common.edit');
2076
2085
  if (this.translateService.translate('Common.edit').length > 6) {