@schneideress/dashboardframework 0.0.32 → 0.0.34
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 +1145 -62
- 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 +17 -6
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +21 -6
- 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 +15 -4
- package/esm2015/lib/ra.dashboard.service.js +1 -1
- package/esm2015/lib/ra.event.enum.js +4 -2
- 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 +18 -6
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +24 -6
- package/esm5/lib/ra.base.dashboard.filter.js +1 -1
- package/esm5/lib/ra.base.dashboard.template.js +1 -1
- package/esm5/lib/ra.dashbard.event.bus.js +1 -1
- package/esm5/lib/ra.dashboard.module.js +15 -4
- package/esm5/lib/ra.dashboard.service.js +1 -1
- package/esm5/lib/ra.event.enum.js +4 -2
- 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 +988 -55
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +995 -58
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +4 -1
- package/lib/ra.event.enum.d.ts +3 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -7,11 +7,12 @@ import { NotifierService, NotifierModule } from 'angular-notifier';
|
|
|
7
7
|
import { TranslateService, TranslateModule } from '@schneideress/ess-base';
|
|
8
8
|
import { BrowserModule } from '@angular/platform-browser';
|
|
9
9
|
import { HttpClientModule } from '@angular/common/http';
|
|
10
|
+
import { PerfectScrollbarModule, PERFECT_SCROLLBAR_CONFIG } from 'ngx-perfect-scrollbar';
|
|
10
11
|
import { CommonModule } from '@angular/common';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* @fileoverview added by tsickle
|
|
14
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
15
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
15
16
|
*/
|
|
16
17
|
class RaDashboardService extends BaseService {
|
|
17
18
|
/**
|
|
@@ -140,11 +141,18 @@ RaDashboardService.decorators = [
|
|
|
140
141
|
RaDashboardService.ctorParameters = () => [
|
|
141
142
|
{ type: Injector }
|
|
142
143
|
];
|
|
143
|
-
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
144
|
+
/** @nocollapse */ RaDashboardService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RaDashboardService_Factory() { return new RaDashboardService(ɵɵinject(INJECTOR)); }, token: RaDashboardService, providedIn: "root" });
|
|
145
|
+
if (false) {
|
|
146
|
+
/**
|
|
147
|
+
* @type {?}
|
|
148
|
+
* @private
|
|
149
|
+
*/
|
|
150
|
+
RaDashboardService.prototype.loadedScripts;
|
|
151
|
+
}
|
|
144
152
|
|
|
145
153
|
/**
|
|
146
154
|
* @fileoverview added by tsickle
|
|
147
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
155
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
148
156
|
*/
|
|
149
157
|
class RADashboardEventBus {
|
|
150
158
|
constructor() {
|
|
@@ -214,11 +222,18 @@ RADashboardEventBus.decorators = [
|
|
|
214
222
|
providedIn: 'root'
|
|
215
223
|
},] }
|
|
216
224
|
];
|
|
217
|
-
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
225
|
+
/** @nocollapse */ RADashboardEventBus.ngInjectableDef = ɵɵdefineInjectable({ factory: function RADashboardEventBus_Factory() { return new RADashboardEventBus(); }, token: RADashboardEventBus, providedIn: "root" });
|
|
226
|
+
if (false) {
|
|
227
|
+
/**
|
|
228
|
+
* @type {?}
|
|
229
|
+
* @private
|
|
230
|
+
*/
|
|
231
|
+
RADashboardEventBus.prototype.eventQueue;
|
|
232
|
+
}
|
|
218
233
|
|
|
219
234
|
/**
|
|
220
235
|
* @fileoverview added by tsickle
|
|
221
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
236
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
222
237
|
*/
|
|
223
238
|
/** @enum {string} */
|
|
224
239
|
const RAEvent = {
|
|
@@ -254,6 +269,8 @@ const RAEvent = {
|
|
|
254
269
|
widgetLibraryDoneClick: "widgetLibraryDoneClick",
|
|
255
270
|
/**refresh favorite icon after srtting and resetting favorites */
|
|
256
271
|
favoriteIconRefresh: "favoriteIconRefresh",
|
|
272
|
+
/**to refresh menu content */
|
|
273
|
+
QuickLinkRefresh: "QuickLinkRefresh",
|
|
257
274
|
};
|
|
258
275
|
/** @enum {string} */
|
|
259
276
|
const RAEventKey = {
|
|
@@ -263,7 +280,7 @@ const RAEventKey = {
|
|
|
263
280
|
|
|
264
281
|
/**
|
|
265
282
|
* @fileoverview added by tsickle
|
|
266
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
283
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
267
284
|
*/
|
|
268
285
|
/** @enum {string} */
|
|
269
286
|
const GridType = {
|
|
@@ -290,11 +307,196 @@ const CompactType = {
|
|
|
290
307
|
CompactRight: 'compactRight',
|
|
291
308
|
CompactUpAndRight: 'compactUp&Right',
|
|
292
309
|
CompactRightAndUp: 'compactRight&Up',
|
|
293
|
-
};
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* @record
|
|
313
|
+
*/
|
|
314
|
+
function GridsterConfig() { }
|
|
315
|
+
if (false) {
|
|
316
|
+
/** @type {?|undefined} */
|
|
317
|
+
GridsterConfig.prototype.gridType;
|
|
318
|
+
/** @type {?|undefined} */
|
|
319
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
320
|
+
/** @type {?|undefined} */
|
|
321
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
322
|
+
/** @type {?|undefined} */
|
|
323
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
324
|
+
/** @type {?|undefined} */
|
|
325
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
326
|
+
/** @type {?|undefined} */
|
|
327
|
+
GridsterConfig.prototype.setGridSize;
|
|
328
|
+
/** @type {?|undefined} */
|
|
329
|
+
GridsterConfig.prototype.compactType;
|
|
330
|
+
/** @type {?|undefined} */
|
|
331
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
332
|
+
/** @type {?|undefined} */
|
|
333
|
+
GridsterConfig.prototype.minCols;
|
|
334
|
+
/** @type {?|undefined} */
|
|
335
|
+
GridsterConfig.prototype.maxCols;
|
|
336
|
+
/** @type {?|undefined} */
|
|
337
|
+
GridsterConfig.prototype.minRows;
|
|
338
|
+
/** @type {?|undefined} */
|
|
339
|
+
GridsterConfig.prototype.maxRows;
|
|
340
|
+
/** @type {?|undefined} */
|
|
341
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
342
|
+
/** @type {?|undefined} */
|
|
343
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
344
|
+
/** @type {?|undefined} */
|
|
345
|
+
GridsterConfig.prototype.maxItemCols;
|
|
346
|
+
/** @type {?|undefined} */
|
|
347
|
+
GridsterConfig.prototype.maxItemRows;
|
|
348
|
+
/** @type {?|undefined} */
|
|
349
|
+
GridsterConfig.prototype.minItemCols;
|
|
350
|
+
/** @type {?|undefined} */
|
|
351
|
+
GridsterConfig.prototype.minItemRows;
|
|
352
|
+
/** @type {?|undefined} */
|
|
353
|
+
GridsterConfig.prototype.minItemArea;
|
|
354
|
+
/** @type {?|undefined} */
|
|
355
|
+
GridsterConfig.prototype.maxItemArea;
|
|
356
|
+
/** @type {?|undefined} */
|
|
357
|
+
GridsterConfig.prototype.margin;
|
|
358
|
+
/** @type {?|undefined} */
|
|
359
|
+
GridsterConfig.prototype.outerMargin;
|
|
360
|
+
/** @type {?|undefined} */
|
|
361
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
362
|
+
/** @type {?|undefined} */
|
|
363
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
364
|
+
/** @type {?|undefined} */
|
|
365
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
366
|
+
/** @type {?|undefined} */
|
|
367
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
368
|
+
/** @type {?|undefined} */
|
|
369
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
370
|
+
/** @type {?|undefined} */
|
|
371
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
372
|
+
/** @type {?|undefined} */
|
|
373
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
374
|
+
/** @type {?|undefined} */
|
|
375
|
+
GridsterConfig.prototype.initCallback;
|
|
376
|
+
/** @type {?|undefined} */
|
|
377
|
+
GridsterConfig.prototype.destroyCallback;
|
|
378
|
+
/** @type {?|undefined} */
|
|
379
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
380
|
+
/** @type {?|undefined} */
|
|
381
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
382
|
+
/** @type {?|undefined} */
|
|
383
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
384
|
+
/** @type {?|undefined} */
|
|
385
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
386
|
+
/** @type {?|undefined} */
|
|
387
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
388
|
+
/** @type {?|undefined} */
|
|
389
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
390
|
+
/** @type {?|undefined} */
|
|
391
|
+
GridsterConfig.prototype.draggable;
|
|
392
|
+
/** @type {?|undefined} */
|
|
393
|
+
GridsterConfig.prototype.resizable;
|
|
394
|
+
/** @type {?|undefined} */
|
|
395
|
+
GridsterConfig.prototype.swap;
|
|
396
|
+
/** @type {?|undefined} */
|
|
397
|
+
GridsterConfig.prototype.pushItems;
|
|
398
|
+
/** @type {?|undefined} */
|
|
399
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
400
|
+
/** @type {?|undefined} */
|
|
401
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
402
|
+
/** @type {?|undefined} */
|
|
403
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
404
|
+
/** @type {?|undefined} */
|
|
405
|
+
GridsterConfig.prototype.pushDirections;
|
|
406
|
+
/** @type {?|undefined} */
|
|
407
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
408
|
+
/** @type {?|undefined} */
|
|
409
|
+
GridsterConfig.prototype.displayGrid;
|
|
410
|
+
/** @type {?|undefined} */
|
|
411
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
412
|
+
/** @type {?|undefined} */
|
|
413
|
+
GridsterConfig.prototype.disableWarnings;
|
|
414
|
+
/** @type {?|undefined} */
|
|
415
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
416
|
+
/** @type {?|undefined} */
|
|
417
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
418
|
+
/** @type {?|undefined} */
|
|
419
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
420
|
+
/** @type {?|undefined} */
|
|
421
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
422
|
+
/** @type {?|undefined} */
|
|
423
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
424
|
+
/** @type {?|undefined} */
|
|
425
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
426
|
+
/** @type {?|undefined} */
|
|
427
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
428
|
+
/** @type {?|undefined} */
|
|
429
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
430
|
+
/** @type {?|undefined} */
|
|
431
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
432
|
+
/** @type {?|undefined} */
|
|
433
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
434
|
+
/** @type {?|undefined} */
|
|
435
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
436
|
+
/** @type {?|undefined} */
|
|
437
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
438
|
+
/** @type {?|undefined} */
|
|
439
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
440
|
+
/** @type {?|undefined} */
|
|
441
|
+
GridsterConfig.prototype.api;
|
|
442
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* @record
|
|
446
|
+
*/
|
|
447
|
+
function DragBase() { }
|
|
448
|
+
if (false) {
|
|
449
|
+
/** @type {?|undefined} */
|
|
450
|
+
DragBase.prototype.enabled;
|
|
451
|
+
/** @type {?|undefined} */
|
|
452
|
+
DragBase.prototype.stop;
|
|
453
|
+
/** @type {?|undefined} */
|
|
454
|
+
DragBase.prototype.start;
|
|
455
|
+
/** @type {?|undefined} */
|
|
456
|
+
DragBase.prototype.delayStart;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* @record
|
|
460
|
+
*/
|
|
461
|
+
function Draggable() { }
|
|
462
|
+
if (false) {
|
|
463
|
+
/** @type {?|undefined} */
|
|
464
|
+
Draggable.prototype.ignoreContentClass;
|
|
465
|
+
/** @type {?|undefined} */
|
|
466
|
+
Draggable.prototype.ignoreContent;
|
|
467
|
+
/** @type {?|undefined} */
|
|
468
|
+
Draggable.prototype.dragHandleClass;
|
|
469
|
+
/** @type {?|undefined} */
|
|
470
|
+
Draggable.prototype.dropOverItems;
|
|
471
|
+
/** @type {?|undefined} */
|
|
472
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* @record
|
|
476
|
+
*/
|
|
477
|
+
function Resizable() { }
|
|
478
|
+
if (false) {
|
|
479
|
+
/** @type {?|undefined} */
|
|
480
|
+
Resizable.prototype.handles;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @record
|
|
484
|
+
*/
|
|
485
|
+
function PushDirections() { }
|
|
486
|
+
if (false) {
|
|
487
|
+
/** @type {?} */
|
|
488
|
+
PushDirections.prototype.north;
|
|
489
|
+
/** @type {?} */
|
|
490
|
+
PushDirections.prototype.east;
|
|
491
|
+
/** @type {?} */
|
|
492
|
+
PushDirections.prototype.south;
|
|
493
|
+
/** @type {?} */
|
|
494
|
+
PushDirections.prototype.west;
|
|
495
|
+
}
|
|
294
496
|
|
|
295
497
|
/**
|
|
296
498
|
* @fileoverview added by tsickle
|
|
297
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
499
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
298
500
|
*/
|
|
299
501
|
/** @type {?} */
|
|
300
502
|
const GridsterConfigDefaultSettings = {
|
|
@@ -356,7 +558,7 @@ const GridsterConfigDefaultSettings = {
|
|
|
356
558
|
|
|
357
559
|
/**
|
|
358
560
|
* @fileoverview added by tsickle
|
|
359
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
561
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
360
562
|
*/
|
|
361
563
|
class RADashboardArea {
|
|
362
564
|
/**
|
|
@@ -564,6 +766,12 @@ class RADashboardArea {
|
|
|
564
766
|
let areaScrollHeight = 0;
|
|
565
767
|
/** @type {?} */
|
|
566
768
|
let areaHeight = 0;
|
|
769
|
+
/** @type {?} */
|
|
770
|
+
let curRowHeight = 0;
|
|
771
|
+
if (this.options.api) {
|
|
772
|
+
curRowHeight = this.options.api.getCurrentRowHeight();
|
|
773
|
+
areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 2;
|
|
774
|
+
}
|
|
567
775
|
this.widgetList.forEach((/**
|
|
568
776
|
* @param {?} t
|
|
569
777
|
* @return {?}
|
|
@@ -574,10 +782,14 @@ class RADashboardArea {
|
|
|
574
782
|
if (currentHeight > areaScrollHeight) {
|
|
575
783
|
areaScrollHeight = currentHeight;
|
|
576
784
|
}
|
|
785
|
+
if (curRowHeight == 0 || curRowHeight == 2) {
|
|
786
|
+
if (this.widgetList && this.widgetList.length > 0)
|
|
787
|
+
t.widgetInfo.rowHeight = this.widgetList[0].curRowHeight;
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
t.widgetInfo.rowHeight = curRowHeight;
|
|
791
|
+
}
|
|
577
792
|
}));
|
|
578
|
-
if (this.options.api) {
|
|
579
|
-
areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 2;
|
|
580
|
-
}
|
|
581
793
|
if (areaHeight < 600) {
|
|
582
794
|
areaHeight = 600;
|
|
583
795
|
}
|
|
@@ -701,6 +913,7 @@ class RADashboardArea {
|
|
|
701
913
|
widget.width = widgetItem.cols;
|
|
702
914
|
widget.position_x = widgetItem.x;
|
|
703
915
|
widget.position_y = widgetItem.y;
|
|
916
|
+
widget.rowHeight = widgetItem.curRowHeight;
|
|
704
917
|
return widget;
|
|
705
918
|
}
|
|
706
919
|
/**
|
|
@@ -723,7 +936,7 @@ class RADashboardArea {
|
|
|
723
936
|
RADashboardArea.decorators = [
|
|
724
937
|
{ type: Component, args: [{
|
|
725
938
|
selector: 'ra-dashboard-area',
|
|
726
|
-
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-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",
|
|
939
|
+
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",
|
|
727
940
|
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}"]
|
|
728
941
|
}] }
|
|
729
942
|
];
|
|
@@ -743,11 +956,83 @@ RADashboardArea.propDecorators = {
|
|
|
743
956
|
widgetHeight: [{ type: Input, args: ['widget-height',] }],
|
|
744
957
|
widgetWidth: [{ type: Input, args: ['widget-width',] }],
|
|
745
958
|
appConfig: [{ type: Input, args: ['app-config',] }]
|
|
746
|
-
};
|
|
959
|
+
};
|
|
960
|
+
if (false) {
|
|
961
|
+
/** @type {?} */
|
|
962
|
+
RADashboardArea.prototype.widgetList;
|
|
963
|
+
/** @type {?} */
|
|
964
|
+
RADashboardArea.prototype.options;
|
|
965
|
+
/** @type {?} */
|
|
966
|
+
RADashboardArea.prototype.gridheight;
|
|
967
|
+
/**
|
|
968
|
+
* @type {?}
|
|
969
|
+
* @private
|
|
970
|
+
*/
|
|
971
|
+
RADashboardArea.prototype.conifgAddClick;
|
|
972
|
+
/**
|
|
973
|
+
* @type {?}
|
|
974
|
+
* @private
|
|
975
|
+
*/
|
|
976
|
+
RADashboardArea.prototype.widgetDeleteEvent;
|
|
977
|
+
/**
|
|
978
|
+
* @type {?}
|
|
979
|
+
* @private
|
|
980
|
+
*/
|
|
981
|
+
RADashboardArea.prototype.widgetAddEvent;
|
|
982
|
+
/**
|
|
983
|
+
* @type {?}
|
|
984
|
+
* @private
|
|
985
|
+
*/
|
|
986
|
+
RADashboardArea.prototype.widgetLibraryDoneClick;
|
|
987
|
+
/**
|
|
988
|
+
* @type {?}
|
|
989
|
+
* @private
|
|
990
|
+
*/
|
|
991
|
+
RADashboardArea.prototype.isWidgetLoaded;
|
|
992
|
+
/** @type {?} */
|
|
993
|
+
RADashboardArea.prototype.userDashboardId;
|
|
994
|
+
/** @type {?} */
|
|
995
|
+
RADashboardArea.prototype.areaKey;
|
|
996
|
+
/** @type {?} */
|
|
997
|
+
RADashboardArea.prototype.globalFilter;
|
|
998
|
+
/** @type {?} */
|
|
999
|
+
RADashboardArea.prototype.raDashboardEventBus;
|
|
1000
|
+
/** @type {?} */
|
|
1001
|
+
RADashboardArea.prototype.widgetHeight;
|
|
1002
|
+
/** @type {?} */
|
|
1003
|
+
RADashboardArea.prototype.widgetWidth;
|
|
1004
|
+
/** @type {?} */
|
|
1005
|
+
RADashboardArea.prototype.appConfig;
|
|
1006
|
+
/**
|
|
1007
|
+
* @type {?}
|
|
1008
|
+
* @private
|
|
1009
|
+
*/
|
|
1010
|
+
RADashboardArea.prototype.dashboardService;
|
|
1011
|
+
/**
|
|
1012
|
+
* @type {?}
|
|
1013
|
+
* @private
|
|
1014
|
+
*/
|
|
1015
|
+
RADashboardArea.prototype.ngZone;
|
|
1016
|
+
/**
|
|
1017
|
+
* @type {?}
|
|
1018
|
+
* @private
|
|
1019
|
+
*/
|
|
1020
|
+
RADashboardArea.prototype.ngxService;
|
|
1021
|
+
/**
|
|
1022
|
+
* @type {?}
|
|
1023
|
+
* @private
|
|
1024
|
+
*/
|
|
1025
|
+
RADashboardArea.prototype.translateService;
|
|
1026
|
+
/**
|
|
1027
|
+
* @type {?}
|
|
1028
|
+
* @private
|
|
1029
|
+
*/
|
|
1030
|
+
RADashboardArea.prototype.notifier;
|
|
1031
|
+
}
|
|
747
1032
|
|
|
748
1033
|
/**
|
|
749
1034
|
* @fileoverview added by tsickle
|
|
750
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1035
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
751
1036
|
*/
|
|
752
1037
|
class RAWidgetContainer {
|
|
753
1038
|
/**
|
|
@@ -789,11 +1074,14 @@ class RAWidgetContainer {
|
|
|
789
1074
|
if (this.widgetElement && changes.globalFilter && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
|
|
790
1075
|
this.refreshWidget(this.data.widgetInfo);
|
|
791
1076
|
}
|
|
792
|
-
if (changes.
|
|
1077
|
+
if (changes.width && changes.width.currentValue != changes.width.previousValue) {
|
|
793
1078
|
this.data.widgetInfo.isDimensionUpdate = true;
|
|
794
1079
|
this.refreshWidget(this.data.widgetInfo);
|
|
795
1080
|
this.data.widgetInfo.isDimensionUpdate = false;
|
|
796
1081
|
}
|
|
1082
|
+
if (changes.height && changes.height.currentValue != changes.height.previousValue) {
|
|
1083
|
+
this.setWidgetheight();
|
|
1084
|
+
}
|
|
797
1085
|
}
|
|
798
1086
|
/**
|
|
799
1087
|
* @return {?}
|
|
@@ -867,6 +1155,12 @@ class RAWidgetContainer {
|
|
|
867
1155
|
this.refreshWidget(this.data.widgetInfo);
|
|
868
1156
|
// this.updateWidget(widgetInfo);
|
|
869
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @return {?}
|
|
1160
|
+
*/
|
|
1161
|
+
setWidgetheight() {
|
|
1162
|
+
this.widgetHeight = this.data.widgetInfo.height * this.data.widgetInfo.rowHeight + 2;
|
|
1163
|
+
}
|
|
870
1164
|
/**
|
|
871
1165
|
* To load external custom element to the widget container
|
|
872
1166
|
* @param {?} widgetInfo
|
|
@@ -898,6 +1192,7 @@ class RAWidgetContainer {
|
|
|
898
1192
|
}));
|
|
899
1193
|
this.ctlWidget.nativeElement.appendChild(this.widgetElement);
|
|
900
1194
|
}));
|
|
1195
|
+
this.setWidgetheight();
|
|
901
1196
|
}
|
|
902
1197
|
/**
|
|
903
1198
|
* To refresh widget on input config changes
|
|
@@ -922,7 +1217,7 @@ class RAWidgetContainer {
|
|
|
922
1217
|
RAWidgetContainer.decorators = [
|
|
923
1218
|
{ type: Component, args: [{
|
|
924
1219
|
selector: 'ra-widget-container',
|
|
925
|
-
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
|
|
1220
|
+
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\" [style.height.px]=\"widgetHeight\">\r\n <perfect-scrollbar>\r\n <div class=\"wcBodyBorder\" #ctlWidget></div>\r\n </perfect-scrollbar>\r\n </div>\r\n</div>\r\n",
|
|
926
1221
|
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}"]
|
|
927
1222
|
}] }
|
|
928
1223
|
];
|
|
@@ -941,13 +1236,81 @@ RAWidgetContainer.propDecorators = {
|
|
|
941
1236
|
data: [{ type: Input, args: ['data',] }],
|
|
942
1237
|
raDashboardEventBus: [{ type: Input, args: ['event-bus',] }],
|
|
943
1238
|
appConfig: [{ type: Input, args: ['app-config',] }],
|
|
944
|
-
|
|
1239
|
+
width: [{ type: Input, args: ['widget-width',] }],
|
|
1240
|
+
height: [{ type: Input, args: ['widget-height',] }],
|
|
945
1241
|
widgetDeleted: [{ type: Output }]
|
|
946
|
-
};
|
|
1242
|
+
};
|
|
1243
|
+
if (false) {
|
|
1244
|
+
/**
|
|
1245
|
+
* @type {?}
|
|
1246
|
+
* @private
|
|
1247
|
+
*/
|
|
1248
|
+
RAWidgetContainer.prototype.isWidgetLoaded;
|
|
1249
|
+
/**
|
|
1250
|
+
* @type {?}
|
|
1251
|
+
* @private
|
|
1252
|
+
*/
|
|
1253
|
+
RAWidgetContainer.prototype.widgetElement;
|
|
1254
|
+
/**
|
|
1255
|
+
* @type {?}
|
|
1256
|
+
* @private
|
|
1257
|
+
*/
|
|
1258
|
+
RAWidgetContainer.prototype.configChanged;
|
|
1259
|
+
/**
|
|
1260
|
+
* @type {?}
|
|
1261
|
+
* @private
|
|
1262
|
+
*/
|
|
1263
|
+
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1264
|
+
/** @type {?} */
|
|
1265
|
+
RAWidgetContainer.prototype.widgetHeight;
|
|
1266
|
+
/** @type {?} */
|
|
1267
|
+
RAWidgetContainer.prototype.ctlWidget;
|
|
1268
|
+
/** @type {?} */
|
|
1269
|
+
RAWidgetContainer.prototype.widgetInstanceId;
|
|
1270
|
+
/** @type {?} */
|
|
1271
|
+
RAWidgetContainer.prototype.globalFilter;
|
|
1272
|
+
/** @type {?} */
|
|
1273
|
+
RAWidgetContainer.prototype.data;
|
|
1274
|
+
/** @type {?} */
|
|
1275
|
+
RAWidgetContainer.prototype.raDashboardEventBus;
|
|
1276
|
+
/** @type {?} */
|
|
1277
|
+
RAWidgetContainer.prototype.appConfig;
|
|
1278
|
+
/** @type {?} */
|
|
1279
|
+
RAWidgetContainer.prototype.width;
|
|
1280
|
+
/** @type {?} */
|
|
1281
|
+
RAWidgetContainer.prototype.height;
|
|
1282
|
+
/** @type {?} */
|
|
1283
|
+
RAWidgetContainer.prototype.widgetDeleted;
|
|
1284
|
+
/**
|
|
1285
|
+
* @type {?}
|
|
1286
|
+
* @private
|
|
1287
|
+
*/
|
|
1288
|
+
RAWidgetContainer.prototype.dashboardService;
|
|
1289
|
+
/**
|
|
1290
|
+
* @type {?}
|
|
1291
|
+
* @private
|
|
1292
|
+
*/
|
|
1293
|
+
RAWidgetContainer.prototype.ngxService;
|
|
1294
|
+
/**
|
|
1295
|
+
* @type {?}
|
|
1296
|
+
* @private
|
|
1297
|
+
*/
|
|
1298
|
+
RAWidgetContainer.prototype.translateService;
|
|
1299
|
+
/**
|
|
1300
|
+
* @type {?}
|
|
1301
|
+
* @private
|
|
1302
|
+
*/
|
|
1303
|
+
RAWidgetContainer.prototype.ngZone;
|
|
1304
|
+
/**
|
|
1305
|
+
* @type {?}
|
|
1306
|
+
* @private
|
|
1307
|
+
*/
|
|
1308
|
+
RAWidgetContainer.prototype.notifier;
|
|
1309
|
+
}
|
|
947
1310
|
|
|
948
1311
|
/**
|
|
949
1312
|
* @fileoverview added by tsickle
|
|
950
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1313
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
951
1314
|
*/
|
|
952
1315
|
/** @type {?} */
|
|
953
1316
|
const customNotifierOptions = {
|
|
@@ -993,7 +1356,7 @@ const customNotifierOptions = {
|
|
|
993
1356
|
|
|
994
1357
|
/**
|
|
995
1358
|
* @fileoverview added by tsickle
|
|
996
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1359
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
997
1360
|
*/
|
|
998
1361
|
/** @type {?} */
|
|
999
1362
|
const GridsterConfigService = {
|
|
@@ -1171,7 +1534,7 @@ const GridsterConfigService = {
|
|
|
1171
1534
|
|
|
1172
1535
|
/**
|
|
1173
1536
|
* @fileoverview added by tsickle
|
|
1174
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1537
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1175
1538
|
*/
|
|
1176
1539
|
class GridsterUtils {
|
|
1177
1540
|
/**
|
|
@@ -1307,17 +1670,91 @@ GridsterUtils.decorators = [
|
|
|
1307
1670
|
|
|
1308
1671
|
/**
|
|
1309
1672
|
* @fileoverview added by tsickle
|
|
1310
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1673
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1311
1674
|
*/
|
|
1312
1675
|
/**
|
|
1313
1676
|
* @abstract
|
|
1314
1677
|
*/
|
|
1315
1678
|
class GridsterComponentInterface {
|
|
1679
|
+
}
|
|
1680
|
+
if (false) {
|
|
1681
|
+
/** @type {?} */
|
|
1682
|
+
GridsterComponentInterface.prototype.$options;
|
|
1683
|
+
/** @type {?} */
|
|
1684
|
+
GridsterComponentInterface.prototype.grid;
|
|
1685
|
+
/** @type {?} */
|
|
1686
|
+
GridsterComponentInterface.prototype.checkCollision;
|
|
1687
|
+
/** @type {?} */
|
|
1688
|
+
GridsterComponentInterface.prototype.positionXToPixels;
|
|
1689
|
+
/** @type {?} */
|
|
1690
|
+
GridsterComponentInterface.prototype.pixelsToPositionX;
|
|
1691
|
+
/** @type {?} */
|
|
1692
|
+
GridsterComponentInterface.prototype.positionYToPixels;
|
|
1693
|
+
/** @type {?} */
|
|
1694
|
+
GridsterComponentInterface.prototype.pixelsToPositionY;
|
|
1695
|
+
/** @type {?} */
|
|
1696
|
+
GridsterComponentInterface.prototype.findItemWithItem;
|
|
1697
|
+
/** @type {?} */
|
|
1698
|
+
GridsterComponentInterface.prototype.findItemsWithItem;
|
|
1699
|
+
/** @type {?} */
|
|
1700
|
+
GridsterComponentInterface.prototype.checkGridCollision;
|
|
1701
|
+
/** @type {?} */
|
|
1702
|
+
GridsterComponentInterface.prototype.el;
|
|
1703
|
+
/** @type {?} */
|
|
1704
|
+
GridsterComponentInterface.prototype.renderer;
|
|
1705
|
+
/** @type {?} */
|
|
1706
|
+
GridsterComponentInterface.prototype.gridRenderer;
|
|
1707
|
+
/** @type {?} */
|
|
1708
|
+
GridsterComponentInterface.prototype.cdRef;
|
|
1709
|
+
/** @type {?} */
|
|
1710
|
+
GridsterComponentInterface.prototype.options;
|
|
1711
|
+
/** @type {?} */
|
|
1712
|
+
GridsterComponentInterface.prototype.calculateLayoutDebounce;
|
|
1713
|
+
/** @type {?} */
|
|
1714
|
+
GridsterComponentInterface.prototype.updateGrid;
|
|
1715
|
+
/** @type {?} */
|
|
1716
|
+
GridsterComponentInterface.prototype.movingItem;
|
|
1717
|
+
/** @type {?} */
|
|
1718
|
+
GridsterComponentInterface.prototype.addItem;
|
|
1719
|
+
/** @type {?} */
|
|
1720
|
+
GridsterComponentInterface.prototype.removeItem;
|
|
1721
|
+
/** @type {?} */
|
|
1722
|
+
GridsterComponentInterface.prototype.previewStyle;
|
|
1723
|
+
/** @type {?} */
|
|
1724
|
+
GridsterComponentInterface.prototype.mobile;
|
|
1725
|
+
/** @type {?} */
|
|
1726
|
+
GridsterComponentInterface.prototype.curWidth;
|
|
1727
|
+
/** @type {?} */
|
|
1728
|
+
GridsterComponentInterface.prototype.curHeight;
|
|
1729
|
+
/** @type {?} */
|
|
1730
|
+
GridsterComponentInterface.prototype.columns;
|
|
1731
|
+
/** @type {?} */
|
|
1732
|
+
GridsterComponentInterface.prototype.rows;
|
|
1733
|
+
/** @type {?} */
|
|
1734
|
+
GridsterComponentInterface.prototype.curColWidth;
|
|
1735
|
+
/** @type {?} */
|
|
1736
|
+
GridsterComponentInterface.prototype.curRowHeight;
|
|
1737
|
+
/** @type {?} */
|
|
1738
|
+
GridsterComponentInterface.prototype.windowResize;
|
|
1739
|
+
/** @type {?} */
|
|
1740
|
+
GridsterComponentInterface.prototype.setGridDimensions;
|
|
1741
|
+
/** @type {?} */
|
|
1742
|
+
GridsterComponentInterface.prototype.dragInProgress;
|
|
1743
|
+
/** @type {?} */
|
|
1744
|
+
GridsterComponentInterface.prototype.emptyCell;
|
|
1745
|
+
/** @type {?} */
|
|
1746
|
+
GridsterComponentInterface.prototype.compact;
|
|
1747
|
+
/** @type {?} */
|
|
1748
|
+
GridsterComponentInterface.prototype.zone;
|
|
1749
|
+
/** @type {?} */
|
|
1750
|
+
GridsterComponentInterface.prototype.gridRows;
|
|
1751
|
+
/** @type {?} */
|
|
1752
|
+
GridsterComponentInterface.prototype.gridColumns;
|
|
1316
1753
|
}
|
|
1317
1754
|
|
|
1318
1755
|
/**
|
|
1319
1756
|
* @fileoverview added by tsickle
|
|
1320
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1757
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1321
1758
|
*/
|
|
1322
1759
|
class GridsterEmptyCell {
|
|
1323
1760
|
/**
|
|
@@ -1594,11 +2031,44 @@ GridsterEmptyCell.decorators = [
|
|
|
1594
2031
|
/** @nocollapse */
|
|
1595
2032
|
GridsterEmptyCell.ctorParameters = () => [
|
|
1596
2033
|
{ type: GridsterComponentInterface }
|
|
1597
|
-
];
|
|
2034
|
+
];
|
|
2035
|
+
if (false) {
|
|
2036
|
+
/** @type {?} */
|
|
2037
|
+
GridsterEmptyCell.prototype.initialItem;
|
|
2038
|
+
/** @type {?} */
|
|
2039
|
+
GridsterEmptyCell.prototype.emptyCellClick;
|
|
2040
|
+
/** @type {?} */
|
|
2041
|
+
GridsterEmptyCell.prototype.emptyCellClickTouch;
|
|
2042
|
+
/** @type {?} */
|
|
2043
|
+
GridsterEmptyCell.prototype.emptyCellContextMenu;
|
|
2044
|
+
/** @type {?} */
|
|
2045
|
+
GridsterEmptyCell.prototype.emptyCellDrop;
|
|
2046
|
+
/** @type {?} */
|
|
2047
|
+
GridsterEmptyCell.prototype.emptyCellDrag;
|
|
2048
|
+
/** @type {?} */
|
|
2049
|
+
GridsterEmptyCell.prototype.emptyCellDragTouch;
|
|
2050
|
+
/** @type {?} */
|
|
2051
|
+
GridsterEmptyCell.prototype.emptyCellMMove;
|
|
2052
|
+
/** @type {?} */
|
|
2053
|
+
GridsterEmptyCell.prototype.emptyCellMMoveTouch;
|
|
2054
|
+
/** @type {?} */
|
|
2055
|
+
GridsterEmptyCell.prototype.emptyCellUp;
|
|
2056
|
+
/** @type {?} */
|
|
2057
|
+
GridsterEmptyCell.prototype.emptyCellUpTouch;
|
|
2058
|
+
/** @type {?} */
|
|
2059
|
+
GridsterEmptyCell.prototype.emptyCellMove;
|
|
2060
|
+
/** @type {?} */
|
|
2061
|
+
GridsterEmptyCell.prototype.emptyCellExit;
|
|
2062
|
+
/**
|
|
2063
|
+
* @type {?}
|
|
2064
|
+
* @private
|
|
2065
|
+
*/
|
|
2066
|
+
GridsterEmptyCell.prototype.gridster;
|
|
2067
|
+
}
|
|
1598
2068
|
|
|
1599
2069
|
/**
|
|
1600
2070
|
* @fileoverview added by tsickle
|
|
1601
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2071
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1602
2072
|
*/
|
|
1603
2073
|
class GridsterCompact {
|
|
1604
2074
|
/**
|
|
@@ -1807,11 +2277,18 @@ GridsterCompact.decorators = [
|
|
|
1807
2277
|
/** @nocollapse */
|
|
1808
2278
|
GridsterCompact.ctorParameters = () => [
|
|
1809
2279
|
{ type: GridsterComponentInterface }
|
|
1810
|
-
];
|
|
2280
|
+
];
|
|
2281
|
+
if (false) {
|
|
2282
|
+
/**
|
|
2283
|
+
* @type {?}
|
|
2284
|
+
* @private
|
|
2285
|
+
*/
|
|
2286
|
+
GridsterCompact.prototype.gridster;
|
|
2287
|
+
}
|
|
1811
2288
|
|
|
1812
2289
|
/**
|
|
1813
2290
|
* @fileoverview added by tsickle
|
|
1814
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2291
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1815
2292
|
*/
|
|
1816
2293
|
class GridsterRenderer {
|
|
1817
2294
|
/**
|
|
@@ -2074,11 +2551,18 @@ GridsterRenderer.decorators = [
|
|
|
2074
2551
|
/** @nocollapse */
|
|
2075
2552
|
GridsterRenderer.ctorParameters = () => [
|
|
2076
2553
|
{ type: GridsterComponentInterface }
|
|
2077
|
-
];
|
|
2554
|
+
];
|
|
2555
|
+
if (false) {
|
|
2556
|
+
/**
|
|
2557
|
+
* @type {?}
|
|
2558
|
+
* @private
|
|
2559
|
+
*/
|
|
2560
|
+
GridsterRenderer.prototype.gridster;
|
|
2561
|
+
}
|
|
2078
2562
|
|
|
2079
2563
|
/**
|
|
2080
2564
|
* @fileoverview added by tsickle
|
|
2081
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2565
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2082
2566
|
*/
|
|
2083
2567
|
class GridsterComponent {
|
|
2084
2568
|
/**
|
|
@@ -2212,6 +2696,17 @@ class GridsterComponent {
|
|
|
2212
2696
|
if (this.options.destroyCallback) {
|
|
2213
2697
|
this.options.destroyCallback(this);
|
|
2214
2698
|
}
|
|
2699
|
+
//if (this.options.api) {
|
|
2700
|
+
/* this.options.api getting undefined for new dashboard load- temp fix
|
|
2701
|
+
* on new dashboard area load, old dashboard area gets destroyed, but that leads to
|
|
2702
|
+
* ondestroy of current this.options.api instance - needs to investigate further
|
|
2703
|
+
*/
|
|
2704
|
+
if (false) {
|
|
2705
|
+
this.options.api.resize = undefined;
|
|
2706
|
+
this.options.api.optionsChanged = undefined;
|
|
2707
|
+
this.options.api.getNextPossiblePosition = undefined;
|
|
2708
|
+
this.options.api = undefined;
|
|
2709
|
+
}
|
|
2215
2710
|
this.emptyCell.destroy();
|
|
2216
2711
|
delete this.emptyCell;
|
|
2217
2712
|
this.compact.destroy();
|
|
@@ -2707,21 +3202,109 @@ GridsterComponent.ctorParameters = () => [
|
|
|
2707
3202
|
];
|
|
2708
3203
|
GridsterComponent.propDecorators = {
|
|
2709
3204
|
options: [{ type: Input }]
|
|
2710
|
-
};
|
|
3205
|
+
};
|
|
3206
|
+
if (false) {
|
|
3207
|
+
/** @type {?} */
|
|
3208
|
+
GridsterComponent.prototype.options;
|
|
3209
|
+
/** @type {?} */
|
|
3210
|
+
GridsterComponent.prototype.calculateLayoutDebounce;
|
|
3211
|
+
/** @type {?} */
|
|
3212
|
+
GridsterComponent.prototype.movingItem;
|
|
3213
|
+
/** @type {?} */
|
|
3214
|
+
GridsterComponent.prototype.previewStyle;
|
|
3215
|
+
/** @type {?} */
|
|
3216
|
+
GridsterComponent.prototype.el;
|
|
3217
|
+
/** @type {?} */
|
|
3218
|
+
GridsterComponent.prototype.$options;
|
|
3219
|
+
/** @type {?} */
|
|
3220
|
+
GridsterComponent.prototype.mobile;
|
|
3221
|
+
/** @type {?} */
|
|
3222
|
+
GridsterComponent.prototype.curWidth;
|
|
3223
|
+
/** @type {?} */
|
|
3224
|
+
GridsterComponent.prototype.curHeight;
|
|
3225
|
+
/** @type {?} */
|
|
3226
|
+
GridsterComponent.prototype.grid;
|
|
3227
|
+
/** @type {?} */
|
|
3228
|
+
GridsterComponent.prototype.columns;
|
|
3229
|
+
/** @type {?} */
|
|
3230
|
+
GridsterComponent.prototype.rows;
|
|
3231
|
+
/** @type {?} */
|
|
3232
|
+
GridsterComponent.prototype.curColWidth;
|
|
3233
|
+
/** @type {?} */
|
|
3234
|
+
GridsterComponent.prototype.curRowHeight;
|
|
3235
|
+
/** @type {?} */
|
|
3236
|
+
GridsterComponent.prototype.gridColumns;
|
|
3237
|
+
/** @type {?} */
|
|
3238
|
+
GridsterComponent.prototype.gridRows;
|
|
3239
|
+
/** @type {?} */
|
|
3240
|
+
GridsterComponent.prototype.windowResize;
|
|
3241
|
+
/** @type {?} */
|
|
3242
|
+
GridsterComponent.prototype.dragInProgress;
|
|
3243
|
+
/** @type {?} */
|
|
3244
|
+
GridsterComponent.prototype.emptyCell;
|
|
3245
|
+
/** @type {?} */
|
|
3246
|
+
GridsterComponent.prototype.compact;
|
|
3247
|
+
/** @type {?} */
|
|
3248
|
+
GridsterComponent.prototype.gridRenderer;
|
|
3249
|
+
/** @type {?} */
|
|
3250
|
+
GridsterComponent.prototype.renderer;
|
|
3251
|
+
/** @type {?} */
|
|
3252
|
+
GridsterComponent.prototype.cdRef;
|
|
3253
|
+
/** @type {?} */
|
|
3254
|
+
GridsterComponent.prototype.zone;
|
|
3255
|
+
}
|
|
2711
3256
|
|
|
2712
3257
|
/**
|
|
2713
3258
|
* @fileoverview added by tsickle
|
|
2714
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3259
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2715
3260
|
*/
|
|
2716
3261
|
/**
|
|
2717
3262
|
* @abstract
|
|
2718
3263
|
*/
|
|
2719
3264
|
class GridsterItemComponentInterface {
|
|
3265
|
+
}
|
|
3266
|
+
if (false) {
|
|
3267
|
+
/** @type {?} */
|
|
3268
|
+
GridsterItemComponentInterface.prototype.item;
|
|
3269
|
+
/** @type {?} */
|
|
3270
|
+
GridsterItemComponentInterface.prototype.$item;
|
|
3271
|
+
/** @type {?} */
|
|
3272
|
+
GridsterItemComponentInterface.prototype.top;
|
|
3273
|
+
/** @type {?} */
|
|
3274
|
+
GridsterItemComponentInterface.prototype.left;
|
|
3275
|
+
/** @type {?} */
|
|
3276
|
+
GridsterItemComponentInterface.prototype.width;
|
|
3277
|
+
/** @type {?} */
|
|
3278
|
+
GridsterItemComponentInterface.prototype.height;
|
|
3279
|
+
/** @type {?} */
|
|
3280
|
+
GridsterItemComponentInterface.prototype.drag;
|
|
3281
|
+
/** @type {?} */
|
|
3282
|
+
GridsterItemComponentInterface.prototype.resize;
|
|
3283
|
+
/** @type {?} */
|
|
3284
|
+
GridsterItemComponentInterface.prototype.notPlaced;
|
|
3285
|
+
/** @type {?} */
|
|
3286
|
+
GridsterItemComponentInterface.prototype.updateOptions;
|
|
3287
|
+
/** @type {?} */
|
|
3288
|
+
GridsterItemComponentInterface.prototype.itemChanged;
|
|
3289
|
+
/** @type {?} */
|
|
3290
|
+
GridsterItemComponentInterface.prototype.setSize;
|
|
3291
|
+
/** @type {?} */
|
|
3292
|
+
GridsterItemComponentInterface.prototype.checkItemChanges;
|
|
3293
|
+
/** @type {?} */
|
|
3294
|
+
GridsterItemComponentInterface.prototype.canBeDragged;
|
|
3295
|
+
/** @type {?} */
|
|
3296
|
+
GridsterItemComponentInterface.prototype.canBeResized;
|
|
3297
|
+
/** @type {?} */
|
|
3298
|
+
GridsterItemComponentInterface.prototype.el;
|
|
3299
|
+
/** @type {?} */
|
|
3300
|
+
GridsterItemComponentInterface.prototype.gridster;
|
|
3301
|
+
/** @type {?} */
|
|
3302
|
+
GridsterItemComponentInterface.prototype.renderer;
|
|
2720
3303
|
}
|
|
2721
3304
|
|
|
2722
3305
|
/**
|
|
2723
3306
|
* @fileoverview added by tsickle
|
|
2724
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3307
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2725
3308
|
*/
|
|
2726
3309
|
class GridsterSwap {
|
|
2727
3310
|
/**
|
|
@@ -2832,11 +3415,28 @@ GridsterSwap.decorators = [
|
|
|
2832
3415
|
/** @nocollapse */
|
|
2833
3416
|
GridsterSwap.ctorParameters = () => [
|
|
2834
3417
|
{ type: GridsterItemComponentInterface }
|
|
2835
|
-
];
|
|
3418
|
+
];
|
|
3419
|
+
if (false) {
|
|
3420
|
+
/**
|
|
3421
|
+
* @type {?}
|
|
3422
|
+
* @private
|
|
3423
|
+
*/
|
|
3424
|
+
GridsterSwap.prototype.swapedItem;
|
|
3425
|
+
/**
|
|
3426
|
+
* @type {?}
|
|
3427
|
+
* @private
|
|
3428
|
+
*/
|
|
3429
|
+
GridsterSwap.prototype.gridsterItem;
|
|
3430
|
+
/**
|
|
3431
|
+
* @type {?}
|
|
3432
|
+
* @private
|
|
3433
|
+
*/
|
|
3434
|
+
GridsterSwap.prototype.gridster;
|
|
3435
|
+
}
|
|
2836
3436
|
|
|
2837
3437
|
/**
|
|
2838
3438
|
* @fileoverview added by tsickle
|
|
2839
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3439
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2840
3440
|
*/
|
|
2841
3441
|
/** @type {?} */
|
|
2842
3442
|
let scrollSensitivity;
|
|
@@ -3031,7 +3631,7 @@ function cancelN() {
|
|
|
3031
3631
|
|
|
3032
3632
|
/**
|
|
3033
3633
|
* @fileoverview added by tsickle
|
|
3034
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3634
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3035
3635
|
*/
|
|
3036
3636
|
class GridsterPush {
|
|
3037
3637
|
/**
|
|
@@ -3442,11 +4042,61 @@ GridsterPush.decorators = [
|
|
|
3442
4042
|
/** @nocollapse */
|
|
3443
4043
|
GridsterPush.ctorParameters = () => [
|
|
3444
4044
|
{ type: GridsterItemComponentInterface }
|
|
3445
|
-
];
|
|
4045
|
+
];
|
|
4046
|
+
if (false) {
|
|
4047
|
+
/** @type {?} */
|
|
4048
|
+
GridsterPush.prototype.fromSouth;
|
|
4049
|
+
/** @type {?} */
|
|
4050
|
+
GridsterPush.prototype.fromNorth;
|
|
4051
|
+
/** @type {?} */
|
|
4052
|
+
GridsterPush.prototype.fromEast;
|
|
4053
|
+
/** @type {?} */
|
|
4054
|
+
GridsterPush.prototype.fromWest;
|
|
4055
|
+
/**
|
|
4056
|
+
* @type {?}
|
|
4057
|
+
* @private
|
|
4058
|
+
*/
|
|
4059
|
+
GridsterPush.prototype.pushedItems;
|
|
4060
|
+
/**
|
|
4061
|
+
* @type {?}
|
|
4062
|
+
* @private
|
|
4063
|
+
*/
|
|
4064
|
+
GridsterPush.prototype.pushedItemsTemp;
|
|
4065
|
+
/**
|
|
4066
|
+
* @type {?}
|
|
4067
|
+
* @private
|
|
4068
|
+
*/
|
|
4069
|
+
GridsterPush.prototype.pushedItemsTempPath;
|
|
4070
|
+
/**
|
|
4071
|
+
* @type {?}
|
|
4072
|
+
* @private
|
|
4073
|
+
*/
|
|
4074
|
+
GridsterPush.prototype.pushedItemsPath;
|
|
4075
|
+
/**
|
|
4076
|
+
* @type {?}
|
|
4077
|
+
* @private
|
|
4078
|
+
*/
|
|
4079
|
+
GridsterPush.prototype.gridsterItem;
|
|
4080
|
+
/**
|
|
4081
|
+
* @type {?}
|
|
4082
|
+
* @private
|
|
4083
|
+
*/
|
|
4084
|
+
GridsterPush.prototype.gridster;
|
|
4085
|
+
/**
|
|
4086
|
+
* @type {?}
|
|
4087
|
+
* @private
|
|
4088
|
+
*/
|
|
4089
|
+
GridsterPush.prototype.pushedItemsOrder;
|
|
4090
|
+
/**
|
|
4091
|
+
* @type {?}
|
|
4092
|
+
* @private
|
|
4093
|
+
*/
|
|
4094
|
+
GridsterPush.prototype.tryPattern;
|
|
4095
|
+
}
|
|
3446
4096
|
|
|
3447
4097
|
/**
|
|
3448
4098
|
* @fileoverview added by tsickle
|
|
3449
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4099
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3450
4100
|
*/
|
|
3451
4101
|
class GridsterDraggable {
|
|
3452
4102
|
/**
|
|
@@ -3724,6 +4374,10 @@ class GridsterDraggable {
|
|
|
3724
4374
|
this.gridsterItem.$item.cols = itemColsbackup;
|
|
3725
4375
|
this.gridsterItem.$item.rows = itemRowsbackup;
|
|
3726
4376
|
}
|
|
4377
|
+
else {
|
|
4378
|
+
// this.gridsterItem.item.rows=this.gridsterItem.$item.rows;
|
|
4379
|
+
// this.gridsterItem.item.cols=this.gridsterItem.$item.cols;
|
|
4380
|
+
}
|
|
3727
4381
|
return this.gridsterItem.$item;
|
|
3728
4382
|
}
|
|
3729
4383
|
/**
|
|
@@ -3868,11 +4522,84 @@ GridsterDraggable.ctorParameters = () => [
|
|
|
3868
4522
|
{ type: GridsterItemComponentInterface },
|
|
3869
4523
|
{ type: GridsterComponentInterface },
|
|
3870
4524
|
{ type: NgZone }
|
|
3871
|
-
];
|
|
4525
|
+
];
|
|
4526
|
+
if (false) {
|
|
4527
|
+
/** @type {?} */
|
|
4528
|
+
GridsterDraggable.prototype.gridsterItem;
|
|
4529
|
+
/** @type {?} */
|
|
4530
|
+
GridsterDraggable.prototype.gridster;
|
|
4531
|
+
/** @type {?} */
|
|
4532
|
+
GridsterDraggable.prototype.lastMouse;
|
|
4533
|
+
/** @type {?} */
|
|
4534
|
+
GridsterDraggable.prototype.offsetLeft;
|
|
4535
|
+
/** @type {?} */
|
|
4536
|
+
GridsterDraggable.prototype.offsetTop;
|
|
4537
|
+
/** @type {?} */
|
|
4538
|
+
GridsterDraggable.prototype.margin;
|
|
4539
|
+
/** @type {?} */
|
|
4540
|
+
GridsterDraggable.prototype.diffTop;
|
|
4541
|
+
/** @type {?} */
|
|
4542
|
+
GridsterDraggable.prototype.diffLeft;
|
|
4543
|
+
/** @type {?} */
|
|
4544
|
+
GridsterDraggable.prototype.top;
|
|
4545
|
+
/** @type {?} */
|
|
4546
|
+
GridsterDraggable.prototype.left;
|
|
4547
|
+
/** @type {?} */
|
|
4548
|
+
GridsterDraggable.prototype.height;
|
|
4549
|
+
/** @type {?} */
|
|
4550
|
+
GridsterDraggable.prototype.width;
|
|
4551
|
+
/** @type {?} */
|
|
4552
|
+
GridsterDraggable.prototype.positionX;
|
|
4553
|
+
/** @type {?} */
|
|
4554
|
+
GridsterDraggable.prototype.positionY;
|
|
4555
|
+
/** @type {?} */
|
|
4556
|
+
GridsterDraggable.prototype.positionXBackup;
|
|
4557
|
+
/** @type {?} */
|
|
4558
|
+
GridsterDraggable.prototype.positionYBackup;
|
|
4559
|
+
/** @type {?} */
|
|
4560
|
+
GridsterDraggable.prototype.enabled;
|
|
4561
|
+
/** @type {?} */
|
|
4562
|
+
GridsterDraggable.prototype.dragStartFunction;
|
|
4563
|
+
/** @type {?} */
|
|
4564
|
+
GridsterDraggable.prototype.dragFunction;
|
|
4565
|
+
/** @type {?} */
|
|
4566
|
+
GridsterDraggable.prototype.dragStopFunction;
|
|
4567
|
+
/** @type {?} */
|
|
4568
|
+
GridsterDraggable.prototype.mousemove;
|
|
4569
|
+
/** @type {?} */
|
|
4570
|
+
GridsterDraggable.prototype.mouseup;
|
|
4571
|
+
/** @type {?} */
|
|
4572
|
+
GridsterDraggable.prototype.mouseleave;
|
|
4573
|
+
/** @type {?} */
|
|
4574
|
+
GridsterDraggable.prototype.cancelOnBlur;
|
|
4575
|
+
/** @type {?} */
|
|
4576
|
+
GridsterDraggable.prototype.touchmove;
|
|
4577
|
+
/** @type {?} */
|
|
4578
|
+
GridsterDraggable.prototype.touchend;
|
|
4579
|
+
/** @type {?} */
|
|
4580
|
+
GridsterDraggable.prototype.touchcancel;
|
|
4581
|
+
/** @type {?} */
|
|
4582
|
+
GridsterDraggable.prototype.mousedown;
|
|
4583
|
+
/** @type {?} */
|
|
4584
|
+
GridsterDraggable.prototype.touchstart;
|
|
4585
|
+
/** @type {?} */
|
|
4586
|
+
GridsterDraggable.prototype.push;
|
|
4587
|
+
/** @type {?} */
|
|
4588
|
+
GridsterDraggable.prototype.swap;
|
|
4589
|
+
/** @type {?} */
|
|
4590
|
+
GridsterDraggable.prototype.path;
|
|
4591
|
+
/** @type {?} */
|
|
4592
|
+
GridsterDraggable.prototype.collision;
|
|
4593
|
+
/**
|
|
4594
|
+
* @type {?}
|
|
4595
|
+
* @private
|
|
4596
|
+
*/
|
|
4597
|
+
GridsterDraggable.prototype.zone;
|
|
4598
|
+
}
|
|
3872
4599
|
|
|
3873
4600
|
/**
|
|
3874
4601
|
* @fileoverview added by tsickle
|
|
3875
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4602
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3876
4603
|
*/
|
|
3877
4604
|
class GridsterPushResize {
|
|
3878
4605
|
/**
|
|
@@ -4188,11 +4915,46 @@ GridsterPushResize.decorators = [
|
|
|
4188
4915
|
/** @nocollapse */
|
|
4189
4916
|
GridsterPushResize.ctorParameters = () => [
|
|
4190
4917
|
{ type: GridsterItemComponentInterface }
|
|
4191
|
-
];
|
|
4918
|
+
];
|
|
4919
|
+
if (false) {
|
|
4920
|
+
/** @type {?} */
|
|
4921
|
+
GridsterPushResize.prototype.fromSouth;
|
|
4922
|
+
/** @type {?} */
|
|
4923
|
+
GridsterPushResize.prototype.fromNorth;
|
|
4924
|
+
/** @type {?} */
|
|
4925
|
+
GridsterPushResize.prototype.fromEast;
|
|
4926
|
+
/** @type {?} */
|
|
4927
|
+
GridsterPushResize.prototype.fromWest;
|
|
4928
|
+
/**
|
|
4929
|
+
* @type {?}
|
|
4930
|
+
* @private
|
|
4931
|
+
*/
|
|
4932
|
+
GridsterPushResize.prototype.pushedItems;
|
|
4933
|
+
/**
|
|
4934
|
+
* @type {?}
|
|
4935
|
+
* @private
|
|
4936
|
+
*/
|
|
4937
|
+
GridsterPushResize.prototype.pushedItemsPath;
|
|
4938
|
+
/**
|
|
4939
|
+
* @type {?}
|
|
4940
|
+
* @private
|
|
4941
|
+
*/
|
|
4942
|
+
GridsterPushResize.prototype.gridsterItem;
|
|
4943
|
+
/**
|
|
4944
|
+
* @type {?}
|
|
4945
|
+
* @private
|
|
4946
|
+
*/
|
|
4947
|
+
GridsterPushResize.prototype.gridster;
|
|
4948
|
+
/**
|
|
4949
|
+
* @type {?}
|
|
4950
|
+
* @private
|
|
4951
|
+
*/
|
|
4952
|
+
GridsterPushResize.prototype.tryPattern;
|
|
4953
|
+
}
|
|
4192
4954
|
|
|
4193
4955
|
/**
|
|
4194
4956
|
* @fileoverview added by tsickle
|
|
4195
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4957
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4196
4958
|
*/
|
|
4197
4959
|
class GridsterResizable {
|
|
4198
4960
|
/**
|
|
@@ -4658,11 +5420,86 @@ GridsterResizable.ctorParameters = () => [
|
|
|
4658
5420
|
{ type: GridsterItemComponentInterface },
|
|
4659
5421
|
{ type: GridsterComponentInterface },
|
|
4660
5422
|
{ type: NgZone }
|
|
4661
|
-
];
|
|
5423
|
+
];
|
|
5424
|
+
if (false) {
|
|
5425
|
+
/** @type {?} */
|
|
5426
|
+
GridsterResizable.prototype.gridsterItem;
|
|
5427
|
+
/** @type {?} */
|
|
5428
|
+
GridsterResizable.prototype.gridster;
|
|
5429
|
+
/** @type {?} */
|
|
5430
|
+
GridsterResizable.prototype.lastMouse;
|
|
5431
|
+
/** @type {?} */
|
|
5432
|
+
GridsterResizable.prototype.itemBackup;
|
|
5433
|
+
/** @type {?} */
|
|
5434
|
+
GridsterResizable.prototype.resizeEventScrollType;
|
|
5435
|
+
/** @type {?} */
|
|
5436
|
+
GridsterResizable.prototype.directionFunction;
|
|
5437
|
+
/** @type {?} */
|
|
5438
|
+
GridsterResizable.prototype.dragFunction;
|
|
5439
|
+
/** @type {?} */
|
|
5440
|
+
GridsterResizable.prototype.dragStopFunction;
|
|
5441
|
+
/** @type {?} */
|
|
5442
|
+
GridsterResizable.prototype.resizeEnabled;
|
|
5443
|
+
/** @type {?} */
|
|
5444
|
+
GridsterResizable.prototype.mousemove;
|
|
5445
|
+
/** @type {?} */
|
|
5446
|
+
GridsterResizable.prototype.mouseup;
|
|
5447
|
+
/** @type {?} */
|
|
5448
|
+
GridsterResizable.prototype.mouseleave;
|
|
5449
|
+
/** @type {?} */
|
|
5450
|
+
GridsterResizable.prototype.cancelOnBlur;
|
|
5451
|
+
/** @type {?} */
|
|
5452
|
+
GridsterResizable.prototype.touchmove;
|
|
5453
|
+
/** @type {?} */
|
|
5454
|
+
GridsterResizable.prototype.touchend;
|
|
5455
|
+
/** @type {?} */
|
|
5456
|
+
GridsterResizable.prototype.touchcancel;
|
|
5457
|
+
/** @type {?} */
|
|
5458
|
+
GridsterResizable.prototype.push;
|
|
5459
|
+
/** @type {?} */
|
|
5460
|
+
GridsterResizable.prototype.pushResize;
|
|
5461
|
+
/** @type {?} */
|
|
5462
|
+
GridsterResizable.prototype.minHeight;
|
|
5463
|
+
/** @type {?} */
|
|
5464
|
+
GridsterResizable.prototype.minWidth;
|
|
5465
|
+
/** @type {?} */
|
|
5466
|
+
GridsterResizable.prototype.offsetTop;
|
|
5467
|
+
/** @type {?} */
|
|
5468
|
+
GridsterResizable.prototype.offsetLeft;
|
|
5469
|
+
/** @type {?} */
|
|
5470
|
+
GridsterResizable.prototype.diffTop;
|
|
5471
|
+
/** @type {?} */
|
|
5472
|
+
GridsterResizable.prototype.diffLeft;
|
|
5473
|
+
/** @type {?} */
|
|
5474
|
+
GridsterResizable.prototype.diffRight;
|
|
5475
|
+
/** @type {?} */
|
|
5476
|
+
GridsterResizable.prototype.diffBottom;
|
|
5477
|
+
/** @type {?} */
|
|
5478
|
+
GridsterResizable.prototype.margin;
|
|
5479
|
+
/** @type {?} */
|
|
5480
|
+
GridsterResizable.prototype.top;
|
|
5481
|
+
/** @type {?} */
|
|
5482
|
+
GridsterResizable.prototype.left;
|
|
5483
|
+
/** @type {?} */
|
|
5484
|
+
GridsterResizable.prototype.bottom;
|
|
5485
|
+
/** @type {?} */
|
|
5486
|
+
GridsterResizable.prototype.right;
|
|
5487
|
+
/** @type {?} */
|
|
5488
|
+
GridsterResizable.prototype.width;
|
|
5489
|
+
/** @type {?} */
|
|
5490
|
+
GridsterResizable.prototype.height;
|
|
5491
|
+
/** @type {?} */
|
|
5492
|
+
GridsterResizable.prototype.newPosition;
|
|
5493
|
+
/**
|
|
5494
|
+
* @type {?}
|
|
5495
|
+
* @private
|
|
5496
|
+
*/
|
|
5497
|
+
GridsterResizable.prototype.zone;
|
|
5498
|
+
}
|
|
4662
5499
|
|
|
4663
5500
|
/**
|
|
4664
5501
|
* @fileoverview added by tsickle
|
|
4665
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5502
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4666
5503
|
*/
|
|
4667
5504
|
class GridsterItemComponent {
|
|
4668
5505
|
/**
|
|
@@ -4833,11 +5670,44 @@ GridsterItemComponent.ctorParameters = () => [
|
|
|
4833
5670
|
];
|
|
4834
5671
|
GridsterItemComponent.propDecorators = {
|
|
4835
5672
|
item: [{ type: Input }]
|
|
4836
|
-
};
|
|
5673
|
+
};
|
|
5674
|
+
if (false) {
|
|
5675
|
+
/** @type {?} */
|
|
5676
|
+
GridsterItemComponent.prototype.item;
|
|
5677
|
+
/** @type {?} */
|
|
5678
|
+
GridsterItemComponent.prototype.$item;
|
|
5679
|
+
/** @type {?} */
|
|
5680
|
+
GridsterItemComponent.prototype.el;
|
|
5681
|
+
/** @type {?} */
|
|
5682
|
+
GridsterItemComponent.prototype.gridster;
|
|
5683
|
+
/** @type {?} */
|
|
5684
|
+
GridsterItemComponent.prototype.top;
|
|
5685
|
+
/** @type {?} */
|
|
5686
|
+
GridsterItemComponent.prototype.left;
|
|
5687
|
+
/** @type {?} */
|
|
5688
|
+
GridsterItemComponent.prototype.width;
|
|
5689
|
+
/** @type {?} */
|
|
5690
|
+
GridsterItemComponent.prototype.height;
|
|
5691
|
+
/** @type {?} */
|
|
5692
|
+
GridsterItemComponent.prototype.drag;
|
|
5693
|
+
/** @type {?} */
|
|
5694
|
+
GridsterItemComponent.prototype.resize;
|
|
5695
|
+
/** @type {?} */
|
|
5696
|
+
GridsterItemComponent.prototype.notPlaced;
|
|
5697
|
+
/** @type {?} */
|
|
5698
|
+
GridsterItemComponent.prototype.init;
|
|
5699
|
+
/** @type {?} */
|
|
5700
|
+
GridsterItemComponent.prototype.renderer;
|
|
5701
|
+
/**
|
|
5702
|
+
* @type {?}
|
|
5703
|
+
* @private
|
|
5704
|
+
*/
|
|
5705
|
+
GridsterItemComponent.prototype.zone;
|
|
5706
|
+
}
|
|
4837
5707
|
|
|
4838
5708
|
/**
|
|
4839
5709
|
* @fileoverview added by tsickle
|
|
4840
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5710
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4841
5711
|
*/
|
|
4842
5712
|
class GridsterPreviewComponent {
|
|
4843
5713
|
/**
|
|
@@ -4889,11 +5759,19 @@ GridsterPreviewComponent.ctorParameters = () => [
|
|
|
4889
5759
|
{ type: ElementRef },
|
|
4890
5760
|
{ type: GridsterComponent, decorators: [{ type: Host }] },
|
|
4891
5761
|
{ type: Renderer2 }
|
|
4892
|
-
];
|
|
5762
|
+
];
|
|
5763
|
+
if (false) {
|
|
5764
|
+
/** @type {?} */
|
|
5765
|
+
GridsterPreviewComponent.prototype.el;
|
|
5766
|
+
/** @type {?} */
|
|
5767
|
+
GridsterPreviewComponent.prototype.gridster;
|
|
5768
|
+
/** @type {?} */
|
|
5769
|
+
GridsterPreviewComponent.prototype.renderer;
|
|
5770
|
+
}
|
|
4893
5771
|
|
|
4894
5772
|
/**
|
|
4895
5773
|
* @fileoverview added by tsickle
|
|
4896
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5774
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4897
5775
|
*/
|
|
4898
5776
|
class GridsterModule {
|
|
4899
5777
|
}
|
|
@@ -4915,8 +5793,13 @@ GridsterModule.decorators = [
|
|
|
4915
5793
|
|
|
4916
5794
|
/**
|
|
4917
5795
|
* @fileoverview added by tsickle
|
|
4918
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5796
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4919
5797
|
*/
|
|
5798
|
+
/** @type {?} */
|
|
5799
|
+
const DEFAULT_PERFECT_SCROLLBAR_CONFIG = {
|
|
5800
|
+
suppressScrollX: true
|
|
5801
|
+
};
|
|
5802
|
+
const ɵ0 = DEFAULT_PERFECT_SCROLLBAR_CONFIG;
|
|
4920
5803
|
class DashboardFrameworkModule {
|
|
4921
5804
|
}
|
|
4922
5805
|
DashboardFrameworkModule.decorators = [
|
|
@@ -4931,20 +5814,24 @@ DashboardFrameworkModule.decorators = [
|
|
|
4931
5814
|
HttpClientModule,
|
|
4932
5815
|
NgxUiLoaderModule,
|
|
4933
5816
|
TranslateModule,
|
|
4934
|
-
NotifierModule.withConfig(customNotifierOptions)
|
|
5817
|
+
NotifierModule.withConfig(customNotifierOptions),
|
|
5818
|
+
PerfectScrollbarModule
|
|
4935
5819
|
],
|
|
4936
5820
|
exports: [
|
|
4937
5821
|
RADashboardArea,
|
|
4938
5822
|
TranslateModule
|
|
4939
5823
|
],
|
|
4940
|
-
providers: [
|
|
5824
|
+
providers: [{
|
|
5825
|
+
provide: PERFECT_SCROLLBAR_CONFIG,
|
|
5826
|
+
useValue: ɵ0
|
|
5827
|
+
},],
|
|
4941
5828
|
bootstrap: [RADashboardArea]
|
|
4942
5829
|
},] }
|
|
4943
5830
|
];
|
|
4944
5831
|
|
|
4945
5832
|
/**
|
|
4946
5833
|
* @fileoverview added by tsickle
|
|
4947
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5834
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4948
5835
|
*/
|
|
4949
5836
|
/**
|
|
4950
5837
|
* @abstract
|
|
@@ -4986,11 +5873,35 @@ RaBaseDashboardTemplate.propDecorators = {
|
|
|
4986
5873
|
dashboardId: [{ type: Input, args: ['dashboard-id',] }],
|
|
4987
5874
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
4988
5875
|
initialize: [{ type: Input }]
|
|
4989
|
-
};
|
|
5876
|
+
};
|
|
5877
|
+
if (false) {
|
|
5878
|
+
/** @type {?} */
|
|
5879
|
+
RaBaseDashboardTemplate.prototype.userDashboardId;
|
|
5880
|
+
/** @type {?} */
|
|
5881
|
+
RaBaseDashboardTemplate.prototype.raDashboardEventBus;
|
|
5882
|
+
/** @type {?} */
|
|
5883
|
+
RaBaseDashboardTemplate.prototype.appConfig;
|
|
5884
|
+
/** @type {?} */
|
|
5885
|
+
RaBaseDashboardTemplate.prototype.dashboardId;
|
|
5886
|
+
/** @type {?} */
|
|
5887
|
+
RaBaseDashboardTemplate.prototype.globalFilter;
|
|
5888
|
+
/** @type {?} */
|
|
5889
|
+
RaBaseDashboardTemplate.prototype.initialize;
|
|
5890
|
+
/**
|
|
5891
|
+
* @type {?}
|
|
5892
|
+
* @private
|
|
5893
|
+
*/
|
|
5894
|
+
RaBaseDashboardTemplate.prototype.ngZone;
|
|
5895
|
+
/**
|
|
5896
|
+
* @abstract
|
|
5897
|
+
* @return {?}
|
|
5898
|
+
*/
|
|
5899
|
+
RaBaseDashboardTemplate.prototype.init = function () { };
|
|
5900
|
+
}
|
|
4990
5901
|
|
|
4991
5902
|
/**
|
|
4992
5903
|
* @fileoverview added by tsickle
|
|
4993
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5904
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4994
5905
|
*/
|
|
4995
5906
|
/**
|
|
4996
5907
|
* @abstract
|
|
@@ -5008,7 +5919,29 @@ class RaBaseDashboardFilter {
|
|
|
5008
5919
|
}
|
|
5009
5920
|
RaBaseDashboardFilter.propDecorators = {
|
|
5010
5921
|
getAllFilterConfig: [{ type: Input }]
|
|
5011
|
-
};
|
|
5922
|
+
};
|
|
5923
|
+
if (false) {
|
|
5924
|
+
/**
|
|
5925
|
+
* @type {?}
|
|
5926
|
+
* @private
|
|
5927
|
+
*/
|
|
5928
|
+
RaBaseDashboardFilter.prototype.getAllFilterConfig;
|
|
5929
|
+
/**
|
|
5930
|
+
* @abstract
|
|
5931
|
+
* @return {?}
|
|
5932
|
+
*/
|
|
5933
|
+
RaBaseDashboardFilter.prototype.getFilterConfig = function () { };
|
|
5934
|
+
}
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* @fileoverview added by tsickle
|
|
5938
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5939
|
+
*/
|
|
5940
|
+
|
|
5941
|
+
/**
|
|
5942
|
+
* @fileoverview added by tsickle
|
|
5943
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5944
|
+
*/
|
|
5012
5945
|
|
|
5013
5946
|
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 };
|
|
5014
5947
|
//# sourceMappingURL=schneideress-dashboardframework.js.map
|