@arcgis/charts-components 5.1.0-next.65 → 5.1.0-next.67

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 (264) hide show
  1. package/dist/cdn/2333HQZZ.js +2 -0
  2. package/dist/cdn/25LAV2UI.js +2 -0
  3. package/dist/cdn/{SMGWUDX3.js → 2J5IWBKU.js} +1 -1
  4. package/dist/cdn/2NIOPMWE.js +2 -0
  5. package/dist/cdn/32WPXK4K.js +2 -0
  6. package/dist/cdn/35NR6IHU.js +2 -0
  7. package/dist/cdn/4BDLJPIB.js +2 -0
  8. package/dist/cdn/4HRFZU2C.js +2 -0
  9. package/dist/cdn/4NYTLY62.js +2 -0
  10. package/dist/cdn/{66CPF67N.js → 5KOFW5BO.js} +1 -1
  11. package/dist/cdn/5PSQ7OKJ.js +2 -0
  12. package/dist/cdn/6GURKNO2.js +2 -0
  13. package/dist/cdn/{GLST76GV.js → 6GVGNQYH.js} +1 -1
  14. package/dist/cdn/6RKNXP6N.js +2 -0
  15. package/dist/cdn/{X6QQ322N.js → 6TKG7ZF7.js} +1 -1
  16. package/dist/cdn/{6VW6XPBH.js → 75FO5HPY.js} +1 -1
  17. package/dist/cdn/7HGCX3PA.js +2 -0
  18. package/dist/cdn/7Y5FTMNT.js +2 -0
  19. package/dist/cdn/{4YWBOW4N.js → 7YDVVZJU.js} +1 -1
  20. package/dist/cdn/AALOFAWG.js +2 -0
  21. package/dist/cdn/AMLWVAHN.js +2 -0
  22. package/dist/cdn/BVK4ULHH.js +2 -0
  23. package/dist/cdn/BXDRHDLV.js +2 -0
  24. package/dist/cdn/BXNLQMSP.js +2 -0
  25. package/dist/cdn/{3WMOCDMO.js → CCNHG4LT.js} +1 -1
  26. package/dist/cdn/CUAIY5DK.js +37 -0
  27. package/dist/cdn/DHCFSWRJ.js +2 -0
  28. package/dist/cdn/ECRW3QJF.js +2 -0
  29. package/dist/cdn/{DHZT5P3N.js → EF4GVHB2.js} +1 -1
  30. package/dist/cdn/EGHVQUKF.js +2 -0
  31. package/dist/cdn/EP5VVTAX.js +2 -0
  32. package/dist/cdn/EWLMYFSA.js +2 -0
  33. package/dist/cdn/{QFC7M2Y2.js → FFXTYOTF.js} +1 -1
  34. package/dist/cdn/FOSGOEWY.js +2 -0
  35. package/dist/cdn/G56RB2UI.js +2 -0
  36. package/dist/cdn/{HR62GM42.js → GKYHQ5OF.js} +1 -1
  37. package/dist/cdn/GXQDCOI4.js +99 -0
  38. package/dist/cdn/HW42VNOU.js +2 -0
  39. package/dist/cdn/I54YDLFZ.js +2 -0
  40. package/dist/cdn/I6IYDKWG.js +2 -0
  41. package/dist/cdn/IN3H6ULU.js +2 -0
  42. package/dist/cdn/ISNJYFT7.js +2 -0
  43. package/dist/cdn/ITB7EYBT.js +2 -0
  44. package/dist/cdn/JDQ6BNXO.js +2 -0
  45. package/dist/cdn/JMMW4Z5P.js +2 -0
  46. package/dist/cdn/JTL73F75.js +2 -0
  47. package/dist/cdn/KOLQWSYX.js +2 -0
  48. package/dist/cdn/KYFOP4WA.js +2 -0
  49. package/dist/cdn/L2NQ6Z3Z.js +2 -0
  50. package/dist/cdn/LGAAHH35.js +2 -0
  51. package/dist/cdn/LIXBROPH.js +2 -0
  52. package/dist/cdn/LRQVALTM.js +2 -0
  53. package/dist/cdn/LT62HS4S.js +2 -0
  54. package/dist/cdn/MUCSVAGN.js +2 -0
  55. package/dist/cdn/N4IITAR7.js +2 -0
  56. package/dist/cdn/NEEKPRM4.js +2 -0
  57. package/dist/cdn/NEFPCTH3.js +2 -0
  58. package/dist/cdn/NVV2EBVI.js +2 -0
  59. package/dist/cdn/O7ZCEGVR.js +2 -0
  60. package/dist/cdn/{WIP3X44L.js → OPDQRTZL.js} +3 -3
  61. package/dist/cdn/PG36SBDU.js +2 -0
  62. package/dist/cdn/PGJD4Q7S.js +2 -0
  63. package/dist/cdn/PGVNBWSU.js +23 -0
  64. package/dist/cdn/PL24HKI7.js +2 -0
  65. package/dist/cdn/PLBPOYRN.js +2 -0
  66. package/dist/cdn/QEPCR5IP.js +2 -0
  67. package/dist/cdn/QT24FAYQ.js +2 -0
  68. package/dist/cdn/R6XIAIZH.js +2 -0
  69. package/dist/cdn/RDBNRYTF.js +2 -0
  70. package/dist/cdn/RQLVJM4J.js +2 -0
  71. package/dist/cdn/RX6QOYCR.js +2 -0
  72. package/dist/cdn/SNZF4LXV.js +2 -0
  73. package/dist/cdn/{QRNEQ6OE.js → TJA5FMLP.js} +1 -1
  74. package/dist/cdn/TZJGC4RS.js +2 -0
  75. package/dist/cdn/{IIJZ52BJ.js → VRXVXPKS.js} +1 -1
  76. package/dist/cdn/VWCFL5P6.js +2 -0
  77. package/dist/cdn/W5VC5OCC.js +2 -0
  78. package/dist/cdn/W6T7TNP5.js +2 -0
  79. package/dist/cdn/WNEW6UZS.js +2 -0
  80. package/dist/cdn/XFXE7IY2.js +2 -0
  81. package/dist/cdn/XV7GLCBP.js +2 -0
  82. package/dist/cdn/Y3DU5EIT.js +2 -0
  83. package/dist/cdn/Y3NWCVUF.js +2 -0
  84. package/dist/cdn/YHUBOYF5.js +2 -0
  85. package/dist/cdn/YNRVU2AU.js +2 -0
  86. package/dist/cdn/YPSEQYTV.js +2 -0
  87. package/dist/cdn/YQTJQ5J7.js +2 -0
  88. package/dist/cdn/Z4GL4EF6.js +2 -0
  89. package/dist/cdn/ZIXBICPN.js +2 -0
  90. package/dist/cdn/ZRDVJBTQ.js +2 -0
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
  93. package/dist/chart-rendering/common/interfaces.d.ts +7 -0
  94. package/dist/chunks/action-bar-utils.js +22 -28
  95. package/dist/chunks/axis-lines-symbol.js +8 -8
  96. package/dist/chunks/bar-chart-model.js +19 -25
  97. package/dist/chunks/bar-chart-series.js +12 -18
  98. package/dist/chunks/box-plot-data.js +75 -81
  99. package/dist/chunks/box-plot-model.js +19 -19
  100. package/dist/chunks/chart-model.js +40 -46
  101. package/dist/chunks/chart-ui-utils2.js +47 -53
  102. package/dist/chunks/class-breaks.js +16 -16
  103. package/dist/chunks/combo-bar-line-chart-model.js +20 -20
  104. package/dist/chunks/data-labels-symbol.js +5 -5
  105. package/dist/chunks/data.js +53 -59
  106. package/dist/chunks/gauge-model.js +22 -28
  107. package/dist/chunks/generate-x-axis-title.js +30 -36
  108. package/dist/chunks/heat-chart-model.js +10 -16
  109. package/dist/chunks/histogram-data.js +53 -59
  110. package/dist/chunks/histogram-model.js +31 -31
  111. package/dist/chunks/index.js +608 -20565
  112. package/dist/chunks/index2.js +171 -678
  113. package/dist/chunks/index3.js +46 -181
  114. package/dist/chunks/interfaces.js +16443 -103
  115. package/dist/chunks/interfaces2.js +109 -0
  116. package/dist/chunks/line-chart-model.js +2 -2
  117. package/dist/chunks/model-setter.js +15 -21
  118. package/dist/chunks/model-with-guides.js +22 -28
  119. package/dist/chunks/model-with-tooltips.js +23 -29
  120. package/dist/chunks/model-with-x-guides.js +4 -4
  121. package/dist/chunks/model-with-y-guides.js +25 -31
  122. package/dist/chunks/negative-values-stacked-to-baseline.js +41 -47
  123. package/dist/chunks/pie-chart-data.js +33 -39
  124. package/dist/chunks/pie-chart-model.js +62 -68
  125. package/dist/chunks/radar-chart-model.js +8 -15
  126. package/dist/chunks/rotated-state.js +9 -15
  127. package/dist/chunks/scatterplot-model.js +84 -90
  128. package/dist/chunks/serial-chart-data.js +8178 -4195
  129. package/dist/chunks/serial-chart-model.js +32 -39
  130. package/dist/chunks/series-length.js +14 -20
  131. package/dist/chunks/series.js +10 -16
  132. package/dist/chunks/utils.js +337 -119
  133. package/dist/chunks/utils2.js +19 -25
  134. package/dist/chunks/web-component-utils.js +42 -42
  135. package/dist/components/arcgis-chart/customElement.js +5255 -5339
  136. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  137. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -28
  138. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -10
  139. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -20
  140. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -15
  141. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -15
  142. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -16
  143. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -11
  144. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +33 -38
  145. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -10
  146. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -10
  147. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +7 -13
  148. package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -20
  149. package/dist/components/arcgis-charts-config-font-style/customElement.js +14 -20
  150. package/dist/components/arcgis-charts-config-format/customElement.js +4 -10
  151. package/dist/components/arcgis-charts-config-format-popover/customElement.js +10 -16
  152. package/dist/components/arcgis-charts-config-general/customElement.js +8 -14
  153. package/dist/components/arcgis-charts-config-guide/customElement.js +14 -19
  154. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +13 -19
  155. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +4 -10
  156. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +20 -26
  157. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +17 -24
  158. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -21
  159. package/dist/components/arcgis-charts-config-histogram/customElement.js +26 -32
  160. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -32
  161. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -11
  162. package/dist/components/arcgis-charts-config-line-chart/customElement.js +18 -24
  163. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -18
  164. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -14
  165. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -10
  166. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -10
  167. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -11
  168. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +8 -14
  169. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -24
  170. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -14
  171. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -10
  172. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +22 -28
  173. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -15
  174. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -11
  175. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -10
  176. package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -19
  177. package/dist/components/arcgis-charts-info-modal/customElement.js +4 -10
  178. package/dist/docs/api.json +1 -1
  179. package/dist/docs/docs.json +1 -1
  180. package/dist/docs/vscode.html-custom-data.json +1 -1
  181. package/dist/docs/web-types.json +1 -1
  182. package/dist/index.js +421 -412
  183. package/dist/utils/chart-config/utils/index.d.ts +22 -1
  184. package/dist/utils/chart-config/validator/index.d.ts +2 -2
  185. package/dist/utils/data/index.d.ts +48 -1
  186. package/dist/utils/data/pie-chart/index.d.ts +31 -0
  187. package/package.json +3 -3
  188. package/dist/cdn/2R7GVZ2K.js +0 -2
  189. package/dist/cdn/3LT2GKQ2.js +0 -2
  190. package/dist/cdn/4D7IL776.js +0 -23
  191. package/dist/cdn/4TUXERAH.js +0 -2
  192. package/dist/cdn/53BACKKK.js +0 -2
  193. package/dist/cdn/5TNV7JHC.js +0 -2
  194. package/dist/cdn/627BGNFG.js +0 -2
  195. package/dist/cdn/6LOKVOKI.js +0 -2
  196. package/dist/cdn/6NZ5UJML.js +0 -2
  197. package/dist/cdn/6WJVFMRO.js +0 -2
  198. package/dist/cdn/7GZN67ZQ.js +0 -2
  199. package/dist/cdn/7SSD7QVG.js +0 -2
  200. package/dist/cdn/7XRXZ5B3.js +0 -2
  201. package/dist/cdn/7Y57O4FJ.js +0 -2
  202. package/dist/cdn/7Y7YFJKK.js +0 -2
  203. package/dist/cdn/7YXQ6TZT.js +0 -2
  204. package/dist/cdn/A642VLJ3.js +0 -2
  205. package/dist/cdn/AVCKTWRB.js +0 -2
  206. package/dist/cdn/BCEUGCIB.js +0 -2
  207. package/dist/cdn/BP7HN7YH.js +0 -2
  208. package/dist/cdn/BPZNMCFA.js +0 -2
  209. package/dist/cdn/DRLAYMR6.js +0 -2
  210. package/dist/cdn/DXWMRZX7.js +0 -2
  211. package/dist/cdn/E7ZG5PMT.js +0 -2
  212. package/dist/cdn/EDBE2EVF.js +0 -2
  213. package/dist/cdn/EDCUOXXS.js +0 -2
  214. package/dist/cdn/EWCL54AQ.js +0 -2
  215. package/dist/cdn/FKR2N42T.js +0 -2
  216. package/dist/cdn/GT2GE37X.js +0 -2
  217. package/dist/cdn/HHMRHLFD.js +0 -2
  218. package/dist/cdn/HMYIPN7X.js +0 -2
  219. package/dist/cdn/HQZDYYW6.js +0 -2
  220. package/dist/cdn/HZDIYXNY.js +0 -2
  221. package/dist/cdn/I34GLJPW.js +0 -2
  222. package/dist/cdn/IGRLN5QE.js +0 -2
  223. package/dist/cdn/IJD3YDOE.js +0 -2
  224. package/dist/cdn/ITF5WJUH.js +0 -2
  225. package/dist/cdn/J73HEYK6.js +0 -2
  226. package/dist/cdn/JWTEQZTD.js +0 -2
  227. package/dist/cdn/KDLX6TGN.js +0 -2
  228. package/dist/cdn/LLNUWDC5.js +0 -2
  229. package/dist/cdn/LZ7LNUEI.js +0 -2
  230. package/dist/cdn/MAZJTJ64.js +0 -2
  231. package/dist/cdn/MB7BDR7H.js +0 -2
  232. package/dist/cdn/MTTVUHUH.js +0 -2
  233. package/dist/cdn/MVLJJ7VZ.js +0 -2
  234. package/dist/cdn/N373OIOT.js +0 -2
  235. package/dist/cdn/N4GBOPIU.js +0 -2
  236. package/dist/cdn/OG3JZ3LP.js +0 -37
  237. package/dist/cdn/PSYU6XTK.js +0 -2
  238. package/dist/cdn/PVTBEXFF.js +0 -2
  239. package/dist/cdn/PYLJO324.js +0 -2
  240. package/dist/cdn/QQ6DOFHZ.js +0 -99
  241. package/dist/cdn/RAJWBR34.js +0 -2
  242. package/dist/cdn/S7COU7MH.js +0 -2
  243. package/dist/cdn/SYY7UU2N.js +0 -2
  244. package/dist/cdn/TN45YUM2.js +0 -2
  245. package/dist/cdn/TODWZ6FZ.js +0 -2
  246. package/dist/cdn/TP7767ZV.js +0 -2
  247. package/dist/cdn/UFJOL4MK.js +0 -2
  248. package/dist/cdn/ULSVHCH4.js +0 -2
  249. package/dist/cdn/UVFPEIK2.js +0 -2
  250. package/dist/cdn/V3PU5TMU.js +0 -2
  251. package/dist/cdn/V3VVN7ST.js +0 -2
  252. package/dist/cdn/V5JXE6N4.js +0 -2
  253. package/dist/cdn/VPOAGMYE.js +0 -2
  254. package/dist/cdn/VXMMIOTJ.js +0 -2
  255. package/dist/cdn/WL2XRSAH.js +0 -2
  256. package/dist/cdn/WWARKOXR.js +0 -2
  257. package/dist/cdn/WWGW24FD.js +0 -2
  258. package/dist/cdn/XUHCS2SB.js +0 -2
  259. package/dist/cdn/YBAPI2UV.js +0 -2
  260. package/dist/cdn/YJDYXU2Q.js +0 -2
  261. package/dist/cdn/YUZ26Q2B.js +0 -2
  262. package/dist/cdn/ZRDKD2U3.js +0 -2
  263. package/dist/cdn/ZVOSWG36.js +0 -2
  264. /package/dist/cdn/{FPDW4F45.js → VCUC6CMW.js} +0 -0
@@ -1,151 +1,366 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import "@arcgis/toolkit/type";
3
- import { q as B, u, r as y, w, p as C } from "./series-types.js";
3
+ import { r as F, q as W, u as b, w as P, p as R } from "./series-types.js";
4
4
  import "@arcgis/toolkit/intl";
5
5
  import "lodash-es";
6
6
  import "luxon";
7
- import { c4 as j, aw as q, bl as A, bH as N, aH as D, aL as k, T as M, aF as W, ax as $, bA as E, q as v, d3 as I, dO as L, bo as H, cG as U, dN as K, c3 as P, dJ as X } from "./index.js";
8
- import "@arcgis/core/geometry/Point.js";
9
- import "@arcgis/core/applications/Components/imageryUtils.js";
10
- import "@arcgis/core/geometry/Extent.js";
11
- import "simple-statistics";
12
- import "@arcgis/core/request.js";
7
+ import { bw as q, bD as N, dn as Q, y as G, c$ as C, a as J, E as X, dU as h, dd as _, f as z, D as H, c0 as Y, au as Z, bi as V, aF as ee, aJ as te, T as ie, aD as se, av as ae, bx as re, q as k, bl as oe, cB as ne, b$ as le, dJ as ce } from "./interfaces.js";
13
8
  import "@arcgis/core/Graphic.js";
14
9
  import "@arcgis/core/renderers/support/jsonUtils.js";
15
10
  import "@arcgis/core/symbols/support/symbolUtils.js";
16
- import "@arcgis/core/AttributeBinsGraphic.js";
17
- import "@arcgis/core/layers/support/CodedValueDomain.js";
18
- import { substitute as b } from "@arcgis/core/intl.js";
19
- import "@arcgis/core/layers/support/FeatureFilter.js";
20
- import "@arcgis/core/smartMapping/statistics/histogram.js";
21
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
22
- import "@arcgis/core/core/sql.js";
23
- import "@arcgis/core/core/promiseUtils.js";
24
- import "./runtime.js";
25
- import "@arcgis/toolkit/dom";
11
+ import "@esri/arcgis-html-sanitizer";
26
12
  import "@arcgis/core/geometry/support/jsonUtils.js";
27
13
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
28
14
  import "@arcgis/core/rest/support/Query.js";
29
15
  import "@arcgis/core/rest/support/StatisticDefinition.js";
30
16
  import "@arcgis/core/time/TimeExtent.js";
31
- import { k as G } from "./index4.js";
32
- function Ie(s, e, i) {
17
+ import { computeRasterAttributeTable as ue } from "@arcgis/core/applications/Components/imageryUtils.js";
18
+ import fe from "@arcgis/core/geometry/Extent.js";
19
+ import "@arcgis/core/geometry/Point.js";
20
+ import "simple-statistics";
21
+ import "@arcgis/core/request.js";
22
+ import "@arcgis/toolkit/dom";
23
+ import "./runtime.js";
24
+ import { substitute as I } from "@arcgis/core/intl.js";
25
+ import "@arcgis/core/core/promiseUtils.js";
26
+ import { k as de } from "./index4.js";
27
+ async function D(s) {
28
+ const { queryObject: e, queryConfig: i, category: t, splitByField: a, chartLimits: o, abortKey: r } = s, n = a !== void 0, l = t !== G ? [t] : [];
29
+ n && l.push(a);
30
+ const c = q(e), { idField: u, isTraditionalTypeOID: p } = N(c), f = p ? u : "*", y = {
31
+ ...i,
32
+ groupByFieldsForStatistics: Array.from(new Set(l)),
33
+ outStatistics: [
34
+ {
35
+ statisticType: F.Count,
36
+ onStatisticField: f,
37
+ // Generating an out stat field name. Letting it to COUNT only can fail the query on arcObject layers
38
+ outStatisticFieldName: `${F.Count}_OBJECTID`
39
+ }
40
+ ],
41
+ orderByFields: void 0,
42
+ // Adding num (resultRecordCount) to match the query fetching the results (build by `buildUniqueQuery()). We pick an arbitrary limit (maxBarThreePlusSeriesCountTotal)
43
+ // as we don't know in advance how many results we will get.
44
+ // TODO: once the servers are able to make a distinction between values with a different number of trailing spaces we'll be able to revert that function to its previous
45
+ // state, using the `returnDistinctValues` on a specific field.
46
+ // Refer to: https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8208
47
+ num: o?.maxBarThreePlusSeriesCountTotal
48
+ }, g = await Q({
49
+ queryObject: e,
50
+ featureCount: 1,
51
+ // skipping the count
52
+ queryConfig: y,
53
+ abortKey: r
54
+ });
55
+ return Array.from(
56
+ new Set(
57
+ g.map((x) => x.attributes[n ? a : t])
58
+ )
59
+ ).sort((x, m) => typeof x == "string" && typeof m == "string" ? x.localeCompare(m) : Number(x) - Number(m));
60
+ }
61
+ function ye(s, e) {
62
+ let i = !0;
63
+ if (e?.trim()) {
64
+ const t = {};
65
+ Object.entries(s).forEach(([r, n]) => {
66
+ t[r.toUpperCase()] = n;
67
+ });
68
+ const a = e.trim(), o = a.match(/^(\w+)\s+IS\s+(NOT\s+)?NULL$/iu);
69
+ if (o) {
70
+ const [r, n, l] = o, c = t[n.toUpperCase()], u = c == null;
71
+ i = l ? !u : u;
72
+ } else {
73
+ const r = a.match(/^(\w+)\s*(=|!=|<>|>|<|>=|<=)\s*(.+)$/iu);
74
+ if (r) {
75
+ const [n, l, c, u] = r, p = l.toUpperCase();
76
+ if (!(p in t))
77
+ i = !1;
78
+ else {
79
+ const f = t[p];
80
+ let y = u.trim().replace(/^['"]|['"]$/gu, "");
81
+ switch (typeof f == "number" ? y = Number(y) : typeof f == "boolean" && (y = y.toLowerCase() === "true"), c) {
82
+ case "=":
83
+ i = f === y;
84
+ break;
85
+ case "!=":
86
+ case "<>":
87
+ i = f !== y;
88
+ break;
89
+ case ">":
90
+ i = f > y;
91
+ break;
92
+ case "<":
93
+ i = f < y;
94
+ break;
95
+ case ">=":
96
+ i = f >= y;
97
+ break;
98
+ case "<=":
99
+ i = f <= y;
100
+ break;
101
+ default:
102
+ i = !0;
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ return i;
109
+ }
110
+ function ge(s) {
111
+ const { features: e, aggregationType: i, onField: t } = s;
112
+ let a;
113
+ if (!t)
114
+ i === "count" && (a = e.length);
115
+ else
116
+ switch (i) {
117
+ case "count": {
118
+ t === "*" ? a = e.length : a = e.filter((o) => o[t] !== null && o[t] !== void 0).length;
119
+ break;
120
+ }
121
+ case "sum": {
122
+ a = e.reduce((o, r) => {
123
+ const n = r[t];
124
+ return o + (typeof n == "number" ? n : 0);
125
+ }, 0);
126
+ break;
127
+ }
128
+ case "avg": {
129
+ let o = 0, r = 0;
130
+ e.forEach((n) => {
131
+ const l = n[t];
132
+ typeof l == "number" && (o += l, r++);
133
+ }), a = r > 0 ? o / r : 0;
134
+ break;
135
+ }
136
+ case "min": {
137
+ const o = e.map((r) => r[t]).filter((r) => typeof r == "number" && r !== null && r !== void 0);
138
+ a = o.length > 0 ? Math.min(...o) : void 0;
139
+ break;
140
+ }
141
+ case "max": {
142
+ const o = e.map((r) => r[t]).filter((r) => typeof r == "number" && r !== null && r !== void 0);
143
+ a = o.length > 0 ? Math.max(...o) : void 0;
144
+ break;
145
+ }
146
+ case "percentile-continuous": {
147
+ const r = [...e.map((l) => l[t]).filter((l) => typeof l == "number" && l !== null && l !== void 0)].sort((l, c) => l - c), n = Math.floor(r.length / 2);
148
+ a = r.length % 2 !== 0 ? r[n] : (r[n - 1] + r[n]) / 2;
149
+ break;
150
+ }
151
+ }
152
+ return a;
153
+ }
154
+ function B(s, e) {
155
+ let i;
156
+ return s == null && e ? i = {
157
+ groupKey: h.nullValue,
158
+ display: h.nullValue,
159
+ original: null
160
+ } : i = { groupKey: s, display: s, original: s }, i;
161
+ }
162
+ async function me(s) {
163
+ const { layer: e, geometry: i, abortKey: t } = s;
164
+ e.loaded || await e.load();
165
+ const a = await e.generateRasterInfo(e.rasterFunction), o = _(i) ?? e.fullExtent;
166
+ let r = a.attributeTable;
167
+ return o instanceof fe && o.equals(e.fullExtent) || (r = await ue(
168
+ e,
169
+ {
170
+ geometry: o
171
+ },
172
+ {
173
+ signal: t !== void 0 ? z.get(t)?.signal : void 0
174
+ }
175
+ )), r;
176
+ }
177
+ async function Re(s) {
178
+ const { chartConfig: e, queryConfig: i, queryObject: t, abortKey: a } = s;
179
+ let o;
180
+ if (t === void 0)
181
+ throw new Error("QueryObject is undefined!");
182
+ const r = q(t);
183
+ if (!C(r))
184
+ throw new J(X.LayerNotSupported);
185
+ const n = await me({
186
+ layer: r,
187
+ geometry: i.geometry,
188
+ abortKey: a
189
+ }), l = n?.features;
190
+ if (!n || !l)
191
+ o = {
192
+ valid: !1,
193
+ invalidType: H.BadData
194
+ };
195
+ else {
196
+ const c = e.series;
197
+ if (!c || c.length === 0 || l.length === 0)
198
+ o = {
199
+ valid: !0
200
+ };
201
+ else {
202
+ const u = i.groupByFieldsForStatistics?.[0] ?? "", p = c.some((g) => g.query?.fetchNullValues), f = /* @__PURE__ */ new Map();
203
+ for (const g of l) {
204
+ const { groupKey: d } = B(g.attributes[u], p);
205
+ d === h.nullValue && !p || (f.has(d) || f.set(d, []), f.get(d).push(g.attributes));
206
+ }
207
+ const y = [];
208
+ f.forEach((g) => {
209
+ const d = {}, x = g[0][u], { display: m, original: j } = B(x, p);
210
+ d[u] = m, d[h.xAxisField] = m, d[h.originalCategoryValue] = j, c.forEach((v) => {
211
+ const A = v.query?.outStatistics?.[0];
212
+ if (!A) {
213
+ const { name: S } = v;
214
+ d[S] = g[0][S];
215
+ return;
216
+ }
217
+ let T = g;
218
+ const w = v.query?.where;
219
+ w && (T = g.filter((S) => ye(S, w)));
220
+ const K = A.statisticType, $ = A.onStatisticField, U = A.outStatisticFieldName;
221
+ d[U] = ge({
222
+ features: T,
223
+ aggregationType: K,
224
+ onField: $
225
+ });
226
+ }), y.push(d);
227
+ }), o = {
228
+ valid: !0,
229
+ data: {
230
+ dataItems: y
231
+ }
232
+ };
233
+ }
234
+ }
235
+ return o;
236
+ }
237
+ async function pe(s) {
238
+ const { layer: e, category: i, splitByField: t } = s, r = (await e.generateRasterInfo(e.rasterFunction))?.attributeTable?.features, n = t !== void 0;
239
+ return Array.from(
240
+ new Set(
241
+ r?.map(
242
+ (c) => c.attributes[n ? t : i]
243
+ )
244
+ )
245
+ ).sort((c, u) => typeof c == "string" && typeof u == "string" ? c.localeCompare(u) : Number(c) - Number(u));
246
+ }
247
+ function Qe(s, e, i) {
33
248
  const t = s?.axes?.[e];
34
- t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = D({
249
+ t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = ee({
35
250
  text: i,
36
251
  visible: !0,
37
- font: k(M.AxisTitle)
252
+ font: te(ie.AxisTitle)
38
253
  }));
39
254
  }
40
- function Le(s) {
41
- const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
42
- let o = "";
255
+ function Ge(s) {
256
+ const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: o } = s;
257
+ let r = "";
43
258
  if (e)
44
- if (j(e) === B.Stacked100)
45
- o = t.utilsStrings.statistics.percent;
259
+ if (Y(e) === W.Stacked100)
260
+ r = t.utilsStrings.statistics.percent;
46
261
  else {
47
- const f = q(r, t);
48
- if (e.series[0]?.type === u.HeatSeries)
49
- o = A(i.layerFieldsInfo, e.series[0].y);
262
+ const l = Z(o, t);
263
+ if (e.series[0]?.type === b.HeatSeries)
264
+ r = V(i.layerFieldsInfo, e.series[0].y);
50
265
  else if (a.length === 1) {
51
- const n = A(i.layerFieldsInfo, a[0]), c = N(i.layer).idField;
52
- r === y.NoAggregation ? o = n : r === y.Count && c !== void 0 && a[0] === c ? o = t.utilsStrings.statistics.count : o = b(t.axisLabels.aggregationOfFieldName, {
53
- aggregation: f,
54
- fieldName: n
266
+ const c = V(i.layerFieldsInfo, a[0]), u = N(i.layer).idField;
267
+ o === F.NoAggregation ? r = c : o === F.Count && u !== void 0 && a[0] === u ? r = t.utilsStrings.statistics.count : r = I(t.axisLabels.aggregationOfFieldName, {
268
+ aggregation: l,
269
+ fieldName: c
55
270
  });
56
- } else a.length > 1 && (r === y.NoAggregation ? o = t.axisLabels.values : o = b(t.axisLabels.aggregationOfValues, {
57
- aggregation: f
271
+ } else a.length > 1 && (o === F.NoAggregation ? r = t.axisLabels.values : r = I(t.axisLabels.aggregationOfValues, {
272
+ aggregation: l
58
273
  }));
59
274
  }
60
- return o;
275
+ return r;
61
276
  }
62
- const O = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], V = (s) => {
277
+ const E = (s, e, i) => s.axes?.[e] ?? ae(i, s.type)[e], M = (s) => {
63
278
  const { config: e, axis: i, axisIndex: t } = s;
64
279
  e.axes !== void 0 && (e.axes[t] = i);
65
- }, Oe = (s) => {
280
+ }, Je = (s) => {
66
281
  const { config: e, axisIndex: i, isMax: t } = s;
67
282
  let a = Number.NaN;
68
283
  return t ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
69
- }, S = (s) => {
70
- const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
71
- r !== void 0 && (a ? r.maximum = i : r.minimum = i);
72
- }, Ve = (s) => s.axes?.[0]?.valueFormat ?? W(), Te = (s, e, i) => {
73
- const t = O(s, 0, e);
284
+ }, O = (s) => {
285
+ const { config: e, value: i, axisIndex: t, isMax: a } = s, o = e?.axes?.[t];
286
+ o !== void 0 && (a ? o.maximum = i : o.minimum = i);
287
+ }, Xe = (s) => s.axes?.[0]?.valueFormat ?? se(), _e = (s, e, i) => {
288
+ const t = E(s, 0, e);
74
289
  if (t !== void 0 && i !== void 0) {
75
290
  const a = {
76
291
  ...t,
77
292
  valueFormat: i
78
293
  };
79
- V({ config: s, axis: a, axisIndex: 0 });
294
+ M({ config: s, axis: a, axisIndex: 0 });
80
295
  }
81
- }, Be = (s, e, i) => {
296
+ }, ze = (s, e, i) => {
82
297
  const t = s.axes?.[e];
83
298
  t !== void 0 && (t.integerOnlyValues = i);
84
- }, R = (s) => {
85
- const e = w(s.series);
86
- return e === u.BarSeries || e === u.ComboLineAndBarSeries || e === u.LineSeries;
87
- }, J = (s) => {
299
+ }, xe = (s) => {
300
+ const e = P(s.series);
301
+ return e === b.BarSeries || e === b.ComboLineAndBarSeries || e === b.LineSeries;
302
+ }, be = (s) => {
88
303
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
89
304
  let a = !1;
90
- return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = R(i)), a;
91
- }, we = (s) => {
305
+ return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = xe(i)), a;
306
+ }, He = (s) => {
92
307
  const { axisIndex: e, func: i, config: t } = s;
93
- return J({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
94
- }, h = (s, e) => {
308
+ return be({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
309
+ }, L = (s, e) => {
95
310
  let i;
96
311
  const t = e.axes?.[s]?.valueFormat;
97
- return (s === 0 || s >= 1 && G(t)) && (i = t), i;
98
- }, Ce = (s) => {
99
- const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = O(e, a, i);
100
- if (r !== void 0 && t !== void 0) {
101
- const o = {
102
- ...r,
312
+ return (s === 0 || s >= 1 && de(t)) && (i = t), i;
313
+ }, Ye = (s) => {
314
+ const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, o = E(e, a, i);
315
+ if (o !== void 0 && t !== void 0) {
316
+ const r = {
317
+ ...o,
103
318
  valueFormat: t
104
319
  };
105
- V({
320
+ M({
106
321
  config: e,
107
- axis: o,
322
+ axis: r,
108
323
  axisIndex: a
109
324
  });
110
325
  }
111
- }, je = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, qe = (s) => {
326
+ }, Ze = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, et = (s) => {
112
327
  const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
113
- a && (a.isLogarithmic = i, S({ config: e, value: null, axisIndex: t, isMax: !0 }), S({ config: e, value: null, axisIndex: t, isMax: !1 }));
114
- }, De = (s) => {
328
+ a && (a.isLogarithmic = i, O({ config: e, value: null, axisIndex: t, isMax: !0 }), O({ config: e, value: null, axisIndex: t, isMax: !1 }));
329
+ }, tt = (s) => {
115
330
  const { config: e, scrollbar: i, axisIndex: t } = s;
116
331
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
117
332
  };
118
- async function ke(s) {
119
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: d } = s, n = r.filter((p) => p.name === a)[0]?.type, c = d !== !0 ? `${a} IS NOT NULL` : "", m = t && d !== !0 ? `${t} IS NOT NULL` : "", { where: F } = e?.dataFilters ?? {}, T = {
120
- where: v([F, c, m]),
333
+ async function it(s) {
334
+ const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: o, aggregationFields: r, fetchNullValues: n } = s, c = o.filter((x) => x.name === a)[0]?.type, u = n !== !0 ? `${a} IS NOT NULL` : "", p = t && n !== !0 ? `${t} IS NOT NULL` : "", { where: f } = e?.dataFilters ?? {}, y = {
335
+ where: k([f, u, p]),
121
336
  // excluding the null values from the list
122
- orderByFields: U(a) ? [] : [`${a} ${C.Ascending}`],
337
+ orderByFields: ne(a) ? [] : [`${a} ${R.Ascending}`],
123
338
  // default sorting ascending for split-by field
124
339
  geometry: e?.dataFilters?.geometry
125
340
  };
126
- let x = "";
127
- o.length === 0 ? x = N(i).idField : [x] = o;
128
- let g = i ? I(i) ? await K({
341
+ let g = "";
342
+ r.length === 0 ? g = N(i).idField : [g] = r;
343
+ let d = i ? C(i) ? await pe({
129
344
  layer: i,
130
345
  category: e?.series[0].x ?? "",
131
346
  splitByField: a
132
- }) : await L({
347
+ }) : await D({
133
348
  queryObject: i,
134
349
  category: e?.series[0].x ?? "",
135
350
  splitByField: a,
136
- queryConfig: T
351
+ queryConfig: y
137
352
  }) : [];
138
- if (g = g.slice(0, 500), e) {
139
- const p = e?.series.map((l) => P({ where: l.query?.where })?.toString() ?? "").filter((l) => l !== void 0 && l !== "");
140
- g = X({
141
- arrayA: g,
142
- arrayB: p,
143
- getKey: (l) => l === null ? null : l?.toString()
353
+ if (d = d.slice(0, 500), e) {
354
+ const x = e?.series.map((m) => le({ where: m.query?.where })?.toString() ?? "").filter((m) => m !== void 0 && m !== "");
355
+ d = ce({
356
+ arrayA: d,
357
+ arrayB: x,
358
+ getKey: (m) => m === null ? null : m?.toString()
144
359
  });
145
360
  }
146
- return { categoriesArray: g, splitByFieldType: n, numericalField: x };
361
+ return { categoriesArray: d, splitByFieldType: c, numericalField: g };
147
362
  }
148
- function Me(s, e) {
363
+ function st(s, e) {
149
364
  let i = e === "";
150
365
  for (const t of s)
151
366
  if (e === t.name) {
@@ -154,12 +369,12 @@ function Me(s, e) {
154
369
  }
155
370
  return i;
156
371
  }
157
- function We(s, e) {
158
- const i = E(s);
372
+ function at(s, e) {
373
+ const i = re(s);
159
374
  let t = e.length === 0, a = 0;
160
- for (const r of e) {
161
- for (const o of i)
162
- if (r === o && (a += 1), a === e.length) {
375
+ for (const o of e) {
376
+ for (const r of i)
377
+ if (o === r && (a += 1), a === e.length) {
163
378
  t = !0;
164
379
  break;
165
380
  }
@@ -168,7 +383,7 @@ function We(s, e) {
168
383
  }
169
384
  return t;
170
385
  }
171
- function $e(s, e) {
386
+ function rt(s, e) {
172
387
  e.forEach((i) => {
173
388
  Object.getOwnPropertyNames(i.prototype).forEach((t) => {
174
389
  Object.defineProperty(
@@ -179,45 +394,48 @@ function $e(s, e) {
179
394
  });
180
395
  });
181
396
  }
182
- async function Ee(s) {
183
- const { layerInfo: e, config: i, category: t } = s, { layer: a } = e, { where: r } = i?.dataFilters ?? {}, { fetchNullValues: o } = i?.series?.[0]?.query ?? {}, d = o !== !0 ? `${t} IS NOT NULL` : "", f = {
184
- where: v([r, d]),
397
+ async function ot(s) {
398
+ const { layerInfo: e, config: i, category: t } = s, { layer: a } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, n = r !== !0 ? `${t} IS NOT NULL` : "", l = {
399
+ where: k([o, n]),
185
400
  // excluding the null values from the list
186
401
  orderByFields: [],
187
402
  geometry: i?.dataFilters?.geometry
188
403
  };
189
- let n;
190
- return I(a) ? n = [] : n = // fetch unique category values asynchronously
191
- (await L({ queryObject: a, category: t, queryConfig: f })).map((c) => {
192
- const m = String(c);
193
- return H({
404
+ let c;
405
+ return C(a) ? c = [] : c = // fetch unique category values asynchronously
406
+ (await D({ queryObject: a, category: t, queryConfig: l })).map((u) => {
407
+ const p = String(u);
408
+ return oe({
194
409
  queryObject: e.layer,
195
410
  fieldName: t,
196
- fieldValue: m
197
- }) ?? m;
198
- }), n;
411
+ fieldValue: p
412
+ }) ?? p;
413
+ }), c;
199
414
  }
200
- function He(s) {
201
- return s !== void 0 && h(0, s)?.type === u.CategoryAxisFormat && h(1, s)?.type === u.CategoryAxisFormat;
415
+ function nt(s) {
416
+ return s !== void 0 && L(0, s)?.type === b.CategoryAxisFormat && L(1, s)?.type === b.CategoryAxisFormat;
202
417
  }
203
418
  export {
204
- $e as a,
205
- We as b,
206
- Me as c,
207
- Ve as d,
208
- Ee as e,
209
- Te as f,
210
- Le as g,
211
- ke as h,
212
- He as i,
213
- Be as j,
214
- Oe as k,
215
- h as l,
216
- Ce as m,
217
- je as n,
218
- qe as o,
219
- De as p,
220
- we as r,
221
- S as s,
222
- Ie as u
419
+ D as a,
420
+ Qe as b,
421
+ rt as c,
422
+ at as d,
423
+ st as e,
424
+ Re as f,
425
+ Ge as g,
426
+ Xe as h,
427
+ nt as i,
428
+ ot as j,
429
+ _e as k,
430
+ it as l,
431
+ ze as m,
432
+ Je as n,
433
+ L as o,
434
+ Ye as p,
435
+ Ze as q,
436
+ He as r,
437
+ O as s,
438
+ et as t,
439
+ pe as u,
440
+ tt as v
223
441
  };
@@ -4,32 +4,26 @@ import "lodash-es";
4
4
  import "luxon";
5
5
  import "./series-types.js";
6
6
  import "@arcgis/toolkit/type";
7
- import { aH as x, aL as a, T as l } from "./index.js";
7
+ import { aF as x, aJ as a, T as l } from "./interfaces.js";
8
8
  import "@arcgis/core/Graphic.js";
9
9
  import "@arcgis/core/renderers/support/jsonUtils.js";
10
10
  import "@arcgis/core/symbols/support/symbolUtils.js";
11
- import "@arcgis/core/AttributeBinsGraphic.js";
12
- import "@arcgis/core/layers/support/CodedValueDomain.js";
13
11
  import "@esri/arcgis-html-sanitizer";
14
- import "@arcgis/core/intl.js";
15
- import "@arcgis/core/layers/support/FeatureFilter.js";
16
- import "@arcgis/core/smartMapping/statistics/histogram.js";
17
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
18
- import "simple-statistics";
19
- import "@arcgis/core/request.js";
20
- import "@arcgis/core/core/sql.js";
21
12
  import "@arcgis/core/geometry/support/jsonUtils.js";
22
13
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
14
  import "@arcgis/core/rest/support/Query.js";
24
15
  import "@arcgis/core/rest/support/StatisticDefinition.js";
25
16
  import "@arcgis/core/time/TimeExtent.js";
26
17
  import "@arcgis/core/core/promiseUtils.js";
18
+ import "@arcgis/core/request.js";
27
19
  import "./runtime.js";
28
20
  import "@arcgis/core/applications/Components/imageryUtils.js";
29
21
  import "@arcgis/core/geometry/Extent.js";
30
22
  import "@arcgis/core/geometry/Point.js";
23
+ import "simple-statistics";
31
24
  import "@arcgis/toolkit/dom";
32
- const K = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, M = (i, e, s) => {
25
+ import "@arcgis/core/intl.js";
26
+ const w = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, z = (i, e, s) => {
33
27
  const t = s.axes?.[e];
34
28
  t?.labels !== void 0 ? t.labels.visible = i : t !== void 0 && t?.labels === void 0 && (t.labels = x({
35
29
  text: "",
@@ -37,39 +31,39 @@ const K = (i, e) => e.axes?.[i]?.labels?.visible ?? !0, M = (i, e, s) => {
37
31
  font: a(l.AxisLabels),
38
32
  type: l.AxisLabels
39
33
  }));
40
- }, m = (i, e) => e.axes?.[i]?.title?.content.text ?? "", N = (i, e, s) => {
34
+ }, r = (i, e) => e.axes?.[i]?.title?.content.text ?? "", B = (i, e, s) => {
41
35
  const t = s.axes?.[e];
42
36
  t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && t?.title === void 0 && (t.title = x({
43
37
  text: i,
44
38
  visible: !0,
45
39
  font: a(l.AxisTitle)
46
40
  }));
47
- }, O = (i, e) => e.axes?.[i]?.title?.visible ?? !1, P = (i, e, s) => {
41
+ }, G = (i, e) => e.axes?.[i]?.title?.visible ?? !1, H = (i, e, s) => {
48
42
  const t = s.axes?.[e];
49
43
  t?.title !== void 0 ? t.title.visible = i : t !== void 0 && t?.title === void 0 && (t.title = x({
50
- text: m(e, s),
44
+ text: r(e, s),
51
45
  visible: i,
52
46
  font: a(l.AxisTitle)
53
47
  }));
54
- }, Q = (i, e) => i.axes?.[e]?.title?.content, R = (i) => {
48
+ }, I = (i, e) => i.axes?.[e]?.title?.content, K = (i) => {
55
49
  const { config: e, axisIndex: s, symbol: t } = i, o = e.axes?.[s];
56
50
  if (o !== void 0) {
57
- const r = o.title?.content.text;
51
+ const n = o.title?.content.text;
58
52
  (o.title === void 0 || t === void 0) && (o.title = x({
59
53
  text: "",
60
54
  visible: !0,
61
55
  font: a(l.AxisTitle),
62
56
  type: l.AxisTitle
63
- })), t !== void 0 && (o.title.content = t), o.title.content.text = r;
57
+ })), t !== void 0 && (o.title.content = t), o.title.content.text = n;
64
58
  }
65
59
  };
66
60
  export {
67
- Q as a,
68
- N as b,
69
- O as c,
70
- P as d,
71
- K as e,
72
- M as f,
73
- m as g,
74
- R as s
61
+ I as a,
62
+ B as b,
63
+ G as c,
64
+ H as d,
65
+ w as e,
66
+ z as f,
67
+ r as g,
68
+ K as s
75
69
  };