@arcgis/map-components 6.0.0-next.1 → 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 (690) 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/{BQKVSKYK.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/{IMPFB7YV.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/{RZQNEEP6.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/{H77SMV46.js → K7XSWKZ2.js} +2 -2
  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/{V2GMDCVJ.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/{RHNZWKZV.js → MMYODAC2.js} +2 -2
  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/{QWOOD63Q.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/{WJZZ7SZO.js → PGUZODKZ.js} +2 -2
  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/{TNFZHEWD.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/{Y2UYA3OR.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/{ZUAR3LO3.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/{CROCDACG.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/{ZVZVHZYX.js → VUAYNF3K.js} +2 -2
  301. package/dist/cdn/{24DOFGMG.js → VYOH4T4L.js} +2 -2
  302. package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
  303. package/dist/cdn/{TZ6WQV6O.js → W275EQEJ.js} +2 -2
  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/{XJ6DZ6AN.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/chunks/AnalysisViewModel.js +1 -1
  342. package/dist/chunks/GeolocationPositioning.js +1 -1
  343. package/dist/chunks/action-utils.js +1 -1
  344. package/dist/chunks/async-utils.js +1 -1
  345. package/dist/chunks/attachment-utils.js +1 -1
  346. package/dist/chunks/chart-utils.js +1 -1
  347. package/dist/chunks/chartCommon.js +1 -1
  348. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  349. package/dist/chunks/component-utils.js +1 -1
  350. package/dist/chunks/component-wrapper.js +1 -1
  351. package/dist/chunks/constants.js +1 -1
  352. package/dist/chunks/constants2.js +1 -1
  353. package/dist/chunks/css.js +1 -1
  354. package/dist/chunks/dateUtils.js +2 -2
  355. package/dist/chunks/earth-utils.js +1 -1
  356. package/dist/chunks/esri-main.js +2 -2
  357. package/dist/chunks/feature-utils.js +1 -1
  358. package/dist/chunks/field.js +1 -1
  359. package/dist/chunks/formattingUtils.js +1 -1
  360. package/dist/chunks/globalCss.js +1 -1
  361. package/dist/chunks/goTo.js +1 -1
  362. package/dist/chunks/graphicsLayerController.js +1 -1
  363. package/dist/chunks/handle.js +1 -1
  364. package/dist/chunks/heading.js +1 -1
  365. package/dist/chunks/keyboard-utils.js +1 -1
  366. package/dist/chunks/layer-list-next.js +1 -1
  367. package/dist/chunks/layer-list-utils.js +1 -1
  368. package/dist/chunks/layer-utils.js +1 -1
  369. package/dist/chunks/layer-utils2.js +1 -1
  370. package/dist/chunks/legacyIcon.js +1 -1
  371. package/dist/chunks/maybe.js +1 -1
  372. package/dist/chunks/measurementUtils.js +1 -1
  373. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  374. package/dist/chunks/resources.js +1 -1
  375. package/dist/chunks/runtime.js +2 -2
  376. package/dist/chunks/screenLocation.js +1 -1
  377. package/dist/chunks/slots.js +2 -2
  378. package/dist/chunks/sr.js +1 -1
  379. package/dist/chunks/svgUtils.js +1 -1
  380. package/dist/chunks/time-utils.js +1 -1
  381. package/dist/chunks/titleUtils.js +1 -1
  382. package/dist/chunks/types.js +1 -1
  383. package/dist/chunks/univariateUtils.js +1 -1
  384. package/dist/chunks/urlUtils.js +1 -1
  385. package/dist/chunks/useArcgisViewReadyError.js +121 -107
  386. package/dist/chunks/useCloseEvent.js +1 -1
  387. package/dist/chunks/useLayerById.js +1 -1
  388. package/dist/chunks/useT9n.js +1 -1
  389. package/dist/chunks/useView.js +1 -1
  390. package/dist/chunks/useViewModel.js +1 -1
  391. package/dist/chunks/useWidget.js +1 -1
  392. package/dist/chunks/utils.js +1 -1
  393. package/dist/chunks/utils2.js +1 -1
  394. package/dist/chunks/utils3.js +1 -1
  395. package/dist/chunks/utils4.js +1 -1
  396. package/dist/chunks/utils5.js +1 -1
  397. package/dist/chunks/utils6.js +1 -1
  398. package/dist/chunks/video-utils.js +1 -1
  399. package/dist/chunks/visible-element.js +1 -1
  400. package/dist/chunks/zoom.js +1 -1
  401. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  402. package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
  403. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
  404. package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
  405. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
  406. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  407. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  408. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  409. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  410. package/dist/components/arcgis-attachments/customElement.js +1 -1
  411. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  412. package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
  413. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  414. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  415. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +1 -1
  416. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  417. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  418. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  419. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  420. package/dist/components/arcgis-building-level-item/customElement.js +2 -2
  421. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  422. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  423. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  424. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
  425. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
  426. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  427. package/dist/components/arcgis-color-select/customElement.js +1 -1
  428. package/dist/components/arcgis-compass/customElement.js +1 -1
  429. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  430. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  431. package/dist/components/arcgis-daylight/customElement.js +1 -1
  432. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
  433. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  434. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  435. package/dist/components/arcgis-directions/customElement.js +1 -1
  436. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
  437. package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
  438. package/dist/components/arcgis-editor/customElement.d.ts +18 -5
  439. package/dist/components/arcgis-editor/customElement.js +4 -1
  440. package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
  441. package/dist/components/arcgis-elevation-profile/customElement.js +94 -90
  442. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  443. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  444. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  445. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  446. package/dist/components/arcgis-expand/customElement.js +1 -1
  447. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  448. package/dist/components/arcgis-exploratory-analysis/customElement.js +52 -52
  449. package/dist/components/arcgis-feature/customElement.js +1 -1
  450. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  451. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  452. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  453. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  454. package/dist/components/arcgis-feature-fields/customElement.js +21 -21
  455. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-form-text/customElement.js +1 -1
  459. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  460. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  461. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  462. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  463. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  464. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  465. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  466. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  467. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  468. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  469. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  470. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  471. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  472. package/dist/components/arcgis-features/customElement.js +1 -1
  473. package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
  474. package/dist/components/arcgis-features-next/customElement.js +103 -93
  475. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  476. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  477. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  478. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  479. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  480. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  481. package/dist/components/arcgis-home/customElement.js +1 -1
  482. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  483. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  484. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  485. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  486. package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
  487. package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
  488. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  489. package/dist/components/arcgis-legend/customElement.js +1 -1
  490. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  491. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  492. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  493. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  494. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  495. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  496. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  497. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  498. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  499. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  500. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  501. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  502. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  503. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  504. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
  505. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  506. package/dist/components/arcgis-link-chart/customElement.d.ts +24 -20
  507. package/dist/components/arcgis-link-chart/customElement.js +6 -6
  508. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  509. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  510. package/dist/components/arcgis-locate/customElement.js +1 -1
  511. package/dist/components/arcgis-map/customElement.d.ts +41 -36
  512. package/dist/components/arcgis-map/customElement.js +10 -10
  513. package/dist/components/arcgis-measurement-content/customElement.js +7 -7
  514. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  515. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  516. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
  517. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -6
  518. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  519. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  520. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  521. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  522. package/dist/components/arcgis-paste/customElement.js +1 -1
  523. package/dist/components/arcgis-popup/customElement.d.ts +2 -2
  524. package/dist/components/arcgis-popup/customElement.js +33 -29
  525. package/dist/components/arcgis-presentation/customElement.js +1 -1
  526. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  527. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  528. package/dist/components/arcgis-print/customElement.js +1 -1
  529. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  530. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +18 -18
  531. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  532. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  533. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  534. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  535. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  536. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  537. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  538. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  539. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  540. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  541. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  542. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  543. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  544. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  545. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  546. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  547. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  548. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  549. package/dist/components/arcgis-scene/customElement.d.ts +24 -20
  550. package/dist/components/arcgis-scene/customElement.js +10 -10
  551. package/dist/components/arcgis-search/customElement.js +1 -1
  552. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  553. package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
  554. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  555. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  556. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  557. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  558. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  559. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  560. package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
  561. package/dist/components/arcgis-sketch/customElement.js +1 -1
  562. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  563. package/dist/components/arcgis-slice/customElement.js +25 -25
  564. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  565. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  566. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  567. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  568. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  569. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  570. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  571. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  572. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  573. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  574. package/dist/components/arcgis-spinner/customElement.js +1 -1
  575. package/dist/components/arcgis-swipe/customElement.js +1 -1
  576. package/dist/components/arcgis-table-list/customElement.js +1 -1
  577. package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
  578. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  579. package/dist/components/arcgis-template-image/customElement.js +1 -1
  580. package/dist/components/arcgis-time-bar/customElement.js +25 -26
  581. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  582. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  583. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  584. package/dist/components/arcgis-time-bar-slider/customElement.js +47 -46
  585. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  586. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  587. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  588. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  589. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  590. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  591. package/dist/components/arcgis-track/customElement.js +1 -1
  592. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  593. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  594. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  595. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  596. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  597. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  598. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  599. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +17 -17
  600. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  601. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  602. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  603. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  604. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  605. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  606. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  607. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +2 -2
  608. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  609. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  610. package/dist/components/arcgis-version-management/customElement.js +38 -38
  611. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  612. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  613. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  614. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  615. package/dist/components/arcgis-video/customElement.js +7 -7
  616. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
  617. package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
  618. package/dist/components/arcgis-video-player/customElement.js +1 -1
  619. package/dist/components/arcgis-video-player/types.d.ts +6 -0
  620. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  621. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  622. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  623. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  624. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  625. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  626. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  627. package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
  628. package/dist/components/arcgis-volume-measurement/customElement.js +63 -63
  629. package/dist/components/arcgis-weather/customElement.js +1 -1
  630. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  631. package/dist/components/arcgis-zoom/customElement.js +1 -1
  632. package/dist/components/feature-form-next/customElement.js +1 -1
  633. package/dist/docs/api.json +1 -1
  634. package/dist/docs/docs.json +1 -1
  635. package/dist/docs/vscode.css-custom-data.json +1 -1
  636. package/dist/docs/vscode.html-custom-data.json +1 -1
  637. package/dist/docs/web-types.json +1 -1
  638. package/dist/index.js +1 -1
  639. package/dist/loader.js +7 -7
  640. package/dist/types/lumina.d.ts +4 -4
  641. package/dist/types/preact.d.ts +4 -4
  642. package/dist/types/react.d.ts +4 -4
  643. package/dist/types/stencil.d.ts +4 -4
  644. package/package.json +7 -7
  645. package/dist/cdn/3DSZKELU.js +0 -2
  646. package/dist/cdn/3KZAH5OY.js +0 -2
  647. package/dist/cdn/4GRP4KX3.js +0 -2
  648. package/dist/cdn/5K54VOLZ.js +0 -2
  649. package/dist/cdn/63FA3UEL.js +0 -2
  650. package/dist/cdn/7UWE25UH.js +0 -2
  651. package/dist/cdn/AENNGCAE.js +0 -2
  652. package/dist/cdn/AI5PXN2E.js +0 -2
  653. package/dist/cdn/AN3BGKZP.js +0 -2
  654. package/dist/cdn/DBA7NSTP.js +0 -2
  655. package/dist/cdn/EZCNI254.js +0 -2
  656. package/dist/cdn/F46CTQWP.js +0 -2
  657. package/dist/cdn/F4O7DFPZ.js +0 -2
  658. package/dist/cdn/FZWFKZLW.js +0 -2
  659. package/dist/cdn/GIOUZTHM.js +0 -2
  660. package/dist/cdn/GP3PLD2F.js +0 -2
  661. package/dist/cdn/GTRQNPQ7.js +0 -2
  662. package/dist/cdn/HH5GEJCC.js +0 -2
  663. package/dist/cdn/IETZFE3P.js +0 -2
  664. package/dist/cdn/JRQYT5SI.js +0 -2
  665. package/dist/cdn/K6D2JHC4.js +0 -2
  666. package/dist/cdn/KM2GXXBO.js +0 -4
  667. package/dist/cdn/KY3ND2AY.js +0 -2
  668. package/dist/cdn/LE373OSG.js +0 -2
  669. package/dist/cdn/LGW5AS6R.js +0 -2
  670. package/dist/cdn/NBDQBLRI.js +0 -2
  671. package/dist/cdn/O57LOC52.js +0 -2
  672. package/dist/cdn/P5HSMYWG.js +0 -2
  673. package/dist/cdn/PLTLRYBF.js +0 -2
  674. package/dist/cdn/QKON7YGO.js +0 -2
  675. package/dist/cdn/QTOA5MBN.js +0 -2
  676. package/dist/cdn/QUZTFUWM.js +0 -1
  677. package/dist/cdn/R6HUY6QI.js +0 -2
  678. package/dist/cdn/S62FQUEJ.js +0 -2
  679. package/dist/cdn/TZHXSIXK.js +0 -2
  680. package/dist/cdn/W3ENDJ6U.js +0 -2
  681. package/dist/cdn/WEAGLY7B.js +0 -2
  682. package/dist/cdn/WYNLO2MH.js +0 -2
  683. package/dist/cdn/XKHGN6LQ.js +0 -2
  684. package/dist/cdn/Y2LELW5Y.js +0 -2
  685. package/dist/cdn/YDB2XJRU.js +0 -2
  686. package/dist/cdn/YY45XUPP.js +0 -2
  687. package/dist/cdn/YYCBU2CG.js +0 -2
  688. package/dist/cdn/Z42QB2QP.js +0 -2
  689. package/dist/cdn/ZEKQYUW3.js +0 -2
  690. 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 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)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as $}from"./XEK22IDA.js";import i from"./TMJX7DFH.js";import f from"./DSDPDMLP.js";import"./VJVKFKSG.js";import e from"./CQQM24VF.js";import{a as F}from"./WEAGLY7B.js";import d from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as w}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as g,X as b,a as T,b as r,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{property:l,subclass:x},B,_,{getAllStandardFeatureTemplatesForLayer:D,getTemplatesForLayers:L},{isTable:y,getEffectiveLayerCapabilities:E},{watch:v},,{a:M},,S,,{g:m,h:f}])=>{var U=T`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`,C=Object.defineProperty,R=Object.getOwnPropertyDescriptor,a=(t,e,i,o)=>{for(var n=o>1?void 0:o?R(e,i):e,p=t.length-1,c;p>=0;p--)(c=t[p])&&(n=(o?c(e,i,n):c(n))||n);return o&&n&&C(e,i,n),n};function I(t){switch(t){case"point":case"multipoint":case"polyline":case"polygon":case"extent":case"mesh":return t}return"noneSpecified"}var A=t=>I(t.layer.geometryType??""),s=class extends B{constructor(t){super(t),this._hasRunInitialLoad=!1,this.favoritesEnabled=!1,this.recentlyUsedEnabled=!1,this.hideTemplateDescription=!1,this.filterText="",this.recentFilterText="",this.favoritesFilterText="",this.display="grouped",this.groupBy="layer",this.hideTemplatesMode="never",this.disableTemplatesMode="never",this.sectionSortBy="system",this.templateSortBy="alphabetical",this.sharedTemplatesDisabled=!1,this.excludeTables=!1,this.favorites=new Set,this.fetchingTemplateMetaData=!1,this.recentlyUsed=[]}async handleTemplateSourceDefinitionChanged(){if(this._hasRunInitialLoad=!1,this.applicationTemplates){await this._restore();return}try{this.fetchingTemplateMetaData=!0;let t=this.activeLayers;if(await Promise.allSettled(t.map(e=>e.load())),this.sharedTemplatesDisabled){let e=[];for(let i of t){let o=D(i);o.length>0&&e.push({layer:i,templates:o})}this.mapTemplates=e;return}this.mapTemplates=await L(t,this.view,void 0,{returnVisibleTemplatesOnly:!0}),await this._restore()}catch{this.mapTemplates=[]}finally{this.fetchingTemplateMetaData=!1}}get loading(){return!this._hasRunInitialLoad||this.layers!==void 0||this.applicationTemplates!==void 0||!this.view?.ready}async addFavorite(t){this.favorites.add(t.id),this.favorites=new Set(this.favorites)}async removeFavorite(t){this.favorites.delete(t.id),this.favorites=new Set(this.favorites)}addRecent(t){if(!this.recentlyUsedEnabled)return;let e=this.recentlyUsed.filter(i=>i!==t.id);e.unshift(t.id)>20&&(e.length=20),this.recentlyUsed=e}async removeRecent(t){this.recentlyUsed=this.recentlyUsed.filter(e=>e!==t.id)}async _restore(){try{if(this.favoritesEnabled&&this.restoreFavorites){let t=await this.restoreFavorites();this.favorites=new Set(t??[])}}catch{}try{if(this.recentlyUsedEnabled&&this.restoreRecentlyUsed){let t=await this.restoreRecentlyUsed();this.recentlyUsed=t??[]}}catch{}}_sortTemplates(t){if(this.templateSortByFunction){let e=this.templateSortByFunction(t)??null;return e===null?t:e}return this.templateSortBy==="alphabetical"?t.toSorted((e,i)=>e.label.localeCompare(i.label)):t}_sortSections(t){if(this.sectionSortByFunction){let e=this.sectionSortByFunction(t);e&&(t=e)}else if(this.sectionSortBy==="alphabetical")t=t.toSorted((e,i)=>e.sectionName.localeCompare(i.sectionName));else if(this.groupBy==="geometry"&&!this.groupByFunction){let e={point:1,multipoint:2,polyline:3,polygon:4,extent:5,mesh:6,noneSpecified:7};t=t.toSorted((i,o)=>{let n=e[i.sectionName]??10,p=e[o.sectionName]??10;return n-p})}for(let e of t)e.templates=this._sortTemplates(e.templates);return t}_layerIsVisibleAtCurrentScale(t){if(!this.view)return!0;let e=t;f(t)&&(e=t.parent);let i=this.view.allLayerViews.find(o=>o.layer===e);if(!i)return!0;if(f(t)){let o=this.view.scale;if(i.visibleAtCurrentScale){let n=t.minScale,p=t.maxScale,c=!n,d=!p;return!c&&o<=n&&(c=!0),!d&&o>=p&&(d=!0),c&&d}}return i.visibleAtCurrentScale}get activeLayers(){let t=[];for(let e of this.layers??[])if(m(e))for(let i of e.sublayers)t.push(i);else t.push(e);if(this.layers===void 0||this.layers===null){for(let e of[...this.view?.map?.allLayers?.slice(0).reverse()??[],...this.excludeTables?[]:this.view?.map?.allTables?.slice(0).reverse()??[]])if(e.type==="feature"||e.type==="scene"||e.type==="geojson"||e.type==="oriented-imagery"||e.type==="knowledge-graph")t.push(e);else if(m(e))for(let i of e.sublayers)t.push(i)}return t}get selectedTemplate(){return this.allTemplates.find(t=>t.id===this.selectedTemplateId)}get effectiveTemplates(){return this.templates.map(t=>({...t,templates:t.templates.filter(e=>this.inclusionFilter(e))})).filter(t=>t.templates.length>0)}get templateList(){return this._sortTemplates(this.effectiveTemplates.flatMap(t=>t.templates))}get allTemplates(){return this._sortTemplates(this.templates.flatMap(t=>t.templates))}inclusionFilter(t){if(this.excludeTables&&y(t.layer)||this.applicationFilterFunction?.(t)===!1)return!1;let e=E(t.layer)?.operations;return e?.supportsEditing===!1&&!e?.supportsAdd?!1:y(t.layer)?!0:!(this.hideTemplatesMode==="visible"&&!t.layer.visible||this.hideTemplatesMode==="scale"&&!this._layerIsVisibleAtCurrentScale(t.layer))}get templateSetKey(){return this._sortTemplates(this.allTemplates).map(t=>t.id).join(",")}get disabledTemplates(){let t=new Set;for(let e of this.allTemplates){if(this.applicationDisabledFunction&&this.applicationDisabledFunction(e)){t.add(e);continue}if(!y(e.layer)){if(this.disableTemplatesMode==="visible"&&!e.layer.visible){t.add(e);continue}if(this.disableTemplatesMode==="scale"&&this.view&&!this._layerIsVisibleAtCurrentScale(e.layer)){t.add(e);continue}}}return t}get templates(){return this.applicationTemplates??this.organizedMapTemplates}get organizedMapTemplates(){if(this.groupByFunction||this.groupBy==="geometry"){let t=!this.groupByFunction,e=this.groupByFunction??A,i=new Map;for(let o of this.mapTemplates??[])for(let n of o.templates){let p=new _({template:n,layer:o.layer}),c=e(p);if(c!=null)if(i.has(c))i.get(c)?.templates.push(p);else{let d={sectionName:c,...t?{autoTranslate:!0}:{},templates:[p]};i.set(c,d)}}return this._sortSections(Array.from(i.values()))}return this._sortSections((this.mapTemplates??[]).map(({layer:t,templates:e})=>({sectionName:t.title??"",templates:e.map(i=>new _({layer:t,template:i}))})).filter(t=>t.templates.length>0))}get updating(){return this.fetchingTemplateMetaData}get favoriteTemplates(){let t=[];for(let e of this.effectiveTemplates)for(let i of e.templates)this.favorites.has(i.id)&&t.push(i);return t}get recentTemplates(){let t=new Map;for(let i of this.effectiveTemplates)for(let o of i.templates)t.set(o.id,o);let e=[];for(let i of this.recentlyUsed)t.has(i)&&e.push(t.get(i));return e}};a([l()],s.prototype,"loading",1);a([l()],s.prototype,"_hasRunInitialLoad",2);a([l()],s.prototype,"activeLayers",1);a([l()],s.prototype,"favoritesEnabled",2);a([l()],s.prototype,"recentlyUsedEnabled",2);a([l()],s.prototype,"hideTemplateDescription",2);a([l()],s.prototype,"filterText",2);a([l()],s.prototype,"recentFilterText",2);a([l()],s.prototype,"favoritesFilterText",2);a([l()],s.prototype,"selectedTemplateId",2);a([l()],s.prototype,"selectedTemplate",1);a([l()],s.prototype,"layers",2);a([l()],s.prototype,"restoreFavorites",2);a([l()],s.prototype,"restoreRecentlyUsed",2);a([l()],s.prototype,"applicationDisabledFunction",2);a([l()],s.prototype,"applicationFilterFunction",2);a([l()],s.prototype,"display",2);a([l()],s.prototype,"groupBy",2);a([l()],s.prototype,"hideTemplatesMode",2);a([l()],s.prototype,"disableTemplatesMode",2);a([l()],s.prototype,"groupByFunction",2);a([l()],s.prototype,"sectionSortBy",2);a([l()],s.prototype,"templateSortBy",2);a([l()],s.prototype,"sectionSortByFunction",2);a([l()],s.prototype,"templateSortByFunction",2);a([l()],s.prototype,"sharedTemplatesDisabled",2);a([l()],s.prototype,"excludeTables",2);a([l()],s.prototype,"favorites",2);a([l()],s.prototype,"effectiveTemplates",1);a([l()],s.prototype,"templateList",1);a([l()],s.prototype,"allTemplates",1);a([l()],s.prototype,"templateSetKey",1);a([l()],s.prototype,"disabledTemplates",1);a([l()],s.prototype,"templates",1);a([l()],s.prototype,"mapTemplates",2);a([l()],s.prototype,"organizedMapTemplates",1);a([l()],s.prototype,"fetchingTemplateMetaData",2);a([l()],s.prototype,"updating",1);a([l()],s.prototype,"applicationTemplates",2);a([l()],s.prototype,"favoriteTemplates",1);a([l()],s.prototype,"recentTemplates",1);a([l()],s.prototype,"recentlyUsed",2);a([l()],s.prototype,"view",2);s=a([x("components.feature-templates.FeatureTemplatesViewModel")],s);var P=S(s),u=class extends g{constructor(){super(...arguments),this._messages=F(),this.viewModel=P(this),this.favoritesEnabled=this.viewModel.favoritesEnabled,this.favorites=this.viewModel.favorites,this.restoreFavorites=this.viewModel.restoreFavorites,this.restoreRecentlyUsed=this.viewModel.restoreRecentlyUsed,this.recentlyUsed=this.viewModel.recentlyUsed,this.sharedTemplatesDisabled=this.viewModel.sharedTemplatesDisabled,this.filterText=this.viewModel.filterText,this.recentFilterText=this.viewModel.recentFilterText,this.favoritesFilterText=this.viewModel.favoritesFilterText,this.recentlyUsedEnabled=this.viewModel.recentlyUsedEnabled,this.excludeTables=this.viewModel.excludeTables,this.effectiveTemplates=this.viewModel.effectiveTemplates,this.applicationTemplates=this.viewModel.applicationTemplates,this.selectedTemplateId=this.viewModel.selectedTemplateId,this.selectedTemplate=this.viewModel.selectedTemplate,this.applicationFilterFunction=this.viewModel.applicationFilterFunction,this.applicationDisabledFunction=this.viewModel.applicationDisabledFunction,this.display=this.viewModel.display,this.groupBy=this.viewModel.groupBy,this.sectionSortBy=this.viewModel.sectionSortBy,this.templateSortBy=this.viewModel.templateSortBy,this.templateSortByFunction=this.viewModel.templateSortByFunction,this.sectionSortByFunction=this.viewModel.sectionSortByFunction,this.hideTemplatesMode=this.viewModel.hideTemplatesMode,this.disableTemplatesMode=this.viewModel.disableTemplatesMode,this.groupByFunction=this.viewModel.groupByFunction,this.hideTemplateDescription=this.viewModel.hideTemplateDescription,this.layers=this.viewModel.layers,this.view=M(this),this.autoDestroyDisabled=!1,this.updating=this.viewModel.updating,this.disabled=!1,this.showCollapseButton=!1,this.showFilter=!1,this.minRequiredFilterCount=2,this.arcgisPropertyChange=w()("effectiveTemplates","filterText","recentlyUsed","favorites"),this.arcgisReady=h(),this.arcgisTemplatesChanged=h(),this.arcgisSelectTemplate=h()}static{this.properties={favoritesEnabled:5,favorites:32,restoreFavorites:0,restoreRecentlyUsed:0,recentlyUsed:32,sharedTemplatesDisabled:5,filterText:1,recentFilterText:1,favoritesFilterText:1,recentlyUsedEnabled:5,excludeTables:5,effectiveTemplates:32,applicationTemplates:0,selectedTemplateId:1,selectedTemplate:32,applicationFilterFunction:0,applicationDisabledFunction:0,display:1,groupBy:1,sectionSortBy:1,templateSortBy:1,templateSortByFunction:0,sectionSortByFunction:0,hideTemplatesMode:1,disableTemplatesMode:1,groupByFunction:0,hideTemplateDescription:5,layers:0,view:0,referenceElement:1,autoDestroyDisabled:5,updating:32,disabled:5,showCollapseButton:5,showFilter:5,minRequiredFilterCount:9}}static{this.styles=U}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view,()=>{this.viewModel.view=this.view},{initial:!0}),v(()=>this.viewModel.templateSetKey,()=>{this.arcgisTemplatesChanged.emit()}),v(()=>[this.viewModel.activeLayers?.map(e=>e.id).join(","),this.viewModel?.applicationTemplates,this.viewModel?.sharedTemplatesDisabled],$(()=>this.viewModel.handleTemplateSourceDefinitionChanged(),10),{initial:!0})])}_handleSelectTemplate(e){this.selectedTemplateId=e.id,this.arcgisSelectTemplate.emit({template:e}),this.viewModel.addRecent(e)}_removeTemplateFromList(e,i){if(i==="favorites"){this.viewModel.removeFavorite(e);return}this.viewModel.removeRecent(e)}_renderTemplates(){return this.effectiveTemplates.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>`:r`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder??""} .filterText=${this.filterText} .label=${this._messages?.templates??""} .filterEnabled=${this.showFilter&&this.viewModel.templateList.length>=this.minRequiredFilterCount} selection-appearance=border selection-mode=single @calciteListFilter=${e=>{this.filterText=e.target.filterText}}>${this.display==="grouped"?this.effectiveTemplates.map(e=>r`<calcite-list-item-group .heading=${e.autoTranslate?this._messages[e.sectionName]??"":e.sectionName}>${e.templates.map(i=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:i.description} .value=${i.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(i)}}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`):this.viewModel.templateList.map(e=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:e.description} .value=${e.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(e)}}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderAddFavorite(e){return this.viewModel.favoritesEnabled?r`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id)?"heart-f":"heart"} @click=${()=>{this.viewModel.favorites.has(e.id)?this.viewModel.removeFavorite(e):this.viewModel.addFavorite(e)}} .text=${this._messages.addFavorite??""}></calcite-action>`:""}_renderList(e){let i=e==="favorites"?this.viewModel.favoriteTemplates:this.viewModel.recentTemplates;return i.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e==="favorites"?this._messages.noFavorites:this._messages.noRecent}</div></calcite-notice>`:r`<calcite-list .filterText=${e==="favorites"?this.favoritesFilterText:this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder??""} .label=${(e==="favorites"?this._messages.favorites:this._messages.recent)??""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${o=>{this.filterText=o.target.filterText}}>${i.map(o=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(o)} .label=${o.label} .description=${this.hideTemplateDescription?void 0:o.description} .value=${o.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(o)}}><arcgis-template-image slot=content-start .template=${o}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${()=>{this._removeTemplateFromList(o,e)}} .text=${(e==="favorites"?this._messages.removeFavorite:this._messages.removeRecent)??""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderFilteredEmpty(){return r`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`}_renderContent(){return this.effectiveTemplates.length===0&&this.viewModel.loading?null:this.favoritesEnabled||this.recentlyUsedEnabled?r`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled?r`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>`:""}${this.favoritesEnabled?r`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>`:""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>`:this._renderTemplates()}render(){return r`<div class="root">${this._renderContent()}${this.viewModel.updating||this.disabled?r`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>`:null}</div>`}};b("arcgis-feature-templates",u);return u},"core/accessorSupport/decorators","core/Accessor","editing/templates/TemplateListItem","applications/Components/templateUtils","applications/Components/layerUtils","core/reactiveUtils",a,c,d,e,f,i)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as $}from"./GUL7EIJ4.js";import i from"./HU57LQOA.js";import f from"./RUYAWRPV.js";import"./WJQUE4DR.js";import e from"./5YHHJ5ZE.js";import{a as F}from"./ZSPYPXBY.js";import d from"./HA4XWZH4.js";import c from"./HPWF3IQV.js";import{h as w}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as g,X as b,a as T,b as r,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{property:l,subclass:x},B,_,{getAllStandardFeatureTemplatesForLayer:D,getTemplatesForLayers:L},{isTable:y,getEffectiveLayerCapabilities:E},{watch:v},,{a:M},,S,,{g:m,h:f}])=>{var U=T`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`,C=Object.defineProperty,R=Object.getOwnPropertyDescriptor,a=(t,e,i,o)=>{for(var n=o>1?void 0:o?R(e,i):e,p=t.length-1,c;p>=0;p--)(c=t[p])&&(n=(o?c(e,i,n):c(n))||n);return o&&n&&C(e,i,n),n};function I(t){switch(t){case"point":case"multipoint":case"polyline":case"polygon":case"extent":case"mesh":return t}return"noneSpecified"}var A=t=>I(t.layer.geometryType??""),s=class extends B{constructor(t){super(t),this._hasRunInitialLoad=!1,this.favoritesEnabled=!1,this.recentlyUsedEnabled=!1,this.hideTemplateDescription=!1,this.filterText="",this.recentFilterText="",this.favoritesFilterText="",this.display="grouped",this.groupBy="layer",this.hideTemplatesMode="never",this.disableTemplatesMode="never",this.sectionSortBy="system",this.templateSortBy="alphabetical",this.sharedTemplatesDisabled=!1,this.excludeTables=!1,this.favorites=new Set,this.fetchingTemplateMetaData=!1,this.recentlyUsed=[]}async handleTemplateSourceDefinitionChanged(){if(this._hasRunInitialLoad=!1,this.applicationTemplates){await this._restore();return}try{this.fetchingTemplateMetaData=!0;let t=this.activeLayers;if(await Promise.allSettled(t.map(e=>e.load())),this.sharedTemplatesDisabled){let e=[];for(let i of t){let o=D(i);o.length>0&&e.push({layer:i,templates:o})}this.mapTemplates=e;return}this.mapTemplates=await L(t,this.view,void 0,{returnVisibleTemplatesOnly:!0}),await this._restore()}catch{this.mapTemplates=[]}finally{this.fetchingTemplateMetaData=!1}}get loading(){return!this._hasRunInitialLoad||this.layers!==void 0||this.applicationTemplates!==void 0||!this.view?.ready}async addFavorite(t){this.favorites.add(t.id),this.favorites=new Set(this.favorites)}async removeFavorite(t){this.favorites.delete(t.id),this.favorites=new Set(this.favorites)}addRecent(t){if(!this.recentlyUsedEnabled)return;let e=this.recentlyUsed.filter(i=>i!==t.id);e.unshift(t.id)>20&&(e.length=20),this.recentlyUsed=e}async removeRecent(t){this.recentlyUsed=this.recentlyUsed.filter(e=>e!==t.id)}async _restore(){try{if(this.favoritesEnabled&&this.restoreFavorites){let t=await this.restoreFavorites();this.favorites=new Set(t??[])}}catch{}try{if(this.recentlyUsedEnabled&&this.restoreRecentlyUsed){let t=await this.restoreRecentlyUsed();this.recentlyUsed=t??[]}}catch{}}_sortTemplates(t){if(this.templateSortByFunction){let e=this.templateSortByFunction(t)??null;return e===null?t:e}return this.templateSortBy==="alphabetical"?t.toSorted((e,i)=>e.label.localeCompare(i.label)):t}_sortSections(t){if(this.sectionSortByFunction){let e=this.sectionSortByFunction(t);e&&(t=e)}else if(this.sectionSortBy==="alphabetical")t=t.toSorted((e,i)=>e.sectionName.localeCompare(i.sectionName));else if(this.groupBy==="geometry"&&!this.groupByFunction){let e={point:1,multipoint:2,polyline:3,polygon:4,extent:5,mesh:6,noneSpecified:7};t=t.toSorted((i,o)=>{let n=e[i.sectionName]??10,p=e[o.sectionName]??10;return n-p})}for(let e of t)e.templates=this._sortTemplates(e.templates);return t}_layerIsVisibleAtCurrentScale(t){if(!this.view)return!0;let e=t;f(t)&&(e=t.parent);let i=this.view.allLayerViews.find(o=>o.layer===e);if(!i)return!0;if(f(t)){let o=this.view.scale;if(i.visibleAtCurrentScale){let n=t.minScale,p=t.maxScale,c=!n,d=!p;return!c&&o<=n&&(c=!0),!d&&o>=p&&(d=!0),c&&d}}return i.visibleAtCurrentScale}get activeLayers(){let t=[];for(let e of this.layers??[])if(m(e))for(let i of e.sublayers)t.push(i);else t.push(e);if(this.layers===void 0||this.layers===null){for(let e of[...this.view?.map?.allLayers?.slice(0).reverse()??[],...this.excludeTables?[]:this.view?.map?.allTables?.slice(0).reverse()??[]])if(e.type==="feature"||e.type==="scene"||e.type==="geojson"||e.type==="oriented-imagery"||e.type==="knowledge-graph")t.push(e);else if(m(e))for(let i of e.sublayers)t.push(i)}return t}get selectedTemplate(){return this.allTemplates.find(t=>t.id===this.selectedTemplateId)}get effectiveTemplates(){return this.templates.map(t=>({...t,templates:t.templates.filter(e=>this.inclusionFilter(e))})).filter(t=>t.templates.length>0)}get templateList(){return this._sortTemplates(this.effectiveTemplates.flatMap(t=>t.templates))}get allTemplates(){return this._sortTemplates(this.templates.flatMap(t=>t.templates))}inclusionFilter(t){if(this.excludeTables&&y(t.layer)||this.applicationFilterFunction?.(t)===!1)return!1;let e=E(t.layer)?.operations;return e?.supportsEditing===!1&&!e?.supportsAdd?!1:y(t.layer)?!0:!(this.hideTemplatesMode==="visible"&&!t.layer.visible||this.hideTemplatesMode==="scale"&&!this._layerIsVisibleAtCurrentScale(t.layer))}get templateSetKey(){return this._sortTemplates(this.allTemplates).map(t=>t.id).join(",")}get disabledTemplates(){let t=new Set;for(let e of this.allTemplates){if(this.applicationDisabledFunction&&this.applicationDisabledFunction(e)){t.add(e);continue}if(!y(e.layer)){if(this.disableTemplatesMode==="visible"&&!e.layer.visible){t.add(e);continue}if(this.disableTemplatesMode==="scale"&&this.view&&!this._layerIsVisibleAtCurrentScale(e.layer)){t.add(e);continue}}}return t}get templates(){return this.applicationTemplates??this.organizedMapTemplates}get organizedMapTemplates(){if(this.groupByFunction||this.groupBy==="geometry"){let t=!this.groupByFunction,e=this.groupByFunction??A,i=new Map;for(let o of this.mapTemplates??[])for(let n of o.templates){let p=new _({template:n,layer:o.layer}),c=e(p);if(c!=null)if(i.has(c))i.get(c)?.templates.push(p);else{let d={sectionName:c,...t?{autoTranslate:!0}:{},templates:[p]};i.set(c,d)}}return this._sortSections(Array.from(i.values()))}return this._sortSections((this.mapTemplates??[]).map(({layer:t,templates:e})=>({sectionName:t.title??"",templates:e.map(i=>new _({layer:t,template:i}))})).filter(t=>t.templates.length>0))}get updating(){return this.fetchingTemplateMetaData}get favoriteTemplates(){let t=[];for(let e of this.effectiveTemplates)for(let i of e.templates)this.favorites.has(i.id)&&t.push(i);return t}get recentTemplates(){let t=new Map;for(let i of this.effectiveTemplates)for(let o of i.templates)t.set(o.id,o);let e=[];for(let i of this.recentlyUsed)t.has(i)&&e.push(t.get(i));return e}};a([l()],s.prototype,"loading",1);a([l()],s.prototype,"_hasRunInitialLoad",2);a([l()],s.prototype,"activeLayers",1);a([l()],s.prototype,"favoritesEnabled",2);a([l()],s.prototype,"recentlyUsedEnabled",2);a([l()],s.prototype,"hideTemplateDescription",2);a([l()],s.prototype,"filterText",2);a([l()],s.prototype,"recentFilterText",2);a([l()],s.prototype,"favoritesFilterText",2);a([l()],s.prototype,"selectedTemplateId",2);a([l()],s.prototype,"selectedTemplate",1);a([l()],s.prototype,"layers",2);a([l()],s.prototype,"restoreFavorites",2);a([l()],s.prototype,"restoreRecentlyUsed",2);a([l()],s.prototype,"applicationDisabledFunction",2);a([l()],s.prototype,"applicationFilterFunction",2);a([l()],s.prototype,"display",2);a([l()],s.prototype,"groupBy",2);a([l()],s.prototype,"hideTemplatesMode",2);a([l()],s.prototype,"disableTemplatesMode",2);a([l()],s.prototype,"groupByFunction",2);a([l()],s.prototype,"sectionSortBy",2);a([l()],s.prototype,"templateSortBy",2);a([l()],s.prototype,"sectionSortByFunction",2);a([l()],s.prototype,"templateSortByFunction",2);a([l()],s.prototype,"sharedTemplatesDisabled",2);a([l()],s.prototype,"excludeTables",2);a([l()],s.prototype,"favorites",2);a([l()],s.prototype,"effectiveTemplates",1);a([l()],s.prototype,"templateList",1);a([l()],s.prototype,"allTemplates",1);a([l()],s.prototype,"templateSetKey",1);a([l()],s.prototype,"disabledTemplates",1);a([l()],s.prototype,"templates",1);a([l()],s.prototype,"mapTemplates",2);a([l()],s.prototype,"organizedMapTemplates",1);a([l()],s.prototype,"fetchingTemplateMetaData",2);a([l()],s.prototype,"updating",1);a([l()],s.prototype,"applicationTemplates",2);a([l()],s.prototype,"favoriteTemplates",1);a([l()],s.prototype,"recentTemplates",1);a([l()],s.prototype,"recentlyUsed",2);a([l()],s.prototype,"view",2);s=a([x("components.feature-templates.FeatureTemplatesViewModel")],s);var P=S(s),u=class extends g{constructor(){super(...arguments),this._messages=F(),this.viewModel=P(this),this.favoritesEnabled=this.viewModel.favoritesEnabled,this.favorites=this.viewModel.favorites,this.restoreFavorites=this.viewModel.restoreFavorites,this.restoreRecentlyUsed=this.viewModel.restoreRecentlyUsed,this.recentlyUsed=this.viewModel.recentlyUsed,this.sharedTemplatesDisabled=this.viewModel.sharedTemplatesDisabled,this.filterText=this.viewModel.filterText,this.recentFilterText=this.viewModel.recentFilterText,this.favoritesFilterText=this.viewModel.favoritesFilterText,this.recentlyUsedEnabled=this.viewModel.recentlyUsedEnabled,this.excludeTables=this.viewModel.excludeTables,this.effectiveTemplates=this.viewModel.effectiveTemplates,this.applicationTemplates=this.viewModel.applicationTemplates,this.selectedTemplateId=this.viewModel.selectedTemplateId,this.selectedTemplate=this.viewModel.selectedTemplate,this.applicationFilterFunction=this.viewModel.applicationFilterFunction,this.applicationDisabledFunction=this.viewModel.applicationDisabledFunction,this.display=this.viewModel.display,this.groupBy=this.viewModel.groupBy,this.sectionSortBy=this.viewModel.sectionSortBy,this.templateSortBy=this.viewModel.templateSortBy,this.templateSortByFunction=this.viewModel.templateSortByFunction,this.sectionSortByFunction=this.viewModel.sectionSortByFunction,this.hideTemplatesMode=this.viewModel.hideTemplatesMode,this.disableTemplatesMode=this.viewModel.disableTemplatesMode,this.groupByFunction=this.viewModel.groupByFunction,this.hideTemplateDescription=this.viewModel.hideTemplateDescription,this.layers=this.viewModel.layers,this.view=M(this),this.autoDestroyDisabled=!1,this.updating=this.viewModel.updating,this.disabled=!1,this.showCollapseButton=!1,this.showFilter=!1,this.minRequiredFilterCount=2,this.arcgisPropertyChange=w()("effectiveTemplates","filterText","recentlyUsed","favorites"),this.arcgisReady=h(),this.arcgisTemplatesChanged=h(),this.arcgisSelectTemplate=h()}static{this.properties={favoritesEnabled:5,favorites:32,restoreFavorites:0,restoreRecentlyUsed:0,recentlyUsed:32,sharedTemplatesDisabled:5,filterText:1,recentFilterText:1,favoritesFilterText:1,recentlyUsedEnabled:5,excludeTables:5,effectiveTemplates:32,applicationTemplates:0,selectedTemplateId:1,selectedTemplate:32,applicationFilterFunction:0,applicationDisabledFunction:0,display:1,groupBy:1,sectionSortBy:1,templateSortBy:1,templateSortByFunction:0,sectionSortByFunction:0,hideTemplatesMode:1,disableTemplatesMode:1,groupByFunction:0,hideTemplateDescription:5,layers:0,view:0,referenceElement:1,autoDestroyDisabled:5,updating:32,disabled:5,showCollapseButton:5,showFilter:5,minRequiredFilterCount:9}}static{this.styles=U}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view,()=>{this.viewModel.view=this.view},{initial:!0}),v(()=>this.viewModel.templateSetKey,()=>{this.arcgisTemplatesChanged.emit()}),v(()=>[this.viewModel.activeLayers?.map(e=>e.id).join(","),this.viewModel?.applicationTemplates,this.viewModel?.sharedTemplatesDisabled],$(()=>this.viewModel.handleTemplateSourceDefinitionChanged(),10),{initial:!0})])}_handleSelectTemplate(e){this.selectedTemplateId=e.id,this.arcgisSelectTemplate.emit({template:e}),this.viewModel.addRecent(e)}_removeTemplateFromList(e,i){if(i==="favorites"){this.viewModel.removeFavorite(e);return}this.viewModel.removeRecent(e)}_renderTemplates(){return this.effectiveTemplates.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>`:r`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder??""} .filterText=${this.filterText} .label=${this._messages?.templates??""} .filterEnabled=${this.showFilter&&this.viewModel.templateList.length>=this.minRequiredFilterCount} selection-appearance=border selection-mode=single @calciteListFilter=${e=>{this.filterText=e.target.filterText}}>${this.display==="grouped"?this.effectiveTemplates.map(e=>r`<calcite-list-item-group .heading=${e.autoTranslate?this._messages[e.sectionName]??"":e.sectionName}>${e.templates.map(i=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:i.description} .value=${i.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(i)}}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`):this.viewModel.templateList.map(e=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:e.description} .value=${e.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(e)}}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderAddFavorite(e){return this.viewModel.favoritesEnabled?r`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id)?"heart-f":"heart"} @click=${()=>{this.viewModel.favorites.has(e.id)?this.viewModel.removeFavorite(e):this.viewModel.addFavorite(e)}} .text=${this._messages.addFavorite??""}></calcite-action>`:""}_renderList(e){let i=e==="favorites"?this.viewModel.favoriteTemplates:this.viewModel.recentTemplates;return i.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e==="favorites"?this._messages.noFavorites:this._messages.noRecent}</div></calcite-notice>`:r`<calcite-list .filterText=${e==="favorites"?this.favoritesFilterText:this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder??""} .label=${(e==="favorites"?this._messages.favorites:this._messages.recent)??""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${o=>{this.filterText=o.target.filterText}}>${i.map(o=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(o)} .label=${o.label} .description=${this.hideTemplateDescription?void 0:o.description} .value=${o.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(o)}}><arcgis-template-image slot=content-start .template=${o}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${()=>{this._removeTemplateFromList(o,e)}} .text=${(e==="favorites"?this._messages.removeFavorite:this._messages.removeRecent)??""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderFilteredEmpty(){return r`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`}_renderContent(){return this.effectiveTemplates.length===0&&this.viewModel.loading?null:this.favoritesEnabled||this.recentlyUsedEnabled?r`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled?r`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>`:""}${this.favoritesEnabled?r`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>`:""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>`:this._renderTemplates()}render(){return r`<div class="root">${this._renderContent()}${this.viewModel.updating||this.disabled?r`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>`:null}</div>`}};b("arcgis-feature-templates",u);return u},"core/accessorSupport/decorators","core/Accessor","editing/templates/TemplateListItem","applications/Components/templateUtils","applications/Components/layerUtils","core/reactiveUtils",a,c,d,e,f,i)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{f as p}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as d,X as h,b as c}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([m,{watch:u}])=>{var w=["Auto"],k=[.25,.5,1,1.5,2],$=new m([255,127,0]);function s(n,t){return`${t.format(n)}x`}var o=class extends d{constructor(){super(...arguments),this._color=null,this._speed=1,this._quality="Auto",this._direction=p(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[u(()=>this.viewModel.state,t=>{this._disabled=t==="not-ready"||t==="waiting"},{initial:!0})])}render(){let{viewModel:t,messages:e}=this,l=this._direction==="rtl"?"chevron-left":"chevron-right",a=new Intl.NumberFormat(this.messages._lang,{minimumFractionDigits:0,maximumFractionDigits:2}),v=c`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${k.map(i=>c`<calcite-list-item .disabled=${t?.layer?.isLive&&i!==1} .label=${s(i,a)} @click=${()=>{this._speed=i,t.changePlaybackSpeed(i)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,g=c`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${w.map(i=>c`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,_=c`<calcite-flow-item .heading=${e.loopPlayback} .selected=${this._active==="loop"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .label=${e.loop} expanded><calcite-switch .disabled=${t?.layer?.isLive} .label=${e.loopPlayback} .checked=${t?.layer?.loop} .labelTextStart=${e.loop} @calciteSwitchChange=${()=>{t.toggleLoopPlayback()}}></calcite-switch></calcite-block></calcite-flow-item>`,b=c`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??$.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let r=i.value?.toString()??null;this._color=r?new m(r):null,this._color&&t.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return c`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item .heading=${e.settings} .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.loop} @click=${()=>this._active="loop"}><div slot=content-end><calcite-chip .label=${e.loopPlayback} .icon=${this.viewModel.layer?.loop?"recurrence":"break-recurrence"}></calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${s(this._speed,a)} scale=s>${s(this._speed,a)}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??$.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?v:null}${this._active==="quality"?g:null}${this._active==="color"?b:null}${this._active==="loop"?_:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};h("arcgis-video-player-settings",o);return o},"Color","core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{f as p}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as d,X as h,b as c}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([m,{watch:u}])=>{var w=["Auto"],k=[.25,.5,1,1.5,2],$=new m([255,127,0]);function s(n,t){return`${t.format(n)}x`}var o=class extends d{constructor(){super(...arguments),this._color=null,this._speed=1,this._quality="Auto",this._direction=p(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[u(()=>this.viewModel.state,t=>{this._disabled=t==="not-ready"||t==="waiting"},{initial:!0})])}render(){let{viewModel:t,messages:e}=this,l=this._direction==="rtl"?"chevron-left":"chevron-right",a=new Intl.NumberFormat(this.messages._lang,{minimumFractionDigits:0,maximumFractionDigits:2}),v=c`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${k.map(i=>c`<calcite-list-item .disabled=${t?.layer?.isLive&&i!==1} .label=${s(i,a)} @click=${()=>{this._speed=i,t.changePlaybackSpeed(i)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,g=c`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${w.map(i=>c`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,_=c`<calcite-flow-item .heading=${e.loopPlayback} .selected=${this._active==="loop"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .label=${e.loop} expanded><calcite-switch .disabled=${t?.layer?.isLive} .label=${e.loopPlayback} .checked=${t?.layer?.loop} .labelTextStart=${e.loop} @calciteSwitchChange=${()=>{t.toggleLoopPlayback()}}></calcite-switch></calcite-block></calcite-flow-item>`,b=c`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??$.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let r=i.value?.toString()??null;this._color=r?new m(r):null,this._color&&t.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return c`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item .heading=${e.settings} .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.loop} @click=${()=>this._active="loop"}><div slot=content-end><calcite-chip .label=${e.loopPlayback} .icon=${this.viewModel.layer?.loop?"recurrence":"break-recurrence"}></calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${s(this._speed,a)} scale=s>${s(this._speed,a)}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??$.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${l} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?v:null}${this._active==="quality"?g:null}${this._active==="color"?b:null}${this._active==="loop"?_:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};h("arcgis-video-player-settings",o);return o},"Color","core/reactiveUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as S}from"./4RGFCQOB.js";import{a as f,d as h,i as z}from"./O7RSAJOS.js";import{a as $}from"./IZ46HAUJ.js";import k from"./B5GJ5JEW.js";import{a as m}from"./POKO37D3.js";import j from"./DSDPDMLP.js";import"./VJVKFKSG.js";import{a as p}from"./UMHGXP3S.js";import i from"./CQQM24VF.js";import{a as C}from"./WEAGLY7B.js";import{a as g}from"./JD74LG7K.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 _,R as u,U as x,X as b,a as y,b as d,x as D}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([A,{property:r,subclass:H},{watch:k,whenOnce:j},{forceInteractive:U},,,,O,,T])=>{var B=y`.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-hidden{display:none!important}.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}:host{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-heading{display:flex;align-items:center;gap:var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-sm);.esri-widget__heading{margin-block-end:0}arcgis-time-zone-chip{margin-inline-start:auto}}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`,F=Object.defineProperty,K=Object.getOwnPropertyDescriptor,a=(e,i,t,n)=>{for(var s=n>1?void 0:n?K(i,t):i,l=e.length-1,c;l>=0;l--)(c=e[l])&&(s=(n?c(i,t,s):c(s))||s);return n&&s&&F(i,t,s),s},Z=Symbol("interactiveHandle"),o=class extends T{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.shouldForceInteractive=!1,this.timeZoneMode="offset",this.minMinDuration=0,this.maxMinDuration=h(8,"hours","milliseconds"),this.hideShadowDurationTooltip=!1}constructAnalysis(){return new A}initialize(){this.addHandles([k(()=>({analysisView:this.analysisView,tooltipVisible:!this.hideShadowDurationTooltip}),({analysisView:e,tooltipVisible:i})=>{this.removeHandles(Z),e&&(e.interactive=i,i&&this.addHandles(U(e),Z))},{sync:!0,initial:!0}),k(()=>({analysis:this.analysis,analysisTimeZone:this.analysis.timeZone,timeZone:this.view?.timeZone??f,timeZoneMode:this.timeZoneMode}),({analysis:e,analysisTimeZone:i,timeZone:t,timeZoneMode:n})=>{let s=this._viewTimeZoneSync;if(s&&(n!=="region"||s.analysis!==e)&&this._clearViewTimeZoneSync(),n!=="region")return;let l=this._viewTimeZoneSync;l&&(i!==l.timeZone?this._clearViewTimeZoneSync():t!==l.timeZone&&(l.timeZone=t,e.timeZone=t)),!this._viewTimeZoneSync&&e.timeZone==null&&(this._viewTimeZoneSync={analysis:e,originalTimeZone:i,timeZone:t},e.timeZone=t)},{sync:!0,initial:!0}),$(()=>this._clearViewTimeZoneSync())])}_clearViewTimeZoneSync(){let e=this._viewTimeZoneSync;this._viewTimeZoneSync=void 0,e&&e.analysis.timeZone===e.timeZone&&(e.analysis.timeZone=e.originalTimeZone)}get date(){return this.analysis.date}set date(e){this.analysis.date=e}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(e){this.analysis.discreteOptions.color=e}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(e){this.analysis.discreteOptions.interval=e}get totalDurationColor(){return this.analysis.totalDurationOptions.color}set totalDurationColor(e){this.analysis.totalDurationOptions.color=e}get totalDurationMode(){return this.analysis.totalDurationOptions.mode}set totalDurationMode(e){this.analysis.totalDurationOptions.mode=e}get localDate(){return z(this.view,this.effectiveUtcOffset)}get mode(){return this.analysis.mode}set mode(e){this.analysis.mode=e}get visualizeSunlight(){return this.analysis.visualizeSunlight}set visualizeSunlight(e){this.analysis.visualizeSunlight=e}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(e){this.analysis.startTimeOfDay=e}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(e){this.analysis.endTimeOfDay=e}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get timeZone(){return this.analysis.timeZone??(this.timeZoneMode==="region"?this.view?.timeZone??f:null)}set timeZone(e){this.analysis.timeZone=e}get minDurationColor(){return this.analysis.minDurationOptions.color}set minDurationColor(e){this.analysis.minDurationOptions.color=e}get minDuration(){return this.analysis.minDurationOptions.minDuration}set minDuration(e){this.analysis.minDurationOptions.minDuration=e}get minDurationContextEnabled(){return this.analysis.minDurationOptions.contextEnabled}set minDurationContextEnabled(e){this.analysis.minDurationOptions.contextEnabled=e}get minDurationContextColor(){return this.analysis.minDurationOptions.contextOptions.color}set minDurationContextColor(e){this.analysis.minDurationOptions.contextOptions.color=e}get minDurationContextInterval(){return this.analysis.minDurationOptions.contextOptions.interval}set minDurationContextInterval(e){this.analysis.minDurationOptions.contextOptions.interval=e}get utcOffset(){return this.analysis.utcOffset??void 0}set utcOffset(e){this.analysis.utcOffset=e}get effectiveUtcOffset(){let{utcOffset:e}=this.analysis;if(e!=null)return e;let i=this.view?.camera?.position;return i?S(i):0}async getDurationAtScreen(e){return await(await j(()=>this.analysisView)).getDurationAtScreen(e)}};a([r()],o.prototype,"date",1);a([r()],o.prototype,"discreteColor",1);a([r()],o.prototype,"discreteInterval",1);a([r()],o.prototype,"totalDurationColor",1);a([r()],o.prototype,"totalDurationMode",1);a([r()],o.prototype,"localDate",1);a([r()],o.prototype,"mode",1);a([r()],o.prototype,"visualizeSunlight",1);a([r()],o.prototype,"startTimeOfDay",1);a([r()],o.prototype,"endTimeOfDay",1);a([r()],o.prototype,"state",1);a([r()],o.prototype,"timeZoneMode",2);a([r()],o.prototype,"timeZone",1);a([r()],o.prototype,"minDurationColor",1);a([r()],o.prototype,"minMinDuration",2);a([r()],o.prototype,"maxMinDuration",2);a([r()],o.prototype,"minDuration",1);a([r()],o.prototype,"minDurationContextEnabled",1);a([r()],o.prototype,"minDurationContextColor",1);a([r()],o.prototype,"minDurationContextInterval",1);a([r()],o.prototype,"utcOffset",1);a([r()],o.prototype,"effectiveUtcOffset",1);a([r()],o.prototype,"hideShadowDurationTooltip",2);o=a([H("components.shadow-cast.ShadowCastViewModel")],o);var G=O(o),w=class extends _{constructor(){super(...arguments),this.viewModel=G(this),this.messages=C(),this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.visualizeSunlight=this.viewModel.visualizeSunlight,this.visualScale="m",this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=this.viewModel.hideShadowDurationTooltip,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideTotalDurationOptions=!1,this.hideTotalDurationColorPicker=!1,this.hideTotalDurationModeSelect=!1,this.hideMinDurationOptions=!1,this.hideMinDurationColorPicker=!1,this.hideMinDurationSlider=!1,this.hideMinDurationContextOptions=!1,this.hideMinDurationContextToggle=!1,this.hideMinDurationContextColorPicker=!1,this.hideMinDurationContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.timeZoneMode=this.viewModel.timeZoneMode,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.totalDurationColor=this.viewModel.totalDurationColor,this.totalDurationMode=this.viewModel.totalDurationMode,this.minDuration=this.viewModel.minDuration,this.minDurationColor=this.viewModel.minDurationColor,this.minMinDuration=this.viewModel.minMinDuration,this.maxMinDuration=this.viewModel.maxMinDuration,this.minDurationContextEnabled=this.viewModel.minDurationContextEnabled,this.minDurationContextColor=this.viewModel.minDurationContextColor,this.minDurationContextInterval=this.viewModel.minDurationContextInterval,this.arcgisPropertyChange=M()("state"),this.arcgisReady=D()}static{this.properties={analysis:0,view:0,visualizeSunlight:5,visualScale:3,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideTotalDurationOptions:5,hideTotalDurationColorPicker:5,hideTotalDurationModeSelect:5,hideMinDurationOptions:5,hideMinDurationColorPicker:5,hideMinDurationSlider:5,hideMinDurationContextOptions:5,hideMinDurationContextToggle:5,hideMinDurationContextColorPicker:5,hideMinDurationContextInterval:5,icon:3,label:1,mode:1,referenceElement:1,startTimeOfDay:9,state:32,timeZoneMode:1,utcOffset:9,discreteColor:0,discreteInterval:9,totalDurationColor:0,totalDurationMode:1,minDuration:9,minDurationColor:0,minMinDuration:9,maxMinDuration:9,minDurationContextEnabled:5,minDurationContextColor:0,minDurationContextInterval:9}}static{this.styles=B}get _effectiveMessages(){let{messages:i,visualizeSunlight:t}=this,{sunlight:n}=i;return{...i,discrete:t?n?.discrete:i.discrete,minDuration:t?n?.minDuration:i.minDuration,totalDuration:t?n?.totalDuration:i.totalDuration,timeInShadow:t?i.timeInSunlight:i.timeInShadow,timeRangeSliderLabel:i.timeRangeSliderLabel}}get date(){return this.viewModel.date}set date(i){this.viewModel.date=i}async destroy(){await this.manager.destroy()}async getDurationAtScreen(i){return await this.viewModel.getDurationAtScreen(i)}render(){let{_effectiveMessages:i}=this;return d`<div aria-label=${i.componentLabel??x} class=${u({root:!0,[g.widget]:!0,[g.widgetDisabled]:this.viewModel.state==="disabled",[g.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${m({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(!this.analysis||this.hideTimeRangeSlider&&this.hideDatePicker)return;let{_effectiveMessages:i,viewModel:t}=this,n=this.visualScale,s=t.timeZone;return d`<section class="time-range-section">${s&&!this.hideTimezone?d`<div class="time-range-heading">${p({level:this.headingLevel,children:i.timeRangeHeading})}<arcgis-time-zone-chip .disabled=${t.state==="disabled"} .timeZone=${s} .visualScale=${n} @arcgisInternalTimeZoneChange=${l=>{t.timeZone=l.detail}}></arcgis-time-zone-chip></div>`:p({level:this.headingLevel,children:i.timeRangeHeading})}${m({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${s==null?m({hidden:this.hideTimezone,children:d`<calcite-label .scale=${n}>${i.timezoneLabel}<calcite-input-time-zone data-testid=shadow-cast-time-zone-input mode=offset overlay-positioning=fixed .referenceDate=${t.localDate} .scale=${n} .value=${`${h(t.effectiveUtcOffset,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{t.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`}):null}${m({hidden:this.hideDatePicker,children:d`<calcite-label .scale=${n}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${n} .valueAsDate=${t.date} @calciteInputDatePickerChange=${l=>{let c=l.currentTarget.valueAsDate;t.date=Array.isArray(c)?c[0]:c}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{_effectiveMessages:i,viewModel:t}=this;return d`<arcgis-time-of-day-slider mode=range .startTime=${I(this.startTimeOfDay)} .endTime=${I(this.endTimeOfDay)} .label=${i.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({currentTarget:n})=>{t.startTimeOfDay=h(n.startTime,"minutes","milliseconds"),t.endTimeOfDay=h(n.endTime,"minutes","milliseconds")}}></arcgis-time-of-day-slider>`}_renderVisualizationOptionsSection(){let{analysis:i,_effectiveMessages:t,headingLevel:n,viewModel:s}=this;if(!i)return;let{discreteOptions:l,totalDurationOptions:c,minDurationOptions:P}=i,v=(E,R)=>s.mode===E&&!R?void 0:"hidden-config",V=this.hideMinDurationContextOptions||this.visualizeSunlight,L=this.hideMinDurationContextToggle||this.visualizeSunlight;return d`<section class="visualization-options-section">${p({level:n,children:t.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(v("min-duration",this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${V} .hideContextToggle=${L} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${t} .options=${P} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(v("total-duration",this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${t} .options=${c} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(v("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${t} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{_effectiveMessages:i,viewModel:t}=this,{mode:n}=t;return d`<calcite-select .label=${i.visualizationLabel??""} .scale=${this.visualScale} @calciteSelectChange=${s=>{let l=s.target.selectedOption?.value;t.mode=l??"min-duration"}}>${[{mode:"min-duration",label:i.minDuration?.optionLabel},{mode:"total-duration",label:i.totalDuration?.optionLabel},{mode:"discrete",label:i.discrete?.optionLabel}].map(({mode:s,label:l})=>d`<calcite-option .selected=${s===n} .value=${s} .label=${l}></calcite-option>`)}</calcite-select>`}};function I(e){return Math.round(h(e,"milliseconds","minutes"))}b("arcgis-shadow-cast",w);return w},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,e,i,j,k)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as S}from"./TMTFZSJS.js";import{a as f,d as h,i as z}from"./IM6IDWYR.js";import{a as $}from"./FH3WFF5O.js";import k from"./YDZZPLVB.js";import{a as m}from"./6J3KSMFG.js";import j from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as p}from"./HQWUQFN5.js";import i from"./5YHHJ5ZE.js";import{a as C}from"./ZSPYPXBY.js";import{a as g}from"./L5IRXOCJ.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 _,R as u,U as x,X as b,a as y,b as d,x as D}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([A,{property:r,subclass:H},{watch:k,whenOnce:j},{forceInteractive:U},,,,O,,T])=>{var B=y`.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-hidden{display:none!important}.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}:host{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-heading{display:flex;align-items:center;gap:var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-sm);.esri-widget__heading{margin-block-end:0}arcgis-time-zone-chip{margin-inline-start:auto}}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`,F=Object.defineProperty,K=Object.getOwnPropertyDescriptor,a=(e,i,t,n)=>{for(var s=n>1?void 0:n?K(i,t):i,l=e.length-1,c;l>=0;l--)(c=e[l])&&(s=(n?c(i,t,s):c(s))||s);return n&&s&&F(i,t,s),s},Z=Symbol("interactiveHandle"),o=class extends T{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.shouldForceInteractive=!1,this.timeZoneMode="offset",this.minMinDuration=0,this.maxMinDuration=h(8,"hours","milliseconds"),this.hideShadowDurationTooltip=!1}constructAnalysis(){return new A}initialize(){this.addHandles([k(()=>({analysisView:this.analysisView,tooltipVisible:!this.hideShadowDurationTooltip}),({analysisView:e,tooltipVisible:i})=>{this.removeHandles(Z),e&&(e.interactive=i,i&&this.addHandles(U(e),Z))},{sync:!0,initial:!0}),k(()=>({analysis:this.analysis,analysisTimeZone:this.analysis.timeZone,timeZone:this.view?.timeZone??f,timeZoneMode:this.timeZoneMode}),({analysis:e,analysisTimeZone:i,timeZone:t,timeZoneMode:n})=>{let s=this._viewTimeZoneSync;if(s&&(n!=="region"||s.analysis!==e)&&this._clearViewTimeZoneSync(),n!=="region")return;let l=this._viewTimeZoneSync;l&&(i!==l.timeZone?this._clearViewTimeZoneSync():t!==l.timeZone&&(l.timeZone=t,e.timeZone=t)),!this._viewTimeZoneSync&&e.timeZone==null&&(this._viewTimeZoneSync={analysis:e,originalTimeZone:i,timeZone:t},e.timeZone=t)},{sync:!0,initial:!0}),$(()=>this._clearViewTimeZoneSync())])}_clearViewTimeZoneSync(){let e=this._viewTimeZoneSync;this._viewTimeZoneSync=void 0,e&&e.analysis.timeZone===e.timeZone&&(e.analysis.timeZone=e.originalTimeZone)}get date(){return this.analysis.date}set date(e){this.analysis.date=e}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(e){this.analysis.discreteOptions.color=e}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(e){this.analysis.discreteOptions.interval=e}get totalDurationColor(){return this.analysis.totalDurationOptions.color}set totalDurationColor(e){this.analysis.totalDurationOptions.color=e}get totalDurationMode(){return this.analysis.totalDurationOptions.mode}set totalDurationMode(e){this.analysis.totalDurationOptions.mode=e}get localDate(){return z(this.view,this.effectiveUtcOffset)}get mode(){return this.analysis.mode}set mode(e){this.analysis.mode=e}get visualizeSunlight(){return this.analysis.visualizeSunlight}set visualizeSunlight(e){this.analysis.visualizeSunlight=e}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(e){this.analysis.startTimeOfDay=e}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(e){this.analysis.endTimeOfDay=e}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get timeZone(){return this.analysis.timeZone??(this.timeZoneMode==="region"?this.view?.timeZone??f:null)}set timeZone(e){this.analysis.timeZone=e}get minDurationColor(){return this.analysis.minDurationOptions.color}set minDurationColor(e){this.analysis.minDurationOptions.color=e}get minDuration(){return this.analysis.minDurationOptions.minDuration}set minDuration(e){this.analysis.minDurationOptions.minDuration=e}get minDurationContextEnabled(){return this.analysis.minDurationOptions.contextEnabled}set minDurationContextEnabled(e){this.analysis.minDurationOptions.contextEnabled=e}get minDurationContextColor(){return this.analysis.minDurationOptions.contextOptions.color}set minDurationContextColor(e){this.analysis.minDurationOptions.contextOptions.color=e}get minDurationContextInterval(){return this.analysis.minDurationOptions.contextOptions.interval}set minDurationContextInterval(e){this.analysis.minDurationOptions.contextOptions.interval=e}get utcOffset(){return this.analysis.utcOffset??void 0}set utcOffset(e){this.analysis.utcOffset=e}get effectiveUtcOffset(){let{utcOffset:e}=this.analysis;if(e!=null)return e;let i=this.view?.camera?.position;return i?S(i):0}async getDurationAtScreen(e){return await(await j(()=>this.analysisView)).getDurationAtScreen(e)}};a([r()],o.prototype,"date",1);a([r()],o.prototype,"discreteColor",1);a([r()],o.prototype,"discreteInterval",1);a([r()],o.prototype,"totalDurationColor",1);a([r()],o.prototype,"totalDurationMode",1);a([r()],o.prototype,"localDate",1);a([r()],o.prototype,"mode",1);a([r()],o.prototype,"visualizeSunlight",1);a([r()],o.prototype,"startTimeOfDay",1);a([r()],o.prototype,"endTimeOfDay",1);a([r()],o.prototype,"state",1);a([r()],o.prototype,"timeZoneMode",2);a([r()],o.prototype,"timeZone",1);a([r()],o.prototype,"minDurationColor",1);a([r()],o.prototype,"minMinDuration",2);a([r()],o.prototype,"maxMinDuration",2);a([r()],o.prototype,"minDuration",1);a([r()],o.prototype,"minDurationContextEnabled",1);a([r()],o.prototype,"minDurationContextColor",1);a([r()],o.prototype,"minDurationContextInterval",1);a([r()],o.prototype,"utcOffset",1);a([r()],o.prototype,"effectiveUtcOffset",1);a([r()],o.prototype,"hideShadowDurationTooltip",2);o=a([H("components.shadow-cast.ShadowCastViewModel")],o);var G=O(o),w=class extends _{constructor(){super(...arguments),this.viewModel=G(this),this.messages=C(),this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.visualizeSunlight=this.viewModel.visualizeSunlight,this.visualScale="m",this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=this.viewModel.hideShadowDurationTooltip,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideTotalDurationOptions=!1,this.hideTotalDurationColorPicker=!1,this.hideTotalDurationModeSelect=!1,this.hideMinDurationOptions=!1,this.hideMinDurationColorPicker=!1,this.hideMinDurationSlider=!1,this.hideMinDurationContextOptions=!1,this.hideMinDurationContextToggle=!1,this.hideMinDurationContextColorPicker=!1,this.hideMinDurationContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.timeZoneMode=this.viewModel.timeZoneMode,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.totalDurationColor=this.viewModel.totalDurationColor,this.totalDurationMode=this.viewModel.totalDurationMode,this.minDuration=this.viewModel.minDuration,this.minDurationColor=this.viewModel.minDurationColor,this.minMinDuration=this.viewModel.minMinDuration,this.maxMinDuration=this.viewModel.maxMinDuration,this.minDurationContextEnabled=this.viewModel.minDurationContextEnabled,this.minDurationContextColor=this.viewModel.minDurationContextColor,this.minDurationContextInterval=this.viewModel.minDurationContextInterval,this.arcgisPropertyChange=M()("state"),this.arcgisReady=D()}static{this.properties={analysis:0,view:0,visualizeSunlight:5,visualScale:3,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideTotalDurationOptions:5,hideTotalDurationColorPicker:5,hideTotalDurationModeSelect:5,hideMinDurationOptions:5,hideMinDurationColorPicker:5,hideMinDurationSlider:5,hideMinDurationContextOptions:5,hideMinDurationContextToggle:5,hideMinDurationContextColorPicker:5,hideMinDurationContextInterval:5,icon:3,label:1,mode:1,referenceElement:1,startTimeOfDay:9,state:32,timeZoneMode:1,utcOffset:9,discreteColor:0,discreteInterval:9,totalDurationColor:0,totalDurationMode:1,minDuration:9,minDurationColor:0,minMinDuration:9,maxMinDuration:9,minDurationContextEnabled:5,minDurationContextColor:0,minDurationContextInterval:9}}static{this.styles=B}get _effectiveMessages(){let{messages:i,visualizeSunlight:t}=this,{sunlight:n}=i;return{...i,discrete:t?n?.discrete:i.discrete,minDuration:t?n?.minDuration:i.minDuration,totalDuration:t?n?.totalDuration:i.totalDuration,timeInShadow:t?i.timeInSunlight:i.timeInShadow,timeRangeSliderLabel:i.timeRangeSliderLabel}}get date(){return this.viewModel.date}set date(i){this.viewModel.date=i}async destroy(){await this.manager.destroy()}async getDurationAtScreen(i){return await this.viewModel.getDurationAtScreen(i)}render(){let{_effectiveMessages:i}=this;return d`<div aria-label=${i.componentLabel??x} class=${u({root:!0,[g.widget]:!0,[g.widgetDisabled]:this.viewModel.state==="disabled",[g.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${m({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(!this.analysis||this.hideTimeRangeSlider&&this.hideDatePicker)return;let{_effectiveMessages:i,viewModel:t}=this,n=this.visualScale,s=t.timeZone;return d`<section class="time-range-section">${s&&!this.hideTimezone?d`<div class="time-range-heading">${p({level:this.headingLevel,children:i.timeRangeHeading})}<arcgis-time-zone-chip .disabled=${t.state==="disabled"} .timeZone=${s} .visualScale=${n} @arcgisInternalTimeZoneChange=${l=>{t.timeZone=l.detail}}></arcgis-time-zone-chip></div>`:p({level:this.headingLevel,children:i.timeRangeHeading})}${m({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${s==null?m({hidden:this.hideTimezone,children:d`<calcite-label .scale=${n}>${i.timezoneLabel}<calcite-input-time-zone data-testid=shadow-cast-time-zone-input mode=offset overlay-positioning=fixed .referenceDate=${t.localDate} .scale=${n} .value=${`${h(t.effectiveUtcOffset,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{t.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`}):null}${m({hidden:this.hideDatePicker,children:d`<calcite-label .scale=${n}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${n} .valueAsDate=${t.date} @calciteInputDatePickerChange=${l=>{let c=l.currentTarget.valueAsDate;t.date=Array.isArray(c)?c[0]:c}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{_effectiveMessages:i,viewModel:t}=this;return d`<arcgis-time-of-day-slider mode=range .startTime=${I(this.startTimeOfDay)} .endTime=${I(this.endTimeOfDay)} .label=${i.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({currentTarget:n})=>{t.startTimeOfDay=h(n.startTime,"minutes","milliseconds"),t.endTimeOfDay=h(n.endTime,"minutes","milliseconds")}}></arcgis-time-of-day-slider>`}_renderVisualizationOptionsSection(){let{analysis:i,_effectiveMessages:t,headingLevel:n,viewModel:s}=this;if(!i)return;let{discreteOptions:l,totalDurationOptions:c,minDurationOptions:P}=i,v=(E,R)=>s.mode===E&&!R?void 0:"hidden-config",V=this.hideMinDurationContextOptions||this.visualizeSunlight,L=this.hideMinDurationContextToggle||this.visualizeSunlight;return d`<section class="visualization-options-section">${p({level:n,children:t.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(v("min-duration",this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${V} .hideContextToggle=${L} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${t} .options=${P} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(v("total-duration",this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${t} .options=${c} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(v("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${t} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{_effectiveMessages:i,viewModel:t}=this,{mode:n}=t;return d`<calcite-select .label=${i.visualizationLabel??""} .scale=${this.visualScale} @calciteSelectChange=${s=>{let l=s.target.selectedOption?.value;t.mode=l??"min-duration"}}>${[{mode:"min-duration",label:i.minDuration?.optionLabel},{mode:"total-duration",label:i.totalDuration?.optionLabel},{mode:"discrete",label:i.discrete?.optionLabel}].map(({mode:s,label:l})=>d`<calcite-option .selected=${s===n} .value=${s} .label=${l}></calcite-option>`)}</calcite-select>`}};function I(e){return Math.round(h(e,"milliseconds","minutes"))}b("arcgis-shadow-cast",w);return w},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,e,i,j,k)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./H6RQVSYM.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import"./TAVTDQ6S.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:"",OK:"\u786E\u5B9A",Cancel:"\u53D6\u6D88",Delete:"\u5220\u9664",Settings:"\u8BBE\u7F6E",Expand:"\u5C55\u5F00","Move Up":"\u4E0A\u79FB","Move Down":"\u4E0B\u79FB"};export{o as default};