@schneideress/dashboardframework 0.0.63 → 0.0.65
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 +1122 -57
- 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 +1 -1
- package/esm2015/gridster/lib/gridster.component.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +51 -13
- 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 +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/schneideress-dashboardframework.js +1 -1
- package/esm5/gridster/index.js +1 -1
- package/esm5/gridster/lib/gridster.component.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +55 -7
- 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 +1 -1
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +1005 -60
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1011 -56
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +9 -2
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, NgZone, Input, EventEmitter, ViewChild, Output, ViewEncapsulation, ElementRef,
|
|
1
|
+
import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, NgZone, Input, EventEmitter, Renderer2, ViewChild, Output, ViewEncapsulation, ElementRef, ChangeDetectorRef, Host, NgModule } from '@angular/core';
|
|
2
2
|
import { of, Subject } from 'rxjs';
|
|
3
3
|
import { BaseService } from '@schneideress/ess-util';
|
|
4
4
|
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
|
class RaDashboardService extends BaseService {
|
|
19
19
|
/**
|
|
@@ -142,11 +142,18 @@ RaDashboardService.decorators = [
|
|
|
142
142
|
RaDashboardService.ctorParameters = () => [
|
|
143
143
|
{ type: Injector }
|
|
144
144
|
];
|
|
145
|
-
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
145
|
+
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
146
|
+
if (false) {
|
|
147
|
+
/**
|
|
148
|
+
* @type {?}
|
|
149
|
+
* @private
|
|
150
|
+
*/
|
|
151
|
+
RaDashboardService.prototype.loadedScripts;
|
|
152
|
+
}
|
|
146
153
|
|
|
147
154
|
/**
|
|
148
155
|
* @fileoverview added by tsickle
|
|
149
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
156
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
150
157
|
*/
|
|
151
158
|
class RADashboardEventBus {
|
|
152
159
|
constructor() {
|
|
@@ -216,11 +223,18 @@ RADashboardEventBus.decorators = [
|
|
|
216
223
|
providedIn: 'root'
|
|
217
224
|
},] }
|
|
218
225
|
];
|
|
219
|
-
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
226
|
+
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
227
|
+
if (false) {
|
|
228
|
+
/**
|
|
229
|
+
* @type {?}
|
|
230
|
+
* @private
|
|
231
|
+
*/
|
|
232
|
+
RADashboardEventBus.prototype.eventQueue;
|
|
233
|
+
}
|
|
220
234
|
|
|
221
235
|
/**
|
|
222
236
|
* @fileoverview added by tsickle
|
|
223
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
237
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
224
238
|
*/
|
|
225
239
|
/** @enum {string} */
|
|
226
240
|
const RAEvent = {
|
|
@@ -269,7 +283,7 @@ const RAEventKey = {
|
|
|
269
283
|
|
|
270
284
|
/**
|
|
271
285
|
* @fileoverview added by tsickle
|
|
272
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
286
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
273
287
|
*/
|
|
274
288
|
/** @enum {string} */
|
|
275
289
|
const GridType = {
|
|
@@ -296,11 +310,196 @@ const CompactType = {
|
|
|
296
310
|
CompactRight: 'compactRight',
|
|
297
311
|
CompactUpAndRight: 'compactUp&Right',
|
|
298
312
|
CompactRightAndUp: 'compactRight&Up',
|
|
299
|
-
};
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* @record
|
|
316
|
+
*/
|
|
317
|
+
function GridsterConfig() { }
|
|
318
|
+
if (false) {
|
|
319
|
+
/** @type {?|undefined} */
|
|
320
|
+
GridsterConfig.prototype.gridType;
|
|
321
|
+
/** @type {?|undefined} */
|
|
322
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
323
|
+
/** @type {?|undefined} */
|
|
324
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
325
|
+
/** @type {?|undefined} */
|
|
326
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
327
|
+
/** @type {?|undefined} */
|
|
328
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
329
|
+
/** @type {?|undefined} */
|
|
330
|
+
GridsterConfig.prototype.setGridSize;
|
|
331
|
+
/** @type {?|undefined} */
|
|
332
|
+
GridsterConfig.prototype.compactType;
|
|
333
|
+
/** @type {?|undefined} */
|
|
334
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
335
|
+
/** @type {?|undefined} */
|
|
336
|
+
GridsterConfig.prototype.minCols;
|
|
337
|
+
/** @type {?|undefined} */
|
|
338
|
+
GridsterConfig.prototype.maxCols;
|
|
339
|
+
/** @type {?|undefined} */
|
|
340
|
+
GridsterConfig.prototype.minRows;
|
|
341
|
+
/** @type {?|undefined} */
|
|
342
|
+
GridsterConfig.prototype.maxRows;
|
|
343
|
+
/** @type {?|undefined} */
|
|
344
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
345
|
+
/** @type {?|undefined} */
|
|
346
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
347
|
+
/** @type {?|undefined} */
|
|
348
|
+
GridsterConfig.prototype.maxItemCols;
|
|
349
|
+
/** @type {?|undefined} */
|
|
350
|
+
GridsterConfig.prototype.maxItemRows;
|
|
351
|
+
/** @type {?|undefined} */
|
|
352
|
+
GridsterConfig.prototype.minItemCols;
|
|
353
|
+
/** @type {?|undefined} */
|
|
354
|
+
GridsterConfig.prototype.minItemRows;
|
|
355
|
+
/** @type {?|undefined} */
|
|
356
|
+
GridsterConfig.prototype.minItemArea;
|
|
357
|
+
/** @type {?|undefined} */
|
|
358
|
+
GridsterConfig.prototype.maxItemArea;
|
|
359
|
+
/** @type {?|undefined} */
|
|
360
|
+
GridsterConfig.prototype.margin;
|
|
361
|
+
/** @type {?|undefined} */
|
|
362
|
+
GridsterConfig.prototype.outerMargin;
|
|
363
|
+
/** @type {?|undefined} */
|
|
364
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
365
|
+
/** @type {?|undefined} */
|
|
366
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
367
|
+
/** @type {?|undefined} */
|
|
368
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
369
|
+
/** @type {?|undefined} */
|
|
370
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
371
|
+
/** @type {?|undefined} */
|
|
372
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
373
|
+
/** @type {?|undefined} */
|
|
374
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
375
|
+
/** @type {?|undefined} */
|
|
376
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
377
|
+
/** @type {?|undefined} */
|
|
378
|
+
GridsterConfig.prototype.initCallback;
|
|
379
|
+
/** @type {?|undefined} */
|
|
380
|
+
GridsterConfig.prototype.destroyCallback;
|
|
381
|
+
/** @type {?|undefined} */
|
|
382
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
383
|
+
/** @type {?|undefined} */
|
|
384
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
385
|
+
/** @type {?|undefined} */
|
|
386
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
387
|
+
/** @type {?|undefined} */
|
|
388
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
389
|
+
/** @type {?|undefined} */
|
|
390
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
391
|
+
/** @type {?|undefined} */
|
|
392
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
393
|
+
/** @type {?|undefined} */
|
|
394
|
+
GridsterConfig.prototype.draggable;
|
|
395
|
+
/** @type {?|undefined} */
|
|
396
|
+
GridsterConfig.prototype.resizable;
|
|
397
|
+
/** @type {?|undefined} */
|
|
398
|
+
GridsterConfig.prototype.swap;
|
|
399
|
+
/** @type {?|undefined} */
|
|
400
|
+
GridsterConfig.prototype.pushItems;
|
|
401
|
+
/** @type {?|undefined} */
|
|
402
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
403
|
+
/** @type {?|undefined} */
|
|
404
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
405
|
+
/** @type {?|undefined} */
|
|
406
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
407
|
+
/** @type {?|undefined} */
|
|
408
|
+
GridsterConfig.prototype.pushDirections;
|
|
409
|
+
/** @type {?|undefined} */
|
|
410
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
411
|
+
/** @type {?|undefined} */
|
|
412
|
+
GridsterConfig.prototype.displayGrid;
|
|
413
|
+
/** @type {?|undefined} */
|
|
414
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
415
|
+
/** @type {?|undefined} */
|
|
416
|
+
GridsterConfig.prototype.disableWarnings;
|
|
417
|
+
/** @type {?|undefined} */
|
|
418
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
419
|
+
/** @type {?|undefined} */
|
|
420
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
421
|
+
/** @type {?|undefined} */
|
|
422
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
423
|
+
/** @type {?|undefined} */
|
|
424
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
425
|
+
/** @type {?|undefined} */
|
|
426
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
427
|
+
/** @type {?|undefined} */
|
|
428
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
429
|
+
/** @type {?|undefined} */
|
|
430
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
431
|
+
/** @type {?|undefined} */
|
|
432
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
433
|
+
/** @type {?|undefined} */
|
|
434
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
435
|
+
/** @type {?|undefined} */
|
|
436
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
437
|
+
/** @type {?|undefined} */
|
|
438
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
439
|
+
/** @type {?|undefined} */
|
|
440
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
441
|
+
/** @type {?|undefined} */
|
|
442
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
443
|
+
/** @type {?|undefined} */
|
|
444
|
+
GridsterConfig.prototype.api;
|
|
445
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* @record
|
|
449
|
+
*/
|
|
450
|
+
function DragBase() { }
|
|
451
|
+
if (false) {
|
|
452
|
+
/** @type {?|undefined} */
|
|
453
|
+
DragBase.prototype.enabled;
|
|
454
|
+
/** @type {?|undefined} */
|
|
455
|
+
DragBase.prototype.stop;
|
|
456
|
+
/** @type {?|undefined} */
|
|
457
|
+
DragBase.prototype.start;
|
|
458
|
+
/** @type {?|undefined} */
|
|
459
|
+
DragBase.prototype.delayStart;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* @record
|
|
463
|
+
*/
|
|
464
|
+
function Draggable() { }
|
|
465
|
+
if (false) {
|
|
466
|
+
/** @type {?|undefined} */
|
|
467
|
+
Draggable.prototype.ignoreContentClass;
|
|
468
|
+
/** @type {?|undefined} */
|
|
469
|
+
Draggable.prototype.ignoreContent;
|
|
470
|
+
/** @type {?|undefined} */
|
|
471
|
+
Draggable.prototype.dragHandleClass;
|
|
472
|
+
/** @type {?|undefined} */
|
|
473
|
+
Draggable.prototype.dropOverItems;
|
|
474
|
+
/** @type {?|undefined} */
|
|
475
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* @record
|
|
479
|
+
*/
|
|
480
|
+
function Resizable() { }
|
|
481
|
+
if (false) {
|
|
482
|
+
/** @type {?|undefined} */
|
|
483
|
+
Resizable.prototype.handles;
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* @record
|
|
487
|
+
*/
|
|
488
|
+
function PushDirections() { }
|
|
489
|
+
if (false) {
|
|
490
|
+
/** @type {?} */
|
|
491
|
+
PushDirections.prototype.north;
|
|
492
|
+
/** @type {?} */
|
|
493
|
+
PushDirections.prototype.east;
|
|
494
|
+
/** @type {?} */
|
|
495
|
+
PushDirections.prototype.south;
|
|
496
|
+
/** @type {?} */
|
|
497
|
+
PushDirections.prototype.west;
|
|
498
|
+
}
|
|
300
499
|
|
|
301
500
|
/**
|
|
302
501
|
* @fileoverview added by tsickle
|
|
303
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
502
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
304
503
|
*/
|
|
305
504
|
/** @type {?} */
|
|
306
505
|
const GridsterConfigDefaultSettings = {
|
|
@@ -366,7 +565,7 @@ const GridsterConfigDefaultSettings = {
|
|
|
366
565
|
|
|
367
566
|
/**
|
|
368
567
|
* @fileoverview added by tsickle
|
|
369
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
568
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
370
569
|
*/
|
|
371
570
|
class RADashboardArea {
|
|
372
571
|
/**
|
|
@@ -757,7 +956,7 @@ RADashboardArea.decorators = [
|
|
|
757
956
|
{ type: Component, args: [{
|
|
758
957
|
selector: 'ra-dashboard-area',
|
|
759
958
|
template: "<div #gridWrapper class=\"wrap gridster\" >\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [widget-width]=\"item.cols\" [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
|
|
760
|
-
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#
|
|
959
|
+
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)}"]
|
|
761
960
|
}] }
|
|
762
961
|
];
|
|
763
962
|
/** @nocollapse */
|
|
@@ -776,11 +975,83 @@ RADashboardArea.propDecorators = {
|
|
|
776
975
|
widgetHeight: [{ type: Input, args: ['widget-height',] }],
|
|
777
976
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
778
977
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
779
|
-
};
|
|
978
|
+
};
|
|
979
|
+
if (false) {
|
|
980
|
+
/** @type {?} */
|
|
981
|
+
RADashboardArea.prototype.widgetList;
|
|
982
|
+
/** @type {?} */
|
|
983
|
+
RADashboardArea.prototype.options;
|
|
984
|
+
/** @type {?} */
|
|
985
|
+
RADashboardArea.prototype.gridheight;
|
|
986
|
+
/**
|
|
987
|
+
* @type {?}
|
|
988
|
+
* @private
|
|
989
|
+
*/
|
|
990
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
991
|
+
/**
|
|
992
|
+
* @type {?}
|
|
993
|
+
* @private
|
|
994
|
+
*/
|
|
995
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
996
|
+
/**
|
|
997
|
+
* @type {?}
|
|
998
|
+
* @private
|
|
999
|
+
*/
|
|
1000
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
1001
|
+
/**
|
|
1002
|
+
* @type {?}
|
|
1003
|
+
* @private
|
|
1004
|
+
*/
|
|
1005
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
1006
|
+
/**
|
|
1007
|
+
* @type {?}
|
|
1008
|
+
* @private
|
|
1009
|
+
*/
|
|
1010
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
1011
|
+
/** @type {?} */
|
|
1012
|
+
RADashboardArea.prototype.userDashboardId;
|
|
1013
|
+
/** @type {?} */
|
|
1014
|
+
RADashboardArea.prototype.areaKey;
|
|
1015
|
+
/** @type {?} */
|
|
1016
|
+
RADashboardArea.prototype.globalFilter;
|
|
1017
|
+
/** @type {?} */
|
|
1018
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1019
|
+
/** @type {?} */
|
|
1020
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1021
|
+
/** @type {?} */
|
|
1022
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1023
|
+
/** @type {?} */
|
|
1024
|
+
RADashboardArea.prototype.appConfig;
|
|
1025
|
+
/**
|
|
1026
|
+
* @type {?}
|
|
1027
|
+
* @private
|
|
1028
|
+
*/
|
|
1029
|
+
RADashboardArea.prototype.dashboardService;
|
|
1030
|
+
/**
|
|
1031
|
+
* @type {?}
|
|
1032
|
+
* @private
|
|
1033
|
+
*/
|
|
1034
|
+
RADashboardArea.prototype.ngZone;
|
|
1035
|
+
/**
|
|
1036
|
+
* @type {?}
|
|
1037
|
+
* @private
|
|
1038
|
+
*/
|
|
1039
|
+
RADashboardArea.prototype.ngxService;
|
|
1040
|
+
/**
|
|
1041
|
+
* @type {?}
|
|
1042
|
+
* @private
|
|
1043
|
+
*/
|
|
1044
|
+
RADashboardArea.prototype.translateService;
|
|
1045
|
+
/**
|
|
1046
|
+
* @type {?}
|
|
1047
|
+
* @private
|
|
1048
|
+
*/
|
|
1049
|
+
RADashboardArea.prototype.notifier;
|
|
1050
|
+
}
|
|
780
1051
|
|
|
781
1052
|
/**
|
|
782
1053
|
* @fileoverview added by tsickle
|
|
783
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1054
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
784
1055
|
*/
|
|
785
1056
|
class RAWidgetContainer {
|
|
786
1057
|
/**
|
|
@@ -789,20 +1060,32 @@ class RAWidgetContainer {
|
|
|
789
1060
|
* @param {?} translateService
|
|
790
1061
|
* @param {?} ngZone
|
|
791
1062
|
* @param {?} notifier
|
|
1063
|
+
* @param {?} renderer
|
|
792
1064
|
*/
|
|
793
|
-
constructor(dashboardService, ngxService, translateService, ngZone, notifier) {
|
|
1065
|
+
constructor(dashboardService, ngxService, translateService, ngZone, notifier, renderer) {
|
|
794
1066
|
this.dashboardService = dashboardService;
|
|
795
1067
|
this.ngxService = ngxService;
|
|
796
1068
|
this.translateService = translateService;
|
|
797
1069
|
this.ngZone = ngZone;
|
|
798
1070
|
this.notifier = notifier;
|
|
1071
|
+
this.renderer = renderer;
|
|
799
1072
|
this.showPanel = false;
|
|
800
1073
|
this.isWidgetLoaded = false;
|
|
801
1074
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
802
1075
|
this.lockClass = "unlocked";
|
|
803
1076
|
this.lockStatus = "unlock";
|
|
804
1077
|
this.isDownloadIconVisible = false;
|
|
1078
|
+
this.dropDownShown = false;
|
|
805
1079
|
this.widgetDeleted = new EventEmitter();
|
|
1080
|
+
this.renderer.listen('window', 'click', (/**
|
|
1081
|
+
* @param {?} e
|
|
1082
|
+
* @return {?}
|
|
1083
|
+
*/
|
|
1084
|
+
(e) => {
|
|
1085
|
+
if (e.target !== this.widgetDropdown.nativeElement) {
|
|
1086
|
+
this.dropDownShown = false;
|
|
1087
|
+
}
|
|
1088
|
+
}));
|
|
806
1089
|
}
|
|
807
1090
|
/**
|
|
808
1091
|
* @param {?} changes
|
|
@@ -915,7 +1198,7 @@ class RAWidgetContainer {
|
|
|
915
1198
|
* @return {?}
|
|
916
1199
|
*/
|
|
917
1200
|
loadWidget(widgetInfo) {
|
|
918
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1201
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
919
1202
|
/** @type {?} */
|
|
920
1203
|
let widgetConfigFilter = (/** @type {?} */ ({
|
|
921
1204
|
config: widgetInfo.widgetConfigInfo.config,
|
|
@@ -932,11 +1215,11 @@ class RAWidgetContainer {
|
|
|
932
1215
|
document.body.addEventListener('widgetinitiated' + widgetInfo.widgetInstanceId, (/**
|
|
933
1216
|
* @return {?}
|
|
934
1217
|
*/
|
|
935
|
-
() => __awaiter(this, void 0, void 0, function* () {
|
|
1218
|
+
() => __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
936
1219
|
setTimeout((/**
|
|
937
1220
|
* @return {?}
|
|
938
1221
|
*/
|
|
939
|
-
() => __awaiter(this, void 0, void 0, function* () {
|
|
1222
|
+
() => __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
940
1223
|
this.widgetElement.addEventListener('on-data-load', (/**
|
|
941
1224
|
* @param {?} e
|
|
942
1225
|
* @return {?}
|
|
@@ -966,7 +1249,7 @@ class RAWidgetContainer {
|
|
|
966
1249
|
* @return {?}
|
|
967
1250
|
*/
|
|
968
1251
|
refreshWidget(widgetInfo) {
|
|
969
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1252
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
970
1253
|
/** @type {?} */
|
|
971
1254
|
let widgetContainerContext = this;
|
|
972
1255
|
/** @type {?} */
|
|
@@ -989,7 +1272,7 @@ class RAWidgetContainer {
|
|
|
989
1272
|
* @return {?}
|
|
990
1273
|
*/
|
|
991
1274
|
setLock(config) {
|
|
992
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1275
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
993
1276
|
this.lockStatus = yield this.widgetElement.loadLockStatus(config);
|
|
994
1277
|
if (this.lockStatus) {
|
|
995
1278
|
switch (this.lockStatus) {
|
|
@@ -1018,7 +1301,7 @@ class RAWidgetContainer {
|
|
|
1018
1301
|
* @return {?}
|
|
1019
1302
|
*/
|
|
1020
1303
|
setDownloadIcon() {
|
|
1021
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1304
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
1022
1305
|
// this.isDownloadIconVisible = await this.widgetElement.isDownloadVisible();
|
|
1023
1306
|
this.isDownloadIconVisible = false; //temp. commented
|
|
1024
1307
|
});
|
|
@@ -1029,12 +1312,27 @@ class RAWidgetContainer {
|
|
|
1029
1312
|
downloadClicked() {
|
|
1030
1313
|
//this.widgetElement.isDownloadVisible();
|
|
1031
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* Show dropdown on gear icon click
|
|
1317
|
+
* @return {?}
|
|
1318
|
+
*/
|
|
1319
|
+
showDropDown() {
|
|
1320
|
+
this.dropDownShown = !this.dropDownShown;
|
|
1321
|
+
}
|
|
1322
|
+
/**
|
|
1323
|
+
* Hide dropdown on outside click
|
|
1324
|
+
* @return {?}
|
|
1325
|
+
*/
|
|
1326
|
+
hideDropDown() {
|
|
1327
|
+
if (this.dropDownShown)
|
|
1328
|
+
this.dropDownShown = false;
|
|
1329
|
+
}
|
|
1032
1330
|
}
|
|
1033
1331
|
RAWidgetContainer.decorators = [
|
|
1034
1332
|
{ type: Component, args: [{
|
|
1035
1333
|
selector: 'ra-widget-container',
|
|
1036
|
-
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader widget-move\">\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 <div class=\"col-md-11 float-left\" 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 <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>",
|
|
1037
|
-
styles: [".wcheader{width:100%;height:24px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";font-size:16px;position:absolute;left:0;top: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-
|
|
1334
|
+
template: "<div class=\"wc-wrapper\" (mouseleave) =\"hideDropDown()\">\r\n <div class=\"wcheader widget-move\">\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 <div class=\"col-md-11 float-left\" 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 #widgetDropdown class=\"fal fa-cog\" (click)=\"showDropDown()\"></i></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 </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>",
|
|
1335
|
+
styles: [".wcheader{width:100%;height:24px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";font-size:16px;position:absolute;left:0;top: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;-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}.dropdown-click{display:block;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.dropdown:hover .dropdown-content{color:#fff}.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}"]
|
|
1038
1336
|
}] }
|
|
1039
1337
|
];
|
|
1040
1338
|
/** @nocollapse */
|
|
@@ -1043,10 +1341,12 @@ RAWidgetContainer.ctorParameters = () => [
|
|
|
1043
1341
|
{ type: NgxUiLoaderService },
|
|
1044
1342
|
{ type: TranslateService },
|
|
1045
1343
|
{ type: NgZone },
|
|
1046
|
-
{ type: NotifierService }
|
|
1344
|
+
{ type: NotifierService },
|
|
1345
|
+
{ type: Renderer2 }
|
|
1047
1346
|
];
|
|
1048
1347
|
RAWidgetContainer.propDecorators = {
|
|
1049
1348
|
ctlWidget: [{ type: ViewChild, args: ['ctlWidget', { static: false },] }],
|
|
1349
|
+
widgetDropdown: [{ type: ViewChild, args: ['widgetDropdown', { static: false },] }],
|
|
1050
1350
|
widgetInstanceId: [{ type: Input, args: ['widget-instance-id',] }],
|
|
1051
1351
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
1052
1352
|
data: [{ type: Input, args: ['data',] }],
|
|
@@ -1055,11 +1355,95 @@ RAWidgetContainer.propDecorators = {
|
|
|
1055
1355
|
width: [{ type: Input, args: ['widget-width',] }],
|
|
1056
1356
|
height: [{ type: Input, args: ['widget-height',] }],
|
|
1057
1357
|
widgetDeleted: [{ type: Output }]
|
|
1058
|
-
};
|
|
1358
|
+
};
|
|
1359
|
+
if (false) {
|
|
1360
|
+
/** @type {?} */
|
|
1361
|
+
RAWidgetContainer.prototype.showPanel;
|
|
1362
|
+
/**
|
|
1363
|
+
* @type {?}
|
|
1364
|
+
* @private
|
|
1365
|
+
*/
|
|
1366
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1367
|
+
/**
|
|
1368
|
+
* @type {?}
|
|
1369
|
+
* @private
|
|
1370
|
+
*/
|
|
1371
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1372
|
+
/**
|
|
1373
|
+
* @type {?}
|
|
1374
|
+
* @private
|
|
1375
|
+
*/
|
|
1376
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1377
|
+
/**
|
|
1378
|
+
* @type {?}
|
|
1379
|
+
* @private
|
|
1380
|
+
*/
|
|
1381
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1382
|
+
/** @type {?} */
|
|
1383
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1384
|
+
/** @type {?} */
|
|
1385
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1386
|
+
/** @type {?} */
|
|
1387
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1388
|
+
/** @type {?} */
|
|
1389
|
+
RAWidgetContainer.prototype.isDownloadIconVisible;
|
|
1390
|
+
/** @type {?} */
|
|
1391
|
+
RAWidgetContainer.prototype.dropDownShown;
|
|
1392
|
+
/** @type {?} */
|
|
1393
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1394
|
+
/** @type {?} */
|
|
1395
|
+
RAWidgetContainer.prototype.widgetDropdown;
|
|
1396
|
+
/** @type {?} */
|
|
1397
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1398
|
+
/** @type {?} */
|
|
1399
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1400
|
+
/** @type {?} */
|
|
1401
|
+
RAWidgetContainer.prototype.data;
|
|
1402
|
+
/** @type {?} */
|
|
1403
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1404
|
+
/** @type {?} */
|
|
1405
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1406
|
+
/** @type {?} */
|
|
1407
|
+
RAWidgetContainer.prototype.width;
|
|
1408
|
+
/** @type {?} */
|
|
1409
|
+
RAWidgetContainer.prototype.height;
|
|
1410
|
+
/** @type {?} */
|
|
1411
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1412
|
+
/**
|
|
1413
|
+
* @type {?}
|
|
1414
|
+
* @private
|
|
1415
|
+
*/
|
|
1416
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1417
|
+
/**
|
|
1418
|
+
* @type {?}
|
|
1419
|
+
* @private
|
|
1420
|
+
*/
|
|
1421
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1422
|
+
/**
|
|
1423
|
+
* @type {?}
|
|
1424
|
+
* @private
|
|
1425
|
+
*/
|
|
1426
|
+
RAWidgetContainer.prototype.translateService;
|
|
1427
|
+
/**
|
|
1428
|
+
* @type {?}
|
|
1429
|
+
* @private
|
|
1430
|
+
*/
|
|
1431
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1432
|
+
/**
|
|
1433
|
+
* @type {?}
|
|
1434
|
+
* @private
|
|
1435
|
+
*/
|
|
1436
|
+
RAWidgetContainer.prototype.notifier;
|
|
1437
|
+
/**
|
|
1438
|
+
* @type {?}
|
|
1439
|
+
* @private
|
|
1440
|
+
*/
|
|
1441
|
+
RAWidgetContainer.prototype.renderer;
|
|
1442
|
+
}
|
|
1059
1443
|
|
|
1060
1444
|
/**
|
|
1061
1445
|
* @fileoverview added by tsickle
|
|
1062
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1446
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1063
1447
|
*/
|
|
1064
1448
|
/** @type {?} */
|
|
1065
1449
|
const customNotifierOptions = {
|
|
@@ -1105,7 +1489,7 @@ const customNotifierOptions = {
|
|
|
1105
1489
|
|
|
1106
1490
|
/**
|
|
1107
1491
|
* @fileoverview added by tsickle
|
|
1108
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1492
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1109
1493
|
*/
|
|
1110
1494
|
/** @type {?} */
|
|
1111
1495
|
const GridsterConfigService = {
|
|
@@ -1283,7 +1667,7 @@ const GridsterConfigService = {
|
|
|
1283
1667
|
|
|
1284
1668
|
/**
|
|
1285
1669
|
* @fileoverview added by tsickle
|
|
1286
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1670
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1287
1671
|
*/
|
|
1288
1672
|
class GridsterUtils {
|
|
1289
1673
|
/**
|
|
@@ -1419,17 +1803,91 @@ GridsterUtils.decorators = [
|
|
|
1419
1803
|
|
|
1420
1804
|
/**
|
|
1421
1805
|
* @fileoverview added by tsickle
|
|
1422
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1806
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1423
1807
|
*/
|
|
1424
1808
|
/**
|
|
1425
1809
|
* @abstract
|
|
1426
1810
|
*/
|
|
1427
1811
|
class GridsterComponentInterface {
|
|
1812
|
+
}
|
|
1813
|
+
if (false) {
|
|
1814
|
+
/** @type {?} */
|
|
1815
|
+
GridsterComponentInterface.prototype.$options;
|
|
1816
|
+
/** @type {?} */
|
|
1817
|
+
GridsterComponentInterface.prototype.grid;
|
|
1818
|
+
/** @type {?} */
|
|
1819
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
1820
|
+
/** @type {?} */
|
|
1821
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
1822
|
+
/** @type {?} */
|
|
1823
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
1824
|
+
/** @type {?} */
|
|
1825
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
1826
|
+
/** @type {?} */
|
|
1827
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
1828
|
+
/** @type {?} */
|
|
1829
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
1830
|
+
/** @type {?} */
|
|
1831
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
1832
|
+
/** @type {?} */
|
|
1833
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
1834
|
+
/** @type {?} */
|
|
1835
|
+
GridsterComponentInterface.prototype.el;
|
|
1836
|
+
/** @type {?} */
|
|
1837
|
+
GridsterComponentInterface.prototype.renderer;
|
|
1838
|
+
/** @type {?} */
|
|
1839
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
1840
|
+
/** @type {?} */
|
|
1841
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
1842
|
+
/** @type {?} */
|
|
1843
|
+
GridsterComponentInterface.prototype.options;
|
|
1844
|
+
/** @type {?} */
|
|
1845
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
1846
|
+
/** @type {?} */
|
|
1847
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
1848
|
+
/** @type {?} */
|
|
1849
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
1850
|
+
/** @type {?} */
|
|
1851
|
+
GridsterComponentInterface.prototype.addItem;
|
|
1852
|
+
/** @type {?} */
|
|
1853
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
1854
|
+
/** @type {?} */
|
|
1855
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
1856
|
+
/** @type {?} */
|
|
1857
|
+
GridsterComponentInterface.prototype.mobile;
|
|
1858
|
+
/** @type {?} */
|
|
1859
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
1860
|
+
/** @type {?} */
|
|
1861
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
1862
|
+
/** @type {?} */
|
|
1863
|
+
GridsterComponentInterface.prototype.columns;
|
|
1864
|
+
/** @type {?} */
|
|
1865
|
+
GridsterComponentInterface.prototype.rows;
|
|
1866
|
+
/** @type {?} */
|
|
1867
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
1868
|
+
/** @type {?} */
|
|
1869
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
1870
|
+
/** @type {?} */
|
|
1871
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
1872
|
+
/** @type {?} */
|
|
1873
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
1874
|
+
/** @type {?} */
|
|
1875
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
1876
|
+
/** @type {?} */
|
|
1877
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
1878
|
+
/** @type {?} */
|
|
1879
|
+
GridsterComponentInterface.prototype.compact;
|
|
1880
|
+
/** @type {?} */
|
|
1881
|
+
GridsterComponentInterface.prototype.zone;
|
|
1882
|
+
/** @type {?} */
|
|
1883
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
1884
|
+
/** @type {?} */
|
|
1885
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
1428
1886
|
}
|
|
1429
1887
|
|
|
1430
1888
|
/**
|
|
1431
1889
|
* @fileoverview added by tsickle
|
|
1432
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1890
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1433
1891
|
*/
|
|
1434
1892
|
class GridsterEmptyCell {
|
|
1435
1893
|
/**
|
|
@@ -1706,11 +2164,44 @@ GridsterEmptyCell.decorators = [
|
|
|
1706
2164
|
/** @nocollapse */
|
|
1707
2165
|
GridsterEmptyCell.ctorParameters = () => [
|
|
1708
2166
|
{ type: GridsterComponentInterface }
|
|
1709
|
-
];
|
|
2167
|
+
];
|
|
2168
|
+
if (false) {
|
|
2169
|
+
/** @type {?} */
|
|
2170
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2171
|
+
/** @type {?} */
|
|
2172
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2173
|
+
/** @type {?} */
|
|
2174
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2175
|
+
/** @type {?} */
|
|
2176
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2177
|
+
/** @type {?} */
|
|
2178
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2179
|
+
/** @type {?} */
|
|
2180
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2181
|
+
/** @type {?} */
|
|
2182
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2183
|
+
/** @type {?} */
|
|
2184
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2185
|
+
/** @type {?} */
|
|
2186
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2187
|
+
/** @type {?} */
|
|
2188
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2189
|
+
/** @type {?} */
|
|
2190
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2191
|
+
/** @type {?} */
|
|
2192
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2193
|
+
/** @type {?} */
|
|
2194
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2195
|
+
/**
|
|
2196
|
+
* @type {?}
|
|
2197
|
+
* @private
|
|
2198
|
+
*/
|
|
2199
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2200
|
+
}
|
|
1710
2201
|
|
|
1711
2202
|
/**
|
|
1712
2203
|
* @fileoverview added by tsickle
|
|
1713
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2204
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1714
2205
|
*/
|
|
1715
2206
|
class GridsterCompact {
|
|
1716
2207
|
/**
|
|
@@ -1919,11 +2410,18 @@ GridsterCompact.decorators = [
|
|
|
1919
2410
|
/** @nocollapse */
|
|
1920
2411
|
GridsterCompact.ctorParameters = () => [
|
|
1921
2412
|
{ type: GridsterComponentInterface }
|
|
1922
|
-
];
|
|
2413
|
+
];
|
|
2414
|
+
if (false) {
|
|
2415
|
+
/**
|
|
2416
|
+
* @type {?}
|
|
2417
|
+
* @private
|
|
2418
|
+
*/
|
|
2419
|
+
GridsterCompact.prototype.gridster;
|
|
2420
|
+
}
|
|
1923
2421
|
|
|
1924
2422
|
/**
|
|
1925
2423
|
* @fileoverview added by tsickle
|
|
1926
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2424
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1927
2425
|
*/
|
|
1928
2426
|
class GridsterRenderer {
|
|
1929
2427
|
/**
|
|
@@ -2186,11 +2684,18 @@ GridsterRenderer.decorators = [
|
|
|
2186
2684
|
/** @nocollapse */
|
|
2187
2685
|
GridsterRenderer.ctorParameters = () => [
|
|
2188
2686
|
{ type: GridsterComponentInterface }
|
|
2189
|
-
];
|
|
2687
|
+
];
|
|
2688
|
+
if (false) {
|
|
2689
|
+
/**
|
|
2690
|
+
* @type {?}
|
|
2691
|
+
* @private
|
|
2692
|
+
*/
|
|
2693
|
+
GridsterRenderer.prototype.gridster;
|
|
2694
|
+
}
|
|
2190
2695
|
|
|
2191
2696
|
/**
|
|
2192
2697
|
* @fileoverview added by tsickle
|
|
2193
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2698
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2194
2699
|
*/
|
|
2195
2700
|
class GridsterComponent {
|
|
2196
2701
|
/**
|
|
@@ -2324,6 +2829,17 @@ class GridsterComponent {
|
|
|
2324
2829
|
if (this.options.destroyCallback) {
|
|
2325
2830
|
this.options.destroyCallback(this);
|
|
2326
2831
|
}
|
|
2832
|
+
//if (this.options.api) {
|
|
2833
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
2834
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
2835
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
2836
|
+
*/
|
|
2837
|
+
if (false) {
|
|
2838
|
+
this.options.api.resize = undefined;
|
|
2839
|
+
this.options.api.optionsChanged = undefined;
|
|
2840
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
2841
|
+
this.options.api = undefined;
|
|
2842
|
+
}
|
|
2327
2843
|
this.emptyCell.destroy();
|
|
2328
2844
|
delete this.emptyCell;
|
|
2329
2845
|
this.compact.destroy();
|
|
@@ -2807,7 +3323,7 @@ GridsterComponent.decorators = [
|
|
|
2807
3323
|
selector: 'gridster',
|
|
2808
3324
|
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",
|
|
2809
3325
|
encapsulation: ViewEncapsulation.None,
|
|
2810
|
-
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}gridster.mobile gridster-item{position:relative}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}"]
|
|
3326
|
+
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}gridster.mobile gridster-item{position:relative}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}"]
|
|
2811
3327
|
}] }
|
|
2812
3328
|
];
|
|
2813
3329
|
/** @nocollapse */
|
|
@@ -2819,21 +3335,109 @@ GridsterComponent.ctorParameters = () => [
|
|
|
2819
3335
|
];
|
|
2820
3336
|
GridsterComponent.propDecorators = {
|
|
2821
3337
|
options: [{ type: Input }]
|
|
2822
|
-
};
|
|
3338
|
+
};
|
|
3339
|
+
if (false) {
|
|
3340
|
+
/** @type {?} */
|
|
3341
|
+
GridsterComponent.prototype.options;
|
|
3342
|
+
/** @type {?} */
|
|
3343
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3344
|
+
/** @type {?} */
|
|
3345
|
+
GridsterComponent.prototype.movingItem;
|
|
3346
|
+
/** @type {?} */
|
|
3347
|
+
GridsterComponent.prototype.previewStyle;
|
|
3348
|
+
/** @type {?} */
|
|
3349
|
+
GridsterComponent.prototype.el;
|
|
3350
|
+
/** @type {?} */
|
|
3351
|
+
GridsterComponent.prototype.$options;
|
|
3352
|
+
/** @type {?} */
|
|
3353
|
+
GridsterComponent.prototype.mobile;
|
|
3354
|
+
/** @type {?} */
|
|
3355
|
+
GridsterComponent.prototype.curWidth;
|
|
3356
|
+
/** @type {?} */
|
|
3357
|
+
GridsterComponent.prototype.curHeight;
|
|
3358
|
+
/** @type {?} */
|
|
3359
|
+
GridsterComponent.prototype.grid;
|
|
3360
|
+
/** @type {?} */
|
|
3361
|
+
GridsterComponent.prototype.columns;
|
|
3362
|
+
/** @type {?} */
|
|
3363
|
+
GridsterComponent.prototype.rows;
|
|
3364
|
+
/** @type {?} */
|
|
3365
|
+
GridsterComponent.prototype.curColWidth;
|
|
3366
|
+
/** @type {?} */
|
|
3367
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3368
|
+
/** @type {?} */
|
|
3369
|
+
GridsterComponent.prototype.gridColumns;
|
|
3370
|
+
/** @type {?} */
|
|
3371
|
+
GridsterComponent.prototype.gridRows;
|
|
3372
|
+
/** @type {?} */
|
|
3373
|
+
GridsterComponent.prototype.windowResize;
|
|
3374
|
+
/** @type {?} */
|
|
3375
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3376
|
+
/** @type {?} */
|
|
3377
|
+
GridsterComponent.prototype.emptyCell;
|
|
3378
|
+
/** @type {?} */
|
|
3379
|
+
GridsterComponent.prototype.compact;
|
|
3380
|
+
/** @type {?} */
|
|
3381
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3382
|
+
/** @type {?} */
|
|
3383
|
+
GridsterComponent.prototype.renderer;
|
|
3384
|
+
/** @type {?} */
|
|
3385
|
+
GridsterComponent.prototype.cdRef;
|
|
3386
|
+
/** @type {?} */
|
|
3387
|
+
GridsterComponent.prototype.zone;
|
|
3388
|
+
}
|
|
2823
3389
|
|
|
2824
3390
|
/**
|
|
2825
3391
|
* @fileoverview added by tsickle
|
|
2826
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3392
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2827
3393
|
*/
|
|
2828
3394
|
/**
|
|
2829
3395
|
* @abstract
|
|
2830
3396
|
*/
|
|
2831
3397
|
class GridsterItemComponentInterface {
|
|
3398
|
+
}
|
|
3399
|
+
if (false) {
|
|
3400
|
+
/** @type {?} */
|
|
3401
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3402
|
+
/** @type {?} */
|
|
3403
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3404
|
+
/** @type {?} */
|
|
3405
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3406
|
+
/** @type {?} */
|
|
3407
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3408
|
+
/** @type {?} */
|
|
3409
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3410
|
+
/** @type {?} */
|
|
3411
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3412
|
+
/** @type {?} */
|
|
3413
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3414
|
+
/** @type {?} */
|
|
3415
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3416
|
+
/** @type {?} */
|
|
3417
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3418
|
+
/** @type {?} */
|
|
3419
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3420
|
+
/** @type {?} */
|
|
3421
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3422
|
+
/** @type {?} */
|
|
3423
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3424
|
+
/** @type {?} */
|
|
3425
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3426
|
+
/** @type {?} */
|
|
3427
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3428
|
+
/** @type {?} */
|
|
3429
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3430
|
+
/** @type {?} */
|
|
3431
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3432
|
+
/** @type {?} */
|
|
3433
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3434
|
+
/** @type {?} */
|
|
3435
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
2832
3436
|
}
|
|
2833
3437
|
|
|
2834
3438
|
/**
|
|
2835
3439
|
* @fileoverview added by tsickle
|
|
2836
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3440
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2837
3441
|
*/
|
|
2838
3442
|
class GridsterSwap {
|
|
2839
3443
|
/**
|
|
@@ -2944,11 +3548,28 @@ GridsterSwap.decorators = [
|
|
|
2944
3548
|
/** @nocollapse */
|
|
2945
3549
|
GridsterSwap.ctorParameters = () => [
|
|
2946
3550
|
{ type: GridsterItemComponentInterface }
|
|
2947
|
-
];
|
|
3551
|
+
];
|
|
3552
|
+
if (false) {
|
|
3553
|
+
/**
|
|
3554
|
+
* @type {?}
|
|
3555
|
+
* @private
|
|
3556
|
+
*/
|
|
3557
|
+
GridsterSwap.prototype.swapedItem;
|
|
3558
|
+
/**
|
|
3559
|
+
* @type {?}
|
|
3560
|
+
* @private
|
|
3561
|
+
*/
|
|
3562
|
+
GridsterSwap.prototype.gridsterItem;
|
|
3563
|
+
/**
|
|
3564
|
+
* @type {?}
|
|
3565
|
+
* @private
|
|
3566
|
+
*/
|
|
3567
|
+
GridsterSwap.prototype.gridster;
|
|
3568
|
+
}
|
|
2948
3569
|
|
|
2949
3570
|
/**
|
|
2950
3571
|
* @fileoverview added by tsickle
|
|
2951
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3572
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2952
3573
|
*/
|
|
2953
3574
|
/** @type {?} */
|
|
2954
3575
|
let scrollSensitivity;
|
|
@@ -3143,7 +3764,7 @@ function cancelN() {
|
|
|
3143
3764
|
|
|
3144
3765
|
/**
|
|
3145
3766
|
* @fileoverview added by tsickle
|
|
3146
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3767
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3147
3768
|
*/
|
|
3148
3769
|
class GridsterPush {
|
|
3149
3770
|
/**
|
|
@@ -3554,11 +4175,61 @@ GridsterPush.decorators = [
|
|
|
3554
4175
|
/** @nocollapse */
|
|
3555
4176
|
GridsterPush.ctorParameters = () => [
|
|
3556
4177
|
{ type: GridsterItemComponentInterface }
|
|
3557
|
-
];
|
|
4178
|
+
];
|
|
4179
|
+
if (false) {
|
|
4180
|
+
/** @type {?} */
|
|
4181
|
+
GridsterPush.prototype.fromSouth;
|
|
4182
|
+
/** @type {?} */
|
|
4183
|
+
GridsterPush.prototype.fromNorth;
|
|
4184
|
+
/** @type {?} */
|
|
4185
|
+
GridsterPush.prototype.fromEast;
|
|
4186
|
+
/** @type {?} */
|
|
4187
|
+
GridsterPush.prototype.fromWest;
|
|
4188
|
+
/**
|
|
4189
|
+
* @type {?}
|
|
4190
|
+
* @private
|
|
4191
|
+
*/
|
|
4192
|
+
GridsterPush.prototype.pushedItems;
|
|
4193
|
+
/**
|
|
4194
|
+
* @type {?}
|
|
4195
|
+
* @private
|
|
4196
|
+
*/
|
|
4197
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4198
|
+
/**
|
|
4199
|
+
* @type {?}
|
|
4200
|
+
* @private
|
|
4201
|
+
*/
|
|
4202
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4203
|
+
/**
|
|
4204
|
+
* @type {?}
|
|
4205
|
+
* @private
|
|
4206
|
+
*/
|
|
4207
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4208
|
+
/**
|
|
4209
|
+
* @type {?}
|
|
4210
|
+
* @private
|
|
4211
|
+
*/
|
|
4212
|
+
GridsterPush.prototype.gridsterItem;
|
|
4213
|
+
/**
|
|
4214
|
+
* @type {?}
|
|
4215
|
+
* @private
|
|
4216
|
+
*/
|
|
4217
|
+
GridsterPush.prototype.gridster;
|
|
4218
|
+
/**
|
|
4219
|
+
* @type {?}
|
|
4220
|
+
* @private
|
|
4221
|
+
*/
|
|
4222
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4223
|
+
/**
|
|
4224
|
+
* @type {?}
|
|
4225
|
+
* @private
|
|
4226
|
+
*/
|
|
4227
|
+
GridsterPush.prototype.tryPattern;
|
|
4228
|
+
}
|
|
3558
4229
|
|
|
3559
4230
|
/**
|
|
3560
4231
|
* @fileoverview added by tsickle
|
|
3561
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4232
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3562
4233
|
*/
|
|
3563
4234
|
class GridsterDraggable {
|
|
3564
4235
|
/**
|
|
@@ -3836,6 +4507,10 @@ class GridsterDraggable {
|
|
|
3836
4507
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
3837
4508
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
3838
4509
|
}
|
|
4510
|
+
else {
|
|
4511
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
4512
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
4513
|
+
}
|
|
3839
4514
|
return this.gridsterItem.$item;
|
|
3840
4515
|
}
|
|
3841
4516
|
/**
|
|
@@ -3980,11 +4655,84 @@ GridsterDraggable.ctorParameters = () => [
|
|
|
3980
4655
|
{ type: GridsterItemComponentInterface },
|
|
3981
4656
|
{ type: GridsterComponentInterface },
|
|
3982
4657
|
{ type: NgZone }
|
|
3983
|
-
];
|
|
4658
|
+
];
|
|
4659
|
+
if (false) {
|
|
4660
|
+
/** @type {?} */
|
|
4661
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
4662
|
+
/** @type {?} */
|
|
4663
|
+
GridsterDraggable.prototype.gridster;
|
|
4664
|
+
/** @type {?} */
|
|
4665
|
+
GridsterDraggable.prototype.lastMouse;
|
|
4666
|
+
/** @type {?} */
|
|
4667
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
4668
|
+
/** @type {?} */
|
|
4669
|
+
GridsterDraggable.prototype.offsetTop;
|
|
4670
|
+
/** @type {?} */
|
|
4671
|
+
GridsterDraggable.prototype.margin;
|
|
4672
|
+
/** @type {?} */
|
|
4673
|
+
GridsterDraggable.prototype.diffTop;
|
|
4674
|
+
/** @type {?} */
|
|
4675
|
+
GridsterDraggable.prototype.diffLeft;
|
|
4676
|
+
/** @type {?} */
|
|
4677
|
+
GridsterDraggable.prototype.top;
|
|
4678
|
+
/** @type {?} */
|
|
4679
|
+
GridsterDraggable.prototype.left;
|
|
4680
|
+
/** @type {?} */
|
|
4681
|
+
GridsterDraggable.prototype.height;
|
|
4682
|
+
/** @type {?} */
|
|
4683
|
+
GridsterDraggable.prototype.width;
|
|
4684
|
+
/** @type {?} */
|
|
4685
|
+
GridsterDraggable.prototype.positionX;
|
|
4686
|
+
/** @type {?} */
|
|
4687
|
+
GridsterDraggable.prototype.positionY;
|
|
4688
|
+
/** @type {?} */
|
|
4689
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
4690
|
+
/** @type {?} */
|
|
4691
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
4692
|
+
/** @type {?} */
|
|
4693
|
+
GridsterDraggable.prototype.enabled;
|
|
4694
|
+
/** @type {?} */
|
|
4695
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
4696
|
+
/** @type {?} */
|
|
4697
|
+
GridsterDraggable.prototype.dragFunction;
|
|
4698
|
+
/** @type {?} */
|
|
4699
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
4700
|
+
/** @type {?} */
|
|
4701
|
+
GridsterDraggable.prototype.mousemove;
|
|
4702
|
+
/** @type {?} */
|
|
4703
|
+
GridsterDraggable.prototype.mouseup;
|
|
4704
|
+
/** @type {?} */
|
|
4705
|
+
GridsterDraggable.prototype.mouseleave;
|
|
4706
|
+
/** @type {?} */
|
|
4707
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
4708
|
+
/** @type {?} */
|
|
4709
|
+
GridsterDraggable.prototype.touchmove;
|
|
4710
|
+
/** @type {?} */
|
|
4711
|
+
GridsterDraggable.prototype.touchend;
|
|
4712
|
+
/** @type {?} */
|
|
4713
|
+
GridsterDraggable.prototype.touchcancel;
|
|
4714
|
+
/** @type {?} */
|
|
4715
|
+
GridsterDraggable.prototype.mousedown;
|
|
4716
|
+
/** @type {?} */
|
|
4717
|
+
GridsterDraggable.prototype.touchstart;
|
|
4718
|
+
/** @type {?} */
|
|
4719
|
+
GridsterDraggable.prototype.push;
|
|
4720
|
+
/** @type {?} */
|
|
4721
|
+
GridsterDraggable.prototype.swap;
|
|
4722
|
+
/** @type {?} */
|
|
4723
|
+
GridsterDraggable.prototype.path;
|
|
4724
|
+
/** @type {?} */
|
|
4725
|
+
GridsterDraggable.prototype.collision;
|
|
4726
|
+
/**
|
|
4727
|
+
* @type {?}
|
|
4728
|
+
* @private
|
|
4729
|
+
*/
|
|
4730
|
+
GridsterDraggable.prototype.zone;
|
|
4731
|
+
}
|
|
3984
4732
|
|
|
3985
4733
|
/**
|
|
3986
4734
|
* @fileoverview added by tsickle
|
|
3987
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4735
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3988
4736
|
*/
|
|
3989
4737
|
class GridsterPushResize {
|
|
3990
4738
|
/**
|
|
@@ -4300,11 +5048,46 @@ GridsterPushResize.decorators = [
|
|
|
4300
5048
|
/** @nocollapse */
|
|
4301
5049
|
GridsterPushResize.ctorParameters = () => [
|
|
4302
5050
|
{ type: GridsterItemComponentInterface }
|
|
4303
|
-
];
|
|
5051
|
+
];
|
|
5052
|
+
if (false) {
|
|
5053
|
+
/** @type {?} */
|
|
5054
|
+
GridsterPushResize.prototype.fromSouth;
|
|
5055
|
+
/** @type {?} */
|
|
5056
|
+
GridsterPushResize.prototype.fromNorth;
|
|
5057
|
+
/** @type {?} */
|
|
5058
|
+
GridsterPushResize.prototype.fromEast;
|
|
5059
|
+
/** @type {?} */
|
|
5060
|
+
GridsterPushResize.prototype.fromWest;
|
|
5061
|
+
/**
|
|
5062
|
+
* @type {?}
|
|
5063
|
+
* @private
|
|
5064
|
+
*/
|
|
5065
|
+
GridsterPushResize.prototype.pushedItems;
|
|
5066
|
+
/**
|
|
5067
|
+
* @type {?}
|
|
5068
|
+
* @private
|
|
5069
|
+
*/
|
|
5070
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
5071
|
+
/**
|
|
5072
|
+
* @type {?}
|
|
5073
|
+
* @private
|
|
5074
|
+
*/
|
|
5075
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
5076
|
+
/**
|
|
5077
|
+
* @type {?}
|
|
5078
|
+
* @private
|
|
5079
|
+
*/
|
|
5080
|
+
GridsterPushResize.prototype.gridster;
|
|
5081
|
+
/**
|
|
5082
|
+
* @type {?}
|
|
5083
|
+
* @private
|
|
5084
|
+
*/
|
|
5085
|
+
GridsterPushResize.prototype.tryPattern;
|
|
5086
|
+
}
|
|
4304
5087
|
|
|
4305
5088
|
/**
|
|
4306
5089
|
* @fileoverview added by tsickle
|
|
4307
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5090
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4308
5091
|
*/
|
|
4309
5092
|
class GridsterResizable {
|
|
4310
5093
|
/**
|
|
@@ -4770,11 +5553,86 @@ GridsterResizable.ctorParameters = () => [
|
|
|
4770
5553
|
{ type: GridsterItemComponentInterface },
|
|
4771
5554
|
{ type: GridsterComponentInterface },
|
|
4772
5555
|
{ type: NgZone }
|
|
4773
|
-
];
|
|
5556
|
+
];
|
|
5557
|
+
if (false) {
|
|
5558
|
+
/** @type {?} */
|
|
5559
|
+
GridsterResizable.prototype.gridsterItem;
|
|
5560
|
+
/** @type {?} */
|
|
5561
|
+
GridsterResizable.prototype.gridster;
|
|
5562
|
+
/** @type {?} */
|
|
5563
|
+
GridsterResizable.prototype.lastMouse;
|
|
5564
|
+
/** @type {?} */
|
|
5565
|
+
GridsterResizable.prototype.itemBackup;
|
|
5566
|
+
/** @type {?} */
|
|
5567
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
5568
|
+
/** @type {?} */
|
|
5569
|
+
GridsterResizable.prototype.directionFunction;
|
|
5570
|
+
/** @type {?} */
|
|
5571
|
+
GridsterResizable.prototype.dragFunction;
|
|
5572
|
+
/** @type {?} */
|
|
5573
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
5574
|
+
/** @type {?} */
|
|
5575
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
5576
|
+
/** @type {?} */
|
|
5577
|
+
GridsterResizable.prototype.mousemove;
|
|
5578
|
+
/** @type {?} */
|
|
5579
|
+
GridsterResizable.prototype.mouseup;
|
|
5580
|
+
/** @type {?} */
|
|
5581
|
+
GridsterResizable.prototype.mouseleave;
|
|
5582
|
+
/** @type {?} */
|
|
5583
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
5584
|
+
/** @type {?} */
|
|
5585
|
+
GridsterResizable.prototype.touchmove;
|
|
5586
|
+
/** @type {?} */
|
|
5587
|
+
GridsterResizable.prototype.touchend;
|
|
5588
|
+
/** @type {?} */
|
|
5589
|
+
GridsterResizable.prototype.touchcancel;
|
|
5590
|
+
/** @type {?} */
|
|
5591
|
+
GridsterResizable.prototype.push;
|
|
5592
|
+
/** @type {?} */
|
|
5593
|
+
GridsterResizable.prototype.pushResize;
|
|
5594
|
+
/** @type {?} */
|
|
5595
|
+
GridsterResizable.prototype.minHeight;
|
|
5596
|
+
/** @type {?} */
|
|
5597
|
+
GridsterResizable.prototype.minWidth;
|
|
5598
|
+
/** @type {?} */
|
|
5599
|
+
GridsterResizable.prototype.offsetTop;
|
|
5600
|
+
/** @type {?} */
|
|
5601
|
+
GridsterResizable.prototype.offsetLeft;
|
|
5602
|
+
/** @type {?} */
|
|
5603
|
+
GridsterResizable.prototype.diffTop;
|
|
5604
|
+
/** @type {?} */
|
|
5605
|
+
GridsterResizable.prototype.diffLeft;
|
|
5606
|
+
/** @type {?} */
|
|
5607
|
+
GridsterResizable.prototype.diffRight;
|
|
5608
|
+
/** @type {?} */
|
|
5609
|
+
GridsterResizable.prototype.diffBottom;
|
|
5610
|
+
/** @type {?} */
|
|
5611
|
+
GridsterResizable.prototype.margin;
|
|
5612
|
+
/** @type {?} */
|
|
5613
|
+
GridsterResizable.prototype.top;
|
|
5614
|
+
/** @type {?} */
|
|
5615
|
+
GridsterResizable.prototype.left;
|
|
5616
|
+
/** @type {?} */
|
|
5617
|
+
GridsterResizable.prototype.bottom;
|
|
5618
|
+
/** @type {?} */
|
|
5619
|
+
GridsterResizable.prototype.right;
|
|
5620
|
+
/** @type {?} */
|
|
5621
|
+
GridsterResizable.prototype.width;
|
|
5622
|
+
/** @type {?} */
|
|
5623
|
+
GridsterResizable.prototype.height;
|
|
5624
|
+
/** @type {?} */
|
|
5625
|
+
GridsterResizable.prototype.newPosition;
|
|
5626
|
+
/**
|
|
5627
|
+
* @type {?}
|
|
5628
|
+
* @private
|
|
5629
|
+
*/
|
|
5630
|
+
GridsterResizable.prototype.zone;
|
|
5631
|
+
}
|
|
4774
5632
|
|
|
4775
5633
|
/**
|
|
4776
5634
|
* @fileoverview added by tsickle
|
|
4777
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5635
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4778
5636
|
*/
|
|
4779
5637
|
class GridsterItemComponent {
|
|
4780
5638
|
/**
|
|
@@ -4933,7 +5791,7 @@ GridsterItemComponent.decorators = [
|
|
|
4933
5791
|
selector: 'gridster-item',
|
|
4934
5792
|
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",
|
|
4935
5793
|
encapsulation: ViewEncapsulation.None,
|
|
4936
|
-
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}"]
|
|
5794
|
+
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}"]
|
|
4937
5795
|
}] }
|
|
4938
5796
|
];
|
|
4939
5797
|
/** @nocollapse */
|
|
@@ -4945,11 +5803,44 @@ GridsterItemComponent.ctorParameters = () => [
|
|
|
4945
5803
|
];
|
|
4946
5804
|
GridsterItemComponent.propDecorators = {
|
|
4947
5805
|
item: [{ type: Input }]
|
|
4948
|
-
};
|
|
5806
|
+
};
|
|
5807
|
+
if (false) {
|
|
5808
|
+
/** @type {?} */
|
|
5809
|
+
GridsterItemComponent.prototype.item;
|
|
5810
|
+
/** @type {?} */
|
|
5811
|
+
GridsterItemComponent.prototype.$item;
|
|
5812
|
+
/** @type {?} */
|
|
5813
|
+
GridsterItemComponent.prototype.el;
|
|
5814
|
+
/** @type {?} */
|
|
5815
|
+
GridsterItemComponent.prototype.gridster;
|
|
5816
|
+
/** @type {?} */
|
|
5817
|
+
GridsterItemComponent.prototype.top;
|
|
5818
|
+
/** @type {?} */
|
|
5819
|
+
GridsterItemComponent.prototype.left;
|
|
5820
|
+
/** @type {?} */
|
|
5821
|
+
GridsterItemComponent.prototype.width;
|
|
5822
|
+
/** @type {?} */
|
|
5823
|
+
GridsterItemComponent.prototype.height;
|
|
5824
|
+
/** @type {?} */
|
|
5825
|
+
GridsterItemComponent.prototype.drag;
|
|
5826
|
+
/** @type {?} */
|
|
5827
|
+
GridsterItemComponent.prototype.resize;
|
|
5828
|
+
/** @type {?} */
|
|
5829
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
5830
|
+
/** @type {?} */
|
|
5831
|
+
GridsterItemComponent.prototype.init;
|
|
5832
|
+
/** @type {?} */
|
|
5833
|
+
GridsterItemComponent.prototype.renderer;
|
|
5834
|
+
/**
|
|
5835
|
+
* @type {?}
|
|
5836
|
+
* @private
|
|
5837
|
+
*/
|
|
5838
|
+
GridsterItemComponent.prototype.zone;
|
|
5839
|
+
}
|
|
4949
5840
|
|
|
4950
5841
|
/**
|
|
4951
5842
|
* @fileoverview added by tsickle
|
|
4952
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5843
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4953
5844
|
*/
|
|
4954
5845
|
class GridsterPreviewComponent {
|
|
4955
5846
|
/**
|
|
@@ -5001,11 +5892,19 @@ GridsterPreviewComponent.ctorParameters = () => [
|
|
|
5001
5892
|
{ type: ElementRef },
|
|
5002
5893
|
{ type: GridsterComponent, decorators: [{ type: Host }] },
|
|
5003
5894
|
{ type: Renderer2 }
|
|
5004
|
-
];
|
|
5895
|
+
];
|
|
5896
|
+
if (false) {
|
|
5897
|
+
/** @type {?} */
|
|
5898
|
+
GridsterPreviewComponent.prototype.el;
|
|
5899
|
+
/** @type {?} */
|
|
5900
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
5901
|
+
/** @type {?} */
|
|
5902
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
5903
|
+
}
|
|
5005
5904
|
|
|
5006
5905
|
/**
|
|
5007
5906
|
* @fileoverview added by tsickle
|
|
5008
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5907
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5009
5908
|
*/
|
|
5010
5909
|
class GridsterModule {
|
|
5011
5910
|
}
|
|
@@ -5027,7 +5926,7 @@ GridsterModule.decorators = [
|
|
|
5027
5926
|
|
|
5028
5927
|
/**
|
|
5029
5928
|
* @fileoverview added by tsickle
|
|
5030
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5929
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5031
5930
|
*/
|
|
5032
5931
|
/** @type {?} */
|
|
5033
5932
|
const DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
@@ -5065,7 +5964,7 @@ DashboardFrameworkModule.decorators = [
|
|
|
5065
5964
|
|
|
5066
5965
|
/**
|
|
5067
5966
|
* @fileoverview added by tsickle
|
|
5068
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5967
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5069
5968
|
*/
|
|
5070
5969
|
/**
|
|
5071
5970
|
* @abstract
|
|
@@ -5107,11 +6006,35 @@ RaBaseDashboardTemplate.propDecorators = {
|
|
|
5107
6006
|
dashboardId: [{ type: Input, args: ['dashboard-id',] }],
|
|
5108
6007
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
5109
6008
|
initialize: [{ type: Input }]
|
|
5110
|
-
};
|
|
6009
|
+
};
|
|
6010
|
+
if (false) {
|
|
6011
|
+
/** @type {?} */
|
|
6012
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
6013
|
+
/** @type {?} */
|
|
6014
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
6015
|
+
/** @type {?} */
|
|
6016
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
6017
|
+
/** @type {?} */
|
|
6018
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
6019
|
+
/** @type {?} */
|
|
6020
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
6021
|
+
/** @type {?} */
|
|
6022
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
6023
|
+
/**
|
|
6024
|
+
* @type {?}
|
|
6025
|
+
* @private
|
|
6026
|
+
*/
|
|
6027
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
6028
|
+
/**
|
|
6029
|
+
* @abstract
|
|
6030
|
+
* @return {?}
|
|
6031
|
+
*/
|
|
6032
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
6033
|
+
}
|
|
5111
6034
|
|
|
5112
6035
|
/**
|
|
5113
6036
|
* @fileoverview added by tsickle
|
|
5114
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6037
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5115
6038
|
*/
|
|
5116
6039
|
/**
|
|
5117
6040
|
* @abstract
|
|
@@ -5129,7 +6052,29 @@ class RaBaseDashboardFilter {
|
|
|
5129
6052
|
}
|
|
5130
6053
|
RaBaseDashboardFilter.propDecorators = {
|
|
5131
6054
|
getAllFilterConfig: [{ type: Input }]
|
|
5132
|
-
};
|
|
6055
|
+
};
|
|
6056
|
+
if (false) {
|
|
6057
|
+
/**
|
|
6058
|
+
* @type {?}
|
|
6059
|
+
* @private
|
|
6060
|
+
*/
|
|
6061
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
6062
|
+
/**
|
|
6063
|
+
* @abstract
|
|
6064
|
+
* @return {?}
|
|
6065
|
+
*/
|
|
6066
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
/**
|
|
6070
|
+
* @fileoverview added by tsickle
|
|
6071
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6072
|
+
*/
|
|
6073
|
+
|
|
6074
|
+
/**
|
|
6075
|
+
* @fileoverview added by tsickle
|
|
6076
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6077
|
+
*/
|
|
5133
6078
|
|
|
5134
6079
|
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 };
|
|
5135
6080
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|