@schneideress/dashboardframework 0.0.52 → 0.0.53
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 +1126 -67
- 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/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 +6 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +28 -7
- 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.service.js +1 -1
- package/esm2015/lib/ra.event.enum.js +1 -1
- package/esm2015/lib/ra.gridster.config.js +17 -17
- 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 +6 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +48 -6
- 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.service.js +1 -1
- package/esm5/lib/ra.event.enum.js +1 -1
- package/esm5/lib/ra.gridster.config.js +17 -17
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +994 -66
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1017 -68
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +3 -0
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends, __awaiter, __generator, __assign } from 'tslib';
|
|
2
|
-
import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, NgZone, Input, ViewChild, Output,
|
|
2
|
+
import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, NgZone, Input, EventEmitter, ViewChild, Output, ViewEncapsulation, ElementRef, Renderer2, ChangeDetectorRef, Host, NgModule } from '@angular/core';
|
|
3
3
|
import { of, Subject } from 'rxjs';
|
|
4
4
|
import { BaseService } from '@schneideress/ess-util';
|
|
5
5
|
import { filter, map } from 'rxjs/operators';
|
|
@@ -13,7 +13,7 @@ import { CommonModule } from '@angular/common';
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @fileoverview added by tsickle
|
|
16
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
16
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
17
17
|
*/
|
|
18
18
|
var RaDashboardService = /** @class */ (function (_super) {
|
|
19
19
|
__extends(RaDashboardService, _super);
|
|
@@ -217,11 +217,18 @@ var RaDashboardService = /** @class */ (function (_super) {
|
|
|
217
217
|
]; };
|
|
218
218
|
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
219
219
|
return RaDashboardService;
|
|
220
|
-
}(BaseService));
|
|
220
|
+
}(BaseService));
|
|
221
|
+
if (false) {
|
|
222
|
+
/**
|
|
223
|
+
* @type {?}
|
|
224
|
+
* @private
|
|
225
|
+
*/
|
|
226
|
+
RaDashboardService.prototype.loadedScripts;
|
|
227
|
+
}
|
|
221
228
|
|
|
222
229
|
/**
|
|
223
230
|
* @fileoverview added by tsickle
|
|
224
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
231
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
225
232
|
*/
|
|
226
233
|
var RADashboardEventBus = /** @class */ (function () {
|
|
227
234
|
function RADashboardEventBus() {
|
|
@@ -330,11 +337,18 @@ var RADashboardEventBus = /** @class */ (function () {
|
|
|
330
337
|
];
|
|
331
338
|
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
332
339
|
return RADashboardEventBus;
|
|
333
|
-
}());
|
|
340
|
+
}());
|
|
341
|
+
if (false) {
|
|
342
|
+
/**
|
|
343
|
+
* @type {?}
|
|
344
|
+
* @private
|
|
345
|
+
*/
|
|
346
|
+
RADashboardEventBus.prototype.eventQueue;
|
|
347
|
+
}
|
|
334
348
|
|
|
335
349
|
/**
|
|
336
350
|
* @fileoverview added by tsickle
|
|
337
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
351
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
338
352
|
*/
|
|
339
353
|
/** @enum {string} */
|
|
340
354
|
var RAEvent = {
|
|
@@ -381,7 +395,7 @@ var RAEventKey = {
|
|
|
381
395
|
|
|
382
396
|
/**
|
|
383
397
|
* @fileoverview added by tsickle
|
|
384
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
398
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
385
399
|
*/
|
|
386
400
|
/** @enum {string} */
|
|
387
401
|
var GridType = {
|
|
@@ -408,38 +422,223 @@ var CompactType = {
|
|
|
408
422
|
CompactRight: 'compactRight',
|
|
409
423
|
CompactUpAndRight: 'compactUp&Right',
|
|
410
424
|
CompactRightAndUp: 'compactRight&Up',
|
|
411
|
-
};
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @record
|
|
428
|
+
*/
|
|
429
|
+
function GridsterConfig() { }
|
|
430
|
+
if (false) {
|
|
431
|
+
/** @type {?|undefined} */
|
|
432
|
+
GridsterConfig.prototype.gridType;
|
|
433
|
+
/** @type {?|undefined} */
|
|
434
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
435
|
+
/** @type {?|undefined} */
|
|
436
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
437
|
+
/** @type {?|undefined} */
|
|
438
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
439
|
+
/** @type {?|undefined} */
|
|
440
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
441
|
+
/** @type {?|undefined} */
|
|
442
|
+
GridsterConfig.prototype.setGridSize;
|
|
443
|
+
/** @type {?|undefined} */
|
|
444
|
+
GridsterConfig.prototype.compactType;
|
|
445
|
+
/** @type {?|undefined} */
|
|
446
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
447
|
+
/** @type {?|undefined} */
|
|
448
|
+
GridsterConfig.prototype.minCols;
|
|
449
|
+
/** @type {?|undefined} */
|
|
450
|
+
GridsterConfig.prototype.maxCols;
|
|
451
|
+
/** @type {?|undefined} */
|
|
452
|
+
GridsterConfig.prototype.minRows;
|
|
453
|
+
/** @type {?|undefined} */
|
|
454
|
+
GridsterConfig.prototype.maxRows;
|
|
455
|
+
/** @type {?|undefined} */
|
|
456
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
457
|
+
/** @type {?|undefined} */
|
|
458
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
459
|
+
/** @type {?|undefined} */
|
|
460
|
+
GridsterConfig.prototype.maxItemCols;
|
|
461
|
+
/** @type {?|undefined} */
|
|
462
|
+
GridsterConfig.prototype.maxItemRows;
|
|
463
|
+
/** @type {?|undefined} */
|
|
464
|
+
GridsterConfig.prototype.minItemCols;
|
|
465
|
+
/** @type {?|undefined} */
|
|
466
|
+
GridsterConfig.prototype.minItemRows;
|
|
467
|
+
/** @type {?|undefined} */
|
|
468
|
+
GridsterConfig.prototype.minItemArea;
|
|
469
|
+
/** @type {?|undefined} */
|
|
470
|
+
GridsterConfig.prototype.maxItemArea;
|
|
471
|
+
/** @type {?|undefined} */
|
|
472
|
+
GridsterConfig.prototype.margin;
|
|
473
|
+
/** @type {?|undefined} */
|
|
474
|
+
GridsterConfig.prototype.outerMargin;
|
|
475
|
+
/** @type {?|undefined} */
|
|
476
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
477
|
+
/** @type {?|undefined} */
|
|
478
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
479
|
+
/** @type {?|undefined} */
|
|
480
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
481
|
+
/** @type {?|undefined} */
|
|
482
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
483
|
+
/** @type {?|undefined} */
|
|
484
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
485
|
+
/** @type {?|undefined} */
|
|
486
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
487
|
+
/** @type {?|undefined} */
|
|
488
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
489
|
+
/** @type {?|undefined} */
|
|
490
|
+
GridsterConfig.prototype.initCallback;
|
|
491
|
+
/** @type {?|undefined} */
|
|
492
|
+
GridsterConfig.prototype.destroyCallback;
|
|
493
|
+
/** @type {?|undefined} */
|
|
494
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
495
|
+
/** @type {?|undefined} */
|
|
496
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
497
|
+
/** @type {?|undefined} */
|
|
498
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
499
|
+
/** @type {?|undefined} */
|
|
500
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
501
|
+
/** @type {?|undefined} */
|
|
502
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
503
|
+
/** @type {?|undefined} */
|
|
504
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
505
|
+
/** @type {?|undefined} */
|
|
506
|
+
GridsterConfig.prototype.draggable;
|
|
507
|
+
/** @type {?|undefined} */
|
|
508
|
+
GridsterConfig.prototype.resizable;
|
|
509
|
+
/** @type {?|undefined} */
|
|
510
|
+
GridsterConfig.prototype.swap;
|
|
511
|
+
/** @type {?|undefined} */
|
|
512
|
+
GridsterConfig.prototype.pushItems;
|
|
513
|
+
/** @type {?|undefined} */
|
|
514
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
515
|
+
/** @type {?|undefined} */
|
|
516
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
517
|
+
/** @type {?|undefined} */
|
|
518
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
519
|
+
/** @type {?|undefined} */
|
|
520
|
+
GridsterConfig.prototype.pushDirections;
|
|
521
|
+
/** @type {?|undefined} */
|
|
522
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
523
|
+
/** @type {?|undefined} */
|
|
524
|
+
GridsterConfig.prototype.displayGrid;
|
|
525
|
+
/** @type {?|undefined} */
|
|
526
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
527
|
+
/** @type {?|undefined} */
|
|
528
|
+
GridsterConfig.prototype.disableWarnings;
|
|
529
|
+
/** @type {?|undefined} */
|
|
530
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
531
|
+
/** @type {?|undefined} */
|
|
532
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
533
|
+
/** @type {?|undefined} */
|
|
534
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
535
|
+
/** @type {?|undefined} */
|
|
536
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
537
|
+
/** @type {?|undefined} */
|
|
538
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
539
|
+
/** @type {?|undefined} */
|
|
540
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
541
|
+
/** @type {?|undefined} */
|
|
542
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
543
|
+
/** @type {?|undefined} */
|
|
544
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
545
|
+
/** @type {?|undefined} */
|
|
546
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
547
|
+
/** @type {?|undefined} */
|
|
548
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
549
|
+
/** @type {?|undefined} */
|
|
550
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
551
|
+
/** @type {?|undefined} */
|
|
552
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
553
|
+
/** @type {?|undefined} */
|
|
554
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
555
|
+
/** @type {?|undefined} */
|
|
556
|
+
GridsterConfig.prototype.api;
|
|
557
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* @record
|
|
561
|
+
*/
|
|
562
|
+
function DragBase() { }
|
|
563
|
+
if (false) {
|
|
564
|
+
/** @type {?|undefined} */
|
|
565
|
+
DragBase.prototype.enabled;
|
|
566
|
+
/** @type {?|undefined} */
|
|
567
|
+
DragBase.prototype.stop;
|
|
568
|
+
/** @type {?|undefined} */
|
|
569
|
+
DragBase.prototype.start;
|
|
570
|
+
/** @type {?|undefined} */
|
|
571
|
+
DragBase.prototype.delayStart;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* @record
|
|
575
|
+
*/
|
|
576
|
+
function Draggable() { }
|
|
577
|
+
if (false) {
|
|
578
|
+
/** @type {?|undefined} */
|
|
579
|
+
Draggable.prototype.ignoreContentClass;
|
|
580
|
+
/** @type {?|undefined} */
|
|
581
|
+
Draggable.prototype.ignoreContent;
|
|
582
|
+
/** @type {?|undefined} */
|
|
583
|
+
Draggable.prototype.dragHandleClass;
|
|
584
|
+
/** @type {?|undefined} */
|
|
585
|
+
Draggable.prototype.dropOverItems;
|
|
586
|
+
/** @type {?|undefined} */
|
|
587
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* @record
|
|
591
|
+
*/
|
|
592
|
+
function Resizable() { }
|
|
593
|
+
if (false) {
|
|
594
|
+
/** @type {?|undefined} */
|
|
595
|
+
Resizable.prototype.handles;
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* @record
|
|
599
|
+
*/
|
|
600
|
+
function PushDirections() { }
|
|
601
|
+
if (false) {
|
|
602
|
+
/** @type {?} */
|
|
603
|
+
PushDirections.prototype.north;
|
|
604
|
+
/** @type {?} */
|
|
605
|
+
PushDirections.prototype.east;
|
|
606
|
+
/** @type {?} */
|
|
607
|
+
PushDirections.prototype.south;
|
|
608
|
+
/** @type {?} */
|
|
609
|
+
PushDirections.prototype.west;
|
|
610
|
+
}
|
|
412
611
|
|
|
413
612
|
/**
|
|
414
613
|
* @fileoverview added by tsickle
|
|
415
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
614
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
416
615
|
*/
|
|
417
616
|
/** @type {?} */
|
|
418
617
|
var GridsterConfigDefaultSettings = {
|
|
419
618
|
gridType: GridType.ScrollVertical,
|
|
420
619
|
compactType: CompactType.None,
|
|
421
|
-
margin:
|
|
620
|
+
margin: 4,
|
|
422
621
|
outerMargin: true,
|
|
423
|
-
outerMarginTop: 10,
|
|
424
|
-
outerMarginRight: 10,
|
|
425
|
-
outerMarginBottom: 30,
|
|
426
|
-
outerMarginLeft: 10,
|
|
622
|
+
// outerMarginTop: 10,
|
|
623
|
+
// outerMarginRight: 10,
|
|
624
|
+
// outerMarginBottom: 30,
|
|
625
|
+
// outerMarginLeft: 10,
|
|
427
626
|
useTransformPositioning: true,
|
|
428
627
|
mobileBreakpoint: 640,
|
|
429
|
-
minCols:
|
|
430
|
-
maxCols:
|
|
628
|
+
minCols: 100,
|
|
629
|
+
maxCols: 100,
|
|
431
630
|
minRows: 20,
|
|
432
631
|
maxRows: 2000,
|
|
433
|
-
maxItemCols:
|
|
434
|
-
minItemCols:
|
|
632
|
+
maxItemCols: 100,
|
|
633
|
+
minItemCols: 20,
|
|
435
634
|
maxItemRows: 100,
|
|
436
|
-
minItemRows:
|
|
635
|
+
minItemRows: 20,
|
|
437
636
|
maxItemArea: 250000,
|
|
438
|
-
minItemArea:
|
|
439
|
-
defaultItemCols:
|
|
440
|
-
defaultItemRows:
|
|
441
|
-
fixedColWidth: 105,
|
|
442
|
-
fixedRowHeight: 105,
|
|
637
|
+
minItemArea: 400,
|
|
638
|
+
defaultItemCols: 20,
|
|
639
|
+
defaultItemRows: 20,
|
|
640
|
+
// fixedColWidth: 105,
|
|
641
|
+
// fixedRowHeight: 105,
|
|
443
642
|
keepFixedHeightInMobile: false,
|
|
444
643
|
keepFixedWidthInMobile: false,
|
|
445
644
|
scrollSensitivity: 10,
|
|
@@ -474,7 +673,7 @@ var GridsterConfigDefaultSettings = {
|
|
|
474
673
|
|
|
475
674
|
/**
|
|
476
675
|
* @fileoverview added by tsickle
|
|
477
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
676
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
478
677
|
*/
|
|
479
678
|
var RADashboardArea = /** @class */ (function () {
|
|
480
679
|
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier) {
|
|
@@ -786,6 +985,10 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
786
985
|
if (!isalertDisabled) {
|
|
787
986
|
this.notifier.notify('success', " " + this.translateService.translate('Widget') + " [" + widget[0].widgetInfo.widgetTitle + "] " + this.translateService.translate('DeletedSuccesfully') + " ");
|
|
788
987
|
}
|
|
988
|
+
this.options.compactType = 'compactLeft&Up';
|
|
989
|
+
this.options.api.optionsChanged();
|
|
990
|
+
this.options.compactType = 'none';
|
|
991
|
+
this.options.api.optionsChanged();
|
|
789
992
|
}
|
|
790
993
|
};
|
|
791
994
|
/**To add widget instance to the database with the next available position and to make changes in
|
|
@@ -970,11 +1173,83 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
970
1173
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
971
1174
|
};
|
|
972
1175
|
return RADashboardArea;
|
|
973
|
-
}());
|
|
1176
|
+
}());
|
|
1177
|
+
if (false) {
|
|
1178
|
+
/** @type {?} */
|
|
1179
|
+
RADashboardArea.prototype.widgetList;
|
|
1180
|
+
/** @type {?} */
|
|
1181
|
+
RADashboardArea.prototype.options;
|
|
1182
|
+
/** @type {?} */
|
|
1183
|
+
RADashboardArea.prototype.gridheight;
|
|
1184
|
+
/**
|
|
1185
|
+
* @type {?}
|
|
1186
|
+
* @private
|
|
1187
|
+
*/
|
|
1188
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
1189
|
+
/**
|
|
1190
|
+
* @type {?}
|
|
1191
|
+
* @private
|
|
1192
|
+
*/
|
|
1193
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
1194
|
+
/**
|
|
1195
|
+
* @type {?}
|
|
1196
|
+
* @private
|
|
1197
|
+
*/
|
|
1198
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
1199
|
+
/**
|
|
1200
|
+
* @type {?}
|
|
1201
|
+
* @private
|
|
1202
|
+
*/
|
|
1203
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
1204
|
+
/**
|
|
1205
|
+
* @type {?}
|
|
1206
|
+
* @private
|
|
1207
|
+
*/
|
|
1208
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
1209
|
+
/** @type {?} */
|
|
1210
|
+
RADashboardArea.prototype.userDashboardId;
|
|
1211
|
+
/** @type {?} */
|
|
1212
|
+
RADashboardArea.prototype.areaKey;
|
|
1213
|
+
/** @type {?} */
|
|
1214
|
+
RADashboardArea.prototype.globalFilter;
|
|
1215
|
+
/** @type {?} */
|
|
1216
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1217
|
+
/** @type {?} */
|
|
1218
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1219
|
+
/** @type {?} */
|
|
1220
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1221
|
+
/** @type {?} */
|
|
1222
|
+
RADashboardArea.prototype.appConfig;
|
|
1223
|
+
/**
|
|
1224
|
+
* @type {?}
|
|
1225
|
+
* @private
|
|
1226
|
+
*/
|
|
1227
|
+
RADashboardArea.prototype.dashboardService;
|
|
1228
|
+
/**
|
|
1229
|
+
* @type {?}
|
|
1230
|
+
* @private
|
|
1231
|
+
*/
|
|
1232
|
+
RADashboardArea.prototype.ngZone;
|
|
1233
|
+
/**
|
|
1234
|
+
* @type {?}
|
|
1235
|
+
* @private
|
|
1236
|
+
*/
|
|
1237
|
+
RADashboardArea.prototype.ngxService;
|
|
1238
|
+
/**
|
|
1239
|
+
* @type {?}
|
|
1240
|
+
* @private
|
|
1241
|
+
*/
|
|
1242
|
+
RADashboardArea.prototype.translateService;
|
|
1243
|
+
/**
|
|
1244
|
+
* @type {?}
|
|
1245
|
+
* @private
|
|
1246
|
+
*/
|
|
1247
|
+
RADashboardArea.prototype.notifier;
|
|
1248
|
+
}
|
|
974
1249
|
|
|
975
1250
|
/**
|
|
976
1251
|
* @fileoverview added by tsickle
|
|
977
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1252
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
978
1253
|
*/
|
|
979
1254
|
var RAWidgetContainer = /** @class */ (function () {
|
|
980
1255
|
function RAWidgetContainer(dashboardService, ngxService, translateService, ngZone, notifier) {
|
|
@@ -987,6 +1262,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
987
1262
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
988
1263
|
this.lockClass = "unlocked";
|
|
989
1264
|
this.lockStatus = "unlock";
|
|
1265
|
+
this.isDownloadIconVisible = false;
|
|
990
1266
|
this.widgetDeleted = new EventEmitter();
|
|
991
1267
|
}
|
|
992
1268
|
/**
|
|
@@ -1173,6 +1449,9 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1173
1449
|
widgetContainer.widgetElement.loadContent(widgetConfigFilter);
|
|
1174
1450
|
return [4 /*yield*/, widgetContainer.setLock(widgetConfigFilter.config)];
|
|
1175
1451
|
case 1:
|
|
1452
|
+
_a.sent();
|
|
1453
|
+
return [4 /*yield*/, widgetContainer.setDownloadIcon()];
|
|
1454
|
+
case 2:
|
|
1176
1455
|
_a.sent();
|
|
1177
1456
|
return [2 /*return*/];
|
|
1178
1457
|
}
|
|
@@ -1208,13 +1487,16 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1208
1487
|
appConfig: this.appConfig,
|
|
1209
1488
|
widgetInfo: widgetInfo
|
|
1210
1489
|
}));
|
|
1211
|
-
if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/,
|
|
1490
|
+
if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/, 3];
|
|
1212
1491
|
widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
|
|
1213
1492
|
return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
|
|
1214
1493
|
case 1:
|
|
1215
1494
|
_a.sent();
|
|
1216
|
-
|
|
1217
|
-
case 2:
|
|
1495
|
+
return [4 /*yield*/, this.setDownloadIcon()];
|
|
1496
|
+
case 2:
|
|
1497
|
+
_a.sent();
|
|
1498
|
+
_a.label = 3;
|
|
1499
|
+
case 3: return [2 /*return*/];
|
|
1218
1500
|
}
|
|
1219
1501
|
});
|
|
1220
1502
|
});
|
|
@@ -1264,10 +1546,43 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1264
1546
|
});
|
|
1265
1547
|
});
|
|
1266
1548
|
};
|
|
1549
|
+
/**
|
|
1550
|
+
* @private
|
|
1551
|
+
* @return {?}
|
|
1552
|
+
*/
|
|
1553
|
+
RAWidgetContainer.prototype.setDownloadIcon = /**
|
|
1554
|
+
* @private
|
|
1555
|
+
* @return {?}
|
|
1556
|
+
*/
|
|
1557
|
+
function () {
|
|
1558
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1559
|
+
var _a;
|
|
1560
|
+
return __generator(this, function (_b) {
|
|
1561
|
+
switch (_b.label) {
|
|
1562
|
+
case 0:
|
|
1563
|
+
_a = this;
|
|
1564
|
+
return [4 /*yield*/, this.widgetElement.isDownloadVisible()];
|
|
1565
|
+
case 1:
|
|
1566
|
+
_a.isDownloadIconVisible = _b.sent();
|
|
1567
|
+
this.isDownloadIconVisible = false; //temp. commented
|
|
1568
|
+
return [2 /*return*/];
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
});
|
|
1572
|
+
};
|
|
1573
|
+
/**
|
|
1574
|
+
* @return {?}
|
|
1575
|
+
*/
|
|
1576
|
+
RAWidgetContainer.prototype.downloadClicked = /**
|
|
1577
|
+
* @return {?}
|
|
1578
|
+
*/
|
|
1579
|
+
function () {
|
|
1580
|
+
this.widgetElement.isDownloadVisible();
|
|
1581
|
+
};
|
|
1267
1582
|
RAWidgetContainer.decorators = [
|
|
1268
1583
|
{ type: Component, args: [{
|
|
1269
1584
|
selector: 'ra-widget-container',
|
|
1270
|
-
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;\">\r\n <div style=\"display:flex\">\r\n <div class=\"col-md-11 float-left widget-move\" style=\"width:96%;padding-left: 0px;\">{{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\" >\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
|
|
1585
|
+
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;\">\r\n <div style=\"display:flex\">\r\n <div class=\"col-md-11 float-left widget-move\" style=\"width:96%;padding-left: 0px;\">{{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 *ngIf=\"isDownloadIconVisible\"> <i class=\"far fa-download\" (click)=\"downloadClicked\"></i></div>\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\" >\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
|
|
1271
1586
|
styles: [".wcheader{width:100%;height:46px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";font-size:16px;position:absolute;left:0;top:0;padding:15px 0 0}.wc-wrapper{height:100%;position:relative;margin:auto 15px}.wc-mover{cursor:all-scroll}.wcBody{width:100%;position:absolute;top:46px;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:2;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}"]
|
|
1272
1587
|
}] }
|
|
1273
1588
|
];
|
|
@@ -1291,11 +1606,84 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1291
1606
|
widgetDeleted: [{ type: Output }]
|
|
1292
1607
|
};
|
|
1293
1608
|
return RAWidgetContainer;
|
|
1294
|
-
}());
|
|
1609
|
+
}());
|
|
1610
|
+
if (false) {
|
|
1611
|
+
/**
|
|
1612
|
+
* @type {?}
|
|
1613
|
+
* @private
|
|
1614
|
+
*/
|
|
1615
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1616
|
+
/**
|
|
1617
|
+
* @type {?}
|
|
1618
|
+
* @private
|
|
1619
|
+
*/
|
|
1620
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1621
|
+
/**
|
|
1622
|
+
* @type {?}
|
|
1623
|
+
* @private
|
|
1624
|
+
*/
|
|
1625
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1626
|
+
/**
|
|
1627
|
+
* @type {?}
|
|
1628
|
+
* @private
|
|
1629
|
+
*/
|
|
1630
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1631
|
+
/** @type {?} */
|
|
1632
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1633
|
+
/** @type {?} */
|
|
1634
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1635
|
+
/** @type {?} */
|
|
1636
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1637
|
+
/** @type {?} */
|
|
1638
|
+
RAWidgetContainer.prototype.isDownloadIconVisible;
|
|
1639
|
+
/** @type {?} */
|
|
1640
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1641
|
+
/** @type {?} */
|
|
1642
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1643
|
+
/** @type {?} */
|
|
1644
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1645
|
+
/** @type {?} */
|
|
1646
|
+
RAWidgetContainer.prototype.data;
|
|
1647
|
+
/** @type {?} */
|
|
1648
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1649
|
+
/** @type {?} */
|
|
1650
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1651
|
+
/** @type {?} */
|
|
1652
|
+
RAWidgetContainer.prototype.width;
|
|
1653
|
+
/** @type {?} */
|
|
1654
|
+
RAWidgetContainer.prototype.height;
|
|
1655
|
+
/** @type {?} */
|
|
1656
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1657
|
+
/**
|
|
1658
|
+
* @type {?}
|
|
1659
|
+
* @private
|
|
1660
|
+
*/
|
|
1661
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1662
|
+
/**
|
|
1663
|
+
* @type {?}
|
|
1664
|
+
* @private
|
|
1665
|
+
*/
|
|
1666
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1667
|
+
/**
|
|
1668
|
+
* @type {?}
|
|
1669
|
+
* @private
|
|
1670
|
+
*/
|
|
1671
|
+
RAWidgetContainer.prototype.translateService;
|
|
1672
|
+
/**
|
|
1673
|
+
* @type {?}
|
|
1674
|
+
* @private
|
|
1675
|
+
*/
|
|
1676
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1677
|
+
/**
|
|
1678
|
+
* @type {?}
|
|
1679
|
+
* @private
|
|
1680
|
+
*/
|
|
1681
|
+
RAWidgetContainer.prototype.notifier;
|
|
1682
|
+
}
|
|
1295
1683
|
|
|
1296
1684
|
/**
|
|
1297
1685
|
* @fileoverview added by tsickle
|
|
1298
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1686
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1299
1687
|
*/
|
|
1300
1688
|
/** @type {?} */
|
|
1301
1689
|
var customNotifierOptions = {
|
|
@@ -1341,7 +1729,7 @@ var customNotifierOptions = {
|
|
|
1341
1729
|
|
|
1342
1730
|
/**
|
|
1343
1731
|
* @fileoverview added by tsickle
|
|
1344
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1732
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1345
1733
|
*/
|
|
1346
1734
|
/** @type {?} */
|
|
1347
1735
|
var GridsterConfigService = {
|
|
@@ -1519,7 +1907,7 @@ var GridsterConfigService = {
|
|
|
1519
1907
|
|
|
1520
1908
|
/**
|
|
1521
1909
|
* @fileoverview added by tsickle
|
|
1522
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1910
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1523
1911
|
*/
|
|
1524
1912
|
var GridsterUtils = /** @class */ (function () {
|
|
1525
1913
|
function GridsterUtils() {
|
|
@@ -1694,7 +2082,7 @@ var GridsterUtils = /** @class */ (function () {
|
|
|
1694
2082
|
|
|
1695
2083
|
/**
|
|
1696
2084
|
* @fileoverview added by tsickle
|
|
1697
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2085
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1698
2086
|
*/
|
|
1699
2087
|
/**
|
|
1700
2088
|
* @abstract
|
|
@@ -1706,11 +2094,85 @@ GridsterComponentInterface = /** @class */ (function () {
|
|
|
1706
2094
|
function GridsterComponentInterface() {
|
|
1707
2095
|
}
|
|
1708
2096
|
return GridsterComponentInterface;
|
|
1709
|
-
}());
|
|
2097
|
+
}());
|
|
2098
|
+
if (false) {
|
|
2099
|
+
/** @type {?} */
|
|
2100
|
+
GridsterComponentInterface.prototype.$options;
|
|
2101
|
+
/** @type {?} */
|
|
2102
|
+
GridsterComponentInterface.prototype.grid;
|
|
2103
|
+
/** @type {?} */
|
|
2104
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
2105
|
+
/** @type {?} */
|
|
2106
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
2107
|
+
/** @type {?} */
|
|
2108
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
2109
|
+
/** @type {?} */
|
|
2110
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
2111
|
+
/** @type {?} */
|
|
2112
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
2113
|
+
/** @type {?} */
|
|
2114
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
2115
|
+
/** @type {?} */
|
|
2116
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
2117
|
+
/** @type {?} */
|
|
2118
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
2119
|
+
/** @type {?} */
|
|
2120
|
+
GridsterComponentInterface.prototype.el;
|
|
2121
|
+
/** @type {?} */
|
|
2122
|
+
GridsterComponentInterface.prototype.renderer;
|
|
2123
|
+
/** @type {?} */
|
|
2124
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
2125
|
+
/** @type {?} */
|
|
2126
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
2127
|
+
/** @type {?} */
|
|
2128
|
+
GridsterComponentInterface.prototype.options;
|
|
2129
|
+
/** @type {?} */
|
|
2130
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
2131
|
+
/** @type {?} */
|
|
2132
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
2133
|
+
/** @type {?} */
|
|
2134
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
2135
|
+
/** @type {?} */
|
|
2136
|
+
GridsterComponentInterface.prototype.addItem;
|
|
2137
|
+
/** @type {?} */
|
|
2138
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
2139
|
+
/** @type {?} */
|
|
2140
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
2141
|
+
/** @type {?} */
|
|
2142
|
+
GridsterComponentInterface.prototype.mobile;
|
|
2143
|
+
/** @type {?} */
|
|
2144
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
2145
|
+
/** @type {?} */
|
|
2146
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
2147
|
+
/** @type {?} */
|
|
2148
|
+
GridsterComponentInterface.prototype.columns;
|
|
2149
|
+
/** @type {?} */
|
|
2150
|
+
GridsterComponentInterface.prototype.rows;
|
|
2151
|
+
/** @type {?} */
|
|
2152
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
2153
|
+
/** @type {?} */
|
|
2154
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
2155
|
+
/** @type {?} */
|
|
2156
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
2157
|
+
/** @type {?} */
|
|
2158
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
2159
|
+
/** @type {?} */
|
|
2160
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
2161
|
+
/** @type {?} */
|
|
2162
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
2163
|
+
/** @type {?} */
|
|
2164
|
+
GridsterComponentInterface.prototype.compact;
|
|
2165
|
+
/** @type {?} */
|
|
2166
|
+
GridsterComponentInterface.prototype.zone;
|
|
2167
|
+
/** @type {?} */
|
|
2168
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
2169
|
+
/** @type {?} */
|
|
2170
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
2171
|
+
}
|
|
1710
2172
|
|
|
1711
2173
|
/**
|
|
1712
2174
|
* @fileoverview added by tsickle
|
|
1713
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2175
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1714
2176
|
*/
|
|
1715
2177
|
var GridsterEmptyCell = /** @class */ (function () {
|
|
1716
2178
|
function GridsterEmptyCell(gridster) {
|
|
@@ -2027,11 +2489,44 @@ var GridsterEmptyCell = /** @class */ (function () {
|
|
|
2027
2489
|
{ type: GridsterComponentInterface }
|
|
2028
2490
|
]; };
|
|
2029
2491
|
return GridsterEmptyCell;
|
|
2030
|
-
}());
|
|
2492
|
+
}());
|
|
2493
|
+
if (false) {
|
|
2494
|
+
/** @type {?} */
|
|
2495
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2496
|
+
/** @type {?} */
|
|
2497
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2498
|
+
/** @type {?} */
|
|
2499
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2500
|
+
/** @type {?} */
|
|
2501
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2502
|
+
/** @type {?} */
|
|
2503
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2504
|
+
/** @type {?} */
|
|
2505
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2506
|
+
/** @type {?} */
|
|
2507
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2508
|
+
/** @type {?} */
|
|
2509
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2510
|
+
/** @type {?} */
|
|
2511
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2512
|
+
/** @type {?} */
|
|
2513
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2514
|
+
/** @type {?} */
|
|
2515
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2516
|
+
/** @type {?} */
|
|
2517
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2518
|
+
/** @type {?} */
|
|
2519
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2520
|
+
/**
|
|
2521
|
+
* @type {?}
|
|
2522
|
+
* @private
|
|
2523
|
+
*/
|
|
2524
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2525
|
+
}
|
|
2031
2526
|
|
|
2032
2527
|
/**
|
|
2033
2528
|
* @fileoverview added by tsickle
|
|
2034
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2529
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2035
2530
|
*/
|
|
2036
2531
|
var GridsterCompact = /** @class */ (function () {
|
|
2037
2532
|
function GridsterCompact(gridster) {
|
|
@@ -2269,11 +2764,18 @@ var GridsterCompact = /** @class */ (function () {
|
|
|
2269
2764
|
{ type: GridsterComponentInterface }
|
|
2270
2765
|
]; };
|
|
2271
2766
|
return GridsterCompact;
|
|
2272
|
-
}());
|
|
2767
|
+
}());
|
|
2768
|
+
if (false) {
|
|
2769
|
+
/**
|
|
2770
|
+
* @type {?}
|
|
2771
|
+
* @private
|
|
2772
|
+
*/
|
|
2773
|
+
GridsterCompact.prototype.gridster;
|
|
2774
|
+
}
|
|
2273
2775
|
|
|
2274
2776
|
/**
|
|
2275
2777
|
* @fileoverview added by tsickle
|
|
2276
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2778
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2277
2779
|
*/
|
|
2278
2780
|
var GridsterRenderer = /** @class */ (function () {
|
|
2279
2781
|
function GridsterRenderer(gridster) {
|
|
@@ -2580,11 +3082,18 @@ var GridsterRenderer = /** @class */ (function () {
|
|
|
2580
3082
|
{ type: GridsterComponentInterface }
|
|
2581
3083
|
]; };
|
|
2582
3084
|
return GridsterRenderer;
|
|
2583
|
-
}());
|
|
3085
|
+
}());
|
|
3086
|
+
if (false) {
|
|
3087
|
+
/**
|
|
3088
|
+
* @type {?}
|
|
3089
|
+
* @private
|
|
3090
|
+
*/
|
|
3091
|
+
GridsterRenderer.prototype.gridster;
|
|
3092
|
+
}
|
|
2584
3093
|
|
|
2585
3094
|
/**
|
|
2586
3095
|
* @fileoverview added by tsickle
|
|
2587
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3096
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2588
3097
|
*/
|
|
2589
3098
|
var GridsterComponent = /** @class */ (function () {
|
|
2590
3099
|
function GridsterComponent(el, renderer, cdRef, zone) {
|
|
@@ -2739,6 +3248,17 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
2739
3248
|
if (this.options.destroyCallback) {
|
|
2740
3249
|
this.options.destroyCallback(this);
|
|
2741
3250
|
}
|
|
3251
|
+
//if (this.options.api) {
|
|
3252
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
3253
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
3254
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
3255
|
+
*/
|
|
3256
|
+
if (false) {
|
|
3257
|
+
this.options.api.resize = undefined;
|
|
3258
|
+
this.options.api.optionsChanged = undefined;
|
|
3259
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
3260
|
+
this.options.api = undefined;
|
|
3261
|
+
}
|
|
2742
3262
|
this.emptyCell.destroy();
|
|
2743
3263
|
delete this.emptyCell;
|
|
2744
3264
|
this.compact.destroy();
|
|
@@ -3315,11 +3835,61 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
3315
3835
|
options: [{ type: Input }]
|
|
3316
3836
|
};
|
|
3317
3837
|
return GridsterComponent;
|
|
3318
|
-
}());
|
|
3838
|
+
}());
|
|
3839
|
+
if (false) {
|
|
3840
|
+
/** @type {?} */
|
|
3841
|
+
GridsterComponent.prototype.options;
|
|
3842
|
+
/** @type {?} */
|
|
3843
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3844
|
+
/** @type {?} */
|
|
3845
|
+
GridsterComponent.prototype.movingItem;
|
|
3846
|
+
/** @type {?} */
|
|
3847
|
+
GridsterComponent.prototype.previewStyle;
|
|
3848
|
+
/** @type {?} */
|
|
3849
|
+
GridsterComponent.prototype.el;
|
|
3850
|
+
/** @type {?} */
|
|
3851
|
+
GridsterComponent.prototype.$options;
|
|
3852
|
+
/** @type {?} */
|
|
3853
|
+
GridsterComponent.prototype.mobile;
|
|
3854
|
+
/** @type {?} */
|
|
3855
|
+
GridsterComponent.prototype.curWidth;
|
|
3856
|
+
/** @type {?} */
|
|
3857
|
+
GridsterComponent.prototype.curHeight;
|
|
3858
|
+
/** @type {?} */
|
|
3859
|
+
GridsterComponent.prototype.grid;
|
|
3860
|
+
/** @type {?} */
|
|
3861
|
+
GridsterComponent.prototype.columns;
|
|
3862
|
+
/** @type {?} */
|
|
3863
|
+
GridsterComponent.prototype.rows;
|
|
3864
|
+
/** @type {?} */
|
|
3865
|
+
GridsterComponent.prototype.curColWidth;
|
|
3866
|
+
/** @type {?} */
|
|
3867
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3868
|
+
/** @type {?} */
|
|
3869
|
+
GridsterComponent.prototype.gridColumns;
|
|
3870
|
+
/** @type {?} */
|
|
3871
|
+
GridsterComponent.prototype.gridRows;
|
|
3872
|
+
/** @type {?} */
|
|
3873
|
+
GridsterComponent.prototype.windowResize;
|
|
3874
|
+
/** @type {?} */
|
|
3875
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3876
|
+
/** @type {?} */
|
|
3877
|
+
GridsterComponent.prototype.emptyCell;
|
|
3878
|
+
/** @type {?} */
|
|
3879
|
+
GridsterComponent.prototype.compact;
|
|
3880
|
+
/** @type {?} */
|
|
3881
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3882
|
+
/** @type {?} */
|
|
3883
|
+
GridsterComponent.prototype.renderer;
|
|
3884
|
+
/** @type {?} */
|
|
3885
|
+
GridsterComponent.prototype.cdRef;
|
|
3886
|
+
/** @type {?} */
|
|
3887
|
+
GridsterComponent.prototype.zone;
|
|
3888
|
+
}
|
|
3319
3889
|
|
|
3320
3890
|
/**
|
|
3321
3891
|
* @fileoverview added by tsickle
|
|
3322
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3892
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3323
3893
|
*/
|
|
3324
3894
|
/**
|
|
3325
3895
|
* @abstract
|
|
@@ -3331,11 +3901,49 @@ GridsterItemComponentInterface = /** @class */ (function () {
|
|
|
3331
3901
|
function GridsterItemComponentInterface() {
|
|
3332
3902
|
}
|
|
3333
3903
|
return GridsterItemComponentInterface;
|
|
3334
|
-
}());
|
|
3904
|
+
}());
|
|
3905
|
+
if (false) {
|
|
3906
|
+
/** @type {?} */
|
|
3907
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3908
|
+
/** @type {?} */
|
|
3909
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3910
|
+
/** @type {?} */
|
|
3911
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3912
|
+
/** @type {?} */
|
|
3913
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3914
|
+
/** @type {?} */
|
|
3915
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3916
|
+
/** @type {?} */
|
|
3917
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3918
|
+
/** @type {?} */
|
|
3919
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3920
|
+
/** @type {?} */
|
|
3921
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3922
|
+
/** @type {?} */
|
|
3923
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3924
|
+
/** @type {?} */
|
|
3925
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3926
|
+
/** @type {?} */
|
|
3927
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3928
|
+
/** @type {?} */
|
|
3929
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3930
|
+
/** @type {?} */
|
|
3931
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3932
|
+
/** @type {?} */
|
|
3933
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3934
|
+
/** @type {?} */
|
|
3935
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3936
|
+
/** @type {?} */
|
|
3937
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3938
|
+
/** @type {?} */
|
|
3939
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3940
|
+
/** @type {?} */
|
|
3941
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
3942
|
+
}
|
|
3335
3943
|
|
|
3336
3944
|
/**
|
|
3337
3945
|
* @fileoverview added by tsickle
|
|
3338
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3946
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3339
3947
|
*/
|
|
3340
3948
|
var GridsterSwap = /** @class */ (function () {
|
|
3341
3949
|
function GridsterSwap(gridsterItem) {
|
|
@@ -3463,11 +4071,28 @@ var GridsterSwap = /** @class */ (function () {
|
|
|
3463
4071
|
{ type: GridsterItemComponentInterface }
|
|
3464
4072
|
]; };
|
|
3465
4073
|
return GridsterSwap;
|
|
3466
|
-
}());
|
|
4074
|
+
}());
|
|
4075
|
+
if (false) {
|
|
4076
|
+
/**
|
|
4077
|
+
* @type {?}
|
|
4078
|
+
* @private
|
|
4079
|
+
*/
|
|
4080
|
+
GridsterSwap.prototype.swapedItem;
|
|
4081
|
+
/**
|
|
4082
|
+
* @type {?}
|
|
4083
|
+
* @private
|
|
4084
|
+
*/
|
|
4085
|
+
GridsterSwap.prototype.gridsterItem;
|
|
4086
|
+
/**
|
|
4087
|
+
* @type {?}
|
|
4088
|
+
* @private
|
|
4089
|
+
*/
|
|
4090
|
+
GridsterSwap.prototype.gridster;
|
|
4091
|
+
}
|
|
3467
4092
|
|
|
3468
4093
|
/**
|
|
3469
4094
|
* @fileoverview added by tsickle
|
|
3470
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4095
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3471
4096
|
*/
|
|
3472
4097
|
/** @type {?} */
|
|
3473
4098
|
var scrollSensitivity;
|
|
@@ -3662,7 +4287,7 @@ function cancelN() {
|
|
|
3662
4287
|
|
|
3663
4288
|
/**
|
|
3664
4289
|
* @fileoverview added by tsickle
|
|
3665
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4290
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3666
4291
|
*/
|
|
3667
4292
|
var GridsterPush = /** @class */ (function () {
|
|
3668
4293
|
function GridsterPush(gridsterItem) {
|
|
@@ -4152,11 +4777,61 @@ var GridsterPush = /** @class */ (function () {
|
|
|
4152
4777
|
{ type: GridsterItemComponentInterface }
|
|
4153
4778
|
]; };
|
|
4154
4779
|
return GridsterPush;
|
|
4155
|
-
}());
|
|
4780
|
+
}());
|
|
4781
|
+
if (false) {
|
|
4782
|
+
/** @type {?} */
|
|
4783
|
+
GridsterPush.prototype.fromSouth;
|
|
4784
|
+
/** @type {?} */
|
|
4785
|
+
GridsterPush.prototype.fromNorth;
|
|
4786
|
+
/** @type {?} */
|
|
4787
|
+
GridsterPush.prototype.fromEast;
|
|
4788
|
+
/** @type {?} */
|
|
4789
|
+
GridsterPush.prototype.fromWest;
|
|
4790
|
+
/**
|
|
4791
|
+
* @type {?}
|
|
4792
|
+
* @private
|
|
4793
|
+
*/
|
|
4794
|
+
GridsterPush.prototype.pushedItems;
|
|
4795
|
+
/**
|
|
4796
|
+
* @type {?}
|
|
4797
|
+
* @private
|
|
4798
|
+
*/
|
|
4799
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4800
|
+
/**
|
|
4801
|
+
* @type {?}
|
|
4802
|
+
* @private
|
|
4803
|
+
*/
|
|
4804
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4805
|
+
/**
|
|
4806
|
+
* @type {?}
|
|
4807
|
+
* @private
|
|
4808
|
+
*/
|
|
4809
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4810
|
+
/**
|
|
4811
|
+
* @type {?}
|
|
4812
|
+
* @private
|
|
4813
|
+
*/
|
|
4814
|
+
GridsterPush.prototype.gridsterItem;
|
|
4815
|
+
/**
|
|
4816
|
+
* @type {?}
|
|
4817
|
+
* @private
|
|
4818
|
+
*/
|
|
4819
|
+
GridsterPush.prototype.gridster;
|
|
4820
|
+
/**
|
|
4821
|
+
* @type {?}
|
|
4822
|
+
* @private
|
|
4823
|
+
*/
|
|
4824
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4825
|
+
/**
|
|
4826
|
+
* @type {?}
|
|
4827
|
+
* @private
|
|
4828
|
+
*/
|
|
4829
|
+
GridsterPush.prototype.tryPattern;
|
|
4830
|
+
}
|
|
4156
4831
|
|
|
4157
4832
|
/**
|
|
4158
4833
|
* @fileoverview added by tsickle
|
|
4159
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4834
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4160
4835
|
*/
|
|
4161
4836
|
var GridsterDraggable = /** @class */ (function () {
|
|
4162
4837
|
function GridsterDraggable(gridsterItem, gridster, zone) {
|
|
@@ -4460,6 +5135,10 @@ var GridsterDraggable = /** @class */ (function () {
|
|
|
4460
5135
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
4461
5136
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
4462
5137
|
}
|
|
5138
|
+
else {
|
|
5139
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
5140
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
5141
|
+
}
|
|
4463
5142
|
return this.gridsterItem.$item;
|
|
4464
5143
|
};
|
|
4465
5144
|
/**
|
|
@@ -4616,11 +5295,84 @@ var GridsterDraggable = /** @class */ (function () {
|
|
|
4616
5295
|
{ type: NgZone }
|
|
4617
5296
|
]; };
|
|
4618
5297
|
return GridsterDraggable;
|
|
4619
|
-
}());
|
|
5298
|
+
}());
|
|
5299
|
+
if (false) {
|
|
5300
|
+
/** @type {?} */
|
|
5301
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
5302
|
+
/** @type {?} */
|
|
5303
|
+
GridsterDraggable.prototype.gridster;
|
|
5304
|
+
/** @type {?} */
|
|
5305
|
+
GridsterDraggable.prototype.lastMouse;
|
|
5306
|
+
/** @type {?} */
|
|
5307
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
5308
|
+
/** @type {?} */
|
|
5309
|
+
GridsterDraggable.prototype.offsetTop;
|
|
5310
|
+
/** @type {?} */
|
|
5311
|
+
GridsterDraggable.prototype.margin;
|
|
5312
|
+
/** @type {?} */
|
|
5313
|
+
GridsterDraggable.prototype.diffTop;
|
|
5314
|
+
/** @type {?} */
|
|
5315
|
+
GridsterDraggable.prototype.diffLeft;
|
|
5316
|
+
/** @type {?} */
|
|
5317
|
+
GridsterDraggable.prototype.top;
|
|
5318
|
+
/** @type {?} */
|
|
5319
|
+
GridsterDraggable.prototype.left;
|
|
5320
|
+
/** @type {?} */
|
|
5321
|
+
GridsterDraggable.prototype.height;
|
|
5322
|
+
/** @type {?} */
|
|
5323
|
+
GridsterDraggable.prototype.width;
|
|
5324
|
+
/** @type {?} */
|
|
5325
|
+
GridsterDraggable.prototype.positionX;
|
|
5326
|
+
/** @type {?} */
|
|
5327
|
+
GridsterDraggable.prototype.positionY;
|
|
5328
|
+
/** @type {?} */
|
|
5329
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
5330
|
+
/** @type {?} */
|
|
5331
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
5332
|
+
/** @type {?} */
|
|
5333
|
+
GridsterDraggable.prototype.enabled;
|
|
5334
|
+
/** @type {?} */
|
|
5335
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
5336
|
+
/** @type {?} */
|
|
5337
|
+
GridsterDraggable.prototype.dragFunction;
|
|
5338
|
+
/** @type {?} */
|
|
5339
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
5340
|
+
/** @type {?} */
|
|
5341
|
+
GridsterDraggable.prototype.mousemove;
|
|
5342
|
+
/** @type {?} */
|
|
5343
|
+
GridsterDraggable.prototype.mouseup;
|
|
5344
|
+
/** @type {?} */
|
|
5345
|
+
GridsterDraggable.prototype.mouseleave;
|
|
5346
|
+
/** @type {?} */
|
|
5347
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
5348
|
+
/** @type {?} */
|
|
5349
|
+
GridsterDraggable.prototype.touchmove;
|
|
5350
|
+
/** @type {?} */
|
|
5351
|
+
GridsterDraggable.prototype.touchend;
|
|
5352
|
+
/** @type {?} */
|
|
5353
|
+
GridsterDraggable.prototype.touchcancel;
|
|
5354
|
+
/** @type {?} */
|
|
5355
|
+
GridsterDraggable.prototype.mousedown;
|
|
5356
|
+
/** @type {?} */
|
|
5357
|
+
GridsterDraggable.prototype.touchstart;
|
|
5358
|
+
/** @type {?} */
|
|
5359
|
+
GridsterDraggable.prototype.push;
|
|
5360
|
+
/** @type {?} */
|
|
5361
|
+
GridsterDraggable.prototype.swap;
|
|
5362
|
+
/** @type {?} */
|
|
5363
|
+
GridsterDraggable.prototype.path;
|
|
5364
|
+
/** @type {?} */
|
|
5365
|
+
GridsterDraggable.prototype.collision;
|
|
5366
|
+
/**
|
|
5367
|
+
* @type {?}
|
|
5368
|
+
* @private
|
|
5369
|
+
*/
|
|
5370
|
+
GridsterDraggable.prototype.zone;
|
|
5371
|
+
}
|
|
4620
5372
|
|
|
4621
5373
|
/**
|
|
4622
5374
|
* @fileoverview added by tsickle
|
|
4623
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5375
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4624
5376
|
*/
|
|
4625
5377
|
var GridsterPushResize = /** @class */ (function () {
|
|
4626
5378
|
function GridsterPushResize(gridsterItem) {
|
|
@@ -5000,11 +5752,46 @@ var GridsterPushResize = /** @class */ (function () {
|
|
|
5000
5752
|
{ type: GridsterItemComponentInterface }
|
|
5001
5753
|
]; };
|
|
5002
5754
|
return GridsterPushResize;
|
|
5003
|
-
}());
|
|
5755
|
+
}());
|
|
5756
|
+
if (false) {
|
|
5757
|
+
/** @type {?} */
|
|
5758
|
+
GridsterPushResize.prototype.fromSouth;
|
|
5759
|
+
/** @type {?} */
|
|
5760
|
+
GridsterPushResize.prototype.fromNorth;
|
|
5761
|
+
/** @type {?} */
|
|
5762
|
+
GridsterPushResize.prototype.fromEast;
|
|
5763
|
+
/** @type {?} */
|
|
5764
|
+
GridsterPushResize.prototype.fromWest;
|
|
5765
|
+
/**
|
|
5766
|
+
* @type {?}
|
|
5767
|
+
* @private
|
|
5768
|
+
*/
|
|
5769
|
+
GridsterPushResize.prototype.pushedItems;
|
|
5770
|
+
/**
|
|
5771
|
+
* @type {?}
|
|
5772
|
+
* @private
|
|
5773
|
+
*/
|
|
5774
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
5775
|
+
/**
|
|
5776
|
+
* @type {?}
|
|
5777
|
+
* @private
|
|
5778
|
+
*/
|
|
5779
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
5780
|
+
/**
|
|
5781
|
+
* @type {?}
|
|
5782
|
+
* @private
|
|
5783
|
+
*/
|
|
5784
|
+
GridsterPushResize.prototype.gridster;
|
|
5785
|
+
/**
|
|
5786
|
+
* @type {?}
|
|
5787
|
+
* @private
|
|
5788
|
+
*/
|
|
5789
|
+
GridsterPushResize.prototype.tryPattern;
|
|
5790
|
+
}
|
|
5004
5791
|
|
|
5005
5792
|
/**
|
|
5006
5793
|
* @fileoverview added by tsickle
|
|
5007
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5794
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5008
5795
|
*/
|
|
5009
5796
|
var GridsterResizable = /** @class */ (function () {
|
|
5010
5797
|
function GridsterResizable(gridsterItem, gridster, zone) {
|
|
@@ -5546,11 +6333,86 @@ var GridsterResizable = /** @class */ (function () {
|
|
|
5546
6333
|
{ type: NgZone }
|
|
5547
6334
|
]; };
|
|
5548
6335
|
return GridsterResizable;
|
|
5549
|
-
}());
|
|
6336
|
+
}());
|
|
6337
|
+
if (false) {
|
|
6338
|
+
/** @type {?} */
|
|
6339
|
+
GridsterResizable.prototype.gridsterItem;
|
|
6340
|
+
/** @type {?} */
|
|
6341
|
+
GridsterResizable.prototype.gridster;
|
|
6342
|
+
/** @type {?} */
|
|
6343
|
+
GridsterResizable.prototype.lastMouse;
|
|
6344
|
+
/** @type {?} */
|
|
6345
|
+
GridsterResizable.prototype.itemBackup;
|
|
6346
|
+
/** @type {?} */
|
|
6347
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
6348
|
+
/** @type {?} */
|
|
6349
|
+
GridsterResizable.prototype.directionFunction;
|
|
6350
|
+
/** @type {?} */
|
|
6351
|
+
GridsterResizable.prototype.dragFunction;
|
|
6352
|
+
/** @type {?} */
|
|
6353
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
6354
|
+
/** @type {?} */
|
|
6355
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
6356
|
+
/** @type {?} */
|
|
6357
|
+
GridsterResizable.prototype.mousemove;
|
|
6358
|
+
/** @type {?} */
|
|
6359
|
+
GridsterResizable.prototype.mouseup;
|
|
6360
|
+
/** @type {?} */
|
|
6361
|
+
GridsterResizable.prototype.mouseleave;
|
|
6362
|
+
/** @type {?} */
|
|
6363
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
6364
|
+
/** @type {?} */
|
|
6365
|
+
GridsterResizable.prototype.touchmove;
|
|
6366
|
+
/** @type {?} */
|
|
6367
|
+
GridsterResizable.prototype.touchend;
|
|
6368
|
+
/** @type {?} */
|
|
6369
|
+
GridsterResizable.prototype.touchcancel;
|
|
6370
|
+
/** @type {?} */
|
|
6371
|
+
GridsterResizable.prototype.push;
|
|
6372
|
+
/** @type {?} */
|
|
6373
|
+
GridsterResizable.prototype.pushResize;
|
|
6374
|
+
/** @type {?} */
|
|
6375
|
+
GridsterResizable.prototype.minHeight;
|
|
6376
|
+
/** @type {?} */
|
|
6377
|
+
GridsterResizable.prototype.minWidth;
|
|
6378
|
+
/** @type {?} */
|
|
6379
|
+
GridsterResizable.prototype.offsetTop;
|
|
6380
|
+
/** @type {?} */
|
|
6381
|
+
GridsterResizable.prototype.offsetLeft;
|
|
6382
|
+
/** @type {?} */
|
|
6383
|
+
GridsterResizable.prototype.diffTop;
|
|
6384
|
+
/** @type {?} */
|
|
6385
|
+
GridsterResizable.prototype.diffLeft;
|
|
6386
|
+
/** @type {?} */
|
|
6387
|
+
GridsterResizable.prototype.diffRight;
|
|
6388
|
+
/** @type {?} */
|
|
6389
|
+
GridsterResizable.prototype.diffBottom;
|
|
6390
|
+
/** @type {?} */
|
|
6391
|
+
GridsterResizable.prototype.margin;
|
|
6392
|
+
/** @type {?} */
|
|
6393
|
+
GridsterResizable.prototype.top;
|
|
6394
|
+
/** @type {?} */
|
|
6395
|
+
GridsterResizable.prototype.left;
|
|
6396
|
+
/** @type {?} */
|
|
6397
|
+
GridsterResizable.prototype.bottom;
|
|
6398
|
+
/** @type {?} */
|
|
6399
|
+
GridsterResizable.prototype.right;
|
|
6400
|
+
/** @type {?} */
|
|
6401
|
+
GridsterResizable.prototype.width;
|
|
6402
|
+
/** @type {?} */
|
|
6403
|
+
GridsterResizable.prototype.height;
|
|
6404
|
+
/** @type {?} */
|
|
6405
|
+
GridsterResizable.prototype.newPosition;
|
|
6406
|
+
/**
|
|
6407
|
+
* @type {?}
|
|
6408
|
+
* @private
|
|
6409
|
+
*/
|
|
6410
|
+
GridsterResizable.prototype.zone;
|
|
6411
|
+
}
|
|
5550
6412
|
|
|
5551
6413
|
/**
|
|
5552
6414
|
* @fileoverview added by tsickle
|
|
5553
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6415
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5554
6416
|
*/
|
|
5555
6417
|
var GridsterItemComponent = /** @class */ (function () {
|
|
5556
6418
|
function GridsterItemComponent(el, gridster, renderer, zone) {
|
|
@@ -5745,11 +6607,44 @@ var GridsterItemComponent = /** @class */ (function () {
|
|
|
5745
6607
|
item: [{ type: Input }]
|
|
5746
6608
|
};
|
|
5747
6609
|
return GridsterItemComponent;
|
|
5748
|
-
}());
|
|
6610
|
+
}());
|
|
6611
|
+
if (false) {
|
|
6612
|
+
/** @type {?} */
|
|
6613
|
+
GridsterItemComponent.prototype.item;
|
|
6614
|
+
/** @type {?} */
|
|
6615
|
+
GridsterItemComponent.prototype.$item;
|
|
6616
|
+
/** @type {?} */
|
|
6617
|
+
GridsterItemComponent.prototype.el;
|
|
6618
|
+
/** @type {?} */
|
|
6619
|
+
GridsterItemComponent.prototype.gridster;
|
|
6620
|
+
/** @type {?} */
|
|
6621
|
+
GridsterItemComponent.prototype.top;
|
|
6622
|
+
/** @type {?} */
|
|
6623
|
+
GridsterItemComponent.prototype.left;
|
|
6624
|
+
/** @type {?} */
|
|
6625
|
+
GridsterItemComponent.prototype.width;
|
|
6626
|
+
/** @type {?} */
|
|
6627
|
+
GridsterItemComponent.prototype.height;
|
|
6628
|
+
/** @type {?} */
|
|
6629
|
+
GridsterItemComponent.prototype.drag;
|
|
6630
|
+
/** @type {?} */
|
|
6631
|
+
GridsterItemComponent.prototype.resize;
|
|
6632
|
+
/** @type {?} */
|
|
6633
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
6634
|
+
/** @type {?} */
|
|
6635
|
+
GridsterItemComponent.prototype.init;
|
|
6636
|
+
/** @type {?} */
|
|
6637
|
+
GridsterItemComponent.prototype.renderer;
|
|
6638
|
+
/**
|
|
6639
|
+
* @type {?}
|
|
6640
|
+
* @private
|
|
6641
|
+
*/
|
|
6642
|
+
GridsterItemComponent.prototype.zone;
|
|
6643
|
+
}
|
|
5749
6644
|
|
|
5750
6645
|
/**
|
|
5751
6646
|
* @fileoverview added by tsickle
|
|
5752
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6647
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5753
6648
|
*/
|
|
5754
6649
|
var GridsterPreviewComponent = /** @class */ (function () {
|
|
5755
6650
|
function GridsterPreviewComponent(el, gridster, renderer) {
|
|
@@ -5804,11 +6699,19 @@ var GridsterPreviewComponent = /** @class */ (function () {
|
|
|
5804
6699
|
{ type: Renderer2 }
|
|
5805
6700
|
]; };
|
|
5806
6701
|
return GridsterPreviewComponent;
|
|
5807
|
-
}());
|
|
6702
|
+
}());
|
|
6703
|
+
if (false) {
|
|
6704
|
+
/** @type {?} */
|
|
6705
|
+
GridsterPreviewComponent.prototype.el;
|
|
6706
|
+
/** @type {?} */
|
|
6707
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
6708
|
+
/** @type {?} */
|
|
6709
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
6710
|
+
}
|
|
5808
6711
|
|
|
5809
6712
|
/**
|
|
5810
6713
|
* @fileoverview added by tsickle
|
|
5811
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6714
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5812
6715
|
*/
|
|
5813
6716
|
var GridsterModule = /** @class */ (function () {
|
|
5814
6717
|
function GridsterModule() {
|
|
@@ -5833,7 +6736,7 @@ var GridsterModule = /** @class */ (function () {
|
|
|
5833
6736
|
|
|
5834
6737
|
/**
|
|
5835
6738
|
* @fileoverview added by tsickle
|
|
5836
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6739
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5837
6740
|
*/
|
|
5838
6741
|
/** @type {?} */
|
|
5839
6742
|
var DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
@@ -5874,7 +6777,7 @@ var DashboardFrameworkModule = /** @class */ (function () {
|
|
|
5874
6777
|
|
|
5875
6778
|
/**
|
|
5876
6779
|
* @fileoverview added by tsickle
|
|
5877
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6780
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5878
6781
|
*/
|
|
5879
6782
|
/**
|
|
5880
6783
|
* @abstract
|
|
@@ -5918,11 +6821,35 @@ var RaBaseDashboardTemplate = /** @class */ (function () {
|
|
|
5918
6821
|
initialize: [{ type: Input }]
|
|
5919
6822
|
};
|
|
5920
6823
|
return RaBaseDashboardTemplate;
|
|
5921
|
-
}());
|
|
6824
|
+
}());
|
|
6825
|
+
if (false) {
|
|
6826
|
+
/** @type {?} */
|
|
6827
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
6828
|
+
/** @type {?} */
|
|
6829
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
6830
|
+
/** @type {?} */
|
|
6831
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
6832
|
+
/** @type {?} */
|
|
6833
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
6834
|
+
/** @type {?} */
|
|
6835
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
6836
|
+
/** @type {?} */
|
|
6837
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
6838
|
+
/**
|
|
6839
|
+
* @type {?}
|
|
6840
|
+
* @private
|
|
6841
|
+
*/
|
|
6842
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
6843
|
+
/**
|
|
6844
|
+
* @abstract
|
|
6845
|
+
* @return {?}
|
|
6846
|
+
*/
|
|
6847
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
6848
|
+
}
|
|
5922
6849
|
|
|
5923
6850
|
/**
|
|
5924
6851
|
* @fileoverview added by tsickle
|
|
5925
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6852
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5926
6853
|
*/
|
|
5927
6854
|
/**
|
|
5928
6855
|
* @abstract
|
|
@@ -5942,7 +6869,29 @@ var RaBaseDashboardFilter = /** @class */ (function () {
|
|
|
5942
6869
|
getAllFilterConfig: [{ type: Input }]
|
|
5943
6870
|
};
|
|
5944
6871
|
return RaBaseDashboardFilter;
|
|
5945
|
-
}());
|
|
6872
|
+
}());
|
|
6873
|
+
if (false) {
|
|
6874
|
+
/**
|
|
6875
|
+
* @type {?}
|
|
6876
|
+
* @private
|
|
6877
|
+
*/
|
|
6878
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
6879
|
+
/**
|
|
6880
|
+
* @abstract
|
|
6881
|
+
* @return {?}
|
|
6882
|
+
*/
|
|
6883
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
6884
|
+
}
|
|
6885
|
+
|
|
6886
|
+
/**
|
|
6887
|
+
* @fileoverview added by tsickle
|
|
6888
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6889
|
+
*/
|
|
6890
|
+
|
|
6891
|
+
/**
|
|
6892
|
+
* @fileoverview added by tsickle
|
|
6893
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6894
|
+
*/
|
|
5946
6895
|
|
|
5947
6896
|
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 };
|
|
5948
6897
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|