@arcgis/map-components 5.1.0-next.1 → 5.1.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{37TNG76C.js → 24PK3ZLX.js} +1 -1
  3. package/dist/cdn/{ZURN5EZI.js → 2BJHF4JK.js} +1 -1
  4. package/dist/cdn/{M65HMJZA.js → 2K45WUVH.js} +1 -1
  5. package/dist/cdn/2MTWUJIA.js +2 -0
  6. package/dist/cdn/2PAAPTW5.js +2 -0
  7. package/dist/cdn/{UKKUFJLL.js → 33U3K3P2.js} +1 -1
  8. package/dist/cdn/3A7HYDQP.js +2 -0
  9. package/dist/cdn/3OVSVCGF.js +2 -0
  10. package/dist/cdn/{TPOLS4YM.js → 4IC3NWKK.js} +1 -1
  11. package/dist/cdn/{UKNKW6MH.js → 4PWBNKOA.js} +1 -1
  12. package/dist/cdn/{HH6BDERO.js → 4URF7CKU.js} +1 -1
  13. package/dist/cdn/{RP5SO6BA.js → 4YQLL44L.js} +1 -1
  14. package/dist/cdn/{42UR6TXZ.js → 5FZLG5YS.js} +1 -1
  15. package/dist/cdn/5LD4AU4Q.js +2 -0
  16. package/dist/cdn/{OSPWEZQJ.js → 5PJEJPFY.js} +1 -1
  17. package/dist/cdn/{TUW6NLYY.js → 5V7HEV2R.js} +1 -1
  18. package/dist/cdn/{FJJVAOBW.js → 67IVXIOR.js} +1 -1
  19. package/dist/cdn/{K27JJT2P.js → 6XJFSJGE.js} +1 -1
  20. package/dist/cdn/{NGKNECON.js → 7357JBTM.js} +1 -1
  21. package/dist/cdn/{NRV7VFJ7.js → 77ERVO5S.js} +1 -1
  22. package/dist/cdn/{J55YUTPM.js → 7CBBWB77.js} +1 -1
  23. package/dist/cdn/7DTWNSIR.js +2 -0
  24. package/dist/cdn/7L5TRJUA.js +2 -0
  25. package/dist/cdn/{2VC2VUTP.js → 7S4WE6H3.js} +1 -1
  26. package/dist/cdn/7WLTT4K3.js +2 -0
  27. package/dist/cdn/{EX22SAPL.js → 7ZCMIKP6.js} +1 -1
  28. package/dist/cdn/{NIUIKBRD.js → ACWGHEWO.js} +1 -1
  29. package/dist/cdn/{S4XGBADW.js → AIRDJCFV.js} +1 -1
  30. package/dist/cdn/{FQGKKJL7.js → AN2ZNLDK.js} +1 -1
  31. package/dist/cdn/BAPY2HFP.js +2 -0
  32. package/dist/cdn/{PISCYSA5.js → BB5CXHDQ.js} +1 -1
  33. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  34. package/dist/cdn/{YC423DBS.js → BNJXI23I.js} +1 -1
  35. package/dist/cdn/BX7N3KYH.js +2 -0
  36. package/dist/cdn/{DTVW3MYT.js → CEJGZMGB.js} +1 -1
  37. package/dist/cdn/CKBTMA4D.js +2 -0
  38. package/dist/cdn/{AJHRJ5EA.js → CMWIMRU2.js} +1 -1
  39. package/dist/cdn/{NZAO2BVV.js → CQ2L75M3.js} +1 -1
  40. package/dist/cdn/{5RGFRTJS.js → CUWONRT5.js} +1 -1
  41. package/dist/cdn/{CC53K2CR.js → CXOYV56L.js} +1 -1
  42. package/dist/cdn/{NVACRYY6.js → CZE43OAC.js} +1 -1
  43. package/dist/cdn/D6YUW72R.js +2 -0
  44. package/dist/cdn/{TSPKG2WN.js → D7DDJ2QZ.js} +1 -1
  45. package/dist/cdn/{UVCYUIKZ.js → DLUXWET4.js} +1 -1
  46. package/dist/cdn/{UM2FDZJJ.js → DUT3D6UH.js} +1 -1
  47. package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
  48. package/dist/cdn/{WW6L6XX4.js → E4YMNWRJ.js} +1 -1
  49. package/dist/cdn/{3XMPN66U.js → EPQN4FJS.js} +1 -1
  50. package/dist/cdn/ERTOHEVB.js +2 -0
  51. package/dist/cdn/EVC4MXIZ.js +2 -0
  52. package/dist/cdn/FANKLSAT.js +2 -0
  53. package/dist/cdn/{EVRFMTMV.js → FOMIDTAN.js} +1 -1
  54. package/dist/cdn/{HO4JUZ6N.js → FQJMTGXO.js} +1 -1
  55. package/dist/cdn/{64OEHFBZ.js → FTBTVD7U.js} +1 -1
  56. package/dist/cdn/G4A4VLTL.js +2 -0
  57. package/dist/cdn/{KXF2562U.js → GHA2ANJZ.js} +1 -1
  58. package/dist/cdn/{3DO7PVNW.js → GLNRLEZE.js} +1 -1
  59. package/dist/cdn/{HR2OOT3F.js → GQN4ALIE.js} +1 -1
  60. package/dist/cdn/{H6ILOF27.js → GS43BIES.js} +1 -1
  61. package/dist/cdn/{YFUI4F5L.js → GUAI5SHN.js} +1 -1
  62. package/dist/cdn/GXBHOVJY.js +2 -0
  63. package/dist/cdn/{SZ5MNKOW.js → HVI2FE73.js} +1 -1
  64. package/dist/cdn/{WGWNMYUH.js → I2WEEE2E.js} +1 -1
  65. package/dist/cdn/{XO6U6OVM.js → I3PBMKT5.js} +1 -1
  66. package/dist/cdn/{RCWZGU5T.js → I6ZXIPND.js} +1 -1
  67. package/dist/cdn/{PMQLTMQ4.js → IIPYTUR3.js} +1 -1
  68. package/dist/cdn/{AP2IFWYH.js → INS77MCT.js} +1 -1
  69. package/dist/cdn/IPNIJANM.js +2 -0
  70. package/dist/cdn/IQPGSWSL.js +2 -0
  71. package/dist/cdn/IY2G6DLG.js +2 -0
  72. package/dist/cdn/{2XSXH4TM.js → JC4DYMKT.js} +1 -1
  73. package/dist/cdn/{M4L5EDRB.js → JCV26SSG.js} +1 -1
  74. package/dist/cdn/{I5QTPPFJ.js → JLIZWDU5.js} +1 -1
  75. package/dist/cdn/{LG4PZVHS.js → JMHCIJG4.js} +1 -1
  76. package/dist/cdn/{556MC5SF.js → JTEJ2NHE.js} +1 -1
  77. package/dist/cdn/{3YA25S2J.js → KBY7C6QM.js} +1 -1
  78. package/dist/cdn/{5PRNT4KD.js → KG2M6IQS.js} +1 -1
  79. package/dist/cdn/KLBNUE5Q.js +2 -0
  80. package/dist/cdn/{ZVTPU2MO.js → KNJ7PME5.js} +1 -1
  81. package/dist/cdn/KQNQ6ITI.js +2 -0
  82. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  83. package/dist/cdn/{ORH27QWU.js → L6LZYPWJ.js} +1 -1
  84. package/dist/cdn/{R4V6HGJH.js → L7NIKN24.js} +1 -1
  85. package/dist/cdn/LCUXPDUW.js +2 -0
  86. package/dist/cdn/{WOV3LB6K.js → LLNNQ2ED.js} +1 -1
  87. package/dist/cdn/{XRP25NGI.js → LMV6L2OF.js} +1 -1
  88. package/dist/cdn/{C4DJABUI.js → LSF66JVY.js} +1 -1
  89. package/dist/cdn/LVMJAMRO.js +2 -0
  90. package/dist/cdn/{KAXJKSFB.js → LVSNYSCO.js} +1 -1
  91. package/dist/cdn/{52GXKBGP.js → LY735GHL.js} +1 -1
  92. package/dist/cdn/{QVMTO5BV.js → LZ3PMD7Z.js} +1 -1
  93. package/dist/cdn/{ZD25GJYW.js → N76CLHYJ.js} +1 -1
  94. package/dist/cdn/{YZ5ZVEPC.js → OAFAR3NG.js} +1 -1
  95. package/dist/cdn/{OCEXQCFT.js → OJNMPOYD.js} +1 -1
  96. package/dist/cdn/OKZSKR6W.js +2 -0
  97. package/dist/cdn/OMKVQOUI.js +2 -0
  98. package/dist/cdn/{EQCNO3G4.js → P4PTEXIJ.js} +1 -1
  99. package/dist/cdn/{7YLXQNEC.js → PESPV6VP.js} +1 -1
  100. package/dist/cdn/{KNAUIRT6.js → PFYZ7JRB.js} +1 -1
  101. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  102. package/dist/cdn/{GNGZFV2C.js → POEZXWTT.js} +1 -1
  103. package/dist/cdn/QX27DK37.js +2 -0
  104. package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
  105. package/dist/cdn/{T2ZF4XIZ.js → RISVXUI4.js} +1 -1
  106. package/dist/cdn/RWJKQEMK.js +2 -0
  107. package/dist/cdn/{KHM3S4Q6.js → RXFUZXUX.js} +1 -1
  108. package/dist/cdn/S4I3X6AX.js +2 -0
  109. package/dist/cdn/{KY4FMFIC.js → S52VES4H.js} +1 -1
  110. package/dist/cdn/{S6G6XXTM.js → SFM3XWUA.js} +1 -1
  111. package/dist/cdn/{YC6JWXOW.js → SKGRUNAJ.js} +1 -1
  112. package/dist/cdn/{C7YN3AZA.js → SPACZLHW.js} +1 -1
  113. package/dist/cdn/{F4HWT5H3.js → SSZMOOL6.js} +1 -1
  114. package/dist/cdn/{UAO23YMW.js → SZNBYDQI.js} +1 -1
  115. package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
  116. package/dist/cdn/{EENOVGOS.js → TTR6UUEQ.js} +1 -1
  117. package/dist/cdn/U5FUT6DD.js +2 -0
  118. package/dist/cdn/{MAGJWMWM.js → U5HXLA7K.js} +1 -1
  119. package/dist/cdn/{WJ5HD2YN.js → UDPUTCKL.js} +1 -1
  120. package/dist/cdn/{63P5VYGP.js → UZ7KLWGC.js} +1 -1
  121. package/dist/cdn/{IDDSHZVB.js → VGTTCLO3.js} +1 -1
  122. package/dist/cdn/VPJCFCJU.js +2 -0
  123. package/dist/cdn/W5T5EBL3.js +2 -0
  124. package/dist/cdn/XE5UPQ5E.js +2 -0
  125. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  126. package/dist/cdn/{3PQT2S7Z.js → XTFD35UI.js} +1 -1
  127. package/dist/cdn/{LHEP4QSS.js → XWAT4IT2.js} +1 -1
  128. package/dist/cdn/Y6KRMZWJ.js +2 -0
  129. package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
  130. package/dist/cdn/{FC6W37TT.js → YBJEMNAU.js} +1 -1
  131. package/dist/cdn/YR3SQWM6.js +2 -0
  132. package/dist/cdn/{2EJ4XRH4.js → YSDQ5VNK.js} +1 -1
  133. package/dist/cdn/YZZJQMH4.js +2 -0
  134. package/dist/cdn/Z4F6DHBB.js +2 -0
  135. package/dist/cdn/{WTMMFDEH.js → ZIX3WE2Q.js} +1 -1
  136. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  137. package/dist/cdn/index.js +1 -1
  138. package/dist/cdn/main.css +1 -1
  139. package/dist/chunks/AnalysisViewModel.js +106 -99
  140. package/dist/chunks/feature-utils.js +73 -73
  141. package/dist/chunks/layer-utils.js +33 -16
  142. package/dist/chunks/measurementUtils.js +44 -21
  143. package/dist/chunks/slots.js +20 -20
  144. package/dist/chunks/time-utils.js +24 -22
  145. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +18 -9
  146. package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
  147. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  148. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +20 -18
  149. package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
  150. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  151. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  152. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
  153. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  154. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
  155. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  156. package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
  157. package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
  158. package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
  159. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  160. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
  161. package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
  162. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  163. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
  164. package/dist/components/arcgis-daylight/customElement.d.ts +18 -19
  165. package/dist/components/arcgis-daylight/customElement.js +118 -119
  166. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  167. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +20 -18
  168. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
  169. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  170. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  171. package/dist/components/arcgis-directions/customElement.d.ts +7 -8
  172. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +22 -9
  173. package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
  174. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  175. package/dist/components/arcgis-editor/customElement.d.ts +15 -16
  176. package/dist/components/arcgis-editor/customElement.js +2 -2
  177. package/dist/components/arcgis-elevation-profile/customElement.d.ts +26 -25
  178. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  179. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  180. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  181. package/dist/components/arcgis-expand/types.d.ts +1 -0
  182. package/dist/components/arcgis-feature/customElement.d.ts +32 -33
  183. package/dist/components/arcgis-feature/customElement.js +35 -35
  184. package/dist/components/arcgis-feature-fields/customElement.js +29 -28
  185. package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
  186. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  187. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  188. package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
  189. package/dist/components/arcgis-feature-table/customElement.js +12 -12
  190. package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
  191. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
  192. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
  193. package/dist/components/arcgis-features/customElement.d.ts +31 -33
  194. package/dist/components/arcgis-features/customElement.js +43 -43
  195. package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
  196. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  197. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  199. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
  200. package/dist/components/arcgis-home/customElement.d.ts +4 -6
  201. package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
  202. package/dist/components/arcgis-legend/customElement.d.ts +28 -29
  203. package/dist/components/arcgis-line-of-sight/customElement.d.ts +14 -12
  204. package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
  205. package/dist/components/arcgis-link-chart/customElement.js +42 -31
  206. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
  207. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
  208. package/dist/components/arcgis-locate/customElement.d.ts +2 -3
  209. package/dist/components/arcgis-map/customElement.d.ts +139 -129
  210. package/dist/components/arcgis-map/customElement.js +24 -13
  211. package/dist/components/arcgis-measurement/customElement.d.ts +1 -2
  212. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  213. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
  214. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  215. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  216. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
  217. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
  218. package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
  219. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
  220. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
  221. package/dist/components/arcgis-paste/customElement.d.ts +1 -1
  222. package/dist/components/arcgis-paste/customElement.js +6 -7
  223. package/dist/components/arcgis-popup/customElement.d.ts +20 -21
  224. package/dist/components/arcgis-popup/customElement.js +1 -1
  225. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
  226. package/dist/components/arcgis-print/customElement.d.ts +29 -18
  227. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
  228. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  229. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  230. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  231. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  232. package/dist/components/arcgis-scene/customElement.d.ts +155 -150
  233. package/dist/components/arcgis-scene/customElement.js +20 -9
  234. package/dist/components/arcgis-search/customElement.d.ts +37 -30
  235. package/dist/components/arcgis-search/customElement.js +20 -18
  236. package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
  237. package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
  238. package/dist/components/arcgis-sketch/customElement.js +20 -8
  239. package/dist/components/arcgis-slice/customElement.d.ts +16 -16
  240. package/dist/components/arcgis-slice/customElement.js +6 -6
  241. package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
  242. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +77 -27
  243. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  244. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +30 -31
  245. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -37
  246. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +67 -34
  247. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  248. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +106 -36
  249. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  250. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +7 -10
  251. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +26 -27
  252. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +35 -39
  253. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  254. package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
  255. package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
  256. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  257. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  258. package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
  259. package/dist/components/arcgis-time-zone-label/customElement.d.ts +18 -8
  260. package/dist/components/arcgis-time-zone-label/customElement.js +39 -45
  261. package/dist/components/arcgis-time-zone-label/index.js +1 -2
  262. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  263. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
  264. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  265. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
  266. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
  267. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
  268. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  269. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
  271. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
  272. package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
  273. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  274. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
  275. package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
  276. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  277. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  278. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
  279. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  280. package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  282. package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
  283. package/dist/components/arcgis-video-player/customElement.js +2 -2
  284. package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
  285. package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
  286. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  287. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  288. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  289. package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
  290. package/dist/components/types.d.ts +56 -1
  291. package/dist/docs/api.json +1 -1
  292. package/dist/docs/docs.json +1 -1
  293. package/dist/docs/vscode.html-custom-data.json +1 -1
  294. package/dist/docs/web-types.json +1 -1
  295. package/dist/index.d.ts +6 -28
  296. package/dist/loader.js +18 -18
  297. package/dist/types/lumina.d.ts +17 -38
  298. package/dist/types/preact.d.ts +17 -42
  299. package/dist/types/react.d.ts +17 -46
  300. package/dist/types/stencil.d.ts +17 -38
  301. package/package.json +4 -4
  302. package/dist/cdn/3GZCJE62.js +0 -2
  303. package/dist/cdn/4EAZ4PIQ.js +0 -2
  304. package/dist/cdn/4TURMTXA.js +0 -2
  305. package/dist/cdn/55QGHI47.js +0 -2
  306. package/dist/cdn/6UX4KWBN.js +0 -2
  307. package/dist/cdn/7UR4M6PN.js +0 -2
  308. package/dist/cdn/A4UJ53JS.js +0 -2
  309. package/dist/cdn/AGYDL2DX.js +0 -2
  310. package/dist/cdn/B5XR4LXQ.js +0 -2
  311. package/dist/cdn/DOLELC6W.js +0 -2
  312. package/dist/cdn/EYNKJZG3.js +0 -2
  313. package/dist/cdn/I2MQQXVU.js +0 -2
  314. package/dist/cdn/JDZWJLJX.js +0 -2
  315. package/dist/cdn/KECAR2NZ.js +0 -2
  316. package/dist/cdn/LZFDWRYI.js +0 -2
  317. package/dist/cdn/M7VTEC3S.js +0 -2
  318. package/dist/cdn/MRE5HCIK.js +0 -2
  319. package/dist/cdn/MWBGBBXT.js +0 -2
  320. package/dist/cdn/PNDLNFML.js +0 -2
  321. package/dist/cdn/PQJAXYJ2.js +0 -2
  322. package/dist/cdn/RJ76OXB6.js +0 -2
  323. package/dist/cdn/SKW7HQZ6.js +0 -2
  324. package/dist/cdn/SRSYUCVL.js +0 -2
  325. package/dist/cdn/U3LH3AZH.js +0 -2
  326. package/dist/cdn/UTH3SGAS.js +0 -2
  327. package/dist/cdn/VJMMA6UX.js +0 -2
  328. package/dist/cdn/W2E5L6DS.js +0 -2
  329. package/dist/cdn/WGXSSEAL.js +0 -2
  330. package/dist/cdn/X6OVNOLQ.js +0 -2
  331. package/dist/cdn/X7YUU7TS.js +0 -2
  332. package/dist/cdn/XMZSFKKO.js +0 -2
  333. package/dist/cdn/Y53D5YAC.js +0 -2
  334. package/dist/cdn/YGJFZRA4.js +0 -2
  335. package/dist/cdn/YKTB6AFH.js +0 -2
  336. package/dist/cdn/YWQGP6MB.js +0 -2
  337. package/dist/cdn/ZMLRDNKR.js +0 -2
  338. package/dist/cdn/ZUTQE3OX.js +0 -2
  339. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  340. package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
  341. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  342. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  343. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  344. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  345. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  346. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  347. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  348. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  349. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  350. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  351. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  352. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  353. package/dist/components/support/goTo.d.ts +0 -37
  354. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  355. package/dist/support/heading.d.ts +0 -1
  356. package/dist/support/measurementUtils.d.ts +0 -1
  357. package/dist/utils/action-utils.d.ts +0 -3
  358. package/dist/utils/component-utils.d.ts +0 -5
  359. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  360. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,19 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { forceInteractive as _ } from "@arcgis/core/applications/Components/analysisUtils.js";
3
3
  import f from "@arcgis/core/core/Accessor.js";
4
- import { property as r, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
4
+ import { property as o, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
5
5
  import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
6
6
  import { when as m, watch as w, on as A, whenOnce as g } from "@arcgis/core/core/reactiveUtils.js";
7
7
  import { log as p } from "@arcgis/toolkit/log";
8
8
  import { c as u, t as O, i as I, a as b } from "./async-utils.js";
9
9
  import { a as h } from "./maybe.js";
10
- var F = Object.defineProperty, T = Object.getOwnPropertyDescriptor, a = (s, e, i, n) => {
11
- for (var o = n > 1 ? void 0 : n ? T(e, i) : e, c = s.length - 1, l; c >= 0; c--)
12
- (l = s[c]) && (o = (n ? l(e, i, o) : l(o)) || o);
13
- return n && o && F(e, i, o), o;
10
+ import { getDefaultUnitForView as F } from "@arcgis/core/applications/Components/getDefaultUnits.js";
11
+ var T = Object.defineProperty, R = Object.getOwnPropertyDescriptor, n = (e, s, t, a) => {
12
+ for (var r = a > 1 ? void 0 : a ? R(s, t) : s, l = e.length - 1, c; l >= 0; l--)
13
+ (c = e[l]) && (r = (a ? c(s, t, r) : c(r)) || r);
14
+ return a && r && T(s, t, r), r;
14
15
  };
15
16
  const y = Symbol("interactiveHandle");
16
- let t = class extends f {
17
+ let i = class extends f {
17
18
  // #region Lifecycle
18
19
  // Intentionally keep constructor side-effect free: callers may set properties in any order after instantiation.
19
20
  constructor() {
@@ -21,10 +22,10 @@ let t = class extends f {
21
22
  }
22
23
  initialize() {
23
24
  this._set("analysis", this.constructAnalysis()), this._ownsAnalysis = !0;
24
- const s = () => {
25
+ const e = () => {
25
26
  !this._changeFromReconnect && !this._viewHasAnalysis && (this._ownsAnalysis = !1);
26
- const e = !this._changeFromReconnect;
27
- this._changeFromReconnect = !1, e && this._scheduleViewReconnect();
27
+ const s = !this._changeFromReconnect;
28
+ this._changeFromReconnect = !1, s && this._scheduleViewReconnect();
28
29
  };
29
30
  this.addHandles([
30
31
  m(
@@ -34,12 +35,12 @@ let t = class extends f {
34
35
  },
35
36
  { sync: !0, initial: !0 }
36
37
  ),
37
- w(() => [this.analysis, this._viewHasAnalysis], s, { sync: !0 }),
38
+ w(() => [this.analysis, this._viewHasAnalysis], e, { sync: !0 }),
38
39
  A(
39
40
  () => this.view,
40
41
  "analysis-view-destroy",
41
- (e) => {
42
- e.analysis === this.analysis && s();
42
+ (s) => {
43
+ s.analysis === this.analysis && e();
43
44
  }
44
45
  ),
45
46
  w(
@@ -48,9 +49,9 @@ let t = class extends f {
48
49
  ready: !!this.view?.ready,
49
50
  supported: this.supported
50
51
  }),
51
- ({ view: e }, i) => {
52
- const n = i?.view;
53
- e !== n && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(n)), this._scheduleViewReconnect();
52
+ ({ view: s }, t) => {
53
+ const a = t?.view;
54
+ s !== a && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(a)), this._scheduleViewReconnect();
54
55
  },
55
56
  { sync: !0, initial: !0 }
56
57
  )
@@ -59,11 +60,14 @@ let t = class extends f {
59
60
  destroy() {
60
61
  this._reconnectViewTask = h(this._reconnectViewTask), this._userOperationInfo = h(this._userOperationInfo), this.analysisView != null && (this.analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this._ownsAnalysis && this.analysis?.destroy();
61
62
  }
63
+ get defaultMeasurementSystem() {
64
+ return this.view?.ready ? F(this.view) : "metric";
65
+ }
62
66
  get active() {
63
67
  return this._userOperationInfo?.state === "running";
64
68
  }
65
- set analysis(s) {
66
- s !== this._get("analysis") && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(this.view), this._setExternalAnalysis(s), this._scheduleViewReconnect());
69
+ set analysis(e) {
70
+ e !== this._get("analysis") && (this._userOperationInfo = h(this._userOperationInfo), this._disconnectFromView(this.view), this._setExternalAnalysis(e), this._scheduleViewReconnect());
67
71
  }
68
72
  get connectingToView() {
69
73
  return !!this._reconnectViewTask;
@@ -71,8 +75,8 @@ let t = class extends f {
71
75
  get disabled() {
72
76
  return !this.view?.ready || !this.supported;
73
77
  }
74
- set hideVisualization(s) {
75
- this._set("hideVisualization", s), this.analysisView && (this.analysisView.visible = !s);
78
+ set hideVisualization(e) {
79
+ this._set("hideVisualization", e), this.analysisView && (this.analysisView.visible = !e);
76
80
  }
77
81
  get ready() {
78
82
  return !!this.analysisView && !this.connectingToView;
@@ -81,8 +85,8 @@ let t = class extends f {
81
85
  return !this.view || this.supportedViewType === "both" || this.view.type === this.supportedViewType;
82
86
  }
83
87
  get _viewHasAnalysis() {
84
- const { view: s } = this;
85
- return s?.analyses.includes(this.analysis) === !0;
88
+ const { view: e } = this;
89
+ return e?.analyses.includes(this.analysis) === !0;
86
90
  }
87
91
  // #endregion
88
92
  // #region Public Methods
@@ -98,26 +102,26 @@ let t = class extends f {
98
102
  * If the required analysis inputs are missing, this calls `place()` once the view is ready. You can provide a custom
99
103
  * `operation` to override the default behavior. Set `clear: false` to retain existing analysis inputs.
100
104
  */
101
- async start(s) {
105
+ async start(e) {
102
106
  if (this.hideVisualization) {
103
107
  p("warn", this, "Cannot start analysis when not visible");
104
108
  return;
105
109
  }
106
- this.stop(), s?.clear !== !1 && this.clear();
107
- const e = {
110
+ this.stop(), e?.clear !== !1 && this.clear();
111
+ const s = {
108
112
  task: null,
109
113
  abort: null,
110
114
  state: "pending"
111
- }, i = u(async (n) => {
112
- if (e.state = "wait-for-view-ready", await g(() => this.ready, n), e.state = "running", !this.analysisView || !this.view)
115
+ }, t = u(async (a) => {
116
+ if (s.state = "wait-for-view-ready", await g(() => this.ready, a), s.state = "running", !this.analysisView || !this.view)
113
117
  return;
114
118
  this.operationState = "active";
115
- const o = s?.operation?.({ signal: n }) ?? this.place({ signal: n });
116
- await v(o);
119
+ const r = e?.operation?.({ signal: a }) ?? this.place({ signal: a });
120
+ await v(r);
117
121
  });
118
- return i.promise.finally(() => {
119
- (this._userOperationInfo === e || !this._userOperationInfo) && (this.operationState = "inactive");
120
- }), e.task = i, e.abort = () => i.abort(), this._userOperationInfo = e, await i.promise;
122
+ return t.promise.finally(() => {
123
+ (this._userOperationInfo === s || !this._userOperationInfo) && (this.operationState = "inactive");
124
+ }), s.task = t, s.abort = () => t.abort(), this._userOperationInfo = s, await t.promise;
121
125
  }
122
126
  /**
123
127
  * Stop the active user operation, if any.
@@ -131,7 +135,7 @@ let t = class extends f {
131
135
  * Define the interactive placement workflow for the analysis.
132
136
  * Implement in subclasses to collect required inputs. Honor `AbortSignal`.
133
137
  */
134
- place(s) {
138
+ place(e) {
135
139
  throw new Error("place() not implemented for this analysis view model");
136
140
  }
137
141
  /**
@@ -143,7 +147,7 @@ let t = class extends f {
143
147
  * Hook for subclasses managing an analysis that belongs to a layer.
144
148
  * Called when the view is ready and the `analysisView` is created.
145
149
  */
146
- onConnectToAnalysisView(s) {
150
+ onConnectToAnalysisView(e) {
147
151
  }
148
152
  /**
149
153
  * Hook for subclasses to react when the view becomes unready and the
@@ -153,99 +157,102 @@ let t = class extends f {
153
157
  }
154
158
  _scheduleViewReconnect() {
155
159
  this._reconnectViewTask = h(this._reconnectViewTask);
156
- const s = u(async (e) => {
160
+ const e = u(async (s) => {
157
161
  try {
158
- await this._reconnectView(e);
159
- } catch (i) {
160
- if (O(e), !I(i)) {
161
- p("warn", this, `Failed to use analysis in view model. ${String(i)}`);
162
+ await this._reconnectView(s);
163
+ } catch (t) {
164
+ if (O(s), !I(t)) {
165
+ p("warn", this, `Failed to use analysis in view model. ${String(t)}`);
162
166
  return;
163
167
  }
164
- throw i;
168
+ throw t;
165
169
  } finally {
166
- s === this._reconnectViewTask && (this._reconnectViewTask = void 0);
170
+ e === this._reconnectViewTask && (this._reconnectViewTask = void 0);
167
171
  }
168
172
  });
169
- this._reconnectViewTask = s;
173
+ this._reconnectViewTask = e;
170
174
  }
171
175
  /**
172
176
  * Reconnect the analysis to the current view, obtaining an `analysisView` when supported and ready.
173
177
  * Aborts active operations that are past the "waiting for view" phase.
174
178
  */
175
- async _reconnectView(s) {
176
- const { view: e } = this, i = e?.ready && this.supported, n = this.analysis;
177
- if (this._userOperationInfo = d(this._userOperationInfo), this._disconnectFromView(e), !i || !e || !n)
179
+ async _reconnectView(e) {
180
+ const { view: s } = this, t = s?.ready && this.supported, a = this.analysis;
181
+ if (this._userOperationInfo = d(this._userOperationInfo), this._disconnectFromView(s), !t || !s || !a)
178
182
  return;
179
- this._ownsAnalysis && (this._changeFromReconnect = !0, e.analyses.add(n));
180
- const o = await e.whenAnalysisView(n);
181
- if (this.analysisView = o, b(s)) {
183
+ this._ownsAnalysis && (this._changeFromReconnect = !0, s.analyses.add(a));
184
+ const r = await s.whenAnalysisView(a);
185
+ if (this.analysisView = r, b(e)) {
182
186
  this._userOperationInfo = d(this._userOperationInfo);
183
187
  return;
184
188
  }
185
- o.visible = !this.hideVisualization, this.shouldForceInteractive && this.addHandles(_(o), y), this.onConnectToAnalysisView(o);
189
+ r.visible = !this.hideVisualization, this.shouldForceInteractive && this.addHandles(_(r), y), this.onConnectToAnalysisView(r);
186
190
  }
187
191
  /**
188
192
  * Disconnect the analysis from the given view.
189
193
  */
190
- _disconnectFromView(s) {
191
- this._ownsAnalysis && s?.analyses.includes(this.analysis) && (this._changeFromReconnect = !0, this.clearAnalysis(), s.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this.removeHandles(y), this.analysisView = void 0;
194
+ _disconnectFromView(e) {
195
+ this._ownsAnalysis && e?.analyses.includes(this.analysis) && (this._changeFromReconnect = !0, this.clearAnalysis(), e.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this.removeHandles(y), this.analysisView = void 0;
192
196
  }
193
197
  /**
194
198
  * Set an externally owned analysis.
195
199
  */
196
- _setExternalAnalysis(s) {
197
- this.analysisView && !this._ownsAnalysis && (this.analysisView.visible = void 0, this.removeHandles(y)), this.analysisView = void 0, this._ownsAnalysis = !1, this._set("analysis", s), this._changeFromReconnect = !1;
200
+ _setExternalAnalysis(e) {
201
+ this.analysisView && !this._ownsAnalysis && (this.analysisView.visible = void 0, this.removeHandles(y)), this.analysisView = void 0, this._ownsAnalysis = !1, this._set("analysis", e), this._changeFromReconnect = !1;
198
202
  }
199
203
  // #endregion
200
204
  };
201
- a([
202
- r()
203
- ], t.prototype, "active", 1);
204
- a([
205
- r()
206
- ], t.prototype, "analysis", 1);
207
- a([
208
- r()
209
- ], t.prototype, "connectingToView", 1);
210
- a([
211
- r()
212
- ], t.prototype, "disabled", 1);
213
- a([
214
- r()
215
- ], t.prototype, "hideVisualization", 1);
216
- a([
217
- r()
218
- ], t.prototype, "operationState", 2);
219
- a([
220
- r()
221
- ], t.prototype, "ready", 1);
222
- a([
223
- r()
224
- ], t.prototype, "supported", 1);
225
- a([
226
- r()
227
- ], t.prototype, "view", 2);
228
- a([
229
- r()
230
- ], t.prototype, "_ownsAnalysis", 2);
231
- a([
232
- r()
233
- ], t.prototype, "_viewHasAnalysis", 1);
234
- a([
235
- r()
236
- ], t.prototype, "_reconnectViewTask", 2);
237
- a([
238
- r()
239
- ], t.prototype, "analysisView", 2);
240
- a([
241
- r()
242
- ], t.prototype, "shouldForceInteractive", 2);
243
- t = a([
205
+ n([
206
+ o()
207
+ ], i.prototype, "defaultMeasurementSystem", 1);
208
+ n([
209
+ o()
210
+ ], i.prototype, "active", 1);
211
+ n([
212
+ o()
213
+ ], i.prototype, "analysis", 1);
214
+ n([
215
+ o()
216
+ ], i.prototype, "connectingToView", 1);
217
+ n([
218
+ o()
219
+ ], i.prototype, "disabled", 1);
220
+ n([
221
+ o()
222
+ ], i.prototype, "hideVisualization", 1);
223
+ n([
224
+ o()
225
+ ], i.prototype, "operationState", 2);
226
+ n([
227
+ o()
228
+ ], i.prototype, "ready", 1);
229
+ n([
230
+ o()
231
+ ], i.prototype, "supported", 1);
232
+ n([
233
+ o()
234
+ ], i.prototype, "view", 2);
235
+ n([
236
+ o()
237
+ ], i.prototype, "_ownsAnalysis", 2);
238
+ n([
239
+ o()
240
+ ], i.prototype, "_viewHasAnalysis", 1);
241
+ n([
242
+ o()
243
+ ], i.prototype, "_reconnectViewTask", 2);
244
+ n([
245
+ o()
246
+ ], i.prototype, "analysisView", 2);
247
+ n([
248
+ o()
249
+ ], i.prototype, "shouldForceInteractive", 2);
250
+ i = n([
244
251
  V("esri.components.support.AnalysisViewModel")
245
- ], t);
246
- function d(s) {
247
- return s?.state === "running" ? (s.abort(), null) : s;
252
+ ], i);
253
+ function d(e) {
254
+ return e?.state === "running" ? (e.abort(), null) : e;
248
255
  }
249
256
  export {
250
- t as A
257
+ i as A
251
258
  };
@@ -1,9 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { replace as a } from "@arcgis/core/applications/Components/stringUtils.js";
3
- import { s as u } from "./layer-utils.js";
4
- import { log as m } from "@arcgis/toolkit/log";
5
- const l = /^\s*expression\//iu, F = /href=(""|'')/giu, g = /(\{([^{\r\n]+)\})/gu, y = /href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu, L = /'/gu, N = "relationships/", h = /^(?:mailto:|tel:)/u;
6
- function O(e, t) {
3
+ import { fieldFormatFromFieldInfo as m } from "@arcgis/core/applications/Components/fieldFormatUtils.js";
4
+ import { g as F } from "./layer-utils.js";
5
+ import { log as g } from "@arcgis/toolkit/log";
6
+ const u = /^\s*expression\//iu, y = /href=(""|'')/giu, C = /(\{([^{\r\n]+)\})/gu, L = /href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu, h = /'/gu, N = "relationships/", b = /^(?:mailto:|tel:)/u;
7
+ function P(e, t) {
7
8
  const n = /* @__PURE__ */ new Map();
8
9
  if (!e)
9
10
  return n;
@@ -15,7 +16,7 @@ function O(e, t) {
15
16
  }
16
17
  return n;
17
18
  }
18
- function z(e) {
19
+ function U(e) {
19
20
  const t = [];
20
21
  if (!e)
21
22
  return t;
@@ -27,47 +28,51 @@ function z(e) {
27
28
  }
28
29
  }), t;
29
30
  }
30
- function H(e, t) {
31
+ function $(e, t) {
31
32
  return e?.getEffectivePopupTemplate(t) ?? void 0;
32
33
  }
33
- function M(e) {
34
+ function D(e) {
34
35
  if (e != null)
35
36
  return "sourceLayer" in e && e.sourceLayer ? e.sourceLayer : e.layer ?? void 0;
36
37
  }
37
- function b(e = "") {
38
+ function I(e = "") {
38
39
  return e ? e.includes(N) : !1;
39
40
  }
40
- function P(e = "") {
41
+ function W(e = "") {
41
42
  if (e)
42
- return !h.test(e.trim().toLowerCase());
43
+ return !b.test(e.trim().toLowerCase());
43
44
  }
44
45
  function c(e, t) {
45
46
  const n = p(t, e);
46
47
  return n ? n.name : e;
47
48
  }
48
- function U(e, t) {
49
+ function q(e, t) {
49
50
  return e?.map((n) => c(n, t));
50
51
  }
51
52
  function f(e) {
52
- return e ? l.test(e) : !1;
53
+ return e ? u.test(e) : !1;
53
54
  }
54
- function C(e, t) {
55
+ function w(e, t) {
55
56
  if (!t || !f(t) || !e)
56
57
  return;
57
- const n = t.replace(l, "").toLowerCase();
58
+ const n = t.replace(u, "").toLowerCase();
58
59
  return e.find(({ name: r }) => r.toLowerCase() === n);
59
60
  }
60
- function $(e, t) {
61
+ function _(e, t) {
61
62
  if (!(!e?.length || !t))
62
63
  return e.find((n) => n.fieldName?.toLowerCase() === t.toLowerCase());
63
64
  }
64
- function w({
65
+ function A(e) {
66
+ const { fieldInfo: t, graphic: n, layer: r } = e;
67
+ return T({ fieldInfo: t, graphic: n }) ? F(r, { graphic: n }) : null;
68
+ }
69
+ function T({
65
70
  fieldInfo: e,
66
71
  graphic: t
67
72
  }) {
68
- return !!e?.fieldName && !f(e.fieldName) && !b(e.fieldName) && !t?.isAggregate && !t?.popupTemplate;
73
+ return !!e?.fieldName && !f(e.fieldName) && !I(e.fieldName) && !t?.popupTemplate;
69
74
  }
70
- function D({
75
+ function B({
71
76
  expressionInfos: e,
72
77
  fieldInfo: t,
73
78
  graphic: n,
@@ -76,46 +81,41 @@ function D({
76
81
  }) {
77
82
  if (!t?.fieldName)
78
83
  return null;
79
- const o = C(e, t?.fieldName);
84
+ const o = w(e, t?.fieldName);
80
85
  if (o)
81
86
  return o.title || null;
82
- if (u(i) && w({ fieldInfo: t, graphic: n })) {
83
- const s = i.getFieldAlias(t.fieldName);
84
- return r ? t.label || s || t.fieldName : s || t.fieldName;
87
+ const s = A({ fieldInfo: t, graphic: n, layer: i });
88
+ if (s) {
89
+ const l = s.getFieldAlias(t.fieldName);
90
+ return r ? t.label || l || t.fieldName : l || t.fieldName;
85
91
  }
86
92
  return t.label || t.fieldName;
87
93
  }
88
- function W({
89
- fieldInfo: e,
90
- isContentFieldInfos: t,
91
- layer: n
92
- }) {
93
- if (!e?.fieldName)
94
+ function G(e) {
95
+ const { configurableFieldsContainer: t, fieldInfo: n, isContentFieldInfos: r } = e;
96
+ if (!n?.fieldName)
94
97
  return null;
95
- if (u(n)) {
96
- const r = n?.getFieldConfiguration?.(e.fieldName)?.fieldFormat;
97
- return t && e.fieldFormat || r;
98
- }
99
- return null;
98
+ const i = !t.popupTemplate && !t.fieldConfigurations ? m(n, t.getField(n.fieldName)) : t.getFieldConfiguration(n.fieldName)?.fieldFormat;
99
+ return r && n.fieldFormat || i;
100
100
  }
101
101
  function d(e) {
102
102
  return e.trim();
103
103
  }
104
- function A(e) {
105
- return e.replaceAll(F, "");
104
+ function x(e) {
105
+ return e.replaceAll(y, "");
106
106
  }
107
- function x(e, t) {
107
+ function k(e, t) {
108
108
  return `{${t.get(e.toLowerCase())?.fieldName || e}}`;
109
109
  }
110
- function T({
110
+ function R({
111
111
  formattedValues: e,
112
112
  template: t,
113
113
  fieldInfoMap: n
114
114
  }) {
115
115
  return d(
116
- A(
116
+ x(
117
117
  a(
118
- a(t, (r) => x(r, n)),
118
+ a(t, (r) => k(r, n)),
119
119
  e
120
120
  )
121
121
  )
@@ -124,48 +124,48 @@ function T({
124
124
  function p(e, t) {
125
125
  return !(e && "getField" in e && typeof e.getField == "function") || !t ? null : e.getField(t) ?? null;
126
126
  }
127
- function k(e, t) {
128
- return e.replaceAll(g, (n, r, i) => {
127
+ function E(e, t) {
128
+ return e.replaceAll(C, (n, r, i) => {
129
129
  const o = p(t, i);
130
130
  return o ? `{${o.name}}` : r;
131
131
  });
132
132
  }
133
- function R(e, t, n = !1) {
133
+ function V(e, t, n = !1) {
134
134
  const r = t[e];
135
135
  if (typeof r == "string") {
136
136
  const o = (n ? encodeURIComponent(r) : r).replaceAll(
137
- L,
137
+ h,
138
138
  "%27"
139
139
  );
140
140
  t[e] = o;
141
141
  }
142
142
  }
143
- function E(e, t = !1) {
143
+ function v(e, t = !1) {
144
144
  const n = { ...e };
145
- return Object.keys(n).forEach((r) => R(r, n, t)), n;
145
+ return Object.keys(n).forEach((r) => V(r, n, t)), n;
146
146
  }
147
- function I(e, t, n) {
147
+ function S(e, t, n) {
148
148
  t = d(t);
149
149
  const r = t && !t.startsWith("{");
150
- return a(e, E(n, r || !1));
150
+ return a(e, v(n, r || !1));
151
151
  }
152
- function V(e, t, n) {
153
- const r = k(e, n);
152
+ function j(e, t, n) {
153
+ const r = E(e, n);
154
154
  return r && r.replaceAll(
155
- y,
156
- (i, o, s) => I(i, o || s, t)
155
+ L,
156
+ (i, o, s) => S(i, o || s, t)
157
157
  );
158
158
  }
159
- function q({
159
+ function J({
160
160
  values: e,
161
161
  globalValues: t,
162
162
  layer: n,
163
163
  text: r,
164
164
  fieldInfoMap: i
165
165
  }) {
166
- return r ? T({
166
+ return r ? R({
167
167
  formattedValues: t,
168
- template: V(
168
+ template: j(
169
169
  r,
170
170
  {
171
171
  ...t,
@@ -176,7 +176,7 @@ function q({
176
176
  fieldInfoMap: i
177
177
  }) : "";
178
178
  }
179
- async function _({
179
+ async function K({
180
180
  type: e,
181
181
  value: t,
182
182
  event: n
@@ -184,7 +184,7 @@ async function _({
184
184
  try {
185
185
  return typeof t == "function" ? t(n) : await t;
186
186
  } catch (r) {
187
- m("error", "arcgis-feature", `An error occurred when calling the "${e}" function`, {
187
+ g("error", "arcgis-feature", `An error occurred when calling the "${e}" function`, {
188
188
  detail: {
189
189
  error: r,
190
190
  graphic: n.graphic,
@@ -194,7 +194,7 @@ async function _({
194
194
  return;
195
195
  }
196
196
  }
197
- function B(e) {
197
+ function Q(e) {
198
198
  const t = e.attributes, n = e.layer;
199
199
  if (!t || !n)
200
200
  return "";
@@ -202,22 +202,22 @@ function B(e) {
202
202
  return i?.toString() || o || "Unknown";
203
203
  }
204
204
  export {
205
- M as a,
206
- z as b,
207
- O as c,
208
- b as d,
209
- _ as e,
210
- P as f,
211
- H as g,
212
- B as h,
205
+ D as a,
206
+ U as b,
207
+ P as c,
208
+ I as d,
209
+ K as e,
210
+ W as f,
211
+ $ as g,
212
+ Q as h,
213
213
  f as i,
214
- D as j,
215
- w as k,
216
- W as l,
217
- k as m,
218
- T as n,
219
- U as o,
214
+ B as j,
215
+ A as k,
216
+ G as l,
217
+ E as m,
218
+ R as n,
219
+ q as o,
220
220
  c as p,
221
- $ as q,
222
- q as s
221
+ _ as q,
222
+ J as s
223
223
  };