@schneideress/dashboardframework 0.0.157 → 0.0.158
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 +241 -241
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +11 -11
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/gridster/lib/gridster.component.js +1 -1
- package/esm2015/gridster/lib/gridsterItem.component.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 +1 -1
- package/esm2015/lib/ra.dashboard.responsive.service.js +2 -2
- package/esm2015/lib/ra.gridster.config.js +4 -10
- package/esm5/gridster/lib/gridster.component.js +1 -1
- package/esm5/gridster/lib/gridsterItem.component.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 +1 -1
- package/esm5/lib/ra.dashboard.responsive.service.js +2 -2
- package/esm5/lib/ra.gridster.config.js +4 -10
- package/fesm2015/schneideress-dashboardframework.js +225 -230
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +225 -230
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -405,223 +405,6 @@ var RAEventKey = {
|
|
|
405
405
|
WidgetInstanceId: "widgetInstanceId",
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
-
/**
|
|
409
|
-
* @fileoverview added by tsickle
|
|
410
|
-
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
411
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
412
|
-
*/
|
|
413
|
-
/** @enum {string} */
|
|
414
|
-
var GridType = {
|
|
415
|
-
Fit: "fit",
|
|
416
|
-
ScrollVertical: "scrollVertical",
|
|
417
|
-
ScrollHorizontal: "scrollHorizontal",
|
|
418
|
-
Fixed: "fixed",
|
|
419
|
-
VerticalFixed: "verticalFixed",
|
|
420
|
-
HorizontalFixed: "horizontalFixed",
|
|
421
|
-
};
|
|
422
|
-
/** @enum {string} */
|
|
423
|
-
var DisplayGrid = {
|
|
424
|
-
Always: "always",
|
|
425
|
-
OnDragAndResize: "onDrag&Resize",
|
|
426
|
-
None: "none",
|
|
427
|
-
};
|
|
428
|
-
/** @enum {string} */
|
|
429
|
-
var CompactType = {
|
|
430
|
-
None: "none",
|
|
431
|
-
CompactUp: "compactUp",
|
|
432
|
-
CompactLeft: "compactLeft",
|
|
433
|
-
CompactUpAndLeft: "compactUp&Left",
|
|
434
|
-
CompactLeftAndUp: "compactLeft&Up",
|
|
435
|
-
CompactRight: "compactRight",
|
|
436
|
-
CompactUpAndRight: "compactUp&Right",
|
|
437
|
-
CompactRightAndUp: "compactRight&Up",
|
|
438
|
-
};
|
|
439
|
-
/**
|
|
440
|
-
* @record
|
|
441
|
-
*/
|
|
442
|
-
function GridsterConfig() { }
|
|
443
|
-
if (false) {
|
|
444
|
-
/** @type {?|undefined} */
|
|
445
|
-
GridsterConfig.prototype.gridType;
|
|
446
|
-
/** @type {?|undefined} */
|
|
447
|
-
GridsterConfig.prototype.fixedColWidth;
|
|
448
|
-
/** @type {?|undefined} */
|
|
449
|
-
GridsterConfig.prototype.fixedRowHeight;
|
|
450
|
-
/** @type {?|undefined} */
|
|
451
|
-
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
452
|
-
/** @type {?|undefined} */
|
|
453
|
-
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
454
|
-
/** @type {?|undefined} */
|
|
455
|
-
GridsterConfig.prototype.setGridSize;
|
|
456
|
-
/** @type {?|undefined} */
|
|
457
|
-
GridsterConfig.prototype.compactType;
|
|
458
|
-
/** @type {?|undefined} */
|
|
459
|
-
GridsterConfig.prototype.mobileBreakpoint;
|
|
460
|
-
/** @type {?|undefined} */
|
|
461
|
-
GridsterConfig.prototype.minCols;
|
|
462
|
-
/** @type {?|undefined} */
|
|
463
|
-
GridsterConfig.prototype.maxCols;
|
|
464
|
-
/** @type {?|undefined} */
|
|
465
|
-
GridsterConfig.prototype.minRows;
|
|
466
|
-
/** @type {?|undefined} */
|
|
467
|
-
GridsterConfig.prototype.maxRows;
|
|
468
|
-
/** @type {?|undefined} */
|
|
469
|
-
GridsterConfig.prototype.defaultItemCols;
|
|
470
|
-
/** @type {?|undefined} */
|
|
471
|
-
GridsterConfig.prototype.defaultItemRows;
|
|
472
|
-
/** @type {?|undefined} */
|
|
473
|
-
GridsterConfig.prototype.maxItemCols;
|
|
474
|
-
/** @type {?|undefined} */
|
|
475
|
-
GridsterConfig.prototype.maxItemRows;
|
|
476
|
-
/** @type {?|undefined} */
|
|
477
|
-
GridsterConfig.prototype.minItemCols;
|
|
478
|
-
/** @type {?|undefined} */
|
|
479
|
-
GridsterConfig.prototype.minItemRows;
|
|
480
|
-
/** @type {?|undefined} */
|
|
481
|
-
GridsterConfig.prototype.minItemArea;
|
|
482
|
-
/** @type {?|undefined} */
|
|
483
|
-
GridsterConfig.prototype.maxItemArea;
|
|
484
|
-
/** @type {?|undefined} */
|
|
485
|
-
GridsterConfig.prototype.margin;
|
|
486
|
-
/** @type {?|undefined} */
|
|
487
|
-
GridsterConfig.prototype.outerMargin;
|
|
488
|
-
/** @type {?|undefined} */
|
|
489
|
-
GridsterConfig.prototype.outerMarginTop;
|
|
490
|
-
/** @type {?|undefined} */
|
|
491
|
-
GridsterConfig.prototype.outerMarginRight;
|
|
492
|
-
/** @type {?|undefined} */
|
|
493
|
-
GridsterConfig.prototype.outerMarginBottom;
|
|
494
|
-
/** @type {?|undefined} */
|
|
495
|
-
GridsterConfig.prototype.outerMarginLeft;
|
|
496
|
-
/** @type {?|undefined} */
|
|
497
|
-
GridsterConfig.prototype.useTransformPositioning;
|
|
498
|
-
/** @type {?|undefined} */
|
|
499
|
-
GridsterConfig.prototype.scrollSensitivity;
|
|
500
|
-
/** @type {?|undefined} */
|
|
501
|
-
GridsterConfig.prototype.scrollSpeed;
|
|
502
|
-
/** @type {?|undefined} */
|
|
503
|
-
GridsterConfig.prototype.initCallback;
|
|
504
|
-
/** @type {?|undefined} */
|
|
505
|
-
GridsterConfig.prototype.destroyCallback;
|
|
506
|
-
/** @type {?|undefined} */
|
|
507
|
-
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
508
|
-
/** @type {?|undefined} */
|
|
509
|
-
GridsterConfig.prototype.itemChangeCallback;
|
|
510
|
-
/** @type {?|undefined} */
|
|
511
|
-
GridsterConfig.prototype.itemResizeCallback;
|
|
512
|
-
/** @type {?|undefined} */
|
|
513
|
-
GridsterConfig.prototype.itemInitCallback;
|
|
514
|
-
/** @type {?|undefined} */
|
|
515
|
-
GridsterConfig.prototype.itemRemovedCallback;
|
|
516
|
-
/** @type {?|undefined} */
|
|
517
|
-
GridsterConfig.prototype.itemValidateCallback;
|
|
518
|
-
/** @type {?|undefined} */
|
|
519
|
-
GridsterConfig.prototype.draggable;
|
|
520
|
-
/** @type {?|undefined} */
|
|
521
|
-
GridsterConfig.prototype.resizable;
|
|
522
|
-
/** @type {?|undefined} */
|
|
523
|
-
GridsterConfig.prototype.swap;
|
|
524
|
-
/** @type {?|undefined} */
|
|
525
|
-
GridsterConfig.prototype.pushItems;
|
|
526
|
-
/** @type {?|undefined} */
|
|
527
|
-
GridsterConfig.prototype.disablePushOnDrag;
|
|
528
|
-
/** @type {?|undefined} */
|
|
529
|
-
GridsterConfig.prototype.disablePushOnResize;
|
|
530
|
-
/** @type {?|undefined} */
|
|
531
|
-
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
532
|
-
/** @type {?|undefined} */
|
|
533
|
-
GridsterConfig.prototype.pushDirections;
|
|
534
|
-
/** @type {?|undefined} */
|
|
535
|
-
GridsterConfig.prototype.pushResizeItems;
|
|
536
|
-
/** @type {?|undefined} */
|
|
537
|
-
GridsterConfig.prototype.displayGrid;
|
|
538
|
-
/** @type {?|undefined} */
|
|
539
|
-
GridsterConfig.prototype.disableWindowResize;
|
|
540
|
-
/** @type {?|undefined} */
|
|
541
|
-
GridsterConfig.prototype.disableWarnings;
|
|
542
|
-
/** @type {?|undefined} */
|
|
543
|
-
GridsterConfig.prototype.scrollToNewItems;
|
|
544
|
-
/** @type {?|undefined} */
|
|
545
|
-
GridsterConfig.prototype.enableEmptyCellClick;
|
|
546
|
-
/** @type {?|undefined} */
|
|
547
|
-
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
548
|
-
/** @type {?|undefined} */
|
|
549
|
-
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
550
|
-
/** @type {?|undefined} */
|
|
551
|
-
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
552
|
-
/** @type {?|undefined} */
|
|
553
|
-
GridsterConfig.prototype.emptyCellClickCallback;
|
|
554
|
-
/** @type {?|undefined} */
|
|
555
|
-
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
556
|
-
/** @type {?|undefined} */
|
|
557
|
-
GridsterConfig.prototype.emptyCellDropCallback;
|
|
558
|
-
/** @type {?|undefined} */
|
|
559
|
-
GridsterConfig.prototype.emptyCellDragCallback;
|
|
560
|
-
/** @type {?|undefined} */
|
|
561
|
-
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
562
|
-
/** @type {?|undefined} */
|
|
563
|
-
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
564
|
-
/** @type {?|undefined} */
|
|
565
|
-
GridsterConfig.prototype.ignoreMarginInRow;
|
|
566
|
-
/** @type {?|undefined} */
|
|
567
|
-
GridsterConfig.prototype.autoResizeonDrag;
|
|
568
|
-
/** @type {?|undefined} */
|
|
569
|
-
GridsterConfig.prototype.api;
|
|
570
|
-
/* Skipping unhandled member: [propName: string]: any;*/
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* @record
|
|
574
|
-
*/
|
|
575
|
-
function DragBase() { }
|
|
576
|
-
if (false) {
|
|
577
|
-
/** @type {?|undefined} */
|
|
578
|
-
DragBase.prototype.enabled;
|
|
579
|
-
/** @type {?|undefined} */
|
|
580
|
-
DragBase.prototype.stop;
|
|
581
|
-
/** @type {?|undefined} */
|
|
582
|
-
DragBase.prototype.start;
|
|
583
|
-
/** @type {?|undefined} */
|
|
584
|
-
DragBase.prototype.delayStart;
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* @record
|
|
588
|
-
*/
|
|
589
|
-
function Draggable() { }
|
|
590
|
-
if (false) {
|
|
591
|
-
/** @type {?|undefined} */
|
|
592
|
-
Draggable.prototype.ignoreContentClass;
|
|
593
|
-
/** @type {?|undefined} */
|
|
594
|
-
Draggable.prototype.ignoreContent;
|
|
595
|
-
/** @type {?|undefined} */
|
|
596
|
-
Draggable.prototype.dragHandleClass;
|
|
597
|
-
/** @type {?|undefined} */
|
|
598
|
-
Draggable.prototype.dropOverItems;
|
|
599
|
-
/** @type {?|undefined} */
|
|
600
|
-
Draggable.prototype.dropOverItemsCallback;
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* @record
|
|
604
|
-
*/
|
|
605
|
-
function Resizable() { }
|
|
606
|
-
if (false) {
|
|
607
|
-
/** @type {?|undefined} */
|
|
608
|
-
Resizable.prototype.handles;
|
|
609
|
-
}
|
|
610
|
-
/**
|
|
611
|
-
* @record
|
|
612
|
-
*/
|
|
613
|
-
function PushDirections() { }
|
|
614
|
-
if (false) {
|
|
615
|
-
/** @type {?} */
|
|
616
|
-
PushDirections.prototype.north;
|
|
617
|
-
/** @type {?} */
|
|
618
|
-
PushDirections.prototype.east;
|
|
619
|
-
/** @type {?} */
|
|
620
|
-
PushDirections.prototype.south;
|
|
621
|
-
/** @type {?} */
|
|
622
|
-
PushDirections.prototype.west;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
408
|
/**
|
|
626
409
|
* @fileoverview added by tsickle
|
|
627
410
|
* Generated from: lib/ra.gridster.config.ts
|
|
@@ -629,8 +412,8 @@ if (false) {
|
|
|
629
412
|
*/
|
|
630
413
|
/** @type {?} */
|
|
631
414
|
var GridsterConfigDefaultSettings = {
|
|
632
|
-
gridType:
|
|
633
|
-
compactType:
|
|
415
|
+
gridType: 'scrollVertical',
|
|
416
|
+
compactType: 'none',
|
|
634
417
|
margin: 10,
|
|
635
418
|
outerMargin: true,
|
|
636
419
|
outerMarginTop: 10,
|
|
@@ -651,8 +434,6 @@ var GridsterConfigDefaultSettings = {
|
|
|
651
434
|
minItemArea: 4,
|
|
652
435
|
defaultItemCols: 2,
|
|
653
436
|
defaultItemRows: 2,
|
|
654
|
-
// fixedColWidth: 105,
|
|
655
|
-
// fixedRowHeight: 105,
|
|
656
437
|
keepFixedHeightInMobile: false,
|
|
657
438
|
keepFixedWidthInMobile: false,
|
|
658
439
|
scrollSensitivity: 10,
|
|
@@ -678,15 +459,12 @@ var GridsterConfigDefaultSettings = {
|
|
|
678
459
|
disablePushOnResize: false,
|
|
679
460
|
pushDirections: { north: true, east: true, south: true, west: true },
|
|
680
461
|
pushResizeItems: false,
|
|
681
|
-
displayGrid:
|
|
462
|
+
displayGrid: 'none',
|
|
682
463
|
disableWindowResize: false,
|
|
683
464
|
disableWarnings: false,
|
|
684
465
|
scrollToNewItems: true,
|
|
685
466
|
autoResizeonDrag: false,
|
|
686
467
|
setGridSize: false
|
|
687
|
-
//itemResizeCallback: (item) => this.itemResize(item),
|
|
688
|
-
//itemChangeCallback: (item) => this.itemCallBack(item),
|
|
689
|
-
//itemInitCallback: (item) => this.itemInitCallback(item)
|
|
690
468
|
};
|
|
691
469
|
|
|
692
470
|
/**
|
|
@@ -742,7 +520,7 @@ var RADashboardResponsiveService = /** @class */ (function () {
|
|
|
742
520
|
function () {
|
|
743
521
|
/** @type {?} */
|
|
744
522
|
var agent = navigator.userAgent || navigator.vendor || window.opera;
|
|
745
|
-
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(agent
|
|
523
|
+
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|realme|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(agent))
|
|
746
524
|
return false;
|
|
747
525
|
return true;
|
|
748
526
|
},
|
|
@@ -1509,7 +1287,7 @@ var RADashboardArea = /** @class */ (function () {
|
|
|
1509
1287
|
{ type: Component, args: [{
|
|
1510
1288
|
selector: 'ra-dashboard-area',
|
|
1511
1289
|
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\" [grid-cell-height]=\"(gridcellHeight > 0)?gridcellHeight:item.widgetInfo.rowHeight\" [widget-width]=\"item.cols\" [widget-height]=\"item.rows\" [widget-instance-id]=\"item.widgetInstanceId\" [dom-resized]=\"domResized\"></ra-widget-container>\r\n </gridster-item>\r\n </gridster>\r\n <notifier-container></notifier-container>\r\n</div>\r\n\r\n",
|
|
1512
|
-
styles: ["gridster{width:inherit;resize:height;display
|
|
1290
|
+
styles: ["gridster{width:inherit;resize:height;display:flex;background-color:#ededed;overflow-y:hidden!important}.dvheader{width:100%;height:35px;background:#000;color:#fff;padding:7px 3px 5px 6px;text-transform:uppercase}gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;box-shadow:0 1px 10px rgba(0,0,0,.05)}gridster-item:hover{box-shadow:0 1px 10px rgba(0,0,0,.15)}"]
|
|
1513
1291
|
}] }
|
|
1514
1292
|
];
|
|
1515
1293
|
/** @nocollapse */
|
|
@@ -2376,7 +2154,7 @@ var RAWidgetContainer = /** @class */ (function () {
|
|
|
2376
2154
|
{ type: Component, args: [{
|
|
2377
2155
|
selector: 'ra-widget-container',
|
|
2378
2156
|
template: "<div class=\"wc-wrapper\" (mouseenter)=\"mouseHover(true)\" (mouseleave)=\"mouseHover(false)\"\r\n [ngStyle]=\"{'margin-left': noPadding?'0px':'15px','margin-right': noPadding?'0px':'15px'}\">\r\n <div class=\"wcheader widget-move\" [ngClass]=\"{'underLine': enableTitleLine || isWidgetStateApplicable}\">\r\n <div class=\"col-md-12 wc-mover\" style=\"padding-left: 0px;height:inherit;padding-right: 0px;\">\r\n <div style=\"display:flex;margin-top:10px;\"\r\n [ngStyle]=\"{'margin-left': noPadding?'15px':'0px','margin-right': noPadding?'15px':'0px'}\">\r\n <div class=\"col-md-10 float-left title-label\">\r\n <ra-tooltip [value]=\"toolTipValue\" [width]=\"toolTipWidth\">\r\n <div style=\"text-overflow: ellipsis;white-space: nowrap;overflow: hidden;\" (mouseover)=\"mouseOver($event)\"\r\n #searchInput>{{data.widgetInfo.widgetTitle}}</div>\r\n </ra-tooltip>\r\n </div>\r\n\r\n\r\n <div class=\"col-md-2\" style=\"cursor:default;padding-right: 0px;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\r\n\r\n <div class=\"title-bar-lock-icon lock-dropdown\" [hidden]=\"!lockDetails && !lockTemplateInfo\">\r\n <i class=\"fal fa-lock lock\"></i>\r\n <div class=\"lock-dropdown-content light widget-config-item\">\r\n <div *ngIf=\"lockDetails && !lockTemplateInfo\">\r\n <label style=\"color: #D9F0FA;\">\r\n {{'Common.lockedfields'|translate}}\r\n </label>\r\n <div style=\"color: white;\">\r\n <label class=\"bold\" style=\"margin-bottom: 0px;width: 100%;\" *ngFor=\"let item of lockDetails\">\r\n {{item}}\r\n </label>\r\n </div>\r\n <hr>\r\n <div style=\"color: #D9F0FA;\">\r\n <label>{{'Common.lockedfieldseditinfo'|translate}}</label>\r\n </div>\r\n </div>\r\n <div *ngIf=\"!lockDetails && lockTemplateInfo\">\r\n <ng-container *ngTemplateOutlet=\"lockTemplateInfo\">\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"dropdown\" style=\"width:10px;\">\r\n <div class=\"dropbtn title-bar-icon\">\r\n <i (click)=\"showDropDown()\" #widgetDropdown class=\"fal fa-ellipsis-v\"></i>\r\n </div>\r\n <div class=\"download-content dropdown-content widget-config-item\"\r\n [ngClass]=\"{'dropdown-click': dropDownShown}\" style=\"z-index: 1002;\">\r\n\r\n <div style=\"color: #9FA0A4;font-size: 12px;padding-top: 8px;padding-left: 12px;\">\r\n {{'Common.settings'|translate}}</div>\r\n\r\n <a style=\"padding-top: 10px;\" (click)=\"editWidget()\">\r\n <ra-tooltip [value]=\"editToolTipValue\" [width]=\"editToolTipWidth\">\r\n <i class=\"fal fa-edit\"></i>\r\n <span style=\"padding-left: 6px;\">{{editText}}</span>\r\n </ra-tooltip>\r\n </a>\r\n <a (click)=\"copyWidget()\">\r\n <ra-tooltip [value]=\"copyToolTipValue\" [width]=\"copyToolTipWidth\">\r\n <i class=\"fal fa-copy\"></i>\r\n <span style=\"padding-left: 10px;\">{{copyText}}</span>\r\n </ra-tooltip>\r\n </a>\r\n <a (click)=\"moveWidget()\">\r\n <ra-tooltip [value]=\"moveToolTipValue\" [width]=\"moveToolTipWidth\">\r\n <i class=\"fal fa-arrows-alt\"></i>\r\n <span style=\"padding-left: 9px;\">{{moveText}}</span>\r\n </ra-tooltip>\r\n </a>\r\n <a *ngIf=\"detailPageUrl\" (click)=\"visitPage()\"\r\n style=\"max-height: 30px;align-items: center;align-content: center; display: flex;\">\r\n <i style=\"padding-left: 4px;font-size: 27px !important;\" class=\"fal fa-angle-right\"></i>\r\n <span style=\"padding-left: 11px;margin-top: 2px;\">{{'Common.visitpage'|translate}}</span>\r\n </a>\r\n <hr class=\"hr\" style=\"padding-bottom: 9px;\">\r\n <span style=\"color: #9FA0A4;font-size: 12px;\"\r\n *ngIf=\"isDownloadIconVisible\">{{'Common.downloads'|translate}}</span>\r\n <div *ngIf=\"isChartDownloadVisible\" style=\"padding-top: 10px;\" class=\"chartDownload\">\r\n <a (click)=\"downloadIconClicked('PNG')\">\r\n <i class=\"fal fa-file-image\"></i>\r\n <span>{{'Common.png'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('JPEG')\">\r\n <i class=\"fal fa-file-image\"></i>\r\n <span>{{'Common.jpeg'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('PDF')\">\r\n <i class=\"fal fa-file-pdf\"></i>\r\n <span>{{'Common.pdf'|translate}}</span>\r\n </a>\r\n <a (click)=\"downloadIconClicked('SVG')\">\r\n <i class=\"fal fa-file-alt\"></i>\r\n <span>{{'Common.svg'|translate}}</span>\r\n </a>\r\n </div>\r\n <div *ngIf=\"isGridDownloadVisible\" class=\"gridDownload\">\r\n <a (click)=\"downloadIconClicked('CSV')\">\r\n <ra-tooltip [value]=\"excelToolTipValue\" [width]=\"excelToolTipWidth\">\r\n <i class=\"fal fa-download\"></i>\r\n <span>{{excelText}}</span>\r\n </ra-tooltip>\r\n </a>\r\n </div>\r\n <hr *ngIf=\"isDownloadIconVisible\" class=\"hr\">\r\n <a (click)=\"deleteWidget()\">\r\n <ra-tooltip [value]=\"deleteToolTipValue\" [width]=\"deleteToolTipWidth\">\r\n <i class=\"fal fa-times\" style=\"padding-left: 3px;color: red;\"></i>\r\n <span>{{deleteText}}</span>\r\n </ra-tooltip>\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\" [ngStyle]=\"{'bottom': noPadding?'0px':'15px'}\">\r\n <div [hidden]=\"isWidgetStateApplicable\" class=\"m-fadeOut widget-overlay\" [ngClass]=\"{'m-fadeIn': showPanel}\">\r\n <div class=\"lds-roller\">\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n </div>\r\n </div>\r\n <div class=\"wc\" [hidden]=\"isWidgetStateApplicable\">\r\n <div #ctlWidget></div>\r\n </div>\r\n <div *ngIf=\"isWidgetStateApplicable\" class=\"defaultConfig\">\r\n <ra-widget-state style=\"width: 100%;\" [isWidgetStateApplicable]=\"isWidgetStateApplicable\" \r\n [widgetEmptyState]=\"widgetEmptyState\" (editWidgetClicked) = editWidget()>\r\n </ra-widget-state>\r\n </div>\r\n <div>\r\n </div>\r\n </div>\r\n</div>",
|
|
2379
|
-
styles: [".sp_icon{float:left;margin:0 15% 0 0}.dropbtn{color:#42b4e6;text-align:right;height:100%}.dropbtn i{cursor:pointer;width:100%;height:100%}.dropdown{visibility:hidden;opacity:0
|
|
2157
|
+
styles: [".sp_icon{float:left;margin:0 15% 0 0}.dropbtn{color:#42b4e6;text-align:right;height:100%}.dropbtn i{cursor:pointer;width:100%;height:100%}.dropdown{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;position:relative;width:100%}@media screen and (max-width:400px){.dropdown{visibility:visible;opacity:1}}.dropdown hr{margin:0!important}.dropdown-content{display:none;position:absolute;right:0;background-color:#fff;min-width:100px;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index:2;font-size:12px;font-weight:400;width:122px}.dropdown-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.wc{height:100%}.defaultConfig{height:100%;display:flex;align-items:center}.defaultConfig .button{min-height:34px;font-size:13px;width:100%;min-height:34px;color:#fff;background:no-repeat padding-box #3dcd58;display:table;margin:9px 0 0;cursor:pointer;text-align:center;float:left}.defaultConfig .contentarea{width:80%;margin:0 auto;float:left;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.defaultConfig .textarea{width:100%;float:left}.defaultConfig .textarea .icon{width:52px;height:100%;float:left}.defaultConfig .textarea .empty-config{color:#32ad3c}.defaultConfig .textarea .error-view{color:#dc0a0a}.defaultConfig .textarea .empty-data{color:#5ab5e6}.defaultConfig .textarea .text{width:calc(100% - 52px);min-height:60px;float:left;font-size:14px;text-align:left}.defaultConfig .textarea .icon i{font-size:40px!important}.configuretext{display:table-cell;vertical-align:middle;height:34px}.dropdown-content a:hover{background-color:#f1f1f1}.lockInvisible{margin-right:-17px}.dropdown-click{display:block!important;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}.download-icon{cursor:pointer}.dropdown:hover .dropdown-content{color:#fff}.title-bar-icon{color:#42b4e6}.title-bar-lock-icon{margin:0 3px}.hr{border:0;border-top:1px solid rgba(0,0,0,.1)}.settingstyle{color:#9fa0a4;font-size:12px}@-webkit-keyframes slide-down{0%{opacity:0;transform:translateY(-20%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down{0%{opacity:0;transform:translateY(-20%)}100%{opacity:1;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}.lock{color:#42b4e6}.locked{color:#42b4e6;background:#fff}.partiallocked{color:#a0d9f2}.unlocked{display:none}.download{visibility:hidden;opacity:0;transition:visibility,opacity .5s linear;position:relative}.wc-wrapper:hover .download{visibility:visible;opacity:1}.download-content a{color:#000;padding:5px 16px;text-decoration:none;display:block;cursor:pointer}.download-content a:hover{background-color:#f1f1f1}.download-content a i{font-size:17px;color:#42b4e6}.download-content a span{font-size:12px;font:inherit;padding-left:12px;color:#42b4e6}.title-label{width:96%;padding-left:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lock-dropdown{transition:visibility,opacity .5s linear;position:relative;display:inline-block;margin:0 6px 0 10px}.lock-dropdown-content{display:none;margin-top:8px;position:absolute;right:0;top:79%;box-shadow:0 8px 16px 8px rgba(0,0,0,.2);z-index:899;font-size:12px;min-width:220px!important;min-height:112px;background-color:#219bfd;opacity:.9;padding:15px;color:#fff}.lock-dropdown-content hr{border-bottom:1px solid #fff}.lock-dropdown:hover .lock-dropdown-content{display:block!important;-webkit-animation:.3s ease-out slide-down;animation:.3s ease-out slide-down}"]
|
|
2380
2158
|
}] }
|
|
2381
2159
|
];
|
|
2382
2160
|
/** @nocollapse */
|
|
@@ -2612,6 +2390,223 @@ var customNotifierOptions = {
|
|
|
2612
2390
|
}
|
|
2613
2391
|
};
|
|
2614
2392
|
|
|
2393
|
+
/**
|
|
2394
|
+
* @fileoverview added by tsickle
|
|
2395
|
+
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
2396
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2397
|
+
*/
|
|
2398
|
+
/** @enum {string} */
|
|
2399
|
+
var GridType = {
|
|
2400
|
+
Fit: "fit",
|
|
2401
|
+
ScrollVertical: "scrollVertical",
|
|
2402
|
+
ScrollHorizontal: "scrollHorizontal",
|
|
2403
|
+
Fixed: "fixed",
|
|
2404
|
+
VerticalFixed: "verticalFixed",
|
|
2405
|
+
HorizontalFixed: "horizontalFixed",
|
|
2406
|
+
};
|
|
2407
|
+
/** @enum {string} */
|
|
2408
|
+
var DisplayGrid = {
|
|
2409
|
+
Always: "always",
|
|
2410
|
+
OnDragAndResize: "onDrag&Resize",
|
|
2411
|
+
None: "none",
|
|
2412
|
+
};
|
|
2413
|
+
/** @enum {string} */
|
|
2414
|
+
var CompactType = {
|
|
2415
|
+
None: "none",
|
|
2416
|
+
CompactUp: "compactUp",
|
|
2417
|
+
CompactLeft: "compactLeft",
|
|
2418
|
+
CompactUpAndLeft: "compactUp&Left",
|
|
2419
|
+
CompactLeftAndUp: "compactLeft&Up",
|
|
2420
|
+
CompactRight: "compactRight",
|
|
2421
|
+
CompactUpAndRight: "compactUp&Right",
|
|
2422
|
+
CompactRightAndUp: "compactRight&Up",
|
|
2423
|
+
};
|
|
2424
|
+
/**
|
|
2425
|
+
* @record
|
|
2426
|
+
*/
|
|
2427
|
+
function GridsterConfig() { }
|
|
2428
|
+
if (false) {
|
|
2429
|
+
/** @type {?|undefined} */
|
|
2430
|
+
GridsterConfig.prototype.gridType;
|
|
2431
|
+
/** @type {?|undefined} */
|
|
2432
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
2433
|
+
/** @type {?|undefined} */
|
|
2434
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
2435
|
+
/** @type {?|undefined} */
|
|
2436
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
2437
|
+
/** @type {?|undefined} */
|
|
2438
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
2439
|
+
/** @type {?|undefined} */
|
|
2440
|
+
GridsterConfig.prototype.setGridSize;
|
|
2441
|
+
/** @type {?|undefined} */
|
|
2442
|
+
GridsterConfig.prototype.compactType;
|
|
2443
|
+
/** @type {?|undefined} */
|
|
2444
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
2445
|
+
/** @type {?|undefined} */
|
|
2446
|
+
GridsterConfig.prototype.minCols;
|
|
2447
|
+
/** @type {?|undefined} */
|
|
2448
|
+
GridsterConfig.prototype.maxCols;
|
|
2449
|
+
/** @type {?|undefined} */
|
|
2450
|
+
GridsterConfig.prototype.minRows;
|
|
2451
|
+
/** @type {?|undefined} */
|
|
2452
|
+
GridsterConfig.prototype.maxRows;
|
|
2453
|
+
/** @type {?|undefined} */
|
|
2454
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
2455
|
+
/** @type {?|undefined} */
|
|
2456
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
2457
|
+
/** @type {?|undefined} */
|
|
2458
|
+
GridsterConfig.prototype.maxItemCols;
|
|
2459
|
+
/** @type {?|undefined} */
|
|
2460
|
+
GridsterConfig.prototype.maxItemRows;
|
|
2461
|
+
/** @type {?|undefined} */
|
|
2462
|
+
GridsterConfig.prototype.minItemCols;
|
|
2463
|
+
/** @type {?|undefined} */
|
|
2464
|
+
GridsterConfig.prototype.minItemRows;
|
|
2465
|
+
/** @type {?|undefined} */
|
|
2466
|
+
GridsterConfig.prototype.minItemArea;
|
|
2467
|
+
/** @type {?|undefined} */
|
|
2468
|
+
GridsterConfig.prototype.maxItemArea;
|
|
2469
|
+
/** @type {?|undefined} */
|
|
2470
|
+
GridsterConfig.prototype.margin;
|
|
2471
|
+
/** @type {?|undefined} */
|
|
2472
|
+
GridsterConfig.prototype.outerMargin;
|
|
2473
|
+
/** @type {?|undefined} */
|
|
2474
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
2475
|
+
/** @type {?|undefined} */
|
|
2476
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
2477
|
+
/** @type {?|undefined} */
|
|
2478
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
2479
|
+
/** @type {?|undefined} */
|
|
2480
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
2481
|
+
/** @type {?|undefined} */
|
|
2482
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
2483
|
+
/** @type {?|undefined} */
|
|
2484
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
2485
|
+
/** @type {?|undefined} */
|
|
2486
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
2487
|
+
/** @type {?|undefined} */
|
|
2488
|
+
GridsterConfig.prototype.initCallback;
|
|
2489
|
+
/** @type {?|undefined} */
|
|
2490
|
+
GridsterConfig.prototype.destroyCallback;
|
|
2491
|
+
/** @type {?|undefined} */
|
|
2492
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
2493
|
+
/** @type {?|undefined} */
|
|
2494
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
2495
|
+
/** @type {?|undefined} */
|
|
2496
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
2497
|
+
/** @type {?|undefined} */
|
|
2498
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
2499
|
+
/** @type {?|undefined} */
|
|
2500
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
2501
|
+
/** @type {?|undefined} */
|
|
2502
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
2503
|
+
/** @type {?|undefined} */
|
|
2504
|
+
GridsterConfig.prototype.draggable;
|
|
2505
|
+
/** @type {?|undefined} */
|
|
2506
|
+
GridsterConfig.prototype.resizable;
|
|
2507
|
+
/** @type {?|undefined} */
|
|
2508
|
+
GridsterConfig.prototype.swap;
|
|
2509
|
+
/** @type {?|undefined} */
|
|
2510
|
+
GridsterConfig.prototype.pushItems;
|
|
2511
|
+
/** @type {?|undefined} */
|
|
2512
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
2513
|
+
/** @type {?|undefined} */
|
|
2514
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
2515
|
+
/** @type {?|undefined} */
|
|
2516
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
2517
|
+
/** @type {?|undefined} */
|
|
2518
|
+
GridsterConfig.prototype.pushDirections;
|
|
2519
|
+
/** @type {?|undefined} */
|
|
2520
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
2521
|
+
/** @type {?|undefined} */
|
|
2522
|
+
GridsterConfig.prototype.displayGrid;
|
|
2523
|
+
/** @type {?|undefined} */
|
|
2524
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
2525
|
+
/** @type {?|undefined} */
|
|
2526
|
+
GridsterConfig.prototype.disableWarnings;
|
|
2527
|
+
/** @type {?|undefined} */
|
|
2528
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
2529
|
+
/** @type {?|undefined} */
|
|
2530
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
2531
|
+
/** @type {?|undefined} */
|
|
2532
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
2533
|
+
/** @type {?|undefined} */
|
|
2534
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
2535
|
+
/** @type {?|undefined} */
|
|
2536
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
2537
|
+
/** @type {?|undefined} */
|
|
2538
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
2539
|
+
/** @type {?|undefined} */
|
|
2540
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
2541
|
+
/** @type {?|undefined} */
|
|
2542
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
2543
|
+
/** @type {?|undefined} */
|
|
2544
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
2545
|
+
/** @type {?|undefined} */
|
|
2546
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
2547
|
+
/** @type {?|undefined} */
|
|
2548
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
2549
|
+
/** @type {?|undefined} */
|
|
2550
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
2551
|
+
/** @type {?|undefined} */
|
|
2552
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
2553
|
+
/** @type {?|undefined} */
|
|
2554
|
+
GridsterConfig.prototype.api;
|
|
2555
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
2556
|
+
}
|
|
2557
|
+
/**
|
|
2558
|
+
* @record
|
|
2559
|
+
*/
|
|
2560
|
+
function DragBase() { }
|
|
2561
|
+
if (false) {
|
|
2562
|
+
/** @type {?|undefined} */
|
|
2563
|
+
DragBase.prototype.enabled;
|
|
2564
|
+
/** @type {?|undefined} */
|
|
2565
|
+
DragBase.prototype.stop;
|
|
2566
|
+
/** @type {?|undefined} */
|
|
2567
|
+
DragBase.prototype.start;
|
|
2568
|
+
/** @type {?|undefined} */
|
|
2569
|
+
DragBase.prototype.delayStart;
|
|
2570
|
+
}
|
|
2571
|
+
/**
|
|
2572
|
+
* @record
|
|
2573
|
+
*/
|
|
2574
|
+
function Draggable() { }
|
|
2575
|
+
if (false) {
|
|
2576
|
+
/** @type {?|undefined} */
|
|
2577
|
+
Draggable.prototype.ignoreContentClass;
|
|
2578
|
+
/** @type {?|undefined} */
|
|
2579
|
+
Draggable.prototype.ignoreContent;
|
|
2580
|
+
/** @type {?|undefined} */
|
|
2581
|
+
Draggable.prototype.dragHandleClass;
|
|
2582
|
+
/** @type {?|undefined} */
|
|
2583
|
+
Draggable.prototype.dropOverItems;
|
|
2584
|
+
/** @type {?|undefined} */
|
|
2585
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
2586
|
+
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @record
|
|
2589
|
+
*/
|
|
2590
|
+
function Resizable() { }
|
|
2591
|
+
if (false) {
|
|
2592
|
+
/** @type {?|undefined} */
|
|
2593
|
+
Resizable.prototype.handles;
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* @record
|
|
2597
|
+
*/
|
|
2598
|
+
function PushDirections() { }
|
|
2599
|
+
if (false) {
|
|
2600
|
+
/** @type {?} */
|
|
2601
|
+
PushDirections.prototype.north;
|
|
2602
|
+
/** @type {?} */
|
|
2603
|
+
PushDirections.prototype.east;
|
|
2604
|
+
/** @type {?} */
|
|
2605
|
+
PushDirections.prototype.south;
|
|
2606
|
+
/** @type {?} */
|
|
2607
|
+
PushDirections.prototype.west;
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2615
2610
|
/**
|
|
2616
2611
|
* @fileoverview added by tsickle
|
|
2617
2612
|
* Generated from: gridster/lib/gridsterConfig.constant.ts
|
|
@@ -4713,7 +4708,7 @@ var GridsterComponent = /** @class */ (function () {
|
|
|
4713
4708
|
selector: 'gridster',
|
|
4714
4709
|
template: "<div class=\"gridster-column\" *ngFor=\"let column of gridColumns; let i = index;\"\r\n [ngStyle]=\"gridRenderer.getGridColumnStyle(i)\"></div>\r\n<div class=\"gridster-row\" *ngFor=\"let row of gridRows; let i = index;\"\r\n [ngStyle]=\"gridRenderer.getGridRowStyle(i)\"></div>\r\n<ng-content></ng-content>\r\n<gridster-preview class=\"gridster-preview\"></gridster-preview>\r\n",
|
|
4715
4710
|
encapsulation: ViewEncapsulation.None,
|
|
4716
|
-
styles: ["gridster{clear:both;position:relative;box-sizing:border-box;background:#fff;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;overflow:auto}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto
|
|
4711
|
+
styles: ["gridster{clear:both;position:relative;box-sizing:border-box;background:#fff;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;overflow:auto}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto;flex-flow:column}gridster.mobile gridster-item{position:relative;width:100%!important;min-height:300px!important}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid #ccc;border-right:1px solid #ccc}gridster .gridster-row{border-top:1px solid #ccc;border-bottom:1px solid #ccc}"]
|
|
4717
4712
|
}] }
|
|
4718
4713
|
];
|
|
4719
4714
|
/** @nocollapse */
|
|
@@ -7493,7 +7488,7 @@ var GridsterItemComponent = /** @class */ (function () {
|
|
|
7493
7488
|
selector: 'gridster-item',
|
|
7494
7489
|
template: "<ng-content></ng-content>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.s || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-s\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.e || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-e\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.n || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-n\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.w || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-w\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.se || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-se\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.ne || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-ne\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.sw || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-sw\"></div>\r\n<div (mousedown)=\"resize.dragStartDelay($event)\" (touchstart)=\"resize.dragStartDelay($event)\"\r\n [hidden]=\"!gridster.$options.resizable.handles.nw || !resize.resizeEnabled\"\r\n class=\"gridster-item-resizable-handler handle-nw\"></div>\r\n",
|
|
7495
7490
|
encapsulation: ViewEncapsulation.None,
|
|
7496
|
-
styles: ["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden
|
|
7491
|
+
styles: ["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-moving,gridster-item.gridster-item-resizing{transition:none;z-index:2;box-shadow:0 0 5px 5px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:n-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:e-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:s-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:w-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}"]
|
|
7497
7492
|
}] }
|
|
7498
7493
|
];
|
|
7499
7494
|
/** @nocollapse */
|