@hybridcore/ui 1.5.89 → 1.6.0

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.
Files changed (267) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
  2. package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
  3. package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
  4. package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
  5. package/dist/AxisRendererY-C_ItLPNV.js +445 -0
  6. package/dist/Box-p6OtTUEo.js +30 -0
  7. package/dist/Bullet-DVczI2TD.js +41 -0
  8. package/dist/Button-CcsPEIDh.js +35 -0
  9. package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
  10. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
  11. package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
  12. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  13. package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
  14. package/dist/Circle-Cy5s-pVc.js +27 -0
  15. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  16. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  17. package/dist/DataProcessor-CHDO51q4.js +83 -0
  18. package/dist/DateAxis-YX3QNIB-.js +569 -0
  19. package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
  20. package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
  21. package/dist/FormControl-BLbrq4C7.js +1636 -0
  22. package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
  23. package/dist/Hierarchy-Bihj0S61.js +925 -0
  24. package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
  25. package/dist/IconPlus-yPkff_Vj.js +19 -0
  26. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
  27. package/dist/Legend-Dp_MKfS4.js +178 -0
  28. package/dist/LineSeries-Uiv5o56b.js +472 -0
  29. package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
  30. package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
  31. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
  32. package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
  33. package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
  34. package/dist/PieSeries-B2fW3z0s.js +693 -0
  35. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  36. package/dist/Scrollbar-D86MJyr2.js +171 -0
  37. package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
  38. package/dist/Slice-B19rbYDZ.js +261 -0
  39. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  40. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  41. package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
  42. package/dist/Tick-2bcLyHpF.js +162 -0
  43. package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
  44. package/dist/Vector-BmuhQO4p.js +3606 -0
  45. package/dist/Vector-DfTqQEln.js +1735 -0
  46. package/dist/WKT-2wsDT-nq.js +2310 -0
  47. package/dist/XYCursor-C8WktvKM.js +362 -0
  48. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  49. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  50. package/dist/capitalize-ciszXJ7R.js +9 -0
  51. package/dist/components/access/helpers.js +1 -1
  52. package/dist/components/access/index.js +1 -1
  53. package/dist/components/card/index.js +6 -6
  54. package/dist/components/card/styled.js +1 -1
  55. package/dist/components/charts/_common/utils.js +20 -0
  56. package/dist/components/charts/candlestick/logic.js +170 -140
  57. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  58. package/dist/components/charts/chart-wrapper/index.js +44 -0
  59. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  60. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  61. package/dist/components/charts/column-line-mix/index.js +10 -0
  62. package/dist/components/charts/column-line-mix/logic.js +162 -0
  63. package/dist/components/charts/column-line-mix/styled.js +12 -0
  64. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  65. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  66. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  69. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  70. package/dist/components/charts/heatmap/index.js +10 -0
  71. package/dist/components/charts/heatmap/logic.js +361 -0
  72. package/dist/components/charts/heatmap/styled.js +12 -0
  73. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  74. package/dist/components/charts/line/index.js +10 -0
  75. package/dist/components/charts/line/logic.js +148 -0
  76. package/dist/components/charts/line/styled.js +12 -0
  77. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  78. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  79. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  80. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  81. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  82. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  83. package/dist/components/charts/nested-pie/index.js +10 -0
  84. package/dist/components/charts/nested-pie/logic.js +110 -0
  85. package/dist/components/charts/nested-pie/styled.js +12 -0
  86. package/dist/components/charts/packed-circles/index.js +10 -0
  87. package/dist/components/charts/packed-circles/logic.js +423 -0
  88. package/dist/components/charts/packed-circles/styled.js +12 -0
  89. package/dist/components/charts/pie-chart/index.js +10 -0
  90. package/dist/components/charts/pie-chart/logic.js +70 -0
  91. package/dist/components/charts/pie-chart/styled.js +12 -0
  92. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  93. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  94. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  95. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  96. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  97. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  98. package/dist/components/charts/xy-chart/index.js +10 -0
  99. package/dist/components/charts/xy-chart/logic.js +170 -0
  100. package/dist/components/charts/xy-chart/styled.js +12 -0
  101. package/dist/components/collapsible-card/index.js +58 -32
  102. package/dist/components/collapsible-card/logic.js +20 -0
  103. package/dist/components/collapsible-card/styled.js +52 -0
  104. package/dist/components/confirm/dialog.js +3 -3
  105. package/dist/components/confirm/index.js +1 -1
  106. package/dist/components/container/index.js +7 -7
  107. package/dist/components/context-menu/index.js +153 -253
  108. package/dist/components/data-map/components/controls/index.js +12 -0
  109. package/dist/components/data-map/components/controls/styled.js +34 -0
  110. package/dist/components/data-map/index.js +51 -0
  111. package/dist/components/data-map/logic.js +108 -0
  112. package/dist/components/data-map/styled.js +32 -0
  113. package/dist/components/data-security-selectors/security-level/index.js +5 -5
  114. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  115. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  116. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  117. package/dist/components/divider/index.js +18 -0
  118. package/dist/components/divider/logic.js +13 -0
  119. package/dist/components/divider/styled.js +14 -0
  120. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  121. package/dist/components/geometry-picker/edit/index.js +1 -1
  122. package/dist/components/geometry-picker/geometry/index.js +1 -1
  123. package/dist/components/geometry-picker/index.js +7 -8
  124. package/dist/components/geometry-picker/kml/index.js +1 -1
  125. package/dist/components/geometry-picker/map/index.js +1 -1
  126. package/dist/components/geometry-picker/map/logic.js +65 -62
  127. package/dist/components/geometry-picker/map/style.js +1 -1
  128. package/dist/components/heat-map/components/controls/index.js +12 -0
  129. package/dist/components/heat-map/components/controls/styled.js +34 -0
  130. package/dist/components/heat-map/components/legend/index.js +26 -0
  131. package/dist/components/heat-map/components/legend/styled.js +14 -0
  132. package/dist/components/heat-map/index.js +37 -0
  133. package/dist/components/heat-map/logic.js +1945 -0
  134. package/dist/components/heat-map/styled.js +32 -0
  135. package/dist/components/icon-button/index.js +22 -15
  136. package/dist/components/icon-button/logic.js +15 -0
  137. package/dist/components/icon-button/styled.js +22 -10
  138. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  139. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  140. package/dist/components/instance-form/components/variable/index.js +8 -8
  141. package/dist/components/instance-form/components/variables/index.js +1 -1
  142. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  143. package/dist/components/instance-variable-list/index.js +34 -29
  144. package/dist/components/instance-variable-list/styled.js +21 -21
  145. package/dist/components/instance-variable-list/variable.js +44 -74
  146. package/dist/components/linear-indicator/index.js +10 -67
  147. package/dist/components/linear-indicator/logic.js +47 -0
  148. package/dist/components/linear-indicator/styled.js +39 -40
  149. package/dist/components/map/helpers/kml.js +1 -1
  150. package/dist/components/map/helpers/mapbox.js +14 -14
  151. package/dist/components/map/helpers/ol.js +23 -19
  152. package/dist/components/map/helpers/wkt.js +26 -1314
  153. package/dist/components/map/index.js +1 -1
  154. package/dist/components/map/logic.js +113 -101
  155. package/dist/components/map/styled.js +39 -31
  156. package/dist/components/metric-card/MetricChart.js +50 -498
  157. package/dist/components/metric-card/index.js +94 -115
  158. package/dist/components/metric-card/logic.js +70 -131
  159. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  160. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  161. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  162. package/dist/components/object-profile-card/index.js +90 -0
  163. package/dist/components/object-profile-card/logic.js +33 -0
  164. package/dist/components/object-profile-card/styled.js +48 -0
  165. package/dist/components/paginated-list/index.js +93 -89
  166. package/dist/components/paginated-list/logic.js +51 -40
  167. package/dist/components/paginated-list/styled.js +25 -21
  168. package/dist/components/property-mapping/index.js +2 -2
  169. package/dist/components/prr-map/components/controls/index.js +12 -0
  170. package/dist/components/prr-map/components/controls/styled.js +34 -0
  171. package/dist/components/prr-map/components/legend/index.js +36 -0
  172. package/dist/components/prr-map/components/legend/styled.js +21 -0
  173. package/dist/components/prr-map/index.js +38 -0
  174. package/dist/components/prr-map/logic.js +104 -0
  175. package/dist/components/prr-map/styled.js +32 -0
  176. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  177. package/dist/components/range-selector/components/date-range/index.js +4282 -7
  178. package/dist/components/range-selector/index.js +1 -1
  179. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  180. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  181. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  182. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  183. package/dist/components/raster-grid-map/helpers.js +190 -0
  184. package/dist/components/raster-grid-map/index.js +38 -0
  185. package/dist/components/raster-grid-map/logic.js +172 -0
  186. package/dist/components/raster-grid-map/styled.js +32 -0
  187. package/dist/components/search-input/index.js +62 -140
  188. package/dist/components/search-input/logic.js +43 -0
  189. package/dist/components/search-input/styled.js +33 -0
  190. package/dist/components/simple-pivot-table/index.js +66 -0
  191. package/dist/components/simple-pivot-table/logic.js +51 -0
  192. package/dist/components/simple-pivot-table/styled.js +45 -0
  193. package/dist/components/static-text/index.js +18 -0
  194. package/dist/components/static-text/logic.js +13 -0
  195. package/dist/components/static-text/styled.js +45 -0
  196. package/dist/components/tabs/index.js +56 -2160
  197. package/dist/components/tabs/logic.js +36 -0
  198. package/dist/components/tabs/styled.js +94 -16
  199. package/dist/components/tabs/tab-panel.js +11 -10
  200. package/dist/components/template-filters/components/tab-panel/index.js +1 -1
  201. package/dist/components/template-form/components/property-list/index.js +7 -7
  202. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  203. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  204. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  205. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  206. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  207. package/dist/components/template-form/index.js +5 -5
  208. package/dist/components/template-property-filters/property.js +5 -5
  209. package/dist/components/timeline/index.js +61 -0
  210. package/dist/components/timeline/logic.js +40 -0
  211. package/dist/components/timeline/styled.js +48 -0
  212. package/dist/components/tree-select/index.js +5 -5
  213. package/dist/components/treeview-filter/item-label/index.js +3 -3
  214. package/dist/constant-BiOGvlZc.js +21 -0
  215. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  216. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
  217. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
  218. package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
  219. package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
  220. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  221. package/dist/index-BMS1Otro.js +183 -0
  222. package/dist/index-C__OZmYy.js +663 -0
  223. package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
  224. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  225. package/dist/index-syTc6m_V.js +1934 -0
  226. package/dist/index.es-CHNMhaMi.js +2067 -0
  227. package/dist/index.esm-BLLrbTzY.js +318 -0
  228. package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
  229. package/dist/main.d.ts +1226 -358
  230. package/dist/main.js +141 -443
  231. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  232. package/dist/ol-yOE-NV0X.js +7465 -0
  233. package/dist/path-CNVruS--.js +84 -0
  234. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
  235. package/dist/styled-eZwjUruw.js +12 -0
  236. package/dist/useId-B4-oF9Mq.js +34 -0
  237. package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
  238. package/dist/useThemeProps-BzzHcQyd.js +58 -0
  239. package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
  240. package/package.json +42 -9
  241. package/dist/AxisRendererY-kADUad00.js +0 -18370
  242. package/dist/Box-B1AVyJ_s.js +0 -71
  243. package/dist/DateAxis-CMum47iz.js +0 -924
  244. package/dist/Input-CoIrGZAh.js +0 -326
  245. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  246. package/dist/LineSeries-CfcpoYla.js +0 -549
  247. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  248. package/dist/Tabs-Cn42Z5QI.js +0 -789
  249. package/dist/components/collapsible-card/style.js +0 -49
  250. package/dist/components/profile-card/index.js +0 -80
  251. package/dist/components/profile-card/logic.js +0 -33
  252. package/dist/components/profile-card/styled.js +0 -43
  253. package/dist/components/tabs/appleTabs.style.js +0 -55
  254. package/dist/createStyled-BGx1I94c.js +0 -352
  255. package/dist/createTheme-CyC5HawC.js +0 -879
  256. package/dist/exactProp-cjT0t_Pt.js +0 -36
  257. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  258. package/dist/index-DMSHuq6l.js +0 -688
  259. package/dist/index-SpeaLUQD.js +0 -10963
  260. package/dist/ol-lGwSyEIV.js +0 -15050
  261. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  262. package/dist/ownerWindow-niciwP7I.js +0 -7
  263. package/dist/styled-B8ugzvji.js +0 -12
  264. package/dist/useId-BHG98T5I.js +0 -26
  265. package/dist/useTheme-C15Eq8KG.js +0 -18
  266. package/dist/useTheme-D-uii9iX.js +0 -10
  267. package/dist/useThemeProps-DRP1dikX.js +0 -95
@@ -1,4 +1,7 @@
1
- import { N as J, i as D, O as V, P as M, F as E, j as X, _ as U, n as K, L as H, T as B, R as z, m as q } from "./AxisRendererY-kADUad00.js";
1
+ import { e as D, P as M, h as V, f as X, _ as E, m as U } from "./ColorSet-C7vpNXhM.js";
2
+ import { b as J } from "./AxisRenderer-DTyLLA6c.js";
3
+ import { v as H, G as K, k as B, l as z } from "./AnimatedTheme-jnasw6rT.js";
4
+ import { R as q } from "./RoundedRectangle-CWLi2PXn.js";
2
5
  class Y extends J {
3
6
  constructor() {
4
7
  super(...arguments), Object.defineProperty(this, "_ph", {
@@ -18,45 +21,45 @@ class Y extends J {
18
21
  value: !1
19
22
  });
20
23
  }
21
- _makeGraphics(e, t) {
22
- return this.makeColumn(t, e);
24
+ _makeGraphics(t, e) {
25
+ return this.makeColumn(e, t);
23
26
  }
24
27
  _makeFieldNames() {
25
28
  super._makeFieldNames();
26
- const e = this.get("xAxis"), t = this.get("yAxis"), s = "CategoryAxis", o = "ValueAxis";
27
- e.isType(s) && (this.get("openCategoryXField") || (this._xOpenField = this._xField)), e.isType(o) && (this.get("openValueXField") || (this._xOpenField = this._xField)), t.isType(s) && (this.get("openCategoryYField") || (this._yOpenField = this._yField)), t.isType(o) && (this.get("openValueYField") || (this._yOpenField = this._yField));
29
+ const t = this.get("xAxis"), e = this.get("yAxis"), s = "CategoryAxis", o = "ValueAxis";
30
+ t.isType(s) && (this.get("openCategoryXField") || (this._xOpenField = this._xField)), t.isType(o) && (this.get("openValueXField") || (this._xOpenField = this._xField)), e.isType(s) && (this.get("openCategoryYField") || (this._yOpenField = this._yField)), e.isType(o) && (this.get("openValueYField") || (this._yOpenField = this._yField));
28
31
  }
29
32
  _prepareChildren() {
30
33
  super._prepareChildren();
31
- const e = this.get("xAxis"), t = this.get("yAxis"), s = this.dataItems.length, o = Math.max(0, this.startIndex() - 2), i = Math.min(this.endIndex() + 2, s - 1);
32
- if (e.inited && t.inited)
34
+ const t = this.get("xAxis"), e = this.get("yAxis"), s = this.dataItems.length, o = Math.max(0, this.startIndex() - 2), i = Math.min(this.endIndex() + 2, s - 1);
35
+ if (t.inited && e.inited)
33
36
  for (let n = o; n <= i; n++) {
34
37
  let a = this.dataItems[n];
35
38
  this._createGraphics(a);
36
39
  }
37
40
  }
38
41
  _updateChildren() {
39
- const e = this.chart;
40
- e && (this._ph = e.plotContainer.height(), this._pw = e.plotContainer.width());
41
- const t = this.get("xAxis"), s = this.get("yAxis"), o = this.get("baseAxis"), i = this.columns.template;
42
+ const t = this.chart;
43
+ t && (this._ph = t.plotContainer.height(), this._pw = t.plotContainer.width());
44
+ const e = this.get("xAxis"), s = this.get("yAxis"), o = this.get("baseAxis"), i = this.columns.template;
42
45
  this.isDirty("fill") && i.get("fill") == null && i.set("fill", this.get("fill")), this.isDirty("fillPattern") && i.get("fillPattern") == null && i.set("fillPattern", this.get("fillPattern")), this.isDirty("stroke") && i.get("stroke") == null && i.set("stroke", this.get("stroke"));
43
46
  let n = 0, a = 0, _ = 0;
44
- D(o.series, (P) => {
45
- if (P instanceof Y) {
46
- const L = P.get("stacked");
47
- L && _ == 0 && a++, !L && P.get("clustered") && a++;
47
+ D(o.series, (b) => {
48
+ if (b instanceof Y) {
49
+ const L = b.get("stacked");
50
+ L && _ == 0 && a++, !L && b.get("clustered") && a++;
48
51
  }
49
- P === this && (n = a - 1), _++;
52
+ b === this && (n = a - 1), _++;
50
53
  }), this.get("clustered") || (n = 0, a = 1), a === 0 && (a = 1, n = 0);
51
- const f = t.get("renderer"), x = s.get("renderer"), c = "cellStartLocation", h = "cellEndLocation", g = f.get(c, 0), v = f.get(h, 1), d = x.get(c, 0), l = x.get(h, 1);
52
- if (this._aLocationX0 = g + n / a * (v - g), this._aLocationX1 = g + (n + 1) / a * (v - g), this._aLocationY0 = d + n / a * (l - d), this._aLocationY1 = d + (n + 1) / a * (l - d), t.inited && s.inited) {
54
+ const f = e.get("renderer"), x = s.get("renderer"), c = "cellStartLocation", h = "cellEndLocation", g = f.get(c, 0), v = f.get(h, 1), d = x.get(c, 0), l = x.get(h, 1);
55
+ if (this._aLocationX0 = g + n / a * (v - g), this._aLocationX1 = g + (n + 1) / a * (v - g), this._aLocationY0 = d + n / a * (l - d), this._aLocationY1 = d + (n + 1) / a * (l - d), e.inited && s.inited) {
53
56
  if (this._axesDirty || this._valuesDirty || this._stackDirty || this.isDirty("vcx") || this.isDirty("vcy") || this._sizeDirty) {
54
- const P = this.dataItems.length;
55
- let L = Math.max(0, this.startIndex() - 2), b = Math.min(this.endIndex() + 2, P - 1);
57
+ const b = this.dataItems.length;
58
+ let L = Math.max(0, this.startIndex() - 2), P = Math.min(this.endIndex() + 2, b - 1);
56
59
  for (let r = 0; r < L; r++)
57
60
  this._toggleColumn(this.dataItems[r], !1);
58
61
  let y = this.dataItems[L];
59
- for (let r = L; r <= b; r++) {
62
+ for (let r = L; r <= P; r++) {
60
63
  let C = this.dataItems[r];
61
64
  if (C.get("valueX") != null && C.get("valueY") != null) {
62
65
  if (y = C, r > 0 && L > 0)
@@ -73,13 +76,13 @@ class Y extends J {
73
76
  }
74
77
  this._beforeColumnsDraw();
75
78
  let A = 0;
76
- s.isType("CategoryAxis") && t.isType("CategoryAxis") ? A = 2 : t === o ? A = 0 : s === o && (A = 1);
77
- for (let r = L; r <= b; r++) {
79
+ s.isType("CategoryAxis") && e.isType("CategoryAxis") ? A = 2 : e === o ? A = 0 : s === o && (A = 1);
80
+ for (let r = L; r <= P; r++) {
78
81
  let C = this.dataItems[r];
79
82
  this._updateGraphics(C, y, A), C.get("valueX") != null && C.get("valueY") != null && (y = C);
80
83
  }
81
84
  this._afterColumnsDraw();
82
- for (let r = b + 1; r < P; r++)
85
+ for (let r = P + 1; r < b; r++)
83
86
  this._toggleColumn(this.dataItems[r], !1);
84
87
  this._columnsUpdated = !0;
85
88
  }
@@ -94,41 +97,41 @@ class Y extends J {
94
97
  }
95
98
  _afterColumnsDraw() {
96
99
  }
97
- _createGraphics(e) {
98
- let t = e.get("graphics");
99
- if (!t) {
100
- t = this._makeGraphics(this.columns, e), e.set("graphics", t), t._setDataItem(e);
101
- const s = e.get("legendDataItem");
100
+ _createGraphics(t) {
101
+ let e = t.get("graphics");
102
+ if (!e) {
103
+ e = this._makeGraphics(this.columns, t), t.set("graphics", e), e._setDataItem(t);
104
+ const s = t.get("legendDataItem");
102
105
  if (s) {
103
106
  const i = s.get("markerRectangle");
104
107
  if (i) {
105
108
  const n = i.states.lookup("default");
106
- D(V, (a) => {
107
- const _ = t.get(a, this.get(a));
109
+ D(H, (a) => {
110
+ const _ = e.get(a, this.get(a));
108
111
  i.set(a, _), n.set(a, _);
109
112
  });
110
113
  }
111
114
  }
112
- let o = e.get("rangeGraphics");
115
+ let o = t.get("rangeGraphics");
113
116
  o && D(o, (i) => {
114
117
  i.dispose();
115
- }), o = [], e.setRaw("rangeGraphics", o), this.axisRanges.each((i) => {
116
- const n = i.container, a = this._makeGraphics(i.columns, e);
118
+ }), o = [], t.setRaw("rangeGraphics", o), this.axisRanges.each((i) => {
119
+ const n = i.container, a = this._makeGraphics(i.columns, t);
117
120
  o && o.push(a), a.setPrivate("list", i.columns), n.children.push(a);
118
121
  });
119
122
  }
120
123
  }
121
- createAxisRange(e) {
122
- return D(this.dataItems, (t) => {
123
- const s = t.get("graphics");
124
- s && (s.dispose(), t.set("graphics", void 0));
125
- }), super.createAxisRange(e);
124
+ createAxisRange(t) {
125
+ return D(this.dataItems, (e) => {
126
+ const s = e.get("graphics");
127
+ s && (s.dispose(), e.set("graphics", void 0));
128
+ }), super.createAxisRange(t);
126
129
  }
127
- _updateGraphics(e, t, s) {
128
- let o = e.get("graphics");
129
- const i = this._xField, n = this._yField, a = e.get(i), _ = e.get(n), f = this.get("exactLocationX", !1);
130
+ _updateGraphics(t, e, s) {
131
+ let o = t.get("graphics");
132
+ const i = this._xField, n = this._yField, a = t.get(i), _ = t.get(n), f = this.get("exactLocationX", !1);
130
133
  if (a != null && _ != null) {
131
- const x = this._xOpenField, c = this._yOpenField, h = this.get("locationX", e.get("locationX", 0.5)), g = this.get("locationY", e.get("locationY", 0.5)), v = this.get("openLocationX", e.get("openLocationX", h)), d = this.get("openLocationY", e.get("openLocationY", g)), l = o.get("width"), P = o.get("height"), L = this.get("stacked"), b = this.get("xAxis"), y = this.get("yAxis"), A = b.get("start"), r = b.get("end"), C = y.get("start"), G = y.get("end");
134
+ const x = this._xOpenField, c = this._yOpenField, h = this.get("locationX", t.get("locationX", 0.5)), g = this.get("locationY", t.get("locationY", 0.5)), v = this.get("openLocationX", t.get("openLocationX", h)), d = this.get("openLocationY", t.get("openLocationY", g)), l = o.get("width"), b = o.get("height"), L = this.get("stacked"), P = this.get("xAxis"), y = this.get("yAxis"), A = P.get("start"), r = P.get("end"), C = y.get("start"), G = y.get("end");
132
135
  let u, O, k, F, T = this.get("vcy", 1), R = this.get("vcx", 1), S = !1, j = !1;
133
136
  if (s == 0) {
134
137
  let m = this._aLocationX0 + v - 0.5, w = this._aLocationX1 + h - 0.5;
@@ -136,50 +139,50 @@ class Y extends J {
136
139
  let p = (w - m) * (1 - l.value) / 2;
137
140
  m += p, w -= p;
138
141
  }
139
- if (u = b.getDataItemPositionX(e, x, m, R, f), O = b.getDataItemPositionX(e, i, w, R, f), k = y.getDataItemPositionY(e, n, g, T), this._yOpenField !== this._yField)
140
- F = y.getDataItemPositionY(e, c, d, T);
142
+ if (u = P.getDataItemPositionX(t, x, m, R, f), O = P.getDataItemPositionX(t, i, w, R, f), k = y.getDataItemPositionY(t, n, g, T), this._yOpenField !== this._yField)
143
+ F = y.getDataItemPositionY(t, c, d, T);
141
144
  else if (L) {
142
- let p = e.get("stackToItemY");
145
+ let p = t.get("stackToItemY");
143
146
  p ? F = y.getDataItemPositionY(p, n, d, p.component.get("vcy")) : F = y.basePosition();
144
147
  } else
145
148
  F = y.basePosition();
146
- e.setRaw("point", { x: u + (O - u) / 2, y: k }), j = !0;
149
+ t.setRaw("point", { x: u + (O - u) / 2, y: k }), j = !0;
147
150
  } else if (s == 1) {
148
151
  let m = this._aLocationY0 + d - 0.5, w = this._aLocationY1 + g - 0.5;
149
- if (P instanceof M) {
150
- let p = (w - m) * (1 - P.value) / 2;
152
+ if (b instanceof M) {
153
+ let p = (w - m) * (1 - b.value) / 2;
151
154
  m += p, w -= p;
152
155
  }
153
- if (k = y.getDataItemPositionY(e, c, m, T), F = y.getDataItemPositionY(e, n, w, T), O = b.getDataItemPositionX(e, i, h, R, f), this._xOpenField !== this._xField)
154
- u = b.getDataItemPositionX(e, x, v, R, f);
156
+ if (k = y.getDataItemPositionY(t, c, m, T), F = y.getDataItemPositionY(t, n, w, T), O = P.getDataItemPositionX(t, i, h, R, f), this._xOpenField !== this._xField)
157
+ u = P.getDataItemPositionX(t, x, v, R, f);
155
158
  else if (L) {
156
- let p = e.get("stackToItemX");
157
- p ? u = b.getDataItemPositionX(p, i, v, p.component.get("vcx"), f) : u = b.basePosition();
159
+ let p = t.get("stackToItemX");
160
+ p ? u = P.getDataItemPositionX(p, i, v, p.component.get("vcx"), f) : u = P.basePosition();
158
161
  } else
159
- u = b.basePosition();
160
- S = !0, e.setRaw("point", { x: O, y: k + (F - k) / 2 });
162
+ u = P.basePosition();
163
+ S = !0, t.setRaw("point", { x: O, y: k + (F - k) / 2 });
161
164
  } else if (s == 2) {
162
165
  let m = this._aLocationX0 + v - 0.5, w = this._aLocationX1 + h - 0.5;
163
166
  if (l instanceof M) {
164
167
  let p = (w - m) * (1 - l.value) / 2;
165
168
  m += p, w -= p;
166
169
  }
167
- if (u = b.getDataItemPositionX(e, x, m, R), O = b.getDataItemPositionX(e, i, w, R), m = this._aLocationY0 + d - 0.5, w = this._aLocationY1 + g - 0.5, P instanceof M) {
168
- let p = (w - m) * (1 - P.value) / 2;
170
+ if (u = P.getDataItemPositionX(t, x, m, R), O = P.getDataItemPositionX(t, i, w, R), m = this._aLocationY0 + d - 0.5, w = this._aLocationY1 + g - 0.5, b instanceof M) {
171
+ let p = (w - m) * (1 - b.value) / 2;
169
172
  m += p, w -= p;
170
173
  }
171
- k = y.getDataItemPositionY(e, c, m, T), F = y.getDataItemPositionY(e, n, w, T), e.setRaw("point", { x: u + (O - u) / 2, y: k + (F - k) / 2 });
174
+ k = y.getDataItemPositionY(t, c, m, T), F = y.getDataItemPositionY(t, n, w, T), t.setRaw("point", { x: u + (O - u) / 2, y: k + (F - k) / 2 });
172
175
  }
173
- this._applyGraphicsStates(e, t), this._updateSeriesGraphics(e, o, u, O, k, F, S, j), u < A && O < A || u > r && O > r || k < C && F <= C || k >= G && F > G || E(u) || E(k) ? this._toggleColumn(e, !1) : this._toggleColumn(e, !0);
174
- let W = e.get("rangeGraphics");
176
+ this._applyGraphicsStates(t, e), this._updateSeriesGraphics(t, o, u, O, k, F, S, j), u < A && O < A || u > r && O > r || k < C && F <= C || k >= G && F > G || V(u) || V(k) ? this._toggleColumn(t, !1) : this._toggleColumn(t, !0);
177
+ let W = t.get("rangeGraphics");
175
178
  W && D(W, (m) => {
176
- this._updateSeriesGraphics(e, m, u, O, k, F, S, j);
179
+ this._updateSeriesGraphics(t, m, u, O, k, F, S, j);
177
180
  });
178
181
  } else
179
- this._toggleColumn(e, !1);
182
+ this._toggleColumn(t, !1);
180
183
  }
181
- _updateSeriesGraphics(e, t, s, o, i, n, a, _) {
182
- const f = t.get("width"), x = t.get("height"), c = t.get("maxWidth"), h = t.get("maxHeight"), g = this.getPoint(s, i), v = this.getPoint(o, n), d = e.get("point");
184
+ _updateSeriesGraphics(t, e, s, o, i, n, a, _) {
185
+ const f = e.get("width"), x = e.get("height"), c = e.get("maxWidth"), h = e.get("maxHeight"), g = this.getPoint(s, i), v = this.getPoint(o, n), d = t.get("point");
183
186
  if (d) {
184
187
  const l = this.getPoint(d.x, d.y);
185
188
  d.x = l.x + this._x, d.y = l.y + this._y;
@@ -200,29 +203,29 @@ class Y extends J {
200
203
  const l = (n - i - h) / 2;
201
204
  i += l, n -= l;
202
205
  }
203
- this.get("adjustBulletPosition") && (a && (o = Math.min(Math.max(0, o), this._pw), s = Math.min(Math.max(0, s), this._pw)), _ && (i = Math.min(Math.max(0, i), this._ph), n = Math.min(Math.max(0, n), this._ph))), e.setRaw("left", s), e.setRaw("right", o), e.setRaw("top", i), e.setRaw("bottom", n), t.setPrivate("width", o - s), t.setPrivate("height", n - i), t.set("x", s), t.set("y", n - (n - i));
206
+ this.get("adjustBulletPosition") && (a && (o = Math.min(Math.max(0, o), this._pw), s = Math.min(Math.max(0, s), this._pw)), _ && (i = Math.min(Math.max(0, i), this._ph), n = Math.min(Math.max(0, n), this._ph))), t.setRaw("left", s), t.setRaw("right", o), t.setRaw("top", i), t.setRaw("bottom", n), e.setPrivate("width", o - s), e.setPrivate("height", n - i), e.set("x", s), e.set("y", n - (n - i));
204
207
  }
205
208
  _handleDataSetChange() {
206
- super._handleDataSetChange(), D(this._dataItems, (e) => {
207
- this._toggleColumn(e, !1);
209
+ super._handleDataSetChange(), D(this._dataItems, (t) => {
210
+ this._toggleColumn(t, !1);
208
211
  });
209
212
  }
210
- _applyGraphicsStates(e, t) {
211
- const s = e.get("graphics"), o = s.states.lookup("dropFromOpen"), i = s.states.lookup("riseFromOpen"), n = s.states.lookup("dropFromPrevious"), a = s.states.lookup("riseFromPrevious");
213
+ _applyGraphicsStates(t, e) {
214
+ const s = t.get("graphics"), o = s.states.lookup("dropFromOpen"), i = s.states.lookup("riseFromOpen"), n = s.states.lookup("dropFromPrevious"), a = s.states.lookup("riseFromPrevious");
212
215
  if (o || n || i || a) {
213
216
  const _ = this.get("xAxis"), f = this.get("yAxis"), x = this.get("baseAxis");
214
217
  let c, h, g;
215
- x === _ && f.isType("ValueAxis") ? (c = e.get(this._yOpenField), h = e.get(this._yField), g = t.get(this._yField)) : x === f && _.isType("ValueAxis") && (c = e.get(this._xOpenField), h = e.get(this._xField), g = t.get(this._xField)), X(c) && X(h) && (h < c ? o && o.apply() : i && i.apply(), X(g) && (h < g ? n && n.apply() : a && a.apply()));
218
+ x === _ && f.isType("ValueAxis") ? (c = t.get(this._yOpenField), h = t.get(this._yField), g = e.get(this._yField)) : x === f && _.isType("ValueAxis") && (c = t.get(this._xOpenField), h = t.get(this._xField), g = e.get(this._xField)), X(c) && X(h) && (h < c ? o && o.apply() : i && i.apply(), X(g) && (h < g ? n && n.apply() : a && a.apply()));
216
219
  }
217
220
  }
218
221
  /**
219
222
  * @ignore
220
223
  */
221
- disposeDataItem(e) {
222
- super.disposeDataItem(e);
223
- const t = e.get("graphics");
224
- t && (this.columns.removeValue(t), t.dispose());
225
- const s = e.get("rangeGraphics");
224
+ disposeDataItem(t) {
225
+ super.disposeDataItem(t);
226
+ const e = t.get("graphics");
227
+ e && (this.columns.removeValue(e), e.dispose());
228
+ const s = t.get("rangeGraphics");
226
229
  s && D(s, (o) => {
227
230
  const i = o.getPrivate("list");
228
231
  i && i.removeValue(o), o.dispose();
@@ -235,29 +238,29 @@ class Y extends J {
235
238
  * @param duration Animation duration in milliseconds
236
239
  * @return Promise
237
240
  */
238
- hideDataItem(e, t) {
241
+ hideDataItem(t, e) {
239
242
  const s = Object.create(null, {
240
243
  hideDataItem: { get: () => super.hideDataItem }
241
244
  });
242
- return U(this, void 0, void 0, function* () {
243
- const o = [s.hideDataItem.call(this, e, t)], i = e.get("graphics");
244
- i && o.push(i.hide(t));
245
- const n = e.get("rangeGraphics");
245
+ return E(this, void 0, void 0, function* () {
246
+ const o = [s.hideDataItem.call(this, t, e)], i = t.get("graphics");
247
+ i && o.push(i.hide(e));
248
+ const n = t.get("rangeGraphics");
246
249
  n && D(n, (a) => {
247
- o.push(a.hide(t));
250
+ o.push(a.hide(e));
248
251
  }), yield Promise.all(o);
249
252
  });
250
253
  }
251
- _toggleColumn(e, t) {
252
- const s = e.get("graphics");
253
- s && s.setPrivate("visible", t);
254
- const o = e.get("rangeGraphics");
254
+ _toggleColumn(t, e) {
255
+ const s = t.get("graphics");
256
+ s && s.setPrivate("visible", e);
257
+ const o = t.get("rangeGraphics");
255
258
  o && D(o, (n) => {
256
- n.setPrivate("visible", t);
259
+ n.setPrivate("visible", e);
257
260
  });
258
- const i = e.bullets;
261
+ const i = t.bullets;
259
262
  i && D(i, (n) => {
260
- n.setPrivate("hidden", !t);
263
+ n.setPrivate("hidden", !e);
261
264
  });
262
265
  }
263
266
  /**
@@ -267,49 +270,49 @@ class Y extends J {
267
270
  * @param duration Animation duration in milliseconds
268
271
  * @return Promise
269
272
  */
270
- showDataItem(e, t) {
273
+ showDataItem(t, e) {
271
274
  const s = Object.create(null, {
272
275
  showDataItem: { get: () => super.showDataItem }
273
276
  });
274
- return U(this, void 0, void 0, function* () {
275
- const o = [s.showDataItem.call(this, e, t)], i = e.get("graphics");
276
- i && o.push(i.show(t));
277
- const n = e.get("rangeGraphics");
277
+ return E(this, void 0, void 0, function* () {
278
+ const o = [s.showDataItem.call(this, t, e)], i = t.get("graphics");
279
+ i && o.push(i.show(e));
280
+ const n = t.get("rangeGraphics");
278
281
  n && D(n, (a) => {
279
- o.push(a.show(t));
282
+ o.push(a.show(e));
280
283
  }), yield Promise.all(o);
281
284
  });
282
285
  }
283
286
  /**
284
287
  * @ignore
285
288
  */
286
- updateLegendMarker(e) {
287
- let t = this.get("legendDataItem");
288
- if (this.get("useLastColorForLegendMarker") && !e) {
289
+ updateLegendMarker(t) {
290
+ let e = this.get("legendDataItem");
291
+ if (this.get("useLastColorForLegendMarker") && !t) {
289
292
  const s = this.dataItems[this.endIndex() - 1];
290
- s && (e = s);
293
+ s && (t = s);
291
294
  }
292
- if (t) {
295
+ if (e) {
293
296
  let s = this.columns.template;
294
- if (e) {
295
- let i = e.get("graphics");
297
+ if (t) {
298
+ let i = t.get("graphics");
296
299
  i && (s = i);
297
300
  }
298
- const o = t.get("markerRectangle");
299
- if (o && !t.get("itemContainer").get("disabled")) {
301
+ const o = e.get("markerRectangle");
302
+ if (o && !e.get("itemContainer").get("disabled")) {
300
303
  const i = o.states.lookup("default");
301
- D(V, (n) => {
304
+ D(H, (n) => {
302
305
  const a = s.get(n, this.get(n));
303
306
  o.set(n, a), i.set(n, a);
304
307
  });
305
308
  }
306
309
  }
307
310
  }
308
- _getTooltipTarget(e) {
311
+ _getTooltipTarget(t) {
309
312
  if (this.get("seriesTooltipTarget") == "bullet")
310
- return super._getTooltipTarget(e);
311
- let t = e.get("graphics");
312
- return t || this;
313
+ return super._getTooltipTarget(t);
314
+ let e = t.get("graphics");
315
+ return e || this;
313
316
  }
314
317
  }
315
318
  Object.defineProperty(Y, "className", {
@@ -340,46 +343,46 @@ class N extends Y {
340
343
  enumerable: !0,
341
344
  configurable: !0,
342
345
  writable: !0,
343
- value: this.addDisposer(new H(B.new({}), () => z._new(this._root, {
346
+ value: this.addDisposer(new B(z.new({}), () => q._new(this._root, {
344
347
  position: "absolute",
345
- themeTags: q(this.columns.template.get("themeTags", []), ["series", "column"])
348
+ themeTags: U(this.columns.template.get("themeTags", []), ["series", "column"])
346
349
  }, [this.columns.template])))
347
350
  });
348
351
  }
349
352
  /**
350
353
  * @ignore
351
354
  */
352
- makeColumn(e, t) {
353
- const s = t.make();
354
- return this.get("turboMode") ? s.virtualParent = this.chart : this.mainContainer.children.push(s), s._setDataItem(e), t.push(s), s;
355
+ makeColumn(t, e) {
356
+ const s = e.make();
357
+ return this.get("turboMode") ? s.virtualParent = this.chart : this.mainContainer.children.push(s), s._setDataItem(t), e.push(s), s;
355
358
  }
356
- _processAxisRange(e) {
357
- super._processAxisRange(e), e.columns = new H(B.new({}), () => z._new(this._root, {
359
+ _processAxisRange(t) {
360
+ super._processAxisRange(t), t.columns = new B(z.new({}), () => q._new(this._root, {
358
361
  position: "absolute",
359
- themeTags: q(e.columns.template.get("themeTags", []), ["series", "column"])
360
- }, [this.columns.template, e.columns.template]));
362
+ themeTags: U(t.columns.template.get("themeTags", []), ["series", "column"])
363
+ }, [this.columns.template, t.columns.template]));
361
364
  }
362
365
  _beforeColumnsDraw() {
363
366
  this.allColumnsData = [];
364
367
  }
365
368
  _afterColumnsDraw() {
366
- this.get("turboMode") && this.allColumns.set("draw", (e) => {
367
- e.clear(), D(this.allColumnsData, (t) => {
368
- const s = t.width, o = t.height, i = t.x, n = t.y, a = t.stroke, _ = t.fill, f = t.strokeWidth, x = t.strokeOpacity, c = t.fillOpacity;
369
- e.beginFill(_, c), e.beginPath(), e.lineStyle(f, a, x), e.drawRect(i, n, s, o), e.endStroke(), e.endFill();
369
+ this.get("turboMode") && this.allColumns.set("draw", (t) => {
370
+ t.clear(), D(this.allColumnsData, (e) => {
371
+ const s = e.width, o = e.height, i = e.x, n = e.y, a = e.stroke, _ = e.fill, f = e.strokeWidth, x = e.strokeOpacity, c = e.fillOpacity;
372
+ t.beginFill(_, c), t.beginPath(), t.lineStyle(f, a, x), t.drawRect(i, n, s, o), t.endStroke(), t.endFill();
370
373
  });
371
374
  });
372
375
  }
373
- _updateSeriesGraphics(e, t, s, o, i, n, a, _) {
376
+ _updateSeriesGraphics(t, e, s, o, i, n, a, _) {
374
377
  if (this.get("turboMode")) {
375
- const f = t.get("stroke"), x = t.get("fillOpacity", 1), c = t.get("strokeOpacity", 1), h = t.get("strokeWidth", 1), g = t.get("fill"), v = this.getPoint(s, i), d = this.getPoint(o, n), l = e.get("point");
378
+ const f = e.get("stroke"), x = e.get("fillOpacity", 1), c = e.get("strokeOpacity", 1), h = e.get("strokeWidth", 1), g = e.get("fill"), v = this.getPoint(s, i), d = this.getPoint(o, n), l = t.get("point");
376
379
  if (l) {
377
- const P = this.getPoint(l.x, l.y);
378
- l.x = P.x + this._x, l.y = P.y + this._y;
380
+ const b = this.getPoint(l.x, l.y);
381
+ l.x = b.x + this._x, l.y = b.y + this._y;
379
382
  }
380
- s = v.x, o = d.x, i = v.y, n = d.y, e.setRaw("left", s), e.setRaw("right", o), e.setRaw("top", i), e.setRaw("bottom", n), this.allColumnsData.push({ width: o - s, height: n - i, x: s, y: i, stroke: f, fill: g, strokeWidth: h, strokeOpacity: c, fillOpacity: x });
383
+ s = v.x, o = d.x, i = v.y, n = d.y, t.setRaw("left", s), t.setRaw("right", o), t.setRaw("top", i), t.setRaw("bottom", n), this.allColumnsData.push({ width: o - s, height: n - i, x: s, y: i, stroke: f, fill: g, strokeWidth: h, strokeOpacity: c, fillOpacity: x });
381
384
  } else
382
- super._updateSeriesGraphics(e, t, s, o, i, n, a, _);
385
+ super._updateSeriesGraphics(t, e, s, o, i, n, a, _);
383
386
  }
384
387
  }
385
388
  Object.defineProperty(N, "className", {
@@ -0,0 +1,83 @@
1
+ import { E as c, e as h, q as a, r as l, t as o, u, v as n } from "./ColorSet-C7vpNXhM.js";
2
+ class p extends c {
3
+ constructor() {
4
+ super(...arguments), Object.defineProperty(this, "_checkDates", {
5
+ enumerable: !0,
6
+ configurable: !0,
7
+ writable: !0,
8
+ value: !1
9
+ }), Object.defineProperty(this, "_checkNumbers", {
10
+ enumerable: !0,
11
+ configurable: !0,
12
+ writable: !0,
13
+ value: !1
14
+ }), Object.defineProperty(this, "_checkColors", {
15
+ enumerable: !0,
16
+ configurable: !0,
17
+ writable: !0,
18
+ value: !1
19
+ }), Object.defineProperty(this, "_checkEmpty", {
20
+ enumerable: !0,
21
+ configurable: !0,
22
+ writable: !0,
23
+ value: !1
24
+ }), Object.defineProperty(this, "_checkDeep", {
25
+ enumerable: !0,
26
+ configurable: !0,
27
+ writable: !0,
28
+ value: !1
29
+ });
30
+ }
31
+ _afterNew() {
32
+ super._afterNew(), this._checkFeatures(), this.on("dateFields", () => this._checkFeatures()), this.on("dateFormat", () => this._checkFeatures()), this.on("numericFields", () => this._checkFeatures()), this.on("colorFields", () => this._checkFeatures()), this.on("emptyAs", () => this._checkFeatures());
33
+ }
34
+ _checkFeatures() {
35
+ (this.isDirty("dateFields") || this.isDirty("dateFormat")) && (this._checkDates = this.get("dateFields") && this.get("dateFields").length > 0), this.isDirty("numericFields") && (this._checkNumbers = this.get("numericFields") && this.get("numericFields").length > 0), this.isDirty("colorFields") && (this._checkColors = this.get("colorFields") && this.get("colorFields").length > 0), this.isDirty("emptyAs") && (this._checkEmpty = this.get("emptyAs") != null), this._checkDeepFeatures();
36
+ }
37
+ _checkDeepFeatures() {
38
+ const e = [];
39
+ h(["dateFields", "numericFields", "colorFields"], (t) => {
40
+ h(this.get(t, []), (s) => {
41
+ const i = s.split(".");
42
+ for (i.pop(); i.length > 0; )
43
+ e.push(i.join(".")), i.pop();
44
+ });
45
+ }), this._checkDeep = e.length > 0, this.setPrivate("deepFields", e);
46
+ }
47
+ /**
48
+ * Processess entire array of data.
49
+ *
50
+ * NOTE: calling this will modify original array!
51
+ */
52
+ processMany(e) {
53
+ a(e) && (this._checkDates || this._checkNumbers || this._checkColors || this._checkEmpty) && h(e, (t) => {
54
+ this.processRow(t);
55
+ });
56
+ }
57
+ /**
58
+ * Processes a row (object) of data.
59
+ *
60
+ * NOTE: calling this will modify values of the original object!
61
+ */
62
+ processRow(e, t = "") {
63
+ l(e, (s, i) => {
64
+ const r = t + s;
65
+ this._checkEmpty && (e[s] = this._maybeToEmpty(e[s])), this._checkNumbers && (e[s] = this._maybeToNumber(r, e[s])), this._checkDates && (e[s] = this._maybeToDate(r, e[s])), this._checkColors && (e[s] = this._maybeToColor(r, e[s])), this._checkDeep && this.getPrivate("deepFields", []).indexOf(r) !== -1 && n(e[s]) && this.processRow(e[s], r + ".");
66
+ });
67
+ }
68
+ _maybeToNumber(e, t) {
69
+ return this.get("numericFields").indexOf(e) !== -1 ? o(t) : t;
70
+ }
71
+ _maybeToDate(e, t) {
72
+ return this.get("dateFields").indexOf(e) !== -1 ? this._root.dateFormatter.parse(t, this.get("dateFormat", "")).getTime() : t;
73
+ }
74
+ _maybeToEmpty(e) {
75
+ return (e == null || e == "") && this.get("emptyAs") != null ? this.get("emptyAs") : e;
76
+ }
77
+ _maybeToColor(e, t) {
78
+ return this.get("colorFields").indexOf(e) !== -1 ? u.fromAny(t) : t;
79
+ }
80
+ }
81
+ export {
82
+ p as D
83
+ };