billboard.js 3.6.0 → 3.6.1
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/billboard.css +1 -1
- package/dist/billboard.js +4511 -7069
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +7862 -11555
- package/dist/billboard.pkgd.min.js +2 -3
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +27 -62
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +303 -528
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +368 -648
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +305 -513
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +306 -500
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +2055 -2248
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +2826 -3485
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +3080 -3996
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +2829 -3471
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +2970 -3817
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +30 -27
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +3 -8
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +3 -12
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +3 -12
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +3 -12
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +3 -8
- package/package.json +23 -23
- package/src/ChartInternal/data/IData.ts +8 -2
- package/src/ChartInternal/interactions/interaction.ts +39 -26
- package/types/options.d.ts +7 -0
package/dist/theme/datalab.css
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;)}.bb svg{font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;font-size:11px;line-height:1}.bb line,.bb path{fill:none;stroke:#000}.bb .bb-button,.bb text{-webkit-font-smoothing:antialiased;fill:#555;font-size:11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis{stroke-width:.7px}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:.7px}.bb-circle{fill:#fff!important}.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:1px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;stroke-width:8px;stroke-dasharray:1 20;transform:translate(7px,1px)}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1;opacity:.75}.bb-title{font-size:14px}.bb-tooltip-container{font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{-webkit-font-smoothing:antialiased;background-color:#fff;border:1px solid #999;border-collapse:separate;border-radius:2px;border-spacing:0;empty-cells:show;font-size:11px;text-align:left}.bb-tooltip th{background-color:#0b00b1;border-bottom:2px solid #ff2d2d;color:#fffdfd;font-size:13px;padding:2px 8px;text-align:left}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{border:1px solid #000;border-radius:3px;display:inline-block;height:8px;margin-right:6px;vertical-align:middle;width:8px}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-size:11px;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:18px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#000;font-size:18px!important;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#3b6969}.bb-chart-arc path{stroke:#000;stroke-width:.5px}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:14px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:.7px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;cursor:pointer;padding:5px}
|
package/dist/theme/graph.css
CHANGED
package/dist/theme/graph.min.css
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;)}.bb svg{font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;font-size:12px;line-height:1}.bb line,.bb path{fill:none;stroke:#8c8c8c}.bb .bb-button,.bb text{fill:#555;font-size:12px;letter-spacing:-.3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis,.bb-bars path,.bb-event-rect,.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_,rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1px;opacity:.75}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-tooltip-container{font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border:1px solid #999;border-collapse:separate;border-radius:2px;border-spacing:0;box-shadow:.5px .5px 1px #999;empty-cells:show;font-size:12px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-tooltip th{background-color:#efefef;border-bottom:1px dotted #000;color:#000;font-size:12px;padding:4px 8px;text-align:center}.bb-tooltip tr:last-child td{border-bottom:none}.bb-tooltip td{background-color:#fff;border-bottom:1px solid #eee;padding:3px 6px}.bb-tooltip td:first-child{border-right:1px solid #eee;padding-left:5px}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;height:12px;margin-right:6px;vertical-align:middle;width:5px}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#8c8c8c;font-size:16px!important;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:700}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em;font-weight:700}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:1px 1px 2px #ccc;cursor:pointer;opacity:.8;padding:5px}
|
package/dist/theme/insight.css
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
*/.bb-color-pattern{background-image:url(#00c73c;#fa7171;#2ad0ff;#7294ce;#e3e448;#cc7e6e;#fb6ccf;#c98dff;#4aea99;#bbbbbb;)}.bb svg{font-family:sans-serif,Arial,nanumgothic,Dotum;font-size:12px;line-height:1}.bb line,.bb path{fill:none;stroke:#c4c4c4}.bb .bb-button,.bb text{fill:#555;font-size:11px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bb-axis,.bb-bars path,.bb-event-rect,.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,.05)}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{fill:#fff!important;stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{fill:#fff;stroke:#d3d3d3;stroke-width:1;opacity:.75}.bb-title{font-size:14px}.bb-tooltip-container{font-family:sans-serif,Arial,nanumgothic,Dotum;user-select:none;z-index:10}.bb-tooltip{background-color:#fff;border:1px solid #999;border-collapse:separate;border-spacing:0;empty-cells:show;font-size:11px;text-align:left}.bb-tooltip th{border-bottom:1px solid #eee;font-size:12px;padding:4px 8px;text-align:left}.bb-tooltip td{background-color:#fff;padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{border-radius:5px;display:inline-block;height:10px;margin-right:6px;vertical-align:middle;width:10px}.bb-tooltip td.value{border-left:1px solid transparent}.bb-tooltip .bb-tooltip-title{color:#aaa;display:inline-block;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{color:#444;font-size:11px;font-weight:400;line-height:13px;padding:4px 0 3px;text-align:left}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:12px;font-weight:800;padding-left:5px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{fill:#000;font-size:16px!important;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{cursor:default;font-size:1.15em}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;right:10px;top:10px}.bb-button .bb-zoom-reset{background-color:#fff;border:1px solid #ccc;border-radius:5px;cursor:pointer;padding:5px}
|
package/dist-esm/billboard.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
*/
|
|
10
10
|
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
|
|
11
11
|
import { pointer, select, namespaces, selectAll } from 'd3-selection';
|
|
@@ -145,20 +145,16 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
145
145
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
146
146
|
PERFORMANCE OF THIS SOFTWARE.
|
|
147
147
|
***************************************************************************** */
|
|
148
|
-
|
|
149
148
|
var _assign = function __assign() {
|
|
150
149
|
_assign = Object.assign || function (t) {
|
|
151
150
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
152
151
|
s = arguments[i];
|
|
153
|
-
|
|
154
152
|
for (var p in s) {
|
|
155
153
|
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
156
154
|
}
|
|
157
155
|
}
|
|
158
|
-
|
|
159
156
|
return t;
|
|
160
157
|
};
|
|
161
|
-
|
|
162
158
|
return _assign.apply(this, arguments);
|
|
163
159
|
};
|
|
164
160
|
function __spreadArray(to, from, pack) {
|
|
@@ -4587,7 +4583,7 @@ var dataLoad = {
|
|
|
4587
4583
|
*/
|
|
4588
4584
|
var interaction = {
|
|
4589
4585
|
selectRectForSingle: function (context, eventRect, index) {
|
|
4590
|
-
var _a;
|
|
4586
|
+
var _a, _b;
|
|
4591
4587
|
var $$ = this;
|
|
4592
4588
|
var config = $$.config, main = $$.$el.main;
|
|
4593
4589
|
var isSelectionEnabled = config.data_selection_enabled;
|
|
@@ -4602,22 +4598,22 @@ var interaction = {
|
|
|
4602
4598
|
return;
|
|
4603
4599
|
}
|
|
4604
4600
|
}
|
|
4605
|
-
main.selectAll(".".concat($SHAPE.shape, "-").concat(index))
|
|
4601
|
+
var shapeAtIndex = main.selectAll(".".concat($SHAPE.shape, "-").concat(index))
|
|
4606
4602
|
.each(function () {
|
|
4607
|
-
var _a;
|
|
4608
4603
|
select(this).classed($COMMON.EXPANDED, true);
|
|
4609
4604
|
if (isSelectionEnabled) {
|
|
4610
4605
|
eventRect.style("cursor", isSelectionGrouped ? "pointer" : null);
|
|
4611
4606
|
}
|
|
4612
|
-
if (!isTooltipGrouped) {
|
|
4613
|
-
(_a = $$.hideGridFocus) === null || _a === void 0 ? void 0 : _a.call($$);
|
|
4614
|
-
$$.hideTooltip();
|
|
4615
|
-
!isSelectionGrouped && $$.setExpand(index);
|
|
4616
|
-
}
|
|
4617
4607
|
})
|
|
4618
4608
|
.filter(function (d) {
|
|
4619
4609
|
return $$.isWithinShape(this, d);
|
|
4620
|
-
})
|
|
4610
|
+
});
|
|
4611
|
+
if (shapeAtIndex.empty() && !isTooltipGrouped) {
|
|
4612
|
+
(_b = $$.hideGridFocus) === null || _b === void 0 ? void 0 : _b.call($$);
|
|
4613
|
+
$$.hideTooltip();
|
|
4614
|
+
!isSelectionGrouped && $$.setExpand(index);
|
|
4615
|
+
}
|
|
4616
|
+
shapeAtIndex
|
|
4621
4617
|
.call(function (selected) {
|
|
4622
4618
|
var _a, _b;
|
|
4623
4619
|
var d = selected.data();
|
|
@@ -4680,28 +4676,35 @@ var interaction = {
|
|
|
4680
4676
|
if (isArc || d !== -1) {
|
|
4681
4677
|
var callback_1 = config[isOver ? "data_onover" : "data_onout"].bind($$.api);
|
|
4682
4678
|
config.color_onover && $$.setOverColor(isOver, d, isArc);
|
|
4683
|
-
if (isArc) {
|
|
4679
|
+
if (isArc && "id") {
|
|
4684
4680
|
callback_1(d, main.select(".".concat($ARC.arc).concat($$.getTargetSelectorSuffix(d.id))).node());
|
|
4685
4681
|
}
|
|
4686
4682
|
else if (!config.tooltip_grouped) {
|
|
4687
4683
|
var last_1 = $$.cache.get(KEY.setOverOut) || [];
|
|
4688
|
-
|
|
4684
|
+
// select based on the index
|
|
4685
|
+
var shapesAtIndex = main.selectAll(".".concat($SHAPE.shape, "-").concat(d))
|
|
4689
4686
|
.filter(function (d) {
|
|
4690
4687
|
return $$.isWithinShape(this, d);
|
|
4691
4688
|
});
|
|
4692
|
-
|
|
4693
|
-
|
|
4689
|
+
// filter if has new selection
|
|
4690
|
+
var shape = shapesAtIndex.filter(function () {
|
|
4694
4691
|
var _this = this;
|
|
4695
|
-
|
|
4696
|
-
|
|
4692
|
+
return last_1.every(function (v) { return v !== _this; });
|
|
4693
|
+
});
|
|
4694
|
+
// call onout callback
|
|
4695
|
+
if (!isOver || shapesAtIndex.empty() || (last_1.length === shape.size() && shape.nodes().every((function (v, i) { return v !== last_1[i]; })))) {
|
|
4696
|
+
while (last_1.length) {
|
|
4697
|
+
var target = last_1.pop();
|
|
4698
|
+
config.data_onout.bind($$.api)(select(target).datum(), target);
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
// call onover callback
|
|
4702
|
+
shape.each(function () {
|
|
4703
|
+
if (isOver) {
|
|
4704
|
+
callback_1(select(this).datum(), this);
|
|
4697
4705
|
last_1.push(this);
|
|
4698
4706
|
}
|
|
4699
4707
|
});
|
|
4700
|
-
if (last_1.length > 0 && shape.empty()) {
|
|
4701
|
-
callback_1 = config.data_onout.bind($$.api);
|
|
4702
|
-
last_1.forEach(function (v) { return callback_1(select(v).datum(), v); });
|
|
4703
|
-
last_1 = [];
|
|
4704
|
-
}
|
|
4705
4708
|
$$.cache.add(KEY.setOverOut, last_1);
|
|
4706
4709
|
}
|
|
4707
4710
|
else {
|
|
@@ -21426,7 +21429,7 @@ var zoomModule = function () {
|
|
|
21426
21429
|
var defaults = {};
|
|
21427
21430
|
/**
|
|
21428
21431
|
* @namespace bb
|
|
21429
|
-
* @version 3.6.
|
|
21432
|
+
* @version 3.6.1
|
|
21430
21433
|
*/
|
|
21431
21434
|
var bb = {
|
|
21432
21435
|
/**
|
|
@@ -21436,7 +21439,7 @@ var bb = {
|
|
|
21436
21439
|
* bb.version; // "1.0.0"
|
|
21437
21440
|
* @memberof bb
|
|
21438
21441
|
*/
|
|
21439
|
-
version: "3.6.
|
|
21442
|
+
version: "3.6.1",
|
|
21440
21443
|
/**
|
|
21441
21444
|
* Generate chart
|
|
21442
21445
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -25,8 +25,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
25
25
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
26
|
PERFORMANCE OF THIS SOFTWARE.
|
|
27
27
|
***************************************************************************** */
|
|
28
|
-
|
|
29
28
|
/* global Reflect, Promise */
|
|
29
|
+
|
|
30
30
|
var _extendStatics = function extendStatics(d, b) {
|
|
31
31
|
_extendStatics = Object.setPrototypeOf || {
|
|
32
32
|
__proto__: []
|
|
@@ -37,19 +37,14 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
37
37
|
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
|
|
41
40
|
return _extendStatics(d, b);
|
|
42
41
|
};
|
|
43
|
-
|
|
44
42
|
function __extends(d, b) {
|
|
45
43
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
46
|
-
|
|
47
44
|
_extendStatics(d, b);
|
|
48
|
-
|
|
49
45
|
function __() {
|
|
50
46
|
this.constructor = d;
|
|
51
47
|
}
|
|
52
|
-
|
|
53
48
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
54
49
|
}
|
|
55
50
|
|
|
@@ -111,7 +106,7 @@ var Plugin = /** @class */ (function () {
|
|
|
111
106
|
delete _this[key];
|
|
112
107
|
});
|
|
113
108
|
};
|
|
114
|
-
Plugin.version = "3.6.
|
|
109
|
+
Plugin.version = "3.6.1";
|
|
115
110
|
return Plugin;
|
|
116
111
|
}());
|
|
117
112
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -23,8 +23,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
23
23
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
24
24
|
PERFORMANCE OF THIS SOFTWARE.
|
|
25
25
|
***************************************************************************** */
|
|
26
|
-
|
|
27
26
|
/* global Reflect, Promise */
|
|
27
|
+
|
|
28
28
|
var _extendStatics = function extendStatics(d, b) {
|
|
29
29
|
_extendStatics = Object.setPrototypeOf || {
|
|
30
30
|
__proto__: []
|
|
@@ -35,35 +35,26 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
35
35
|
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
|
|
39
38
|
return _extendStatics(d, b);
|
|
40
39
|
};
|
|
41
|
-
|
|
42
40
|
function __extends(d, b) {
|
|
43
41
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
44
|
-
|
|
45
42
|
_extendStatics(d, b);
|
|
46
|
-
|
|
47
43
|
function __() {
|
|
48
44
|
this.constructor = d;
|
|
49
45
|
}
|
|
50
|
-
|
|
51
46
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
52
47
|
}
|
|
53
|
-
|
|
54
48
|
var _assign = function __assign() {
|
|
55
49
|
_assign = Object.assign || function (t) {
|
|
56
50
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
57
51
|
s = arguments[i];
|
|
58
|
-
|
|
59
52
|
for (var p in s) {
|
|
60
53
|
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
61
54
|
}
|
|
62
55
|
}
|
|
63
|
-
|
|
64
56
|
return t;
|
|
65
57
|
};
|
|
66
|
-
|
|
67
58
|
return _assign.apply(this, arguments);
|
|
68
59
|
};
|
|
69
60
|
function __spreadArray(to, from, pack) {
|
|
@@ -286,7 +277,7 @@ var Plugin = /** @class */ (function () {
|
|
|
286
277
|
delete _this[key];
|
|
287
278
|
});
|
|
288
279
|
};
|
|
289
|
-
Plugin.version = "3.6.
|
|
280
|
+
Plugin.version = "3.6.1";
|
|
290
281
|
return Plugin;
|
|
291
282
|
}());
|
|
292
283
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -29,8 +29,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
29
29
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
30
30
|
PERFORMANCE OF THIS SOFTWARE.
|
|
31
31
|
***************************************************************************** */
|
|
32
|
-
|
|
33
32
|
/* global Reflect, Promise */
|
|
33
|
+
|
|
34
34
|
var _extendStatics = function extendStatics(d, b) {
|
|
35
35
|
_extendStatics = Object.setPrototypeOf || {
|
|
36
36
|
__proto__: []
|
|
@@ -41,35 +41,26 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
41
41
|
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
|
|
45
44
|
return _extendStatics(d, b);
|
|
46
45
|
};
|
|
47
|
-
|
|
48
46
|
function __extends(d, b) {
|
|
49
47
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
50
|
-
|
|
51
48
|
_extendStatics(d, b);
|
|
52
|
-
|
|
53
49
|
function __() {
|
|
54
50
|
this.constructor = d;
|
|
55
51
|
}
|
|
56
|
-
|
|
57
52
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
58
53
|
}
|
|
59
|
-
|
|
60
54
|
var _assign = function __assign() {
|
|
61
55
|
_assign = Object.assign || function (t) {
|
|
62
56
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
63
57
|
s = arguments[i];
|
|
64
|
-
|
|
65
58
|
for (var p in s) {
|
|
66
59
|
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
67
60
|
}
|
|
68
61
|
}
|
|
69
|
-
|
|
70
62
|
return t;
|
|
71
63
|
};
|
|
72
|
-
|
|
73
64
|
return _assign.apply(this, arguments);
|
|
74
65
|
};
|
|
75
66
|
function __spreadArray(to, from, pack) {
|
|
@@ -494,7 +485,7 @@ var Plugin = /** @class */ (function () {
|
|
|
494
485
|
delete _this[key];
|
|
495
486
|
});
|
|
496
487
|
};
|
|
497
|
-
Plugin.version = "3.6.
|
|
488
|
+
Plugin.version = "3.6.1";
|
|
498
489
|
return Plugin;
|
|
499
490
|
}());
|
|
500
491
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -23,8 +23,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
23
23
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
24
24
|
PERFORMANCE OF THIS SOFTWARE.
|
|
25
25
|
***************************************************************************** */
|
|
26
|
-
|
|
27
26
|
/* global Reflect, Promise */
|
|
27
|
+
|
|
28
28
|
var _extendStatics = function extendStatics(d, b) {
|
|
29
29
|
_extendStatics = Object.setPrototypeOf || {
|
|
30
30
|
__proto__: []
|
|
@@ -35,35 +35,26 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
35
35
|
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
|
|
39
38
|
return _extendStatics(d, b);
|
|
40
39
|
};
|
|
41
|
-
|
|
42
40
|
function __extends(d, b) {
|
|
43
41
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
44
|
-
|
|
45
42
|
_extendStatics(d, b);
|
|
46
|
-
|
|
47
43
|
function __() {
|
|
48
44
|
this.constructor = d;
|
|
49
45
|
}
|
|
50
|
-
|
|
51
46
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
52
47
|
}
|
|
53
|
-
|
|
54
48
|
var _assign = function __assign() {
|
|
55
49
|
_assign = Object.assign || function (t) {
|
|
56
50
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
57
51
|
s = arguments[i];
|
|
58
|
-
|
|
59
52
|
for (var p in s) {
|
|
60
53
|
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
61
54
|
}
|
|
62
55
|
}
|
|
63
|
-
|
|
64
56
|
return t;
|
|
65
57
|
};
|
|
66
|
-
|
|
67
58
|
return _assign.apply(this, arguments);
|
|
68
59
|
};
|
|
69
60
|
function __spreadArray(to, from, pack) {
|
|
@@ -134,7 +125,7 @@ var Plugin = /** @class */ (function () {
|
|
|
134
125
|
delete _this[key];
|
|
135
126
|
});
|
|
136
127
|
};
|
|
137
|
-
Plugin.version = "3.6.
|
|
128
|
+
Plugin.version = "3.6.1";
|
|
138
129
|
return Plugin;
|
|
139
130
|
}());
|
|
140
131
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.6.
|
|
8
|
+
* @version 3.6.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -26,8 +26,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
26
26
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
27
|
PERFORMANCE OF THIS SOFTWARE.
|
|
28
28
|
***************************************************************************** */
|
|
29
|
-
|
|
30
29
|
/* global Reflect, Promise */
|
|
30
|
+
|
|
31
31
|
var _extendStatics = function extendStatics(d, b) {
|
|
32
32
|
_extendStatics = Object.setPrototypeOf || {
|
|
33
33
|
__proto__: []
|
|
@@ -38,19 +38,14 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
38
38
|
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
|
|
42
41
|
return _extendStatics(d, b);
|
|
43
42
|
};
|
|
44
|
-
|
|
45
43
|
function __extends(d, b) {
|
|
46
44
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
47
|
-
|
|
48
45
|
_extendStatics(d, b);
|
|
49
|
-
|
|
50
46
|
function __() {
|
|
51
47
|
this.constructor = d;
|
|
52
48
|
}
|
|
53
|
-
|
|
54
49
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
55
50
|
}
|
|
56
51
|
function __spreadArray(to, from, pack) {
|
|
@@ -270,7 +265,7 @@ var Plugin = /** @class */ (function () {
|
|
|
270
265
|
delete _this[key];
|
|
271
266
|
});
|
|
272
267
|
};
|
|
273
|
-
Plugin.version = "3.6.
|
|
268
|
+
Plugin.version = "3.6.1";
|
|
274
269
|
return Plugin;
|
|
275
270
|
}());
|
|
276
271
|
var Plugin$1 = Plugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billboard.js",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "Re-usable easy interface JavaScript chart library, based on D3 v4+",
|
|
5
5
|
"homepage": "https://naver.github.io/billboard.js/",
|
|
6
6
|
"main": "dist/billboard.js",
|
|
@@ -96,20 +96,20 @@
|
|
|
96
96
|
"d3-zoom": "^3.0.0"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@babel/core": "^7.19.
|
|
99
|
+
"@babel/core": "^7.19.3",
|
|
100
100
|
"@babel/eslint-parser": "^7.19.1",
|
|
101
101
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
102
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
102
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.19.4",
|
|
103
103
|
"@babel/plugin-transform-runtime": "^7.19.1",
|
|
104
|
-
"@babel/preset-env": "^7.19.
|
|
104
|
+
"@babel/preset-env": "^7.19.4",
|
|
105
105
|
"@babel/preset-typescript": "^7.18.6",
|
|
106
|
-
"@babel/runtime": "^7.19.
|
|
106
|
+
"@babel/runtime": "^7.19.4",
|
|
107
107
|
"@commitlint/cli": "17.1.2",
|
|
108
108
|
"@commitlint/config-conventional": "^17.1.0",
|
|
109
|
-
"@rollup/plugin-babel": "^
|
|
110
|
-
"@rollup/plugin-node-resolve": "^
|
|
111
|
-
"@rollup/plugin-replace": "^
|
|
112
|
-
"@rollup/plugin-typescript": "^
|
|
109
|
+
"@rollup/plugin-babel": "^6.0.0",
|
|
110
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
111
|
+
"@rollup/plugin-replace": "^5.0.0",
|
|
112
|
+
"@rollup/plugin-typescript": "^9.0.1",
|
|
113
113
|
"@semantic-release/changelog": "^6.0.1",
|
|
114
114
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
115
115
|
"@semantic-release/exec": "^6.0.3",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
119
119
|
"@types/chai": "^4.3.3",
|
|
120
120
|
"@types/d3": "^7.4.0",
|
|
121
|
-
"@types/mocha": "^
|
|
121
|
+
"@types/mocha": "^10.0.0",
|
|
122
122
|
"@types/sinon": "^10.0.13",
|
|
123
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
124
|
-
"@typescript-eslint/parser": "^5.
|
|
123
|
+
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
124
|
+
"@typescript-eslint/parser": "^5.40.1",
|
|
125
125
|
"babel-helper-modules": "^6.0.0",
|
|
126
126
|
"babel-loader": "^8.2.5",
|
|
127
127
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
@@ -137,27 +137,27 @@
|
|
|
137
137
|
"chai": "^4.3.4",
|
|
138
138
|
"clean-webpack-plugin": "^4.0.0",
|
|
139
139
|
"cloc": "^2.10.0",
|
|
140
|
-
"core-js": "^3.25.
|
|
140
|
+
"core-js": "^3.25.5",
|
|
141
141
|
"coveralls": "^3.1.1",
|
|
142
142
|
"cross-env": "^7.0.3",
|
|
143
143
|
"css-loader": "^6.7.1",
|
|
144
|
-
"css-minimizer-webpack-plugin": "^4.
|
|
144
|
+
"css-minimizer-webpack-plugin": "^4.2.2",
|
|
145
145
|
"d3-color": "^3.1.0",
|
|
146
146
|
"d3-delaunay": "^6.0.2",
|
|
147
147
|
"d3-format": "^3.1.0",
|
|
148
148
|
"d3-polygon": "^3.0.1",
|
|
149
149
|
"docdash": "^1.2.0",
|
|
150
150
|
"dtslint": "^4.2.1",
|
|
151
|
-
"eslint": "^8.
|
|
151
|
+
"eslint": "^8.25.0",
|
|
152
152
|
"eslint-config-naver": "^2.1.0",
|
|
153
153
|
"eslint-plugin-import": "^2.26.0",
|
|
154
|
-
"eslint-plugin-jsdoc": "^39.3.
|
|
154
|
+
"eslint-plugin-jsdoc": "^39.3.13",
|
|
155
155
|
"eslint-webpack-plugin": "^3.2.0",
|
|
156
156
|
"exports-loader": "^4.0.0",
|
|
157
157
|
"hammer-simulator": "0.0.1",
|
|
158
158
|
"husky": "^8.0.1",
|
|
159
159
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
160
|
-
"istanbul-lib-instrument": "^5.2.
|
|
160
|
+
"istanbul-lib-instrument": "^5.2.1",
|
|
161
161
|
"jsdoc": "^3.6.11",
|
|
162
162
|
"karma": "^6.4.1",
|
|
163
163
|
"karma-chai": "^0.1.0",
|
|
@@ -172,20 +172,20 @@
|
|
|
172
172
|
"lint-staged": "^13.0.3",
|
|
173
173
|
"lite-fixture": "^1.0.2",
|
|
174
174
|
"mini-css-extract-plugin": "^2.6.1",
|
|
175
|
-
"mocha": "^10.
|
|
175
|
+
"mocha": "^10.1.0",
|
|
176
176
|
"node-sass": "^7.0.3",
|
|
177
|
-
"regenerator-runtime": "^0.13.
|
|
178
|
-
"rollup": "^2.
|
|
177
|
+
"regenerator-runtime": "^0.13.10",
|
|
178
|
+
"rollup": "^3.2.3",
|
|
179
179
|
"rollup-plugin-delete": "^2.0.0",
|
|
180
|
-
"sass-loader": "^13.0
|
|
180
|
+
"sass-loader": "^13.1.0",
|
|
181
181
|
"semantic-release": "^19.0.5",
|
|
182
182
|
"simulant": "^0.2.2",
|
|
183
|
-
"sinon": "^14.0.
|
|
183
|
+
"sinon": "^14.0.1",
|
|
184
184
|
"string-replace-loader": "^3.1.0",
|
|
185
185
|
"style-loader": "^3.3.1",
|
|
186
186
|
"terser-webpack-plugin": "^5.3.6",
|
|
187
187
|
"tslib": "^2.4.0",
|
|
188
|
-
"typescript": "4.8.
|
|
188
|
+
"typescript": "4.8.4",
|
|
189
189
|
"webpack": "^5.74.0",
|
|
190
190
|
"webpack-bundle-analyzer": "^4.6.1",
|
|
191
191
|
"webpack-clean": "^1.2.5",
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
3
|
* billboard.js project is licensed under the MIT license
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
x: number;
|
|
5
|
+
type TDataRow = {
|
|
7
6
|
value: number | null;
|
|
8
7
|
id: string;
|
|
9
8
|
index: number;
|
|
10
9
|
name?: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export interface IDataRow extends TDataRow {
|
|
13
|
+
x: number;
|
|
14
|
+
}
|
|
15
|
+
export interface IArcDataRow extends TDataRow {
|
|
16
|
+
ratio: number;
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
export interface IData {
|