@schneideress/dashboardframework 0.0.101 → 0.0.103
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 +1180 -72
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +15 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/gridster/index.js +3 -2
- package/esm2015/gridster/lib/gridster.component.js +4 -3
- package/esm2015/gridster/lib/gridster.interface.js +3 -2
- package/esm2015/gridster/lib/gridster.module.js +3 -2
- package/esm2015/gridster/lib/gridsterCompact.service.js +3 -2
- package/esm2015/gridster/lib/gridsterConfig.constant.js +3 -2
- package/esm2015/gridster/lib/gridsterConfig.interface.js +20 -19
- package/esm2015/gridster/lib/gridsterConfigS.interface.js +3 -2
- package/esm2015/gridster/lib/gridsterDraggable.service.js +3 -2
- package/esm2015/gridster/lib/gridsterEmptyCell.service.js +3 -2
- package/esm2015/gridster/lib/gridsterItem.component.js +4 -3
- package/esm2015/gridster/lib/gridsterItem.interface.js +3 -2
- package/esm2015/gridster/lib/gridsterItemComponent.interface.js +3 -2
- package/esm2015/gridster/lib/gridsterPreview.component.js +3 -2
- package/esm2015/gridster/lib/gridsterPush.service.js +3 -2
- package/esm2015/gridster/lib/gridsterPushResize.service.js +3 -2
- package/esm2015/gridster/lib/gridsterRenderer.service.js +3 -2
- package/esm2015/gridster/lib/gridsterResizable.service.js +3 -2
- package/esm2015/gridster/lib/gridsterResizeEventType.interface.js +3 -2
- package/esm2015/gridster/lib/gridsterScroll.service.js +3 -2
- package/esm2015/gridster/lib/gridsterSwap.service.js +3 -2
- package/esm2015/gridster/lib/gridsterUtils.service.js +3 -2
- package/esm2015/lib/custom.notifier.options.js +3 -2
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +4 -3
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +12 -4
- package/esm2015/lib/ra.base.dashboard.filter.js +3 -2
- package/esm2015/lib/ra.base.dashboard.template.js +3 -2
- package/esm2015/lib/ra.dashbard.event.bus.js +3 -2
- package/esm2015/lib/ra.dashboard.module.js +3 -2
- package/esm2015/lib/ra.dashboard.service.js +3 -2
- package/esm2015/lib/ra.event.enum.js +3 -2
- package/esm2015/lib/ra.gridster.config.js +3 -2
- package/esm2015/public-api.js +3 -2
- package/esm2015/schneideress-dashboardframework.js +3 -2
- package/esm5/gridster/index.js +3 -2
- package/esm5/gridster/lib/gridster.component.js +4 -3
- package/esm5/gridster/lib/gridster.interface.js +3 -2
- package/esm5/gridster/lib/gridster.module.js +3 -2
- package/esm5/gridster/lib/gridsterCompact.service.js +3 -2
- package/esm5/gridster/lib/gridsterConfig.constant.js +3 -2
- package/esm5/gridster/lib/gridsterConfig.interface.js +20 -19
- package/esm5/gridster/lib/gridsterConfigS.interface.js +3 -2
- package/esm5/gridster/lib/gridsterDraggable.service.js +3 -2
- package/esm5/gridster/lib/gridsterEmptyCell.service.js +3 -2
- package/esm5/gridster/lib/gridsterItem.component.js +4 -3
- package/esm5/gridster/lib/gridsterItem.interface.js +3 -2
- package/esm5/gridster/lib/gridsterItemComponent.interface.js +3 -2
- package/esm5/gridster/lib/gridsterPreview.component.js +3 -2
- package/esm5/gridster/lib/gridsterPush.service.js +3 -2
- package/esm5/gridster/lib/gridsterPushResize.service.js +3 -2
- package/esm5/gridster/lib/gridsterRenderer.service.js +3 -2
- package/esm5/gridster/lib/gridsterResizable.service.js +3 -2
- package/esm5/gridster/lib/gridsterResizeEventType.interface.js +3 -2
- package/esm5/gridster/lib/gridsterScroll.service.js +3 -2
- package/esm5/gridster/lib/gridsterSwap.service.js +3 -2
- package/esm5/gridster/lib/gridsterUtils.service.js +3 -2
- package/esm5/lib/custom.notifier.options.js +3 -2
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +4 -3
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +12 -4
- package/esm5/lib/ra.base.dashboard.filter.js +3 -2
- package/esm5/lib/ra.base.dashboard.template.js +3 -2
- package/esm5/lib/ra.dashbard.event.bus.js +3 -2
- package/esm5/lib/ra.dashboard.module.js +3 -2
- package/esm5/lib/ra.dashboard.service.js +3 -2
- package/esm5/lib/ra.event.enum.js +3 -2
- package/esm5/lib/ra.gridster.config.js +3 -2
- package/esm5/public-api.js +3 -2
- package/esm5/schneideress-dashboardframework.js +3 -2
- package/fesm2015/schneideress-dashboardframework.js +1060 -70
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1063 -73
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +1 -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, HostListener, Renderer2, Output,
|
|
2
|
+
import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, NgZone, Input, ViewChild, HostListener, EventEmitter, Renderer2, Output, ViewEncapsulation, ElementRef, ChangeDetectorRef, Host, NgModule } from '@angular/core';
|
|
3
3
|
import { of, Subject } from 'rxjs';
|
|
4
4
|
import { BaseService, RATranslateService, RACommonModule } from '@schneideress/ra-common';
|
|
5
5
|
import { filter, map } from 'rxjs/operators';
|
|
@@ -14,7 +14,8 @@ import { RAUserControlModule } from '@schneideress/user-controls';
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @fileoverview added by tsickle
|
|
17
|
-
*
|
|
17
|
+
* Generated from: lib/ra.dashboard.service.ts
|
|
18
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
18
19
|
*/
|
|
19
20
|
var RaDashboardService = /** @class */ (function (_super) {
|
|
20
21
|
__extends(RaDashboardService, _super);
|
|
@@ -218,11 +219,19 @@ var RaDashboardService = /** @class */ (function (_super) {
|
|
|
218
219
|
]; };
|
|
219
220
|
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
220
221
|
return RaDashboardService;
|
|
221
|
-
}(BaseService));
|
|
222
|
+
}(BaseService));
|
|
223
|
+
if (false) {
|
|
224
|
+
/**
|
|
225
|
+
* @type {?}
|
|
226
|
+
* @private
|
|
227
|
+
*/
|
|
228
|
+
RaDashboardService.prototype.loadedScripts;
|
|
229
|
+
}
|
|
222
230
|
|
|
223
231
|
/**
|
|
224
232
|
* @fileoverview added by tsickle
|
|
225
|
-
*
|
|
233
|
+
* Generated from: lib/ra.dashbard.event.bus.ts
|
|
234
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
226
235
|
*/
|
|
227
236
|
var RADashboardEventBus = /** @class */ (function () {
|
|
228
237
|
function RADashboardEventBus() {
|
|
@@ -331,11 +340,19 @@ var RADashboardEventBus = /** @class */ (function () {
|
|
|
331
340
|
];
|
|
332
341
|
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
333
342
|
return RADashboardEventBus;
|
|
334
|
-
}());
|
|
343
|
+
}());
|
|
344
|
+
if (false) {
|
|
345
|
+
/**
|
|
346
|
+
* @type {?}
|
|
347
|
+
* @private
|
|
348
|
+
*/
|
|
349
|
+
RADashboardEventBus.prototype.eventQueue;
|
|
350
|
+
}
|
|
335
351
|
|
|
336
352
|
/**
|
|
337
353
|
* @fileoverview added by tsickle
|
|
338
|
-
*
|
|
354
|
+
* Generated from: lib/ra.event.enum.ts
|
|
355
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
339
356
|
*/
|
|
340
357
|
/** @enum {string} */
|
|
341
358
|
var RAEvent = {
|
|
@@ -384,38 +401,225 @@ var RAEventKey = {
|
|
|
384
401
|
|
|
385
402
|
/**
|
|
386
403
|
* @fileoverview added by tsickle
|
|
387
|
-
*
|
|
404
|
+
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
405
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
388
406
|
*/
|
|
389
407
|
/** @enum {string} */
|
|
390
408
|
var GridType = {
|
|
391
|
-
Fit:
|
|
392
|
-
ScrollVertical:
|
|
393
|
-
ScrollHorizontal:
|
|
394
|
-
Fixed:
|
|
395
|
-
VerticalFixed:
|
|
396
|
-
HorizontalFixed:
|
|
409
|
+
Fit: "fit",
|
|
410
|
+
ScrollVertical: "scrollVertical",
|
|
411
|
+
ScrollHorizontal: "scrollHorizontal",
|
|
412
|
+
Fixed: "fixed",
|
|
413
|
+
VerticalFixed: "verticalFixed",
|
|
414
|
+
HorizontalFixed: "horizontalFixed",
|
|
397
415
|
};
|
|
398
416
|
/** @enum {string} */
|
|
399
417
|
var DisplayGrid = {
|
|
400
|
-
Always:
|
|
401
|
-
OnDragAndResize:
|
|
402
|
-
None:
|
|
418
|
+
Always: "always",
|
|
419
|
+
OnDragAndResize: "onDrag&Resize",
|
|
420
|
+
None: "none",
|
|
403
421
|
};
|
|
404
422
|
/** @enum {string} */
|
|
405
423
|
var CompactType = {
|
|
406
|
-
None:
|
|
407
|
-
CompactUp:
|
|
408
|
-
CompactLeft:
|
|
409
|
-
CompactUpAndLeft:
|
|
410
|
-
CompactLeftAndUp:
|
|
411
|
-
CompactRight:
|
|
412
|
-
CompactUpAndRight:
|
|
413
|
-
CompactRightAndUp:
|
|
414
|
-
};
|
|
424
|
+
None: "none",
|
|
425
|
+
CompactUp: "compactUp",
|
|
426
|
+
CompactLeft: "compactLeft",
|
|
427
|
+
CompactUpAndLeft: "compactUp&Left",
|
|
428
|
+
CompactLeftAndUp: "compactLeft&Up",
|
|
429
|
+
CompactRight: "compactRight",
|
|
430
|
+
CompactUpAndRight: "compactUp&Right",
|
|
431
|
+
CompactRightAndUp: "compactRight&Up",
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* @record
|
|
435
|
+
*/
|
|
436
|
+
function GridsterConfig() { }
|
|
437
|
+
if (false) {
|
|
438
|
+
/** @type {?|undefined} */
|
|
439
|
+
GridsterConfig.prototype.gridType;
|
|
440
|
+
/** @type {?|undefined} */
|
|
441
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
442
|
+
/** @type {?|undefined} */
|
|
443
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
444
|
+
/** @type {?|undefined} */
|
|
445
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
446
|
+
/** @type {?|undefined} */
|
|
447
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
448
|
+
/** @type {?|undefined} */
|
|
449
|
+
GridsterConfig.prototype.setGridSize;
|
|
450
|
+
/** @type {?|undefined} */
|
|
451
|
+
GridsterConfig.prototype.compactType;
|
|
452
|
+
/** @type {?|undefined} */
|
|
453
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
454
|
+
/** @type {?|undefined} */
|
|
455
|
+
GridsterConfig.prototype.minCols;
|
|
456
|
+
/** @type {?|undefined} */
|
|
457
|
+
GridsterConfig.prototype.maxCols;
|
|
458
|
+
/** @type {?|undefined} */
|
|
459
|
+
GridsterConfig.prototype.minRows;
|
|
460
|
+
/** @type {?|undefined} */
|
|
461
|
+
GridsterConfig.prototype.maxRows;
|
|
462
|
+
/** @type {?|undefined} */
|
|
463
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
464
|
+
/** @type {?|undefined} */
|
|
465
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
466
|
+
/** @type {?|undefined} */
|
|
467
|
+
GridsterConfig.prototype.maxItemCols;
|
|
468
|
+
/** @type {?|undefined} */
|
|
469
|
+
GridsterConfig.prototype.maxItemRows;
|
|
470
|
+
/** @type {?|undefined} */
|
|
471
|
+
GridsterConfig.prototype.minItemCols;
|
|
472
|
+
/** @type {?|undefined} */
|
|
473
|
+
GridsterConfig.prototype.minItemRows;
|
|
474
|
+
/** @type {?|undefined} */
|
|
475
|
+
GridsterConfig.prototype.minItemArea;
|
|
476
|
+
/** @type {?|undefined} */
|
|
477
|
+
GridsterConfig.prototype.maxItemArea;
|
|
478
|
+
/** @type {?|undefined} */
|
|
479
|
+
GridsterConfig.prototype.margin;
|
|
480
|
+
/** @type {?|undefined} */
|
|
481
|
+
GridsterConfig.prototype.outerMargin;
|
|
482
|
+
/** @type {?|undefined} */
|
|
483
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
484
|
+
/** @type {?|undefined} */
|
|
485
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
486
|
+
/** @type {?|undefined} */
|
|
487
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
488
|
+
/** @type {?|undefined} */
|
|
489
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
490
|
+
/** @type {?|undefined} */
|
|
491
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
492
|
+
/** @type {?|undefined} */
|
|
493
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
494
|
+
/** @type {?|undefined} */
|
|
495
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
496
|
+
/** @type {?|undefined} */
|
|
497
|
+
GridsterConfig.prototype.initCallback;
|
|
498
|
+
/** @type {?|undefined} */
|
|
499
|
+
GridsterConfig.prototype.destroyCallback;
|
|
500
|
+
/** @type {?|undefined} */
|
|
501
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
502
|
+
/** @type {?|undefined} */
|
|
503
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
504
|
+
/** @type {?|undefined} */
|
|
505
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
506
|
+
/** @type {?|undefined} */
|
|
507
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
508
|
+
/** @type {?|undefined} */
|
|
509
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
510
|
+
/** @type {?|undefined} */
|
|
511
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
512
|
+
/** @type {?|undefined} */
|
|
513
|
+
GridsterConfig.prototype.draggable;
|
|
514
|
+
/** @type {?|undefined} */
|
|
515
|
+
GridsterConfig.prototype.resizable;
|
|
516
|
+
/** @type {?|undefined} */
|
|
517
|
+
GridsterConfig.prototype.swap;
|
|
518
|
+
/** @type {?|undefined} */
|
|
519
|
+
GridsterConfig.prototype.pushItems;
|
|
520
|
+
/** @type {?|undefined} */
|
|
521
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
522
|
+
/** @type {?|undefined} */
|
|
523
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
524
|
+
/** @type {?|undefined} */
|
|
525
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
526
|
+
/** @type {?|undefined} */
|
|
527
|
+
GridsterConfig.prototype.pushDirections;
|
|
528
|
+
/** @type {?|undefined} */
|
|
529
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
530
|
+
/** @type {?|undefined} */
|
|
531
|
+
GridsterConfig.prototype.displayGrid;
|
|
532
|
+
/** @type {?|undefined} */
|
|
533
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
534
|
+
/** @type {?|undefined} */
|
|
535
|
+
GridsterConfig.prototype.disableWarnings;
|
|
536
|
+
/** @type {?|undefined} */
|
|
537
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
538
|
+
/** @type {?|undefined} */
|
|
539
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
540
|
+
/** @type {?|undefined} */
|
|
541
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
542
|
+
/** @type {?|undefined} */
|
|
543
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
544
|
+
/** @type {?|undefined} */
|
|
545
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
546
|
+
/** @type {?|undefined} */
|
|
547
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
548
|
+
/** @type {?|undefined} */
|
|
549
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
550
|
+
/** @type {?|undefined} */
|
|
551
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
552
|
+
/** @type {?|undefined} */
|
|
553
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
554
|
+
/** @type {?|undefined} */
|
|
555
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
556
|
+
/** @type {?|undefined} */
|
|
557
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
558
|
+
/** @type {?|undefined} */
|
|
559
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
560
|
+
/** @type {?|undefined} */
|
|
561
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
562
|
+
/** @type {?|undefined} */
|
|
563
|
+
GridsterConfig.prototype.api;
|
|
564
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* @record
|
|
568
|
+
*/
|
|
569
|
+
function DragBase() { }
|
|
570
|
+
if (false) {
|
|
571
|
+
/** @type {?|undefined} */
|
|
572
|
+
DragBase.prototype.enabled;
|
|
573
|
+
/** @type {?|undefined} */
|
|
574
|
+
DragBase.prototype.stop;
|
|
575
|
+
/** @type {?|undefined} */
|
|
576
|
+
DragBase.prototype.start;
|
|
577
|
+
/** @type {?|undefined} */
|
|
578
|
+
DragBase.prototype.delayStart;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* @record
|
|
582
|
+
*/
|
|
583
|
+
function Draggable() { }
|
|
584
|
+
if (false) {
|
|
585
|
+
/** @type {?|undefined} */
|
|
586
|
+
Draggable.prototype.ignoreContentClass;
|
|
587
|
+
/** @type {?|undefined} */
|
|
588
|
+
Draggable.prototype.ignoreContent;
|
|
589
|
+
/** @type {?|undefined} */
|
|
590
|
+
Draggable.prototype.dragHandleClass;
|
|
591
|
+
/** @type {?|undefined} */
|
|
592
|
+
Draggable.prototype.dropOverItems;
|
|
593
|
+
/** @type {?|undefined} */
|
|
594
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* @record
|
|
598
|
+
*/
|
|
599
|
+
function Resizable() { }
|
|
600
|
+
if (false) {
|
|
601
|
+
/** @type {?|undefined} */
|
|
602
|
+
Resizable.prototype.handles;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @record
|
|
606
|
+
*/
|
|
607
|
+
function PushDirections() { }
|
|
608
|
+
if (false) {
|
|
609
|
+
/** @type {?} */
|
|
610
|
+
PushDirections.prototype.north;
|
|
611
|
+
/** @type {?} */
|
|
612
|
+
PushDirections.prototype.east;
|
|
613
|
+
/** @type {?} */
|
|
614
|
+
PushDirections.prototype.south;
|
|
615
|
+
/** @type {?} */
|
|
616
|
+
PushDirections.prototype.west;
|
|
617
|
+
}
|
|
415
618
|
|
|
416
619
|
/**
|
|
417
620
|
* @fileoverview added by tsickle
|
|
418
|
-
*
|
|
621
|
+
* Generated from: lib/ra.gridster.config.ts
|
|
622
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
419
623
|
*/
|
|
420
624
|
/** @type {?} */
|
|
421
625
|
var GridsterConfigDefaultSettings = {
|
|
@@ -481,7 +685,8 @@ var GridsterConfigDefaultSettings = {
|
|
|
481
685
|
|
|
482
686
|
/**
|
|
483
687
|
* @fileoverview added by tsickle
|
|
484
|
-
*
|
|
688
|
+
* Generated from: lib/ra-dashboard-area/ra.dashboard.area.ts
|
|
689
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
485
690
|
*/
|
|
486
691
|
var RADashboardArea = /** @class */ (function () {
|
|
487
692
|
function RADashboardArea(dashboardService, ngZone, ngxService, translateService, notifier) {
|
|
@@ -1009,7 +1214,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1009
1214
|
{ type: Component, args: [{
|
|
1010
1215
|
selector: 'ra-dashboard-area',
|
|
1011
1216
|
template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\" >\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [grid-cell-height]=\"item.widgetInfo.rowHeight\" [widget-width]=\"item.cols\" [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
|
|
1012
|
-
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#ededed;overflow-y:hidden!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;box-shadow:0 1px 10px rgba(0,0,0,.05)}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)}"]
|
|
1217
|
+
styles: ["gridster{width:inherit;resize:height;display:-webkit-box;display:flex;background-color:#ededed;overflow-y:hidden!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;-webkit-transition:.3s;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;box-shadow:0 1px 10px rgba(0,0,0,.05)}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)}"]
|
|
1013
1218
|
}] }
|
|
1014
1219
|
];
|
|
1015
1220
|
/** @nocollapse */
|
|
@@ -1032,11 +1237,88 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1032
1237
|
onResize: [{ type: HostListener, args: ['window:resize', ['$event'],] }]
|
|
1033
1238
|
};
|
|
1034
1239
|
return RADashboardArea;
|
|
1035
|
-
}());
|
|
1240
|
+
}());
|
|
1241
|
+
if (false) {
|
|
1242
|
+
/** @type {?} */
|
|
1243
|
+
RADashboardArea.prototype.widgetList;
|
|
1244
|
+
/** @type {?} */
|
|
1245
|
+
RADashboardArea.prototype.options;
|
|
1246
|
+
/** @type {?} */
|
|
1247
|
+
RADashboardArea.prototype.gridheight;
|
|
1248
|
+
/**
|
|
1249
|
+
* @type {?}
|
|
1250
|
+
* @private
|
|
1251
|
+
*/
|
|
1252
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
1253
|
+
/**
|
|
1254
|
+
* @type {?}
|
|
1255
|
+
* @private
|
|
1256
|
+
*/
|
|
1257
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
1258
|
+
/**
|
|
1259
|
+
* @type {?}
|
|
1260
|
+
* @private
|
|
1261
|
+
*/
|
|
1262
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
1263
|
+
/**
|
|
1264
|
+
* @type {?}
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
1268
|
+
/**
|
|
1269
|
+
* @type {?}
|
|
1270
|
+
* @private
|
|
1271
|
+
*/
|
|
1272
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
1273
|
+
/** @type {?} */
|
|
1274
|
+
RADashboardArea.prototype.domResized;
|
|
1275
|
+
/** @type {?} */
|
|
1276
|
+
RADashboardArea.prototype.userDashboardId;
|
|
1277
|
+
/** @type {?} */
|
|
1278
|
+
RADashboardArea.prototype.areaKey;
|
|
1279
|
+
/** @type {?} */
|
|
1280
|
+
RADashboardArea.prototype.globalFilter;
|
|
1281
|
+
/** @type {?} */
|
|
1282
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1283
|
+
/** @type {?} */
|
|
1284
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1285
|
+
/** @type {?} */
|
|
1286
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1287
|
+
/** @type {?} */
|
|
1288
|
+
RADashboardArea.prototype.appConfig;
|
|
1289
|
+
/** @type {?} */
|
|
1290
|
+
RADashboardArea.prototype.gridWrapper;
|
|
1291
|
+
/**
|
|
1292
|
+
* @type {?}
|
|
1293
|
+
* @private
|
|
1294
|
+
*/
|
|
1295
|
+
RADashboardArea.prototype.dashboardService;
|
|
1296
|
+
/**
|
|
1297
|
+
* @type {?}
|
|
1298
|
+
* @private
|
|
1299
|
+
*/
|
|
1300
|
+
RADashboardArea.prototype.ngZone;
|
|
1301
|
+
/**
|
|
1302
|
+
* @type {?}
|
|
1303
|
+
* @private
|
|
1304
|
+
*/
|
|
1305
|
+
RADashboardArea.prototype.ngxService;
|
|
1306
|
+
/**
|
|
1307
|
+
* @type {?}
|
|
1308
|
+
* @private
|
|
1309
|
+
*/
|
|
1310
|
+
RADashboardArea.prototype.translateService;
|
|
1311
|
+
/**
|
|
1312
|
+
* @type {?}
|
|
1313
|
+
* @private
|
|
1314
|
+
*/
|
|
1315
|
+
RADashboardArea.prototype.notifier;
|
|
1316
|
+
}
|
|
1036
1317
|
|
|
1037
1318
|
/**
|
|
1038
1319
|
* @fileoverview added by tsickle
|
|
1039
|
-
*
|
|
1320
|
+
* Generated from: lib/ra-widget-container/ra.widget.container.component.ts
|
|
1321
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1040
1322
|
*/
|
|
1041
1323
|
var RAWidgetContainer = /** @class */ (function () {
|
|
1042
1324
|
function RAWidgetContainer(dashboardService, ngxService, translateService, ngZone, notifier, renderer) {
|
|
@@ -1059,6 +1341,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1059
1341
|
this.toolTipValue = ' ';
|
|
1060
1342
|
this.toolTipWidth = '0px';
|
|
1061
1343
|
this.widgetDeleted = new EventEmitter();
|
|
1344
|
+
this.lockVisible = false;
|
|
1062
1345
|
this.renderer.listen('window', 'click', (/**
|
|
1063
1346
|
* @param {?} e
|
|
1064
1347
|
* @return {?}
|
|
@@ -1416,18 +1699,22 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1416
1699
|
switch (this.lockStatus) {
|
|
1417
1700
|
case RaWidgetlockStatus.Locked: {
|
|
1418
1701
|
this.lockClass = "fas fa-lock locked";
|
|
1702
|
+
this.lockVisible = false;
|
|
1419
1703
|
break;
|
|
1420
1704
|
}
|
|
1421
1705
|
case RaWidgetlockStatus.Unlocked: {
|
|
1422
1706
|
this.lockClass = "unlocked";
|
|
1707
|
+
this.lockVisible = true;
|
|
1423
1708
|
break;
|
|
1424
1709
|
}
|
|
1425
1710
|
case RaWidgetlockStatus.PartiallyLocked: {
|
|
1426
1711
|
this.lockClass = "fas fa-lock partiallocked";
|
|
1712
|
+
this.lockVisible = false;
|
|
1427
1713
|
break;
|
|
1428
1714
|
}
|
|
1429
1715
|
default: {
|
|
1430
1716
|
this.lockClass = "unlocked";
|
|
1717
|
+
this.lockVisible = true;
|
|
1431
1718
|
break;
|
|
1432
1719
|
}
|
|
1433
1720
|
}
|
|
@@ -1535,8 +1822,8 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1535
1822
|
RAWidgetContainer.decorators = [
|
|
1536
1823
|
{ type: Component, args: [{
|
|
1537
1824
|
selector: 'ra-widget-container',
|
|
1538
|
-
template: "<div class=\"wc-wrapper\" (mouseleave)=\"hideDropDown()\">\r\n <div class=\"wcheader widget-move\" [ngClass]=\"{'underLine': enableTitleLine}\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;height:inherit;\">\r\n <div style=\"display:flex;margin-top:10px;\">\r\n\r\n <div class=\"col-md-10 float-left title-label\">\r\n <ra-tooltip [value]=\"toolTipValue\" [width]=\"toolTipWidth\">\r\n <div style=\"text-overflow: ellipsis;white-space: nowrap;overflow: hidden;\" (mouseover)=\"mouseOver($event)\"\r\n #searchInput>{{data.widgetInfo.widgetTitle}}</div>\r\n </ra-tooltip>\r\n </div>\r\n\r\n\r\n <div class=\"col-md-2\" style=\"cursor:default;padding-right: 0px;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n <div class=\"title-bar-icon download download-icon\" *ngIf=\"isDownloadIconVisible\">\r\n <i class=\"fal fa-download\" (mouseover)=\"setDownloadIcon()\" #widgetDownload\r\n (click)=\"downloadClicked()\"></i
|
|
1539
|
-
styles: [".
|
|
1825
|
+
template: "<div class=\"wc-wrapper\" (mouseleave)=\"hideDropDown()\">\r\n <div class=\"wcheader widget-move\" [ngClass]=\"{'underLine': enableTitleLine}\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;height:inherit;\">\r\n <div style=\"display:flex;margin-top:10px;\">\r\n\r\n <div class=\"col-md-10 float-left title-label\">\r\n <ra-tooltip [value]=\"toolTipValue\" [width]=\"toolTipWidth\">\r\n <div style=\"text-overflow: ellipsis;white-space: nowrap;overflow: hidden;\" (mouseover)=\"mouseOver($event)\"\r\n #searchInput>{{data.widgetInfo.widgetTitle}}</div>\r\n </ra-tooltip>\r\n </div>\r\n\r\n\r\n <div class=\"col-md-2\" style=\"cursor:default;padding-right: 0px;\" >\r\n <div class=\"float-right\" style=\"display: flex;\" [ngClass]=\"{'lockInvisible': lockVisible}\">\r\n <div class=\"title-bar-icon download download-icon\" *ngIf=\"isDownloadIconVisible\">\r\n <!-- <i class=\"fal fa-download\" (mouseover)=\"setDownloadIcon()\" #widgetDownload\r\n (click)=\"downloadClicked()\"></i> -->\r\n <div class=\"download-content\" [ngClass]=\"{'dropdown-click': isDownloadChartVisible}\">\r\n <a (click)=\"downloadIconClicked('PNG')\">\r\n <i class=\"fal fa-file-image\"></i>\r\n <span>{{'PNG'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('JPEG')\">\r\n <i class=\"fal fa-file\"></i>\r\n <span>{{'JPEG'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('PDF')\">\r\n <i class=\"fal fa-file-pdf\"></i>\r\n <span>{{'PDF'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('SVG')\">\r\n <i class=\"fal fa-file-alt\"></i>\r\n <span>{{'SVG'|translate}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn title-bar-icon\"> <i #widgetDropdown class=\"fal fa-cog\" (click)=\"showDropDown()\"></i>\r\n </div>\r\n <div class=\"dropdown-content widget-config-item\" [ngClass]=\"{'dropdown-click': dropDownShown}\">\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 <ra-tooltip [value]=\"lockTitle\" [width]=\"'300px'\">\r\n <div class=\"title-bar-lock-icon\" style=\"margin-right: -12px;\">\r\n <i [ngClass]=\"lockClass\"></i>\r\n\r\n </div>\r\n </ra-tooltip>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\">\r\n <div class=\"m-fadeOut widget-overlay\" [ngClass]=\"{'m-fadeIn': showPanel}\">\r\n <div class=\"lds-roller\">\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n </div>\r\n </div>\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
|
|
1826
|
+
styles: [".sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{visibility:hidden;opacity:0;-webkit-transition:visibility,opacity .5s linear;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-weight:400}.dropdown-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.dropdown-content a:hover{background-color:#f1f1f1}.lockInvisible{margin-right:-17px}.dropdown-click{display:block!important;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.download-icon{cursor:pointer}.dropdown:hover .dropdown-content{color:#fff}.title-bar-icon{margin:0 3px;color:#42b4e6}.title-bar-lock-icon{margin:0 3px}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0);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}.download{visibility:hidden;opacity:0;-webkit-transition:visibility,opacity .5s linear;transition:visibility,opacity .5s linear;position:relative}.wc-wrapper:hover .download{visibility:visible;opacity:1}.download-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-weight:400}.download-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.download-content a:hover{background-color:#f1f1f1}.download-content a i{font-size:17px;color:#42b4e6}.download-content a span{font-size:12px;font:inherit;padding-left:12px;color:#42b4e6}.title-label{width:96%;padding-left:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}"]
|
|
1540
1827
|
}] }
|
|
1541
1828
|
];
|
|
1542
1829
|
/** @nocollapse */
|
|
@@ -1565,11 +1852,118 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
1565
1852
|
setResized: [{ type: Input, args: ['dom-resized',] }]
|
|
1566
1853
|
};
|
|
1567
1854
|
return RAWidgetContainer;
|
|
1568
|
-
}());
|
|
1855
|
+
}());
|
|
1856
|
+
if (false) {
|
|
1857
|
+
/** @type {?} */
|
|
1858
|
+
RAWidgetContainer.prototype.showPanel;
|
|
1859
|
+
/**
|
|
1860
|
+
* @type {?}
|
|
1861
|
+
* @private
|
|
1862
|
+
*/
|
|
1863
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1864
|
+
/**
|
|
1865
|
+
* @type {?}
|
|
1866
|
+
* @private
|
|
1867
|
+
*/
|
|
1868
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1869
|
+
/**
|
|
1870
|
+
* @type {?}
|
|
1871
|
+
* @private
|
|
1872
|
+
*/
|
|
1873
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1874
|
+
/**
|
|
1875
|
+
* @type {?}
|
|
1876
|
+
* @private
|
|
1877
|
+
*/
|
|
1878
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1879
|
+
/** @type {?} */
|
|
1880
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1881
|
+
/** @type {?} */
|
|
1882
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1883
|
+
/** @type {?} */
|
|
1884
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1885
|
+
/** @type {?} */
|
|
1886
|
+
RAWidgetContainer.prototype.isDownloadIconVisible;
|
|
1887
|
+
/** @type {?} */
|
|
1888
|
+
RAWidgetContainer.prototype.dropDownShown;
|
|
1889
|
+
/** @type {?} */
|
|
1890
|
+
RAWidgetContainer.prototype.isDownloadChartVisible;
|
|
1891
|
+
/** @type {?} */
|
|
1892
|
+
RAWidgetContainer.prototype.downloadIconType;
|
|
1893
|
+
/** @type {?} */
|
|
1894
|
+
RAWidgetContainer.prototype.enableTitleLine;
|
|
1895
|
+
/** @type {?} */
|
|
1896
|
+
RAWidgetContainer.prototype.toolTipValue;
|
|
1897
|
+
/** @type {?} */
|
|
1898
|
+
RAWidgetContainer.prototype.toolTipWidth;
|
|
1899
|
+
/** @type {?} */
|
|
1900
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1901
|
+
/** @type {?} */
|
|
1902
|
+
RAWidgetContainer.prototype.widgetDropdown;
|
|
1903
|
+
/** @type {?} */
|
|
1904
|
+
RAWidgetContainer.prototype.widgetDownload;
|
|
1905
|
+
/** @type {?} */
|
|
1906
|
+
RAWidgetContainer.prototype.searchInput;
|
|
1907
|
+
/** @type {?} */
|
|
1908
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1909
|
+
/** @type {?} */
|
|
1910
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1911
|
+
/** @type {?} */
|
|
1912
|
+
RAWidgetContainer.prototype.data;
|
|
1913
|
+
/** @type {?} */
|
|
1914
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1915
|
+
/** @type {?} */
|
|
1916
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1917
|
+
/** @type {?} */
|
|
1918
|
+
RAWidgetContainer.prototype.width;
|
|
1919
|
+
/** @type {?} */
|
|
1920
|
+
RAWidgetContainer.prototype.height;
|
|
1921
|
+
/** @type {?} */
|
|
1922
|
+
RAWidgetContainer.prototype.gridCellHeight;
|
|
1923
|
+
/** @type {?} */
|
|
1924
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1925
|
+
/** @type {?} */
|
|
1926
|
+
RAWidgetContainer.prototype.lockTitle;
|
|
1927
|
+
/** @type {?} */
|
|
1928
|
+
RAWidgetContainer.prototype.domResized;
|
|
1929
|
+
/** @type {?} */
|
|
1930
|
+
RAWidgetContainer.prototype.lockVisible;
|
|
1931
|
+
/**
|
|
1932
|
+
* @type {?}
|
|
1933
|
+
* @private
|
|
1934
|
+
*/
|
|
1935
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1936
|
+
/**
|
|
1937
|
+
* @type {?}
|
|
1938
|
+
* @private
|
|
1939
|
+
*/
|
|
1940
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1941
|
+
/**
|
|
1942
|
+
* @type {?}
|
|
1943
|
+
* @private
|
|
1944
|
+
*/
|
|
1945
|
+
RAWidgetContainer.prototype.translateService;
|
|
1946
|
+
/**
|
|
1947
|
+
* @type {?}
|
|
1948
|
+
* @private
|
|
1949
|
+
*/
|
|
1950
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1951
|
+
/**
|
|
1952
|
+
* @type {?}
|
|
1953
|
+
* @private
|
|
1954
|
+
*/
|
|
1955
|
+
RAWidgetContainer.prototype.notifier;
|
|
1956
|
+
/**
|
|
1957
|
+
* @type {?}
|
|
1958
|
+
* @private
|
|
1959
|
+
*/
|
|
1960
|
+
RAWidgetContainer.prototype.renderer;
|
|
1961
|
+
}
|
|
1569
1962
|
|
|
1570
1963
|
/**
|
|
1571
1964
|
* @fileoverview added by tsickle
|
|
1572
|
-
*
|
|
1965
|
+
* Generated from: lib/custom.notifier.options.ts
|
|
1966
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1573
1967
|
*/
|
|
1574
1968
|
/** @type {?} */
|
|
1575
1969
|
var customNotifierOptions = {
|
|
@@ -1615,7 +2009,8 @@ var customNotifierOptions = {
|
|
|
1615
2009
|
|
|
1616
2010
|
/**
|
|
1617
2011
|
* @fileoverview added by tsickle
|
|
1618
|
-
*
|
|
2012
|
+
* Generated from: gridster/lib/gridsterConfig.constant.ts
|
|
2013
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1619
2014
|
*/
|
|
1620
2015
|
/** @type {?} */
|
|
1621
2016
|
var GridsterConfigService = {
|
|
@@ -1793,7 +2188,8 @@ var GridsterConfigService = {
|
|
|
1793
2188
|
|
|
1794
2189
|
/**
|
|
1795
2190
|
* @fileoverview added by tsickle
|
|
1796
|
-
*
|
|
2191
|
+
* Generated from: gridster/lib/gridsterUtils.service.ts
|
|
2192
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1797
2193
|
*/
|
|
1798
2194
|
var GridsterUtils = /** @class */ (function () {
|
|
1799
2195
|
function GridsterUtils() {
|
|
@@ -1968,7 +2364,8 @@ var GridsterUtils = /** @class */ (function () {
|
|
|
1968
2364
|
|
|
1969
2365
|
/**
|
|
1970
2366
|
* @fileoverview added by tsickle
|
|
1971
|
-
*
|
|
2367
|
+
* Generated from: gridster/lib/gridster.interface.ts
|
|
2368
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1972
2369
|
*/
|
|
1973
2370
|
/**
|
|
1974
2371
|
* @abstract
|
|
@@ -1980,11 +2377,86 @@ GridsterComponentInterface = /** @class */ (function () {
|
|
|
1980
2377
|
function GridsterComponentInterface() {
|
|
1981
2378
|
}
|
|
1982
2379
|
return GridsterComponentInterface;
|
|
1983
|
-
}());
|
|
2380
|
+
}());
|
|
2381
|
+
if (false) {
|
|
2382
|
+
/** @type {?} */
|
|
2383
|
+
GridsterComponentInterface.prototype.$options;
|
|
2384
|
+
/** @type {?} */
|
|
2385
|
+
GridsterComponentInterface.prototype.grid;
|
|
2386
|
+
/** @type {?} */
|
|
2387
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
2388
|
+
/** @type {?} */
|
|
2389
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
2390
|
+
/** @type {?} */
|
|
2391
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
2392
|
+
/** @type {?} */
|
|
2393
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
2394
|
+
/** @type {?} */
|
|
2395
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
2396
|
+
/** @type {?} */
|
|
2397
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
2398
|
+
/** @type {?} */
|
|
2399
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
2400
|
+
/** @type {?} */
|
|
2401
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
2402
|
+
/** @type {?} */
|
|
2403
|
+
GridsterComponentInterface.prototype.el;
|
|
2404
|
+
/** @type {?} */
|
|
2405
|
+
GridsterComponentInterface.prototype.renderer;
|
|
2406
|
+
/** @type {?} */
|
|
2407
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
2408
|
+
/** @type {?} */
|
|
2409
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
2410
|
+
/** @type {?} */
|
|
2411
|
+
GridsterComponentInterface.prototype.options;
|
|
2412
|
+
/** @type {?} */
|
|
2413
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
2414
|
+
/** @type {?} */
|
|
2415
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
2416
|
+
/** @type {?} */
|
|
2417
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
2418
|
+
/** @type {?} */
|
|
2419
|
+
GridsterComponentInterface.prototype.addItem;
|
|
2420
|
+
/** @type {?} */
|
|
2421
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
2422
|
+
/** @type {?} */
|
|
2423
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
2424
|
+
/** @type {?} */
|
|
2425
|
+
GridsterComponentInterface.prototype.mobile;
|
|
2426
|
+
/** @type {?} */
|
|
2427
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
2428
|
+
/** @type {?} */
|
|
2429
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
2430
|
+
/** @type {?} */
|
|
2431
|
+
GridsterComponentInterface.prototype.columns;
|
|
2432
|
+
/** @type {?} */
|
|
2433
|
+
GridsterComponentInterface.prototype.rows;
|
|
2434
|
+
/** @type {?} */
|
|
2435
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
2436
|
+
/** @type {?} */
|
|
2437
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
2438
|
+
/** @type {?} */
|
|
2439
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
2440
|
+
/** @type {?} */
|
|
2441
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
2442
|
+
/** @type {?} */
|
|
2443
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
2444
|
+
/** @type {?} */
|
|
2445
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
2446
|
+
/** @type {?} */
|
|
2447
|
+
GridsterComponentInterface.prototype.compact;
|
|
2448
|
+
/** @type {?} */
|
|
2449
|
+
GridsterComponentInterface.prototype.zone;
|
|
2450
|
+
/** @type {?} */
|
|
2451
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
2452
|
+
/** @type {?} */
|
|
2453
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
2454
|
+
}
|
|
1984
2455
|
|
|
1985
2456
|
/**
|
|
1986
2457
|
* @fileoverview added by tsickle
|
|
1987
|
-
*
|
|
2458
|
+
* Generated from: gridster/lib/gridsterEmptyCell.service.ts
|
|
2459
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1988
2460
|
*/
|
|
1989
2461
|
var GridsterEmptyCell = /** @class */ (function () {
|
|
1990
2462
|
function GridsterEmptyCell(gridster) {
|
|
@@ -2301,11 +2773,45 @@ var GridsterEmptyCell = /** @class */ (function () {
|
|
|
2301
2773
|
{ type: GridsterComponentInterface }
|
|
2302
2774
|
]; };
|
|
2303
2775
|
return GridsterEmptyCell;
|
|
2304
|
-
}());
|
|
2776
|
+
}());
|
|
2777
|
+
if (false) {
|
|
2778
|
+
/** @type {?} */
|
|
2779
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2780
|
+
/** @type {?} */
|
|
2781
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2782
|
+
/** @type {?} */
|
|
2783
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2784
|
+
/** @type {?} */
|
|
2785
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2786
|
+
/** @type {?} */
|
|
2787
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2788
|
+
/** @type {?} */
|
|
2789
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2790
|
+
/** @type {?} */
|
|
2791
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2792
|
+
/** @type {?} */
|
|
2793
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2794
|
+
/** @type {?} */
|
|
2795
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2796
|
+
/** @type {?} */
|
|
2797
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2798
|
+
/** @type {?} */
|
|
2799
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2800
|
+
/** @type {?} */
|
|
2801
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2802
|
+
/** @type {?} */
|
|
2803
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2804
|
+
/**
|
|
2805
|
+
* @type {?}
|
|
2806
|
+
* @private
|
|
2807
|
+
*/
|
|
2808
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2809
|
+
}
|
|
2305
2810
|
|
|
2306
2811
|
/**
|
|
2307
2812
|
* @fileoverview added by tsickle
|
|
2308
|
-
*
|
|
2813
|
+
* Generated from: gridster/lib/gridsterCompact.service.ts
|
|
2814
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2309
2815
|
*/
|
|
2310
2816
|
var GridsterCompact = /** @class */ (function () {
|
|
2311
2817
|
function GridsterCompact(gridster) {
|
|
@@ -2543,11 +3049,19 @@ var GridsterCompact = /** @class */ (function () {
|
|
|
2543
3049
|
{ type: GridsterComponentInterface }
|
|
2544
3050
|
]; };
|
|
2545
3051
|
return GridsterCompact;
|
|
2546
|
-
}());
|
|
3052
|
+
}());
|
|
3053
|
+
if (false) {
|
|
3054
|
+
/**
|
|
3055
|
+
* @type {?}
|
|
3056
|
+
* @private
|
|
3057
|
+
*/
|
|
3058
|
+
GridsterCompact.prototype.gridster;
|
|
3059
|
+
}
|
|
2547
3060
|
|
|
2548
3061
|
/**
|
|
2549
3062
|
* @fileoverview added by tsickle
|
|
2550
|
-
*
|
|
3063
|
+
* Generated from: gridster/lib/gridsterRenderer.service.ts
|
|
3064
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2551
3065
|
*/
|
|
2552
3066
|
var GridsterRenderer = /** @class */ (function () {
|
|
2553
3067
|
function GridsterRenderer(gridster) {
|
|
@@ -2854,11 +3368,19 @@ var GridsterRenderer = /** @class */ (function () {
|
|
|
2854
3368
|
{ type: GridsterComponentInterface }
|
|
2855
3369
|
]; };
|
|
2856
3370
|
return GridsterRenderer;
|
|
2857
|
-
}());
|
|
3371
|
+
}());
|
|
3372
|
+
if (false) {
|
|
3373
|
+
/**
|
|
3374
|
+
* @type {?}
|
|
3375
|
+
* @private
|
|
3376
|
+
*/
|
|
3377
|
+
GridsterRenderer.prototype.gridster;
|
|
3378
|
+
}
|
|
2858
3379
|
|
|
2859
3380
|
/**
|
|
2860
3381
|
* @fileoverview added by tsickle
|
|
2861
|
-
*
|
|
3382
|
+
* Generated from: gridster/lib/gridster.component.ts
|
|
3383
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2862
3384
|
*/
|
|
2863
3385
|
var GridsterComponent = /** @class */ (function () {
|
|
2864
3386
|
function GridsterComponent(el, renderer, cdRef, zone) {
|
|
@@ -3013,6 +3535,17 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
3013
3535
|
if (this.options.destroyCallback) {
|
|
3014
3536
|
this.options.destroyCallback(this);
|
|
3015
3537
|
}
|
|
3538
|
+
//if (this.options.api) {
|
|
3539
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
3540
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
3541
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
3542
|
+
*/
|
|
3543
|
+
if (false) {
|
|
3544
|
+
this.options.api.resize = undefined;
|
|
3545
|
+
this.options.api.optionsChanged = undefined;
|
|
3546
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
3547
|
+
this.options.api = undefined;
|
|
3548
|
+
}
|
|
3016
3549
|
this.emptyCell.destroy();
|
|
3017
3550
|
delete this.emptyCell;
|
|
3018
3551
|
this.compact.destroy();
|
|
@@ -3575,7 +4108,7 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
3575
4108
|
selector: 'gridster',
|
|
3576
4109
|
template: "<div class=\"gridster-column\" *ngFor=\"let column of gridColumns; let i = index;\"\r\n [ngStyle]=\"gridRenderer.getGridColumnStyle(i)\"></div>\r\n<div class=\"gridster-row\" *ngFor=\"let row of gridRows; let i = index;\"\r\n [ngStyle]=\"gridRenderer.getGridRowStyle(i)\"></div>\r\n<ng-content></ng-content>\r\n<gridster-preview class=\"gridster-preview\"></gridster-preview>\r\n",
|
|
3577
4110
|
encapsulation: ViewEncapsulation.None,
|
|
3578
|
-
styles: ["gridster{clear:both;position:relative;box-sizing:border-box;background:#fff;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;overflow:auto}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto;flex-flow:column}gridster.mobile gridster-item{position:relative;width:100%!important;min-height:300px!important}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid #ccc;border-right:1px solid #ccc}gridster .gridster-row{border-top:1px solid #ccc;border-bottom:1px solid #ccc}"]
|
|
4111
|
+
styles: ["gridster{clear:both;position:relative;box-sizing:border-box;background:#fff;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;overflow:auto}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column}gridster.mobile gridster-item{position:relative;width:100%!important;min-height:300px!important}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;-webkit-transition:.3s;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid #ccc;border-right:1px solid #ccc}gridster .gridster-row{border-top:1px solid #ccc;border-bottom:1px solid #ccc}"]
|
|
3579
4112
|
}] }
|
|
3580
4113
|
];
|
|
3581
4114
|
/** @nocollapse */
|
|
@@ -3589,11 +4122,62 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
3589
4122
|
options: [{ type: Input }]
|
|
3590
4123
|
};
|
|
3591
4124
|
return GridsterComponent;
|
|
3592
|
-
}());
|
|
4125
|
+
}());
|
|
4126
|
+
if (false) {
|
|
4127
|
+
/** @type {?} */
|
|
4128
|
+
GridsterComponent.prototype.options;
|
|
4129
|
+
/** @type {?} */
|
|
4130
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
4131
|
+
/** @type {?} */
|
|
4132
|
+
GridsterComponent.prototype.movingItem;
|
|
4133
|
+
/** @type {?} */
|
|
4134
|
+
GridsterComponent.prototype.previewStyle;
|
|
4135
|
+
/** @type {?} */
|
|
4136
|
+
GridsterComponent.prototype.el;
|
|
4137
|
+
/** @type {?} */
|
|
4138
|
+
GridsterComponent.prototype.$options;
|
|
4139
|
+
/** @type {?} */
|
|
4140
|
+
GridsterComponent.prototype.mobile;
|
|
4141
|
+
/** @type {?} */
|
|
4142
|
+
GridsterComponent.prototype.curWidth;
|
|
4143
|
+
/** @type {?} */
|
|
4144
|
+
GridsterComponent.prototype.curHeight;
|
|
4145
|
+
/** @type {?} */
|
|
4146
|
+
GridsterComponent.prototype.grid;
|
|
4147
|
+
/** @type {?} */
|
|
4148
|
+
GridsterComponent.prototype.columns;
|
|
4149
|
+
/** @type {?} */
|
|
4150
|
+
GridsterComponent.prototype.rows;
|
|
4151
|
+
/** @type {?} */
|
|
4152
|
+
GridsterComponent.prototype.curColWidth;
|
|
4153
|
+
/** @type {?} */
|
|
4154
|
+
GridsterComponent.prototype.curRowHeight;
|
|
4155
|
+
/** @type {?} */
|
|
4156
|
+
GridsterComponent.prototype.gridColumns;
|
|
4157
|
+
/** @type {?} */
|
|
4158
|
+
GridsterComponent.prototype.gridRows;
|
|
4159
|
+
/** @type {?} */
|
|
4160
|
+
GridsterComponent.prototype.windowResize;
|
|
4161
|
+
/** @type {?} */
|
|
4162
|
+
GridsterComponent.prototype.dragInProgress;
|
|
4163
|
+
/** @type {?} */
|
|
4164
|
+
GridsterComponent.prototype.emptyCell;
|
|
4165
|
+
/** @type {?} */
|
|
4166
|
+
GridsterComponent.prototype.compact;
|
|
4167
|
+
/** @type {?} */
|
|
4168
|
+
GridsterComponent.prototype.gridRenderer;
|
|
4169
|
+
/** @type {?} */
|
|
4170
|
+
GridsterComponent.prototype.renderer;
|
|
4171
|
+
/** @type {?} */
|
|
4172
|
+
GridsterComponent.prototype.cdRef;
|
|
4173
|
+
/** @type {?} */
|
|
4174
|
+
GridsterComponent.prototype.zone;
|
|
4175
|
+
}
|
|
3593
4176
|
|
|
3594
4177
|
/**
|
|
3595
4178
|
* @fileoverview added by tsickle
|
|
3596
|
-
*
|
|
4179
|
+
* Generated from: gridster/lib/gridsterItemComponent.interface.ts
|
|
4180
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3597
4181
|
*/
|
|
3598
4182
|
/**
|
|
3599
4183
|
* @abstract
|
|
@@ -3605,11 +4189,50 @@ GridsterItemComponentInterface = /** @class */ (function () {
|
|
|
3605
4189
|
function GridsterItemComponentInterface() {
|
|
3606
4190
|
}
|
|
3607
4191
|
return GridsterItemComponentInterface;
|
|
3608
|
-
}());
|
|
4192
|
+
}());
|
|
4193
|
+
if (false) {
|
|
4194
|
+
/** @type {?} */
|
|
4195
|
+
GridsterItemComponentInterface.prototype.item;
|
|
4196
|
+
/** @type {?} */
|
|
4197
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
4198
|
+
/** @type {?} */
|
|
4199
|
+
GridsterItemComponentInterface.prototype.top;
|
|
4200
|
+
/** @type {?} */
|
|
4201
|
+
GridsterItemComponentInterface.prototype.left;
|
|
4202
|
+
/** @type {?} */
|
|
4203
|
+
GridsterItemComponentInterface.prototype.width;
|
|
4204
|
+
/** @type {?} */
|
|
4205
|
+
GridsterItemComponentInterface.prototype.height;
|
|
4206
|
+
/** @type {?} */
|
|
4207
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
4208
|
+
/** @type {?} */
|
|
4209
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
4210
|
+
/** @type {?} */
|
|
4211
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
4212
|
+
/** @type {?} */
|
|
4213
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
4214
|
+
/** @type {?} */
|
|
4215
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
4216
|
+
/** @type {?} */
|
|
4217
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
4218
|
+
/** @type {?} */
|
|
4219
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
4220
|
+
/** @type {?} */
|
|
4221
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
4222
|
+
/** @type {?} */
|
|
4223
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
4224
|
+
/** @type {?} */
|
|
4225
|
+
GridsterItemComponentInterface.prototype.el;
|
|
4226
|
+
/** @type {?} */
|
|
4227
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
4228
|
+
/** @type {?} */
|
|
4229
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
4230
|
+
}
|
|
3609
4231
|
|
|
3610
4232
|
/**
|
|
3611
4233
|
* @fileoverview added by tsickle
|
|
3612
|
-
*
|
|
4234
|
+
* Generated from: gridster/lib/gridsterSwap.service.ts
|
|
4235
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3613
4236
|
*/
|
|
3614
4237
|
var GridsterSwap = /** @class */ (function () {
|
|
3615
4238
|
function GridsterSwap(gridsterItem) {
|
|
@@ -3737,11 +4360,29 @@ var GridsterSwap = /** @class */ (function () {
|
|
|
3737
4360
|
{ type: GridsterItemComponentInterface }
|
|
3738
4361
|
]; };
|
|
3739
4362
|
return GridsterSwap;
|
|
3740
|
-
}());
|
|
4363
|
+
}());
|
|
4364
|
+
if (false) {
|
|
4365
|
+
/**
|
|
4366
|
+
* @type {?}
|
|
4367
|
+
* @private
|
|
4368
|
+
*/
|
|
4369
|
+
GridsterSwap.prototype.swapedItem;
|
|
4370
|
+
/**
|
|
4371
|
+
* @type {?}
|
|
4372
|
+
* @private
|
|
4373
|
+
*/
|
|
4374
|
+
GridsterSwap.prototype.gridsterItem;
|
|
4375
|
+
/**
|
|
4376
|
+
* @type {?}
|
|
4377
|
+
* @private
|
|
4378
|
+
*/
|
|
4379
|
+
GridsterSwap.prototype.gridster;
|
|
4380
|
+
}
|
|
3741
4381
|
|
|
3742
4382
|
/**
|
|
3743
4383
|
* @fileoverview added by tsickle
|
|
3744
|
-
*
|
|
4384
|
+
* Generated from: gridster/lib/gridsterScroll.service.ts
|
|
4385
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3745
4386
|
*/
|
|
3746
4387
|
/** @type {?} */
|
|
3747
4388
|
var scrollSensitivity;
|
|
@@ -3936,7 +4577,8 @@ function cancelN() {
|
|
|
3936
4577
|
|
|
3937
4578
|
/**
|
|
3938
4579
|
* @fileoverview added by tsickle
|
|
3939
|
-
*
|
|
4580
|
+
* Generated from: gridster/lib/gridsterPush.service.ts
|
|
4581
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3940
4582
|
*/
|
|
3941
4583
|
var GridsterPush = /** @class */ (function () {
|
|
3942
4584
|
function GridsterPush(gridsterItem) {
|
|
@@ -4426,11 +5068,62 @@ var GridsterPush = /** @class */ (function () {
|
|
|
4426
5068
|
{ type: GridsterItemComponentInterface }
|
|
4427
5069
|
]; };
|
|
4428
5070
|
return GridsterPush;
|
|
4429
|
-
}());
|
|
5071
|
+
}());
|
|
5072
|
+
if (false) {
|
|
5073
|
+
/** @type {?} */
|
|
5074
|
+
GridsterPush.prototype.fromSouth;
|
|
5075
|
+
/** @type {?} */
|
|
5076
|
+
GridsterPush.prototype.fromNorth;
|
|
5077
|
+
/** @type {?} */
|
|
5078
|
+
GridsterPush.prototype.fromEast;
|
|
5079
|
+
/** @type {?} */
|
|
5080
|
+
GridsterPush.prototype.fromWest;
|
|
5081
|
+
/**
|
|
5082
|
+
* @type {?}
|
|
5083
|
+
* @private
|
|
5084
|
+
*/
|
|
5085
|
+
GridsterPush.prototype.pushedItems;
|
|
5086
|
+
/**
|
|
5087
|
+
* @type {?}
|
|
5088
|
+
* @private
|
|
5089
|
+
*/
|
|
5090
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
5091
|
+
/**
|
|
5092
|
+
* @type {?}
|
|
5093
|
+
* @private
|
|
5094
|
+
*/
|
|
5095
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
5096
|
+
/**
|
|
5097
|
+
* @type {?}
|
|
5098
|
+
* @private
|
|
5099
|
+
*/
|
|
5100
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
5101
|
+
/**
|
|
5102
|
+
* @type {?}
|
|
5103
|
+
* @private
|
|
5104
|
+
*/
|
|
5105
|
+
GridsterPush.prototype.gridsterItem;
|
|
5106
|
+
/**
|
|
5107
|
+
* @type {?}
|
|
5108
|
+
* @private
|
|
5109
|
+
*/
|
|
5110
|
+
GridsterPush.prototype.gridster;
|
|
5111
|
+
/**
|
|
5112
|
+
* @type {?}
|
|
5113
|
+
* @private
|
|
5114
|
+
*/
|
|
5115
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
5116
|
+
/**
|
|
5117
|
+
* @type {?}
|
|
5118
|
+
* @private
|
|
5119
|
+
*/
|
|
5120
|
+
GridsterPush.prototype.tryPattern;
|
|
5121
|
+
}
|
|
4430
5122
|
|
|
4431
5123
|
/**
|
|
4432
5124
|
* @fileoverview added by tsickle
|
|
4433
|
-
*
|
|
5125
|
+
* Generated from: gridster/lib/gridsterDraggable.service.ts
|
|
5126
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4434
5127
|
*/
|
|
4435
5128
|
var GridsterDraggable = /** @class */ (function () {
|
|
4436
5129
|
function GridsterDraggable(gridsterItem, gridster, zone) {
|
|
@@ -4734,6 +5427,10 @@ var GridsterDraggable = /** @class */ (function () {
|
|
|
4734
5427
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
4735
5428
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
4736
5429
|
}
|
|
5430
|
+
else {
|
|
5431
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
5432
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
5433
|
+
}
|
|
4737
5434
|
return this.gridsterItem.$item;
|
|
4738
5435
|
};
|
|
4739
5436
|
/**
|
|
@@ -4890,11 +5587,85 @@ var GridsterDraggable = /** @class */ (function () {
|
|
|
4890
5587
|
{ type: NgZone }
|
|
4891
5588
|
]; };
|
|
4892
5589
|
return GridsterDraggable;
|
|
4893
|
-
}());
|
|
5590
|
+
}());
|
|
5591
|
+
if (false) {
|
|
5592
|
+
/** @type {?} */
|
|
5593
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
5594
|
+
/** @type {?} */
|
|
5595
|
+
GridsterDraggable.prototype.gridster;
|
|
5596
|
+
/** @type {?} */
|
|
5597
|
+
GridsterDraggable.prototype.lastMouse;
|
|
5598
|
+
/** @type {?} */
|
|
5599
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
5600
|
+
/** @type {?} */
|
|
5601
|
+
GridsterDraggable.prototype.offsetTop;
|
|
5602
|
+
/** @type {?} */
|
|
5603
|
+
GridsterDraggable.prototype.margin;
|
|
5604
|
+
/** @type {?} */
|
|
5605
|
+
GridsterDraggable.prototype.diffTop;
|
|
5606
|
+
/** @type {?} */
|
|
5607
|
+
GridsterDraggable.prototype.diffLeft;
|
|
5608
|
+
/** @type {?} */
|
|
5609
|
+
GridsterDraggable.prototype.top;
|
|
5610
|
+
/** @type {?} */
|
|
5611
|
+
GridsterDraggable.prototype.left;
|
|
5612
|
+
/** @type {?} */
|
|
5613
|
+
GridsterDraggable.prototype.height;
|
|
5614
|
+
/** @type {?} */
|
|
5615
|
+
GridsterDraggable.prototype.width;
|
|
5616
|
+
/** @type {?} */
|
|
5617
|
+
GridsterDraggable.prototype.positionX;
|
|
5618
|
+
/** @type {?} */
|
|
5619
|
+
GridsterDraggable.prototype.positionY;
|
|
5620
|
+
/** @type {?} */
|
|
5621
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
5622
|
+
/** @type {?} */
|
|
5623
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
5624
|
+
/** @type {?} */
|
|
5625
|
+
GridsterDraggable.prototype.enabled;
|
|
5626
|
+
/** @type {?} */
|
|
5627
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
5628
|
+
/** @type {?} */
|
|
5629
|
+
GridsterDraggable.prototype.dragFunction;
|
|
5630
|
+
/** @type {?} */
|
|
5631
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
5632
|
+
/** @type {?} */
|
|
5633
|
+
GridsterDraggable.prototype.mousemove;
|
|
5634
|
+
/** @type {?} */
|
|
5635
|
+
GridsterDraggable.prototype.mouseup;
|
|
5636
|
+
/** @type {?} */
|
|
5637
|
+
GridsterDraggable.prototype.mouseleave;
|
|
5638
|
+
/** @type {?} */
|
|
5639
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
5640
|
+
/** @type {?} */
|
|
5641
|
+
GridsterDraggable.prototype.touchmove;
|
|
5642
|
+
/** @type {?} */
|
|
5643
|
+
GridsterDraggable.prototype.touchend;
|
|
5644
|
+
/** @type {?} */
|
|
5645
|
+
GridsterDraggable.prototype.touchcancel;
|
|
5646
|
+
/** @type {?} */
|
|
5647
|
+
GridsterDraggable.prototype.mousedown;
|
|
5648
|
+
/** @type {?} */
|
|
5649
|
+
GridsterDraggable.prototype.touchstart;
|
|
5650
|
+
/** @type {?} */
|
|
5651
|
+
GridsterDraggable.prototype.push;
|
|
5652
|
+
/** @type {?} */
|
|
5653
|
+
GridsterDraggable.prototype.swap;
|
|
5654
|
+
/** @type {?} */
|
|
5655
|
+
GridsterDraggable.prototype.path;
|
|
5656
|
+
/** @type {?} */
|
|
5657
|
+
GridsterDraggable.prototype.collision;
|
|
5658
|
+
/**
|
|
5659
|
+
* @type {?}
|
|
5660
|
+
* @private
|
|
5661
|
+
*/
|
|
5662
|
+
GridsterDraggable.prototype.zone;
|
|
5663
|
+
}
|
|
4894
5664
|
|
|
4895
5665
|
/**
|
|
4896
5666
|
* @fileoverview added by tsickle
|
|
4897
|
-
*
|
|
5667
|
+
* Generated from: gridster/lib/gridsterPushResize.service.ts
|
|
5668
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4898
5669
|
*/
|
|
4899
5670
|
var GridsterPushResize = /** @class */ (function () {
|
|
4900
5671
|
function GridsterPushResize(gridsterItem) {
|
|
@@ -5274,11 +6045,47 @@ var GridsterPushResize = /** @class */ (function () {
|
|
|
5274
6045
|
{ type: GridsterItemComponentInterface }
|
|
5275
6046
|
]; };
|
|
5276
6047
|
return GridsterPushResize;
|
|
5277
|
-
}());
|
|
6048
|
+
}());
|
|
6049
|
+
if (false) {
|
|
6050
|
+
/** @type {?} */
|
|
6051
|
+
GridsterPushResize.prototype.fromSouth;
|
|
6052
|
+
/** @type {?} */
|
|
6053
|
+
GridsterPushResize.prototype.fromNorth;
|
|
6054
|
+
/** @type {?} */
|
|
6055
|
+
GridsterPushResize.prototype.fromEast;
|
|
6056
|
+
/** @type {?} */
|
|
6057
|
+
GridsterPushResize.prototype.fromWest;
|
|
6058
|
+
/**
|
|
6059
|
+
* @type {?}
|
|
6060
|
+
* @private
|
|
6061
|
+
*/
|
|
6062
|
+
GridsterPushResize.prototype.pushedItems;
|
|
6063
|
+
/**
|
|
6064
|
+
* @type {?}
|
|
6065
|
+
* @private
|
|
6066
|
+
*/
|
|
6067
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
6068
|
+
/**
|
|
6069
|
+
* @type {?}
|
|
6070
|
+
* @private
|
|
6071
|
+
*/
|
|
6072
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
6073
|
+
/**
|
|
6074
|
+
* @type {?}
|
|
6075
|
+
* @private
|
|
6076
|
+
*/
|
|
6077
|
+
GridsterPushResize.prototype.gridster;
|
|
6078
|
+
/**
|
|
6079
|
+
* @type {?}
|
|
6080
|
+
* @private
|
|
6081
|
+
*/
|
|
6082
|
+
GridsterPushResize.prototype.tryPattern;
|
|
6083
|
+
}
|
|
5278
6084
|
|
|
5279
6085
|
/**
|
|
5280
6086
|
* @fileoverview added by tsickle
|
|
5281
|
-
*
|
|
6087
|
+
* Generated from: gridster/lib/gridsterResizable.service.ts
|
|
6088
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5282
6089
|
*/
|
|
5283
6090
|
var GridsterResizable = /** @class */ (function () {
|
|
5284
6091
|
function GridsterResizable(gridsterItem, gridster, zone) {
|
|
@@ -5820,11 +6627,87 @@ var GridsterResizable = /** @class */ (function () {
|
|
|
5820
6627
|
{ type: NgZone }
|
|
5821
6628
|
]; };
|
|
5822
6629
|
return GridsterResizable;
|
|
5823
|
-
}());
|
|
6630
|
+
}());
|
|
6631
|
+
if (false) {
|
|
6632
|
+
/** @type {?} */
|
|
6633
|
+
GridsterResizable.prototype.gridsterItem;
|
|
6634
|
+
/** @type {?} */
|
|
6635
|
+
GridsterResizable.prototype.gridster;
|
|
6636
|
+
/** @type {?} */
|
|
6637
|
+
GridsterResizable.prototype.lastMouse;
|
|
6638
|
+
/** @type {?} */
|
|
6639
|
+
GridsterResizable.prototype.itemBackup;
|
|
6640
|
+
/** @type {?} */
|
|
6641
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
6642
|
+
/** @type {?} */
|
|
6643
|
+
GridsterResizable.prototype.directionFunction;
|
|
6644
|
+
/** @type {?} */
|
|
6645
|
+
GridsterResizable.prototype.dragFunction;
|
|
6646
|
+
/** @type {?} */
|
|
6647
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
6648
|
+
/** @type {?} */
|
|
6649
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
6650
|
+
/** @type {?} */
|
|
6651
|
+
GridsterResizable.prototype.mousemove;
|
|
6652
|
+
/** @type {?} */
|
|
6653
|
+
GridsterResizable.prototype.mouseup;
|
|
6654
|
+
/** @type {?} */
|
|
6655
|
+
GridsterResizable.prototype.mouseleave;
|
|
6656
|
+
/** @type {?} */
|
|
6657
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
6658
|
+
/** @type {?} */
|
|
6659
|
+
GridsterResizable.prototype.touchmove;
|
|
6660
|
+
/** @type {?} */
|
|
6661
|
+
GridsterResizable.prototype.touchend;
|
|
6662
|
+
/** @type {?} */
|
|
6663
|
+
GridsterResizable.prototype.touchcancel;
|
|
6664
|
+
/** @type {?} */
|
|
6665
|
+
GridsterResizable.prototype.push;
|
|
6666
|
+
/** @type {?} */
|
|
6667
|
+
GridsterResizable.prototype.pushResize;
|
|
6668
|
+
/** @type {?} */
|
|
6669
|
+
GridsterResizable.prototype.minHeight;
|
|
6670
|
+
/** @type {?} */
|
|
6671
|
+
GridsterResizable.prototype.minWidth;
|
|
6672
|
+
/** @type {?} */
|
|
6673
|
+
GridsterResizable.prototype.offsetTop;
|
|
6674
|
+
/** @type {?} */
|
|
6675
|
+
GridsterResizable.prototype.offsetLeft;
|
|
6676
|
+
/** @type {?} */
|
|
6677
|
+
GridsterResizable.prototype.diffTop;
|
|
6678
|
+
/** @type {?} */
|
|
6679
|
+
GridsterResizable.prototype.diffLeft;
|
|
6680
|
+
/** @type {?} */
|
|
6681
|
+
GridsterResizable.prototype.diffRight;
|
|
6682
|
+
/** @type {?} */
|
|
6683
|
+
GridsterResizable.prototype.diffBottom;
|
|
6684
|
+
/** @type {?} */
|
|
6685
|
+
GridsterResizable.prototype.margin;
|
|
6686
|
+
/** @type {?} */
|
|
6687
|
+
GridsterResizable.prototype.top;
|
|
6688
|
+
/** @type {?} */
|
|
6689
|
+
GridsterResizable.prototype.left;
|
|
6690
|
+
/** @type {?} */
|
|
6691
|
+
GridsterResizable.prototype.bottom;
|
|
6692
|
+
/** @type {?} */
|
|
6693
|
+
GridsterResizable.prototype.right;
|
|
6694
|
+
/** @type {?} */
|
|
6695
|
+
GridsterResizable.prototype.width;
|
|
6696
|
+
/** @type {?} */
|
|
6697
|
+
GridsterResizable.prototype.height;
|
|
6698
|
+
/** @type {?} */
|
|
6699
|
+
GridsterResizable.prototype.newPosition;
|
|
6700
|
+
/**
|
|
6701
|
+
* @type {?}
|
|
6702
|
+
* @private
|
|
6703
|
+
*/
|
|
6704
|
+
GridsterResizable.prototype.zone;
|
|
6705
|
+
}
|
|
5824
6706
|
|
|
5825
6707
|
/**
|
|
5826
6708
|
* @fileoverview added by tsickle
|
|
5827
|
-
*
|
|
6709
|
+
* Generated from: gridster/lib/gridsterItem.component.ts
|
|
6710
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5828
6711
|
*/
|
|
5829
6712
|
var GridsterItemComponent = /** @class */ (function () {
|
|
5830
6713
|
function GridsterItemComponent(el, gridster, renderer, zone) {
|
|
@@ -6005,7 +6888,7 @@ var GridsterItemComponent = /** @class */ (function () {
|
|
|
6005
6888
|
selector: 'gridster-item',
|
|
6006
6889
|
template: "<ng-content></ng-content>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.s || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-s\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.e || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-e\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.n || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-n\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.w || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-w\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.se || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-se\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.ne || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-ne\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.sw || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-sw\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.nw || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-nw\"></div>\r\n",
|
|
6007
6890
|
encapsulation: ViewEncapsulation.None,
|
|
6008
|
-
styles: ["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-moving,gridster-item.gridster-item-resizing{transition:none;z-index:2;box-shadow:0 0 5px 5px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:n-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:e-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:s-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:w-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}"]
|
|
6891
|
+
styles: ["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;-webkit-transition:.3s;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-moving,gridster-item.gridster-item-resizing{-webkit-transition:none;transition:none;z-index:2;box-shadow:0 0 5px 5px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:n-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:e-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:s-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:w-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}"]
|
|
6009
6892
|
}] }
|
|
6010
6893
|
];
|
|
6011
6894
|
/** @nocollapse */
|
|
@@ -6019,11 +6902,45 @@ var GridsterItemComponent = /** @class */ (function () {
|
|
|
6019
6902
|
item: [{ type: Input }]
|
|
6020
6903
|
};
|
|
6021
6904
|
return GridsterItemComponent;
|
|
6022
|
-
}());
|
|
6905
|
+
}());
|
|
6906
|
+
if (false) {
|
|
6907
|
+
/** @type {?} */
|
|
6908
|
+
GridsterItemComponent.prototype.item;
|
|
6909
|
+
/** @type {?} */
|
|
6910
|
+
GridsterItemComponent.prototype.$item;
|
|
6911
|
+
/** @type {?} */
|
|
6912
|
+
GridsterItemComponent.prototype.el;
|
|
6913
|
+
/** @type {?} */
|
|
6914
|
+
GridsterItemComponent.prototype.gridster;
|
|
6915
|
+
/** @type {?} */
|
|
6916
|
+
GridsterItemComponent.prototype.top;
|
|
6917
|
+
/** @type {?} */
|
|
6918
|
+
GridsterItemComponent.prototype.left;
|
|
6919
|
+
/** @type {?} */
|
|
6920
|
+
GridsterItemComponent.prototype.width;
|
|
6921
|
+
/** @type {?} */
|
|
6922
|
+
GridsterItemComponent.prototype.height;
|
|
6923
|
+
/** @type {?} */
|
|
6924
|
+
GridsterItemComponent.prototype.drag;
|
|
6925
|
+
/** @type {?} */
|
|
6926
|
+
GridsterItemComponent.prototype.resize;
|
|
6927
|
+
/** @type {?} */
|
|
6928
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
6929
|
+
/** @type {?} */
|
|
6930
|
+
GridsterItemComponent.prototype.init;
|
|
6931
|
+
/** @type {?} */
|
|
6932
|
+
GridsterItemComponent.prototype.renderer;
|
|
6933
|
+
/**
|
|
6934
|
+
* @type {?}
|
|
6935
|
+
* @private
|
|
6936
|
+
*/
|
|
6937
|
+
GridsterItemComponent.prototype.zone;
|
|
6938
|
+
}
|
|
6023
6939
|
|
|
6024
6940
|
/**
|
|
6025
6941
|
* @fileoverview added by tsickle
|
|
6026
|
-
*
|
|
6942
|
+
* Generated from: gridster/lib/gridsterPreview.component.ts
|
|
6943
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6027
6944
|
*/
|
|
6028
6945
|
var GridsterPreviewComponent = /** @class */ (function () {
|
|
6029
6946
|
function GridsterPreviewComponent(el, gridster, renderer) {
|
|
@@ -6078,11 +6995,20 @@ var GridsterPreviewComponent = /** @class */ (function () {
|
|
|
6078
6995
|
{ type: Renderer2 }
|
|
6079
6996
|
]; };
|
|
6080
6997
|
return GridsterPreviewComponent;
|
|
6081
|
-
}());
|
|
6998
|
+
}());
|
|
6999
|
+
if (false) {
|
|
7000
|
+
/** @type {?} */
|
|
7001
|
+
GridsterPreviewComponent.prototype.el;
|
|
7002
|
+
/** @type {?} */
|
|
7003
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
7004
|
+
/** @type {?} */
|
|
7005
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
7006
|
+
}
|
|
6082
7007
|
|
|
6083
7008
|
/**
|
|
6084
7009
|
* @fileoverview added by tsickle
|
|
6085
|
-
*
|
|
7010
|
+
* Generated from: gridster/lib/gridster.module.ts
|
|
7011
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6086
7012
|
*/
|
|
6087
7013
|
var GridsterModule = /** @class */ (function () {
|
|
6088
7014
|
function GridsterModule() {
|
|
@@ -6107,7 +7033,8 @@ var GridsterModule = /** @class */ (function () {
|
|
|
6107
7033
|
|
|
6108
7034
|
/**
|
|
6109
7035
|
* @fileoverview added by tsickle
|
|
6110
|
-
*
|
|
7036
|
+
* Generated from: lib/ra.dashboard.module.ts
|
|
7037
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6111
7038
|
*/
|
|
6112
7039
|
/** @type {?} */
|
|
6113
7040
|
var DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
@@ -6148,7 +7075,8 @@ var DashboardFrameworkModule = /** @class */ (function () {
|
|
|
6148
7075
|
|
|
6149
7076
|
/**
|
|
6150
7077
|
* @fileoverview added by tsickle
|
|
6151
|
-
*
|
|
7078
|
+
* Generated from: lib/ra.base.dashboard.template.ts
|
|
7079
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6152
7080
|
*/
|
|
6153
7081
|
/**
|
|
6154
7082
|
* @abstract
|
|
@@ -6192,11 +7120,36 @@ var RaBaseDashboardTemplate = /** @class */ (function () {
|
|
|
6192
7120
|
initialize: [{ type: Input }]
|
|
6193
7121
|
};
|
|
6194
7122
|
return RaBaseDashboardTemplate;
|
|
6195
|
-
}());
|
|
7123
|
+
}());
|
|
7124
|
+
if (false) {
|
|
7125
|
+
/** @type {?} */
|
|
7126
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
7127
|
+
/** @type {?} */
|
|
7128
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
7129
|
+
/** @type {?} */
|
|
7130
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
7131
|
+
/** @type {?} */
|
|
7132
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
7133
|
+
/** @type {?} */
|
|
7134
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
7135
|
+
/** @type {?} */
|
|
7136
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
7137
|
+
/**
|
|
7138
|
+
* @type {?}
|
|
7139
|
+
* @private
|
|
7140
|
+
*/
|
|
7141
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
7142
|
+
/**
|
|
7143
|
+
* @abstract
|
|
7144
|
+
* @return {?}
|
|
7145
|
+
*/
|
|
7146
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
7147
|
+
}
|
|
6196
7148
|
|
|
6197
7149
|
/**
|
|
6198
7150
|
* @fileoverview added by tsickle
|
|
6199
|
-
*
|
|
7151
|
+
* Generated from: lib/ra.base.dashboard.filter.ts
|
|
7152
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6200
7153
|
*/
|
|
6201
7154
|
/**
|
|
6202
7155
|
* @abstract
|
|
@@ -6250,16 +7203,53 @@ var RaBaseDashboardFilter = /** @class */ (function () {
|
|
|
6250
7203
|
clearAllData: [{ type: Input }]
|
|
6251
7204
|
};
|
|
6252
7205
|
return RaBaseDashboardFilter;
|
|
6253
|
-
}());
|
|
7206
|
+
}());
|
|
7207
|
+
if (false) {
|
|
7208
|
+
/**
|
|
7209
|
+
* @type {?}
|
|
7210
|
+
* @private
|
|
7211
|
+
*/
|
|
7212
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
7213
|
+
/** @type {?} */
|
|
7214
|
+
RaBaseDashboardFilter.prototype.setAllFilterConfig;
|
|
7215
|
+
/** @type {?} */
|
|
7216
|
+
RaBaseDashboardFilter.prototype.isValidEntry;
|
|
7217
|
+
/** @type {?} */
|
|
7218
|
+
RaBaseDashboardFilter.prototype.clearAllData;
|
|
7219
|
+
/**
|
|
7220
|
+
* @abstract
|
|
7221
|
+
* @return {?}
|
|
7222
|
+
*/
|
|
7223
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
7224
|
+
/**
|
|
7225
|
+
* @abstract
|
|
7226
|
+
* @param {?} filter
|
|
7227
|
+
* @param {?} appConfig
|
|
7228
|
+
* @return {?}
|
|
7229
|
+
*/
|
|
7230
|
+
RaBaseDashboardFilter.prototype.setFilterConfig = function (filter, appConfig) { };
|
|
7231
|
+
/**
|
|
7232
|
+
* @abstract
|
|
7233
|
+
* @return {?}
|
|
7234
|
+
*/
|
|
7235
|
+
RaBaseDashboardFilter.prototype.clearData = function () { };
|
|
7236
|
+
/**
|
|
7237
|
+
* @abstract
|
|
7238
|
+
* @return {?}
|
|
7239
|
+
*/
|
|
7240
|
+
RaBaseDashboardFilter.prototype.isValid = function () { };
|
|
7241
|
+
}
|
|
6254
7242
|
|
|
6255
7243
|
/**
|
|
6256
7244
|
* @fileoverview added by tsickle
|
|
6257
|
-
*
|
|
7245
|
+
* Generated from: public-api.ts
|
|
7246
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6258
7247
|
*/
|
|
6259
7248
|
|
|
6260
7249
|
/**
|
|
6261
7250
|
* @fileoverview added by tsickle
|
|
6262
|
-
*
|
|
7251
|
+
* Generated from: schneideress-dashboardframework.ts
|
|
7252
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6263
7253
|
*/
|
|
6264
7254
|
|
|
6265
7255
|
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 };
|