billboard.js 3.7.5 → 3.8.0-next.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 +468 -268
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +512 -284
- package/dist/billboard.pkgd.min.js +3 -3
- 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 +36 -19
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +35 -19
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +32 -18
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +33 -18
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +45 -17
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +80 -35
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +80 -36
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +77 -35
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +133 -69
- 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 +349 -213
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +10 -11
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +6 -11
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +7 -12
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -7
- package/package.json +28 -28
- package/src/Chart/api/focus.ts +4 -4
- package/src/Chart/api/grid.ts +206 -0
- package/src/Chart/api/load.ts +31 -21
- package/src/Chart/api/regions.ts +28 -24
- package/src/Chart/api/zoom.ts +18 -3
- package/src/ChartInternal/Axis/Axis.ts +1 -0
- package/src/ChartInternal/Axis/AxisRenderer.ts +7 -2
- package/src/ChartInternal/ChartInternal.ts +1 -1
- package/src/ChartInternal/data/convert.ts +6 -3
- package/src/ChartInternal/data/data.ts +19 -15
- package/src/ChartInternal/data/load.ts +19 -4
- package/src/ChartInternal/interactions/eventrect.ts +3 -2
- package/src/ChartInternal/interactions/subchart.ts +3 -2
- package/src/ChartInternal/interactions/zoom.ts +10 -3
- package/src/ChartInternal/internals/clip.ts +3 -2
- package/src/ChartInternal/internals/domain.ts +17 -8
- package/src/ChartInternal/internals/legend.ts +4 -1
- package/src/ChartInternal/internals/redraw.ts +0 -16
- package/src/ChartInternal/internals/region.ts +9 -9
- package/src/ChartInternal/internals/scale.ts +7 -4
- package/src/ChartInternal/internals/size.axis.ts +14 -4
- package/src/ChartInternal/internals/size.ts +41 -18
- package/src/ChartInternal/internals/transform.ts +1 -1
- package/src/ChartInternal/internals/type.ts +10 -0
- package/src/ChartInternal/shape/point.ts +3 -2
- package/src/Plugin/sparkline/index.ts +9 -1
- package/src/config/Options/axis/x.ts +17 -0
- package/src/config/Options/axis/y.ts +2 -1
- package/src/config/Options/axis/y2.ts +2 -1
- package/src/config/Options/common/main.ts +19 -1
- package/src/config/resolver/axis.ts +2 -4
- package/src/module/browser.ts +13 -5
- package/src/module/generator.ts +3 -3
- package/src/module/util.ts +2 -2
- package/types/axis.d.ts +8 -7
- package/types/chart.d.ts +6 -1
- package/types/options.d.ts +7 -4
- package/src/Chart/api/grid.x.ts +0 -90
- package/src/Chart/api/grid.y.ts +0 -92
|
@@ -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
|
+
* @version 3.8.0-next.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -200,23 +200,25 @@ var _this = undefined;
|
|
|
200
200
|
/* eslint-disable no-new-func, no-undef */
|
|
201
201
|
|
|
202
202
|
var win = function () {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}.bind(undefined)()
|
|
203
|
+
_newArrowCheck(this, _this);
|
|
204
|
+
var root = typeof globalThis === "object" && globalThis !== null && globalThis.Object === Object && globalThis || typeof global === "object" && global !== null && global.Object === Object && global || typeof self === "object" && self !== null && self.Object === Object && self;
|
|
205
|
+
return root || Function("return this")();
|
|
206
|
+
}.bind(undefined)(),
|
|
207
|
+
hasRAF = typeof win.requestAnimationFrame === "function",
|
|
208
|
+
hasRIC = typeof win.requestIdleCallback === "function",
|
|
209
|
+
requestAnimationFrame = hasRAF ? win.requestAnimationFrame : function (cb) {
|
|
210
|
+
_newArrowCheck(this, _this);
|
|
211
|
+
return setTimeout(cb, 1);
|
|
212
|
+
}.bind(undefined),
|
|
213
|
+
cancelAnimationFrame = hasRAF ? win.cancelAnimationFrame : function (id) {
|
|
214
|
+
_newArrowCheck(this, _this);
|
|
215
|
+
return clearTimeout(id);
|
|
216
|
+
}.bind(undefined),
|
|
217
|
+
requestIdleCallback = hasRIC ? win.requestIdleCallback : requestAnimationFrame,
|
|
218
|
+
cancelIdleCallback = hasRIC ? win.cancelIdleCallback : cancelAnimationFrame,
|
|
219
|
+
doc = win == null ? void 0 : win.document;
|
|
207
220
|
/* eslint-enable no-new-func, no-undef */
|
|
208
|
-
|
|
209
221
|
// fallback for non-supported environments
|
|
210
|
-
win.requestIdleCallback = win.requestIdleCallback || function (cb) {
|
|
211
|
-
_newArrowCheck(this, _this);
|
|
212
|
-
return setTimeout(cb, 1);
|
|
213
|
-
}.bind(undefined);
|
|
214
|
-
// win.cancelIdleCallback = win.cancelIdleCallback || (id => clearTimeout(id));
|
|
215
|
-
win.requestAnimationFrame = win.requestAnimationFrame || function (cb) {
|
|
216
|
-
_newArrowCheck(this, _this);
|
|
217
|
-
return setTimeout(cb, 1);
|
|
218
|
-
}.bind(undefined);
|
|
219
|
-
var doc = win == null ? void 0 : win.document;
|
|
220
222
|
;// CONCATENATED MODULE: ./src/module/util.ts
|
|
221
223
|
|
|
222
224
|
|
|
@@ -292,6 +294,18 @@ var isValue = function (v) {
|
|
|
292
294
|
_newArrowCheck(this, util_this);
|
|
293
295
|
return obj && !(obj != null && obj.nodeType) && isObjectType(obj) && !isArray(obj);
|
|
294
296
|
}.bind(undefined);
|
|
297
|
+
/**
|
|
298
|
+
* Check if is array
|
|
299
|
+
* @param {Array} arr Data to be checked
|
|
300
|
+
* @returns {boolean}
|
|
301
|
+
* @private
|
|
302
|
+
*/
|
|
303
|
+
/**
|
|
304
|
+
* Check if is object
|
|
305
|
+
* @param {object} obj Data to be checked
|
|
306
|
+
* @returns {boolean}
|
|
307
|
+
* @private
|
|
308
|
+
*/
|
|
295
309
|
/**
|
|
296
310
|
* Get specified key value from object
|
|
297
311
|
* If default value is given, will return if given key value not found
|
|
@@ -1071,7 +1085,7 @@ function convertInputType(mouse, touch) {
|
|
|
1071
1085
|
function runUntil(fn, conditionFn) {
|
|
1072
1086
|
var _this18 = this;
|
|
1073
1087
|
if (conditionFn() === !1) {
|
|
1074
|
-
|
|
1088
|
+
requestAnimationFrame(function () {
|
|
1075
1089
|
_newArrowCheck(this, _this18);
|
|
1076
1090
|
return runUntil(fn, conditionFn);
|
|
1077
1091
|
}.bind(this));
|
|
@@ -1196,7 +1210,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
1196
1210
|
};
|
|
1197
1211
|
return Plugin;
|
|
1198
1212
|
}();
|
|
1199
|
-
Plugin.version = "3.
|
|
1213
|
+
Plugin.version = "3.8.0-next.2";
|
|
1200
1214
|
|
|
1201
1215
|
;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts
|
|
1202
1216
|
/**
|
|
@@ -1377,6 +1391,7 @@ var TextOverlap = /*#__PURE__*/function (_Plugin) {
|
|
|
1377
1391
|
xTranslate = extent * (angle === 0 ? 1 : -1),
|
|
1378
1392
|
yTranslate = angle === -1 ? -extent : extent + 5,
|
|
1379
1393
|
txtAnchor = Math.abs(angle) === 1 ? "middle" : angle === 0 ? "start" : "end"; // @ts-ignore wrong type definiton for d3PolygonCentroid
|
|
1394
|
+
// @ts-ignore wrong type definiton for d3PolygonArea
|
|
1380
1395
|
this.style.display = polygonArea < area ? "none" : "";
|
|
1381
1396
|
this.setAttribute("text-anchor", txtAnchor);
|
|
1382
1397
|
this.setAttribute("dy", "0." + (angle === 1 ? 71 : 35) + "em");
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.
|
|
8
|
+
* @version 3.8.0-next.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
12
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):"function"==typeof define&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-selection","d3-brush"],n):"object"==typeof exports?exports.bb=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.textoverlap=n(t.d3,t.d3,t.d3,t.d3))}(this,(function(t,n,e,i){return function(){"use strict";var o={3:function(t){t.exports=i},12:function(n){n.exports=t},13:function(t){t.exports=n},1:function(t){t.exports=e}},r={};function u(t){var n=r[t];if(void 0!==n)return n.exports;var e=r[t]={exports:{}};return o[t](e,e.exports,u),e.exports}u.d=function(t,n){for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var s={};return function(){function t(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,n){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},e(t,n)}u.d(s,{default:function(){return
|
|
12
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):"function"==typeof define&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-selection","d3-brush"],n):"object"==typeof exports?exports.bb=n(require("d3-delaunay"),require("d3-polygon"),require("d3-selection"),require("d3-brush")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.textoverlap=n(t.d3,t.d3,t.d3,t.d3))}(this,(function(t,n,e,i){return function(){"use strict";var o={3:function(t){t.exports=i},12:function(n){n.exports=t},13:function(t){t.exports=n},1:function(t){t.exports=e}},r={};function u(t){var n=r[t];if(void 0!==n)return n.exports;var e=r[t]={exports:{}};return o[t](e,e.exports,u),e.exports}u.d=function(t,n){for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var s={};return function(){function t(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,n){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},e(t,n)}u.d(s,{default:function(){return M}});var i=u(12),o=u(13);u(1),u(3);var r=void 0,c=function(){return t(this,r),"object"==typeof globalThis&&null!==globalThis&&globalThis.Object===Object&&globalThis||"object"==typeof global&&null!==global&&global.Object===Object&&global||"object"==typeof self&&null!==self&&self.Object===Object&&self||Function("return this")()}.bind(void 0)(),a="function"==typeof c.requestAnimationFrame,d="function"==typeof c.requestIdleCallback,l=a?c.requestAnimationFrame:function(n){return t(this,r),setTimeout(n,1)}.bind(void 0),f=a?c.cancelAnimationFrame:function(n){return t(this,r),clearTimeout(n)}.bind(void 0),h=(d&&c.requestIdleCallback,d&&c.cancelIdleCallback,null==c?void 0:c.document),b=void 0;(function(n){return t(this,b),n||0===n}).bind(void 0),function(n){return t(this,b),"function"==typeof n}.bind(void 0);var v=function(n){return t(this,b),"string"==typeof n}.bind(void 0),p=function(n){return t(this,b),"number"==typeof n}.bind(void 0),y=function(n){return t(this,b),void 0===n}.bind(void 0),g=function(n){return t(this,b),void 0!==n}.bind(void 0),m=(function(n){return t(this,b),"boolean"==typeof n}.bind(void 0),function(n){return t(this,b),10*Math.ceil(n/10)}.bind(void 0),function(n){return t(this,b),Math.ceil(n)+.5}.bind(void 0),function(n){return t(this,b),n[1]-n[0]}.bind(void 0),function(n){return t(this,b),"object"==typeof n}.bind(void 0)),j=function(n){return t(this,b),y(n)||null===n||v(n)&&0===n.length||m(n)&&!(n instanceof Date)&&0===Object.keys(n).length||p(n)&&isNaN(n)}.bind(void 0),x=(function(n){return t(this,b),!j(n)}.bind(void 0),function(n){return t(this,b),Array.isArray(n)}.bind(void 0)),O=function(n){return t(this,b),n&&!(null!=n&&n.nodeType)&&m(n)&&!x(n)}.bind(void 0);(function(n){return t(this,b),n.charAt(0).toUpperCase()+n.slice(1)}).bind(void 0);(function(n){return t(this,b),[].slice.call(n)}).bind(void 0);function w(n){for(var e=this,i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];if(!o.length||1===o.length&&!o[0])return n;var u=o.shift();return O(n)&&O(u)&&Object.keys(u).forEach(function(i){t(this,e);var o=u[i];O(o)?(n[i]||(n[i]={}),n[i]=w(n[i],o)):n[i]=x(o)?o.concat():o}.bind(this)),w.apply(void 0,[n].concat(o))}(function(n,e,i){void 0===i&&(i=1),t(this,b);for(var o=[],r=0|Math.max(0,Math.ceil((e-n)/i)),u=n;u<r;u++)o.push(n+u*i);return o}).bind(void 0),function(){var n=this;t(this,b);var e=function(){return t(this,n),{bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0}}.bind(this);try{return new MouseEvent("t"),function(i,o,r){void 0===r&&(r=e()),t(this,n),i.dispatchEvent(new MouseEvent(o,r))}.bind(this)}catch(i){return function(i,o,r){void 0===r&&(r=e()),t(this,n);var u=h.createEvent("MouseEvent");u.initMouseEvent(o,r.bubbles,r.cancelable,c,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),i.dispatchEvent(u)}.bind(this)}}.bind(void 0)(),function(n,e,i){t(this,b);var o=new Touch(w({identifier:Date.now(),target:n,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},i));n.dispatchEvent(new TouchEvent(e,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}.bind(void 0);function E(n){var e,i,o,r=this,u=this.config,s=function(){t(this,r);var n=i.shift();return n&&e&&m(e)&&n in e?(e=e[n],s()):n?void 0:e}.bind(this);Object.keys(u).forEach(function(c){t(this,r),e=n,i=c.split("_"),o=s(),g(o)&&(u[c]=o)}.bind(this)),this.api&&(this.state.orgConfig=n)}var $=function(){function n(t){void 0===t&&(t={}),this.$$=void 0,this.options=void 0,this.options=t}var e=n.prototype;return e.$beforeInit=function(){},e.$init=function(){},e.$afterInit=function(){},e.$redraw=function(){},e.$willDestroy=function(){var n=this;Object.keys(this).forEach(function(e){t(this,n),this[e]=null,delete this[e]}.bind(this))},n}();$.version="3.8.0-next.2";var A=function(){return{selector:void 0,extent:1,area:0}},M=function(r){var u,s;function c(t){var e=r.call(this,t)||this;return e.config=void 0,e.config=new A,n(e)||n(e)}s=r,(u=c).prototype=Object.create(s.prototype),u.prototype.constructor=u,e(u,s);var a=c.prototype;return a.$init=function(){E.call(this,this.options)},a.$redraw=function(){var t=this.$$.$el,n=this.config.selector,e=n?t.main.selectAll(n):t.text;e.empty()||this.preventLabelOverlap(e)},a.generateVoronoi=function(n){var e=this,o=this.$$.scale,r=["x","y"].map(function(n){return t(this,e),o[n].domain()}.bind(this)),u=r[0],s=r[1],c=[s[0],u[1]];return u[1]=c[0],s[0]=c[1],i.Delaunay.from(n).voronoi([].concat(u,s))},a.preventLabelOverlap=function(n){var e=this,i=this.config,r=i.extent,u=i.area,s=n.data().map(function(n){return t(this,e),[n.index,n.value]}.bind(this)),c=this.generateVoronoi(s),a=0;n.each((function(){var t=c.cellPolygon(a);if(t&&this){var n=s[a],e=n[0],i=n[1],d=(0,o.polygonCentroid)(t),l=d[0],f=d[1],h=Math.abs((0,o.polygonArea)(t)),b=Math.round(Math.atan2(f-i,l-e)/Math.PI*2),v=r*(0===b?1:-1),p=-1===b?-r:r+5,y=1===Math.abs(b)?"middle":0===b?"start":"end";this.style.display=h<u?"none":"",this.setAttribute("text-anchor",y),this.setAttribute("dy","0."+(1===b?71:35)+"em"),this.setAttribute("transform","translate("+v+", "+p+")")}a++}))},c}($)}(),s=s.default}()}));
|
|
@@ -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
|
+
* @version 3.8.0-next.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -280,6 +280,7 @@ __webpack_require__(512);
|
|
|
280
280
|
__webpack_require__(517);
|
|
281
281
|
__webpack_require__(518);
|
|
282
282
|
__webpack_require__(519);
|
|
283
|
+
__webpack_require__(520);
|
|
283
284
|
|
|
284
285
|
/* unused reexport */ __webpack_require__(82);
|
|
285
286
|
|
|
@@ -1155,10 +1156,10 @@ var store = __webpack_require__(37);
|
|
|
1155
1156
|
(module.exports = function (key, value) {
|
|
1156
1157
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1157
1158
|
})('versions', []).push({
|
|
1158
|
-
version: '3.
|
|
1159
|
+
version: '3.30.0',
|
|
1159
1160
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1160
1161
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1161
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
1162
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE',
|
|
1162
1163
|
source: 'https://github.com/zloirock/core-js'
|
|
1163
1164
|
});
|
|
1164
1165
|
|
|
@@ -3923,6 +3924,7 @@ var FIND = 'find';
|
|
|
3923
3924
|
var SKIPS_HOLES = true;
|
|
3924
3925
|
|
|
3925
3926
|
// Shouldn't skip holes
|
|
3927
|
+
// eslint-disable-next-line es/no-array-prototype-find -- testing
|
|
3926
3928
|
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
3927
3929
|
|
|
3928
3930
|
// `Array.prototype.find` method
|
|
@@ -3951,6 +3953,7 @@ var FIND_INDEX = 'findIndex';
|
|
|
3951
3953
|
var SKIPS_HOLES = true;
|
|
3952
3954
|
|
|
3953
3955
|
// Shouldn't skip holes
|
|
3956
|
+
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
|
|
3954
3957
|
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
|
|
3955
3958
|
|
|
3956
3959
|
// `Array.prototype.findIndex` method
|
|
@@ -16065,9 +16068,7 @@ module.exports = {
|
|
|
16065
16068
|
add: uncurryThis(SetPrototype.add),
|
|
16066
16069
|
has: uncurryThis(SetPrototype.has),
|
|
16067
16070
|
remove: uncurryThis(SetPrototype['delete']),
|
|
16068
|
-
proto: SetPrototype
|
|
16069
|
-
$has: SetPrototype.has,
|
|
16070
|
-
$keys: SetPrototype.keys
|
|
16071
|
+
proto: SetPrototype
|
|
16071
16072
|
};
|
|
16072
16073
|
|
|
16073
16074
|
|
|
@@ -17842,6 +17843,33 @@ module.exports = {
|
|
|
17842
17843
|
/* 517 */
|
|
17843
17844
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17844
17845
|
|
|
17846
|
+
var $ = __webpack_require__(3);
|
|
17847
|
+
var getBuiltIn = __webpack_require__(24);
|
|
17848
|
+
var validateArgumentsLength = __webpack_require__(328);
|
|
17849
|
+
var toString = __webpack_require__(69);
|
|
17850
|
+
|
|
17851
|
+
var URL = getBuiltIn('URL');
|
|
17852
|
+
|
|
17853
|
+
// `URL.canParse` method
|
|
17854
|
+
// https://url.spec.whatwg.org/#dom-url-canparse
|
|
17855
|
+
$({ target: 'URL', stat: true }, {
|
|
17856
|
+
canParse: function canParse(url) {
|
|
17857
|
+
var length = validateArgumentsLength(arguments.length, 1);
|
|
17858
|
+
var urlString = toString(url);
|
|
17859
|
+
var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
|
|
17860
|
+
try {
|
|
17861
|
+
return !!new URL(urlString, base);
|
|
17862
|
+
} catch (error) {
|
|
17863
|
+
return false;
|
|
17864
|
+
}
|
|
17865
|
+
}
|
|
17866
|
+
});
|
|
17867
|
+
|
|
17868
|
+
|
|
17869
|
+
/***/ }),
|
|
17870
|
+
/* 518 */
|
|
17871
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17872
|
+
|
|
17845
17873
|
"use strict";
|
|
17846
17874
|
|
|
17847
17875
|
var $ = __webpack_require__(3);
|
|
@@ -17857,7 +17885,7 @@ $({ target: 'URL', proto: true, enumerable: true }, {
|
|
|
17857
17885
|
|
|
17858
17886
|
|
|
17859
17887
|
/***/ }),
|
|
17860
|
-
/*
|
|
17888
|
+
/* 519 */
|
|
17861
17889
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17862
17890
|
|
|
17863
17891
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
@@ -17865,7 +17893,7 @@ __webpack_require__(516);
|
|
|
17865
17893
|
|
|
17866
17894
|
|
|
17867
17895
|
/***/ }),
|
|
17868
|
-
/*
|
|
17896
|
+
/* 520 */
|
|
17869
17897
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17870
17898
|
|
|
17871
17899
|
"use strict";
|
|
@@ -17893,7 +17921,7 @@ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
|
|
|
17893
17921
|
|
|
17894
17922
|
|
|
17895
17923
|
/***/ }),
|
|
17896
|
-
/*
|
|
17924
|
+
/* 521 */
|
|
17897
17925
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17898
17926
|
|
|
17899
17927
|
"use strict";
|
|
@@ -18718,7 +18746,7 @@ function dispatchFunction(type, params) {
|
|
|
18718
18746
|
return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
|
|
18719
18747
|
}
|
|
18720
18748
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
18721
|
-
var regenerator = __webpack_require__(
|
|
18749
|
+
var regenerator = __webpack_require__(522);
|
|
18722
18750
|
;// CONCATENATED MODULE: ./node_modules/d3-selection/src/selection/iterator.js
|
|
18723
18751
|
|
|
18724
18752
|
var _marked = /*#__PURE__*/regenerator.mark(_callee);
|
|
@@ -18922,7 +18950,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
18922
18950
|
};
|
|
18923
18951
|
return Plugin;
|
|
18924
18952
|
}();
|
|
18925
|
-
Plugin.version = "3.
|
|
18953
|
+
Plugin.version = "3.8.0-next.2";
|
|
18926
18954
|
|
|
18927
18955
|
;// CONCATENATED MODULE: ./src/Plugin/bubblecompare/index.ts
|
|
18928
18956
|
|
|
@@ -19040,12 +19068,12 @@ BubbleCompare.version = "0.0.1";
|
|
|
19040
19068
|
|
|
19041
19069
|
|
|
19042
19070
|
/***/ }),
|
|
19043
|
-
/*
|
|
19071
|
+
/* 522 */
|
|
19044
19072
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19045
19073
|
|
|
19046
19074
|
// TODO(Babel 8): Remove this file.
|
|
19047
19075
|
|
|
19048
|
-
var runtime = __webpack_require__(
|
|
19076
|
+
var runtime = __webpack_require__(523)();
|
|
19049
19077
|
module.exports = runtime;
|
|
19050
19078
|
|
|
19051
19079
|
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
@@ -19061,10 +19089,10 @@ try {
|
|
|
19061
19089
|
|
|
19062
19090
|
|
|
19063
19091
|
/***/ }),
|
|
19064
|
-
/*
|
|
19092
|
+
/* 523 */
|
|
19065
19093
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19066
19094
|
|
|
19067
|
-
var _typeof = (__webpack_require__(
|
|
19095
|
+
var _typeof = (__webpack_require__(524)["default"]);
|
|
19068
19096
|
function _regeneratorRuntime() {
|
|
19069
19097
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
19070
19098
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
@@ -19370,7 +19398,7 @@ function _regeneratorRuntime() {
|
|
|
19370
19398
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19371
19399
|
|
|
19372
19400
|
/***/ }),
|
|
19373
|
-
/*
|
|
19401
|
+
/* 524 */
|
|
19374
19402
|
/***/ (function(module) {
|
|
19375
19403
|
|
|
19376
19404
|
function _typeof(obj) {
|
|
@@ -19435,7 +19463,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
19435
19463
|
/******/ // Load entry module and return exports
|
|
19436
19464
|
/******/ // This entry module used 'module' so it can't be inlined
|
|
19437
19465
|
/******/ __webpack_require__(0);
|
|
19438
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
19466
|
+
/******/ var __webpack_exports__ = __webpack_require__(521);
|
|
19439
19467
|
/******/ __webpack_exports__ = __webpack_exports__["default"];
|
|
19440
19468
|
/******/
|
|
19441
19469
|
/******/ return __webpack_exports__;
|
|
@@ -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
|
+
* @version 3.8.0-next.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -280,6 +280,7 @@ __webpack_require__(512);
|
|
|
280
280
|
__webpack_require__(517);
|
|
281
281
|
__webpack_require__(518);
|
|
282
282
|
__webpack_require__(519);
|
|
283
|
+
__webpack_require__(520);
|
|
283
284
|
|
|
284
285
|
/* unused reexport */ __webpack_require__(82);
|
|
285
286
|
|
|
@@ -1155,10 +1156,10 @@ var store = __webpack_require__(37);
|
|
|
1155
1156
|
(module.exports = function (key, value) {
|
|
1156
1157
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1157
1158
|
})('versions', []).push({
|
|
1158
|
-
version: '3.
|
|
1159
|
+
version: '3.30.0',
|
|
1159
1160
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1160
1161
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1161
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
1162
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE',
|
|
1162
1163
|
source: 'https://github.com/zloirock/core-js'
|
|
1163
1164
|
});
|
|
1164
1165
|
|
|
@@ -3923,6 +3924,7 @@ var FIND = 'find';
|
|
|
3923
3924
|
var SKIPS_HOLES = true;
|
|
3924
3925
|
|
|
3925
3926
|
// Shouldn't skip holes
|
|
3927
|
+
// eslint-disable-next-line es/no-array-prototype-find -- testing
|
|
3926
3928
|
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
3927
3929
|
|
|
3928
3930
|
// `Array.prototype.find` method
|
|
@@ -3951,6 +3953,7 @@ var FIND_INDEX = 'findIndex';
|
|
|
3951
3953
|
var SKIPS_HOLES = true;
|
|
3952
3954
|
|
|
3953
3955
|
// Shouldn't skip holes
|
|
3956
|
+
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
|
|
3954
3957
|
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
|
|
3955
3958
|
|
|
3956
3959
|
// `Array.prototype.findIndex` method
|
|
@@ -16065,9 +16068,7 @@ module.exports = {
|
|
|
16065
16068
|
add: uncurryThis(SetPrototype.add),
|
|
16066
16069
|
has: uncurryThis(SetPrototype.has),
|
|
16067
16070
|
remove: uncurryThis(SetPrototype['delete']),
|
|
16068
|
-
proto: SetPrototype
|
|
16069
|
-
$has: SetPrototype.has,
|
|
16070
|
-
$keys: SetPrototype.keys
|
|
16071
|
+
proto: SetPrototype
|
|
16071
16072
|
};
|
|
16072
16073
|
|
|
16073
16074
|
|
|
@@ -17842,6 +17843,33 @@ module.exports = {
|
|
|
17842
17843
|
/* 517 */
|
|
17843
17844
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17844
17845
|
|
|
17846
|
+
var $ = __webpack_require__(3);
|
|
17847
|
+
var getBuiltIn = __webpack_require__(24);
|
|
17848
|
+
var validateArgumentsLength = __webpack_require__(328);
|
|
17849
|
+
var toString = __webpack_require__(69);
|
|
17850
|
+
|
|
17851
|
+
var URL = getBuiltIn('URL');
|
|
17852
|
+
|
|
17853
|
+
// `URL.canParse` method
|
|
17854
|
+
// https://url.spec.whatwg.org/#dom-url-canparse
|
|
17855
|
+
$({ target: 'URL', stat: true }, {
|
|
17856
|
+
canParse: function canParse(url) {
|
|
17857
|
+
var length = validateArgumentsLength(arguments.length, 1);
|
|
17858
|
+
var urlString = toString(url);
|
|
17859
|
+
var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
|
|
17860
|
+
try {
|
|
17861
|
+
return !!new URL(urlString, base);
|
|
17862
|
+
} catch (error) {
|
|
17863
|
+
return false;
|
|
17864
|
+
}
|
|
17865
|
+
}
|
|
17866
|
+
});
|
|
17867
|
+
|
|
17868
|
+
|
|
17869
|
+
/***/ }),
|
|
17870
|
+
/* 518 */
|
|
17871
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17872
|
+
|
|
17845
17873
|
"use strict";
|
|
17846
17874
|
|
|
17847
17875
|
var $ = __webpack_require__(3);
|
|
@@ -17857,7 +17885,7 @@ $({ target: 'URL', proto: true, enumerable: true }, {
|
|
|
17857
17885
|
|
|
17858
17886
|
|
|
17859
17887
|
/***/ }),
|
|
17860
|
-
/*
|
|
17888
|
+
/* 519 */
|
|
17861
17889
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17862
17890
|
|
|
17863
17891
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
@@ -17865,7 +17893,7 @@ __webpack_require__(516);
|
|
|
17865
17893
|
|
|
17866
17894
|
|
|
17867
17895
|
/***/ }),
|
|
17868
|
-
/*
|
|
17896
|
+
/* 520 */
|
|
17869
17897
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
17870
17898
|
|
|
17871
17899
|
"use strict";
|
|
@@ -17893,13 +17921,13 @@ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
|
|
|
17893
17921
|
|
|
17894
17922
|
|
|
17895
17923
|
/***/ }),
|
|
17896
|
-
/*
|
|
17897
|
-
/*
|
|
17924
|
+
/* 521 */,
|
|
17925
|
+
/* 522 */
|
|
17898
17926
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17899
17927
|
|
|
17900
17928
|
// TODO(Babel 8): Remove this file.
|
|
17901
17929
|
|
|
17902
|
-
var runtime = __webpack_require__(
|
|
17930
|
+
var runtime = __webpack_require__(523)();
|
|
17903
17931
|
module.exports = runtime;
|
|
17904
17932
|
|
|
17905
17933
|
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
@@ -17915,10 +17943,10 @@ try {
|
|
|
17915
17943
|
|
|
17916
17944
|
|
|
17917
17945
|
/***/ }),
|
|
17918
|
-
/*
|
|
17946
|
+
/* 523 */
|
|
17919
17947
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17920
17948
|
|
|
17921
|
-
var _typeof = (__webpack_require__(
|
|
17949
|
+
var _typeof = (__webpack_require__(524)["default"]);
|
|
17922
17950
|
function _regeneratorRuntime() {
|
|
17923
17951
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
17924
17952
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
@@ -18224,7 +18252,7 @@ function _regeneratorRuntime() {
|
|
|
18224
18252
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
18225
18253
|
|
|
18226
18254
|
/***/ }),
|
|
18227
|
-
/*
|
|
18255
|
+
/* 524 */
|
|
18228
18256
|
/***/ (function(module) {
|
|
18229
18257
|
|
|
18230
18258
|
function _typeof(obj) {
|
|
@@ -18239,7 +18267,7 @@ function _typeof(obj) {
|
|
|
18239
18267
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
18240
18268
|
|
|
18241
18269
|
/***/ }),
|
|
18242
|
-
/*
|
|
18270
|
+
/* 525 */
|
|
18243
18271
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18244
18272
|
|
|
18245
18273
|
"use strict";
|
|
@@ -18559,7 +18587,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
18559
18587
|
};
|
|
18560
18588
|
return Plugin;
|
|
18561
18589
|
}();
|
|
18562
|
-
Plugin.version = "3.
|
|
18590
|
+
Plugin.version = "3.8.0-next.2";
|
|
18563
18591
|
|
|
18564
18592
|
;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts
|
|
18565
18593
|
/**
|
|
@@ -19493,7 +19521,7 @@ function dispatchFunction(type, params) {
|
|
|
19493
19521
|
return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
|
|
19494
19522
|
}
|
|
19495
19523
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
19496
|
-
var regenerator = __webpack_require__(
|
|
19524
|
+
var regenerator = __webpack_require__(522);
|
|
19497
19525
|
;// CONCATENATED MODULE: ./node_modules/d3-selection/src/selection/iterator.js
|
|
19498
19526
|
|
|
19499
19527
|
var _marked = /*#__PURE__*/regenerator.mark(_callee);
|
|
@@ -21995,23 +22023,25 @@ var browser_this = undefined;
|
|
|
21995
22023
|
/* eslint-disable no-new-func, no-undef */
|
|
21996
22024
|
|
|
21997
22025
|
var win = function () {
|
|
21998
|
-
|
|
21999
|
-
|
|
22000
|
-
|
|
22001
|
-
}.bind(undefined)()
|
|
22026
|
+
_newArrowCheck(this, browser_this);
|
|
22027
|
+
var root = typeof globalThis === "object" && globalThis !== null && globalThis.Object === Object && globalThis || typeof global === "object" && global !== null && global.Object === Object && global || typeof self === "object" && self !== null && self.Object === Object && self;
|
|
22028
|
+
return root || Function("return this")();
|
|
22029
|
+
}.bind(undefined)(),
|
|
22030
|
+
hasRAF = typeof win.requestAnimationFrame === "function",
|
|
22031
|
+
hasRIC = typeof win.requestIdleCallback === "function",
|
|
22032
|
+
requestAnimationFrame = hasRAF ? win.requestAnimationFrame : function (cb) {
|
|
22033
|
+
_newArrowCheck(this, browser_this);
|
|
22034
|
+
return setTimeout(cb, 1);
|
|
22035
|
+
}.bind(undefined),
|
|
22036
|
+
cancelAnimationFrame = hasRAF ? win.cancelAnimationFrame : function (id) {
|
|
22037
|
+
_newArrowCheck(this, browser_this);
|
|
22038
|
+
return clearTimeout(id);
|
|
22039
|
+
}.bind(undefined),
|
|
22040
|
+
requestIdleCallback = hasRIC ? win.requestIdleCallback : requestAnimationFrame,
|
|
22041
|
+
cancelIdleCallback = hasRIC ? win.cancelIdleCallback : cancelAnimationFrame,
|
|
22042
|
+
doc = win == null ? void 0 : win.document;
|
|
22002
22043
|
/* eslint-enable no-new-func, no-undef */
|
|
22003
|
-
|
|
22004
22044
|
// fallback for non-supported environments
|
|
22005
|
-
win.requestIdleCallback = win.requestIdleCallback || function (cb) {
|
|
22006
|
-
_newArrowCheck(this, browser_this);
|
|
22007
|
-
return setTimeout(cb, 1);
|
|
22008
|
-
}.bind(undefined);
|
|
22009
|
-
// win.cancelIdleCallback = win.cancelIdleCallback || (id => clearTimeout(id));
|
|
22010
|
-
win.requestAnimationFrame = win.requestAnimationFrame || function (cb) {
|
|
22011
|
-
_newArrowCheck(this, browser_this);
|
|
22012
|
-
return setTimeout(cb, 1);
|
|
22013
|
-
}.bind(undefined);
|
|
22014
|
-
var doc = win == null ? void 0 : win.document;
|
|
22015
22045
|
;// CONCATENATED MODULE: ./src/module/util.ts
|
|
22016
22046
|
|
|
22017
22047
|
|
|
@@ -22087,6 +22117,18 @@ var isValue = function (v) {
|
|
|
22087
22117
|
_newArrowCheck(this, util_this);
|
|
22088
22118
|
return obj && !(obj != null && obj.nodeType) && isObjectType(obj) && !isArray(obj);
|
|
22089
22119
|
}.bind(undefined);
|
|
22120
|
+
/**
|
|
22121
|
+
* Check if is array
|
|
22122
|
+
* @param {Array} arr Data to be checked
|
|
22123
|
+
* @returns {boolean}
|
|
22124
|
+
* @private
|
|
22125
|
+
*/
|
|
22126
|
+
/**
|
|
22127
|
+
* Check if is object
|
|
22128
|
+
* @param {object} obj Data to be checked
|
|
22129
|
+
* @returns {boolean}
|
|
22130
|
+
* @private
|
|
22131
|
+
*/
|
|
22090
22132
|
/**
|
|
22091
22133
|
* Get specified key value from object
|
|
22092
22134
|
* If default value is given, will return if given key value not found
|
|
@@ -22866,7 +22908,7 @@ function convertInputType(mouse, touch) {
|
|
|
22866
22908
|
function runUntil(fn, conditionFn) {
|
|
22867
22909
|
var _this18 = this;
|
|
22868
22910
|
if (conditionFn() === !1) {
|
|
22869
|
-
|
|
22911
|
+
requestAnimationFrame(function () {
|
|
22870
22912
|
_newArrowCheck(this, _this18);
|
|
22871
22913
|
return runUntil(fn, conditionFn);
|
|
22872
22914
|
}.bind(this));
|
|
@@ -23122,13 +23164,16 @@ var Sparkline = /*#__PURE__*/function (_Plugin) {
|
|
|
23122
23164
|
d.name = d.id;
|
|
23123
23165
|
}
|
|
23124
23166
|
$$.state.event = e;
|
|
23167
|
+
if ($$.config.point_focus_only && d) {
|
|
23168
|
+
$$.showCircleFocus == null ? void 0 : $$.showCircleFocus([d]);
|
|
23169
|
+
}
|
|
23125
23170
|
$$.setExpand(index, data.id, !0);
|
|
23126
23171
|
$$.showTooltip([d], e.target);
|
|
23127
23172
|
};
|
|
23128
23173
|
_proto.outHandler = function outHandler(e) {
|
|
23129
23174
|
var $$ = this.$$;
|
|
23130
23175
|
$$.state.event = e;
|
|
23131
|
-
$$.unexpandCircles();
|
|
23176
|
+
$$.config.point_focus_only ? $$.hideCircleFocus() : $$.unexpandCircles();
|
|
23132
23177
|
$$.hideTooltip();
|
|
23133
23178
|
};
|
|
23134
23179
|
_proto.$redraw = function $redraw() {
|
|
@@ -23233,7 +23278,7 @@ Sparkline.version = "0.0.1";
|
|
|
23233
23278
|
/******/ // Load entry module and return exports
|
|
23234
23279
|
/******/ // This entry module used 'module' so it can't be inlined
|
|
23235
23280
|
/******/ __webpack_require__(0);
|
|
23236
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
23281
|
+
/******/ var __webpack_exports__ = __webpack_require__(525);
|
|
23237
23282
|
/******/ __webpack_exports__ = __webpack_exports__["default"];
|
|
23238
23283
|
/******/
|
|
23239
23284
|
/******/ return __webpack_exports__;
|