@schneideress/dashboardframework 0.0.10 → 0.0.12
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 +161 -48
- 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/custom.notifier.options.js +46 -0
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +95 -23
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +18 -7
- package/esm2015/lib/ra.dashboard.module.js +5 -2
- package/esm2015/lib/ra.dashboard.service.js +1 -8
- package/esm2015/lib/ra.event.enum.js +5 -1
- package/esm2015/schneideress-dashboardframework.js +2 -1
- package/esm5/lib/custom.notifier.options.js +46 -0
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +111 -25
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +17 -7
- package/esm5/lib/ra.dashboard.module.js +5 -2
- package/esm5/lib/ra.dashboard.service.js +1 -14
- package/esm5/lib/ra.event.enum.js +5 -1
- package/esm5/schneideress-dashboardframework.js +2 -1
- package/fesm2015/schneideress-dashboardframework.js +143 -37
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +158 -45
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/custom.notifier.options.d.ts +2 -0
- package/lib/ra-dashboard-area/ra.dashboard.area.d.ts +12 -3
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +3 -1
- package/lib/ra.dashboard.service.d.ts +0 -2
- package/lib/ra.event.enum.d.ts +5 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.d.ts +1 -0
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@schneideress/ess-util'), require('rxjs/operators'), require('ngx-ui-loader'), require('@angular/platform-browser'), require('@angular/common/http'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@schneideress/dashboardframework', ['exports', '@angular/core', 'rxjs', '@schneideress/ess-util', 'rxjs/operators', 'ngx-ui-loader', '@angular/platform-browser', '@angular/common/http', '@angular/common'], factory) :
|
|
4
|
-
(global = global || self, factory((global.schneideress = global.schneideress || {}, global.schneideress.dashboardframework = {}), global.ng.core, global.rxjs, global.essUtil, global.rxjs.operators, global.ngxUiLoader, global.ng.platformBrowser, global.ng.common.http, global.ng.common));
|
|
5
|
-
}(this, function (exports, core, rxjs, essUtil, operators, ngxUiLoader, platformBrowser, http, common) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@schneideress/ess-util'), require('rxjs/operators'), require('ngx-ui-loader'), require('angular-notifier'), require('@angular/platform-browser'), require('@angular/common/http'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@schneideress/dashboardframework', ['exports', '@angular/core', 'rxjs', '@schneideress/ess-util', 'rxjs/operators', 'ngx-ui-loader', 'angular-notifier', '@angular/platform-browser', '@angular/common/http', '@angular/common'], factory) :
|
|
4
|
+
(global = global || self, factory((global.schneideress = global.schneideress || {}, global.schneideress.dashboardframework = {}), global.ng.core, global.rxjs, global.essUtil, global.rxjs.operators, global.ngxUiLoader, global.angularNotifier, global.ng.platformBrowser, global.ng.common.http, global.ng.common));
|
|
5
|
+
}(this, function (exports, core, rxjs, essUtil, operators, ngxUiLoader, angularNotifier, platformBrowser, http, common) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -239,19 +239,6 @@
|
|
|
239
239
|
*/
|
|
240
240
|
function (widgetInfo) {
|
|
241
241
|
};
|
|
242
|
-
/** To Collapse current widget*/
|
|
243
|
-
/**
|
|
244
|
-
* To Collapse current widget
|
|
245
|
-
* @param {?} widgetInfo
|
|
246
|
-
* @return {?}
|
|
247
|
-
*/
|
|
248
|
-
RaDashboardService.prototype.collapse = /**
|
|
249
|
-
* To Collapse current widget
|
|
250
|
-
* @param {?} widgetInfo
|
|
251
|
-
* @return {?}
|
|
252
|
-
*/
|
|
253
|
-
function (widgetInfo) {
|
|
254
|
-
};
|
|
255
242
|
RaDashboardService.decorators = [
|
|
256
243
|
{ type: core.Injectable, args: [{
|
|
257
244
|
providedIn: 'root'
|
|
@@ -408,6 +395,10 @@
|
|
|
408
395
|
CopyWidget: "CopyWidget",
|
|
409
396
|
/**triggers when user clicks on Move widget */
|
|
410
397
|
MoveWidget: "MoveWidget",
|
|
398
|
+
/**triggers when user raise delete widget event */
|
|
399
|
+
WidgetDelete: "WidgetDelete",
|
|
400
|
+
/** used to add widget to widgetlist when user copies a widget to current dashboard */
|
|
401
|
+
AddWidget: "AddWidget",
|
|
411
402
|
};
|
|
412
403
|
/** @enum {string} */
|
|
413
404
|
var RAEventKey = {
|
|
@@ -513,10 +504,11 @@
|
|
|
513
504
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
514
505
|
*/
|
|
515
506
|
var RADashboardArea = /** @class */ (function () {
|
|
516
|
-
function RADashboardArea(dashboardService, ngZone, ngxService) {
|
|
507
|
+
function RADashboardArea(dashboardService, ngZone, ngxService, notifier) {
|
|
517
508
|
this.dashboardService = dashboardService;
|
|
518
509
|
this.ngZone = ngZone;
|
|
519
510
|
this.ngxService = ngxService;
|
|
511
|
+
this.notifier = notifier;
|
|
520
512
|
this.widgetList = Array();
|
|
521
513
|
this.gridheight = 300;
|
|
522
514
|
this.widgetHeight = 20;
|
|
@@ -531,6 +523,21 @@
|
|
|
531
523
|
function () {
|
|
532
524
|
this.initiateGridsterConfig();
|
|
533
525
|
};
|
|
526
|
+
/**
|
|
527
|
+
* @param {?} changes
|
|
528
|
+
* @return {?}
|
|
529
|
+
*/
|
|
530
|
+
RADashboardArea.prototype.ngOnChanges = /**
|
|
531
|
+
* @param {?} changes
|
|
532
|
+
* @return {?}
|
|
533
|
+
*/
|
|
534
|
+
function (changes) {
|
|
535
|
+
if (this.raDashboardEventBus && this.userDashboardId && this.areaKey) {
|
|
536
|
+
this.initiateGridsterConfig();
|
|
537
|
+
this.loadWidgets(this.userDashboardId, this.areaKey);
|
|
538
|
+
this.inititateEventBusSubscritions();
|
|
539
|
+
}
|
|
540
|
+
};
|
|
534
541
|
/**To set GridsterConfig */
|
|
535
542
|
/**
|
|
536
543
|
* To set GridsterConfig
|
|
@@ -554,34 +561,53 @@
|
|
|
554
561
|
areaContext.updateWidgets();
|
|
555
562
|
});
|
|
556
563
|
};
|
|
564
|
+
/** To initiate eventbus subsctiptions */
|
|
557
565
|
/**
|
|
558
|
-
*
|
|
566
|
+
* To initiate eventbus subsctiptions
|
|
559
567
|
* @return {?}
|
|
560
568
|
*/
|
|
561
|
-
RADashboardArea.prototype.
|
|
562
|
-
*
|
|
569
|
+
RADashboardArea.prototype.inititateEventBusSubscritions = /**
|
|
570
|
+
* To initiate eventbus subsctiptions
|
|
563
571
|
* @return {?}
|
|
564
572
|
*/
|
|
565
|
-
function (
|
|
573
|
+
function () {
|
|
566
574
|
var _this = this;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
575
|
+
this.widgetDeleteEvent = this.raDashboardEventBus.subscribe(RAEvent.WidgetDelete).subscribe((/**
|
|
576
|
+
* @param {?} instanceId
|
|
577
|
+
* @return {?}
|
|
578
|
+
*/
|
|
579
|
+
function (instanceId) {
|
|
580
|
+
_this.ngZone.run((/**
|
|
570
581
|
* @return {?}
|
|
571
582
|
*/
|
|
572
|
-
function (
|
|
573
|
-
_this.
|
|
574
|
-
* @return {?}
|
|
575
|
-
*/
|
|
576
|
-
function () {
|
|
577
|
-
_this.addWidget(e);
|
|
578
|
-
}));
|
|
583
|
+
function () {
|
|
584
|
+
_this.deleteWidget(instanceId, true);
|
|
579
585
|
}));
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
586
|
+
}));
|
|
587
|
+
this.widgetAddEvent = this.raDashboardEventBus.subscribe(RAEvent.AddWidget).subscribe((/**
|
|
588
|
+
* @param {?} widgetInfo
|
|
589
|
+
* @return {?}
|
|
590
|
+
*/
|
|
591
|
+
function (widgetInfo) {
|
|
592
|
+
_this.ngZone.run((/**
|
|
593
|
+
* @return {?}
|
|
594
|
+
*/
|
|
595
|
+
function () {
|
|
596
|
+
_this.copyWidget(widgetInfo);
|
|
597
|
+
}));
|
|
598
|
+
}));
|
|
599
|
+
this.conifgAddClick = this.raDashboardEventBus.subscribe(RAEvent.ConfigAddClick).subscribe((/**
|
|
600
|
+
* @param {?} e
|
|
601
|
+
* @return {?}
|
|
602
|
+
*/
|
|
603
|
+
function (e) {
|
|
604
|
+
_this.ngZone.run((/**
|
|
605
|
+
* @return {?}
|
|
606
|
+
*/
|
|
607
|
+
function () {
|
|
608
|
+
_this.addWidget(e);
|
|
609
|
+
}));
|
|
610
|
+
}));
|
|
585
611
|
};
|
|
586
612
|
/**
|
|
587
613
|
* @return {?}
|
|
@@ -591,11 +617,16 @@
|
|
|
591
617
|
*/
|
|
592
618
|
function () {
|
|
593
619
|
this.conifgAddClick.unsubscribe();
|
|
620
|
+
this.widgetAddEvent.unsubscribe();
|
|
621
|
+
this.widgetDeleteEvent.unsubscribe();
|
|
594
622
|
};
|
|
623
|
+
/**To update position/dimention of all widgets in the area */
|
|
595
624
|
/**
|
|
625
|
+
* To update position/dimention of all widgets in the area
|
|
596
626
|
* @return {?}
|
|
597
627
|
*/
|
|
598
628
|
RADashboardArea.prototype.updateWidgets = /**
|
|
629
|
+
* To update position/dimention of all widgets in the area
|
|
599
630
|
* @return {?}
|
|
600
631
|
*/
|
|
601
632
|
function () {
|
|
@@ -682,14 +713,17 @@
|
|
|
682
713
|
/**
|
|
683
714
|
* To remove a widget instance from dashboard and to save info in database
|
|
684
715
|
* @param {?} widgetInstanceId
|
|
716
|
+
* @param {?=} isalertDisabled
|
|
685
717
|
* @return {?}
|
|
686
718
|
*/
|
|
687
719
|
RADashboardArea.prototype.deleteWidget = /**
|
|
688
720
|
* To remove a widget instance from dashboard and to save info in database
|
|
689
721
|
* @param {?} widgetInstanceId
|
|
722
|
+
* @param {?=} isalertDisabled
|
|
690
723
|
* @return {?}
|
|
691
724
|
*/
|
|
692
|
-
function (widgetInstanceId) {
|
|
725
|
+
function (widgetInstanceId, isalertDisabled) {
|
|
726
|
+
if (isalertDisabled === void 0) { isalertDisabled = false; }
|
|
693
727
|
/** @type {?} */
|
|
694
728
|
var widget = this.widgetList.filter((/**
|
|
695
729
|
* @param {?} item
|
|
@@ -701,6 +735,9 @@
|
|
|
701
735
|
if (widget.length > 0) {
|
|
702
736
|
this.widgetList.splice(this.widgetList.indexOf(widget[0]), 1);
|
|
703
737
|
this.setAreaHeight();
|
|
738
|
+
if (!isalertDisabled) {
|
|
739
|
+
this.notifier.notify('success', "Widget (" + widget[0].widgetInfo.widgetTitle + ") deleted successfully!");
|
|
740
|
+
}
|
|
704
741
|
}
|
|
705
742
|
};
|
|
706
743
|
/**To add widget instance to the database with the next available position and to make changes in
|
|
@@ -744,9 +781,32 @@
|
|
|
744
781
|
gridsterItem = _this.mapObjectsToGridsterItem(widget);
|
|
745
782
|
_this.widgetList.push(gridsterItem);
|
|
746
783
|
_this.setAreaHeight();
|
|
747
|
-
|
|
784
|
+
//this.ngxService.stop();
|
|
748
785
|
}));
|
|
749
786
|
};
|
|
787
|
+
/** To add widget to current widget list ,invoked from copy widget window*/
|
|
788
|
+
/**
|
|
789
|
+
* To add widget to current widget list ,invoked from copy widget window
|
|
790
|
+
* @param {?} data
|
|
791
|
+
* @return {?}
|
|
792
|
+
*/
|
|
793
|
+
RADashboardArea.prototype.copyWidget = /**
|
|
794
|
+
* To add widget to current widget list ,invoked from copy widget window
|
|
795
|
+
* @param {?} data
|
|
796
|
+
* @return {?}
|
|
797
|
+
*/
|
|
798
|
+
function (data) {
|
|
799
|
+
/** @type {?} */
|
|
800
|
+
var gridsterItem = this.mapObjectsToGridsterItem(data);
|
|
801
|
+
if (this.options.api) {
|
|
802
|
+
gridsterItem = this.options.api.getFirstPossiblePosition(gridsterItem);
|
|
803
|
+
}
|
|
804
|
+
data.position_x = gridsterItem.x;
|
|
805
|
+
data.position_y = gridsterItem.y;
|
|
806
|
+
gridsterItem = this.mapObjectsToGridsterItem(data);
|
|
807
|
+
this.widgetList.push(gridsterItem);
|
|
808
|
+
this.setAreaHeight();
|
|
809
|
+
};
|
|
750
810
|
/**To map IwidgetInfo object to gridsterItem */
|
|
751
811
|
/**
|
|
752
812
|
* To map IwidgetInfo object to gridsterItem
|
|
@@ -832,7 +892,7 @@
|
|
|
832
892
|
RADashboardArea.decorators = [
|
|
833
893
|
{ type: core.Component, args: [{
|
|
834
894
|
selector: 'ra-dashboard-area',
|
|
835
|
-
template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\">\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [widget-instance-id]=\"item.widgetInstanceId\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n</div>\r\n\r\n",
|
|
895
|
+
template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\">\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [widget-instance-id]=\"item.widgetInstanceId\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
|
|
836
896
|
styles: ["gridster{width:inherit;resize:height;display:flex;min-height:600px}gridster-item{border:1px solid #ccc;background:#fff!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}"]
|
|
837
897
|
}] }
|
|
838
898
|
];
|
|
@@ -840,7 +900,8 @@
|
|
|
840
900
|
RADashboardArea.ctorParameters = function () { return [
|
|
841
901
|
{ type: RaDashboardService },
|
|
842
902
|
{ type: core.NgZone },
|
|
843
|
-
{ type: ngxUiLoader.NgxUiLoaderService }
|
|
903
|
+
{ type: ngxUiLoader.NgxUiLoaderService },
|
|
904
|
+
{ type: angularNotifier.NotifierService }
|
|
844
905
|
]; };
|
|
845
906
|
RADashboardArea.propDecorators = {
|
|
846
907
|
userDashboardId: [{ type: core.Input, args: ['user-dashboard-id',] }],
|
|
@@ -859,9 +920,10 @@
|
|
|
859
920
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
860
921
|
*/
|
|
861
922
|
var RAWidgetContainer = /** @class */ (function () {
|
|
862
|
-
function RAWidgetContainer(dashboardService, ngxService) {
|
|
923
|
+
function RAWidgetContainer(dashboardService, ngxService, notifier) {
|
|
863
924
|
this.dashboardService = dashboardService;
|
|
864
925
|
this.ngxService = ngxService;
|
|
926
|
+
this.notifier = notifier;
|
|
865
927
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
866
928
|
this.widgetDeleted = new core.EventEmitter();
|
|
867
929
|
}
|
|
@@ -944,9 +1006,12 @@
|
|
|
944
1006
|
*/
|
|
945
1007
|
function (status) {
|
|
946
1008
|
widgetContainerContext.ngxService.stop();
|
|
947
|
-
{
|
|
1009
|
+
if (status) {
|
|
948
1010
|
widgetContainerContext.widgetDeleted.emit(_this.data.widgetInfo.widgetInstanceId);
|
|
949
1011
|
}
|
|
1012
|
+
else {
|
|
1013
|
+
widgetContainerContext.notifier.notify('error', "Failed to remove widget (" + _this.data.widgetInfo.widgetTitle + ")!");
|
|
1014
|
+
}
|
|
950
1015
|
}));
|
|
951
1016
|
};
|
|
952
1017
|
/** To Move or change position if current widget container*/
|
|
@@ -959,7 +1024,6 @@
|
|
|
959
1024
|
* @return {?}
|
|
960
1025
|
*/
|
|
961
1026
|
function () {
|
|
962
|
-
console.log('in move widget');
|
|
963
1027
|
this.raDashboardEventBus.publish(RAEvent.MoveWidget, this.data.widgetInfo);
|
|
964
1028
|
// this.dashboardService.moveWidget(widgetInfo);
|
|
965
1029
|
};
|
|
@@ -1066,14 +1130,15 @@
|
|
|
1066
1130
|
RAWidgetContainer.decorators = [
|
|
1067
1131
|
{ type: core.Component, args: [{
|
|
1068
1132
|
selector: 'ra-widget-container',
|
|
1069
|
-
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\">\r\n <div class=\"row\">\r\n <div class=\"col-md-11 float-left\" style=\"width:96%;\">{{data.widgetInfo.title?data.widgetInfo.title:\"Title\"}}\r\n </div>\r\n <div class=\"col-md-1\">\r\n <div class=\"float-right\">\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content\">\r\n <a (click)=\"editWidget()\">Edit</a>\r\n <a (click)=\"copyWidget()\">Copy</a>\r\n <a (click)=\"moveWidget()\">Move</a> \r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">Delete</a>\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\">\r\n <div class=\"wcBodyBorder\" #ctlWidget></div>\r\n </div>\r\n</div>\r\n",
|
|
1070
|
-
styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;padding:7px 7px 0 6px;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px}.wc-mover{cursor:all-scroll}.wcBody{padding:8px}.wcBodyBorder{border:1px dashed #e6e2e2}.sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{display:none;position:relative}.dropdown hr{margin:0!important}.dropdown-content{display:none;position:absolute;right:0;background-color:#f9f9f9;min-width:100px;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index:1;font-size:12px;font-family:\"Arial Rounded MT\"}.dropdown-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.dropdown-content a:hover{background-color:#f1f1f1}.dropdown:hover .dropdown-content,.wc-wrapper:hover .dropdown{display:block}.dropdown:hover .dropbtn{color:#2b7797}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}"]
|
|
1133
|
+
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\">\r\n <div class=\"row\">\r\n <div class=\"col-md-11 float-left\" style=\"width:96%;\">{{data.widgetInfo.title?data.widgetInfo.title:\"Title\"}}\r\n </div>\r\n <div class=\"col-md-1\">\r\n <div class=\"float-right\">\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content\">\r\n <a (click)=\"editWidget()\">Edit</a>\r\n <a (click)=\"copyWidget()\">Copy</a>\r\n <a (click)=\"moveWidget()\">Move</a> \r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">Delete</a>\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\">\r\n <div class=\"wcBodyBorder\" #ctlWidget></div>\r\n </div>\r\n</div>\r\n",
|
|
1134
|
+
styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;padding:7px 7px 0 6px;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px}.wc-mover{cursor:all-scroll}.wcBody{padding:8px}.wcBodyBorder{border:1px dashed #e6e2e2}.sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{display:none;position:relative}.dropdown hr{margin:0!important}.dropdown-content{display:none;position:absolute;right:0;background-color:#f9f9f9;min-width:100px;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index:1;font-size:12px;font-family:\"Arial Rounded MT\"}.dropdown-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.dropdown-content a:hover{background-color:#f1f1f1}.dropdown:hover .dropdown-content,.wc-wrapper:hover .dropdown{display:block}.dropdown:hover .dropbtn{color:#2b7797}.gearIcon{color:#42b4e6}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}"]
|
|
1071
1135
|
}] }
|
|
1072
1136
|
];
|
|
1073
1137
|
/** @nocollapse */
|
|
1074
1138
|
RAWidgetContainer.ctorParameters = function () { return [
|
|
1075
1139
|
{ type: RaDashboardService },
|
|
1076
|
-
{ type: ngxUiLoader.NgxUiLoaderService }
|
|
1140
|
+
{ type: ngxUiLoader.NgxUiLoaderService },
|
|
1141
|
+
{ type: angularNotifier.NotifierService }
|
|
1077
1142
|
]; };
|
|
1078
1143
|
RAWidgetContainer.propDecorators = {
|
|
1079
1144
|
ctlWidget: [{ type: core.ViewChild, args: ['ctlWidget', { static: false },] }],
|
|
@@ -1087,6 +1152,52 @@
|
|
|
1087
1152
|
return RAWidgetContainer;
|
|
1088
1153
|
}());
|
|
1089
1154
|
|
|
1155
|
+
/**
|
|
1156
|
+
* @fileoverview added by tsickle
|
|
1157
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1158
|
+
*/
|
|
1159
|
+
/** @type {?} */
|
|
1160
|
+
var customNotifierOptions = {
|
|
1161
|
+
position: {
|
|
1162
|
+
horizontal: {
|
|
1163
|
+
position: 'right',
|
|
1164
|
+
distance: 12
|
|
1165
|
+
},
|
|
1166
|
+
vertical: {
|
|
1167
|
+
position: 'top',
|
|
1168
|
+
distance: 12,
|
|
1169
|
+
gap: 10
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
theme: 'material',
|
|
1173
|
+
behaviour: {
|
|
1174
|
+
autoHide: 5000,
|
|
1175
|
+
onClick: 'hide',
|
|
1176
|
+
onMouseover: 'pauseAutoHide',
|
|
1177
|
+
showDismissButton: true,
|
|
1178
|
+
stacking: 4
|
|
1179
|
+
},
|
|
1180
|
+
animations: {
|
|
1181
|
+
enabled: true,
|
|
1182
|
+
show: {
|
|
1183
|
+
preset: 'slide',
|
|
1184
|
+
speed: 300,
|
|
1185
|
+
easing: 'ease'
|
|
1186
|
+
},
|
|
1187
|
+
hide: {
|
|
1188
|
+
preset: 'fade',
|
|
1189
|
+
speed: 300,
|
|
1190
|
+
easing: 'ease',
|
|
1191
|
+
offset: 50
|
|
1192
|
+
},
|
|
1193
|
+
shift: {
|
|
1194
|
+
speed: 300,
|
|
1195
|
+
easing: 'ease'
|
|
1196
|
+
},
|
|
1197
|
+
overlap: 150
|
|
1198
|
+
}
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1090
1201
|
/**
|
|
1091
1202
|
* @fileoverview added by tsickle
|
|
1092
1203
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -5602,7 +5713,8 @@
|
|
|
5602
5713
|
platformBrowser.BrowserModule,
|
|
5603
5714
|
GridsterModule,
|
|
5604
5715
|
http.HttpClientModule,
|
|
5605
|
-
ngxUiLoader.NgxUiLoaderModule
|
|
5716
|
+
ngxUiLoader.NgxUiLoaderModule,
|
|
5717
|
+
angularNotifier.NotifierModule.withConfig(customNotifierOptions)
|
|
5606
5718
|
],
|
|
5607
5719
|
exports: [
|
|
5608
5720
|
RADashboardArea
|
|
@@ -5688,6 +5800,7 @@
|
|
|
5688
5800
|
exports.ɵb = GridsterComponent;
|
|
5689
5801
|
exports.ɵc = GridsterItemComponent;
|
|
5690
5802
|
exports.ɵd = GridsterPreviewComponent;
|
|
5803
|
+
exports.ɵe = customNotifierOptions;
|
|
5691
5804
|
|
|
5692
5805
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5693
5806
|
|