@schneideress/dashboardframework 0.0.40 → 0.0.42

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.
Files changed (78) hide show
  1. package/bundles/schneideress-dashboardframework.umd.js +66 -1071
  2. package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
  3. package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
  4. package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
  5. package/esm2015/gridster/index.js +1 -1
  6. package/esm2015/gridster/lib/gridster.component.js +1 -1
  7. package/esm2015/gridster/lib/gridster.interface.js +1 -1
  8. package/esm2015/gridster/lib/gridster.module.js +1 -1
  9. package/esm2015/gridster/lib/gridsterCompact.service.js +1 -1
  10. package/esm2015/gridster/lib/gridsterConfig.constant.js +1 -1
  11. package/esm2015/gridster/lib/gridsterConfig.interface.js +1 -1
  12. package/esm2015/gridster/lib/gridsterConfigS.interface.js +1 -1
  13. package/esm2015/gridster/lib/gridsterDraggable.service.js +1 -1
  14. package/esm2015/gridster/lib/gridsterEmptyCell.service.js +1 -1
  15. package/esm2015/gridster/lib/gridsterItem.component.js +1 -1
  16. package/esm2015/gridster/lib/gridsterItem.interface.js +1 -1
  17. package/esm2015/gridster/lib/gridsterItemComponent.interface.js +1 -1
  18. package/esm2015/gridster/lib/gridsterPreview.component.js +1 -1
  19. package/esm2015/gridster/lib/gridsterPush.service.js +1 -1
  20. package/esm2015/gridster/lib/gridsterPushResize.service.js +1 -1
  21. package/esm2015/gridster/lib/gridsterRenderer.service.js +1 -1
  22. package/esm2015/gridster/lib/gridsterResizable.service.js +1 -1
  23. package/esm2015/gridster/lib/gridsterResizeEventType.interface.js +1 -1
  24. package/esm2015/gridster/lib/gridsterScroll.service.js +1 -1
  25. package/esm2015/gridster/lib/gridsterSwap.service.js +1 -1
  26. package/esm2015/gridster/lib/gridsterUtils.service.js +1 -1
  27. package/esm2015/lib/custom.notifier.options.js +1 -1
  28. package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +18 -10
  29. package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +8 -8
  30. package/esm2015/lib/ra.base.dashboard.filter.js +1 -1
  31. package/esm2015/lib/ra.base.dashboard.template.js +1 -1
  32. package/esm2015/lib/ra.dashbard.event.bus.js +1 -1
  33. package/esm2015/lib/ra.dashboard.module.js +1 -1
  34. package/esm2015/lib/ra.dashboard.service.js +1 -1
  35. package/esm2015/lib/ra.event.enum.js +1 -1
  36. package/esm2015/lib/ra.gridster.config.js +1 -1
  37. package/esm2015/public-api.js +1 -1
  38. package/esm2015/schneideress-dashboardframework.js +1 -1
  39. package/esm5/gridster/index.js +1 -1
  40. package/esm5/gridster/lib/gridster.component.js +1 -1
  41. package/esm5/gridster/lib/gridster.interface.js +1 -1
  42. package/esm5/gridster/lib/gridster.module.js +1 -1
  43. package/esm5/gridster/lib/gridsterCompact.service.js +1 -1
  44. package/esm5/gridster/lib/gridsterConfig.constant.js +1 -1
  45. package/esm5/gridster/lib/gridsterConfig.interface.js +1 -1
  46. package/esm5/gridster/lib/gridsterConfigS.interface.js +1 -1
  47. package/esm5/gridster/lib/gridsterDraggable.service.js +1 -1
  48. package/esm5/gridster/lib/gridsterEmptyCell.service.js +1 -1
  49. package/esm5/gridster/lib/gridsterItem.component.js +1 -1
  50. package/esm5/gridster/lib/gridsterItem.interface.js +1 -1
  51. package/esm5/gridster/lib/gridsterItemComponent.interface.js +1 -1
  52. package/esm5/gridster/lib/gridsterPreview.component.js +1 -1
  53. package/esm5/gridster/lib/gridsterPush.service.js +1 -1
  54. package/esm5/gridster/lib/gridsterPushResize.service.js +1 -1
  55. package/esm5/gridster/lib/gridsterRenderer.service.js +1 -1
  56. package/esm5/gridster/lib/gridsterResizable.service.js +1 -1
  57. package/esm5/gridster/lib/gridsterResizeEventType.interface.js +1 -1
  58. package/esm5/gridster/lib/gridsterScroll.service.js +1 -1
  59. package/esm5/gridster/lib/gridsterSwap.service.js +1 -1
  60. package/esm5/gridster/lib/gridsterUtils.service.js +1 -1
  61. package/esm5/lib/custom.notifier.options.js +1 -1
  62. package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +18 -10
  63. package/esm5/lib/ra-widget-container/ra.widget.container.component.js +4 -4
  64. package/esm5/lib/ra.base.dashboard.filter.js +1 -1
  65. package/esm5/lib/ra.base.dashboard.template.js +1 -1
  66. package/esm5/lib/ra.dashbard.event.bus.js +1 -1
  67. package/esm5/lib/ra.dashboard.module.js +1 -1
  68. package/esm5/lib/ra.dashboard.service.js +1 -1
  69. package/esm5/lib/ra.event.enum.js +1 -1
  70. package/esm5/lib/ra.gridster.config.js +1 -1
  71. package/esm5/public-api.js +1 -1
  72. package/esm5/schneideress-dashboardframework.js +1 -1
  73. package/fesm2015/schneideress-dashboardframework.js +68 -963
  74. package/fesm2015/schneideress-dashboardframework.js.map +1 -1
  75. package/fesm5/schneideress-dashboardframework.js +67 -962
  76. package/fesm5/schneideress-dashboardframework.js.map +1 -1
  77. package/package.json +1 -1
  78. package/schneideress-dashboardframework.metadata.json +1 -1
@@ -13,7 +13,7 @@ import { CommonModule } from '@angular/common';
13
13
 
14
14
  /**
15
15
  * @fileoverview added by tsickle
16
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
16
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
17
17
  */
18
18
  class RaDashboardService extends BaseService {
19
19
  /**
@@ -142,18 +142,11 @@ RaDashboardService.decorators = [
142
142
  RaDashboardService.ctorParameters = () => [
143
143
  { type: Injector }
144
144
  ];
145
- /** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
146
- if (false) {
147
- /**
148
- * @type {?}
149
- * @private
150
- */
151
- RaDashboardService.prototype.loadedScripts;
152
- }
145
+ /** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
153
146
 
154
147
  /**
155
148
  * @fileoverview added by tsickle
156
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
149
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
157
150
  */
158
151
  class RADashboardEventBus {
159
152
  constructor() {
@@ -223,18 +216,11 @@ RADashboardEventBus.decorators = [
223
216
  providedIn: 'root'
224
217
  },] }
225
218
  ];
226
- /** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
227
- if (false) {
228
- /**
229
- * @type {?}
230
- * @private
231
- */
232
- RADashboardEventBus.prototype.eventQueue;
233
- }
219
+ /** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
234
220
 
235
221
  /**
236
222
  * @fileoverview added by tsickle
237
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
223
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
238
224
  */
239
225
  /** @enum {string} */
240
226
  const RAEvent = {
@@ -281,7 +267,7 @@ const RAEventKey = {
281
267
 
282
268
  /**
283
269
  * @fileoverview added by tsickle
284
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
270
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
285
271
  */
286
272
  /** @enum {string} */
287
273
  const GridType = {
@@ -308,196 +294,11 @@ const CompactType = {
308
294
  CompactRight: 'compactRight',
309
295
  CompactUpAndRight: 'compactUp&Right',
310
296
  CompactRightAndUp: 'compactRight&Up',
311
- };
312
- /**
313
- * @record
314
- */
315
- function GridsterConfig() { }
316
- if (false) {
317
- /** @type {?|undefined} */
318
- GridsterConfig.prototype.gridType;
319
- /** @type {?|undefined} */
320
- GridsterConfig.prototype.fixedColWidth;
321
- /** @type {?|undefined} */
322
- GridsterConfig.prototype.fixedRowHeight;
323
- /** @type {?|undefined} */
324
- GridsterConfig.prototype.keepFixedHeightInMobile;
325
- /** @type {?|undefined} */
326
- GridsterConfig.prototype.keepFixedWidthInMobile;
327
- /** @type {?|undefined} */
328
- GridsterConfig.prototype.setGridSize;
329
- /** @type {?|undefined} */
330
- GridsterConfig.prototype.compactType;
331
- /** @type {?|undefined} */
332
- GridsterConfig.prototype.mobileBreakpoint;
333
- /** @type {?|undefined} */
334
- GridsterConfig.prototype.minCols;
335
- /** @type {?|undefined} */
336
- GridsterConfig.prototype.maxCols;
337
- /** @type {?|undefined} */
338
- GridsterConfig.prototype.minRows;
339
- /** @type {?|undefined} */
340
- GridsterConfig.prototype.maxRows;
341
- /** @type {?|undefined} */
342
- GridsterConfig.prototype.defaultItemCols;
343
- /** @type {?|undefined} */
344
- GridsterConfig.prototype.defaultItemRows;
345
- /** @type {?|undefined} */
346
- GridsterConfig.prototype.maxItemCols;
347
- /** @type {?|undefined} */
348
- GridsterConfig.prototype.maxItemRows;
349
- /** @type {?|undefined} */
350
- GridsterConfig.prototype.minItemCols;
351
- /** @type {?|undefined} */
352
- GridsterConfig.prototype.minItemRows;
353
- /** @type {?|undefined} */
354
- GridsterConfig.prototype.minItemArea;
355
- /** @type {?|undefined} */
356
- GridsterConfig.prototype.maxItemArea;
357
- /** @type {?|undefined} */
358
- GridsterConfig.prototype.margin;
359
- /** @type {?|undefined} */
360
- GridsterConfig.prototype.outerMargin;
361
- /** @type {?|undefined} */
362
- GridsterConfig.prototype.outerMarginTop;
363
- /** @type {?|undefined} */
364
- GridsterConfig.prototype.outerMarginRight;
365
- /** @type {?|undefined} */
366
- GridsterConfig.prototype.outerMarginBottom;
367
- /** @type {?|undefined} */
368
- GridsterConfig.prototype.outerMarginLeft;
369
- /** @type {?|undefined} */
370
- GridsterConfig.prototype.useTransformPositioning;
371
- /** @type {?|undefined} */
372
- GridsterConfig.prototype.scrollSensitivity;
373
- /** @type {?|undefined} */
374
- GridsterConfig.prototype.scrollSpeed;
375
- /** @type {?|undefined} */
376
- GridsterConfig.prototype.initCallback;
377
- /** @type {?|undefined} */
378
- GridsterConfig.prototype.destroyCallback;
379
- /** @type {?|undefined} */
380
- GridsterConfig.prototype.gridSizeChangedCallback;
381
- /** @type {?|undefined} */
382
- GridsterConfig.prototype.itemChangeCallback;
383
- /** @type {?|undefined} */
384
- GridsterConfig.prototype.itemResizeCallback;
385
- /** @type {?|undefined} */
386
- GridsterConfig.prototype.itemInitCallback;
387
- /** @type {?|undefined} */
388
- GridsterConfig.prototype.itemRemovedCallback;
389
- /** @type {?|undefined} */
390
- GridsterConfig.prototype.itemValidateCallback;
391
- /** @type {?|undefined} */
392
- GridsterConfig.prototype.draggable;
393
- /** @type {?|undefined} */
394
- GridsterConfig.prototype.resizable;
395
- /** @type {?|undefined} */
396
- GridsterConfig.prototype.swap;
397
- /** @type {?|undefined} */
398
- GridsterConfig.prototype.pushItems;
399
- /** @type {?|undefined} */
400
- GridsterConfig.prototype.disablePushOnDrag;
401
- /** @type {?|undefined} */
402
- GridsterConfig.prototype.disablePushOnResize;
403
- /** @type {?|undefined} */
404
- GridsterConfig.prototype.disableAutoPositionOnConflict;
405
- /** @type {?|undefined} */
406
- GridsterConfig.prototype.pushDirections;
407
- /** @type {?|undefined} */
408
- GridsterConfig.prototype.pushResizeItems;
409
- /** @type {?|undefined} */
410
- GridsterConfig.prototype.displayGrid;
411
- /** @type {?|undefined} */
412
- GridsterConfig.prototype.disableWindowResize;
413
- /** @type {?|undefined} */
414
- GridsterConfig.prototype.disableWarnings;
415
- /** @type {?|undefined} */
416
- GridsterConfig.prototype.scrollToNewItems;
417
- /** @type {?|undefined} */
418
- GridsterConfig.prototype.enableEmptyCellClick;
419
- /** @type {?|undefined} */
420
- GridsterConfig.prototype.enableEmptyCellContextMenu;
421
- /** @type {?|undefined} */
422
- GridsterConfig.prototype.enableEmptyCellDrop;
423
- /** @type {?|undefined} */
424
- GridsterConfig.prototype.enableEmptyCellDrag;
425
- /** @type {?|undefined} */
426
- GridsterConfig.prototype.emptyCellClickCallback;
427
- /** @type {?|undefined} */
428
- GridsterConfig.prototype.emptyCellContextMenuCallback;
429
- /** @type {?|undefined} */
430
- GridsterConfig.prototype.emptyCellDropCallback;
431
- /** @type {?|undefined} */
432
- GridsterConfig.prototype.emptyCellDragCallback;
433
- /** @type {?|undefined} */
434
- GridsterConfig.prototype.emptyCellDragMaxCols;
435
- /** @type {?|undefined} */
436
- GridsterConfig.prototype.emptyCellDragMaxRows;
437
- /** @type {?|undefined} */
438
- GridsterConfig.prototype.ignoreMarginInRow;
439
- /** @type {?|undefined} */
440
- GridsterConfig.prototype.autoResizeonDrag;
441
- /** @type {?|undefined} */
442
- GridsterConfig.prototype.api;
443
- /* Skipping unhandled member: [propName: string]: any;*/
444
- }
445
- /**
446
- * @record
447
- */
448
- function DragBase() { }
449
- if (false) {
450
- /** @type {?|undefined} */
451
- DragBase.prototype.enabled;
452
- /** @type {?|undefined} */
453
- DragBase.prototype.stop;
454
- /** @type {?|undefined} */
455
- DragBase.prototype.start;
456
- /** @type {?|undefined} */
457
- DragBase.prototype.delayStart;
458
- }
459
- /**
460
- * @record
461
- */
462
- function Draggable() { }
463
- if (false) {
464
- /** @type {?|undefined} */
465
- Draggable.prototype.ignoreContentClass;
466
- /** @type {?|undefined} */
467
- Draggable.prototype.ignoreContent;
468
- /** @type {?|undefined} */
469
- Draggable.prototype.dragHandleClass;
470
- /** @type {?|undefined} */
471
- Draggable.prototype.dropOverItems;
472
- /** @type {?|undefined} */
473
- Draggable.prototype.dropOverItemsCallback;
474
- }
475
- /**
476
- * @record
477
- */
478
- function Resizable() { }
479
- if (false) {
480
- /** @type {?|undefined} */
481
- Resizable.prototype.handles;
482
- }
483
- /**
484
- * @record
485
- */
486
- function PushDirections() { }
487
- if (false) {
488
- /** @type {?} */
489
- PushDirections.prototype.north;
490
- /** @type {?} */
491
- PushDirections.prototype.east;
492
- /** @type {?} */
493
- PushDirections.prototype.south;
494
- /** @type {?} */
495
- PushDirections.prototype.west;
496
- }
297
+ };
497
298
 
498
299
  /**
499
300
  * @fileoverview added by tsickle
500
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
301
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
501
302
  */
502
303
  /** @type {?} */
503
304
  const GridsterConfigDefaultSettings = {
@@ -559,7 +360,7 @@ const GridsterConfigDefaultSettings = {
559
360
 
560
361
  /**
561
362
  * @fileoverview added by tsickle
562
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
363
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
563
364
  */
564
365
  class RADashboardArea {
565
366
  /**
@@ -578,8 +379,8 @@ class RADashboardArea {
578
379
  this.widgetList = Array();
579
380
  this.gridheight = 300;
580
381
  this.isWidgetLoaded = false;
581
- this.widgetHeight = 50;
582
- this.widgetWidth = 60;
382
+ this.widgetHeight = 30;
383
+ this.widgetWidth = 50;
583
384
  }
584
385
  /**
585
386
  * @return {?}
@@ -747,6 +548,7 @@ class RADashboardArea {
747
548
  dashboardId: userDashboarId.toString(),
748
549
  dashboardAreaKey: areaKey
749
550
  }));
551
+ areaContext.widgetList = [];
750
552
  this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe((/**
751
553
  * @param {?} widgets
752
554
  * @return {?}
@@ -833,11 +635,12 @@ class RADashboardArea {
833
635
  data.position_y = 0;
834
636
  /** @type {?} */
835
637
  let gridsterItem = this.mapObjectsToGridsterItem(data);
836
- if (this.options.api) {
837
- gridsterItem = this.options.api.getFirstPossiblePosition(gridsterItem);
838
- }
839
- data.position_x = gridsterItem.x;
840
- data.position_y = gridsterItem.y;
638
+ /** to find the available position in gridster, temp commenting the code-returning higher y value than normal */
639
+ // if (this.options.api) {
640
+ // gridsterItem = this.options.api.getFirstPossiblePosition(gridsterItem);
641
+ // }
642
+ // data.position_x = gridsterItem.x;
643
+ // data.position_y = gridsterItem.y;
841
644
  data.dashboardAreaKey = this.areaKey;
842
645
  data.dashboardId = this.userDashboardId;
843
646
  this.ngxService.start();
@@ -849,7 +652,13 @@ class RADashboardArea {
849
652
  gridsterItem = this.mapObjectsToGridsterItem(widget);
850
653
  this.widgetList.push(gridsterItem);
851
654
  this.setAreaHeight();
852
- //this.ngxService.stop();
655
+ /**To save added widget position in db */
656
+ setTimeout((/**
657
+ * @return {?}
658
+ */
659
+ () => {
660
+ this.updateWidgets();
661
+ }), 1000);
853
662
  }));
854
663
  }
855
664
  /**
@@ -956,83 +765,11 @@ RADashboardArea.propDecorators = {
956
765
  widgetHeight: [{ type: Input, args: ['widget-height',] }],
957
766
  widgetWidth: [{ type: Input, args: ['widget-width',] }],
958
767
  appConfig: [{ type: Input, args: ['app-config',] }]
959
- };
960
- if (false) {
961
- /** @type {?} */
962
- RADashboardArea.prototype.widgetList;
963
- /** @type {?} */
964
- RADashboardArea.prototype.options;
965
- /** @type {?} */
966
- RADashboardArea.prototype.gridheight;
967
- /**
968
- * @type {?}
969
- * @private
970
- */
971
- RADashboardArea.prototype.conifgAddClick;
972
- /**
973
- * @type {?}
974
- * @private
975
- */
976
- RADashboardArea.prototype.widgetDeleteEvent;
977
- /**
978
- * @type {?}
979
- * @private
980
- */
981
- RADashboardArea.prototype.widgetAddEvent;
982
- /**
983
- * @type {?}
984
- * @private
985
- */
986
- RADashboardArea.prototype.widgetLibraryDoneClick;
987
- /**
988
- * @type {?}
989
- * @private
990
- */
991
- RADashboardArea.prototype.isWidgetLoaded;
992
- /** @type {?} */
993
- RADashboardArea.prototype.userDashboardId;
994
- /** @type {?} */
995
- RADashboardArea.prototype.areaKey;
996
- /** @type {?} */
997
- RADashboardArea.prototype.globalFilter;
998
- /** @type {?} */
999
- RADashboardArea.prototype.raDashboardEventBus;
1000
- /** @type {?} */
1001
- RADashboardArea.prototype.widgetHeight;
1002
- /** @type {?} */
1003
- RADashboardArea.prototype.widgetWidth;
1004
- /** @type {?} */
1005
- RADashboardArea.prototype.appConfig;
1006
- /**
1007
- * @type {?}
1008
- * @private
1009
- */
1010
- RADashboardArea.prototype.dashboardService;
1011
- /**
1012
- * @type {?}
1013
- * @private
1014
- */
1015
- RADashboardArea.prototype.ngZone;
1016
- /**
1017
- * @type {?}
1018
- * @private
1019
- */
1020
- RADashboardArea.prototype.ngxService;
1021
- /**
1022
- * @type {?}
1023
- * @private
1024
- */
1025
- RADashboardArea.prototype.translateService;
1026
- /**
1027
- * @type {?}
1028
- * @private
1029
- */
1030
- RADashboardArea.prototype.notifier;
1031
- }
768
+ };
1032
769
 
1033
770
  /**
1034
771
  * @fileoverview added by tsickle
1035
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
772
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1036
773
  */
1037
774
  class RAWidgetContainer {
1038
775
  /**
@@ -1169,7 +906,7 @@ class RAWidgetContainer {
1169
906
  * @return {?}
1170
907
  */
1171
908
  loadWidget(widgetInfo) {
1172
- return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
909
+ return __awaiter(this, void 0, void 0, function* () {
1173
910
  /** @type {?} */
1174
911
  let widgetConfigFilter = (/** @type {?} */ ({
1175
912
  config: widgetInfo.widgetConfigInfo.config,
@@ -1186,8 +923,8 @@ class RAWidgetContainer {
1186
923
  document.body.addEventListener('widgetinitiated' + widgetInfo.widgetInstanceId, (/**
1187
924
  * @return {?}
1188
925
  */
1189
- () => __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
1190
- console.log('widget initiate' + widgetInfo.widgetInstanceId);
926
+ () => __awaiter(this, void 0, void 0, function* () {
927
+ console.log('widget initiated' + widgetInfo.widgetInstanceId);
1191
928
  widgetContainer.isWidgetLoaded = true;
1192
929
  widgetConfigFilter.appConfig = this.appConfig;
1193
930
  widgetConfigFilter.widgetInfo = (/** @type {?} */ ({}));
@@ -1206,7 +943,7 @@ class RAWidgetContainer {
1206
943
  * @return {?}
1207
944
  */
1208
945
  refreshWidget(widgetInfo) {
1209
- return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
946
+ return __awaiter(this, void 0, void 0, function* () {
1210
947
  /** @type {?} */
1211
948
  let widgetContainerContext = this;
1212
949
  /** @type {?} */
@@ -1228,7 +965,7 @@ class RAWidgetContainer {
1228
965
  * @return {?}
1229
966
  */
1230
967
  setLock(config) {
1231
- return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
968
+ return __awaiter(this, void 0, void 0, function* () {
1232
969
  this.lockStatus = yield this.widgetElement.loadLockStatus(config);
1233
970
  if (this.lockStatus) {
1234
971
  switch (this.lockStatus) {
@@ -1257,7 +994,7 @@ RAWidgetContainer.decorators = [
1257
994
  { type: Component, args: [{
1258
995
  selector: 'ra-widget-container',
1259
996
  template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\">\r\n <div style=\"display:flex\">\r\n <div class=\"col-md-11 float-left widget-move\" style=\"width:96%;\">{{data.widgetInfo.widgetTitle}}\r\n </div>\r\n <div class=\"col-md-1\" style=\"cursor:default;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n <div class=\"pr-3\"><i [ngClass]=\"lockClass\"\r\n [attr.title]=\"lockStatus=='lock' ? 'Locked' : 'Partially Locked'\"></i></div>\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content widget-config-item\">\r\n <a (click)=\"editWidget()\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span>{{'Edit'|translate}}</span>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span>{{'Copy'|translate}}</span>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span>{{'Move'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;\"></i>\r\n <span>{{'Delete'|translate}}</span>\r\n </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\" [style.height.px]=\"widgetHeight\">\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
1260
- 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{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;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{display:block;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.wc-wrapper:hover .dropdown{visibility:visible;opacity:1}.dropdown:hover .dropbtn{color:#2b7797}.gearIcon{color:#42b4e6}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}@keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0)}}.widget-config-item i{font-size:17px;color:#42b4e6}.widget-config-item span{font-size:12px;font:inherit;padding-left:12px;color:#42b4e6}.locked{color:#42b4e6}.partiallocked{color:#a0d9f2}.unlocked{display:none}"]
997
+ styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px;position:absolute;left:0;top:0}.wc-wrapper{height:100%;position:relative;margin:auto 10px}.wc-mover{cursor:all-scroll}.wcBody{width:100%;position:absolute;top:26px;left:0;bottom:0}.wcBodyBorder{border:1px dashed #e6e2e2}.sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;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{display:block;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.wc-wrapper:hover .dropdown{visibility:visible;opacity:1}.dropdown:hover .dropbtn{color:#2b7797}.gearIcon{color:#42b4e6}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}@keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0)}}.widget-config-item i{font-size:17px;color:#42b4e6}.widget-config-item span{font-size:12px;font:inherit;padding-left:12px;color:#42b4e6}.locked{color:#42b4e6}.partiallocked{color:#a0d9f2}.unlocked{display:none}"]
1261
998
  }] }
1262
999
  ];
1263
1000
  /** @nocollapse */
@@ -1278,82 +1015,11 @@ RAWidgetContainer.propDecorators = {
1278
1015
  width: [{ type: Input, args: ['widget-width',] }],
1279
1016
  height: [{ type: Input, args: ['widget-height',] }],
1280
1017
  widgetDeleted: [{ type: Output }]
1281
- };
1282
- if (false) {
1283
- /**
1284
- * @type {?}
1285
- * @private
1286
- */
1287
- RAWidgetContainer.prototype.isWidgetLoaded;
1288
- /**
1289
- * @type {?}
1290
- * @private
1291
- */
1292
- RAWidgetContainer.prototype.widgetElement;
1293
- /**
1294
- * @type {?}
1295
- * @private
1296
- */
1297
- RAWidgetContainer.prototype.configChanged;
1298
- /**
1299
- * @type {?}
1300
- * @private
1301
- */
1302
- RAWidgetContainer.prototype.isIEOrEdge;
1303
- /** @type {?} */
1304
- RAWidgetContainer.prototype.widgetHeight;
1305
- /** @type {?} */
1306
- RAWidgetContainer.prototype.lockClass;
1307
- /** @type {?} */
1308
- RAWidgetContainer.prototype.lockStatus;
1309
- /** @type {?} */
1310
- RAWidgetContainer.prototype.ctlWidget;
1311
- /** @type {?} */
1312
- RAWidgetContainer.prototype.widgetInstanceId;
1313
- /** @type {?} */
1314
- RAWidgetContainer.prototype.globalFilter;
1315
- /** @type {?} */
1316
- RAWidgetContainer.prototype.data;
1317
- /** @type {?} */
1318
- RAWidgetContainer.prototype.raDashboardEventBus;
1319
- /** @type {?} */
1320
- RAWidgetContainer.prototype.appConfig;
1321
- /** @type {?} */
1322
- RAWidgetContainer.prototype.width;
1323
- /** @type {?} */
1324
- RAWidgetContainer.prototype.height;
1325
- /** @type {?} */
1326
- RAWidgetContainer.prototype.widgetDeleted;
1327
- /**
1328
- * @type {?}
1329
- * @private
1330
- */
1331
- RAWidgetContainer.prototype.dashboardService;
1332
- /**
1333
- * @type {?}
1334
- * @private
1335
- */
1336
- RAWidgetContainer.prototype.ngxService;
1337
- /**
1338
- * @type {?}
1339
- * @private
1340
- */
1341
- RAWidgetContainer.prototype.translateService;
1342
- /**
1343
- * @type {?}
1344
- * @private
1345
- */
1346
- RAWidgetContainer.prototype.ngZone;
1347
- /**
1348
- * @type {?}
1349
- * @private
1350
- */
1351
- RAWidgetContainer.prototype.notifier;
1352
- }
1018
+ };
1353
1019
 
1354
1020
  /**
1355
1021
  * @fileoverview added by tsickle
1356
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1022
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1357
1023
  */
1358
1024
  /** @type {?} */
1359
1025
  const customNotifierOptions = {
@@ -1399,7 +1065,7 @@ const customNotifierOptions = {
1399
1065
 
1400
1066
  /**
1401
1067
  * @fileoverview added by tsickle
1402
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1068
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1403
1069
  */
1404
1070
  /** @type {?} */
1405
1071
  const GridsterConfigService = {
@@ -1577,7 +1243,7 @@ const GridsterConfigService = {
1577
1243
 
1578
1244
  /**
1579
1245
  * @fileoverview added by tsickle
1580
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1246
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1581
1247
  */
1582
1248
  class GridsterUtils {
1583
1249
  /**
@@ -1713,91 +1379,17 @@ GridsterUtils.decorators = [
1713
1379
 
1714
1380
  /**
1715
1381
  * @fileoverview added by tsickle
1716
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1382
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1717
1383
  */
1718
1384
  /**
1719
1385
  * @abstract
1720
1386
  */
1721
1387
  class GridsterComponentInterface {
1722
- }
1723
- if (false) {
1724
- /** @type {?} */
1725
- GridsterComponentInterface.prototype.$options;
1726
- /** @type {?} */
1727
- GridsterComponentInterface.prototype.grid;
1728
- /** @type {?} */
1729
- GridsterComponentInterface.prototype.checkCollision;
1730
- /** @type {?} */
1731
- GridsterComponentInterface.prototype.positionXToPixels;
1732
- /** @type {?} */
1733
- GridsterComponentInterface.prototype.pixelsToPositionX;
1734
- /** @type {?} */
1735
- GridsterComponentInterface.prototype.positionYToPixels;
1736
- /** @type {?} */
1737
- GridsterComponentInterface.prototype.pixelsToPositionY;
1738
- /** @type {?} */
1739
- GridsterComponentInterface.prototype.findItemWithItem;
1740
- /** @type {?} */
1741
- GridsterComponentInterface.prototype.findItemsWithItem;
1742
- /** @type {?} */
1743
- GridsterComponentInterface.prototype.checkGridCollision;
1744
- /** @type {?} */
1745
- GridsterComponentInterface.prototype.el;
1746
- /** @type {?} */
1747
- GridsterComponentInterface.prototype.renderer;
1748
- /** @type {?} */
1749
- GridsterComponentInterface.prototype.gridRenderer;
1750
- /** @type {?} */
1751
- GridsterComponentInterface.prototype.cdRef;
1752
- /** @type {?} */
1753
- GridsterComponentInterface.prototype.options;
1754
- /** @type {?} */
1755
- GridsterComponentInterface.prototype.calculateLayoutDebounce;
1756
- /** @type {?} */
1757
- GridsterComponentInterface.prototype.updateGrid;
1758
- /** @type {?} */
1759
- GridsterComponentInterface.prototype.movingItem;
1760
- /** @type {?} */
1761
- GridsterComponentInterface.prototype.addItem;
1762
- /** @type {?} */
1763
- GridsterComponentInterface.prototype.removeItem;
1764
- /** @type {?} */
1765
- GridsterComponentInterface.prototype.previewStyle;
1766
- /** @type {?} */
1767
- GridsterComponentInterface.prototype.mobile;
1768
- /** @type {?} */
1769
- GridsterComponentInterface.prototype.curWidth;
1770
- /** @type {?} */
1771
- GridsterComponentInterface.prototype.curHeight;
1772
- /** @type {?} */
1773
- GridsterComponentInterface.prototype.columns;
1774
- /** @type {?} */
1775
- GridsterComponentInterface.prototype.rows;
1776
- /** @type {?} */
1777
- GridsterComponentInterface.prototype.curColWidth;
1778
- /** @type {?} */
1779
- GridsterComponentInterface.prototype.curRowHeight;
1780
- /** @type {?} */
1781
- GridsterComponentInterface.prototype.windowResize;
1782
- /** @type {?} */
1783
- GridsterComponentInterface.prototype.setGridDimensions;
1784
- /** @type {?} */
1785
- GridsterComponentInterface.prototype.dragInProgress;
1786
- /** @type {?} */
1787
- GridsterComponentInterface.prototype.emptyCell;
1788
- /** @type {?} */
1789
- GridsterComponentInterface.prototype.compact;
1790
- /** @type {?} */
1791
- GridsterComponentInterface.prototype.zone;
1792
- /** @type {?} */
1793
- GridsterComponentInterface.prototype.gridRows;
1794
- /** @type {?} */
1795
- GridsterComponentInterface.prototype.gridColumns;
1796
1388
  }
1797
1389
 
1798
1390
  /**
1799
1391
  * @fileoverview added by tsickle
1800
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1392
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1801
1393
  */
1802
1394
  class GridsterEmptyCell {
1803
1395
  /**
@@ -2074,44 +1666,11 @@ GridsterEmptyCell.decorators = [
2074
1666
  /** @nocollapse */
2075
1667
  GridsterEmptyCell.ctorParameters = () => [
2076
1668
  { type: GridsterComponentInterface }
2077
- ];
2078
- if (false) {
2079
- /** @type {?} */
2080
- GridsterEmptyCell.prototype.initialItem;
2081
- /** @type {?} */
2082
- GridsterEmptyCell.prototype.emptyCellClick;
2083
- /** @type {?} */
2084
- GridsterEmptyCell.prototype.emptyCellClickTouch;
2085
- /** @type {?} */
2086
- GridsterEmptyCell.prototype.emptyCellContextMenu;
2087
- /** @type {?} */
2088
- GridsterEmptyCell.prototype.emptyCellDrop;
2089
- /** @type {?} */
2090
- GridsterEmptyCell.prototype.emptyCellDrag;
2091
- /** @type {?} */
2092
- GridsterEmptyCell.prototype.emptyCellDragTouch;
2093
- /** @type {?} */
2094
- GridsterEmptyCell.prototype.emptyCellMMove;
2095
- /** @type {?} */
2096
- GridsterEmptyCell.prototype.emptyCellMMoveTouch;
2097
- /** @type {?} */
2098
- GridsterEmptyCell.prototype.emptyCellUp;
2099
- /** @type {?} */
2100
- GridsterEmptyCell.prototype.emptyCellUpTouch;
2101
- /** @type {?} */
2102
- GridsterEmptyCell.prototype.emptyCellMove;
2103
- /** @type {?} */
2104
- GridsterEmptyCell.prototype.emptyCellExit;
2105
- /**
2106
- * @type {?}
2107
- * @private
2108
- */
2109
- GridsterEmptyCell.prototype.gridster;
2110
- }
1669
+ ];
2111
1670
 
2112
1671
  /**
2113
1672
  * @fileoverview added by tsickle
2114
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1673
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2115
1674
  */
2116
1675
  class GridsterCompact {
2117
1676
  /**
@@ -2320,18 +1879,11 @@ GridsterCompact.decorators = [
2320
1879
  /** @nocollapse */
2321
1880
  GridsterCompact.ctorParameters = () => [
2322
1881
  { type: GridsterComponentInterface }
2323
- ];
2324
- if (false) {
2325
- /**
2326
- * @type {?}
2327
- * @private
2328
- */
2329
- GridsterCompact.prototype.gridster;
2330
- }
1882
+ ];
2331
1883
 
2332
1884
  /**
2333
1885
  * @fileoverview added by tsickle
2334
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1886
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2335
1887
  */
2336
1888
  class GridsterRenderer {
2337
1889
  /**
@@ -2594,18 +2146,11 @@ GridsterRenderer.decorators = [
2594
2146
  /** @nocollapse */
2595
2147
  GridsterRenderer.ctorParameters = () => [
2596
2148
  { type: GridsterComponentInterface }
2597
- ];
2598
- if (false) {
2599
- /**
2600
- * @type {?}
2601
- * @private
2602
- */
2603
- GridsterRenderer.prototype.gridster;
2604
- }
2149
+ ];
2605
2150
 
2606
2151
  /**
2607
2152
  * @fileoverview added by tsickle
2608
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2153
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2609
2154
  */
2610
2155
  class GridsterComponent {
2611
2156
  /**
@@ -2739,17 +2284,6 @@ class GridsterComponent {
2739
2284
  if (this.options.destroyCallback) {
2740
2285
  this.options.destroyCallback(this);
2741
2286
  }
2742
- //if (this.options.api) {
2743
- /* this.options.api getting undefined for new dashboard load- temp fix
2744
- * on new dashboard area load, old dashboard area gets destroyed, but that leads to
2745
- * ondestroy of current this.options.api instance - needs to investigate further
2746
- */
2747
- if (false) {
2748
- this.options.api.resize = undefined;
2749
- this.options.api.optionsChanged = undefined;
2750
- this.options.api.getNextPossiblePosition = undefined;
2751
- this.options.api = undefined;
2752
- }
2753
2287
  this.emptyCell.destroy();
2754
2288
  delete this.emptyCell;
2755
2289
  this.compact.destroy();
@@ -3245,109 +2779,21 @@ GridsterComponent.ctorParameters = () => [
3245
2779
  ];
3246
2780
  GridsterComponent.propDecorators = {
3247
2781
  options: [{ type: Input }]
3248
- };
3249
- if (false) {
3250
- /** @type {?} */
3251
- GridsterComponent.prototype.options;
3252
- /** @type {?} */
3253
- GridsterComponent.prototype.calculateLayoutDebounce;
3254
- /** @type {?} */
3255
- GridsterComponent.prototype.movingItem;
3256
- /** @type {?} */
3257
- GridsterComponent.prototype.previewStyle;
3258
- /** @type {?} */
3259
- GridsterComponent.prototype.el;
3260
- /** @type {?} */
3261
- GridsterComponent.prototype.$options;
3262
- /** @type {?} */
3263
- GridsterComponent.prototype.mobile;
3264
- /** @type {?} */
3265
- GridsterComponent.prototype.curWidth;
3266
- /** @type {?} */
3267
- GridsterComponent.prototype.curHeight;
3268
- /** @type {?} */
3269
- GridsterComponent.prototype.grid;
3270
- /** @type {?} */
3271
- GridsterComponent.prototype.columns;
3272
- /** @type {?} */
3273
- GridsterComponent.prototype.rows;
3274
- /** @type {?} */
3275
- GridsterComponent.prototype.curColWidth;
3276
- /** @type {?} */
3277
- GridsterComponent.prototype.curRowHeight;
3278
- /** @type {?} */
3279
- GridsterComponent.prototype.gridColumns;
3280
- /** @type {?} */
3281
- GridsterComponent.prototype.gridRows;
3282
- /** @type {?} */
3283
- GridsterComponent.prototype.windowResize;
3284
- /** @type {?} */
3285
- GridsterComponent.prototype.dragInProgress;
3286
- /** @type {?} */
3287
- GridsterComponent.prototype.emptyCell;
3288
- /** @type {?} */
3289
- GridsterComponent.prototype.compact;
3290
- /** @type {?} */
3291
- GridsterComponent.prototype.gridRenderer;
3292
- /** @type {?} */
3293
- GridsterComponent.prototype.renderer;
3294
- /** @type {?} */
3295
- GridsterComponent.prototype.cdRef;
3296
- /** @type {?} */
3297
- GridsterComponent.prototype.zone;
3298
- }
2782
+ };
3299
2783
 
3300
2784
  /**
3301
2785
  * @fileoverview added by tsickle
3302
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2786
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3303
2787
  */
3304
2788
  /**
3305
2789
  * @abstract
3306
2790
  */
3307
2791
  class GridsterItemComponentInterface {
3308
- }
3309
- if (false) {
3310
- /** @type {?} */
3311
- GridsterItemComponentInterface.prototype.item;
3312
- /** @type {?} */
3313
- GridsterItemComponentInterface.prototype.$item;
3314
- /** @type {?} */
3315
- GridsterItemComponentInterface.prototype.top;
3316
- /** @type {?} */
3317
- GridsterItemComponentInterface.prototype.left;
3318
- /** @type {?} */
3319
- GridsterItemComponentInterface.prototype.width;
3320
- /** @type {?} */
3321
- GridsterItemComponentInterface.prototype.height;
3322
- /** @type {?} */
3323
- GridsterItemComponentInterface.prototype.drag;
3324
- /** @type {?} */
3325
- GridsterItemComponentInterface.prototype.resize;
3326
- /** @type {?} */
3327
- GridsterItemComponentInterface.prototype.notPlaced;
3328
- /** @type {?} */
3329
- GridsterItemComponentInterface.prototype.updateOptions;
3330
- /** @type {?} */
3331
- GridsterItemComponentInterface.prototype.itemChanged;
3332
- /** @type {?} */
3333
- GridsterItemComponentInterface.prototype.setSize;
3334
- /** @type {?} */
3335
- GridsterItemComponentInterface.prototype.checkItemChanges;
3336
- /** @type {?} */
3337
- GridsterItemComponentInterface.prototype.canBeDragged;
3338
- /** @type {?} */
3339
- GridsterItemComponentInterface.prototype.canBeResized;
3340
- /** @type {?} */
3341
- GridsterItemComponentInterface.prototype.el;
3342
- /** @type {?} */
3343
- GridsterItemComponentInterface.prototype.gridster;
3344
- /** @type {?} */
3345
- GridsterItemComponentInterface.prototype.renderer;
3346
2792
  }
3347
2793
 
3348
2794
  /**
3349
2795
  * @fileoverview added by tsickle
3350
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2796
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3351
2797
  */
3352
2798
  class GridsterSwap {
3353
2799
  /**
@@ -3458,28 +2904,11 @@ GridsterSwap.decorators = [
3458
2904
  /** @nocollapse */
3459
2905
  GridsterSwap.ctorParameters = () => [
3460
2906
  { type: GridsterItemComponentInterface }
3461
- ];
3462
- if (false) {
3463
- /**
3464
- * @type {?}
3465
- * @private
3466
- */
3467
- GridsterSwap.prototype.swapedItem;
3468
- /**
3469
- * @type {?}
3470
- * @private
3471
- */
3472
- GridsterSwap.prototype.gridsterItem;
3473
- /**
3474
- * @type {?}
3475
- * @private
3476
- */
3477
- GridsterSwap.prototype.gridster;
3478
- }
2907
+ ];
3479
2908
 
3480
2909
  /**
3481
2910
  * @fileoverview added by tsickle
3482
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2911
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3483
2912
  */
3484
2913
  /** @type {?} */
3485
2914
  let scrollSensitivity;
@@ -3674,7 +3103,7 @@ function cancelN() {
3674
3103
 
3675
3104
  /**
3676
3105
  * @fileoverview added by tsickle
3677
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3106
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3678
3107
  */
3679
3108
  class GridsterPush {
3680
3109
  /**
@@ -4085,61 +3514,11 @@ GridsterPush.decorators = [
4085
3514
  /** @nocollapse */
4086
3515
  GridsterPush.ctorParameters = () => [
4087
3516
  { type: GridsterItemComponentInterface }
4088
- ];
4089
- if (false) {
4090
- /** @type {?} */
4091
- GridsterPush.prototype.fromSouth;
4092
- /** @type {?} */
4093
- GridsterPush.prototype.fromNorth;
4094
- /** @type {?} */
4095
- GridsterPush.prototype.fromEast;
4096
- /** @type {?} */
4097
- GridsterPush.prototype.fromWest;
4098
- /**
4099
- * @type {?}
4100
- * @private
4101
- */
4102
- GridsterPush.prototype.pushedItems;
4103
- /**
4104
- * @type {?}
4105
- * @private
4106
- */
4107
- GridsterPush.prototype.pushedItemsTemp;
4108
- /**
4109
- * @type {?}
4110
- * @private
4111
- */
4112
- GridsterPush.prototype.pushedItemsTempPath;
4113
- /**
4114
- * @type {?}
4115
- * @private
4116
- */
4117
- GridsterPush.prototype.pushedItemsPath;
4118
- /**
4119
- * @type {?}
4120
- * @private
4121
- */
4122
- GridsterPush.prototype.gridsterItem;
4123
- /**
4124
- * @type {?}
4125
- * @private
4126
- */
4127
- GridsterPush.prototype.gridster;
4128
- /**
4129
- * @type {?}
4130
- * @private
4131
- */
4132
- GridsterPush.prototype.pushedItemsOrder;
4133
- /**
4134
- * @type {?}
4135
- * @private
4136
- */
4137
- GridsterPush.prototype.tryPattern;
4138
- }
3517
+ ];
4139
3518
 
4140
3519
  /**
4141
3520
  * @fileoverview added by tsickle
4142
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3521
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4143
3522
  */
4144
3523
  class GridsterDraggable {
4145
3524
  /**
@@ -4417,10 +3796,6 @@ class GridsterDraggable {
4417
3796
  this.gridsterItem.$item.cols = itemColsbackup;
4418
3797
  this.gridsterItem.$item.rows = itemRowsbackup;
4419
3798
  }
4420
- else {
4421
- // this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
4422
- // this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
4423
- }
4424
3799
  return this.gridsterItem.$item;
4425
3800
  }
4426
3801
  /**
@@ -4565,84 +3940,11 @@ GridsterDraggable.ctorParameters = () => [
4565
3940
  { type: GridsterItemComponentInterface },
4566
3941
  { type: GridsterComponentInterface },
4567
3942
  { type: NgZone }
4568
- ];
4569
- if (false) {
4570
- /** @type {?} */
4571
- GridsterDraggable.prototype.gridsterItem;
4572
- /** @type {?} */
4573
- GridsterDraggable.prototype.gridster;
4574
- /** @type {?} */
4575
- GridsterDraggable.prototype.lastMouse;
4576
- /** @type {?} */
4577
- GridsterDraggable.prototype.offsetLeft;
4578
- /** @type {?} */
4579
- GridsterDraggable.prototype.offsetTop;
4580
- /** @type {?} */
4581
- GridsterDraggable.prototype.margin;
4582
- /** @type {?} */
4583
- GridsterDraggable.prototype.diffTop;
4584
- /** @type {?} */
4585
- GridsterDraggable.prototype.diffLeft;
4586
- /** @type {?} */
4587
- GridsterDraggable.prototype.top;
4588
- /** @type {?} */
4589
- GridsterDraggable.prototype.left;
4590
- /** @type {?} */
4591
- GridsterDraggable.prototype.height;
4592
- /** @type {?} */
4593
- GridsterDraggable.prototype.width;
4594
- /** @type {?} */
4595
- GridsterDraggable.prototype.positionX;
4596
- /** @type {?} */
4597
- GridsterDraggable.prototype.positionY;
4598
- /** @type {?} */
4599
- GridsterDraggable.prototype.positionXBackup;
4600
- /** @type {?} */
4601
- GridsterDraggable.prototype.positionYBackup;
4602
- /** @type {?} */
4603
- GridsterDraggable.prototype.enabled;
4604
- /** @type {?} */
4605
- GridsterDraggable.prototype.dragStartFunction;
4606
- /** @type {?} */
4607
- GridsterDraggable.prototype.dragFunction;
4608
- /** @type {?} */
4609
- GridsterDraggable.prototype.dragStopFunction;
4610
- /** @type {?} */
4611
- GridsterDraggable.prototype.mousemove;
4612
- /** @type {?} */
4613
- GridsterDraggable.prototype.mouseup;
4614
- /** @type {?} */
4615
- GridsterDraggable.prototype.mouseleave;
4616
- /** @type {?} */
4617
- GridsterDraggable.prototype.cancelOnBlur;
4618
- /** @type {?} */
4619
- GridsterDraggable.prototype.touchmove;
4620
- /** @type {?} */
4621
- GridsterDraggable.prototype.touchend;
4622
- /** @type {?} */
4623
- GridsterDraggable.prototype.touchcancel;
4624
- /** @type {?} */
4625
- GridsterDraggable.prototype.mousedown;
4626
- /** @type {?} */
4627
- GridsterDraggable.prototype.touchstart;
4628
- /** @type {?} */
4629
- GridsterDraggable.prototype.push;
4630
- /** @type {?} */
4631
- GridsterDraggable.prototype.swap;
4632
- /** @type {?} */
4633
- GridsterDraggable.prototype.path;
4634
- /** @type {?} */
4635
- GridsterDraggable.prototype.collision;
4636
- /**
4637
- * @type {?}
4638
- * @private
4639
- */
4640
- GridsterDraggable.prototype.zone;
4641
- }
3943
+ ];
4642
3944
 
4643
3945
  /**
4644
3946
  * @fileoverview added by tsickle
4645
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3947
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4646
3948
  */
4647
3949
  class GridsterPushResize {
4648
3950
  /**
@@ -4958,46 +4260,11 @@ GridsterPushResize.decorators = [
4958
4260
  /** @nocollapse */
4959
4261
  GridsterPushResize.ctorParameters = () => [
4960
4262
  { type: GridsterItemComponentInterface }
4961
- ];
4962
- if (false) {
4963
- /** @type {?} */
4964
- GridsterPushResize.prototype.fromSouth;
4965
- /** @type {?} */
4966
- GridsterPushResize.prototype.fromNorth;
4967
- /** @type {?} */
4968
- GridsterPushResize.prototype.fromEast;
4969
- /** @type {?} */
4970
- GridsterPushResize.prototype.fromWest;
4971
- /**
4972
- * @type {?}
4973
- * @private
4974
- */
4975
- GridsterPushResize.prototype.pushedItems;
4976
- /**
4977
- * @type {?}
4978
- * @private
4979
- */
4980
- GridsterPushResize.prototype.pushedItemsPath;
4981
- /**
4982
- * @type {?}
4983
- * @private
4984
- */
4985
- GridsterPushResize.prototype.gridsterItem;
4986
- /**
4987
- * @type {?}
4988
- * @private
4989
- */
4990
- GridsterPushResize.prototype.gridster;
4991
- /**
4992
- * @type {?}
4993
- * @private
4994
- */
4995
- GridsterPushResize.prototype.tryPattern;
4996
- }
4263
+ ];
4997
4264
 
4998
4265
  /**
4999
4266
  * @fileoverview added by tsickle
5000
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4267
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5001
4268
  */
5002
4269
  class GridsterResizable {
5003
4270
  /**
@@ -5463,86 +4730,11 @@ GridsterResizable.ctorParameters = () => [
5463
4730
  { type: GridsterItemComponentInterface },
5464
4731
  { type: GridsterComponentInterface },
5465
4732
  { type: NgZone }
5466
- ];
5467
- if (false) {
5468
- /** @type {?} */
5469
- GridsterResizable.prototype.gridsterItem;
5470
- /** @type {?} */
5471
- GridsterResizable.prototype.gridster;
5472
- /** @type {?} */
5473
- GridsterResizable.prototype.lastMouse;
5474
- /** @type {?} */
5475
- GridsterResizable.prototype.itemBackup;
5476
- /** @type {?} */
5477
- GridsterResizable.prototype.resizeEventScrollType;
5478
- /** @type {?} */
5479
- GridsterResizable.prototype.directionFunction;
5480
- /** @type {?} */
5481
- GridsterResizable.prototype.dragFunction;
5482
- /** @type {?} */
5483
- GridsterResizable.prototype.dragStopFunction;
5484
- /** @type {?} */
5485
- GridsterResizable.prototype.resizeEnabled;
5486
- /** @type {?} */
5487
- GridsterResizable.prototype.mousemove;
5488
- /** @type {?} */
5489
- GridsterResizable.prototype.mouseup;
5490
- /** @type {?} */
5491
- GridsterResizable.prototype.mouseleave;
5492
- /** @type {?} */
5493
- GridsterResizable.prototype.cancelOnBlur;
5494
- /** @type {?} */
5495
- GridsterResizable.prototype.touchmove;
5496
- /** @type {?} */
5497
- GridsterResizable.prototype.touchend;
5498
- /** @type {?} */
5499
- GridsterResizable.prototype.touchcancel;
5500
- /** @type {?} */
5501
- GridsterResizable.prototype.push;
5502
- /** @type {?} */
5503
- GridsterResizable.prototype.pushResize;
5504
- /** @type {?} */
5505
- GridsterResizable.prototype.minHeight;
5506
- /** @type {?} */
5507
- GridsterResizable.prototype.minWidth;
5508
- /** @type {?} */
5509
- GridsterResizable.prototype.offsetTop;
5510
- /** @type {?} */
5511
- GridsterResizable.prototype.offsetLeft;
5512
- /** @type {?} */
5513
- GridsterResizable.prototype.diffTop;
5514
- /** @type {?} */
5515
- GridsterResizable.prototype.diffLeft;
5516
- /** @type {?} */
5517
- GridsterResizable.prototype.diffRight;
5518
- /** @type {?} */
5519
- GridsterResizable.prototype.diffBottom;
5520
- /** @type {?} */
5521
- GridsterResizable.prototype.margin;
5522
- /** @type {?} */
5523
- GridsterResizable.prototype.top;
5524
- /** @type {?} */
5525
- GridsterResizable.prototype.left;
5526
- /** @type {?} */
5527
- GridsterResizable.prototype.bottom;
5528
- /** @type {?} */
5529
- GridsterResizable.prototype.right;
5530
- /** @type {?} */
5531
- GridsterResizable.prototype.width;
5532
- /** @type {?} */
5533
- GridsterResizable.prototype.height;
5534
- /** @type {?} */
5535
- GridsterResizable.prototype.newPosition;
5536
- /**
5537
- * @type {?}
5538
- * @private
5539
- */
5540
- GridsterResizable.prototype.zone;
5541
- }
4733
+ ];
5542
4734
 
5543
4735
  /**
5544
4736
  * @fileoverview added by tsickle
5545
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4737
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5546
4738
  */
5547
4739
  class GridsterItemComponent {
5548
4740
  /**
@@ -5713,44 +4905,11 @@ GridsterItemComponent.ctorParameters = () => [
5713
4905
  ];
5714
4906
  GridsterItemComponent.propDecorators = {
5715
4907
  item: [{ type: Input }]
5716
- };
5717
- if (false) {
5718
- /** @type {?} */
5719
- GridsterItemComponent.prototype.item;
5720
- /** @type {?} */
5721
- GridsterItemComponent.prototype.$item;
5722
- /** @type {?} */
5723
- GridsterItemComponent.prototype.el;
5724
- /** @type {?} */
5725
- GridsterItemComponent.prototype.gridster;
5726
- /** @type {?} */
5727
- GridsterItemComponent.prototype.top;
5728
- /** @type {?} */
5729
- GridsterItemComponent.prototype.left;
5730
- /** @type {?} */
5731
- GridsterItemComponent.prototype.width;
5732
- /** @type {?} */
5733
- GridsterItemComponent.prototype.height;
5734
- /** @type {?} */
5735
- GridsterItemComponent.prototype.drag;
5736
- /** @type {?} */
5737
- GridsterItemComponent.prototype.resize;
5738
- /** @type {?} */
5739
- GridsterItemComponent.prototype.notPlaced;
5740
- /** @type {?} */
5741
- GridsterItemComponent.prototype.init;
5742
- /** @type {?} */
5743
- GridsterItemComponent.prototype.renderer;
5744
- /**
5745
- * @type {?}
5746
- * @private
5747
- */
5748
- GridsterItemComponent.prototype.zone;
5749
- }
4908
+ };
5750
4909
 
5751
4910
  /**
5752
4911
  * @fileoverview added by tsickle
5753
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4912
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5754
4913
  */
5755
4914
  class GridsterPreviewComponent {
5756
4915
  /**
@@ -5802,19 +4961,11 @@ GridsterPreviewComponent.ctorParameters = () => [
5802
4961
  { type: ElementRef },
5803
4962
  { type: GridsterComponent, decorators: [{ type: Host }] },
5804
4963
  { type: Renderer2 }
5805
- ];
5806
- if (false) {
5807
- /** @type {?} */
5808
- GridsterPreviewComponent.prototype.el;
5809
- /** @type {?} */
5810
- GridsterPreviewComponent.prototype.gridster;
5811
- /** @type {?} */
5812
- GridsterPreviewComponent.prototype.renderer;
5813
- }
4964
+ ];
5814
4965
 
5815
4966
  /**
5816
4967
  * @fileoverview added by tsickle
5817
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4968
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5818
4969
  */
5819
4970
  class GridsterModule {
5820
4971
  }
@@ -5836,7 +4987,7 @@ GridsterModule.decorators = [
5836
4987
 
5837
4988
  /**
5838
4989
  * @fileoverview added by tsickle
5839
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4990
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5840
4991
  */
5841
4992
  /** @type {?} */
5842
4993
  const DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
@@ -5874,7 +5025,7 @@ DashboardFrameworkModule.decorators = [
5874
5025
 
5875
5026
  /**
5876
5027
  * @fileoverview added by tsickle
5877
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5028
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5878
5029
  */
5879
5030
  /**
5880
5031
  * @abstract
@@ -5916,35 +5067,11 @@ RaBaseDashboardTemplate.propDecorators = {
5916
5067
  dashboardId: [{ type: Input, args: ['dashboard-id',] }],
5917
5068
  globalFilter: [{ type: Input, args: ['global-filter',] }],
5918
5069
  initialize: [{ type: Input }]
5919
- };
5920
- if (false) {
5921
- /** @type {?} */
5922
- RaBaseDashboardTemplate.prototype.userDashboardId;
5923
- /** @type {?} */
5924
- RaBaseDashboardTemplate.prototype.raDashboardEventBus;
5925
- /** @type {?} */
5926
- RaBaseDashboardTemplate.prototype.appConfig;
5927
- /** @type {?} */
5928
- RaBaseDashboardTemplate.prototype.dashboardId;
5929
- /** @type {?} */
5930
- RaBaseDashboardTemplate.prototype.globalFilter;
5931
- /** @type {?} */
5932
- RaBaseDashboardTemplate.prototype.initialize;
5933
- /**
5934
- * @type {?}
5935
- * @private
5936
- */
5937
- RaBaseDashboardTemplate.prototype.ngZone;
5938
- /**
5939
- * @abstract
5940
- * @return {?}
5941
- */
5942
- RaBaseDashboardTemplate.prototype.init = function () { };
5943
- }
5070
+ };
5944
5071
 
5945
5072
  /**
5946
5073
  * @fileoverview added by tsickle
5947
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5074
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5948
5075
  */
5949
5076
  /**
5950
5077
  * @abstract
@@ -5962,29 +5089,7 @@ class RaBaseDashboardFilter {
5962
5089
  }
5963
5090
  RaBaseDashboardFilter.propDecorators = {
5964
5091
  getAllFilterConfig: [{ type: Input }]
5965
- };
5966
- if (false) {
5967
- /**
5968
- * @type {?}
5969
- * @private
5970
- */
5971
- RaBaseDashboardFilter.prototype.getAllFilterConfig;
5972
- /**
5973
- * @abstract
5974
- * @return {?}
5975
- */
5976
- RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
5977
- }
5978
-
5979
- /**
5980
- * @fileoverview added by tsickle
5981
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5982
- */
5983
-
5984
- /**
5985
- * @fileoverview added by tsickle
5986
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5987
- */
5092
+ };
5988
5093
 
5989
5094
  export { DashboardFrameworkModule, RADashboardArea, RADashboardEventBus, RAEvent, RAEventKey, RAWidgetContainer, RaBaseDashboardFilter, RaBaseDashboardTemplate, RaDashboardService, GridsterModule as ɵa, GridsterComponent as ɵb, GridsterItemComponent as ɵc, GridsterPreviewComponent as ɵd, customNotifierOptions as ɵe };
5990
5095
  //# sourceMappingURL=schneideress-dashboardframework.js.map