billboard.js 3.8.1 → 3.8.2
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 +27 -27
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +57 -47
- 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 +32 -22
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +32 -22
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +32 -22
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +32 -22
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +32 -22
- 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 +17 -5
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +7 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +8 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +11 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +7 -2
- package/package.json +15 -15
- package/src/ChartInternal/interactions/eventrect.ts +2 -2
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.2
|
|
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
|
|
@@ -649,7 +649,7 @@ module.exports =
|
|
|
649
649
|
check(typeof self == 'object' && self) ||
|
|
650
650
|
check(typeof global == 'object' && global) ||
|
|
651
651
|
// eslint-disable-next-line no-new-func -- fallback
|
|
652
|
-
(function () { return this; })() || Function('return this')();
|
|
652
|
+
(function () { return this; })() || this || Function('return this')();
|
|
653
653
|
|
|
654
654
|
|
|
655
655
|
/***/ }),
|
|
@@ -1018,13 +1018,18 @@ module.exports = NATIVE_SYMBOL
|
|
|
1018
1018
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
1019
1019
|
var V8_VERSION = __webpack_require__(28);
|
|
1020
1020
|
var fails = __webpack_require__(7);
|
|
1021
|
+
var global = __webpack_require__(4);
|
|
1022
|
+
|
|
1023
|
+
var $String = global.String;
|
|
1021
1024
|
|
|
1022
1025
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1023
1026
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
1024
1027
|
var symbol = Symbol();
|
|
1025
1028
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1026
1029
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
1027
|
-
|
|
1030
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
1031
|
+
// of course, fail.
|
|
1032
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
1028
1033
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
1029
1034
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
1030
1035
|
});
|
|
@@ -1171,10 +1176,10 @@ var store = __webpack_require__(37);
|
|
|
1171
1176
|
(module.exports = function (key, value) {
|
|
1172
1177
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1173
1178
|
})('versions', []).push({
|
|
1174
|
-
version: '3.30.
|
|
1179
|
+
version: '3.30.2',
|
|
1175
1180
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1176
1181
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1177
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.30.
|
|
1182
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
|
1178
1183
|
source: 'https://github.com/zloirock/core-js'
|
|
1179
1184
|
});
|
|
1180
1185
|
|
|
@@ -15671,6 +15676,11 @@ var throwUnpolyfillable = function (type, action) {
|
|
|
15671
15676
|
throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);
|
|
15672
15677
|
};
|
|
15673
15678
|
|
|
15679
|
+
var tryNativeRestrictedStructuredClone = function (value, type) {
|
|
15680
|
+
if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type);
|
|
15681
|
+
return nativeRestrictedStructuredClone(value);
|
|
15682
|
+
};
|
|
15683
|
+
|
|
15674
15684
|
var createDataTransfer = function () {
|
|
15675
15685
|
var dataTransfer;
|
|
15676
15686
|
try {
|
|
@@ -15791,11 +15801,20 @@ var structuredCloneInternal = function (value, map) {
|
|
|
15791
15801
|
structuredCloneInternal(value.p4, map)
|
|
15792
15802
|
);
|
|
15793
15803
|
} catch (error) {
|
|
15794
|
-
|
|
15795
|
-
cloned = nativeRestrictedStructuredClone(value);
|
|
15796
|
-
} else throwUnpolyfillable(type);
|
|
15804
|
+
cloned = tryNativeRestrictedStructuredClone(value, type);
|
|
15797
15805
|
}
|
|
15798
15806
|
break;
|
|
15807
|
+
case 'File':
|
|
15808
|
+
if (nativeRestrictedStructuredClone) try {
|
|
15809
|
+
cloned = nativeRestrictedStructuredClone(value);
|
|
15810
|
+
// NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612
|
|
15811
|
+
if (classof(cloned) !== type) cloned = undefined;
|
|
15812
|
+
} catch (error) { /* empty */ }
|
|
15813
|
+
if (!cloned) try {
|
|
15814
|
+
cloned = new File([value], value.name, value);
|
|
15815
|
+
} catch (error) { /* empty */ }
|
|
15816
|
+
if (!cloned) throwUnpolyfillable(type);
|
|
15817
|
+
break;
|
|
15799
15818
|
case 'FileList':
|
|
15800
15819
|
dataTransfer = createDataTransfer();
|
|
15801
15820
|
if (dataTransfer) {
|
|
@@ -15803,9 +15822,7 @@ var structuredCloneInternal = function (value, map) {
|
|
|
15803
15822
|
dataTransfer.items.add(structuredCloneInternal(value[i], map));
|
|
15804
15823
|
}
|
|
15805
15824
|
cloned = dataTransfer.files;
|
|
15806
|
-
} else
|
|
15807
|
-
cloned = nativeRestrictedStructuredClone(value);
|
|
15808
|
-
} else throwUnpolyfillable(type);
|
|
15825
|
+
} else cloned = tryNativeRestrictedStructuredClone(value, type);
|
|
15809
15826
|
break;
|
|
15810
15827
|
case 'ImageData':
|
|
15811
15828
|
// Safari 9 ImageData is a constructor, but typeof ImageData is 'object'
|
|
@@ -15817,9 +15834,7 @@ var structuredCloneInternal = function (value, map) {
|
|
|
15817
15834
|
{ colorSpace: value.colorSpace }
|
|
15818
15835
|
);
|
|
15819
15836
|
} catch (error) {
|
|
15820
|
-
|
|
15821
|
-
cloned = nativeRestrictedStructuredClone(value);
|
|
15822
|
-
} else throwUnpolyfillable(type);
|
|
15837
|
+
cloned = tryNativeRestrictedStructuredClone(value, type);
|
|
15823
15838
|
} break;
|
|
15824
15839
|
default:
|
|
15825
15840
|
if (nativeRestrictedStructuredClone) {
|
|
@@ -15911,12 +15926,6 @@ var structuredCloneInternal = function (value, map) {
|
|
|
15911
15926
|
} catch (error) {
|
|
15912
15927
|
throwUncloneable(type);
|
|
15913
15928
|
} break;
|
|
15914
|
-
case 'File':
|
|
15915
|
-
try {
|
|
15916
|
-
cloned = new File([value], value.name, value);
|
|
15917
|
-
} catch (error) {
|
|
15918
|
-
throwUnpolyfillable(type);
|
|
15919
|
-
} break;
|
|
15920
15929
|
case 'CropTarget':
|
|
15921
15930
|
case 'CryptoKey':
|
|
15922
15931
|
case 'FileSystemDirectoryHandle':
|
|
@@ -17868,6 +17877,7 @@ var USE_NATIVE_URL = __webpack_require__(514);
|
|
|
17868
17877
|
var URL = getBuiltIn('URL');
|
|
17869
17878
|
|
|
17870
17879
|
// https://github.com/nodejs/node/issues/47505
|
|
17880
|
+
// https://github.com/denoland/deno/issues/18893
|
|
17871
17881
|
var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
|
|
17872
17882
|
URL.canParse();
|
|
17873
17883
|
});
|
|
@@ -17952,7 +17962,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17952
17962
|
|
|
17953
17963
|
// EXPORTS
|
|
17954
17964
|
__webpack_require__.d(__webpack_exports__, {
|
|
17955
|
-
|
|
17965
|
+
bb: function() { return /* reexport */ bb; },
|
|
17956
17966
|
"default": function() { return /* reexport */ bb; }
|
|
17957
17967
|
});
|
|
17958
17968
|
|
|
@@ -17960,33 +17970,33 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
17960
17970
|
var resolver_shape_namespaceObject = {};
|
|
17961
17971
|
__webpack_require__.r(resolver_shape_namespaceObject);
|
|
17962
17972
|
__webpack_require__.d(resolver_shape_namespaceObject, {
|
|
17963
|
-
|
|
17964
|
-
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
|
|
17978
|
-
|
|
17979
|
-
|
|
17980
|
-
|
|
17973
|
+
area: function() { return _area; },
|
|
17974
|
+
areaLineRange: function() { return areaLineRange; },
|
|
17975
|
+
areaSpline: function() { return areaSpline; },
|
|
17976
|
+
areaSplineRange: function() { return areaSplineRange; },
|
|
17977
|
+
areaStep: function() { return areaStep; },
|
|
17978
|
+
bar: function() { return resolver_shape_bar; },
|
|
17979
|
+
bubble: function() { return resolver_shape_bubble; },
|
|
17980
|
+
candlestick: function() { return resolver_shape_candlestick; },
|
|
17981
|
+
donut: function() { return shape_donut; },
|
|
17982
|
+
gauge: function() { return resolver_shape_gauge; },
|
|
17983
|
+
line: function() { return resolver_shape_line; },
|
|
17984
|
+
pie: function() { return resolver_shape_pie; },
|
|
17985
|
+
polar: function() { return resolver_shape_polar; },
|
|
17986
|
+
radar: function() { return resolver_shape_radar; },
|
|
17987
|
+
scatter: function() { return shape_scatter; },
|
|
17988
|
+
spline: function() { return shape_spline; },
|
|
17989
|
+
step: function() { return shape_step; },
|
|
17990
|
+
treemap: function() { return resolver_shape_treemap; }
|
|
17981
17991
|
});
|
|
17982
17992
|
|
|
17983
17993
|
// NAMESPACE OBJECT: ./src/config/resolver/interaction.ts
|
|
17984
17994
|
var resolver_interaction_namespaceObject = {};
|
|
17985
17995
|
__webpack_require__.r(resolver_interaction_namespaceObject);
|
|
17986
17996
|
__webpack_require__.d(resolver_interaction_namespaceObject, {
|
|
17987
|
-
|
|
17988
|
-
|
|
17989
|
-
|
|
17997
|
+
selection: function() { return _selectionModule; },
|
|
17998
|
+
subchart: function() { return subchartModule; },
|
|
17999
|
+
zoom: function() { return zoomModule; }
|
|
17990
18000
|
});
|
|
17991
18001
|
|
|
17992
18002
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/newArrowCheck.js
|
|
@@ -40187,8 +40197,8 @@ var Axis_Axis = /*#__PURE__*/function () {
|
|
|
40187
40197
|
rectElement.attr("x", 0).attr("y", 0).attr("width", width).attr("height", height);
|
|
40188
40198
|
|
|
40189
40199
|
// only for init
|
|
40190
|
-
if (!rendered) {
|
|
40191
|
-
rectElement.
|
|
40200
|
+
if (!rendered || force) {
|
|
40201
|
+
rectElement.classed($EVENT.eventRect, !0);
|
|
40192
40202
|
}
|
|
40193
40203
|
}
|
|
40194
40204
|
updateClientRect();
|
|
@@ -51561,7 +51571,7 @@ var _defaults = {};
|
|
|
51561
51571
|
|
|
51562
51572
|
/**
|
|
51563
51573
|
* @namespace bb
|
|
51564
|
-
* @version 3.8.
|
|
51574
|
+
* @version 3.8.2
|
|
51565
51575
|
*/
|
|
51566
51576
|
var bb = {
|
|
51567
51577
|
/**
|
|
@@ -51571,7 +51581,7 @@ var bb = {
|
|
|
51571
51581
|
* bb.version; // "1.0.0"
|
|
51572
51582
|
* @memberof bb
|
|
51573
51583
|
*/
|
|
51574
|
-
version: "3.8.
|
|
51584
|
+
version: "3.8.2",
|
|
51575
51585
|
/**
|
|
51576
51586
|
* Generate chart
|
|
51577
51587
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|
|
@@ -52088,7 +52098,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
52088
52098
|
/******/ };
|
|
52089
52099
|
/******/
|
|
52090
52100
|
/******/ // Execute the module function
|
|
52091
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
52101
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
52092
52102
|
/******/
|
|
52093
52103
|
/******/ // Return the exports of the module
|
|
52094
52104
|
/******/ return module.exports;
|