@schneideress/dashboardframework 0.0.31 → 0.0.33
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 +1121 -52
- 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 +1 -1
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +37 -5
- package/esm2015/lib/ra.base.dashboard.filter.js +1 -1
- package/esm2015/lib/ra.base.dashboard.template.js +1 -1
- package/esm2015/lib/ra.dashbard.event.bus.js +1 -1
- package/esm2015/lib/ra.dashboard.module.js +1 -1
- package/esm2015/lib/ra.dashboard.service.js +1 -1
- package/esm2015/lib/ra.event.enum.js +1 -1
- package/esm2015/lib/ra.gridster.config.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/schneideress-dashboardframework.js +1 -1
- package/esm5/gridster/index.js +1 -1
- package/esm5/gridster/lib/gridster.component.js +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 +1 -1
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +37 -5
- package/esm5/lib/ra.base.dashboard.filter.js +1 -1
- package/esm5/lib/ra.base.dashboard.template.js +1 -1
- package/esm5/lib/ra.dashbard.event.bus.js +1 -1
- package/esm5/lib/ra.dashboard.module.js +1 -1
- package/esm5/lib/ra.dashboard.service.js +1 -1
- package/esm5/lib/ra.event.enum.js +1 -1
- package/esm5/lib/ra.gridster.config.js +1 -1
- package/esm5/public-api.js +1 -1
- package/esm5/schneideress-dashboardframework.js +1 -1
- package/fesm2015/schneideress-dashboardframework.js +971 -49
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +974 -52
- 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
|
@@ -11,7 +11,7 @@ import { CommonModule } from '@angular/common';
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @fileoverview added by tsickle
|
|
14
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
14
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
15
15
|
*/
|
|
16
16
|
class RaDashboardService extends BaseService {
|
|
17
17
|
/**
|
|
@@ -140,11 +140,18 @@ RaDashboardService.decorators = [
|
|
|
140
140
|
RaDashboardService.ctorParameters = () => [
|
|
141
141
|
{ type: Injector }
|
|
142
142
|
];
|
|
143
|
-
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
143
|
+
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
144
|
+
if (false) {
|
|
145
|
+
/**
|
|
146
|
+
* @type {?}
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
149
|
+
RaDashboardService.prototype.loadedScripts;
|
|
150
|
+
}
|
|
144
151
|
|
|
145
152
|
/**
|
|
146
153
|
* @fileoverview added by tsickle
|
|
147
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
154
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
148
155
|
*/
|
|
149
156
|
class RADashboardEventBus {
|
|
150
157
|
constructor() {
|
|
@@ -214,11 +221,18 @@ RADashboardEventBus.decorators = [
|
|
|
214
221
|
providedIn: 'root'
|
|
215
222
|
},] }
|
|
216
223
|
];
|
|
217
|
-
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
224
|
+
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
225
|
+
if (false) {
|
|
226
|
+
/**
|
|
227
|
+
* @type {?}
|
|
228
|
+
* @private
|
|
229
|
+
*/
|
|
230
|
+
RADashboardEventBus.prototype.eventQueue;
|
|
231
|
+
}
|
|
218
232
|
|
|
219
233
|
/**
|
|
220
234
|
* @fileoverview added by tsickle
|
|
221
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
235
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
222
236
|
*/
|
|
223
237
|
/** @enum {string} */
|
|
224
238
|
const RAEvent = {
|
|
@@ -263,7 +277,7 @@ const RAEventKey = {
|
|
|
263
277
|
|
|
264
278
|
/**
|
|
265
279
|
* @fileoverview added by tsickle
|
|
266
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
280
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
267
281
|
*/
|
|
268
282
|
/** @enum {string} */
|
|
269
283
|
const GridType = {
|
|
@@ -290,11 +304,196 @@ const CompactType = {
|
|
|
290
304
|
CompactRight: 'compactRight',
|
|
291
305
|
CompactUpAndRight: 'compactUp&Right',
|
|
292
306
|
CompactRightAndUp: 'compactRight&Up',
|
|
293
|
-
};
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* @record
|
|
310
|
+
*/
|
|
311
|
+
function GridsterConfig() { }
|
|
312
|
+
if (false) {
|
|
313
|
+
/** @type {?|undefined} */
|
|
314
|
+
GridsterConfig.prototype.gridType;
|
|
315
|
+
/** @type {?|undefined} */
|
|
316
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
317
|
+
/** @type {?|undefined} */
|
|
318
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
319
|
+
/** @type {?|undefined} */
|
|
320
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
321
|
+
/** @type {?|undefined} */
|
|
322
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
323
|
+
/** @type {?|undefined} */
|
|
324
|
+
GridsterConfig.prototype.setGridSize;
|
|
325
|
+
/** @type {?|undefined} */
|
|
326
|
+
GridsterConfig.prototype.compactType;
|
|
327
|
+
/** @type {?|undefined} */
|
|
328
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
329
|
+
/** @type {?|undefined} */
|
|
330
|
+
GridsterConfig.prototype.minCols;
|
|
331
|
+
/** @type {?|undefined} */
|
|
332
|
+
GridsterConfig.prototype.maxCols;
|
|
333
|
+
/** @type {?|undefined} */
|
|
334
|
+
GridsterConfig.prototype.minRows;
|
|
335
|
+
/** @type {?|undefined} */
|
|
336
|
+
GridsterConfig.prototype.maxRows;
|
|
337
|
+
/** @type {?|undefined} */
|
|
338
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
339
|
+
/** @type {?|undefined} */
|
|
340
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
341
|
+
/** @type {?|undefined} */
|
|
342
|
+
GridsterConfig.prototype.maxItemCols;
|
|
343
|
+
/** @type {?|undefined} */
|
|
344
|
+
GridsterConfig.prototype.maxItemRows;
|
|
345
|
+
/** @type {?|undefined} */
|
|
346
|
+
GridsterConfig.prototype.minItemCols;
|
|
347
|
+
/** @type {?|undefined} */
|
|
348
|
+
GridsterConfig.prototype.minItemRows;
|
|
349
|
+
/** @type {?|undefined} */
|
|
350
|
+
GridsterConfig.prototype.minItemArea;
|
|
351
|
+
/** @type {?|undefined} */
|
|
352
|
+
GridsterConfig.prototype.maxItemArea;
|
|
353
|
+
/** @type {?|undefined} */
|
|
354
|
+
GridsterConfig.prototype.margin;
|
|
355
|
+
/** @type {?|undefined} */
|
|
356
|
+
GridsterConfig.prototype.outerMargin;
|
|
357
|
+
/** @type {?|undefined} */
|
|
358
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
359
|
+
/** @type {?|undefined} */
|
|
360
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
361
|
+
/** @type {?|undefined} */
|
|
362
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
363
|
+
/** @type {?|undefined} */
|
|
364
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
365
|
+
/** @type {?|undefined} */
|
|
366
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
367
|
+
/** @type {?|undefined} */
|
|
368
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
369
|
+
/** @type {?|undefined} */
|
|
370
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
371
|
+
/** @type {?|undefined} */
|
|
372
|
+
GridsterConfig.prototype.initCallback;
|
|
373
|
+
/** @type {?|undefined} */
|
|
374
|
+
GridsterConfig.prototype.destroyCallback;
|
|
375
|
+
/** @type {?|undefined} */
|
|
376
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
377
|
+
/** @type {?|undefined} */
|
|
378
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
379
|
+
/** @type {?|undefined} */
|
|
380
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
381
|
+
/** @type {?|undefined} */
|
|
382
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
383
|
+
/** @type {?|undefined} */
|
|
384
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
385
|
+
/** @type {?|undefined} */
|
|
386
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
387
|
+
/** @type {?|undefined} */
|
|
388
|
+
GridsterConfig.prototype.draggable;
|
|
389
|
+
/** @type {?|undefined} */
|
|
390
|
+
GridsterConfig.prototype.resizable;
|
|
391
|
+
/** @type {?|undefined} */
|
|
392
|
+
GridsterConfig.prototype.swap;
|
|
393
|
+
/** @type {?|undefined} */
|
|
394
|
+
GridsterConfig.prototype.pushItems;
|
|
395
|
+
/** @type {?|undefined} */
|
|
396
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
397
|
+
/** @type {?|undefined} */
|
|
398
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
399
|
+
/** @type {?|undefined} */
|
|
400
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
401
|
+
/** @type {?|undefined} */
|
|
402
|
+
GridsterConfig.prototype.pushDirections;
|
|
403
|
+
/** @type {?|undefined} */
|
|
404
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
405
|
+
/** @type {?|undefined} */
|
|
406
|
+
GridsterConfig.prototype.displayGrid;
|
|
407
|
+
/** @type {?|undefined} */
|
|
408
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
409
|
+
/** @type {?|undefined} */
|
|
410
|
+
GridsterConfig.prototype.disableWarnings;
|
|
411
|
+
/** @type {?|undefined} */
|
|
412
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
413
|
+
/** @type {?|undefined} */
|
|
414
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
415
|
+
/** @type {?|undefined} */
|
|
416
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
417
|
+
/** @type {?|undefined} */
|
|
418
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
419
|
+
/** @type {?|undefined} */
|
|
420
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
421
|
+
/** @type {?|undefined} */
|
|
422
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
423
|
+
/** @type {?|undefined} */
|
|
424
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
425
|
+
/** @type {?|undefined} */
|
|
426
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
427
|
+
/** @type {?|undefined} */
|
|
428
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
429
|
+
/** @type {?|undefined} */
|
|
430
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
431
|
+
/** @type {?|undefined} */
|
|
432
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
433
|
+
/** @type {?|undefined} */
|
|
434
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
435
|
+
/** @type {?|undefined} */
|
|
436
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
437
|
+
/** @type {?|undefined} */
|
|
438
|
+
GridsterConfig.prototype.api;
|
|
439
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @record
|
|
443
|
+
*/
|
|
444
|
+
function DragBase() { }
|
|
445
|
+
if (false) {
|
|
446
|
+
/** @type {?|undefined} */
|
|
447
|
+
DragBase.prototype.enabled;
|
|
448
|
+
/** @type {?|undefined} */
|
|
449
|
+
DragBase.prototype.stop;
|
|
450
|
+
/** @type {?|undefined} */
|
|
451
|
+
DragBase.prototype.start;
|
|
452
|
+
/** @type {?|undefined} */
|
|
453
|
+
DragBase.prototype.delayStart;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* @record
|
|
457
|
+
*/
|
|
458
|
+
function Draggable() { }
|
|
459
|
+
if (false) {
|
|
460
|
+
/** @type {?|undefined} */
|
|
461
|
+
Draggable.prototype.ignoreContentClass;
|
|
462
|
+
/** @type {?|undefined} */
|
|
463
|
+
Draggable.prototype.ignoreContent;
|
|
464
|
+
/** @type {?|undefined} */
|
|
465
|
+
Draggable.prototype.dragHandleClass;
|
|
466
|
+
/** @type {?|undefined} */
|
|
467
|
+
Draggable.prototype.dropOverItems;
|
|
468
|
+
/** @type {?|undefined} */
|
|
469
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* @record
|
|
473
|
+
*/
|
|
474
|
+
function Resizable() { }
|
|
475
|
+
if (false) {
|
|
476
|
+
/** @type {?|undefined} */
|
|
477
|
+
Resizable.prototype.handles;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* @record
|
|
481
|
+
*/
|
|
482
|
+
function PushDirections() { }
|
|
483
|
+
if (false) {
|
|
484
|
+
/** @type {?} */
|
|
485
|
+
PushDirections.prototype.north;
|
|
486
|
+
/** @type {?} */
|
|
487
|
+
PushDirections.prototype.east;
|
|
488
|
+
/** @type {?} */
|
|
489
|
+
PushDirections.prototype.south;
|
|
490
|
+
/** @type {?} */
|
|
491
|
+
PushDirections.prototype.west;
|
|
492
|
+
}
|
|
294
493
|
|
|
295
494
|
/**
|
|
296
495
|
* @fileoverview added by tsickle
|
|
297
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
496
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
298
497
|
*/
|
|
299
498
|
/** @type {?} */
|
|
300
499
|
const GridsterConfigDefaultSettings = {
|
|
@@ -356,7 +555,7 @@ const GridsterConfigDefaultSettings = {
|
|
|
356
555
|
|
|
357
556
|
/**
|
|
358
557
|
* @fileoverview added by tsickle
|
|
359
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
558
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
360
559
|
*/
|
|
361
560
|
class RADashboardArea {
|
|
362
561
|
/**
|
|
@@ -743,11 +942,83 @@ RADashboardArea.propDecorators = {
|
|
|
743
942
|
widgetHeight: [{ type: Input, args: ['widget-height',] }],
|
|
744
943
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
745
944
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
746
|
-
};
|
|
945
|
+
};
|
|
946
|
+
if (false) {
|
|
947
|
+
/** @type {?} */
|
|
948
|
+
RADashboardArea.prototype.widgetList;
|
|
949
|
+
/** @type {?} */
|
|
950
|
+
RADashboardArea.prototype.options;
|
|
951
|
+
/** @type {?} */
|
|
952
|
+
RADashboardArea.prototype.gridheight;
|
|
953
|
+
/**
|
|
954
|
+
* @type {?}
|
|
955
|
+
* @private
|
|
956
|
+
*/
|
|
957
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
958
|
+
/**
|
|
959
|
+
* @type {?}
|
|
960
|
+
* @private
|
|
961
|
+
*/
|
|
962
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
963
|
+
/**
|
|
964
|
+
* @type {?}
|
|
965
|
+
* @private
|
|
966
|
+
*/
|
|
967
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
968
|
+
/**
|
|
969
|
+
* @type {?}
|
|
970
|
+
* @private
|
|
971
|
+
*/
|
|
972
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
973
|
+
/**
|
|
974
|
+
* @type {?}
|
|
975
|
+
* @private
|
|
976
|
+
*/
|
|
977
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
978
|
+
/** @type {?} */
|
|
979
|
+
RADashboardArea.prototype.userDashboardId;
|
|
980
|
+
/** @type {?} */
|
|
981
|
+
RADashboardArea.prototype.areaKey;
|
|
982
|
+
/** @type {?} */
|
|
983
|
+
RADashboardArea.prototype.globalFilter;
|
|
984
|
+
/** @type {?} */
|
|
985
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
986
|
+
/** @type {?} */
|
|
987
|
+
RADashboardArea.prototype.widgetHeight;
|
|
988
|
+
/** @type {?} */
|
|
989
|
+
RADashboardArea.prototype.widgetWidth;
|
|
990
|
+
/** @type {?} */
|
|
991
|
+
RADashboardArea.prototype.appConfig;
|
|
992
|
+
/**
|
|
993
|
+
* @type {?}
|
|
994
|
+
* @private
|
|
995
|
+
*/
|
|
996
|
+
RADashboardArea.prototype.dashboardService;
|
|
997
|
+
/**
|
|
998
|
+
* @type {?}
|
|
999
|
+
* @private
|
|
1000
|
+
*/
|
|
1001
|
+
RADashboardArea.prototype.ngZone;
|
|
1002
|
+
/**
|
|
1003
|
+
* @type {?}
|
|
1004
|
+
* @private
|
|
1005
|
+
*/
|
|
1006
|
+
RADashboardArea.prototype.ngxService;
|
|
1007
|
+
/**
|
|
1008
|
+
* @type {?}
|
|
1009
|
+
* @private
|
|
1010
|
+
*/
|
|
1011
|
+
RADashboardArea.prototype.translateService;
|
|
1012
|
+
/**
|
|
1013
|
+
* @type {?}
|
|
1014
|
+
* @private
|
|
1015
|
+
*/
|
|
1016
|
+
RADashboardArea.prototype.notifier;
|
|
1017
|
+
}
|
|
747
1018
|
|
|
748
1019
|
/**
|
|
749
1020
|
* @fileoverview added by tsickle
|
|
750
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1021
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
751
1022
|
*/
|
|
752
1023
|
class RAWidgetContainer {
|
|
753
1024
|
/**
|
|
@@ -763,7 +1034,10 @@ class RAWidgetContainer {
|
|
|
763
1034
|
this.translateService = translateService;
|
|
764
1035
|
this.ngZone = ngZone;
|
|
765
1036
|
this.notifier = notifier;
|
|
1037
|
+
this.isWidgetLoaded = false;
|
|
766
1038
|
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
1039
|
+
this.lockStatus = "unlock";
|
|
1040
|
+
this.lockClass = "unlock";
|
|
767
1041
|
this.widgetDeleted = new EventEmitter();
|
|
768
1042
|
}
|
|
769
1043
|
/**
|
|
@@ -889,6 +1163,7 @@ class RAWidgetContainer {
|
|
|
889
1163
|
* @return {?}
|
|
890
1164
|
*/
|
|
891
1165
|
() => {
|
|
1166
|
+
widgetContainer.isWidgetLoaded = true;
|
|
892
1167
|
widgetConfigFilter.appConfig = this.appConfig;
|
|
893
1168
|
widgetConfigFilter.widgetInfo = (/** @type {?} */ ({}));
|
|
894
1169
|
widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
|
|
@@ -912,14 +1187,33 @@ class RAWidgetContainer {
|
|
|
912
1187
|
appConfig: this.appConfig,
|
|
913
1188
|
widgetInfo: widgetInfo
|
|
914
1189
|
}));
|
|
915
|
-
widgetContainerContext.
|
|
1190
|
+
if (widgetContainerContext.isWidgetLoaded) {
|
|
1191
|
+
widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
|
|
1192
|
+
this.lockStatus = widgetContainerContext.widgetElement.loadLockStatus();
|
|
1193
|
+
if (this.lockStatus) {
|
|
1194
|
+
switch (this.lockStatus) {
|
|
1195
|
+
case "lock": {
|
|
1196
|
+
this.lockClass = "fa fa-lock locked";
|
|
1197
|
+
}
|
|
1198
|
+
case "unlock": {
|
|
1199
|
+
this.lockClass = "unlock";
|
|
1200
|
+
}
|
|
1201
|
+
case "partiallock": {
|
|
1202
|
+
this.lockClass = "fa fa-lock partiallocked";
|
|
1203
|
+
}
|
|
1204
|
+
default: {
|
|
1205
|
+
this.lockClass = "unlock";
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
916
1210
|
}
|
|
917
1211
|
}
|
|
918
1212
|
RAWidgetContainer.decorators = [
|
|
919
1213
|
{ type: Component, args: [{
|
|
920
1214
|
selector: 'ra-widget-container',
|
|
921
|
-
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\">\r\n <div class=\"row\">\r\n <div class=\"col-md-11 float-left\" style=\"width:96%;\">{{data.widgetInfo.widgetTitle}}\r\n </div>\r\n <div class=\"col-md-1\">\r\n <div class=\"float-right\">\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content widget-config-item\">\r\n <a (click)=\"editWidget()\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span>{{'Edit'|translate}}</span>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span>{{'Copy'|translate}}</span>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span>{{'Move'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;\"></i>\r\n <span>{{'Delete'|translate}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\">\r\n <div class=\"wcBodyBorder\" #ctlWidget></div>\r\n </div>\r\n</div>",
|
|
922
|
-
styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;padding:7px 7px 0 6px;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px}.wc-mover{cursor:all-scroll}.wcBody{padding:8px}.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:1;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}"]
|
|
1215
|
+
template: "<div class=\"wc-wrapper\">\r\n <div class=\"wcheader\">\r\n <div class=\"col-md-12 wc-mover\">\r\n <div class=\"row\">\r\n <div class=\"col-md-11 float-left\" style=\"width:96%;\">{{data.widgetInfo.widgetTitle}}\r\n </div>\r\n <div class=\"col-md-1\">\r\n <div class=\"float-right\" style=\"display: flex\">\r\n <div><i [ngClass]=\"lockClass\"></i></div>\r\n <div class=\"dropdown\">\r\n <div class=\"dropbtn gearIcon\"> <i class=\"fal fa-cog\"></i></div>\r\n <div class=\"dropdown-content widget-config-item\">\r\n <a (click)=\"editWidget()\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span>{{'Edit'|translate}}</span>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span>{{'Copy'|translate}}</span>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span>{{'Move'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;\"></i>\r\n <span>{{'Delete'|translate}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wcBody\">\r\n <div class=\"wcBodyBorder\" #ctlWidget></div>\r\n </div>\r\n</div>",
|
|
1216
|
+
styles: [".wcheader{width:100%;height:26px;background:#fff;color:#3dcd58;padding:7px 7px 0 6px;font-family:\"Arial Rounded MT\";border-bottom:1px solid;border-color:#fff;font-size:16px}.wc-mover{cursor:all-scroll}.wcBody{padding:8px}.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:1;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}.unlock{display:none}"]
|
|
923
1217
|
}] }
|
|
924
1218
|
];
|
|
925
1219
|
/** @nocollapse */
|
|
@@ -939,11 +1233,78 @@ RAWidgetContainer.propDecorators = {
|
|
|
939
1233
|
appConfig: [{ type: Input, args: ['app-config',] }],
|
|
940
1234
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
941
1235
|
widgetDeleted: [{ type: Output }]
|
|
942
|
-
};
|
|
1236
|
+
};
|
|
1237
|
+
if (false) {
|
|
1238
|
+
/**
|
|
1239
|
+
* @type {?}
|
|
1240
|
+
* @private
|
|
1241
|
+
*/
|
|
1242
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1243
|
+
/**
|
|
1244
|
+
* @type {?}
|
|
1245
|
+
* @private
|
|
1246
|
+
*/
|
|
1247
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1248
|
+
/**
|
|
1249
|
+
* @type {?}
|
|
1250
|
+
* @private
|
|
1251
|
+
*/
|
|
1252
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1253
|
+
/**
|
|
1254
|
+
* @type {?}
|
|
1255
|
+
* @private
|
|
1256
|
+
*/
|
|
1257
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1258
|
+
/** @type {?} */
|
|
1259
|
+
RAWidgetContainer.prototype.lockStatus;
|
|
1260
|
+
/** @type {?} */
|
|
1261
|
+
RAWidgetContainer.prototype.lockClass;
|
|
1262
|
+
/** @type {?} */
|
|
1263
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1264
|
+
/** @type {?} */
|
|
1265
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1266
|
+
/** @type {?} */
|
|
1267
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1268
|
+
/** @type {?} */
|
|
1269
|
+
RAWidgetContainer.prototype.data;
|
|
1270
|
+
/** @type {?} */
|
|
1271
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1272
|
+
/** @type {?} */
|
|
1273
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1274
|
+
/** @type {?} */
|
|
1275
|
+
RAWidgetContainer.prototype.widgetWidth;
|
|
1276
|
+
/** @type {?} */
|
|
1277
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1278
|
+
/**
|
|
1279
|
+
* @type {?}
|
|
1280
|
+
* @private
|
|
1281
|
+
*/
|
|
1282
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1283
|
+
/**
|
|
1284
|
+
* @type {?}
|
|
1285
|
+
* @private
|
|
1286
|
+
*/
|
|
1287
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1288
|
+
/**
|
|
1289
|
+
* @type {?}
|
|
1290
|
+
* @private
|
|
1291
|
+
*/
|
|
1292
|
+
RAWidgetContainer.prototype.translateService;
|
|
1293
|
+
/**
|
|
1294
|
+
* @type {?}
|
|
1295
|
+
* @private
|
|
1296
|
+
*/
|
|
1297
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1298
|
+
/**
|
|
1299
|
+
* @type {?}
|
|
1300
|
+
* @private
|
|
1301
|
+
*/
|
|
1302
|
+
RAWidgetContainer.prototype.notifier;
|
|
1303
|
+
}
|
|
943
1304
|
|
|
944
1305
|
/**
|
|
945
1306
|
* @fileoverview added by tsickle
|
|
946
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1307
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
947
1308
|
*/
|
|
948
1309
|
/** @type {?} */
|
|
949
1310
|
const customNotifierOptions = {
|
|
@@ -989,7 +1350,7 @@ const customNotifierOptions = {
|
|
|
989
1350
|
|
|
990
1351
|
/**
|
|
991
1352
|
* @fileoverview added by tsickle
|
|
992
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1353
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
993
1354
|
*/
|
|
994
1355
|
/** @type {?} */
|
|
995
1356
|
const GridsterConfigService = {
|
|
@@ -1167,7 +1528,7 @@ const GridsterConfigService = {
|
|
|
1167
1528
|
|
|
1168
1529
|
/**
|
|
1169
1530
|
* @fileoverview added by tsickle
|
|
1170
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1531
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1171
1532
|
*/
|
|
1172
1533
|
class GridsterUtils {
|
|
1173
1534
|
/**
|
|
@@ -1303,17 +1664,91 @@ GridsterUtils.decorators = [
|
|
|
1303
1664
|
|
|
1304
1665
|
/**
|
|
1305
1666
|
* @fileoverview added by tsickle
|
|
1306
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1667
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1307
1668
|
*/
|
|
1308
1669
|
/**
|
|
1309
1670
|
* @abstract
|
|
1310
1671
|
*/
|
|
1311
1672
|
class GridsterComponentInterface {
|
|
1673
|
+
}
|
|
1674
|
+
if (false) {
|
|
1675
|
+
/** @type {?} */
|
|
1676
|
+
GridsterComponentInterface.prototype.$options;
|
|
1677
|
+
/** @type {?} */
|
|
1678
|
+
GridsterComponentInterface.prototype.grid;
|
|
1679
|
+
/** @type {?} */
|
|
1680
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
1681
|
+
/** @type {?} */
|
|
1682
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
1683
|
+
/** @type {?} */
|
|
1684
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
1685
|
+
/** @type {?} */
|
|
1686
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
1687
|
+
/** @type {?} */
|
|
1688
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
1689
|
+
/** @type {?} */
|
|
1690
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
1691
|
+
/** @type {?} */
|
|
1692
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
1693
|
+
/** @type {?} */
|
|
1694
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
1695
|
+
/** @type {?} */
|
|
1696
|
+
GridsterComponentInterface.prototype.el;
|
|
1697
|
+
/** @type {?} */
|
|
1698
|
+
GridsterComponentInterface.prototype.renderer;
|
|
1699
|
+
/** @type {?} */
|
|
1700
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
1701
|
+
/** @type {?} */
|
|
1702
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
1703
|
+
/** @type {?} */
|
|
1704
|
+
GridsterComponentInterface.prototype.options;
|
|
1705
|
+
/** @type {?} */
|
|
1706
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
1707
|
+
/** @type {?} */
|
|
1708
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
1709
|
+
/** @type {?} */
|
|
1710
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
1711
|
+
/** @type {?} */
|
|
1712
|
+
GridsterComponentInterface.prototype.addItem;
|
|
1713
|
+
/** @type {?} */
|
|
1714
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
1715
|
+
/** @type {?} */
|
|
1716
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
1717
|
+
/** @type {?} */
|
|
1718
|
+
GridsterComponentInterface.prototype.mobile;
|
|
1719
|
+
/** @type {?} */
|
|
1720
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
1721
|
+
/** @type {?} */
|
|
1722
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
1723
|
+
/** @type {?} */
|
|
1724
|
+
GridsterComponentInterface.prototype.columns;
|
|
1725
|
+
/** @type {?} */
|
|
1726
|
+
GridsterComponentInterface.prototype.rows;
|
|
1727
|
+
/** @type {?} */
|
|
1728
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
1729
|
+
/** @type {?} */
|
|
1730
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
1731
|
+
/** @type {?} */
|
|
1732
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
1733
|
+
/** @type {?} */
|
|
1734
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
1735
|
+
/** @type {?} */
|
|
1736
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
1737
|
+
/** @type {?} */
|
|
1738
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
1739
|
+
/** @type {?} */
|
|
1740
|
+
GridsterComponentInterface.prototype.compact;
|
|
1741
|
+
/** @type {?} */
|
|
1742
|
+
GridsterComponentInterface.prototype.zone;
|
|
1743
|
+
/** @type {?} */
|
|
1744
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
1745
|
+
/** @type {?} */
|
|
1746
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
1312
1747
|
}
|
|
1313
1748
|
|
|
1314
1749
|
/**
|
|
1315
1750
|
* @fileoverview added by tsickle
|
|
1316
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1751
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1317
1752
|
*/
|
|
1318
1753
|
class GridsterEmptyCell {
|
|
1319
1754
|
/**
|
|
@@ -1590,11 +2025,44 @@ GridsterEmptyCell.decorators = [
|
|
|
1590
2025
|
/** @nocollapse */
|
|
1591
2026
|
GridsterEmptyCell.ctorParameters = () => [
|
|
1592
2027
|
{ type: GridsterComponentInterface }
|
|
1593
|
-
];
|
|
2028
|
+
];
|
|
2029
|
+
if (false) {
|
|
2030
|
+
/** @type {?} */
|
|
2031
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2032
|
+
/** @type {?} */
|
|
2033
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2034
|
+
/** @type {?} */
|
|
2035
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2036
|
+
/** @type {?} */
|
|
2037
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2038
|
+
/** @type {?} */
|
|
2039
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2040
|
+
/** @type {?} */
|
|
2041
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2042
|
+
/** @type {?} */
|
|
2043
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2044
|
+
/** @type {?} */
|
|
2045
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2046
|
+
/** @type {?} */
|
|
2047
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2048
|
+
/** @type {?} */
|
|
2049
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2050
|
+
/** @type {?} */
|
|
2051
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2052
|
+
/** @type {?} */
|
|
2053
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2054
|
+
/** @type {?} */
|
|
2055
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2056
|
+
/**
|
|
2057
|
+
* @type {?}
|
|
2058
|
+
* @private
|
|
2059
|
+
*/
|
|
2060
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2061
|
+
}
|
|
1594
2062
|
|
|
1595
2063
|
/**
|
|
1596
2064
|
* @fileoverview added by tsickle
|
|
1597
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2065
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1598
2066
|
*/
|
|
1599
2067
|
class GridsterCompact {
|
|
1600
2068
|
/**
|
|
@@ -1803,11 +2271,18 @@ GridsterCompact.decorators = [
|
|
|
1803
2271
|
/** @nocollapse */
|
|
1804
2272
|
GridsterCompact.ctorParameters = () => [
|
|
1805
2273
|
{ type: GridsterComponentInterface }
|
|
1806
|
-
];
|
|
2274
|
+
];
|
|
2275
|
+
if (false) {
|
|
2276
|
+
/**
|
|
2277
|
+
* @type {?}
|
|
2278
|
+
* @private
|
|
2279
|
+
*/
|
|
2280
|
+
GridsterCompact.prototype.gridster;
|
|
2281
|
+
}
|
|
1807
2282
|
|
|
1808
2283
|
/**
|
|
1809
2284
|
* @fileoverview added by tsickle
|
|
1810
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2285
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1811
2286
|
*/
|
|
1812
2287
|
class GridsterRenderer {
|
|
1813
2288
|
/**
|
|
@@ -2070,11 +2545,18 @@ GridsterRenderer.decorators = [
|
|
|
2070
2545
|
/** @nocollapse */
|
|
2071
2546
|
GridsterRenderer.ctorParameters = () => [
|
|
2072
2547
|
{ type: GridsterComponentInterface }
|
|
2073
|
-
];
|
|
2548
|
+
];
|
|
2549
|
+
if (false) {
|
|
2550
|
+
/**
|
|
2551
|
+
* @type {?}
|
|
2552
|
+
* @private
|
|
2553
|
+
*/
|
|
2554
|
+
GridsterRenderer.prototype.gridster;
|
|
2555
|
+
}
|
|
2074
2556
|
|
|
2075
2557
|
/**
|
|
2076
2558
|
* @fileoverview added by tsickle
|
|
2077
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2559
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2078
2560
|
*/
|
|
2079
2561
|
class GridsterComponent {
|
|
2080
2562
|
/**
|
|
@@ -2208,6 +2690,17 @@ class GridsterComponent {
|
|
|
2208
2690
|
if (this.options.destroyCallback) {
|
|
2209
2691
|
this.options.destroyCallback(this);
|
|
2210
2692
|
}
|
|
2693
|
+
//if (this.options.api) {
|
|
2694
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
2695
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
2696
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
2697
|
+
*/
|
|
2698
|
+
if (false) {
|
|
2699
|
+
this.options.api.resize = undefined;
|
|
2700
|
+
this.options.api.optionsChanged = undefined;
|
|
2701
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
2702
|
+
this.options.api = undefined;
|
|
2703
|
+
}
|
|
2211
2704
|
this.emptyCell.destroy();
|
|
2212
2705
|
delete this.emptyCell;
|
|
2213
2706
|
this.compact.destroy();
|
|
@@ -2703,21 +3196,109 @@ GridsterComponent.ctorParameters = () => [
|
|
|
2703
3196
|
];
|
|
2704
3197
|
GridsterComponent.propDecorators = {
|
|
2705
3198
|
options: [{ type: Input }]
|
|
2706
|
-
};
|
|
3199
|
+
};
|
|
3200
|
+
if (false) {
|
|
3201
|
+
/** @type {?} */
|
|
3202
|
+
GridsterComponent.prototype.options;
|
|
3203
|
+
/** @type {?} */
|
|
3204
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3205
|
+
/** @type {?} */
|
|
3206
|
+
GridsterComponent.prototype.movingItem;
|
|
3207
|
+
/** @type {?} */
|
|
3208
|
+
GridsterComponent.prototype.previewStyle;
|
|
3209
|
+
/** @type {?} */
|
|
3210
|
+
GridsterComponent.prototype.el;
|
|
3211
|
+
/** @type {?} */
|
|
3212
|
+
GridsterComponent.prototype.$options;
|
|
3213
|
+
/** @type {?} */
|
|
3214
|
+
GridsterComponent.prototype.mobile;
|
|
3215
|
+
/** @type {?} */
|
|
3216
|
+
GridsterComponent.prototype.curWidth;
|
|
3217
|
+
/** @type {?} */
|
|
3218
|
+
GridsterComponent.prototype.curHeight;
|
|
3219
|
+
/** @type {?} */
|
|
3220
|
+
GridsterComponent.prototype.grid;
|
|
3221
|
+
/** @type {?} */
|
|
3222
|
+
GridsterComponent.prototype.columns;
|
|
3223
|
+
/** @type {?} */
|
|
3224
|
+
GridsterComponent.prototype.rows;
|
|
3225
|
+
/** @type {?} */
|
|
3226
|
+
GridsterComponent.prototype.curColWidth;
|
|
3227
|
+
/** @type {?} */
|
|
3228
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3229
|
+
/** @type {?} */
|
|
3230
|
+
GridsterComponent.prototype.gridColumns;
|
|
3231
|
+
/** @type {?} */
|
|
3232
|
+
GridsterComponent.prototype.gridRows;
|
|
3233
|
+
/** @type {?} */
|
|
3234
|
+
GridsterComponent.prototype.windowResize;
|
|
3235
|
+
/** @type {?} */
|
|
3236
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3237
|
+
/** @type {?} */
|
|
3238
|
+
GridsterComponent.prototype.emptyCell;
|
|
3239
|
+
/** @type {?} */
|
|
3240
|
+
GridsterComponent.prototype.compact;
|
|
3241
|
+
/** @type {?} */
|
|
3242
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3243
|
+
/** @type {?} */
|
|
3244
|
+
GridsterComponent.prototype.renderer;
|
|
3245
|
+
/** @type {?} */
|
|
3246
|
+
GridsterComponent.prototype.cdRef;
|
|
3247
|
+
/** @type {?} */
|
|
3248
|
+
GridsterComponent.prototype.zone;
|
|
3249
|
+
}
|
|
2707
3250
|
|
|
2708
3251
|
/**
|
|
2709
3252
|
* @fileoverview added by tsickle
|
|
2710
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3253
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2711
3254
|
*/
|
|
2712
3255
|
/**
|
|
2713
3256
|
* @abstract
|
|
2714
3257
|
*/
|
|
2715
3258
|
class GridsterItemComponentInterface {
|
|
3259
|
+
}
|
|
3260
|
+
if (false) {
|
|
3261
|
+
/** @type {?} */
|
|
3262
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3263
|
+
/** @type {?} */
|
|
3264
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3265
|
+
/** @type {?} */
|
|
3266
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3267
|
+
/** @type {?} */
|
|
3268
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3269
|
+
/** @type {?} */
|
|
3270
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3271
|
+
/** @type {?} */
|
|
3272
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3273
|
+
/** @type {?} */
|
|
3274
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3275
|
+
/** @type {?} */
|
|
3276
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3277
|
+
/** @type {?} */
|
|
3278
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3279
|
+
/** @type {?} */
|
|
3280
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3281
|
+
/** @type {?} */
|
|
3282
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3283
|
+
/** @type {?} */
|
|
3284
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3285
|
+
/** @type {?} */
|
|
3286
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3287
|
+
/** @type {?} */
|
|
3288
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3289
|
+
/** @type {?} */
|
|
3290
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3291
|
+
/** @type {?} */
|
|
3292
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3293
|
+
/** @type {?} */
|
|
3294
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3295
|
+
/** @type {?} */
|
|
3296
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
2716
3297
|
}
|
|
2717
3298
|
|
|
2718
3299
|
/**
|
|
2719
3300
|
* @fileoverview added by tsickle
|
|
2720
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3301
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2721
3302
|
*/
|
|
2722
3303
|
class GridsterSwap {
|
|
2723
3304
|
/**
|
|
@@ -2828,11 +3409,28 @@ GridsterSwap.decorators = [
|
|
|
2828
3409
|
/** @nocollapse */
|
|
2829
3410
|
GridsterSwap.ctorParameters = () => [
|
|
2830
3411
|
{ type: GridsterItemComponentInterface }
|
|
2831
|
-
];
|
|
3412
|
+
];
|
|
3413
|
+
if (false) {
|
|
3414
|
+
/**
|
|
3415
|
+
* @type {?}
|
|
3416
|
+
* @private
|
|
3417
|
+
*/
|
|
3418
|
+
GridsterSwap.prototype.swapedItem;
|
|
3419
|
+
/**
|
|
3420
|
+
* @type {?}
|
|
3421
|
+
* @private
|
|
3422
|
+
*/
|
|
3423
|
+
GridsterSwap.prototype.gridsterItem;
|
|
3424
|
+
/**
|
|
3425
|
+
* @type {?}
|
|
3426
|
+
* @private
|
|
3427
|
+
*/
|
|
3428
|
+
GridsterSwap.prototype.gridster;
|
|
3429
|
+
}
|
|
2832
3430
|
|
|
2833
3431
|
/**
|
|
2834
3432
|
* @fileoverview added by tsickle
|
|
2835
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3433
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2836
3434
|
*/
|
|
2837
3435
|
/** @type {?} */
|
|
2838
3436
|
let scrollSensitivity;
|
|
@@ -3027,7 +3625,7 @@ function cancelN() {
|
|
|
3027
3625
|
|
|
3028
3626
|
/**
|
|
3029
3627
|
* @fileoverview added by tsickle
|
|
3030
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3628
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3031
3629
|
*/
|
|
3032
3630
|
class GridsterPush {
|
|
3033
3631
|
/**
|
|
@@ -3438,11 +4036,61 @@ GridsterPush.decorators = [
|
|
|
3438
4036
|
/** @nocollapse */
|
|
3439
4037
|
GridsterPush.ctorParameters = () => [
|
|
3440
4038
|
{ type: GridsterItemComponentInterface }
|
|
3441
|
-
];
|
|
4039
|
+
];
|
|
4040
|
+
if (false) {
|
|
4041
|
+
/** @type {?} */
|
|
4042
|
+
GridsterPush.prototype.fromSouth;
|
|
4043
|
+
/** @type {?} */
|
|
4044
|
+
GridsterPush.prototype.fromNorth;
|
|
4045
|
+
/** @type {?} */
|
|
4046
|
+
GridsterPush.prototype.fromEast;
|
|
4047
|
+
/** @type {?} */
|
|
4048
|
+
GridsterPush.prototype.fromWest;
|
|
4049
|
+
/**
|
|
4050
|
+
* @type {?}
|
|
4051
|
+
* @private
|
|
4052
|
+
*/
|
|
4053
|
+
GridsterPush.prototype.pushedItems;
|
|
4054
|
+
/**
|
|
4055
|
+
* @type {?}
|
|
4056
|
+
* @private
|
|
4057
|
+
*/
|
|
4058
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4059
|
+
/**
|
|
4060
|
+
* @type {?}
|
|
4061
|
+
* @private
|
|
4062
|
+
*/
|
|
4063
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4064
|
+
/**
|
|
4065
|
+
* @type {?}
|
|
4066
|
+
* @private
|
|
4067
|
+
*/
|
|
4068
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4069
|
+
/**
|
|
4070
|
+
* @type {?}
|
|
4071
|
+
* @private
|
|
4072
|
+
*/
|
|
4073
|
+
GridsterPush.prototype.gridsterItem;
|
|
4074
|
+
/**
|
|
4075
|
+
* @type {?}
|
|
4076
|
+
* @private
|
|
4077
|
+
*/
|
|
4078
|
+
GridsterPush.prototype.gridster;
|
|
4079
|
+
/**
|
|
4080
|
+
* @type {?}
|
|
4081
|
+
* @private
|
|
4082
|
+
*/
|
|
4083
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4084
|
+
/**
|
|
4085
|
+
* @type {?}
|
|
4086
|
+
* @private
|
|
4087
|
+
*/
|
|
4088
|
+
GridsterPush.prototype.tryPattern;
|
|
4089
|
+
}
|
|
3442
4090
|
|
|
3443
4091
|
/**
|
|
3444
4092
|
* @fileoverview added by tsickle
|
|
3445
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4093
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3446
4094
|
*/
|
|
3447
4095
|
class GridsterDraggable {
|
|
3448
4096
|
/**
|
|
@@ -3720,6 +4368,10 @@ class GridsterDraggable {
|
|
|
3720
4368
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
3721
4369
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
3722
4370
|
}
|
|
4371
|
+
else {
|
|
4372
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
4373
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
4374
|
+
}
|
|
3723
4375
|
return this.gridsterItem.$item;
|
|
3724
4376
|
}
|
|
3725
4377
|
/**
|
|
@@ -3864,11 +4516,84 @@ GridsterDraggable.ctorParameters = () => [
|
|
|
3864
4516
|
{ type: GridsterItemComponentInterface },
|
|
3865
4517
|
{ type: GridsterComponentInterface },
|
|
3866
4518
|
{ type: NgZone }
|
|
3867
|
-
];
|
|
4519
|
+
];
|
|
4520
|
+
if (false) {
|
|
4521
|
+
/** @type {?} */
|
|
4522
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
4523
|
+
/** @type {?} */
|
|
4524
|
+
GridsterDraggable.prototype.gridster;
|
|
4525
|
+
/** @type {?} */
|
|
4526
|
+
GridsterDraggable.prototype.lastMouse;
|
|
4527
|
+
/** @type {?} */
|
|
4528
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
4529
|
+
/** @type {?} */
|
|
4530
|
+
GridsterDraggable.prototype.offsetTop;
|
|
4531
|
+
/** @type {?} */
|
|
4532
|
+
GridsterDraggable.prototype.margin;
|
|
4533
|
+
/** @type {?} */
|
|
4534
|
+
GridsterDraggable.prototype.diffTop;
|
|
4535
|
+
/** @type {?} */
|
|
4536
|
+
GridsterDraggable.prototype.diffLeft;
|
|
4537
|
+
/** @type {?} */
|
|
4538
|
+
GridsterDraggable.prototype.top;
|
|
4539
|
+
/** @type {?} */
|
|
4540
|
+
GridsterDraggable.prototype.left;
|
|
4541
|
+
/** @type {?} */
|
|
4542
|
+
GridsterDraggable.prototype.height;
|
|
4543
|
+
/** @type {?} */
|
|
4544
|
+
GridsterDraggable.prototype.width;
|
|
4545
|
+
/** @type {?} */
|
|
4546
|
+
GridsterDraggable.prototype.positionX;
|
|
4547
|
+
/** @type {?} */
|
|
4548
|
+
GridsterDraggable.prototype.positionY;
|
|
4549
|
+
/** @type {?} */
|
|
4550
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
4551
|
+
/** @type {?} */
|
|
4552
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
4553
|
+
/** @type {?} */
|
|
4554
|
+
GridsterDraggable.prototype.enabled;
|
|
4555
|
+
/** @type {?} */
|
|
4556
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
4557
|
+
/** @type {?} */
|
|
4558
|
+
GridsterDraggable.prototype.dragFunction;
|
|
4559
|
+
/** @type {?} */
|
|
4560
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
4561
|
+
/** @type {?} */
|
|
4562
|
+
GridsterDraggable.prototype.mousemove;
|
|
4563
|
+
/** @type {?} */
|
|
4564
|
+
GridsterDraggable.prototype.mouseup;
|
|
4565
|
+
/** @type {?} */
|
|
4566
|
+
GridsterDraggable.prototype.mouseleave;
|
|
4567
|
+
/** @type {?} */
|
|
4568
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
4569
|
+
/** @type {?} */
|
|
4570
|
+
GridsterDraggable.prototype.touchmove;
|
|
4571
|
+
/** @type {?} */
|
|
4572
|
+
GridsterDraggable.prototype.touchend;
|
|
4573
|
+
/** @type {?} */
|
|
4574
|
+
GridsterDraggable.prototype.touchcancel;
|
|
4575
|
+
/** @type {?} */
|
|
4576
|
+
GridsterDraggable.prototype.mousedown;
|
|
4577
|
+
/** @type {?} */
|
|
4578
|
+
GridsterDraggable.prototype.touchstart;
|
|
4579
|
+
/** @type {?} */
|
|
4580
|
+
GridsterDraggable.prototype.push;
|
|
4581
|
+
/** @type {?} */
|
|
4582
|
+
GridsterDraggable.prototype.swap;
|
|
4583
|
+
/** @type {?} */
|
|
4584
|
+
GridsterDraggable.prototype.path;
|
|
4585
|
+
/** @type {?} */
|
|
4586
|
+
GridsterDraggable.prototype.collision;
|
|
4587
|
+
/**
|
|
4588
|
+
* @type {?}
|
|
4589
|
+
* @private
|
|
4590
|
+
*/
|
|
4591
|
+
GridsterDraggable.prototype.zone;
|
|
4592
|
+
}
|
|
3868
4593
|
|
|
3869
4594
|
/**
|
|
3870
4595
|
* @fileoverview added by tsickle
|
|
3871
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4596
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3872
4597
|
*/
|
|
3873
4598
|
class GridsterPushResize {
|
|
3874
4599
|
/**
|
|
@@ -4184,11 +4909,46 @@ GridsterPushResize.decorators = [
|
|
|
4184
4909
|
/** @nocollapse */
|
|
4185
4910
|
GridsterPushResize.ctorParameters = () => [
|
|
4186
4911
|
{ type: GridsterItemComponentInterface }
|
|
4187
|
-
];
|
|
4912
|
+
];
|
|
4913
|
+
if (false) {
|
|
4914
|
+
/** @type {?} */
|
|
4915
|
+
GridsterPushResize.prototype.fromSouth;
|
|
4916
|
+
/** @type {?} */
|
|
4917
|
+
GridsterPushResize.prototype.fromNorth;
|
|
4918
|
+
/** @type {?} */
|
|
4919
|
+
GridsterPushResize.prototype.fromEast;
|
|
4920
|
+
/** @type {?} */
|
|
4921
|
+
GridsterPushResize.prototype.fromWest;
|
|
4922
|
+
/**
|
|
4923
|
+
* @type {?}
|
|
4924
|
+
* @private
|
|
4925
|
+
*/
|
|
4926
|
+
GridsterPushResize.prototype.pushedItems;
|
|
4927
|
+
/**
|
|
4928
|
+
* @type {?}
|
|
4929
|
+
* @private
|
|
4930
|
+
*/
|
|
4931
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
4932
|
+
/**
|
|
4933
|
+
* @type {?}
|
|
4934
|
+
* @private
|
|
4935
|
+
*/
|
|
4936
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
4937
|
+
/**
|
|
4938
|
+
* @type {?}
|
|
4939
|
+
* @private
|
|
4940
|
+
*/
|
|
4941
|
+
GridsterPushResize.prototype.gridster;
|
|
4942
|
+
/**
|
|
4943
|
+
* @type {?}
|
|
4944
|
+
* @private
|
|
4945
|
+
*/
|
|
4946
|
+
GridsterPushResize.prototype.tryPattern;
|
|
4947
|
+
}
|
|
4188
4948
|
|
|
4189
4949
|
/**
|
|
4190
4950
|
* @fileoverview added by tsickle
|
|
4191
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4951
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4192
4952
|
*/
|
|
4193
4953
|
class GridsterResizable {
|
|
4194
4954
|
/**
|
|
@@ -4654,11 +5414,86 @@ GridsterResizable.ctorParameters = () => [
|
|
|
4654
5414
|
{ type: GridsterItemComponentInterface },
|
|
4655
5415
|
{ type: GridsterComponentInterface },
|
|
4656
5416
|
{ type: NgZone }
|
|
4657
|
-
];
|
|
5417
|
+
];
|
|
5418
|
+
if (false) {
|
|
5419
|
+
/** @type {?} */
|
|
5420
|
+
GridsterResizable.prototype.gridsterItem;
|
|
5421
|
+
/** @type {?} */
|
|
5422
|
+
GridsterResizable.prototype.gridster;
|
|
5423
|
+
/** @type {?} */
|
|
5424
|
+
GridsterResizable.prototype.lastMouse;
|
|
5425
|
+
/** @type {?} */
|
|
5426
|
+
GridsterResizable.prototype.itemBackup;
|
|
5427
|
+
/** @type {?} */
|
|
5428
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
5429
|
+
/** @type {?} */
|
|
5430
|
+
GridsterResizable.prototype.directionFunction;
|
|
5431
|
+
/** @type {?} */
|
|
5432
|
+
GridsterResizable.prototype.dragFunction;
|
|
5433
|
+
/** @type {?} */
|
|
5434
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
5435
|
+
/** @type {?} */
|
|
5436
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
5437
|
+
/** @type {?} */
|
|
5438
|
+
GridsterResizable.prototype.mousemove;
|
|
5439
|
+
/** @type {?} */
|
|
5440
|
+
GridsterResizable.prototype.mouseup;
|
|
5441
|
+
/** @type {?} */
|
|
5442
|
+
GridsterResizable.prototype.mouseleave;
|
|
5443
|
+
/** @type {?} */
|
|
5444
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
5445
|
+
/** @type {?} */
|
|
5446
|
+
GridsterResizable.prototype.touchmove;
|
|
5447
|
+
/** @type {?} */
|
|
5448
|
+
GridsterResizable.prototype.touchend;
|
|
5449
|
+
/** @type {?} */
|
|
5450
|
+
GridsterResizable.prototype.touchcancel;
|
|
5451
|
+
/** @type {?} */
|
|
5452
|
+
GridsterResizable.prototype.push;
|
|
5453
|
+
/** @type {?} */
|
|
5454
|
+
GridsterResizable.prototype.pushResize;
|
|
5455
|
+
/** @type {?} */
|
|
5456
|
+
GridsterResizable.prototype.minHeight;
|
|
5457
|
+
/** @type {?} */
|
|
5458
|
+
GridsterResizable.prototype.minWidth;
|
|
5459
|
+
/** @type {?} */
|
|
5460
|
+
GridsterResizable.prototype.offsetTop;
|
|
5461
|
+
/** @type {?} */
|
|
5462
|
+
GridsterResizable.prototype.offsetLeft;
|
|
5463
|
+
/** @type {?} */
|
|
5464
|
+
GridsterResizable.prototype.diffTop;
|
|
5465
|
+
/** @type {?} */
|
|
5466
|
+
GridsterResizable.prototype.diffLeft;
|
|
5467
|
+
/** @type {?} */
|
|
5468
|
+
GridsterResizable.prototype.diffRight;
|
|
5469
|
+
/** @type {?} */
|
|
5470
|
+
GridsterResizable.prototype.diffBottom;
|
|
5471
|
+
/** @type {?} */
|
|
5472
|
+
GridsterResizable.prototype.margin;
|
|
5473
|
+
/** @type {?} */
|
|
5474
|
+
GridsterResizable.prototype.top;
|
|
5475
|
+
/** @type {?} */
|
|
5476
|
+
GridsterResizable.prototype.left;
|
|
5477
|
+
/** @type {?} */
|
|
5478
|
+
GridsterResizable.prototype.bottom;
|
|
5479
|
+
/** @type {?} */
|
|
5480
|
+
GridsterResizable.prototype.right;
|
|
5481
|
+
/** @type {?} */
|
|
5482
|
+
GridsterResizable.prototype.width;
|
|
5483
|
+
/** @type {?} */
|
|
5484
|
+
GridsterResizable.prototype.height;
|
|
5485
|
+
/** @type {?} */
|
|
5486
|
+
GridsterResizable.prototype.newPosition;
|
|
5487
|
+
/**
|
|
5488
|
+
* @type {?}
|
|
5489
|
+
* @private
|
|
5490
|
+
*/
|
|
5491
|
+
GridsterResizable.prototype.zone;
|
|
5492
|
+
}
|
|
4658
5493
|
|
|
4659
5494
|
/**
|
|
4660
5495
|
* @fileoverview added by tsickle
|
|
4661
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5496
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4662
5497
|
*/
|
|
4663
5498
|
class GridsterItemComponent {
|
|
4664
5499
|
/**
|
|
@@ -4829,11 +5664,44 @@ GridsterItemComponent.ctorParameters = () => [
|
|
|
4829
5664
|
];
|
|
4830
5665
|
GridsterItemComponent.propDecorators = {
|
|
4831
5666
|
item: [{ type: Input }]
|
|
4832
|
-
};
|
|
5667
|
+
};
|
|
5668
|
+
if (false) {
|
|
5669
|
+
/** @type {?} */
|
|
5670
|
+
GridsterItemComponent.prototype.item;
|
|
5671
|
+
/** @type {?} */
|
|
5672
|
+
GridsterItemComponent.prototype.$item;
|
|
5673
|
+
/** @type {?} */
|
|
5674
|
+
GridsterItemComponent.prototype.el;
|
|
5675
|
+
/** @type {?} */
|
|
5676
|
+
GridsterItemComponent.prototype.gridster;
|
|
5677
|
+
/** @type {?} */
|
|
5678
|
+
GridsterItemComponent.prototype.top;
|
|
5679
|
+
/** @type {?} */
|
|
5680
|
+
GridsterItemComponent.prototype.left;
|
|
5681
|
+
/** @type {?} */
|
|
5682
|
+
GridsterItemComponent.prototype.width;
|
|
5683
|
+
/** @type {?} */
|
|
5684
|
+
GridsterItemComponent.prototype.height;
|
|
5685
|
+
/** @type {?} */
|
|
5686
|
+
GridsterItemComponent.prototype.drag;
|
|
5687
|
+
/** @type {?} */
|
|
5688
|
+
GridsterItemComponent.prototype.resize;
|
|
5689
|
+
/** @type {?} */
|
|
5690
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
5691
|
+
/** @type {?} */
|
|
5692
|
+
GridsterItemComponent.prototype.init;
|
|
5693
|
+
/** @type {?} */
|
|
5694
|
+
GridsterItemComponent.prototype.renderer;
|
|
5695
|
+
/**
|
|
5696
|
+
* @type {?}
|
|
5697
|
+
* @private
|
|
5698
|
+
*/
|
|
5699
|
+
GridsterItemComponent.prototype.zone;
|
|
5700
|
+
}
|
|
4833
5701
|
|
|
4834
5702
|
/**
|
|
4835
5703
|
* @fileoverview added by tsickle
|
|
4836
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5704
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4837
5705
|
*/
|
|
4838
5706
|
class GridsterPreviewComponent {
|
|
4839
5707
|
/**
|
|
@@ -4885,11 +5753,19 @@ GridsterPreviewComponent.ctorParameters = () => [
|
|
|
4885
5753
|
{ type: ElementRef },
|
|
4886
5754
|
{ type: GridsterComponent, decorators: [{ type: Host }] },
|
|
4887
5755
|
{ type: Renderer2 }
|
|
4888
|
-
];
|
|
5756
|
+
];
|
|
5757
|
+
if (false) {
|
|
5758
|
+
/** @type {?} */
|
|
5759
|
+
GridsterPreviewComponent.prototype.el;
|
|
5760
|
+
/** @type {?} */
|
|
5761
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
5762
|
+
/** @type {?} */
|
|
5763
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
5764
|
+
}
|
|
4889
5765
|
|
|
4890
5766
|
/**
|
|
4891
5767
|
* @fileoverview added by tsickle
|
|
4892
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5768
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4893
5769
|
*/
|
|
4894
5770
|
class GridsterModule {
|
|
4895
5771
|
}
|
|
@@ -4911,7 +5787,7 @@ GridsterModule.decorators = [
|
|
|
4911
5787
|
|
|
4912
5788
|
/**
|
|
4913
5789
|
* @fileoverview added by tsickle
|
|
4914
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5790
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4915
5791
|
*/
|
|
4916
5792
|
class DashboardFrameworkModule {
|
|
4917
5793
|
}
|
|
@@ -4940,7 +5816,7 @@ DashboardFrameworkModule.decorators = [
|
|
|
4940
5816
|
|
|
4941
5817
|
/**
|
|
4942
5818
|
* @fileoverview added by tsickle
|
|
4943
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5819
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4944
5820
|
*/
|
|
4945
5821
|
/**
|
|
4946
5822
|
* @abstract
|
|
@@ -4982,11 +5858,35 @@ RaBaseDashboardTemplate.propDecorators = {
|
|
|
4982
5858
|
dashboardId: [{ type: Input, args: ['dashboard-id',] }],
|
|
4983
5859
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
4984
5860
|
initialize: [{ type: Input }]
|
|
4985
|
-
};
|
|
5861
|
+
};
|
|
5862
|
+
if (false) {
|
|
5863
|
+
/** @type {?} */
|
|
5864
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
5865
|
+
/** @type {?} */
|
|
5866
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
5867
|
+
/** @type {?} */
|
|
5868
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
5869
|
+
/** @type {?} */
|
|
5870
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
5871
|
+
/** @type {?} */
|
|
5872
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
5873
|
+
/** @type {?} */
|
|
5874
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
5875
|
+
/**
|
|
5876
|
+
* @type {?}
|
|
5877
|
+
* @private
|
|
5878
|
+
*/
|
|
5879
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
5880
|
+
/**
|
|
5881
|
+
* @abstract
|
|
5882
|
+
* @return {?}
|
|
5883
|
+
*/
|
|
5884
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
5885
|
+
}
|
|
4986
5886
|
|
|
4987
5887
|
/**
|
|
4988
5888
|
* @fileoverview added by tsickle
|
|
4989
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5889
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4990
5890
|
*/
|
|
4991
5891
|
/**
|
|
4992
5892
|
* @abstract
|
|
@@ -5004,7 +5904,29 @@ class RaBaseDashboardFilter {
|
|
|
5004
5904
|
}
|
|
5005
5905
|
RaBaseDashboardFilter.propDecorators = {
|
|
5006
5906
|
getAllFilterConfig: [{ type: Input }]
|
|
5007
|
-
};
|
|
5907
|
+
};
|
|
5908
|
+
if (false) {
|
|
5909
|
+
/**
|
|
5910
|
+
* @type {?}
|
|
5911
|
+
* @private
|
|
5912
|
+
*/
|
|
5913
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
5914
|
+
/**
|
|
5915
|
+
* @abstract
|
|
5916
|
+
* @return {?}
|
|
5917
|
+
*/
|
|
5918
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
5919
|
+
}
|
|
5920
|
+
|
|
5921
|
+
/**
|
|
5922
|
+
* @fileoverview added by tsickle
|
|
5923
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5924
|
+
*/
|
|
5925
|
+
|
|
5926
|
+
/**
|
|
5927
|
+
* @fileoverview added by tsickle
|
|
5928
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5929
|
+
*/
|
|
5008
5930
|
|
|
5009
5931
|
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 };
|
|
5010
5932
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|