@schneideress/dashboardframework 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/schneideress-dashboardframework.umd.js +1126 -67
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/gridster/index.js +1 -1
- package/esm2015/gridster/lib/gridster.component.js +1 -1
- package/esm2015/gridster/lib/gridster.interface.js +1 -1
- package/esm2015/gridster/lib/gridster.module.js +1 -1
- package/esm2015/gridster/lib/gridsterCompact.service.js +1 -1
- package/esm2015/gridster/lib/gridsterConfig.constant.js +1 -1
- package/esm2015/gridster/lib/gridsterConfig.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterConfigS.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterDraggable.service.js +1 -1
- package/esm2015/gridster/lib/gridsterEmptyCell.service.js +1 -1
- package/esm2015/gridster/lib/gridsterItem.component.js +1 -1
- package/esm2015/gridster/lib/gridsterItem.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterItemComponent.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterPreview.component.js +1 -1
- package/esm2015/gridster/lib/gridsterPush.service.js +1 -1
- package/esm2015/gridster/lib/gridsterPushResize.service.js +1 -1
- package/esm2015/gridster/lib/gridsterRenderer.service.js +1 -1
- package/esm2015/gridster/lib/gridsterResizable.service.js +1 -1
- package/esm2015/gridster/lib/gridsterResizeEventType.interface.js +1 -1
- package/esm2015/gridster/lib/gridsterScroll.service.js +1 -1
- package/esm2015/gridster/lib/gridsterSwap.service.js +1 -1
- package/esm2015/gridster/lib/gridsterUtils.service.js +1 -1
- package/esm2015/lib/custom.notifier.options.js +1 -1
- package/esm2015/lib/ra-dashboard-area/ra.dashboard.area.js +6 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +28 -7
- package/esm2015/lib/ra.base.dashboard.filter.js +1 -1
- package/esm2015/lib/ra.base.dashboard.template.js +1 -1
- package/esm2015/lib/ra.dashbard.event.bus.js +1 -1
- package/esm2015/lib/ra.dashboard.module.js +1 -1
- package/esm2015/lib/ra.dashboard.service.js +1 -1
- package/esm2015/lib/ra.event.enum.js +1 -1
- package/esm2015/lib/ra.gridster.config.js +17 -17
- package/esm2015/public-api.js +1 -1
- package/esm2015/schneideress-dashboardframework.js +1 -1
- package/esm5/gridster/index.js +1 -1
- package/esm5/gridster/lib/gridster.component.js +1 -1
- package/esm5/gridster/lib/gridster.interface.js +1 -1
- package/esm5/gridster/lib/gridster.module.js +1 -1
- package/esm5/gridster/lib/gridsterCompact.service.js +1 -1
- package/esm5/gridster/lib/gridsterConfig.constant.js +1 -1
- package/esm5/gridster/lib/gridsterConfig.interface.js +1 -1
- package/esm5/gridster/lib/gridsterConfigS.interface.js +1 -1
- package/esm5/gridster/lib/gridsterDraggable.service.js +1 -1
- package/esm5/gridster/lib/gridsterEmptyCell.service.js +1 -1
- package/esm5/gridster/lib/gridsterItem.component.js +1 -1
- package/esm5/gridster/lib/gridsterItem.interface.js +1 -1
- package/esm5/gridster/lib/gridsterItemComponent.interface.js +1 -1
- package/esm5/gridster/lib/gridsterPreview.component.js +1 -1
- package/esm5/gridster/lib/gridsterPush.service.js +1 -1
- package/esm5/gridster/lib/gridsterPushResize.service.js +1 -1
- package/esm5/gridster/lib/gridsterRenderer.service.js +1 -1
- package/esm5/gridster/lib/gridsterResizable.service.js +1 -1
- package/esm5/gridster/lib/gridsterResizeEventType.interface.js +1 -1
- package/esm5/gridster/lib/gridsterScroll.service.js +1 -1
- package/esm5/gridster/lib/gridsterSwap.service.js +1 -1
- package/esm5/gridster/lib/gridsterUtils.service.js +1 -1
- package/esm5/lib/custom.notifier.options.js +1 -1
- package/esm5/lib/ra-dashboard-area/ra.dashboard.area.js +6 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +48 -6
- package/esm5/lib/ra.base.dashboard.filter.js +1 -1
- package/esm5/lib/ra.base.dashboard.template.js +1 -1
- package/esm5/lib/ra.dashbard.event.bus.js +1 -1
- package/esm5/lib/ra.dashboard.module.js +1 -1
- package/esm5/lib/ra.dashboard.service.js +1 -1
- package/esm5/lib/ra.event.enum.js +1 -1
- package/esm5/lib/ra.gridster.config.js +17 -17
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +994 -66
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1017 -68
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +3 -0
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -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 = {
|
|
@@ -267,7 +281,7 @@ const RAEventKey = {
|
|
|
267
281
|
|
|
268
282
|
/**
|
|
269
283
|
* @fileoverview added by tsickle
|
|
270
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
284
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
271
285
|
*/
|
|
272
286
|
/** @enum {string} */
|
|
273
287
|
const GridType = {
|
|
@@ -294,38 +308,223 @@ const CompactType = {
|
|
|
294
308
|
CompactRight: 'compactRight',
|
|
295
309
|
CompactUpAndRight: 'compactUp&Right',
|
|
296
310
|
CompactRightAndUp: 'compactRight&Up',
|
|
297
|
-
};
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* @record
|
|
314
|
+
*/
|
|
315
|
+
function GridsterConfig() { }
|
|
316
|
+
if (false) {
|
|
317
|
+
/** @type {?|undefined} */
|
|
318
|
+
GridsterConfig.prototype.gridType;
|
|
319
|
+
/** @type {?|undefined} */
|
|
320
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
321
|
+
/** @type {?|undefined} */
|
|
322
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
323
|
+
/** @type {?|undefined} */
|
|
324
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
325
|
+
/** @type {?|undefined} */
|
|
326
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
327
|
+
/** @type {?|undefined} */
|
|
328
|
+
GridsterConfig.prototype.setGridSize;
|
|
329
|
+
/** @type {?|undefined} */
|
|
330
|
+
GridsterConfig.prototype.compactType;
|
|
331
|
+
/** @type {?|undefined} */
|
|
332
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
333
|
+
/** @type {?|undefined} */
|
|
334
|
+
GridsterConfig.prototype.minCols;
|
|
335
|
+
/** @type {?|undefined} */
|
|
336
|
+
GridsterConfig.prototype.maxCols;
|
|
337
|
+
/** @type {?|undefined} */
|
|
338
|
+
GridsterConfig.prototype.minRows;
|
|
339
|
+
/** @type {?|undefined} */
|
|
340
|
+
GridsterConfig.prototype.maxRows;
|
|
341
|
+
/** @type {?|undefined} */
|
|
342
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
343
|
+
/** @type {?|undefined} */
|
|
344
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
345
|
+
/** @type {?|undefined} */
|
|
346
|
+
GridsterConfig.prototype.maxItemCols;
|
|
347
|
+
/** @type {?|undefined} */
|
|
348
|
+
GridsterConfig.prototype.maxItemRows;
|
|
349
|
+
/** @type {?|undefined} */
|
|
350
|
+
GridsterConfig.prototype.minItemCols;
|
|
351
|
+
/** @type {?|undefined} */
|
|
352
|
+
GridsterConfig.prototype.minItemRows;
|
|
353
|
+
/** @type {?|undefined} */
|
|
354
|
+
GridsterConfig.prototype.minItemArea;
|
|
355
|
+
/** @type {?|undefined} */
|
|
356
|
+
GridsterConfig.prototype.maxItemArea;
|
|
357
|
+
/** @type {?|undefined} */
|
|
358
|
+
GridsterConfig.prototype.margin;
|
|
359
|
+
/** @type {?|undefined} */
|
|
360
|
+
GridsterConfig.prototype.outerMargin;
|
|
361
|
+
/** @type {?|undefined} */
|
|
362
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
363
|
+
/** @type {?|undefined} */
|
|
364
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
365
|
+
/** @type {?|undefined} */
|
|
366
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
367
|
+
/** @type {?|undefined} */
|
|
368
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
369
|
+
/** @type {?|undefined} */
|
|
370
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
371
|
+
/** @type {?|undefined} */
|
|
372
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
373
|
+
/** @type {?|undefined} */
|
|
374
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
375
|
+
/** @type {?|undefined} */
|
|
376
|
+
GridsterConfig.prototype.initCallback;
|
|
377
|
+
/** @type {?|undefined} */
|
|
378
|
+
GridsterConfig.prototype.destroyCallback;
|
|
379
|
+
/** @type {?|undefined} */
|
|
380
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
381
|
+
/** @type {?|undefined} */
|
|
382
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
383
|
+
/** @type {?|undefined} */
|
|
384
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
385
|
+
/** @type {?|undefined} */
|
|
386
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
387
|
+
/** @type {?|undefined} */
|
|
388
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
389
|
+
/** @type {?|undefined} */
|
|
390
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
391
|
+
/** @type {?|undefined} */
|
|
392
|
+
GridsterConfig.prototype.draggable;
|
|
393
|
+
/** @type {?|undefined} */
|
|
394
|
+
GridsterConfig.prototype.resizable;
|
|
395
|
+
/** @type {?|undefined} */
|
|
396
|
+
GridsterConfig.prototype.swap;
|
|
397
|
+
/** @type {?|undefined} */
|
|
398
|
+
GridsterConfig.prototype.pushItems;
|
|
399
|
+
/** @type {?|undefined} */
|
|
400
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
401
|
+
/** @type {?|undefined} */
|
|
402
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
403
|
+
/** @type {?|undefined} */
|
|
404
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
405
|
+
/** @type {?|undefined} */
|
|
406
|
+
GridsterConfig.prototype.pushDirections;
|
|
407
|
+
/** @type {?|undefined} */
|
|
408
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
409
|
+
/** @type {?|undefined} */
|
|
410
|
+
GridsterConfig.prototype.displayGrid;
|
|
411
|
+
/** @type {?|undefined} */
|
|
412
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
413
|
+
/** @type {?|undefined} */
|
|
414
|
+
GridsterConfig.prototype.disableWarnings;
|
|
415
|
+
/** @type {?|undefined} */
|
|
416
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
417
|
+
/** @type {?|undefined} */
|
|
418
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
419
|
+
/** @type {?|undefined} */
|
|
420
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
421
|
+
/** @type {?|undefined} */
|
|
422
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
423
|
+
/** @type {?|undefined} */
|
|
424
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
425
|
+
/** @type {?|undefined} */
|
|
426
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
427
|
+
/** @type {?|undefined} */
|
|
428
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
429
|
+
/** @type {?|undefined} */
|
|
430
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
431
|
+
/** @type {?|undefined} */
|
|
432
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
433
|
+
/** @type {?|undefined} */
|
|
434
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
435
|
+
/** @type {?|undefined} */
|
|
436
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
437
|
+
/** @type {?|undefined} */
|
|
438
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
439
|
+
/** @type {?|undefined} */
|
|
440
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
441
|
+
/** @type {?|undefined} */
|
|
442
|
+
GridsterConfig.prototype.api;
|
|
443
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* @record
|
|
447
|
+
*/
|
|
448
|
+
function DragBase() { }
|
|
449
|
+
if (false) {
|
|
450
|
+
/** @type {?|undefined} */
|
|
451
|
+
DragBase.prototype.enabled;
|
|
452
|
+
/** @type {?|undefined} */
|
|
453
|
+
DragBase.prototype.stop;
|
|
454
|
+
/** @type {?|undefined} */
|
|
455
|
+
DragBase.prototype.start;
|
|
456
|
+
/** @type {?|undefined} */
|
|
457
|
+
DragBase.prototype.delayStart;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* @record
|
|
461
|
+
*/
|
|
462
|
+
function Draggable() { }
|
|
463
|
+
if (false) {
|
|
464
|
+
/** @type {?|undefined} */
|
|
465
|
+
Draggable.prototype.ignoreContentClass;
|
|
466
|
+
/** @type {?|undefined} */
|
|
467
|
+
Draggable.prototype.ignoreContent;
|
|
468
|
+
/** @type {?|undefined} */
|
|
469
|
+
Draggable.prototype.dragHandleClass;
|
|
470
|
+
/** @type {?|undefined} */
|
|
471
|
+
Draggable.prototype.dropOverItems;
|
|
472
|
+
/** @type {?|undefined} */
|
|
473
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* @record
|
|
477
|
+
*/
|
|
478
|
+
function Resizable() { }
|
|
479
|
+
if (false) {
|
|
480
|
+
/** @type {?|undefined} */
|
|
481
|
+
Resizable.prototype.handles;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* @record
|
|
485
|
+
*/
|
|
486
|
+
function PushDirections() { }
|
|
487
|
+
if (false) {
|
|
488
|
+
/** @type {?} */
|
|
489
|
+
PushDirections.prototype.north;
|
|
490
|
+
/** @type {?} */
|
|
491
|
+
PushDirections.prototype.east;
|
|
492
|
+
/** @type {?} */
|
|
493
|
+
PushDirections.prototype.south;
|
|
494
|
+
/** @type {?} */
|
|
495
|
+
PushDirections.prototype.west;
|
|
496
|
+
}
|
|
298
497
|
|
|
299
498
|
/**
|
|
300
499
|
* @fileoverview added by tsickle
|
|
301
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
500
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
302
501
|
*/
|
|
303
502
|
/** @type {?} */
|
|
304
503
|
const GridsterConfigDefaultSettings = {
|
|
305
504
|
gridType: GridType.ScrollVertical,
|
|
306
505
|
compactType: CompactType.None,
|
|
307
|
-
margin:
|
|
506
|
+
margin: 4,
|
|
308
507
|
outerMargin: true,
|
|
309
|
-
outerMarginTop: 10,
|
|
310
|
-
outerMarginRight: 10,
|
|
311
|
-
outerMarginBottom: 30,
|
|
312
|
-
outerMarginLeft: 10,
|
|
508
|
+
// outerMarginTop: 10,
|
|
509
|
+
// outerMarginRight: 10,
|
|
510
|
+
// outerMarginBottom: 30,
|
|
511
|
+
// outerMarginLeft: 10,
|
|
313
512
|
useTransformPositioning: true,
|
|
314
513
|
mobileBreakpoint: 640,
|
|
315
|
-
minCols:
|
|
316
|
-
maxCols:
|
|
514
|
+
minCols: 100,
|
|
515
|
+
maxCols: 100,
|
|
317
516
|
minRows: 20,
|
|
318
517
|
maxRows: 2000,
|
|
319
|
-
maxItemCols:
|
|
320
|
-
minItemCols:
|
|
518
|
+
maxItemCols: 100,
|
|
519
|
+
minItemCols: 20,
|
|
321
520
|
maxItemRows: 100,
|
|
322
|
-
minItemRows:
|
|
521
|
+
minItemRows: 20,
|
|
323
522
|
maxItemArea: 250000,
|
|
324
|
-
minItemArea:
|
|
325
|
-
defaultItemCols:
|
|
326
|
-
defaultItemRows:
|
|
327
|
-
fixedColWidth: 105,
|
|
328
|
-
fixedRowHeight: 105,
|
|
523
|
+
minItemArea: 400,
|
|
524
|
+
defaultItemCols: 20,
|
|
525
|
+
defaultItemRows: 20,
|
|
526
|
+
// fixedColWidth: 105,
|
|
527
|
+
// fixedRowHeight: 105,
|
|
329
528
|
keepFixedHeightInMobile: false,
|
|
330
529
|
keepFixedWidthInMobile: false,
|
|
331
530
|
scrollSensitivity: 10,
|
|
@@ -360,7 +559,7 @@ const GridsterConfigDefaultSettings = {
|
|
|
360
559
|
|
|
361
560
|
/**
|
|
362
561
|
* @fileoverview added by tsickle
|
|
363
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
562
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
364
563
|
*/
|
|
365
564
|
class RADashboardArea {
|
|
366
565
|
/**
|
|
@@ -618,6 +817,10 @@ class RADashboardArea {
|
|
|
618
817
|
if (!isalertDisabled) {
|
|
619
818
|
this.notifier.notify('success', " " + this.translateService.translate('Widget') + " [" + widget[0].widgetInfo.widgetTitle + "] " + this.translateService.translate('DeletedSuccesfully') + " ");
|
|
620
819
|
}
|
|
820
|
+
this.options.compactType = 'compactLeft&Up';
|
|
821
|
+
this.options.api.optionsChanged();
|
|
822
|
+
this.options.compactType = 'none';
|
|
823
|
+
this.options.api.optionsChanged();
|
|
621
824
|
}
|
|
622
825
|
}
|
|
623
826
|
/**
|
|
@@ -765,11 +968,83 @@ RADashboardArea.propDecorators = {
|
|
|
765
968
|
widgetHeight: [{ type: Input, args: ['widget-height',] }],
|
|
766
969
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
767
970
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
768
|
-
};
|
|
971
|
+
};
|
|
972
|
+
if (false) {
|
|
973
|
+
/** @type {?} */
|
|
974
|
+
RADashboardArea.prototype.widgetList;
|
|
975
|
+
/** @type {?} */
|
|
976
|
+
RADashboardArea.prototype.options;
|
|
977
|
+
/** @type {?} */
|
|
978
|
+
RADashboardArea.prototype.gridheight;
|
|
979
|
+
/**
|
|
980
|
+
* @type {?}
|
|
981
|
+
* @private
|
|
982
|
+
*/
|
|
983
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
984
|
+
/**
|
|
985
|
+
* @type {?}
|
|
986
|
+
* @private
|
|
987
|
+
*/
|
|
988
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
989
|
+
/**
|
|
990
|
+
* @type {?}
|
|
991
|
+
* @private
|
|
992
|
+
*/
|
|
993
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
994
|
+
/**
|
|
995
|
+
* @type {?}
|
|
996
|
+
* @private
|
|
997
|
+
*/
|
|
998
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
999
|
+
/**
|
|
1000
|
+
* @type {?}
|
|
1001
|
+
* @private
|
|
1002
|
+
*/
|
|
1003
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
1004
|
+
/** @type {?} */
|
|
1005
|
+
RADashboardArea.prototype.userDashboardId;
|
|
1006
|
+
/** @type {?} */
|
|
1007
|
+
RADashboardArea.prototype.areaKey;
|
|
1008
|
+
/** @type {?} */
|
|
1009
|
+
RADashboardArea.prototype.globalFilter;
|
|
1010
|
+
/** @type {?} */
|
|
1011
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1012
|
+
/** @type {?} */
|
|
1013
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1014
|
+
/** @type {?} */
|
|
1015
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1016
|
+
/** @type {?} */
|
|
1017
|
+
RADashboardArea.prototype.appConfig;
|
|
1018
|
+
/**
|
|
1019
|
+
* @type {?}
|
|
1020
|
+
* @private
|
|
1021
|
+
*/
|
|
1022
|
+
RADashboardArea.prototype.dashboardService;
|
|
1023
|
+
/**
|
|
1024
|
+
* @type {?}
|
|
1025
|
+
* @private
|
|
1026
|
+
*/
|
|
1027
|
+
RADashboardArea.prototype.ngZone;
|
|
1028
|
+
/**
|
|
1029
|
+
* @type {?}
|
|
1030
|
+
* @private
|
|
1031
|
+
*/
|
|
1032
|
+
RADashboardArea.prototype.ngxService;
|
|
1033
|
+
/**
|
|
1034
|
+
* @type {?}
|
|
1035
|
+
* @private
|
|
1036
|
+
*/
|
|
1037
|
+
RADashboardArea.prototype.translateService;
|
|
1038
|
+
/**
|
|
1039
|
+
* @type {?}
|
|
1040
|
+
* @private
|
|
1041
|
+
*/
|
|
1042
|
+
RADashboardArea.prototype.notifier;
|
|
1043
|
+
}
|
|
769
1044
|
|
|
770
1045
|
/**
|
|
771
1046
|
* @fileoverview added by tsickle
|
|
772
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1047
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
773
1048
|
*/
|
|
774
1049
|
class RAWidgetContainer {
|
|
775
1050
|
/**
|
|
@@ -789,6 +1064,7 @@ class RAWidgetContainer {
|
|
|
789
1064
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
790
1065
|
this.lockClass = "unlocked";
|
|
791
1066
|
this.lockStatus = "unlock";
|
|
1067
|
+
this.isDownloadIconVisible = false;
|
|
792
1068
|
this.widgetDeleted = new EventEmitter();
|
|
793
1069
|
}
|
|
794
1070
|
/**
|
|
@@ -902,7 +1178,7 @@ class RAWidgetContainer {
|
|
|
902
1178
|
* @return {?}
|
|
903
1179
|
*/
|
|
904
1180
|
loadWidget(widgetInfo) {
|
|
905
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1181
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
906
1182
|
/** @type {?} */
|
|
907
1183
|
let widgetConfigFilter = (/** @type {?} */ ({
|
|
908
1184
|
config: widgetInfo.widgetConfigInfo.config,
|
|
@@ -919,7 +1195,7 @@ class RAWidgetContainer {
|
|
|
919
1195
|
document.body.addEventListener('widgetinitiated' + widgetInfo.widgetInstanceId, (/**
|
|
920
1196
|
* @return {?}
|
|
921
1197
|
*/
|
|
922
|
-
() => __awaiter(this, void 0, void 0, function* () {
|
|
1198
|
+
() => __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
923
1199
|
console.log('widget initiated' + widgetInfo.widgetInstanceId);
|
|
924
1200
|
widgetContainer.isWidgetLoaded = true;
|
|
925
1201
|
widgetConfigFilter.appConfig = this.appConfig;
|
|
@@ -927,6 +1203,7 @@ class RAWidgetContainer {
|
|
|
927
1203
|
widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
|
|
928
1204
|
widgetContainer.widgetElement.loadContent(widgetConfigFilter);
|
|
929
1205
|
yield widgetContainer.setLock(widgetConfigFilter.config);
|
|
1206
|
+
yield widgetContainer.setDownloadIcon();
|
|
930
1207
|
})));
|
|
931
1208
|
this.ctlWidget.nativeElement.appendChild(this.widgetElement);
|
|
932
1209
|
}));
|
|
@@ -938,7 +1215,7 @@ class RAWidgetContainer {
|
|
|
938
1215
|
* @return {?}
|
|
939
1216
|
*/
|
|
940
1217
|
refreshWidget(widgetInfo) {
|
|
941
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1218
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
942
1219
|
/** @type {?} */
|
|
943
1220
|
let widgetContainerContext = this;
|
|
944
1221
|
/** @type {?} */
|
|
@@ -951,6 +1228,7 @@ class RAWidgetContainer {
|
|
|
951
1228
|
if (widgetContainerContext.isWidgetLoaded) {
|
|
952
1229
|
widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
|
|
953
1230
|
yield this.setLock(widgetConfigFilter.config);
|
|
1231
|
+
yield this.setDownloadIcon();
|
|
954
1232
|
}
|
|
955
1233
|
});
|
|
956
1234
|
}
|
|
@@ -960,7 +1238,7 @@ class RAWidgetContainer {
|
|
|
960
1238
|
* @return {?}
|
|
961
1239
|
*/
|
|
962
1240
|
setLock(config) {
|
|
963
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1241
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
964
1242
|
this.lockStatus = yield this.widgetElement.loadLockStatus(config);
|
|
965
1243
|
if (this.lockStatus) {
|
|
966
1244
|
switch (this.lockStatus) {
|
|
@@ -984,11 +1262,27 @@ class RAWidgetContainer {
|
|
|
984
1262
|
}
|
|
985
1263
|
});
|
|
986
1264
|
}
|
|
1265
|
+
/**
|
|
1266
|
+
* @private
|
|
1267
|
+
* @return {?}
|
|
1268
|
+
*/
|
|
1269
|
+
setDownloadIcon() {
|
|
1270
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
1271
|
+
this.isDownloadIconVisible = yield this.widgetElement.isDownloadVisible();
|
|
1272
|
+
this.isDownloadIconVisible = false; //temp. commented
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* @return {?}
|
|
1277
|
+
*/
|
|
1278
|
+
downloadClicked() {
|
|
1279
|
+
this.widgetElement.isDownloadVisible();
|
|
1280
|
+
}
|
|
987
1281
|
}
|
|
988
1282
|
RAWidgetContainer.decorators = [
|
|
989
1283
|
{ type: Component, args: [{
|
|
990
1284
|
selector: 'ra-widget-container',
|
|
991
|
-
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;\">\r\n <div style=\"display:flex\">\r\n <div class=\"col-md-11 float-left widget-move\" style=\"width:96%;padding-left: 0px;\">{{data.widgetInfo.widgetTitle}}\r\n </div>\r\n <div class=\"col-md-1\" style=\"cursor:default;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n <div class=\"pr-3\"><i [ngClass]=\"lockClass\"\r\n [attr.title]=\"lockStatus=='lock' ? 'Locked' : 'Partially Locked'\"></i></div>\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content widget-config-item\">\r\n <a (click)=\"editWidget()\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span>{{'Edit'|translate}}</span>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span>{{'Copy'|translate}}</span>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span>{{'Move'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;\"></i>\r\n <span>{{'Delete'|translate}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\" >\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
|
|
1285
|
+
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;\">\r\n <div style=\"display:flex\">\r\n <div class=\"col-md-11 float-left widget-move\" style=\"width:96%;padding-left: 0px;\">{{data.widgetInfo.widgetTitle}}\r\n </div>\r\n <div class=\"col-md-1\" style=\"cursor:default;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n <div *ngIf=\"isDownloadIconVisible\"> <i class=\"far fa-download\" (click)=\"downloadClicked\"></i></div>\r\n <div class=\"pr-3\"><i [ngClass]=\"lockClass\"\r\n [attr.title]=\"lockStatus=='lock' ? 'Locked' : 'Partially Locked'\"></i></div>\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content widget-config-item\">\r\n <a (click)=\"editWidget()\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span>{{'Edit'|translate}}</span>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span>{{'Copy'|translate}}</span>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span>{{'Move'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;\"></i>\r\n <span>{{'Delete'|translate}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\" >\r\n <perfect-scrollbar [scrollIndicators]=\"true\">\r\n <div #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>",
|
|
992
1286
|
styles: [".wcheader{width:100%;height:46px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";font-size:16px;position:absolute;left:0;top:0;padding:15px 0 0}.wc-wrapper{height:100%;position:relative;margin:auto 15px}.wc-mover{cursor:all-scroll}.wcBody{width:100%;position:absolute;top:46px;left:0;bottom:0}.wcBodyBorder{border:1px dashed #e6e2e2}.sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;position:relative}.dropdown hr{margin:0!important}.dropdown-content{display:none;position:absolute;right:0;background-color:#f9f9f9;min-width:100px;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index:2;font-size:12px;font-family:\"Arial Rounded MT\"}.dropdown-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.dropdown-content a:hover{background-color:#f1f1f1}.dropdown:hover .dropdown-content{display:block;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.wc-wrapper:hover .dropdown{visibility:visible;opacity:1}.dropdown:hover .dropbtn{color:#2b7797}.gearIcon{color:#42b4e6}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}@keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%);transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-20%)}100%{opacity:1;-webkit-transform:translateY(0)}}.widget-config-item i{font-size:17px;color:#42b4e6}.widget-config-item span{font-size:12px;font:inherit;padding-left:12px;color:#42b4e6}.locked{color:#42b4e6}.partiallocked{color:#a0d9f2}.unlocked{display:none}"]
|
|
993
1287
|
}] }
|
|
994
1288
|
];
|
|
@@ -1010,11 +1304,84 @@ RAWidgetContainer.propDecorators = {
|
|
|
1010
1304
|
width: [{ type: Input, args: ['widget-width',] }],
|
|
1011
1305
|
height: [{ type: Input, args: ['widget-height',] }],
|
|
1012
1306
|
widgetDeleted: [{ type: Output }]
|
|
1013
|
-
};
|
|
1307
|
+
};
|
|
1308
|
+
if (false) {
|
|
1309
|
+
/**
|
|
1310
|
+
* @type {?}
|
|
1311
|
+
* @private
|
|
1312
|
+
*/
|
|
1313
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1314
|
+
/**
|
|
1315
|
+
* @type {?}
|
|
1316
|
+
* @private
|
|
1317
|
+
*/
|
|
1318
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1319
|
+
/**
|
|
1320
|
+
* @type {?}
|
|
1321
|
+
* @private
|
|
1322
|
+
*/
|
|
1323
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1324
|
+
/**
|
|
1325
|
+
* @type {?}
|
|
1326
|
+
* @private
|
|
1327
|
+
*/
|
|
1328
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1329
|
+
/** @type {?} */
|
|
1330
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1331
|
+
/** @type {?} */
|
|
1332
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1333
|
+
/** @type {?} */
|
|
1334
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1335
|
+
/** @type {?} */
|
|
1336
|
+
RAWidgetContainer.prototype.isDownloadIconVisible;
|
|
1337
|
+
/** @type {?} */
|
|
1338
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1339
|
+
/** @type {?} */
|
|
1340
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1341
|
+
/** @type {?} */
|
|
1342
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1343
|
+
/** @type {?} */
|
|
1344
|
+
RAWidgetContainer.prototype.data;
|
|
1345
|
+
/** @type {?} */
|
|
1346
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1347
|
+
/** @type {?} */
|
|
1348
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1349
|
+
/** @type {?} */
|
|
1350
|
+
RAWidgetContainer.prototype.width;
|
|
1351
|
+
/** @type {?} */
|
|
1352
|
+
RAWidgetContainer.prototype.height;
|
|
1353
|
+
/** @type {?} */
|
|
1354
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1355
|
+
/**
|
|
1356
|
+
* @type {?}
|
|
1357
|
+
* @private
|
|
1358
|
+
*/
|
|
1359
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1360
|
+
/**
|
|
1361
|
+
* @type {?}
|
|
1362
|
+
* @private
|
|
1363
|
+
*/
|
|
1364
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1365
|
+
/**
|
|
1366
|
+
* @type {?}
|
|
1367
|
+
* @private
|
|
1368
|
+
*/
|
|
1369
|
+
RAWidgetContainer.prototype.translateService;
|
|
1370
|
+
/**
|
|
1371
|
+
* @type {?}
|
|
1372
|
+
* @private
|
|
1373
|
+
*/
|
|
1374
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1375
|
+
/**
|
|
1376
|
+
* @type {?}
|
|
1377
|
+
* @private
|
|
1378
|
+
*/
|
|
1379
|
+
RAWidgetContainer.prototype.notifier;
|
|
1380
|
+
}
|
|
1014
1381
|
|
|
1015
1382
|
/**
|
|
1016
1383
|
* @fileoverview added by tsickle
|
|
1017
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1384
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1018
1385
|
*/
|
|
1019
1386
|
/** @type {?} */
|
|
1020
1387
|
const customNotifierOptions = {
|
|
@@ -1060,7 +1427,7 @@ const customNotifierOptions = {
|
|
|
1060
1427
|
|
|
1061
1428
|
/**
|
|
1062
1429
|
* @fileoverview added by tsickle
|
|
1063
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1430
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1064
1431
|
*/
|
|
1065
1432
|
/** @type {?} */
|
|
1066
1433
|
const GridsterConfigService = {
|
|
@@ -1238,7 +1605,7 @@ const GridsterConfigService = {
|
|
|
1238
1605
|
|
|
1239
1606
|
/**
|
|
1240
1607
|
* @fileoverview added by tsickle
|
|
1241
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1608
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1242
1609
|
*/
|
|
1243
1610
|
class GridsterUtils {
|
|
1244
1611
|
/**
|
|
@@ -1374,17 +1741,91 @@ GridsterUtils.decorators = [
|
|
|
1374
1741
|
|
|
1375
1742
|
/**
|
|
1376
1743
|
* @fileoverview added by tsickle
|
|
1377
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1744
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1378
1745
|
*/
|
|
1379
1746
|
/**
|
|
1380
1747
|
* @abstract
|
|
1381
1748
|
*/
|
|
1382
1749
|
class GridsterComponentInterface {
|
|
1750
|
+
}
|
|
1751
|
+
if (false) {
|
|
1752
|
+
/** @type {?} */
|
|
1753
|
+
GridsterComponentInterface.prototype.$options;
|
|
1754
|
+
/** @type {?} */
|
|
1755
|
+
GridsterComponentInterface.prototype.grid;
|
|
1756
|
+
/** @type {?} */
|
|
1757
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
1758
|
+
/** @type {?} */
|
|
1759
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
1760
|
+
/** @type {?} */
|
|
1761
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
1762
|
+
/** @type {?} */
|
|
1763
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
1764
|
+
/** @type {?} */
|
|
1765
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
1766
|
+
/** @type {?} */
|
|
1767
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
1768
|
+
/** @type {?} */
|
|
1769
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
1770
|
+
/** @type {?} */
|
|
1771
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
1772
|
+
/** @type {?} */
|
|
1773
|
+
GridsterComponentInterface.prototype.el;
|
|
1774
|
+
/** @type {?} */
|
|
1775
|
+
GridsterComponentInterface.prototype.renderer;
|
|
1776
|
+
/** @type {?} */
|
|
1777
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
1778
|
+
/** @type {?} */
|
|
1779
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
1780
|
+
/** @type {?} */
|
|
1781
|
+
GridsterComponentInterface.prototype.options;
|
|
1782
|
+
/** @type {?} */
|
|
1783
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
1784
|
+
/** @type {?} */
|
|
1785
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
1786
|
+
/** @type {?} */
|
|
1787
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
1788
|
+
/** @type {?} */
|
|
1789
|
+
GridsterComponentInterface.prototype.addItem;
|
|
1790
|
+
/** @type {?} */
|
|
1791
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
1792
|
+
/** @type {?} */
|
|
1793
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
1794
|
+
/** @type {?} */
|
|
1795
|
+
GridsterComponentInterface.prototype.mobile;
|
|
1796
|
+
/** @type {?} */
|
|
1797
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
1798
|
+
/** @type {?} */
|
|
1799
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
1800
|
+
/** @type {?} */
|
|
1801
|
+
GridsterComponentInterface.prototype.columns;
|
|
1802
|
+
/** @type {?} */
|
|
1803
|
+
GridsterComponentInterface.prototype.rows;
|
|
1804
|
+
/** @type {?} */
|
|
1805
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
1806
|
+
/** @type {?} */
|
|
1807
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
1808
|
+
/** @type {?} */
|
|
1809
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
1810
|
+
/** @type {?} */
|
|
1811
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
1812
|
+
/** @type {?} */
|
|
1813
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
1814
|
+
/** @type {?} */
|
|
1815
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
1816
|
+
/** @type {?} */
|
|
1817
|
+
GridsterComponentInterface.prototype.compact;
|
|
1818
|
+
/** @type {?} */
|
|
1819
|
+
GridsterComponentInterface.prototype.zone;
|
|
1820
|
+
/** @type {?} */
|
|
1821
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
1822
|
+
/** @type {?} */
|
|
1823
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
1383
1824
|
}
|
|
1384
1825
|
|
|
1385
1826
|
/**
|
|
1386
1827
|
* @fileoverview added by tsickle
|
|
1387
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1828
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1388
1829
|
*/
|
|
1389
1830
|
class GridsterEmptyCell {
|
|
1390
1831
|
/**
|
|
@@ -1661,11 +2102,44 @@ GridsterEmptyCell.decorators = [
|
|
|
1661
2102
|
/** @nocollapse */
|
|
1662
2103
|
GridsterEmptyCell.ctorParameters = () => [
|
|
1663
2104
|
{ type: GridsterComponentInterface }
|
|
1664
|
-
];
|
|
2105
|
+
];
|
|
2106
|
+
if (false) {
|
|
2107
|
+
/** @type {?} */
|
|
2108
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2109
|
+
/** @type {?} */
|
|
2110
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2111
|
+
/** @type {?} */
|
|
2112
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2113
|
+
/** @type {?} */
|
|
2114
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2115
|
+
/** @type {?} */
|
|
2116
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2117
|
+
/** @type {?} */
|
|
2118
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2119
|
+
/** @type {?} */
|
|
2120
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2121
|
+
/** @type {?} */
|
|
2122
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2123
|
+
/** @type {?} */
|
|
2124
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2125
|
+
/** @type {?} */
|
|
2126
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2127
|
+
/** @type {?} */
|
|
2128
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2129
|
+
/** @type {?} */
|
|
2130
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2131
|
+
/** @type {?} */
|
|
2132
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2133
|
+
/**
|
|
2134
|
+
* @type {?}
|
|
2135
|
+
* @private
|
|
2136
|
+
*/
|
|
2137
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2138
|
+
}
|
|
1665
2139
|
|
|
1666
2140
|
/**
|
|
1667
2141
|
* @fileoverview added by tsickle
|
|
1668
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2142
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1669
2143
|
*/
|
|
1670
2144
|
class GridsterCompact {
|
|
1671
2145
|
/**
|
|
@@ -1874,11 +2348,18 @@ GridsterCompact.decorators = [
|
|
|
1874
2348
|
/** @nocollapse */
|
|
1875
2349
|
GridsterCompact.ctorParameters = () => [
|
|
1876
2350
|
{ type: GridsterComponentInterface }
|
|
1877
|
-
];
|
|
2351
|
+
];
|
|
2352
|
+
if (false) {
|
|
2353
|
+
/**
|
|
2354
|
+
* @type {?}
|
|
2355
|
+
* @private
|
|
2356
|
+
*/
|
|
2357
|
+
GridsterCompact.prototype.gridster;
|
|
2358
|
+
}
|
|
1878
2359
|
|
|
1879
2360
|
/**
|
|
1880
2361
|
* @fileoverview added by tsickle
|
|
1881
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2362
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1882
2363
|
*/
|
|
1883
2364
|
class GridsterRenderer {
|
|
1884
2365
|
/**
|
|
@@ -2141,11 +2622,18 @@ GridsterRenderer.decorators = [
|
|
|
2141
2622
|
/** @nocollapse */
|
|
2142
2623
|
GridsterRenderer.ctorParameters = () => [
|
|
2143
2624
|
{ type: GridsterComponentInterface }
|
|
2144
|
-
];
|
|
2625
|
+
];
|
|
2626
|
+
if (false) {
|
|
2627
|
+
/**
|
|
2628
|
+
* @type {?}
|
|
2629
|
+
* @private
|
|
2630
|
+
*/
|
|
2631
|
+
GridsterRenderer.prototype.gridster;
|
|
2632
|
+
}
|
|
2145
2633
|
|
|
2146
2634
|
/**
|
|
2147
2635
|
* @fileoverview added by tsickle
|
|
2148
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2636
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2149
2637
|
*/
|
|
2150
2638
|
class GridsterComponent {
|
|
2151
2639
|
/**
|
|
@@ -2279,6 +2767,17 @@ class GridsterComponent {
|
|
|
2279
2767
|
if (this.options.destroyCallback) {
|
|
2280
2768
|
this.options.destroyCallback(this);
|
|
2281
2769
|
}
|
|
2770
|
+
//if (this.options.api) {
|
|
2771
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
2772
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
2773
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
2774
|
+
*/
|
|
2775
|
+
if (false) {
|
|
2776
|
+
this.options.api.resize = undefined;
|
|
2777
|
+
this.options.api.optionsChanged = undefined;
|
|
2778
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
2779
|
+
this.options.api = undefined;
|
|
2780
|
+
}
|
|
2282
2781
|
this.emptyCell.destroy();
|
|
2283
2782
|
delete this.emptyCell;
|
|
2284
2783
|
this.compact.destroy();
|
|
@@ -2774,21 +3273,109 @@ GridsterComponent.ctorParameters = () => [
|
|
|
2774
3273
|
];
|
|
2775
3274
|
GridsterComponent.propDecorators = {
|
|
2776
3275
|
options: [{ type: Input }]
|
|
2777
|
-
};
|
|
3276
|
+
};
|
|
3277
|
+
if (false) {
|
|
3278
|
+
/** @type {?} */
|
|
3279
|
+
GridsterComponent.prototype.options;
|
|
3280
|
+
/** @type {?} */
|
|
3281
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3282
|
+
/** @type {?} */
|
|
3283
|
+
GridsterComponent.prototype.movingItem;
|
|
3284
|
+
/** @type {?} */
|
|
3285
|
+
GridsterComponent.prototype.previewStyle;
|
|
3286
|
+
/** @type {?} */
|
|
3287
|
+
GridsterComponent.prototype.el;
|
|
3288
|
+
/** @type {?} */
|
|
3289
|
+
GridsterComponent.prototype.$options;
|
|
3290
|
+
/** @type {?} */
|
|
3291
|
+
GridsterComponent.prototype.mobile;
|
|
3292
|
+
/** @type {?} */
|
|
3293
|
+
GridsterComponent.prototype.curWidth;
|
|
3294
|
+
/** @type {?} */
|
|
3295
|
+
GridsterComponent.prototype.curHeight;
|
|
3296
|
+
/** @type {?} */
|
|
3297
|
+
GridsterComponent.prototype.grid;
|
|
3298
|
+
/** @type {?} */
|
|
3299
|
+
GridsterComponent.prototype.columns;
|
|
3300
|
+
/** @type {?} */
|
|
3301
|
+
GridsterComponent.prototype.rows;
|
|
3302
|
+
/** @type {?} */
|
|
3303
|
+
GridsterComponent.prototype.curColWidth;
|
|
3304
|
+
/** @type {?} */
|
|
3305
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3306
|
+
/** @type {?} */
|
|
3307
|
+
GridsterComponent.prototype.gridColumns;
|
|
3308
|
+
/** @type {?} */
|
|
3309
|
+
GridsterComponent.prototype.gridRows;
|
|
3310
|
+
/** @type {?} */
|
|
3311
|
+
GridsterComponent.prototype.windowResize;
|
|
3312
|
+
/** @type {?} */
|
|
3313
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3314
|
+
/** @type {?} */
|
|
3315
|
+
GridsterComponent.prototype.emptyCell;
|
|
3316
|
+
/** @type {?} */
|
|
3317
|
+
GridsterComponent.prototype.compact;
|
|
3318
|
+
/** @type {?} */
|
|
3319
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3320
|
+
/** @type {?} */
|
|
3321
|
+
GridsterComponent.prototype.renderer;
|
|
3322
|
+
/** @type {?} */
|
|
3323
|
+
GridsterComponent.prototype.cdRef;
|
|
3324
|
+
/** @type {?} */
|
|
3325
|
+
GridsterComponent.prototype.zone;
|
|
3326
|
+
}
|
|
2778
3327
|
|
|
2779
3328
|
/**
|
|
2780
3329
|
* @fileoverview added by tsickle
|
|
2781
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3330
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2782
3331
|
*/
|
|
2783
3332
|
/**
|
|
2784
3333
|
* @abstract
|
|
2785
3334
|
*/
|
|
2786
3335
|
class GridsterItemComponentInterface {
|
|
3336
|
+
}
|
|
3337
|
+
if (false) {
|
|
3338
|
+
/** @type {?} */
|
|
3339
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3340
|
+
/** @type {?} */
|
|
3341
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3342
|
+
/** @type {?} */
|
|
3343
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3344
|
+
/** @type {?} */
|
|
3345
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3346
|
+
/** @type {?} */
|
|
3347
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3348
|
+
/** @type {?} */
|
|
3349
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3350
|
+
/** @type {?} */
|
|
3351
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3352
|
+
/** @type {?} */
|
|
3353
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3354
|
+
/** @type {?} */
|
|
3355
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3356
|
+
/** @type {?} */
|
|
3357
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3358
|
+
/** @type {?} */
|
|
3359
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3360
|
+
/** @type {?} */
|
|
3361
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3362
|
+
/** @type {?} */
|
|
3363
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3364
|
+
/** @type {?} */
|
|
3365
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3366
|
+
/** @type {?} */
|
|
3367
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3368
|
+
/** @type {?} */
|
|
3369
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3370
|
+
/** @type {?} */
|
|
3371
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3372
|
+
/** @type {?} */
|
|
3373
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
2787
3374
|
}
|
|
2788
3375
|
|
|
2789
3376
|
/**
|
|
2790
3377
|
* @fileoverview added by tsickle
|
|
2791
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3378
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2792
3379
|
*/
|
|
2793
3380
|
class GridsterSwap {
|
|
2794
3381
|
/**
|
|
@@ -2899,11 +3486,28 @@ GridsterSwap.decorators = [
|
|
|
2899
3486
|
/** @nocollapse */
|
|
2900
3487
|
GridsterSwap.ctorParameters = () => [
|
|
2901
3488
|
{ type: GridsterItemComponentInterface }
|
|
2902
|
-
];
|
|
3489
|
+
];
|
|
3490
|
+
if (false) {
|
|
3491
|
+
/**
|
|
3492
|
+
* @type {?}
|
|
3493
|
+
* @private
|
|
3494
|
+
*/
|
|
3495
|
+
GridsterSwap.prototype.swapedItem;
|
|
3496
|
+
/**
|
|
3497
|
+
* @type {?}
|
|
3498
|
+
* @private
|
|
3499
|
+
*/
|
|
3500
|
+
GridsterSwap.prototype.gridsterItem;
|
|
3501
|
+
/**
|
|
3502
|
+
* @type {?}
|
|
3503
|
+
* @private
|
|
3504
|
+
*/
|
|
3505
|
+
GridsterSwap.prototype.gridster;
|
|
3506
|
+
}
|
|
2903
3507
|
|
|
2904
3508
|
/**
|
|
2905
3509
|
* @fileoverview added by tsickle
|
|
2906
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3510
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2907
3511
|
*/
|
|
2908
3512
|
/** @type {?} */
|
|
2909
3513
|
let scrollSensitivity;
|
|
@@ -3098,7 +3702,7 @@ function cancelN() {
|
|
|
3098
3702
|
|
|
3099
3703
|
/**
|
|
3100
3704
|
* @fileoverview added by tsickle
|
|
3101
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3705
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3102
3706
|
*/
|
|
3103
3707
|
class GridsterPush {
|
|
3104
3708
|
/**
|
|
@@ -3509,11 +4113,61 @@ GridsterPush.decorators = [
|
|
|
3509
4113
|
/** @nocollapse */
|
|
3510
4114
|
GridsterPush.ctorParameters = () => [
|
|
3511
4115
|
{ type: GridsterItemComponentInterface }
|
|
3512
|
-
];
|
|
4116
|
+
];
|
|
4117
|
+
if (false) {
|
|
4118
|
+
/** @type {?} */
|
|
4119
|
+
GridsterPush.prototype.fromSouth;
|
|
4120
|
+
/** @type {?} */
|
|
4121
|
+
GridsterPush.prototype.fromNorth;
|
|
4122
|
+
/** @type {?} */
|
|
4123
|
+
GridsterPush.prototype.fromEast;
|
|
4124
|
+
/** @type {?} */
|
|
4125
|
+
GridsterPush.prototype.fromWest;
|
|
4126
|
+
/**
|
|
4127
|
+
* @type {?}
|
|
4128
|
+
* @private
|
|
4129
|
+
*/
|
|
4130
|
+
GridsterPush.prototype.pushedItems;
|
|
4131
|
+
/**
|
|
4132
|
+
* @type {?}
|
|
4133
|
+
* @private
|
|
4134
|
+
*/
|
|
4135
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4136
|
+
/**
|
|
4137
|
+
* @type {?}
|
|
4138
|
+
* @private
|
|
4139
|
+
*/
|
|
4140
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4141
|
+
/**
|
|
4142
|
+
* @type {?}
|
|
4143
|
+
* @private
|
|
4144
|
+
*/
|
|
4145
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4146
|
+
/**
|
|
4147
|
+
* @type {?}
|
|
4148
|
+
* @private
|
|
4149
|
+
*/
|
|
4150
|
+
GridsterPush.prototype.gridsterItem;
|
|
4151
|
+
/**
|
|
4152
|
+
* @type {?}
|
|
4153
|
+
* @private
|
|
4154
|
+
*/
|
|
4155
|
+
GridsterPush.prototype.gridster;
|
|
4156
|
+
/**
|
|
4157
|
+
* @type {?}
|
|
4158
|
+
* @private
|
|
4159
|
+
*/
|
|
4160
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4161
|
+
/**
|
|
4162
|
+
* @type {?}
|
|
4163
|
+
* @private
|
|
4164
|
+
*/
|
|
4165
|
+
GridsterPush.prototype.tryPattern;
|
|
4166
|
+
}
|
|
3513
4167
|
|
|
3514
4168
|
/**
|
|
3515
4169
|
* @fileoverview added by tsickle
|
|
3516
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4170
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3517
4171
|
*/
|
|
3518
4172
|
class GridsterDraggable {
|
|
3519
4173
|
/**
|
|
@@ -3791,6 +4445,10 @@ class GridsterDraggable {
|
|
|
3791
4445
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
3792
4446
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
3793
4447
|
}
|
|
4448
|
+
else {
|
|
4449
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
4450
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
4451
|
+
}
|
|
3794
4452
|
return this.gridsterItem.$item;
|
|
3795
4453
|
}
|
|
3796
4454
|
/**
|
|
@@ -3935,11 +4593,84 @@ GridsterDraggable.ctorParameters = () => [
|
|
|
3935
4593
|
{ type: GridsterItemComponentInterface },
|
|
3936
4594
|
{ type: GridsterComponentInterface },
|
|
3937
4595
|
{ type: NgZone }
|
|
3938
|
-
];
|
|
4596
|
+
];
|
|
4597
|
+
if (false) {
|
|
4598
|
+
/** @type {?} */
|
|
4599
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
4600
|
+
/** @type {?} */
|
|
4601
|
+
GridsterDraggable.prototype.gridster;
|
|
4602
|
+
/** @type {?} */
|
|
4603
|
+
GridsterDraggable.prototype.lastMouse;
|
|
4604
|
+
/** @type {?} */
|
|
4605
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
4606
|
+
/** @type {?} */
|
|
4607
|
+
GridsterDraggable.prototype.offsetTop;
|
|
4608
|
+
/** @type {?} */
|
|
4609
|
+
GridsterDraggable.prototype.margin;
|
|
4610
|
+
/** @type {?} */
|
|
4611
|
+
GridsterDraggable.prototype.diffTop;
|
|
4612
|
+
/** @type {?} */
|
|
4613
|
+
GridsterDraggable.prototype.diffLeft;
|
|
4614
|
+
/** @type {?} */
|
|
4615
|
+
GridsterDraggable.prototype.top;
|
|
4616
|
+
/** @type {?} */
|
|
4617
|
+
GridsterDraggable.prototype.left;
|
|
4618
|
+
/** @type {?} */
|
|
4619
|
+
GridsterDraggable.prototype.height;
|
|
4620
|
+
/** @type {?} */
|
|
4621
|
+
GridsterDraggable.prototype.width;
|
|
4622
|
+
/** @type {?} */
|
|
4623
|
+
GridsterDraggable.prototype.positionX;
|
|
4624
|
+
/** @type {?} */
|
|
4625
|
+
GridsterDraggable.prototype.positionY;
|
|
4626
|
+
/** @type {?} */
|
|
4627
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
4628
|
+
/** @type {?} */
|
|
4629
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
4630
|
+
/** @type {?} */
|
|
4631
|
+
GridsterDraggable.prototype.enabled;
|
|
4632
|
+
/** @type {?} */
|
|
4633
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
4634
|
+
/** @type {?} */
|
|
4635
|
+
GridsterDraggable.prototype.dragFunction;
|
|
4636
|
+
/** @type {?} */
|
|
4637
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
4638
|
+
/** @type {?} */
|
|
4639
|
+
GridsterDraggable.prototype.mousemove;
|
|
4640
|
+
/** @type {?} */
|
|
4641
|
+
GridsterDraggable.prototype.mouseup;
|
|
4642
|
+
/** @type {?} */
|
|
4643
|
+
GridsterDraggable.prototype.mouseleave;
|
|
4644
|
+
/** @type {?} */
|
|
4645
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
4646
|
+
/** @type {?} */
|
|
4647
|
+
GridsterDraggable.prototype.touchmove;
|
|
4648
|
+
/** @type {?} */
|
|
4649
|
+
GridsterDraggable.prototype.touchend;
|
|
4650
|
+
/** @type {?} */
|
|
4651
|
+
GridsterDraggable.prototype.touchcancel;
|
|
4652
|
+
/** @type {?} */
|
|
4653
|
+
GridsterDraggable.prototype.mousedown;
|
|
4654
|
+
/** @type {?} */
|
|
4655
|
+
GridsterDraggable.prototype.touchstart;
|
|
4656
|
+
/** @type {?} */
|
|
4657
|
+
GridsterDraggable.prototype.push;
|
|
4658
|
+
/** @type {?} */
|
|
4659
|
+
GridsterDraggable.prototype.swap;
|
|
4660
|
+
/** @type {?} */
|
|
4661
|
+
GridsterDraggable.prototype.path;
|
|
4662
|
+
/** @type {?} */
|
|
4663
|
+
GridsterDraggable.prototype.collision;
|
|
4664
|
+
/**
|
|
4665
|
+
* @type {?}
|
|
4666
|
+
* @private
|
|
4667
|
+
*/
|
|
4668
|
+
GridsterDraggable.prototype.zone;
|
|
4669
|
+
}
|
|
3939
4670
|
|
|
3940
4671
|
/**
|
|
3941
4672
|
* @fileoverview added by tsickle
|
|
3942
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4673
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3943
4674
|
*/
|
|
3944
4675
|
class GridsterPushResize {
|
|
3945
4676
|
/**
|
|
@@ -4255,11 +4986,46 @@ GridsterPushResize.decorators = [
|
|
|
4255
4986
|
/** @nocollapse */
|
|
4256
4987
|
GridsterPushResize.ctorParameters = () => [
|
|
4257
4988
|
{ type: GridsterItemComponentInterface }
|
|
4258
|
-
];
|
|
4989
|
+
];
|
|
4990
|
+
if (false) {
|
|
4991
|
+
/** @type {?} */
|
|
4992
|
+
GridsterPushResize.prototype.fromSouth;
|
|
4993
|
+
/** @type {?} */
|
|
4994
|
+
GridsterPushResize.prototype.fromNorth;
|
|
4995
|
+
/** @type {?} */
|
|
4996
|
+
GridsterPushResize.prototype.fromEast;
|
|
4997
|
+
/** @type {?} */
|
|
4998
|
+
GridsterPushResize.prototype.fromWest;
|
|
4999
|
+
/**
|
|
5000
|
+
* @type {?}
|
|
5001
|
+
* @private
|
|
5002
|
+
*/
|
|
5003
|
+
GridsterPushResize.prototype.pushedItems;
|
|
5004
|
+
/**
|
|
5005
|
+
* @type {?}
|
|
5006
|
+
* @private
|
|
5007
|
+
*/
|
|
5008
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
5009
|
+
/**
|
|
5010
|
+
* @type {?}
|
|
5011
|
+
* @private
|
|
5012
|
+
*/
|
|
5013
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
5014
|
+
/**
|
|
5015
|
+
* @type {?}
|
|
5016
|
+
* @private
|
|
5017
|
+
*/
|
|
5018
|
+
GridsterPushResize.prototype.gridster;
|
|
5019
|
+
/**
|
|
5020
|
+
* @type {?}
|
|
5021
|
+
* @private
|
|
5022
|
+
*/
|
|
5023
|
+
GridsterPushResize.prototype.tryPattern;
|
|
5024
|
+
}
|
|
4259
5025
|
|
|
4260
5026
|
/**
|
|
4261
5027
|
* @fileoverview added by tsickle
|
|
4262
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5028
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4263
5029
|
*/
|
|
4264
5030
|
class GridsterResizable {
|
|
4265
5031
|
/**
|
|
@@ -4725,11 +5491,86 @@ GridsterResizable.ctorParameters = () => [
|
|
|
4725
5491
|
{ type: GridsterItemComponentInterface },
|
|
4726
5492
|
{ type: GridsterComponentInterface },
|
|
4727
5493
|
{ type: NgZone }
|
|
4728
|
-
];
|
|
5494
|
+
];
|
|
5495
|
+
if (false) {
|
|
5496
|
+
/** @type {?} */
|
|
5497
|
+
GridsterResizable.prototype.gridsterItem;
|
|
5498
|
+
/** @type {?} */
|
|
5499
|
+
GridsterResizable.prototype.gridster;
|
|
5500
|
+
/** @type {?} */
|
|
5501
|
+
GridsterResizable.prototype.lastMouse;
|
|
5502
|
+
/** @type {?} */
|
|
5503
|
+
GridsterResizable.prototype.itemBackup;
|
|
5504
|
+
/** @type {?} */
|
|
5505
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
5506
|
+
/** @type {?} */
|
|
5507
|
+
GridsterResizable.prototype.directionFunction;
|
|
5508
|
+
/** @type {?} */
|
|
5509
|
+
GridsterResizable.prototype.dragFunction;
|
|
5510
|
+
/** @type {?} */
|
|
5511
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
5512
|
+
/** @type {?} */
|
|
5513
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
5514
|
+
/** @type {?} */
|
|
5515
|
+
GridsterResizable.prototype.mousemove;
|
|
5516
|
+
/** @type {?} */
|
|
5517
|
+
GridsterResizable.prototype.mouseup;
|
|
5518
|
+
/** @type {?} */
|
|
5519
|
+
GridsterResizable.prototype.mouseleave;
|
|
5520
|
+
/** @type {?} */
|
|
5521
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
5522
|
+
/** @type {?} */
|
|
5523
|
+
GridsterResizable.prototype.touchmove;
|
|
5524
|
+
/** @type {?} */
|
|
5525
|
+
GridsterResizable.prototype.touchend;
|
|
5526
|
+
/** @type {?} */
|
|
5527
|
+
GridsterResizable.prototype.touchcancel;
|
|
5528
|
+
/** @type {?} */
|
|
5529
|
+
GridsterResizable.prototype.push;
|
|
5530
|
+
/** @type {?} */
|
|
5531
|
+
GridsterResizable.prototype.pushResize;
|
|
5532
|
+
/** @type {?} */
|
|
5533
|
+
GridsterResizable.prototype.minHeight;
|
|
5534
|
+
/** @type {?} */
|
|
5535
|
+
GridsterResizable.prototype.minWidth;
|
|
5536
|
+
/** @type {?} */
|
|
5537
|
+
GridsterResizable.prototype.offsetTop;
|
|
5538
|
+
/** @type {?} */
|
|
5539
|
+
GridsterResizable.prototype.offsetLeft;
|
|
5540
|
+
/** @type {?} */
|
|
5541
|
+
GridsterResizable.prototype.diffTop;
|
|
5542
|
+
/** @type {?} */
|
|
5543
|
+
GridsterResizable.prototype.diffLeft;
|
|
5544
|
+
/** @type {?} */
|
|
5545
|
+
GridsterResizable.prototype.diffRight;
|
|
5546
|
+
/** @type {?} */
|
|
5547
|
+
GridsterResizable.prototype.diffBottom;
|
|
5548
|
+
/** @type {?} */
|
|
5549
|
+
GridsterResizable.prototype.margin;
|
|
5550
|
+
/** @type {?} */
|
|
5551
|
+
GridsterResizable.prototype.top;
|
|
5552
|
+
/** @type {?} */
|
|
5553
|
+
GridsterResizable.prototype.left;
|
|
5554
|
+
/** @type {?} */
|
|
5555
|
+
GridsterResizable.prototype.bottom;
|
|
5556
|
+
/** @type {?} */
|
|
5557
|
+
GridsterResizable.prototype.right;
|
|
5558
|
+
/** @type {?} */
|
|
5559
|
+
GridsterResizable.prototype.width;
|
|
5560
|
+
/** @type {?} */
|
|
5561
|
+
GridsterResizable.prototype.height;
|
|
5562
|
+
/** @type {?} */
|
|
5563
|
+
GridsterResizable.prototype.newPosition;
|
|
5564
|
+
/**
|
|
5565
|
+
* @type {?}
|
|
5566
|
+
* @private
|
|
5567
|
+
*/
|
|
5568
|
+
GridsterResizable.prototype.zone;
|
|
5569
|
+
}
|
|
4729
5570
|
|
|
4730
5571
|
/**
|
|
4731
5572
|
* @fileoverview added by tsickle
|
|
4732
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5573
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4733
5574
|
*/
|
|
4734
5575
|
class GridsterItemComponent {
|
|
4735
5576
|
/**
|
|
@@ -4900,11 +5741,44 @@ GridsterItemComponent.ctorParameters = () => [
|
|
|
4900
5741
|
];
|
|
4901
5742
|
GridsterItemComponent.propDecorators = {
|
|
4902
5743
|
item: [{ type: Input }]
|
|
4903
|
-
};
|
|
5744
|
+
};
|
|
5745
|
+
if (false) {
|
|
5746
|
+
/** @type {?} */
|
|
5747
|
+
GridsterItemComponent.prototype.item;
|
|
5748
|
+
/** @type {?} */
|
|
5749
|
+
GridsterItemComponent.prototype.$item;
|
|
5750
|
+
/** @type {?} */
|
|
5751
|
+
GridsterItemComponent.prototype.el;
|
|
5752
|
+
/** @type {?} */
|
|
5753
|
+
GridsterItemComponent.prototype.gridster;
|
|
5754
|
+
/** @type {?} */
|
|
5755
|
+
GridsterItemComponent.prototype.top;
|
|
5756
|
+
/** @type {?} */
|
|
5757
|
+
GridsterItemComponent.prototype.left;
|
|
5758
|
+
/** @type {?} */
|
|
5759
|
+
GridsterItemComponent.prototype.width;
|
|
5760
|
+
/** @type {?} */
|
|
5761
|
+
GridsterItemComponent.prototype.height;
|
|
5762
|
+
/** @type {?} */
|
|
5763
|
+
GridsterItemComponent.prototype.drag;
|
|
5764
|
+
/** @type {?} */
|
|
5765
|
+
GridsterItemComponent.prototype.resize;
|
|
5766
|
+
/** @type {?} */
|
|
5767
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
5768
|
+
/** @type {?} */
|
|
5769
|
+
GridsterItemComponent.prototype.init;
|
|
5770
|
+
/** @type {?} */
|
|
5771
|
+
GridsterItemComponent.prototype.renderer;
|
|
5772
|
+
/**
|
|
5773
|
+
* @type {?}
|
|
5774
|
+
* @private
|
|
5775
|
+
*/
|
|
5776
|
+
GridsterItemComponent.prototype.zone;
|
|
5777
|
+
}
|
|
4904
5778
|
|
|
4905
5779
|
/**
|
|
4906
5780
|
* @fileoverview added by tsickle
|
|
4907
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5781
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4908
5782
|
*/
|
|
4909
5783
|
class GridsterPreviewComponent {
|
|
4910
5784
|
/**
|
|
@@ -4956,11 +5830,19 @@ GridsterPreviewComponent.ctorParameters = () => [
|
|
|
4956
5830
|
{ type: ElementRef },
|
|
4957
5831
|
{ type: GridsterComponent, decorators: [{ type: Host }] },
|
|
4958
5832
|
{ type: Renderer2 }
|
|
4959
|
-
];
|
|
5833
|
+
];
|
|
5834
|
+
if (false) {
|
|
5835
|
+
/** @type {?} */
|
|
5836
|
+
GridsterPreviewComponent.prototype.el;
|
|
5837
|
+
/** @type {?} */
|
|
5838
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
5839
|
+
/** @type {?} */
|
|
5840
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
5841
|
+
}
|
|
4960
5842
|
|
|
4961
5843
|
/**
|
|
4962
5844
|
* @fileoverview added by tsickle
|
|
4963
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5845
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4964
5846
|
*/
|
|
4965
5847
|
class GridsterModule {
|
|
4966
5848
|
}
|
|
@@ -4982,7 +5864,7 @@ GridsterModule.decorators = [
|
|
|
4982
5864
|
|
|
4983
5865
|
/**
|
|
4984
5866
|
* @fileoverview added by tsickle
|
|
4985
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5867
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4986
5868
|
*/
|
|
4987
5869
|
/** @type {?} */
|
|
4988
5870
|
const DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
@@ -5020,7 +5902,7 @@ DashboardFrameworkModule.decorators = [
|
|
|
5020
5902
|
|
|
5021
5903
|
/**
|
|
5022
5904
|
* @fileoverview added by tsickle
|
|
5023
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5905
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5024
5906
|
*/
|
|
5025
5907
|
/**
|
|
5026
5908
|
* @abstract
|
|
@@ -5062,11 +5944,35 @@ RaBaseDashboardTemplate.propDecorators = {
|
|
|
5062
5944
|
dashboardId: [{ type: Input, args: ['dashboard-id',] }],
|
|
5063
5945
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
5064
5946
|
initialize: [{ type: Input }]
|
|
5065
|
-
};
|
|
5947
|
+
};
|
|
5948
|
+
if (false) {
|
|
5949
|
+
/** @type {?} */
|
|
5950
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
5951
|
+
/** @type {?} */
|
|
5952
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
5953
|
+
/** @type {?} */
|
|
5954
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
5955
|
+
/** @type {?} */
|
|
5956
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
5957
|
+
/** @type {?} */
|
|
5958
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
5959
|
+
/** @type {?} */
|
|
5960
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
5961
|
+
/**
|
|
5962
|
+
* @type {?}
|
|
5963
|
+
* @private
|
|
5964
|
+
*/
|
|
5965
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
5966
|
+
/**
|
|
5967
|
+
* @abstract
|
|
5968
|
+
* @return {?}
|
|
5969
|
+
*/
|
|
5970
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
5971
|
+
}
|
|
5066
5972
|
|
|
5067
5973
|
/**
|
|
5068
5974
|
* @fileoverview added by tsickle
|
|
5069
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5975
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5070
5976
|
*/
|
|
5071
5977
|
/**
|
|
5072
5978
|
* @abstract
|
|
@@ -5084,7 +5990,29 @@ class RaBaseDashboardFilter {
|
|
|
5084
5990
|
}
|
|
5085
5991
|
RaBaseDashboardFilter.propDecorators = {
|
|
5086
5992
|
getAllFilterConfig: [{ type: Input }]
|
|
5087
|
-
};
|
|
5993
|
+
};
|
|
5994
|
+
if (false) {
|
|
5995
|
+
/**
|
|
5996
|
+
* @type {?}
|
|
5997
|
+
* @private
|
|
5998
|
+
*/
|
|
5999
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
6000
|
+
/**
|
|
6001
|
+
* @abstract
|
|
6002
|
+
* @return {?}
|
|
6003
|
+
*/
|
|
6004
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* @fileoverview added by tsickle
|
|
6009
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6010
|
+
*/
|
|
6011
|
+
|
|
6012
|
+
/**
|
|
6013
|
+
* @fileoverview added by tsickle
|
|
6014
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6015
|
+
*/
|
|
5088
6016
|
|
|
5089
6017
|
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 };
|
|
5090
6018
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|