@dpuse/dpuse-tool-highcharts-visualiser 0.0.83 → 0.0.84
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/README.md +34 -30
- package/dist/{AnimationUtilities-HCzBkGkl.js → AnimationUtilities-eb22eIjK.js} +1 -1
- package/dist/{AnimationUtilities-HCzBkGkl.js.map → AnimationUtilities-eb22eIjK.js.map} +1 -1
- package/dist/{BorderRadius-DsUUgNnR.js → BorderRadius-Cois3N8q.js} +1 -1
- package/dist/{BorderRadius-DsUUgNnR.js.map → BorderRadius-Cois3N8q.js.map} +1 -1
- package/dist/{CenteredUtilities-CBtdKzw5.js → CenteredUtilities-WO6ukK5m.js} +3 -3
- package/dist/{CenteredUtilities-CBtdKzw5.js.map → CenteredUtilities-WO6ukK5m.js.map} +1 -1
- package/dist/{SVGElement-DQ_bI6Wv.js → SVGElement-z7ENyQ6Y.js} +1 -1
- package/dist/{SVGElement-DQ_bI6Wv.js.map → SVGElement-z7ENyQ6Y.js.map} +1 -1
- package/dist/{SeriesRegistry-BO6tW97M.js → SeriesRegistry-CDI1sm9L.js} +3 -2
- package/dist/SeriesRegistry-CDI1sm9L.js.map +1 -0
- package/dist/{TextPath-D9gJwxEx.js → TextPath-CiV8mQgF.js} +1 -1
- package/dist/{TextPath-D9gJwxEx.js.map → TextPath-CiV8mQgF.js.map} +1 -1
- package/dist/{dependency-wheel.src-CzVxcqBs.js → dependency-wheel.src-m4DwYrP7.js} +5 -5
- package/dist/{dependency-wheel.src-CzVxcqBs.js.map → dependency-wheel.src-m4DwYrP7.js.map} +1 -1
- package/dist/dpuse-tool-highcharts-visualiser.es.js +10 -10
- package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
- package/dist/{highchartsMoreCustom-C4nqraZj.js → highchartsMoreCustom-C7_1r-Ql.js} +4 -4
- package/dist/{highchartsMoreCustom-C4nqraZj.js.map → highchartsMoreCustom-C7_1r-Ql.js.map} +1 -1
- package/dist/{pattern-fill.src-B5NNMA8k.js → pattern-fill.src-kXG__4iS.js} +1 -1
- package/dist/{pattern-fill.src-B5NNMA8k.js.map → pattern-fill.src-kXG__4iS.js.map} +1 -1
- package/dist/{sankey.src-CwyzwAVp.js → sankey.src-B-54oc-3.js} +4 -4
- package/dist/{sankey.src-CwyzwAVp.js.map → sankey.src-B-54oc-3.js.map} +1 -1
- package/dist/{streamgraph.src-BxwGr88G.js → streamgraph.src-DLpEiTz6.js} +2 -2
- package/dist/{streamgraph.src-BxwGr88G.js.map → streamgraph.src-DLpEiTz6.js.map} +1 -1
- package/dist/types/eslint.config.d.ts +1 -1
- package/package.json +21 -10
- package/dist/SeriesRegistry-BO6tW97M.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as e, W as t, c as n, et as r, h as i, k as a, lt as o } from "./AnimationUtilities-
|
|
1
|
+
import { K as e, W as t, c as n, et as r, h as i, k as a, lt as o } from "./AnimationUtilities-eb22eIjK.js";
|
|
2
2
|
//#region node_modules/highcharts/es-modules/Extensions/BorderRadius.js
|
|
3
3
|
var { defaultOptions: s } = n, { noop: c } = o, l = {
|
|
4
4
|
radius: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BorderRadius-DsUUgNnR.js","names":["D","H"],"sources":["../node_modules/highcharts/es-modules/Extensions/BorderRadius.js"],"sourcesContent":["/* *\n *\n * Highcharts Border Radius module\n *\n * Author: Torstein Hønsi\n *\n * Integration of this software requires a license.\n * - For commercial use, see www.highcharts.com/license\n * - For non-commercial, see www.highcharts.com/license-eula\n *\n *\n * */\n'use strict';\nimport D from '../Core/Defaults.js';\nconst { defaultOptions } = D;\nimport H from '../Core/Globals.js';\nconst { noop } = H;\nimport { addEvent, extend, isObject, merge, relativeLength } from '../Shared/Utilities.js';\n/* *\n *\n * Constants\n *\n * */\nconst defaultBorderRadiusOptions = {\n radius: 0,\n scope: 'stack',\n where: void 0\n};\n/* *\n *\n * Variables\n *\n * */\nlet oldArc = noop;\nlet oldRoundedRect = noop;\n/* *\n *\n * Functions\n *\n * */\n/** @internal */\nfunction applyBorderRadius(path, i, r) {\n const a = path[i];\n let b = path[i + 1];\n if (b[0] === 'Z') {\n b = path[0];\n }\n let line, arc, fromLineToArc;\n // From straight line to arc\n if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {\n line = a;\n arc = b;\n fromLineToArc = true;\n // From arc to straight line\n }\n else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {\n line = b;\n arc = a;\n }\n if (line && arc && arc.params) {\n const bigR = arc[1], \n // In our use cases, outer pie slice arcs are clockwise and inner\n // arcs (donut/sunburst etc) are anti-clockwise\n clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;\n // Some geometric constants\n const relativeR = clockwise ? (bigR - r) : (bigR + r), \n // The angle, on the big arc, that the border radius arc takes up\n angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?\n angleOfBorderRadius :\n -angleOfBorderRadius, \n // The distance along the radius of the big arc to the starting\n // point of the small border radius arc\n distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *\n relativeR);\n // From line to arc\n if (fromLineToArc) {\n // Update the cache\n params.start = start + angleOffset;\n // First move to the start position at the radial line. We want to\n // start one borderRadius closer to the center.\n line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);\n line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);\n // Now draw an arc towards the point where the small circle touches\n // the great circle.\n path.splice(i + 1, 0, [\n 'A',\n r,\n r,\n 0, // Slanting,\n 0, // Long arc\n 1, // Clockwise\n cx + bigR * Math.cos(params.start),\n cy + bigR * Math.sin(params.start)\n ]);\n // From arc to line\n }\n else {\n // Update the cache\n params.end = end - angleOffset;\n // End the big arc a bit earlier\n arc[6] = cx + bigR * Math.cos(params.end);\n arc[7] = cy + bigR * Math.sin(params.end);\n // Draw a small arc towards a point on the end angle, but one\n // borderRadius closer to the center relative to the perimeter.\n path.splice(i + 1, 0, [\n 'A',\n r,\n r,\n 0,\n 0,\n 1,\n cx + distanceBigCenterToStartArc * Math.cos(end),\n cy + distanceBigCenterToStartArc * Math.sin(end)\n ]);\n }\n // Long or short arc must be reconsidered because we have modified the\n // start and end points\n arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;\n }\n}\n/**\n * Extend arc with borderRadius.\n * @internal\n */\nfunction arc(x, y, w, h, options = {}) {\n const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;\n if (options.open || !options.borderRadius) {\n return path;\n }\n const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR), \n // Cap to half the sector radius\n (r - innerR) / 2, \n // For smaller pie slices, cap to the largest small circle that\n // can be fitted within the sector\n (r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0), \n // For the inner radius, we need an extra cap because the inner arc\n // is shorter than the outer arc\n innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);\n // Apply turn-by-turn border radius. Start at the end since we're\n // splicing in arc segments.\n let i = path.length - 1;\n while (i--) {\n if ((!brStart && (i === 0 || i === 3)) ||\n (!brEnd && (i === 1 || i === 2))) {\n continue;\n }\n applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);\n }\n return path;\n}\n/** @internal */\nfunction seriesOnAfterColumnTranslate() {\n if (this.options.borderRadius &&\n !(this.chart.is3d && this.chart.is3d())) {\n const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]\n ?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;\n for (const point of this.points) {\n const { shapeArgs } = point;\n if (point.shapeType === 'roundedRect' && shapeArgs) {\n const { width = 0, height = 0, y = 0 } = shapeArgs;\n let brBoxY = y, brBoxHeight = height;\n // It would be nice to refactor StackItem.getStackBox/\n // setOffset so that we could get a reliable box out of\n // it. Currently it is close if we remove the label\n // offset, but we still need to run crispCol and also\n // flip it if inverted, so atm it is simpler to do it\n // like the below.\n if (borderRadius.scope === 'stack' &&\n point.stackTotal) {\n const stackEnd = yAxis.translate(percent ? 100 : point.stackTotal, false, true, false, true), stackThreshold = yAxis.translate(options.threshold || 0, false, true, false, true), box = this.crispCol(0, Math.min(stackEnd, stackThreshold), 0, Math.abs(stackEnd - stackThreshold));\n brBoxY = box.y;\n brBoxHeight = box.height;\n }\n const flip = (point.negative ? -1 : 1) *\n (reversed ? -1 : 1) === -1;\n // Handle the where option\n let where = borderRadius.where;\n // Waterfall, hanging columns should have rounding on\n // all sides\n if (!where &&\n this.is('waterfall') &&\n Math.abs((point.yBottom || 0) -\n (this.translatedThreshold || 0)) > this.borderWidth) {\n where = 'all';\n }\n if (!where) {\n where = 'end';\n }\n // Get the radius\n const r = Math.min(relativeLength(borderRadius.radius, width), width / 2, \n // Cap to the height, but not if where is `end`\n where === 'all' ? brBoxHeight / 2 : Infinity) || 0;\n // If the `where` option is 'end', cut off the\n // rectangles by making the border-radius box one r\n // greater, so that the imaginary radius falls outside\n // the rectangle.\n if (where === 'end') {\n if (flip) {\n brBoxY -= r;\n brBoxHeight += r;\n }\n else {\n brBoxHeight += r;\n }\n }\n extend(shapeArgs, { brBoxHeight, brBoxY, r });\n }\n }\n }\n}\n/** @internal */\nexport function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {\n const PieSeriesClass = SeriesClass.types.pie;\n if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {\n const symbols = SVGRendererClass.prototype.symbols;\n addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {\n // After columnrange and polar column modifications\n order: 9\n });\n addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);\n SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');\n oldArc = symbols.arc;\n oldRoundedRect = symbols.roundedRect;\n symbols.arc = arc;\n symbols.roundedRect = roundedRect;\n }\n}\n/**\n * Utility function to get the full border radius options object, from a simple\n * number or a partial options object.\n * @internal\n */\nexport function borderRadiusObject(options, seriesBROptions) {\n if (!isObject(options)) {\n options = { radius: options || 0 };\n }\n return merge(defaultBorderRadiusOptions, seriesBROptions, options);\n}\n/** @internal */\nfunction pieSeriesOnAfterTranslate() {\n const borderRadius = borderRadiusObject(this.options.borderRadius);\n for (const point of this.points) {\n const shapeArgs = point.shapeArgs;\n if (shapeArgs) {\n shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));\n }\n }\n}\n/**\n * Extend roundedRect with individual cutting through rOffset.\n * @internal\n */\nfunction roundedRect(x, y, width, height, options = {}) {\n const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height), \n // When the distance to the border-radius box is greater than the r\n // itself, it means no border radius. The -0.1 accounts for float\n // rounding errors.\n rTop = (brOffsetTop - r) > -0.1 ? 0 : r, rBtm = (brOffsetBtm - r) > -0.1 ? 0 : r, cutTop = Math.max(rTop && brOffsetTop, 0), cutBtm = Math.max(rBtm && brOffsetBtm, 0);\n /*\n\n The naming of control points:\n\n / a -------- b \\\n / \\\n h c\n | |\n | |\n | |\n g d\n \\ /\n \\ f -------- e /\n\n */\n const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [\n x + width, y + height - rBtm\n ], e = [\n x + width - rBtm,\n y + height\n ], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];\n const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));\n // Inside stacks, cut off part of the top\n if (cutTop) {\n const base = applyPythagoras(rTop, rTop - cutTop);\n a[0] -= base;\n b[0] += base;\n c[1] = h[1] = y + rTop - cutTop;\n }\n // Column is lower than the radius. Cut off bottom inside the top\n // radius.\n if (height < rTop - cutTop) {\n const base = applyPythagoras(rTop, rTop - cutTop - height);\n c[0] = d[0] = x + width - rTop + base;\n e[0] = Math.min(c[0], e[0]);\n f[0] = Math.max(d[0], f[0]);\n g[0] = h[0] = x + rTop - base;\n c[1] = h[1] = y + height;\n }\n // Inside stacks, cut off part of the bottom\n if (cutBtm) {\n const base = applyPythagoras(rBtm, rBtm - cutBtm);\n e[0] += base;\n f[0] -= base;\n d[1] = g[1] = y + height - rBtm + cutBtm;\n }\n // Cut off top inside the bottom radius\n if (height < rBtm - cutBtm) {\n const base = applyPythagoras(rBtm, rBtm - cutBtm - height);\n c[0] = d[0] = x + width - rBtm + base;\n b[0] = Math.min(c[0], b[0]);\n a[0] = Math.max(d[0], a[0]);\n g[0] = h[0] = x + rBtm - base;\n d[1] = g[1] = y;\n }\n // Preserve the box for data labels\n path.length = 0;\n path.push(['M', ...a], \n // Top side\n ['L', ...b], \n // Top right corner\n ['A', rTop, rTop, 0, 0, 1, ...c], \n // Right side\n ['L', ...d], \n // Bottom right corner\n ['A', rBtm, rBtm, 0, 0, 1, ...e], \n // Bottom side\n ['L', ...f], \n // Bottom left corner\n ['A', rBtm, rBtm, 0, 0, 1, ...g], \n // Left side\n ['L', ...h], \n // Top left corner\n ['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);\n return path;\n}\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * Detailed options for border radius.\n *\n * @sample {highcharts} highcharts/plotoptions/column-borderradius/\n * Rounded columns\n * @sample highcharts/plotoptions/series-border-radius\n * Column and pie with rounded border\n *\n * @interface Highcharts.BorderRadiusOptionsObject\n */ /**\n* The border radius. A number signifies pixels. A percentage string, like for\n* example `50%`, signifies a relative size. For columns this is relative to the\n* column width, for pies it is relative to the radius and the inner radius.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius/\n* Rounded columns\n* @sample highcharts/plotoptions/series-border-radius\n* Column and pie with rounded border\n*\n* @name Highcharts.BorderRadiusOptionsObject#radius\n* @type {string|number|undefined}\n*/ /**\n* The scope of the rounding for column charts or plot bands. In a stacked\n* column chart, the value `point` means each single point will get rounded\n* corners. The value `stack` means the rounding will apply to the full\n* stack, so that only points close to the top or bottom will receive\n* rounding.\n*\n* Similarly, for plot bands, the `individual` value means each plot band\n* will get rounded corners.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius/\n* Rounded columns\n*\n* @name Highcharts.BorderRadiusOptionsObject#scope\n* @type {\"individual\"|\"point\"|\"stack\"|undefined}\n*/ /**\n* For column charts, where in the point or stack to apply rounding. The `end`\n* value means only those corners at the point value will be rounded, leaving\n* the corners at the base or threshold unrounded. This is the most intuitive\n* behavior. The `all` value means also the base will be rounded.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all\n* Rounding on all corners\n*\n* @name Highcharts.BorderRadiusOptionsObject#where\n* @type {\"all\"|\"end\"|undefined}\n* @default end\n*/\n(''); // Keeps doclets above in JS file\n"],"x_google_ignoreList":[0],"mappings":";;AAcA,IAAM,EAAE,sBAAmBA,GAErB,EAAE,YAASC,GAOX,IAA6B;CAC/B,QAAQ;CACR,OAAO;CACP,OAAO,KAAK;AAChB,GAMI,IAAS,GACT,IAAiB;AAOrB,SAAS,EAAkB,GAAM,GAAG,GAAG;CACnC,IAAM,IAAI,EAAK,IACX,IAAI,EAAK,IAAI;CACjB,AAAI,EAAE,OAAO,QACT,IAAI,EAAK;CAEb,IAAI,GAAM,GAAK;CAYf,KAVK,EAAE,OAAO,OAAO,EAAE,OAAO,QAAQ,EAAE,OAAO,OAC3C,IAAO,GACP,IAAM,GACN,IAAgB,MAGX,EAAE,OAAO,QAAQ,EAAE,OAAO,OAAO,EAAE,OAAO,SAC/C,IAAO,GACP,IAAM,IAEN,KAAQ,KAAO,EAAI,QAAQ;EAC3B,IAAM,IAAO,EAAI,IAGjB,IAAY,EAAI,IAAI,IA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,IAAO,EAAgB,GAAM,IAAO,CAAM;EAGhD,AAFA,EAAE,MAAM,GACR,EAAE,MAAM,GACR,EAAE,KAAK,EAAE,KAAK,IAAI,IAAS,IAAO;CACtC;CAEA,IAAI,IAAS,IAAO,GAAQ;EACxB,IAAM,IAAO,EAAgB,GAAM,IAAO,IAAS,CAAM;EAKzD,AAJA,EAAE,KAAK,EAAE,KAAK,IAAI,IAAQ,IAAO,GACjC,EAAE,KAAK,KAAK,IAAI,EAAE,IAAI,EAAE,EAAE,GAC1B,EAAE,KAAK,KAAK,IAAI,EAAE,IAAI,EAAE,EAAE,GAC1B,EAAE,KAAK,EAAE,KAAK,IAAI,IAAO,GACzB,EAAE,KAAK,EAAE,KAAK;CAClB;CAoBA,OAlBA,EAAK,SAAS,GACd,EAAK,KAAK,CAAC,KAAK,GAAG,CAAC,GAEpB,CAAC,KAAK,GAAG,CAAC,GAEV;EAAC;EAAK;EAAM;EAAM;EAAG;EAAG;EAAG,GAAG;CAAC,GAE/B,CAAC,KAAK,GAAG,CAAC,GAEV;EAAC;EAAK;EAAM;EAAM;EAAG;EAAG;EAAG,GAAG;CAAC,GAE/B,CAAC,KAAK,GAAG,CAAC,GAEV;EAAC;EAAK;EAAM;EAAM;EAAG;EAAG;EAAG,GAAG;CAAC,GAE/B,CAAC,KAAK,GAAG,CAAC,GAEV;EAAC;EAAK;EAAM;EAAM;EAAG;EAAG;EAAG,GAAG;CAAC,GAAG,CAAC,GAAG,CAAC,GAChC;AACX"}
|
|
1
|
+
{"version":3,"file":"BorderRadius-Cois3N8q.js","names":["D","H"],"sources":["../node_modules/highcharts/es-modules/Extensions/BorderRadius.js"],"sourcesContent":["/* *\n *\n * Highcharts Border Radius module\n *\n * Author: Torstein Hønsi\n *\n * Integration of this software requires a license.\n * - For commercial use, see www.highcharts.com/license\n * - For non-commercial, see www.highcharts.com/license-eula\n *\n *\n * */\n'use strict';\nimport D from '../Core/Defaults.js';\nconst { defaultOptions } = D;\nimport H from '../Core/Globals.js';\nconst { noop } = H;\nimport { addEvent, extend, isObject, merge, relativeLength } from '../Shared/Utilities.js';\n/* *\n *\n * Constants\n *\n * */\nconst defaultBorderRadiusOptions = {\n radius: 0,\n scope: 'stack',\n where: void 0\n};\n/* *\n *\n * Variables\n *\n * */\nlet oldArc = noop;\nlet oldRoundedRect = noop;\n/* *\n *\n * Functions\n *\n * */\n/** @internal */\nfunction applyBorderRadius(path, i, r) {\n const a = path[i];\n let b = path[i + 1];\n if (b[0] === 'Z') {\n b = path[0];\n }\n let line, arc, fromLineToArc;\n // From straight line to arc\n if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {\n line = a;\n arc = b;\n fromLineToArc = true;\n // From arc to straight line\n }\n else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {\n line = b;\n arc = a;\n }\n if (line && arc && arc.params) {\n const bigR = arc[1], \n // In our use cases, outer pie slice arcs are clockwise and inner\n // arcs (donut/sunburst etc) are anti-clockwise\n clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;\n // Some geometric constants\n const relativeR = clockwise ? (bigR - r) : (bigR + r), \n // The angle, on the big arc, that the border radius arc takes up\n angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?\n angleOfBorderRadius :\n -angleOfBorderRadius, \n // The distance along the radius of the big arc to the starting\n // point of the small border radius arc\n distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *\n relativeR);\n // From line to arc\n if (fromLineToArc) {\n // Update the cache\n params.start = start + angleOffset;\n // First move to the start position at the radial line. We want to\n // start one borderRadius closer to the center.\n line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);\n line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);\n // Now draw an arc towards the point where the small circle touches\n // the great circle.\n path.splice(i + 1, 0, [\n 'A',\n r,\n r,\n 0, // Slanting,\n 0, // Long arc\n 1, // Clockwise\n cx + bigR * Math.cos(params.start),\n cy + bigR * Math.sin(params.start)\n ]);\n // From arc to line\n }\n else {\n // Update the cache\n params.end = end - angleOffset;\n // End the big arc a bit earlier\n arc[6] = cx + bigR * Math.cos(params.end);\n arc[7] = cy + bigR * Math.sin(params.end);\n // Draw a small arc towards a point on the end angle, but one\n // borderRadius closer to the center relative to the perimeter.\n path.splice(i + 1, 0, [\n 'A',\n r,\n r,\n 0,\n 0,\n 1,\n cx + distanceBigCenterToStartArc * Math.cos(end),\n cy + distanceBigCenterToStartArc * Math.sin(end)\n ]);\n }\n // Long or short arc must be reconsidered because we have modified the\n // start and end points\n arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;\n }\n}\n/**\n * Extend arc with borderRadius.\n * @internal\n */\nfunction arc(x, y, w, h, options = {}) {\n const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;\n if (options.open || !options.borderRadius) {\n return path;\n }\n const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR), \n // Cap to half the sector radius\n (r - innerR) / 2, \n // For smaller pie slices, cap to the largest small circle that\n // can be fitted within the sector\n (r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0), \n // For the inner radius, we need an extra cap because the inner arc\n // is shorter than the outer arc\n innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);\n // Apply turn-by-turn border radius. Start at the end since we're\n // splicing in arc segments.\n let i = path.length - 1;\n while (i--) {\n if ((!brStart && (i === 0 || i === 3)) ||\n (!brEnd && (i === 1 || i === 2))) {\n continue;\n }\n applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);\n }\n return path;\n}\n/** @internal */\nfunction seriesOnAfterColumnTranslate() {\n if (this.options.borderRadius &&\n !(this.chart.is3d && this.chart.is3d())) {\n const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]\n ?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;\n for (const point of this.points) {\n const { shapeArgs } = point;\n if (point.shapeType === 'roundedRect' && shapeArgs) {\n const { width = 0, height = 0, y = 0 } = shapeArgs;\n let brBoxY = y, brBoxHeight = height;\n // It would be nice to refactor StackItem.getStackBox/\n // setOffset so that we could get a reliable box out of\n // it. Currently it is close if we remove the label\n // offset, but we still need to run crispCol and also\n // flip it if inverted, so atm it is simpler to do it\n // like the below.\n if (borderRadius.scope === 'stack' &&\n point.stackTotal) {\n const stackEnd = yAxis.translate(percent ? 100 : point.stackTotal, false, true, false, true), stackThreshold = yAxis.translate(options.threshold || 0, false, true, false, true), box = this.crispCol(0, Math.min(stackEnd, stackThreshold), 0, Math.abs(stackEnd - stackThreshold));\n brBoxY = box.y;\n brBoxHeight = box.height;\n }\n const flip = (point.negative ? -1 : 1) *\n (reversed ? -1 : 1) === -1;\n // Handle the where option\n let where = borderRadius.where;\n // Waterfall, hanging columns should have rounding on\n // all sides\n if (!where &&\n this.is('waterfall') &&\n Math.abs((point.yBottom || 0) -\n (this.translatedThreshold || 0)) > this.borderWidth) {\n where = 'all';\n }\n if (!where) {\n where = 'end';\n }\n // Get the radius\n const r = Math.min(relativeLength(borderRadius.radius, width), width / 2, \n // Cap to the height, but not if where is `end`\n where === 'all' ? brBoxHeight / 2 : Infinity) || 0;\n // If the `where` option is 'end', cut off the\n // rectangles by making the border-radius box one r\n // greater, so that the imaginary radius falls outside\n // the rectangle.\n if (where === 'end') {\n if (flip) {\n brBoxY -= r;\n brBoxHeight += r;\n }\n else {\n brBoxHeight += r;\n }\n }\n extend(shapeArgs, { brBoxHeight, brBoxY, r });\n }\n }\n }\n}\n/** @internal */\nexport function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {\n const PieSeriesClass = SeriesClass.types.pie;\n if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {\n const symbols = SVGRendererClass.prototype.symbols;\n addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {\n // After columnrange and polar column modifications\n order: 9\n });\n addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);\n SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');\n oldArc = symbols.arc;\n oldRoundedRect = symbols.roundedRect;\n symbols.arc = arc;\n symbols.roundedRect = roundedRect;\n }\n}\n/**\n * Utility function to get the full border radius options object, from a simple\n * number or a partial options object.\n * @internal\n */\nexport function borderRadiusObject(options, seriesBROptions) {\n if (!isObject(options)) {\n options = { radius: options || 0 };\n }\n return merge(defaultBorderRadiusOptions, seriesBROptions, options);\n}\n/** @internal */\nfunction pieSeriesOnAfterTranslate() {\n const borderRadius = borderRadiusObject(this.options.borderRadius);\n for (const point of this.points) {\n const shapeArgs = point.shapeArgs;\n if (shapeArgs) {\n shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));\n }\n }\n}\n/**\n * Extend roundedRect with individual cutting through rOffset.\n * @internal\n */\nfunction roundedRect(x, y, width, height, options = {}) {\n const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height), \n // When the distance to the border-radius box is greater than the r\n // itself, it means no border radius. The -0.1 accounts for float\n // rounding errors.\n rTop = (brOffsetTop - r) > -0.1 ? 0 : r, rBtm = (brOffsetBtm - r) > -0.1 ? 0 : r, cutTop = Math.max(rTop && brOffsetTop, 0), cutBtm = Math.max(rBtm && brOffsetBtm, 0);\n /*\n\n The naming of control points:\n\n / a -------- b \\\n / \\\n h c\n | |\n | |\n | |\n g d\n \\ /\n \\ f -------- e /\n\n */\n const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [\n x + width, y + height - rBtm\n ], e = [\n x + width - rBtm,\n y + height\n ], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];\n const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));\n // Inside stacks, cut off part of the top\n if (cutTop) {\n const base = applyPythagoras(rTop, rTop - cutTop);\n a[0] -= base;\n b[0] += base;\n c[1] = h[1] = y + rTop - cutTop;\n }\n // Column is lower than the radius. Cut off bottom inside the top\n // radius.\n if (height < rTop - cutTop) {\n const base = applyPythagoras(rTop, rTop - cutTop - height);\n c[0] = d[0] = x + width - rTop + base;\n e[0] = Math.min(c[0], e[0]);\n f[0] = Math.max(d[0], f[0]);\n g[0] = h[0] = x + rTop - base;\n c[1] = h[1] = y + height;\n }\n // Inside stacks, cut off part of the bottom\n if (cutBtm) {\n const base = applyPythagoras(rBtm, rBtm - cutBtm);\n e[0] += base;\n f[0] -= base;\n d[1] = g[1] = y + height - rBtm + cutBtm;\n }\n // Cut off top inside the bottom radius\n if (height < rBtm - cutBtm) {\n const base = applyPythagoras(rBtm, rBtm - cutBtm - height);\n c[0] = d[0] = x + width - rBtm + base;\n b[0] = Math.min(c[0], b[0]);\n a[0] = Math.max(d[0], a[0]);\n g[0] = h[0] = x + rBtm - base;\n d[1] = g[1] = y;\n }\n // Preserve the box for data labels\n path.length = 0;\n path.push(['M', ...a], \n // Top side\n ['L', ...b], \n // Top right corner\n ['A', rTop, rTop, 0, 0, 1, ...c], \n // Right side\n ['L', ...d], \n // Bottom right corner\n ['A', rBtm, rBtm, 0, 0, 1, ...e], \n // Bottom side\n ['L', ...f], \n // Bottom left corner\n ['A', rBtm, rBtm, 0, 0, 1, ...g], \n // Left side\n ['L', ...h], \n // Top left corner\n ['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);\n return path;\n}\n/* *\n *\n * API Declarations\n *\n * */\n/**\n * Detailed options for border radius.\n *\n * @sample {highcharts} highcharts/plotoptions/column-borderradius/\n * Rounded columns\n * @sample highcharts/plotoptions/series-border-radius\n * Column and pie with rounded border\n *\n * @interface Highcharts.BorderRadiusOptionsObject\n */ /**\n* The border radius. A number signifies pixels. A percentage string, like for\n* example `50%`, signifies a relative size. For columns this is relative to the\n* column width, for pies it is relative to the radius and the inner radius.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius/\n* Rounded columns\n* @sample highcharts/plotoptions/series-border-radius\n* Column and pie with rounded border\n*\n* @name Highcharts.BorderRadiusOptionsObject#radius\n* @type {string|number|undefined}\n*/ /**\n* The scope of the rounding for column charts or plot bands. In a stacked\n* column chart, the value `point` means each single point will get rounded\n* corners. The value `stack` means the rounding will apply to the full\n* stack, so that only points close to the top or bottom will receive\n* rounding.\n*\n* Similarly, for plot bands, the `individual` value means each plot band\n* will get rounded corners.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius/\n* Rounded columns\n*\n* @name Highcharts.BorderRadiusOptionsObject#scope\n* @type {\"individual\"|\"point\"|\"stack\"|undefined}\n*/ /**\n* For column charts, where in the point or stack to apply rounding. The `end`\n* value means only those corners at the point value will be rounded, leaving\n* the corners at the base or threshold unrounded. This is the most intuitive\n* behavior. The `all` value means also the base will be rounded.\n*\n* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all\n* Rounding on all corners\n*\n* @name Highcharts.BorderRadiusOptionsObject#where\n* @type {\"all\"|\"end\"|undefined}\n* @default end\n*/\n(''); // Keeps doclets above in JS file\n"],"x_google_ignoreList":[0],"mappings":";;AAcA,IAAM,EAAE,sBAAmBA,GAErB,EAAE,YAASC,GAOX,IAA6B;CAC/B,QAAQ;CACR,OAAO;CACP,OAAO,KAAK;AAChB,GAMI,IAAS,GACT,IAAiB;AAOrB,SAAS,EAAkB,GAAM,GAAG,GAAG;CACnC,IAAM,IAAI,EAAK,IACX,IAAI,EAAK,IAAI;CACjB,AAAI,EAAE,OAAO,QACT,IAAI,EAAK;CAEb,IAAI,GAAM,GAAK;CAYf,KAVK,EAAE,OAAO,OAAO,EAAE,OAAO,QAAQ,EAAE,OAAO,OAC3C,IAAO,GACP,IAAM,GACN,IA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, g as b, h as x, i as S, k as C, lt as w, p as T, s as E, t as D, tt as O, u as k, w as A, y as j, z as M } from "./AnimationUtilities-
|
|
2
|
-
import { n as ee, r as N, t as P } from "./SeriesRegistry-
|
|
3
|
-
import { t as te } from "./SVGElement-
|
|
1
|
+
import { $ as e, E as t, G as n, H as r, J as i, K as a, M as o, N as s, O as c, P as l, R as u, S as d, T as f, U as p, _ as m, at as h, b as g, c as _, d as v, et as y, g as b, h as x, i as S, k as C, lt as w, p as T, s as E, t as D, tt as O, u as k, w as A, y as j, z as M } from "./AnimationUtilities-eb22eIjK.js";
|
|
2
|
+
import { n as ee, r as N, t as P } from "./SeriesRegistry-CDI1sm9L.js";
|
|
3
|
+
import { t as te } from "./SVGElement-z7ENyQ6Y.js";
|
|
4
4
|
//#region node_modules/highcharts/es-modules/Core/Foundation.js
|
|
5
5
|
var F;
|
|
6
6
|
(function(e) {
|