billboard.js 3.17.0 → 3.17.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 -7
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +3 -3
- package/dist/billboard.pkgd.js +15 -11
- package/dist/billboard.pkgd.min.js +13 -13
- 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.pkgd.js +7 -6
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +4 -4
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +7 -6
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +3 -3
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +7 -6
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +10 -10
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +7 -6
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +8 -8
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +7 -6
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +7 -7
- package/dist/theme/dark.css +1 -1
- package/dist/theme/dark.min.css +1 -1
- 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/theme/modern.css +1 -1
- package/dist/theme/modern.min.css +1 -1
- package/dist-esm/billboard.js +8 -8
- 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 +1 -1
- package/src/ChartInternal/data/convert.ts +4 -4
- package/src/ChartInternal/data/load.ts +1 -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.17.
|
|
8
|
+
* @version 3.17.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.11
|
|
@@ -1270,10 +1270,10 @@ var SHARED = '__core-js_shared__';
|
|
|
1270
1270
|
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
1271
1271
|
|
|
1272
1272
|
(store.versions || (store.versions = [])).push({
|
|
1273
|
-
version: '3.
|
|
1273
|
+
version: '3.46.0',
|
|
1274
1274
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1275
|
-
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
1276
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
1275
|
+
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',
|
|
1276
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',
|
|
1277
1277
|
source: 'https://github.com/zloirock/core-js'
|
|
1278
1278
|
});
|
|
1279
1279
|
|
|
@@ -11075,6 +11075,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PR
|
|
|
11075
11075
|
|
|
11076
11076
|
|
|
11077
11077
|
var $ = __webpack_require__(3);
|
|
11078
|
+
var createProperty = __webpack_require__(145);
|
|
11078
11079
|
var getBuiltIn = __webpack_require__(23);
|
|
11079
11080
|
var uncurryThis = __webpack_require__(14);
|
|
11080
11081
|
var aCallable = __webpack_require__(30);
|
|
@@ -11108,7 +11109,7 @@ $({ target: 'Object', stat: true, forced: DOES_NOT_WORK_WITH_PRIMITIVES }, {
|
|
|
11108
11109
|
// in some IE versions, `hasOwnProperty` returns incorrect result on integer keys
|
|
11109
11110
|
// but since it's a `null` prototype object, we can safely use `in`
|
|
11110
11111
|
if (key in obj) push(obj[key], value);
|
|
11111
|
-
else obj
|
|
11112
|
+
else createProperty(obj, key, [value]);
|
|
11112
11113
|
});
|
|
11113
11114
|
return obj;
|
|
11114
11115
|
}
|
|
@@ -29590,7 +29591,10 @@ function setXS(ids, data, params) {
|
|
|
29590
29591
|
*/
|
|
29591
29592
|
convertData(args, callback) {
|
|
29592
29593
|
const { config } = this;
|
|
29593
|
-
const useWorker =
|
|
29594
|
+
const useWorker = (d) => {
|
|
29595
|
+
var _a;
|
|
29596
|
+
return (d == null ? void 0 : d.length) && ((_a = d[0]) == null ? void 0 : _a.length) ? config.boost_useWorker : false;
|
|
29597
|
+
};
|
|
29594
29598
|
let data = args;
|
|
29595
29599
|
if (args.bindto) {
|
|
29596
29600
|
data = {};
|
|
@@ -29610,14 +29614,14 @@ function setXS(ids, data, params) {
|
|
|
29610
29614
|
callback
|
|
29611
29615
|
);
|
|
29612
29616
|
} else if (data.json) {
|
|
29613
|
-
runWorker(data.json
|
|
29617
|
+
runWorker(useWorker(data.json), json, callback, [columns, rows])(
|
|
29614
29618
|
data.json,
|
|
29615
29619
|
getDataKeyForJson(data.keys, config)
|
|
29616
29620
|
);
|
|
29617
29621
|
} else if (data.rows) {
|
|
29618
|
-
runWorker(data.rows
|
|
29622
|
+
runWorker(useWorker(data.rows), rows, callback)(data.rows);
|
|
29619
29623
|
} else if (data.columns) {
|
|
29620
|
-
runWorker(data.columns
|
|
29624
|
+
runWorker(useWorker(data.columns), columns, callback)(data.columns);
|
|
29621
29625
|
} else if (args.bindto) {
|
|
29622
29626
|
throw Error("url or json or rows or columns is required.");
|
|
29623
29627
|
}
|
|
@@ -30609,7 +30613,7 @@ function callDone(fn, resizeAfter = false) {
|
|
|
30609
30613
|
$$.convertData(args, (d) => {
|
|
30610
30614
|
const data = args.data || d;
|
|
30611
30615
|
args.append && (data.__append__ = true);
|
|
30612
|
-
data && $$.load($$.convertDataToTargets(data), args);
|
|
30616
|
+
data && $$.load($$.convertDataToTargets.call($$, data), args);
|
|
30613
30617
|
});
|
|
30614
30618
|
},
|
|
30615
30619
|
unload(rawTargetIds, customDoneCb) {
|
|
@@ -52248,7 +52252,7 @@ const bb = {
|
|
|
52248
52252
|
* bb.version; // "1.0.0"
|
|
52249
52253
|
* @memberof bb
|
|
52250
52254
|
*/
|
|
52251
|
-
version: "3.17.
|
|
52255
|
+
version: "3.17.1",
|
|
52252
52256
|
/**
|
|
52253
52257
|
* Generate chart
|
|
52254
52258
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|