@schneideress/dashboardframework 0.0.163 → 0.0.165
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 +8 -2
- 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.responsive.service.js +9 -3
- package/esm5/lib/ra.dashboard.responsive.service.js +9 -3
- package/fesm2015/schneideress-dashboardframework.js +8 -2
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +8 -2
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -477,8 +477,8 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
477
477
|
var _this = this;
|
|
478
478
|
this.resInfo = [
|
|
479
479
|
{ 'start': 0, 'end': 767, 'minCols': 1, 'maxCols': 1 },
|
|
480
|
-
{ 'start': 768, 'end':
|
|
481
|
-
{ 'start':
|
|
480
|
+
{ 'start': 768, 'end': 1024, 'minCols': 1, 'maxCols': 2 },
|
|
481
|
+
{ 'start': 1025, 'end': 1366, 'minCols': 2, 'maxCols': 6 },
|
|
482
482
|
{ 'start': 1367, 'end': 9999999999, 'minCols': 2, 'maxCols': 8 }
|
|
483
483
|
];
|
|
484
484
|
this.setScreenWidth();
|
|
@@ -500,6 +500,10 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
500
500
|
function () {
|
|
501
501
|
var _this = this;
|
|
502
502
|
this.screenWidth = screen.width;
|
|
503
|
+
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
504
|
+
console.log(this.screenWidth);
|
|
505
|
+
console.log(this.IsDesktopView);
|
|
506
|
+
console.log(this.IsMobile);
|
|
503
507
|
if (this.IsDesktopView) {
|
|
504
508
|
this.currentResInfo = this.resInfo[3];
|
|
505
509
|
console.log('current res info is');
|
|
@@ -517,6 +521,8 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
517
521
|
return item.end >= _this.screenWidth && item.start <= _this.screenWidth;
|
|
518
522
|
}))[0];
|
|
519
523
|
}
|
|
524
|
+
console.log(this.currentResInfo);
|
|
525
|
+
console.log('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$');
|
|
520
526
|
};
|
|
521
527
|
Object.defineProperty(RADashboardResponsiveService.prototype, "IsDesktopView", {
|
|
522
528
|
get: /**
|