@schneideress/dashboardframework 0.0.14 → 0.0.16
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 -14
- 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/gridster/lib/gridster.component.js +7 -2
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +8 -9
- package/esm5/gridster/lib/gridster.component.js +7 -2
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +8 -9
- package/fesm2015/schneideress-dashboardframework.js +7 -24
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +7 -24
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -499,9 +499,10 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
499
499
|
* @return {?}
|
|
500
500
|
*/
|
|
501
501
|
function (changes) {
|
|
502
|
-
if (this.
|
|
503
|
-
this.initiateGridsterConfig();
|
|
502
|
+
if (this.globalFilter && this.raDashboardEventBus && this.appConfig) {
|
|
504
503
|
this.loadWidgets(this.userDashboardId, this.areaKey);
|
|
504
|
+
}
|
|
505
|
+
if (changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
|
|
505
506
|
this.inititateEventBusSubscritions();
|
|
506
507
|
}
|
|
507
508
|
};
|
|
@@ -656,12 +657,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
656
657
|
function (widgets) {
|
|
657
658
|
if (widgets && widgets.length > 0) {
|
|
658
659
|
areaContext.widgetList = _this.mapObjectListToGridsterItemList(widgets);
|
|
659
|
-
|
|
660
|
-
* @return {?}
|
|
661
|
-
*/
|
|
662
|
-
function () {
|
|
663
|
-
areaContext.setAreaHeight();
|
|
664
|
-
}), 2000);
|
|
660
|
+
areaContext.setAreaHeight();
|
|
665
661
|
}
|
|
666
662
|
}));
|
|
667
663
|
};
|
|
@@ -693,6 +689,9 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
693
689
|
if (this.options.api) {
|
|
694
690
|
areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 2;
|
|
695
691
|
}
|
|
692
|
+
else {
|
|
693
|
+
console.log('api not defined in auto height');
|
|
694
|
+
}
|
|
696
695
|
if (areaHeight < 600) {
|
|
697
696
|
areaHeight = 600;
|
|
698
697
|
}
|
|
@@ -2587,12 +2586,6 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
2587
2586
|
if (this.options.destroyCallback) {
|
|
2588
2587
|
this.options.destroyCallback(this);
|
|
2589
2588
|
}
|
|
2590
|
-
if (this.options.api) {
|
|
2591
|
-
this.options.api.resize = undefined;
|
|
2592
|
-
this.options.api.optionsChanged = undefined;
|
|
2593
|
-
this.options.api.getNextPossiblePosition = undefined;
|
|
2594
|
-
this.options.api = undefined;
|
|
2595
|
-
}
|
|
2596
2589
|
this.emptyCell.destroy();
|
|
2597
2590
|
delete this.emptyCell;
|
|
2598
2591
|
this.compact.destroy();
|
|
@@ -5776,15 +5769,5 @@ var RaBaseDashboardFilter = /** @class */ (function () {
|
|
|
5776
5769
|
return RaBaseDashboardFilter;
|
|
5777
5770
|
}());
|
|
5778
5771
|
|
|
5779
|
-
/**
|
|
5780
|
-
* @fileoverview added by tsickle
|
|
5781
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5782
|
-
*/
|
|
5783
|
-
|
|
5784
|
-
/**
|
|
5785
|
-
* @fileoverview added by tsickle
|
|
5786
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5787
|
-
*/
|
|
5788
|
-
|
|
5789
5772
|
export { DashboardFrameworkModule, RADashboardArea, RADashboardEventBus, RAEvent, RAEventKey, RAWidgetContainer, RaBaseDashboardFilter, RaBaseDashboardTemplate, RaDashboardService, GridsterModule as ɵa, GridsterComponent as ɵb, GridsterItemComponent as ɵc, GridsterPreviewComponent as ɵd, customNotifierOptions as ɵe };
|
|
5790
5773
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|