billboard.js 2.2.6 → 2.2.8-a
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/CHANGELOG.md +7 -0
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +3001 -3650
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/{billboard.esm.js → billboard.mjs} +379 -378
- package/dist/billboard.pkgd.js +18206 -14604
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +30 -45
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/{billboardjs-plugin-bubblecompare.esm.js → billboardjs-plugin-bubblecompare.mjs} +14 -21
- package/dist/plugin/billboardjs-plugin-stanford.js +281 -345
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/{billboardjs-plugin-stanford.esm.js → billboardjs-plugin-stanford.mjs} +31 -39
- package/dist/plugin/billboardjs-plugin-textoverlap.js +243 -291
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/{billboardjs-plugin-textoverlap.esm.js → billboardjs-plugin-textoverlap.mjs} +20 -28
- 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/package.json +2 -2
- package/src/.DS_Store +0 -0
- package/src/ChartInternal/.DS_Store +0 -0
- package/src/ChartInternal/data/data.ts +3 -2
- package/src/ChartInternal/internals/redraw.ts +7 -6
- package/src/ChartInternal/shape/.DS_Store +0 -0
- package/src/ChartInternal/shape/arc.ts +4 -2
- package/src/Plugin/.DS_Store +0 -0
- package/src/config/.DS_Store +0 -0
- package/src/config/Options/.DS_Store +0 -0
- package/src/config/Store/.DS_Store +0 -0
- package/types/.DS_Store +0 -0
- package/types/plugin/.DS_Store +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 2.2.
|
|
8
|
+
* @version 2.2.8a
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
12
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("d3-interpolate"),require("d3-color"),require("d3-scale"),require("d3-selection"),require("d3-brush"),require("d3-axis"),require("d3-format")):"function"==typeof define&&define.amd?define("bb",["d3-interpolate","d3-color","d3-scale","d3-selection","d3-brush","d3-axis","d3-format"],e):"object"==typeof exports?exports.bb=e(require("d3-interpolate"),require("d3-color"),require("d3-scale"),require("d3-selection"),require("d3-brush"),require("d3-axis"),require("d3-format")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.stanford=e(t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3))}(this,(function(t,e,n,o,r,i,a){return function(){"use strict";var s=[,function(t){t.exports=o},,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=n},function(t){t.exports=r},function(t){t.exports=i},function(t){t.exports=a}],c={};function l(t){if(c[t])return c[t].exports;var e=c[t]={exports:{}};return s[t](e,e.exports,l),e.exports}l.d=function(t,e){for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var u={};return function(){function t(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||function(t,e){return t.__proto__=e,t})(t,n)}l.d(u,{default:function(){return D}});var n=l(3),o=l(4),r=l(5),i="bb-tooltip",a="bb-tooltip-name";l(1),l(6);var s="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")(),c=s&&s.document;var d=function(t){return"function"==typeof t},f=function(t){return"string"==typeof t},p=function(t){return"number"==typeof t},h=function(t){return void 0!==t},g=function(t){return"object"==typeof t},v=function(t){return void 0===t||null===t||f(t)&&0===t.length||g(t)&&!(t instanceof Date)&&0===Object.keys(t).length||p(t)&&isNaN(t)};!function(){try{new MouseEvent("t")}catch(t){return function(t,e,n){void 0===n&&(n={bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});var o=c.createEvent("MouseEvent");o.initMouseEvent(e,n.bubbles,n.cancelable,s,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(o)}}}();function b(t){var e;if(t instanceof Date)e=t;else if(f(t)){var n=this.config;e=this.format.dataTime(n.data_xFormat)(t)}else p(t)&&!isNaN(t)&&(e=new Date(+t));return(!e||isNaN(+e))&&console&&console.error&&console.error("Failed to parse x '"+t+"' to Date object"),e}function x(t){var e,n,o,r=this.config,i=function(){var t=n.shift();return t&&e&&g(e)&&t in e?(e=e[t],i()):t?void 0:e};Object.keys(r).forEach((function(a){e=t,n=a.split("_"),o=i(),h(o)&&(r[a]=o)}))}var y=function(){function t(t){void 0===t&&(t={}),this.$$=void 0,this.options=void 0,this.options=t}var e=t.prototype;return e.$beforeInit=function(){},e.$init=function(){},e.$afterInit=function(){},e.$redraw=function(){},e.$willDestroy=function(){var t=this;Object.keys(this).forEach((function(e){t[e]=null,delete t[e]}))},t}();y.version="2.2.5";var m=function(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}},S="bb-colorscale",w="bb-stanford-elements",_="bb-stanford-line",$="bb-stanford-lines",E="bb-stanford-region",j="bb-stanford-regions";function C(t,e){return t.epochs<e.epochs?-1:t.epochs>e.epochs?1:0}function M(t){for(var e,n=function(t){for(var e,n,o=0,r=0,i=t.length,a=i-1;r<i;a=r,r++)e=t[r],n=t[a],o+=e.x*n.y,o-=e.y*n.x;return o/2}(t),o=0,r=0,i=0,a=t.length,s=a-1;i<a;s=i,i++){var c=t[i],l=t[s];e=c.x*l.y-l.x*c.y,o+=(c.x+l.x)*e,r+=(c.y+l.y)*e}return{x:o/(e=6*n),y:r/e}}var O=function(){function t(t){this.owner=void 0,this.owner=t;var e=t.$$.$el.main.select(".bb-chart").append("g").attr("class",w);e.append("g").attr("class",$),e.append("g").attr("class",j)}var e=t.prototype;return e.updateStanfordLines=function(t){var e=this.owner.$$,n=e.config,o=e.$el.main,r=n.axis_rotated,i=this.xvCustom.bind(e),a=this.yvCustom.bind(e),s=o.select("."+$).style("shape-rendering","geometricprecision").selectAll("."+_).data(this.owner.config.lines);s.exit().transition().duration(t).style("opacity","0").remove();var c=s.enter().append("g");c.append("line").style("opacity","0"),c.merge(s).attr("class",(function(t){return _+(t.class?" "+t.class:"")})).select("line").transition().duration(t).attr("x1",(function(t){return r?a(t,"y1"):i(t,"x1")})).attr("x2",(function(t){return r?a(t,"y2"):i(t,"x2")})).attr("y1",(function(t){return r?i(t,"x1"):a(t,"y1")})).attr("y2",(function(t){return r?i(t,"x2"):a(t,"y2")})).transition().style("opacity","1")},e.updateStanfordRegions=function(t){var e=this.owner.$$,n=e.config,o=e.$el.main,r=n.axis_rotated,i=this.xvCustom.bind(e),a=this.yvCustom.bind(e),s=this.owner.countEpochsInRegion.bind(e),c=o.select("."+j).selectAll("."+E).data(this.owner.config.regions);c.exit().transition().duration(t).style("opacity","0").remove();var l=c.enter().append("g");l.append("polygon").style("opacity","0"),l.append("text").attr("transform",r?"rotate(-90)":"").style("opacity","0"),(c=l.merge(c)).attr("class",(function(t){return E+(t.class?" "+t.class:"")})).select("polygon").transition().duration(t).attr("points",(function(t){return t.points.map((function(t){return[r?a(t,"y"):i(t,"x"),r?i(t,"x"):a(t,"y")].join(",")})).join(" ")})).transition().style("opacity",(function(t){return(t.opacity?t.opacity:.2)+""})),c.select("text").transition().duration(t).attr("x",(function(t){return r?a(M(t.points),"y"):i(M(t.points),"x")})).attr("y",(function(t){return r?i(M(t.points),"x"):a(M(t.points),"y")})).text((function(t){if(t.text){var e=s(t.points),n=e.value,o=e.percentage;return t.text(n,o)}return""})).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity","1")},e.updateStanfordElements=function(t){void 0===t&&(t=0),this.updateStanfordLines(t),this.updateStanfordRegions(t)},e.xvCustom=function(t,e){var n=this,o=n.axis,r=n.config,i=e?t[e]:n.getBaseValue(t);return o.isTimeSeries()?i=b.call(n,i):o.isCategorized()&&f(i)&&(i=r.axis_x_categories.indexOf(t.value)),Math.ceil(n.scale.x(i))},e.yvCustom=function(t,e){var n=this,o=t.axis&&"y2"===t.axis?n.scale.y2:n.scale.y,r=e?t[e]:n.getBaseValue(t);return Math.ceil(o(r))},t}(),q=l(7),N=l(8),F=function(){function t(t){this.owner=void 0,this.colorScale=void 0,this.owner=t}var e=t.prototype;return e.drawColorScale=function(){var t=this.owner,e=t.$$,n=t.config,o=e.data.targets[0],i=e.state.height-n.padding_bottom-n.padding_top,a=n.scale_width,s=function(t,e,n){void 0===n&&(n=1);for(var o=[],r=0|Math.max(0,Math.ceil((e-t)/n)),i=t;i<r;i++)o.push(t+i*n);return o}(n.padding_bottom,i,5),c=(0,r.scaleSequential)(o.colors).domain([s[s.length-1],s[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=e.$el.svg.append("g").attr("width",50).attr("height",i).attr("class",S),this.colorScale.append("g").attr("transform","translate(0, "+n.padding_top+")").selectAll("bars").data(s).enter().append("rect").attr("y",(function(t,e){return 5*e})).attr("x",0).attr("width",a).attr("height",5).attr("fill",(function(t){return c(t)}));var l=(0,r.scaleLog)().domain([o.minEpochs,o.maxEpochs]).range([s[0]+n.padding_top+s[s.length-1]+5-1,s[0]+n.padding_top]),u=(0,q.axisRight)(l),f=n.scale_format;"pow10"===f?u.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):d(f)?u.tickFormat(f):u.tickFormat((0,N.format)("d"));var p=this.colorScale.append("g").attr("class","legend axis").attr("transform","translate("+a+",0)").call(u);"pow10"===f&&p.selectAll(".tick text").text(null).filter((function(t){return t/Math.pow(10,Math.ceil(Math.log(t)/Math.LN10-1e-12))==1})).text(10).append("tspan").attr("dy","-.7em").text((function(t){return Math.round(Math.log(t)/Math.LN10)})),this.colorScale.attr("transform","translate("+(e.state.current.width-this.xForColorScale())+", 0)")},e.xForColorScale=function(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width},e.getColorScalePadding=function(){return this.xForColorScale()+this.owner.config.padding_left+20},t}(),D=function(s){function c(e){var n;return(n=s.call(this,e)||this).config=void 0,n.colorScale=void 0,n.elements=void 0,n.config=new m,t(n)||t(n)}var l,u;u=s,(l=c).prototype=Object.create(u.prototype),l.prototype.constructor=l,e(l,u);var p=c.prototype;return p.$beforeInit=function(){var t=this,e=this.$$;e.config.data_xSort=!1,e.isMultipleX=function(){return!0},e.showGridFocus=function(){},e.labelishData=function(t){return t.values},e.opacityForCircle=function(){return 1};var n=e.getCurrentPaddingRight.bind(e);e.getCurrentPaddingRight=function(){return n()+(t.colorScale?t.colorScale.getColorScalePadding():0)}},p.$init=function(){var t=this.$$;x.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new F(this),this.elements=new O(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),this.$redraw()},p.$redraw=function(t){this.colorScale&&this.colorScale.drawColorScale(),this.elements&&this.elements.updateStanfordElements(t)},p.getOptions=function(){return new m},p.convertData=function(){var t=this.$$.data.targets,e=this.options.epochs;t.forEach((function(t){t.values.forEach((function(t,n){t.epochs=e[n]})),t.minEpochs=void 0,t.maxEpochs=void 0,t.colors=void 0,t.colorscale=void 0}))},p.xvCustom=function(t,e){var n=this,o=n.axis,r=n.config,i=e?t[e]:n.getBaseValue(t);return o.isTimeSeries()?i=b.call(n,i):o.isCategorized()&&f(i)&&(i=r.axis_x_categories.indexOf(t.value)),Math.ceil(n.scale.x(i))},p.yvCustom=function(t,e){var n=this.scale,o=t.axis&&"y2"===t.axis?n.y2:n.y,r=e?t[e]:this.getBaseValue(t);return Math.ceil(o(r))},p.initStanfordData=function(){var t=this.config,e=this.$$.data.targets[0];e.values.sort(C);var i=e.values.map((function(t){return t.epochs}));e.minEpochs=isNaN(t.scale_min)?Math.min.apply(Math,i):t.scale_min,e.maxEpochs=isNaN(t.scale_max)?Math.max.apply(Math,i):t.scale_max,e.colors=d(t.colors)?t.colors:(0,n.interpolateHslLong)((0,o.hsl)(250,1,.5),(0,o.hsl)(0,1,.5)),e.colorscale=(0,r.scaleSequentialLog)(e.colors).domain([e.minEpochs,e.maxEpochs])},p.getStanfordPointColor=function(t){return this.data.targets[0].colorscale(t.epochs)},p.setStanfordTooltip=function(){var t=this.$$.config;v(t.tooltip_contents)&&(t.tooltip_contents=function(e,n,o,r){var s='<table class="'+i+'"><tbody>';return e.forEach((function(e){s+="<tr>\n\t\t\t\t\t\t\t<th>"+n(t.data_x)+'</th>\n\t\t\t\t\t\t\t<th class="value">'+o(e.x)+"</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>"+n(e.id)+'</th>\n\t\t\t\t\t\t\t<th class="value">'+o(e.value)+'</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr class="'+a+"-"+e.id+'">\n\t\t\t\t\t\t\t<td class="name"><span style="background-color:'+r(e)+'"></span>'+n("Epochs")+'</td>\n\t\t\t\t\t\t\t<td class="value">'+o(e.epochs)+"</td>\n\t\t\t\t\t\t</tr>"})),s+"</tbody></table>"})},p.countEpochsInRegion=function(t){var e=this.data.targets[0],n=e.values.reduce((function(t,e){return t+ +e.epochs}),0),o=e.values.reduce((function(e,n){return function(t,e){for(var n=t.x,o=t.value,r=!1,i=0,a=e.length-1;i<e.length;a=i++){var s=e[i].x,c=e[i].y,l=e[a].x,u=e[a].y;c>o!=u>o&&n<(l-s)*(o-c)/(u-c)+s&&(r=!r)}return r}(n,t)?e+ +n.epochs:e}),0);return{value:o,percentage:0===o?0:+(o/n*100).toFixed(1)}},c}(y)}(),u=u.default}()}));
|
|
12
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("d3-interpolate"),require("d3-color"),require("d3-scale"),require("d3-selection"),require("d3-brush"),require("d3-axis"),require("d3-format")):"function"==typeof define&&define.amd?define("bb",["d3-interpolate","d3-color","d3-scale","d3-selection","d3-brush","d3-axis","d3-format"],e):"object"==typeof exports?exports.bb=e(require("d3-interpolate"),require("d3-color"),require("d3-scale"),require("d3-selection"),require("d3-brush"),require("d3-axis"),require("d3-format")):(t.bb=t.bb||{},t.bb.plugin=t.bb.plugin||{},t.bb.plugin.stanford=e(t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3))}(this,(function(t,e,n,r,o,a,i){return function(){"use strict";var s=[,function(t){t.exports=r},,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=n},function(t){t.exports=o},function(t){t.exports=a},function(t){t.exports=i}],c={};function l(t){var e=c[t];if(void 0!==e)return e.exports;var n=c[t]={exports:{}};return s[t](n,n.exports,l),n.exports}l.d=function(t,e){for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var b={};return function(){function t(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,e){return t.__proto__=e,t},e(t,n)}l.d(b,{default:function(){return q}});var n=l(3),r=l(4),o=l(5),a={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcs:"bb-arcs",area:"bb-area",areas:"bb-areas",axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",bar:"bb-bar",bars:"bb-bars",brush:"bb-brush",button:"bb-button",buttonZoomReset:"bb-zoom-reset",chart:"bb-chart",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsTitle:"bb-chart-arcs-title",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars",chartCircles:"bb-chart-circles",chartLine:"bb-chart-line",chartLines:"bb-chart-lines",chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars",chartText:"bb-chart-text",chartTexts:"bb-chart-texts",circle:"bb-circle",circles:"bb-circles",colorPattern:"bb-color-pattern",colorScale:"bb-colorscale",defocused:"bb-defocused",dragarea:"bb-dragarea",empty:"bb-empty",eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single",focused:"bb-focused",gaugeValue:"bb-gauge-value",grid:"bb-grid",gridLines:"bb-grid-lines",legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemFocused:"bb-legend-item-focused",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile",level:"bb-level",levels:"bb-levels",line:"bb-line",lines:"bb-lines",main:"bb-main",region:"bb-region",regions:"bb-regions",selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",shape:"bb-shape",shapes:"bb-shapes",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions",subchart:"bb-subchart",target:"bb-target",text:"bb-text",texts:"bb-texts",title:"bb-title",tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name",xgrid:"bb-xgrid",xgridFocus:"bb-xgrid-focus",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridFocus:"bb-ygrid-focus",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids",zoomBrush:"bb-zoom-brush",EXPANDED:"_expanded_",SELECTED:"_selected_",INCLUDED:"_included_",TextOverlapping:"text-overlapping"};l(1),l(6);var i="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")(),s=i&&i.document;var c=function(t){return"function"==typeof t},u=function(t){return"string"==typeof t},d=function(t){return"number"==typeof t},h=function(t){return void 0!==t},f=function(t){return"object"==typeof t},p=function(t){return void 0===t||null===t||u(t)&&0===t.length||f(t)&&!(t instanceof Date)&&0===Object.keys(t).length||d(t)&&isNaN(t)};!function(){try{return new MouseEvent("t"),function(t,e,n){void 0===n&&(n={bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0}),t.dispatchEvent(new MouseEvent(e,n))}}catch(t){return function(t,e,n){void 0===n&&(n={bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});var r=s.createEvent("MouseEvent");r.initMouseEvent(e,n.bubbles,n.cancelable,i,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(r)}}}();function g(t){var e;if(t instanceof Date)e=t;else if(u(t)){var n=this.config;e=this.format.dataTime(n.data_xFormat)(t)}else d(t)&&!isNaN(t)&&(e=new Date(+t));return(!e||isNaN(+e))&&console&&console.error&&console.error("Failed to parse x '"+t+"' to Date object"),e}function x(t){var e,n,r,o=this.config,a=function(){var t=n.shift();return t&&e&&f(e)&&t in e?(e=e[t],a()):t?void 0:e};Object.keys(o).forEach((function(i){e=t,n=i.split("_"),r=a(),h(r)&&(o[i]=r)}))}var v=function(){function t(t){void 0===t&&(t={}),this.$$=void 0,this.options=void 0,this.options=t}var e=t.prototype;return e.$beforeInit=function(){},e.$init=function(){},e.$afterInit=function(){},e.$redraw=function(){},e.$willDestroy=function(){var t=this;Object.keys(this).forEach((function(e){t[e]=null,delete t[e]}))},t}();v.version="2.2.8a";var m=function(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}},y="bb-colorscale",_="bb-stanford-elements",S="bb-stanford-line",w="bb-stanford-lines",E="bb-stanford-region",$="bb-stanford-regions";function C(t,e){return t.epochs<e.epochs?-1:t.epochs>e.epochs?1:0}function M(t){for(var e,n=function(t){for(var e,n,r=0,o=0,a=t.length,i=a-1;o<a;i=o,o++)e=t[o],n=t[i],r+=e.x*n.y,r-=e.y*n.x;return r/2}(t),r=0,o=0,a=0,i=t.length,s=i-1;a<i;s=a,a++){var c=t[a],l=t[s];e=c.x*l.y-l.x*c.y,r+=(c.x+l.x)*e,o+=(c.y+l.y)*e}return{x:r/(e=6*n),y:o/e}}var j=function(){function t(t){this.owner=void 0,this.owner=t;var e=t.$$.$el.main.select(".bb-chart").append("g").attr("class",_);e.append("g").attr("class",w),e.append("g").attr("class",$)}var e=t.prototype;return e.updateStanfordLines=function(t){var e=this.owner.$$,n=e.config,r=e.$el.main,o=n.axis_rotated,a=this.xvCustom.bind(e),i=this.yvCustom.bind(e),s=r.select("."+w).style("shape-rendering","geometricprecision").selectAll("."+S).data(this.owner.config.lines);s.exit().transition().duration(t).style("opacity","0").remove();var c=s.enter().append("g");c.append("line").style("opacity","0"),c.merge(s).attr("class",(function(t){return S+(t.class?" "+t.class:"")})).select("line").transition().duration(t).attr("x1",(function(t){return o?i(t,"y1"):a(t,"x1")})).attr("x2",(function(t){return o?i(t,"y2"):a(t,"x2")})).attr("y1",(function(t){return o?a(t,"x1"):i(t,"y1")})).attr("y2",(function(t){return o?a(t,"x2"):i(t,"y2")})).transition().style("opacity","1")},e.updateStanfordRegions=function(t){var e=this.owner.$$,n=e.config,r=e.$el.main,o=n.axis_rotated,a=this.xvCustom.bind(e),i=this.yvCustom.bind(e),s=this.owner.countEpochsInRegion.bind(e),c=r.select("."+$).selectAll("."+E).data(this.owner.config.regions);c.exit().transition().duration(t).style("opacity","0").remove();var l=c.enter().append("g");l.append("polygon").style("opacity","0"),l.append("text").attr("transform",o?"rotate(-90)":"").style("opacity","0"),(c=l.merge(c)).attr("class",(function(t){return E+(t.class?" "+t.class:"")})).select("polygon").transition().duration(t).attr("points",(function(t){return t.points.map((function(t){return[o?i(t,"y"):a(t,"x"),o?a(t,"x"):i(t,"y")].join(",")})).join(" ")})).transition().style("opacity",(function(t){return(t.opacity?t.opacity:.2)+""})),c.select("text").transition().duration(t).attr("x",(function(t){return o?i(M(t.points),"y"):a(M(t.points),"x")})).attr("y",(function(t){return o?a(M(t.points),"x"):i(M(t.points),"y")})).text((function(t){if(t.text){var e=s(t.points),n=e.value,r=e.percentage;return t.text(n,r)}return""})).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity","1")},e.updateStanfordElements=function(t){void 0===t&&(t=0),this.updateStanfordLines(t),this.updateStanfordRegions(t)},e.xvCustom=function(t,e){var n=this,r=n.axis,o=n.config,a=e?t[e]:n.getBaseValue(t);return r.isTimeSeries()?a=g.call(n,a):r.isCategorized()&&u(a)&&(a=o.axis_x_categories.indexOf(t.value)),Math.ceil(n.scale.x(a))},e.yvCustom=function(t,e){var n=this,r=t.axis&&"y2"===t.axis?n.scale.y2:n.scale.y,o=e?t[e]:n.getBaseValue(t);return Math.ceil(r(o))},t}(),L=l(7),O=l(8),R=function(){function t(t){this.owner=void 0,this.colorScale=void 0,this.owner=t}var e=t.prototype;return e.drawColorScale=function(){var t=this.owner,e=t.$$,n=t.config,r=e.data.targets[0],a=e.state.height-n.padding_bottom-n.padding_top,i=n.scale_width,s=function(t,e,n){void 0===n&&(n=1);for(var r=[],o=0|Math.max(0,Math.ceil((e-t)/n)),a=t;a<o;a++)r.push(t+a*n);return r}(n.padding_bottom,a,5),l=(0,o.scaleSequential)(r.colors).domain([s[s.length-1],s[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=e.$el.svg.append("g").attr("width",50).attr("height",a).attr("class",y),this.colorScale.append("g").attr("transform","translate(0, "+n.padding_top+")").selectAll("bars").data(s).enter().append("rect").attr("y",(function(t,e){return 5*e})).attr("x",0).attr("width",i).attr("height",5).attr("fill",(function(t){return l(t)}));var b=(0,o.scaleLog)().domain([r.minEpochs,r.maxEpochs]).range([s[0]+n.padding_top+s[s.length-1]+5-1,s[0]+n.padding_top]),u=(0,L.axisRight)(b),d=n.scale_format;"pow10"===d?u.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):c(d)?u.tickFormat(d):u.tickFormat((0,O.format)("d"));var h=this.colorScale.append("g").attr("class","legend axis").attr("transform","translate("+i+",0)").call(u);"pow10"===d&&h.selectAll(".tick text").text(null).filter((function(t){return t/Math.pow(10,Math.ceil(Math.log(t)/Math.LN10-1e-12))==1})).text(10).append("tspan").attr("dy","-.7em").text((function(t){return Math.round(Math.log(t)/Math.LN10)})),this.colorScale.attr("transform","translate("+(e.state.current.width-this.xForColorScale())+", 0)")},e.xForColorScale=function(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width},e.getColorScalePadding=function(){return this.xForColorScale()+this.owner.config.padding_left+20},t}(),q=function(i){function s(e){var n;return(n=i.call(this,e)||this).config=void 0,n.colorScale=void 0,n.elements=void 0,n.config=new m,t(n)||t(n)}var l,b;b=i,(l=s).prototype=Object.create(b.prototype),l.prototype.constructor=l,e(l,b);var d=s.prototype;return d.$beforeInit=function(){var t=this,e=this.$$;e.config.data_xSort=!1,e.isMultipleX=function(){return!0},e.showGridFocus=function(){},e.labelishData=function(t){return t.values},e.opacityForCircle=function(){return 1};var n=e.getCurrentPaddingRight.bind(e);e.getCurrentPaddingRight=function(){return n()+(t.colorScale?t.colorScale.getColorScalePadding():0)}},d.$init=function(){var t=this.$$;x.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new R(this),this.elements=new j(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),this.$redraw()},d.$redraw=function(t){this.colorScale&&this.colorScale.drawColorScale(),this.elements&&this.elements.updateStanfordElements(t)},d.getOptions=function(){return new m},d.convertData=function(){var t=this.$$.data.targets,e=this.options.epochs;t.forEach((function(t){t.values.forEach((function(t,n){t.epochs=e[n]})),t.minEpochs=void 0,t.maxEpochs=void 0,t.colors=void 0,t.colorscale=void 0}))},d.xvCustom=function(t,e){var n=this,r=n.axis,o=n.config,a=e?t[e]:n.getBaseValue(t);return r.isTimeSeries()?a=g.call(n,a):r.isCategorized()&&u(a)&&(a=o.axis_x_categories.indexOf(t.value)),Math.ceil(n.scale.x(a))},d.yvCustom=function(t,e){var n=this.scale,r=t.axis&&"y2"===t.axis?n.y2:n.y,o=e?t[e]:this.getBaseValue(t);return Math.ceil(r(o))},d.initStanfordData=function(){var t=this.config,e=this.$$.data.targets[0];e.values.sort(C);var a=e.values.map((function(t){return t.epochs}));e.minEpochs=isNaN(t.scale_min)?Math.min.apply(Math,a):t.scale_min,e.maxEpochs=isNaN(t.scale_max)?Math.max.apply(Math,a):t.scale_max,e.colors=c(t.colors)?t.colors:(0,n.interpolateHslLong)((0,r.hsl)(250,1,.5),(0,r.hsl)(0,1,.5)),e.colorscale=(0,o.scaleSequentialLog)(e.colors).domain([e.minEpochs,e.maxEpochs])},d.getStanfordPointColor=function(t){return this.data.targets[0].colorscale(t.epochs)},d.setStanfordTooltip=function(){var t=this.$$.config;p(t.tooltip_contents)&&(t.tooltip_contents=function(e,n,r,o){var i='<table class="'+a.tooltip+'"><tbody>';return e.forEach((function(e){i+="<tr>\n\t\t\t\t\t\t\t<th>"+n(t.data_x)+'</th>\n\t\t\t\t\t\t\t<th class="value">'+r(e.x)+"</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>"+n(e.id)+'</th>\n\t\t\t\t\t\t\t<th class="value">'+r(e.value)+'</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr class="'+a.tooltipName+"-"+e.id+'">\n\t\t\t\t\t\t\t<td class="name"><span style="background-color:'+o(e)+'"></span>'+n("Epochs")+'</td>\n\t\t\t\t\t\t\t<td class="value">'+r(e.epochs)+"</td>\n\t\t\t\t\t\t</tr>"})),i+"</tbody></table>"})},d.countEpochsInRegion=function(t){var e=this.data.targets[0],n=e.values.reduce((function(t,e){return t+ +e.epochs}),0),r=e.values.reduce((function(e,n){return function(t,e){for(var n=t.x,r=t.value,o=!1,a=0,i=e.length-1;a<e.length;i=a++){var s=e[a].x,c=e[a].y,l=e[i].x,b=e[i].y;c>r!=b>r&&n<(l-s)*(r-c)/(b-c)+s&&(o=!o)}return o}(n,t)?e+ +n.epochs:e}),0);return{value:r,percentage:0===r?0:+(r/n*100).toFixed(1)}},s}(v)}(),b=b.default}()}));
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 2.2.
|
|
8
|
+
* @version 2.2.8a
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -17,7 +17,7 @@ import 'd3-brush';
|
|
|
17
17
|
import { axisRight } from 'd3-axis';
|
|
18
18
|
import { format } from 'd3-format';
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
/******************************************************************************
|
|
21
21
|
Copyright (c) Microsoft Corporation.
|
|
22
22
|
|
|
23
23
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -31,8 +31,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
31
31
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
32
32
|
PERFORMANCE OF THIS SOFTWARE.
|
|
33
33
|
***************************************************************************** */
|
|
34
|
-
|
|
35
34
|
/* global Reflect, Promise */
|
|
35
|
+
|
|
36
36
|
var _extendStatics = function extendStatics(d, b) {
|
|
37
37
|
return _extendStatics = Object.setPrototypeOf || {
|
|
38
38
|
__proto__: []
|
|
@@ -42,19 +42,16 @@ var _extendStatics = function extendStatics(d, b) {
|
|
|
42
42
|
for (var p in b) Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
|
|
43
43
|
}, _extendStatics(d, b);
|
|
44
44
|
};
|
|
45
|
-
|
|
46
45
|
function __extends(d, b) {
|
|
47
46
|
function __() {
|
|
48
47
|
this.constructor = d;
|
|
49
48
|
}
|
|
50
|
-
|
|
51
49
|
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + (b + "") + " is not a constructor or null");
|
|
52
50
|
_extendStatics(d, b), d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53
51
|
}
|
|
54
|
-
function __spreadArray(to, from) {
|
|
55
|
-
for (var i = 0,
|
|
56
|
-
|
|
57
|
-
return to;
|
|
52
|
+
function __spreadArray(to, from, pack) {
|
|
53
|
+
if (pack || arguments.length === 2) for (var ar, i = 0, l = from.length; i < l; i++) (ar || !(i in from)) && (ar || (ar = Array.prototype.slice.call(from, 0, i)), ar[i] = from[i]);
|
|
54
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
/**
|
|
@@ -231,7 +228,7 @@ function mergeObj(target) {
|
|
|
231
228
|
}
|
|
232
229
|
});
|
|
233
230
|
}
|
|
234
|
-
return mergeObj.apply(void 0, __spreadArray([target], objectN));
|
|
231
|
+
return mergeObj.apply(void 0, __spreadArray([target], objectN, false));
|
|
235
232
|
}
|
|
236
233
|
/**
|
|
237
234
|
* Get range
|
|
@@ -316,7 +313,7 @@ function parseDate(date) {
|
|
|
316
313
|
}
|
|
317
314
|
if (!parsedDate || isNaN(+parsedDate)) {
|
|
318
315
|
console && console.error &&
|
|
319
|
-
console.error("Failed to parse x '"
|
|
316
|
+
console.error("Failed to parse x '".concat(date, "' to Date object"));
|
|
320
317
|
}
|
|
321
318
|
return parsedDate;
|
|
322
319
|
}
|
|
@@ -360,12 +357,10 @@ function loadConfig(config) {
|
|
|
360
357
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
361
358
|
* billboard.js project is licensed under the MIT license
|
|
362
359
|
*/
|
|
363
|
-
|
|
364
360
|
/**
|
|
365
361
|
* Base class to generate billboard.js plugin
|
|
366
362
|
* @class Plugin
|
|
367
363
|
*/
|
|
368
|
-
|
|
369
364
|
/**
|
|
370
365
|
* Version info string for plugin
|
|
371
366
|
* @name version
|
|
@@ -394,43 +389,40 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
394
389
|
function Plugin(options) {
|
|
395
390
|
options === void 0 && (options = {}), this.$$, this.options = options;
|
|
396
391
|
}
|
|
392
|
+
|
|
397
393
|
/**
|
|
398
394
|
* Lifecycle hook for 'beforeInit' phase.
|
|
399
395
|
* @private
|
|
400
396
|
*/
|
|
401
|
-
|
|
402
|
-
|
|
403
397
|
var _proto = Plugin.prototype;
|
|
404
398
|
return _proto.$beforeInit = function $beforeInit() {}
|
|
399
|
+
|
|
405
400
|
/**
|
|
406
401
|
* Lifecycle hook for 'init' phase.
|
|
407
402
|
* @private
|
|
408
|
-
|
|
409
|
-
|
|
403
|
+
*/, _proto.$init = function $init() {}
|
|
404
|
+
|
|
410
405
|
/**
|
|
411
406
|
* Lifecycle hook for 'afterInit' phase.
|
|
412
407
|
* @private
|
|
413
|
-
|
|
414
|
-
|
|
408
|
+
*/, _proto.$afterInit = function $afterInit() {}
|
|
409
|
+
|
|
415
410
|
/**
|
|
416
411
|
* Lifecycle hook for 'redraw' phase.
|
|
417
412
|
* @private
|
|
418
|
-
|
|
419
|
-
|
|
413
|
+
*/, _proto.$redraw = function $redraw() {}
|
|
414
|
+
|
|
420
415
|
/**
|
|
421
416
|
* Lifecycle hook for 'willDestroy' phase.
|
|
422
417
|
* @private
|
|
423
|
-
|
|
424
|
-
, _proto.$willDestroy = function $willDestroy() {
|
|
418
|
+
*/, _proto.$willDestroy = function $willDestroy() {
|
|
425
419
|
var _this = this;
|
|
426
|
-
|
|
427
420
|
Object.keys(this).forEach(function (key) {
|
|
428
421
|
_this[key] = null, delete _this[key];
|
|
429
422
|
});
|
|
430
423
|
}, Plugin;
|
|
431
424
|
}();
|
|
432
|
-
|
|
433
|
-
Plugin.version = "#2.2.6#";
|
|
425
|
+
Plugin.version = "#2.2.8a#";
|
|
434
426
|
|
|
435
427
|
/**
|
|
436
428
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
@@ -712,9 +704,9 @@ var Elements = /** @class */ (function () {
|
|
|
712
704
|
var xvCustom = this.xvCustom.bind($$);
|
|
713
705
|
var yvCustom = this.yvCustom.bind($$);
|
|
714
706
|
// Stanford-Lines
|
|
715
|
-
var stanfordLine = main.select("."
|
|
707
|
+
var stanfordLine = main.select(".".concat(CLASS.stanfordLines))
|
|
716
708
|
.style("shape-rendering", "geometricprecision")
|
|
717
|
-
.selectAll("."
|
|
709
|
+
.selectAll(".".concat(CLASS.stanfordLine))
|
|
718
710
|
.data(this.owner.config.lines);
|
|
719
711
|
// exit
|
|
720
712
|
stanfordLine.exit().transition()
|
|
@@ -727,7 +719,7 @@ var Elements = /** @class */ (function () {
|
|
|
727
719
|
.style("opacity", "0");
|
|
728
720
|
stanfordLineEnter
|
|
729
721
|
.merge(stanfordLine)
|
|
730
|
-
.attr("class", function (d) { return CLASS.stanfordLine + (d["class"] ? " "
|
|
722
|
+
.attr("class", function (d) { return CLASS.stanfordLine + (d["class"] ? " ".concat(d["class"]) : ""); })
|
|
731
723
|
.select("line")
|
|
732
724
|
.transition()
|
|
733
725
|
.duration(duration)
|
|
@@ -746,8 +738,8 @@ var Elements = /** @class */ (function () {
|
|
|
746
738
|
var yvCustom = this.yvCustom.bind($$);
|
|
747
739
|
var countPointsInRegion = this.owner.countEpochsInRegion.bind($$);
|
|
748
740
|
// Stanford-Regions
|
|
749
|
-
var stanfordRegion = main.select("."
|
|
750
|
-
.selectAll("."
|
|
741
|
+
var stanfordRegion = main.select(".".concat(CLASS.stanfordRegions))
|
|
742
|
+
.selectAll(".".concat(CLASS.stanfordRegion))
|
|
751
743
|
.data(this.owner.config.regions);
|
|
752
744
|
// exit
|
|
753
745
|
stanfordRegion.exit().transition()
|
|
@@ -764,7 +756,7 @@ var Elements = /** @class */ (function () {
|
|
|
764
756
|
stanfordRegion = stanfordRegionEnter.merge(stanfordRegion);
|
|
765
757
|
// update
|
|
766
758
|
stanfordRegion
|
|
767
|
-
.attr("class", function (d) { return CLASS.stanfordRegion + (d["class"] ? " "
|
|
759
|
+
.attr("class", function (d) { return CLASS.stanfordRegion + (d["class"] ? " ".concat(d["class"]) : ""); })
|
|
768
760
|
.select("polygon")
|
|
769
761
|
.transition()
|
|
770
762
|
.duration(duration)
|
|
@@ -848,7 +840,7 @@ var ColorScale = /** @class */ (function () {
|
|
|
848
840
|
.attr("height", height)
|
|
849
841
|
.attr("class", CLASS.colorScale);
|
|
850
842
|
this.colorScale.append("g")
|
|
851
|
-
.attr("transform", "translate(0, "
|
|
843
|
+
.attr("transform", "translate(0, ".concat(config.padding_top, ")"))
|
|
852
844
|
.selectAll("bars")
|
|
853
845
|
.data(points)
|
|
854
846
|
.enter()
|
|
@@ -879,7 +871,7 @@ var ColorScale = /** @class */ (function () {
|
|
|
879
871
|
// Draw Axis
|
|
880
872
|
var axis = this.colorScale.append("g")
|
|
881
873
|
.attr("class", "legend axis")
|
|
882
|
-
.attr("transform", "translate("
|
|
874
|
+
.attr("transform", "translate(".concat(barWidth, ",0)"))
|
|
883
875
|
.call(legendAxis);
|
|
884
876
|
if (scaleFormat === "pow10") {
|
|
885
877
|
axis.selectAll(".tick text")
|
|
@@ -890,7 +882,7 @@ var ColorScale = /** @class */ (function () {
|
|
|
890
882
|
.attr("dy", "-.7em") // https://bl.ocks.org/mbostock/6738229
|
|
891
883
|
.text(function (d) { return Math.round(Math.log(d) / Math.LN10); });
|
|
892
884
|
}
|
|
893
|
-
this.colorScale.attr("transform", "translate("
|
|
885
|
+
this.colorScale.attr("transform", "translate(".concat($$.state.current.width - this.xForColorScale(), ", 0)"));
|
|
894
886
|
};
|
|
895
887
|
ColorScale.prototype.xForColorScale = function () {
|
|
896
888
|
return this.owner.config.padding_right +
|
|
@@ -1080,11 +1072,11 @@ var Stanford = /** @class */ (function (_super) {
|
|
|
1080
1072
|
var config = this.$$.config;
|
|
1081
1073
|
if (isEmpty(config.tooltip_contents)) {
|
|
1082
1074
|
config.tooltip_contents = function (d, defaultTitleFormat, defaultValueFormat, color) {
|
|
1083
|
-
var html = "<table class=\""
|
|
1075
|
+
var html = "<table class=\"".concat(CLASS$1.tooltip, "\"><tbody>");
|
|
1084
1076
|
d.forEach(function (v) {
|
|
1085
|
-
html += "<tr>\n\t\t\t\t\t\t\t<th>"
|
|
1077
|
+
html += "<tr>\n\t\t\t\t\t\t\t<th>".concat(defaultTitleFormat(config.data_x), "</th>\n\t\t\t\t\t\t\t<th class=\"value\">").concat(defaultValueFormat(v.x), "</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>").concat(defaultTitleFormat(v.id), "</th>\n\t\t\t\t\t\t\t<th class=\"value\">").concat(defaultValueFormat(v.value), "</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr class=\"").concat(CLASS$1.tooltipName, "-").concat(v.id, "\">\n\t\t\t\t\t\t\t<td class=\"name\"><span style=\"background-color:").concat(color(v), "\"></span>").concat(defaultTitleFormat("Epochs"), "</td>\n\t\t\t\t\t\t\t<td class=\"value\">").concat(defaultValueFormat(v.epochs), "</td>\n\t\t\t\t\t\t</tr>");
|
|
1086
1078
|
});
|
|
1087
|
-
return html
|
|
1079
|
+
return "".concat(html, "</tbody></table>");
|
|
1088
1080
|
};
|
|
1089
1081
|
}
|
|
1090
1082
|
};
|
|
@@ -1108,4 +1100,4 @@ var Stanford = /** @class */ (function (_super) {
|
|
|
1108
1100
|
return Stanford;
|
|
1109
1101
|
}(Plugin));
|
|
1110
1102
|
|
|
1111
|
-
export default
|
|
1103
|
+
export { Stanford as default };
|