@arcgis/map-components 5.1.4 → 5.1.5

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 (230) hide show
  1. package/dist/cdn/{ZBMGDCTS.js → 24CX3MDO.js} +1 -1
  2. package/dist/cdn/{7P4SZTMT.js → 264N47JI.js} +1 -1
  3. package/dist/cdn/{NGKCLUQ2.js → 26OIDIMC.js} +1 -1
  4. package/dist/cdn/{ONJTK4SF.js → 2B5DP2YU.js} +1 -1
  5. package/dist/cdn/{3SIYO7ZN.js → 2BCVWNR5.js} +1 -1
  6. package/dist/cdn/{C6IELZJH.js → 2CHNVD2R.js} +1 -1
  7. package/dist/cdn/{CFL7WBUR.js → 2CPKZVBI.js} +1 -1
  8. package/dist/cdn/{J6N7WN2Y.js → 2EUABM5S.js} +1 -1
  9. package/dist/cdn/{UBKX3LIA.js → 2XE6DUKN.js} +1 -1
  10. package/dist/cdn/{VXWCNLKB.js → 375QNN2S.js} +1 -1
  11. package/dist/cdn/{LVKNCPIL.js → 3LPL2WMY.js} +1 -1
  12. package/dist/cdn/{E33WGWET.js → 3LSB7RHO.js} +1 -1
  13. package/dist/cdn/{FINEGGPR.js → 3QRDIO5M.js} +1 -1
  14. package/dist/cdn/{MBJVE6CP.js → 3RPJJHCQ.js} +1 -1
  15. package/dist/cdn/{ENBH27M3.js → 3TEMX33F.js} +1 -1
  16. package/dist/cdn/{TOVVPICH.js → 3UE3RRK6.js} +1 -1
  17. package/dist/cdn/{OZH33NYW.js → 3V73ULSB.js} +1 -1
  18. package/dist/cdn/{IE4VI6Q5.js → 3VMNNECP.js} +1 -1
  19. package/dist/cdn/{UWBE2BAD.js → 3YT433QW.js} +1 -1
  20. package/dist/cdn/{PEMIUFB2.js → 472YTTO6.js} +1 -1
  21. package/dist/cdn/{M2SMYCYM.js → 4C2THMCG.js} +1 -1
  22. package/dist/cdn/{KOHPKB7T.js → 4I6O377J.js} +1 -1
  23. package/dist/cdn/{WM2OOJ6V.js → 4IH5EPQ3.js} +1 -1
  24. package/dist/cdn/{SZ2MBNWL.js → 4MNOF575.js} +1 -1
  25. package/dist/cdn/{CSU3RGEL.js → 4X5YCDJT.js} +1 -1
  26. package/dist/cdn/{4DPPQD2Z.js → 5GOCFBZU.js} +1 -1
  27. package/dist/cdn/{2PORQMMM.js → 5IOMYV7I.js} +1 -1
  28. package/dist/cdn/{BQSHES4R.js → 5RV2UDR4.js} +1 -1
  29. package/dist/cdn/{ZNFSD3IC.js → 5V7CTHC7.js} +1 -1
  30. package/dist/cdn/{BJ7M3LN3.js → 5W4S2C25.js} +1 -1
  31. package/dist/cdn/{KQLKJSEY.js → 5YVXWMBF.js} +1 -1
  32. package/dist/cdn/{HVYYARZW.js → 63O7I6UB.js} +1 -1
  33. package/dist/cdn/{TO4GLHLM.js → 6HUPLNPB.js} +1 -1
  34. package/dist/cdn/6IUNRNS3.js +2 -0
  35. package/dist/cdn/{UODGE27P.js → 6JKBYDOH.js} +1 -1
  36. package/dist/cdn/{EIHGISPV.js → 6KGURP6A.js} +1 -1
  37. package/dist/cdn/{JB2ROPSD.js → 6LJHN4BB.js} +1 -1
  38. package/dist/cdn/{ZSUE4VY6.js → 6MBA2OU3.js} +1 -1
  39. package/dist/cdn/{6OM3S3VY.js → 6WEIGII6.js} +1 -1
  40. package/dist/cdn/{KZZIMABM.js → 6ZW32I62.js} +1 -1
  41. package/dist/cdn/{HZAC5NDN.js → 73DLECRS.js} +1 -1
  42. package/dist/cdn/{2ESR6HXK.js → 73OPURGA.js} +1 -1
  43. package/dist/cdn/{AU6P56XQ.js → 74YWYZSR.js} +1 -1
  44. package/dist/cdn/{BK5IYTR7.js → 7DCRZAN4.js} +1 -1
  45. package/dist/cdn/{7ST4RWKI.js → 7RUVQVTE.js} +1 -1
  46. package/dist/cdn/{QCFJQKFF.js → 7XMVG5VF.js} +1 -1
  47. package/dist/cdn/{SVZ2LPMF.js → A2PKGRJP.js} +1 -1
  48. package/dist/cdn/{FDWADAQF.js → AAIPMGM3.js} +1 -1
  49. package/dist/cdn/{QDR5ZVG6.js → ACR2PZV5.js} +1 -1
  50. package/dist/cdn/{CXNASRAI.js → ACTNKJB3.js} +1 -1
  51. package/dist/cdn/{ZDQXM6XT.js → ADADNHXY.js} +1 -1
  52. package/dist/cdn/{OUKN3YHU.js → AI4TDGJ7.js} +1 -1
  53. package/dist/cdn/{IO7L24I5.js → AJCTFRLH.js} +1 -1
  54. package/dist/cdn/{LPW2YGBS.js → AJW3ZYRD.js} +1 -1
  55. package/dist/cdn/{MDR5OYC4.js → AK4RNU3Z.js} +1 -1
  56. package/dist/cdn/{6O5CGO2B.js → AKX6G5NY.js} +1 -1
  57. package/dist/cdn/{HMNUDV6B.js → APKYBC5M.js} +1 -1
  58. package/dist/cdn/{QUREQ3LI.js → ARO24QKW.js} +1 -1
  59. package/dist/cdn/AYRT6CLA.js +2 -0
  60. package/dist/cdn/{YYCNECYH.js → BA5FUUFH.js} +1 -1
  61. package/dist/cdn/{IMSF5AEZ.js → BBVNUBSU.js} +1 -1
  62. package/dist/cdn/{EPIT7U5X.js → BKK3LZX3.js} +1 -1
  63. package/dist/cdn/{TKGODW54.js → BUOBYFNN.js} +1 -1
  64. package/dist/cdn/{UKM575AX.js → BWSDDMUB.js} +1 -1
  65. package/dist/cdn/{7BSWFIVR.js → BZXMMGBV.js} +1 -1
  66. package/dist/cdn/{CBYEYXQC.js → CL2HVRBX.js} +1 -1
  67. package/dist/cdn/{ULKZFCQF.js → CNZCJL7X.js} +1 -1
  68. package/dist/cdn/{3V5DH2CM.js → CZ7XMKSW.js} +1 -1
  69. package/dist/cdn/{XISYCTAZ.js → D32ONW2W.js} +1 -1
  70. package/dist/cdn/{3GMSKHTZ.js → D5N45XY5.js} +1 -1
  71. package/dist/cdn/{Z63J3RPC.js → DBGHAVTG.js} +1 -1
  72. package/dist/cdn/DBVAWYO7.js +2 -0
  73. package/dist/cdn/{G53RVHMO.js → DOEGXUHQ.js} +1 -1
  74. package/dist/cdn/{CCYZ3O3F.js → DRAVDTJZ.js} +1 -1
  75. package/dist/cdn/{ZUXIFYIP.js → DRDLTWMF.js} +1 -1
  76. package/dist/cdn/{EZ67DXSF.js → DXULR6EZ.js} +1 -1
  77. package/dist/cdn/{INLVO3GL.js → DZJ6Y7EN.js} +1 -1
  78. package/dist/cdn/{Q5DGZBR4.js → EGKMOD3O.js} +1 -1
  79. package/dist/cdn/{NUB6LAXA.js → EJTG7FB5.js} +1 -1
  80. package/dist/cdn/{XU25D2RJ.js → EMIK3EQR.js} +1 -1
  81. package/dist/cdn/{OE5V4MI6.js → EOIVLPYQ.js} +1 -1
  82. package/dist/cdn/{KRADCNV2.js → EWGPOJ66.js} +1 -1
  83. package/dist/cdn/EYISAVGW.js +2 -0
  84. package/dist/cdn/{GNNMPXCN.js → F5LWBLT7.js} +1 -1
  85. package/dist/cdn/{R4FF5IWV.js → F7DUN5OF.js} +1 -1
  86. package/dist/cdn/{DLNZZWWI.js → FMNAJ6VP.js} +1 -1
  87. package/dist/cdn/{NV4G572Q.js → FOJ3UKIA.js} +1 -1
  88. package/dist/cdn/{U5KGWKHD.js → FRTFIGVF.js} +1 -1
  89. package/dist/cdn/{PZP5NOWP.js → FYMTNYAU.js} +1 -1
  90. package/dist/cdn/{F3UZD22N.js → G4TWIOSR.js} +1 -1
  91. package/dist/cdn/{4YPMLEH3.js → GA24QIRX.js} +1 -1
  92. package/dist/cdn/{EUFWFKTY.js → GGRXK6ZX.js} +1 -1
  93. package/dist/cdn/{XJH3BCSR.js → GLNTTA4M.js} +1 -1
  94. package/dist/cdn/{EFN4FRL5.js → GTZBFSSG.js} +1 -1
  95. package/dist/cdn/{X4664GHQ.js → GVLEI6OP.js} +1 -1
  96. package/dist/cdn/{XGY6ORJL.js → H325NNPG.js} +1 -1
  97. package/dist/cdn/{5NFUN7TZ.js → HEOGHAAC.js} +1 -1
  98. package/dist/cdn/{HSL5NISC.js → HEUOKCWQ.js} +1 -1
  99. package/dist/cdn/{BUTHXRHI.js → HFAZ3TSR.js} +1 -1
  100. package/dist/cdn/{VSSJMGPA.js → HJI4Q74V.js} +1 -1
  101. package/dist/cdn/{UA5YO7NO.js → HP6X2LYZ.js} +1 -1
  102. package/dist/cdn/{K4LQ4LWP.js → HQMKXMRR.js} +1 -1
  103. package/dist/cdn/{BYUG46SX.js → HRD55XTZ.js} +1 -1
  104. package/dist/cdn/{2YLQST6F.js → HWHVMTQ5.js} +1 -1
  105. package/dist/cdn/{IWVQBLWT.js → HWTUJ662.js} +1 -1
  106. package/dist/cdn/{FGLF4QBF.js → I2HGQWSX.js} +1 -1
  107. package/dist/cdn/{U2G76MLM.js → I7VV53UE.js} +1 -1
  108. package/dist/cdn/{CJGGAMVX.js → ILFEDWQV.js} +1 -1
  109. package/dist/cdn/{UCU2ER3C.js → IMXAP4GC.js} +1 -1
  110. package/dist/cdn/{IO7J23AF.js → IO42MUIM.js} +1 -1
  111. package/dist/cdn/{LKYMB7CE.js → ITEUZEPY.js} +1 -1
  112. package/dist/cdn/{V2P7YNIS.js → J4AF5UYH.js} +1 -1
  113. package/dist/cdn/{NJE3P4JX.js → JBCJVKJY.js} +1 -1
  114. package/dist/cdn/JFLR2VEG.js +2 -0
  115. package/dist/cdn/{DVXPNVSG.js → JNF77RX5.js} +1 -1
  116. package/dist/cdn/{6NWA6WEA.js → JNMBCXIJ.js} +1 -1
  117. package/dist/cdn/{NKLK7WBU.js → JTKURLTF.js} +1 -1
  118. package/dist/cdn/{L4ZKVFNO.js → K43PE22O.js} +1 -1
  119. package/dist/cdn/{HWQ5TP4Y.js → K5R5ZENE.js} +1 -1
  120. package/dist/cdn/{L7J3QTQK.js → KAW27MQQ.js} +1 -1
  121. package/dist/cdn/{NE62JPBM.js → KDZOOVSI.js} +1 -1
  122. package/dist/cdn/{DD7PYQG3.js → KJENMIFA.js} +1 -1
  123. package/dist/cdn/{6DQLBG5Q.js → KZI2ZJO5.js} +1 -1
  124. package/dist/cdn/{ENQCIUCH.js → L7HGPJVT.js} +1 -1
  125. package/dist/cdn/{HPRP3IKV.js → LSMGDNCK.js} +1 -1
  126. package/dist/cdn/{PIIE2ZOR.js → LZ6FRTTI.js} +1 -1
  127. package/dist/cdn/{RN2CZHVZ.js → M2X4Z2JI.js} +1 -1
  128. package/dist/cdn/{OYTZB4RW.js → M7HGZ4IQ.js} +1 -1
  129. package/dist/cdn/{ICEZC2TQ.js → MBGJXVHA.js} +1 -1
  130. package/dist/cdn/{BZ4IIPLI.js → MGZ7I3P5.js} +1 -1
  131. package/dist/cdn/{YMVHM5OZ.js → MJRYO6TX.js} +1 -1
  132. package/dist/cdn/{E7RA2AH4.js → N4ENBYIM.js} +1 -1
  133. package/dist/cdn/{6RMUSGTH.js → NAR2J57O.js} +1 -1
  134. package/dist/cdn/{MLK57Q43.js → NEVL2YYO.js} +1 -1
  135. package/dist/cdn/{TNIPSP6H.js → NEWNUZRO.js} +1 -1
  136. package/dist/cdn/{FOZLLHZ2.js → NL5FAGY3.js} +1 -1
  137. package/dist/cdn/{5GLXBFTG.js → NO65OW7P.js} +1 -1
  138. package/dist/cdn/{BVC4AGUC.js → NSD3OD74.js} +1 -1
  139. package/dist/cdn/{QO2ZEPIF.js → O5XQTTZ7.js} +1 -1
  140. package/dist/cdn/{BBDC5ATP.js → O75I27SJ.js} +1 -1
  141. package/dist/cdn/{FYURKKPO.js → OEOTTMUV.js} +1 -1
  142. package/dist/cdn/{LL6W64KR.js → OIKIIOZH.js} +1 -1
  143. package/dist/cdn/{O3J3HY24.js → OJ55ZOXK.js} +1 -1
  144. package/dist/cdn/{QMUOLA2P.js → OQQYH2NU.js} +1 -1
  145. package/dist/cdn/{LER6RQ75.js → P2QWPDF2.js} +1 -1
  146. package/dist/cdn/{MORGXLED.js → P3AF7TDD.js} +1 -1
  147. package/dist/cdn/{4Y7BN2L3.js → PEN3F242.js} +1 -1
  148. package/dist/cdn/{RXVD7ZU6.js → PFOFRC2Y.js} +1 -1
  149. package/dist/cdn/{2GLH5PUC.js → PLIG3NOL.js} +1 -1
  150. package/dist/cdn/{EFDENXSZ.js → PM263QKE.js} +1 -1
  151. package/dist/cdn/{UKE3QTSI.js → PMW3ANLS.js} +1 -1
  152. package/dist/cdn/{YLANW6EI.js → PZOONYKW.js} +1 -1
  153. package/dist/cdn/{MJ2DQQWP.js → QCWFGCAM.js} +1 -1
  154. package/dist/cdn/{KV3OYCZ7.js → QDGAXLH4.js} +1 -1
  155. package/dist/cdn/{IPAXUWEW.js → QHIAQMUC.js} +1 -1
  156. package/dist/cdn/{VPIXVAXC.js → QIVYLYHB.js} +1 -1
  157. package/dist/cdn/{HUFVEIMR.js → QMWNN57B.js} +1 -1
  158. package/dist/cdn/{QUHWDL3G.js → QXZXUVGV.js} +1 -1
  159. package/dist/cdn/{EFEF5BPC.js → QYZ7X5V4.js} +1 -1
  160. package/dist/cdn/{R4SLSV5W.js → R3IVYO7B.js} +1 -1
  161. package/dist/cdn/{N3MO46HF.js → RCXYPCWC.js} +1 -1
  162. package/dist/cdn/{3NUB4VDM.js → RDM5QYCV.js} +1 -1
  163. package/dist/cdn/{Z6JYZ2A2.js → RDSYCNUX.js} +1 -1
  164. package/dist/cdn/{MI5MWEFP.js → RDXCFATQ.js} +1 -1
  165. package/dist/cdn/{HU2C27BQ.js → RQOMXGNC.js} +1 -1
  166. package/dist/cdn/{5NYBDYMA.js → RTNCTBHG.js} +1 -1
  167. package/dist/cdn/{RWSG4OQ6.js → RV22T6WV.js} +1 -1
  168. package/dist/cdn/{CUGAOVOP.js → SBYVZ7LJ.js} +1 -1
  169. package/dist/cdn/{N752J3UV.js → SHIF64Q2.js} +1 -1
  170. package/dist/cdn/{43BKUZZE.js → SQTLQDV4.js} +1 -1
  171. package/dist/cdn/{WFEURO7O.js → SR3YWITJ.js} +1 -1
  172. package/dist/cdn/{ABE4L2X7.js → STD733AI.js} +1 -1
  173. package/dist/cdn/{36MLS24H.js → SU7T6P3G.js} +1 -1
  174. package/dist/cdn/{ISLSKQVK.js → T3EMG2V6.js} +1 -1
  175. package/dist/cdn/{DBB3S5HF.js → TDDDFNUF.js} +1 -1
  176. package/dist/cdn/{ZFSB47NV.js → TNFEHVIG.js} +1 -1
  177. package/dist/cdn/{7LN27COB.js → TOAAHDPZ.js} +1 -1
  178. package/dist/cdn/{QVL2OFCK.js → U23D5EX2.js} +1 -1
  179. package/dist/cdn/{ZEQYZ4ZW.js → UMW36IPO.js} +1 -1
  180. package/dist/cdn/{TSJALH7D.js → UYKAKDZS.js} +1 -1
  181. package/dist/cdn/{MEKADOT3.js → V4N6H66N.js} +1 -1
  182. package/dist/cdn/{7F5OYOAD.js → VAFWGABR.js} +1 -1
  183. package/dist/cdn/{HS2QCKGL.js → VEOJSZ7U.js} +1 -1
  184. package/dist/cdn/VFBERENQ.js +2 -0
  185. package/dist/cdn/{5JEBFB6A.js → VIIQGA7X.js} +1 -1
  186. package/dist/cdn/{OLCPC6NR.js → VJC3RDPZ.js} +1 -1
  187. package/dist/cdn/{VVKGMQUS.js → VLB5W6G2.js} +1 -1
  188. package/dist/cdn/{RGWLIQYJ.js → VLIWCGYE.js} +1 -1
  189. package/dist/cdn/{2PA6LDHI.js → VXB4H2P7.js} +1 -1
  190. package/dist/cdn/{5UCEBVXR.js → W7EMMYHO.js} +1 -1
  191. package/dist/cdn/{CFCOLB4A.js → WBMUEV5E.js} +1 -1
  192. package/dist/cdn/{XNBSD7VT.js → WDA27UKM.js} +1 -1
  193. package/dist/cdn/{7RTMHA5A.js → WDCAOT35.js} +1 -1
  194. package/dist/cdn/{573HDEUM.js → WEMZAAWC.js} +1 -1
  195. package/dist/cdn/{N3KQRLEY.js → WKKSGWDU.js} +1 -1
  196. package/dist/cdn/{VMFNOF52.js → WN3TJIGK.js} +1 -1
  197. package/dist/cdn/{L33NG2CB.js → XDAQMXHX.js} +1 -1
  198. package/dist/cdn/{33VJMWDL.js → XI7LEDXS.js} +1 -1
  199. package/dist/cdn/{SWY3JKKX.js → XLIVR6DZ.js} +1 -1
  200. package/dist/cdn/{SGHG7AJJ.js → Y7B3Z5P6.js} +1 -1
  201. package/dist/cdn/{QU76OLVX.js → YOSAISNE.js} +1 -1
  202. package/dist/cdn/{OPP5I5AI.js → YUN2QQHP.js} +1 -1
  203. package/dist/cdn/{VYCRAT4K.js → Z2MYXVYQ.js} +1 -1
  204. package/dist/cdn/{QH4GJ2BO.js → ZADMHARU.js} +1 -1
  205. package/dist/cdn/{7DS4S4OL.js → ZC7B75SZ.js} +1 -1
  206. package/dist/cdn/{UOVNWT76.js → ZDNM3V6L.js} +1 -1
  207. package/dist/cdn/{PX2BP3QJ.js → ZFE6DOCC.js} +1 -1
  208. package/dist/cdn/{WBKMEMM2.js → ZFTF6HMJ.js} +1 -1
  209. package/dist/cdn/{WMNSCSAQ.js → ZN7PVQJC.js} +1 -1
  210. package/dist/cdn/{JOUMSSLR.js → ZQVSSETO.js} +1 -1
  211. package/dist/cdn/{DMHSTNBW.js → ZS3XCWFM.js} +1 -1
  212. package/dist/cdn/{A76EYHCS.js → ZW4BBZNX.js} +1 -1
  213. package/dist/cdn/{RH77SOXE.js → ZZJ5OHNH.js} +1 -1
  214. package/dist/cdn/index.js +1 -1
  215. package/dist/chunks/runtime.js +1 -1
  216. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +86 -93
  217. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  218. package/dist/components/arcgis-search/customElement.js +20 -20
  219. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +6 -0
  220. package/dist/docs/api.json +1 -1
  221. package/dist/docs/docs.json +1 -1
  222. package/dist/docs/vscode.html-custom-data.json +1 -1
  223. package/dist/docs/web-types.json +1 -1
  224. package/package.json +4 -4
  225. package/dist/cdn/5UIAH4FZ.js +0 -2
  226. package/dist/cdn/6NACBAL7.js +0 -2
  227. package/dist/cdn/7N5OXSRE.js +0 -2
  228. package/dist/cdn/DYAZ6LMG.js +0 -2
  229. package/dist/cdn/NUBDURYZ.js +0 -2
  230. package/dist/cdn/QA74OQK6.js +0 -2
@@ -11,15 +11,14 @@ import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
11
11
  import * as x from "@arcgis/core/core/sql.js";
12
12
  import P from "@arcgis/core/rest/networks/support/NetworkElement.js";
13
13
  import U from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
14
- import Q from "@arcgis/core/rest/support/Query.js";
15
- import { LitElement as B, renderElement as q } from "@arcgis/lumina";
14
+ import { LitElement as Q, renderElement as q } from "@arcgis/lumina";
16
15
  import { debounce as T } from "@arcgis/toolkit/function";
17
16
  import G from "@arcgis/core/popup/Feature.js";
18
- const R = M`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.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;height:500px}`, L = 100, $ = {
17
+ const B = M`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.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;height:500px}`, L = 100, $ = {
19
18
  assetGroup: "assetgroup",
20
19
  assetType: "assettype"
21
20
  }, N = "{00000000-0000-0000-0000-000000000000}";
22
- class O extends B {
21
+ class R extends Q {
23
22
  constructor() {
24
23
  super(...arguments), this._addFlowItem = (t) => {
25
24
  t && this.flowItems?.push(t);
@@ -51,7 +50,7 @@ class O extends B {
51
50
  this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messages: 0, parentFeatureViewModel: 0, referenceElement: 1, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
52
51
  }
53
52
  static {
54
- this.styles = R;
53
+ this.styles = B;
55
54
  }
56
55
  get _globalId() {
57
56
  return (this._globalIdField && this.graphic?.attributes?.[this._globalIdField]) ?? null;
@@ -82,8 +81,8 @@ class O extends B {
82
81
  return !!this.layer?.capabilities?.query?.supportsPagination;
83
82
  }
84
83
  get _state() {
85
- const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes: n } = this;
86
- return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !n || !e || !s ? "disabled" : "ready";
84
+ const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: r, associationTypes: c } = this;
85
+ return a || t && !o ? "loading" : i || r ? "querying" : !this._globalId || !c || !e || !s ? "disabled" : "ready";
87
86
  }
88
87
  get heading() {
89
88
  return this._heading;
@@ -133,12 +132,8 @@ class O extends B {
133
132
  });
134
133
  }
135
134
  async _countAssociatedFeatureCount(t, e, s, o, i) {
136
- const a = this._getFeatureQueryWhereClause(t, e, s, o);
137
- return await t.queryFeatureCount({
138
- where: a,
139
- outFields: ["*"],
140
- returnGeometry: !1
141
- }, {
135
+ const a = this._getFeatureQueryWhereClause(t, e, s, o), r = t.createQuery();
136
+ return r.where = a, r.outFields = ["*"], r.returnGeometry = !1, await t.queryFeatureCount(r, {
142
137
  signal: i?.signal
143
138
  });
144
139
  }
@@ -147,18 +142,18 @@ class O extends B {
147
142
  return 0;
148
143
  const a = await this._findLayersBySourceId(t);
149
144
  await this._loadLayers(a);
150
- const u = a.map((c) => this._countAssociatedFeatureCount(c, e, s, o, i));
151
- return (await Promise.all(u)).reduce((c, d) => c + d, 0);
145
+ const r = a.map((l) => this._countAssociatedFeatureCount(l, e, s, o, i));
146
+ return (await Promise.all(r)).reduce((l, d) => l + d, 0);
152
147
  }
153
148
  async _createAssociationFeatureObjects(t, e, s, o, i) {
154
149
  if (!t.length)
155
150
  return [];
156
- const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([c, d]) => {
157
- const l = await this._findLayersBySourceId(c);
158
- await this._loadLayers(l);
159
- const y = l.map((r) => this._queryLayer(r, d, s, o, i));
160
- (await Promise.all(y)).forEach((r) => {
161
- r.forEach((h) => {
151
+ const a = /* @__PURE__ */ new Map(), r = Array.from(e.entries()).map(async ([l, d]) => {
152
+ const u = await this._findLayersBySourceId(l);
153
+ await this._loadLayers(u);
154
+ const y = u.map((n) => this._queryLayer(n, d, s, o, i));
155
+ (await Promise.all(y)).forEach((n) => {
156
+ n.forEach((h) => {
162
157
  if (this.source === "popup" ? h.sourceLayer && h.getEffectivePopupTemplate() : !!h.sourceLayer) {
163
158
  const f = h.layer.globalIdField ?? "", g = h.getAttribute(f), F = a.get(g) ?? [];
164
159
  F.push(h), a.set(g, F);
@@ -166,38 +161,38 @@ class O extends B {
166
161
  });
167
162
  });
168
163
  });
169
- await Promise.all(u);
170
- const n = [];
171
- return await Promise.all(t.toArray().map(async (c) => {
172
- const { fromNetworkElement: d, toNetworkElement: l } = c, y = d.globalId === this._globalId ? l : d, p = a.get(y.globalId) ?? [];
173
- await Promise.all(p.map(async (r) => {
174
- const h = this._utilityNetwork?.getTerminalById(y?.terminalId ?? void 0)?.name, _ = await r.sourceLayer.getFeatureTitle(r) || this._getFeatureTitle(r);
175
- n.push({
164
+ await Promise.all(r);
165
+ const c = [];
166
+ return await Promise.all(t.toArray().map(async (l) => {
167
+ const { fromNetworkElement: d, toNetworkElement: u } = l, y = d.globalId === this._globalId ? u : d, p = a.get(y.globalId) ?? [];
168
+ await Promise.all(p.map(async (n) => {
169
+ const h = this._utilityNetwork?.getTerminalById(y?.terminalId ?? void 0)?.name, _ = await n.sourceLayer.getFeatureTitle(n) || this._getFeatureTitle(n);
170
+ c.push({
176
171
  title: _,
177
- feature: r,
178
- association: c,
172
+ feature: n,
173
+ association: l,
179
174
  terminalName: h
180
175
  });
181
176
  }));
182
- })), n;
177
+ })), c;
183
178
  }
184
179
  _destroyAssociatedFeatureViewModels() {
185
180
  this._associationViewModels.forEach((t) => t.destroyAll());
186
181
  }
187
182
  _equals(t, e) {
188
183
  if (t.globalId === N && e.globalId === N) {
189
- let s = function(d, l) {
190
- return d.networkSourceId === l.networkSourceId && d.globalId === l.globalId && d.terminalId === l.terminalId && d.firstUnit === l.firstUnit && d.numUnits === l.numUnits;
184
+ let s = function(d, u) {
185
+ return d.networkSourceId === u.networkSourceId && d.globalId === u.globalId && d.terminalId === u.terminalId && d.firstUnit === u.firstUnit && d.numUnits === u.numUnits;
191
186
  };
192
- const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement, n = s(o, a), c = s(i, u);
193
- return n && c && t.associationType === e.associationType;
187
+ const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, r = e.toNetworkElement, c = s(o, a), l = s(i, r);
188
+ return c && l && t.associationType === e.associationType;
194
189
  }
195
190
  return t.globalId != null && e.globalId != null && t.globalId === e.globalId;
196
191
  }
197
192
  async _findLayersBySourceId(t) {
198
193
  const { _utilityNetwork: e, map: s } = this;
199
194
  e?.loaded || await e?.load();
200
- const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((n) => !!e?.isUtilityLayer(n) && n.layerId === o), a = s.allTables.filter((n) => !!e?.isUtilityLayer(n) && n.layerId === o);
195
+ const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o), a = s.allTables.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o);
201
196
  return i.concat(a).toArray();
202
197
  }
203
198
  _getAssociationsByType(t) {
@@ -246,15 +241,15 @@ class O extends B {
246
241
  }
247
242
  }
248
243
  _getFeatureQueryWhereClause(t, e, s, o) {
249
- const i = t.globalIdField, a = t.fieldsIndex.get($.assetGroup), u = t.fieldsIndex.get($.assetType), n = s != null, c = o != null, d = i ? x.sqlIn(i, e) : null, l = n ? `(${a?.name} = ${s})` : null, y = n && c ? `(${u?.name} = ${o})` : null;
250
- return [d, l, y].filter(Boolean).join(" AND ");
244
+ const i = t.globalIdField, a = t.fieldsIndex.get($.assetGroup), r = t.fieldsIndex.get($.assetType), c = s != null, l = o != null, d = i ? x.sqlIn(i, e) : null, u = c ? `(${a?.name} = ${s})` : null, y = c && l ? `(${r?.name} = ${o})` : null;
245
+ return [d, u, y].filter(Boolean).join(" AND ");
251
246
  }
252
247
  _getFeatureTitle(t) {
253
248
  const e = t.attributes, s = t.sourceLayer;
254
249
  if (!e || !s)
255
250
  return "";
256
- const o = "displayField" in s ? s.displayField : null, i = o != null ? e[o.toString()] : null, a = i != null ? i.toString() : null, u = t.getObjectId()?.toString();
257
- return a || u || "";
251
+ const o = "displayField" in s ? s.displayField : null, i = o != null ? e[o.toString()] : null, a = i != null ? i.toString() : null, r = t.getObjectId()?.toString();
252
+ return a || r || "";
258
253
  }
259
254
  _getParentFeatureDescription() {
260
255
  const { parentFeatureViewModel: t } = this;
@@ -289,12 +284,12 @@ class O extends B {
289
284
  return this._equals(t.association, e.association);
290
285
  }
291
286
  async _queryAssociatedFeatures(t, e) {
292
- const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures: n } = this;
293
- if (await Promise.allSettled([s?.load(), a?.load()]), !u || !s || !i || !a)
287
+ const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: r, _associationFeatures: c } = this;
288
+ if (await Promise.allSettled([s?.load(), a?.load()]), !r || !s || !i || !a)
294
289
  return;
295
- const c = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: l } = t, y = /* @__PURE__ */ new Map();
296
- c.forEach((r) => {
297
- const { fromNetworkElement: h, toNetworkElement: _ } = r, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
290
+ const l = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: u } = t, y = /* @__PURE__ */ new Map();
291
+ l.forEach((n) => {
292
+ const { fromNetworkElement: h, toNetworkElement: _ } = n, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
298
293
  networkSourceId: _.networkSourceId,
299
294
  elementGlobalId: _.globalId
300
295
  } : {
@@ -303,52 +298,52 @@ class O extends B {
303
298
  }, F = y.get(f) || [];
304
299
  F.push(g), y.set(f, F);
305
300
  });
306
- const p = await this._createAssociationFeatureObjects(c, y, d, l, e);
307
- this._parseFeatureObjects(p, n);
301
+ const p = await this._createAssociationFeatureObjects(l, y, d, u, e);
302
+ this._parseFeatureObjects(p, c);
308
303
  }
309
304
  async _queryAssociations(t) {
310
305
  const { layer: e, _globalId: s, associationTypes: o, _utilityNetwork: i, _canQuery: a } = this;
311
306
  if (await Promise.allSettled([e?.load(), i?.load()]), this._clearAssociations(), !a || !e || !o || !i || !s)
312
307
  return;
313
- const u = k(e) ? e.parent : e, n = new P({
308
+ const r = k(e) ? e.parent : e, c = new P({
314
309
  globalId: s,
315
- networkSourceId: i.getSourceIdByLayerId(u.layerId)
316
- }), c = /* @__PURE__ */ new Set();
317
- o.forEach((r) => {
318
- switch (r.type) {
310
+ networkSourceId: i.getSourceIdByLayerId(r.layerId)
311
+ }), l = /* @__PURE__ */ new Set();
312
+ o.forEach((n) => {
313
+ switch (n.type) {
319
314
  case "attachment":
320
315
  case "structure":
321
- c.add("attachment");
316
+ l.add("attachment");
322
317
  break;
323
318
  case "container":
324
319
  case "content":
325
- c.add("containment");
320
+ l.add("containment");
326
321
  break;
327
322
  case "connectivity":
328
- c.add("connectivity"), c.add("junction-junction-connectivity"), c.add("junction-edge-from-connectivity"), c.add("junction-edge-midspan-connectivity"), c.add("junction-edge-to-connectivity");
323
+ l.add("connectivity"), l.add("junction-junction-connectivity"), l.add("junction-edge-from-connectivity"), l.add("junction-edge-midspan-connectivity"), l.add("junction-edge-to-connectivity");
329
324
  break;
330
325
  }
331
326
  });
332
327
  const d = await i?.queryAssociations(new U({
333
- elements: [n],
334
- types: Array.from(c)
328
+ elements: [c],
329
+ types: Array.from(l)
335
330
  }), {
336
331
  signal: t?.signal
337
- }), l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
338
- o.forEach((r) => {
339
- y.set(r.type, r), l.set(r.type, []);
340
- }), d.forEach((r) => {
341
- const { toNetworkElement: h, fromNetworkElement: _ } = r;
342
- switch (r.associationType) {
332
+ }), u = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
333
+ o.forEach((n) => {
334
+ y.set(n.type, n), u.set(n.type, []);
335
+ }), d.forEach((n) => {
336
+ const { toNetworkElement: h, fromNetworkElement: _ } = n;
337
+ switch (n.associationType) {
343
338
  case "attachment":
344
339
  if (_?.globalId === s) {
345
340
  if (this._shouldDiscardNetworkElement(h, "attachment", y))
346
341
  break;
347
- l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(r);
342
+ u.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(n);
348
343
  } else {
349
344
  if (this._shouldDiscardNetworkElement(_, "structure", y))
350
345
  break;
351
- l.get("structure")?.push(_.globalId), this._structureAssociations.add(r);
346
+ u.get("structure")?.push(_.globalId), this._structureAssociations.add(n);
352
347
  }
353
348
  break;
354
349
  case "connectivity":
@@ -359,30 +354,30 @@ class O extends B {
359
354
  if (_?.globalId === s) {
360
355
  if (this._shouldDiscardNetworkElement(h, "connectivity", y))
361
356
  break;
362
- l.get("connectivity")?.push(h.globalId);
357
+ u.get("connectivity")?.push(h.globalId);
363
358
  } else {
364
359
  if (this._shouldDiscardNetworkElement(_, "connectivity", y))
365
360
  break;
366
- l.get("connectivity")?.push(_.globalId);
361
+ u.get("connectivity")?.push(_.globalId);
367
362
  }
368
- this._connectivityAssociations.add(r);
363
+ this._connectivityAssociations.add(n);
369
364
  break;
370
365
  case "containment":
371
366
  if (_?.globalId === s) {
372
367
  if (this._shouldDiscardNetworkElement(h, "content", y))
373
368
  break;
374
- l.get("content")?.push(h.globalId), this._contentAssociations.add(r);
369
+ u.get("content")?.push(h.globalId), this._contentAssociations.add(n);
375
370
  } else {
376
371
  if (this._shouldDiscardNetworkElement(_, "container", y))
377
372
  break;
378
- l.get("container")?.push(_.globalId), this._containerAssociations.add(r);
373
+ u.get("container")?.push(_.globalId), this._containerAssociations.add(n);
379
374
  }
380
375
  break;
381
376
  }
382
377
  });
383
- const p = o.map(async (r) => {
384
- const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = r, g = l.get(r.type), b = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
385
- switch (r.type) {
378
+ const p = o.map(async (n) => {
379
+ const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = n, g = u.get(n.type), b = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
380
+ switch (n.type) {
386
381
  case "attachment":
387
382
  this._attachmentFeatureCount = b;
388
383
  break;
@@ -412,12 +407,10 @@ class O extends B {
412
407
  await this._queryAssociations(t), this._featureCount = this._attachmentFeatureCount + this._connectivityFeatureCount + this._containerFeatureCount + this._contentFeatureCount + this._structureFeatureCount;
413
408
  }
414
409
  async _queryLayer(t, e, s, o, i) {
415
- const a = this._getFeatureQueryWhereClause(t, e, s, o), u = new Q({
416
- where: a,
417
- outFields: ["*"],
418
- cacheHint: this._supportsCacheHint
419
- }), { features: n } = await D(t, u, i);
420
- return n;
410
+ const a = this._getFeatureQueryWhereClause(t, e, s, o), r = t.createQuery();
411
+ r.where = a, r.outFields = ["*"], r.returnGeometry = !1, r.cacheHint = this._supportsCacheHint;
412
+ const { features: c } = await D(t, r, i);
413
+ return c;
421
414
  }
422
415
  _parseFeatureObjects(t, e) {
423
416
  const s = I();
@@ -434,20 +427,20 @@ class O extends B {
434
427
  }
435
428
  _setUpUtilityNetworkAssociationsViewModels() {
436
429
  this._associationViewModels.forEach((i, a) => {
437
- const u = this._associationFeatures.get(a);
438
- u ? i.forEach((n) => {
439
- u.find((d) => this._matchesGlobalFeature(n, d)) || (i.remove(n), i.length || this._associationViewModels.delete(a));
430
+ const r = this._associationFeatures.get(a);
431
+ r ? i.forEach((c) => {
432
+ r.find((d) => this._matchesGlobalFeature(c, d)) || (i.remove(c), i.length || this._associationViewModels.delete(a));
440
433
  }) : (i.removeAll(), this._associationViewModels.delete(a));
441
434
  });
442
435
  const { map: t, view: e, spatialReference: s, timeZone: o } = this;
443
436
  this._associationFeatures.forEach((i, a) => {
444
- const u = this._associationViewModels.get(a) || new w();
445
- i?.filter(Boolean).forEach((n, c) => {
446
- if (!u.some((l) => this._matchesGlobalFeature(l, n))) {
447
- const { association: l, feature: y, terminalName: p, title: r } = n;
448
- u.add({
449
- title: r,
450
- association: l,
437
+ const r = this._associationViewModels.get(a) || new w();
438
+ i?.filter(Boolean).forEach((c, l) => {
439
+ if (!r.some((u) => this._matchesGlobalFeature(u, c))) {
440
+ const { association: u, feature: y, terminalName: p, title: n } = c;
441
+ r.add({
442
+ title: n,
443
+ association: u,
451
444
  featureViewModel: new G({
452
445
  abilities: { utilityNetworkAssociationsContent: !1 },
453
446
  map: t,
@@ -457,9 +450,9 @@ class O extends B {
457
450
  graphic: y
458
451
  }),
459
452
  terminalName: p
460
- }, c);
453
+ }, l);
461
454
  }
462
- }), this._associationViewModels.set(a, u);
455
+ }), this._associationViewModels.set(a, r);
463
456
  });
464
457
  }
465
458
  _shouldDiscardNetworkElement(t, e, s) {
@@ -499,7 +492,7 @@ class O extends B {
499
492
  return this._state === "querying" ? m`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>` : null;
500
493
  }
501
494
  }
502
- S("arcgis-feature-utility-network-associations", O);
495
+ S("arcgis-feature-utility-network-associations", R);
503
496
  export {
504
- O as ArcgisFeatureUtilityNetworkAssociations
497
+ R as ArcgisFeatureUtilityNetworkAssociations
505
498
  };
@@ -7,7 +7,7 @@ import { LitElement as d } from "@arcgis/lumina";
7
7
  import { classes as h } from "@arcgis/toolkit/dom";
8
8
  import { H as g } from "../../chunks/heading.js";
9
9
  import { g as m } from "../../chunks/globalCss.js";
10
- const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
10
+ const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
11
11
  class v extends d {
12
12
  constructor() {
13
13
  super(...arguments), this.stacked = !1, this.headingLevel = 3, this.layout = "auto", this.type = "card";
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as m } from "../../chunks/runtime.js";
3
- import { css as _, html as o } from "lit";
3
+ import { css as _, html as s } from "lit";
4
4
  import { ref as v } from "lit/directives/ref.js";
5
5
  import w from "@arcgis/core/widgets/Search/SearchViewModel.js";
6
6
  import { LitElement as f, createEvent as b, renderElement as x, safeClassMap as M, nothing as S } from "@arcgis/lumina";
@@ -97,7 +97,7 @@ class z extends f {
97
97
  ]);
98
98
  }
99
99
  _addSearchResultRenderer() {
100
- this._searchResultRendererEl = x(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
100
+ this._searchResultRendererEl = x(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
101
101
  }
102
102
  _closePopup(e) {
103
103
  const { referenceElement: t, view: i } = this;
@@ -137,7 +137,7 @@ class z extends f {
137
137
  this._useCurrentLocation();
138
138
  return;
139
139
  }
140
- const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex: s }) => s === i.sourceIndex)?.results?.find(({ key: s }) => `${s}` == `${i.key}`);
140
+ const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex: o }) => o === i.sourceIndex)?.results?.find(({ key: o }) => `${o}` == `${i.key}`);
141
141
  r && this.search(r);
142
142
  }
143
143
  async _useCurrentLocation() {
@@ -179,22 +179,22 @@ class z extends f {
179
179
  return (e === -1 ? t.all : r?.name || t.untitledSource) || "";
180
180
  }
181
181
  render() {
182
- return this._addSearchResultRenderer(), o`<div class=${M(y("root", C.widget))}><div class="sr-only" aria-live=polite>${this._selectedMessage}</div><div class="container">${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
182
+ return this._addSearchResultRenderer(), s`<div class=${M(y("root", C.widget))}><div class="sr-only" aria-live=polite>${this._selectedMessage}</div><div class="container">${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
183
183
  }
184
184
  _renderSourcesMenu() {
185
- const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: s } = this.viewModel;
186
- return r.length > 1 ? o`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${s ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
185
+ const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: o } = this.viewModel;
186
+ return r.length > 1 ? s`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
187
187
  }
188
188
  _renderUseCurrentLocation() {
189
189
  const { _currentLocationValue: e } = this;
190
- return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
190
+ return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
191
191
  }
192
192
  _renderAutocomplete() {
193
- const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: s, searchTerm: n, state: c } = this.viewModel, p = this.label ?? t.searchButtonTitle ?? "";
194
- return o`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${p} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${s} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : s) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${v(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
193
+ const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: o, searchTerm: n, state: c } = this.viewModel, p = this.label ?? t.searchButtonTitle ?? "";
194
+ return s`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${p} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${o} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : o) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${v(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
195
195
  }
196
196
  _renderForm() {
197
- return o`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
197
+ return s`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
198
198
  }
199
199
  _renderSuggestGroup(e) {
200
200
  return e.results?.map((t) => this._renderSuggestion(t));
@@ -204,28 +204,28 @@ class z extends f {
204
204
  return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
205
205
  }
206
206
  _renderSuggestResults(e) {
207
- const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e, s = e.results?.length, n = t.length > 1 && i === -1, c = this._getSourceName(r);
208
- return s && n ? o`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
207
+ const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e, o = e.results?.length, n = t.length > 1 && i === -1, c = this._getSourceName(r);
208
+ return o && n ? s`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
209
209
  }
210
- _renderSuggestion({ key: e, sourceIndex: t, text: i }) {
211
- const r = {
212
- key: e,
213
- sourceIndex: t
210
+ _renderSuggestion(e) {
211
+ const { key: t, sourceIndex: i, text: r } = e, o = {
212
+ key: t,
213
+ sourceIndex: i
214
214
  };
215
- return o`<calcite-autocomplete-item .heading=${i ?? this.messages.untitledResult ?? ""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`;
215
+ return s`<calcite-autocomplete-item .heading=${r ?? this.messages.untitledResult ?? ""} .value=${JSON.stringify(o)} .selected=${e === this.viewModel.selectedSuggestion}></calcite-autocomplete-item>`;
216
216
  }
217
217
  _renderSource(e) {
218
218
  const t = this._getSourceName(e);
219
- return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
219
+ return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
220
220
  }
221
221
  _renderNoResultsWarning(e) {
222
222
  const { messages: t } = this, i = e ? h(t.noResultsFoundForValue ?? "", {
223
223
  value: `"${e}"`
224
224
  }) : t.noResultsFound;
225
- return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
225
+ return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
226
226
  }
227
227
  _renderLocateError() {
228
- return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`;
228
+ return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`;
229
229
  }
230
230
  _renderNotices() {
231
231
  return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
@@ -4,6 +4,12 @@ import type { TooltipDirectionMode } from "@arcgis/core/views/interactive/toolti
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
 
7
+ /**
8
+ * The sketch-tooltip-controls component provides a user interface to set specific options within Sketch's [SketchTooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/), [SkechLabelOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchLabelOptions/), and [SketchValueOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchValueOptions/) classes.
9
+ *
10
+ * @since 5.1
11
+ * @internal
12
+ */
7
13
  export abstract class ArcgisSketchTooltipControls extends LitElement {
8
14
  /**
9
15
  * private