@schneideress/dashboardframework 0.0.241 → 0.0.243
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 +8 -5
- 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 +9 -6
- package/esm5/lib/ra-widget-container/ra.widget.container.component.js +9 -6
- package/fesm2015/schneideress-dashboardframework.js +8 -5
- package/fesm2015/schneideress-dashboardframework.js.map +1 -1
- package/fesm5/schneideress-dashboardframework.js +8 -5
- package/fesm5/schneideress-dashboardframework.js.map +1 -1
- package/package.json +1 -1
|
@@ -2504,8 +2504,6 @@
|
|
|
2504
2504
|
widgetConfigFilter.widgetInfo = widgetInfo;
|
|
2505
2505
|
widgetConfigFilter.configChanges = this.getConfigChanges(false);
|
|
2506
2506
|
widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
|
|
2507
|
-
widgetConfigFilter.widgetInfo.isPortfolioClientDB = widgetInfo.isPortfolioClientDB;
|
|
2508
|
-
widgetConfigFilter.widgetInfo.isPortfolioDashboard = widgetInfo.isPortfolioDashboard;
|
|
2509
2507
|
widgetConfigFilter.globalFilter = this.globalFilter;
|
|
2510
2508
|
this.widgetElement.loadContent(widgetConfigFilter);
|
|
2511
2509
|
return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
|
|
@@ -2819,7 +2817,7 @@
|
|
|
2819
2817
|
/** @type {?} */
|
|
2820
2818
|
var html = _this.getContenxtHtml(style);
|
|
2821
2819
|
jQuery(html).appendTo('body');
|
|
2822
|
-
if (_this.isWidgetMgmnt
|
|
2820
|
+
if (_this.isWidgetMgmnt) {
|
|
2823
2821
|
_this.addEventListener('wcEditWidget', _this.editWidget);
|
|
2824
2822
|
_this.addEventListener('wcCopyWidget', _this.copyWidget);
|
|
2825
2823
|
_this.addEventListener('wcMoveWidget', _this.moveWidget);
|
|
@@ -2833,7 +2831,12 @@
|
|
|
2833
2831
|
customPageParams = true;
|
|
2834
2832
|
}
|
|
2835
2833
|
}
|
|
2836
|
-
|
|
2834
|
+
/** @type {?} */
|
|
2835
|
+
var isVisitApplicable = true;
|
|
2836
|
+
if (_this.widgetElement && typeof _this.widgetElement.getVisitLinkVisibilityStatus === "function") {
|
|
2837
|
+
isVisitApplicable = _this.widgetElement.getVisitLinkVisibilityStatus();
|
|
2838
|
+
}
|
|
2839
|
+
if ((_this.detailPageUrl || customPageParams) && isVisitApplicable) {
|
|
2837
2840
|
_this.addEventListener('wcVisitWidget', _this.visitPage);
|
|
2838
2841
|
}
|
|
2839
2842
|
if (_this.isChartDownloadVisible) {
|
|
@@ -2909,7 +2912,7 @@
|
|
|
2909
2912
|
var html = '<div id="ra-db-widget-menu"' + 'style="' + style + '" class="download-content dropdown-content widget-config-item dropdown-click" style="z-index: 1002;">';
|
|
2910
2913
|
/** @type {?} */
|
|
2911
2914
|
var settings = '';
|
|
2912
|
-
if (this.isWidgetMgmnt
|
|
2915
|
+
if (this.isWidgetMgmnt) {
|
|
2913
2916
|
settings += this.getHtmlForButton('wcEditWidget', 'fal fa-edit', this.editText);
|
|
2914
2917
|
settings += this.getHtmlForButton('wcCopyWidget', 'fal fa-copy', this.copyText);
|
|
2915
2918
|
settings += this.getHtmlForButton('wcMoveWidget', 'fal fa-arrows-alt', this.moveText);
|