billboard.js 2.2.6 → 2.2.7
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.esm.js +379 -378
- package/dist/billboard.js +3001 -3650
- package/dist/billboard.js.map +1 -0
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +17916 -14721
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/package.json +1 -0
- package/dist/plugin/billboardjs-plugin-bubblecompare.esm.js +14 -21
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +30 -45
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.esm.js +31 -39
- package/dist/plugin/billboardjs-plugin-stanford.js +281 -345
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.esm.js +20 -28
- package/dist/plugin/billboardjs-plugin-textoverlap.js +243 -291
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- 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 +1 -1
- package/src/ChartInternal/data/data.ts +3 -2
- package/src/ChartInternal/internals/redraw.ts +7 -6
- package/src/ChartInternal/shape/arc.ts +4 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billboard.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACNA;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack://billboard.js/webpack/universalModuleDefinition","webpack://billboard.js/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://billboard.js/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://billboard.js/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://billboard.js/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://billboard.js/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://billboard.js/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://billboard.js/./src/scss/billboard.scss","webpack://billboard.js/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://billboard.js/./node_modules/css-loader/dist/runtime/api.js","webpack://billboard.js/webpack/bootstrap","webpack://billboard.js/webpack/runtime/compat get default export","webpack://billboard.js/webpack/runtime/define property getters","webpack://billboard.js/webpack/runtime/hasOwnProperty shorthand","webpack://billboard.js/webpack/runtime/make namespace object","webpack://billboard.js/webpack/runtime/nonce","webpack://billboard.js/./src/scss/billboard.scss?1b5d","webpack://billboard.js/./node_modules/@babel/runtime/helpers/esm/newArrowCheck.js","webpack://billboard.js/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(this, function() {\nreturn ","\"use strict\";\n\nvar stylesInDOM = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n\n return updater;\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n\n stylesInDOM.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n\n var needLayer = typeof obj.layer !== \"undefined\";\n\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n\n css += obj.css;\n\n if (needLayer) {\n css += \"}\";\n }\n\n if (obj.media) {\n css += \"}\";\n }\n\n if (obj.supports) {\n css += \"}\";\n }\n\n var sourceMap = obj.sourceMap;\n\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n options.styleTagTransform(css, styleElement, options.options);\n}\n\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n\n styleElement.parentNode.removeChild(styleElement);\n}\n/* istanbul ignore next */\n\n\nfunction domAPI(options) {\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\n\nmodule.exports = domAPI;","\"use strict\";\n\nvar memo = {};\n/* istanbul ignore next */\n\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n}\n/* istanbul ignore next */\n\n\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n}\n\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\n\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\n\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n\n styleElement.appendChild(document.createTextNode(css));\n }\n}\n\nmodule.exports = styleTagTransform;","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/*-- Chart --*/\\n.bb svg {\\n font: 10px sans-serif;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }\\n\\n.bb path, .bb line {\\n fill: none;\\n stroke: #000; }\\n\\n.bb text, .bb .bb-button {\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n user-select: none; }\\n\\n.bb-legend-item-tile,\\n.bb-xgrid-focus,\\n.bb-ygrid-focus,\\n.bb-ygrid,\\n.bb-event-rect,\\n.bb-bars path {\\n shape-rendering: crispEdges; }\\n\\n.bb-chart-arc .bb-gauge-value {\\n fill: #000; }\\n\\n.bb-chart-arc path {\\n stroke: #fff; }\\n\\n.bb-chart-arc rect {\\n stroke: #fff;\\n stroke-width: 1; }\\n\\n.bb-chart-arc text {\\n fill: #fff;\\n font-size: 13px; }\\n\\n/*-- Axis --*/\\n.bb-axis {\\n shape-rendering: crispEdges; }\\n\\n/*-- Grid --*/\\n.bb-grid {\\n pointer-events: none; }\\n .bb-grid line {\\n stroke: #aaa; }\\n .bb-grid text {\\n fill: #aaa; }\\n\\n.bb-xgrid, .bb-ygrid {\\n stroke-dasharray: 3 3; }\\n\\n/*-- Text on Chart --*/\\n.bb-text.bb-empty {\\n fill: #808080;\\n font-size: 2em; }\\n\\n/*-- Line --*/\\n.bb-line {\\n stroke-width: 1px; }\\n\\n/*-- Point --*/\\n.bb-circle._expanded_ {\\n stroke-width: 1px;\\n stroke: white; }\\n\\n.bb-selected-circle {\\n fill: white;\\n stroke-width: 2px; }\\n\\n/*-- Bar --*/\\n.bb-bar {\\n stroke-width: 0; }\\n .bb-bar._expanded_ {\\n fill-opacity: 0.75; }\\n\\n/*-- Candlestick --*/\\n.bb-candlestick {\\n stroke-width: 1px; }\\n .bb-candlestick._expanded_ {\\n fill-opacity: 0.75; }\\n\\n/*-- Focus --*/\\n.bb-target.bb-focused, .bb-circles.bb-focused {\\n opacity: 1; }\\n\\n.bb-target.bb-focused path.bb-line, .bb-target.bb-focused path.bb-step, .bb-circles.bb-focused path.bb-line, .bb-circles.bb-focused path.bb-step {\\n stroke-width: 2px; }\\n\\n.bb-target.bb-defocused, .bb-circles.bb-defocused {\\n opacity: 0.3 !important; }\\n .bb-target.bb-defocused .text-overlapping, .bb-circles.bb-defocused .text-overlapping {\\n opacity: .05 !important; }\\n\\n/*-- Region --*/\\n.bb-region {\\n fill: steelblue;\\n fill-opacity: .1; }\\n\\n/*-- Zoom region --*/\\n.bb-zoom-brush {\\n fill-opacity: .1; }\\n\\n/*-- Brush --*/\\n.bb-brush .extent {\\n fill-opacity: .1; }\\n\\n/*-- Legend --*/\\n.bb-legend-item {\\n font-size: 12px;\\n user-select: none; }\\n\\n.bb-legend-item-hidden {\\n opacity: 0.15; }\\n\\n.bb-legend-background {\\n opacity: 0.75;\\n fill: white;\\n stroke: lightgray;\\n stroke-width: 1; }\\n\\n/*-- Title --*/\\n.bb-title {\\n font: 14px sans-serif; }\\n\\n/*-- Treemap --*/\\n.bb-chart-treemaps rect {\\n stroke: #fff;\\n stroke-width: 1px; }\\n\\n/*-- Tooltip --*/\\n.bb-tooltip-container {\\n z-index: 10;\\n user-select: none; }\\n\\n.bb-tooltip {\\n border-collapse: collapse;\\n border-spacing: 0;\\n background-color: #fff;\\n empty-cells: show;\\n opacity: 0.9;\\n -webkit-box-shadow: 7px 7px 12px -9px #777777;\\n -moz-box-shadow: 7px 7px 12px -9px #777777;\\n box-shadow: 7px 7px 12px -9px #777777; }\\n .bb-tooltip tr {\\n border: 1px solid #CCC; }\\n .bb-tooltip th {\\n background-color: #aaa;\\n font-size: 14px;\\n padding: 2px 5px;\\n text-align: left;\\n color: #FFF; }\\n .bb-tooltip td {\\n font-size: 13px;\\n padding: 3px 6px;\\n background-color: #fff;\\n border-left: 1px dotted #999; }\\n .bb-tooltip td > span, .bb-tooltip td > svg {\\n display: inline-block;\\n width: 10px;\\n height: 10px;\\n margin-right: 6px; }\\n .bb-tooltip.value {\\n text-align: right; }\\n\\n/*-- Area --*/\\n.bb-area {\\n stroke-width: 0;\\n opacity: 0.2; }\\n\\n/*-- Arc --*/\\n.bb-chart-arcs-title {\\n dominant-baseline: middle;\\n font-size: 1.3em; }\\n\\ntext.bb-chart-arcs-gauge-title {\\n dominant-baseline: middle;\\n font-size: 2.7em; }\\n\\n.bb-chart-arcs {\\n /*-- Polar --*/ }\\n .bb-chart-arcs .bb-chart-arcs-background {\\n fill: #e0e0e0;\\n stroke: #fff; }\\n .bb-chart-arcs .bb-chart-arcs-gauge-unit {\\n fill: #000;\\n font-size: 16px; }\\n .bb-chart-arcs .bb-chart-arcs-gauge-max {\\n fill: #777; }\\n .bb-chart-arcs .bb-chart-arcs-gauge-min {\\n fill: #777; }\\n .bb-chart-arcs .bb-levels circle {\\n fill: none;\\n stroke: #848282;\\n stroke-width: .5px; }\\n .bb-chart-arcs .bb-levels text {\\n fill: #848282; }\\n\\n/*-- Radar --*/\\n.bb-chart-radars .bb-levels polygon {\\n fill: none;\\n stroke: #848282;\\n stroke-width: .5px; }\\n\\n.bb-chart-radars .bb-levels text {\\n fill: #848282; }\\n\\n.bb-chart-radars .bb-axis line {\\n stroke: #848282;\\n stroke-width: .5px; }\\n\\n.bb-chart-radars .bb-axis text {\\n font-size: 1.15em;\\n cursor: default; }\\n\\n.bb-chart-radars .bb-shapes polygon {\\n fill-opacity: .2;\\n stroke-width: 1px; }\\n\\n/*-- Button --*/\\n.bb-button {\\n position: absolute;\\n top: 10px;\\n right: 10px; }\\n .bb-button .bb-zoom-reset {\\n font-size: 11px;\\n border: solid 1px #ccc;\\n background-color: #fff;\\n padding: 5px;\\n border-radius: 5px;\\n cursor: pointer; }\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/scss/billboard.scss\"],\"names\":[],\"mappings\":\"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\",\"sourcesContent\":[\"/*-- Chart --*/\\n.bb {\\n\\tsvg {\\n\\t\\tfont: 10px sans-serif;\\n\\t\\t-webkit-tap-highlight-color: rgba(0,0,0,0);\\n\\t}\\n\\n\\tpath, line {\\n\\t\\tfill: none;\\n\\t\\tstroke: #000;\\n\\t}\\n\\n\\ttext, .bb-button {\\n\\t\\t-webkit-user-select: none;\\n\\t\\t-moz-user-select: none;\\n\\t\\tuser-select: none;\\n\\t}\\n}\\n\\n.bb-legend-item-tile,\\n.bb-xgrid-focus,\\n.bb-ygrid-focus,\\n.bb-ygrid,\\n.bb-event-rect,\\n.bb-bars path {\\n\\tshape-rendering: crispEdges;\\n}\\n\\n.bb-chart-arc {\\n\\t.bb-gauge-value {\\n\\t\\tfill: #000;\\n\\t}\\n\\n\\tpath {\\n\\t\\tstroke: #fff;\\n\\t}\\n\\n\\trect {\\n\\t\\tstroke: #fff;\\n\\t\\tstroke-width: 1;\\n\\t}\\n\\n\\ttext {\\n\\t\\tfill: #fff;\\n\\t\\tfont-size: 13px;\\n\\t}\\n}\\n\\n/*-- Axis --*/\\n.bb-axis {\\n\\tshape-rendering: crispEdges;\\n}\\n\\n/*-- Grid --*/\\n.bb-grid {\\n\\tpointer-events: none;\\n\\n\\tline {\\n\\t\\tstroke: #aaa;\\n\\t}\\n\\n\\ttext {\\n\\t\\tfill: #aaa;\\n\\t}\\n}\\n\\n.bb-xgrid, .bb-ygrid {\\n\\tstroke-dasharray: 3 3;\\n}\\n\\n/*-- Text on Chart --*/\\n.bb-text {\\n\\t&.bb-empty {\\n\\t\\tfill: #808080;\\n\\t\\tfont-size: 2em;\\n\\t}\\n}\\n\\n/*-- Line --*/\\n.bb-line {\\n\\tstroke-width: 1px;\\n}\\n\\n/*-- Point --*/\\n.bb-circle._expanded_ {\\n\\tstroke-width: 1px;\\n\\tstroke: white;\\n}\\n\\n.bb-selected-circle {\\n\\tfill: white;\\n\\tstroke-width: 2px;\\n}\\n\\n/*-- Bar --*/\\n.bb-bar {\\n\\tstroke-width: 0;\\n\\n\\t&._expanded_ {\\n\\t\\tfill-opacity: 0.75;\\n\\t}\\n}\\n\\n/*-- Candlestick --*/\\n.bb-candlestick {\\n\\tstroke-width: 1px;\\n\\n\\t&._expanded_ {\\n\\t\\tfill-opacity: 0.75;\\n\\t}\\n}\\n\\n/*-- Focus --*/\\n.bb-target, .bb-circles {\\n\\t&.bb-focused {\\n\\t\\topacity: 1;\\n\\t}\\n\\n\\t&.bb-focused {\\n\\t\\tpath.bb-line, path.bb-step {\\n\\t\\t\\tstroke-width: 2px;\\n\\t\\t}\\n\\t}\\n\\n\\t&.bb-defocused {\\n\\t\\topacity: 0.3 !important;\\n\\n\\t\\t.text-overlapping {\\n\\t\\t\\topacity: .05 !important;\\n\\t\\t}\\n\\t}\\n}\\n/*-- Region --*/\\n.bb-region {\\n\\tfill: steelblue;\\n\\tfill-opacity: .1;\\n}\\n\\n/*-- Zoom region --*/\\n.bb-zoom-brush {\\n\\tfill-opacity: .1;\\n}\\n\\n/*-- Brush --*/\\n.bb-brush .extent {\\n\\tfill-opacity: .1;\\n}\\n\\n/*-- Legend --*/\\n.bb-legend-item {\\n\\tfont-size: 12px;\\n\\tuser-select: none;\\n}\\n\\n.bb-legend-item-hidden {\\n\\topacity: 0.15;\\n}\\n\\n.bb-legend-background {\\n\\topacity: 0.75;\\n\\tfill: white;\\n\\tstroke: lightgray;\\n\\tstroke-width: 1;\\n}\\n\\n/*-- Title --*/\\n.bb-title {\\n\\tfont: 14px sans-serif;\\n}\\n\\n/*-- Treemap --*/\\n.bb-chart-treemaps rect {\\n stroke: #fff;\\n stroke-width: 1px;\\n}\\n\\n/*-- Tooltip --*/\\n.bb-tooltip-container {\\n\\tz-index: 10;\\n\\tuser-select: none;\\n}\\n\\n.bb-tooltip {\\n\\tborder-collapse:collapse;\\n\\tborder-spacing:0;\\n\\tbackground-color:#fff;\\n\\tempty-cells:show;\\n\\topacity: 0.9;\\n\\t-webkit-box-shadow: 7px 7px 12px -9px rgb(119,119,119);\\n\\t-moz-box-shadow: 7px 7px 12px -9px rgb(119,119,119);\\n\\tbox-shadow: 7px 7px 12px -9px rgb(119,119,119);\\n\\n\\ttr {\\n\\t\\tborder:1px solid #CCC;\\n\\t}\\n\\n\\tth {\\n\\t\\tbackground-color: #aaa;\\n\\t\\tfont-size:14px;\\n\\t\\tpadding:2px 5px;\\n\\t\\ttext-align:left;\\n\\t\\tcolor:#FFF;\\n\\t}\\n\\n\\ttd {\\n\\t\\tfont-size:13px;\\n\\t\\tpadding: 3px 6px;\\n\\t\\tbackground-color:#fff;\\n\\t\\tborder-left:1px dotted #999;\\n\\n\\t\\t> span, > svg {\\n\\t\\t\\tdisplay: inline-block;\\n\\t\\t\\twidth: 10px;\\n\\t\\t\\theight: 10px;\\n\\t\\t\\tmargin-right: 6px;\\n\\t\\t}\\n\\t}\\n\\n\\t&.value {\\n\\t\\ttext-align: right;\\n\\t}\\n}\\n\\n/*-- Area --*/\\n.bb-area {\\n\\tstroke-width: 0;\\n\\topacity: 0.2;\\n}\\n\\n/*-- Arc --*/\\n.bb-chart-arcs-title {\\n\\tdominant-baseline: middle;\\n\\tfont-size: 1.3em;\\n}\\n\\ntext.bb-chart-arcs-gauge-title {\\n\\tdominant-baseline: middle;\\n\\tfont-size: 2.7em;\\n}\\n\\n.bb-chart-arcs {\\n\\t.bb-chart-arcs-background {\\n\\t\\tfill: #e0e0e0;\\n\\t\\tstroke: #fff;\\n\\t}\\n\\n\\t.bb-chart-arcs-gauge-unit {\\n\\t\\tfill: #000;\\n\\t\\tfont-size: 16px;\\n\\t}\\n\\n\\t.bb-chart-arcs-gauge-max {\\n\\t\\tfill: #777;\\n\\t}\\n\\n\\t.bb-chart-arcs-gauge-min {\\n\\t\\tfill: #777;\\n\\t}\\n\\n\\t/*-- Polar --*/\\n\\t.bb-levels {\\n\\t\\tcircle {\\n\\t\\t\\tfill: none;\\n\\t\\t\\tstroke: #848282;\\n\\t\\t\\tstroke-width: .5px;\\n\\t\\t}\\n\\n\\t\\ttext {\\n\\t\\t\\tfill: #848282;\\n\\t\\t}\\n\\t}\\n}\\n\\n/*-- Radar --*/\\n.bb-chart-radars {\\n\\t.bb-levels {\\n\\t\\tpolygon {\\n\\t\\t\\tfill: none;\\n\\t\\t\\tstroke: #848282;\\n\\t\\t\\tstroke-width: .5px;\\n\\t\\t}\\n\\n\\t\\ttext {\\n\\t\\t\\tfill: #848282;\\n\\t\\t}\\n\\t}\\n\\n\\t.bb-axis {\\n\\t\\tline {\\n\\t\\t\\tstroke: #848282;\\n\\t\\t\\tstroke-width: .5px;\\n\\t\\t}\\n\\n\\t\\ttext {\\n\\t\\t\\tfont-size: 1.15em;\\n\\t\\t\\tcursor: default;\\n\\t\\t}\\n\\t}\\n\\n\\t.bb-shapes {\\n\\t\\tpolygon {\\n\\t\\t\\tfill-opacity: .2;\\n\\t\\t\\tstroke-width: 1px;\\n\\t\\t}\\n\\t}\\n}\\n\\n/*-- Button --*/\\n.bb-button {\\n\\tposition: absolute;\\n\\ttop: 10px;\\n\\tright: 10px;\\n\\n\\t.bb-zoom-reset {\\n\\t\\tfont-size: 11px;\\n\\t\\tborder: solid 1px #ccc;\\n\\t\\tbackground-color: #fff;\\n\\t\\tpadding: 5px;\\n\\t\\tborder-radius: 5px;\\n\\t\\tcursor: pointer;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./billboard.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./billboard.scss\";\n export default content && content.locals ? content.locals : undefined;\n","export default function _newArrowCheck(innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError(\"Cannot instantiate an arrow function\");\n }\n}","import _newArrowCheck from \"@babel/runtime/helpers/esm/newArrowCheck\";\nvar _this = this;\n/**\n * Copyright (c) 2017 ~ present NAVER Corp.\n * billboard project is licensed under the MIT license\n */\nimport * as shape from \"./config/resolver/shape.js\";\nimport * as interaction from \"./config/resolver/interaction.js\";\n// extends shape modules\nObject.keys(shape).forEach(function (v) {\n _newArrowCheck(this, _this);\n return shape[v]();\n}.bind(this));\n// extends interaction modules\nObject.keys(interaction).forEach(function (v) {\n _newArrowCheck(this, _this);\n return interaction[v]();\n}.bind(this));\nexport { default, bb } from \"./core.js\";\n"],"names":[],"sourceRoot":""}
|
package/dist/billboard.min.css
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
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.7
|
|
9
9
|
*/.bb svg{font:10px sans-serif;-webkit-tap-highlight-color:rgba(0,0,0,0)}.bb line,.bb path{fill:none;stroke:#000}.bb .bb-button,.bb text{-webkit-user-select:none;-moz-user-select:none;user-select:none}.bb-bars path,.bb-event-rect,.bb-legend-item-tile,.bb-xgrid-focus,.bb-ygrid,.bb-ygrid-focus{shape-rendering:crispEdges}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-axis{shape-rendering:crispEdges}.bb-grid line{stroke:#aaa}.bb-grid text{fill:#aaa}.bb-xgrid,.bb-ygrid{stroke-dasharray:3 3}.bb-text.bb-empty{fill:grey;font-size:2em}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:1px;stroke:#fff}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-circles.bb-focused,.bb-target.bb-focused{opacity:1}.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step,.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step{stroke-width:2px}.bb-circles.bb-defocused,.bb-target.bb-defocused{opacity:.3!important}.bb-circles.bb-defocused .text-overlapping,.bb-target.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4;fill-opacity:.1}.bb-brush .extent,.bb-zoom-brush{fill-opacity:.1}.bb-legend-item{font-size:12px;user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font:14px sans-serif}.bb-tooltip-container{z-index:10;user-select:none}.bb-tooltip{border-collapse:collapse;border-spacing:0;background-color:#fff;empty-cells:show;opacity:.9;-webkit-box-shadow:7px 7px 12px -9px #777;-moz-box-shadow:7px 7px 12px -9px #777;box-shadow:7px 7px 12px -9px #777}.bb-tooltip tr{border:1px solid #ccc}.bb-tooltip th{background-color:#aaa;font-size:14px;padding:2px 5px;text-align:left;color:#fff}.bb-tooltip td{font-size:13px;padding:3px 6px;background-color:#fff;border-left:1px dotted #999}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px}.bb-tooltip.value{text-align:right}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{font-size:11px;border:1px solid #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer}
|