@schneideress/dashboardframework 0.0.50 → 0.0.51
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 +1116 -61
- 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 +2 -2
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +29 -8
- 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 +9 -9
- 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 +2 -2
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +49 -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 +9 -9
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +984 -60
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +1007 -62
- 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,22 +308,207 @@ 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: 10,
|
|
308
507
|
outerMargin: true,
|
|
309
|
-
outerMarginTop:
|
|
310
|
-
outerMarginRight:
|
|
311
|
-
outerMarginBottom:
|
|
312
|
-
outerMarginLeft:
|
|
508
|
+
outerMarginTop: null,
|
|
509
|
+
outerMarginRight: null,
|
|
510
|
+
outerMarginBottom: null,
|
|
511
|
+
outerMarginLeft: null,
|
|
313
512
|
useTransformPositioning: true,
|
|
314
513
|
mobileBreakpoint: 640,
|
|
315
514
|
minCols: 100,
|
|
@@ -320,8 +519,8 @@ const GridsterConfigDefaultSettings = {
|
|
|
320
519
|
minItemCols: 1,
|
|
321
520
|
maxItemRows: 150,
|
|
322
521
|
minItemRows: 1,
|
|
323
|
-
maxItemArea:
|
|
324
|
-
minItemArea:
|
|
522
|
+
maxItemArea: 2500,
|
|
523
|
+
minItemArea: 1,
|
|
325
524
|
defaultItemCols: 5,
|
|
326
525
|
defaultItemRows: 5,
|
|
327
526
|
fixedColWidth: 5,
|
|
@@ -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
|
/**
|
|
@@ -746,7 +945,7 @@ RADashboardArea.decorators = [
|
|
|
746
945
|
{ type: Component, args: [{
|
|
747
946
|
selector: 'ra-dashboard-area',
|
|
748
947
|
template: "<div #gridWrapper class=\"wrap gridster\" [style.height.px]=\"gridheight\">\r\n<!-- <div #gridWrapper class=\"wrap gridster\"> -->\r\n <gridster [options]=\"options\" style=\"height:100%;\">\r\n <gridster-item [item]=\"item\" *ngFor=\"let item of widgetList\">\r\n <ra-widget-container [app-config]=\"appConfig\" [event-bus]=\"raDashboardEventBus\" (widgetDeleted)=\"deleteWidget($event)\" [data]=\"item\"\r\n [global-filter]=\"globalFilter\" [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",
|
|
749
|
-
styles: ["gridster{width:inherit;resize:height;display:flex
|
|
948
|
+
styles: ["gridster{width:inherit;resize:height;display:flex}gridster-item{background:#fff!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}"]
|
|
750
949
|
}] }
|
|
751
950
|
];
|
|
752
951
|
/** @nocollapse */
|
|
@@ -765,11 +964,83 @@ RADashboardArea.propDecorators = {
|
|
|
765
964
|
widgetHeight: [{ type: Input, args: ['widget-height',] }],
|
|
766
965
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
767
966
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
768
|
-
};
|
|
967
|
+
};
|
|
968
|
+
if (false) {
|
|
969
|
+
/** @type {?} */
|
|
970
|
+
RADashboardArea.prototype.widgetList;
|
|
971
|
+
/** @type {?} */
|
|
972
|
+
RADashboardArea.prototype.options;
|
|
973
|
+
/** @type {?} */
|
|
974
|
+
RADashboardArea.prototype.gridheight;
|
|
975
|
+
/**
|
|
976
|
+
* @type {?}
|
|
977
|
+
* @private
|
|
978
|
+
*/
|
|
979
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
980
|
+
/**
|
|
981
|
+
* @type {?}
|
|
982
|
+
* @private
|
|
983
|
+
*/
|
|
984
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
985
|
+
/**
|
|
986
|
+
* @type {?}
|
|
987
|
+
* @private
|
|
988
|
+
*/
|
|
989
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
990
|
+
/**
|
|
991
|
+
* @type {?}
|
|
992
|
+
* @private
|
|
993
|
+
*/
|
|
994
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
995
|
+
/**
|
|
996
|
+
* @type {?}
|
|
997
|
+
* @private
|
|
998
|
+
*/
|
|
999
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
1000
|
+
/** @type {?} */
|
|
1001
|
+
RADashboardArea.prototype.userDashboardId;
|
|
1002
|
+
/** @type {?} */
|
|
1003
|
+
RADashboardArea.prototype.areaKey;
|
|
1004
|
+
/** @type {?} */
|
|
1005
|
+
RADashboardArea.prototype.globalFilter;
|
|
1006
|
+
/** @type {?} */
|
|
1007
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1008
|
+
/** @type {?} */
|
|
1009
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1010
|
+
/** @type {?} */
|
|
1011
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1012
|
+
/** @type {?} */
|
|
1013
|
+
RADashboardArea.prototype.appConfig;
|
|
1014
|
+
/**
|
|
1015
|
+
* @type {?}
|
|
1016
|
+
* @private
|
|
1017
|
+
*/
|
|
1018
|
+
RADashboardArea.prototype.dashboardService;
|
|
1019
|
+
/**
|
|
1020
|
+
* @type {?}
|
|
1021
|
+
* @private
|
|
1022
|
+
*/
|
|
1023
|
+
RADashboardArea.prototype.ngZone;
|
|
1024
|
+
/**
|
|
1025
|
+
* @type {?}
|
|
1026
|
+
* @private
|
|
1027
|
+
*/
|
|
1028
|
+
RADashboardArea.prototype.ngxService;
|
|
1029
|
+
/**
|
|
1030
|
+
* @type {?}
|
|
1031
|
+
* @private
|
|
1032
|
+
*/
|
|
1033
|
+
RADashboardArea.prototype.translateService;
|
|
1034
|
+
/**
|
|
1035
|
+
* @type {?}
|
|
1036
|
+
* @private
|
|
1037
|
+
*/
|
|
1038
|
+
RADashboardArea.prototype.notifier;
|
|
1039
|
+
}
|
|
769
1040
|
|
|
770
1041
|
/**
|
|
771
1042
|
* @fileoverview added by tsickle
|
|
772
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1043
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
773
1044
|
*/
|
|
774
1045
|
class RAWidgetContainer {
|
|
775
1046
|
/**
|
|
@@ -789,6 +1060,7 @@ class RAWidgetContainer {
|
|
|
789
1060
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
790
1061
|
this.lockClass = "unlocked";
|
|
791
1062
|
this.lockStatus = "unlock";
|
|
1063
|
+
this.isDownloadIconVisible = false;
|
|
792
1064
|
this.widgetDeleted = new EventEmitter();
|
|
793
1065
|
}
|
|
794
1066
|
/**
|
|
@@ -902,7 +1174,7 @@ class RAWidgetContainer {
|
|
|
902
1174
|
* @return {?}
|
|
903
1175
|
*/
|
|
904
1176
|
loadWidget(widgetInfo) {
|
|
905
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1177
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
906
1178
|
/** @type {?} */
|
|
907
1179
|
let widgetConfigFilter = (/** @type {?} */ ({
|
|
908
1180
|
config: widgetInfo.widgetConfigInfo.config,
|
|
@@ -919,7 +1191,7 @@ class RAWidgetContainer {
|
|
|
919
1191
|
document.body.addEventListener('widgetinitiated' + widgetInfo.widgetInstanceId, (/**
|
|
920
1192
|
* @return {?}
|
|
921
1193
|
*/
|
|
922
|
-
() => __awaiter(this, void 0, void 0, function* () {
|
|
1194
|
+
() => __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
923
1195
|
console.log('widget initiated' + widgetInfo.widgetInstanceId);
|
|
924
1196
|
widgetContainer.isWidgetLoaded = true;
|
|
925
1197
|
widgetConfigFilter.appConfig = this.appConfig;
|
|
@@ -927,6 +1199,7 @@ class RAWidgetContainer {
|
|
|
927
1199
|
widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
|
|
928
1200
|
widgetContainer.widgetElement.loadContent(widgetConfigFilter);
|
|
929
1201
|
yield widgetContainer.setLock(widgetConfigFilter.config);
|
|
1202
|
+
yield widgetContainer.setDownloadIcon();
|
|
930
1203
|
})));
|
|
931
1204
|
this.ctlWidget.nativeElement.appendChild(this.widgetElement);
|
|
932
1205
|
}));
|
|
@@ -938,7 +1211,7 @@ class RAWidgetContainer {
|
|
|
938
1211
|
* @return {?}
|
|
939
1212
|
*/
|
|
940
1213
|
refreshWidget(widgetInfo) {
|
|
941
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1214
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
942
1215
|
/** @type {?} */
|
|
943
1216
|
let widgetContainerContext = this;
|
|
944
1217
|
/** @type {?} */
|
|
@@ -951,6 +1224,7 @@ class RAWidgetContainer {
|
|
|
951
1224
|
if (widgetContainerContext.isWidgetLoaded) {
|
|
952
1225
|
widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
|
|
953
1226
|
yield this.setLock(widgetConfigFilter.config);
|
|
1227
|
+
yield this.setDownloadIcon();
|
|
954
1228
|
}
|
|
955
1229
|
});
|
|
956
1230
|
}
|
|
@@ -960,7 +1234,7 @@ class RAWidgetContainer {
|
|
|
960
1234
|
* @return {?}
|
|
961
1235
|
*/
|
|
962
1236
|
setLock(config) {
|
|
963
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1237
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
964
1238
|
this.lockStatus = yield this.widgetElement.loadLockStatus(config);
|
|
965
1239
|
if (this.lockStatus) {
|
|
966
1240
|
switch (this.lockStatus) {
|
|
@@ -984,12 +1258,28 @@ class RAWidgetContainer {
|
|
|
984
1258
|
}
|
|
985
1259
|
});
|
|
986
1260
|
}
|
|
1261
|
+
/**
|
|
1262
|
+
* @private
|
|
1263
|
+
* @return {?}
|
|
1264
|
+
*/
|
|
1265
|
+
setDownloadIcon() {
|
|
1266
|
+
return __awaiter(this, void 0, void 0, /** @this {!RAWidgetContainer} */ function* () {
|
|
1267
|
+
this.isDownloadIconVisible = yield this.widgetElement.isDownloadVisible();
|
|
1268
|
+
this.isDownloadIconVisible = false; //temp. commented
|
|
1269
|
+
});
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* @return {?}
|
|
1273
|
+
*/
|
|
1274
|
+
downloadClicked() {
|
|
1275
|
+
this.widgetElement.isDownloadVisible();
|
|
1276
|
+
}
|
|
987
1277
|
}
|
|
988
1278
|
RAWidgetContainer.decorators = [
|
|
989
1279
|
{ type: Component, args: [{
|
|
990
1280
|
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>",
|
|
992
|
-
styles: [".wcheader{width:100%;height:
|
|
1281
|
+
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>",
|
|
1282
|
+
styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px;position:absolute;left:0;top:0;padding:10px 0 0 1%}.wc-wrapper{height:100%;position:relative;margin:auto 10px}.wc-mover{cursor:all-scroll}.wcBody{width:100%;position:absolute;top:26px;left:0;bottom:0}.wcBodyBorder{border:1px dashed #e6e2e2}.sp_icon{float:left;margin:0 15% 0 0}.dropbtn{cursor:pointer;color:#42b4e6}.dropdown{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;position:relative}.dropdown hr{margin:0!important}.dropdown-content{display:none;position:absolute;right:0;background-color:#f9f9f9;min-width:100px;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index: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
1283
|
}] }
|
|
994
1284
|
];
|
|
995
1285
|
/** @nocollapse */
|
|
@@ -1010,11 +1300,84 @@ RAWidgetContainer.propDecorators = {
|
|
|
1010
1300
|
width: [{ type: Input, args: ['widget-width',] }],
|
|
1011
1301
|
height: [{ type: Input, args: ['widget-height',] }],
|
|
1012
1302
|
widgetDeleted: [{ type: Output }]
|
|
1013
|
-
};
|
|
1303
|
+
};
|
|
1304
|
+
if (false) {
|
|
1305
|
+
/**
|
|
1306
|
+
* @type {?}
|
|
1307
|
+
* @private
|
|
1308
|
+
*/
|
|
1309
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1310
|
+
/**
|
|
1311
|
+
* @type {?}
|
|
1312
|
+
* @private
|
|
1313
|
+
*/
|
|
1314
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1315
|
+
/**
|
|
1316
|
+
* @type {?}
|
|
1317
|
+
* @private
|
|
1318
|
+
*/
|
|
1319
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1320
|
+
/**
|
|
1321
|
+
* @type {?}
|
|
1322
|
+
* @private
|
|
1323
|
+
*/
|
|
1324
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1325
|
+
/** @type {?} */
|
|
1326
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1327
|
+
/** @type {?} */
|
|
1328
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1329
|
+
/** @type {?} */
|
|
1330
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1331
|
+
/** @type {?} */
|
|
1332
|
+
RAWidgetContainer.prototype.isDownloadIconVisible;
|
|
1333
|
+
/** @type {?} */
|
|
1334
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1335
|
+
/** @type {?} */
|
|
1336
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1337
|
+
/** @type {?} */
|
|
1338
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1339
|
+
/** @type {?} */
|
|
1340
|
+
RAWidgetContainer.prototype.data;
|
|
1341
|
+
/** @type {?} */
|
|
1342
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1343
|
+
/** @type {?} */
|
|
1344
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1345
|
+
/** @type {?} */
|
|
1346
|
+
RAWidgetContainer.prototype.width;
|
|
1347
|
+
/** @type {?} */
|
|
1348
|
+
RAWidgetContainer.prototype.height;
|
|
1349
|
+
/** @type {?} */
|
|
1350
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1351
|
+
/**
|
|
1352
|
+
* @type {?}
|
|
1353
|
+
* @private
|
|
1354
|
+
*/
|
|
1355
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1356
|
+
/**
|
|
1357
|
+
* @type {?}
|
|
1358
|
+
* @private
|
|
1359
|
+
*/
|
|
1360
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1361
|
+
/**
|
|
1362
|
+
* @type {?}
|
|
1363
|
+
* @private
|
|
1364
|
+
*/
|
|
1365
|
+
RAWidgetContainer.prototype.translateService;
|
|
1366
|
+
/**
|
|
1367
|
+
* @type {?}
|
|
1368
|
+
* @private
|
|
1369
|
+
*/
|
|
1370
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1371
|
+
/**
|
|
1372
|
+
* @type {?}
|
|
1373
|
+
* @private
|
|
1374
|
+
*/
|
|
1375
|
+
RAWidgetContainer.prototype.notifier;
|
|
1376
|
+
}
|
|
1014
1377
|
|
|
1015
1378
|
/**
|
|
1016
1379
|
* @fileoverview added by tsickle
|
|
1017
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1380
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1018
1381
|
*/
|
|
1019
1382
|
/** @type {?} */
|
|
1020
1383
|
const customNotifierOptions = {
|
|
@@ -1060,7 +1423,7 @@ const customNotifierOptions = {
|
|
|
1060
1423
|
|
|
1061
1424
|
/**
|
|
1062
1425
|
* @fileoverview added by tsickle
|
|
1063
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1426
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1064
1427
|
*/
|
|
1065
1428
|
/** @type {?} */
|
|
1066
1429
|
const GridsterConfigService = {
|
|
@@ -1238,7 +1601,7 @@ const GridsterConfigService = {
|
|
|
1238
1601
|
|
|
1239
1602
|
/**
|
|
1240
1603
|
* @fileoverview added by tsickle
|
|
1241
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1604
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1242
1605
|
*/
|
|
1243
1606
|
class GridsterUtils {
|
|
1244
1607
|
/**
|
|
@@ -1374,17 +1737,91 @@ GridsterUtils.decorators = [
|
|
|
1374
1737
|
|
|
1375
1738
|
/**
|
|
1376
1739
|
* @fileoverview added by tsickle
|
|
1377
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1740
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1378
1741
|
*/
|
|
1379
1742
|
/**
|
|
1380
1743
|
* @abstract
|
|
1381
1744
|
*/
|
|
1382
1745
|
class GridsterComponentInterface {
|
|
1746
|
+
}
|
|
1747
|
+
if (false) {
|
|
1748
|
+
/** @type {?} */
|
|
1749
|
+
GridsterComponentInterface.prototype.$options;
|
|
1750
|
+
/** @type {?} */
|
|
1751
|
+
GridsterComponentInterface.prototype.grid;
|
|
1752
|
+
/** @type {?} */
|
|
1753
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
1754
|
+
/** @type {?} */
|
|
1755
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
1756
|
+
/** @type {?} */
|
|
1757
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
1758
|
+
/** @type {?} */
|
|
1759
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
1760
|
+
/** @type {?} */
|
|
1761
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
1762
|
+
/** @type {?} */
|
|
1763
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
1764
|
+
/** @type {?} */
|
|
1765
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
1766
|
+
/** @type {?} */
|
|
1767
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
1768
|
+
/** @type {?} */
|
|
1769
|
+
GridsterComponentInterface.prototype.el;
|
|
1770
|
+
/** @type {?} */
|
|
1771
|
+
GridsterComponentInterface.prototype.renderer;
|
|
1772
|
+
/** @type {?} */
|
|
1773
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
1774
|
+
/** @type {?} */
|
|
1775
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
1776
|
+
/** @type {?} */
|
|
1777
|
+
GridsterComponentInterface.prototype.options;
|
|
1778
|
+
/** @type {?} */
|
|
1779
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
1780
|
+
/** @type {?} */
|
|
1781
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
1782
|
+
/** @type {?} */
|
|
1783
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
1784
|
+
/** @type {?} */
|
|
1785
|
+
GridsterComponentInterface.prototype.addItem;
|
|
1786
|
+
/** @type {?} */
|
|
1787
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
1788
|
+
/** @type {?} */
|
|
1789
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
1790
|
+
/** @type {?} */
|
|
1791
|
+
GridsterComponentInterface.prototype.mobile;
|
|
1792
|
+
/** @type {?} */
|
|
1793
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
1794
|
+
/** @type {?} */
|
|
1795
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
1796
|
+
/** @type {?} */
|
|
1797
|
+
GridsterComponentInterface.prototype.columns;
|
|
1798
|
+
/** @type {?} */
|
|
1799
|
+
GridsterComponentInterface.prototype.rows;
|
|
1800
|
+
/** @type {?} */
|
|
1801
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
1802
|
+
/** @type {?} */
|
|
1803
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
1804
|
+
/** @type {?} */
|
|
1805
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
1806
|
+
/** @type {?} */
|
|
1807
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
1808
|
+
/** @type {?} */
|
|
1809
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
1810
|
+
/** @type {?} */
|
|
1811
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
1812
|
+
/** @type {?} */
|
|
1813
|
+
GridsterComponentInterface.prototype.compact;
|
|
1814
|
+
/** @type {?} */
|
|
1815
|
+
GridsterComponentInterface.prototype.zone;
|
|
1816
|
+
/** @type {?} */
|
|
1817
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
1818
|
+
/** @type {?} */
|
|
1819
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
1383
1820
|
}
|
|
1384
1821
|
|
|
1385
1822
|
/**
|
|
1386
1823
|
* @fileoverview added by tsickle
|
|
1387
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1824
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1388
1825
|
*/
|
|
1389
1826
|
class GridsterEmptyCell {
|
|
1390
1827
|
/**
|
|
@@ -1661,11 +2098,44 @@ GridsterEmptyCell.decorators = [
|
|
|
1661
2098
|
/** @nocollapse */
|
|
1662
2099
|
GridsterEmptyCell.ctorParameters = () => [
|
|
1663
2100
|
{ type: GridsterComponentInterface }
|
|
1664
|
-
];
|
|
2101
|
+
];
|
|
2102
|
+
if (false) {
|
|
2103
|
+
/** @type {?} */
|
|
2104
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2105
|
+
/** @type {?} */
|
|
2106
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2107
|
+
/** @type {?} */
|
|
2108
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2109
|
+
/** @type {?} */
|
|
2110
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2111
|
+
/** @type {?} */
|
|
2112
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2113
|
+
/** @type {?} */
|
|
2114
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2115
|
+
/** @type {?} */
|
|
2116
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2117
|
+
/** @type {?} */
|
|
2118
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2119
|
+
/** @type {?} */
|
|
2120
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2121
|
+
/** @type {?} */
|
|
2122
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2123
|
+
/** @type {?} */
|
|
2124
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2125
|
+
/** @type {?} */
|
|
2126
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2127
|
+
/** @type {?} */
|
|
2128
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2129
|
+
/**
|
|
2130
|
+
* @type {?}
|
|
2131
|
+
* @private
|
|
2132
|
+
*/
|
|
2133
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2134
|
+
}
|
|
1665
2135
|
|
|
1666
2136
|
/**
|
|
1667
2137
|
* @fileoverview added by tsickle
|
|
1668
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2138
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1669
2139
|
*/
|
|
1670
2140
|
class GridsterCompact {
|
|
1671
2141
|
/**
|
|
@@ -1874,11 +2344,18 @@ GridsterCompact.decorators = [
|
|
|
1874
2344
|
/** @nocollapse */
|
|
1875
2345
|
GridsterCompact.ctorParameters = () => [
|
|
1876
2346
|
{ type: GridsterComponentInterface }
|
|
1877
|
-
];
|
|
2347
|
+
];
|
|
2348
|
+
if (false) {
|
|
2349
|
+
/**
|
|
2350
|
+
* @type {?}
|
|
2351
|
+
* @private
|
|
2352
|
+
*/
|
|
2353
|
+
GridsterCompact.prototype.gridster;
|
|
2354
|
+
}
|
|
1878
2355
|
|
|
1879
2356
|
/**
|
|
1880
2357
|
* @fileoverview added by tsickle
|
|
1881
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2358
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1882
2359
|
*/
|
|
1883
2360
|
class GridsterRenderer {
|
|
1884
2361
|
/**
|
|
@@ -2141,11 +2618,18 @@ GridsterRenderer.decorators = [
|
|
|
2141
2618
|
/** @nocollapse */
|
|
2142
2619
|
GridsterRenderer.ctorParameters = () => [
|
|
2143
2620
|
{ type: GridsterComponentInterface }
|
|
2144
|
-
];
|
|
2621
|
+
];
|
|
2622
|
+
if (false) {
|
|
2623
|
+
/**
|
|
2624
|
+
* @type {?}
|
|
2625
|
+
* @private
|
|
2626
|
+
*/
|
|
2627
|
+
GridsterRenderer.prototype.gridster;
|
|
2628
|
+
}
|
|
2145
2629
|
|
|
2146
2630
|
/**
|
|
2147
2631
|
* @fileoverview added by tsickle
|
|
2148
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2632
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2149
2633
|
*/
|
|
2150
2634
|
class GridsterComponent {
|
|
2151
2635
|
/**
|
|
@@ -2279,6 +2763,17 @@ class GridsterComponent {
|
|
|
2279
2763
|
if (this.options.destroyCallback) {
|
|
2280
2764
|
this.options.destroyCallback(this);
|
|
2281
2765
|
}
|
|
2766
|
+
//if (this.options.api) {
|
|
2767
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
2768
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
2769
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
2770
|
+
*/
|
|
2771
|
+
if (false) {
|
|
2772
|
+
this.options.api.resize = undefined;
|
|
2773
|
+
this.options.api.optionsChanged = undefined;
|
|
2774
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
2775
|
+
this.options.api = undefined;
|
|
2776
|
+
}
|
|
2282
2777
|
this.emptyCell.destroy();
|
|
2283
2778
|
delete this.emptyCell;
|
|
2284
2779
|
this.compact.destroy();
|
|
@@ -2774,21 +3269,109 @@ GridsterComponent.ctorParameters = () => [
|
|
|
2774
3269
|
];
|
|
2775
3270
|
GridsterComponent.propDecorators = {
|
|
2776
3271
|
options: [{ type: Input }]
|
|
2777
|
-
};
|
|
3272
|
+
};
|
|
3273
|
+
if (false) {
|
|
3274
|
+
/** @type {?} */
|
|
3275
|
+
GridsterComponent.prototype.options;
|
|
3276
|
+
/** @type {?} */
|
|
3277
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3278
|
+
/** @type {?} */
|
|
3279
|
+
GridsterComponent.prototype.movingItem;
|
|
3280
|
+
/** @type {?} */
|
|
3281
|
+
GridsterComponent.prototype.previewStyle;
|
|
3282
|
+
/** @type {?} */
|
|
3283
|
+
GridsterComponent.prototype.el;
|
|
3284
|
+
/** @type {?} */
|
|
3285
|
+
GridsterComponent.prototype.$options;
|
|
3286
|
+
/** @type {?} */
|
|
3287
|
+
GridsterComponent.prototype.mobile;
|
|
3288
|
+
/** @type {?} */
|
|
3289
|
+
GridsterComponent.prototype.curWidth;
|
|
3290
|
+
/** @type {?} */
|
|
3291
|
+
GridsterComponent.prototype.curHeight;
|
|
3292
|
+
/** @type {?} */
|
|
3293
|
+
GridsterComponent.prototype.grid;
|
|
3294
|
+
/** @type {?} */
|
|
3295
|
+
GridsterComponent.prototype.columns;
|
|
3296
|
+
/** @type {?} */
|
|
3297
|
+
GridsterComponent.prototype.rows;
|
|
3298
|
+
/** @type {?} */
|
|
3299
|
+
GridsterComponent.prototype.curColWidth;
|
|
3300
|
+
/** @type {?} */
|
|
3301
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3302
|
+
/** @type {?} */
|
|
3303
|
+
GridsterComponent.prototype.gridColumns;
|
|
3304
|
+
/** @type {?} */
|
|
3305
|
+
GridsterComponent.prototype.gridRows;
|
|
3306
|
+
/** @type {?} */
|
|
3307
|
+
GridsterComponent.prototype.windowResize;
|
|
3308
|
+
/** @type {?} */
|
|
3309
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3310
|
+
/** @type {?} */
|
|
3311
|
+
GridsterComponent.prototype.emptyCell;
|
|
3312
|
+
/** @type {?} */
|
|
3313
|
+
GridsterComponent.prototype.compact;
|
|
3314
|
+
/** @type {?} */
|
|
3315
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3316
|
+
/** @type {?} */
|
|
3317
|
+
GridsterComponent.prototype.renderer;
|
|
3318
|
+
/** @type {?} */
|
|
3319
|
+
GridsterComponent.prototype.cdRef;
|
|
3320
|
+
/** @type {?} */
|
|
3321
|
+
GridsterComponent.prototype.zone;
|
|
3322
|
+
}
|
|
2778
3323
|
|
|
2779
3324
|
/**
|
|
2780
3325
|
* @fileoverview added by tsickle
|
|
2781
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3326
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2782
3327
|
*/
|
|
2783
3328
|
/**
|
|
2784
3329
|
* @abstract
|
|
2785
3330
|
*/
|
|
2786
3331
|
class GridsterItemComponentInterface {
|
|
3332
|
+
}
|
|
3333
|
+
if (false) {
|
|
3334
|
+
/** @type {?} */
|
|
3335
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3336
|
+
/** @type {?} */
|
|
3337
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3338
|
+
/** @type {?} */
|
|
3339
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3340
|
+
/** @type {?} */
|
|
3341
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3342
|
+
/** @type {?} */
|
|
3343
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3344
|
+
/** @type {?} */
|
|
3345
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3346
|
+
/** @type {?} */
|
|
3347
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3348
|
+
/** @type {?} */
|
|
3349
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3350
|
+
/** @type {?} */
|
|
3351
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3352
|
+
/** @type {?} */
|
|
3353
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3354
|
+
/** @type {?} */
|
|
3355
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3356
|
+
/** @type {?} */
|
|
3357
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3358
|
+
/** @type {?} */
|
|
3359
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3360
|
+
/** @type {?} */
|
|
3361
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3362
|
+
/** @type {?} */
|
|
3363
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3364
|
+
/** @type {?} */
|
|
3365
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3366
|
+
/** @type {?} */
|
|
3367
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3368
|
+
/** @type {?} */
|
|
3369
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
2787
3370
|
}
|
|
2788
3371
|
|
|
2789
3372
|
/**
|
|
2790
3373
|
* @fileoverview added by tsickle
|
|
2791
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3374
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2792
3375
|
*/
|
|
2793
3376
|
class GridsterSwap {
|
|
2794
3377
|
/**
|
|
@@ -2899,11 +3482,28 @@ GridsterSwap.decorators = [
|
|
|
2899
3482
|
/** @nocollapse */
|
|
2900
3483
|
GridsterSwap.ctorParameters = () => [
|
|
2901
3484
|
{ type: GridsterItemComponentInterface }
|
|
2902
|
-
];
|
|
3485
|
+
];
|
|
3486
|
+
if (false) {
|
|
3487
|
+
/**
|
|
3488
|
+
* @type {?}
|
|
3489
|
+
* @private
|
|
3490
|
+
*/
|
|
3491
|
+
GridsterSwap.prototype.swapedItem;
|
|
3492
|
+
/**
|
|
3493
|
+
* @type {?}
|
|
3494
|
+
* @private
|
|
3495
|
+
*/
|
|
3496
|
+
GridsterSwap.prototype.gridsterItem;
|
|
3497
|
+
/**
|
|
3498
|
+
* @type {?}
|
|
3499
|
+
* @private
|
|
3500
|
+
*/
|
|
3501
|
+
GridsterSwap.prototype.gridster;
|
|
3502
|
+
}
|
|
2903
3503
|
|
|
2904
3504
|
/**
|
|
2905
3505
|
* @fileoverview added by tsickle
|
|
2906
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3506
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2907
3507
|
*/
|
|
2908
3508
|
/** @type {?} */
|
|
2909
3509
|
let scrollSensitivity;
|
|
@@ -3098,7 +3698,7 @@ function cancelN() {
|
|
|
3098
3698
|
|
|
3099
3699
|
/**
|
|
3100
3700
|
* @fileoverview added by tsickle
|
|
3101
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3701
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3102
3702
|
*/
|
|
3103
3703
|
class GridsterPush {
|
|
3104
3704
|
/**
|
|
@@ -3509,11 +4109,61 @@ GridsterPush.decorators = [
|
|
|
3509
4109
|
/** @nocollapse */
|
|
3510
4110
|
GridsterPush.ctorParameters = () => [
|
|
3511
4111
|
{ type: GridsterItemComponentInterface }
|
|
3512
|
-
];
|
|
4112
|
+
];
|
|
4113
|
+
if (false) {
|
|
4114
|
+
/** @type {?} */
|
|
4115
|
+
GridsterPush.prototype.fromSouth;
|
|
4116
|
+
/** @type {?} */
|
|
4117
|
+
GridsterPush.prototype.fromNorth;
|
|
4118
|
+
/** @type {?} */
|
|
4119
|
+
GridsterPush.prototype.fromEast;
|
|
4120
|
+
/** @type {?} */
|
|
4121
|
+
GridsterPush.prototype.fromWest;
|
|
4122
|
+
/**
|
|
4123
|
+
* @type {?}
|
|
4124
|
+
* @private
|
|
4125
|
+
*/
|
|
4126
|
+
GridsterPush.prototype.pushedItems;
|
|
4127
|
+
/**
|
|
4128
|
+
* @type {?}
|
|
4129
|
+
* @private
|
|
4130
|
+
*/
|
|
4131
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4132
|
+
/**
|
|
4133
|
+
* @type {?}
|
|
4134
|
+
* @private
|
|
4135
|
+
*/
|
|
4136
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4137
|
+
/**
|
|
4138
|
+
* @type {?}
|
|
4139
|
+
* @private
|
|
4140
|
+
*/
|
|
4141
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4142
|
+
/**
|
|
4143
|
+
* @type {?}
|
|
4144
|
+
* @private
|
|
4145
|
+
*/
|
|
4146
|
+
GridsterPush.prototype.gridsterItem;
|
|
4147
|
+
/**
|
|
4148
|
+
* @type {?}
|
|
4149
|
+
* @private
|
|
4150
|
+
*/
|
|
4151
|
+
GridsterPush.prototype.gridster;
|
|
4152
|
+
/**
|
|
4153
|
+
* @type {?}
|
|
4154
|
+
* @private
|
|
4155
|
+
*/
|
|
4156
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4157
|
+
/**
|
|
4158
|
+
* @type {?}
|
|
4159
|
+
* @private
|
|
4160
|
+
*/
|
|
4161
|
+
GridsterPush.prototype.tryPattern;
|
|
4162
|
+
}
|
|
3513
4163
|
|
|
3514
4164
|
/**
|
|
3515
4165
|
* @fileoverview added by tsickle
|
|
3516
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4166
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3517
4167
|
*/
|
|
3518
4168
|
class GridsterDraggable {
|
|
3519
4169
|
/**
|
|
@@ -3791,6 +4441,10 @@ class GridsterDraggable {
|
|
|
3791
4441
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
3792
4442
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
3793
4443
|
}
|
|
4444
|
+
else {
|
|
4445
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
4446
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
4447
|
+
}
|
|
3794
4448
|
return this.gridsterItem.$item;
|
|
3795
4449
|
}
|
|
3796
4450
|
/**
|
|
@@ -3935,11 +4589,84 @@ GridsterDraggable.ctorParameters = () => [
|
|
|
3935
4589
|
{ type: GridsterItemComponentInterface },
|
|
3936
4590
|
{ type: GridsterComponentInterface },
|
|
3937
4591
|
{ type: NgZone }
|
|
3938
|
-
];
|
|
4592
|
+
];
|
|
4593
|
+
if (false) {
|
|
4594
|
+
/** @type {?} */
|
|
4595
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
4596
|
+
/** @type {?} */
|
|
4597
|
+
GridsterDraggable.prototype.gridster;
|
|
4598
|
+
/** @type {?} */
|
|
4599
|
+
GridsterDraggable.prototype.lastMouse;
|
|
4600
|
+
/** @type {?} */
|
|
4601
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
4602
|
+
/** @type {?} */
|
|
4603
|
+
GridsterDraggable.prototype.offsetTop;
|
|
4604
|
+
/** @type {?} */
|
|
4605
|
+
GridsterDraggable.prototype.margin;
|
|
4606
|
+
/** @type {?} */
|
|
4607
|
+
GridsterDraggable.prototype.diffTop;
|
|
4608
|
+
/** @type {?} */
|
|
4609
|
+
GridsterDraggable.prototype.diffLeft;
|
|
4610
|
+
/** @type {?} */
|
|
4611
|
+
GridsterDraggable.prototype.top;
|
|
4612
|
+
/** @type {?} */
|
|
4613
|
+
GridsterDraggable.prototype.left;
|
|
4614
|
+
/** @type {?} */
|
|
4615
|
+
GridsterDraggable.prototype.height;
|
|
4616
|
+
/** @type {?} */
|
|
4617
|
+
GridsterDraggable.prototype.width;
|
|
4618
|
+
/** @type {?} */
|
|
4619
|
+
GridsterDraggable.prototype.positionX;
|
|
4620
|
+
/** @type {?} */
|
|
4621
|
+
GridsterDraggable.prototype.positionY;
|
|
4622
|
+
/** @type {?} */
|
|
4623
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
4624
|
+
/** @type {?} */
|
|
4625
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
4626
|
+
/** @type {?} */
|
|
4627
|
+
GridsterDraggable.prototype.enabled;
|
|
4628
|
+
/** @type {?} */
|
|
4629
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
4630
|
+
/** @type {?} */
|
|
4631
|
+
GridsterDraggable.prototype.dragFunction;
|
|
4632
|
+
/** @type {?} */
|
|
4633
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
4634
|
+
/** @type {?} */
|
|
4635
|
+
GridsterDraggable.prototype.mousemove;
|
|
4636
|
+
/** @type {?} */
|
|
4637
|
+
GridsterDraggable.prototype.mouseup;
|
|
4638
|
+
/** @type {?} */
|
|
4639
|
+
GridsterDraggable.prototype.mouseleave;
|
|
4640
|
+
/** @type {?} */
|
|
4641
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
4642
|
+
/** @type {?} */
|
|
4643
|
+
GridsterDraggable.prototype.touchmove;
|
|
4644
|
+
/** @type {?} */
|
|
4645
|
+
GridsterDraggable.prototype.touchend;
|
|
4646
|
+
/** @type {?} */
|
|
4647
|
+
GridsterDraggable.prototype.touchcancel;
|
|
4648
|
+
/** @type {?} */
|
|
4649
|
+
GridsterDraggable.prototype.mousedown;
|
|
4650
|
+
/** @type {?} */
|
|
4651
|
+
GridsterDraggable.prototype.touchstart;
|
|
4652
|
+
/** @type {?} */
|
|
4653
|
+
GridsterDraggable.prototype.push;
|
|
4654
|
+
/** @type {?} */
|
|
4655
|
+
GridsterDraggable.prototype.swap;
|
|
4656
|
+
/** @type {?} */
|
|
4657
|
+
GridsterDraggable.prototype.path;
|
|
4658
|
+
/** @type {?} */
|
|
4659
|
+
GridsterDraggable.prototype.collision;
|
|
4660
|
+
/**
|
|
4661
|
+
* @type {?}
|
|
4662
|
+
* @private
|
|
4663
|
+
*/
|
|
4664
|
+
GridsterDraggable.prototype.zone;
|
|
4665
|
+
}
|
|
3939
4666
|
|
|
3940
4667
|
/**
|
|
3941
4668
|
* @fileoverview added by tsickle
|
|
3942
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4669
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3943
4670
|
*/
|
|
3944
4671
|
class GridsterPushResize {
|
|
3945
4672
|
/**
|
|
@@ -4255,11 +4982,46 @@ GridsterPushResize.decorators = [
|
|
|
4255
4982
|
/** @nocollapse */
|
|
4256
4983
|
GridsterPushResize.ctorParameters = () => [
|
|
4257
4984
|
{ type: GridsterItemComponentInterface }
|
|
4258
|
-
];
|
|
4985
|
+
];
|
|
4986
|
+
if (false) {
|
|
4987
|
+
/** @type {?} */
|
|
4988
|
+
GridsterPushResize.prototype.fromSouth;
|
|
4989
|
+
/** @type {?} */
|
|
4990
|
+
GridsterPushResize.prototype.fromNorth;
|
|
4991
|
+
/** @type {?} */
|
|
4992
|
+
GridsterPushResize.prototype.fromEast;
|
|
4993
|
+
/** @type {?} */
|
|
4994
|
+
GridsterPushResize.prototype.fromWest;
|
|
4995
|
+
/**
|
|
4996
|
+
* @type {?}
|
|
4997
|
+
* @private
|
|
4998
|
+
*/
|
|
4999
|
+
GridsterPushResize.prototype.pushedItems;
|
|
5000
|
+
/**
|
|
5001
|
+
* @type {?}
|
|
5002
|
+
* @private
|
|
5003
|
+
*/
|
|
5004
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
5005
|
+
/**
|
|
5006
|
+
* @type {?}
|
|
5007
|
+
* @private
|
|
5008
|
+
*/
|
|
5009
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
5010
|
+
/**
|
|
5011
|
+
* @type {?}
|
|
5012
|
+
* @private
|
|
5013
|
+
*/
|
|
5014
|
+
GridsterPushResize.prototype.gridster;
|
|
5015
|
+
/**
|
|
5016
|
+
* @type {?}
|
|
5017
|
+
* @private
|
|
5018
|
+
*/
|
|
5019
|
+
GridsterPushResize.prototype.tryPattern;
|
|
5020
|
+
}
|
|
4259
5021
|
|
|
4260
5022
|
/**
|
|
4261
5023
|
* @fileoverview added by tsickle
|
|
4262
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5024
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4263
5025
|
*/
|
|
4264
5026
|
class GridsterResizable {
|
|
4265
5027
|
/**
|
|
@@ -4725,11 +5487,86 @@ GridsterResizable.ctorParameters = () => [
|
|
|
4725
5487
|
{ type: GridsterItemComponentInterface },
|
|
4726
5488
|
{ type: GridsterComponentInterface },
|
|
4727
5489
|
{ type: NgZone }
|
|
4728
|
-
];
|
|
5490
|
+
];
|
|
5491
|
+
if (false) {
|
|
5492
|
+
/** @type {?} */
|
|
5493
|
+
GridsterResizable.prototype.gridsterItem;
|
|
5494
|
+
/** @type {?} */
|
|
5495
|
+
GridsterResizable.prototype.gridster;
|
|
5496
|
+
/** @type {?} */
|
|
5497
|
+
GridsterResizable.prototype.lastMouse;
|
|
5498
|
+
/** @type {?} */
|
|
5499
|
+
GridsterResizable.prototype.itemBackup;
|
|
5500
|
+
/** @type {?} */
|
|
5501
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
5502
|
+
/** @type {?} */
|
|
5503
|
+
GridsterResizable.prototype.directionFunction;
|
|
5504
|
+
/** @type {?} */
|
|
5505
|
+
GridsterResizable.prototype.dragFunction;
|
|
5506
|
+
/** @type {?} */
|
|
5507
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
5508
|
+
/** @type {?} */
|
|
5509
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
5510
|
+
/** @type {?} */
|
|
5511
|
+
GridsterResizable.prototype.mousemove;
|
|
5512
|
+
/** @type {?} */
|
|
5513
|
+
GridsterResizable.prototype.mouseup;
|
|
5514
|
+
/** @type {?} */
|
|
5515
|
+
GridsterResizable.prototype.mouseleave;
|
|
5516
|
+
/** @type {?} */
|
|
5517
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
5518
|
+
/** @type {?} */
|
|
5519
|
+
GridsterResizable.prototype.touchmove;
|
|
5520
|
+
/** @type {?} */
|
|
5521
|
+
GridsterResizable.prototype.touchend;
|
|
5522
|
+
/** @type {?} */
|
|
5523
|
+
GridsterResizable.prototype.touchcancel;
|
|
5524
|
+
/** @type {?} */
|
|
5525
|
+
GridsterResizable.prototype.push;
|
|
5526
|
+
/** @type {?} */
|
|
5527
|
+
GridsterResizable.prototype.pushResize;
|
|
5528
|
+
/** @type {?} */
|
|
5529
|
+
GridsterResizable.prototype.minHeight;
|
|
5530
|
+
/** @type {?} */
|
|
5531
|
+
GridsterResizable.prototype.minWidth;
|
|
5532
|
+
/** @type {?} */
|
|
5533
|
+
GridsterResizable.prototype.offsetTop;
|
|
5534
|
+
/** @type {?} */
|
|
5535
|
+
GridsterResizable.prototype.offsetLeft;
|
|
5536
|
+
/** @type {?} */
|
|
5537
|
+
GridsterResizable.prototype.diffTop;
|
|
5538
|
+
/** @type {?} */
|
|
5539
|
+
GridsterResizable.prototype.diffLeft;
|
|
5540
|
+
/** @type {?} */
|
|
5541
|
+
GridsterResizable.prototype.diffRight;
|
|
5542
|
+
/** @type {?} */
|
|
5543
|
+
GridsterResizable.prototype.diffBottom;
|
|
5544
|
+
/** @type {?} */
|
|
5545
|
+
GridsterResizable.prototype.margin;
|
|
5546
|
+
/** @type {?} */
|
|
5547
|
+
GridsterResizable.prototype.top;
|
|
5548
|
+
/** @type {?} */
|
|
5549
|
+
GridsterResizable.prototype.left;
|
|
5550
|
+
/** @type {?} */
|
|
5551
|
+
GridsterResizable.prototype.bottom;
|
|
5552
|
+
/** @type {?} */
|
|
5553
|
+
GridsterResizable.prototype.right;
|
|
5554
|
+
/** @type {?} */
|
|
5555
|
+
GridsterResizable.prototype.width;
|
|
5556
|
+
/** @type {?} */
|
|
5557
|
+
GridsterResizable.prototype.height;
|
|
5558
|
+
/** @type {?} */
|
|
5559
|
+
GridsterResizable.prototype.newPosition;
|
|
5560
|
+
/**
|
|
5561
|
+
* @type {?}
|
|
5562
|
+
* @private
|
|
5563
|
+
*/
|
|
5564
|
+
GridsterResizable.prototype.zone;
|
|
5565
|
+
}
|
|
4729
5566
|
|
|
4730
5567
|
/**
|
|
4731
5568
|
* @fileoverview added by tsickle
|
|
4732
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5569
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4733
5570
|
*/
|
|
4734
5571
|
class GridsterItemComponent {
|
|
4735
5572
|
/**
|
|
@@ -4900,11 +5737,44 @@ GridsterItemComponent.ctorParameters = () => [
|
|
|
4900
5737
|
];
|
|
4901
5738
|
GridsterItemComponent.propDecorators = {
|
|
4902
5739
|
item: [{ type: Input }]
|
|
4903
|
-
};
|
|
5740
|
+
};
|
|
5741
|
+
if (false) {
|
|
5742
|
+
/** @type {?} */
|
|
5743
|
+
GridsterItemComponent.prototype.item;
|
|
5744
|
+
/** @type {?} */
|
|
5745
|
+
GridsterItemComponent.prototype.$item;
|
|
5746
|
+
/** @type {?} */
|
|
5747
|
+
GridsterItemComponent.prototype.el;
|
|
5748
|
+
/** @type {?} */
|
|
5749
|
+
GridsterItemComponent.prototype.gridster;
|
|
5750
|
+
/** @type {?} */
|
|
5751
|
+
GridsterItemComponent.prototype.top;
|
|
5752
|
+
/** @type {?} */
|
|
5753
|
+
GridsterItemComponent.prototype.left;
|
|
5754
|
+
/** @type {?} */
|
|
5755
|
+
GridsterItemComponent.prototype.width;
|
|
5756
|
+
/** @type {?} */
|
|
5757
|
+
GridsterItemComponent.prototype.height;
|
|
5758
|
+
/** @type {?} */
|
|
5759
|
+
GridsterItemComponent.prototype.drag;
|
|
5760
|
+
/** @type {?} */
|
|
5761
|
+
GridsterItemComponent.prototype.resize;
|
|
5762
|
+
/** @type {?} */
|
|
5763
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
5764
|
+
/** @type {?} */
|
|
5765
|
+
GridsterItemComponent.prototype.init;
|
|
5766
|
+
/** @type {?} */
|
|
5767
|
+
GridsterItemComponent.prototype.renderer;
|
|
5768
|
+
/**
|
|
5769
|
+
* @type {?}
|
|
5770
|
+
* @private
|
|
5771
|
+
*/
|
|
5772
|
+
GridsterItemComponent.prototype.zone;
|
|
5773
|
+
}
|
|
4904
5774
|
|
|
4905
5775
|
/**
|
|
4906
5776
|
* @fileoverview added by tsickle
|
|
4907
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5777
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4908
5778
|
*/
|
|
4909
5779
|
class GridsterPreviewComponent {
|
|
4910
5780
|
/**
|
|
@@ -4956,11 +5826,19 @@ GridsterPreviewComponent.ctorParameters = () => [
|
|
|
4956
5826
|
{ type: ElementRef },
|
|
4957
5827
|
{ type: GridsterComponent, decorators: [{ type: Host }] },
|
|
4958
5828
|
{ type: Renderer2 }
|
|
4959
|
-
];
|
|
5829
|
+
];
|
|
5830
|
+
if (false) {
|
|
5831
|
+
/** @type {?} */
|
|
5832
|
+
GridsterPreviewComponent.prototype.el;
|
|
5833
|
+
/** @type {?} */
|
|
5834
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
5835
|
+
/** @type {?} */
|
|
5836
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
5837
|
+
}
|
|
4960
5838
|
|
|
4961
5839
|
/**
|
|
4962
5840
|
* @fileoverview added by tsickle
|
|
4963
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5841
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4964
5842
|
*/
|
|
4965
5843
|
class GridsterModule {
|
|
4966
5844
|
}
|
|
@@ -4982,7 +5860,7 @@ GridsterModule.decorators = [
|
|
|
4982
5860
|
|
|
4983
5861
|
/**
|
|
4984
5862
|
* @fileoverview added by tsickle
|
|
4985
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5863
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4986
5864
|
*/
|
|
4987
5865
|
/** @type {?} */
|
|
4988
5866
|
const DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
@@ -5020,7 +5898,7 @@ DashboardFrameworkModule.decorators = [
|
|
|
5020
5898
|
|
|
5021
5899
|
/**
|
|
5022
5900
|
* @fileoverview added by tsickle
|
|
5023
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5901
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5024
5902
|
*/
|
|
5025
5903
|
/**
|
|
5026
5904
|
* @abstract
|
|
@@ -5062,11 +5940,35 @@ RaBaseDashboardTemplate.propDecorators = {
|
|
|
5062
5940
|
dashboardId: [{ type: Input, args: ['dashboard-id',] }],
|
|
5063
5941
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
5064
5942
|
initialize: [{ type: Input }]
|
|
5065
|
-
};
|
|
5943
|
+
};
|
|
5944
|
+
if (false) {
|
|
5945
|
+
/** @type {?} */
|
|
5946
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
5947
|
+
/** @type {?} */
|
|
5948
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
5949
|
+
/** @type {?} */
|
|
5950
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
5951
|
+
/** @type {?} */
|
|
5952
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
5953
|
+
/** @type {?} */
|
|
5954
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
5955
|
+
/** @type {?} */
|
|
5956
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
5957
|
+
/**
|
|
5958
|
+
* @type {?}
|
|
5959
|
+
* @private
|
|
5960
|
+
*/
|
|
5961
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
5962
|
+
/**
|
|
5963
|
+
* @abstract
|
|
5964
|
+
* @return {?}
|
|
5965
|
+
*/
|
|
5966
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
5967
|
+
}
|
|
5066
5968
|
|
|
5067
5969
|
/**
|
|
5068
5970
|
* @fileoverview added by tsickle
|
|
5069
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5971
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5070
5972
|
*/
|
|
5071
5973
|
/**
|
|
5072
5974
|
* @abstract
|
|
@@ -5084,7 +5986,29 @@ class RaBaseDashboardFilter {
|
|
|
5084
5986
|
}
|
|
5085
5987
|
RaBaseDashboardFilter.propDecorators = {
|
|
5086
5988
|
getAllFilterConfig: [{ type: Input }]
|
|
5087
|
-
};
|
|
5989
|
+
};
|
|
5990
|
+
if (false) {
|
|
5991
|
+
/**
|
|
5992
|
+
* @type {?}
|
|
5993
|
+
* @private
|
|
5994
|
+
*/
|
|
5995
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
5996
|
+
/**
|
|
5997
|
+
* @abstract
|
|
5998
|
+
* @return {?}
|
|
5999
|
+
*/
|
|
6000
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
6001
|
+
}
|
|
6002
|
+
|
|
6003
|
+
/**
|
|
6004
|
+
* @fileoverview added by tsickle
|
|
6005
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6006
|
+
*/
|
|
6007
|
+
|
|
6008
|
+
/**
|
|
6009
|
+
* @fileoverview added by tsickle
|
|
6010
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6011
|
+
*/
|
|
5088
6012
|
|
|
5089
6013
|
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
6014
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|