@arcgis/charts-components 5.2.0-next.2 → 5.2.0-next.21

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/cdn/{ZRFHAQL6.js → 2OXJ5CIC.js} +1 -1
  2. package/dist/cdn/2YRBTD5E.js +2 -0
  3. package/dist/cdn/{VVKV5KKN.js → 3CRUKP7D.js} +1 -1
  4. package/dist/cdn/3MKY6UCO.js +2 -0
  5. package/dist/cdn/3SBYV6BW.js +2 -0
  6. package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
  7. package/dist/cdn/4MBX554Q.js +2 -0
  8. package/dist/cdn/4ZGGMYAW.js +2 -0
  9. package/dist/cdn/{HCMD362H.js → 54CA4NEA.js} +1 -1
  10. package/dist/cdn/5B7SUFIW.js +2 -0
  11. package/dist/cdn/{VDG54AIC.js → 62ECX35C.js} +1 -1
  12. package/dist/cdn/{HCV34H6X.js → 6ECU76VK.js} +1 -1
  13. package/dist/cdn/7473JWME.js +2 -0
  14. package/dist/cdn/74UHJFPH.js +2 -0
  15. package/dist/cdn/{PVJEBBA7.js → 7532DIDI.js} +1 -1
  16. package/dist/cdn/{JVHJMPFE.js → 7C6E54U5.js} +1 -1
  17. package/dist/cdn/7X5P6K2W.js +2 -0
  18. package/dist/cdn/A636YSNA.js +2 -0
  19. package/dist/cdn/{TNB3MBXR.js → ABAERFCU.js} +1 -1
  20. package/dist/cdn/AH2UFHXP.js +2 -0
  21. package/dist/cdn/AHTGZ4MH.js +2 -0
  22. package/dist/cdn/AQIB3VEP.js +2 -0
  23. package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
  24. package/dist/cdn/{KOBNV5AQ.js → B34ZX3IO.js} +1 -1
  25. package/dist/cdn/BMAAWO5F.js +2 -0
  26. package/dist/cdn/CG6MYXFY.js +2 -0
  27. package/dist/cdn/{LONASKGH.js → CPT6BODA.js} +1 -1
  28. package/dist/cdn/CRCAJAFA.js +2 -0
  29. package/dist/cdn/DG2OI6R3.js +3 -0
  30. package/dist/cdn/DKENYDHS.js +233 -0
  31. package/dist/cdn/{YRBE7MBU.js → DSHN2EGI.js} +1 -1
  32. package/dist/cdn/E44C5J3E.js +2 -0
  33. package/dist/cdn/{LZYN55O4.js → EHMSOPGV.js} +1 -1
  34. package/dist/cdn/{KLC6NTPC.js → ETXHDKUU.js} +1 -1
  35. package/dist/cdn/{GL3IXVRN.js → F4WIDKYH.js} +1 -1
  36. package/dist/cdn/{TZB57XD4.js → FGRHILPJ.js} +1 -1
  37. package/dist/cdn/FYDWWQCT.js +2 -0
  38. package/dist/cdn/GIBMAXXC.js +2 -0
  39. package/dist/cdn/{24LTTBTF.js → HJIWACZ5.js} +1 -1
  40. package/dist/cdn/{WEQBZOH7.js → HNHNP7BI.js} +1 -1
  41. package/dist/cdn/{TYMKFCF4.js → HXR7LXG4.js} +1 -1
  42. package/dist/cdn/I4MM4T5T.js +2 -0
  43. package/dist/cdn/IHHPUKGG.js +2 -0
  44. package/dist/cdn/{R45FWF7D.js → IJNPEW4W.js} +1 -1
  45. package/dist/cdn/{OE3UFORR.js → ILMYZIWD.js} +1 -1
  46. package/dist/cdn/{U4XLNCOU.js → IQ3T72TK.js} +1 -1
  47. package/dist/cdn/{3YT44D4Z.js → IRJ2YA3P.js} +1 -1
  48. package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
  49. package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
  50. package/dist/cdn/JMLS3OCC.js +2 -0
  51. package/dist/cdn/JQ7KK2TT.js +2 -0
  52. package/dist/cdn/K5AZMQ5Q.js +2 -0
  53. package/dist/cdn/KNYJJN7R.js +2 -0
  54. package/dist/cdn/{FDXE5JLT.js → L3XXFSDJ.js} +1 -1
  55. package/dist/cdn/L52YJC6U.js +2 -0
  56. package/dist/cdn/{GES3HRXE.js → LKAKZYML.js} +1 -1
  57. package/dist/cdn/{CJ4POAPM.js → LNRU4KNE.js} +1 -1
  58. package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
  59. package/dist/cdn/{RAQZUMC6.js → LYRIOMLM.js} +1 -1
  60. package/dist/cdn/{RFQBUWOW.js → NI4KTOCF.js} +1 -1
  61. package/dist/cdn/O533LNDP.js +2 -0
  62. package/dist/cdn/{UKDTXHZT.js → OKMRX4U5.js} +1 -1
  63. package/dist/cdn/{LDPHZHSF.js → OYQK2TIQ.js} +1 -1
  64. package/dist/cdn/{NQQW4GKA.js → PKCOYJHN.js} +1 -1
  65. package/dist/cdn/{PK5XIIZY.js → POIIR3QR.js} +1 -1
  66. package/dist/cdn/PSUB3KL5.js +4 -0
  67. package/dist/cdn/{KI4HS3AM.js → PWNFUWUN.js} +1 -1
  68. package/dist/cdn/Q5J2S3DE.js +2 -0
  69. package/dist/cdn/{5JML3JUR.js → QEC5EZ6Q.js} +1 -1
  70. package/dist/cdn/QID7XRNR.js +2 -0
  71. package/dist/cdn/QKL4PXPG.js +2 -0
  72. package/dist/cdn/{2K4ODNJ4.js → QN7MXGGV.js} +1 -1
  73. package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
  74. package/dist/cdn/R7QGZ7QJ.js +2 -0
  75. package/dist/cdn/RGFQCA4L.js +102 -0
  76. package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
  77. package/dist/cdn/RQN3DHRN.js +2 -0
  78. package/dist/cdn/{N524VXQ2.js → RY3TJU7J.js} +1 -1
  79. package/dist/cdn/{7ABIELGZ.js → RZGDZC44.js} +1 -1
  80. package/dist/cdn/S7Z4HRW7.js +2 -0
  81. package/dist/cdn/SCX3TUEG.js +2 -0
  82. package/dist/cdn/STTG3UAJ.js +2 -0
  83. package/dist/cdn/{VEA5ZR5D.js → SZOAGNYC.js} +1 -1
  84. package/dist/cdn/{PZGIXDMC.js → T5KLEUNC.js} +1 -1
  85. package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
  86. package/dist/cdn/{PC7IKOIB.js → TH2F4GPI.js} +1 -1
  87. package/dist/cdn/{TU3UF32Y.js → U555MUVU.js} +1 -1
  88. package/dist/cdn/V2H2UI2W.js +2 -0
  89. package/dist/cdn/{RX3RNE7F.js → V6UMDO6X.js} +1 -1
  90. package/dist/cdn/VJFHFI6U.js +58 -0
  91. package/dist/cdn/{3DK6M5E7.js → VK4OJOVV.js} +1 -1
  92. package/dist/cdn/{5QO32XSX.js → VM6CF4WH.js} +1 -1
  93. package/dist/cdn/{TAI4RIWT.js → WE2J37H5.js} +1 -1
  94. package/dist/cdn/{5G7DSKI7.js → XAO2DW32.js} +1 -1
  95. package/dist/cdn/XRLVJJBT.js +2 -0
  96. package/dist/cdn/{U2LJZ4ML.js → XVW5DABR.js} +1 -1
  97. package/dist/cdn/YVOKQFAW.js +2 -0
  98. package/dist/cdn/{PSO5AURI.js → Z2Z3DPFE.js} +1 -1
  99. package/dist/cdn/ZW4PF3UK.js +2 -0
  100. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  101. package/dist/cdn/index.js +1 -1
  102. package/dist/cdn/model/shared/setup-utils.js +2 -0
  103. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  104. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  105. package/dist/chunks/chart-model.js +170 -138
  106. package/dist/chunks/class-breaks.js +18 -18
  107. package/dist/chunks/data.js +68 -68
  108. package/dist/chunks/index2.js +2259 -2226
  109. package/dist/chunks/index3.js +32 -29
  110. package/dist/chunks/index4.js +107 -49
  111. package/dist/chunks/model-setter.js +1 -1
  112. package/dist/chunks/pie-chart-data.js +42 -36
  113. package/dist/chunks/pie-chart-model.js +175 -162
  114. package/dist/chunks/rotated-state.js +1 -1
  115. package/dist/chunks/scatterplot-model.js +1 -1
  116. package/dist/chunks/serial-chart-data.js +591 -579
  117. package/dist/chunks/time-zone.js +1 -1
  118. package/dist/chunks/utils.js +67 -56
  119. package/dist/chunks/web-component-utils.js +601 -491
  120. package/dist/components/arcgis-chart/customElement.d.ts +145 -138
  121. package/dist/components/arcgis-chart/customElement.js +6353 -6353
  122. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
  123. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  124. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  125. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  126. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  127. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  128. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
  130. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  132. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  133. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  134. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  135. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  136. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  137. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
  139. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  140. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
  141. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  143. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
  144. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  145. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  146. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
  147. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
  148. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  149. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  150. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  151. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  152. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -13
  153. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  154. package/dist/docs/api.json +1 -1
  155. package/dist/docs/docs.json +1 -1
  156. package/dist/docs/vscode.html-custom-data.json +1 -1
  157. package/dist/docs/web-types.json +1 -1
  158. package/dist/index.d.ts +66 -70
  159. package/dist/index.js +212 -210
  160. package/dist/json-schema/index.d.ts +59 -2
  161. package/dist/loader.js +1 -1
  162. package/dist/model/chart-model/chart-model.d.ts +2 -1
  163. package/dist/model/interfaces/common.d.ts +0 -2
  164. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  165. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  166. package/dist/model/properties/rotated-state.d.ts +1 -1
  167. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  168. package/dist/spec/rest-js-types.d.ts +22 -8
  169. package/dist/spec/web-chart.d.ts +8 -2
  170. package/dist/utils/chart-config/converter/index.js +264 -264
  171. package/dist/utils/chart-config/utils/index.d.ts +36 -0
  172. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  173. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  174. package/dist/utils/data/index.d.ts +8 -11
  175. package/dist/utils/defaults/index.d.ts +1 -2
  176. package/dist/utils/errors/index.d.ts +1 -1
  177. package/dist/utils/layer/index.d.ts +5 -3
  178. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  179. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  180. package/dist/utils/localization/interfaces.d.ts +4 -0
  181. package/dist/utils/misc/index.d.ts +2 -3
  182. package/dist/utils/types/index.d.ts +1 -5
  183. package/package.json +6 -6
  184. package/dist/cdn/26FWESH3.js +0 -102
  185. package/dist/cdn/3XHZ677O.js +0 -2
  186. package/dist/cdn/5FMEOIBS.js +0 -3
  187. package/dist/cdn/74JAZF7U.js +0 -2
  188. package/dist/cdn/7HIZH35G.js +0 -2
  189. package/dist/cdn/CCR46UHB.js +0 -2
  190. package/dist/cdn/CRFJ2GGS.js +0 -2
  191. package/dist/cdn/CXQOEN77.js +0 -2
  192. package/dist/cdn/DYC3Q36R.js +0 -2
  193. package/dist/cdn/E2N2S7BH.js +0 -2
  194. package/dist/cdn/E43KEVHT.js +0 -2
  195. package/dist/cdn/EXTKNE2L.js +0 -2
  196. package/dist/cdn/F7Y6EWWB.js +0 -2
  197. package/dist/cdn/G5HVFOIO.js +0 -2
  198. package/dist/cdn/G7TRU7JI.js +0 -2
  199. package/dist/cdn/IHQ7R6L4.js +0 -4
  200. package/dist/cdn/IUFXFWXH.js +0 -2
  201. package/dist/cdn/JHYH555K.js +0 -2
  202. package/dist/cdn/JNNB2DIA.js +0 -2
  203. package/dist/cdn/KVGEY3IQ.js +0 -2
  204. package/dist/cdn/KXNZEPLT.js +0 -58
  205. package/dist/cdn/LWODMEOP.js +0 -2
  206. package/dist/cdn/LYZGRYQV.js +0 -2
  207. package/dist/cdn/MF3FGXHI.js +0 -2
  208. package/dist/cdn/MUPHTV55.js +0 -2
  209. package/dist/cdn/N5ERJZPG.js +0 -2
  210. package/dist/cdn/NGPMU4T3.js +0 -2
  211. package/dist/cdn/NJCZ6UTM.js +0 -2
  212. package/dist/cdn/NMB6TWC2.js +0 -2
  213. package/dist/cdn/NNNTZU5J.js +0 -2
  214. package/dist/cdn/NS3THLCD.js +0 -2
  215. package/dist/cdn/NZR4L5AA.js +0 -2
  216. package/dist/cdn/P2NPQAJ3.js +0 -2
  217. package/dist/cdn/PJUAU42S.js +0 -2
  218. package/dist/cdn/PY5Q3V6E.js +0 -2
  219. package/dist/cdn/RMYZGOBM.js +0 -2
  220. package/dist/cdn/TXSWWAOF.js +0 -2
  221. package/dist/cdn/UAJGYF4S.js +0 -2
  222. package/dist/cdn/UT6G7RV7.js +0 -2
  223. package/dist/cdn/VOTZAPI3.js +0 -2
  224. package/dist/cdn/WO6JBNMU.js +0 -2
  225. package/dist/cdn/YYK7SPXC.js +0 -2
  226. package/dist/cdn/ZRZEKOEF.js +0 -2
  227. /package/dist/cdn/{2HGBRW4I.js → 3HAB3JR6.js} +0 -0
  228. /package/dist/cdn/{AJBEE7WE.js → 3YOOX2CV.js} +0 -0
  229. /package/dist/cdn/{53FG76LL.js → 4DSO7LUF.js} +0 -0
  230. /package/dist/cdn/{2X75KJPF.js → 5HRLHWQ5.js} +0 -0
  231. /package/dist/cdn/{I36OAVW3.js → 732EZ6WJ.js} +0 -0
  232. /package/dist/cdn/{3V4HRXIT.js → 7IS6QE6S.js} +0 -0
  233. /package/dist/cdn/{VFM2EV3M.js → 7XZZ5OZL.js} +0 -0
  234. /package/dist/cdn/{4E7C5QPS.js → AN2NRYQV.js} +0 -0
  235. /package/dist/cdn/{O2ERVMSN.js → ASUGYCJ6.js} +0 -0
  236. /package/dist/cdn/{TSI3C3OV.js → BICQEJYZ.js} +0 -0
  237. /package/dist/cdn/{66KSEDOR.js → C2I4WPWM.js} +0 -0
  238. /package/dist/cdn/{NFDXH5B3.js → C47AIJTI.js} +0 -0
  239. /package/dist/cdn/{B4KT2HUE.js → C5YJ7J3A.js} +0 -0
  240. /package/dist/cdn/{4QQVKRJ5.js → DPV2ZJLF.js} +0 -0
  241. /package/dist/cdn/{ZFM5RGWD.js → E4535ZTP.js} +0 -0
  242. /package/dist/cdn/{M4AQLWZU.js → FJNRPAMO.js} +0 -0
  243. /package/dist/cdn/{PH6UOHRS.js → GI54JT4O.js} +0 -0
  244. /package/dist/cdn/{YIIPYKTL.js → GYTYFBNU.js} +0 -0
  245. /package/dist/cdn/{RDTBZUT7.js → J5QUGI2J.js} +0 -0
  246. /package/dist/cdn/{XIJ5VLER.js → JPEN5TFK.js} +0 -0
  247. /package/dist/cdn/{DD4QUBOF.js → KBQM3DLQ.js} +0 -0
  248. /package/dist/cdn/{75P3QRL4.js → LEMJA72W.js} +0 -0
  249. /package/dist/cdn/{NHDVOYQ2.js → MMO2QPOA.js} +0 -0
  250. /package/dist/cdn/{NG2IHVZ4.js → PS7IL5JZ.js} +0 -0
  251. /package/dist/cdn/{5AOYADA3.js → R2RRMPOC.js} +0 -0
  252. /package/dist/cdn/{ABIVSH72.js → RV6E7KKQ.js} +0 -0
  253. /package/dist/cdn/{OA7FHTCA.js → RYLXJPKL.js} +0 -0
  254. /package/dist/cdn/{I5VHQW7B.js → S2R72ISR.js} +0 -0
  255. /package/dist/cdn/{N3VOUI25.js → T4NEEFOY.js} +0 -0
  256. /package/dist/cdn/{4JQ2RRLY.js → TEERYUCS.js} +0 -0
  257. /package/dist/cdn/{XWKBJDZT.js → V454JYTQ.js} +0 -0
  258. /package/dist/cdn/{LNF44ZGQ.js → V7JF5I5M.js} +0 -0
  259. /package/dist/cdn/{N6OT5IBC.js → VIZWWEG5.js} +0 -0
  260. /package/dist/cdn/{SGOYJFLO.js → W5SPX6WM.js} +0 -0
  261. /package/dist/cdn/{OYHKUGS6.js → X2IOJECM.js} +0 -0
  262. /package/dist/cdn/{O6SNP6QE.js → X33RIIGI.js} +0 -0
  263. /package/dist/cdn/{UAZ34KDJ.js → YBTVIOHQ.js} +0 -0
  264. /package/dist/cdn/{7ILH7ZG2.js → YFQHZWLO.js} +0 -0
  265. /package/dist/cdn/{FLO3N6JD.js → YX4EVVJM.js} +0 -0
  266. /package/dist/cdn/{CODAXMWM.js → YXH22GJ6.js} +0 -0
  267. /package/dist/cdn/{DIKQ7BPQ.js → ZMQTYGGT.js} +0 -0
@@ -1,20 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as g } from "../../chunks/runtime.js";
3
- import { css as C, html as a } from "lit";
3
+ import { css as C, html as l } from "lit";
4
4
  import { isEqual as f } from "lodash-es";
5
5
  import { u as v } from "../../chunks/useT9n.js";
6
6
  import { createRef as y, ref as S } from "lit/directives/ref.js";
7
- import { LitElement as u, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
8
- import { e as b } from "../../chunks/popover-ui-utils.js";
9
- import { aB as d } from "../../chunks/index.js";
7
+ import { LitElement as b, createEvent as a, safeClassMap as p } from "@arcgis/lumina";
8
+ import { e as u } from "../../chunks/popover-ui-utils.js";
9
+ import { aB as m } from "../../chunks/index.js";
10
10
  import { i as $ } from "../../chunks/rest-js-object-literals.js";
11
- const c = {
12
- jsAppFlyout: "js-app-flyout",
11
+ const d = {
13
12
  panelChildrenContainer: "panel-children-container"
14
13
  }, L = C`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
15
- class P extends u {
14
+ class P extends b {
16
15
  constructor() {
17
- super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose = r(), this.arcgisChartsConfigSeriesPopoverColorChange = r(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = r(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = r(), this.arcgisChartsConfigSeriesPopoverNameChange = r();
16
+ super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSeriesPopoverColorChange = a(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = a(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = a(), this.arcgisChartsConfigSeriesPopoverNameChange = a();
18
17
  }
19
18
  static {
20
19
  this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
@@ -26,7 +25,7 @@ class P extends u {
26
25
  await this.popoverElement.value?.reposition();
27
26
  }
28
27
  updated() {
29
- b(this.popoverElement.value, this.open);
28
+ u(this.popoverElement.value, this.open);
30
29
  }
31
30
  seriesNameChange(e) {
32
31
  const i = e.target.value;
@@ -36,27 +35,25 @@ class P extends u {
36
35
  this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
37
36
  }
38
37
  colorChange(e) {
39
- const i = e instanceof CustomEvent ? e.detail : e, [o, t, s] = i, l = d * 255;
40
- this.selectedColor = [o, t, s, l], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, t, s, l] });
38
+ const i = e instanceof CustomEvent ? e.detail : e, [o, t, s] = i, r = m * 255;
39
+ this.selectedColor = [o, t, s, r], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, t, s, r] });
41
40
  }
42
41
  lineSymbolChange(e) {
43
42
  const { lineStyle: i } = e.target, { color: o, style: t, width: s } = i;
44
43
  if (o !== void 0 && !f(o, this.selectedColor)) {
45
- const [l, h, p] = o, m = d * 255;
46
- this.selectedColor = [l, h, p, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [l, h, p, m] });
44
+ const [r, n, c] = o, h = m * 255;
45
+ this.selectedColor = [r, n, c, h], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, n, c, h] });
47
46
  }
48
47
  t !== void 0 && t !== this.selectedLineStyle && (this.selectedLineStyle = t, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: t })), s !== void 0 && s !== this.selectedLineWidth && (this.selectedLineWidth = s, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: s }));
49
48
  }
50
49
  render() {
51
50
  const e = this.selectedColor;
52
- return a`<div class=${n({
53
- [c.jsAppFlyout]: !0
54
- })}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? a`<div class=${n(c.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${n(this.isLineSymbol ? "" : c.panelChildrenContainer)}>${this.isLineSymbol ? a`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
51
+ return l`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? l`<div class=${p(d.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${p(this.isLineSymbol ? "" : d.panelChildrenContainer)}>${this.isLineSymbol ? l`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
55
52
  type: $.SLS,
56
53
  style: this.selectedLineStyle,
57
54
  width: this.selectedLineWidth,
58
55
  color: e
59
- }} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : a`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
56
+ }} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : l`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
60
57
  }
61
58
  }
62
59
  g("arcgis-charts-config-box-plot-series-popover", P);
@@ -5,15 +5,14 @@ import { m as h, U as s } from "../../chunks/chart-ui-utils2.js";
5
5
  import { u as m } from "../../chunks/useT9n.js";
6
6
  import { css as p, html as d } from "lit";
7
7
  import { createRef as n, ref as l } from "lit/directives/ref.js";
8
- import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
9
- import { e as g } from "../../chunks/popover-ui-utils.js";
10
- const e = {
11
- jsAppFlyout: "js-app-flyout",
8
+ import { LitElement as g, createEvent as r, safeClassMap as t } from "@arcgis/lumina";
9
+ import { e as v } from "../../chunks/popover-ui-utils.js";
10
+ const a = {
12
11
  chartRenameComponent: "chart-rename-component",
13
12
  renameLabelContainer: "rename-label-container",
14
13
  renamePanel: "rename-panel"
15
- }, v = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
16
- class C extends u {
14
+ }, u = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
15
+ class C extends g {
17
16
  constructor() {
18
17
  super(...arguments), this._messages = m(), this.characterLimitInputElement = n(), this.popoverElement = n(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.open = !1, this.arcgisChartsConfigChartRenamePopoverChange = r(), this.arcgisChartsConfigPopoverClose = r();
19
18
  }
@@ -21,19 +20,19 @@ class C extends u {
21
20
  this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
22
21
  }
23
22
  static {
24
- this.styles = v;
23
+ this.styles = u;
25
24
  }
26
25
  async reposition() {
27
26
  await this.popoverElement.value?.reposition();
28
27
  }
29
- willUpdate(t) {
30
- t.has("name") && (this.changedName = this.name);
28
+ willUpdate(e) {
29
+ e.has("name") && (this.changedName = this.name);
31
30
  }
32
31
  updated() {
33
- this.popoverElement.value?.reposition(), g(this.popoverElement.value, this.open);
32
+ this.popoverElement.value?.reposition(), v(this.popoverElement.value, this.open);
34
33
  }
35
- onNameChange(t) {
36
- const i = t.target.value;
34
+ onNameChange(e) {
35
+ const i = e.target.value;
37
36
  this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && h({
38
37
  inputElement: this.characterLimitInputElement.value,
39
38
  status: this.isChartTitleInvalid ? s.INVALID : s.IDLE
@@ -49,10 +48,9 @@ class C extends u {
49
48
  this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
50
49
  }
51
50
  render() {
52
- return d`<div class=${a({
53
- [e.chartRenameComponent]: !0,
54
- [e.jsAppFlyout]: !0
55
- })}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${a(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
51
+ return d`<div class=${t({
52
+ [a.chartRenameComponent]: !0
53
+ })}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${t(a.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${t(a.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
56
54
  }
57
55
  }
58
56
  o("arcgis-charts-config-chart-rename-popover", C);
@@ -4,18 +4,18 @@ import { repeat as U } from "lit/directives/repeat.js";
4
4
  import { keyed as b } from "lit/directives/keyed.js";
5
5
  import { createModel as R } from "../../model/shared/setup-utils.js";
6
6
  import { g as S, i as T, u as _, k as v, m as I } from "../../chunks/type-guards2.js";
7
- import { i as H } from "../../chunks/rotated-state.js";
8
- import { substitute as z } from "@arcgis/core/intl.js";
7
+ import { i as z } from "../../chunks/rotated-state.js";
8
+ import { substitute as H } from "@arcgis/core/intl.js";
9
9
  import { C as n } from "../../chunks/interfaces.js";
10
10
  import { isEqual as D } from "lodash-es";
11
11
  import { i as F } from "../../chunks/index4.js";
12
- import { D as E, w as k, F as O } from "../../chunks/index3.js";
13
- import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as X, safeClassMap as d } from "@arcgis/lumina";
12
+ import { D as k, w as E, F as O } from "../../chunks/index3.js";
13
+ import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
14
14
  import { css as G, html as h } from "lit";
15
- import { createRef as Z, ref as K } from "lit/directives/ref.js";
15
+ import { createRef as X, ref as K } from "lit/directives/ref.js";
16
16
  import { u as P } from "../../chunks/useT9n.js";
17
17
  import { c as j, a as x, g as q } from "../../chunks/store.js";
18
- import { d0 as Y, _ as Q, d1 as J, K as ee, bX as te } from "../../chunks/index2.js";
18
+ import { d2 as Y, _ as Q, d3 as J, K as ee, bZ as te } from "../../chunks/index2.js";
19
19
  import { A as ae } from "../../chunks/axis-model-wrapper.js";
20
20
  import { h as ie, f as y } from "../../chunks/web-component-utils.js";
21
21
  import { a as se } from "../../chunks/chart-ui-utils2.js";
@@ -38,7 +38,7 @@ function w(m, e) {
38
38
  }), t;
39
39
  }
40
40
  function ne(m, e, i) {
41
- return m?.filter((t) => k(i, t.config) && t.layer?.id === e) ?? [];
41
+ return m?.filter((t) => E(i, t.config) && t.layer?.id === e) ?? [];
42
42
  }
43
43
  function ce(m) {
44
44
  const { modelList: e, layerList: i, activeLayerId: t, disableEditing: a } = m, s = /* @__PURE__ */ new Map();
@@ -73,17 +73,17 @@ function pe(m, e) {
73
73
  const i = m;
74
74
  if (i) {
75
75
  let t = [...i.charts ?? []];
76
- t = E({
76
+ t = k({
77
77
  arrayA: t,
78
78
  arrayB: e.map((a) => a.config),
79
79
  getKey: (a) => a.id ?? a.title?.content.text ?? ""
80
80
  }), i.charts = t;
81
81
  }
82
82
  }
83
- const me = G`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
83
+ const me = G`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
84
84
  class ue extends W {
85
85
  constructor() {
86
- super(), this.selectChartTypePopover = null, this.chartsListFlowItem = Z(), this.supportedChartTypes = [
86
+ super(), this.selectChartTypePopover = null, this.chartsListFlowItem = X(), this.supportedChartTypes = [
87
87
  o.BarSeries,
88
88
  o.BoxPlotSeries,
89
89
  o.LineSeries,
@@ -155,7 +155,7 @@ class ue extends W {
155
155
  if (r)
156
156
  switch (t) {
157
157
  case "rotation":
158
- typeof a == "boolean" && H(r) && (r.rotated = a);
158
+ typeof a == "boolean" && z(r) && (r.rotated = a);
159
159
  break;
160
160
  case "legendPosition":
161
161
  typeof a == "string" && v(r) && (r.legendPosition = a);
@@ -207,7 +207,7 @@ class ue extends W {
207
207
  }
208
208
  modelListReorderChangeListener(e) {
209
209
  const { modelList: i } = e.detail;
210
- if (this.modelList = E({
210
+ if (this.modelList = k({
211
211
  arrayA: this.modelList,
212
212
  arrayB: i,
213
213
  getKey: (t) => t.chartId ?? t.titleText ?? ""
@@ -311,7 +311,7 @@ class ue extends W {
311
311
  }
312
312
  getPlacement() {
313
313
  let e;
314
- return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => k(J, a.config)).length <= 2 ? "bottom" : "top", e;
314
+ return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => E(J, a.config)).length <= 2 ? "bottom" : "top", e;
315
315
  }
316
316
  onBackFlow() {
317
317
  this.panelNumber -= 1;
@@ -391,7 +391,7 @@ class ue extends W {
391
391
  t = "";
392
392
  break;
393
393
  }
394
- this.tooltip = L(h`<calcite-tooltip style=${X({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
394
+ this.tooltip = L(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
395
395
  }
396
396
  destroyTooltip() {
397
397
  se(this.tooltip);
@@ -410,7 +410,7 @@ class ue extends W {
410
410
  }
411
411
  renderTabs() {
412
412
  const e = this.getModel(this.selectedChartId);
413
- return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? z(this._messages.pageFlowTitle, {
413
+ return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? H(this._messages.pageFlowTitle, {
414
414
  chartName: e?.titleText ?? this.currentChartTypeText,
415
415
  layerName: e?.layer?.title ?? ""
416
416
  }) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(p.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(p.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === n.Data || this.selectedPanel === void 0} @click=${() => {
@@ -1,16 +1,16 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as M } from "../../chunks/runtime.js";
3
3
  import { ref as B } from "lit/directives/ref.js";
4
- import { s as S, m as n, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
4
+ import { s as S, m as d, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
5
5
  import { i as L } from "../../chunks/data-labels-symbol.js";
6
6
  import { i as P, a as C, b as E } from "../../chunks/axis-lines-symbol.js";
7
7
  import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as G } from "lodash-es";
8
8
  import { h as W } from "../../chunks/chart-ui-utils2.js";
9
9
  import { g as D, i as b } from "../../chunks/rest-js-object-literals.js";
10
10
  import { u as N } from "../../chunks/useT9n.js";
11
- import { css as H, html as u } from "lit";
12
- import { LitElement as j, renderElement as I, safeClassMap as p } from "@arcgis/lumina";
13
- import { C as O, F as i, L as d } from "../../chunks/common.js";
11
+ import { css as z, html as u } from "lit";
12
+ import { LitElement as H, renderElement as j, safeClassMap as p } from "@arcgis/lumina";
13
+ import { C as I, F as i, L as n } from "../../chunks/common.js";
14
14
  import { q as x, x as l } from "../../chunks/index5.js";
15
15
  import { r as $ } from "../../chunks/popover-ui-utils.js";
16
16
  import { u as r } from "../../chunks/chart-object-literals.js";
@@ -33,8 +33,8 @@ const v = {
33
33
  element: "chart-element",
34
34
  elementList: "element-list",
35
35
  sectionLabel: "section-label"
36
- }, R = H`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
37
- class X extends j {
36
+ }, O = z`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
37
+ class R extends H {
38
38
  constructor() {
39
39
  super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
40
40
  const e = t;
@@ -77,7 +77,7 @@ class X extends j {
77
77
  this.setFormatValue(s, e);
78
78
  }), this.selectedElement = a(t.target.selectedElement);
79
79
  }, this.updateBackground = (t) => {
80
- this.setFormatValue(O.Background, t.detail), this.selectedElement = t.detail;
80
+ this.setFormatValue(I.Background, t.detail), this.selectedElement = t.detail;
81
81
  }, this.updateTextProps = (t) => {
82
82
  const { font: e, color: s } = t.detail;
83
83
  this.selectedTexts.forEach((o) => {
@@ -106,7 +106,7 @@ class X extends j {
106
106
  this.properties = { selectedSymbols: 16, selectedTexts: 16, selectedBackground: 16, selectedElement: 16, messageOverrides: 0, model: 0 };
107
107
  }
108
108
  static {
109
- this.styles = R;
109
+ this.styles = O;
110
110
  }
111
111
  load() {
112
112
  this.modelChange(this.model);
@@ -150,7 +150,7 @@ class X extends j {
150
150
  this.formatPopover = $(this.formatPopover);
151
151
  const t = this.selectedElement;
152
152
  t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
153
- Array.isArray(this.selectedElement) ? (this.formatPopover = I(u`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
153
+ Array.isArray(this.selectedElement) ? (this.formatPopover = j(u`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
154
154
  }
155
155
  removeFormatPopover() {
156
156
  this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
@@ -164,7 +164,7 @@ class X extends j {
164
164
  case i.XAxisTitle:
165
165
  return E(this.model) ? this.model.xAxisTitleSymbol : void 0;
166
166
  case i.YAxisTitle:
167
- return n(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
167
+ return d(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
168
168
  case i.AxisLabels:
169
169
  return C(this.model) ? this.model.axisLabelsSymbol : void 0;
170
170
  case i.GuideLabels:
@@ -175,11 +175,11 @@ class X extends j {
175
175
  return h(this.model) ? this.model.legendTitleSymbol : void 0;
176
176
  case i.DataLabels:
177
177
  return L(this.model) ? this.model.dataLabelsSymbol : void 0;
178
- case d.AxisLines:
178
+ case n.AxisLines:
179
179
  return P(this.model) ? this.model.axisLinesSymbol : void 0;
180
- case d.GridLines:
181
- return n(this.model) ? this.model.getGridLinesSymbol() : void 0;
182
- case d.LeaderLines:
180
+ case n.GridLines:
181
+ return d(this.model) ? this.model.getGridLinesSymbol() : void 0;
182
+ case n.LeaderLines:
183
183
  return S(this.model) ? this.model.ticksSymbol : void 0;
184
184
  case i.Background:
185
185
  return this.model.backgroundColor;
@@ -199,7 +199,7 @@ class X extends j {
199
199
  E(this.model) && l(e) && (this.model.xAxisTitleSymbol = e);
200
200
  break;
201
201
  case i.YAxisTitle:
202
- n(this.model) && l(e) && this.model.setAxisTitleSymbol(e, 1);
202
+ d(this.model) && l(e) && this.model.setAxisTitleSymbol(e, 1);
203
203
  break;
204
204
  case i.AxisLabels:
205
205
  C(this.model) && l(e) && (this.model.axisLabelsSymbol = e);
@@ -216,14 +216,14 @@ class X extends j {
216
216
  case i.DataLabels:
217
217
  L(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
218
218
  break;
219
- case d.AxisLines:
219
+ case n.AxisLines:
220
220
  P(this.model) && x(e) && (this.model.axisLinesSymbol = e);
221
221
  break;
222
- case d.GridLines:
222
+ case n.GridLines:
223
223
  if (x(e)) {
224
224
  if (V(this.model))
225
225
  this.model.setGridLinesSymbol(e);
226
- else if (n(this.model)) {
226
+ else if (d(this.model)) {
227
227
  const s = this.model.chartType;
228
228
  let o = [];
229
229
  switch (s) {
@@ -247,7 +247,7 @@ class X extends j {
247
247
  }
248
248
  }
249
249
  break;
250
- case d.LeaderLines:
250
+ case n.LeaderLines:
251
251
  S(this.model) && x(e) && (this.model.ticksSymbol = e);
252
252
  break;
253
253
  case i.Background:
@@ -259,7 +259,7 @@ class X extends j {
259
259
  this.textProperties = [
260
260
  i.Title,
261
261
  ...E(this.model) ? [i.XAxisTitle] : [],
262
- ...n(this.model) ? [i.YAxisTitle] : [],
262
+ ...d(this.model) ? [i.YAxisTitle] : [],
263
263
  ...h(this.model) ? [i.LegendTitle] : [],
264
264
  i.Description,
265
265
  ...h(this.model) ? [i.LegendText] : [],
@@ -268,9 +268,9 @@ class X extends j {
268
268
  ...L(this.model) && this.model.chartType !== r.HeatSeries && this.model.chartType !== r.BoxPlotSeries ? [i.DataLabels] : []
269
269
  ], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
270
270
  i.Background,
271
- ...P(this.model) && this.model.chartType !== r.HeatSeries ? [d.AxisLines] : [],
272
- ...n(this.model) ? [d.GridLines] : [],
273
- ...S(this.model) ? [d.LeaderLines] : []
271
+ ...P(this.model) && this.model.chartType !== r.HeatSeries ? [n.AxisLines] : [],
272
+ ...d(this.model) ? [n.GridLines] : [],
273
+ ...S(this.model) ? [n.LeaderLines] : []
274
274
  ];
275
275
  const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
276
276
  return { textElements: t, symbolElements: e };
@@ -284,7 +284,7 @@ class X extends j {
284
284
  return u`<div class=${p(g.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${p(g.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
285
285
  }
286
286
  }
287
- M("arcgis-charts-config-format", X);
287
+ M("arcgis-charts-config-format", R);
288
288
  export {
289
- X as ArcgisChartsConfigFormat
289
+ R as ArcgisChartsConfigFormat
290
290
  };
@@ -3,13 +3,10 @@ import { c as i } from "../../chunks/runtime.js";
3
3
  import { html as o } from "lit";
4
4
  import { u as a } from "../../chunks/useT9n.js";
5
5
  import { createRef as l, ref as n } from "lit/directives/ref.js";
6
- import { LitElement as c, createEvent as s, safeClassMap as p } from "@arcgis/lumina";
7
- import { e as h } from "../../chunks/popover-ui-utils.js";
6
+ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
7
+ import { e as p } from "../../chunks/popover-ui-utils.js";
8
8
  import { i as r } from "../../chunks/rest-js-object-literals.js";
9
- const g = {
10
- jsAppFlyout: "js-app-flyout"
11
- };
12
- class m extends c {
9
+ class h extends c {
13
10
  constructor() {
14
11
  super(...arguments), this._messages = a(), this.popoverElement = l(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
15
12
  }
@@ -20,7 +17,7 @@ class m extends c {
20
17
  await this.popoverElement.value?.reposition();
21
18
  }
22
19
  updated() {
23
- h(this.popoverElement.value, this.open);
20
+ p(this.popoverElement.value, this.open);
24
21
  }
25
22
  closePopover() {
26
23
  this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
@@ -36,10 +33,10 @@ class m extends c {
36
33
  }
37
34
  render() {
38
35
  const e = this.selectedElement, t = this.selectedElement;
39
- return o`<div class=${p(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
36
+ return o`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
40
37
  }
41
38
  }
42
- i("arcgis-charts-config-format-popover", m);
39
+ i("arcgis-charts-config-format-popover", h);
43
40
  export {
44
- m as ArcgisChartsConfigFormatPopover
41
+ h as ArcgisChartsConfigFormatPopover
45
42
  };
@@ -4,13 +4,10 @@ import { html as t } from "lit";
4
4
  import { g as i } from "../../chunks/default.js";
5
5
  import { u as l } from "../../chunks/useT9n.js";
6
6
  import { createRef as a, ref as n } from "lit/directives/ref.js";
7
- import { LitElement as p, createEvent as s, safeClassMap as c } from "@arcgis/lumina";
8
- import { i as h } from "../../chunks/rest-js-object-literals.js";
9
- import { e as m } from "../../chunks/popover-ui-utils.js";
10
- const g = {
11
- jsAppFlyout: "js-app-flyout"
12
- };
13
- class C extends p {
7
+ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
8
+ import { i as p } from "../../chunks/rest-js-object-literals.js";
9
+ import { e as h } from "../../chunks/popover-ui-utils.js";
10
+ class m extends c {
14
11
  constructor() {
15
12
  super(...arguments), this._messages = l(), this.popoverElement = a(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
16
13
  }
@@ -21,7 +18,7 @@ class C extends p {
21
18
  await this.popoverElement.value?.reposition();
22
19
  }
23
20
  updated() {
24
- m(this.popoverElement.value, this.open);
21
+ h(this.popoverElement.value, this.open);
25
22
  }
26
23
  guidePopoverClose() {
27
24
  this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
@@ -36,10 +33,10 @@ class C extends p {
36
33
  }
37
34
  render() {
38
35
  const o = this.selectedElement, e = this.selectedElement;
39
- return t`<div class=${c(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === h.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
36
+ return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
40
37
  }
41
38
  }
42
- r("arcgis-charts-config-guide-popover", C);
39
+ r("arcgis-charts-config-guide-popover", m);
43
40
  export {
44
- C as ArcgisChartsConfigGuidePopover
41
+ m as ArcgisChartsConfigGuidePopover
45
42
  };
@@ -239,7 +239,7 @@ class le extends E {
239
239
  this.model.includeLeapDay = a;
240
240
  }
241
241
  onNullPolicyChange(e) {
242
- this.model.nullPolicy = e.target.selectedItem.value;
242
+ this.model.nullPolicy = e.target.selectedItem?.value;
243
243
  }
244
244
  setupPopover(e) {
245
245
  e.stopImmediatePropagation(), this.removeHeatChartDataPopover();
@@ -1,24 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as I } from "../../chunks/runtime.js";
2
+ import { c as w } from "../../chunks/runtime.js";
3
3
  import { repeat as d } from "lit/directives/repeat.js";
4
- import { css as w, html as o } from "lit";
4
+ import { css as F, html as o } from "lit";
5
5
  import { keyed as f } from "lit/directives/keyed.js";
6
6
  import L from "@arcgis/core/Color.js";
7
7
  import { LitElement as T, createEvent as h, safeClassMap as r, nothing as g, safeStyleMap as P } from "@arcgis/lumina";
8
8
  import { createRef as u, ref as p } from "lit/directives/ref.js";
9
9
  import { isEqual as S } from "lodash-es";
10
- import { d as A, F as b } from "../../chunks/index3.js";
10
+ import { d as D, F as b } from "../../chunks/index3.js";
11
11
  import { u as v } from "../../chunks/useT9n.js";
12
12
  import { e as c, W as $ } from "../../chunks/interfaces.js";
13
- import { c as y, b as D, e as m } from "../../chunks/chart-ui-utils2.js";
13
+ import { c as y, b as A, e as m } from "../../chunks/chart-ui-utils2.js";
14
14
  import { C as x, k } from "../../chunks/class-breaks.js";
15
15
  import { R as E } from "../../chunks/rest-js-object-literals.js";
16
16
  import { r as _, i as R, e as C } from "../../chunks/chart-object-literals.js";
17
17
  import { e as B } from "../../chunks/popover-ui-utils.js";
18
18
  import { t as N, aB as M } from "../../chunks/index.js";
19
- import { ba as H, bj as j } from "../../chunks/index2.js";
20
- const O = w`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
21
- jsAppFlyout: "js-app-flyout",
19
+ import { bb as H, bk as O } from "../../chunks/index2.js";
20
+ const q = F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
22
21
  name: "bar-chart-data-popover",
23
22
  header: "header",
24
23
  pickListItemLabel: "pick-list-item-label",
@@ -35,7 +34,7 @@ const O = w`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
35
34
  panelChildrenContainer: "panel-children-container",
36
35
  colorRampPopoverFooter: "color-ramp-popover-footer"
37
36
  };
38
- class q extends T {
37
+ class W extends T {
39
38
  constructor() {
40
39
  super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.picklist = u(), this.popoverElement = u(), this.placement = "leading", this.offsetDistance = -200, this.availableColorRamps = [], this.selectedCategory = x.all, this.aggregationLabels = [], this.isFlipped = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigHeatChartColorRampChange = h(), this.arcgisChartsConfigHeatChartDataPopoverChange = h(), this.arcgisChartsConfigPopoverClose = h(), this.arcgisChartsConfigPopoverEmptyCellColorChange = h(), this.arcgisChartsConfigPopoverEmptyCellNameChange = h();
41
40
  }
@@ -43,7 +42,7 @@ class q extends T {
43
42
  this.properties = { availableColorRamps: 16, selectedColorRampName: 16, selectedCategory: 16, aggregationLabels: 16, isFlipped: 5, model: 0, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, colorRamps: 0 };
44
43
  }
45
44
  static {
46
- this.styles = O;
45
+ this.styles = q;
47
46
  }
48
47
  async reposition() {
49
48
  await this.popoverElement.value?.reposition();
@@ -55,13 +54,13 @@ class q extends T {
55
54
  updated() {
56
55
  setTimeout(() => {
57
56
  this.picklist.value?.setFocus();
58
- }, D.PopoverTimer), B(this.popoverElement.value, this.open);
57
+ }, A.PopoverTimer), B(this.popoverElement.value, this.open);
59
58
  }
60
59
  buildAggregationListItems() {
61
60
  return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) => o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
62
61
  }
63
62
  buildPickListItem(e) {
64
- return f(e.name, o`<calcite-list-item .label=${A(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
63
+ return f(e.name, o`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
65
64
  }
66
65
  buildPickListItems(e) {
67
66
  const t = this.layerFieldsInfo?.length ?? 0, a = [];
@@ -71,7 +70,7 @@ class q extends T {
71
70
  a.push(i);
72
71
  for (let l = 0; l < t; l += 1) {
73
72
  const n = this.layerFieldsInfo?.[l];
74
- n && j(n) && a.push(this.buildPickListItem(n));
73
+ n && O(n) && a.push(this.buildPickListItem(n));
75
74
  }
76
75
  break;
77
76
  }
@@ -119,7 +118,7 @@ class q extends T {
119
118
  typeof a == "string" && a.length && (t = a);
120
119
  } else if (Array.isArray(e)) {
121
120
  const [a, i, l, n] = e;
122
- [a, i, l].every((F) => typeof F == "number") && (t = `rgba(${a},${i},${l},${n ?? 1})`);
121
+ [a, i, l].every((I) => typeof I == "number") && (t = `rgba(${a},${i},${l},${n ?? 1})`);
123
122
  } else if (typeof e == "object" && e) {
124
123
  const { r: a, g: i, b: l, a: n } = e;
125
124
  if (a != null && i != null && l != null)
@@ -261,10 +260,10 @@ class q extends T {
261
260
  return o`<div><div class=${r(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${r(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
262
261
  }
263
262
  render() {
264
- return o`<div class=${r(s.jsAppFlyout)}><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
263
+ return o`<div><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
265
264
  }
266
265
  }
267
- I("arcgis-charts-config-heat-chart-popover", q);
266
+ w("arcgis-charts-config-heat-chart-popover", W);
268
267
  export {
269
- q as ArcgisChartsConfigHeatChartPopover
268
+ W as ArcgisChartsConfigHeatChartPopover
270
269
  };