@schneideress/dashboardframework 0.0.187 → 0.0.189
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 +224 -74
- package/bundles/schneideress-dashboardframework.umd.js.map +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js +1 -1
- package/bundles/schneideress-dashboardframework.umd.min.js.map +1 -1
- package/esm2015/lib/ra-widget-container/ra.widget.container.component.js +196 -46
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +225 -75
- package/fesm2015/schneideress-dashboardframework.js +195 -45
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +224 -74
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/lib/ra-widget-container/ra.widget.container.component.d.ts +8 -7
- package/package.json +1 -1
- package/schneideress-dashboardframework.metadata.json +1 -1
|
@@ -1253,14 +1253,11 @@ class RAWidgetContainer {
|
|
|
1253
1253
|
this.raPermissionService = raPermissionService;
|
|
1254
1254
|
this.showPanel = true;
|
|
1255
1255
|
this.isWidgetLoaded = false;
|
|
1256
|
-
this.isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
1257
1256
|
this.lockClass = "unlocked";
|
|
1258
1257
|
this.lockStatus = RaWidgetlockStatus.Unlocked;
|
|
1259
1258
|
this.isDownloadIconVisible = false;
|
|
1260
1259
|
this.isChartDownloadVisible = false;
|
|
1261
1260
|
this.isGridDownloadVisible = false;
|
|
1262
|
-
this.dropDownShown = false;
|
|
1263
|
-
this.isDownloadChartVisible = false;
|
|
1264
1261
|
this.enableTitleLine = false;
|
|
1265
1262
|
this.isGlobalFilterApplied = false;
|
|
1266
1263
|
this.toolTipValue = ' ';
|
|
@@ -1281,6 +1278,7 @@ class RAWidgetContainer {
|
|
|
1281
1278
|
this.excelToolTipWidth = '0px';
|
|
1282
1279
|
this.deleteToolTipWidth = '0px';
|
|
1283
1280
|
this.noPadding = false;
|
|
1281
|
+
this.isMouseHover = false;
|
|
1284
1282
|
this.widgetDeleted = new EventEmitter();
|
|
1285
1283
|
this.isWidgetStateApplicable = false;
|
|
1286
1284
|
this.widgetEmptyState = '';
|
|
@@ -1291,11 +1289,13 @@ class RAWidgetContainer {
|
|
|
1291
1289
|
* @return {?}
|
|
1292
1290
|
*/
|
|
1293
1291
|
(e) => {
|
|
1294
|
-
if (e.target
|
|
1295
|
-
|
|
1292
|
+
if (e.target.className) {
|
|
1293
|
+
if (e.target.className != 'fal fa-ellipsis-v widget-menu-ellipse') {
|
|
1294
|
+
this.removeMenu();
|
|
1295
|
+
}
|
|
1296
1296
|
}
|
|
1297
|
-
|
|
1298
|
-
this.
|
|
1297
|
+
else {
|
|
1298
|
+
this.removeMenu();
|
|
1299
1299
|
}
|
|
1300
1300
|
}));
|
|
1301
1301
|
}
|
|
@@ -1364,6 +1364,7 @@ class RAWidgetContainer {
|
|
|
1364
1364
|
* @return {?}
|
|
1365
1365
|
*/
|
|
1366
1366
|
mouseHover(isHover = true) {
|
|
1367
|
+
this.isMouseHover = isHover;
|
|
1367
1368
|
if (this.widgetElement) {
|
|
1368
1369
|
if (typeof this.widgetElement.hoverStatus === "function") {
|
|
1369
1370
|
this.widgetElement.hoverStatus(isHover);
|
|
@@ -1372,9 +1373,6 @@ class RAWidgetContainer {
|
|
|
1372
1373
|
console.warn('widget framework outdated, please update to version 0.0.96');
|
|
1373
1374
|
}
|
|
1374
1375
|
}
|
|
1375
|
-
if (!isHover) {
|
|
1376
|
-
this.hideDropDown();
|
|
1377
|
-
}
|
|
1378
1376
|
}
|
|
1379
1377
|
/**
|
|
1380
1378
|
* @return {?}
|
|
@@ -1386,6 +1384,39 @@ class RAWidgetContainer {
|
|
|
1386
1384
|
() => {
|
|
1387
1385
|
this.loadWidget(this.data.widgetInfo);
|
|
1388
1386
|
}));
|
|
1387
|
+
document.addEventListener("scroll", (/**
|
|
1388
|
+
* @return {?}
|
|
1389
|
+
*/
|
|
1390
|
+
() => {
|
|
1391
|
+
this.removeMenu();
|
|
1392
|
+
}));
|
|
1393
|
+
setTimeout((/**
|
|
1394
|
+
* @return {?}
|
|
1395
|
+
*/
|
|
1396
|
+
() => {
|
|
1397
|
+
/** @type {?} */
|
|
1398
|
+
let item = jQuery(this.wcWrapper.nativeElement).closest('gridster-item');
|
|
1399
|
+
item.bind('mouseenter', (/**
|
|
1400
|
+
* @return {?}
|
|
1401
|
+
*/
|
|
1402
|
+
() => {
|
|
1403
|
+
window.gridsterItemEnter = true;
|
|
1404
|
+
}));
|
|
1405
|
+
item.bind('mouseleave', (/**
|
|
1406
|
+
* @return {?}
|
|
1407
|
+
*/
|
|
1408
|
+
() => {
|
|
1409
|
+
window.gridsterItemEnter = false;
|
|
1410
|
+
setTimeout((/**
|
|
1411
|
+
* @return {?}
|
|
1412
|
+
*/
|
|
1413
|
+
() => {
|
|
1414
|
+
if (!window.mouseOverWidgetMenu) {
|
|
1415
|
+
this.removeMenu();
|
|
1416
|
+
}
|
|
1417
|
+
}));
|
|
1418
|
+
}));
|
|
1419
|
+
}));
|
|
1389
1420
|
}
|
|
1390
1421
|
/**
|
|
1391
1422
|
* @return {?}
|
|
@@ -1699,8 +1730,6 @@ class RAWidgetContainer {
|
|
|
1699
1730
|
widgetInfo: widgetInfo,
|
|
1700
1731
|
configChanges: this.getConfigChanges(configChanged)
|
|
1701
1732
|
}));
|
|
1702
|
-
console.log('wiget container filter data is');
|
|
1703
|
-
console.log(widgetConfigFilter);
|
|
1704
1733
|
if (widgetContainerContext.isWidgetLoaded) {
|
|
1705
1734
|
if (this.widgetElement && typeof (this.widgetElement.setConfigFilter) == 'function') {
|
|
1706
1735
|
widgetContainerContext.widgetElement.setConfigFilter(widgetConfigFilter);
|
|
@@ -1783,18 +1812,6 @@ class RAWidgetContainer {
|
|
|
1783
1812
|
}
|
|
1784
1813
|
});
|
|
1785
1814
|
}
|
|
1786
|
-
// public downloadClicked() {
|
|
1787
|
-
// switch (this.downloadIconType) {
|
|
1788
|
-
// case RADownloadType.Grid:
|
|
1789
|
-
// this.downloadIconClicked('CSV');
|
|
1790
|
-
// break;
|
|
1791
|
-
// case RADownloadType.Chart:
|
|
1792
|
-
// this.isDownloadChartVisible = true;
|
|
1793
|
-
// break;
|
|
1794
|
-
// case RADownloadType.Custom:
|
|
1795
|
-
// break;
|
|
1796
|
-
// }
|
|
1797
|
-
// }
|
|
1798
1815
|
/**
|
|
1799
1816
|
* @param {?} type
|
|
1800
1817
|
* @return {?}
|
|
@@ -1818,23 +1835,164 @@ class RAWidgetContainer {
|
|
|
1818
1835
|
break;
|
|
1819
1836
|
}
|
|
1820
1837
|
}
|
|
1838
|
+
/**
|
|
1839
|
+
* @private
|
|
1840
|
+
* @return {?}
|
|
1841
|
+
*/
|
|
1842
|
+
removeMenu() {
|
|
1843
|
+
jQuery('#ra-db-widget-menu').remove();
|
|
1844
|
+
}
|
|
1821
1845
|
/**
|
|
1822
1846
|
* Show dropdown on gear icon click
|
|
1847
|
+
* @param {?} e
|
|
1823
1848
|
* @return {?}
|
|
1824
1849
|
*/
|
|
1825
|
-
showDropDown() {
|
|
1850
|
+
showDropDown(e) {
|
|
1826
1851
|
this.setDownloadIcon();
|
|
1827
|
-
this.
|
|
1852
|
+
this.removeMenu();
|
|
1853
|
+
setTimeout((/**
|
|
1854
|
+
* @return {?}
|
|
1855
|
+
*/
|
|
1856
|
+
() => {
|
|
1857
|
+
/** @type {?} */
|
|
1858
|
+
let targetPos = e.target.getBoundingClientRect();
|
|
1859
|
+
/** @type {?} */
|
|
1860
|
+
let style = "position:fixed;top:" + (targetPos.y + 15) + 'px' + ';left:' + (e.pageX - 122) + 'px;z-index:1000;';
|
|
1861
|
+
/** @type {?} */
|
|
1862
|
+
let html = this.getContenxtHtml(style);
|
|
1863
|
+
jQuery(html).appendTo('body');
|
|
1864
|
+
if (this.isWidgetMgmnt) {
|
|
1865
|
+
this.addEventListener('wcEditWidget', this.editWidget);
|
|
1866
|
+
this.addEventListener('wcCopyWidget', this.copyWidget);
|
|
1867
|
+
this.addEventListener('wcMoveWidget', this.moveWidget);
|
|
1868
|
+
this.addEventListener('wcWidgetDelete', this.deleteWidget);
|
|
1869
|
+
}
|
|
1870
|
+
if (this.detailPageUrl) {
|
|
1871
|
+
this.addEventListener('wcVisitWidget', this.visitPage);
|
|
1872
|
+
}
|
|
1873
|
+
if (this.isChartDownloadVisible) {
|
|
1874
|
+
this.addEventListener('wcDownloadPng', this.downloadIconClicked, 'PNG');
|
|
1875
|
+
this.addEventListener('wcDownloadJpg', this.downloadIconClicked, 'JPEG');
|
|
1876
|
+
this.addEventListener('wcDownloadPdf', this.downloadIconClicked, 'PDF');
|
|
1877
|
+
this.addEventListener('wcDownloadSvg', this.downloadIconClicked, 'SVG');
|
|
1878
|
+
}
|
|
1879
|
+
if (this.isGridDownloadVisible) {
|
|
1880
|
+
this.addEventListener('wcDownloadExcel', this.downloadIconClicked, 'CSV');
|
|
1881
|
+
}
|
|
1882
|
+
document.getElementById('ra-db-widget-menu').addEventListener('mouseenter', (/**
|
|
1883
|
+
* @return {?}
|
|
1884
|
+
*/
|
|
1885
|
+
() => {
|
|
1886
|
+
window.mouseOverWidgetMenu = true;
|
|
1887
|
+
}));
|
|
1888
|
+
document.getElementById('ra-db-widget-menu').addEventListener('mouseleave', (/**
|
|
1889
|
+
* @return {?}
|
|
1890
|
+
*/
|
|
1891
|
+
() => {
|
|
1892
|
+
window.mouseOverWidgetMenu = false;
|
|
1893
|
+
setTimeout((/**
|
|
1894
|
+
* @return {?}
|
|
1895
|
+
*/
|
|
1896
|
+
() => {
|
|
1897
|
+
if (!window.gridsterItemEnter) {
|
|
1898
|
+
this.removeMenu();
|
|
1899
|
+
}
|
|
1900
|
+
}));
|
|
1901
|
+
}));
|
|
1902
|
+
}));
|
|
1828
1903
|
}
|
|
1829
1904
|
/**
|
|
1830
|
-
*
|
|
1905
|
+
* @private
|
|
1906
|
+
* @param {?} id
|
|
1907
|
+
* @param {?} event
|
|
1908
|
+
* @param {?=} params
|
|
1831
1909
|
* @return {?}
|
|
1832
1910
|
*/
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1911
|
+
addEventListener(id, event, params) {
|
|
1912
|
+
/** @type {?} */
|
|
1913
|
+
let element = document.getElementById(id);
|
|
1914
|
+
if (element) {
|
|
1915
|
+
element.addEventListener('click', (/**
|
|
1916
|
+
* @return {?}
|
|
1917
|
+
*/
|
|
1918
|
+
() => {
|
|
1919
|
+
event.call(this, params);
|
|
1920
|
+
}));
|
|
1836
1921
|
}
|
|
1837
|
-
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* @private
|
|
1925
|
+
* @param {?} style
|
|
1926
|
+
* @return {?}
|
|
1927
|
+
*/
|
|
1928
|
+
getContenxtHtml(style) {
|
|
1929
|
+
/** @type {?} */
|
|
1930
|
+
let html = '<div id="ra-db-widget-menu"' + 'style="' + style + '" class="download-content dropdown-content widget-config-item dropdown-click" style="z-index: 1002;">';
|
|
1931
|
+
html += '<div style="color: #9FA0A4;font-size: 12px;padding-top: 8px;padding-left: 12px;">';
|
|
1932
|
+
html += this.translateService.translate('Common.settings') + '</div>';
|
|
1933
|
+
if (this.isWidgetMgmnt) {
|
|
1934
|
+
html += this.getHtmlForButton('wcEditWidget', 'fal fa-edit', this.editText);
|
|
1935
|
+
html += this.getHtmlForButton('wcCopyWidget', 'fal fa-copy', this.copyText);
|
|
1936
|
+
html += this.getHtmlForButton('wcMoveWidget', 'fal fa-arrows-alt', this.moveText);
|
|
1937
|
+
}
|
|
1938
|
+
if (this.detailPageUrl) {
|
|
1939
|
+
html += '<a style="max-height: 30px;align-items: center;align-content: center; display: flex;" id="wcVisitWidget">';
|
|
1940
|
+
html += '<i style="padding-left: 4px;font-size: 27px !important;" class="fal fa-angle-right"></i> ';
|
|
1941
|
+
html += '<span style="padding-left: 11px;margin-top: 2px;" style="padding-left: 6px;">';
|
|
1942
|
+
html += this.translateService.translate('Common.visitpage');
|
|
1943
|
+
html += '</span></a>';
|
|
1944
|
+
}
|
|
1945
|
+
html += this.getHr();
|
|
1946
|
+
;
|
|
1947
|
+
if (this.isDownloadIconVisible) {
|
|
1948
|
+
html += '<span style="color: #9FA0A4;font-size: 12px;">';
|
|
1949
|
+
html += this.translateService.translate('Common.downloads');
|
|
1950
|
+
html += '</span>';
|
|
1951
|
+
if (this.isChartDownloadVisible) {
|
|
1952
|
+
html += '<div style="padding-top: 10px;" class="chartDownload">';
|
|
1953
|
+
html += this.getHtmlForButton('wcDownloadPng', 'fal fa-file-image', this.translateService.translate('Common.png'));
|
|
1954
|
+
html += this.getHtmlForButton('wcDownloadJpg', 'fal fa-file-image', this.translateService.translate('Common.jpeg'));
|
|
1955
|
+
html += this.getHtmlForButton('wcDownloadPdf', 'fal fa-file-pdf', this.translateService.translate('Common.pdf'));
|
|
1956
|
+
html += this.getHtmlForButton('wcDownloadSvg', 'fal fa-file-alt', this.translateService.translate('Common.svg'));
|
|
1957
|
+
html += '</div>';
|
|
1958
|
+
}
|
|
1959
|
+
if (this.isGridDownloadVisible) {
|
|
1960
|
+
html += '<div class="gridDownload">';
|
|
1961
|
+
html += this.getHtmlForButton('wcDownloadExcel', 'fal fa-download', this.excelText);
|
|
1962
|
+
html += '</div>';
|
|
1963
|
+
}
|
|
1964
|
+
if (this.isDownloadIconVisible && this.isWidgetMgmnt) {
|
|
1965
|
+
html += this.getHr();
|
|
1966
|
+
}
|
|
1967
|
+
if (this.isWidgetMgmnt) {
|
|
1968
|
+
html += '<a id="wcWidgetDelete"><i class="fal fa-times" style="padding-left: 3px;color: red;"></i><span>';
|
|
1969
|
+
html += this.deleteText;
|
|
1970
|
+
html += '</span></a>';
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
html += '</div>';
|
|
1974
|
+
return html;
|
|
1975
|
+
}
|
|
1976
|
+
/**
|
|
1977
|
+
* @private
|
|
1978
|
+
* @return {?}
|
|
1979
|
+
*/
|
|
1980
|
+
getHr() {
|
|
1981
|
+
return '<hr class="hr" style="margin-top: 5px;margin-bottom: 5px;">';
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* @private
|
|
1985
|
+
* @param {?} id
|
|
1986
|
+
* @param {?} fontClass
|
|
1987
|
+
* @param {?} text
|
|
1988
|
+
* @return {?}
|
|
1989
|
+
*/
|
|
1990
|
+
getHtmlForButton(id, fontClass, text) {
|
|
1991
|
+
/** @type {?} */
|
|
1992
|
+
let html = '<a id="' + id + '"><i style="width:16px" class="' + fontClass + '"></i> <span style="padding-left: 6px;">';
|
|
1993
|
+
html += text;
|
|
1994
|
+
html += '</span></a>';
|
|
1995
|
+
return html;
|
|
1838
1996
|
}
|
|
1839
1997
|
/**
|
|
1840
1998
|
* @private
|
|
@@ -1872,8 +2030,7 @@ class RAWidgetContainer {
|
|
|
1872
2030
|
RAWidgetContainer.decorators = [
|
|
1873
2031
|
{ type: Component, args: [{
|
|
1874
2032
|
selector: 'ra-widget-container',
|
|
1875
|
-
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
|
|
1876
|
-
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;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 .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-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}"]
|
|
2033
|
+
template: "<div #wcWrapper 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 <div class=\"col-md-2\" style=\"cursor:default;padding-right: 0px;\">\r\n <div class=\"float-right\" style=\"display: flex;\">\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=\"widget-menu\" style=\"width:10px;\" [ngClass]=\"{'widget-menu-show': isMouseHover}\">\r\n <div class=\"dropbtn title-bar-icon\">\r\n <i (click)=\"showDropDown($event)\" #widgetDropdown class=\"fal fa-ellipsis-v widget-menu-ellipse\"></i>\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':'10px'}\">\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\" [isGlobalFilterApplied]=\"isGlobalFilterApplied\"\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>"
|
|
1877
2034
|
}] }
|
|
1878
2035
|
];
|
|
1879
2036
|
/** @nocollapse */
|
|
@@ -1889,8 +2046,8 @@ RAWidgetContainer.ctorParameters = () => [
|
|
|
1889
2046
|
RAWidgetContainer.propDecorators = {
|
|
1890
2047
|
ctlWidget: [{ type: ViewChild, args: ['ctlWidget', { static: false },] }],
|
|
1891
2048
|
widgetDropdown: [{ type: ViewChild, args: ['widgetDropdown', { static: false },] }],
|
|
1892
|
-
widgetDownload: [{ type: ViewChild, args: ['widgetDownload', { static: false },] }],
|
|
1893
2049
|
searchInput: [{ type: ViewChild, args: ['searchInput', { static: false },] }],
|
|
2050
|
+
wcWrapper: [{ type: ViewChild, args: ['wcWrapper', { static: false },] }],
|
|
1894
2051
|
widgetInstanceId: [{ type: Input, args: ['widget-instance-id',] }],
|
|
1895
2052
|
globalFilter: [{ type: Input, args: ['global-filter',] }],
|
|
1896
2053
|
data: [{ type: Input, args: ['data',] }],
|
|
@@ -1920,11 +2077,6 @@ if (false) {
|
|
|
1920
2077
|
* @private
|
|
1921
2078
|
*/
|
|
1922
2079
|
RAWidgetContainer.prototype.configChanged;
|
|
1923
|
-
/**
|
|
1924
|
-
* @type {?}
|
|
1925
|
-
* @private
|
|
1926
|
-
*/
|
|
1927
|
-
RAWidgetContainer.prototype.isIEOrEdge;
|
|
1928
2080
|
/** @type {?} */
|
|
1929
2081
|
RAWidgetContainer.prototype.widgetHeight;
|
|
1930
2082
|
/** @type {?} */
|
|
@@ -1938,10 +2090,6 @@ if (false) {
|
|
|
1938
2090
|
/** @type {?} */
|
|
1939
2091
|
RAWidgetContainer.prototype.isGridDownloadVisible;
|
|
1940
2092
|
/** @type {?} */
|
|
1941
|
-
RAWidgetContainer.prototype.dropDownShown;
|
|
1942
|
-
/** @type {?} */
|
|
1943
|
-
RAWidgetContainer.prototype.isDownloadChartVisible;
|
|
1944
|
-
/** @type {?} */
|
|
1945
2093
|
RAWidgetContainer.prototype.downloadIconType;
|
|
1946
2094
|
/** @type {?} */
|
|
1947
2095
|
RAWidgetContainer.prototype.enableTitleLine;
|
|
@@ -1990,14 +2138,16 @@ if (false) {
|
|
|
1990
2138
|
/** @type {?} */
|
|
1991
2139
|
RAWidgetContainer.prototype.noPadding;
|
|
1992
2140
|
/** @type {?} */
|
|
2141
|
+
RAWidgetContainer.prototype.isMouseHover;
|
|
2142
|
+
/** @type {?} */
|
|
1993
2143
|
RAWidgetContainer.prototype.ctlWidget;
|
|
1994
2144
|
/** @type {?} */
|
|
1995
2145
|
RAWidgetContainer.prototype.widgetDropdown;
|
|
1996
2146
|
/** @type {?} */
|
|
1997
|
-
RAWidgetContainer.prototype.widgetDownload;
|
|
1998
|
-
/** @type {?} */
|
|
1999
2147
|
RAWidgetContainer.prototype.searchInput;
|
|
2000
2148
|
/** @type {?} */
|
|
2149
|
+
RAWidgetContainer.prototype.wcWrapper;
|
|
2150
|
+
/** @type {?} */
|
|
2001
2151
|
RAWidgetContainer.prototype.widgetInstanceId;
|
|
2002
2152
|
/** @type {?} */
|
|
2003
2153
|
RAWidgetContainer.prototype.globalFilter;
|