@schneideress/dashboardframework 0.0.200 → 0.0.202
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 +69 -50
- 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/gridster/index.js +1 -1
- package/esm2015/gridster/lib/gridster.component.js +1 -1
- package/esm2015/gridster/lib/gridster.interface.js +1 -1
- package/esm2015/gridster/lib/gridster.module.js +1 -1
- package/esm2015/gridster/lib/gridsterCompact.service.js +1 -1
- package/esm2015/gridster/lib/gridsterConfig.constant.js +1 -1
- package/esm2015/gridster/lib/gridsterConfig.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterConfigS.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterDraggable.service.js +1 -1
- package/esm2015/gridster/lib/gridsterEmptyCell.service.js +1 -1
- package/esm2015/gridster/lib/gridsterItem.component.js +1 -1
- package/esm2015/gridster/lib/gridsterItem.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterItemComponent.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterPreview.component.js +1 -1
- package/esm2015/gridster/lib/gridsterPush.service.js +1 -1
- package/esm2015/gridster/lib/gridsterPushResize.service.js +1 -1
- package/esm2015/gridster/lib/gridsterRenderer.service.js +1 -1
- package/esm2015/gridster/lib/gridsterResizable.service.js +1 -1
- package/esm2015/gridster/lib/gridsterResizeEventType.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterScroll.service.js +1 -1
- package/esm2015/gridster/lib/gridsterSwap.service.js +1 -1
- package/esm2015/gridster/lib/gridsterUtils.service.js +1 -1
- package/esm2015/lib/custom.notifier.options.js +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +19 -6
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +13 -4
- package/esm2015/lib/ra.base.dashboard.filter.js +1 -1
- package/esm2015/lib/ra.base.dashboard.template.js +1 -1
- package/esm2015/lib/ra.dashbard.event.bus.js +1 -1
- package/esm2015/lib/ra.dashboard.module.js +1 -1
- package/esm2015/lib/ra.dashboard.responsive.service.js +1 -1
- package/esm2015/lib/ra.dashboard.service.js +1 -1
- package/esm2015/lib/ra.event.enum.js +1 -1
- package/esm2015/lib/ra.gridster.config.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/schneideress-dashboardframework.js +1 -1
- package/esm5/gridster/index.js +1 -1
- package/esm5/gridster/lib/gridster.component.js +1 -1
- package/esm5/gridster/lib/gridster.interface.js +1 -1
- package/esm5/gridster/lib/gridster.module.js +1 -1
- package/esm5/gridster/lib/gridsterCompact.service.js +1 -1
- package/esm5/gridster/lib/gridsterConfig.constant.js +1 -1
- package/esm5/gridster/lib/gridsterConfig.interface.js +1 -1
- package/esm5/gridster/lib/gridsterConfigS.interface.js +1 -1
- package/esm5/gridster/lib/gridsterDraggable.service.js +1 -1
- package/esm5/gridster/lib/gridsterEmptyCell.service.js +1 -1
- package/esm5/gridster/lib/gridsterItem.component.js +1 -1
- package/esm5/gridster/lib/gridsterItem.interface.js +1 -1
- package/esm5/gridster/lib/gridsterItemComponent.interface.js +1 -1
- package/esm5/gridster/lib/gridsterPreview.component.js +1 -1
- package/esm5/gridster/lib/gridsterPush.service.js +1 -1
- package/esm5/gridster/lib/gridsterPushResize.service.js +1 -1
- package/esm5/gridster/lib/gridsterRenderer.service.js +1 -1
- package/esm5/gridster/lib/gridsterResizable.service.js +1 -1
- package/esm5/gridster/lib/gridsterResizeEventType.interface.js +1 -1
- package/esm5/gridster/lib/gridsterScroll.service.js +1 -1
- package/esm5/gridster/lib/gridsterSwap.service.js +1 -1
- package/esm5/gridster/lib/gridsterUtils.service.js +1 -1
- package/esm5/lib/custom.notifier.options.js +1 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +18 -6
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +16 -4
- package/esm5/lib/ra.base.dashboard.filter.js +1 -1
- package/esm5/lib/ra.base.dashboard.template.js +1 -1
- package/esm5/lib/ra.dashbard.event.bus.js +1 -1
- package/esm5/lib/ra.dashboard.module.js +1 -1
- package/esm5/lib/ra.dashboard.responsive.service.js +1 -1
- package/esm5/lib/ra.dashboard.service.js +1 -1
- package/esm5/lib/ra.event.enum.js +1 -1
- package/esm5/lib/ra.gridster.config.js +1 -1
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +58 -36
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +60 -36
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +4 -2
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +4 -2
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -15,7 +15,7 @@ import { RACommonControlsModule } from '@schneideress/common-controls';
|
|
|
15
15
|
/**
|
|
16
16
|
* @fileoverview added by tsickle
|
|
17
17
|
* Generated from: lib/ra.dashboard.service.ts
|
|
18
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
18
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
19
19
|
*/
|
|
20
20
|
var RaDashboardService = /** @class */ (function (_super) {
|
|
21
21
|
__extends(RaDashboardService, _super);
|
|
@@ -231,7 +231,7 @@ if (false) {
|
|
|
231
231
|
/**
|
|
232
232
|
* @fileoverview added by tsickle
|
|
233
233
|
* Generated from: lib/ra.dashbard.event.bus.ts
|
|
234
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
234
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
235
235
|
*/
|
|
236
236
|
var RADashboardEventBus = /** @class */ (function () {
|
|
237
237
|
function RADashboardEventBus() {
|
|
@@ -352,7 +352,7 @@ if (false) {
|
|
|
352
352
|
/**
|
|
353
353
|
* @fileoverview added by tsickle
|
|
354
354
|
* Generated from: lib/ra.event.enum.ts
|
|
355
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
355
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
356
356
|
*/
|
|
357
357
|
/** @enum {string} */
|
|
358
358
|
var RAEvent = {
|
|
@@ -411,7 +411,7 @@ var RAEventKey = {
|
|
|
411
411
|
/**
|
|
412
412
|
* @fileoverview added by tsickle
|
|
413
413
|
* Generated from: lib/ra.gridster.config.ts
|
|
414
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
414
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
415
415
|
*/
|
|
416
416
|
/** @type {?} */
|
|
417
417
|
var GridsterConfigDefaultSettings = {
|
|
@@ -473,7 +473,7 @@ var GridsterConfigDefaultSettings = {
|
|
|
473
473
|
/**
|
|
474
474
|
* @fileoverview added by tsickle
|
|
475
475
|
* Generated from: lib/ra.dashboard.responsive.service.ts
|
|
476
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
476
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
477
477
|
*/
|
|
478
478
|
var RADashboardResponsiveService = /** @class */ (function () {
|
|
479
479
|
function RADashboardResponsiveService() {
|
|
@@ -716,16 +716,17 @@ if (false) {
|
|
|
716
716
|
/**
|
|
717
717
|
* @fileoverview added by tsickle
|
|
718
718
|
* Generated from: lib/ra-dashboard-area/ra.dashboard.area.ts
|
|
719
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
719
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
720
720
|
*/
|
|
721
721
|
var RADashboardArea = /** @class */ (function () {
|
|
722
|
-
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService) {
|
|
722
|
+
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService, permissionService) {
|
|
723
723
|
this.dashboardService = dashboardService;
|
|
724
724
|
this.ngZone = ngZone;
|
|
725
725
|
this.ngxService = ngxService;
|
|
726
726
|
this.translateService = translateService;
|
|
727
727
|
this.notifier = notifier;
|
|
728
728
|
this.responsiveService = responsiveService;
|
|
729
|
+
this.permissionService = permissionService;
|
|
729
730
|
this.widgetList = Array();
|
|
730
731
|
this.gridheight = 300;
|
|
731
732
|
this.gridcellHeight = 0;
|
|
@@ -733,6 +734,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
733
734
|
this.isWidgetLoaded = false;
|
|
734
735
|
this.domResized = false;
|
|
735
736
|
this.showEmptyDashboard = false;
|
|
737
|
+
this.isDashboardMgmnt = false;
|
|
736
738
|
this.widgetHeight = 2;
|
|
737
739
|
this.widgetWidth = 4;
|
|
738
740
|
this.hideDashboardBanner = new EventEmitter();
|
|
@@ -782,6 +784,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
782
784
|
* @return {?}
|
|
783
785
|
*/
|
|
784
786
|
function (changes) {
|
|
787
|
+
this.isDashboardMgmnt = this.permissionService.hasPermission('ra.widgetmanagement');
|
|
785
788
|
if (this.raDashboardEventBus && this.appConfig && !this.isWidgetLoaded) {
|
|
786
789
|
this.isWidgetLoaded = true;
|
|
787
790
|
this.loadWidgets(this.userDashboardId, this.areaKey);
|
|
@@ -1108,6 +1111,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1108
1111
|
if (_this.options.api) {
|
|
1109
1112
|
curRowHeight = _this.options.api.getCurrentRowHeight();
|
|
1110
1113
|
}
|
|
1114
|
+
_this.showEmptyDashboard = _this.userWidgets.length > 0 ? false : true;
|
|
1111
1115
|
_this.widgetList.forEach((/**
|
|
1112
1116
|
* @param {?} t
|
|
1113
1117
|
* @return {?}
|
|
@@ -1407,7 +1411,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1407
1411
|
RADashboardArea.decorators = [
|
|
1408
1412
|
{ type: Component, args: [{
|
|
1409
1413
|
selector: 'ra-dashboard-area',
|
|
1410
|
-
template: "<div #gridWrapper class=\"wrap gridster gridster-mobile\" [ngStyle]=\"{'height': userWidgets.length > 0 ? (gridheight + 'px') : 'unset'}\">\r\n <!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\" *ngIf=\"userWidgets.length > 0\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\"\r\n (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\" [global-filter]=\"globalFilter\"\r\n [grid-cell-height]=\"gridcellHeight\" *ngIf=\"gridcellHeight && gridcellHeight > 0\" [widget-width]=\"item.cols\"\r\n [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\">\r\n </ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n\r\n <div class=\"empty-padding kiosk-hide\" *ngIf=\"showEmptyDashboard\">\r\n <div class=\"empty-wrapper\">\r\n <div></div>\r\n <div class=\"m-1 empty-prefix\">\r\n <i class=\"fal fa-edit edit-icon\"></i>\r\n <span class=\"empty-title\">{{'dashboard.emptydashboard'|translate}}</span>\r\n </div>\r\n <div class=\"empty-content light\">\r\n <div>\r\n <div class=\"col-sm-12 empty-msg\">\r\n {{'dashboard.emptydashboardmessage'|translate}} <br />\r\n {{'dashboard.emptydashboardmessage2'|translate}}\r\n </div>\r\n <button class=\"btn btnLib btn-sm m-1 dashboard-button light\" (click)=\"addNewWidget()\">\r\n <i class=\"fal fa-plus m-1\"></i>{{'dashboard.addawidgets'|translate}}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <notifier-container></notifier-container>\r\n</div>",
|
|
1414
|
+
template: "<div #gridWrapper class=\"wrap gridster gridster-mobile\" [ngStyle]=\"{'height': userWidgets.length > 0 ? (gridheight + 'px') : 'unset'}\">\r\n <!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\" *ngIf=\"userWidgets.length > 0\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\"\r\n (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\" [global-filter]=\"globalFilter\"\r\n [grid-cell-height]=\"gridcellHeight\" *ngIf=\"gridcellHeight && gridcellHeight > 0\" [widget-width]=\"item.cols\"\r\n [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\">\r\n </ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n\r\n <div class=\"empty-padding kiosk-hide\" *ngIf=\"showEmptyDashboard\">\r\n <div class=\"empty-wrapper\">\r\n <div></div>\r\n <div class=\"m-1 empty-prefix\">\r\n <i class=\"fal fa-edit edit-icon\"></i>\r\n <span class=\"empty-title\">{{'dashboard.emptydashboard'|translate}}</span>\r\n </div>\r\n <div class=\"empty-content light\">\r\n <div>\r\n <div class=\"col-sm-12 empty-msg\">\r\n {{'dashboard.emptydashboardmessage'|translate}} <br />\r\n {{'dashboard.emptydashboardmessage2'|translate}}\r\n </div>\r\n <button *ngIf=\"isDashboardMgmnt\" class=\"btn btnLib btn-sm m-1 dashboard-button light\" (click)=\"addNewWidget()\">\r\n <i class=\"fal fa-plus m-1\"></i>{{'dashboard.addawidgets'|translate}}</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <notifier-container></notifier-container>\r\n</div>",
|
|
1411
1415
|
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#ededed;overflow-y:hidden!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;box-shadow:0 1px 10px rgba(0,0,0,.05)}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)}@media screen and (max-width:685px){.gridster-mobile{height:auto!important;margin-bottom:50px!important}}@media screen and (max-width:350px){.gridster-mobile{min-height:330px!important;margin-bottom:0!important}}.empty-padding{padding:40px 20px 20px;background-color:#ededed;display:flex;justify-content:center;align-content:center}.empty-wrapper{display:flex;background-color:#fff;border-radius:8px;min-height:125px;width:72%}.empty-prefix{color:#32ad3c;font-size:18px;display:flex;align-items:center;padding:10px 30px;min-width:-webkit-max-content;min-width:max-content;min-width:-moz-max-content}.empty-content{color:#333;border-left:1px solid #a9afb1;width:100%;display:flex;align-items:center;padding:15px 30px 10px 40px}.empty-msg{padding:0 0 5px;font-size:16px}.dashboard-button{padding:5px 10px 5px 5px!important}.btnLib{background-color:#ededed;color:#333!important}.btn-group-sm>.btn,.btn-sm{padding:5px 20px 5px 5px}.edit-icon{color:#32ad3c;font-size:24px;margin-right:15px}.empty-title{margin-top:10px}@media screen and (max-width:600px){.empty-padding{padding:10px;background-color:#ededed;width:100%;display:block}.empty-wrapper{display:flex;background-color:#fff;border-radius:8px;min-height:125px;width:100%}.empty-prefix{color:#32ad3c;font-size:16px;display:flex;height:40px;padding:6px 10px 8px}.empty-content{color:#333;display:flex;padding:5px 10px 10px;margin-top:44px;margin-left:-185px;border-left:none}.empty-msg{padding:12px 10px 10px 5px;font-size:14px;border-top:1px solid #a9afb1}.edit-icon{color:#32ad3c;font-size:20px;margin-right:6px}.empty-title{margin-top:6px}}"]
|
|
1412
1416
|
}] }
|
|
1413
1417
|
];
|
|
@@ -1418,7 +1422,8 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1418
1422
|
{ type: NgxUiLoaderService },
|
|
1419
1423
|
{ type: RATranslateService },
|
|
1420
1424
|
{ type: NotifierService },
|
|
1421
|
-
{ type: RADashboardResponsiveService }
|
|
1425
|
+
{ type: RADashboardResponsiveService },
|
|
1426
|
+
{ type: RAPermissionService }
|
|
1422
1427
|
]; };
|
|
1423
1428
|
RADashboardArea.propDecorators = {
|
|
1424
1429
|
userDashboardId: [{ type: Input, args: ['user-dashboard-id',] }],
|
|
@@ -1479,6 +1484,8 @@ if (false) {
|
|
|
1479
1484
|
/** @type {?} */
|
|
1480
1485
|
RADashboardArea.prototype.showEmptyDashboard;
|
|
1481
1486
|
/** @type {?} */
|
|
1487
|
+
RADashboardArea.prototype.isDashboardMgmnt;
|
|
1488
|
+
/** @type {?} */
|
|
1482
1489
|
RADashboardArea.prototype.userDashboardId;
|
|
1483
1490
|
/** @type {?} */
|
|
1484
1491
|
RADashboardArea.prototype.areaKey;
|
|
@@ -1526,12 +1533,17 @@ if (false) {
|
|
|
1526
1533
|
* @private
|
|
1527
1534
|
*/
|
|
1528
1535
|
RADashboardArea.prototype.responsiveService;
|
|
1536
|
+
/**
|
|
1537
|
+
* @type {?}
|
|
1538
|
+
* @private
|
|
1539
|
+
*/
|
|
1540
|
+
RADashboardArea.prototype.permissionService;
|
|
1529
1541
|
}
|
|
1530
1542
|
|
|
1531
1543
|
/**
|
|
1532
1544
|
* @fileoverview added by tsickle
|
|
1533
1545
|
* Generated from: lib/ra-widget-container/ra.widget.container.component.ts
|
|
1534
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
1546
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1535
1547
|
*/
|
|
1536
1548
|
var RAWidgetContainer = /** @class */ (function () {
|
|
1537
1549
|
function RAWidgetContainer(dashboardService, ngxService, translateService, ngZone, notifier, renderer, raPermissionService) {
|
|
@@ -1602,6 +1614,15 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1602
1614
|
enumerable: true,
|
|
1603
1615
|
configurable: true
|
|
1604
1616
|
});
|
|
1617
|
+
/**
|
|
1618
|
+
* @return {?}
|
|
1619
|
+
*/
|
|
1620
|
+
RAWidgetContainer.prototype.ngOnInit = /**
|
|
1621
|
+
* @return {?}
|
|
1622
|
+
*/
|
|
1623
|
+
function () {
|
|
1624
|
+
this.WidgetDisplayName = this.translateService.translate('Common.' + this.data.widgetInfo.widgetTitle, true);
|
|
1625
|
+
};
|
|
1605
1626
|
Object.defineProperty(RAWidgetContainer.prototype, "widgetViewState", {
|
|
1606
1627
|
get: /**
|
|
1607
1628
|
* @return {?}
|
|
@@ -1797,7 +1818,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1797
1818
|
widgetContainerContext.widgetDeleted.emit(_this.data.widgetInfo.widgetInstanceId);
|
|
1798
1819
|
}
|
|
1799
1820
|
else {
|
|
1800
|
-
widgetContainerContext.notifier.notify('error', " " + _this.translateService.translate('FailedToRemoveWidget') + " (" + _this.data.widgetInfo.widgetTitle + ")!");
|
|
1821
|
+
widgetContainerContext.notifier.notify('error', " " + _this.translateService.translate('FailedToRemoveWidget') + " (" + _this.translateService.translate('Common.' + _this.data.widgetInfo.widgetTitle, true) + ")!");
|
|
1801
1822
|
}
|
|
1802
1823
|
}));
|
|
1803
1824
|
};
|
|
@@ -2129,6 +2150,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2129
2150
|
return __generator(this, function (_a) {
|
|
2130
2151
|
switch (_a.label) {
|
|
2131
2152
|
case 0:
|
|
2153
|
+
this.WidgetDisplayName = this.translateService.translate('Common.' + this.data.widgetInfo.widgetTitle, true);
|
|
2132
2154
|
widgetInfo.rowHeight = this.gridCellHeight;
|
|
2133
2155
|
this.setNotConfiguredState(widgetInfo);
|
|
2134
2156
|
widgetContainerContext = this;
|
|
@@ -2515,7 +2537,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2515
2537
|
RAWidgetContainer.decorators = [
|
|
2516
2538
|
{ type: Component, args: [{
|
|
2517
2539
|
selector: 'ra-widget-container',
|
|
2518
|
-
template: "<div #wcWrapper class=\"wc-wrapper\" (mouseenter)=\"mouseHover(true)\" (mouseleave)=\"mouseHover(false)\"\r\n [ngStyle]=\"{'margin-left': noPadding?'0px':'15px','margin-right': noPadding?'0px':'15px'}\">\r\n <div class=\"wcheader widget-move\" [ngClass]=\"{'underLine': enableTitleLine || isWidgetStateApplicable}\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;height:inherit;padding-right: 0px;\">\r\n <div style=\"display:flex;margin-top:10px;\"\r\n [ngStyle]=\"{'margin-left': noPadding?'15px':'0px','margin-right': noPadding?'15px':'0px'}\">\r\n <div class=\"col-md-10 float-left title-label\">\r\n <ra-tooltip [value]=\"toolTipValue\" [width]=\"toolTipWidth\">\r\n <div style=\"text-overflow: ellipsis;white-space: nowrap;overflow: hidden;\" (mouseover)=\"mouseOver($event)\"\r\n #searchInput>{{
|
|
2540
|
+
template: "<div #wcWrapper class=\"wc-wrapper\" (mouseenter)=\"mouseHover(true)\" (mouseleave)=\"mouseHover(false)\"\r\n [ngStyle]=\"{'margin-left': noPadding?'0px':'15px','margin-right': noPadding?'0px':'15px'}\">\r\n <div class=\"wcheader widget-move\" [ngClass]=\"{'underLine': enableTitleLine || isWidgetStateApplicable}\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;height:inherit;padding-right: 0px;\">\r\n <div style=\"display:flex;margin-top:10px;\"\r\n [ngStyle]=\"{'margin-left': noPadding?'15px':'0px','margin-right': noPadding?'15px':'0px'}\">\r\n <div class=\"col-md-10 float-left title-label\">\r\n <ra-tooltip [value]=\"toolTipValue\" [width]=\"toolTipWidth\">\r\n <div style=\"text-overflow: ellipsis;white-space: nowrap;overflow: hidden;\" (mouseover)=\"mouseOver($event)\"\r\n #searchInput>{{WidgetDisplayName}}</div>\r\n </ra-tooltip>\r\n </div>\r\n <div class=\"col-md-2\" style=\"cursor:default;padding-right: 0px;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n <div class=\"title-bar-lock-icon lock-dropdown\" [hidden]=\"!lockDetails && !lockTemplateInfo\">\r\n <i class=\"fal fa-lock lock\"></i>\r\n <div class=\"lock-dropdown-content light widget-config-item\">\r\n <div *ngIf=\"lockDetails && !lockTemplateInfo\">\r\n <label style=\"color: #D9F0FA;\">\r\n {{'Common.lockedfields'|translate}}\r\n </label>\r\n <div style=\"color: white;\">\r\n <label class=\"bold\" style=\"margin-bottom: 0px;width: 100%;\" *ngFor=\"let item of lockDetails\">\r\n {{item}}\r\n </label>\r\n </div>\r\n <hr>\r\n <div style=\"color: #D9F0FA;\">\r\n <label>{{'Common.lockedfieldseditinfo'|translate}}</label>\r\n </div>\r\n </div>\r\n <div *ngIf=\"!lockDetails && lockTemplateInfo\">\r\n <ng-container *ngTemplateOutlet=\"lockTemplateInfo\">\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"widget-menu\" style=\"width:10px;\" [ngClass]=\"{'widget-menu-show': isMouseHover}\">\r\n <div class=\"dropbtn title-bar-icon\">\r\n <i (click)=\"showDropDown($event)\" #widgetDropdown class=\"fal fa-ellipsis-v widget-menu-ellipse\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\" [ngStyle]=\"{'bottom': noPadding?'0px':'10px'}\">\r\n <div [hidden]=\"isWidgetStateApplicable\" class=\"m-fadeOut widget-overlay\" [ngClass]=\"{'m-fadeIn': showPanel}\">\r\n <div class=\"lds-roller\">\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n </div>\r\n </div>\r\n <div class=\"wc\" [hidden]=\"isWidgetStateApplicable\">\r\n <div #ctlWidget></div>\r\n </div>\r\n <div *ngIf=\"isWidgetStateApplicable\" class=\"defaultConfig\">\r\n <ra-widget-state style=\"width: 100%;\" [isWidgetStateApplicable]=\"isWidgetStateApplicable\" [isGlobalFilterApplied]=\"isGlobalFilterApplied\"\r\n [widgetEmptyState]=\"widgetEmptyState\" (editWidgetClicked)=editWidget()>\r\n </ra-widget-state>\r\n </div>\r\n <div>\r\n </div>\r\n </div>\r\n</div>"
|
|
2519
2541
|
}] }
|
|
2520
2542
|
];
|
|
2521
2543
|
/** @nocollapse */
|
|
@@ -2670,6 +2692,8 @@ if (false) {
|
|
|
2670
2692
|
RAWidgetContainer.prototype.baseUrl;
|
|
2671
2693
|
/** @type {?} */
|
|
2672
2694
|
RAWidgetContainer.prototype.isWidgetMgmnt;
|
|
2695
|
+
/** @type {?} */
|
|
2696
|
+
RAWidgetContainer.prototype.WidgetDisplayName;
|
|
2673
2697
|
/**
|
|
2674
2698
|
* @type {?}
|
|
2675
2699
|
* @private
|
|
@@ -2710,7 +2734,7 @@ if (false) {
|
|
|
2710
2734
|
/**
|
|
2711
2735
|
* @fileoverview added by tsickle
|
|
2712
2736
|
* Generated from: lib/custom.notifier.options.ts
|
|
2713
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2737
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2714
2738
|
*/
|
|
2715
2739
|
/** @type {?} */
|
|
2716
2740
|
var customNotifierOptions = {
|
|
@@ -2757,7 +2781,7 @@ var customNotifierOptions = {
|
|
|
2757
2781
|
/**
|
|
2758
2782
|
* @fileoverview added by tsickle
|
|
2759
2783
|
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
2760
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2784
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2761
2785
|
*/
|
|
2762
2786
|
/** @enum {string} */
|
|
2763
2787
|
var GridType = {
|
|
@@ -2974,7 +2998,7 @@ if (false) {
|
|
|
2974
2998
|
/**
|
|
2975
2999
|
* @fileoverview added by tsickle
|
|
2976
3000
|
* Generated from: gridster/lib/gridsterConfig.constant.ts
|
|
2977
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3001
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2978
3002
|
*/
|
|
2979
3003
|
/** @type {?} */
|
|
2980
3004
|
var GridsterConfigService = {
|
|
@@ -3153,7 +3177,7 @@ var GridsterConfigService = {
|
|
|
3153
3177
|
/**
|
|
3154
3178
|
* @fileoverview added by tsickle
|
|
3155
3179
|
* Generated from: gridster/lib/gridsterUtils.service.ts
|
|
3156
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3180
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3157
3181
|
*/
|
|
3158
3182
|
var GridsterUtils = /** @class */ (function () {
|
|
3159
3183
|
function GridsterUtils() {
|
|
@@ -3329,7 +3353,7 @@ var GridsterUtils = /** @class */ (function () {
|
|
|
3329
3353
|
/**
|
|
3330
3354
|
* @fileoverview added by tsickle
|
|
3331
3355
|
* Generated from: gridster/lib/gridster.interface.ts
|
|
3332
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3356
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3333
3357
|
*/
|
|
3334
3358
|
/**
|
|
3335
3359
|
* @abstract
|
|
@@ -3420,7 +3444,7 @@ if (false) {
|
|
|
3420
3444
|
/**
|
|
3421
3445
|
* @fileoverview added by tsickle
|
|
3422
3446
|
* Generated from: gridster/lib/gridsterEmptyCell.service.ts
|
|
3423
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3447
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3424
3448
|
*/
|
|
3425
3449
|
var GridsterEmptyCell = /** @class */ (function () {
|
|
3426
3450
|
function GridsterEmptyCell(gridster) {
|
|
@@ -3775,7 +3799,7 @@ if (false) {
|
|
|
3775
3799
|
/**
|
|
3776
3800
|
* @fileoverview added by tsickle
|
|
3777
3801
|
* Generated from: gridster/lib/gridsterCompact.service.ts
|
|
3778
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3802
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3779
3803
|
*/
|
|
3780
3804
|
var GridsterCompact = /** @class */ (function () {
|
|
3781
3805
|
function GridsterCompact(gridster) {
|
|
@@ -4025,7 +4049,7 @@ if (false) {
|
|
|
4025
4049
|
/**
|
|
4026
4050
|
* @fileoverview added by tsickle
|
|
4027
4051
|
* Generated from: gridster/lib/gridsterRenderer.service.ts
|
|
4028
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4052
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4029
4053
|
*/
|
|
4030
4054
|
var GridsterRenderer = /** @class */ (function () {
|
|
4031
4055
|
function GridsterRenderer(gridster) {
|
|
@@ -4344,7 +4368,7 @@ if (false) {
|
|
|
4344
4368
|
/**
|
|
4345
4369
|
* @fileoverview added by tsickle
|
|
4346
4370
|
* Generated from: gridster/lib/gridster.component.ts
|
|
4347
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4371
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4348
4372
|
*/
|
|
4349
4373
|
var GridsterComponent = /** @class */ (function () {
|
|
4350
4374
|
function GridsterComponent(el, renderer, cdRef, zone) {
|
|
@@ -5141,7 +5165,7 @@ if (false) {
|
|
|
5141
5165
|
/**
|
|
5142
5166
|
* @fileoverview added by tsickle
|
|
5143
5167
|
* Generated from: gridster/lib/gridsterItemComponent.interface.ts
|
|
5144
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5168
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5145
5169
|
*/
|
|
5146
5170
|
/**
|
|
5147
5171
|
* @abstract
|
|
@@ -5196,7 +5220,7 @@ if (false) {
|
|
|
5196
5220
|
/**
|
|
5197
5221
|
* @fileoverview added by tsickle
|
|
5198
5222
|
* Generated from: gridster/lib/gridsterSwap.service.ts
|
|
5199
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5223
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5200
5224
|
*/
|
|
5201
5225
|
var GridsterSwap = /** @class */ (function () {
|
|
5202
5226
|
function GridsterSwap(gridsterItem) {
|
|
@@ -5346,7 +5370,7 @@ if (false) {
|
|
|
5346
5370
|
/**
|
|
5347
5371
|
* @fileoverview added by tsickle
|
|
5348
5372
|
* Generated from: gridster/lib/gridsterScroll.service.ts
|
|
5349
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5373
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5350
5374
|
*/
|
|
5351
5375
|
/** @type {?} */
|
|
5352
5376
|
var scrollSensitivity;
|
|
@@ -5542,7 +5566,7 @@ function cancelN() {
|
|
|
5542
5566
|
/**
|
|
5543
5567
|
* @fileoverview added by tsickle
|
|
5544
5568
|
* Generated from: gridster/lib/gridsterPush.service.ts
|
|
5545
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5569
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5546
5570
|
*/
|
|
5547
5571
|
var GridsterPush = /** @class */ (function () {
|
|
5548
5572
|
function GridsterPush(gridsterItem) {
|
|
@@ -6087,7 +6111,7 @@ if (false) {
|
|
|
6087
6111
|
/**
|
|
6088
6112
|
* @fileoverview added by tsickle
|
|
6089
6113
|
* Generated from: gridster/lib/gridsterDraggable.service.ts
|
|
6090
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6114
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6091
6115
|
*/
|
|
6092
6116
|
var GridsterDraggable = /** @class */ (function () {
|
|
6093
6117
|
function GridsterDraggable(gridsterItem, gridster, zone) {
|
|
@@ -6629,7 +6653,7 @@ if (false) {
|
|
|
6629
6653
|
/**
|
|
6630
6654
|
* @fileoverview added by tsickle
|
|
6631
6655
|
* Generated from: gridster/lib/gridsterPushResize.service.ts
|
|
6632
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6656
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6633
6657
|
*/
|
|
6634
6658
|
var GridsterPushResize = /** @class */ (function () {
|
|
6635
6659
|
function GridsterPushResize(gridsterItem) {
|
|
@@ -7049,7 +7073,7 @@ if (false) {
|
|
|
7049
7073
|
/**
|
|
7050
7074
|
* @fileoverview added by tsickle
|
|
7051
7075
|
* Generated from: gridster/lib/gridsterResizable.service.ts
|
|
7052
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7076
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7053
7077
|
*/
|
|
7054
7078
|
var GridsterResizable = /** @class */ (function () {
|
|
7055
7079
|
function GridsterResizable(gridsterItem, gridster, zone) {
|
|
@@ -7671,7 +7695,7 @@ if (false) {
|
|
|
7671
7695
|
/**
|
|
7672
7696
|
* @fileoverview added by tsickle
|
|
7673
7697
|
* Generated from: gridster/lib/gridsterItem.component.ts
|
|
7674
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7698
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7675
7699
|
*/
|
|
7676
7700
|
var GridsterItemComponent = /** @class */ (function () {
|
|
7677
7701
|
function GridsterItemComponent(el, gridster, renderer, zone) {
|
|
@@ -7904,7 +7928,7 @@ if (false) {
|
|
|
7904
7928
|
/**
|
|
7905
7929
|
* @fileoverview added by tsickle
|
|
7906
7930
|
* Generated from: gridster/lib/gridsterPreview.component.ts
|
|
7907
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7931
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7908
7932
|
*/
|
|
7909
7933
|
var GridsterPreviewComponent = /** @class */ (function () {
|
|
7910
7934
|
function GridsterPreviewComponent(el, gridster, renderer) {
|
|
@@ -7972,7 +7996,7 @@ if (false) {
|
|
|
7972
7996
|
/**
|
|
7973
7997
|
* @fileoverview added by tsickle
|
|
7974
7998
|
* Generated from: gridster/lib/gridster.module.ts
|
|
7975
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7999
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7976
8000
|
*/
|
|
7977
8001
|
var GridsterModule = /** @class */ (function () {
|
|
7978
8002
|
function GridsterModule() {
|
|
@@ -7998,7 +8022,7 @@ var GridsterModule = /** @class */ (function () {
|
|
|
7998
8022
|
/**
|
|
7999
8023
|
* @fileoverview added by tsickle
|
|
8000
8024
|
* Generated from: lib/ra.dashboard.module.ts
|
|
8001
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
8025
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8002
8026
|
*/
|
|
8003
8027
|
var DashboardFrameworkModule = /** @class */ (function () {
|
|
8004
8028
|
function DashboardFrameworkModule() {
|
|
@@ -8031,7 +8055,7 @@ var DashboardFrameworkModule = /** @class */ (function () {
|
|
|
8031
8055
|
/**
|
|
8032
8056
|
* @fileoverview added by tsickle
|
|
8033
8057
|
* Generated from: lib/ra.base.dashboard.template.ts
|
|
8034
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
8058
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8035
8059
|
*/
|
|
8036
8060
|
/**
|
|
8037
8061
|
* @abstract
|
|
@@ -8104,7 +8128,7 @@ if (false) {
|
|
|
8104
8128
|
/**
|
|
8105
8129
|
* @fileoverview added by tsickle
|
|
8106
8130
|
* Generated from: lib/ra.base.dashboard.filter.ts
|
|
8107
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
8131
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8108
8132
|
*/
|
|
8109
8133
|
/**
|
|
8110
8134
|
* @abstract
|
|
@@ -8198,13 +8222,13 @@ if (false) {
|
|
|
8198
8222
|
/**
|
|
8199
8223
|
* @fileoverview added by tsickle
|
|
8200
8224
|
* Generated from: public-api.ts
|
|
8201
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
8225
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8202
8226
|
*/
|
|
8203
8227
|
|
|
8204
8228
|
/**
|
|
8205
8229
|
* @fileoverview added by tsickle
|
|
8206
8230
|
* Generated from: schneideress-dashboardframework.ts
|
|
8207
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
8231
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8208
8232
|
*/
|
|
8209
8233
|
|
|
8210
8234
|
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 };
|