@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
|
class RaDashboardService extends BaseService {
|
|
21
21
|
/**
|
|
@@ -156,7 +156,7 @@ if (false) {
|
|
|
156
156
|
/**
|
|
157
157
|
* @fileoverview added by tsickle
|
|
158
158
|
* Generated from: lib/ra.dashbard.event.bus.ts
|
|
159
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
159
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
160
160
|
*/
|
|
161
161
|
class RADashboardEventBus {
|
|
162
162
|
constructor() {
|
|
@@ -238,7 +238,7 @@ if (false) {
|
|
|
238
238
|
/**
|
|
239
239
|
* @fileoverview added by tsickle
|
|
240
240
|
* Generated from: lib/ra.event.enum.ts
|
|
241
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
241
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
242
242
|
*/
|
|
243
243
|
/** @enum {string} */
|
|
244
244
|
const RAEvent = {
|
|
@@ -297,7 +297,7 @@ const RAEventKey = {
|
|
|
297
297
|
/**
|
|
298
298
|
* @fileoverview added by tsickle
|
|
299
299
|
* Generated from: lib/ra.gridster.config.ts
|
|
300
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
300
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
301
301
|
*/
|
|
302
302
|
/** @type {?} */
|
|
303
303
|
const GridsterConfigDefaultSettings = {
|
|
@@ -359,7 +359,7 @@ const GridsterConfigDefaultSettings = {
|
|
|
359
359
|
/**
|
|
360
360
|
* @fileoverview added by tsickle
|
|
361
361
|
* Generated from: lib/ra.dashboard.responsive.service.ts
|
|
362
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
362
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
363
363
|
*/
|
|
364
364
|
class RADashboardResponsiveService {
|
|
365
365
|
constructor() {
|
|
@@ -557,7 +557,7 @@ if (false) {
|
|
|
557
557
|
/**
|
|
558
558
|
* @fileoverview added by tsickle
|
|
559
559
|
* Generated from: lib/ra-dashboard-area/ra.dashboard.area.ts
|
|
560
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
560
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
561
561
|
*/
|
|
562
562
|
class RADashboardArea {
|
|
563
563
|
/**
|
|
@@ -567,14 +567,16 @@ class RADashboardArea {
|
|
|
567
567
|
* @param {?} translateService
|
|
568
568
|
* @param {?} notifier
|
|
569
569
|
* @param {?} responsiveService
|
|
570
|
+
* @param {?} permissionService
|
|
570
571
|
*/
|
|
571
|
-
constructor(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService) {
|
|
572
|
+
constructor(dashboardService, ngZone, ngxService, translateService, notifier, responsiveService, permissionService) {
|
|
572
573
|
this.dashboardService = dashboardService;
|
|
573
574
|
this.ngZone = ngZone;
|
|
574
575
|
this.ngxService = ngxService;
|
|
575
576
|
this.translateService = translateService;
|
|
576
577
|
this.notifier = notifier;
|
|
577
578
|
this.responsiveService = responsiveService;
|
|
579
|
+
this.permissionService = permissionService;
|
|
578
580
|
this.widgetList = Array();
|
|
579
581
|
this.gridheight = 300;
|
|
580
582
|
this.gridcellHeight = 0;
|
|
@@ -582,6 +584,7 @@ class RADashboardArea {
|
|
|
582
584
|
this.isWidgetLoaded = false;
|
|
583
585
|
this.domResized = false;
|
|
584
586
|
this.showEmptyDashboard = false;
|
|
587
|
+
this.isDashboardMgmnt = false;
|
|
585
588
|
this.widgetHeight = 2;
|
|
586
589
|
this.widgetWidth = 4;
|
|
587
590
|
this.hideDashboardBanner = new EventEmitter();
|
|
@@ -623,6 +626,7 @@ class RADashboardArea {
|
|
|
623
626
|
* @return {?}
|
|
624
627
|
*/
|
|
625
628
|
ngOnChanges(changes) {
|
|
629
|
+
this.isDashboardMgmnt = this.permissionService.hasPermission('ra.widgetmanagement');
|
|
626
630
|
if (this.raDashboardEventBus && this.appConfig && !this.isWidgetLoaded) {
|
|
627
631
|
this.isWidgetLoaded = true;
|
|
628
632
|
this.loadWidgets(this.userDashboardId, this.areaKey);
|
|
@@ -890,6 +894,7 @@ class RADashboardArea {
|
|
|
890
894
|
if (this.options.api) {
|
|
891
895
|
curRowHeight = this.options.api.getCurrentRowHeight();
|
|
892
896
|
}
|
|
897
|
+
this.showEmptyDashboard = this.userWidgets.length > 0 ? false : true;
|
|
893
898
|
this.widgetList.forEach((/**
|
|
894
899
|
* @param {?} t
|
|
895
900
|
* @return {?}
|
|
@@ -1138,7 +1143,7 @@ class RADashboardArea {
|
|
|
1138
1143
|
RADashboardArea.decorators = [
|
|
1139
1144
|
{ type: Component, args: [{
|
|
1140
1145
|
selector: 'ra-dashboard-area',
|
|
1141
|
-
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>",
|
|
1146
|
+
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>",
|
|
1142
1147
|
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}}"]
|
|
1143
1148
|
}] }
|
|
1144
1149
|
];
|
|
@@ -1149,7 +1154,8 @@ RADashboardArea.ctorParameters = () => [
|
|
|
1149
1154
|
{ type: NgxUiLoaderService },
|
|
1150
1155
|
{ type: RATranslateService },
|
|
1151
1156
|
{ type: NotifierService },
|
|
1152
|
-
{ type: RADashboardResponsiveService }
|
|
1157
|
+
{ type: RADashboardResponsiveService },
|
|
1158
|
+
{ type: RAPermissionService }
|
|
1153
1159
|
];
|
|
1154
1160
|
RADashboardArea.propDecorators = {
|
|
1155
1161
|
userDashboardId: [{ type: Input, args: ['user-dashboard-id',] }],
|
|
@@ -1208,6 +1214,8 @@ if (false) {
|
|
|
1208
1214
|
/** @type {?} */
|
|
1209
1215
|
RADashboardArea.prototype.showEmptyDashboard;
|
|
1210
1216
|
/** @type {?} */
|
|
1217
|
+
RADashboardArea.prototype.isDashboardMgmnt;
|
|
1218
|
+
/** @type {?} */
|
|
1211
1219
|
RADashboardArea.prototype.userDashboardId;
|
|
1212
1220
|
/** @type {?} */
|
|
1213
1221
|
RADashboardArea.prototype.areaKey;
|
|
@@ -1255,12 +1263,17 @@ if (false) {
|
|
|
1255
1263
|
* @private
|
|
1256
1264
|
*/
|
|
1257
1265
|
RADashboardArea.prototype.responsiveService;
|
|
1266
|
+
/**
|
|
1267
|
+
* @type {?}
|
|
1268
|
+
* @private
|
|
1269
|
+
*/
|
|
1270
|
+
RADashboardArea.prototype.permissionService;
|
|
1258
1271
|
}
|
|
1259
1272
|
|
|
1260
1273
|
/**
|
|
1261
1274
|
* @fileoverview added by tsickle
|
|
1262
1275
|
* Generated from: lib/ra-widget-container/ra.widget.container.component.ts
|
|
1263
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
1276
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1264
1277
|
*/
|
|
1265
1278
|
class RAWidgetContainer {
|
|
1266
1279
|
/**
|
|
@@ -1335,6 +1348,12 @@ class RAWidgetContainer {
|
|
|
1335
1348
|
set setResized(resized) {
|
|
1336
1349
|
this.invokeWidgetResizedEvent();
|
|
1337
1350
|
}
|
|
1351
|
+
/**
|
|
1352
|
+
* @return {?}
|
|
1353
|
+
*/
|
|
1354
|
+
ngOnInit() {
|
|
1355
|
+
this.WidgetDisplayName = this.translateService.translate('Common.' + this.data.widgetInfo.widgetTitle, true);
|
|
1356
|
+
}
|
|
1338
1357
|
/**
|
|
1339
1358
|
* @return {?}
|
|
1340
1359
|
*/
|
|
@@ -1495,7 +1514,7 @@ class RAWidgetContainer {
|
|
|
1495
1514
|
widgetContainerContext.widgetDeleted.emit(this.data.widgetInfo.widgetInstanceId);
|
|
1496
1515
|
}
|
|
1497
1516
|
else {
|
|
1498
|
-
widgetContainerContext.notifier.notify('error', " " + this.translateService.translate('FailedToRemoveWidget') + " (" + this.data.widgetInfo.widgetTitle + ")!");
|
|
1517
|
+
widgetContainerContext.notifier.notify('error', " " + this.translateService.translate('FailedToRemoveWidget') + " (" + this.translateService.translate('Common.' + this.data.widgetInfo.widgetTitle, true) + ")!");
|
|
1499
1518
|
}
|
|
1500
1519
|
}));
|
|
1501
1520
|
}
|
|
@@ -1747,6 +1766,7 @@ class RAWidgetContainer {
|
|
|
1747
1766
|
*/
|
|
1748
1767
|
refreshWidget(widgetInfo, configChanged = false) {
|
|
1749
1768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1769
|
+
this.WidgetDisplayName = this.translateService.translate('Common.' + this.data.widgetInfo.widgetTitle, true);
|
|
1750
1770
|
widgetInfo.rowHeight = this.gridCellHeight;
|
|
1751
1771
|
this.setNotConfiguredState(widgetInfo);
|
|
1752
1772
|
/** @type {?} */
|
|
@@ -2059,7 +2079,7 @@ class RAWidgetContainer {
|
|
|
2059
2079
|
RAWidgetContainer.decorators = [
|
|
2060
2080
|
{ type: Component, args: [{
|
|
2061
2081
|
selector: 'ra-widget-container',
|
|
2062
|
-
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>{{
|
|
2082
|
+
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>"
|
|
2063
2083
|
}] }
|
|
2064
2084
|
];
|
|
2065
2085
|
/** @nocollapse */
|
|
@@ -2212,6 +2232,8 @@ if (false) {
|
|
|
2212
2232
|
RAWidgetContainer.prototype.baseUrl;
|
|
2213
2233
|
/** @type {?} */
|
|
2214
2234
|
RAWidgetContainer.prototype.isWidgetMgmnt;
|
|
2235
|
+
/** @type {?} */
|
|
2236
|
+
RAWidgetContainer.prototype.WidgetDisplayName;
|
|
2215
2237
|
/**
|
|
2216
2238
|
* @type {?}
|
|
2217
2239
|
* @private
|
|
@@ -2252,7 +2274,7 @@ if (false) {
|
|
|
2252
2274
|
/**
|
|
2253
2275
|
* @fileoverview added by tsickle
|
|
2254
2276
|
* Generated from: lib/custom.notifier.options.ts
|
|
2255
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2277
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2256
2278
|
*/
|
|
2257
2279
|
/** @type {?} */
|
|
2258
2280
|
const customNotifierOptions = {
|
|
@@ -2299,7 +2321,7 @@ const customNotifierOptions = {
|
|
|
2299
2321
|
/**
|
|
2300
2322
|
* @fileoverview added by tsickle
|
|
2301
2323
|
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
2302
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2324
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2303
2325
|
*/
|
|
2304
2326
|
/** @enum {string} */
|
|
2305
2327
|
const GridType = {
|
|
@@ -2516,7 +2538,7 @@ if (false) {
|
|
|
2516
2538
|
/**
|
|
2517
2539
|
* @fileoverview added by tsickle
|
|
2518
2540
|
* Generated from: gridster/lib/gridsterConfig.constant.ts
|
|
2519
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2541
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2520
2542
|
*/
|
|
2521
2543
|
/** @type {?} */
|
|
2522
2544
|
const GridsterConfigService = {
|
|
@@ -2695,7 +2717,7 @@ const GridsterConfigService = {
|
|
|
2695
2717
|
/**
|
|
2696
2718
|
* @fileoverview added by tsickle
|
|
2697
2719
|
* Generated from: gridster/lib/gridsterUtils.service.ts
|
|
2698
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2720
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2699
2721
|
*/
|
|
2700
2722
|
class GridsterUtils {
|
|
2701
2723
|
/**
|
|
@@ -2832,7 +2854,7 @@ GridsterUtils.decorators = [
|
|
|
2832
2854
|
/**
|
|
2833
2855
|
* @fileoverview added by tsickle
|
|
2834
2856
|
* Generated from: gridster/lib/gridster.interface.ts
|
|
2835
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2857
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2836
2858
|
*/
|
|
2837
2859
|
/**
|
|
2838
2860
|
* @abstract
|
|
@@ -2917,7 +2939,7 @@ if (false) {
|
|
|
2917
2939
|
/**
|
|
2918
2940
|
* @fileoverview added by tsickle
|
|
2919
2941
|
* Generated from: gridster/lib/gridsterEmptyCell.service.ts
|
|
2920
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
2942
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2921
2943
|
*/
|
|
2922
2944
|
class GridsterEmptyCell {
|
|
2923
2945
|
/**
|
|
@@ -3232,7 +3254,7 @@ if (false) {
|
|
|
3232
3254
|
/**
|
|
3233
3255
|
* @fileoverview added by tsickle
|
|
3234
3256
|
* Generated from: gridster/lib/gridsterCompact.service.ts
|
|
3235
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3257
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3236
3258
|
*/
|
|
3237
3259
|
class GridsterCompact {
|
|
3238
3260
|
/**
|
|
@@ -3453,7 +3475,7 @@ if (false) {
|
|
|
3453
3475
|
/**
|
|
3454
3476
|
* @fileoverview added by tsickle
|
|
3455
3477
|
* Generated from: gridster/lib/gridsterRenderer.service.ts
|
|
3456
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3478
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3457
3479
|
*/
|
|
3458
3480
|
class GridsterRenderer {
|
|
3459
3481
|
/**
|
|
@@ -3728,7 +3750,7 @@ if (false) {
|
|
|
3728
3750
|
/**
|
|
3729
3751
|
* @fileoverview added by tsickle
|
|
3730
3752
|
* Generated from: gridster/lib/gridster.component.ts
|
|
3731
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
3753
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3732
3754
|
*/
|
|
3733
3755
|
class GridsterComponent {
|
|
3734
3756
|
/**
|
|
@@ -4423,7 +4445,7 @@ if (false) {
|
|
|
4423
4445
|
/**
|
|
4424
4446
|
* @fileoverview added by tsickle
|
|
4425
4447
|
* Generated from: gridster/lib/gridsterItemComponent.interface.ts
|
|
4426
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4448
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4427
4449
|
*/
|
|
4428
4450
|
/**
|
|
4429
4451
|
* @abstract
|
|
@@ -4472,7 +4494,7 @@ if (false) {
|
|
|
4472
4494
|
/**
|
|
4473
4495
|
* @fileoverview added by tsickle
|
|
4474
4496
|
* Generated from: gridster/lib/gridsterSwap.service.ts
|
|
4475
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4497
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4476
4498
|
*/
|
|
4477
4499
|
class GridsterSwap {
|
|
4478
4500
|
/**
|
|
@@ -4605,7 +4627,7 @@ if (false) {
|
|
|
4605
4627
|
/**
|
|
4606
4628
|
* @fileoverview added by tsickle
|
|
4607
4629
|
* Generated from: gridster/lib/gridsterScroll.service.ts
|
|
4608
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4630
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4609
4631
|
*/
|
|
4610
4632
|
/** @type {?} */
|
|
4611
4633
|
let scrollSensitivity;
|
|
@@ -4801,7 +4823,7 @@ function cancelN() {
|
|
|
4801
4823
|
/**
|
|
4802
4824
|
* @fileoverview added by tsickle
|
|
4803
4825
|
* Generated from: gridster/lib/gridsterPush.service.ts
|
|
4804
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
4826
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4805
4827
|
*/
|
|
4806
4828
|
class GridsterPush {
|
|
4807
4829
|
/**
|
|
@@ -5267,7 +5289,7 @@ if (false) {
|
|
|
5267
5289
|
/**
|
|
5268
5290
|
* @fileoverview added by tsickle
|
|
5269
5291
|
* Generated from: gridster/lib/gridsterDraggable.service.ts
|
|
5270
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5292
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5271
5293
|
*/
|
|
5272
5294
|
class GridsterDraggable {
|
|
5273
5295
|
/**
|
|
@@ -5771,7 +5793,7 @@ if (false) {
|
|
|
5771
5793
|
/**
|
|
5772
5794
|
* @fileoverview added by tsickle
|
|
5773
5795
|
* Generated from: gridster/lib/gridsterPushResize.service.ts
|
|
5774
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
5796
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5775
5797
|
*/
|
|
5776
5798
|
class GridsterPushResize {
|
|
5777
5799
|
/**
|
|
@@ -6127,7 +6149,7 @@ if (false) {
|
|
|
6127
6149
|
/**
|
|
6128
6150
|
* @fileoverview added by tsickle
|
|
6129
6151
|
* Generated from: gridster/lib/gridsterResizable.service.ts
|
|
6130
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6152
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6131
6153
|
*/
|
|
6132
6154
|
class GridsterResizable {
|
|
6133
6155
|
/**
|
|
@@ -6673,7 +6695,7 @@ if (false) {
|
|
|
6673
6695
|
/**
|
|
6674
6696
|
* @fileoverview added by tsickle
|
|
6675
6697
|
* Generated from: gridster/lib/gridsterItem.component.ts
|
|
6676
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6698
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6677
6699
|
*/
|
|
6678
6700
|
class GridsterItemComponent {
|
|
6679
6701
|
/**
|
|
@@ -6882,7 +6904,7 @@ if (false) {
|
|
|
6882
6904
|
/**
|
|
6883
6905
|
* @fileoverview added by tsickle
|
|
6884
6906
|
* Generated from: gridster/lib/gridsterPreview.component.ts
|
|
6885
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6907
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6886
6908
|
*/
|
|
6887
6909
|
class GridsterPreviewComponent {
|
|
6888
6910
|
/**
|
|
@@ -6947,7 +6969,7 @@ if (false) {
|
|
|
6947
6969
|
/**
|
|
6948
6970
|
* @fileoverview added by tsickle
|
|
6949
6971
|
* Generated from: gridster/lib/gridster.module.ts
|
|
6950
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6972
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6951
6973
|
*/
|
|
6952
6974
|
class GridsterModule {
|
|
6953
6975
|
}
|
|
@@ -6970,7 +6992,7 @@ GridsterModule.decorators = [
|
|
|
6970
6992
|
/**
|
|
6971
6993
|
* @fileoverview added by tsickle
|
|
6972
6994
|
* Generated from: lib/ra.dashboard.module.ts
|
|
6973
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
6995
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6974
6996
|
*/
|
|
6975
6997
|
class DashboardFrameworkModule {
|
|
6976
6998
|
}
|
|
@@ -7000,7 +7022,7 @@ DashboardFrameworkModule.decorators = [
|
|
|
7000
7022
|
/**
|
|
7001
7023
|
* @fileoverview added by tsickle
|
|
7002
7024
|
* Generated from: lib/ra.base.dashboard.template.ts
|
|
7003
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7025
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7004
7026
|
*/
|
|
7005
7027
|
/**
|
|
7006
7028
|
* @abstract
|
|
@@ -7071,7 +7093,7 @@ if (false) {
|
|
|
7071
7093
|
/**
|
|
7072
7094
|
* @fileoverview added by tsickle
|
|
7073
7095
|
* Generated from: lib/ra.base.dashboard.filter.ts
|
|
7074
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7096
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7075
7097
|
*/
|
|
7076
7098
|
/**
|
|
7077
7099
|
* @abstract
|
|
@@ -7160,13 +7182,13 @@ if (false) {
|
|
|
7160
7182
|
/**
|
|
7161
7183
|
* @fileoverview added by tsickle
|
|
7162
7184
|
* Generated from: public-api.ts
|
|
7163
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7185
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7164
7186
|
*/
|
|
7165
7187
|
|
|
7166
7188
|
/**
|
|
7167
7189
|
* @fileoverview added by tsickle
|
|
7168
7190
|
* Generated from: schneideress-dashboardframework.ts
|
|
7169
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,
|
|
7191
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7170
7192
|
*/
|
|
7171
7193
|
|
|
7172
7194
|
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 };
|