billboard.js 3.8.0-next.2 → 3.8.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 +10 -5
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +20 -8
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +12 -5
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +12 -5
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +12 -5
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +12 -5
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +12 -5
- 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 +8 -5
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +30 -30
- package/src/Chart/api/tooltip.ts +1 -1
- package/src/ChartInternal/interactions/eventrect.ts +6 -1
package/dist/billboard.pkgd.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.8.
|
|
8
|
+
* @version 3.8.1
|
|
9
9
|
*
|
|
10
10
|
* All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills.
|
|
11
11
|
* - @types/d3-selection ^3.0.5
|
|
@@ -1171,10 +1171,10 @@ var store = __webpack_require__(37);
|
|
|
1171
1171
|
(module.exports = function (key, value) {
|
|
1172
1172
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1173
1173
|
})('versions', []).push({
|
|
1174
|
-
version: '3.30.
|
|
1174
|
+
version: '3.30.1',
|
|
1175
1175
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1176
1176
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1177
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.30.
|
|
1177
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE',
|
|
1178
1178
|
source: 'https://github.com/zloirock/core-js'
|
|
1179
1179
|
});
|
|
1180
1180
|
|
|
@@ -17860,14 +17860,21 @@ module.exports = {
|
|
|
17860
17860
|
|
|
17861
17861
|
var $ = __webpack_require__(3);
|
|
17862
17862
|
var getBuiltIn = __webpack_require__(24);
|
|
17863
|
+
var fails = __webpack_require__(7);
|
|
17863
17864
|
var validateArgumentsLength = __webpack_require__(328);
|
|
17864
17865
|
var toString = __webpack_require__(69);
|
|
17866
|
+
var USE_NATIVE_URL = __webpack_require__(514);
|
|
17865
17867
|
|
|
17866
17868
|
var URL = getBuiltIn('URL');
|
|
17867
17869
|
|
|
17870
|
+
// https://github.com/nodejs/node/issues/47505
|
|
17871
|
+
var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
|
|
17872
|
+
URL.canParse();
|
|
17873
|
+
});
|
|
17874
|
+
|
|
17868
17875
|
// `URL.canParse` method
|
|
17869
17876
|
// https://url.spec.whatwg.org/#dom-url-canparse
|
|
17870
|
-
$({ target: 'URL', stat: true }, {
|
|
17877
|
+
$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {
|
|
17871
17878
|
canParse: function canParse(url) {
|
|
17872
17879
|
var length = validateArgumentsLength(arguments.length, 1);
|
|
17873
17880
|
var urlString = toString(url);
|
|
@@ -37292,7 +37299,7 @@ var tooltip_tooltip = {
|
|
|
37292
37299
|
eventReceiver.rect = $el.main.select("" + $$.selectorTarget(data.id, undefined, "rect"));
|
|
37293
37300
|
} else if ($$.isMultipleX()) {
|
|
37294
37301
|
// if multiple xs, target point will be determined by mouse
|
|
37295
|
-
mouse = [$$.
|
|
37302
|
+
mouse = [$$.xx(data), y];
|
|
37296
37303
|
} else {
|
|
37297
37304
|
if (!config.tooltip_grouped) {
|
|
37298
37305
|
mouse = [0, y];
|
|
@@ -40029,7 +40036,9 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
40029
40036
|
isInverted = config.axis_x_inverted;
|
|
40030
40037
|
if ($el.eventRect) {
|
|
40031
40038
|
$$.updateEventRect($el.eventRect, !0);
|
|
40032
|
-
|
|
40039
|
+
|
|
40040
|
+
// do not initialize eventRect when data is empty
|
|
40041
|
+
} else if ($$.data.targets.length) {
|
|
40033
40042
|
var eventRects = $$.$el.main.select("." + $EVENT.eventRects).style("cursor", config.zoom_enabled && config.zoom_type !== "drag" ? config.axis_rotated ? "ns-resize" : "ew-resize" : null).classed($EVENT.eventRectsMultiple, isMultipleX).classed($EVENT.eventRectsSingle, !isMultipleX),
|
|
40034
40043
|
eventRectUpdate = eventRects.selectAll("." + $EVENT.eventRect).data([0]).enter().append("rect"); // append event <rect>
|
|
40035
40044
|
$$.updateEventRect(eventRectUpdate);
|
|
@@ -40043,6 +40052,9 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
40043
40052
|
if ($$.state.inputType === "touch" && !$el.svg.on("touchstart.eventRect") && !$$.hasArcType()) {
|
|
40044
40053
|
$$.bindTouchOnEventRect(isMultipleX);
|
|
40045
40054
|
}
|
|
40055
|
+
|
|
40056
|
+
// when initilazed with empty data and data loaded later, need to update eventRect
|
|
40057
|
+
state.rendered && $$.updateEventRect($el.eventRect, !0);
|
|
40046
40058
|
}
|
|
40047
40059
|
if (!isMultipleX) {
|
|
40048
40060
|
// Set data and update eventReceiver.data
|
|
@@ -51549,7 +51561,7 @@ var _defaults = {};
|
|
|
51549
51561
|
|
|
51550
51562
|
/**
|
|
51551
51563
|
* @namespace bb
|
|
51552
|
-
* @version 3.8.
|
|
51564
|
+
* @version 3.8.1
|
|
51553
51565
|
*/
|
|
51554
51566
|
var bb = {
|
|
51555
51567
|
/**
|
|
@@ -51559,7 +51571,7 @@ var bb = {
|
|
|
51559
51571
|
* bb.version; // "1.0.0"
|
|
51560
51572
|
* @memberof bb
|
|
51561
51573
|
*/
|
|
51562
|
-
version: "3.8.
|
|
51574
|
+
version: "3.8.1",
|
|
51563
51575
|
/**
|
|
51564
51576
|
* Generate chart
|
|
51565
51577
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|