@carbon/charts 1.27.3 → 1.27.10
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 +72 -0
- package/dist/{angle-utils-jnw9HSFu.mjs → angle-utils-Dy0Gf7Eb.mjs} +42 -42
- package/dist/{angle-utils-jnw9HSFu.mjs.map → angle-utils-Dy0Gf7Eb.mjs.map} +1 -1
- package/dist/{array-CmsYzTI6.mjs → array-D6ni_TQq.mjs} +2 -2
- package/dist/{array-CmsYzTI6.mjs.map → array-D6ni_TQq.mjs.map} +1 -1
- package/dist/{axis-scales-CPuwbFQf.mjs → axis-scales-CFRGPXH8.mjs} +26 -25
- package/dist/{axis-scales-CPuwbFQf.mjs.map → axis-scales-CFRGPXH8.mjs.map} +1 -1
- package/dist/{choropleth-CKAPopp2.mjs → choropleth-TkZkP8Rn.mjs} +2215 -2190
- package/dist/choropleth-TkZkP8Rn.mjs.map +1 -0
- package/dist/{color-scale-utils-BzjNNGXE.mjs → color-scale-utils-C4KU2jNr.mjs} +128 -85
- package/dist/color-scale-utils-C4KU2jNr.mjs.map +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/{index-DVamZWt0.mjs → index-CHbrPDmO.mjs} +125 -132
- package/dist/index-CHbrPDmO.mjs.map +1 -0
- package/dist/index-CLdAL6df.mjs +64 -0
- package/dist/index-CLdAL6df.mjs.map +1 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +211 -190
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.mjs +37 -36
- package/dist/model/index.mjs +35 -35
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.cjs +16 -16
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +16 -16
- package/package.json +6 -5
- package/dist/choropleth-CKAPopp2.mjs.map +0 -1
- package/dist/color-scale-utils-BzjNNGXE.mjs.map +0 -1
- package/dist/index-DVamZWt0.mjs.map +0 -1
- package/dist/index-DwV8lNnO.mjs +0 -63
- package/dist/index-DwV8lNnO.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as f, k as i, i as b } from "./color-scale-utils-
|
|
1
|
+
import { b as f, k as i, i as b } from "./color-scale-utils-C4KU2jNr.mjs";
|
|
2
2
|
function h(r, n) {
|
|
3
3
|
return r && f(r, n, i);
|
|
4
4
|
}
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
g as c,
|
|
30
30
|
k as s
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=array-
|
|
32
|
+
//# sourceMappingURL=array-D6ni_TQq.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-
|
|
1
|
+
{"version":3,"file":"array-D6ni_TQq.mjs","sources":["../../../node_modules/lodash-es/_baseForOwn.js","../../../node_modules/lodash-es/_createBaseEach.js","../../../node_modules/lodash-es/_baseEach.js","../../../node_modules/d3/node_modules/d3-shape/src/constant.js","../../../node_modules/d3/node_modules/d3-shape/src/array.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n","export default function(x) {\n return function constant() {\n return x;\n };\n}\n","export var slice = Array.prototype.slice;\n\nexport default function(x) {\n return typeof x === \"object\" && \"length\" in x\n ? x // Array, TypedArray, NodeList, array-like\n : Array.from(x); // Map, Set, iterable, string, or anything else\n}\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","constant","x","slice","array"],"mappings":";AAWA,SAASA,EAAWC,GAAQC,GAAU;AACpC,SAAOD,KAAUE,EAAQF,GAAQC,GAAUE,CAAI;AACjD;ACHA,SAASC,EAAeC,GAAUC,GAAW;AAC3C,SAAO,SAASC,GAAYN,GAAU;AACpC,QAAIM,KAAc;AAChB,aAAOA;AAET,QAAI,CAACC,EAAYD,CAAU;AACzB,aAAOF,EAASE,GAAYN,CAAQ;AAMtC,aAJIQ,IAASF,EAAW,QACpBG,IAA6B,IAC7BC,IAAW,OAAOJ,CAAU,GAEF,EAAEG,IAAQD,KAClCR,EAASU,EAASD,CAAK,GAAGA,GAAOC,CAAQ,MAAM;AAAnD;AAIF,WAAOJ;AAAA,EACT;AACF;AClBG,IAACK,IAAWR,EAAeL,CAAU;ACXzB,SAAAc,EAASC,GAAG;AACzB,SAAO,WAAoB;AACzB,WAAOA;AAAA,EACT;AACF;ACJU,IAACC,IAAQ,MAAM,UAAU;AAEpB,SAAAC,EAASF,GAAG;AACzB,SAAO,OAAOA,KAAM,YAAY,YAAYA,IACxCA,IACA,MAAM,KAAKA,CAAC;AAClB;","x_google_ignoreList":[0,1,2,3,4]}
|
|
@@ -31,36 +31,37 @@ const H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
31
31
|
}, Symbol.toStringTag, { value: "Module" })), _E = H;
|
|
32
32
|
var D = /* @__PURE__ */ ((E) => (E.HTML = "html", E.SVG = "svg", E))(D || {}), g = /* @__PURE__ */ ((E) => (E.WHITE = "white", E.G100 = "g100", E.G90 = "g90", E.G10 = "g10", E))(g || {}), h = /* @__PURE__ */ ((E) => (E.BACKGROUND = "background", E.FILL = "fill", E.STROKE = "stroke", E.TOOLTIP = "tooltip", E))(h || {}), b = /* @__PURE__ */ ((E) => (E.LEFT = "left", E.RIGHT = "right", E.TOP = "top", E.BOTTOM = "bottom", E))(b || {}), f = /* @__PURE__ */ ((E) => (E.GRAPH_VIEW = "graph_view", E.SLIDER_VIEW = "slider_view", E))(f || {}), K = /* @__PURE__ */ ((E) => (E.END_LINE = "end_line", E.MID_LINE = "mid_line", E.FRONT_LINE = "front_line", E.NONE = "none", E))(K || {}), w = /* @__PURE__ */ ((E) => (E.VERTICAL = "vertical", E.HORIZONTAL = "horizontal", E))(w || {}), F = /* @__PURE__ */ ((E) => (E.TIME = "time", E.LINEAR = "linear", E.LOG = "log", E.LABELS = "labels", E.LABELS_RATIO = "labels-ratio", E))(F || {}), P = /* @__PURE__ */ ((E) => (E.RIGHT = "right", E.LEFT = "left", E.TOP = "top", E.BOTTOM = "bottom", E))(P || {}), k = /* @__PURE__ */ ((E) => (E.LEFT = "left", E.CENTER = "center", E.RIGHT = "right", E))(k || {}), G = /* @__PURE__ */ ((E) => (E.HORIZONTAL = "horizontal", E.VERTICAL = "vertical", E))(G || {}), X = /* @__PURE__ */ ((E) => (E.TREE = "tree", E.DENDROGRAM = "dendrogram", E))(X || {}), W = /* @__PURE__ */ ((E) => (E.ROW = "row", E.COLUMN = "column", E.ROW_REVERSE = "row-reverse", E.COLUMN_REVERSE = "column-reverse", E))(W || {}), z = /* @__PURE__ */ ((E) => (E.FIXED = "fixed", E.PREFERRED = "preferred", E.STRETCH = "stretch", E))(z || {}), q = /* @__PURE__ */ ((E) => (E.CENTER = "center", E))(q || {}), B = /* @__PURE__ */ ((E) => (E.LEFT = "left", E.RIGHT = "right", E))(B || {}), Z = /* @__PURE__ */ ((E) => (E.GRID = "grid", E.VERT_OR_HORIZ = "vertOrHoriz", E.PIE = "pie", E.DONUT = "donut", E))(Z || {}), x = /* @__PURE__ */ ((E) => (E.START = "start", E.MIDDLE = "middle", E.END = "end", E))(x || {}), J = /* @__PURE__ */ ((E) => (E.BASELINE = "baseline", E.MIDDLE = "middle", E.HANGING = "hanging", E))(J || {}), Q = /* @__PURE__ */ ((E) => (E.SEMI = "semi", E.FULL = "full", E))(Q || {}), Y = /* @__PURE__ */ ((E) => (E.UP = "up", E.DOWN = "down", E))(Y || {}), $ = /* @__PURE__ */ ((E) => (E.SUCCESS = "success", E.WARNING = "warning", E.DANGER = "danger", E))($ || {}), j = /* @__PURE__ */ ((E) => (E.ALWAYS = "always", E.AUTO = "auto", E.NEVER = "never", E))(j || {}), p = /* @__PURE__ */ ((E) => (E.SCATTER = "scatter", E.LINE = "line", E.SIMPLE_BAR = "simple-bar", E.STACKED_BAR = "stacked-bar", E.GROUPED_BAR = "grouped-bar", E.AREA = "area", E.STACKED_AREA = "stacked-area", E))(p || {}), y = /* @__PURE__ */ ((E) => (E.EXPORT_CSV = "Export as CSV", E.EXPORT_PNG = "Export as PNG", E.EXPORT_JPG = "Export as JPG", E.ZOOM_IN = "Zoom in", E.ZOOM_OUT = "Zoom out", E.RESET_ZOOM = "Reset zoom", E.MAKE_FULLSCREEN = "Make fullscreen", E.EXIT_FULLSCREEN = "Exit fullscreen", E.SHOW_AS_DATATABLE = "Show as data-table", E.CUSTOM = "Custom", E))(y || {}), EE = /* @__PURE__ */ ((E) => (E.LEFT = "left", E.RIGHT = "right", E))(EE || {}), rE = /* @__PURE__ */ ((E) => (E.CHECKBOX = "checkbox", E.RADIUS = "radius", E.AREA = "area", E.SIZE = "size", E.LINE = "line", E.QUARTILE = "quartile", E.ZOOM = "zoom", E))(rE || {}), OE = /* @__PURE__ */ ((E) => (E.LINEAR = "linear", E.QUANTIZE = "quantize", E))(OE || {}), eE = /* @__PURE__ */ ((E) => (E.ON = "on", E.AUTO = "auto", E.OFF = "off", E))(eE || {}), uE = /* @__PURE__ */ ((E) => (E.DEFAULT = "default", E.HOVERABLE = "hoverable", E))(uE || {}), aE = /* @__PURE__ */ ((E) => (E.geoEqualEarth = "geoEqualEarth", E.geoAlbers = "geoAlbers", E.geoConicEqualArea = "geoConicEqualArea", E.geoConicEquidistant = "geoConicEquidistant", E.geoEquirectangular = "geoEquirectangular", E.geoMercator = "geoMercator", E.geoNaturalEarth1 = "geoNaturalEarth1", E))(aE || {}), oE = /* @__PURE__ */ ((E) => (E["15seconds"] = "15seconds", E.minute = "minute", E["30minutes"] = "30minutes", E.hourly = "hourly", E.daily = "daily", E.weekly = "weekly", E.monthly = "monthly", E.quarterly = "quarterly", E.yearly = "yearly", E))(oE || {});
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
a as $,
|
|
35
35
|
k as A,
|
|
36
36
|
S as B,
|
|
37
37
|
B as C,
|
|
38
38
|
eE as D,
|
|
39
39
|
H as E,
|
|
40
|
-
|
|
40
|
+
I as F,
|
|
41
41
|
U as G,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
Z as H,
|
|
43
|
+
$ as I,
|
|
44
|
+
A as J,
|
|
45
|
+
j as K,
|
|
46
46
|
q as L,
|
|
47
47
|
O as M,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
oE as N,
|
|
49
|
+
y as O,
|
|
50
50
|
M as P,
|
|
51
|
-
|
|
51
|
+
n as Q,
|
|
52
52
|
c as R,
|
|
53
53
|
F as S,
|
|
54
54
|
x as T,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
L as U,
|
|
56
|
+
X as V,
|
|
57
|
+
m as W,
|
|
58
|
+
K as X,
|
|
59
|
+
s as Y,
|
|
60
60
|
f as Z,
|
|
61
|
-
|
|
61
|
+
o as _,
|
|
62
62
|
R as a,
|
|
63
|
-
|
|
63
|
+
_E as a0,
|
|
64
|
+
d as a1,
|
|
64
65
|
Y as b,
|
|
65
66
|
t as c,
|
|
66
67
|
uE as d,
|
|
@@ -78,13 +79,13 @@ export {
|
|
|
78
79
|
Q as p,
|
|
79
80
|
W as q,
|
|
80
81
|
z as r,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
N as s,
|
|
83
|
+
rE as t,
|
|
84
|
+
G as u,
|
|
85
|
+
P as v,
|
|
86
|
+
l as w,
|
|
87
|
+
e as x,
|
|
88
|
+
aE as y,
|
|
89
|
+
D as z
|
|
89
90
|
};
|
|
90
|
-
//# sourceMappingURL=axis-scales-
|
|
91
|
+
//# sourceMappingURL=axis-scales-CFRGPXH8.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axis-scales-CPuwbFQf.mjs","sources":["../src/interfaces/events.ts","../src/interfaces/enums.ts","../src/interfaces/axis-scales.ts"],"sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout'\n}\n\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal'\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update'\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n\tBUTTON_CLICK = 'toolbar-button-click',\n\tSHOW_TOOLTIP = 'toolbar-show-tooltip',\n\tHIDE_TOOLTIP = 'toolbar-hide-tooltip'\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end'\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change'\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out'\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n\tLABEL_FOCUS = 'axis-label-focus',\n\tLABEL_BLUR = 'axis-label-blur',\n\tRENDER_COMPLETE = 'axis-render-complete'\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout'\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout'\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout'\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout'\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout'\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout'\n}\n\n/**\n * enum of all tree graph events\n */\nexport enum Tree {\n\tNODE_MOUSEOVER = 'tree-node-mouseover',\n\tNODE_CLICK = 'tree-node-click',\n\tNODE_MOUSEOUT = 'tree-node-mouseout'\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout'\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip'\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold'\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update'\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove'\n}\n\n/**\n * enum of all alluvial related events\n */\nexport enum Alluvial {\n\tNODE_MOUSEOVER = 'alluvial-node-mouseover',\n\tNODE_CLICK = 'alluvial-node-click',\n\tNODE_MOUSEOUT = 'alluvial-node-mouseout',\n\tNODE_MOUSEMOVE = 'alluvial-node-mousemove',\n\tLINE_MOUSEOVER = 'alluvial-line-mouseover',\n\tLINE_CLICK = 'alluvial-line-click',\n\tLINE_MOUSEOUT = 'alluvial-line-mouseout',\n\tLINE_MOUSEMOVE = 'alluvial-line-mousemove'\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove'\n}\n\n/**\n * enum of all heatmap related events\n */\nexport enum Heatmap {\n\tHEATMAP_MOUSEOVER = 'heatmap-mouseover',\n\tHEATMAP_CLICK = 'heatmap-click',\n\tHEATMAP_MOUSEOUT = 'heatmap-mouseout',\n\tHEATMAP_MOUSEMOVE = 'hetmap-mousemove'\n}\n\n/**\n * enum of all choropleth related events\n */\nexport enum Choropleth {\n\tCHOROPLETH_MOUSEOVER = 'choropleth-mouseover',\n\tCHOROPLETH_CLICK = 'choropleth-click',\n\tCHOROPLETH_MOUSEOUT = 'choropleth-mouseout',\n\tCHOROPLETH_MOUSEMOVE = 'choropleth-mousemove'\n}\n","import * as EventEnums from './events'\nexport const Events = EventEnums\n\nexport enum RenderTypes {\n\tHTML = 'html',\n\tSVG = 'svg'\n}\n\n/**\n * enum of all supported chart themes\n */\nexport enum ChartTheme {\n\tWHITE = 'white',\n\tG100 = 'g100',\n\tG90 = 'g90',\n\tG10 = 'g10'\n}\n\n/**\n * enum of all color classname types\n */\nexport enum ColorClassNameTypes {\n\tBACKGROUND = 'background',\n\tFILL = 'fill',\n\tSTROKE = 'stroke',\n\tTOOLTIP = 'tooltip'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum AxisPositions {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum ZoomBarTypes {\n\tGRAPH_VIEW = 'graph_view',\n\tSLIDER_VIEW = 'slider_view'\n}\n\n/**\n * enum of all possible truncation types\n */\nexport enum TruncationTypes {\n\tEND_LINE = 'end_line',\n\tMID_LINE = 'mid_line',\n\tFRONT_LINE = 'front_line',\n\tNONE = 'none'\n}\n\n/**\n * enum of all possible cartesian orientations\n * to be used for determining the orientation\n * of graphs being draw over\n * cartesian scales\n */\nexport enum CartesianOrientations {\n\tVERTICAL = 'vertical',\n\tHORIZONTAL = 'horizontal'\n}\n\n/**\n * enum of all possible scale types\n */\nexport enum ScaleTypes {\n\tTIME = 'time',\n\tLINEAR = 'linear',\n\tLOG = 'log',\n\tLABELS = 'labels',\n\tLABELS_RATIO = 'labels-ratio'\n}\n\n/**\n * enum of all possible legend positions\n */\nexport enum LegendPositions {\n\tRIGHT = 'right',\n\tLEFT = 'left',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible alignments\n */\nexport enum Alignments {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible legend orientations\n */\nexport enum LegendOrientations {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical'\n}\n\n/**\n * enum of tree types for the tree chart\n */\nexport enum TreeTypes {\n\tTREE = 'tree',\n\tDENDROGRAM = 'dendrogram'\n}\n\n/**\n * enum of all possible layout directions\n */\nexport enum LayoutDirection {\n\tROW = 'row',\n\tCOLUMN = 'column',\n\tROW_REVERSE = 'row-reverse',\n\tCOLUMN_REVERSE = 'column-reverse'\n}\n\n/**\n * enum of all possible layout growth values\n */\nexport enum LayoutGrowth {\n\tFIXED = 'fixed',\n\tPREFERRED = 'preferred',\n\tSTRETCH = 'stretch'\n}\n\n/**\n * enum of all possible layout align-items values\n */\nexport enum LayoutAlignItems {\n\tCENTER = 'center'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum CalloutDirections {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible skeleton/empty state types\n */\nexport enum Skeletons {\n\tGRID = 'grid',\n\tVERT_OR_HORIZ = 'vertOrHoriz',\n\tPIE = 'pie',\n\tDONUT = 'donut'\n}\n\n/**\n * enum of all possible attributes used to aling text horizontally\n */\nexport enum TextAnchor {\n\tSTART = 'start',\n\tMIDDLE = 'middle',\n\tEND = 'end'\n}\n\n/**\n * enum of all possible attributes used to aling text vertically\n */\nexport enum DominantBaseline {\n\tBASELINE = 'baseline',\n\tMIDDLE = 'middle',\n\tHANGING = 'hanging'\n}\n\nexport enum GaugeTypes {\n\tSEMI = 'semi',\n\tFULL = 'full'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum ArrowDirections {\n\tUP = 'up',\n\tDOWN = 'down'\n}\n\n/**\n * enum of carbon statuses\n */\nexport enum Statuses {\n\tSUCCESS = 'success',\n\tWARNING = 'warning',\n\tDANGER = 'danger'\n}\n\n/**\n * enum of axis ticks rotation\n */\nexport enum TickRotations {\n\tALWAYS = 'always',\n\tAUTO = 'auto',\n\tNEVER = 'never'\n}\n\n/**\n * enum of chartTypes that work with combo chart\n */\nexport enum ChartTypes {\n\tSCATTER = 'scatter',\n\tLINE = 'line',\n\tSIMPLE_BAR = 'simple-bar',\n\tSTACKED_BAR = 'stacked-bar',\n\tGROUPED_BAR = 'grouped-bar',\n\tAREA = 'area',\n\tSTACKED_AREA = 'stacked-area'\n}\n\n/**\n * enum of supported toolbar control types\n */\nexport enum ToolbarControlTypes {\n\tEXPORT_CSV = 'Export as CSV',\n\tEXPORT_PNG = 'Export as PNG',\n\tEXPORT_JPG = 'Export as JPG',\n\tZOOM_IN = 'Zoom in',\n\tZOOM_OUT = 'Zoom out',\n\tRESET_ZOOM = 'Reset zoom',\n\tMAKE_FULLSCREEN = 'Make fullscreen',\n\tEXIT_FULLSCREEN = 'Exit fullscreen',\n\tSHOW_AS_DATATABLE = 'Show as data-table',\n\tCUSTOM = 'Custom'\n}\n\n/**\n * enum of title orientations for _vertical axes_\n */\nexport enum AxisTitleOrientations {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of legend item type\n */\nexport enum LegendItemType {\n\tCHECKBOX = 'checkbox',\n\tRADIUS = 'radius',\n\tAREA = 'area',\n\tSIZE = 'size',\n\tLINE = 'line',\n\tQUARTILE = 'quartile',\n\tZOOM = 'zoom'\n}\n\n/**\n * enum of color legend types\n */\nexport enum ColorLegendType {\n\tLINEAR = 'linear',\n\tQUANTIZE = 'quantize'\n}\n\n/**\n * enum of divider status for heatmap\n */\nexport enum DividerStatus {\n\tON = 'on',\n\tAUTO = 'auto',\n\tOFF = 'off'\n}\n\n/**\n * enum of axis flavor\n */\nexport enum AxisFlavor {\n\tDEFAULT = 'default',\n\tHOVERABLE = 'hoverable'\n}\n\n/**\n * enum of supported projection types\n */\nexport enum Projection {\n\t// Azimuthal Projections\n\tgeoEqualEarth = 'geoEqualEarth',\n\n\t// Conic projections\n\tgeoAlbers = 'geoAlbers',\n\tgeoConicEqualArea = 'geoConicEqualArea',\n\tgeoConicEquidistant = 'geoConicEquidistant',\n\n\t// Cylindrical projections\n\tgeoEquirectangular = 'geoEquirectangular',\n\tgeoMercator = 'geoMercator',\n\tgeoNaturalEarth1 = 'geoNaturalEarth1'\n}\n","import type { AxisDomain } from 'd3'\nimport type { Locale } from 'date-fns/locale'\nimport type { AxisTitleOrientations, ScaleTypes, TickRotations } from './enums'\nimport type { ThresholdOptions } from './components'\nimport type { TruncationOptions } from './truncation'\n\nexport interface BasedAxisOptions {\n\t/**\n\t * type of the scale used on axis\n\t */\n\tscaleType?: ScaleTypes\n\t/**\n\t * Whether the Axis should use the specified domain\n\t * instead of it being dynamically generated based on data extents.\n\t * The type of values should depend on the scale type.\n\t * Example for continuous axis scale: [-100, 100]\n\t * Example for discrete axis scale: ['Qty', 'More', 'Sold']\n\t * No need to define domain for percentage axis scale\n\t */\n\tdomain?: AxisDomain[]\n\t/**\n\t * an additional key from the charting data that is used to\n\t * extend the domain of an axis by\n\t * (e.g. in the bullet graph we need both the marker &\n\t * the data values to define the domain of the linear scale)\n\t */\n\textendLinearDomainBy?: string\n\t/**\n\t * Whether the Axis should be forced to include 0 as a starting point\n\t * (or ending point, in case of all negative axis).\n\t * Default: true\n\t */\n\tincludeZero?: boolean\n\t/**\n\t * identifies what key within the data the axis values would map to\n\t */\n\tmapsTo?: string\n\t/**\n\t * optional title for the scales\n\t */\n\ttitle?: string\n\t/**\n\t * Override for the orientation of the title (for vertical axes).\n\t * The title string can be overrided to be rotated left or right.\n\t */\n\ttitleOrientation?: AxisTitleOrientations | string\n\t/**\n\t * thresholds\n\t * @example\n\t * [\n\t *\t\t{ value: 10000 },\n\t *\t\t{ value: 40020, valueFormatter: (x) => x },\n\t *\t\t{ value: 55000, label: \"Custom label\", fillColor: \"#03a9f4\" },\n\t * ]\n\t */\n\tthresholds?: ThresholdOptions[]\n\t/**\n\t * tick configuration\n\t */\n\tticks?: {\n\t\t/**\n\t\t * number of ticks to show\n\t\t */\n\t\tnumber?: number\n\t\t/**\n\t\t * minimum tick value\n\t\t */\n\t\tmin?: number\n\t\t/**\n\t\t * maximum tick value\n\t\t */\n\t\tmax?: number\n\t\t/**\n\t\t * minimum width of a tick\n\t\t * before getting rotated (in pixels)\n\t\t */\n\t\trotateIfSmallerThan?: number\n\t\t/**\n\t\t * when to rotate ticks\n\t\t */\n\t\trotation?: TickRotations\n\t\t/**\n\t\t * function to format the ticks\n\t\t */\n\t\tformatter?: ((tick: number | Date, i: number) => string) | ((tick: number | Date) => string)\n\t\t/**\n\t\t * optional array of tick values that is within the domain of data\n\t\t */\n\t\tvalues?: any[]\n\t}\n\ttruncation?: TruncationOptions\n\t/**\n\t * is axis visible or not\n\t */\n\tvisible?: boolean\n\t/**\n\t * Bins to display (Histogram)\n\t * bins: 20\n\t * bins: [0, 20, 40, 60]\n\t * bins: [new Date(...), new Date(...), ...]\n\t */\n\tbins?: number | any[]\n\t/**\n\t * limit the visible axis domain to only the binned area\n\t */\n\tlimitDomainToBins?: boolean\n\t/**\n\t * should be set to `true` on the domain\n\t * axis that's being broken into bins\n\t */\n\tbinned?: boolean\n\t/**\n\t * used to map data on the secondary axis\n\t */\n\tcorrespondingDatasets?: Array<string>\n}\n\n/**\n * options to configure a scale. not all options are used by all scales\n */\nexport interface AxisOptions extends BasedAxisOptions {\n\t/**\n\t * option for stacked axis\n\t */\n\tstacked?: boolean\n\t/**\n\t * option for percentage axis scale\n\t */\n\tpercentage?: boolean\n}\n\nexport interface ComboChartAxisOptions extends AxisOptions {\n\t/**\n\t * should be set to `true` for the\n\t * left axis to be the primary axis\n\t */\n\tmain?: boolean\n}\n\nexport interface BinnedAxisOptions {\n\t/**\n\t * should be set to `true` on the domain\n\t * axis that's being broken into bins\n\t */\n\tbinned?: boolean\n\t/**\n\t * Bins to display (Histogram)\n\t * bins: 20\n\t * bins: [0, 20, 40, 60]\n\t * bins: [new Date(...), new Date(...), ...]\n\t */\n\tbins?: number | any[]\n\t/**\n\t * limit the visible axis domain to only the binned area\n\t */\n\tlimitDomainToBins?: boolean\n}\n\n/**\n * customize time series scales\n */\nexport interface TimeScaleOptions {\n\taddSpaceOnEdges?: number\n\t/**\n\t * if it's true, days are shown as mon-sun,\n\t * otherwise days are shown as number 1-31\n\t */\n\tshowDayName?: boolean\n\t/**\n\t * this can be used to override the time interval\n\t * that's chosen by the library\n\t */\n\ttimeInterval?: TimeIntervalNames\n\t/**\n\t * formats for each time interval\n\t */\n\ttimeIntervalFormats?: TimeIntervalFormats\n\t/**\n\t * locale object, for more information see https://date-fns.org/v2.11.0/docs/Locale.\n\t * example: `import { fr as localeObject } from 'date-fns/locale'`.\n\t * available locale objects are: https://github.com/date-fns/date-fns/tree/main/src/locale\n\t */\n\tlocaleObject?: Locale\n}\n\n/**\n * time scales: customize ticks format for different time intervals\n */\nexport interface TickFormats {\n\tprimary?: string\n\tsecondary?: string\n}\n\nexport enum TimeIntervalNames {\n\t'15seconds' = '15seconds',\n\tminute = 'minute',\n\t'30minutes' = '30minutes',\n\thourly = 'hourly',\n\tdaily = 'daily',\n\tweekly = 'weekly',\n\tmonthly = 'monthly',\n\tquarterly = 'quarterly',\n\tyearly = 'yearly'\n}\n\nexport interface TimeIntervalFormats {\n\t'15seconds'?: TickFormats\n\tminute?: TickFormats\n\t'30minutes'?: TickFormats\n\thourly?: TickFormats\n\tdaily?: TickFormats\n\tweekly?: TickFormats\n\tmonthly?: TickFormats\n\tquarterly?: TickFormats\n\tyearly?: TickFormats\n}\n\n/**\n * customize the axes components\n */\nexport interface AxesOptions<AxesOptionType> {\n\tleft?: AxesOptionType\n\tbottom?: AxesOptionType\n\tright?: AxesOptionType\n\ttop?: AxesOptionType\n}\n"],"names":["Chart","Modal","Model","Toolbar","ZoomBar","ZoomDomain","CanvasZoom","Axis","Area","WordCloud","Pie","Gauge","Bar","Boxplot","Scatter","Line","Radar","Tree","Treemap","Tooltip","Threshold","Legend","CirclePack","Alluvial","Meter","Heatmap","Choropleth","Events","EventEnums","RenderTypes","ChartTheme","ColorClassNameTypes","AxisPositions","ZoomBarTypes","TruncationTypes","CartesianOrientations","ScaleTypes","LegendPositions","Alignments","LegendOrientations","TreeTypes","LayoutDirection","LayoutGrowth","LayoutAlignItems","CalloutDirections","Skeletons","TextAnchor","DominantBaseline","GaugeTypes","ArrowDirections","Statuses","TickRotations","ChartTypes","ToolbarControlTypes","AxisTitleOrientations","LegendItemType","ColorLegendType","DividerStatus","AxisFlavor","Projection","TimeIntervalNames"],"mappings":"AAGO,IAAKA,sBAAAA,OACXA,EAAA,kBAAkB,mBAClBA,EAAA,SAAS,gBACTA,EAAA,YAAY,mBAGZA,EAAA,WAAW,kBANAA,IAAAA,KAAA,CAAA,CAAA,GAYAC,sBAAAA,OACXA,EAAA,OAAO,cACPA,EAAA,OAAO,cAFIA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACXA,EAAA,SAAS,gBADEA,IAAAA,KAAA,CAAA,CAAA,GAOAC,sBAAAA,OACXA,EAAA,qBAA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OACXA,EAAA,WAAW,YACXA,EAAA,SAAS,UACTA,EAAA,OAAO,QACPA,EAAA,OAAO,QACPA,EAAA,OAAO,QACPA,EAAA,WAAW,YACXA,EAAA,OAAO,QAPIA,IAAAA,MAAA,CAAA,CAAA,GAaAC,uBAAAA,OACXA,EAAA,SAAS,UACTA,EAAA,WAAW,YAFAA,IAAAA,MAAA,CAAA,CAAA,GAQAC,uBAAAA,OACXA,EAAA,KAAK,MACLA,EAAA,OAAO,QACPA,EAAA,MAAM,OAHKA,IAAAA,MAAA,CAAA,CAAA,GASAC,uBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,YAAY,aAFDA,IAAAA,MAAA,CAAA,CAAA,GAQAC,uBAAAA,OAEXA,EAAA,gBAAgB,iBAGhBA,EAAA,YAAY,aACZA,EAAA,oBAAoB,qBACpBA,EAAA,sBAAsB,uBAGtBA,EAAA,qBAAqB,sBACrBA,EAAA,cAAc,eACdA,EAAA,mBAAmB,oBAZRA,IAAAA,MAAA,CAAA,CAAA,GC3FAC,uBAAAA,OACXA,EAAA,WAAA,IAAc,aACdA,EAAA,SAAS,UACTA,EAAA,WAAA,IAAc,aACdA,EAAA,SAAS,UACTA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,UAAU,WACVA,EAAA,YAAY,aACZA,EAAA,SAAS,UATEA,IAAAA,MAAA,CAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"axis-scales-CFRGPXH8.mjs","sources":["../src/interfaces/events.ts","../src/interfaces/enums.ts","../src/interfaces/axis-scales.ts"],"sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout'\n}\n\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal'\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update'\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n\tBUTTON_CLICK = 'toolbar-button-click',\n\tSHOW_TOOLTIP = 'toolbar-show-tooltip',\n\tHIDE_TOOLTIP = 'toolbar-hide-tooltip'\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end'\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change'\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out'\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n\tLABEL_FOCUS = 'axis-label-focus',\n\tLABEL_BLUR = 'axis-label-blur',\n\tRENDER_COMPLETE = 'axis-render-complete'\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout'\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout'\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout'\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout'\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout'\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout'\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout'\n}\n\n/**\n * enum of all tree graph events\n */\nexport enum Tree {\n\tNODE_MOUSEOVER = 'tree-node-mouseover',\n\tNODE_CLICK = 'tree-node-click',\n\tNODE_MOUSEOUT = 'tree-node-mouseout'\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout'\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip'\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold'\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update'\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove'\n}\n\n/**\n * enum of all alluvial related events\n */\nexport enum Alluvial {\n\tNODE_MOUSEOVER = 'alluvial-node-mouseover',\n\tNODE_CLICK = 'alluvial-node-click',\n\tNODE_MOUSEOUT = 'alluvial-node-mouseout',\n\tNODE_MOUSEMOVE = 'alluvial-node-mousemove',\n\tLINE_MOUSEOVER = 'alluvial-line-mouseover',\n\tLINE_CLICK = 'alluvial-line-click',\n\tLINE_MOUSEOUT = 'alluvial-line-mouseout',\n\tLINE_MOUSEMOVE = 'alluvial-line-mousemove'\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove'\n}\n\n/**\n * enum of all heatmap related events\n */\nexport enum Heatmap {\n\tHEATMAP_MOUSEOVER = 'heatmap-mouseover',\n\tHEATMAP_CLICK = 'heatmap-click',\n\tHEATMAP_MOUSEOUT = 'heatmap-mouseout',\n\tHEATMAP_MOUSEMOVE = 'hetmap-mousemove'\n}\n\n/**\n * enum of all choropleth related events\n */\nexport enum Choropleth {\n\tCHOROPLETH_MOUSEOVER = 'choropleth-mouseover',\n\tCHOROPLETH_CLICK = 'choropleth-click',\n\tCHOROPLETH_MOUSEOUT = 'choropleth-mouseout',\n\tCHOROPLETH_MOUSEMOVE = 'choropleth-mousemove'\n}\n","import * as EventEnums from './events'\nexport const Events = EventEnums\n\nexport enum RenderTypes {\n\tHTML = 'html',\n\tSVG = 'svg'\n}\n\n/**\n * enum of all supported chart themes\n */\nexport enum ChartTheme {\n\tWHITE = 'white',\n\tG100 = 'g100',\n\tG90 = 'g90',\n\tG10 = 'g10'\n}\n\n/**\n * enum of all color classname types\n */\nexport enum ColorClassNameTypes {\n\tBACKGROUND = 'background',\n\tFILL = 'fill',\n\tSTROKE = 'stroke',\n\tTOOLTIP = 'tooltip'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum AxisPositions {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum ZoomBarTypes {\n\tGRAPH_VIEW = 'graph_view',\n\tSLIDER_VIEW = 'slider_view'\n}\n\n/**\n * enum of all possible truncation types\n */\nexport enum TruncationTypes {\n\tEND_LINE = 'end_line',\n\tMID_LINE = 'mid_line',\n\tFRONT_LINE = 'front_line',\n\tNONE = 'none'\n}\n\n/**\n * enum of all possible cartesian orientations\n * to be used for determining the orientation\n * of graphs being draw over\n * cartesian scales\n */\nexport enum CartesianOrientations {\n\tVERTICAL = 'vertical',\n\tHORIZONTAL = 'horizontal'\n}\n\n/**\n * enum of all possible scale types\n */\nexport enum ScaleTypes {\n\tTIME = 'time',\n\tLINEAR = 'linear',\n\tLOG = 'log',\n\tLABELS = 'labels',\n\tLABELS_RATIO = 'labels-ratio'\n}\n\n/**\n * enum of all possible legend positions\n */\nexport enum LegendPositions {\n\tRIGHT = 'right',\n\tLEFT = 'left',\n\tTOP = 'top',\n\tBOTTOM = 'bottom'\n}\n\n/**\n * enum of all possible alignments\n */\nexport enum Alignments {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible legend orientations\n */\nexport enum LegendOrientations {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical'\n}\n\n/**\n * enum of tree types for the tree chart\n */\nexport enum TreeTypes {\n\tTREE = 'tree',\n\tDENDROGRAM = 'dendrogram'\n}\n\n/**\n * enum of all possible layout directions\n */\nexport enum LayoutDirection {\n\tROW = 'row',\n\tCOLUMN = 'column',\n\tROW_REVERSE = 'row-reverse',\n\tCOLUMN_REVERSE = 'column-reverse'\n}\n\n/**\n * enum of all possible layout growth values\n */\nexport enum LayoutGrowth {\n\tFIXED = 'fixed',\n\tPREFERRED = 'preferred',\n\tSTRETCH = 'stretch'\n}\n\n/**\n * enum of all possible layout align-items values\n */\nexport enum LayoutAlignItems {\n\tCENTER = 'center'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum CalloutDirections {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of all possible skeleton/empty state types\n */\nexport enum Skeletons {\n\tGRID = 'grid',\n\tVERT_OR_HORIZ = 'vertOrHoriz',\n\tPIE = 'pie',\n\tDONUT = 'donut'\n}\n\n/**\n * enum of all possible attributes used to aling text horizontally\n */\nexport enum TextAnchor {\n\tSTART = 'start',\n\tMIDDLE = 'middle',\n\tEND = 'end'\n}\n\n/**\n * enum of all possible attributes used to aling text vertically\n */\nexport enum DominantBaseline {\n\tBASELINE = 'baseline',\n\tMIDDLE = 'middle',\n\tHANGING = 'hanging'\n}\n\nexport enum GaugeTypes {\n\tSEMI = 'semi',\n\tFULL = 'full'\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum ArrowDirections {\n\tUP = 'up',\n\tDOWN = 'down'\n}\n\n/**\n * enum of carbon statuses\n */\nexport enum Statuses {\n\tSUCCESS = 'success',\n\tWARNING = 'warning',\n\tDANGER = 'danger'\n}\n\n/**\n * enum of axis ticks rotation\n */\nexport enum TickRotations {\n\tALWAYS = 'always',\n\tAUTO = 'auto',\n\tNEVER = 'never'\n}\n\n/**\n * enum of chartTypes that work with combo chart\n */\nexport enum ChartTypes {\n\tSCATTER = 'scatter',\n\tLINE = 'line',\n\tSIMPLE_BAR = 'simple-bar',\n\tSTACKED_BAR = 'stacked-bar',\n\tGROUPED_BAR = 'grouped-bar',\n\tAREA = 'area',\n\tSTACKED_AREA = 'stacked-area'\n}\n\n/**\n * enum of supported toolbar control types\n */\nexport enum ToolbarControlTypes {\n\tEXPORT_CSV = 'Export as CSV',\n\tEXPORT_PNG = 'Export as PNG',\n\tEXPORT_JPG = 'Export as JPG',\n\tZOOM_IN = 'Zoom in',\n\tZOOM_OUT = 'Zoom out',\n\tRESET_ZOOM = 'Reset zoom',\n\tMAKE_FULLSCREEN = 'Make fullscreen',\n\tEXIT_FULLSCREEN = 'Exit fullscreen',\n\tSHOW_AS_DATATABLE = 'Show as data-table',\n\tCUSTOM = 'Custom'\n}\n\n/**\n * enum of title orientations for _vertical axes_\n */\nexport enum AxisTitleOrientations {\n\tLEFT = 'left',\n\tRIGHT = 'right'\n}\n\n/**\n * enum of legend item type\n */\nexport enum LegendItemType {\n\tCHECKBOX = 'checkbox',\n\tRADIUS = 'radius',\n\tAREA = 'area',\n\tSIZE = 'size',\n\tLINE = 'line',\n\tQUARTILE = 'quartile',\n\tZOOM = 'zoom'\n}\n\n/**\n * enum of color legend types\n */\nexport enum ColorLegendType {\n\tLINEAR = 'linear',\n\tQUANTIZE = 'quantize'\n}\n\n/**\n * enum of divider status for heatmap\n */\nexport enum DividerStatus {\n\tON = 'on',\n\tAUTO = 'auto',\n\tOFF = 'off'\n}\n\n/**\n * enum of axis flavor\n */\nexport enum AxisFlavor {\n\tDEFAULT = 'default',\n\tHOVERABLE = 'hoverable'\n}\n\n/**\n * enum of supported projection types\n */\nexport enum Projection {\n\t// Azimuthal Projections\n\tgeoEqualEarth = 'geoEqualEarth',\n\n\t// Conic projections\n\tgeoAlbers = 'geoAlbers',\n\tgeoConicEqualArea = 'geoConicEqualArea',\n\tgeoConicEquidistant = 'geoConicEquidistant',\n\n\t// Cylindrical projections\n\tgeoEquirectangular = 'geoEquirectangular',\n\tgeoMercator = 'geoMercator',\n\tgeoNaturalEarth1 = 'geoNaturalEarth1'\n}\n","import type { AxisDomain } from 'd3'\nimport type { Locale } from 'date-fns/locale'\nimport type { AxisTitleOrientations, ScaleTypes, TickRotations } from './enums'\nimport type { ThresholdOptions } from './components'\nimport type { TruncationOptions } from './truncation'\n\nexport interface BasedAxisOptions {\n\t/**\n\t * type of the scale used on axis\n\t */\n\tscaleType?: ScaleTypes\n\t/**\n\t * Whether the Axis should use the specified domain\n\t * instead of it being dynamically generated based on data extents.\n\t * The type of values should depend on the scale type.\n\t * Example for continuous axis scale: [-100, 100]\n\t * Example for discrete axis scale: ['Qty', 'More', 'Sold']\n\t * No need to define domain for percentage axis scale\n\t */\n\tdomain?: AxisDomain[]\n\t/**\n\t * an additional key from the charting data that is used to\n\t * extend the domain of an axis by\n\t * (e.g. in the bullet graph we need both the marker &\n\t * the data values to define the domain of the linear scale)\n\t */\n\textendLinearDomainBy?: string\n\t/**\n\t * Whether the Axis should be forced to include 0 as a starting point\n\t * (or ending point, in case of all negative axis).\n\t * Default: true\n\t */\n\tincludeZero?: boolean\n\t/**\n\t * identifies what key within the data the axis values would map to\n\t */\n\tmapsTo?: string\n\t/**\n\t * optional title for the scales\n\t */\n\ttitle?: string\n\t/**\n\t * Override for the orientation of the title (for vertical axes).\n\t * The title string can be overrided to be rotated left or right.\n\t */\n\ttitleOrientation?: AxisTitleOrientations | string\n\t/**\n\t * thresholds\n\t * @example\n\t * [\n\t *\t\t{ value: 10000 },\n\t *\t\t{ value: 40020, valueFormatter: (x) => x },\n\t *\t\t{ value: 55000, label: \"Custom label\", fillColor: \"#03a9f4\" },\n\t * ]\n\t */\n\tthresholds?: ThresholdOptions[]\n\t/**\n\t * tick configuration\n\t */\n\tticks?: {\n\t\t/**\n\t\t * number of ticks to show\n\t\t */\n\t\tnumber?: number\n\t\t/**\n\t\t * minimum tick value\n\t\t */\n\t\tmin?: number\n\t\t/**\n\t\t * maximum tick value\n\t\t */\n\t\tmax?: number\n\t\t/**\n\t\t * minimum width of a tick\n\t\t * before getting rotated (in pixels)\n\t\t */\n\t\trotateIfSmallerThan?: number\n\t\t/**\n\t\t * when to rotate ticks\n\t\t */\n\t\trotation?: TickRotations\n\t\t/**\n\t\t * function to format the ticks\n\t\t */\n\t\tformatter?: ((tick: number | Date, i: number) => string) | ((tick: number | Date) => string)\n\t\t/**\n\t\t * optional array of tick values that is within the domain of data\n\t\t */\n\t\tvalues?: any[]\n\t}\n\ttruncation?: TruncationOptions\n\t/**\n\t * is axis visible or not\n\t */\n\tvisible?: boolean\n\t/**\n\t * Bins to display (Histogram)\n\t * bins: 20\n\t * bins: [0, 20, 40, 60]\n\t * bins: [new Date(...), new Date(...), ...]\n\t */\n\tbins?: number | any[]\n\t/**\n\t * limit the visible axis domain to only the binned area\n\t */\n\tlimitDomainToBins?: boolean\n\t/**\n\t * should be set to `true` on the domain\n\t * axis that's being broken into bins\n\t */\n\tbinned?: boolean\n\t/**\n\t * used to map data on the secondary axis\n\t */\n\tcorrespondingDatasets?: Array<string>\n}\n\n/**\n * options to configure a scale. not all options are used by all scales\n */\nexport interface AxisOptions extends BasedAxisOptions {\n\t/**\n\t * option for stacked axis\n\t */\n\tstacked?: boolean\n\t/**\n\t * option for percentage axis scale\n\t */\n\tpercentage?: boolean\n}\n\nexport interface ComboChartAxisOptions extends AxisOptions {\n\t/**\n\t * should be set to `true` for the\n\t * left axis to be the primary axis\n\t */\n\tmain?: boolean\n}\n\nexport interface BinnedAxisOptions {\n\t/**\n\t * should be set to `true` on the domain\n\t * axis that's being broken into bins\n\t */\n\tbinned?: boolean\n\t/**\n\t * Bins to display (Histogram)\n\t * bins: 20\n\t * bins: [0, 20, 40, 60]\n\t * bins: [new Date(...), new Date(...), ...]\n\t */\n\tbins?: number | any[]\n\t/**\n\t * limit the visible axis domain to only the binned area\n\t */\n\tlimitDomainToBins?: boolean\n}\n\n/**\n * customize time series scales\n */\nexport interface TimeScaleOptions {\n\taddSpaceOnEdges?: number\n\t/**\n\t * if it's true, days are shown as mon-sun,\n\t * otherwise days are shown as number 1-31\n\t */\n\tshowDayName?: boolean\n\t/**\n\t * this can be used to override the time interval\n\t * that's chosen by the library\n\t */\n\ttimeInterval?: TimeIntervalNames\n\t/**\n\t * formats for each time interval\n\t */\n\ttimeIntervalFormats?: TimeIntervalFormats\n\t/**\n\t * locale object, for more information see https://date-fns.org/v2.11.0/docs/Locale.\n\t * example: `import { fr as localeObject } from 'date-fns/locale'`.\n\t * available locale objects are: https://github.com/date-fns/date-fns/tree/main/src/locale\n\t */\n\tlocaleObject?: Locale\n}\n\n/**\n * time scales: customize ticks format for different time intervals\n */\nexport interface TickFormats {\n\tprimary?: string\n\tsecondary?: string\n}\n\nexport enum TimeIntervalNames {\n\t'15seconds' = '15seconds',\n\tminute = 'minute',\n\t'30minutes' = '30minutes',\n\thourly = 'hourly',\n\tdaily = 'daily',\n\tweekly = 'weekly',\n\tmonthly = 'monthly',\n\tquarterly = 'quarterly',\n\tyearly = 'yearly'\n}\n\nexport interface TimeIntervalFormats {\n\t'15seconds'?: TickFormats\n\tminute?: TickFormats\n\t'30minutes'?: TickFormats\n\thourly?: TickFormats\n\tdaily?: TickFormats\n\tweekly?: TickFormats\n\tmonthly?: TickFormats\n\tquarterly?: TickFormats\n\tyearly?: TickFormats\n}\n\n/**\n * customize the axes components\n */\nexport interface AxesOptions<AxesOptionType> {\n\tleft?: AxesOptionType\n\tbottom?: AxesOptionType\n\tright?: AxesOptionType\n\ttop?: AxesOptionType\n}\n"],"names":["Chart","Modal","Model","Toolbar","ZoomBar","ZoomDomain","CanvasZoom","Axis","Area","WordCloud","Pie","Gauge","Bar","Boxplot","Scatter","Line","Radar","Tree","Treemap","Tooltip","Threshold","Legend","CirclePack","Alluvial","Meter","Heatmap","Choropleth","Events","EventEnums","RenderTypes","ChartTheme","ColorClassNameTypes","AxisPositions","ZoomBarTypes","TruncationTypes","CartesianOrientations","ScaleTypes","LegendPositions","Alignments","LegendOrientations","TreeTypes","LayoutDirection","LayoutGrowth","LayoutAlignItems","CalloutDirections","Skeletons","TextAnchor","DominantBaseline","GaugeTypes","ArrowDirections","Statuses","TickRotations","ChartTypes","ToolbarControlTypes","AxisTitleOrientations","LegendItemType","ColorLegendType","DividerStatus","AxisFlavor","Projection","TimeIntervalNames"],"mappings":"AAGO,IAAKA,sBAAAA,OACXA,EAAA,kBAAkB,mBAClBA,EAAA,SAAS,gBACTA,EAAA,YAAY,mBAGZA,EAAA,WAAW,kBANAA,IAAAA,KAAA,CAAA,CAAA,GAYAC,sBAAAA,OACXA,EAAA,OAAO,cACPA,EAAA,OAAO,cAFIA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACXA,EAAA,SAAS,gBADEA,IAAAA,KAA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