@schneideress/dashboardframework 0.0.156 → 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 +242 -242
- 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 +3 -3
- 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 +3 -3
- package/esm5/lib/ra.dashboard.responsive.service.js +2 -2
- package/esm5/lib/ra.gridster.config.js +4 -10
- package/fesm2015/schneideress-dashboardframework.js +226 -231
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +226 -231
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
}(this, (function (exports, core, rxjs, raCommon, operators, ngxUiLoader, angularNotifier, widgetframework, platformBrowser, http, common, userControls, commonControls) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
|
-
Copyright (c) Microsoft Corporation.
|
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
10
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
11
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
Copyright (c) Microsoft Corporation.
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
16
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
+
purpose with or without fee is hereby granted.
|
|
17
12
|
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
***************************************************************************** */
|
|
21
21
|
/* global Reflect, Promise */
|
|
22
22
|
|
|
@@ -109,8 +109,13 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
function __createBinding(o, m, k, k2) {
|
|
113
|
+
if (k2 === undefined) k2 = k;
|
|
114
|
+
o[k2] = m[k];
|
|
115
|
+
}
|
|
116
|
+
|
|
112
117
|
function __exportStar(m, exports) {
|
|
113
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
118
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
function __values(o) {
|
|
@@ -611,223 +616,6 @@
|
|
|
611
616
|
WidgetInstanceId: "widgetInstanceId",
|
|
612
617
|
};
|
|
613
618
|
|
|
614
|
-
/**
|
|
615
|
-
* @fileoverview added by tsickle
|
|
616
|
-
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
617
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
618
|
-
*/
|
|
619
|
-
/** @enum {string} */
|
|
620
|
-
var GridType = {
|
|
621
|
-
Fit: "fit",
|
|
622
|
-
ScrollVertical: "scrollVertical",
|
|
623
|
-
ScrollHorizontal: "scrollHorizontal",
|
|
624
|
-
Fixed: "fixed",
|
|
625
|
-
VerticalFixed: "verticalFixed",
|
|
626
|
-
HorizontalFixed: "horizontalFixed",
|
|
627
|
-
};
|
|
628
|
-
/** @enum {string} */
|
|
629
|
-
var DisplayGrid = {
|
|
630
|
-
Always: "always",
|
|
631
|
-
OnDragAndResize: "onDrag&Resize",
|
|
632
|
-
None: "none",
|
|
633
|
-
};
|
|
634
|
-
/** @enum {string} */
|
|
635
|
-
var CompactType = {
|
|
636
|
-
None: "none",
|
|
637
|
-
CompactUp: "compactUp",
|
|
638
|
-
CompactLeft: "compactLeft",
|
|
639
|
-
CompactUpAndLeft: "compactUp&Left",
|
|
640
|
-
CompactLeftAndUp: "compactLeft&Up",
|
|
641
|
-
CompactRight: "compactRight",
|
|
642
|
-
CompactUpAndRight: "compactUp&Right",
|
|
643
|
-
CompactRightAndUp: "compactRight&Up",
|
|
644
|
-
};
|
|
645
|
-
/**
|
|
646
|
-
* @record
|
|
647
|
-
*/
|
|
648
|
-
function GridsterConfig() { }
|
|
649
|
-
if (false) {
|
|
650
|
-
/** @type {?|undefined} */
|
|
651
|
-
GridsterConfig.prototype.gridType;
|
|
652
|
-
/** @type {?|undefined} */
|
|
653
|
-
GridsterConfig.prototype.fixedColWidth;
|
|
654
|
-
/** @type {?|undefined} */
|
|
655
|
-
GridsterConfig.prototype.fixedRowHeight;
|
|
656
|
-
/** @type {?|undefined} */
|
|
657
|
-
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
658
|
-
/** @type {?|undefined} */
|
|
659
|
-
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
660
|
-
/** @type {?|undefined} */
|
|
661
|
-
GridsterConfig.prototype.setGridSize;
|
|
662
|
-
/** @type {?|undefined} */
|
|
663
|
-
GridsterConfig.prototype.compactType;
|
|
664
|
-
/** @type {?|undefined} */
|
|
665
|
-
GridsterConfig.prototype.mobileBreakpoint;
|
|
666
|
-
/** @type {?|undefined} */
|
|
667
|
-
GridsterConfig.prototype.minCols;
|
|
668
|
-
/** @type {?|undefined} */
|
|
669
|
-
GridsterConfig.prototype.maxCols;
|
|
670
|
-
/** @type {?|undefined} */
|
|
671
|
-
GridsterConfig.prototype.minRows;
|
|
672
|
-
/** @type {?|undefined} */
|
|
673
|
-
GridsterConfig.prototype.maxRows;
|
|
674
|
-
/** @type {?|undefined} */
|
|
675
|
-
GridsterConfig.prototype.defaultItemCols;
|
|
676
|
-
/** @type {?|undefined} */
|
|
677
|
-
GridsterConfig.prototype.defaultItemRows;
|
|
678
|
-
/** @type {?|undefined} */
|
|
679
|
-
GridsterConfig.prototype.maxItemCols;
|
|
680
|
-
/** @type {?|undefined} */
|
|
681
|
-
GridsterConfig.prototype.maxItemRows;
|
|
682
|
-
/** @type {?|undefined} */
|
|
683
|
-
GridsterConfig.prototype.minItemCols;
|
|
684
|
-
/** @type {?|undefined} */
|
|
685
|
-
GridsterConfig.prototype.minItemRows;
|
|
686
|
-
/** @type {?|undefined} */
|
|
687
|
-
GridsterConfig.prototype.minItemArea;
|
|
688
|
-
/** @type {?|undefined} */
|
|
689
|
-
GridsterConfig.prototype.maxItemArea;
|
|
690
|
-
/** @type {?|undefined} */
|
|
691
|
-
GridsterConfig.prototype.margin;
|
|
692
|
-
/** @type {?|undefined} */
|
|
693
|
-
GridsterConfig.prototype.outerMargin;
|
|
694
|
-
/** @type {?|undefined} */
|
|
695
|
-
GridsterConfig.prototype.outerMarginTop;
|
|
696
|
-
/** @type {?|undefined} */
|
|
697
|
-
GridsterConfig.prototype.outerMarginRight;
|
|
698
|
-
/** @type {?|undefined} */
|
|
699
|
-
GridsterConfig.prototype.outerMarginBottom;
|
|
700
|
-
/** @type {?|undefined} */
|
|
701
|
-
GridsterConfig.prototype.outerMarginLeft;
|
|
702
|
-
/** @type {?|undefined} */
|
|
703
|
-
GridsterConfig.prototype.useTransformPositioning;
|
|
704
|
-
/** @type {?|undefined} */
|
|
705
|
-
GridsterConfig.prototype.scrollSensitivity;
|
|
706
|
-
/** @type {?|undefined} */
|
|
707
|
-
GridsterConfig.prototype.scrollSpeed;
|
|
708
|
-
/** @type {?|undefined} */
|
|
709
|
-
GridsterConfig.prototype.initCallback;
|
|
710
|
-
/** @type {?|undefined} */
|
|
711
|
-
GridsterConfig.prototype.destroyCallback;
|
|
712
|
-
/** @type {?|undefined} */
|
|
713
|
-
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
714
|
-
/** @type {?|undefined} */
|
|
715
|
-
GridsterConfig.prototype.itemChangeCallback;
|
|
716
|
-
/** @type {?|undefined} */
|
|
717
|
-
GridsterConfig.prototype.itemResizeCallback;
|
|
718
|
-
/** @type {?|undefined} */
|
|
719
|
-
GridsterConfig.prototype.itemInitCallback;
|
|
720
|
-
/** @type {?|undefined} */
|
|
721
|
-
GridsterConfig.prototype.itemRemovedCallback;
|
|
722
|
-
/** @type {?|undefined} */
|
|
723
|
-
GridsterConfig.prototype.itemValidateCallback;
|
|
724
|
-
/** @type {?|undefined} */
|
|
725
|
-
GridsterConfig.prototype.draggable;
|
|
726
|
-
/** @type {?|undefined} */
|
|
727
|
-
GridsterConfig.prototype.resizable;
|
|
728
|
-
/** @type {?|undefined} */
|
|
729
|
-
GridsterConfig.prototype.swap;
|
|
730
|
-
/** @type {?|undefined} */
|
|
731
|
-
GridsterConfig.prototype.pushItems;
|
|
732
|
-
/** @type {?|undefined} */
|
|
733
|
-
GridsterConfig.prototype.disablePushOnDrag;
|
|
734
|
-
/** @type {?|undefined} */
|
|
735
|
-
GridsterConfig.prototype.disablePushOnResize;
|
|
736
|
-
/** @type {?|undefined} */
|
|
737
|
-
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
738
|
-
/** @type {?|undefined} */
|
|
739
|
-
GridsterConfig.prototype.pushDirections;
|
|
740
|
-
/** @type {?|undefined} */
|
|
741
|
-
GridsterConfig.prototype.pushResizeItems;
|
|
742
|
-
/** @type {?|undefined} */
|
|
743
|
-
GridsterConfig.prototype.displayGrid;
|
|
744
|
-
/** @type {?|undefined} */
|
|
745
|
-
GridsterConfig.prototype.disableWindowResize;
|
|
746
|
-
/** @type {?|undefined} */
|
|
747
|
-
GridsterConfig.prototype.disableWarnings;
|
|
748
|
-
/** @type {?|undefined} */
|
|
749
|
-
GridsterConfig.prototype.scrollToNewItems;
|
|
750
|
-
/** @type {?|undefined} */
|
|
751
|
-
GridsterConfig.prototype.enableEmptyCellClick;
|
|
752
|
-
/** @type {?|undefined} */
|
|
753
|
-
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
754
|
-
/** @type {?|undefined} */
|
|
755
|
-
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
756
|
-
/** @type {?|undefined} */
|
|
757
|
-
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
758
|
-
/** @type {?|undefined} */
|
|
759
|
-
GridsterConfig.prototype.emptyCellClickCallback;
|
|
760
|
-
/** @type {?|undefined} */
|
|
761
|
-
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
762
|
-
/** @type {?|undefined} */
|
|
763
|
-
GridsterConfig.prototype.emptyCellDropCallback;
|
|
764
|
-
/** @type {?|undefined} */
|
|
765
|
-
GridsterConfig.prototype.emptyCellDragCallback;
|
|
766
|
-
/** @type {?|undefined} */
|
|
767
|
-
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
768
|
-
/** @type {?|undefined} */
|
|
769
|
-
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
770
|
-
/** @type {?|undefined} */
|
|
771
|
-
GridsterConfig.prototype.ignoreMarginInRow;
|
|
772
|
-
/** @type {?|undefined} */
|
|
773
|
-
GridsterConfig.prototype.autoResizeonDrag;
|
|
774
|
-
/** @type {?|undefined} */
|
|
775
|
-
GridsterConfig.prototype.api;
|
|
776
|
-
/* Skipping unhandled member: [propName: string]: any;*/
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* @record
|
|
780
|
-
*/
|
|
781
|
-
function DragBase() { }
|
|
782
|
-
if (false) {
|
|
783
|
-
/** @type {?|undefined} */
|
|
784
|
-
DragBase.prototype.enabled;
|
|
785
|
-
/** @type {?|undefined} */
|
|
786
|
-
DragBase.prototype.stop;
|
|
787
|
-
/** @type {?|undefined} */
|
|
788
|
-
DragBase.prototype.start;
|
|
789
|
-
/** @type {?|undefined} */
|
|
790
|
-
DragBase.prototype.delayStart;
|
|
791
|
-
}
|
|
792
|
-
/**
|
|
793
|
-
* @record
|
|
794
|
-
*/
|
|
795
|
-
function Draggable() { }
|
|
796
|
-
if (false) {
|
|
797
|
-
/** @type {?|undefined} */
|
|
798
|
-
Draggable.prototype.ignoreContentClass;
|
|
799
|
-
/** @type {?|undefined} */
|
|
800
|
-
Draggable.prototype.ignoreContent;
|
|
801
|
-
/** @type {?|undefined} */
|
|
802
|
-
Draggable.prototype.dragHandleClass;
|
|
803
|
-
/** @type {?|undefined} */
|
|
804
|
-
Draggable.prototype.dropOverItems;
|
|
805
|
-
/** @type {?|undefined} */
|
|
806
|
-
Draggable.prototype.dropOverItemsCallback;
|
|
807
|
-
}
|
|
808
|
-
/**
|
|
809
|
-
* @record
|
|
810
|
-
*/
|
|
811
|
-
function Resizable() { }
|
|
812
|
-
if (false) {
|
|
813
|
-
/** @type {?|undefined} */
|
|
814
|
-
Resizable.prototype.handles;
|
|
815
|
-
}
|
|
816
|
-
/**
|
|
817
|
-
* @record
|
|
818
|
-
*/
|
|
819
|
-
function PushDirections() { }
|
|
820
|
-
if (false) {
|
|
821
|
-
/** @type {?} */
|
|
822
|
-
PushDirections.prototype.north;
|
|
823
|
-
/** @type {?} */
|
|
824
|
-
PushDirections.prototype.east;
|
|
825
|
-
/** @type {?} */
|
|
826
|
-
PushDirections.prototype.south;
|
|
827
|
-
/** @type {?} */
|
|
828
|
-
PushDirections.prototype.west;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
619
|
/**
|
|
832
620
|
* @fileoverview added by tsickle
|
|
833
621
|
* Generated from: lib/ra.gridster.config.ts
|
|
@@ -835,8 +623,8 @@
|
|
|
835
623
|
*/
|
|
836
624
|
/** @type {?} */
|
|
837
625
|
var GridsterConfigDefaultSettings = {
|
|
838
|
-
gridType:
|
|
839
|
-
compactType:
|
|
626
|
+
gridType: 'scrollVertical',
|
|
627
|
+
compactType: 'none',
|
|
840
628
|
margin: 10,
|
|
841
629
|
outerMargin: true,
|
|
842
630
|
outerMarginTop: 10,
|
|
@@ -857,8 +645,6 @@
|
|
|
857
645
|
minItemArea: 4,
|
|
858
646
|
defaultItemCols: 2,
|
|
859
647
|
defaultItemRows: 2,
|
|
860
|
-
// fixedColWidth: 105,
|
|
861
|
-
// fixedRowHeight: 105,
|
|
862
648
|
keepFixedHeightInMobile: false,
|
|
863
649
|
keepFixedWidthInMobile: false,
|
|
864
650
|
scrollSensitivity: 10,
|
|
@@ -884,15 +670,12 @@
|
|
|
884
670
|
disablePushOnResize: false,
|
|
885
671
|
pushDirections: { north: true, east: true, south: true, west: true },
|
|
886
672
|
pushResizeItems: false,
|
|
887
|
-
displayGrid:
|
|
673
|
+
displayGrid: 'none',
|
|
888
674
|
disableWindowResize: false,
|
|
889
675
|
disableWarnings: false,
|
|
890
676
|
scrollToNewItems: true,
|
|
891
677
|
autoResizeonDrag: false,
|
|
892
678
|
setGridSize: false
|
|
893
|
-
//itemResizeCallback: (item) => this.itemResize(item),
|
|
894
|
-
//itemChangeCallback: (item) => this.itemCallBack(item),
|
|
895
|
-
//itemInitCallback: (item) => this.itemInitCallback(item)
|
|
896
679
|
};
|
|
897
680
|
|
|
898
681
|
/**
|
|
@@ -948,7 +731,7 @@
|
|
|
948
731
|
function () {
|
|
949
732
|
/** @type {?} */
|
|
950
733
|
var agent = navigator.userAgent || navigator.vendor || window.opera;
|
|
951
|
-
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
|
|
734
|
+
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))
|
|
952
735
|
return false;
|
|
953
736
|
return true;
|
|
954
737
|
},
|
|
@@ -1715,7 +1498,7 @@
|
|
|
1715
1498
|
{ type: core.Component, args: [{
|
|
1716
1499
|
selector: 'ra-dashboard-area',
|
|
1717
1500
|
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",
|
|
1718
|
-
styles: ["gridster{width:inherit;resize:height;display
|
|
1501
|
+
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)}"]
|
|
1719
1502
|
}] }
|
|
1720
1503
|
];
|
|
1721
1504
|
/** @nocollapse */
|
|
@@ -2581,8 +2364,8 @@
|
|
|
2581
2364
|
RAWidgetContainer.decorators = [
|
|
2582
2365
|
{ type: core.Component, args: [{
|
|
2583
2366
|
selector: 'ra-widget-container',
|
|
2584
|
-
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\" [widgetEmptyState]=\"widgetEmptyState\">\r\n </ra-widget-state>\r\n </div>\r\n <div>\r\n </div>\r\n </div>\r\n</div>",
|
|
2585
|
-
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
|
|
2367
|
+
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>",
|
|
2368
|
+
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}"]
|
|
2586
2369
|
}] }
|
|
2587
2370
|
];
|
|
2588
2371
|
/** @nocollapse */
|
|
@@ -2818,6 +2601,223 @@
|
|
|
2818
2601
|
}
|
|
2819
2602
|
};
|
|
2820
2603
|
|
|
2604
|
+
/**
|
|
2605
|
+
* @fileoverview added by tsickle
|
|
2606
|
+
* Generated from: gridster/lib/gridsterConfig.interface.ts
|
|
2607
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2608
|
+
*/
|
|
2609
|
+
/** @enum {string} */
|
|
2610
|
+
var GridType = {
|
|
2611
|
+
Fit: "fit",
|
|
2612
|
+
ScrollVertical: "scrollVertical",
|
|
2613
|
+
ScrollHorizontal: "scrollHorizontal",
|
|
2614
|
+
Fixed: "fixed",
|
|
2615
|
+
VerticalFixed: "verticalFixed",
|
|
2616
|
+
HorizontalFixed: "horizontalFixed",
|
|
2617
|
+
};
|
|
2618
|
+
/** @enum {string} */
|
|
2619
|
+
var DisplayGrid = {
|
|
2620
|
+
Always: "always",
|
|
2621
|
+
OnDragAndResize: "onDrag&Resize",
|
|
2622
|
+
None: "none",
|
|
2623
|
+
};
|
|
2624
|
+
/** @enum {string} */
|
|
2625
|
+
var CompactType = {
|
|
2626
|
+
None: "none",
|
|
2627
|
+
CompactUp: "compactUp",
|
|
2628
|
+
CompactLeft: "compactLeft",
|
|
2629
|
+
CompactUpAndLeft: "compactUp&Left",
|
|
2630
|
+
CompactLeftAndUp: "compactLeft&Up",
|
|
2631
|
+
CompactRight: "compactRight",
|
|
2632
|
+
CompactUpAndRight: "compactUp&Right",
|
|
2633
|
+
CompactRightAndUp: "compactRight&Up",
|
|
2634
|
+
};
|
|
2635
|
+
/**
|
|
2636
|
+
* @record
|
|
2637
|
+
*/
|
|
2638
|
+
function GridsterConfig() { }
|
|
2639
|
+
if (false) {
|
|
2640
|
+
/** @type {?|undefined} */
|
|
2641
|
+
GridsterConfig.prototype.gridType;
|
|
2642
|
+
/** @type {?|undefined} */
|
|
2643
|
+
GridsterConfig.prototype.fixedColWidth;
|
|
2644
|
+
/** @type {?|undefined} */
|
|
2645
|
+
GridsterConfig.prototype.fixedRowHeight;
|
|
2646
|
+
/** @type {?|undefined} */
|
|
2647
|
+
GridsterConfig.prototype.keepFixedHeightInMobile;
|
|
2648
|
+
/** @type {?|undefined} */
|
|
2649
|
+
GridsterConfig.prototype.keepFixedWidthInMobile;
|
|
2650
|
+
/** @type {?|undefined} */
|
|
2651
|
+
GridsterConfig.prototype.setGridSize;
|
|
2652
|
+
/** @type {?|undefined} */
|
|
2653
|
+
GridsterConfig.prototype.compactType;
|
|
2654
|
+
/** @type {?|undefined} */
|
|
2655
|
+
GridsterConfig.prototype.mobileBreakpoint;
|
|
2656
|
+
/** @type {?|undefined} */
|
|
2657
|
+
GridsterConfig.prototype.minCols;
|
|
2658
|
+
/** @type {?|undefined} */
|
|
2659
|
+
GridsterConfig.prototype.maxCols;
|
|
2660
|
+
/** @type {?|undefined} */
|
|
2661
|
+
GridsterConfig.prototype.minRows;
|
|
2662
|
+
/** @type {?|undefined} */
|
|
2663
|
+
GridsterConfig.prototype.maxRows;
|
|
2664
|
+
/** @type {?|undefined} */
|
|
2665
|
+
GridsterConfig.prototype.defaultItemCols;
|
|
2666
|
+
/** @type {?|undefined} */
|
|
2667
|
+
GridsterConfig.prototype.defaultItemRows;
|
|
2668
|
+
/** @type {?|undefined} */
|
|
2669
|
+
GridsterConfig.prototype.maxItemCols;
|
|
2670
|
+
/** @type {?|undefined} */
|
|
2671
|
+
GridsterConfig.prototype.maxItemRows;
|
|
2672
|
+
/** @type {?|undefined} */
|
|
2673
|
+
GridsterConfig.prototype.minItemCols;
|
|
2674
|
+
/** @type {?|undefined} */
|
|
2675
|
+
GridsterConfig.prototype.minItemRows;
|
|
2676
|
+
/** @type {?|undefined} */
|
|
2677
|
+
GridsterConfig.prototype.minItemArea;
|
|
2678
|
+
/** @type {?|undefined} */
|
|
2679
|
+
GridsterConfig.prototype.maxItemArea;
|
|
2680
|
+
/** @type {?|undefined} */
|
|
2681
|
+
GridsterConfig.prototype.margin;
|
|
2682
|
+
/** @type {?|undefined} */
|
|
2683
|
+
GridsterConfig.prototype.outerMargin;
|
|
2684
|
+
/** @type {?|undefined} */
|
|
2685
|
+
GridsterConfig.prototype.outerMarginTop;
|
|
2686
|
+
/** @type {?|undefined} */
|
|
2687
|
+
GridsterConfig.prototype.outerMarginRight;
|
|
2688
|
+
/** @type {?|undefined} */
|
|
2689
|
+
GridsterConfig.prototype.outerMarginBottom;
|
|
2690
|
+
/** @type {?|undefined} */
|
|
2691
|
+
GridsterConfig.prototype.outerMarginLeft;
|
|
2692
|
+
/** @type {?|undefined} */
|
|
2693
|
+
GridsterConfig.prototype.useTransformPositioning;
|
|
2694
|
+
/** @type {?|undefined} */
|
|
2695
|
+
GridsterConfig.prototype.scrollSensitivity;
|
|
2696
|
+
/** @type {?|undefined} */
|
|
2697
|
+
GridsterConfig.prototype.scrollSpeed;
|
|
2698
|
+
/** @type {?|undefined} */
|
|
2699
|
+
GridsterConfig.prototype.initCallback;
|
|
2700
|
+
/** @type {?|undefined} */
|
|
2701
|
+
GridsterConfig.prototype.destroyCallback;
|
|
2702
|
+
/** @type {?|undefined} */
|
|
2703
|
+
GridsterConfig.prototype.gridSizeChangedCallback;
|
|
2704
|
+
/** @type {?|undefined} */
|
|
2705
|
+
GridsterConfig.prototype.itemChangeCallback;
|
|
2706
|
+
/** @type {?|undefined} */
|
|
2707
|
+
GridsterConfig.prototype.itemResizeCallback;
|
|
2708
|
+
/** @type {?|undefined} */
|
|
2709
|
+
GridsterConfig.prototype.itemInitCallback;
|
|
2710
|
+
/** @type {?|undefined} */
|
|
2711
|
+
GridsterConfig.prototype.itemRemovedCallback;
|
|
2712
|
+
/** @type {?|undefined} */
|
|
2713
|
+
GridsterConfig.prototype.itemValidateCallback;
|
|
2714
|
+
/** @type {?|undefined} */
|
|
2715
|
+
GridsterConfig.prototype.draggable;
|
|
2716
|
+
/** @type {?|undefined} */
|
|
2717
|
+
GridsterConfig.prototype.resizable;
|
|
2718
|
+
/** @type {?|undefined} */
|
|
2719
|
+
GridsterConfig.prototype.swap;
|
|
2720
|
+
/** @type {?|undefined} */
|
|
2721
|
+
GridsterConfig.prototype.pushItems;
|
|
2722
|
+
/** @type {?|undefined} */
|
|
2723
|
+
GridsterConfig.prototype.disablePushOnDrag;
|
|
2724
|
+
/** @type {?|undefined} */
|
|
2725
|
+
GridsterConfig.prototype.disablePushOnResize;
|
|
2726
|
+
/** @type {?|undefined} */
|
|
2727
|
+
GridsterConfig.prototype.disableAutoPositionOnConflict;
|
|
2728
|
+
/** @type {?|undefined} */
|
|
2729
|
+
GridsterConfig.prototype.pushDirections;
|
|
2730
|
+
/** @type {?|undefined} */
|
|
2731
|
+
GridsterConfig.prototype.pushResizeItems;
|
|
2732
|
+
/** @type {?|undefined} */
|
|
2733
|
+
GridsterConfig.prototype.displayGrid;
|
|
2734
|
+
/** @type {?|undefined} */
|
|
2735
|
+
GridsterConfig.prototype.disableWindowResize;
|
|
2736
|
+
/** @type {?|undefined} */
|
|
2737
|
+
GridsterConfig.prototype.disableWarnings;
|
|
2738
|
+
/** @type {?|undefined} */
|
|
2739
|
+
GridsterConfig.prototype.scrollToNewItems;
|
|
2740
|
+
/** @type {?|undefined} */
|
|
2741
|
+
GridsterConfig.prototype.enableEmptyCellClick;
|
|
2742
|
+
/** @type {?|undefined} */
|
|
2743
|
+
GridsterConfig.prototype.enableEmptyCellContextMenu;
|
|
2744
|
+
/** @type {?|undefined} */
|
|
2745
|
+
GridsterConfig.prototype.enableEmptyCellDrop;
|
|
2746
|
+
/** @type {?|undefined} */
|
|
2747
|
+
GridsterConfig.prototype.enableEmptyCellDrag;
|
|
2748
|
+
/** @type {?|undefined} */
|
|
2749
|
+
GridsterConfig.prototype.emptyCellClickCallback;
|
|
2750
|
+
/** @type {?|undefined} */
|
|
2751
|
+
GridsterConfig.prototype.emptyCellContextMenuCallback;
|
|
2752
|
+
/** @type {?|undefined} */
|
|
2753
|
+
GridsterConfig.prototype.emptyCellDropCallback;
|
|
2754
|
+
/** @type {?|undefined} */
|
|
2755
|
+
GridsterConfig.prototype.emptyCellDragCallback;
|
|
2756
|
+
/** @type {?|undefined} */
|
|
2757
|
+
GridsterConfig.prototype.emptyCellDragMaxCols;
|
|
2758
|
+
/** @type {?|undefined} */
|
|
2759
|
+
GridsterConfig.prototype.emptyCellDragMaxRows;
|
|
2760
|
+
/** @type {?|undefined} */
|
|
2761
|
+
GridsterConfig.prototype.ignoreMarginInRow;
|
|
2762
|
+
/** @type {?|undefined} */
|
|
2763
|
+
GridsterConfig.prototype.autoResizeonDrag;
|
|
2764
|
+
/** @type {?|undefined} */
|
|
2765
|
+
GridsterConfig.prototype.api;
|
|
2766
|
+
/* Skipping unhandled member: [propName: string]: any;*/
|
|
2767
|
+
}
|
|
2768
|
+
/**
|
|
2769
|
+
* @record
|
|
2770
|
+
*/
|
|
2771
|
+
function DragBase() { }
|
|
2772
|
+
if (false) {
|
|
2773
|
+
/** @type {?|undefined} */
|
|
2774
|
+
DragBase.prototype.enabled;
|
|
2775
|
+
/** @type {?|undefined} */
|
|
2776
|
+
DragBase.prototype.stop;
|
|
2777
|
+
/** @type {?|undefined} */
|
|
2778
|
+
DragBase.prototype.start;
|
|
2779
|
+
/** @type {?|undefined} */
|
|
2780
|
+
DragBase.prototype.delayStart;
|
|
2781
|
+
}
|
|
2782
|
+
/**
|
|
2783
|
+
* @record
|
|
2784
|
+
*/
|
|
2785
|
+
function Draggable() { }
|
|
2786
|
+
if (false) {
|
|
2787
|
+
/** @type {?|undefined} */
|
|
2788
|
+
Draggable.prototype.ignoreContentClass;
|
|
2789
|
+
/** @type {?|undefined} */
|
|
2790
|
+
Draggable.prototype.ignoreContent;
|
|
2791
|
+
/** @type {?|undefined} */
|
|
2792
|
+
Draggable.prototype.dragHandleClass;
|
|
2793
|
+
/** @type {?|undefined} */
|
|
2794
|
+
Draggable.prototype.dropOverItems;
|
|
2795
|
+
/** @type {?|undefined} */
|
|
2796
|
+
Draggable.prototype.dropOverItemsCallback;
|
|
2797
|
+
}
|
|
2798
|
+
/**
|
|
2799
|
+
* @record
|
|
2800
|
+
*/
|
|
2801
|
+
function Resizable() { }
|
|
2802
|
+
if (false) {
|
|
2803
|
+
/** @type {?|undefined} */
|
|
2804
|
+
Resizable.prototype.handles;
|
|
2805
|
+
}
|
|
2806
|
+
/**
|
|
2807
|
+
* @record
|
|
2808
|
+
*/
|
|
2809
|
+
function PushDirections() { }
|
|
2810
|
+
if (false) {
|
|
2811
|
+
/** @type {?} */
|
|
2812
|
+
PushDirections.prototype.north;
|
|
2813
|
+
/** @type {?} */
|
|
2814
|
+
PushDirections.prototype.east;
|
|
2815
|
+
/** @type {?} */
|
|
2816
|
+
PushDirections.prototype.south;
|
|
2817
|
+
/** @type {?} */
|
|
2818
|
+
PushDirections.prototype.west;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
2821
|
/**
|
|
2822
2822
|
* @fileoverview added by tsickle
|
|
2823
2823
|
* Generated from: gridster/lib/gridsterConfig.constant.ts
|
|
@@ -4919,7 +4919,7 @@
|
|
|
4919
4919
|
selector: 'gridster',
|
|
4920
4920
|
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",
|
|
4921
4921
|
encapsulation: core.ViewEncapsulation.None,
|
|
4922
|
-
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
|
|
4922
|
+
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}"]
|
|
4923
4923
|
}] }
|
|
4924
4924
|
];
|
|
4925
4925
|
/** @nocollapse */
|
|
@@ -7699,7 +7699,7 @@
|
|
|
7699
7699
|
selector: 'gridster-item',
|
|
7700
7700
|
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",
|
|
7701
7701
|
encapsulation: core.ViewEncapsulation.None,
|
|
7702
|
-
styles: ["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden
|
|
7702
|
+
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}"]
|
|
7703
7703
|
}] }
|
|
7704
7704
|
];
|
|
7705
7705
|
/** @nocollapse */
|