@schneideress/dashboardframework 0.0.105 → 0.0.107

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.
@@ -163,7 +163,7 @@ var RaDashboardService = /** @class */ (function (_super) {
163
163
  */
164
164
  function (widgetInfo, appConfig) {
165
165
  this.baseUrl = appConfig.apiBaseUrl;
166
- return this.post('widget/DeleteWidgetUser', widgetInfo);
166
+ return this.delete('widget/DeleteWidgetUser?widgetInstanceId=' + widgetInfo.widgetInstanceId);
167
167
  };
168
168
  /**To Update widgetInfo in database */
169
169
  /**
@@ -1580,6 +1580,13 @@ var RAWidgetContainer = /** @class */ (function () {
1580
1580
  else
1581
1581
  _this.showPanel = false;
1582
1582
  }));
1583
+ widgetContainer.widgetElement.addEventListener('config-edit-clicked', (/**
1584
+ * @param {?} e
1585
+ * @return {?}
1586
+ */
1587
+ function (e) {
1588
+ widgetContainer.editWidget();
1589
+ }));
1583
1590
  titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
1584
1591
  if (typeof (titleLineEnabled) != 'undefined') {
1585
1592
  this.enableTitleLine = titleLineEnabled;