@schneideress/dashboardframework 0.0.255 → 0.0.257
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.
- package/bundles/schneideress-dashboardframework.umd.js +7 -1
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra.dashboard.service.js +7 -1
- package/esm2015/lib/ra.gridster.config.js +2 -2
- package/esm5/lib/ra.dashboard.service.js +7 -1
- package/esm5/lib/ra.gridster.config.js +2 -2
- package/fesm2015/schneideress-dashboardframework.js +7 -1
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +7 -1
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -280,6 +280,12 @@
|
|
|
280
280
|
/**To Update widgetInfo in database */
|
|
281
281
|
RaDashboardService.prototype.updateWidget = function (widgetInfo, appConfig) {
|
|
282
282
|
this.baseUrl = appConfig.apiBaseUrl;
|
|
283
|
+
var info = {};
|
|
284
|
+
info.widgetConfigInfo = widgetInfo.widgetConfigInfo;
|
|
285
|
+
info.widgetInstanceId = widgetInfo.widgetInstanceId;
|
|
286
|
+
info.widgetTitle = widgetInfo.widgetTitle;
|
|
287
|
+
info.widgetType = widgetInfo.widgetType;
|
|
288
|
+
info.widgetId = widgetInfo.widgetId;
|
|
283
289
|
return this.post('widget/UpdateUserWidget', widgetInfo);
|
|
284
290
|
};
|
|
285
291
|
/** To Move or change position if current widget container*/
|
|
@@ -407,7 +413,7 @@
|
|
|
407
413
|
var GridsterConfigDefaultSettings = {
|
|
408
414
|
gridType: 'scrollVertical',
|
|
409
415
|
compactType: 'none',
|
|
410
|
-
margin:
|
|
416
|
+
margin: 0,
|
|
411
417
|
outerMargin: true,
|
|
412
418
|
outerMarginTop: 10,
|
|
413
419
|
outerMarginRight: 0,
|