@arcgis/map-components 6.0.0-next.0 → 6.0.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/dist/cdn/{ZWN6DXNO.js → 22I5XGTS.js} +2 -2
  2. package/dist/cdn/{J657IBDC.js → 24KCDMDH.js} +2 -2
  3. package/dist/cdn/{5CER2N5T.js → 24MLXKMZ.js} +2 -2
  4. package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
  5. package/dist/cdn/{AAMRTS35.js → 2CEJU3YF.js} +2 -2
  6. package/dist/cdn/{3A3DGDW5.js → 2CGIS34C.js} +2 -2
  7. package/dist/cdn/{RPHJDEZH.js → 2KBLNC6Y.js} +2 -2
  8. package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
  9. package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
  10. package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
  11. package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
  12. package/dist/cdn/{43IOCYG5.js → 36ZT6IRE.js} +2 -2
  13. package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
  14. package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
  15. package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
  16. package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
  17. package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
  18. package/dist/cdn/{UCTJVPYB.js → 3X4TCM6A.js} +2 -2
  19. package/dist/cdn/{BLYJE76S.js → 42G6XTIG.js} +2 -2
  20. package/dist/cdn/42LHTN2R.js +2 -0
  21. package/dist/cdn/{27MP6TEF.js → 4657ONKJ.js} +2 -2
  22. package/dist/cdn/4B2TLORL.js +2 -0
  23. package/dist/cdn/{JCR7S6RP.js → 4EO2342P.js} +2 -2
  24. package/dist/cdn/{BZR4MSO5.js → 4ER6YIYW.js} +2 -2
  25. package/dist/cdn/{SXQRPAPL.js → 4HNRKSQ2.js} +2 -2
  26. package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
  27. package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
  28. package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
  29. package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
  30. package/dist/cdn/{OUXE3CSQ.js → 4O6FFXUV.js} +2 -2
  31. package/dist/cdn/4UDLUCTE.js +2 -0
  32. package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
  33. package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
  34. package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
  35. package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
  36. package/dist/cdn/{GQ6SYNZS.js → 54GFXFK4.js} +2 -2
  37. package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
  38. package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
  39. package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
  40. package/dist/cdn/5ITYFVDX.js +2 -0
  41. package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
  42. package/dist/cdn/{I5ZESLWO.js → 5WKEDXRT.js} +2 -2
  43. package/dist/cdn/{CQQM24VF.js → 5YHHJ5ZE.js} +2 -2
  44. package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
  45. package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
  46. package/dist/cdn/{7AHOPT65.js → 677OZNT4.js} +2 -2
  47. package/dist/cdn/{TC6HL72N.js → 67B7TPGQ.js} +2 -2
  48. package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
  49. package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
  50. package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
  51. package/dist/cdn/{ITRD7ZY4.js → 6N7GPFZ4.js} +2 -2
  52. package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
  53. package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
  54. package/dist/cdn/{AYJQLWX4.js → 75UV3NKU.js} +2 -2
  55. package/dist/cdn/77U2VO5P.js +2 -0
  56. package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
  57. package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
  58. package/dist/cdn/{VWN2LORT.js → 7FGOCFTQ.js} +2 -2
  59. package/dist/cdn/7HS2SX6W.js +2 -0
  60. package/dist/cdn/{ZFHHY72B.js → 7JVPR5EI.js} +2 -2
  61. package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
  62. package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
  63. package/dist/cdn/7YHGGHJY.js +2 -0
  64. package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
  65. package/dist/cdn/{VCRVQMYT.js → A7SZYQDH.js} +2 -2
  66. package/dist/cdn/ABOTJ6RE.js +2 -0
  67. package/dist/cdn/{N2HG34QB.js → AFP64NRH.js} +2 -2
  68. package/dist/cdn/{RQG75Q2X.js → AIMWEMBX.js} +2 -2
  69. package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
  70. package/dist/cdn/AN7R3DP5.js +2 -0
  71. package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
  72. package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
  73. package/dist/cdn/BJWJ6E3L.js +2 -0
  74. package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
  75. package/dist/cdn/{MW6AOK5D.js → BZQIIXMP.js} +2 -2
  76. package/dist/cdn/{CF4OY56S.js → C5N4AOB6.js} +2 -2
  77. package/dist/cdn/{UINNR6FV.js → C5XAFXEL.js} +2 -2
  78. package/dist/cdn/CF54A7MK.js +2 -0
  79. package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
  80. package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
  81. package/dist/cdn/CNYZSE22.js +2 -0
  82. package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
  83. package/dist/cdn/CPYVZPJ7.js +2 -0
  84. package/dist/cdn/{QPFX5XH3.js → CUVRESLH.js} +2 -2
  85. package/dist/cdn/CVJOD6H3.js +2 -0
  86. package/dist/cdn/{VYYFRZLI.js → CWA47RNK.js} +2 -2
  87. package/dist/cdn/CZVI23H5.js +2 -0
  88. package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
  89. package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
  90. package/dist/cdn/{7FVXPOAG.js → DNE47HSP.js} +2 -2
  91. package/dist/cdn/DPNB5GBY.js +2 -0
  92. package/dist/cdn/{XPIX7Z2Q.js → DPVRHPHQ.js} +2 -2
  93. package/dist/cdn/DTORO2OE.js +2 -0
  94. package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
  95. package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
  96. package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
  97. package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
  98. package/dist/cdn/{T2DT5I33.js → EH4CBZNF.js} +1 -1
  99. package/dist/cdn/{B476G3EX.js → EJKAIZAE.js} +2 -2
  100. package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
  101. package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
  102. package/dist/cdn/{ZPH7M75T.js → ENDFTFEF.js} +2 -2
  103. package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
  104. package/dist/cdn/{TILA2OKK.js → ET4UP4EQ.js} +2 -2
  105. package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
  106. package/dist/cdn/F4S2DPYN.js +2 -0
  107. package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
  108. package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
  109. package/dist/cdn/F6CXHAHU.js +2 -0
  110. package/dist/cdn/{YPNJ5V4R.js → FBV5KXOY.js} +2 -2
  111. package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
  112. package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
  113. package/dist/cdn/{LHFB44QW.js → FHBTVQHP.js} +2 -2
  114. package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
  115. package/dist/cdn/FIZMK7GS.js +1 -0
  116. package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
  117. package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
  118. package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
  119. package/dist/cdn/{TZ2LE7KS.js → FTCHTEUY.js} +2 -2
  120. package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
  121. package/dist/cdn/FYR4QVEY.js +2 -0
  122. package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
  123. package/dist/cdn/{2COOBXHG.js → G72ISZDZ.js} +2 -2
  124. package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
  125. package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
  126. package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
  127. package/dist/cdn/GJTUYTTG.js +2 -0
  128. package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
  129. package/dist/cdn/{7DAQGPGD.js → GLQMCCUM.js} +2 -2
  130. package/dist/cdn/{NZBID35V.js → GNSNEUMI.js} +2 -2
  131. package/dist/cdn/{CJ4KIA26.js → GNWRCB5F.js} +2 -2
  132. package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
  133. package/dist/cdn/{2DKTF2EL.js → GSVPPSX6.js} +2 -2
  134. package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
  135. package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
  136. package/dist/cdn/{EDTGV4YF.js → GUZCA62E.js} +2 -2
  137. package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
  138. package/dist/cdn/{276JOEH5.js → H4LMELM2.js} +2 -2
  139. package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
  140. package/dist/cdn/HA4XWZH4.js +2 -0
  141. package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
  142. package/dist/cdn/{4WP4DUBT.js → HEIKRBJK.js} +2 -2
  143. package/dist/cdn/{MEZHGYCH.js → HGP7GVZU.js} +2 -2
  144. package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
  145. package/dist/cdn/HIBFGEAJ.js +2 -0
  146. package/dist/cdn/{UPZVIKOH.js → HJVHORPG.js} +2 -2
  147. package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
  148. package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
  149. package/dist/cdn/{DPPZZO5W.js → HQDOPV3Q.js} +2 -2
  150. package/dist/cdn/HQSY7TKA.js +2 -0
  151. package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
  152. package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
  153. package/dist/cdn/{YWS5RHVM.js → HWKMLOOG.js} +2 -2
  154. package/dist/cdn/{KKP7ZZUD.js → HYMCX7JZ.js} +2 -2
  155. package/dist/cdn/{5763ZV75.js → HZTF3LOF.js} +2 -2
  156. package/dist/cdn/{BIWQEPK4.js → I4AEBGQM.js} +2 -2
  157. package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
  158. package/dist/cdn/{FMBY3L4S.js → IBN4TKBI.js} +2 -2
  159. package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
  160. package/dist/cdn/{27GJE7OY.js → IHUJKT47.js} +2 -2
  161. package/dist/cdn/IITDAOGZ.js +2 -0
  162. package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
  163. package/dist/cdn/{I2A6UYGZ.js → IQOSVEZ5.js} +2 -2
  164. package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
  165. package/dist/cdn/{QX33OCXB.js → J3IDFYN3.js} +2 -2
  166. package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
  167. package/dist/cdn/{WBI4RS3V.js → JQ4K46KY.js} +2 -2
  168. package/dist/cdn/{54CLZESW.js → JQ7MMDQT.js} +2 -2
  169. package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
  170. package/dist/cdn/{3YXCLF3K.js → JXU37SH6.js} +2 -2
  171. package/dist/cdn/{MUWOF7W4.js → JZHZCJTJ.js} +2 -2
  172. package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
  173. package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
  174. package/dist/cdn/K7XSWKZ2.js +2 -0
  175. package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
  176. package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
  177. package/dist/cdn/KKLTZBSE.js +2 -0
  178. package/dist/cdn/{SP73K22L.js → KRMN6HAV.js} +2 -2
  179. package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
  180. package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
  181. package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
  182. package/dist/cdn/{QOQRNYM5.js → L7DFXEAX.js} +2 -2
  183. package/dist/cdn/{YKSVOTDV.js → LBSIU6XT.js} +2 -2
  184. package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
  185. package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
  186. package/dist/cdn/{KRVLKKXB.js → LKAJVIS2.js} +2 -2
  187. package/dist/cdn/LOOJWRCW.js +2 -0
  188. package/dist/cdn/{3JCF73F4.js → LUTUHOKB.js} +2 -2
  189. package/dist/cdn/{BEFZSVBT.js → LW4IDPBB.js} +2 -2
  190. package/dist/cdn/{6NWR2Z4F.js → LY6LSUSY.js} +2 -2
  191. package/dist/cdn/LZVMUNZC.js +2 -0
  192. package/dist/cdn/M3ZQGUYQ.js +2 -0
  193. package/dist/cdn/{RFSBZHJD.js → M4D5WUVD.js} +2 -2
  194. package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
  195. package/dist/cdn/MA7GBKLW.js +2 -0
  196. package/dist/cdn/MBGCAZPS.js +4 -0
  197. package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
  198. package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
  199. package/dist/cdn/{4WXSFT6G.js → MGBFC5IV.js} +2 -2
  200. package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
  201. package/dist/cdn/MMYODAC2.js +2 -0
  202. package/dist/cdn/{VSDQVSOV.js → MNSGXIJP.js} +2 -2
  203. package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
  204. package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
  205. package/dist/cdn/{3NL42TBJ.js → N5KEEUBQ.js} +2 -2
  206. package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
  207. package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
  208. package/dist/cdn/{2KP3MSHV.js → NDCZFJEK.js} +3 -3
  209. package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
  210. package/dist/cdn/NWFGMNGG.js +2 -0
  211. package/dist/cdn/{45JO7F4Y.js → NWRWQZGL.js} +2 -2
  212. package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
  213. package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
  214. package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
  215. package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
  216. package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
  217. package/dist/cdn/{COKGOKO2.js → OCFIQBYK.js} +2 -2
  218. package/dist/cdn/{QMYL4UM7.js → OCQXPA57.js} +2 -2
  219. package/dist/cdn/{IXWGGAVX.js → OICQWHES.js} +2 -2
  220. package/dist/cdn/{XAMLHDWZ.js → ONFKLY6Q.js} +2 -2
  221. package/dist/cdn/{4RMVG2NH.js → OP3APZ4U.js} +2 -2
  222. package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
  223. package/dist/cdn/{OCLOCCB6.js → OX3WBUBR.js} +2 -2
  224. package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
  225. package/dist/cdn/{7DDCU3NB.js → P35MNXU2.js} +2 -2
  226. package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
  227. package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
  228. package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
  229. package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
  230. package/dist/cdn/PGUZODKZ.js +2 -0
  231. package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
  232. package/dist/cdn/{NBHZZ4E6.js → PKMTOHZH.js} +2 -2
  233. package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
  234. package/dist/cdn/{WCEDE4CZ.js → PPVXOP43.js} +2 -2
  235. package/dist/cdn/{5M56ZA46.js → PS3KSP2J.js} +2 -2
  236. package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
  237. package/dist/cdn/{3XEPXV4Q.js → PY5VGH7F.js} +2 -2
  238. package/dist/cdn/PZUVKZGQ.js +2 -0
  239. package/dist/cdn/Q3B3NI7P.js +2 -0
  240. package/dist/cdn/QCVMDYJD.js +2 -0
  241. package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
  242. package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
  243. package/dist/cdn/{BKVCAAPF.js → QLXQ4L2R.js} +2 -2
  244. package/dist/cdn/{CESFJ6AD.js → QNBNH7ME.js} +2 -2
  245. package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
  246. package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
  247. package/dist/cdn/QSZL5NEG.js +2 -0
  248. package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
  249. package/dist/cdn/{KO7RD6SS.js → QVAB57VJ.js} +2 -2
  250. package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
  251. package/dist/cdn/{EAM45WZP.js → R2D2TXL4.js} +2 -2
  252. package/dist/cdn/{RYYBMDGS.js → R2P5JM7G.js} +2 -2
  253. package/dist/cdn/{HKGNXMRR.js → R4FDXNHP.js} +2 -2
  254. package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
  255. package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
  256. package/dist/cdn/{2JWHVMJ3.js → R6C6U6JB.js} +2 -2
  257. package/dist/cdn/{Q73T55TC.js → R6X7LUKH.js} +2 -2
  258. package/dist/cdn/{LQ76PRWK.js → REGHMH6D.js} +2 -2
  259. package/dist/cdn/RLXUS2AY.js +2 -0
  260. package/dist/cdn/RNF5KVNY.js +2 -0
  261. package/dist/cdn/{F5WKI5HZ.js → RQ2YV64E.js} +2 -2
  262. package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
  263. package/dist/cdn/{AZ73DBU3.js → RUW7CDCH.js} +2 -2
  264. package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
  265. package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
  266. package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
  267. package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
  268. package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
  269. package/dist/cdn/{3V3PYL2L.js → SCYBJTZA.js} +2 -2
  270. package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
  271. package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
  272. package/dist/cdn/SKP3TGF4.js +2 -0
  273. package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
  274. package/dist/cdn/SQPX5U3U.js +2 -0
  275. package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
  276. package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
  277. package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
  278. package/dist/cdn/{IU22RA7Z.js → TDGAGI7B.js} +2 -2
  279. package/dist/cdn/{4WAV5GOL.js → TEOOLQG2.js} +2 -2
  280. package/dist/cdn/TFADSF2R.js +2 -0
  281. package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
  282. package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
  283. package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
  284. package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
  285. package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
  286. package/dist/cdn/{GT6FFZHJ.js → TYHCB472.js} +2 -2
  287. package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
  288. package/dist/cdn/{VABVK3ZN.js → UFRX7JW5.js} +2 -2
  289. package/dist/cdn/{H4FH2RBM.js → UHI54OG6.js} +2 -2
  290. package/dist/cdn/{J6MU74RO.js → UMOO7WYM.js} +2 -2
  291. package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
  292. package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
  293. package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
  294. package/dist/cdn/{ZW2ZBNX2.js → V3BFPL23.js} +2 -2
  295. package/dist/cdn/{E4NTQBM3.js → V4JEBKPJ.js} +2 -2
  296. package/dist/cdn/{QMQV37ML.js → V62TVP3T.js} +2 -2
  297. package/dist/cdn/{3DPVKWFO.js → VDEMMP33.js} +2 -2
  298. package/dist/cdn/{B4CANXID.js → VKRAWBPC.js} +2 -2
  299. package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
  300. package/dist/cdn/{N6QTPGCU.js → VUAYNF3K.js} +2 -2
  301. package/dist/cdn/{3TGYCCNJ.js → VYOH4T4L.js} +2 -2
  302. package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
  303. package/dist/cdn/W275EQEJ.js +2 -0
  304. package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
  305. package/dist/cdn/{D3LYSFXK.js → WEOKELJE.js} +2 -2
  306. package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
  307. package/dist/cdn/WK4TNKKC.js +2 -0
  308. package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
  309. package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
  310. package/dist/cdn/XKCB2DEP.js +2 -0
  311. package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
  312. package/dist/cdn/{3E56Q4ZY.js → XPC6K7AE.js} +2 -2
  313. package/dist/cdn/XSE3E4FM.js +2 -0
  314. package/dist/cdn/{PXAY7IM4.js → XULIO6Y3.js} +2 -2
  315. package/dist/cdn/{4W35GLNO.js → Y37UMTGV.js} +2 -2
  316. package/dist/cdn/{X3DQNCTZ.js → Y6764PBB.js} +2 -2
  317. package/dist/cdn/{CIUI5B52.js → Y6ZXMGO2.js} +2 -2
  318. package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
  319. package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
  320. package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
  321. package/dist/cdn/{OJXNUBIA.js → YHPASRFL.js} +2 -2
  322. package/dist/cdn/{R3IITUG6.js → YODE6QAO.js} +2 -2
  323. package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
  324. package/dist/cdn/{KXGVE4NK.js → Z2UUXST4.js} +2 -2
  325. package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
  326. package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
  327. package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
  328. package/dist/cdn/{5SLLYIWJ.js → ZBC5RBCD.js} +2 -2
  329. package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
  330. package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
  331. package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
  332. package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
  333. package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
  334. package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
  335. package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
  336. package/dist/cdn/ZSPYPXBY.js +2 -0
  337. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
  338. package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
  339. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  340. package/dist/cdn/index.js +2 -2
  341. package/dist/cdn/main.css +1 -1
  342. package/dist/chunks/AnalysisViewModel.js +1 -1
  343. package/dist/chunks/GeolocationPositioning.js +1 -1
  344. package/dist/chunks/action-utils.js +8 -8
  345. package/dist/chunks/async-utils.js +1 -1
  346. package/dist/chunks/attachment-utils.js +1 -1
  347. package/dist/chunks/chart-utils.js +1 -1
  348. package/dist/chunks/chartCommon.js +1 -1
  349. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  350. package/dist/chunks/component-utils.js +1 -1
  351. package/dist/chunks/component-wrapper.js +1 -1
  352. package/dist/chunks/constants.js +1 -1
  353. package/dist/chunks/constants2.js +1 -1
  354. package/dist/chunks/css.js +1 -1
  355. package/dist/chunks/dateUtils.js +2 -2
  356. package/dist/chunks/earth-utils.js +1 -1
  357. package/dist/chunks/esri-main.js +2 -2
  358. package/dist/chunks/feature-utils.js +1 -1
  359. package/dist/chunks/field.js +1 -1
  360. package/dist/chunks/formattingUtils.js +1 -1
  361. package/dist/chunks/globalCss.js +1 -1
  362. package/dist/chunks/goTo.js +1 -1
  363. package/dist/chunks/graphicsLayerController.js +1 -1
  364. package/dist/chunks/handle.js +1 -1
  365. package/dist/chunks/heading.js +1 -1
  366. package/dist/chunks/keyboard-utils.js +1 -1
  367. package/dist/chunks/layer-list-next.js +1 -1
  368. package/dist/chunks/layer-list-utils.js +1 -1
  369. package/dist/chunks/layer-utils.js +1 -1
  370. package/dist/chunks/layer-utils2.js +1 -1
  371. package/dist/chunks/legacyIcon.js +1 -1
  372. package/dist/chunks/maybe.js +1 -1
  373. package/dist/chunks/measurementUtils.js +1 -1
  374. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  375. package/dist/chunks/resources.js +1 -1
  376. package/dist/chunks/runtime.js +2 -2
  377. package/dist/chunks/screenLocation.js +1 -1
  378. package/dist/chunks/slots.js +2 -2
  379. package/dist/chunks/sr.js +1 -1
  380. package/dist/chunks/svgUtils.js +1 -1
  381. package/dist/chunks/time-utils.js +1 -1
  382. package/dist/chunks/titleUtils.js +1 -1
  383. package/dist/chunks/types.js +1 -1
  384. package/dist/chunks/univariateUtils.js +1 -1
  385. package/dist/chunks/urlUtils.js +1 -1
  386. package/dist/chunks/useArcgisViewReadyError.js +121 -107
  387. package/dist/chunks/useCloseEvent.js +1 -1
  388. package/dist/chunks/useLayerById.js +1 -1
  389. package/dist/chunks/useT9n.js +1 -1
  390. package/dist/chunks/useView.js +1 -1
  391. package/dist/chunks/useViewModel.js +1 -1
  392. package/dist/chunks/useWidget.js +1 -1
  393. package/dist/chunks/utils.js +1 -1
  394. package/dist/chunks/utils2.js +1 -1
  395. package/dist/chunks/utils3.js +1 -1
  396. package/dist/chunks/utils4.js +1 -1
  397. package/dist/chunks/utils5.js +1 -1
  398. package/dist/chunks/utils6.js +1 -1
  399. package/dist/chunks/video-utils.js +1 -1
  400. package/dist/chunks/visible-element.js +1 -1
  401. package/dist/chunks/zoom.js +1 -1
  402. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  403. package/dist/components/arcgis-aggregated-features/customElement.js +2 -2
  404. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
  405. package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
  406. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
  407. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  408. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  409. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  410. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  411. package/dist/components/arcgis-attachments/customElement.js +1 -1
  412. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  413. package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
  414. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  415. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  416. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +13 -13
  417. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +30 -30
  418. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +1 -1
  419. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  420. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  421. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  422. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  423. package/dist/components/arcgis-building-level-item/customElement.js +2 -2
  424. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  425. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  426. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  427. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +10 -10
  428. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +17 -17
  429. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  430. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  431. package/dist/components/arcgis-color-select/customElement.js +1 -1
  432. package/dist/components/arcgis-compass/customElement.js +1 -1
  433. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  434. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  435. package/dist/components/arcgis-daylight/customElement.js +1 -1
  436. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
  437. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  438. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  439. package/dist/components/arcgis-directions/customElement.js +1 -1
  440. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
  441. package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
  442. package/dist/components/arcgis-editor/customElement.d.ts +18 -5
  443. package/dist/components/arcgis-editor/customElement.js +4 -1
  444. package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
  445. package/dist/components/arcgis-elevation-profile/customElement.js +94 -90
  446. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  447. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  448. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  449. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  450. package/dist/components/arcgis-expand/customElement.js +1 -1
  451. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  452. package/dist/components/arcgis-exploratory-analysis/customElement.js +52 -52
  453. package/dist/components/arcgis-feature/customElement.js +1 -1
  454. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  455. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-fields/customElement.js +21 -21
  459. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  460. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  461. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  462. package/dist/components/arcgis-feature-form-text/customElement.d.ts +7 -0
  463. package/dist/components/arcgis-feature-form-text/customElement.js +24 -0
  464. package/dist/components/arcgis-feature-form-text/index.d.ts +1 -0
  465. package/dist/components/arcgis-feature-form-text/index.js +1 -0
  466. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  467. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  468. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  469. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  470. package/dist/components/arcgis-feature-next/customElement.d.ts +14 -6
  471. package/dist/components/arcgis-feature-next/customElement.js +32 -32
  472. package/dist/components/arcgis-feature-relationship/customElement.js +70 -70
  473. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  474. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  475. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  476. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  477. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +22 -22
  478. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +16 -16
  479. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  480. package/dist/components/arcgis-features/customElement.js +1 -1
  481. package/dist/components/arcgis-features-next/customElement.d.ts +3 -3
  482. package/dist/components/arcgis-features-next/customElement.js +110 -100
  483. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  484. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  485. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  486. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  487. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  488. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  489. package/dist/components/arcgis-home/customElement.js +1 -1
  490. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  491. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  492. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  493. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  494. package/dist/components/arcgis-layer-list-next/customElement.d.ts +10 -10
  495. package/dist/components/arcgis-layer-list-next/customElement.js +15 -15
  496. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  497. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  498. package/dist/components/arcgis-legend/customElement.js +2 -2
  499. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  500. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  501. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  502. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  503. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  504. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  505. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  506. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  507. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  508. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  509. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  510. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  511. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  512. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  513. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
  514. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  515. package/dist/components/arcgis-link-chart/customElement.d.ts +24 -14
  516. package/dist/components/arcgis-link-chart/customElement.js +6 -6
  517. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  518. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  519. package/dist/components/arcgis-locate/customElement.js +1 -1
  520. package/dist/components/arcgis-map/customElement.d.ts +41 -30
  521. package/dist/components/arcgis-map/customElement.js +10 -10
  522. package/dist/components/arcgis-measurement-content/customElement.js +7 -7
  523. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  524. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  525. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +11 -3
  526. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +10 -10
  527. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  528. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  529. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  530. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  531. package/dist/components/arcgis-paste/customElement.js +1 -1
  532. package/dist/components/arcgis-popup/customElement.d.ts +3 -3
  533. package/dist/components/arcgis-popup/customElement.js +41 -37
  534. package/dist/components/arcgis-presentation/customElement.js +1 -1
  535. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  536. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  537. package/dist/components/arcgis-print/customElement.js +1 -1
  538. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  539. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +18 -18
  540. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  541. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  542. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  543. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  544. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  545. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  546. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  547. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  548. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  549. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  550. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  551. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  552. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  553. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  554. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  555. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  556. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  557. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  558. package/dist/components/arcgis-scene/customElement.d.ts +24 -14
  559. package/dist/components/arcgis-scene/customElement.js +10 -10
  560. package/dist/components/arcgis-search/customElement.js +1 -1
  561. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  562. package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
  563. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  564. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  565. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  566. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  567. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  568. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  569. package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
  570. package/dist/components/arcgis-sketch/customElement.js +1 -1
  571. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  572. package/dist/components/arcgis-slice/customElement.js +25 -25
  573. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  574. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  575. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  576. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  577. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  578. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  579. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  580. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  581. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  582. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  583. package/dist/components/arcgis-spinner/customElement.js +1 -1
  584. package/dist/components/arcgis-swipe/customElement.js +1 -1
  585. package/dist/components/arcgis-table-list/customElement.js +1 -1
  586. package/dist/components/arcgis-table-list-next/customElement.d.ts +4 -4
  587. package/dist/components/arcgis-table-list-next/customElement.js +6 -6
  588. package/dist/components/arcgis-template-image/customElement.js +1 -1
  589. package/dist/components/arcgis-time-bar/customElement.js +25 -26
  590. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  591. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  592. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  593. package/dist/components/arcgis-time-bar-slider/customElement.js +49 -47
  594. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  595. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  596. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  597. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  598. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  599. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  600. package/dist/components/arcgis-track/customElement.js +1 -1
  601. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  602. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  603. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  604. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  605. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  606. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  607. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  608. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +17 -17
  609. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  610. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  611. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  612. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  613. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  614. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  615. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  616. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +2 -2
  617. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  618. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  619. package/dist/components/arcgis-version-management/customElement.js +38 -38
  620. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  621. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  622. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  623. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  624. package/dist/components/arcgis-video/customElement.js +7 -7
  625. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
  626. package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
  627. package/dist/components/arcgis-video-player/customElement.js +1 -1
  628. package/dist/components/arcgis-video-player/types.d.ts +6 -0
  629. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  630. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  631. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  632. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  633. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  634. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  635. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  636. package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
  637. package/dist/components/arcgis-volume-measurement/customElement.js +63 -63
  638. package/dist/components/arcgis-weather/customElement.js +1 -1
  639. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  640. package/dist/components/arcgis-zoom/customElement.js +1 -1
  641. package/dist/components/feature-form-next/customElement.js +1 -1
  642. package/dist/docs/api.json +1 -1
  643. package/dist/docs/docs.json +1 -1
  644. package/dist/docs/vscode.css-custom-data.json +1 -1
  645. package/dist/docs/vscode.html-custom-data.json +1 -1
  646. package/dist/docs/web-types.json +1 -1
  647. package/dist/index.d.ts +4 -0
  648. package/dist/index.js +1 -1
  649. package/dist/loader.js +12 -11
  650. package/dist/types/lumina.d.ts +10 -5
  651. package/dist/types/preact.d.ts +11 -5
  652. package/dist/types/react.d.ts +12 -5
  653. package/dist/types/stencil.d.ts +10 -5
  654. package/dist/utils/layer-list-utils.d.ts +2 -2
  655. package/package.json +7 -7
  656. package/dist/cdn/3DSZKELU.js +0 -2
  657. package/dist/cdn/4GRP4KX3.js +0 -2
  658. package/dist/cdn/7R2TTA5R.js +0 -2
  659. package/dist/cdn/AI5PXN2E.js +0 -2
  660. package/dist/cdn/AKDB2XVJ.js +0 -2
  661. package/dist/cdn/AN3BGKZP.js +0 -2
  662. package/dist/cdn/BCCCO3CN.js +0 -2
  663. package/dist/cdn/D7RGMPF3.js +0 -2
  664. package/dist/cdn/DBA7NSTP.js +0 -2
  665. package/dist/cdn/E7RFFMRP.js +0 -2
  666. package/dist/cdn/EZCNI254.js +0 -2
  667. package/dist/cdn/F46CTQWP.js +0 -2
  668. package/dist/cdn/F4O7DFPZ.js +0 -2
  669. package/dist/cdn/FDXRUZWU.js +0 -2
  670. package/dist/cdn/FUQD5XQR.js +0 -2
  671. package/dist/cdn/FZWFKZLW.js +0 -2
  672. package/dist/cdn/GIOUZTHM.js +0 -2
  673. package/dist/cdn/GP3PLD2F.js +0 -2
  674. package/dist/cdn/GTRQNPQ7.js +0 -2
  675. package/dist/cdn/HH5GEJCC.js +0 -2
  676. package/dist/cdn/IETZFE3P.js +0 -2
  677. package/dist/cdn/JBHAJ6GW.js +0 -2
  678. package/dist/cdn/K6D2JHC4.js +0 -2
  679. package/dist/cdn/KJ6TWPZT.js +0 -2
  680. package/dist/cdn/KM2GXXBO.js +0 -4
  681. package/dist/cdn/KY3ND2AY.js +0 -2
  682. package/dist/cdn/LE373OSG.js +0 -2
  683. package/dist/cdn/LGW5AS6R.js +0 -2
  684. package/dist/cdn/NIUMOIYZ.js +0 -2
  685. package/dist/cdn/NOIAW4P4.js +0 -2
  686. package/dist/cdn/O57LOC52.js +0 -2
  687. package/dist/cdn/P5HSMYWG.js +0 -2
  688. package/dist/cdn/PLTLRYBF.js +0 -2
  689. package/dist/cdn/QDXORLKV.js +0 -2
  690. package/dist/cdn/QKON7YGO.js +0 -2
  691. package/dist/cdn/QUZTFUWM.js +0 -1
  692. package/dist/cdn/S62FQUEJ.js +0 -2
  693. package/dist/cdn/TZHXSIXK.js +0 -2
  694. package/dist/cdn/UHK5GFKQ.js +0 -2
  695. package/dist/cdn/WEAGLY7B.js +0 -2
  696. package/dist/cdn/WYNLO2MH.js +0 -2
  697. package/dist/cdn/XIYYT5SJ.js +0 -2
  698. package/dist/cdn/XKHGN6LQ.js +0 -2
  699. package/dist/cdn/Y2LELW5Y.js +0 -2
  700. package/dist/cdn/YDB2XJRU.js +0 -2
  701. package/dist/cdn/YY45XUPP.js +0 -2
  702. package/dist/cdn/Z6AYJE6L.js +0 -2
  703. package/dist/cdn/ZEKQYUW3.js +0 -2
  704. package/dist/cdn/ZOHGLZNV.js +0 -2
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as u}from"./XAADUJ74.js";import{i as d}from"./BAOWXZTE.js";import{a as g}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{N as n,O as o,P as m,U as p,X as h,a as r,b as t,x as c}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var v=r`:host{--calcite-label-margin-bottom: 0;width:100%}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs);width:100%}.heading{display:grid;grid-template-columns:minmax(0,1fr) 1.5rem;align-items:center;gap:var(--calcite-spacing-xs);min-block-size:1.5rem}.label{min-inline-size:0;overflow-wrap:anywhere}.reset{--calcite-button-text-color: var(--calcite-color-text-3);inline-size:100%}calcite-select{inline-size:100%;min-inline-size:0}`,l=class extends m{constructor(){super(...arguments),this.messages=g({}),this._selectRef=n(),this.options=[],this.scale="m",this.canReset=!1,this.arcgisInternalUnitReset=c({bubbles:!1,composed:!1}),this.arcgisUnitSelectChange=c()}static{this.properties={options:[1,{type:Array}],scale:1,selectLabel:1,value:0,canReset:5,resetLabel:1,messageOverrides:0,label:1}}static{this.styles=v}async destroy(){await this.manager.destroy()}async _resetUnit(){this.arcgisInternalUnitReset.emit(),await this.updateComplete,await this._selectRef.value?.setFocus()}render(){let{messages:s,options:b=[],selectLabel:a,value:f,arcgisUnitSelectChange:$}=this,i=this.resetLabel??s.reset;return t`<calcite-label .scale=${this.scale}><div class="root"><div class="heading"><span class="label">${a}</span>${this.canReset&&i&&t`<calcite-button class="reset" appearance=transparent icon-start=reset kind=neutral .label=${`${i}: ${a}`} title=${i??p} scale=s @click=${this._resetUnit}></calcite-button>`||""}</div><calcite-select .label=${a} @calciteSelectChange=${e=>{$.emit(e.target.value)}} .scale=${this.scale} ${o(this._selectRef)}>${u(b,e=>e,e=>t`<calcite-option .selected=${e===f} .value=${e}>${d(e)?s.systems?.[e]:s.units?.[e]}</calcite-option>`)}</calcite-select></div></calcite-label>`}};h("arcgis-unit-select",l);export{l as ArcgisUnitSelect};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as u}from"./DUMHDAYP.js";import{i as d}from"./FXUZU52U.js";import{a as g}from"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{N as n,O as o,P as m,U as p,X as h,a as r,b as t,x as c}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var v=r`:host{--calcite-label-margin-bottom: 0;width:100%}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs);width:100%}.heading{display:grid;grid-template-columns:minmax(0,1fr) 1.5rem;align-items:center;gap:var(--calcite-spacing-xs);min-block-size:1.5rem}.label{min-inline-size:0;overflow-wrap:anywhere}.reset{--calcite-button-text-color: var(--calcite-color-text-3);inline-size:100%}calcite-select{inline-size:100%;min-inline-size:0}`,l=class extends m{constructor(){super(...arguments),this.messages=g({}),this._selectRef=n(),this.options=[],this.scale="m",this.canReset=!1,this.arcgisInternalUnitReset=c({bubbles:!1,composed:!1}),this.arcgisUnitSelectChange=c()}static{this.properties={options:[1,{type:Array}],scale:1,selectLabel:1,value:0,canReset:5,resetLabel:1,messageOverrides:0,label:1}}static{this.styles=v}async destroy(){await this.manager.destroy()}async _resetUnit(){this.arcgisInternalUnitReset.emit(),await this.updateComplete,await this._selectRef.value?.setFocus()}render(){let{messages:s,options:b=[],selectLabel:a,value:f,arcgisUnitSelectChange:$}=this,i=this.resetLabel??s.reset;return t`<calcite-label .scale=${this.scale}><div class="root"><div class="heading"><span class="label">${a}</span>${this.canReset&&i&&t`<calcite-button class="reset" appearance=transparent icon-start=reset kind=neutral .label=${`${i}: ${a}`} title=${i??p} scale=s @click=${this._resetUnit}></calcite-button>`||""}</div><calcite-select .label=${a} @calciteSelectChange=${e=>{$.emit(e.target.value)}} .scale=${this.scale} ${o(this._selectRef)}>${u(b,e=>e,e=>t`<calcite-option .selected=${e===f} .value=${e}>${d(e)?s.systems?.[e]:s.units?.[e]}</calcite-option>`)}</calcite-select></div></calcite-label>`}};h("arcgis-unit-select",l);export{l as ArcgisUnitSelect};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import b from"./TMJX7DFH.js";import{a as f}from"./WEAGLY7B.js";import{h as g}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as m,X as d,a as u,b as a,p as n,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([k,{d:b}])=>{var w=u`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`,C=20,N=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),c=class extends m{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._subnetworkNamesState="ready",this._compatibleSubnetworkNames=[],this.traceConfigurations=[],this.hideSubnetworkInfo=!1,this.hideErrors=!1,this.state="ready",this.arcgisPropertyChange=g()("selectedNamedTraceConfiguration","traceConfiguration"),this.arcgisError=h()}static{this.properties={_subnetworksTable:16,_subnetworkNamesState:16,_compatibleSubnetworkNames:16,messageOverrides:0,selectedNamedTraceConfiguration:0,traceConfigurations:0,utilityNetwork:0,heading:1,traceConfiguration:0,isSubnetworkNameTraceSelected:32,hideSubnetworkInfo:5,hideErrors:5,error:1,state:1}}static{this.styles=w}get#e(){return this.traceConfiguration?.subnetworkName??void 0}set#e(e){this.traceConfiguration&&(this.traceConfiguration.subnetworkName=e)}get isSubnetworkNameTraceSelected(){let{selectedNamedTraceConfiguration:e}=this;return!!e?.traceConfiguration?.subnetworkName&&e?.traceType==="subnetwork"}willUpdate(e){e.has("traceConfigurations")&&this.#m(),e.has("selectedNamedTraceConfiguration")&&this.#s(),e.has("utilityNetwork")&&this.#h()}async#s(){let{selectedNamedTraceConfiguration:e,_messages:t}=this;if(!(e?.traceConfiguration instanceof k)){this.#t(t.errors.noTraceConfiguration),this.traceConfiguration=void 0,this.arcgisPropertyChange.emit({name:"traceConfiguration"});return}this.#i(),this.traceConfiguration=e.traceConfiguration.clone(),this.arcgisPropertyChange.emit({name:"selectedNamedTraceConfiguration"}),this.arcgisPropertyChange.emit({name:"traceConfiguration"}),this.isSubnetworkNameTraceSelected&&(this._subnetworkNamesState="loading",this.state="loading",await this.#o(this.traceConfiguration),this._subnetworkNamesState="ready",this.state="ready")}async#o(e){await this.#n(),await this.#c(),e.subnetworkName&&!this._compatibleSubnetworkNames.some(t=>t===e.subnetworkName)&&(this.#e=this._compatibleSubnetworkNames.at(0))}async#n(){this._subnetworksTable||(this._subnetworksTable=await this.utilityNetwork?.loadSubnetworksTable())}async#c(){let{_subnetworksTable:e}=this;if(!e)return;let t=e.fieldsIndex.get("SUBNETWORKNAME"),i=(o,l,p)=>l===0||o.getAttribute(t.name)!==p[l-1].getAttribute(t.name),r=e.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.where=this.#l(),r.outFields=[t.name],r.orderByFields=[t.name];let{features:s}=await b(e,r,void 0,!1);this._compatibleSubnetworkNames=s.filter(i).map(o=>o.getAttribute(t.name))}#l(){let e=this.traceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}#u(e){let t=this.traceConfigurations.find(i=>i.globalId===e);if(!t){this.#t(this._messages.errors.traceConfigurationNotFound),this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0;return}this.#i(),this.selectedNamedTraceConfiguration=t}#h(){this.#e=void 0,this._subnetworksTable=void 0,this._compatibleSubnetworkNames=[]}#m(){this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this.traceConfigurations.length?(this.#i(),this.selectedNamedTraceConfiguration=this.traceConfigurations.find(e=>e.traceConfiguration instanceof k),this.#s()):this.#t(this._messages.errors.noTraceConfigurations)}#t(e){n("error",this,e),this.error=e,this.state="error",this.arcgisError.emit()}#i(){this.error=void 0,this.state="ready"}#a(e,t){return a`<div class="key-value-pair"><div class="key-value-pair__key">${e}</div><div class="key-value-pair__value">${t}</div></div>`}#r(e,t=!1,i="exclamation-mark-triangle"){return this.hideErrors?null:a`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}#d(){let{selectedNamedTraceConfiguration:e}=this;return a`<calcite-label>${e?.title}</calcite-label>`}#g(){let e=this.traceConfigurations.map(i=>a`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId===this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`),t=this._messages.labels.traceConfiguration;return a`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:i})=>{let r=i.selectedItems[0]?.value;this.#u(r)}}>${e}</calcite-combobox>`}#b(){let{_messages:e}=this;if(this.error===e.errors.noTraceConfigurations)return this.#r(e.errors.noTraceConfigurations);let t=this.error?this.#r(this.error):null,i=this.traceConfigurations.length>1?this.#g():this.#d(),r=this._messages.labels.traceConfiguration,s=this.heading??r;return a`<calcite-block .heading=${s} .label=${r} expanded>${i}${t}</calcite-block>`}#f(){if(this.hideSubnetworkInfo)return null;let{_messages:e,selectedNamedTraceConfiguration:t}=this;if(!t?.traceConfiguration)return this.traceConfiguration=void 0,this.#t(this._messages.errors.noTraceConfiguration),null;this.#i();let{domainNetworkName:i,tierName:r,targetTierName:s}=t.traceConfiguration;return!i&&!r&&!s?(n("warn",this,"`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."),null):a`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i?this.#a(e.headings.domainNetwork,i):null}${r?this.#a(e.headings.tier,r):null}${s?this.#a(e.headings.targetTier,s):null}</div></calcite-block>`}#k(){let{_messages:e}=this,t=e.labels.subnetworkName;return this.isSubnetworkNameTraceSelected?this._subnetworkNamesState==="loading"?a`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:this._compatibleSubnetworkNames.length?a`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length>C?this.#p():this.#w()}</calcite-block>`:this.#r(e.errors.noCompatibleSubnetworks):null}#p(){let{_messages:e}=this;return a`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e?"valid":"invalid"} .value=${this.#e} @calciteInputInput=${t=>this.#e=t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`}#w(){return a`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let t=e.selectedItems[0]?.value;this.#e=t}}>${this._compatibleSubnetworkNames.map(e=>a`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e===this.#e}></calcite-combobox-item>`)}</calcite-combobox>`}render(){let{selectedNamedTraceConfiguration:e}=this,t=e?.traceType&&N.has(e.traceType)?a`${this.#f()}${this.#k()}`:null;return a`${this.#b()}${t}`}};d("arcgis-utility-network-trace-configuration-picker",c);return c},"networks/support/UNTraceConfiguration",b)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import b from"./HU57LQOA.js";import{a as f}from"./ZSPYPXBY.js";import{h as g}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as m,X as d,a as u,b as a,p as n,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([k,{d:b}])=>{var w=u`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`,C=20,N=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),c=class extends m{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._subnetworkNamesState="ready",this._compatibleSubnetworkNames=[],this.traceConfigurations=[],this.hideSubnetworkInfo=!1,this.hideErrors=!1,this.state="ready",this.arcgisPropertyChange=g()("selectedNamedTraceConfiguration","traceConfiguration"),this.arcgisError=h()}static{this.properties={_subnetworksTable:16,_subnetworkNamesState:16,_compatibleSubnetworkNames:16,messageOverrides:0,selectedNamedTraceConfiguration:0,traceConfigurations:0,utilityNetwork:0,heading:1,traceConfiguration:0,isSubnetworkNameTraceSelected:32,hideSubnetworkInfo:5,hideErrors:5,error:1,state:1}}static{this.styles=w}get#e(){return this.traceConfiguration?.subnetworkName??void 0}set#e(e){this.traceConfiguration&&(this.traceConfiguration.subnetworkName=e)}get isSubnetworkNameTraceSelected(){let{selectedNamedTraceConfiguration:e}=this;return!!e?.traceConfiguration?.subnetworkName&&e?.traceType==="subnetwork"}willUpdate(e){e.has("traceConfigurations")&&this.#m(),e.has("selectedNamedTraceConfiguration")&&this.#s(),e.has("utilityNetwork")&&this.#h()}async#s(){let{selectedNamedTraceConfiguration:e,_messages:t}=this;if(!(e?.traceConfiguration instanceof k)){this.#t(t.errors.noTraceConfiguration),this.traceConfiguration=void 0,this.arcgisPropertyChange.emit({name:"traceConfiguration"});return}this.#i(),this.traceConfiguration=e.traceConfiguration.clone(),this.arcgisPropertyChange.emit({name:"selectedNamedTraceConfiguration"}),this.arcgisPropertyChange.emit({name:"traceConfiguration"}),this.isSubnetworkNameTraceSelected&&(this._subnetworkNamesState="loading",this.state="loading",await this.#o(this.traceConfiguration),this._subnetworkNamesState="ready",this.state="ready")}async#o(e){await this.#n(),await this.#c(),e.subnetworkName&&!this._compatibleSubnetworkNames.some(t=>t===e.subnetworkName)&&(this.#e=this._compatibleSubnetworkNames.at(0))}async#n(){this._subnetworksTable||(this._subnetworksTable=await this.utilityNetwork?.loadSubnetworksTable())}async#c(){let{_subnetworksTable:e}=this;if(!e)return;let t=e.fieldsIndex.get("SUBNETWORKNAME"),i=(o,l,p)=>l===0||o.getAttribute(t.name)!==p[l-1].getAttribute(t.name),r=e.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.where=this.#l(),r.outFields=[t.name],r.orderByFields=[t.name];let{features:s}=await b(e,r,void 0,!1);this._compatibleSubnetworkNames=s.filter(i).map(o=>o.getAttribute(t.name))}#l(){let e=this.traceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}#u(e){let t=this.traceConfigurations.find(i=>i.globalId===e);if(!t){this.#t(this._messages.errors.traceConfigurationNotFound),this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0;return}this.#i(),this.selectedNamedTraceConfiguration=t}#h(){this.#e=void 0,this._subnetworksTable=void 0,this._compatibleSubnetworkNames=[]}#m(){this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this.traceConfigurations.length?(this.#i(),this.selectedNamedTraceConfiguration=this.traceConfigurations.find(e=>e.traceConfiguration instanceof k),this.#s()):this.#t(this._messages.errors.noTraceConfigurations)}#t(e){n("error",this,e),this.error=e,this.state="error",this.arcgisError.emit()}#i(){this.error=void 0,this.state="ready"}#a(e,t){return a`<div class="key-value-pair"><div class="key-value-pair__key">${e}</div><div class="key-value-pair__value">${t}</div></div>`}#r(e,t=!1,i="exclamation-mark-triangle"){return this.hideErrors?null:a`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}#d(){let{selectedNamedTraceConfiguration:e}=this;return a`<calcite-label>${e?.title}</calcite-label>`}#g(){let e=this.traceConfigurations.map(i=>a`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId===this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`),t=this._messages.labels.traceConfiguration;return a`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:i})=>{let r=i.selectedItems[0]?.value;this.#u(r)}}>${e}</calcite-combobox>`}#b(){let{_messages:e}=this;if(this.error===e.errors.noTraceConfigurations)return this.#r(e.errors.noTraceConfigurations);let t=this.error?this.#r(this.error):null,i=this.traceConfigurations.length>1?this.#g():this.#d(),r=this._messages.labels.traceConfiguration,s=this.heading??r;return a`<calcite-block .heading=${s} .label=${r} expanded>${i}${t}</calcite-block>`}#f(){if(this.hideSubnetworkInfo)return null;let{_messages:e,selectedNamedTraceConfiguration:t}=this;if(!t?.traceConfiguration)return this.traceConfiguration=void 0,this.#t(this._messages.errors.noTraceConfiguration),null;this.#i();let{domainNetworkName:i,tierName:r,targetTierName:s}=t.traceConfiguration;return!i&&!r&&!s?(n("warn",this,"`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."),null):a`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i?this.#a(e.headings.domainNetwork,i):null}${r?this.#a(e.headings.tier,r):null}${s?this.#a(e.headings.targetTier,s):null}</div></calcite-block>`}#k(){let{_messages:e}=this,t=e.labels.subnetworkName;return this.isSubnetworkNameTraceSelected?this._subnetworkNamesState==="loading"?a`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:this._compatibleSubnetworkNames.length?a`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length>C?this.#p():this.#w()}</calcite-block>`:this.#r(e.errors.noCompatibleSubnetworks):null}#p(){let{_messages:e}=this;return a`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e?"valid":"invalid"} .value=${this.#e} @calciteInputInput=${t=>this.#e=t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`}#w(){return a`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let t=e.selectedItems[0]?.value;this.#e=t}}>${this._compatibleSubnetworkNames.map(e=>a`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e===this.#e}></calcite-combobox-item>`)}</calcite-combobox>`}render(){let{selectedNamedTraceConfiguration:e}=this,t=e?.traceType&&N.has(e.traceType)?a`${this.#f()}${this.#k()}`:null;return a`${this.#b()}${t}`}};d("arcgis-utility-network-trace-configuration-picker",c);return c},"networks/support/UNTraceConfiguration",b)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as g}from"./KBHLE7HT.js";import{a as r}from"./WEAGLY7B.js";import{N as u,O as o,P as l,R as d,X as h,b as i}from"./EKR2SAT2.js";export default $arcgis.t(([{createReactiveMap:v},{watch:b},{substitute:p}])=>{var c=class extends l{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=u(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,associatedFeatureCount:s,featuresPerPage:n,currentFeaturePage:a}=this;e==="ready"&&t&&s>=n*a&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this._messages=r({name:"utility-network-associations",blocking:!0}),this._messagesCommon=r({name:"common",blocking:!0}),this._tooltipReferenceCallbacks=new Map,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,endIndex:32,featuresPerPage:9,maxFeatureCount:9,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let e=this.associationViewModels,t=this.selectedLayer?e.get(this.selectedLayer):null;return t?t.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(e){let{featuresPerPage:t,associatedFeatureCount:s}=this,n=Math.ceil(s/t)||1,a=Math.max(Math.min(e,n),1);this._currentFeaturePage=a}get endIndex(){let{currentFeaturePage:e,featuresPerPage:t,maxFeatureCount:s}=this;return Math.min(e*t,s)}disconnectedCallback(){this._associationFeaturesIntersectionObserver.disconnect(),this._tooltipReferenceCallbacks.clear(),this.tooltipReferenceMap.clear(),super.disconnectedCallback()}loaded(){this.manager.onLifecycle(()=>[b(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(e){let{_messages:t}=this;switch(e){case"connectivity":case"junction-junction-connectivity":return t.associationsJunctionJunction;case"junction-edge-from-connectivity":return t.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return t.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return t.associationsJunctionEdgeTo;default:return""}}_getTooltipReferenceCallback(e){let t=this._tooltipReferenceCallbacks.get(e);return t||(t=s=>{s?this.tooltipReferenceMap.set(e,s):(this.tooltipReferenceMap.delete(e),this._tooltipReferenceCallbacks.delete(e))},this._tooltipReferenceCallbacks.set(e,t)),t}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:e,showAllEnabled:t}=this;this._associationFeaturesIntersectionObserverNode.value&&e==="ready"&&t&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(e,t){let s;switch(e){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;default:s="connection-to-connection"}return i`<calcite-icon .icon=${s} scale=s slot=content-start ${o(this._getTooltipReferenceCallback(t))}></calcite-icon>`}_renderFeatureCountWarning(){let{_messages:e,associatedFeatureCount:t,maxFeatureCount:s}=this,n=p(e.associationsLimitNoticeMessage??"",{number:s}),a=t>s,m=e.associationsLimitNoticeTitle??"";return a?i`<calcite-notice class=${d(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${m}</div><div slot=message>${n}</div></calcite-notice>`:null}_renderFeatureObserver(){return i`<div class="feature-observer" ${o(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return g("loading-container",i`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let e=this._messagesCommon.loading??"";return i`<calcite-loader inline .label=${e}></calcite-loader>`}};h("arcgis-utility-network-association-list",c);return c},"applications/Components/featureUtils","core/reactiveUtils","intl")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as g}from"./PIDNZKSJ.js";import{a as r}from"./ZSPYPXBY.js";import{N as u,O as o,P as l,R as d,X as h,b as i}from"./3UMLR76Y.js";export default $arcgis.t(([{createReactiveMap:v},{watch:b},{substitute:p}])=>{var c=class extends l{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=u(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,associatedFeatureCount:s,featuresPerPage:n,currentFeaturePage:a}=this;e==="ready"&&t&&s>=n*a&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this._messages=r({name:"utility-network-associations",blocking:!0}),this._messagesCommon=r({name:"common",blocking:!0}),this._tooltipReferenceCallbacks=new Map,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,endIndex:32,featuresPerPage:9,maxFeatureCount:9,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let e=this.associationViewModels,t=this.selectedLayer?e.get(this.selectedLayer):null;return t?t.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(e){let{featuresPerPage:t,associatedFeatureCount:s}=this,n=Math.ceil(s/t)||1,a=Math.max(Math.min(e,n),1);this._currentFeaturePage=a}get endIndex(){let{currentFeaturePage:e,featuresPerPage:t,maxFeatureCount:s}=this;return Math.min(e*t,s)}disconnectedCallback(){this._associationFeaturesIntersectionObserver.disconnect(),this._tooltipReferenceCallbacks.clear(),this.tooltipReferenceMap.clear(),super.disconnectedCallback()}loaded(){this.manager.onLifecycle(()=>[b(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(e){let{_messages:t}=this;switch(e){case"connectivity":case"junction-junction-connectivity":return t.associationsJunctionJunction;case"junction-edge-from-connectivity":return t.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return t.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return t.associationsJunctionEdgeTo;default:return""}}_getTooltipReferenceCallback(e){let t=this._tooltipReferenceCallbacks.get(e);return t||(t=s=>{s?this.tooltipReferenceMap.set(e,s):(this.tooltipReferenceMap.delete(e),this._tooltipReferenceCallbacks.delete(e))},this._tooltipReferenceCallbacks.set(e,t)),t}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:e,showAllEnabled:t}=this;this._associationFeaturesIntersectionObserverNode.value&&e==="ready"&&t&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(e,t){let s;switch(e){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;default:s="connection-to-connection"}return i`<calcite-icon .icon=${s} scale=s slot=content-start ${o(this._getTooltipReferenceCallback(t))}></calcite-icon>`}_renderFeatureCountWarning(){let{_messages:e,associatedFeatureCount:t,maxFeatureCount:s}=this,n=p(e.associationsLimitNoticeMessage??"",{number:s}),a=t>s,m=e.associationsLimitNoticeTitle??"";return a?i`<calcite-notice class=${d(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${m}</div><div slot=message>${n}</div></calcite-notice>`:null}_renderFeatureObserver(){return i`<div class="feature-observer" ${o(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return g("loading-container",i`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let e=this._messagesCommon.loading??"";return i`<calcite-loader inline .label=${e}></calcite-loader>`}};h("arcgis-utility-network-association-list",c);return c},"applications/Components/featureUtils","core/reactiveUtils","intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{N as r,O as n,P as m,X as p,b as o}from"./EKR2SAT2.js";export default $arcgis.t(([{whenOnce:d}])=>{function f(i,t){return!i||i==="all"||!!(t&&i.includes(t))}var a=class extends m{static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0,exportedLink:0}}#e=r();_closePopover(){this.#e.value&&(this.#e.value.open=!1)}render(){let t=this.messages,e=this.exportedLink,v=e.formattedName??"",{state:c}=e,h=this.showSaveAs&&c!=="error"&&f(this.allowedFormatsForSaving,e.extension);return c!=="pending"&&h?o`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${v}-popover-button`} scale=s ${n(this.#e)}><calcite-list label>${e.portalItem?o`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let l=e.portalItem;if(!l?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=l.itemPageUrl,s.rel="noreferrer",s.click(),this._closePopover()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:o`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{d(()=>e.portalItem).then(()=>{this.requestUpdate()}),this.arcgisSaveAs.emit(e),this._closePopover()}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item .label=${t.delete} @calciteListItemSelect=${()=>{this.viewModel.exportedLinks.remove(e),this._closePopover()}}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}};p("arcgis-print-exports-panel-item-popover",a);return{a:f,b:a}},"core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{N as r,O as n,P as m,X as p,b as o}from"./3UMLR76Y.js";export default $arcgis.t(([{whenOnce:d}])=>{function f(i,t){return!i||i==="all"||!!(t&&i.includes(t))}var a=class extends m{static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0,exportedLink:0}}#e=r();_closePopover(){this.#e.value&&(this.#e.value.open=!1)}render(){let t=this.messages,e=this.exportedLink,v=e.formattedName??"",{state:c}=e,h=this.showSaveAs&&c!=="error"&&f(this.allowedFormatsForSaving,e.extension);return c!=="pending"&&h?o`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${v}-popover-button`} scale=s ${n(this.#e)}><calcite-list label>${e.portalItem?o`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let l=e.portalItem;if(!l?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=l.itemPageUrl,s.rel="noreferrer",s.click(),this._closePopover()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:o`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{d(()=>e.portalItem).then(()=>{this.requestUpdate()}),this.arcgisSaveAs.emit(e),this._closePopover()}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item .label=${t.delete} @calciteListItemSelect=${()=>{this.viewModel.exportedLinks.remove(e),this._closePopover()}}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}};p("arcgis-print-exports-panel-item-popover",a);return{a:f,b:a}},"core/reactiveUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import t from"./NZBID35V.js";import"./4TTVVGYW.js";import{a as g}from"./JCRPP54Z.js";import s from"./3DPVKWFO.js";import r from"./KXGVE4NK.js";import{a as j,b as q,c as z,g as F,h as J,j as K,k as Q,m,n as T}from"./FCNNRX3Q.js";import{a as H}from"./XAADUJ74.js";import{a as b}from"./KBHLE7HT.js";import o from"./IFMBHZHX.js";import n from"./TMJX7DFH.js";import l from"./DSDPDMLP.js";import"./VJVKFKSG.js";import i from"./CQQM24VF.js";import{a as k}from"./WEAGLY7B.js";import{a as w}from"./JD74LG7K.js";import{a as G}from"./YAEJKOYY.js";import h from"./AN3BGKZP.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as B}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as N}from"./WQMZ7BDQ.js";import{B as P,N as L,O as f,P as R,R as v,U as E,V as M,X as x,b as d,x as p}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([re,u,{on:A,watch:te},,,,S,U,,,,,{e:V,h:W,k:X},{a:Y,b:Z,c:ee}])=>{var ie="nested",le=U(re),O=class extends R{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=L(),this._layerFlowItemRef=L(),this._panelFlowItemRef=L(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${P()}`,this._openedLayersController=null,this.messages=k(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,r=m(e,this.operationalItems);if(!r?.sortable)return!1;let l=this._resolveListContainer(t),o=this._resolveListContainer(i),n=this._getContainerItem(l),c=T(l),y=this._getContainerItem(o),_=T(o),$=!!c&&!!_&&c===_,I={selected:r,from:n,to:y},C=l?.group,h=o?.group,se=n?.layer?.type??"",ae=y?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return C&&h&&typeof s=="function"?s(I):$&&!D.has(se)&&!D.has(ae)&&r?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(g.item)),i=m(t,this.operationalItems);this._activeItem=i},this.viewModel=le(this),this.arcgisClose=G(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new u(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new u,this.tileOptions=null,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideCatalogLayerList=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesAvailable=new u(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minDragEnabledItems=z,this.minFilterItems=q,this.openedLayers=new u,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new u,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisFilterChange=p(),this.arcgisOpenedLayersChange=p(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=p(),this.arcgisSelectedItemsChange=p(),this.arcgisTriggerAction=S(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:32,tableList:32,view:0,visibilityAppearance:1}}static{this.styles=[ee,Z]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(e=>!e.hidden&&e.panel?.open&&!e.panel.disabled&&e.panel.flowEnabled&&(!W(e)||V(e)))}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[A(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),A(()=>this.viewModel.operationalItems,"change",()=>F(this.selectedItems),{initial:!0}),te(()=>this.operationalItems.flatten(e=>e.children).map(e=>e.uid).join(","),()=>{F(this.selectedItems),this.requestUpdate()},{initial:!0}),A(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),te(()=>[this.filterPredicate,this._rootListRef.value],()=>J(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_resolveListContainer(e){return e?e.matches("calcite-list")?e:e.closest("calcite-list[data-item]")||(this._rootListRef.value?.contains(e)?this._rootListRef.value:null):null}_getContainerItem(e){let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.operationalItems?.toArray()??[];for(;t.length;){let i=t.shift();if(!i)continue;if(i.uid===e)return i;let a=i.children?.toArray()??[];t.push(...a)}return null}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((o,n)=>{t.includes(n)||(o?.destroy?.(),e.delete(n))});let r=await Promise.all(t.map(o=>this._createFlowList(o,s)));if(s.aborted)return;i.removeAll(),i.addMany(r);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:r,selectionMode:l,visibilityAppearance:o}=this;return M(d`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??r} .selectionMode=${i?.selectionMode??l} .visibilityAppearance=${i?.visibilityAppearance??o} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${n=>n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return M(d`<arcgis-table-list-next .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${r=>r.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=this._resolveListContainer(e),r=this._resolveListContainer(t),l=m(i,this.operationalItems),o=this._getContainerItem(s),n=this._getContainerItem(r);a==null||!l||(this.viewModel.moveItem(l,n,o,a),X(this,l.uid,c=>c!==i&&this._resolveListContainer(c.parentElement)===s))}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:s}=e;if(t!==i){a.remove();return}s==null||!t||!a||t.insertBefore(a,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,s=this._resolveListContainer(e.fromEl),r=this._resolveListContainer(e.toEl),l=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===r&&t?.fromEl===s;if(!(!s||!r||l)){if(this._lastDragDetail={...e,fromEl:s,toEl:r},this._selectedDragItemLayerUid=i.value,s===r){let o=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortLayers(s,o);return}this._moveLayerFromChildList({toEl:r,fromEl:s,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)K(this.el.view?.map?.layers,t);else{let i=m(e,this.operationalItems);if(!i)return;Q(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>m(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{state:e}=this,t={[w.hidden]:e==="loading",[w.disabled]:e==="disabled"};return d`<div class=${v(N(w.widget,t))}>${this._visibleItems?.length?this._renderItemTooltips():null}${this._renderItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?d`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:d`<div class=${v(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return b(e?.uid??s,d`<calcite-flow-item data-layer-uid=${e?.uid??""??E} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${r=>{r.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return H(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:r}=i,l=()=>this._handlePanelFlowItemBack(s);return d`<calcite-flow-item .description=${r} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),l()}} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:r,showCollapseButton:l,showHeading:o,_dragEnabled:n,selectionMode:c,filterText:y,openedLayers:_,filterPlaceholder:$,messages:I}=this,C=[d`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!_.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}>${t?.length?d`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??E} .displayMode=${ie} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${$} .filterProps=${j} .filterText=${a?y:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${c} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>{this.filterText=h.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${f(this._rootListRef)}>${t.toArray().map(h=>this._renderItem(h))}${a&&!this.hideNoFilterResultsNotice?d`<div class=${v(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:b("root-flow",d`<calcite-flow>${C}</calcite-flow>`)}_renderItem(e,t,i){return b(e.uid,Y({activeItem:this._activeItem,canMove:this._canMove,css:g,displayMode:ie,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};x("arcgis-layer-list-next",O);return O},"layers/list/LayerItemCollection","core/Collection","core/reactiveUtils",a,c,e,h,i,l,n,o,r,s,t)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import t from"./GNSNEUMI.js";import"./53OXTCE6.js";import{a as g}from"./4L43F7HU.js";import s from"./VDEMMP33.js";import r from"./Z2UUXST4.js";import{a as j,b as q,c as z,g as F,h as J,j as K,k as Q,m,n as T}from"./ZCFWKPXL.js";import{a as H}from"./DUMHDAYP.js";import{a as b}from"./PIDNZKSJ.js";import o from"./WBBTZNZU.js";import n from"./HU57LQOA.js";import l from"./RUYAWRPV.js";import"./WJQUE4DR.js";import i from"./5YHHJ5ZE.js";import{a as k}from"./ZSPYPXBY.js";import{a as w}from"./L5IRXOCJ.js";import{a as G}from"./SIFBGT4D.js";import h from"./M3ZQGUYQ.js";import e from"./HA4XWZH4.js";import c from"./HPWF3IQV.js";import{h as B}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as N}from"./ZKWI43WZ.js";import{B as P,N as L,O as f,P as R,R as v,U as E,V as M,X as x,b as d,x as p}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([re,u,{on:A,watch:te},,,,S,U,,,,,{e:V,h:W,k:X},{a:Y,b:Z,c:ee}])=>{var ie="nested",le=U(re),O=class extends R{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=L(),this._layerFlowItemRef=L(),this._panelFlowItemRef=L(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${P()}`,this._openedLayersController=null,this.messages=k(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,r=m(e,this.operationalItems);if(!r?.sortable)return!1;let l=this._resolveListContainer(t),o=this._resolveListContainer(i),n=this._getContainerItem(l),c=T(l),y=this._getContainerItem(o),_=T(o),$=!!c&&!!_&&c===_,I={selected:r,from:n,to:y},C=l?.group,h=o?.group,se=n?.layer?.type??"",ae=y?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return C&&h&&typeof s=="function"?s(I):$&&!D.has(se)&&!D.has(ae)&&r?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(g.item)),i=m(t,this.operationalItems);this._activeItem=i},this.viewModel=le(this),this.arcgisClose=G(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new u(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new u,this.tileOptions=null,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideCatalogLayerList=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesAvailable=new u(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minDragEnabledItems=z,this.minFilterItems=q,this.openedLayers=new u,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new u,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisFilterChange=p(),this.arcgisOpenedLayersChange=p(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=p(),this.arcgisSelectedItemsChange=p(),this.arcgisTriggerAction=S(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:32,tableList:32,view:0,visibilityAppearance:1}}static{this.styles=[ee,Z]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(e=>!e.hidden&&e.panel?.open&&!e.panel.disabled&&e.panel.flowEnabled&&(!W(e)||V(e)))}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[A(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),A(()=>this.viewModel.operationalItems,"change",()=>F(this.selectedItems),{initial:!0}),te(()=>this.operationalItems.flatten(e=>e.children).map(e=>e.uid).join(","),()=>{F(this.selectedItems),this.requestUpdate()},{initial:!0}),A(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),te(()=>[this.filterPredicate,this._rootListRef.value],()=>J(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_resolveListContainer(e){return e?e.matches("calcite-list")?e:e.closest("calcite-list[data-item]")||(this._rootListRef.value?.contains(e)?this._rootListRef.value:null):null}_getContainerItem(e){let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.operationalItems?.toArray()??[];for(;t.length;){let i=t.shift();if(!i)continue;if(i.uid===e)return i;let a=i.children?.toArray()??[];t.push(...a)}return null}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((o,n)=>{t.includes(n)||(o?.destroy?.(),e.delete(n))});let r=await Promise.all(t.map(o=>this._createFlowList(o,s)));if(s.aborted)return;i.removeAll(),i.addMany(r);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:r,selectionMode:l,visibilityAppearance:o}=this;return M(d`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??r} .selectionMode=${i?.selectionMode??l} .visibilityAppearance=${i?.visibilityAppearance??o} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${n=>n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return M(d`<arcgis-table-list-next .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${r=>r.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=this._resolveListContainer(e),r=this._resolveListContainer(t),l=m(i,this.operationalItems),o=this._getContainerItem(s),n=this._getContainerItem(r);a==null||!l||(this.viewModel.moveItem(l,n,o,a),X(this,l.uid,c=>c!==i&&this._resolveListContainer(c.parentElement)===s))}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:s}=e;if(t!==i){a.remove();return}s==null||!t||!a||t.insertBefore(a,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,s=this._resolveListContainer(e.fromEl),r=this._resolveListContainer(e.toEl),l=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===r&&t?.fromEl===s;if(!(!s||!r||l)){if(this._lastDragDetail={...e,fromEl:s,toEl:r},this._selectedDragItemLayerUid=i.value,s===r){let o=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortLayers(s,o);return}this._moveLayerFromChildList({toEl:r,fromEl:s,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)K(this.el.view?.map?.layers,t);else{let i=m(e,this.operationalItems);if(!i)return;Q(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>m(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{state:e}=this,t={[w.hidden]:e==="loading",[w.disabled]:e==="disabled"};return d`<div class=${v(N(w.widget,t))}>${this._visibleItems?.length?this._renderItemTooltips():null}${this._renderItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?d`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:d`<div class=${v(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return b(e?.uid??s,d`<calcite-flow-item data-layer-uid=${e?.uid??""??E} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${r=>{r.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return H(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:r}=i,l=()=>this._handlePanelFlowItemBack(s);return d`<calcite-flow-item .description=${r} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),l()}} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:r,showCollapseButton:l,showHeading:o,_dragEnabled:n,selectionMode:c,filterText:y,openedLayers:_,filterPlaceholder:$,messages:I}=this,C=[d`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!_.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}>${t?.length?d`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??E} .displayMode=${ie} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${$} .filterProps=${j} .filterText=${a?y:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${c} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>{this.filterText=h.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${f(this._rootListRef)}>${t.toArray().map(h=>this._renderItem(h))}${a&&!this.hideNoFilterResultsNotice?d`<div class=${v(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:b("root-flow",d`<calcite-flow>${C}</calcite-flow>`)}_renderItem(e,t,i){return b(e.uid,Y({activeItem:this._activeItem,canMove:this._canMove,css:g,displayMode:ie,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};x("arcgis-layer-list-next",O);return O},"layerList/LayerListModel","core/Collection","core/reactiveUtils",a,c,e,h,i,l,n,o,r,s,t)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{f as m}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as g,X as p,b as t}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:v}])=>{var n=class extends g{constructor(){super(...arguments),this._direction=m(),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,_isLive:16,viewModel:0,messages:0,inline:7}}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:i,playing:e}=this.viewModel;this._disabled=i==="not-ready"||i==="waiting",this._playing=e},{initial:!0}),v(()=>this.viewModel.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0})])}render(){let{viewModel:i,messages:e,_disabled:a,_playing:c}=this,s=this._isLive,h=this._direction==="rtl",l=t`<calcite-action .active=${c} alignment=center .disabled=${a} .icon=${c?"pause-f":"play-f"} @click=${c?()=>i.pause():()=>i.play()} scale=s .text=${c?e.pause:e.play}></calcite-action>`,$=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=reverse-f @click=${()=>i.seekBackward()} scale=s .text=${e.reverse}></calcite-action>`,y=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=forward-f @click=${()=>i.seekForward()} scale=s .text=${e.forward}></calcite-action>`,o=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=beginning-f @click=${()=>i.seekToBeginning()} scale=s .text=${e.beginning}></calcite-action>`,r=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=end-f @click=${()=>i.seekToEnding()} scale=s .text=${e.end}></calcite-action>`,d=this.inline?[o,l,r]:[o,$,l,y,r];return h&&d.reverse(),t`<calcite-action-bar expand-toggle-disabled layout=horizontal scale=s>${d}</calcite-action-bar>`}};p("arcgis-video-player-actions-group",n);return n},"core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{f as m}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as g,X as p,b as t}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:v}])=>{var n=class extends g{constructor(){super(...arguments),this._direction=m(),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,_isLive:16,viewModel:0,messages:0,inline:7}}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:i,playing:e}=this.viewModel;this._disabled=i==="not-ready"||i==="waiting",this._playing=e},{initial:!0}),v(()=>this.viewModel.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0})])}render(){let{viewModel:i,messages:e,_disabled:a,_playing:c}=this,s=this._isLive,h=this._direction==="rtl",l=t`<calcite-action .active=${c} alignment=center .disabled=${a} .icon=${c?"pause-f":"play-f"} @click=${c?()=>i.pause():()=>i.play()} scale=s .text=${c?e.pause:e.play}></calcite-action>`,$=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=reverse-f @click=${()=>i.seekBackward()} scale=s .text=${e.reverse}></calcite-action>`,y=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=forward-f @click=${()=>i.seekForward()} scale=s .text=${e.forward}></calcite-action>`,o=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=beginning-f @click=${()=>i.seekToBeginning()} scale=s .text=${e.beginning}></calcite-action>`,r=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=end-f @click=${()=>i.seekToEnding()} scale=s .text=${e.end}></calcite-action>`,d=this.inline?[o,l,r]:[o,$,l,y,r];return h&&d.reverse(),t`<calcite-action-bar expand-toggle-disabled layout=horizontal scale=s>${d}</calcite-action-bar>`}};p("arcgis-video-player-actions-group",n);return n},"core/reactiveUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{c as t}from"./JAZGNQRP.js";import{x as e}from"./EKR2SAT2.js";var i=t((o,s)=>(s.onLoaded(()=>{let l=o.el;o.listenOn(l.childElem,"calciteFlowItemClose",()=>{o.arcgisClose.emit(),o.autoDestroyDisabled||o.destroy()})}),e()));export{i as a};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{c as t}from"./IFR4IYSI.js";import{x as e}from"./3UMLR76Y.js";var i=t((o,s)=>(s.onLoaded(()=>{let l=o.el;o.listenOn(l.childElem,"calciteFlowItemClose",()=>{o.arcgisClose.emit(),o.autoDestroyDisabled||o.destroy()})}),e()));export{i as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{b as M,c as k}from"./5ITYFVDX.js";import a from"./RUYAWRPV.js";import{b as F,c as w,f as G}from"./IFR4IYSI.js";import{c as R,f as O,h as A}from"./ZKWI43WZ.js";import{N as S,b as y,o as d,x as b,z as C}from"./3UMLR76Y.js";export default $arcgis.t(([{initializeProjection:T},{signal:j},{watch:u,when:q},H,K,{b:D,c:L}])=>{async function*N(n,t){for(let e of n){let o=await d(e,t).catch(()=>{});if(t.aborted)return;yield*Array.isArray(o)?o.filter(i=>i instanceof K):[]}}async function*V(){yield*[]}async function*U(n,t){await d(n,t).catch(()=>{})}async function $(n,t,e,o){let i;if(e instanceof H?(await T(e.spatialReference,n.spatialReference),D(o.signal),i=n.toScreen(e)):i=e,!i)return V();let p=Promise.withResolvers(),a=n.fetchPopupFeatures(i,{...o,defaultPopupTemplateEnabled:t.defaultPopupTemplateEnabled,hitTestResolver:p})??V();return await p.promise,a}function g(n,t){if(t instanceof H)return t;let e="width"in t?{x:t.x+t.width/2,y:t.y+t.height/2}:t;return n.toMap(e)??void 0}async function z(n,t,e,o){let i={};return{diagnostics:i,featureStream:await $(n,t,e,{diagnostics:i,signal:o}),location:g(n,e)}}var x=class extends C{constructor(t){super(t),this.direction=G(),this.popupRef=S(),this._popupElement=j(void 0),this._popupAbortController=null,this._popupClickOpenCount=0,this.slotGroupRefs=M(),this.attributionHeight=0,this._uiContainer=null,this.component.listenOn(globalThis,"unhandledrejection",e=>{let o=e.reason;if(o?.name==="webgl:required"){let{name:i}=o;this.webGLError={name:i}}})}get _focusRegionSelectionSupported(){return!this.component.popupDisabled&&(this.component.popupComponentEnabled||!!this.popupElement&&this.popupElement!==this._defaultPopupElement)}get popupElement(){return this._popupElement.value}set popupElement(t){this._popupElement.value=t}hostLifecycle(){let{view:t}=this.component,e=t.focusRegionShortcutEnabled;return[u(()=>this.component.focusRegionShortcutEnabled??this._focusRegionSelectionSupported,o=>{this.component.view.focusRegionShortcutEnabled=o},{initial:!0,sync:!0}),q(()=>this.component.view.ready,()=>{this._assignDefaultPopup()}),u(()=>this.component.view.popup?.visible,(o,i)=>{(o||i)&&this._cancelPopupOperation(),o&&this.popupElement?.open&&(this.popupElement.open=!1)},{initial:!0}),u(()=>this.component.popupElement?.open,(o,i)=>{i&&!o&&this._cancelPopupOperation()},{initial:!0,sync:!0}),this.component.view.on("focus-region-select",o=>this._handleFocusRegionSelect(o)),this.component.view.on("click",[],o=>{let i=o.native;o.button!==0||i?.ctrlKey||i?.metaKey||this._handleOpenPopup(o).catch(()=>{})},-2),{remove:()=>{t.focusRegionShortcutEnabled=e}}]}hostDestroy(){this._cancelPopupOperation()}async openPopup(t={}){this._assignDefaultPopup();let e=this.popupElement,o=t.location??e?.location,i=!!e&&!t.featureStream&&!t.promises?.length&&!!t.fetchFeatures&&!!o;this._cancelPopupOperation();let p=new AbortController;if(this._popupAbortController=p,e){let{fetchFeatures:a,shouldFocus:h,title:l,featureStream:E,promises:v,location:c,..._}=t,m=c?g(this.component.view,c):void 0,P=c??o,s=i&&P?z(this.component.view,e,P,p.signal):null,f=s?Promise.withResolvers():null;s&&f&&(s.catch(()=>{}),e.featureStream=U(f.promise,p.signal));try{await e.componentOnReady()}catch(r){throw s&&this._isCurrentPopupOperation(p)&&(p.abort(),e.open=!1,await e.clear()),r}if(!this._isCurrentPopupOperation(p))return;if(s)try{let r=await s;if(!this._isCurrentPopupOperation(p))return;Object.assign(e,_),l!==void 0&&(e.heading=l),await e.openFeatureStream(r)}catch(r){if(!L(r))throw this._isCurrentPopupOperation(p)&&(e.open=!1,await e.clear()),r;return}finally{f?.resolve()}else Object.assign(e,_),l!==void 0&&(e.heading=l),E?await e.openFeatureStream({featureStream:E,location:m}):v?.length?await e.openFeatureStream({featureStream:N(v,p.signal),location:m}):(e.featureStream=null,c!==void 0&&(e.location=m),e.open=!0);h&&this._isCurrentPopupOperation(p)&&await e.setFocus()}else{let{location:a,...h}=t;await this.component.view.openPopup({...h,location:a?g(this.component.view,a):void 0})}}closePopup(){this._cancelPopupOperation(),this.popupElement?(this.popupElement.open=!1,this.popupElement.clear()):this.component.view.closePopup()}_cancelPopupOperation(){this._popupAbortController?.abort(),this._popupAbortController=null}_isCurrentPopupOperation(t){return this._popupAbortController===t&&!t.signal.aborted}_assignDefaultPopup(){this.popupRef.value&&!this.popupElement&&(this._defaultPopupElement=this.popupRef.value,this.popupElement=this.popupRef.value,this.popupElement.referenceElement=this.component.el,this.popupElement.view=this.component.view)}handleAttributionHeightChange(t){if(!(this.attributionHeight===t||!this.component.el.shadowRoot)){if(this.attributionHeight=t,!this._uiContainer){let e=this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");this._uiContainer=e}this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top",`${this.attributionHeight}px`)}}_maybeDisableViewPopup(){this.component.view&&(this.component.popupComponentEnabled||this.popupElement)&&(this.previousViewPopupEnabled??=this.component.view.popupEnabled,this.component.view.popupEnabled=!1)}_maybeResetViewPopup(){this.component.view&&this.previousViewPopupEnabled!==void 0&&(this.component.view.popupEnabled=this.previousViewPopupEnabled,this.previousViewPopupEnabled=void 0)}async _handleOpenPopup(t){if(this._assignDefaultPopup(),!this.component.popupDisabled){this._popupClickOpenCount++,this._maybeDisableViewPopup();try{this.popupElement&&await this.openPopup({fetchFeatures:!0,location:{x:t.x,y:t.y}})}finally{this._popupClickOpenCount--,this._popupClickOpenCount||this._maybeResetViewPopup()}}}_handleFocusRegionSelect(t){this._assignDefaultPopup(),!(!this._focusRegionSelectionSupported||!this.popupElement)&&queueMicrotask(()=>{let{focusRegion:e}=this.component.view;!t.defaultPrevented&&e&&this.openPopup({fetchFeatures:!0,location:e}).catch(()=>{})})}_handlePopupSlotChange(t){let e=R(t.target,"arcgis-popup");!this.popupElement&&e.length?this.popupElement=e[0]:e.length||(this.popupElement=void 0)}_webGLErrorAlert(){return this.webGLError?y`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>`:null}render(){return k({direction:this.direction,popupComponentEnabled:this.component.popupComponentEnabled,slotGroupRefs:this.slotGroupRefs,handlePopupSlotChange:t=>this._handlePopupSlotChange(t),webGLErrorElement:this._webGLErrorAlert(),popupElement:this.popupRef})}};function se(n){F((t,e)=>{let o=()=>{if(n.attributionMode!=="auto")return;let i=A(n.el);n.view.attributionMode!==i&&(n.view.attributionMode=i)};e.onLifecycle(()=>(o(),O(n.el,["class"],o))),e.onUpdate(i=>{i.has("attributionMode")&&n.attributionMode==="auto"&&o()})})}var re=w((n,t)=>{let e=b();return t.onLifecycle(()=>u(()=>{let{map:o}=n;if(!o||o.destroyed)return[];let i=[];return o.loadError&&i.push(o),o.basemap?.loadError&&i.push(o.basemap),o.ground.loadError&&i.push(o.ground),[...o.allLayers,...o.allTables].forEach(p=>{p.loadError&&i.push(p)}),i},o=>{o.length&&(n.loadErrorSources=o,e.emit())})),e}),ae=w((n,t)=>{let e=b();return t.onLifecycle(()=>u(()=>n.view?.readyState,o=>{(o==="map-content-error"||o==="rendering-error")&&e.emit()})),e});return{a:x,b:se,c:re,d:ae}},"applications/Components/featureUtils","applications/Components/reactiveUtils","core/reactiveUtils","geometry/Point","Graphic",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  function t(o,i,n){if(!i)throw new Error("`view` is not defined. Cannot go to viewpoint.");return n?n(i,o):i.goTo(o.target,o.options)}export{t as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import h from"./RUYAWRPV.js";import"./WJQUE4DR.js";import g from"./5YHHJ5ZE.js";import{a as x}from"./ZSPYPXBY.js";import f from"./HA4XWZH4.js";import e from"./HPWF3IQV.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as S,X as V,a as b,b as c,p as d,q as y,x as u}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{once:N,watch:M},B,,,,E,{a:_}])=>{var q=b`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}`,R=E(B),f=class extends S{constructor(){super(...arguments),this._messages=x({blocking:!0}),this.#t=[],this.#r=[],this.#a=[],this.#e=R(this),this._currentPage=1,this._filterText="",this._isInitialFeatureServiceInvalid=!1,this._mode="browse-services",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.#e.state,this.versioningStates=this.#e.versioningStates,this.view=this.#e.view,this.arcgisReady=u(),this.arcgisVersioningStateChanged=u()}static{this.properties={_currentPage:16,_editVersionInfo:16,_filterText:16,_isInitialFeatureServiceInvalid:16,_loadError:16,_mode:16,_selectedFeatureService:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,initialVersionInfos:0,label:1,messageOverrides:0,mode:1,pageSize:9,referenceElement:1,state:32,versioningStates:0,view:0}}static{this.styles=q}#t;#r;#a;#e;get initialVersionInfos(){return this.#t}set initialVersionInfos(e){this.#t=e.map(i=>({...i,url:this.#y(i.url)}))}async destroy(){await this.manager.destroy()}async load(){N(()=>this.#e.state==="failed"||this.#e.state==="ready").then(()=>{this._loadError||(this.#S(),this._loadError||this.#l())}),this.manager.onLifecycle(()=>[M(()=>this.view?.map,()=>{this.#b()})])}#l(){this.initialVersionInfos.forEach(e=>{try{this.#c(e)}catch(i){y(this)(i)}})}#c(e){let{url:i,name:a}=e,r=this.#e.versioningStateLookup.get(i);if(!r){this._isInitialFeatureServiceInvalid=!0,d("error",this,`No versioning state found for feature service ${i}`);return}let t=r?.versionInfos.find(g=>g.versionIdentifier.name.toUpperCase()===a.toUpperCase());if(!t){this.#r.push(i),this.requestUpdate(),d("error",this,`Version ${a} not found in the versioning state for feature service ${i}`);return}let s=t.versionIdentifier,l=r?.currentVersionInfo?.versionIdentifier;s.guid!==l?.guid&&this.#e.changeVersion(i,s.name,s.guid)}#s(e){let{_messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-version-management-service-found":return i.loadErrors.noVersionManagementServiceFound;case"no-view-property":return i.loadErrors.noViewProperty;case"webmap-failed-to-load":return i.loadErrors.webmapFailedToLoad;default:return e}}#i(e){let{_messages:i}=this,a=!1,r,t,s;switch(e){case"invalid-feature-service":a=!0,r=i.loadErrors.invalidInitialFeatureService,t=this.#w,s=i.headers.invalidInitialFeatureService;break;case"no-version-management-service-found":r=this.#s("no-version-management-service-found");break;case"view-model-load":r=this.#s(this.#e.loadError??"");break;case"webmap-load":r=this.#s("webmap-failed-to-load");break}return c`<calcite-notice .closable=${a} icon kind=warning open scale=s width=full @calciteNoticeClose=${t}>${s?c`<div slot=title>${s}</div>`:void 0}<div slot=message>${r}</div></calcite-notice>`}async#d(e){e.stopPropagation();let{alterVersionParameters:i}=e.detail;await this.#e.alterVersion(i).finally(()=>{this._mode="browse-versions"})&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:i.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(i.featureServerUrl)})}async#g(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{createVersionParameters:a,switchToVersion:r}=e.detail,t=await this.#e.createVersion(a).finally(()=>{this._mode="browse-versions"});t&&(i.emit({type:"version-created",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)}),r&&await this.#e.changeVersion(a.featureServerUrl,t.versionIdentifier.name,t.versionIdentifier.guid).then(s=>{s&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)})}))}#v(e){e.stopPropagation(),this._mode="browse-versions",this._editVersionInfo=void 0}async#h(e){e.stopPropagation(),await this.#e.getVersionInfos(e.detail.serviceUrl)}#p(e){e.stopPropagation(),this._filterText=e.detail.filterText,this.#n()}async#o(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{actionType:a,serviceUrl:r,versionInfo:t}=e.detail;switch(a){case"changeVersion":{await this.#e.changeVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"deleteVersion":{await this.#e.deleteVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"editVersion":{this._mode="edit-version",this._editVersionInfo={...e.detail.versionInfo};break}}}#m(e){e.stopPropagation(),this._mode="create-version"}#u(e){e.stopPropagation(),this._currentPage=e.detail.currentPage}#f(e){e.detail.name==="selectedFeatureService"&&(this._selectedFeatureService=e.target.selectedFeatureService,this._mode="browse-versions",this.#n())}#w(){this._isInitialFeatureServiceInvalid=!1}#$(){this._mode="browse-services"}#I(){this._mode="browse-versions",this._editVersionInfo=void 0}async#b(){let e=this.view?.map;try{e.loaded||await e.load()}catch(i){this._loadError="webmap-failed-to-load",_(i,this,"Error while loading 'view.map'")}}#y(e){return e.replace(/\/+$/u,"")}#n(){this._currentPage=1}#S(){if(!this.#e?.versioningStateLookup.size){this._loadError="no-version-management-service-found",d("error",this,"No version management service found");return}this.#e?.versioningStateLookup.forEach((e,i)=>{e.loadStatus==="failed"&&(this.#a.push(i),d("error",this,`Failed to load versioning state for feature service ${i}`))}),this.requestUpdate()}render(){let{_currentPage:e,_editVersionInfo:i,_filterText:a,_messages:r,_mode:t,_selectedFeatureService:s,closable:l,label:g,pageSize:v,state:o}=this,k=this._loadError==="webmap-failed-to-load"?this.#i("webmap-load"):void 0,F=o==="disabled"&&this.#e.loadError?this.#i("view-model-load"):void 0,P=this._loadError==="no-version-management-service-found"?this.#i("no-version-management-service-found"):void 0,U=this._isInitialFeatureServiceInvalid?this.#i("invalid-feature-service"):void 0,L=Array.from(this.#e.serviceNameLookup,([n,A])=>({url:n,name:A})),h=s?.url??"",w=this.#e?.versioningStateLookup.get(h),p=w?.versionInfos??[],C=w?.currentVersionInfo??void 0,D=p.length<=v,m=a===""?p:p.filter(n=>n.versionIdentifier.name.toUpperCase().includes(a.toUpperCase())||n.versionIdentifier.guid.toUpperCase().includes(a.toUpperCase())),$=m.slice((e-1)*v,e*v);$.length===0&&this.#n();let I=this.#e.userLookup.get(h),T=this.#e.versionAdministratorLookup.get(h),z=(this.#e.serverVersionLookup.get(h)??0)>=11.2;return c`<calcite-flow><calcite-flow-item .closable=${l} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-services"}>${k}${F}${P}${U}${L.map(n=>c`<arcgis-version-management-service-item .allowEditingDisabled=${this.allowEditingDisabled} .invalidInitialVersion=${this.#r.includes(n.url)} .messages=${r} .selectedFeatureService=${s} .serviceName=${n.name} .serviceUrl=${n.url} .versioningStateFailedToLoad=${this.#a.includes(n.url)} .viewModel=${this.#e} @arcgisInternalManageVersion=${this.#o} @arcgisPropertyChange=${this.#f}></arcgis-version-management-service-item>`)}</calcite-flow-item><calcite-flow-item .closable=${l} .description=${s?.name} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-versions"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#$()}}><arcgis-version-management-version-list .currentPage=${e} .currentUser=${I} .currentVersionInfo=${C} .executionError=${this.#e.executionError??void 0} .featureServiceName=${s?.name} .featureServiceUrl=${s?.url} .hideFilter=${D} .isVersionAdministrator=${T} .isVersioningApiAvailable=${z} .messages=${r} .mode=${t} .totalPages=${Math.ceil(m.length/v)} .totalVersions=${m.length} .versionInfos=${$} @arcgisInternalFilterVersions=${this.#p} @arcgisInternalGetVersions=${this.#h} @arcgisInternalManageVersion=${this.#o} @arcgisInternalNewVersion=${this.#m} @arcgisInternalPageChange=${this.#u}></arcgis-version-management-version-list></calcite-flow-item><calcite-flow-item .closable=${l} .description=${t==="create-version"?"":i?.versionIdentifier.name} .heading=${t==="create-version"?r?.actions.newVersion:r?.actions.editVersion} .loading=${o==="loading"||o==="executing"} .selected=${t==="create-version"||t==="edit-version"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#I()}}><arcgis-version-management-version-properties .currentUser=${I} .editVersionInfo=${i} .featureServiceUrl=${s?.url} .messages=${r} .mode=${t} @arcgisInternalAlterVersion=${this.#d} @arcgisInternalCreateVersion=${this.#g} @arcgisInternalDiscardEdits=${this.#v}></arcgis-version-management-version-properties></calcite-flow-item></calcite-flow>`}};V("arcgis-version-management",f);return f},"core/reactiveUtils","versionManagement/VersionManager",a,e,f,g,h)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  export default $arcgis.t(([{substitute:l}])=>{function r(e,t){return t}function s(e,t,n){if(!t)return;if(typeof t=="number"||typeof t=="string")return t;if("value"in t||"unit"in t)return l(e.dotValue??"",t);if("colorName"in t&&"bandName"in t){let i=e[t.colorName],a=e[t.bandName]||t.bandName;return`${i}: ${a}`}if("showCount"in t)return t.showCount?e.clusterCountTitle:void 0;let o=null;return r(t,n)?o=t.ratioPercentTotal?"showRatioPercentTotal":t.ratioPercent?"showRatioPercent":t.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null:u(t,n)&&(o=t.normField?"showNormField":t.normByPct?"showNormPct":t.field?"showField":null),o?l(o==="showField"?"{field}":e[o]??"",{field:t.field,normField:t.normField}):void 0}function u(e,t){return!t}function f(e,t){if(!e.title||typeof e.title=="string")return e.title;let n=e.type==="color-ramp"||e.type==="opacity-ramp",o=e.title,i=s(t,o,n);return u(o,n)&&o.title?`${o.title} (${i})`:i}return{a:s,b:f}},"intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./55AW5TTI.js";import"./QUZTFUWM.js";import{e as g}from"./WQMZ7BDQ.js";import{P as m,R as f,U as x,X as h,a as p,b as r}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{addProxy:k},{a:v}])=>{var u=(n,e,i=!1)=>{if(!n||!e)return!1;let t=new URL(n),s=new URL(e);return!i&&t.protocol!==s.protocol||t.host==null||s.host==null?!1:t.host.toLowerCase()===s.host.toLowerCase()&&t.port===s.port};var $=p`.export-section{padding:var(--calcite-spacing-xxs)}.export-section-centered{text-align:center}.exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.exported-files-title{font-weight:700;font-size:var(--calcite-font-size)}.exported-file{display:flex;align-items:center;justify-content:space-between}.exported-file-link-title,.exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`;function L(n){let{state:e,extension:i}=n;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return i?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}var l=class extends m{constructor(){super(...arguments),this._handleLinkClick=e=>{if(e?.state!=="ready"||!e.url)return;let i=e.url,t=document.createElement("a");t.target="_blank",t.href=i,t.rel="noreferrer",t.download=e.formattedName??"";{t.click();return}}}static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let e=this.viewModel.exportedLinks,i={"export-section-centered":!e.length};return r`<section class=${f(g("export-section",i))}>${e.length===0?r`<div class="exported-files-empty"><calcite-icon icon=file scale=l></calcite-icon><div><p class="exported-files-title">${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:r`<calcite-list .filterEnabled=${e.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${e.map(t=>r`<calcite-list-item .label=${t.formattedName??""}>${this._renderExportedLinkItemContent(t)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t)}</calcite-list-item><arcgis-print-exports-panel-item-popover .allowedFormatsForSaving=${this.allowedFormatsForSaving} .arcgisSaveAs=${this.arcgisSaveAs} .exportedLink=${t} .messages=${this.messages} .showSaveAs=${this.showSaveAs} .viewModel=${this.viewModel}></arcgis-print-exports-panel-item-popover>`)}</calcite-list>`}</section>`}_renderExportedLinkItemContent(e){let i=this.messages,{url:t,state:s,error:o}=e,c=e.formattedName??"",a=t||null;a&&(a=k(a));let d=u(a,document.location.href),w=s==="error"?o?.name==="print-task:cim-symbol-unsupported"?i.exportWebMapCIMError:i.exportWebMapError:null;return r`<div class="exported-file" slot=content @click=${()=>this._handleLinkClick(e)}><div><div class="exported-file-link-title">${c}</div><div class="exported-file-link-description">${s==="pending"?i.generatingExport:w||(d?i.ready:i.linkReady)}</div></div>${s==="ready"?r`<calcite-icon .ariaLabel=${`${c}. ${i.linkReady}`} .icon=${d?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?r`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:r`<calcite-icon .icon=${L(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e){let{state:i}=e,t=e.formattedName??"",s=this.messages,o=this.showSaveAs&&i!=="error"&&v(this.allowedFormatsForSaving,e.extension);return i!=="pending"?r`<calcite-action .icon=${o?"ellipsis":"x"} id=${(o?`${t}-popover-button`:void 0)??x} @click=${o?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${o?s.options:s.delete}></calcite-action>`:null}};h("arcgis-print-exports-panel",l);return l},"core/urlUtils",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import a from"./SAOLD6MH.js";import"./FIZMK7GS.js";import{e as g}from"./ZKWI43WZ.js";import{P as m,R as f,U as x,X as h,a as p,b as r}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{addProxy:k},{a:v}])=>{var u=(n,e,i=!1)=>{if(!n||!e)return!1;let t=new URL(n),s=new URL(e);return!i&&t.protocol!==s.protocol||t.host==null||s.host==null?!1:t.host.toLowerCase()===s.host.toLowerCase()&&t.port===s.port};var $=p`.export-section{padding:var(--calcite-spacing-xxs)}.export-section-centered{text-align:center}.exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.exported-files-title{font-weight:700;font-size:var(--calcite-font-size)}.exported-file{display:flex;align-items:center;justify-content:space-between}.exported-file-link-title,.exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`;function L(n){let{state:e,extension:i}=n;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return i?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}var l=class extends m{constructor(){super(...arguments),this._handleLinkClick=e=>{if(e?.state!=="ready"||!e.url)return;let i=e.url,t=document.createElement("a");t.target="_blank",t.href=i,t.rel="noreferrer",t.download=e.formattedName??"";{t.click();return}}}static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let e=this.viewModel.exportedLinks,i={"export-section-centered":!e.length};return r`<section class=${f(g("export-section",i))}>${e.length===0?r`<div class="exported-files-empty"><calcite-icon icon=file scale=l></calcite-icon><div><p class="exported-files-title">${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:r`<calcite-list .filterEnabled=${e.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${e.map(t=>r`<calcite-list-item .label=${t.formattedName??""}>${this._renderExportedLinkItemContent(t)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t)}</calcite-list-item><arcgis-print-exports-panel-item-popover .allowedFormatsForSaving=${this.allowedFormatsForSaving} .arcgisSaveAs=${this.arcgisSaveAs} .exportedLink=${t} .messages=${this.messages} .showSaveAs=${this.showSaveAs} .viewModel=${this.viewModel}></arcgis-print-exports-panel-item-popover>`)}</calcite-list>`}</section>`}_renderExportedLinkItemContent(e){let i=this.messages,{url:t,state:s,error:o}=e,c=e.formattedName??"",a=t||null;a&&(a=k(a));let d=u(a,document.location.href),w=s==="error"?o?.name==="print-task:cim-symbol-unsupported"?i.exportWebMapCIMError:i.exportWebMapError:null;return r`<div class="exported-file" slot=content @click=${()=>this._handleLinkClick(e)}><div><div class="exported-file-link-title">${c}</div><div class="exported-file-link-description">${s==="pending"?i.generatingExport:w||(d?i.ready:i.linkReady)}</div></div>${s==="ready"?r`<calcite-icon .ariaLabel=${`${c}. ${i.linkReady}`} .icon=${d?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?r`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:r`<calcite-icon .icon=${L(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e){let{state:i}=e,t=e.formattedName??"",s=this.messages,o=this.showSaveAs&&i!=="error"&&v(this.allowedFormatsForSaving,e.extension);return i!=="pending"?r`<calcite-action .icon=${o?"ellipsis":"x"} id=${(o?`${t}-popover-button`:void 0)??x} @click=${o?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${o?s.options:s.delete}></calcite-action>`:null}};h("arcgis-print-exports-panel",l);return l},"core/urlUtils",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};export{e as a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as p}from"./KBHLE7HT.js";import h from"./CQQM24VF.js";import{a as b}from"./WEAGLY7B.js";import g from"./AN3BGKZP.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as m}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as v,U as l,X as y,a as f,b as s,x as d}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{substitute:u,formatNumber:M},S,,,,n,T])=>{var C=f`:host{width:100%;display:flex;>*{align-items:center;align-self:center;height:100%;width:100%}}.root{display:flex;flex-direction:column}calcite-action-bar[layout=horizontal]{width:100%;calcite-chip{margin-inline-start:auto}}calcite-action-bar[layout=vertical]{height:100%;calcite-chip{margin-block-start:auto}}calcite-action-bar slot{align-items:center}calcite-dropdown:has(calcite-action:not([text-enabled])){align-self:center}calcite-action:not([text-enabled]){align-self:center}calcite-chip{display:flex;align-self:center;line-height:initial}calcite-dropdown{calcite-icon{margin-inline-start:var(--calcite-space-2xs)}}calcite-chip[closed]{display:inline-flex}calcite-progress{--calcite-progress-background-color: transparent}`,w={replace:"overwrite-features",add:"cursor-plus",remove:"cursor-minus"},$=T(S),g=class extends v{constructor(){super(...arguments),this.viewModel=$(this),this.messages=b(),this.autoDestroyDisabled=!1,this.disabled=!1,this.icon="selection-set",this.view=this.viewModel.view,this.activeOperation=this.viewModel.activeOperation,this.availableOperationTypes=["replace","add","remove"],this.continuousSelectionEnabled=this.viewModel.continuousSelectionEnabled,this.defaultLassoToolOptions=this.viewModel.defaultLassoToolOptions,this.defaultOperationType=this.viewModel.defaultOperationType,this.defaultPolygonToolOptions=this.viewModel.defaultPolygonToolOptions,this.defaultPointToolOptions=this.viewModel.defaultPointToolOptions,this.defaultRectangleToolOptions=this.viewModel.defaultRectangleToolOptions,this.effectiveSelectionManager=this.viewModel.effectiveSelectionManager,this.effectiveSources=this.viewModel.effectiveSources,this.hideChip=!1,this.hideChipCloseButton=!1,this.hideLassoTool=!1,this.hideOperationTypeControls=!1,this.hidePanTool=!1,this.hidePolygonTool=!1,this.hidePointTool=!1,this.hideProgress=!1,this.hideRectangleTool=!1,this.layout="horizontal",this.returnFeatureTitleFields=this.viewModel.returnFeatureTitleFields,this.selectionManager=this.viewModel.selectionManager,this.showTextLabels=!1,this.sources=this.viewModel.sources,this.toolConfigs=this.viewModel.toolConfigs,this.visualScale="m",this.arcgisBeforeActivate=n(()=>this.viewModel,"before-activate"),this.arcgisClear=d(),this.arcgisComplete=n(()=>this.viewModel,"complete"),this.arcgisPropertyChange=m()("activeOperation","state"),this.arcgisReady=d(),this.arcgisSelectionChange=n(()=>this.viewModel,"selection-change")}static{this.properties={_effectiveDisabled:16,_effectiveOperationType:16,_processing:16,autoDestroyDisabled:5,disabled:7,icon:1,label:1,referenceElement:1,view:0,activeOperation:32,availableOperationTypes:0,continuousSelectionEnabled:5,defaultLassoToolOptions:0,defaultOperationType:1,defaultPolygonToolOptions:0,defaultPointToolOptions:0,defaultRectangleToolOptions:0,effectiveSelectionManager:32,effectiveSources:32,hideChip:5,hideChipCloseButton:5,hideLassoTool:5,hideOperationTypeControls:5,hidePanTool:5,hidePolygonTool:5,hidePointTool:5,hideProgress:5,hideRectangleTool:5,layerPreferenceEnabled:5,layout:1,returnFeatureTitleFields:5,returnGeometryDisabled:5,selectionManager:0,showTextLabels:5,sources:0,state:32,syncResultsDisabled:5,syncWhileDrawing:5,toolConfigs:0,visualScale:1}}static{this.styles=C}get _effectiveDisabled(){return this.disabled||this.state==="disabled"}get _effectiveOperationType(){return this.activeOperation?.effectiveType||this.defaultOperationType}get _processing(){return!!this.activeOperation?.processingFinalSelection}get layerPreferenceEnabled(){return!this.viewModel.layerViewPreferenceEnabled}set layerPreferenceEnabled(e){this.viewModel.layerViewPreferenceEnabled=!e}get returnGeometryDisabled(){return!this.viewModel.returnGeometry}set returnGeometryDisabled(e){this.viewModel.returnGeometry=!e}get state(){return this.viewModel.state}get syncResultsDisabled(){return!this.viewModel.persistSelection}set syncResultsDisabled(e){this.viewModel.persistSelection=!e}get syncWhileDrawing(){return!this.viewModel.selectOnComplete}set syncWhileDrawing(e){this.viewModel.selectOnComplete=!e}async activate(e){if(this.cancel(),!this._effectiveDisabled)return this.viewModel.activate(e)}async activateTool(e){if(!this._effectiveDisabled)return this.viewModel.activateTool(e)}async cancel(){this.viewModel.cancel()}async destroy(){this.viewModel?.destroy()}async syncSources(){return this.effectiveSelectionManager?.syncSources()}async toggleTool(e){if(!this._effectiveDisabled)return this.viewModel.toggleTool(e)}_handleClearSelection(){this.effectiveSelectionManager?.clear(),this.arcgisClear.emit()}_getLabelForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replaceSelection;case"add":return t?.addToSelection;case"remove":return t?.removeFromSelection}}_getTextForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replace;case"add":return t?.add;case"remove":return t?.remove}}_getTextForChip(e){let{layout:t,messages:i,visualScale:o}=this,a=o==="l"?999:99;return i.countTruncated&&e>a&&t==="vertical"?u(i.countTruncated,{count:a}):M(e)}_getTooltipForChip(e){let{messages:t}=this;return!t?.selectionCount||!t?.clearSelectionCount?"":this.hideChipCloseButton||e===0?u(t.selectionCount,{count:e}):u(t.clearSelectionCount,{count:e})}#i(){if(this.hideProgress)return;let e=this.messages.processing;return s`<calcite-progress aria-label=${e??l} .label=${e} .type=${this._processing?"indeterminate":"determinate"}></calcite-progress>`}#o(){return p("tools-group",s`<calcite-action-group>${this.#s()}${this.#a()}</calcite-action-group>`)}#s(){return[this.#l(),this.#c(),this.#r(),this.#d(),this.#h()]}#a(){return this.toolConfigs.map(({toolName:e,icon:t})=>this.#e(e,t))}#l(){if(this.hidePanTool)return;let e=this.messages.pan??"";return this.#t({active:!this.activeOperation,disabled:this._effectiveDisabled,icon:"pan",onclick:()=>{this.cancel()},text:e,title:e})}#n(){if(this.hideChip)return;let{effectiveSelectionManager:e}=this,t=e?.count??0,i=this._getTextForChip(t),o=!this.hideChipCloseButton&&t>0;return s`<calcite-chip appearance=outline .closable=${o} .disabled=${this._effectiveDisabled||t===0} .label=${i} .scale=${this.visualScale} title=${this._getTooltipForChip(t)??l} @calciteChipClose=${this._handleClearSelection}>${i}</calcite-chip>`}#c(){if(this.hidePointTool)return;let{messages:e}=this;return this.#e("point","selection-set",e.point,e.selectByPoint)}#r(){if(this.hidePolygonTool)return;let{messages:e}=this;return this.#e("polygon","polygon-select",e.polygon,e.selectByPolygon)}#h(){if(this.hideLassoTool)return;let{messages:e}=this;return this.#e("lasso","lasso-select",e.lasso,e.selectByLasso)}#d(){if(this.hideRectangleTool)return;let{messages:e}=this;return this.#e("rectangle","cursor-marquee",e.rectangle,e.selectByRectangle)}#p(){let{availableOperationTypes:e}=this;if(this.hideOperationTypeControls||!e.length)return;let{_effectiveOperationType:t,showTextLabels:i,visualScale:o}=this,a=w[t],c=this._getTextForSelectionOperationType(t),r=this._getLabelForSelectionOperationType(t);return p("toggle-group",s`<calcite-action-group><calcite-dropdown overlay-positioning=fixed placement=bottom-start .scale=${o}><calcite-action class=tool-button .disabled=${this._effectiveDisabled} .icon=${a} .scale=${o} slot=trigger .text=${c??""} .textEnabled=${i} title=${r??l}><calcite-icon icon=chevron-down scale=s></calcite-icon></calcite-action><calcite-dropdown-group>${e.map(h=>this.#u(h))}</calcite-dropdown-group></calcite-dropdown></calcite-action-group>`)}#u(e){return s`<calcite-dropdown-item .iconStart=${w[e]} .selected=${this.defaultOperationType===e} @calciteDropdownItemSelect=${()=>this.defaultOperationType=e}>${this._getLabelForSelectionOperationType(e)}</calcite-dropdown-item>`}#e(e,t="selection",i=e,o=i){return this.#t({active:this.activeOperation?.toolName===e,disabled:this._effectiveDisabled,icon:t,onclick:()=>{this.toggleTool(e)},text:i,title:o})}#t(e){let{active:t,disabled:i,icon:o,onclick:a,text:c,title:r}=e,{showTextLabels:h,visualScale:O}=this;return s`<calcite-action .active=${t} class=tool-button .disabled=${i} .icon=${o} @click=${a} .text=${c} .textEnabled=${h} title=${r??l} .scale=${O}></calcite-action>`}render(){return s`<div><calcite-action-bar expand-toggle-disabled .layout=${this.layout} overflow-mode=none .scale=${this.visualScale}>${this.#p()}${this.#o()}${this.#n()}</calcite-action-bar>${this.#i()}</div>`}};y("arcgis-selection-toolbar",g);return g},"intl","widgets/support/SelectionToolbar/SelectionToolbarViewModel",a,c,e,g,h)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as p}from"./PIDNZKSJ.js";import h from"./5YHHJ5ZE.js";import{a as b}from"./ZSPYPXBY.js";import g from"./M3ZQGUYQ.js";import e from"./HA4XWZH4.js";import c from"./HPWF3IQV.js";import{h as m}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as v,U as l,X as y,a as f,b as s,x as d}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:u,formatNumber:M},S,,,,n,T])=>{var C=f`:host{width:100%;display:flex;>*{align-items:center;align-self:center;height:100%;width:100%}}.root{display:flex;flex-direction:column}calcite-action-bar[layout=horizontal]{width:100%;calcite-chip{margin-inline-start:auto}}calcite-action-bar[layout=vertical]{height:100%;calcite-chip{margin-block-start:auto}}calcite-action-bar slot{align-items:center}calcite-dropdown:has(calcite-action:not([text-enabled])){align-self:center}calcite-action:not([text-enabled]){align-self:center}calcite-chip{display:flex;align-self:center;line-height:initial}calcite-dropdown{calcite-icon{margin-inline-start:var(--calcite-space-2xs)}}calcite-chip[closed]{display:inline-flex}calcite-progress{--calcite-progress-background-color: transparent}`,w={replace:"overwrite-features",add:"cursor-plus",remove:"cursor-minus"},$=T(S),g=class extends v{constructor(){super(...arguments),this.viewModel=$(this),this.messages=b(),this.autoDestroyDisabled=!1,this.disabled=!1,this.icon="selection-set",this.view=this.viewModel.view,this.activeOperation=this.viewModel.activeOperation,this.availableOperationTypes=["replace","add","remove"],this.continuousSelectionEnabled=this.viewModel.continuousSelectionEnabled,this.defaultLassoToolOptions=this.viewModel.defaultLassoToolOptions,this.defaultOperationType=this.viewModel.defaultOperationType,this.defaultPolygonToolOptions=this.viewModel.defaultPolygonToolOptions,this.defaultPointToolOptions=this.viewModel.defaultPointToolOptions,this.defaultRectangleToolOptions=this.viewModel.defaultRectangleToolOptions,this.effectiveSelectionManager=this.viewModel.effectiveSelectionManager,this.effectiveSources=this.viewModel.effectiveSources,this.hideChip=!1,this.hideChipCloseButton=!1,this.hideLassoTool=!1,this.hideOperationTypeControls=!1,this.hidePanTool=!1,this.hidePolygonTool=!1,this.hidePointTool=!1,this.hideProgress=!1,this.hideRectangleTool=!1,this.layout="horizontal",this.returnFeatureTitleFields=this.viewModel.returnFeatureTitleFields,this.selectionManager=this.viewModel.selectionManager,this.showTextLabels=!1,this.sources=this.viewModel.sources,this.toolConfigs=this.viewModel.toolConfigs,this.visualScale="m",this.arcgisBeforeActivate=n(()=>this.viewModel,"before-activate"),this.arcgisClear=d(),this.arcgisComplete=n(()=>this.viewModel,"complete"),this.arcgisPropertyChange=m()("activeOperation","state"),this.arcgisReady=d(),this.arcgisSelectionChange=n(()=>this.viewModel,"selection-change")}static{this.properties={_effectiveDisabled:16,_effectiveOperationType:16,_processing:16,autoDestroyDisabled:5,disabled:7,icon:1,label:1,referenceElement:1,view:0,activeOperation:32,availableOperationTypes:0,continuousSelectionEnabled:5,defaultLassoToolOptions:0,defaultOperationType:1,defaultPolygonToolOptions:0,defaultPointToolOptions:0,defaultRectangleToolOptions:0,effectiveSelectionManager:32,effectiveSources:32,hideChip:5,hideChipCloseButton:5,hideLassoTool:5,hideOperationTypeControls:5,hidePanTool:5,hidePolygonTool:5,hidePointTool:5,hideProgress:5,hideRectangleTool:5,layerPreferenceEnabled:5,layout:1,returnFeatureTitleFields:5,returnGeometryDisabled:5,selectionManager:0,showTextLabels:5,sources:0,state:32,syncResultsDisabled:5,syncWhileDrawing:5,toolConfigs:0,visualScale:1}}static{this.styles=C}get _effectiveDisabled(){return this.disabled||this.state==="disabled"}get _effectiveOperationType(){return this.activeOperation?.effectiveType||this.defaultOperationType}get _processing(){return!!this.activeOperation?.processingFinalSelection}get layerPreferenceEnabled(){return!this.viewModel.layerViewPreferenceEnabled}set layerPreferenceEnabled(e){this.viewModel.layerViewPreferenceEnabled=!e}get returnGeometryDisabled(){return!this.viewModel.returnGeometry}set returnGeometryDisabled(e){this.viewModel.returnGeometry=!e}get state(){return this.viewModel.state}get syncResultsDisabled(){return!this.viewModel.persistSelection}set syncResultsDisabled(e){this.viewModel.persistSelection=!e}get syncWhileDrawing(){return!this.viewModel.selectOnComplete}set syncWhileDrawing(e){this.viewModel.selectOnComplete=!e}async activate(e){if(this.cancel(),!this._effectiveDisabled)return this.viewModel.activate(e)}async activateTool(e){if(!this._effectiveDisabled)return this.viewModel.activateTool(e)}async cancel(){this.viewModel.cancel()}async destroy(){this.viewModel?.destroy()}async syncSources(){return this.effectiveSelectionManager?.syncSources()}async toggleTool(e){if(!this._effectiveDisabled)return this.viewModel.toggleTool(e)}_handleClearSelection(){this.effectiveSelectionManager?.clear(),this.arcgisClear.emit()}_getLabelForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replaceSelection;case"add":return t?.addToSelection;case"remove":return t?.removeFromSelection}}_getTextForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replace;case"add":return t?.add;case"remove":return t?.remove}}_getTextForChip(e){let{layout:t,messages:i,visualScale:o}=this,a=o==="l"?999:99;return i.countTruncated&&e>a&&t==="vertical"?u(i.countTruncated,{count:a}):M(e)}_getTooltipForChip(e){let{messages:t}=this;return!t?.selectionCount||!t?.clearSelectionCount?"":this.hideChipCloseButton||e===0?u(t.selectionCount,{count:e}):u(t.clearSelectionCount,{count:e})}#i(){if(this.hideProgress)return;let e=this.messages.processing;return s`<calcite-progress aria-label=${e??l} .label=${e} .type=${this._processing?"indeterminate":"determinate"}></calcite-progress>`}#o(){return p("tools-group",s`<calcite-action-group>${this.#s()}${this.#a()}</calcite-action-group>`)}#s(){return[this.#l(),this.#c(),this.#r(),this.#d(),this.#h()]}#a(){return this.toolConfigs.map(({toolName:e,icon:t})=>this.#e(e,t))}#l(){if(this.hidePanTool)return;let e=this.messages.pan??"";return this.#t({active:!this.activeOperation,disabled:this._effectiveDisabled,icon:"pan",onclick:()=>{this.cancel()},text:e,title:e})}#n(){if(this.hideChip)return;let{effectiveSelectionManager:e}=this,t=e?.count??0,i=this._getTextForChip(t),o=!this.hideChipCloseButton&&t>0;return s`<calcite-chip appearance=outline .closable=${o} .disabled=${this._effectiveDisabled||t===0} .label=${i} .scale=${this.visualScale} title=${this._getTooltipForChip(t)??l} @calciteChipClose=${this._handleClearSelection}>${i}</calcite-chip>`}#c(){if(this.hidePointTool)return;let{messages:e}=this;return this.#e("point","selection-set",e.point,e.selectByPoint)}#r(){if(this.hidePolygonTool)return;let{messages:e}=this;return this.#e("polygon","polygon-select",e.polygon,e.selectByPolygon)}#h(){if(this.hideLassoTool)return;let{messages:e}=this;return this.#e("lasso","lasso-select",e.lasso,e.selectByLasso)}#d(){if(this.hideRectangleTool)return;let{messages:e}=this;return this.#e("rectangle","cursor-marquee",e.rectangle,e.selectByRectangle)}#p(){let{availableOperationTypes:e}=this;if(this.hideOperationTypeControls||!e.length)return;let{_effectiveOperationType:t,showTextLabels:i,visualScale:o}=this,a=w[t],c=this._getTextForSelectionOperationType(t),r=this._getLabelForSelectionOperationType(t);return p("toggle-group",s`<calcite-action-group><calcite-dropdown overlay-positioning=fixed placement=bottom-start .scale=${o}><calcite-action class=tool-button .disabled=${this._effectiveDisabled} .icon=${a} .scale=${o} slot=trigger .text=${c??""} .textEnabled=${i} title=${r??l}><calcite-icon icon=chevron-down scale=s></calcite-icon></calcite-action><calcite-dropdown-group>${e.map(h=>this.#u(h))}</calcite-dropdown-group></calcite-dropdown></calcite-action-group>`)}#u(e){return s`<calcite-dropdown-item .iconStart=${w[e]} .selected=${this.defaultOperationType===e} @calciteDropdownItemSelect=${()=>this.defaultOperationType=e}>${this._getLabelForSelectionOperationType(e)}</calcite-dropdown-item>`}#e(e,t="selection",i=e,o=i){return this.#t({active:this.activeOperation?.toolName===e,disabled:this._effectiveDisabled,icon:t,onclick:()=>{this.toggleTool(e)},text:i,title:o})}#t(e){let{active:t,disabled:i,icon:o,onclick:a,text:c,title:r}=e,{showTextLabels:h,visualScale:O}=this;return s`<calcite-action .active=${t} class=tool-button .disabled=${i} .icon=${o} @click=${a} .text=${c} .textEnabled=${h} title=${r??l} .scale=${O}></calcite-action>`}render(){return s`<div><calcite-action-bar expand-toggle-disabled .layout=${this.layout} overflow-mode=none .scale=${this.visualScale}>${this.#p()}${this.#o()}${this.#n()}</calcite-action-bar>${this.#i()}</div>`}};y("arcgis-selection-toolbar",g);return g},"intl","widgets/support/SelectionToolbar/SelectionToolbarViewModel",a,c,e,g,h)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as w}from"./BIU6VS3K.js";import f from"./CQQM24VF.js";import{a as P}from"./WEAGLY7B.js";import{a as u}from"./JD74LG7K.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as D}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as g}from"./WQMZ7BDQ.js";import{N as y,O as x,P as _,R as p,S as v,U as L,X as C,a as b,b as d,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([A,,,,$])=>{var k=b`:host{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none;--arcgis-internal-swipe-handle-color-background: var(--calcite-color-background);--arcgis-internal-swipe-divider-color-background: var(--calcite-color-background)}.root{width:100%;height:100%;overflow:hidden;user-select:none}.root,.arcgis-ui .root{pointer-events:none!important}.container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.horizontal .container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.vertical .container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.disabled .container{cursor:default;pointer-events:none}.divider{position:absolute;background-color:var(--arcgis-internal-swipe-divider-color-background)}.horizontal .divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.vertical .divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--arcgis-internal-swipe-handle-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-text-3)}.handle-hidden{visibility:hidden}.vertical .handle{rotate:90deg}.handle-icon{position:relative;z-index:2}.handle-icon:before{content:"|||";color:inherit}.horizontal .handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.vertical .handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.container:focus .handle,.container:focus .divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}.container:focus .handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,z=$(A),f=class extends _{constructor(){super(...arguments),this._container=null,this._containerRef=y(),this._swiping=!1,this._positionChanged=!1,this.messages=P({}),this._pointerOffset=0,this.viewModel=z(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.position=this.viewModel.position,this.state=this.viewModel.state,this.arcgisPropertyChange=D()("state"),this.arcgisReady=h(),this.arcgisSwipeChange=h(),this.arcgisSwipeInput=h()}static{this.properties={view:0,autoDestroyDisabled:5,direction:3,disabled:7,endLayers:0,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:9,startLayers:0,swipePosition:9,referenceElement:1,state:32,trailingLayers:0}}static{this.styles=k}get endLayers(){return this.viewModel.trailingLayers}set endLayers(e){this.viewModel.trailingLayers=e}get leadingLayers(){return this.startLayers}set leadingLayers(e){this.startLayers=e}get startLayers(){return this.viewModel.leadingLayers}set startLayers(e){this.viewModel.leadingLayers=e}get swipePosition(){return this.position}set swipePosition(e){this.position=e}get trailingLayers(){return this.endLayers}set trailingLayers(e){this.endLayers=e}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=this._containerRef.value,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,o=t.getBoundingClientRect(),a=e.clientX-o.left,l=e.clientY-o.top;this._pointerOffset=i==="vertical"?l-r:a-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._positionChanged&&(this.arcgisSwipeChange.emit(),this._positionChanged=!1),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:o,clientY:a}=e,{top:l,left:n,width:s,height:c}=t.getBoundingClientRect(),M=r==="vertical"?c:s,m=(r==="vertical"?a-l-i:o-n-i)/M*100;this.position!==m&&(this.position=m,this._positionChanged=!0,this.arcgisSwipeInput.emit())}_getKeyPosition(e){let{key:i}=e,{position:t}=this,{max:r,min:o,step:a,stepMultiplier:l,direction:n}=this.viewModel,s=a*l;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),n==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let c=e.shiftKey?s:a;return t+c}if(n==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let c=e.shiftKey?s:a;return t-c}return i==="Home"?o:i==="End"?r:(n==="vertical"?i==="PageDown":i==="PageUp")?t+s:(n==="vertical"?i==="PageUp":i==="PageDown")?t-s:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&this.position!==i&&(this.position=i,this.arcgisSwipeInput.emit(),this.arcgisSwipeChange.emit())}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[u.disabled]:t,disabled:t,vertical:i==="vertical",horizontal:i==="horizontal"};return d`<div class=${p(g("root",u.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[w.dragHorizontal]:e==="vertical",[w.dragVertical]:e==="horizontal"},r=g("handle",!!i&&"handle-hidden");return d`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(g("handle-icon",t))}></span></div>`}_renderDivider(){return this.hideDivider?null:d`<div class="divider" role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:o,position:a}=i,l=this.label??this.messages.dragLabel??"",n=`${a}%`,s={top:o==="vertical"?n:void 0,left:o==="vertical"?void 0:n},c=this._renderContent();return e?d`<div class="container" role=presentation style=${v(s)}>${c}</div>`:d`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${l} .ariaOrientation=${o} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${a}`} .ariaValueText=${n} class="container" @keydown=${this._onContainerKeyDown} role=slider style=${v(s)} tabindex=0 title=${l??L} touch-action=none ${x(this._containerRef)}>${c}</div>`}};C("arcgis-swipe",f);return f},"widgets/Swipe/SwipeViewModel",a,c,e,f)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as w}from"./UZLEFNJL.js";import f from"./5YHHJ5ZE.js";import{a as P}from"./ZSPYPXBY.js";import{a as u}from"./L5IRXOCJ.js";import e from"./HA4XWZH4.js";import c from"./HPWF3IQV.js";import{h as D}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as g}from"./ZKWI43WZ.js";import{N as y,O as x,P as _,R as p,S as v,U as L,X as C,a as b,b as d,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([A,,,,$])=>{var k=b`:host{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none;--arcgis-internal-swipe-handle-color-background: var(--calcite-color-background);--arcgis-internal-swipe-divider-color-background: var(--calcite-color-background)}.root{width:100%;height:100%;overflow:hidden;user-select:none}.root,.arcgis-ui .root{pointer-events:none!important}.container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.horizontal .container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.vertical .container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.disabled .container{cursor:default;pointer-events:none}.divider{position:absolute;background-color:var(--arcgis-internal-swipe-divider-color-background)}.horizontal .divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.vertical .divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--arcgis-internal-swipe-handle-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-text-3)}.handle-hidden{visibility:hidden}.vertical .handle{rotate:90deg}.handle-icon{position:relative;z-index:2}.handle-icon:before{content:"|||";color:inherit}.horizontal .handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.vertical .handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.container:focus .handle,.container:focus .divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-color-focus, var(--calcite-color-brand)))}.container:focus .handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,z=$(A),f=class extends _{constructor(){super(...arguments),this._container=null,this._containerRef=y(),this._swiping=!1,this._positionChanged=!1,this.messages=P({}),this._pointerOffset=0,this.viewModel=z(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.position=this.viewModel.position,this.state=this.viewModel.state,this.arcgisPropertyChange=D()("state"),this.arcgisReady=h(),this.arcgisSwipeChange=h(),this.arcgisSwipeInput=h()}static{this.properties={view:0,autoDestroyDisabled:5,direction:3,disabled:7,endLayers:0,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:9,startLayers:0,swipePosition:9,referenceElement:1,state:32,trailingLayers:0}}static{this.styles=k}get endLayers(){return this.viewModel.trailingLayers}set endLayers(e){this.viewModel.trailingLayers=e}get leadingLayers(){return this.startLayers}set leadingLayers(e){this.startLayers=e}get startLayers(){return this.viewModel.leadingLayers}set startLayers(e){this.viewModel.leadingLayers=e}get swipePosition(){return this.position}set swipePosition(e){this.position=e}get trailingLayers(){return this.endLayers}set trailingLayers(e){this.endLayers=e}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=this._containerRef.value,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,o=t.getBoundingClientRect(),a=e.clientX-o.left,l=e.clientY-o.top;this._pointerOffset=i==="vertical"?l-r:a-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._positionChanged&&(this.arcgisSwipeChange.emit(),this._positionChanged=!1),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:o,clientY:a}=e,{top:l,left:n,width:s,height:c}=t.getBoundingClientRect(),M=r==="vertical"?c:s,m=(r==="vertical"?a-l-i:o-n-i)/M*100;this.position!==m&&(this.position=m,this._positionChanged=!0,this.arcgisSwipeInput.emit())}_getKeyPosition(e){let{key:i}=e,{position:t}=this,{max:r,min:o,step:a,stepMultiplier:l,direction:n}=this.viewModel,s=a*l;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),n==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let c=e.shiftKey?s:a;return t+c}if(n==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let c=e.shiftKey?s:a;return t-c}return i==="Home"?o:i==="End"?r:(n==="vertical"?i==="PageDown":i==="PageUp")?t+s:(n==="vertical"?i==="PageUp":i==="PageDown")?t-s:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&this.position!==i&&(this.position=i,this.arcgisSwipeInput.emit(),this.arcgisSwipeChange.emit())}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[u.disabled]:t,disabled:t,vertical:i==="vertical",horizontal:i==="horizontal"};return d`<div class=${p(g("root",u.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[w.dragHorizontal]:e==="vertical",[w.dragVertical]:e==="horizontal"},r=g("handle",!!i&&"handle-hidden");return d`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(g("handle-icon",t))}></span></div>`}_renderDivider(){return this.hideDivider?null:d`<div class="divider" role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:o,position:a}=i,l=this.label??this.messages.dragLabel??"",n=`${a}%`,s={top:o==="vertical"?n:void 0,left:o==="vertical"?void 0:n},c=this._renderContent();return e?d`<div class="container" role=presentation style=${v(s)}>${c}</div>`:d`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${l} .ariaOrientation=${o} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${a}`} .ariaValueText=${n} class="container" @keydown=${this._onContainerKeyDown} role=slider style=${v(s)} tabindex=0 title=${l??L} touch-action=none ${x(this._containerRef)}>${c}</div>`}};C("arcgis-swipe",f);return f},"widgets/Swipe/SwipeViewModel",a,c,e,f)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import j from"./YDZZPLVB.js";import{a as n}from"./6J3KSMFG.js";import i from"./RUYAWRPV.js";import"./WJQUE4DR.js";import h from"./5YHHJ5ZE.js";import{a as b}from"./ZSPYPXBY.js";import{a as p}from"./L5IRXOCJ.js";import g from"./HA4XWZH4.js";import e from"./HPWF3IQV.js";import{h as _}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import c from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as f,R as d,X as w,a as m,b as a,x as v}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([z,{property:C,subclass:D},,,,x,{e:g},y])=>{var M=m`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.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)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-hidden{display:none!important}:host{min-width:300px}.container{display:flex;position:relative;flex-flow:column;gap:var(--arcgis-internal-panel-gap);overflow-y:auto}.error{color:var(--calcite-color-status-danger)}.hint{display:flex;flex-direction:column;gap:var(--arcgis-internal-panel-gap)}.error,.hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.actions{display:flex;flex-flow:column;gap:var(--arcgis-internal-panel-actions-gap);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,$=Object.defineProperty,O=Object.getOwnPropertyDescriptor,k=(t,e,o,r)=>{for(var i=r>1?void 0:r?O(e,o):e,l=t.length-1,c;l>=0;l--)(c=t[l])&&(i=(r?c(e,o,i):c(i))||i);return r&&i&&$(e,o,i),i},s=class extends y{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new z}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(t){await this.analysisView?.place(t)}};k([C({readOnly:!0})],s.prototype,"state",1);s=k([D("esri.components.LineOfSight.LineOfSightViewModel")],s);var B=s,V=x(B),u=class extends f{constructor(){super(...arguments),this.viewModel=V(this),this._messages=b({blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideContinueButton=!1,this.hideDoneButton=!1,this.hideStartButton=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="line-of-sight",this.interactionDisabled=this.viewModel.interactionDisabled,this.arcgisPropertyChange=_()("analysis","interactionDisabled","state"),this.arcgisReady=v()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideContinueButton:5,hideDoneButton:5,hideStartButton:5,hideVisualization:5,icon:3,interactionDisabled:5,label:1,messageOverrides:0,referenceElement:1,state:32,_supported:16}}static{this.styles=M}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){g(this.viewModel.start({clear:!1}))}async destroy(){await this.manager.destroy()}async start(){g(this.viewModel.start())}async stop(){this.viewModel.stop()}render(){return a`<div class=${d({[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return a`<div class="error"><p>${this._messages.unsupported}</p></div>`;let e=this.viewModel.state;return a`<div class="container">${e==="creating"?a`<div class="hint"><p class="hint-text">${this._messages.hint}</p></div>`:null}<div class="actions">${n({hidden:e!=="creating"||this.hideDoneButton,children:h({onClick:()=>{this.stop()},children:this._messages.done})})}${n({hidden:e!=="created"||this.hideContinueButton,children:h({disabled:this.interactionDisabled,onClick:()=>{this.continue()},children:this._messages.continueAnalysis})})}${n({hidden:this.hideStartButton,children:h({className:"new-analysis-button",onClick:()=>{this.start()},primary:!0,disabled:e==="disabled"||this.interactionDisabled,children:this._messages.newAnalysis})})}</div></div>`}};function h({className:t,onClick:e,primary:o,disabled:r,children:i}){return a`<calcite-button .appearance=${o?"solid":"outline-fill"} class=${d(t)} .disabled=${r} @click=${e}>${i}</calcite-button>`}w("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",c,e,g,h,i,j)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as e,b as r,c as z}from"./FNSGB45I.js";import{a as y}from"./WEAGLY7B.js";import{a as p}from"./JD74LG7K.js";import b from"./JBHRVHGS.js";import{h as d}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as m,R as h,U as o,X as u,b as n,x as i}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{when:v},,{a:g}])=>{var c=class extends m{constructor(){super(...arguments),this.messages=y({}),this._state="disabled",this.view=g(this),this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.visualScale="m",this.arcgisActionZoom=i(),this.arcgisPropertyChange=d()("state"),this.arcgisReady=i()}static{this.properties={_state:16,view:0,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,referenceElement:1,visualScale:1,state:32}}static{this.styles=z}get state(){return this._state}async destroy(){await this.manager.destroy()}async zoomIn(){await this.zoomBy(1)}async zoomOut(){await this.zoomBy(-1)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view?.ready?"ready":"disabled",a=>{this._state=a},{sync:!0,initial:!0})])}async zoomBy(a){let{view:t}=this,s=a===1;!(s?e(t):r(t))||!t||(this.arcgisActionZoom.emit({action:s?"zoomIn":"zoomOut"}),s?await t.zoomIn():await t.zoomOut())}render(){let a=e(this.view),t=r(this.view),{zoomIn:s,zoomOut:l}=this.messages;return n`<div class=${h({[p.arcgisButton]:!0,horizontal:this.layout==="horizontal"})}><calcite-button class="zoom-in" .disabled=${!a} icon-start=plus kind=neutral .label=${s} @click=${this.zoomIn} .scale=${this.visualScale} title=${s??o}></calcite-button><calcite-button class="zoom-out" .disabled=${!t} icon-start=minus kind=neutral .label=${l} @click=${this.zoomOut} .scale=${this.visualScale} title=${l??o}></calcite-button></div>`}};u("arcgis-zoom",c);return c},"core/reactiveUtils",a,b)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as e,b as r,c as z}from"./EV7IIQBP.js";import{a as y}from"./ZSPYPXBY.js";import{a as p}from"./L5IRXOCJ.js";import b from"./HPWF3IQV.js";import{h as d}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as m,R as h,U as o,X as u,b as n,x as i}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{when:v},,{a:g}])=>{var c=class extends m{constructor(){super(...arguments),this.messages=y({}),this._state="disabled",this.view=g(this),this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.visualScale="m",this.arcgisActionZoom=i(),this.arcgisPropertyChange=d()("state"),this.arcgisReady=i()}static{this.properties={_state:16,view:0,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,referenceElement:1,visualScale:1,state:32}}static{this.styles=z}get state(){return this._state}async destroy(){await this.manager.destroy()}async zoomIn(){await this.zoomBy(1)}async zoomOut(){await this.zoomBy(-1)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view?.ready?"ready":"disabled",a=>{this._state=a},{sync:!0,initial:!0})])}async zoomBy(a){let{view:t}=this,s=a===1;!(s?e(t):r(t))||!t||(this.arcgisActionZoom.emit({action:s?"zoomIn":"zoomOut"}),s?await t.zoomIn():await t.zoomOut())}render(){let a=e(this.view),t=r(this.view),{zoomIn:s,zoomOut:l}=this.messages;return n`<div class=${h({[p.arcgisButton]:!0,horizontal:this.layout==="horizontal"})}><calcite-button class="zoom-in" .disabled=${!a} icon-start=plus kind=neutral .label=${s} @click=${this.zoomIn} .scale=${this.visualScale} title=${s??o}></calcite-button><calcite-button class="zoom-out" .disabled=${!t} icon-start=minus kind=neutral .label=${l} @click=${this.zoomOut} .scale=${this.visualScale} title=${l??o}></calcite-button></div>`}};u("arcgis-zoom",c);return c},"core/reactiveUtils",a,b)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{P as a,X as t,a as i,b as o}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var c=i`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center}.slider-progress-container{position:relative;z-index:1;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-spacing-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-spacing-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;width:100%}`,s=class extends a{static{this.properties={viewModel:0,buffered:9,messages:0,value:9}}static{this.styles=c}_onSliderInput({currentTarget:e}){if(typeof e.value=="number"){let r=e.value*this.viewModel.duration/100;this.viewModel.seekTo(r)}}render(){let{buffered:e,messages:r,value:l}=this;return o`<div class="slider-progress-container" dir=ltr><progress class="progress" max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider .label=${r.playbackProgress} max=100 min=0 .value=${l} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};t("arcgis-video-player-slider",s);export{s as VideoPlayerSlider};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{P as a,X as t,a as i,b as o}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var c=i`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center}.slider-progress-container{position:relative;z-index:1;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-spacing-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-spacing-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;width:100%}`,s=class extends a{static{this.properties={viewModel:0,buffered:9,messages:0,value:9}}static{this.styles=c}_onSliderInput({currentTarget:e}){if(typeof e.value=="number"){let r=e.value*this.viewModel.duration/100;this.viewModel.seekTo(r)}}render(){let{buffered:e,messages:r,value:l}=this;return o`<div class="slider-progress-container" dir=ltr><progress class="progress" max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider .label=${r.playbackProgress} max=100 min=0 .value=${l} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};t("arcgis-video-player-slider",s);export{s as VideoPlayerSlider};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  function e(t,u){return t/15}function r(t,u){let s=t?.[0];if(s==null)return null;u||(u={hours:0,minutes:0,seconds:0}),u.hours=e(s);let n=u.hours%1;u.hours-=n,u.minutes=n*60;let o=u.minutes%1;return u.minutes-=o,u.seconds=Math.round(o*60),u}function i(t){let u=r([t.longitude,t.latitude]);return u==null?0:Math.round(u.hours+u.minutes/60+u.seconds/3600)}export{i as a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as m}from"./KBHLE7HT.js";import{i as n}from"./BAOWXZTE.js";import{a as l}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as r,X as c,a as i,b as a,x as o}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var h=i`:host{width:100%}.root{--calcite-label-margin-bottom: 0;width:100%}calcite-radio-button-group{padding:var(--calcite-spacing-sm)}`,e=class extends r{constructor(){super(...arguments),this.messages=l({}),this.options=[],this.scale="m",this.layout="block",this.arcgisUnitSelectChange=o()}static{this.properties={options:[1,{type:Array}],scale:1,name:1,value:0,messageOverrides:0,label:1,layout:1}}static{this.styles=h}async destroy(){await this.manager.destroy()}render(){let{messages:s,options:u=[],name:p,value:d,arcgisUnitSelectChange:g}=this;return a`<calcite-radio-button-group layout=vertical .name=${p} @calciteRadioButtonGroupChange=${t=>{g.emit(t.target.selectedItem?.value)}} .scale=${this.scale}>${u.map(t=>a`<calcite-label layout=inline .scale=${this.scale}>${m(t,a`<calcite-radio-button .checked=${t===d} .scale=${this.scale} .value=${t}></calcite-radio-button>`)}${n(t)?s.systems?.[t]:s.units?.[t]}</calcite-label>`)}</calcite-radio-button-group>`}};c("arcgis-unit-radio-button-group",e);export{e as ArcgisUnitRadioButtonGroup};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as m}from"./PIDNZKSJ.js";import{i as n}from"./FXUZU52U.js";import{a as l}from"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as r,X as c,a as i,b as a,x as o}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var h=i`:host{width:100%}.root{--calcite-label-margin-bottom: 0;width:100%}calcite-radio-button-group{padding:var(--calcite-spacing-sm)}`,e=class extends r{constructor(){super(...arguments),this.messages=l({}),this.options=[],this.scale="m",this.layout="block",this.arcgisUnitSelectChange=o()}static{this.properties={options:[1,{type:Array}],scale:1,name:1,value:0,messageOverrides:0,label:1,layout:1}}static{this.styles=h}async destroy(){await this.manager.destroy()}render(){let{messages:s,options:u=[],name:p,value:d,arcgisUnitSelectChange:g}=this;return a`<calcite-radio-button-group layout=vertical .name=${p} @calciteRadioButtonGroupChange=${t=>{g.emit(t.target.selectedItem?.value)}} .scale=${this.scale}>${u.map(t=>a`<calcite-label layout=inline .scale=${this.scale}>${m(t,a`<calcite-radio-button .checked=${t===d} .scale=${this.scale} .value=${t}></calcite-radio-button>`)}${n(t)?s.systems?.[t]:s.units?.[t]}</calcite-label>`)}</calcite-radio-button-group>`}};c("arcgis-unit-radio-button-group",e);export{e as ArcgisUnitRadioButtonGroup};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{h as y}from"./3LOGBSQP.js";import{a as e}from"./4MJJOPAL.js";import{a as v}from"./WEAGLY7B.js";import{a as w}from"./JD74LG7K.js";import f from"./JBHRVHGS.js";import{h as p}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import b from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as g}from"./WQMZ7BDQ.js";import{P as h,R as d,S as u,U as a,X as m,a as n,b as c,x as l}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{getGoToDuration:x},{watch:o},,{a:f}])=>{var b=n`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host([visual-scale="l"]){calcite-button{width:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md));height:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md))}}:host([visual-scale="s"]){calcite-button{width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}}.root{border-radius:50%;box-shadow:var(--arcgis-internal-box-shadow, none)}.icon-container{justify-content:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.icon-container:dir(rtl){transform:translate(50%,-50%)}`,s=class extends h{constructor(){super(...arguments),this._hasInitializedOrientation=!1,this._hasInitializedState=!1,this._lastState="disabled",this.messages=v(),this._orientation={x:0,y:0,z:0},this.view=f(this),this.autoDestroyDisabled=!1,this.visualScale="m",this.arcgisPropertyChange=p()("state","orientation"),this.arcgisReady=l()}static{this.properties={_orientation:16,view:0,autoDestroyDisabled:5,canShowNorth:32,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:32,referenceElement:1,state:32,visualScale:3}}static{this.styles=b}get canShowNorth(){return y(this.view)}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}get orientation(){return this._orientation}get state(){return!this.view?.ready||this.view.type==="2d"&&!this.view.constraints.rotationEnabled?"disabled":this.canShowNorth?"compass":"rotation"}async destroy(){await this.manager.destroy()}async reset(){let{view:t}=this;t?.ready&&(t?.type==="2d"?e({target:{rotation:0},options:{animationMode:"always",duration:x()}},t,this.goToOverride):e({target:{heading:0}},t,this.goToOverride))}updated(t){t.has("_orientation")&&(this._hasInitializedOrientation?this.arcgisPropertyChange.emit({name:"orientation"}):this._hasInitializedOrientation=!0);let i=this.state;this._hasInitializedState?i!==this._lastState&&this.arcgisPropertyChange.emit({name:"state"}):this._hasInitializedState=!0,this._lastState=i}loaded(){if(!this.view){this.manager.onLifecycle(()=>[o(()=>this.view?.ready,()=>{this._watchRotationOrCamera()},{once:!0})]);return}this._watchRotationOrCamera()}_watchRotationOrCamera(){if(!this.view)return;let t=[];this.view.type==="2d"?t.push(o(()=>this.view?.rotation,i=>this._updateForRotation(i),{initial:!0})):t.push(o(()=>this.view?.camera,i=>this._updateForCamera(i),{initial:!0})),this.manager.onLifecycle(()=>t)}_updateForRotation(t){t!=null&&(this._orientation={z:t})}_updateForCamera(t){if(!t)return;let i=-t.heading;this._orientation={x:0,y:0,z:i}}render(){let{messages:t,icon:i}=this;return c`<div class=${d(g("root",w.arcgisButton))}><calcite-button .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this.reset} round .scale=${this.visualScale} title=${t.reset??a}><div aria-hidden=true class="icon-container" title=${t.reset??a}><calcite-icon .scale=${this.visualScale} .icon=${i} style=${u(_(this.orientation))}></calcite-icon></div></calcite-button></div>`}},_=r=>({transform:`rotateZ(${r.z}deg)`});m("arcgis-compass",s);return s},"applications/Components/navigationDuration","core/reactiveUtils",b,f)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{h as y}from"./BHCAFGIA.js";import{a as e}from"./SOZWCZ7A.js";import{a as v}from"./ZSPYPXBY.js";import{a as w}from"./L5IRXOCJ.js";import f from"./HPWF3IQV.js";import{h as p}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import b from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as g}from"./ZKWI43WZ.js";import{P as h,R as d,S as u,U as a,X as m,a as n,b as c,x as l}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{getGoToDuration:x},{watch:o},,{a:f}])=>{var b=n`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host([visual-scale="l"]){calcite-button{width:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md));height:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md))}}:host([visual-scale="s"]){calcite-button{width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}}.root{border-radius:50%;box-shadow:var(--arcgis-internal-box-shadow, none)}.icon-container{justify-content:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.icon-container:dir(rtl){transform:translate(50%,-50%)}`,s=class extends h{constructor(){super(...arguments),this._hasInitializedOrientation=!1,this._hasInitializedState=!1,this._lastState="disabled",this.messages=v(),this._orientation={x:0,y:0,z:0},this.view=f(this),this.autoDestroyDisabled=!1,this.visualScale="m",this.arcgisPropertyChange=p()("state","orientation"),this.arcgisReady=l()}static{this.properties={_orientation:16,view:0,autoDestroyDisabled:5,canShowNorth:32,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:32,referenceElement:1,state:32,visualScale:3}}static{this.styles=b}get canShowNorth(){return y(this.view)}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}get orientation(){return this._orientation}get state(){return!this.view?.ready||this.view.type==="2d"&&!this.view.constraints.rotationEnabled?"disabled":this.canShowNorth?"compass":"rotation"}async destroy(){await this.manager.destroy()}async reset(){let{view:t}=this;t?.ready&&(t?.type==="2d"?e({target:{rotation:0},options:{animationMode:"always",duration:x()}},t,this.goToOverride):e({target:{heading:0}},t,this.goToOverride))}updated(t){t.has("_orientation")&&(this._hasInitializedOrientation?this.arcgisPropertyChange.emit({name:"orientation"}):this._hasInitializedOrientation=!0);let i=this.state;this._hasInitializedState?i!==this._lastState&&this.arcgisPropertyChange.emit({name:"state"}):this._hasInitializedState=!0,this._lastState=i}loaded(){if(!this.view){this.manager.onLifecycle(()=>[o(()=>this.view?.ready,()=>{this._watchRotationOrCamera()},{once:!0})]);return}this._watchRotationOrCamera()}_watchRotationOrCamera(){if(!this.view)return;let t=[];this.view.type==="2d"?t.push(o(()=>this.view?.rotation,i=>this._updateForRotation(i),{initial:!0})):t.push(o(()=>this.view?.camera,i=>this._updateForCamera(i),{initial:!0})),this.manager.onLifecycle(()=>t)}_updateForRotation(t){t!=null&&(this._orientation={z:t})}_updateForCamera(t){if(!t)return;let i=-t.heading;this._orientation={x:0,y:0,z:i}}render(){let{messages:t,icon:i}=this;return c`<div class=${d(g("root",w.arcgisButton))}><calcite-button .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this.reset} round .scale=${this.visualScale} title=${t.reset??a}><div aria-hidden=true class="icon-container" title=${t.reset??a}><calcite-icon .scale=${this.visualScale} .icon=${i} style=${u(_(this.orientation))}></calcite-icon></div></calcite-button></div>`}},_=r=>({transform:`rotateZ(${r.z}deg)`});m("arcgis-compass",s);return s},"applications/Components/navigationDuration","core/reactiveUtils",b,f)