@schneideress/dashboardframework 0.0.147 → 0.0.148
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 +236 -97
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +11 -11
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +63 -67
- package/esm2015/lib/ra.dashboard.responsive.service.js +135 -0
- package/esm2015/public-api.js +2 -1
- package/esm2015/schneideress-dashboardframework.js +2 -2
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +63 -83
- package/esm5/lib/ra.dashboard.responsive.service.js +167 -0
- package/esm5/public-api.js +2 -1
- package/esm5/schneideress-dashboardframework.js +2 -2
- package/fesm2015/schneideress-dashboardframework.js +194 -66
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +225 -82
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +4 -3
- package/lib/ra.dashboard.responsive.service.d.ts +15 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* Generated bundle index. Do not edit.
|
|
8
8
|
*/
|
|
9
|
-
export { RaDashboardService, RADashboardArea, RAWidgetContainer, DashboardFrameworkModule, RADashboardEventBus, RAEvent, RAEventKey, RaBaseDashboardTemplate, RaBaseDashboardFilter } from './public-api';
|
|
9
|
+
export { RaDashboardService, RADashboardArea, RAWidgetContainer, DashboardFrameworkModule, RADashboardEventBus, RAEvent, RAEventKey, RaBaseDashboardTemplate, RaBaseDashboardFilter, RADashboardResponsiveService } from './public-api';
|
|
10
10
|
export { GridsterComponent as ɵb } from './gridster/lib/gridster.component';
|
|
11
11
|
export { GridsterModule as ɵa } from './gridster/lib/gridster.module';
|
|
12
12
|
export { GridsterItemComponent as ɵc } from './gridster/lib/gridsterItem.component';
|
|
13
13
|
export { GridsterPreviewComponent as ɵd } from './gridster/lib/gridsterPreview.component';
|
|
14
14
|
export { customNotifierOptions as ɵe } from './lib/custom.notifier.options';
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NobmVpZGVyZXNzLWRhc2hib2FyZGZyYW1ld29yay5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzY2huZWlkZXJlc3MvZGFzaGJvYXJkZnJhbWV3b3JrLyIsInNvdXJjZXMiOlsic2NobmVpZGVyZXNzLWRhc2hib2FyZGZyYW1ld29yay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHlOQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsaUJBQWlCLElBQUksRUFBRSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDMUUsT0FBTyxFQUFDLGNBQWMsSUFBSSxFQUFFLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUNwRSxPQUFPLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDbEYsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyxNQUFNLDBDQUEwQyxDQUFDO0FBQ3hGLE9BQU8sRUFBQyxxQkFBcUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtHcmlkc3RlckNvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vZ3JpZHN0ZXIvbGliL2dyaWRzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQge0dyaWRzdGVyTW9kdWxlIGFzIMm1YX0gZnJvbSAnLi9ncmlkc3Rlci9saWIvZ3JpZHN0ZXIubW9kdWxlJztcbmV4cG9ydCB7R3JpZHN0ZXJJdGVtQ29tcG9uZW50IGFzIMm1Y30gZnJvbSAnLi9ncmlkc3Rlci9saWIvZ3JpZHN0ZXJJdGVtLmNvbXBvbmVudCc7XG5leHBvcnQge0dyaWRzdGVyUHJldmlld0NvbXBvbmVudCBhcyDJtWR9IGZyb20gJy4vZ3JpZHN0ZXIvbGliL2dyaWRzdGVyUHJldmlldy5jb21wb25lbnQnO1xuZXhwb3J0IHtjdXN0b21Ob3RpZmllck9wdGlvbnMgYXMgybVlfSBmcm9tICcuL2xpYi9jdXN0b20ubm90aWZpZXIub3B0aW9ucyc7Il19
|
|
@@ -573,6 +573,138 @@ const GridsterConfigDefaultSettings = {
|
|
|
573
573
|
//itemInitCallback: (item) => this.itemInitCallback(item)
|
|
574
574
|
};
|
|
575
575
|
|
|
576
|
+
/**
|
|
577
|
+
* @fileoverview added by tsickle
|
|
578
|
+
* Generated from: lib/ra.dashboard.responsive.service.ts
|
|
579
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
580
|
+
*/
|
|
581
|
+
/** @type {?} */
|
|
582
|
+
const DesktopViewStart = 1367;
|
|
583
|
+
class RADashboardResponsiveService {
|
|
584
|
+
constructor() {
|
|
585
|
+
this.resInfo = [
|
|
586
|
+
{ 'start': 0, 'end': 767, 'minCols': 1, 'maxCols': 1 },
|
|
587
|
+
{ 'start': 768, 'end': 1024, 'minCols': 1, 'maxCols': 2 },
|
|
588
|
+
{ 'start': 1025, 'end': DesktopViewStart - 1, 'minCols': 2, 'maxCols': 6 },
|
|
589
|
+
{ 'start': DesktopViewStart, 'end': 9999999999, 'minCols': 2, 'maxCols': 10 }
|
|
590
|
+
];
|
|
591
|
+
this.setScreenWidth();
|
|
592
|
+
window.addEventListener('resize', (/**
|
|
593
|
+
* @return {?}
|
|
594
|
+
*/
|
|
595
|
+
() => {
|
|
596
|
+
this.setScreenWidth();
|
|
597
|
+
}));
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* @private
|
|
601
|
+
* @return {?}
|
|
602
|
+
*/
|
|
603
|
+
setScreenWidth() {
|
|
604
|
+
this.screenWidth = screen.width;
|
|
605
|
+
this.currentResInfo = this.resInfo.filter((/**
|
|
606
|
+
* @param {?} item
|
|
607
|
+
* @return {?}
|
|
608
|
+
*/
|
|
609
|
+
(item) => {
|
|
610
|
+
return item.end >= this.screenWidth && item.start <= this.screenWidth;
|
|
611
|
+
}))[0];
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* @return {?}
|
|
615
|
+
*/
|
|
616
|
+
get IsDesktopView() {
|
|
617
|
+
return this.screenWidth >= DesktopViewStart;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @return {?}
|
|
621
|
+
*/
|
|
622
|
+
get GridsterConfig() {
|
|
623
|
+
/** @type {?} */
|
|
624
|
+
let config = GridsterConfigDefaultSettings;
|
|
625
|
+
config.minCols = this.currentResInfo.maxCols;
|
|
626
|
+
config.maxCols = this.currentResInfo.maxCols;
|
|
627
|
+
config.minRows = this.currentResInfo.minCols;
|
|
628
|
+
config.maxItemCols = this.currentResInfo.maxCols;
|
|
629
|
+
config.minItemCols = this.currentResInfo.minCols;
|
|
630
|
+
config.minItemRows = this.currentResInfo.minCols;
|
|
631
|
+
config.minItemArea = this.currentResInfo.minCols * this.currentResInfo.minCols;
|
|
632
|
+
config.defaultItemCols = this.currentResInfo.minCols;
|
|
633
|
+
config.defaultItemRows = this.currentResInfo.minCols;
|
|
634
|
+
if (!this.IsDesktopView) {
|
|
635
|
+
config.resizable.enabled = false;
|
|
636
|
+
config.swap = false;
|
|
637
|
+
config.draggable.enabled = false;
|
|
638
|
+
}
|
|
639
|
+
return config;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* To map IwidgetInfo object to gridsterItem
|
|
643
|
+
* @param {?} widget
|
|
644
|
+
* @return {?}
|
|
645
|
+
*/
|
|
646
|
+
getGridsterItem(widget) {
|
|
647
|
+
/** @type {?} */
|
|
648
|
+
let gridsterItem = (/** @type {?} */ ({
|
|
649
|
+
cols: this.getWidth(widget.width),
|
|
650
|
+
rows: this.getHeight(widget.height),
|
|
651
|
+
x: this.IsDesktopView ? widget.position_x : 0,
|
|
652
|
+
y: this.IsDesktopView ? widget.position_y : 0,
|
|
653
|
+
widgetInfo: widget
|
|
654
|
+
}));
|
|
655
|
+
return gridsterItem;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @private
|
|
659
|
+
* @param {?} width
|
|
660
|
+
* @return {?}
|
|
661
|
+
*/
|
|
662
|
+
getWidth(width) {
|
|
663
|
+
if (!this.IsDesktopView) {
|
|
664
|
+
width = Math.floor(width / 10 * this.currentResInfo.maxCols);
|
|
665
|
+
if (width < this.currentResInfo.minCols)
|
|
666
|
+
width = this.currentResInfo.minCols;
|
|
667
|
+
}
|
|
668
|
+
return width;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @private
|
|
672
|
+
* @param {?} height
|
|
673
|
+
* @return {?}
|
|
674
|
+
*/
|
|
675
|
+
getHeight(height) {
|
|
676
|
+
if (!this.IsDesktopView) {
|
|
677
|
+
height = Math.floor(height / 10 * this.currentResInfo.maxCols);
|
|
678
|
+
if (height < this.currentResInfo.minCols)
|
|
679
|
+
height = this.currentResInfo.minCols;
|
|
680
|
+
}
|
|
681
|
+
return height;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
RADashboardResponsiveService.decorators = [
|
|
685
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
686
|
+
];
|
|
687
|
+
/** @nocollapse */
|
|
688
|
+
RADashboardResponsiveService.ctorParameters = () => [];
|
|
689
|
+
/** @nocollapse */ RADashboardResponsiveService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardResponsiveService_Factory() { return new RADashboardResponsiveService(); }, token: RADashboardResponsiveService, providedIn: "root" });
|
|
690
|
+
if (false) {
|
|
691
|
+
/**
|
|
692
|
+
* @type {?}
|
|
693
|
+
* @private
|
|
694
|
+
*/
|
|
695
|
+
RADashboardResponsiveService.prototype.screenWidth;
|
|
696
|
+
/**
|
|
697
|
+
* @type {?}
|
|
698
|
+
* @private
|
|
699
|
+
*/
|
|
700
|
+
RADashboardResponsiveService.prototype.resInfo;
|
|
701
|
+
/**
|
|
702
|
+
* @type {?}
|
|
703
|
+
* @private
|
|
704
|
+
*/
|
|
705
|
+
RADashboardResponsiveService.prototype.currentResInfo;
|
|
706
|
+
}
|
|
707
|
+
|
|
576
708
|
/**
|
|
577
709
|
* @fileoverview added by tsickle
|
|
578
710
|
* Generated from: lib/ra-dashboard-area/ra.dashboard.area.ts
|
|
@@ -585,13 +717,15 @@ class RADashboardArea {
|
|
|
585
717
|
* @param {?} ngxService
|
|
586
718
|
* @param {?} translateService
|
|
587
719
|
* @param {?} notifier
|
|
720
|
+
* @param {?} responsiveService
|
|
588
721
|
*/
|
|
589
|
-
constructor(dashboardService, ngZone, ngxService, translateService, notifier) {
|
|
722
|
+
constructor(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService) {
|
|
590
723
|
this.dashboardService = dashboardService;
|
|
591
724
|
this.ngZone = ngZone;
|
|
592
725
|
this.ngxService = ngxService;
|
|
593
726
|
this.translateService = translateService;
|
|
594
727
|
this.notifier = notifier;
|
|
728
|
+
this.responsiveService = responsiveService;
|
|
595
729
|
this.widgetList = Array();
|
|
596
730
|
this.gridheight = 300;
|
|
597
731
|
this.gridcellHeight = 0;
|
|
@@ -605,15 +739,22 @@ class RADashboardArea {
|
|
|
605
739
|
* @return {?}
|
|
606
740
|
*/
|
|
607
741
|
onResize(event) {
|
|
608
|
-
|
|
609
|
-
var areaContext = this;
|
|
742
|
+
this.widgetList = [];
|
|
610
743
|
setTimeout((/**
|
|
611
744
|
* @return {?}
|
|
612
745
|
*/
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
746
|
+
() => {
|
|
747
|
+
this.initiateGridsterConfig();
|
|
748
|
+
this.options.api.optionsChanged();
|
|
749
|
+
if (this.userWidgets) {
|
|
750
|
+
this.widgetList = this.mapObjectListToGridsterItemList(this.userWidgets);
|
|
751
|
+
this.setAreaHeight();
|
|
752
|
+
}
|
|
753
|
+
else {
|
|
754
|
+
this.loadWidgets(this.userDashboardId, this.areaKey);
|
|
755
|
+
}
|
|
756
|
+
this.domResized = !this.domResized;
|
|
757
|
+
}));
|
|
617
758
|
}
|
|
618
759
|
/**
|
|
619
760
|
* @return {?}
|
|
@@ -634,30 +775,24 @@ class RADashboardArea {
|
|
|
634
775
|
this.inititateEventBusSubscritions();
|
|
635
776
|
}
|
|
636
777
|
}
|
|
637
|
-
// public invokeResizeEvent() {
|
|
638
|
-
// this.widgetContainers.forEach(function(container,i){
|
|
639
|
-
// container.invokeWidgetResizedEvent();
|
|
640
|
-
// });
|
|
641
|
-
// }
|
|
642
778
|
/**
|
|
643
779
|
* To set GridsterConfig
|
|
644
780
|
* @return {?}
|
|
645
781
|
*/
|
|
646
782
|
initiateGridsterConfig() {
|
|
647
|
-
/** @type {?} */
|
|
648
|
-
let areaContext = this;
|
|
649
783
|
/**To override default configuration values to the gridster control */
|
|
650
|
-
this.options =
|
|
784
|
+
this.options = this.responsiveService.GridsterConfig;
|
|
651
785
|
this.options.itemChangeCallback = (/**
|
|
652
786
|
* @param {?} item
|
|
653
787
|
* @return {?}
|
|
654
788
|
*/
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
789
|
+
(item) => {
|
|
790
|
+
if (this.responsiveService.IsDesktopView) {
|
|
791
|
+
if (item.widgetInfo && item.widgetInfo.widgetInstanceId) {
|
|
792
|
+
this.updateWidgetPosition(item.widgetInfo.widgetInstanceId);
|
|
793
|
+
}
|
|
659
794
|
}
|
|
660
|
-
|
|
795
|
+
this.setAreaHeight();
|
|
661
796
|
});
|
|
662
797
|
}
|
|
663
798
|
/**
|
|
@@ -710,7 +845,6 @@ class RADashboardArea {
|
|
|
710
845
|
* @return {?}
|
|
711
846
|
*/
|
|
712
847
|
() => {
|
|
713
|
-
console.log('rearrange event bus triggered');
|
|
714
848
|
this.rearrangeWidgets();
|
|
715
849
|
}));
|
|
716
850
|
}));
|
|
@@ -724,9 +858,6 @@ class RADashboardArea {
|
|
|
724
858
|
*/
|
|
725
859
|
() => {
|
|
726
860
|
if (widgetList) {
|
|
727
|
-
// widgetList.forEach(widgetInfo => {
|
|
728
|
-
// this.addWidget(widgetInfo);
|
|
729
|
-
// });
|
|
730
861
|
this.addWidgetListToGridster(widgetList, 0);
|
|
731
862
|
}
|
|
732
863
|
}));
|
|
@@ -848,22 +979,37 @@ class RADashboardArea {
|
|
|
848
979
|
* @return {?}
|
|
849
980
|
*/
|
|
850
981
|
loadWidgets(userDashboarId, areaKey) {
|
|
851
|
-
/** @type {?} */
|
|
852
|
-
let areaContext = this;
|
|
853
982
|
/** @type {?} */
|
|
854
983
|
let widgetInfo = (/** @type {?} */ ({
|
|
855
984
|
dashboardId: userDashboarId.toString(),
|
|
856
985
|
dashboardAreaKey: areaKey
|
|
857
986
|
}));
|
|
858
|
-
|
|
987
|
+
this.widgetList = [];
|
|
859
988
|
this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe((/**
|
|
860
989
|
* @param {?} widgets
|
|
861
990
|
* @return {?}
|
|
862
991
|
*/
|
|
863
992
|
widgets => {
|
|
993
|
+
//sorting the widgets y, x
|
|
994
|
+
widgets = widgets.sort((/**
|
|
995
|
+
* @param {?} a
|
|
996
|
+
* @param {?} b
|
|
997
|
+
* @return {?}
|
|
998
|
+
*/
|
|
999
|
+
(a, b) => {
|
|
1000
|
+
if (a['position_y'] > b['position_y'])
|
|
1001
|
+
return 1;
|
|
1002
|
+
if (a['position_y'] < b['position_y'])
|
|
1003
|
+
return -1;
|
|
1004
|
+
if (a['position_x'] > b['position_x'])
|
|
1005
|
+
return 1;
|
|
1006
|
+
if (a['position_x'] < b['position_x'])
|
|
1007
|
+
return -1;
|
|
1008
|
+
}));
|
|
1009
|
+
this.userWidgets = widgets;
|
|
864
1010
|
if (widgets && widgets.length > 0) {
|
|
865
|
-
|
|
866
|
-
|
|
1011
|
+
this.widgetList = this.mapObjectListToGridsterItemList(widgets);
|
|
1012
|
+
this.setAreaHeight();
|
|
867
1013
|
}
|
|
868
1014
|
}));
|
|
869
1015
|
}
|
|
@@ -915,7 +1061,6 @@ class RADashboardArea {
|
|
|
915
1061
|
areaHeight = 600;
|
|
916
1062
|
}
|
|
917
1063
|
this.gridheight = areaHeight;
|
|
918
|
-
console.log('area height adjusted1');
|
|
919
1064
|
}
|
|
920
1065
|
/**
|
|
921
1066
|
* To remove a widget instance from dashboard and to save info in database
|
|
@@ -957,20 +1102,11 @@ class RADashboardArea {
|
|
|
957
1102
|
* @return {?}
|
|
958
1103
|
*/
|
|
959
1104
|
addWidget(data) {
|
|
960
|
-
/** @type {?} */
|
|
961
|
-
let widgetid = data.widgetId;
|
|
962
1105
|
data.height = this.widgetHeight;
|
|
963
1106
|
data.width = this.widgetWidth;
|
|
964
1107
|
data.position_x = 0;
|
|
965
1108
|
data.position_y = 0;
|
|
966
|
-
/** @type {?} */
|
|
967
|
-
let gridsterItem = this.mapObjectsToGridsterItem(data);
|
|
968
1109
|
/** to find the available position in gridster, temp commenting the code-returning higher y value than normal */
|
|
969
|
-
// if (this.options.api) {
|
|
970
|
-
// gridsterItem = this.options.api.getFirstPossiblePosition(gridsterItem);
|
|
971
|
-
// }
|
|
972
|
-
// data.position_x = gridsterItem.x;
|
|
973
|
-
// data.position_y = gridsterItem.y;
|
|
974
1110
|
data.dashboardAreaKey = this.areaKey;
|
|
975
1111
|
data.dashboardId = this.userDashboardId;
|
|
976
1112
|
this.ngxService.start();
|
|
@@ -979,7 +1115,8 @@ class RADashboardArea {
|
|
|
979
1115
|
* @return {?}
|
|
980
1116
|
*/
|
|
981
1117
|
widget => {
|
|
982
|
-
|
|
1118
|
+
/** @type {?} */
|
|
1119
|
+
let gridsterItem = this.responsiveService.getGridsterItem(widget);
|
|
983
1120
|
this.widgetList.push(gridsterItem);
|
|
984
1121
|
this.setAreaHeight();
|
|
985
1122
|
if (this.options.api) {
|
|
@@ -1011,33 +1148,13 @@ class RADashboardArea {
|
|
|
1011
1148
|
* @return {?}
|
|
1012
1149
|
*/
|
|
1013
1150
|
copyWidget(data) {
|
|
1151
|
+
data.position_x = 0;
|
|
1152
|
+
data.position_y = 0;
|
|
1014
1153
|
/** @type {?} */
|
|
1015
|
-
let gridsterItem = this.
|
|
1016
|
-
if (this.options.api) {
|
|
1017
|
-
gridsterItem = this.options.api.getFirstPossiblePosition(gridsterItem);
|
|
1018
|
-
}
|
|
1019
|
-
data.position_x = gridsterItem.x;
|
|
1020
|
-
data.position_y = gridsterItem.y;
|
|
1021
|
-
gridsterItem = this.mapObjectsToGridsterItem(data);
|
|
1154
|
+
let gridsterItem = this.responsiveService.getGridsterItem(data);
|
|
1022
1155
|
this.widgetList.push(gridsterItem);
|
|
1023
1156
|
this.setAreaHeight();
|
|
1024
1157
|
}
|
|
1025
|
-
/**
|
|
1026
|
-
* To map IwidgetInfo object to gridsterItem
|
|
1027
|
-
* @param {?} widget
|
|
1028
|
-
* @return {?}
|
|
1029
|
-
*/
|
|
1030
|
-
mapObjectsToGridsterItem(widget) {
|
|
1031
|
-
/** @type {?} */
|
|
1032
|
-
let gridsterItem = (/** @type {?} */ ({
|
|
1033
|
-
cols: widget.width,
|
|
1034
|
-
rows: widget.height,
|
|
1035
|
-
x: widget.position_x,
|
|
1036
|
-
y: widget.position_y,
|
|
1037
|
-
widgetInfo: widget
|
|
1038
|
-
}));
|
|
1039
|
-
return gridsterItem;
|
|
1040
|
-
}
|
|
1041
1158
|
/**
|
|
1042
1159
|
* @param {?} widgetList
|
|
1043
1160
|
* @return {?}
|
|
@@ -1050,7 +1167,7 @@ class RADashboardArea {
|
|
|
1050
1167
|
* @return {?}
|
|
1051
1168
|
*/
|
|
1052
1169
|
widget => {
|
|
1053
|
-
widgetArray.push(this.
|
|
1170
|
+
widgetArray.push(this.responsiveService.getGridsterItem(widget));
|
|
1054
1171
|
}));
|
|
1055
1172
|
return widgetArray;
|
|
1056
1173
|
}
|
|
@@ -1099,7 +1216,8 @@ RADashboardArea.ctorParameters = () => [
|
|
|
1099
1216
|
{ type: NgZone },
|
|
1100
1217
|
{ type: NgxUiLoaderService },
|
|
1101
1218
|
{ type: RATranslateService },
|
|
1102
|
-
{ type: NotifierService }
|
|
1219
|
+
{ type: NotifierService },
|
|
1220
|
+
{ type: RADashboardResponsiveService }
|
|
1103
1221
|
];
|
|
1104
1222
|
RADashboardArea.propDecorators = {
|
|
1105
1223
|
userDashboardId: [{ type: Input, args: ['user-dashboard-id',] }],
|
|
@@ -1121,6 +1239,11 @@ if (false) {
|
|
|
1121
1239
|
RADashboardArea.prototype.gridheight;
|
|
1122
1240
|
/** @type {?} */
|
|
1123
1241
|
RADashboardArea.prototype.gridcellHeight;
|
|
1242
|
+
/**
|
|
1243
|
+
* @type {?}
|
|
1244
|
+
* @private
|
|
1245
|
+
*/
|
|
1246
|
+
RADashboardArea.prototype.userWidgets;
|
|
1124
1247
|
/**
|
|
1125
1248
|
* @type {?}
|
|
1126
1249
|
* @private
|
|
@@ -1194,6 +1317,11 @@ if (false) {
|
|
|
1194
1317
|
* @private
|
|
1195
1318
|
*/
|
|
1196
1319
|
RADashboardArea.prototype.notifier;
|
|
1320
|
+
/**
|
|
1321
|
+
* @type {?}
|
|
1322
|
+
* @private
|
|
1323
|
+
*/
|
|
1324
|
+
RADashboardArea.prototype.responsiveService;
|
|
1197
1325
|
}
|
|
1198
1326
|
|
|
1199
1327
|
/**
|
|
@@ -6661,5 +6789,5 @@ if (false) {
|
|
|
6661
6789
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6662
6790
|
*/
|
|
6663
6791
|
|
|
6664
|
-
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 };
|
|
6792
|
+
export { DashboardFrameworkModule, RADashboardArea, RADashboardEventBus, RADashboardResponsiveService, RAEvent, RAEventKey, RAWidgetContainer, RaBaseDashboardFilter, RaBaseDashboardTemplate, RaDashboardService, GridsterModule as ɵa, GridsterComponent as ɵb, GridsterItemComponent as ɵc, GridsterPreviewComponent as ɵd, customNotifierOptions as ɵe };
|
|
6665
6793
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|