@hpcc-js/layout 2.47.3 → 2.47.4
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/dist/index.es6.js +5 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +5 -5
- package/src/ChartPanel.ts +3 -2
- package/src/__package__.ts +2 -2
- package/types/ChartPanel.d.ts +1 -1
- package/types/ChartPanel.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types-3.4/ChartPanel.d.ts +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLWidget, FAChar, select, selectAll, d3Event, Platform, drag, Utility, scaleLinear, dispatch, formatLocale, formatSpecifier, format, formatPrefix, sum, Database, Palette, scaleOrdinal, SVGWidget, IconBar, Spacer, ProgressBar, ToggleButton, Text, Button, TitleBar } from '@hpcc-js/common';
|
|
2
|
-
import { Table } from '@hpcc-js/
|
|
2
|
+
import { Table } from '@hpcc-js/dgrid2';
|
|
3
3
|
import { instanceOfIHighlight } from '@hpcc-js/api';
|
|
4
4
|
|
|
5
5
|
function _mergeNamespaces(n, m) {
|
|
@@ -18,8 +18,8 @@ function _mergeNamespaces(n, m) {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
var PKG_NAME = "@hpcc-js/layout";
|
|
21
|
-
var PKG_VERSION = "2.47.
|
|
22
|
-
var BUILD_VERSION = "2.
|
|
21
|
+
var PKG_VERSION = "2.47.4";
|
|
22
|
+
var BUILD_VERSION = "2.103.0";
|
|
23
23
|
|
|
24
24
|
/*! *****************************************************************************
|
|
25
25
|
Copyright (c) Microsoft Corporation.
|
|
@@ -3124,12 +3124,13 @@ var ChartPanel = /** @class */ (function (_super) {
|
|
|
3124
3124
|
if (this._prevdataVisible !== this.dataVisible()) {
|
|
3125
3125
|
this._prevdataVisible = this.dataVisible();
|
|
3126
3126
|
this._toggleData.selected(this._prevdataVisible);
|
|
3127
|
+
this._legend.visible(this._prevlegendVisible && !this._prevdataVisible);
|
|
3127
3128
|
this._carousel.active(this._prevdataVisible ? 1 : 0);
|
|
3128
3129
|
}
|
|
3129
3130
|
if (this._prevlegendVisible !== this.legendVisible()) {
|
|
3130
3131
|
this._prevlegendVisible = this.legendVisible();
|
|
3131
3132
|
this._toggleLegend.selected(this._prevlegendVisible);
|
|
3132
|
-
this._legend.visible(this._prevlegendVisible);
|
|
3133
|
+
this._legend.visible(this._prevlegendVisible && !this._prevdataVisible);
|
|
3133
3134
|
}
|
|
3134
3135
|
this._legend.orientation(this.legendPosition() === "bottom" ? "horizontal" : "vertical");
|
|
3135
3136
|
this.showLeft(!this.left());
|