@arcgis/map-components 4.34.0-next.68 → 4.34.0-next.69

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 (408) hide show
  1. package/dist/cdn/{FA6MTUNK.js → 2D2AEP35.js} +2 -2
  2. package/dist/cdn/{ZE7OMQSQ.js → 2E7JB2GD.js} +2 -2
  3. package/dist/cdn/2RPQKRHE.js +4 -0
  4. package/dist/cdn/2SUPZQ6U.js +4 -0
  5. package/dist/cdn/{2TWBXTSJ.js → 2V56R2YF.js} +2 -2
  6. package/dist/cdn/{GZDCBQQ6.js → 2ZZX2VWV.js} +2 -2
  7. package/dist/cdn/33RYWK7I.js +4 -0
  8. package/dist/cdn/{6TNIHPQJ.js → 3KZMCFXJ.js} +2 -2
  9. package/dist/cdn/{DTFV43KA.js → 3VEXEMCJ.js} +2 -2
  10. package/dist/cdn/{UYQBSTEL.js → 3VLRNGIP.js} +1 -1
  11. package/dist/cdn/4AH2MGLW.js +4 -0
  12. package/dist/cdn/{HGPA6RQH.js → 4FJ6VYRK.js} +2 -2
  13. package/dist/cdn/{6ES76EVA.js → 4HF3WSPF.js} +2 -2
  14. package/dist/cdn/4I4JS64W.js +4 -0
  15. package/dist/cdn/{XZQBDKUP.js → 4PDIZV2P.js} +2 -2
  16. package/dist/cdn/4WEP3HRK.js +4 -0
  17. package/dist/cdn/{2PV24ZQX.js → 54HGBLP5.js} +2 -2
  18. package/dist/cdn/5BEDXLE7.js +4 -0
  19. package/dist/cdn/5GSVD6AP.js +4 -0
  20. package/dist/cdn/5ORVHTT5.js +4 -0
  21. package/dist/cdn/{ZDXCFF5B.js → 5V3BP6BL.js} +2 -2
  22. package/dist/cdn/{SESTH4H2.js → 66WR3XMH.js} +2 -2
  23. package/dist/cdn/{EPAFMZKH.js → 6IOINZTK.js} +2 -2
  24. package/dist/cdn/{KIW5CXV4.js → 6JERN5HO.js} +2 -2
  25. package/dist/cdn/7M6VCYKN.js +4 -0
  26. package/dist/cdn/{FRA2D4EU.js → 7VMJXIHF.js} +2 -2
  27. package/dist/cdn/{I2EPUP2J.js → A5TI56YN.js} +2 -2
  28. package/dist/cdn/{PDAVJLJM.js → AGMNL3B7.js} +2 -2
  29. package/dist/cdn/{P3WDPHGM.js → ALL3LRXI.js} +2 -2
  30. package/dist/cdn/ATYJHHGM.js +4 -0
  31. package/dist/cdn/AXG4G4WB.js +4 -0
  32. package/dist/cdn/{GNF474WS.js → B4TQV35A.js} +2 -2
  33. package/dist/cdn/{I3XXKRAA.js → B62JHC6Y.js} +2 -2
  34. package/dist/cdn/BBS6NFLN.js +4 -0
  35. package/dist/cdn/{KIU4CMMC.js → BD2OG7EA.js} +2 -2
  36. package/dist/cdn/{53TGVKSI.js → BDCAW2LG.js} +2 -2
  37. package/dist/cdn/BN6K7AYT.js +4 -0
  38. package/dist/cdn/BOFSACL2.js +4 -0
  39. package/dist/cdn/{IJBEVYK4.js → BQQF6HPA.js} +2 -2
  40. package/dist/cdn/C7HGNOE7.js +4 -0
  41. package/dist/cdn/{267KZ6M3.js → CCLHMBBX.js} +2 -2
  42. package/dist/cdn/{QO433LHD.js → CJQZKB3C.js} +2 -2
  43. package/dist/cdn/CSOBWELJ.js +4 -0
  44. package/dist/cdn/{NIIZ2Z2C.js → CSYER4GR.js} +2 -2
  45. package/dist/cdn/CVMV6WC5.js +4 -0
  46. package/dist/cdn/{BAV7ZOPJ.js → CVUAD4LG.js} +2 -2
  47. package/dist/cdn/CYK32LFO.js +4 -0
  48. package/dist/cdn/{OIGKXYRM.js → D2ETRQKC.js} +2 -2
  49. package/dist/cdn/D4RRWUKX.js +4 -0
  50. package/dist/cdn/DAJ6G6UD.js +4 -0
  51. package/dist/cdn/{JHCJL5OI.js → DDTMX5AU.js} +2 -2
  52. package/dist/cdn/DIEMW76D.js +4 -0
  53. package/dist/cdn/DIND3L4C.js +4 -0
  54. package/dist/cdn/DLGIAUJV.js +4 -0
  55. package/dist/cdn/{OXB77PZE.js → DRXFYLYP.js} +2 -2
  56. package/dist/cdn/{5RL3WYVF.js → EFZPNIEW.js} +2 -2
  57. package/dist/cdn/EJVHTXYF.js +4 -0
  58. package/dist/cdn/{6NJKUHTL.js → EJWEWVVS.js} +2 -2
  59. package/dist/cdn/EQIYQHCF.js +4 -0
  60. package/dist/cdn/EX7FVHVO.js +4 -0
  61. package/dist/cdn/{4BT2OOQA.js → EXCSFYDP.js} +2 -2
  62. package/dist/cdn/{OXHQNDYG.js → EXLFNRWN.js} +2 -2
  63. package/dist/cdn/{JWYKH2IG.js → EZIYSAM3.js} +1 -1
  64. package/dist/cdn/EZQJOONY.js +4 -0
  65. package/dist/cdn/{XYWCGTIZ.js → F3H2W4RX.js} +2 -2
  66. package/dist/cdn/{TP6CTX6N.js → FBVVFQUJ.js} +2 -2
  67. package/dist/cdn/{HJTDDAQ3.js → FNJDSQHD.js} +2 -2
  68. package/dist/cdn/FO52PLSB.js +4 -0
  69. package/dist/cdn/{YAZAO56M.js → FOF7GF6W.js} +2 -2
  70. package/dist/cdn/{FRYHB4O6.js → FPZ3HGSX.js} +1 -1
  71. package/dist/cdn/{7OKOSGKQ.js → FSTR4Q2Y.js} +2 -2
  72. package/dist/cdn/{LH2CXTMF.js → FUQYQOLV.js} +2 -2
  73. package/dist/cdn/{YYLPKW6V.js → FVEXLA73.js} +1 -1
  74. package/dist/cdn/{RGNLX2FA.js → FWCERF67.js} +2 -2
  75. package/dist/cdn/{N6TVPIQ3.js → FWYCNSHG.js} +1 -1
  76. package/dist/cdn/FYLMHF6A.js +4 -0
  77. package/dist/cdn/GBBDZ42L.js +4 -0
  78. package/dist/cdn/GEQQZFCR.js +4 -0
  79. package/dist/cdn/GF537JUH.js +4 -0
  80. package/dist/cdn/{L3U5G2W2.js → GK62RMTB.js} +2 -2
  81. package/dist/cdn/GKRLSXMM.js +4 -0
  82. package/dist/cdn/{XQHF6GUM.js → GLC37TCQ.js} +2 -2
  83. package/dist/cdn/{UT3BTJMJ.js → GNLZVBXO.js} +2 -2
  84. package/dist/cdn/{CIXSKQ4M.js → GUAGCRLM.js} +2 -2
  85. package/dist/cdn/GVKJ75TU.js +4 -0
  86. package/dist/cdn/{BOVINB4P.js → GXJN2IAZ.js} +2 -2
  87. package/dist/cdn/{L4A2Q4WP.js → H5Q5QW5Q.js} +2 -2
  88. package/dist/cdn/H7BR7CVO.js +4 -0
  89. package/dist/cdn/{VA3UDVQY.js → HDCCVUED.js} +2 -2
  90. package/dist/cdn/HNKCW4X3.js +4 -0
  91. package/dist/cdn/HSWIOK7P.js +4 -0
  92. package/dist/cdn/HT3YJCCE.js +4 -0
  93. package/dist/cdn/{MEOLQCBS.js → HZWOJJ4P.js} +2 -2
  94. package/dist/cdn/IEOIKY4H.js +4 -0
  95. package/dist/cdn/{MDSB7CUI.js → IIIIH7FI.js} +2 -2
  96. package/dist/cdn/IN6R33LA.js +4 -0
  97. package/dist/cdn/IU424VAP.js +4 -0
  98. package/dist/cdn/JPTEO3HB.js +4 -0
  99. package/dist/cdn/JQ6IS7TO.js +4 -0
  100. package/dist/cdn/JVIX7UPR.js +6 -0
  101. package/dist/cdn/{7V3U2R4Y.js → JW26BJ6Q.js} +1 -1
  102. package/dist/cdn/{4LMGYN75.js → K7EMWHFA.js} +2 -2
  103. package/dist/cdn/KSFOA7AU.js +4 -0
  104. package/dist/cdn/KZCF7DYK.js +4 -0
  105. package/dist/cdn/L2EDFZNY.js +4 -0
  106. package/dist/cdn/L6LE2MVR.js +4 -0
  107. package/dist/cdn/{BZEAYLT5.js → LEZQZX4X.js} +2 -2
  108. package/dist/cdn/LLL4AWZY.js +4 -0
  109. package/dist/cdn/{QC3MWTXX.js → LXBCK5CD.js} +2 -2
  110. package/dist/cdn/LXV3U7S3.js +4 -0
  111. package/dist/cdn/LZRUTNJS.js +4 -0
  112. package/dist/cdn/M7XY3REK.js +4 -0
  113. package/dist/cdn/MFS42QHX.js +4 -0
  114. package/dist/cdn/{RG7OTDJ4.js → MHWQRX3F.js} +2 -2
  115. package/dist/cdn/{C7J2C4PF.js → MSBA6UWD.js} +2 -2
  116. package/dist/cdn/{XB2233RX.js → NQ6WSM5Z.js} +2 -2
  117. package/dist/cdn/NQCGLXAW.js +4 -0
  118. package/dist/cdn/NUZKVUB7.js +4 -0
  119. package/dist/cdn/NWPPKLP4.js +4 -0
  120. package/dist/cdn/{L62NSPVS.js → OFFTEPLQ.js} +2 -2
  121. package/dist/cdn/OGWEBZQW.js +4 -0
  122. package/dist/cdn/OM6ERZ57.js +5 -0
  123. package/dist/cdn/{X5IUUHL5.js → OPXV5BNW.js} +2 -2
  124. package/dist/cdn/ORAZFNJT.js +4 -0
  125. package/dist/cdn/{ARGZUYJH.js → OYCU36YH.js} +2 -2
  126. package/dist/cdn/{NOKJAU67.js → OYKJZ3MV.js} +2 -2
  127. package/dist/cdn/P2XUIXVJ.js +4 -0
  128. package/dist/cdn/P4W3PAXA.js +4 -0
  129. package/dist/cdn/{ICVARPFX.js → PEOP6OCZ.js} +2 -2
  130. package/dist/cdn/PJNMUH7E.js +4 -0
  131. package/dist/cdn/{XSFSOEWR.js → POSB2KSC.js} +2 -2
  132. package/dist/cdn/{BYOBAZKX.js → PSS44HOB.js} +2 -2
  133. package/dist/cdn/{QSXHRGFL.js → Q42IYYJ5.js} +1 -1
  134. package/dist/cdn/{S5RRX24V.js → Q53R74QP.js} +2 -2
  135. package/dist/cdn/QW2PGHLM.js +4 -0
  136. package/dist/cdn/{Z7SIXK5R.js → QZFOXINY.js} +2 -2
  137. package/dist/cdn/{OGS5B4HT.js → R7RHIQLE.js} +2 -2
  138. package/dist/cdn/{QIANCZM5.js → RCHVAEB6.js} +2 -2
  139. package/dist/cdn/{QXZS32B2.js → RFC5O4WE.js} +2 -2
  140. package/dist/cdn/{7CTBF663.js → RKTR2LB5.js} +2 -2
  141. package/dist/cdn/{ZYGX7DPW.js → SDDOGOSJ.js} +2 -2
  142. package/dist/cdn/{FAYAV445.js → SXACX56P.js} +2 -2
  143. package/dist/cdn/{ZUNSQUAY.js → T4ATSASK.js} +2 -2
  144. package/dist/cdn/{Z6VR4ONS.js → T5HVG3DG.js} +2 -2
  145. package/dist/cdn/{CLZZMTJF.js → U5HVY5ZX.js} +2 -2
  146. package/dist/cdn/UC4SSQRW.js +4 -0
  147. package/dist/cdn/UDXHWAZM.js +4 -0
  148. package/dist/cdn/{HA45ITIU.js → UN7GRQSC.js} +2 -2
  149. package/dist/cdn/UTXSGMM4.js +4 -0
  150. package/dist/cdn/{GJSYU66I.js → UYXDFXN6.js} +2 -2
  151. package/dist/cdn/UZFH5A6B.js +4 -0
  152. package/dist/cdn/{4A7G47QG.js → V56FCPZH.js} +2 -2
  153. package/dist/cdn/{WJXNVDII.js → VD4LH6LO.js} +2 -2
  154. package/dist/cdn/{DUFS5PB4.js → VG7ACA66.js} +1 -1
  155. package/dist/cdn/{MIOOXUYE.js → VGN3EMPP.js} +2 -2
  156. package/dist/cdn/VIBNBPGH.js +4 -0
  157. package/dist/cdn/VIQ3RUNW.js +4 -0
  158. package/dist/cdn/VJPKNAKB.js +4 -0
  159. package/dist/cdn/VNQUPN6U.js +4 -0
  160. package/dist/cdn/{W2CXJPKM.js → VOPRGMOS.js} +2 -2
  161. package/dist/cdn/{XXREJPOX.js → VPOXGQWS.js} +2 -2
  162. package/dist/cdn/{LDJJVOAA.js → VWIE6UHF.js} +2 -2
  163. package/dist/cdn/{KWIBFFQ7.js → WBQBCU4N.js} +2 -2
  164. package/dist/cdn/WCBOZRFA.js +4 -0
  165. package/dist/cdn/WIQFHE63.js +4 -0
  166. package/dist/cdn/{CKYWSXXA.js → WNHMV73P.js} +1 -1
  167. package/dist/cdn/{3BMPPL3X.js → WRMOQ655.js} +2 -2
  168. package/dist/cdn/{HE54S4AI.js → WZN2XENL.js} +2 -2
  169. package/dist/cdn/{FV35EKAJ.js → XCBZBFUD.js} +1 -1
  170. package/dist/cdn/{33NGDOSM.js → XHTZD53L.js} +2 -2
  171. package/dist/cdn/{ILW45ITV.js → XMLRQRNF.js} +2 -2
  172. package/dist/cdn/XS2KIZ6J.js +4 -0
  173. package/dist/cdn/{H5LCTRJC.js → XTXNL7RS.js} +2 -2
  174. package/dist/cdn/Y6VPSN7K.js +4 -0
  175. package/dist/cdn/{RFCU5AF5.js → YKUSSZDW.js} +2 -2
  176. package/dist/cdn/YMMNAK6G.js +4 -0
  177. package/dist/cdn/{AH7RJ7ZE.js → YQH64SES.js} +2 -2
  178. package/dist/cdn/{GNXZJRMK.js → YUGQMSJW.js} +2 -2
  179. package/dist/cdn/YX2IO4VO.js +4 -0
  180. package/dist/cdn/Z7YNQIV6.js +4 -0
  181. package/dist/cdn/{OQEYVJFP.js → ZDEXQF3E.js} +2 -2
  182. package/dist/cdn/{JJAOK3YN.js → ZGP4TJTN.js} +2 -2
  183. package/dist/cdn/{2FFOUESF.js → ZH5GNT4P.js} +2 -2
  184. package/dist/cdn/{WAH3X6VZ.js → ZVPKAFAW.js} +2 -2
  185. package/dist/cdn/{IVPKTC47.js → ZXOGIHK7.js} +1 -1
  186. package/dist/cdn/{AG7TAOHC.js → ZZJQXXYG.js} +2 -2
  187. package/dist/cdn/index.js +2 -2
  188. package/dist/cdn/main.css +1 -1
  189. package/dist/chunks/AnalysisViewModel.js +1 -1
  190. package/dist/chunks/async-utils.js +1 -1
  191. package/dist/chunks/basemap-gallery-resources.js +1 -1
  192. package/dist/chunks/chart-utils.js +1 -1
  193. package/dist/chunks/chartCommon.js +1 -1
  194. package/dist/chunks/component-utils.js +1 -1
  195. package/dist/chunks/createCloseEvent.js +1 -1
  196. package/dist/chunks/feature-utils.js +3 -3
  197. package/dist/chunks/globalCss.js +1 -1
  198. package/dist/chunks/heading.js +1 -1
  199. package/dist/chunks/layer-list.js +1 -1
  200. package/dist/chunks/legacyIcon.js +1 -1
  201. package/dist/chunks/maybe.js +1 -1
  202. package/dist/chunks/measurementUtils.js +1 -1
  203. package/dist/chunks/runtime.js +1 -1
  204. package/dist/chunks/useHandles.js +1 -1
  205. package/dist/chunks/useT9n.js +1 -1
  206. package/dist/chunks/useView.js +1 -1
  207. package/dist/chunks/useViewModel.js +1 -1
  208. package/dist/chunks/useWidget.js +1 -1
  209. package/dist/chunks/utils.js +1 -1
  210. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  211. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  212. package/dist/components/arcgis-attachments/customElement.js +1 -1
  213. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  214. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  215. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  216. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  217. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  218. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  219. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  220. package/dist/components/arcgis-compass/customElement.js +1 -1
  221. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  222. package/dist/components/arcgis-daylight/customElement.js +1 -1
  223. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  224. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  225. package/dist/components/arcgis-directions/customElement.js +1 -1
  226. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  227. package/dist/components/arcgis-editor/customElement.js +1 -1
  228. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  229. package/dist/components/arcgis-expand/customElement.js +1 -1
  230. package/dist/components/arcgis-feature/customElement.d.ts +8 -6
  231. package/dist/components/arcgis-feature/customElement.js +85 -69
  232. package/dist/components/arcgis-feature/index.d.ts +1 -0
  233. package/dist/components/arcgis-feature/index.js +1 -0
  234. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  235. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  236. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  237. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  238. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  239. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  240. package/dist/components/arcgis-feature-media/customElement.js +2 -2
  241. package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
  242. package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
  243. package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
  244. package/dist/components/arcgis-feature-relationship/index.js +10 -0
  245. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  246. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  247. package/dist/components/arcgis-features/customElement.js +1 -1
  248. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  249. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  250. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  251. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  252. package/dist/components/arcgis-home/customElement.js +1 -1
  253. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  254. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  255. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  256. package/dist/components/arcgis-legend/customElement.js +1 -1
  257. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  258. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  260. package/dist/components/arcgis-locate/customElement.js +1 -1
  261. package/dist/components/arcgis-map/customElement.js +1 -1
  262. package/dist/components/arcgis-measurement/customElement.js +1 -1
  263. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  264. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  265. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  266. package/dist/components/arcgis-placement/customElement.js +1 -1
  267. package/dist/components/arcgis-print/customElement.js +1 -1
  268. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  269. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  270. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  271. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  272. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  273. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  274. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  275. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  276. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  277. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  278. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  279. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  280. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  281. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  282. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  283. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  284. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  285. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  286. package/dist/components/arcgis-scene/customElement.js +1 -1
  287. package/dist/components/arcgis-search/customElement.js +1 -1
  288. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  289. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  290. package/dist/components/arcgis-sketch/customElement.js +1 -1
  291. package/dist/components/arcgis-slice/customElement.js +1 -1
  292. package/dist/components/arcgis-slider/customElement.js +1 -1
  293. package/dist/components/arcgis-swipe/customElement.js +1 -1
  294. package/dist/components/arcgis-table-list/customElement.js +1 -1
  295. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  296. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  297. package/dist/components/arcgis-track/customElement.js +1 -1
  298. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  299. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  300. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  301. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  302. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  303. package/dist/components/arcgis-version-management/customElement.js +1 -1
  304. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  305. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  306. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  307. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  308. package/dist/components/arcgis-video/customElement.js +1 -1
  309. package/dist/components/arcgis-video-player/customElement.js +1 -1
  310. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  311. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  312. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  313. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  314. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  315. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  316. package/dist/components/arcgis-weather/customElement.js +1 -1
  317. package/dist/components/arcgis-zoom/customElement.js +1 -1
  318. package/dist/docs/api.json +1050 -2
  319. package/dist/docs/docs.json +728 -2
  320. package/dist/docs/vscode.html-custom-data.json +107 -0
  321. package/dist/docs/web-types.json +227 -1
  322. package/dist/index.d.ts +5 -0
  323. package/dist/index.js +1 -1
  324. package/dist/loader.js +3 -2
  325. package/dist/types/lumina.d.ts +6 -1
  326. package/dist/types/preact.d.ts +7 -1
  327. package/dist/types/react.d.ts +8 -1
  328. package/dist/types/stencil.d.ts +6 -1
  329. package/dist/utils/feature-form-utils.d.ts +6 -0
  330. package/package.json +3 -3
  331. package/dist/cdn/24QTYFDZ.js +0 -4
  332. package/dist/cdn/2HKOYKCO.js +0 -4
  333. package/dist/cdn/2XMFH63U.js +0 -4
  334. package/dist/cdn/2ZZ4XR7T.js +0 -4
  335. package/dist/cdn/3JYFVDTI.js +0 -4
  336. package/dist/cdn/3KN5EGXE.js +0 -4
  337. package/dist/cdn/3MMJOENV.js +0 -4
  338. package/dist/cdn/4547TNOG.js +0 -4
  339. package/dist/cdn/4J7OX2EA.js +0 -4
  340. package/dist/cdn/4WJC4NLZ.js +0 -4
  341. package/dist/cdn/5AEBK5VW.js +0 -4
  342. package/dist/cdn/65WHMWT2.js +0 -4
  343. package/dist/cdn/6NNEEPK7.js +0 -4
  344. package/dist/cdn/6PXH2IPO.js +0 -4
  345. package/dist/cdn/7ZTMYWDY.js +0 -4
  346. package/dist/cdn/A3IPM7WB.js +0 -4
  347. package/dist/cdn/ABEQDOIW.js +0 -4
  348. package/dist/cdn/ABQPZWJW.js +0 -4
  349. package/dist/cdn/AUO62NVQ.js +0 -4
  350. package/dist/cdn/AZLESRUI.js +0 -4
  351. package/dist/cdn/B7MH7QKN.js +0 -4
  352. package/dist/cdn/BJBGLTDL.js +0 -4
  353. package/dist/cdn/BXQP62BC.js +0 -4
  354. package/dist/cdn/CCWWJVBK.js +0 -6
  355. package/dist/cdn/CFEKZLJI.js +0 -4
  356. package/dist/cdn/DH6UB7ED.js +0 -4
  357. package/dist/cdn/EB3QIPCB.js +0 -4
  358. package/dist/cdn/F4HJ7NID.js +0 -4
  359. package/dist/cdn/F5LMYLTZ.js +0 -4
  360. package/dist/cdn/FKLC2QOP.js +0 -4
  361. package/dist/cdn/FTYEOIY5.js +0 -4
  362. package/dist/cdn/GD2EYK6Q.js +0 -4
  363. package/dist/cdn/HBCFJULG.js +0 -4
  364. package/dist/cdn/IEVE72PN.js +0 -4
  365. package/dist/cdn/ITNJTD4O.js +0 -4
  366. package/dist/cdn/J36ZEDTY.js +0 -4
  367. package/dist/cdn/JRJFWBJO.js +0 -4
  368. package/dist/cdn/JXWIGSOB.js +0 -4
  369. package/dist/cdn/LFE5JQRP.js +0 -4
  370. package/dist/cdn/LHMOXVB7.js +0 -4
  371. package/dist/cdn/LQRKDOZP.js +0 -4
  372. package/dist/cdn/MIL5WTE2.js +0 -4
  373. package/dist/cdn/MK7AKFE2.js +0 -4
  374. package/dist/cdn/MUXSLV7E.js +0 -4
  375. package/dist/cdn/MXRTK3XA.js +0 -4
  376. package/dist/cdn/NBSDVIDH.js +0 -4
  377. package/dist/cdn/OD45OQUO.js +0 -4
  378. package/dist/cdn/OEKG4UVR.js +0 -4
  379. package/dist/cdn/ONGWVD3N.js +0 -4
  380. package/dist/cdn/OTFUKU6Z.js +0 -4
  381. package/dist/cdn/OZCITVWA.js +0 -4
  382. package/dist/cdn/P2BY6U6O.js +0 -4
  383. package/dist/cdn/PHOK7QAX.js +0 -4
  384. package/dist/cdn/PN3LK4HL.js +0 -4
  385. package/dist/cdn/QBWH6YRJ.js +0 -4
  386. package/dist/cdn/QIXX7NTM.js +0 -3
  387. package/dist/cdn/RAOU7JBU.js +0 -4
  388. package/dist/cdn/RBLWS4AF.js +0 -4
  389. package/dist/cdn/RLYAYPLX.js +0 -4
  390. package/dist/cdn/SRVAFJA5.js +0 -4
  391. package/dist/cdn/STWSKDQA.js +0 -4
  392. package/dist/cdn/T3QKE7PL.js +0 -4
  393. package/dist/cdn/TEUPRNP3.js +0 -4
  394. package/dist/cdn/UVCSIVBJ.js +0 -4
  395. package/dist/cdn/UWMNZKIQ.js +0 -4
  396. package/dist/cdn/UXZHIBGP.js +0 -4
  397. package/dist/cdn/V2HFKFBH.js +0 -4
  398. package/dist/cdn/VCAEP2V4.js +0 -5
  399. package/dist/cdn/VY3SP6TS.js +0 -4
  400. package/dist/cdn/WAJT53DR.js +0 -4
  401. package/dist/cdn/WORQZ6LV.js +0 -4
  402. package/dist/cdn/XB2YTFD5.js +0 -4
  403. package/dist/cdn/XS24EKZE.js +0 -4
  404. package/dist/cdn/Y2TXQXYK.js +0 -4
  405. package/dist/cdn/Y4WGIXPH.js +0 -4
  406. package/dist/cdn/YZZ6HGN6.js +0 -4
  407. package/dist/cdn/Z4TDJ7LP.js +0 -4
  408. package/dist/cdn/ZCFQB63Q.js +0 -4
@@ -0,0 +1,402 @@
1
+ import { c as W } from "../../chunks/runtime.js";
2
+ import { ref as P } from "lit/directives/ref.js";
3
+ import { keyed as D } from "lit/directives/keyed.js";
4
+ import { render as N, html as l } from "lit-html";
5
+ import "@arcgis/toolkit/array";
6
+ import { classes as Z } from "@arcgis/toolkit/dom";
7
+ import "@arcgis/toolkit/promise";
8
+ import "@arcgis/toolkit/error";
9
+ import "@arcgis/toolkit/string";
10
+ import "@arcgis/toolkit/intl";
11
+ import "@arcgis/toolkit/predicate";
12
+ import { debounce as z } from "@arcgis/toolkit/function";
13
+ import "@arcgis/toolkit/url";
14
+ import { LitElement as G, noShadowRoot as J, safeClassMap as y } from "@arcgis/lumina";
15
+ import { css as U } from "lit";
16
+ import { templateHasKey as Q, stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
17
+ import { isRelatableFeatureSupportedLayer as X, findRelatedLayer as Y } from "@arcgis/core/applications/Components/featureUtils.js";
18
+ import { substitute as ee, formatNumber as M } from "@arcgis/core/intl.js";
19
+ import { watch as C, on as te } from "@arcgis/core/core/reactiveUtils.js";
20
+ import { g as re } from "../../chunks/feature-utils.js";
21
+ import j from "@arcgis/core/core/Collection.js";
22
+ import k from "@arcgis/core/rest/support/RelationshipQuery.js";
23
+ import { ignoreAbortErrors as E } from "@arcgis/core/core/promiseUtils.js";
24
+ import se from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
25
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
26
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
27
+ v4.34.0-next.69 */
28
+ const B = Z, x = z, ie = U`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`, ae = (f) => {
29
+ const e = [];
30
+ if (f.formTemplate) {
31
+ const { description: t, title: r } = f.formTemplate;
32
+ f.fields?.forEach((s) => {
33
+ const i = r && Q(r, s.name), a = t && Q(t, s.name);
34
+ (i || a) && e.push(s.name);
35
+ });
36
+ }
37
+ return e;
38
+ }, O = 100, F = "arcgis-feature", m = `${F}-relationship`, d = {
39
+ // widget
40
+ base: m,
41
+ listContainer: `${m}__list`,
42
+ listItem: `${m}__list-item`,
43
+ listItemHidden: `${m}__list-item--hidden`,
44
+ listContainerQuerying: `${m}__list--querying`,
45
+ featureObserver: `${F}__feature-observer`,
46
+ // loading
47
+ stickySpinnerContainer: `${F}__sticky-loading-container`,
48
+ loadingSpinnerContainer: `${F}__loading-container`
49
+ };
50
+ class le extends G {
51
+ constructor() {
52
+ super(...arguments), this._flowItemContainerEl = document.createElement("div"), this._increaseFeaturePage = () => {
53
+ const { state: e, showAllEnabled: t, relatedFeatures: r, featuresPerPage: s, featurePage: i } = this;
54
+ e === "ready" && t && r.length >= s * i && this.featurePage++;
55
+ }, this._relatedFeatureIntersectionObserver = new IntersectionObserver(([e]) => {
56
+ e?.isIntersecting && this._increaseFeaturePage();
57
+ }, {
58
+ root: window.document
59
+ }), this._featurePage = 1, this._cancelQuery = () => {
60
+ const { _queryAbortController: e } = this;
61
+ e && e.abort(), this._queryAbortController = null;
62
+ }, this._cancelQueryFeatureCount = () => {
63
+ const { _queryFeatureCountAbortController: e } = this;
64
+ e && e.abort(), this._queryFeatureCountAbortController = null;
65
+ }, this._cancelQueryPage = () => {
66
+ const { _queryPageAbortController: e } = this;
67
+ e && e.abort(), this._queryPageAbortController = null;
68
+ }, this._queryController = async () => {
69
+ this._cancelQuery();
70
+ const e = new AbortController();
71
+ this._queryAbortController = e, await E(this._query()), this._queryAbortController === e && (this._queryAbortController = null);
72
+ }, this._queryFeatureCountController = async () => {
73
+ this._loaded = !1, this._cancelQueryFeatureCount();
74
+ const e = new AbortController();
75
+ this._queryFeatureCountAbortController = e, await E(this._queryFeatureCount()), this._queryFeatureCountAbortController === e && (this._queryFeatureCountAbortController = null), this._loaded = !0;
76
+ }, this._queryPageController = async () => {
77
+ const e = new AbortController();
78
+ this._queryPageAbortController = e, await E(this._queryPage()), this._queryPageAbortController === e && (this._queryPageAbortController = null);
79
+ }, this._queryDebounced = x(this._queryController, O), this._queryFeatureCountDebounced = x(this._queryFeatureCountController, O), this._queryPageDebounced = x(this._queryPageController, O), this._query = async () => {
80
+ const { _queryAbortController: e, relatedFeatures: t } = this;
81
+ !this.featureCount || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || (this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, t.destroyAll(), t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({ signal: e?.signal }))));
82
+ }, this._addFlowItem = (e) => {
83
+ const { flowItems: t } = this;
84
+ !t || !e || t.push(e);
85
+ }, this._relatedFeatureIntersectionObserverNode = null, this.relatedFeatures = new j(), this._queryAbortController = null, this._queryPageAbortController = null, this._queryFeatureCountAbortController = null, this.featureCount = 0, this._loaded = !1, this.relatedFeatureViewModels = new j(), this.autoDestroyDisabled = !1, this.featuresPerPage = 10, this.flowType = "feature-relationship", this.headingLevel = 2, this.hideHeading = !1, this.hideDescription = !1, this.showAllEnabled = !1;
86
+ }
87
+ static {
88
+ this.properties = { allCategories: 16, _queryAbortController: 16, _queryPageAbortController: 16, _queryFeatureCountAbortController: 16, featureCount: 16, _loaded: 16, canLoad: 16, canQuery: 16, displayShowAllButton: 16, displayListItems: 16, allItemsDescription: 16, categories: 16, itemDescriptionFieldName: 16, relatedFeatureViewModels: 16, state: 16, autoDestroyDisabled: 5, featurePage: 9, featuresPerPage: 9, flowItems: 0, flowType: 1, headingLevel: 9, messages: 0, heading: 1, description: 1, values: 0, activeCategory: 0, hideHeading: 5, hideDescription: 5, displayCount: 9, graphic: 0, layer: 0, map: 0, view: 0, spatialReference: 0, timeZone: 1, orderByFields: 0, relationshipId: 9, showAllEnabled: 5, label: 3 };
89
+ }
90
+ static {
91
+ this.styles = ie;
92
+ }
93
+ static {
94
+ this.shadowRootOptions = J;
95
+ }
96
+ get orderByFieldsFixedCasing() {
97
+ const { orderByFields: e, relatedLayer: t } = this;
98
+ return e && t?.loaded ? e.map((r) => {
99
+ const s = r.clone();
100
+ return s.field = re(r.field, t), s;
101
+ }) : e ?? [];
102
+ }
103
+ get supportsCacheHint() {
104
+ return !!this.layer?.capabilities?.queryRelated?.supportsCacheHint;
105
+ }
106
+ get allCategoriesCount() {
107
+ return this.allCategories?.length ?? 0;
108
+ }
109
+ get objectId() {
110
+ return (this.objectIdField && this.graphic?.attributes?.[this.objectIdField]) ?? null;
111
+ }
112
+ get objectIdField() {
113
+ return this.layer?.objectIdField || null;
114
+ }
115
+ get relatedLayer() {
116
+ const { layer: e, map: t, relationship: r } = this;
117
+ if (!e?.loaded || !t || !r)
118
+ return null;
119
+ const s = e.type === "subtype-sublayer" && e.parent && X(e.parent) ? e.parent : e;
120
+ return Y(t, s, r) ?? null;
121
+ }
122
+ get relatedLayerKeyField() {
123
+ const { relatedLayer: e, relationshipId: t } = this;
124
+ return e?.loaded && t != null ? e.relationships?.find((r) => r.id === t)?.keyField : null;
125
+ }
126
+ get relatedLayerKeyFields() {
127
+ const { relatedLayer: e } = this;
128
+ return e?.loaded ? e.relationships?.map((t) => t.keyField).filter((t) => t != null) ?? [] : [];
129
+ }
130
+ get relationship() {
131
+ const { relationshipId: e, layer: t } = this;
132
+ return e != null && t?.loaded ? t.relationships?.find(({ id: r }) => r === e) ?? null : null;
133
+ }
134
+ get relationshipKey() {
135
+ const { relationshipKeyField: e } = this;
136
+ return (e && this.graphic?.attributes?.[e]) ?? null;
137
+ }
138
+ get relationshipKeyField() {
139
+ return this.relationship?.keyField || null;
140
+ }
141
+ get canLoad() {
142
+ return !!this.map && this.relationshipId != null && typeof this.objectId == "number";
143
+ }
144
+ get canQuery() {
145
+ const e = this.layer?.capabilities?.queryRelated;
146
+ return !!this.relatedLayer && !!this.relationship && this.relationshipId != null && this.objectId != null && !!e?.supportsCount && e?.supportsPagination;
147
+ }
148
+ get displayShowAllButton() {
149
+ const { showAllEnabled: e, featureCount: t, displayCount: r, state: s, allCategoriesCount: i } = this, a = !!i && (i > r || r === 0), o = !!t && (t > r || r === 0);
150
+ return !e && s === "ready" && (a || o);
151
+ }
152
+ get displayListItems() {
153
+ const { relatedFeatures: e, allCategoriesCount: t } = this;
154
+ return this.displayShowAllButton || !!e.length || !!t;
155
+ }
156
+ get allItemsDescription() {
157
+ const { messages: e, featureCount: t, allCategories: r, allCategoriesCount: s } = this;
158
+ return ee(e?.numberRecords ?? "", {
159
+ number: M(r ? s : t)
160
+ });
161
+ }
162
+ get categories() {
163
+ const { allCategories: e } = this;
164
+ return this.showAllEnabled ? e : e?.slice(0, this.displayCount) ?? null;
165
+ }
166
+ get itemDescriptionFieldName() {
167
+ return this.orderByFieldsFixedCasing[0]?.field || null;
168
+ }
169
+ get state() {
170
+ const { _queryAbortController: e, _queryFeatureCountAbortController: t, _queryPageAbortController: r, canQuery: s, _loaded: i, canLoad: a } = this;
171
+ return t || a && !i ? "loading" : e || r ? "querying" : s ? "ready" : "disabled";
172
+ }
173
+ get featurePage() {
174
+ return this._featurePage;
175
+ }
176
+ set featurePage(e) {
177
+ const { featuresPerPage: t, featureCount: r } = this, s = 1, i = Math.ceil(r / t) || 1;
178
+ this._featurePage = Math.min(Math.max(e, s), i);
179
+ }
180
+ get heading() {
181
+ const { activeCategory: e } = this;
182
+ return this._heading ?? e?.name;
183
+ }
184
+ set heading(e) {
185
+ this._heading = e;
186
+ }
187
+ get displayCount() {
188
+ return this._displayCount ?? 3;
189
+ }
190
+ set displayCount(e) {
191
+ this._displayCount = Math.min(Math.max(e ?? 3, 0), 10);
192
+ }
193
+ async destroy() {
194
+ await this.manager.destroy();
195
+ }
196
+ loaded() {
197
+ this.manager.onLifecycle(() => [
198
+ C(() => [
199
+ this.displayCount,
200
+ this.graphic,
201
+ this.layer,
202
+ this.layer?.loaded,
203
+ this.map,
204
+ this.orderByFields,
205
+ this.relationshipId,
206
+ this.featuresPerPage,
207
+ this.showAllEnabled,
208
+ this.canQuery,
209
+ this.featureCount,
210
+ this.activeCategory
211
+ ], () => this._queryDebounced(), { initial: !0 }),
212
+ C(() => [this.featurePage, this.showAllEnabled], () => this._queryPageDebounced()),
213
+ C(() => [this.layer, this.relationshipId, this.objectId, this.canQuery, this.activeCategory], () => this._queryFeatureCountDebounced()),
214
+ C(() => [this.state, this.showAllEnabled, this._relatedFeatureIntersectionObserverNode], () => this._handleRelatedFeatureObserverChange()),
215
+ te(() => this.relatedFeatures, "change", () => this._setRelatedFeaturesViewModels())
216
+ ]), this.manager.onDestroy(() => {
217
+ this.relatedFeatureViewModels.destroyAll(), this.relatedFeatures.destroyAll(), this._cancelQuery(), this._cancelQueryFeatureCount(), this._cancelQueryPage(), this._unobserveRelatedFeatureObserver();
218
+ });
219
+ }
220
+ async _queryFeatureCount() {
221
+ const { layer: e, relatedLayer: t } = this;
222
+ await e?.load(), await t?.load();
223
+ const { _queryFeatureCountAbortController: r, activeCategory: s, canQuery: i, objectId: a, relatedLayerKeyField: o, relationshipId: n, relationshipKey: c, supportsCacheHint: w } = this;
224
+ if (!i || !e || !t || a == null) {
225
+ this.featureCount = 0, this.allCategories = void 0;
226
+ return;
227
+ }
228
+ if (t?.type === "subtype-group" && !s) {
229
+ if (this.featureCount = 0, this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, this.relatedFeatures.destroyAll(), o && c != null) {
230
+ const { default: $ } = await import("@arcgis/core/smartMapping/statistics/uniqueValues.js"), { uniqueValueInfos: A } = await $({
231
+ layer: t,
232
+ sqlWhere: `${o} = '${c}'`,
233
+ field: t.subtypeField ?? void 0,
234
+ signal: r?.signal
235
+ }), q = A.map(({ count: h, value: g }) => {
236
+ const b = t.subtypes?.find((L) => L.code === g)?.name;
237
+ return g != null && b ? {
238
+ count: h,
239
+ value: g,
240
+ name: b
241
+ } : void 0;
242
+ }).filter((h) => h != null);
243
+ this.allCategories = q;
244
+ }
245
+ return;
246
+ }
247
+ const { historicMoment: _, gdbVersion: I } = e, v = new k({
248
+ cacheHint: w,
249
+ gdbVersion: I,
250
+ historicMoment: _,
251
+ relationshipId: n,
252
+ returnGeometry: !1,
253
+ objectIds: [a],
254
+ where: this._getRelationshipWhereClause(t)
255
+ }), p = await e.queryRelatedFeaturesCount(v, {
256
+ signal: r?.signal
257
+ });
258
+ this.allCategories = void 0, this.featureCount = p[a] || 0;
259
+ }
260
+ _getRelationshipWhereClause(e) {
261
+ const { activeCategory: t } = this, r = e.createQuery(), s = "subtypeField" in e ? e.subtypeField : void 0, i = t && s ? `${s} = ${t.value}` : void 0, a = r.where;
262
+ return a && i ? `(${a}) AND (${i})` : a ?? i;
263
+ }
264
+ _sliceFeatures(e) {
265
+ const { showAllEnabled: t, displayCount: r } = this;
266
+ return t ? e : r ? e.slice(0, r) : [];
267
+ }
268
+ async _queryPage() {
269
+ const { relatedFeatures: e, featurePage: t, showAllEnabled: r, _queryPageAbortController: s, featureCount: i } = this;
270
+ !r || t < 2 || !i || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || e.addMany(await this._queryRelatedFeatures({ signal: s?.signal }));
271
+ }
272
+ async _queryRelatedFeatures(e) {
273
+ const { displayCount: t, featureCount: r, featurePage: s, featuresPerPage: i, layer: a, orderByFieldsFixedCasing: o, relatedLayer: n, relatedLayerKeyFields: c, relationshipId: w, showAllEnabled: _, supportsCacheHint: I } = this, { canQuery: v, objectId: p } = this;
274
+ if (!v || !a || !n || p == null)
275
+ return [];
276
+ const $ = _ ? ((s - 1) * i + r) % r : 0, A = _ ? i : t, q = n.objectIdField, h = "subtypeField" in n ? n.subtypeField : void 0, g = [
277
+ ...o.map((u) => u.field),
278
+ ...ae(n),
279
+ ...c,
280
+ q,
281
+ h
282
+ ].filter((u) => u != null), b = o.map((u) => `${u.field} ${u.order}`), { historicMoment: L, gdbVersion: T } = a, H = new k({
283
+ orderByFields: b,
284
+ start: $,
285
+ num: A,
286
+ outFields: g,
287
+ cacheHint: I,
288
+ historicMoment: L,
289
+ gdbVersion: T,
290
+ relationshipId: w,
291
+ returnGeometry: !1,
292
+ objectIds: [p],
293
+ where: this._getRelationshipWhereClause(n)
294
+ }), R = (await a.queryRelatedFeatures(H, {
295
+ signal: e?.signal
296
+ }))[p]?.features || [];
297
+ return n.type === "subtype-group" && h ? R.forEach((u) => {
298
+ const K = u.attributes[h], S = n.findSublayerForSubtypeCode?.(K);
299
+ u.sourceLayer = S, u.layer = S;
300
+ }) : R.forEach((u) => {
301
+ u.sourceLayer = n, u.layer = n;
302
+ }), R;
303
+ }
304
+ async _selectCategory(e) {
305
+ const { flowItems: t } = this;
306
+ t && (this.activeCategory = e, this.showAllEnabled = !0, this._addRelationshipFlowItem());
307
+ }
308
+ async _selectRecord(e) {
309
+ const { flowItems: t } = this;
310
+ t && N(D(e.graphic, l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${P(this._addFlowItem)}></arcgis-feature>`), this._flowItemContainerEl);
311
+ }
312
+ _addRelationshipFlowItem() {
313
+ N(D(this.activeCategory, l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${P(this._addFlowItem)}></arcgis-feature-relationship>`), this._flowItemContainerEl);
314
+ }
315
+ _showAllRecords() {
316
+ const { flowItems: e } = this;
317
+ e && (this.showAllEnabled = !0, this._addRelationshipFlowItem());
318
+ }
319
+ _handleRelatedFeatureObserverChange() {
320
+ this._unobserveRelatedFeatureObserver();
321
+ const { state: e, showAllEnabled: t } = this;
322
+ this._relatedFeatureIntersectionObserverNode && e === "ready" && t && this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode);
323
+ }
324
+ _relatedFeatureIntersectionObserverCreated(e) {
325
+ this._relatedFeatureIntersectionObserverNode = e;
326
+ }
327
+ _unobserveRelatedFeatureObserver() {
328
+ this._relatedFeatureIntersectionObserverNode && this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode);
329
+ }
330
+ _matchesFeature(e, t) {
331
+ const r = e?.graphic?.getObjectId(), s = t?.getObjectId();
332
+ return r != null && s != null && r === s;
333
+ }
334
+ _setRelatedFeaturesViewModels() {
335
+ const { relatedFeatures: e, relatedFeatureViewModels: t, map: r, view: s, spatialReference: i, timeZone: a } = this;
336
+ e?.filter(Boolean).forEach((o) => {
337
+ t.some((c) => this._matchesFeature(c, o)) || t.add(new se({
338
+ abilities: { relationshipContent: !1 },
339
+ map: r,
340
+ view: s,
341
+ spatialReference: i,
342
+ timeZone: a,
343
+ graphic: o
344
+ }));
345
+ }), t.forEach((o) => {
346
+ e?.find((c) => this._matchesFeature(o, c)) || t.remove(o);
347
+ });
348
+ }
349
+ render() {
350
+ const { state: e } = this;
351
+ return l`<div class=${y(d.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e === "loading" ? this._renderLoading() : e === "disabled" ? this._renderRelationshipNotFound() : this._renderRelatedFeatures()}</div>`;
352
+ }
353
+ _renderStickyLoading() {
354
+ return this.state === "querying" ? l`<div class=${y(d.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>` : null;
355
+ }
356
+ _renderLoadingIcon() {
357
+ return l`<calcite-loader inline label></calcite-loader>`;
358
+ }
359
+ _renderLoading() {
360
+ return l`<div class=${y(d.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`;
361
+ }
362
+ _renderShowAllIconNode() {
363
+ return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`;
364
+ }
365
+ _renderChevronIconNode() {
366
+ return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`;
367
+ }
368
+ _renderCategory(e) {
369
+ const { count: t, name: r } = e, s = M(t);
370
+ return l`<calcite-list-item class=${y(d.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${() => this._selectCategory(e)}><calcite-chip .label=${s} scale=s slot=content-end>${s}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`;
371
+ }
372
+ _renderRelatedFeature(e) {
373
+ const { itemDescriptionFieldName: t, values: r } = this, s = e.title, i = (t && r?.[t]) ?? "", a = e.state === "loading";
374
+ return l`<calcite-list-item class=${y(B(d.listItem, { [d.listItemHidden]: a }))} .description=${V(i.toString())} .label=${V(s)} @calciteListItemSelect=${() => this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`;
375
+ }
376
+ _renderShowAllListItem() {
377
+ return this.displayShowAllButton ? l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${() => this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>` : null;
378
+ }
379
+ _renderNoRelatedFeaturesMessage() {
380
+ return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`;
381
+ }
382
+ _renderFeatureObserver() {
383
+ return l`<div class=${y(d.featureObserver)} ${P(this._relatedFeatureIntersectionObserverCreated)}></div>`;
384
+ }
385
+ _renderList() {
386
+ const { relatedFeatureViewModels: e, categories: t } = this;
387
+ return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList ?? ""}>${t?.map((r) => this._renderCategory(r)) ?? e.toArray().map((r) => this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`;
388
+ }
389
+ _renderRelatedFeatures() {
390
+ const { displayListItems: e } = this, { state: t } = this;
391
+ return l`<div class=${y(B(d.listContainer, {
392
+ [d.listContainerQuerying]: t === "querying"
393
+ }))}>${e ? this._renderList() : t === "ready" ? this._renderNoRelatedFeaturesMessage() : null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`;
394
+ }
395
+ _renderRelationshipNotFound() {
396
+ return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`;
397
+ }
398
+ }
399
+ W("arcgis-feature-relationship", le);
400
+ export {
401
+ le as ArcgisFeatureRelationship
402
+ };
@@ -0,0 +1,10 @@
1
+ import "../arcgis-feature/index.js";
2
+ import ".//index.js";
3
+ import "../arcgis-feature-element-info/index.js";
4
+ import "@esri/calcite-components/components/calcite-loader";
5
+ import "@esri/calcite-components/components/calcite-icon";
6
+ import "@esri/calcite-components/components/calcite-list-item";
7
+ import "@esri/calcite-components/components/calcite-chip";
8
+ import "@esri/calcite-components/components/calcite-notice";
9
+ import "@esri/calcite-components/components/calcite-list";
10
+ export * from "./customElement.js";
@@ -0,0 +1,10 @@
1
+ import "../arcgis-feature/index.js";
2
+ import ".//index.js";
3
+ import "../arcgis-feature-element-info/index.js";
4
+ import "@esri/calcite-components/components/calcite-loader";
5
+ import "@esri/calcite-components/components/calcite-icon";
6
+ import "@esri/calcite-components/components/calcite-list-item";
7
+ import "@esri/calcite-components/components/calcite-chip";
8
+ import "@esri/calcite-components/components/calcite-notice";
9
+ import "@esri/calcite-components/components/calcite-list";
10
+ export * from "./customElement.js";
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
9
9
  import { css as u } from "lit";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
12
- v4.34.0-next.68 */
12
+ v4.34.0-next.69 */
13
13
  const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
14
14
  class b extends d {
15
15
  constructor() {
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
7
7
  import { css as h } from "lit";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
- v4.34.0-next.68 */
10
+ v4.34.0-next.69 */
11
11
  const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
12
12
  class d extends o {
13
13
  constructor() {
@@ -8,7 +8,7 @@ import { css as l } from "lit";
8
8
  import { c } from "../../chunks/createCloseEvent.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
13
13
  class w extends r {
14
14
  constructor() {
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
5
5
  import { css as r } from "lit";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
- v4.34.0-next.68 */
8
+ v4.34.0-next.69 */
9
9
  const h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
10
10
  class c extends s {
11
11
  constructor() {
@@ -8,7 +8,7 @@ import { g as r } from "../../chunks/globalCss.js";
8
8
  import { u as E } from "../../chunks/useView.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const b = a`arcgis-fullscreen{display:block}`, y = {
13
13
  base: "esri-fullscreen"
14
14
  };
@@ -15,7 +15,7 @@ import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import L from "@arcgis/core/widgets/support/GridControls/GridControlsViewModel.js";
16
16
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
17
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
18
- v4.34.0-next.68 */
18
+ v4.34.0-next.69 */
19
19
  function B(s) {
20
20
  if (s == null || Number.isNaN(s))
21
21
  return 0;
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
6
6
  import { css as d } from "lit";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.68 */
9
+ v4.34.0-next.69 */
10
10
  const h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
11
11
  class g extends a {
12
12
  constructor() {
@@ -10,7 +10,7 @@ import { m as f } from "../../chunks/useViewModel.js";
10
10
  import { g as a } from "../../chunks/globalCss.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.68 */
13
+ v4.34.0-next.69 */
14
14
  const b = c`@layer{arcgis-home{display:block}}`, y = {
15
15
  base: "esri-home"
16
16
  }, M = f(h);
@@ -5,7 +5,7 @@ import { keyed as b } from "lit/directives/keyed.js";
5
5
  import { LitElement as g, createEvent as m, safeClassMap as c } from "@arcgis/lumina";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
- v4.34.0-next.68 */
8
+ v4.34.0-next.69 */
9
9
  const f = p`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
10
10
  label: "label",
11
11
  labelContent: "label-content",
@@ -8,7 +8,7 @@ import { s as n } from "../../chunks/layer-list.js";
8
8
  import { c as g } from "../../chunks/createCloseEvent.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const c = d(a);
13
13
  class m extends r {
14
14
  constructor() {
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
10
10
  import { u as x } from "../../chunks/useT9n.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.68 */
13
+ v4.34.0-next.69 */
14
14
  const D = {
15
15
  hideChildren: "hide-children"
16
16
  };
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "lit";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.68 */
9
+ v4.34.0-next.69 */
10
10
  const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
11
11
  class h extends s {
12
12
  constructor() {
@@ -10,7 +10,7 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
10
10
  import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.68 */
13
+ v4.34.0-next.69 */
14
14
  const C = y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", n = {
15
15
  base: a,
16
16
  actions: `${a}__actions`,
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
8
8
  import { css as m } from "lit";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const g = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
13
13
  w,
14
14
  /**
@@ -9,7 +9,7 @@ import { reEmitEvent as y } from "@arcgis/lumina/controllers/accessor";
9
9
  import { LitElement as w, createEvent as b, noShadowRoot as v, safeClassMap as L } from "@arcgis/lumina";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
12
- v4.34.0-next.68 */
12
+ v4.34.0-next.69 */
13
13
  const $ = h`@layer{arcgis-link-chart-layout-switcher{display:block}}`, c = {
14
14
  basicLayoutCategory: [
15
15
  "basic-grid"
@@ -26,7 +26,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
26
26
  import oe from "@arcgis/core/rest/support/ProjectParameters.js";
27
27
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
28
28
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
29
- v4.34.0-next.68 */
29
+ v4.34.0-next.69 */
30
30
  const ie = G`@layer{arcgis-locate{display:block}}`;
31
31
  let M = !1;
32
32
  const re = {
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
8
8
  import { css as m } from "lit";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
13
13
  w,
14
14
  /**
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "lit";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.68 */
9
+ v4.34.0-next.69 */
10
10
  const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
11
11
  class h extends s {
12
12
  constructor() {
@@ -5,7 +5,7 @@ import { LitElement as l, safeClassMap as s } from "@arcgis/lumina";
5
5
  import { f as m } from "../../chunks/measurementUtils.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
8
- v4.34.0-next.68 */
8
+ v4.34.0-next.69 */
9
9
  const u = o`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
10
10
  error: "error",
11
11
  hint: "hint",
@@ -8,7 +8,7 @@ import { u as f } from "../../chunks/useView.js";
8
8
  import { g as M } from "../../chunks/globalCss.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.68 */
11
+ v4.34.0-next.69 */
12
12
  const $ = "arcgis-navigation-toggle", _ = {
13
13
  base: $
14
14
  }, w = u`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
7
7
  import { css as g } from "lit";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
- v4.34.0-next.68 */
10
+ v4.34.0-next.69 */
11
11
  const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
12
12
  class y extends o {
13
13
  constructor() {