@arcgis/charts-components 5.1.0-next.111 → 5.1.0-next.113

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 (316) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/24TOMTMP.js +2 -0
  3. package/dist/cdn/2EPXIQFD.js +2 -0
  4. package/dist/cdn/2JUO3GP2.js +2 -0
  5. package/dist/cdn/2SVBUT3V.js +2 -0
  6. package/dist/cdn/2XTQT6TW.js +2 -0
  7. package/dist/cdn/{ANMNNZTA.js → 2YI4HWFY.js} +39 -39
  8. package/dist/cdn/34WNZMJY.js +2 -0
  9. package/dist/cdn/43P4WOC4.js +2 -0
  10. package/dist/cdn/4G5JOLEP.js +2 -0
  11. package/dist/cdn/4MZJZQDO.js +2 -0
  12. package/dist/cdn/52QMEXI6.js +2 -0
  13. package/dist/cdn/5I75UYWD.js +2 -0
  14. package/dist/cdn/5M72DGYL.js +2 -0
  15. package/dist/cdn/5PG6PXDG.js +2 -0
  16. package/dist/cdn/6FGRLBTA.js +2 -0
  17. package/dist/cdn/6JNHTWDQ.js +2 -0
  18. package/dist/cdn/6YSH3ROL.js +2 -0
  19. package/dist/cdn/75Y43JLP.js +2 -0
  20. package/dist/cdn/777EBGS5.js +2 -0
  21. package/dist/cdn/7AVVBDQS.js +4 -0
  22. package/dist/cdn/7EDHTVVK.js +2 -0
  23. package/dist/cdn/7MHEEH5F.js +2 -0
  24. package/dist/cdn/7MKAC33Z.js +2 -0
  25. package/dist/cdn/7Y76VKGS.js +2 -0
  26. package/dist/cdn/AC2XSIOU.js +2 -0
  27. package/dist/cdn/AEESEH6N.js +2 -0
  28. package/dist/cdn/AYY2C4BW.js +2 -0
  29. package/dist/cdn/BH7WDRGU.js +2 -0
  30. package/dist/cdn/BZUQTY3A.js +2 -0
  31. package/dist/cdn/CMPHBGKB.js +2 -0
  32. package/dist/cdn/DDA7NVBX.js +2 -0
  33. package/dist/cdn/DMDXALHQ.js +2 -0
  34. package/dist/cdn/DX5LK7LS.js +2 -0
  35. package/dist/cdn/ERUYMQOC.js +2 -0
  36. package/dist/cdn/{CSNF7XRL.js → ESUMWLYT.js} +1 -1
  37. package/dist/cdn/EULFJ5JL.js +2 -0
  38. package/dist/cdn/EX27CNDS.js +2 -0
  39. package/dist/cdn/FIMXZMTB.js +2 -0
  40. package/dist/cdn/FYI7J2KF.js +2 -0
  41. package/dist/cdn/G42X3FFH.js +2 -0
  42. package/dist/cdn/GGZNH26O.js +2 -0
  43. package/dist/cdn/HIQSXKPT.js +3 -0
  44. package/dist/cdn/HS2WQJEO.js +2 -0
  45. package/dist/cdn/IBCUXQZ4.js +2 -0
  46. package/dist/cdn/IC4OZCXG.js +2 -0
  47. package/dist/cdn/JGD2M47O.js +2 -0
  48. package/dist/cdn/KGOERXN5.js +2 -0
  49. package/dist/cdn/{JEQDHNEJ.js → KPXH2MNB.js} +1 -1
  50. package/dist/cdn/KSBWHMXE.js +2 -0
  51. package/dist/cdn/{6KFD2LHE.js → L3ULFQN3.js} +1 -1
  52. package/dist/cdn/LKHNZDEC.js +2 -0
  53. package/dist/cdn/LXVLBS7T.js +2 -0
  54. package/dist/cdn/M5E3NFDP.js +2 -0
  55. package/dist/cdn/MKEUDI3M.js +2 -0
  56. package/dist/cdn/MKQPW6B4.js +2 -0
  57. package/dist/cdn/MVAMHZ3Q.js +2 -0
  58. package/dist/cdn/{VTJXTTAB.js → MZ2UZAFW.js} +1 -1
  59. package/dist/cdn/N265ZHHU.js +2 -0
  60. package/dist/cdn/N2S6YV3I.js +2 -0
  61. package/dist/cdn/N3EATDXE.js +2 -0
  62. package/dist/cdn/NLWP2JOG.js +2 -0
  63. package/dist/cdn/NR3BCOHU.js +3 -0
  64. package/dist/cdn/O2JEDVIA.js +2 -0
  65. package/dist/cdn/OB7IDW6S.js +2 -0
  66. package/dist/cdn/OBPCKG62.js +2 -0
  67. package/dist/cdn/OCERCT4I.js +2 -0
  68. package/dist/cdn/OFN7ED75.js +2 -0
  69. package/dist/cdn/OQSFVGUL.js +2 -0
  70. package/dist/cdn/PA3PSUQ3.js +2 -0
  71. package/dist/cdn/PYFMKPMO.js +2 -0
  72. package/dist/cdn/QRZ32JMG.js +2 -0
  73. package/dist/cdn/R3GNKVFS.js +2 -0
  74. package/dist/cdn/R3Y2F64T.js +2 -0
  75. package/dist/cdn/RBVV7JGY.js +102 -0
  76. package/dist/cdn/RSXO7AZM.js +2 -0
  77. package/dist/cdn/S32VCEG7.js +2 -0
  78. package/dist/cdn/S7ASARWB.js +2 -0
  79. package/dist/cdn/SBS4J65N.js +2 -0
  80. package/dist/cdn/SVMC3JP5.js +2 -0
  81. package/dist/cdn/SYXU6NZX.js +2 -0
  82. package/dist/cdn/T3CSQ5DU.js +2 -0
  83. package/dist/cdn/T3NJTAF3.js +2 -0
  84. package/dist/cdn/T53WJZQN.js +2 -0
  85. package/dist/cdn/TES5ZESK.js +2 -0
  86. package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
  87. package/dist/cdn/TOO3T62Y.js +2 -0
  88. package/dist/cdn/U5ZB4YD6.js +2 -0
  89. package/dist/cdn/UK2A3DRS.js +2 -0
  90. package/dist/cdn/UNDCO72C.js +2 -0
  91. package/dist/cdn/UR537UXK.js +2 -0
  92. package/dist/cdn/VMAOMKFN.js +2 -0
  93. package/dist/cdn/VV7JMGHL.js +2 -0
  94. package/dist/cdn/W6CIWZSM.js +2 -0
  95. package/dist/cdn/WA5XK3HC.js +2 -0
  96. package/dist/cdn/WD4QY4YU.js +2 -0
  97. package/dist/cdn/WESXMGHU.js +2 -0
  98. package/dist/cdn/WFDVEHVL.js +2 -0
  99. package/dist/cdn/WI3CE5TT.js +2 -0
  100. package/dist/cdn/WNZ2PSFZ.js +2 -0
  101. package/dist/cdn/XLJSZ42M.js +2 -0
  102. package/dist/cdn/XM6GBBOL.js +2 -0
  103. package/dist/cdn/XOB365BI.js +2 -0
  104. package/dist/cdn/Y2AULE2F.js +2 -0
  105. package/dist/cdn/YE5ASSSN.js +2 -0
  106. package/dist/cdn/ZBLRD77K.js +2 -0
  107. package/dist/cdn/{5RMUCBSG.js → ZZRH7LXO.js} +1 -1
  108. package/dist/cdn/index.js +1 -1
  109. package/dist/chunks/axis-lines-symbol.js +12 -12
  110. package/dist/chunks/bar-chart-model.js +20 -47
  111. package/dist/chunks/bar-chart-series.js +10 -40
  112. package/dist/chunks/box-plot-data.js +132 -155
  113. package/dist/chunks/box-plot-model.js +18 -18
  114. package/dist/chunks/chart-model.js +76 -103
  115. package/dist/chunks/chart-object-literals.js +189 -0
  116. package/dist/chunks/chart-ui-utils.js +17 -16
  117. package/dist/chunks/chart-ui-utils2.js +91 -116
  118. package/dist/chunks/class-breaks.js +375 -196
  119. package/dist/chunks/combo-bar-line-chart-model.js +19 -18
  120. package/dist/chunks/data-labels-symbol.js +1 -1
  121. package/dist/chunks/data-labels-visibility.js +56 -84
  122. package/dist/chunks/data.js +82 -105
  123. package/dist/chunks/default.js +6 -7
  124. package/dist/chunks/gauge-model.js +42 -69
  125. package/dist/chunks/generate-x-axis-title.js +39 -66
  126. package/dist/chunks/heat-chart-model.js +183 -183
  127. package/dist/chunks/histogram-data.js +56 -80
  128. package/dist/chunks/histogram-model.js +24 -24
  129. package/dist/chunks/index.js +560 -21042
  130. package/dist/chunks/index2.js +8706 -596
  131. package/dist/chunks/index3.js +873 -160
  132. package/dist/chunks/index4.js +701 -76
  133. package/dist/chunks/index5.js +10794 -62
  134. package/dist/chunks/index6.js +99 -0
  135. package/dist/chunks/index7.js +66 -0
  136. package/dist/chunks/interfaces.js +31 -32
  137. package/dist/chunks/line-chart-model.js +12 -11
  138. package/dist/chunks/model-setter.js +44 -41
  139. package/dist/chunks/model-types.js +43 -0
  140. package/dist/chunks/model-with-y-guides.js +89 -116
  141. package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
  142. package/dist/chunks/pie-chart-data.js +89 -111
  143. package/dist/chunks/pie-chart-model.js +46 -70
  144. package/dist/chunks/radar-chart-model.js +35 -62
  145. package/dist/chunks/resource.js +8 -10
  146. package/dist/chunks/rotated-state.js +24 -52
  147. package/dist/chunks/scatterplot-model.js +90 -112
  148. package/dist/chunks/serial-chart-data.js +540 -530
  149. package/dist/chunks/serial-chart-model.js +90 -115
  150. package/dist/chunks/series-length.js +25 -53
  151. package/dist/chunks/series-types.js +21 -206
  152. package/dist/chunks/series.js +9 -38
  153. package/dist/chunks/time-zone.js +14 -15
  154. package/dist/chunks/type-guards.js +23 -132
  155. package/dist/chunks/type-guards2.js +100 -192
  156. package/dist/chunks/type-guards3.js +173 -0
  157. package/dist/chunks/utils.js +75 -97
  158. package/dist/chunks/utils2.js +34 -63
  159. package/dist/chunks/web-component-utils.js +85 -83
  160. package/dist/chunks/x-bounds.js +69 -95
  161. package/dist/components/arcgis-chart/customElement.js +3670 -3637
  162. package/dist/components/arcgis-charts-action-bar/customElement.js +8 -9
  163. package/dist/components/arcgis-charts-config-axis/customElement.js +10 -11
  164. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +33 -60
  165. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +47 -70
  166. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
  167. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
  168. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
  169. package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
  170. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
  171. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
  172. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -40
  173. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -45
  174. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
  175. package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -68
  176. package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
  177. package/dist/components/arcgis-charts-config-format/customElement.js +55 -82
  178. package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -41
  179. package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
  180. package/dist/components/arcgis-charts-config-guide/customElement.js +44 -68
  181. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +14 -43
  182. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
  183. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
  184. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
  185. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +153 -175
  186. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -79
  187. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -55
  188. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +39 -62
  189. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -50
  190. package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
  191. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -46
  192. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
  193. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
  194. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
  195. package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
  196. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
  197. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
  198. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +42 -66
  199. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +38 -65
  200. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
  201. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +31 -58
  202. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +31 -55
  203. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
  204. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
  205. package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
  206. package/dist/components/arcgis-charts-info-modal/customElement.js +17 -43
  207. package/dist/docs/api.json +1 -1
  208. package/dist/docs/docs.json +1 -1
  209. package/dist/docs/vscode.html-custom-data.json +1 -1
  210. package/dist/docs/web-types.json +1 -1
  211. package/dist/index.d.ts +57 -3
  212. package/dist/index.js +464 -459
  213. package/dist/json-schema/index.d.ts +4839 -4825
  214. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
  215. package/dist/model.js +77 -39
  216. package/dist/spec/web-chart.d.ts +5 -1
  217. package/dist/utils/layer/index.d.ts +3 -1
  218. package/dist/utils/layer/utils/index.d.ts +16 -4
  219. package/package.json +3 -3
  220. package/dist/cdn/2NCZCQJQ.js +0 -2
  221. package/dist/cdn/2QWN4KMQ.js +0 -2
  222. package/dist/cdn/3HHF7GDV.js +0 -2
  223. package/dist/cdn/43EPRNLY.js +0 -2
  224. package/dist/cdn/53YROF54.js +0 -2
  225. package/dist/cdn/57M5BGHO.js +0 -2
  226. package/dist/cdn/5Y2AIQMX.js +0 -2
  227. package/dist/cdn/6CGECXEP.js +0 -2
  228. package/dist/cdn/6MDEAZCW.js +0 -2
  229. package/dist/cdn/6YLXJOBN.js +0 -2
  230. package/dist/cdn/7LE76H3V.js +0 -2
  231. package/dist/cdn/7OK6DOOJ.js +0 -2
  232. package/dist/cdn/7QJ77UCB.js +0 -2
  233. package/dist/cdn/7XCTW7TF.js +0 -2
  234. package/dist/cdn/ABPBMLW4.js +0 -4
  235. package/dist/cdn/ACBNPWST.js +0 -2
  236. package/dist/cdn/AU5NU5OU.js +0 -2
  237. package/dist/cdn/AUKWLONZ.js +0 -2
  238. package/dist/cdn/B3TAQSVG.js +0 -2
  239. package/dist/cdn/B7BDZS5Q.js +0 -2
  240. package/dist/cdn/B7OT7NHE.js +0 -2
  241. package/dist/cdn/BIW46U2E.js +0 -2
  242. package/dist/cdn/BNMVFWWL.js +0 -2
  243. package/dist/cdn/BUPTELGR.js +0 -2
  244. package/dist/cdn/C3EG6JVL.js +0 -2
  245. package/dist/cdn/CEML6AMG.js +0 -2
  246. package/dist/cdn/CSISDIV5.js +0 -2
  247. package/dist/cdn/CXSBPI44.js +0 -2
  248. package/dist/cdn/DEWZASZK.js +0 -2
  249. package/dist/cdn/FJFVBE6K.js +0 -2
  250. package/dist/cdn/FLBXUDIS.js +0 -2
  251. package/dist/cdn/FQKOG42T.js +0 -2
  252. package/dist/cdn/FTXNBE44.js +0 -2
  253. package/dist/cdn/FU6JT3UD.js +0 -2
  254. package/dist/cdn/H7SXQSDY.js +0 -2
  255. package/dist/cdn/HFHPPFTL.js +0 -2
  256. package/dist/cdn/IQ5ZYJIB.js +0 -2
  257. package/dist/cdn/IVSSNIVI.js +0 -2
  258. package/dist/cdn/J27JNN6U.js +0 -2
  259. package/dist/cdn/J5O4KJG3.js +0 -2
  260. package/dist/cdn/KJHX7M5S.js +0 -2
  261. package/dist/cdn/KKDZFW5O.js +0 -2
  262. package/dist/cdn/KRZLTTVV.js +0 -2
  263. package/dist/cdn/KUOSDD5D.js +0 -2
  264. package/dist/cdn/L767SIJD.js +0 -2
  265. package/dist/cdn/LSF52M7M.js +0 -2
  266. package/dist/cdn/LW3BORFM.js +0 -2
  267. package/dist/cdn/M3ATYECI.js +0 -2
  268. package/dist/cdn/M6BMA2X5.js +0 -2
  269. package/dist/cdn/MCSGNGSS.js +0 -2
  270. package/dist/cdn/MJEMDC6S.js +0 -2
  271. package/dist/cdn/MY2TTPFJ.js +0 -2
  272. package/dist/cdn/MZQHYO73.js +0 -2
  273. package/dist/cdn/N6ZYLQ35.js +0 -2
  274. package/dist/cdn/ODM6XDHJ.js +0 -2
  275. package/dist/cdn/PAPWPFW4.js +0 -2
  276. package/dist/cdn/PDDEFX6K.js +0 -2
  277. package/dist/cdn/PNQ6VVJK.js +0 -2
  278. package/dist/cdn/QCO44WFX.js +0 -2
  279. package/dist/cdn/QCZO6SPY.js +0 -2
  280. package/dist/cdn/QJQCXQZQ.js +0 -2
  281. package/dist/cdn/QLBJVTC3.js +0 -2
  282. package/dist/cdn/QLRYZVYC.js +0 -2
  283. package/dist/cdn/QRJS3CVV.js +0 -2
  284. package/dist/cdn/QWCMSPHD.js +0 -2
  285. package/dist/cdn/RCS3DD7Z.js +0 -104
  286. package/dist/cdn/S52W7JS7.js +0 -2
  287. package/dist/cdn/SDWC5FQU.js +0 -2
  288. package/dist/cdn/SLGQSOZB.js +0 -2
  289. package/dist/cdn/SNQFOXQP.js +0 -2
  290. package/dist/cdn/STPMMRCH.js +0 -2
  291. package/dist/cdn/SUYBENSN.js +0 -2
  292. package/dist/cdn/TAW7DR2R.js +0 -2
  293. package/dist/cdn/TUM7FWOK.js +0 -2
  294. package/dist/cdn/UFCW5HCY.js +0 -2
  295. package/dist/cdn/URPIV4FP.js +0 -2
  296. package/dist/cdn/URX6VCYJ.js +0 -2
  297. package/dist/cdn/V2LSSOBU.js +0 -2
  298. package/dist/cdn/V7JH3U65.js +0 -2
  299. package/dist/cdn/VFOLCHS4.js +0 -2
  300. package/dist/cdn/VFZ5WZJL.js +0 -2
  301. package/dist/cdn/WEAUUIMY.js +0 -2
  302. package/dist/cdn/WHL3PAOM.js +0 -2
  303. package/dist/cdn/WQRH2BWD.js +0 -2
  304. package/dist/cdn/WQRXJQDO.js +0 -2
  305. package/dist/cdn/WTIY4H4L.js +0 -2
  306. package/dist/cdn/WXEJ47F6.js +0 -2
  307. package/dist/cdn/XUAJWZRU.js +0 -2
  308. package/dist/cdn/XYTCID73.js +0 -2
  309. package/dist/cdn/Z7L63G6V.js +0 -2
  310. package/dist/cdn/ZJOBVONS.js +0 -2
  311. package/dist/cdn/ZZQFMONS.js +0 -2
  312. package/dist/chunks/setup-utils.js +0 -80
  313. package/dist/model/index.d.ts +0 -19
  314. package/dist/spec/index.d.ts +0 -8
  315. package/dist/utils/index.d.ts +0 -33
  316. /package/dist/cdn/{S5OM65RV.js → COYWSD6X.js} +0 -0
@@ -1,87 +1,65 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import "@arcgis/toolkit/intl";
3
- import { memoize as $, isEmpty as E, isNull as M, cloneDeep as R } from "lodash-es";
4
- import "luxon";
5
- import "@arcgis/toolkit/type";
6
- import { r as m, p as b, n as F, u as U } from "./series-types.js";
7
- import { i as z } from "./rest-js-object-literals.js";
8
- import { M as O, bM as A, aW as G, ay as _, bp as P, c$ as V, b5 as k, N as w } from "./index.js";
9
- import "@arcgis/core/layers/support/FeatureFilter.js";
10
- import "@arcgis/core/smartMapping/statistics/histogram.js";
11
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
12
- import "@arcgis/core/Graphic.js";
13
- import "@arcgis/core/renderers/support/jsonUtils.js";
14
- import "@arcgis/core/symbols/support/symbolUtils.js";
15
- import "@arcgis/core/AttributeBinsGraphic.js";
16
- import "@arcgis/core/layers/support/CodedValueDomain.js";
17
2
  import { substitute as h } from "@arcgis/core/intl.js";
18
- import "@arcgis/core/request.js";
19
- import "simple-statistics";
20
- import "@arcgis/core/core/sql.js";
21
- import "@arcgis/core/geometry/support/jsonUtils.js";
22
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
- import "@arcgis/core/rest/support/Query.js";
24
- import "@arcgis/core/rest/support/StatisticDefinition.js";
25
- import "@arcgis/core/time/TimeExtent.js";
26
- import "@arcgis/core/core/promiseUtils.js";
27
- import "./runtime.js";
28
- import "@arcgis/core/applications/Components/imageryUtils.js";
29
- import "@arcgis/core/geometry/Extent.js";
30
- import "@arcgis/core/geometry/Point.js";
31
- import "@arcgis/toolkit/dom";
32
- import { g as L, u as q } from "./utils.js";
3
+ import { memoize as W, isEmpty as $, isNull as R, cloneDeep as U } from "lodash-es";
33
4
  import { P as y, a as g } from "./common.js";
34
- import { g as H } from "./data.js";
35
- import { a as J } from "./series-length.js";
36
- import { g as Q } from "./utils2.js";
37
- function v(s) {
38
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", l = J(t), d = V(t);
5
+ import { g as A, u as q } from "./utils.js";
6
+ import { g as z } from "./data.js";
7
+ import { a as G } from "./series-length.js";
8
+ import { g as _ } from "./utils2.js";
9
+ import { S as M, t as k, a3 as H } from "./index.js";
10
+ import { d as P } from "./index3.js";
11
+ import { m as O, an as L, n as V } from "./index2.js";
12
+ import { i as w } from "./index5.js";
13
+ import { r as m, p as b, n as F, u as J } from "./chart-object-literals.js";
14
+ import { i as Q } from "./rest-js-object-literals.js";
15
+ function v(r) {
16
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = G(t), d = w(t);
39
17
  return a === l || d;
40
18
  }
41
- function B(s) {
42
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? L({
19
+ function B(r) {
20
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? A({
43
21
  config: t,
44
22
  layerInfo: e,
45
- commonStrings: r,
23
+ commonStrings: s,
46
24
  numericFields: f(t),
47
25
  aggregationType: T(t, i)
48
- }) : "", l = Q(1, t), d = V(t);
26
+ }) : "", l = _(1, t), d = w(t);
49
27
  return a === l || d;
50
28
  }
51
- const I = (s) => s.series?.[0]?.x ?? "";
52
- function X(s, t) {
53
- const e = s.series?.[0];
54
- return [`${t === y.Category ? e.y : w} ${b.Descending}`];
29
+ const I = (r) => r.series?.[0]?.x ?? "";
30
+ function X(r, t) {
31
+ const e = r.series?.[0];
32
+ return [`${t === y.Category ? e.y : V} ${b.Descending}`];
55
33
  }
56
- const K = (s, t) => {
34
+ const K = (r, t) => {
57
35
  let e = g.valueDesc;
58
- const i = s.orderOptions?.data?.orderType ?? X(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : b.Descending;
59
- return i === F.Category && Array.isArray(r) ? e = g.customSort : i === F.Category ? r === b.Ascending ? e = g.labelAsc : e = g.labelDesc : r === b.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
60
- }, f = $(
36
+ const i = r.orderOptions?.data?.orderType ?? X(r, t), s = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : b.Descending;
37
+ return i === F.Category && Array.isArray(s) ? e = g.customSort : i === F.Category ? s === b.Ascending ? e = g.labelAsc : e = g.labelDesc : s === b.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
38
+ }, f = W(
61
39
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
62
40
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
63
- (s) => {
41
+ (r) => {
64
42
  let t = [];
65
- return t = s.series?.[0]?.query?.outStatistics?.map(
43
+ return t = r.series?.[0]?.query?.outStatistics?.map(
66
44
  (e) => e.onStatisticField
67
- ) ?? [s.series?.[0]?.y ?? ""], t.filter((e) => e !== "");
45
+ ) ?? [r.series?.[0]?.y ?? ""], t.filter((e) => e !== "");
68
46
  },
69
47
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
70
- (s) => s.series
71
- ), T = (s, t) => {
72
- const e = f(s);
48
+ (r) => r.series
49
+ ), T = (r, t) => {
50
+ const e = f(r);
73
51
  let i;
74
- return t === y.Fields && e.length === 0 ? i = m.Sum : i = s.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
52
+ return t === y.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
75
53
  };
76
- function Y(s) {
77
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = A(e?.layer).idField, l = k(r, a), d = I(t), c = t.series[0]?.dataLabels, o = {
54
+ function Y(r) {
55
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = L(e?.layer).idField, l = H(s, a), d = I(t), c = t.series[0]?.dataLabels, o = {
78
56
  ...l,
79
57
  x: i === y.Category ? d : O,
80
58
  slices: t.series?.[0]?.slices,
81
59
  dataLabels: {
82
60
  ...l.dataLabels,
83
- type: l.dataLabels?.type ?? U.Text,
84
- content: { ...l.dataLabels?.content, ...c?.content, type: z.TS },
61
+ type: l.dataLabels?.type ?? J.Text,
62
+ content: { ...l.dataLabels?.content, ...c?.content, type: Q.TS },
85
63
  visible: c?.visible ?? !1
86
64
  },
87
65
  innerRadiusSize: t.series?.[0]?.innerRadius,
@@ -95,7 +73,7 @@ function Y(s) {
95
73
  }, n = T(t, i);
96
74
  if (n !== m.NoAggregation && a !== void 0) {
97
75
  const u = `${n}_${a}_0`.toUpperCase();
98
- o.y = i === y.Category ? u : w, o.query = {
76
+ o.y = i === y.Category ? u : V, o.query = {
99
77
  outStatistics: i === y.Category ? [
100
78
  {
101
79
  statisticType: n,
@@ -105,28 +83,28 @@ function Y(s) {
105
83
  ] : []
106
84
  };
107
85
  }
108
- return i === y.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, R(o);
86
+ return i === y.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, U(o);
109
87
  }
110
- function D(s) {
111
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = A(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, r), x = u ? "" : o.map((W) => P(a ?? [], W)).join(", "), S = P(a ?? [], c);
88
+ function D(r) {
89
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = k(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), S = P(a ?? [], c);
112
90
  let C = "", N;
113
- return i === y.Fields ? N = o.length === 0 : N = c === "", N ? C = r.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = h(r.titleLabels.aggrFieldsByCategory, {
91
+ return i === y.Fields ? N = o.length === 0 : N = c === "", N ? C = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = h(s.titleLabels.aggrFieldsByCategory, {
114
92
  aggregationFields: u ? l : x,
115
93
  category: S
116
- }) : n === m.Count ? C = h(r.titleLabels.aggrTypeCategory, {
94
+ }) : n === m.Count ? C = h(s.titleLabels.aggrTypeCategory, {
117
95
  aggregationType: p,
118
96
  category: S
119
- }) : o.length > 0 && (S === O || E(S) || M(S) ? C = h(r.titleLabels.aggrTypeOfAggrFields, {
97
+ }) : o.length > 0 && (S === O || $(S) || R(S) ? C = h(s.titleLabels.aggrTypeOfAggrFields, {
120
98
  aggregationType: p,
121
99
  aggregationFields: x
122
- }) : C = h(r.titleLabels.aggrTypeOfAggrFieldsByCategory, {
100
+ }) : C = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
123
101
  aggregationType: p,
124
102
  aggregationFields: x,
125
103
  category: S
126
104
  })), C;
127
105
  }
128
- const we = (s) => {
129
- const { newSortOrderKind: t, config: e, orderByList: i } = s;
106
+ const ue = (r) => {
107
+ const { newSortOrderKind: t, config: e, orderByList: i } = r;
130
108
  e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
131
109
  orderType: F.Category,
132
110
  orderBy: [...i]
@@ -134,34 +112,34 @@ const we = (s) => {
134
112
  orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
135
113
  orderBy: t === g.labelAsc || t === g.valueAsc ? b.Ascending : b.Descending
136
114
  };
137
- }, Ke = (s) => {
138
- const { newCategory: t, config: e, layerInfo: i, mode: r, commonStrings: a } = s, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: r }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: r });
115
+ }, pe = (r) => {
116
+ const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
139
117
  if (e.series.forEach((o) => {
140
- o.x = r === y.Category ? t : O, o.query !== void 0 && t !== O ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
118
+ o.x = s === y.Category ? t : O, o.query !== void 0 && t !== O ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
141
119
  }), l === 0) {
142
- const o = [Y({ config: e, layerInfo: i, mode: r, commonStrings: a })];
120
+ const o = [Y({ config: e, layerInfo: i, mode: s, commonStrings: a })];
143
121
  e.series = o;
144
122
  }
145
123
  if (i !== void 0) {
146
124
  if (c) {
147
- const n = L({
125
+ const n = A({
148
126
  config: e,
149
127
  layerInfo: i,
150
128
  numericFields: f(e),
151
- aggregationType: T(e, r),
129
+ aggregationType: T(e, s),
152
130
  commonStrings: a
153
131
  });
154
132
  q(e, 1, n);
155
133
  }
156
- e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: r }));
157
- const o = r === y.Fields ? f(e).filter((n) => n !== A(i.layer).idField) : f(e);
158
- Z({ newNumericFields: o, config: e, layerInfo: i, mode: r, commonStrings: a });
134
+ e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
135
+ const o = s === y.Fields ? f(e).filter((n) => n !== L(i.layer).idField) : f(e);
136
+ Z({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
159
137
  }
160
138
  };
161
- function j(s) {
162
- const { numericFields: t, aggregationType: e, config: i, layerInfo: r, mode: a, commonStrings: l } = s, { layerFieldsInfo: d } = r, c = [], o = Y({
139
+ function j(r) {
140
+ const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: l } = r, { layerFieldsInfo: d } = s, c = [], o = Y({
163
141
  config: i,
164
- layerInfo: r,
142
+ layerInfo: s,
165
143
  mode: a,
166
144
  commonStrings: l
167
145
  }), n = {
@@ -171,13 +149,13 @@ function j(s) {
171
149
  }
172
150
  };
173
151
  t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
174
- const u = H({
152
+ const u = z({
175
153
  config: i,
176
154
  xAxisField: I(i),
177
155
  numericFields: t,
178
156
  aggregationType: e,
179
157
  mode: a,
180
- layer: r.layer,
158
+ layer: s.layer,
181
159
  fieldList: d
182
160
  }).name;
183
161
  if (e !== m.NoAggregation)
@@ -204,70 +182,70 @@ function j(s) {
204
182
  n.query = {};
205
183
  n.y = u, c.push(n), i.series = c;
206
184
  }
207
- const Ye = (s) => {
208
- const { newAggregationType: t, config: e, layerInfo: i, mode: r, commonStrings: a } = s, l = f(e), d = v({ config: e, layerInfo: i, commonStrings: a, mode: r }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: r });
185
+ const me = (r) => {
186
+ const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = f(e), d = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
209
187
  if (j({
210
188
  config: e,
211
189
  layerInfo: i,
212
190
  numericFields: l,
213
191
  aggregationType: t,
214
192
  commonStrings: a,
215
- mode: r
193
+ mode: s
216
194
  }), c) {
217
- const p = L({
195
+ const p = A({
218
196
  config: e,
219
197
  layerInfo: i,
220
198
  commonStrings: a,
221
199
  numericFields: f(e),
222
- aggregationType: T(e, r)
200
+ aggregationType: T(e, s)
223
201
  });
224
202
  q(e, 1, p);
225
203
  }
226
- e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: r }));
204
+ e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
227
205
  const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
228
206
  e.legend = {
229
- ...e.legend ?? G(),
207
+ ...e.legend ?? M(),
230
208
  displayNumericValue: n,
231
209
  displayPercentage: u,
232
210
  displayCategory: o
233
211
  };
234
- }, Z = (s) => {
235
- let { newNumericFields: t } = s;
236
- const { config: e, layerInfo: i, mode: r, commonStrings: a } = s, l = A(i?.layer).idField;
237
- let d = T(e, r);
238
- const c = v({ config: e, layerInfo: i, commonStrings: a, mode: r }), o = B({ config: e, layerInfo: i, commonStrings: a, mode: r });
239
- if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && r === y.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
212
+ }, Z = (r) => {
213
+ let { newNumericFields: t } = r;
214
+ const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = L(i?.layer).idField;
215
+ let d = T(e, s);
216
+ const c = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
217
+ if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === y.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
240
218
  if (j({
241
219
  config: e,
242
220
  layerInfo: i,
243
221
  commonStrings: a,
244
222
  numericFields: t,
245
223
  aggregationType: d,
246
- mode: r
224
+ mode: s
247
225
  }), o) {
248
- const n = L({
226
+ const n = A({
249
227
  config: e,
250
228
  layerInfo: i,
251
229
  commonStrings: a,
252
230
  numericFields: f(e),
253
- aggregationType: T(e, r)
231
+ aggregationType: T(e, s)
254
232
  });
255
233
  q(e, 1, n);
256
234
  }
257
- e.title && c && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: r }));
235
+ e.title && c && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
258
236
  } else
259
237
  e.series.forEach((n) => {
260
238
  delete n.query, n.y = t[0];
261
239
  });
262
- }, je = (s, t) => {
240
+ }, fe = (r, t) => {
263
241
  let e = [];
264
- const i = s.orderOptions?.data?.orderType, r = K(s, t), a = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : void 0;
265
- return r === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
266
- }, We = (s) => {
267
- const { values: t, config: e, mode: i } = s;
242
+ const i = r.orderOptions?.data?.orderType, s = K(r, t), a = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : void 0;
243
+ return s === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
244
+ }, Fe = (r) => {
245
+ const { values: t, config: e, mode: i } = r;
268
246
  e.orderOptions ??= {};
269
- const r = e.orderOptions?.data?.orderType;
270
- K(e, i) === g.customSort && r === F.Category && (e.orderOptions.data = {
247
+ const s = e.orderOptions?.data?.orderType;
248
+ K(e, i) === g.customSort && s === F.Category && (e.orderOptions.data = {
271
249
  orderType: F.Category,
272
250
  orderBy: [...t]
273
251
  });
@@ -276,12 +254,12 @@ export {
276
254
  f as a,
277
255
  T as b,
278
256
  Z as c,
279
- Ye as d,
257
+ me as d,
280
258
  K as e,
281
- we as f,
259
+ ue as f,
282
260
  I as g,
283
- je as h,
284
- We as i,
261
+ fe as h,
262
+ Fe as i,
285
263
  D as j,
286
- Ke as s
264
+ pe as s
287
265
  };
@@ -1,43 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { log as F } from "@arcgis/toolkit/log";
3
- import { u as p } from "./series-types.js";
4
- import { aW as d, b7 as v, b1 as S, dF as P, aq as b, C as f, c$ as M, b4 as W, b5 as A, bM as w } from "./index.js";
3
+ import { u as p } from "./chart-object-literals.js";
4
+ import { Y as S, an as M } from "./index2.js";
5
+ import { i as W } from "./index5.js";
6
+ import { S as d, a5 as v, $ as _, ax as P, a2 as A, a3 as w } from "./index.js";
7
+ import { C as f } from "./index3.js";
5
8
  import { C as G } from "./chart-model.js";
6
9
  import { m as s } from "./model-setter.js";
7
10
  import { b as c, P as h } from "./common.js";
8
11
  import { M as T, a as k, W as z, b as B } from "./data-labels-visibility.js";
9
12
  import { W as E } from "./data-labels-symbol.js";
10
13
  import { a as V, b as R, e as j } from "./utils.js";
11
- import "@arcgis/toolkit/type";
12
- import "@arcgis/toolkit/intl";
13
- import { cloneDeep as U } from "lodash-es";
14
- import "luxon";
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 "@arcgis/core/Graphic.js";
19
- import "@arcgis/core/renderers/support/jsonUtils.js";
20
- import "@arcgis/core/symbols/support/symbolUtils.js";
21
- import "@arcgis/core/AttributeBinsGraphic.js";
22
- import "@arcgis/core/layers/support/CodedValueDomain.js";
23
- import "@esri/arcgis-html-sanitizer";
24
- import "@arcgis/core/intl.js";
25
- import "@arcgis/core/request.js";
26
- import "simple-statistics";
27
- import "@arcgis/core/core/sql.js";
28
- import "@arcgis/core/geometry/support/jsonUtils.js";
29
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
30
- import "@arcgis/core/rest/support/Query.js";
31
- import "@arcgis/core/rest/support/StatisticDefinition.js";
32
- import "@arcgis/core/time/TimeExtent.js";
33
- import "@arcgis/core/core/promiseUtils.js";
34
- import "./runtime.js";
35
- import "@arcgis/core/applications/Components/imageryUtils.js";
36
- import "@arcgis/core/geometry/Extent.js";
37
- import "@arcgis/core/geometry/Point.js";
38
- import "@arcgis/toolkit/dom";
39
- import { g as _, s as $, a as K, c as q, b as H, d as J, e as Q, f as X, h as L, i as O, j as Y } from "./pie-chart-data.js";
40
- import { i as m } from "./rest-js-object-literals.js";
14
+ import { g as b, s as U, a as $, c as K, b as Y, d as q, e as H, f as J, h as L, i as O, j as Q } from "./pie-chart-data.js";
15
+ import { cloneDeep as X } from "lodash-es";
16
+ import { i as y } from "./rest-js-object-literals.js";
41
17
  const Z = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
42
18
  e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
43
19
  }, te = (t) => t.legend?.displayCategory ?? !1, ie = (t, e) => {
@@ -49,7 +25,7 @@ const Z = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
49
25
  }, le = (t) => t.legend?.valueLabelMaxWidth ?? 200, ne = (t, e) => {
50
26
  e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
51
27
  };
52
- var ge = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, y = (t, e, i, o) => {
28
+ var ge = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
53
29
  for (var l = ce(e, i), n = t.length - 1, g; n >= 0; n--)
54
30
  (g = t[n]) && (l = g(e, i, l) || l);
55
31
  return l && ge(e, i, l), l;
@@ -108,13 +84,13 @@ class u extends T {
108
84
  ie(e, this._config), this.emitConfigUpdate("displayCategory");
109
85
  }
110
86
  }
111
- y([
87
+ m([
112
88
  s
113
89
  ], u.prototype, "setDisplayNumericValue");
114
- y([
90
+ m([
115
91
  s
116
92
  ], u.prototype, "setDisplayPercentage");
117
- y([
93
+ m([
118
94
  s
119
95
  ], u.prototype, "setLabelMaxWidth");
120
96
  const pe = [T];
@@ -123,11 +99,11 @@ const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
123
99
  e.series?.[0] && (e.series[0].innerRadius = t);
124
100
  }, fe = (t) => t.series?.[0]?.dataLabelsCharacterLimit, he = (t, e) => {
125
101
  e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
126
- }, D = (t) => t.series[0]?.startAngle, me = (t, e) => {
102
+ }, D = (t) => t.series[0]?.startAngle, ye = (t, e) => {
127
103
  e.series?.[0] && (e.series[0].startAngle = t);
128
- }, ye = (t, e) => {
104
+ }, me = (t, e) => {
129
105
  e.series?.[0] && (e.series[0].endAngle = t);
130
- }, Se = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, be = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Oe = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, De = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Ce = (t, e) => {
106
+ }, Se = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, _e = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, be = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Oe = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, De = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Ce = (t, e) => {
131
107
  e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
132
108
  }, ve = (t) => t.series?.[0]?.valuePrefix, Pe = (t, e) => {
133
109
  e.series?.[0] && (e.series[0].valuePrefix = t);
@@ -155,21 +131,21 @@ const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
155
131
  }, ze = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Be = (t, e) => {
156
132
  e.series[0] && (e.series[0].dataLabelsOffset = t);
157
133
  }, Ee = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Re = (t, e) => {
158
- e.series?.[0] && (e.series[0].numericValueFormat ??= S(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= S(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
134
+ e.series?.[0] && (e.series[0].numericValueFormat ??= _(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= _(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
159
135
  }, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ue = (t, e) => {
160
136
  e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
161
137
  }, $e = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
162
138
  e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
163
- }, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
164
- t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = U(t));
165
- }, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Xe = (t, e, i) => {
139
+ }, Ye = (t) => t.series[0]?.ticks?.lineSymbol, qe = (t, e) => {
140
+ t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = X(t));
141
+ }, He = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Je = (t, e) => e.series?.[0]?.slices?.[t]?.label, Qe = (t, e, i) => {
166
142
  i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
167
- }, Ye = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ze = (t, e, i) => {
143
+ }, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ze = (t, e, i) => {
168
144
  const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
169
- o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: m.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
170
- type: m.SFS,
145
+ o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
146
+ type: y.SFS,
171
147
  color: t,
172
- outline: { type: m.SLS, color: t }
148
+ outline: { type: y.SLS, color: t }
173
149
  });
174
150
  }, et = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), C = (t, e) => {
175
151
  e.series?.[0]?.slices?.sort(
@@ -206,7 +182,7 @@ class r extends G {
206
182
  await this.loadConfigFromLayer(e);
207
183
  const { config: i } = e;
208
184
  if (i !== void 0) {
209
- const o = b(i.series);
185
+ const o = S(i.series);
210
186
  this._mode = o !== f.PieFromFields ? h.Category : h.Fields;
211
187
  }
212
188
  typeof this.resolveSetup == "function" && this.resolveSetup();
@@ -218,10 +194,10 @@ class r extends G {
218
194
  * Category field for the pie chart.
219
195
  */
220
196
  get category() {
221
- return _(this._config);
197
+ return b(this._config);
222
198
  }
223
199
  set category(e) {
224
- (!M(this._config) || e.trim() !== "") && ($({
200
+ (!W(this._config) || e.trim() !== "") && (U({
225
201
  newCategory: e,
226
202
  config: this._config,
227
203
  layerInfo: this.layerInfo,
@@ -233,10 +209,10 @@ class r extends G {
233
209
  * Numeric fields for the pie chart.
234
210
  */
235
211
  get numericFields() {
236
- return K(this._config);
212
+ return $(this._config);
237
213
  }
238
214
  set numericFields(e) {
239
- typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? R(this.layerInfo.layerFieldsInfo, e) : !0) ? (q({
215
+ typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? R(this.layerInfo.layerFieldsInfo, e) : !0) ? (K({
240
216
  newNumericFields: e,
241
217
  config: this._config,
242
218
  layerInfo: this.layerInfo,
@@ -248,10 +224,10 @@ class r extends G {
248
224
  * Aggregation type for the pie chart.
249
225
  */
250
226
  get aggregationType() {
251
- return H(this._config, this._mode);
227
+ return Y(this._config, this._mode);
252
228
  }
253
229
  set aggregationType(e) {
254
- J({
230
+ q({
255
231
  newAggregationType: e,
256
232
  config: this._config,
257
233
  layerInfo: this.layerInfo,
@@ -263,10 +239,10 @@ class r extends G {
263
239
  * Gets the sort order for the pie chart.
264
240
  */
265
241
  getSortOrder() {
266
- return Q(this._config, this._mode);
242
+ return H(this._config, this._mode);
267
243
  }
268
244
  setSortOrder(e, i) {
269
- X({
245
+ J({
270
246
  newSortOrderKind: e,
271
247
  config: this._config,
272
248
  orderByList: i
@@ -306,7 +282,7 @@ class r extends G {
306
282
  * Gets the list of the category values for the chart.
307
283
  */
308
284
  async getCustomSortValues() {
309
- const e = _(this._config), i = b(this._config.series);
285
+ const e = b(this._config), i = S(this._config.series);
310
286
  let o = [];
311
287
  return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await j({
312
288
  category: e,
@@ -330,10 +306,10 @@ class r extends G {
330
306
  * Ticks symbol connecting slices to labels.
331
307
  */
332
308
  get ticksSymbol() {
333
- return qe(this._config);
309
+ return Ye(this._config);
334
310
  }
335
311
  set ticksSymbol(e) {
336
- He(e, this._config);
312
+ qe(e, this._config);
337
313
  }
338
314
  // ---------------------------------------------------------------------------------------------
339
315
  // #region Slices Props
@@ -415,8 +391,8 @@ class r extends G {
415
391
  // ---------------------------------------------------------------------------------------------
416
392
  /** @private */
417
393
  generateDefaultConfig() {
418
- const e = W(this.commonStrings);
419
- return e.series = [A(this.commonStrings, w(this.layerInfo.layer).idField)], e;
394
+ const e = A(this.commonStrings);
395
+ return e.series = [w(this.commonStrings, M(this.layerInfo.layer).idField)], e;
420
396
  }
421
397
  // ---------------------------------------------------------------------------------------------
422
398
  // #region Series Methods
@@ -427,7 +403,7 @@ class r extends G {
427
403
  * @param sliceIndex - The index of the slice.
428
404
  */
429
405
  getOriginalSliceName(e) {
430
- return Je(e, this._config);
406
+ return He(e, this._config);
431
407
  }
432
408
  /**
433
409
  * Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -435,10 +411,10 @@ class r extends G {
435
411
  * @param sliceIndex - The index of the slice.
436
412
  */
437
413
  getSliceName(e) {
438
- return Qe(e, this._config);
414
+ return Je(e, this._config);
439
415
  }
440
416
  setSliceName(e, i) {
441
- Xe(e, i, this._config);
417
+ Qe(e, i, this._config);
442
418
  }
443
419
  /**
444
420
  * Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -446,7 +422,7 @@ class r extends G {
446
422
  * @param sliceIndex - The index of the slice.
447
423
  */
448
424
  getSliceColor(e) {
449
- return Ye(e, this._config);
425
+ return Xe(e, this._config);
450
426
  }
451
427
  setSliceColor(e, i) {
452
428
  Ze(e, i, this._config);
@@ -524,7 +500,7 @@ class r extends G {
524
500
  return D(this._config);
525
501
  }
526
502
  set startAngle(e) {
527
- me(e, this._config);
503
+ ye(e, this._config);
528
504
  }
529
505
  /**
530
506
  * End angle of the pie chart.
@@ -533,14 +509,14 @@ class r extends G {
533
509
  return D(this._config);
534
510
  }
535
511
  set endAngle(e) {
536
- ye(e, this._config);
512
+ me(e, this._config);
537
513
  }
538
514
  /**
539
515
  * Whether to display the category on the data label.
540
516
  * **Note:** If the setting is not found in the config, it will default to `true`.
541
517
  */
542
518
  get displayCategoryOnDataLabel() {
543
- return be(this._config);
519
+ return _e(this._config);
544
520
  }
545
521
  set displayCategoryOnDataLabel(e) {
546
522
  this.guardSetterFromAsyncOverwrite(() => {
@@ -563,7 +539,7 @@ class r extends G {
563
539
  * **Note:** If the setting is not found in the config, it will default to `true`.
564
540
  */
565
541
  get displayNumericValueOnDataLabel() {
566
- return _e(this._config);
542
+ return be(this._config);
567
543
  }
568
544
  set displayNumericValueOnDataLabel(e) {
569
545
  this.guardSetterFromAsyncOverwrite(() => {
@@ -684,7 +660,7 @@ class r extends G {
684
660
  * Generate the proper chart title given the current config.
685
661
  */
686
662
  generateChartTitle() {
687
- return Y({
663
+ return Q({
688
664
  config: this._config,
689
665
  layerInfo: this.layerInfo,
690
666
  commonStrings: this.commonStrings,