@arcgis/map-components 6.0.0-next.4 → 6.0.0-next.40

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 (809) hide show
  1. package/dist/cdn/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
  2. package/dist/cdn/2BKWAHTD.js +2 -0
  3. package/dist/cdn/2EXFLJU6.js +2 -0
  4. package/dist/cdn/2J6WEB6T.js +2 -0
  5. package/dist/cdn/2JSC2QUL.js +2 -0
  6. package/dist/cdn/2PRSXEWN.js +2 -0
  7. package/dist/cdn/2TATEEFZ.js +2 -0
  8. package/dist/cdn/2X67IX24.js +2 -0
  9. package/dist/cdn/3AMV4V75.js +2 -0
  10. package/dist/cdn/3GEL52XF.js +2 -0
  11. package/dist/cdn/{QKZ552KI.js → 3SMFVQGP.js} +1 -1
  12. package/dist/cdn/3TKC6DSX.js +2 -0
  13. package/dist/cdn/3VFPLRD3.js +2 -0
  14. package/dist/cdn/42QIJYPN.js +2 -0
  15. package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
  16. package/dist/cdn/{SAOLD6MH.js → 446K7RDY.js} +1 -1
  17. package/dist/cdn/44ZEP4IY.js +2 -0
  18. package/dist/cdn/46XABBUQ.js +2 -0
  19. package/dist/cdn/4DRKK3S6.js +2 -0
  20. package/dist/cdn/4HP7BSCJ.js +2 -0
  21. package/dist/cdn/4JR57ZIQ.js +2 -0
  22. package/dist/cdn/4KLQZIOV.js +2 -0
  23. package/dist/cdn/{QT7GRA34.js → 4LFTK2G2.js} +1 -1
  24. package/dist/cdn/{DUMHDAYP.js → 4O6ZYILT.js} +1 -1
  25. package/dist/cdn/4OOG2D4K.js +2 -0
  26. package/dist/cdn/4PM34QMT.js +2 -0
  27. package/dist/cdn/4U6DCBKV.js +2 -0
  28. package/dist/cdn/5CXJJCRX.js +2 -0
  29. package/dist/cdn/5GEEJRIV.js +2 -0
  30. package/dist/cdn/5IWCWL2Q.js +2 -0
  31. package/dist/cdn/5VK56DPB.js +2 -0
  32. package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
  33. package/dist/cdn/{VTCE3YQW.js → 5YPWQQGI.js} +1 -1
  34. package/dist/cdn/625O4F4L.js +2 -0
  35. package/dist/cdn/64Z2GM4G.js +2 -0
  36. package/dist/cdn/6BT6RP22.js +2 -0
  37. package/dist/cdn/{ESOCZAMZ.js → 6DNLVSRG.js} +1 -1
  38. package/dist/cdn/6GFNMSM4.js +2 -0
  39. package/dist/cdn/6H3MIUBS.js +2 -0
  40. package/dist/cdn/6KYZMT4A.js +2 -0
  41. package/dist/cdn/6QZ7MAGX.js +2 -0
  42. package/dist/cdn/6SL7YNKF.js +2 -0
  43. package/dist/cdn/6WT5CUW4.js +2 -0
  44. package/dist/cdn/7LXH7MOG.js +2 -0
  45. package/dist/cdn/7P24CQF4.js +2 -0
  46. package/dist/cdn/7PMJ7HCH.js +2 -0
  47. package/dist/cdn/A6ANFEOT.js +2 -0
  48. package/dist/cdn/AGMTGWSW.js +2 -0
  49. package/dist/cdn/AMRGLUBB.js +2 -0
  50. package/dist/cdn/ANB7YZCR.js +2 -0
  51. package/dist/cdn/{V2YPYCU6.js → ANL4FWAY.js} +1 -1
  52. package/dist/cdn/{2SO5S66J.js → AV6RANT4.js} +1 -1
  53. package/dist/cdn/B5JHLGAR.js +2 -0
  54. package/dist/cdn/{KBA5OIES.js → BBCJXNKF.js} +1 -1
  55. package/dist/cdn/BDWZ4IDY.js +2 -0
  56. package/dist/cdn/BJUFDQGX.js +2 -0
  57. package/dist/cdn/BMCWYFA5.js +2 -0
  58. package/dist/cdn/BUJRBKUJ.js +2 -0
  59. package/dist/cdn/BXBPEOE3.js +2 -0
  60. package/dist/cdn/BZ7I4EVH.js +2 -0
  61. package/dist/cdn/C56JAWYF.js +2 -0
  62. package/dist/cdn/C6YBFPOZ.js +2 -0
  63. package/dist/cdn/CDZ5APA7.js +2 -0
  64. package/dist/cdn/CLAUPAZP.js +2 -0
  65. package/dist/cdn/CN4RPDZZ.js +2 -0
  66. package/dist/cdn/CNUAMIZQ.js +3 -0
  67. package/dist/cdn/CRF4QEYX.js +2 -0
  68. package/dist/cdn/CRJB272X.js +2 -0
  69. package/dist/cdn/CX23L4OX.js +2 -0
  70. package/dist/cdn/D3EEDNNQ.js +2 -0
  71. package/dist/cdn/{EK7Y6JBZ.js → D73SZKP6.js} +1 -1
  72. package/dist/cdn/D7RGMUI2.js +2 -0
  73. package/dist/cdn/DBDYLXR3.js +2 -0
  74. package/dist/cdn/DENZ276N.js +2 -0
  75. package/dist/cdn/DFNH6YRR.js +2 -0
  76. package/dist/cdn/DJTPCTD2.js +2 -0
  77. package/dist/cdn/{WBBTZNZU.js → DP2UXNPJ.js} +1 -1
  78. package/dist/cdn/DSIYRWN2.js +2 -0
  79. package/dist/cdn/DVH35LZL.js +2 -0
  80. package/dist/cdn/DVLTVCIH.js +2 -0
  81. package/dist/cdn/DXPNJHEM.js +2 -0
  82. package/dist/cdn/DYKRS7YX.js +2 -0
  83. package/dist/cdn/{HPWF3IQV.js → E3RBRDUV.js} +1 -1
  84. package/dist/cdn/EG2L67V5.js +2 -0
  85. package/dist/cdn/ELK22XFC.js +2 -0
  86. package/dist/cdn/EMOYKTQL.js +2 -0
  87. package/dist/cdn/EPPCGUBI.js +2 -0
  88. package/dist/cdn/{VUAYNF3K.js → EZFBYRI4.js} +1 -1
  89. package/dist/cdn/F5JWLUNT.js +2 -0
  90. package/dist/cdn/{WSHG4LV7.js → F5X65A3N.js} +1 -1
  91. package/dist/cdn/{RRSU6QD4.js → F6OOD4XH.js} +1 -1
  92. package/dist/cdn/FK6XIGNL.js +2 -0
  93. package/dist/cdn/{MA7GBKLW.js → FK7DDNOY.js} +1 -1
  94. package/dist/cdn/FPE4MRJJ.js +2 -0
  95. package/dist/cdn/FTRRLFYT.js +2 -0
  96. package/dist/cdn/FY7P5YLX.js +2 -0
  97. package/dist/cdn/{PPAFKBPN.js → G4CULX2V.js} +1 -1
  98. package/dist/cdn/G7UA3GCV.js +2 -0
  99. package/dist/cdn/GA75N36P.js +2 -0
  100. package/dist/cdn/GDE46UIN.js +2 -0
  101. package/dist/cdn/GEZIZQV6.js +2 -0
  102. package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
  103. package/dist/cdn/GGS33TQP.js +2 -0
  104. package/dist/cdn/{OUC5HWPQ.js → GKMKHUYO.js} +1 -1
  105. package/dist/cdn/GMXEWGVF.js +2 -0
  106. package/dist/cdn/GOMR7D5M.js +2 -0
  107. package/dist/cdn/GQDEVRKG.js +2 -0
  108. package/dist/cdn/GRZJXRZ5.js +2 -0
  109. package/dist/cdn/{65MI3MW2.js → GTQOMGD7.js} +1 -1
  110. package/dist/cdn/GZOFHTYL.js +2 -0
  111. package/dist/cdn/H3BORJ4D.js +2 -0
  112. package/dist/cdn/H7KPXXYG.js +2 -0
  113. package/dist/cdn/HKKNU4CX.js +2 -0
  114. package/dist/cdn/HOMM5T7F.js +2 -0
  115. package/dist/cdn/HR7ZYFTI.js +2 -0
  116. package/dist/cdn/{PGUZODKZ.js → HTUN6GST.js} +1 -1
  117. package/dist/cdn/HU2SSY4B.js +2 -0
  118. package/dist/cdn/{ZIBQTNB6.js → HU6UTBYZ.js} +1 -1
  119. package/dist/cdn/HUZLTULW.js +2 -0
  120. package/dist/cdn/HXQ26YHC.js +2 -0
  121. package/dist/cdn/I7XTEFQP.js +2 -0
  122. package/dist/cdn/ICVPF3HG.js +2 -0
  123. package/dist/cdn/{FHHVGI4H.js → IGJX57YC.js} +1 -1
  124. package/dist/cdn/IH2T7XRU.js +2 -0
  125. package/dist/cdn/IH7XQCY4.js +2 -0
  126. package/dist/cdn/IRDDLVT2.js +2 -0
  127. package/dist/cdn/IW3P4TGM.js +4 -0
  128. package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
  129. package/dist/cdn/J2UKNBRU.js +2 -0
  130. package/dist/cdn/J4Q5N5D6.js +2 -0
  131. package/dist/cdn/JB6WQEFJ.js +2 -0
  132. package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
  133. package/dist/cdn/JFE63ANJ.js +2 -0
  134. package/dist/cdn/JILA7S66.js +2 -0
  135. package/dist/cdn/JPQ5ELDQ.js +2 -0
  136. package/dist/cdn/JWCEHGEZ.js +2 -0
  137. package/dist/cdn/K2FK6DOL.js +2 -0
  138. package/dist/cdn/KBRYRH7T.js +2 -0
  139. package/dist/cdn/KKSTZRNG.js +2 -0
  140. package/dist/cdn/KLSIUZNN.js +2 -0
  141. package/dist/cdn/KMT6GH2D.js +2 -0
  142. package/dist/cdn/KWY77UEE.js +2 -0
  143. package/dist/cdn/{52CUDGKY.js → KWYTKFIZ.js} +1 -1
  144. package/dist/cdn/{S6BPBG7D.js → L2L5W4AL.js} +1 -1
  145. package/dist/cdn/L3G6WFXY.js +2 -0
  146. package/dist/cdn/L6B4S7NV.js +2 -0
  147. package/dist/cdn/LDNST76E.js +2 -0
  148. package/dist/cdn/LGBJIOTW.js +2 -0
  149. package/dist/cdn/LHH3PS5H.js +2 -0
  150. package/dist/cdn/{SIFBGT4D.js → LI3NOBHV.js} +1 -1
  151. package/dist/cdn/LQYTLVCL.js +2 -0
  152. package/dist/cdn/LU7T7KSQ.js +2 -0
  153. package/dist/cdn/LUXHFHRT.js +2 -0
  154. package/dist/cdn/LWX6L3JT.js +2 -0
  155. package/dist/cdn/LXME6MU5.js +2 -0
  156. package/dist/cdn/{YDZZPLVB.js → LZUAJU6O.js} +1 -1
  157. package/dist/cdn/M4PV743P.js +2 -0
  158. package/dist/cdn/{OAYNZFL2.js → M4RV2DCP.js} +1 -1
  159. package/dist/cdn/M5YUKXZG.js +2 -0
  160. package/dist/cdn/MG2HQ3FT.js +2 -0
  161. package/dist/cdn/MGERV5RP.js +2 -0
  162. package/dist/cdn/MVTCAJTE.js +2 -0
  163. package/dist/cdn/MVVX32NQ.js +2 -0
  164. package/dist/cdn/N4HZLXED.js +2 -0
  165. package/dist/cdn/NC7HMCQS.js +2 -0
  166. package/dist/cdn/NCI2IL35.js +2 -0
  167. package/dist/cdn/NF426VVG.js +2 -0
  168. package/dist/cdn/NITCLRB6.js +2 -0
  169. package/dist/cdn/{HQWUQFN5.js → NN4HL3RN.js} +1 -1
  170. package/dist/cdn/NPWUWO5D.js +2 -0
  171. package/dist/cdn/NTEKRSNB.js +2 -0
  172. package/dist/cdn/NYIKMTKG.js +2 -0
  173. package/dist/cdn/NZQCJQ4Q.js +2 -0
  174. package/dist/cdn/O2RCWKKW.js +2 -0
  175. package/dist/cdn/OAZQQASF.js +2 -0
  176. package/dist/cdn/OJDGKV5X.js +2 -0
  177. package/dist/cdn/OMDFAKMT.js +2 -0
  178. package/dist/cdn/{P2I63WVL.js → OT4D3TVG.js} +1 -1
  179. package/dist/cdn/OWJ5ENXR.js +2 -0
  180. package/dist/cdn/OZ7HDVE2.js +2 -0
  181. package/dist/cdn/PQ4HZRQ5.js +2 -0
  182. package/dist/cdn/PSBSMEOS.js +2 -0
  183. package/dist/cdn/PTJOLAFO.js +2 -0
  184. package/dist/cdn/PTS3BVGQ.js +2 -0
  185. package/dist/cdn/PWG3JEER.js +2 -0
  186. package/dist/cdn/PWMO74B5.js +2 -0
  187. package/dist/cdn/PXRN3VUN.js +2 -0
  188. package/dist/cdn/PYBUTNHM.js +2 -0
  189. package/dist/cdn/QHO5AMUP.js +2 -0
  190. package/dist/cdn/QNQOBXLM.js +2 -0
  191. package/dist/cdn/QVI5ZINK.js +2 -0
  192. package/dist/cdn/RC7AEIEI.js +2 -0
  193. package/dist/cdn/RCJ3GROZ.js +2 -0
  194. package/dist/cdn/RIWLSAPB.js +2 -0
  195. package/dist/cdn/RLG3UWIL.js +2 -0
  196. package/dist/cdn/RX7LVZ5V.js +2 -0
  197. package/dist/cdn/{ZSPYPXBY.js → SAI7K4OO.js} +1 -1
  198. package/dist/cdn/SC4BF7H6.js +2 -0
  199. package/dist/cdn/{RUYAWRPV.js → SKV3CQSZ.js} +1 -1
  200. package/dist/cdn/SMEVSYDK.js +2 -0
  201. package/dist/cdn/{MICLX7QW.js → SMMOQFAB.js} +1 -1
  202. package/dist/cdn/SN6VSKBM.js +2 -0
  203. package/dist/cdn/SPJZCPH4.js +2 -0
  204. package/dist/cdn/{M6YVO33A.js → SQH7I4MS.js} +1 -1
  205. package/dist/cdn/SRPQR7CY.js +2 -0
  206. package/dist/cdn/ST5CGV6Q.js +2 -0
  207. package/dist/cdn/{HI7BF3DL.js → SUGD5PEJ.js} +1 -1
  208. package/dist/cdn/T2BFHU2Z.js +2 -0
  209. package/dist/cdn/T2JBUILX.js +2 -0
  210. package/dist/cdn/TCY4IVTP.js +2 -0
  211. package/dist/cdn/TEEHMUMV.js +2 -0
  212. package/dist/cdn/THHQJGUB.js +2 -0
  213. package/dist/cdn/TII37L6V.js +2 -0
  214. package/dist/cdn/TJHVEY7T.js +2 -0
  215. package/dist/cdn/TLZBUTWJ.js +2 -0
  216. package/dist/cdn/{XKCB2DEP.js → TRRAIBBM.js} +1 -1
  217. package/dist/cdn/TXVB6WRV.js +2 -0
  218. package/dist/cdn/U2UY53UR.js +2 -0
  219. package/dist/cdn/U2XP3I7M.js +2 -0
  220. package/dist/cdn/U53HTVZS.js +2 -0
  221. package/dist/cdn/U6BOSBYA.js +2 -0
  222. package/dist/cdn/U6UL7OKY.js +2 -0
  223. package/dist/cdn/UI3RWIDZ.js +2 -0
  224. package/dist/cdn/UIDNNWPD.js +2 -0
  225. package/dist/cdn/UJBFSJDF.js +2 -0
  226. package/dist/cdn/UYDXI4AK.js +4 -0
  227. package/dist/cdn/V345T5CR.js +2 -0
  228. package/dist/cdn/{EV7IIQBP.js → V6CCL3L6.js} +1 -1
  229. package/dist/cdn/VQURMPYV.js +2 -0
  230. package/dist/cdn/VRUG5L4Z.js +2 -0
  231. package/dist/cdn/VVLJLOSE.js +2 -0
  232. package/dist/cdn/VZUPHB6L.js +2 -0
  233. package/dist/cdn/WNXQHRKE.js +2 -0
  234. package/dist/cdn/{Z2UUXST4.js → WRB2DEQ6.js} +1 -1
  235. package/dist/cdn/{FQSHLYKX.js → WV3Q2QUS.js} +1 -1
  236. package/dist/cdn/WVRIR3PK.js +2 -0
  237. package/dist/cdn/WYQAN63T.js +2 -0
  238. package/dist/cdn/X64WORSC.js +2 -0
  239. package/dist/cdn/XFQWANZ4.js +2 -0
  240. package/dist/cdn/{ZHSESERJ.js → XMYFUC6S.js} +1 -1
  241. package/dist/cdn/{N3DTZRST.js → XQRLK3FO.js} +1 -1
  242. package/dist/cdn/{OAMA6SL3.js → XRQKJFNJ.js} +1 -1
  243. package/dist/cdn/XWGAKGVP.js +2 -0
  244. package/dist/cdn/{TDZIH5OK.js → XXDJKZSO.js} +1 -1
  245. package/dist/cdn/Y4GL4RZF.js +2 -0
  246. package/dist/cdn/Y5BPYGSY.js +2 -0
  247. package/dist/cdn/Y6MM3GUE.js +2 -0
  248. package/dist/cdn/Y6WTYXVP.js +2 -0
  249. package/dist/cdn/{26URLKXD.js → Y6ZJNJZ7.js} +1 -1
  250. package/dist/cdn/Y6ZUXP3Q.js +2 -0
  251. package/dist/cdn/YAWLVMV6.js +2 -0
  252. package/dist/cdn/{CKS5ACAB.js → YDDOSD2C.js} +1 -1
  253. package/dist/cdn/YE6AOCCR.js +2 -0
  254. package/dist/cdn/YEPFWDQQ.js +2 -0
  255. package/dist/cdn/{PIDNZKSJ.js → YEPGUNSV.js} +1 -1
  256. package/dist/cdn/YGBYB3BZ.js +2 -0
  257. package/dist/cdn/{XP74F2F6.js → YGD6HMAF.js} +1 -1
  258. package/dist/cdn/YIN7QUD2.js +2 -0
  259. package/dist/cdn/YVXXZIP7.js +2 -0
  260. package/dist/cdn/YWKKRBFW.js +2 -0
  261. package/dist/cdn/Z6JIKBXL.js +2 -0
  262. package/dist/cdn/ZPA5JUPD.js +2 -0
  263. package/dist/cdn/{3ONY25MG.js → ZRBE5FVD.js} +1 -1
  264. package/dist/cdn/ZRT4RJ62.js +2 -0
  265. package/dist/cdn/ZSO62SMG.js +2 -0
  266. package/dist/cdn/{IAWXCNTX.js → ZXE7NGIY.js} +1 -1
  267. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
  268. package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
  269. package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
  270. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  271. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
  272. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  273. package/dist/cdn/index.js +1 -1
  274. package/dist/cdn/main.css +1 -1
  275. package/dist/chunks/attachment-utils.js +5 -5
  276. package/dist/chunks/chart-utils.js +12 -12
  277. package/dist/chunks/esri-main.js +1 -1
  278. package/dist/chunks/layer-list-next.js +49 -4
  279. package/dist/chunks/loader-utils.js +43 -0
  280. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  281. package/dist/chunks/resources.js +10 -4
  282. package/dist/chunks/screenLocation.js +10 -10
  283. package/dist/chunks/slots.js +7 -7
  284. package/dist/chunks/useArcgisViewReadyError.js +226 -156
  285. package/dist/chunks/useViewModel.js +7 -7
  286. package/dist/chunks/utils.js +17 -17
  287. package/dist/chunks/utils5.js +2 -2
  288. package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
  289. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
  290. package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
  291. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +12 -6
  292. package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
  293. package/dist/components/{arcgis-feature-form-field → arcgis-attachment-detail-view}/customElement.d.ts +72 -28
  294. package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
  295. package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
  296. package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
  297. package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
  298. package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
  299. package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
  300. package/dist/components/arcgis-attachments/customElement.js +3 -3
  301. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  302. package/dist/components/arcgis-basemap-gallery/customElement.js +24 -24
  303. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  304. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  305. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  306. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +7 -4
  307. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +125 -122
  308. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  309. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  310. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  311. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  312. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  313. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  314. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  315. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  316. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  317. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +10 -7
  318. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +87 -86
  319. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  320. package/dist/components/arcgis-compass/customElement.js +1 -1
  321. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
  322. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  323. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
  324. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +38 -38
  325. package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
  326. package/dist/components/arcgis-daylight/customElement.js +136 -132
  327. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +14 -9
  328. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
  329. package/dist/components/arcgis-directional-pad/customElement.js +53 -58
  330. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  331. package/dist/components/arcgis-directions/customElement.js +4 -4
  332. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
  333. package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
  334. package/dist/components/arcgis-editor/customElement.d.ts +44 -22
  335. package/dist/components/arcgis-editor/customElement.js +17 -12
  336. package/dist/components/arcgis-elevation-profile/customElement.d.ts +17 -9
  337. package/dist/components/arcgis-elevation-profile/customElement.js +95 -97
  338. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  339. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  340. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  341. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  342. package/dist/components/arcgis-expand/customElement.d.ts +49 -2
  343. package/dist/components/arcgis-expand/customElement.js +47 -47
  344. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  345. package/dist/components/arcgis-exploratory-analysis/customElement.js +57 -54
  346. package/dist/components/arcgis-feature/customElement.js +1 -1
  347. package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
  348. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  349. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  350. package/dist/components/arcgis-feature-expression/customElement.js +47 -47
  351. package/dist/components/arcgis-feature-fields/customElement.js +16 -16
  352. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  353. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  354. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  355. package/dist/components/arcgis-feature-media/customElement.js +263 -216
  356. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  357. package/dist/components/arcgis-feature-next/customElement.js +23 -16
  358. package/dist/components/arcgis-feature-relationship/customElement.js +97 -98
  359. package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
  360. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  361. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  362. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  363. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  364. package/dist/components/arcgis-features/customElement.d.ts +6 -6
  365. package/dist/components/arcgis-features/customElement.js +19 -18
  366. package/dist/components/arcgis-features-next/customElement.d.ts +14 -8
  367. package/dist/components/arcgis-features-next/customElement.js +190 -150
  368. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
  369. package/dist/components/arcgis-floor-filter/customElement.js +41 -41
  370. package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
  371. package/dist/components/arcgis-fullscreen/customElement.js +4 -4
  372. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  373. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  374. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  375. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  376. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  377. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  378. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
  379. package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
  380. package/dist/components/arcgis-layer-list-next/customElement.d.ts +8 -7
  381. package/dist/components/arcgis-layer-list-next/customElement.js +146 -135
  382. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
  383. package/dist/components/arcgis-legend/customElement.d.ts +3 -1
  384. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  385. package/dist/components/arcgis-line-of-sight/customElement.d.ts +17 -5
  386. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  387. package/dist/components/arcgis-link-chart/customElement.d.ts +41 -26
  388. package/dist/components/arcgis-link-chart/customElement.js +28 -28
  389. package/dist/components/arcgis-locate/customElement.js +6 -6
  390. package/dist/components/arcgis-map/customElement.d.ts +65 -53
  391. package/dist/components/arcgis-map/customElement.js +21 -21
  392. package/dist/components/arcgis-measurement-content/customElement.js +4 -4
  393. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  394. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  395. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  396. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  397. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  398. package/dist/components/arcgis-paste/customElement.js +1 -1
  399. package/dist/components/arcgis-popup/customElement.d.ts +18 -11
  400. package/dist/components/arcgis-popup/customElement.js +199 -183
  401. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  402. package/dist/components/arcgis-presentation/customElement.js +74 -75
  403. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  404. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  405. package/dist/components/arcgis-print/customElement.js +1 -1
  406. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
  407. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  408. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  409. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  410. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  411. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  412. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  413. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  414. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  415. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  416. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  417. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  418. package/dist/components/arcgis-scale-bar/customElement.js +11 -11
  419. package/dist/components/arcgis-scene/customElement.d.ts +69 -33
  420. package/dist/components/arcgis-scene/customElement.js +19 -19
  421. package/dist/components/arcgis-search/customElement.d.ts +17 -6
  422. package/dist/components/arcgis-search/customElement.js +3 -0
  423. package/dist/components/arcgis-selection-list/customElement.d.ts +14 -2
  424. package/dist/components/arcgis-selection-list/customElement.js +11 -11
  425. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +24 -6
  426. package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
  427. package/dist/components/arcgis-shadow-cast/customElement.d.ts +31 -12
  428. package/dist/components/arcgis-shadow-cast/customElement.js +88 -69
  429. package/dist/components/arcgis-shadow-cast/index.js +1 -0
  430. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  431. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  432. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  433. package/dist/components/arcgis-sketch/customElement.d.ts +387 -50
  434. package/dist/components/arcgis-sketch/customElement.js +444 -248
  435. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  436. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  437. package/dist/components/arcgis-slice/customElement.js +24 -24
  438. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  439. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  440. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  441. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  442. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  443. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  444. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  445. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  446. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  447. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  448. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  449. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  450. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  451. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  452. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +15 -7
  453. package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
  454. package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
  455. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  456. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  457. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  458. package/dist/components/arcgis-spinner/customElement.js +1 -1
  459. package/dist/components/arcgis-swipe/customElement.d.ts +8 -29
  460. package/dist/components/arcgis-swipe/customElement.js +247 -65
  461. package/dist/components/arcgis-swipe/types.d.ts +3 -0
  462. package/dist/components/arcgis-table-list-next/customElement.d.ts +4 -1
  463. package/dist/components/arcgis-table-list-next/customElement.js +65 -63
  464. package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
  465. package/dist/components/arcgis-time-bar/customElement.js +122 -120
  466. package/dist/components/arcgis-time-bar/types.d.ts +36 -15
  467. package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
  468. package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
  469. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  470. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +196 -174
  471. package/dist/components/arcgis-time-bar-slider/customElement.js +62 -63
  472. package/dist/components/arcgis-time-slider/customElement.d.ts +9 -7
  473. package/dist/components/arcgis-time-slider/customElement.js +10 -9
  474. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  475. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  476. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  477. package/dist/components/arcgis-track/customElement.d.ts +19 -10
  478. package/dist/components/arcgis-track/types.d.ts +1 -1
  479. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  480. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  481. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  482. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  483. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
  484. package/dist/components/arcgis-utility-network-picker/customElement.js +33 -32
  485. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  486. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +107 -19
  487. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +34 -27
  488. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +61 -17
  489. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +85 -81
  490. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  491. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +147 -12
  492. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +32 -39
  493. package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +1 -2
  494. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +126 -30
  495. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +88 -81
  496. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +63 -9
  497. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +8 -4
  498. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +243 -14
  499. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +124 -110
  500. package/dist/components/arcgis-utility-network-trace-inputs/index.js +0 -1
  501. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
  502. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +167 -129
  503. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +170 -32
  504. package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
  505. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +159 -2
  506. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  507. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  508. package/dist/components/arcgis-version-management/customElement.js +37 -37
  509. package/dist/components/arcgis-video/customElement.d.ts +19 -1
  510. package/dist/components/arcgis-video/customElement.js +7 -4
  511. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
  512. package/dist/components/arcgis-video-player/customElement.d.ts +37 -6
  513. package/dist/components/arcgis-video-player/customElement.js +110 -102
  514. package/dist/components/arcgis-video-player/index.js +4 -4
  515. package/dist/components/arcgis-video-player/types.d.ts +6 -0
  516. package/dist/components/arcgis-video-player-action-bar/customElement.js +2 -2
  517. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  518. package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
  519. package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
  520. package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
  521. package/dist/components/arcgis-video-player-slider/index.js +1 -0
  522. package/dist/components/arcgis-view-popover/customElement.d.ts +65 -33
  523. package/dist/components/arcgis-view-popover/customElement.js +196 -108
  524. package/dist/components/arcgis-view-popover/index.js +1 -1
  525. package/dist/components/arcgis-volume-measurement/customElement.d.ts +34 -14
  526. package/dist/components/arcgis-volume-measurement/customElement.js +64 -64
  527. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  528. package/dist/components/arcgis-weather/customElement.js +1 -1
  529. package/dist/components/slider-legacy/types.d.ts +2 -3
  530. package/dist/docs/api.json +1 -1
  531. package/dist/docs/docs.json +1 -1
  532. package/dist/docs/vscode.css-custom-data.json +1 -1
  533. package/dist/docs/vscode.html-custom-data.json +1 -1
  534. package/dist/docs/web-types.json +1 -1
  535. package/dist/index.d.ts +22 -24
  536. package/dist/loader.js +24 -24
  537. package/dist/types/lumina.d.ts +31 -45
  538. package/dist/types/preact.d.ts +32 -48
  539. package/dist/types/react.d.ts +33 -51
  540. package/dist/types/stencil.d.ts +31 -45
  541. package/package.json +9 -9
  542. package/dist/cdn/2BGZVOT3.js +0 -2
  543. package/dist/cdn/2F4IGA4W.js +0 -2
  544. package/dist/cdn/2KPCMM7D.js +0 -2
  545. package/dist/cdn/2S7DLLA7.js +0 -2
  546. package/dist/cdn/2TY3T3GH.js +0 -2
  547. package/dist/cdn/2U3VASQT.js +0 -2
  548. package/dist/cdn/2UKSCGYU.js +0 -2
  549. package/dist/cdn/3C6FN5WT.js +0 -2
  550. package/dist/cdn/3GHQZCMV.js +0 -2
  551. package/dist/cdn/3N5MWYUQ.js +0 -2
  552. package/dist/cdn/3UMLR76Y.js +0 -4
  553. package/dist/cdn/3VCGDZEU.js +0 -2
  554. package/dist/cdn/4432P7Z5.js +0 -2
  555. package/dist/cdn/44CQCIZB.js +0 -2
  556. package/dist/cdn/4B2TLORL.js +0 -2
  557. package/dist/cdn/4IWYFG2G.js +0 -2
  558. package/dist/cdn/4KQA2GRX.js +0 -2
  559. package/dist/cdn/4O3HLHQQ.js +0 -2
  560. package/dist/cdn/4PI54LJH.js +0 -2
  561. package/dist/cdn/4WKWYFIH.js +0 -2
  562. package/dist/cdn/4XJ6RYYC.js +0 -2
  563. package/dist/cdn/53OXTCE6.js +0 -2
  564. package/dist/cdn/5AMF6NZN.js +0 -2
  565. package/dist/cdn/5DY7GHBN.js +0 -2
  566. package/dist/cdn/5ESNA4SF.js +0 -2
  567. package/dist/cdn/5RAIBYCT.js +0 -2
  568. package/dist/cdn/62IE7RFR.js +0 -2
  569. package/dist/cdn/67PT3A4A.js +0 -2
  570. package/dist/cdn/6A2OF3TO.js +0 -2
  571. package/dist/cdn/6QH2NH2Z.js +0 -2
  572. package/dist/cdn/6UYEO5Q7.js +0 -2
  573. package/dist/cdn/6VO7G2UX.js +0 -2
  574. package/dist/cdn/77U2VO5P.js +0 -2
  575. package/dist/cdn/7DFCYS72.js +0 -2
  576. package/dist/cdn/7FCZLFJD.js +0 -2
  577. package/dist/cdn/7FFBCPVE.js +0 -2
  578. package/dist/cdn/7TULU5QF.js +0 -2
  579. package/dist/cdn/7VDBR3SK.js +0 -2
  580. package/dist/cdn/7VJQVX42.js +0 -2
  581. package/dist/cdn/A3DPMZWE.js +0 -2
  582. package/dist/cdn/A4VK42OW.js +0 -2
  583. package/dist/cdn/A7RLC6ZT.js +0 -2
  584. package/dist/cdn/AL3PLZEE.js +0 -2
  585. package/dist/cdn/ALVAGE57.js +0 -2
  586. package/dist/cdn/AS4FG6IT.js +0 -2
  587. package/dist/cdn/BI2SI2HK.js +0 -2
  588. package/dist/cdn/BJWJ6E3L.js +0 -2
  589. package/dist/cdn/BLOQ2AJ5.js +0 -2
  590. package/dist/cdn/BQBWXR6P.js +0 -2
  591. package/dist/cdn/BQGY4YCS.js +0 -2
  592. package/dist/cdn/BTVNXUZQ.js +0 -2
  593. package/dist/cdn/BVTEQMDF.js +0 -2
  594. package/dist/cdn/CBVICP6P.js +0 -2
  595. package/dist/cdn/CF54A7MK.js +0 -2
  596. package/dist/cdn/CNYZSE22.js +0 -2
  597. package/dist/cdn/CP5JALYQ.js +0 -2
  598. package/dist/cdn/CPYVZPJ7.js +0 -2
  599. package/dist/cdn/CR6PVUCT.js +0 -2
  600. package/dist/cdn/DDSIQO4G.js +0 -2
  601. package/dist/cdn/DK7HXJSX.js +0 -2
  602. package/dist/cdn/DLWQZHNA.js +0 -2
  603. package/dist/cdn/DTORO2OE.js +0 -2
  604. package/dist/cdn/DY2EOHFD.js +0 -2
  605. package/dist/cdn/DYUCS5QP.js +0 -2
  606. package/dist/cdn/DYWCAORU.js +0 -2
  607. package/dist/cdn/E54VGGFM.js +0 -2
  608. package/dist/cdn/EHEWQ23K.js +0 -2
  609. package/dist/cdn/EMXGW73P.js +0 -2
  610. package/dist/cdn/EOAVDNBZ.js +0 -2
  611. package/dist/cdn/EPH5BN6X.js +0 -2
  612. package/dist/cdn/EZCHUWDK.js +0 -2
  613. package/dist/cdn/F34QQ4DO.js +0 -2
  614. package/dist/cdn/F5IHFPKA.js +0 -2
  615. package/dist/cdn/FDJGQHUA.js +0 -2
  616. package/dist/cdn/FF7BSRYW.js +0 -2
  617. package/dist/cdn/FIZMK7GS.js +0 -1
  618. package/dist/cdn/FPPWXIBA.js +0 -2
  619. package/dist/cdn/FSBLGH6E.js +0 -2
  620. package/dist/cdn/FZAQZSRA.js +0 -2
  621. package/dist/cdn/G26V76WA.js +0 -2
  622. package/dist/cdn/GCEBFEZ5.js +0 -2
  623. package/dist/cdn/GFNCEZSN.js +0 -2
  624. package/dist/cdn/GHVT7W4O.js +0 -2
  625. package/dist/cdn/GII4POXM.js +0 -2
  626. package/dist/cdn/GIIYVCKT.js +0 -2
  627. package/dist/cdn/GJKFDTVX.js +0 -2
  628. package/dist/cdn/GK47522P.js +0 -2
  629. package/dist/cdn/GNSNEUMI.js +0 -2
  630. package/dist/cdn/GS2HJTMU.js +0 -2
  631. package/dist/cdn/GUHSWQMF.js +0 -2
  632. package/dist/cdn/GUZYCRYS.js +0 -2
  633. package/dist/cdn/H4LMELM2.js +0 -2
  634. package/dist/cdn/H7NR6B6S.js +0 -2
  635. package/dist/cdn/HDHWPKJ4.js +0 -2
  636. package/dist/cdn/HKLBQ7JD.js +0 -2
  637. package/dist/cdn/HQSY7TKA.js +0 -2
  638. package/dist/cdn/IDIAWXUO.js +0 -2
  639. package/dist/cdn/IFR4IYSI.js +0 -2
  640. package/dist/cdn/IITDAOGZ.js +0 -2
  641. package/dist/cdn/ILQDA7LL.js +0 -2
  642. package/dist/cdn/IQOQTYRR.js +0 -2
  643. package/dist/cdn/J3FRSWZD.js +0 -2
  644. package/dist/cdn/JBK5HTJ2.js +0 -2
  645. package/dist/cdn/JF7VJGL4.js +0 -2
  646. package/dist/cdn/K23R26AN.js +0 -2
  647. package/dist/cdn/K7ELALW4.js +0 -2
  648. package/dist/cdn/K7XSWKZ2.js +0 -2
  649. package/dist/cdn/KCLVDXWB.js +0 -2
  650. package/dist/cdn/KFTFKI6A.js +0 -2
  651. package/dist/cdn/KLVBRTYU.js +0 -2
  652. package/dist/cdn/KPUEQZ7O.js +0 -2
  653. package/dist/cdn/KVYBIOH5.js +0 -2
  654. package/dist/cdn/L46JLXJT.js +0 -2
  655. package/dist/cdn/LC37F7HF.js +0 -2
  656. package/dist/cdn/LKAJVIS2.js +0 -2
  657. package/dist/cdn/LOOJWRCW.js +0 -2
  658. package/dist/cdn/LU22VNJ7.js +0 -2
  659. package/dist/cdn/LY6LSUSY.js +0 -2
  660. package/dist/cdn/LZVMUNZC.js +0 -2
  661. package/dist/cdn/M2LKA37F.js +0 -2
  662. package/dist/cdn/M42QFFPZ.js +0 -2
  663. package/dist/cdn/M5KYBYZT.js +0 -2
  664. package/dist/cdn/MA2GVVQJ.js +0 -2
  665. package/dist/cdn/MBGCAZPS.js +0 -4
  666. package/dist/cdn/MCMACXJV.js +0 -2
  667. package/dist/cdn/MDWBYUFG.js +0 -2
  668. package/dist/cdn/MFWSWLBW.js +0 -2
  669. package/dist/cdn/MMYODAC2.js +0 -2
  670. package/dist/cdn/MUNSXJ5X.js +0 -2
  671. package/dist/cdn/MWIDHMQZ.js +0 -2
  672. package/dist/cdn/NDCZFJEK.js +0 -3
  673. package/dist/cdn/NFCFPU7K.js +0 -2
  674. package/dist/cdn/NJPPZJ3L.js +0 -2
  675. package/dist/cdn/NQOS7L2J.js +0 -2
  676. package/dist/cdn/NWFGMNGG.js +0 -2
  677. package/dist/cdn/NY7RHFLZ.js +0 -2
  678. package/dist/cdn/O5YJPUFM.js +0 -2
  679. package/dist/cdn/O6HYZKBU.js +0 -2
  680. package/dist/cdn/OAMPGCZF.js +0 -2
  681. package/dist/cdn/OPNJGHML.js +0 -2
  682. package/dist/cdn/OSDGWHZZ.js +0 -2
  683. package/dist/cdn/P3PXDT5V.js +0 -2
  684. package/dist/cdn/PBHNO4J7.js +0 -2
  685. package/dist/cdn/PBYHBRG7.js +0 -2
  686. package/dist/cdn/PDH2DA3L.js +0 -2
  687. package/dist/cdn/PGK2ZJCX.js +0 -2
  688. package/dist/cdn/PGSBUAGV.js +0 -2
  689. package/dist/cdn/PGXNWDD3.js +0 -2
  690. package/dist/cdn/PJ5OUPGO.js +0 -2
  691. package/dist/cdn/PWHXRRFU.js +0 -2
  692. package/dist/cdn/PZSKFFTG.js +0 -2
  693. package/dist/cdn/PZUVKZGQ.js +0 -2
  694. package/dist/cdn/QCVMDYJD.js +0 -2
  695. package/dist/cdn/QEPANMVK.js +0 -2
  696. package/dist/cdn/QOIURU47.js +0 -2
  697. package/dist/cdn/QPSAD5DG.js +0 -2
  698. package/dist/cdn/QTB5YKHB.js +0 -2
  699. package/dist/cdn/QWIDIEXY.js +0 -2
  700. package/dist/cdn/R5QMO5FY.js +0 -2
  701. package/dist/cdn/R5TCWJ6V.js +0 -2
  702. package/dist/cdn/R5YW65AI.js +0 -2
  703. package/dist/cdn/R67ZOCIR.js +0 -2
  704. package/dist/cdn/RGTUSH6U.js +0 -2
  705. package/dist/cdn/RVEUCXT4.js +0 -2
  706. package/dist/cdn/RZGWZ2FJ.js +0 -2
  707. package/dist/cdn/S7ORGB5E.js +0 -2
  708. package/dist/cdn/SEY3WDK2.js +0 -2
  709. package/dist/cdn/SG55TVJ5.js +0 -2
  710. package/dist/cdn/SHU4AE2X.js +0 -2
  711. package/dist/cdn/SIZZ3BQA.js +0 -2
  712. package/dist/cdn/SLAFIIZU.js +0 -2
  713. package/dist/cdn/SLSGW7B6.js +0 -2
  714. package/dist/cdn/SNNAV3AS.js +0 -2
  715. package/dist/cdn/SR4V2CUQ.js +0 -2
  716. package/dist/cdn/TA723HWT.js +0 -2
  717. package/dist/cdn/THJMCEEO.js +0 -2
  718. package/dist/cdn/TJQ3GP5V.js +0 -2
  719. package/dist/cdn/TKILR2SM.js +0 -2
  720. package/dist/cdn/TO6SOEDF.js +0 -2
  721. package/dist/cdn/TPVHN6P2.js +0 -2
  722. package/dist/cdn/TSNUOFL7.js +0 -2
  723. package/dist/cdn/U5DIWFPP.js +0 -2
  724. package/dist/cdn/UTV2A7J4.js +0 -2
  725. package/dist/cdn/VDEMMP33.js +0 -2
  726. package/dist/cdn/VDKEQI3H.js +0 -2
  727. package/dist/cdn/VOBRCUIE.js +0 -2
  728. package/dist/cdn/VZ6UFS6H.js +0 -2
  729. package/dist/cdn/W6PA72LV.js +0 -2
  730. package/dist/cdn/WK4TNKKC.js +0 -2
  731. package/dist/cdn/WO26ZR5Z.js +0 -2
  732. package/dist/cdn/WQI5PKS4.js +0 -2
  733. package/dist/cdn/WS46QSWM.js +0 -2
  734. package/dist/cdn/WUTCKBNC.js +0 -2
  735. package/dist/cdn/X7BOBKIH.js +0 -2
  736. package/dist/cdn/XCTPKDKL.js +0 -2
  737. package/dist/cdn/XYF36P2O.js +0 -2
  738. package/dist/cdn/Y42K6IOP.js +0 -2
  739. package/dist/cdn/YCHVPSSP.js +0 -2
  740. package/dist/cdn/YFTQR2WS.js +0 -2
  741. package/dist/cdn/YTLRTUMD.js +0 -2
  742. package/dist/cdn/YZUSPKNF.js +0 -2
  743. package/dist/cdn/Z3W7LQ5M.js +0 -2
  744. package/dist/cdn/Z6AVJWLP.js +0 -2
  745. package/dist/cdn/Z7H4V2JZ.js +0 -2
  746. package/dist/cdn/ZAUG5MSY.js +0 -2
  747. package/dist/cdn/ZF4DFDLT.js +0 -2
  748. package/dist/cdn/ZFO3PVZQ.js +0 -2
  749. package/dist/cdn/ZGOAZB5L.js +0 -2
  750. package/dist/cdn/ZKWI43WZ.js +0 -2
  751. package/dist/cdn/ZO7TUIUE.js +0 -2
  752. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  753. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  754. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  755. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
  756. package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
  757. package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
  758. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
  759. package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
  760. package/dist/components/arcgis-sketch/support.d.ts +0 -17
  761. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -75
  762. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
  763. package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
  764. package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
  765. package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
  766. /package/dist/cdn/{LW4IDPBB.js → 2P5AJORF.js} +0 -0
  767. /package/dist/cdn/{M4D5WUVD.js → 4LWSF6AI.js} +0 -0
  768. /package/dist/cdn/{I4AEBGQM.js → 5GGAWGSN.js} +0 -0
  769. /package/dist/cdn/{RUW7CDCH.js → 5GTPIPN7.js} +0 -0
  770. /package/dist/cdn/{5WKEDXRT.js → 62HMPABL.js} +0 -0
  771. /package/dist/cdn/{Y37UMTGV.js → 7YT5W57B.js} +0 -0
  772. /package/dist/cdn/{WEOKELJE.js → AKTIOEYM.js} +0 -0
  773. /package/dist/cdn/{VKRAWBPC.js → AYQJ2LTV.js} +0 -0
  774. /package/dist/cdn/{REGHMH6D.js → CHMBPPHS.js} +0 -0
  775. /package/dist/cdn/{UHI54OG6.js → DLUFAV4S.js} +0 -0
  776. /package/dist/cdn/{7FGOCFTQ.js → DPEWQQEB.js} +0 -0
  777. /package/dist/cdn/{36ZT6IRE.js → ECA47Z37.js} +0 -0
  778. /package/dist/cdn/{IBN4TKBI.js → FJMXBIN5.js} +0 -0
  779. /package/dist/cdn/{OCQXPA57.js → G4IKO2R6.js} +0 -0
  780. /package/dist/cdn/{22I5XGTS.js → GCPR7XFU.js} +0 -0
  781. /package/dist/cdn/{QVAB57VJ.js → IAYL44LK.js} +0 -0
  782. /package/dist/cdn/{QNBNH7ME.js → IRFIHD5X.js} +0 -0
  783. /package/dist/cdn/{4657ONKJ.js → KOMTNQPT.js} +0 -0
  784. /package/dist/cdn/{CUVRESLH.js → LS4U4GD5.js} +0 -0
  785. /package/dist/cdn/{GUZCA62E.js → LVIYMA67.js} +0 -0
  786. /package/dist/cdn/{HJVHORPG.js → MEISDI2H.js} +0 -0
  787. /package/dist/cdn/{YHPASRFL.js → N2YWWQOS.js} +0 -0
  788. /package/dist/cdn/{DNE47HSP.js → NVKOZL7X.js} +0 -0
  789. /package/dist/cdn/{24MLXKMZ.js → NVN2CATF.js} +0 -0
  790. /package/dist/cdn/{4O6FFXUV.js → OFBWNR54.js} +0 -0
  791. /package/dist/cdn/{A7SZYQDH.js → OLSESBZ7.js} +0 -0
  792. /package/dist/cdn/{54GFXFK4.js → PWZHB6VD.js} +0 -0
  793. /package/dist/cdn/{XULIO6Y3.js → QWMDZDQA.js} +0 -0
  794. /package/dist/cdn/{ONFKLY6Q.js → RTDY3HLR.js} +0 -0
  795. /package/dist/cdn/{LUTUHOKB.js → SFDCS6A2.js} +0 -0
  796. /package/dist/cdn/{OX3WBUBR.js → SLNXNVPI.js} +0 -0
  797. /package/dist/cdn/{75UV3NKU.js → SLQPDAGN.js} +0 -0
  798. /package/dist/cdn/{R2D2TXL4.js → T34W3GKP.js} +0 -0
  799. /package/dist/cdn/{C5XAFXEL.js → TP2KQRW6.js} +0 -0
  800. /package/dist/cdn/{EH4CBZNF.js → UDXDE3LW.js} +0 -0
  801. /package/dist/cdn/{JZHZCJTJ.js → XCSF7KJK.js} +0 -0
  802. /package/dist/cdn/{NWRWQZGL.js → XGWYQ7FU.js} +0 -0
  803. /package/dist/cdn/{OCFIQBYK.js → XQ2WXTW7.js} +0 -0
  804. /package/dist/cdn/{PS3KSP2J.js → ZCL4XHIZ.js} +0 -0
  805. /package/dist/cdn/{42G6XTIG.js → ZHYXFOYU.js} +0 -0
  806. /package/dist/cdn/{PY5VGH7F.js → ZNIMZP5R.js} +0 -0
  807. /package/dist/cdn/{R2P5JM7G.js → ZSKO7HLH.js} +0 -0
  808. /package/dist/components/{arcgis-feature-form-field-number → arcgis-attachment-detail-view}/index.d.ts +0 -0
  809. /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as W}from"./N3DTZRST.js";import e from"./26URLKXD.js";import{a as y}from"./6J3KSMFG.js";import d from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as w}from"./HQWUQFN5.js";import{a as j}from"./ZSPYPXBY.js";import"./L5IRXOCJ.js";import b from"./HPWF3IQV.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as S,X as C,a as D,b as c,x}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([g,{watch:H},J,{property:o,subclass:R},{signal:O},{isAbortError:K},Q,,{a:A},,{b:V,c:U}])=>{var Y=D`.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{--arcgis-internal-building-explorer-content-text-color: initial;--arcgis-internal-building-explorer-button-background-color: initial;--arcgis-internal-building-explorer-button-text-color: var(--calcite-color-text-1);--arcgis-internal-building-explorer-selected-button-background-color: var(--calcite-color-brand);--arcgis-internal-building-explorer-selected-button-text-color: var(--calcite-color-text-inverse);--calcite-action-text-color: var(--arcgis-internal-building-explorer-content-text-color);--calcite-action-text-color-press: var(--arcgis-internal-building-explorer-content-text-color);transition:max-height .25s ease-in-out;overflow-y:auto}.root{position:relative;display:flex;flex-direction:column;gap:var(--calcite-spacing-xxxl)}.esri-widget__heading{color:var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-2));font-weight:var(--calcite-font-weight-normal)}calcite-scrim{--calcite-scrim-background: var(--calcite-color-foreground-1)}.disabled{color:var(--calcite-color-status-danger)}.esri-widget--panel{min-width:unset}`,T="__BUILDING_EXPLORER_FILTER__";function ee(){return`${crypto.randomUUID()}${T}`}function z(t){let e=typeof t=="string"?t:t.id;return!!e&&e.includes(T)}function Z(t,e){for(let i of t)for(let s of i.filters){if(!z(s))continue;let r=e(s);if(r!=null)return r}return null}function te(t,e){for(let i of t){let s=i.filters.filter(l=>!z(l));e!=null&&s.push(e),ie(i.filters,s)||(i.filters=s);let r=i.filters.find(l=>z(l));i.activeFilterId=r!=null?r.id:null}}function ie(t,e){let i=e.length;if(t?.length!==i)return!1;for(let s=0;s<i;++s){let r=e.at(s).toJSON(),l=t.at(s).toJSON();if(r.id="",l.id="",JSON.stringify(r)!==JSON.stringify(l))return!1}return!0}function re(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"x-ray"}}:null}function se(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"solid"}}:null}function G(t){return t.filter(e=>!!e).map(e=>`(${e})`).join(" AND ")}function N(t){let e={fieldValueMap:new Map,allowedValues:[]};for(let i of t){let s=i.fieldValueMap,r=e.fieldValueMap;s.forEach((l,a)=>{r.has(a)||(r.set(a,l),e.allowedValues.push(a))})}return e.allowedValues.sort((i,s)=>i-s),e}function P(t,e){return e.allowedValues.length>0?le(t,e.allowedValues):null}function le(t,e){if(e.length===0)return t;if(t===1/0)return e[e.length-1];if(t===-1/0)return e[0];let i=e[0],s=Math.abs(i-t);for(let r of e){let l=Math.abs(r-t);l<s&&(i=r,s=l)}return i}var ae=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,X=t=>{throw TypeError(t)},d=(t,e,i,s)=>{for(var r=s>1?void 0:s?oe(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&ae(e,i,r),r},ne=(t,e,i)=>e.has(t)||X("Cannot "+i),h=(t,e,i)=>(ne(t,e,"read from private field"),i?i.call(t):e.get(t)),k=(t,e,i)=>e.has(t)?X("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),$,E,v,_,n=class extends J{constructor(t){super(t),k(this,$,O(!0)),k(this,E,O(void 0)),k(this,v,O(null)),k(this,_,new g),this._state="disabled",this._domainInfo=N([]),this._loadLayers=U(),this.layers=new g}initialize(){this.addHandles(this.layers.on("change",()=>{this._onLayersChange()})),this._onLayersChange()}destroy(){this._state="disabled"}get disabled(){return this.allowedValues.length===0||h(this,$).value}set disabled(t){h(this,$).value=t}get value(){return(this.state==="ready"?h(this,E).value:this._valueBeforeReady)??0}set value(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}if(t===this.value)return;let e=P(t,this);e!=null&&(h(this,E).value=e)}get min(){return this.allowedValues.length===0?null:Math.min(...this.allowedValues)}get max(){return this.allowedValues.length===0?null:Math.max(...this.allowedValues)}get allowedValues(){return h(this,v).value??this._domainInfo.allowedValues}set allowedValues(t){t==null?h(this,v).value=null:h(this,v).value=t;let e=P(this.value,this);e!=null&&(this.value=e)}get hasNext(){if(this.disabled)return!0;let t=this._valueIndex;return t>=0&&t<this.allowedValues.length-1}get hasPrevious(){return this.disabled?!0:this._valueIndex>0}get layers(){return h(this,_)}set layers(t){h(this,_).removeAll(),h(this,_).addMany(t)}get state(){return this._state}set state(t){this._state=t}get filterExpressions(){return{solid:null,xRay:null}}get _valueIndex(){return this.allowedValues.indexOf(this.value)}select(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}P(t,this)!=null&&(this.disabled=!1,this.value=t)}clear(){if(this.state!=="ready"){this._valueBeforeReady=void 0;return}this.disabled=!0}next(){let{state:t,allowedValues:e,disabled:i,hasNext:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[0];return}s&&(this.value=e[r+1])}}previous(){let{state:t,allowedValues:e,disabled:i,hasPrevious:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[e.length-1];return}s&&(this.value=e[r-1])}}getValueLabel(t){return this.layers.length===0?null:this._domainInfo.fieldValueMap.get(t)??null}async _onLayersChange(){if(this._state="loading",this._domainInfo=N([]),this.layers.length!==0)try{await this._loadLayers(this.layers),this.state="ready",this._setup(),this.changeEmitter?.()}catch(t){K(t)||(this._state="failed")}}};$=new WeakMap;E=new WeakMap;v=new WeakMap;_=new WeakMap;d([o()],n.prototype,"changeEmitter",2);d([o()],n.prototype,"disabled",1);d([o()],n.prototype,"value",1);d([o({readOnly:!0})],n.prototype,"min",1);d([o({readOnly:!0})],n.prototype,"max",1);d([o()],n.prototype,"allowedValues",1);d([o({readOnly:!0})],n.prototype,"hasNext",1);d([o({readOnly:!0})],n.prototype,"hasPrevious",1);d([o({type:g})],n.prototype,"layers",1);d([o()],n.prototype,"_state",2);d([o()],n.prototype,"state",1);d([o({})],n.prototype,"_valueBeforeReady",2);d([o({readOnly:!0})],n.prototype,"_valueIndex",1);d([o()],n.prototype,"_domainInfo",2);n=d([R("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")],n);var de=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,q=t=>{throw TypeError(t)},B=(t,e,i,s)=>{for(var r=s>1?void 0:s?ce(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&de(e,i,r),r},he=(t,e,i)=>e.has(t)||q("Cannot "+i),ue=(t,e,i)=>(he(t,e,"read from private field"),i?i.call(t):e.get(t)),ge=(t,e,i)=>e.has(t)?q("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),I,pe="bldglevel",f=class extends n{constructor(t){super(t),ge(this,I,e=>{let i=new RegExp(`${this._levelFieldName}\\s*=\\s*(\\d+)`,"giu"),s=new RegExp(`${this._levelFieldName}\\s*<\\s*(\\d+)`,"giu");for(let{filterMode:r,filterExpression:l}of e.filterBlocks??[]){if(l==null)continue;let a=null;if(r?.type==="solid"?a=i.exec(l):r?.type==="x-ray"&&(a=s.exec(l)),a)return Number.parseInt(a[1],10)}return null})}get filterExpressions(){return this.disabled||!this._levelFieldName?{solid:null,xRay:null}:{xRay:`${this._levelFieldName} < ${this.value}`,solid:`${this._levelFieldName} = ${this.value}`}}get _firstValue(){let t=this.allowedValues;return t.length>0?t[0]:0}_setup(){let t=[];for(let s of this.layers){let r=V(s,pe);r!=null&&(this._levelFieldName=r.fieldName,t.push(r))}this._domainInfo=N(t);let e=this._valueBeforeReady;this._valueBeforeReady=void 0;let i=e??Z(this.layers,ue(this,I));i!=null?this.select(i):(this.disabled=!0,this.value=this._firstValue)}};I=new WeakMap;B([o()],f.prototype,"filterExpressions",1);B([o()],f.prototype,"_levelFieldName",2);B([o()],f.prototype,"_firstValue",1);f=B([R("esri.components.BuildingExplorer.BuildingLevel")],f);var fe=Object.defineProperty,me=Object.getOwnPropertyDescriptor,b=(t,e,i,s)=>{for(var r=s>1?void 0:s?me(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&fe(e,i,r),r},ve="demolishedphase",_e="createdphase",p=class extends n{constructor(t){super(t),this._parseValueFromFilter=e=>{let i=this._createdPhaseFieldName,s=new RegExp(`${i}\\s*<=\\s*(\\d+)\\s*OR\\s*${i}\\s*IS\\s*NULL`,"giu"),r=this._demolishedPhaseFieldName,l=new RegExp(`${r}\\s*>\\s*(\\d+)\\s*OR\\s*${r}\\s*IS\\s*NULL`,"giu");for(let{filterExpression:a}of e.filterBlocks??[]){let M=a?s.exec(a)??l.exec(a):null;if(M)return Number.parseInt(M[1],10)}return null}}get filterExpressions(){if(this.disabled)return{solid:null,xRay:null};let t=[],e=this._createdPhaseFieldName;e&&t.push(`(${e} <= ${this.value} OR ${e} IS NULL)`);let i=this._demolishedPhaseFieldName;i&&t.push(`(${i} > ${this.value} OR ${i} IS NULL)`);let s=t.join(" AND ");return{solid:s,xRay:s}}get _lastValue(){let t=this.allowedValues;return t.length>0?t[t.length-1]:0}_setup(){let t=[];for(let i of this.layers){let s=V(i,_e);s!=null&&(this._createdPhaseFieldName=s.fieldName,t.push(s));let r=V(i,ve);r!=null&&(this._demolishedPhaseFieldName=r.fieldName,t.push(r))}this._domainInfo=N(t);let e=this._valueBeforeReady;if(this._valueBeforeReady=void 0,this.allowedValues.length>0){let i=e??Z(this.layers,this._parseValueFromFilter);this.select(i??this._lastValue)}else this.clear()}};b([o()],p.prototype,"filterExpressions",1);b([o()],p.prototype,"_createdPhaseFieldName",2);b([o()],p.prototype,"_demolishedPhaseFieldName",2);b([o()],p.prototype,"_lastValue",1);p=b([R("esri.components.BuildingExplorer.BuildingPhase")],p);var be=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,m=(t,e,i,s)=>{for(var r=s>1?void 0:s?xe(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&be(e,i,r),r},u=class extends J{constructor(){super(...arguments),this.level=new f,this.phase=new p}get layers(){return this._layers}set layers(t){this._layers=t,this.level.layers=t??new g,this.phase.layers=t??new g}get filter(){let t=this.level.filterExpressions,e=this.phase.filterExpressions,i=[],s=se([t.solid,e.solid]);s!=null&&i.push(s);let r=re([t.xRay,e.xRay]);return r!=null&&i.push(r),i.length===0?null:new Q({id:ee(),name:"Building Explorer Filter",filterBlocks:i})}};m([o()],u.prototype,"_layers",2);m([o()],u.prototype,"layers",1);m([o()],u.prototype,"level",2);m([o()],u.prototype,"phase",2);m([o({readOnly:!0})],u.prototype,"filter",1);u=m([R()],u);var F=class extends S{constructor(){super(...arguments),this.messages=j({blocking:!0}),this.#i=new g,this.#r=new u,this.view=A(this),this.autoDestroyDisabled=!1,this.headingLevel=3,this.hideDisciplines=!1,this.hideLevelHeading=!1,this.hideLevels=!1,this.hidePhases=!1,this.icon="organization",this.toggleSiblingsVisibility=!1,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0}),this.arcgisBuildingPhaseChange=x({bubbles:!0,composed:!0}),this.arcgisReady=x()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevelHeading:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:9,phase:9,levels:0,phases:0,levelDisabled:32,phaseDisabled:32,referenceElement:1,toggleSiblingsVisibility:5}}static{this.styles=Y}#i;#r;get#e(){return this.#r.level}get#t(){return this.#r.phase}get minLevel(){return this.#e.min}get maxLevel(){return this.#e.max}get minPhase(){return this.#t.min}get maxPhase(){return this.#t.max}get supported(){return this.view?.type==="3d"}get layers(){return this.#i.toArray()}set layers(e){this.#i.removeAll(),this.#i.addMany(e)}get level(){return this.#e.value}set level(e){e==null?this.#e.clear():this.#e.value=e}get phase(){return this.#t.value}set phase(e){e==null?this.#t.clear():this.#t.value=e}get levels(){return this.#e.allowedValues}set levels(e){e==null?this.#e.allowedValues=null:this.#e.allowedValues=e}get phases(){return this.#t.allowedValues}set phases(e){e==null?this.#t.allowedValues=null:this.#t.allowedValues=e}get levelDisabled(){return this.#e.disabled}get phaseDisabled(){return this.#t.disabled}async destroy(){await this.manager.destroy()}loaded(){this.#e.changeEmitter=()=>this.arcgisBuildingLevelChange.emit(),this.#t.changeEmitter=()=>this.arcgisBuildingPhaseChange.emit(),this.manager.onLifecycle(()=>[H(()=>({layers:this.#i.toArray(),filter:this.#r.filter,levelState:this.#e.state,phaseState:this.#t.state}),({layers:e,filter:i,levelState:s,phaseState:r})=>{s!=="ready"||r!=="ready"||te(e,i)},{initial:!0}),H(()=>this.layers,e=>{this.#r.layers=new g(e)},{initial:!0})])}render(){let e=this.messages;if(!this.supported)return L({label:e.componentLabel,children:c`<p class="disabled">${e.unsupported}</p>`});if(this.layers.length===0)return L({label:e.componentLabel,children:c`<p class="disabled">${e.noData}</p>`});if(this.#e.state==="failed"||this.#t.state==="failed")return L({label:e.componentLabel,children:c`<p class="disabled">${e.failed}</p>`});let i=this.hideLevels||this.#e.allowedValues.length<2,s=this.hidePhases||this.#t.allowedValues.length<2,r=this.#e.state!=="ready"||this.#t.state!=="ready";return L({label:e.componentLabel,loading:r,children:c`${y({hidden:i,children:c`<div>${this.hideLevelHeading?null:w({level:this.headingLevel,children:this.messages.level.title})}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>`})}${y({hidden:s,children:c`<div>${w({level:this.headingLevel,children:this.messages.phase.title})}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>`})}${y({hidden:this.hideDisciplines,children:c`<div>${w({level:this.headingLevel,children:this.messages.disciplines.title})}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines} .toggleSiblingsVisibility=${this.toggleSiblingsVisibility}></arcgis-building-discipline-tree></div>`})}`})}};function L(t){return W({class:"root",hideHeader:!0,label:t.label,children:c`${t.children}${t.loading?c`<calcite-scrim .loading=${t.loading}></calcite-scrim>`:null}`})}C("arcgis-building-explorer",F);return F},"core/Collection","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","applications/Components/reactiveUtils","core/promiseUtils","layers/support/BuildingFilter",a,b,d,e)
@@ -1,2 +0,0 @@
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"./BQBWXR6P.js";import{a as b}from"./ZSPYPXBY.js";import{a as p}from"./L5IRXOCJ.js";import g from"./ALVAGE57.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 v,b as a,x as m}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([z,{property:C,subclass:D},,,,x,{e:g},y])=>{var M=v`: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-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--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=m()}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 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./LH2T4TMP.js";import"./GDLDEHUJ.js";import{a as c}from"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as u,X as l,a as r,b as s}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{formatNumber:f,formatDate:g},{replace:x},{a:h,b:d}])=>{function y(i,e=!0){let t=[];if(!i)return t;let n=i.validationCriterionStates,m=i.input,p=m?.type==="attachment"?m.inputTypes?.slice()??[]:m==null?[]:[m];i.hasUnsupportedFileTypeValidationError&&t.push({key:"errorFileUnsupported",state:"danger"});for(let a of p)a.type==="document"&&a.maxFileSize!=null&&t.push({key:"maximumFileSize",messageDataValue:a.maxFileSize,state:n.get("maximum-file-size")??"info"}),a.type==="audio"&&a.maxDuration!=null&&t.push({key:"maximumAudioLength",messageDataValue:a.maxDuration,state:n.get("maximum-audio-length")??"info"}),a.type==="video"&&a.maxDuration!=null&&t.push({key:"maximumVideoLength",messageDataValue:a.maxDuration,state:n.get("maximum-video-length")??"info"}),a.type==="image"&&a.maxImageSize!=null&&t.push({key:"maximumImageSize",messageDataValue:a.maxImageSize,state:n.get("maximum-image-size")??"info"});return e&&i.minAttachmentCount!=null&&i.minAttachmentCount>0&&t.push({key:"minimumNumberOfFiles",messageDataValue:i.minAttachmentCount,state:n.get("minimum-number-of-files")??"info"}),e&&i.maxAttachmentCount!=null&&t.push({key:"maximumNumberOfFiles",messageDataValue:i.maxAttachmentCount,state:n.get("maximum-number-of-files")??"info"}),t}var C=r`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`,o=class extends u{constructor(){super(...arguments),this._messages=c({blocking:!0,name:"feature-form-next"}),this.includeCountCriteria=!1}static{this.properties={includeCountCriteria:5,input:0,messageOverrides:0}}static{this.styles=C}_localize(e){let t=this._messages?.components?.attachments?.["attachment-validation-view"]?.validations?.[e.key];if(!t)return"";let n=this._formatValidationContent(e)??"";return x(t,{value:n})}_formatValidationContent(e){let t=e.messageDataValue;if(typeof t!="number")return t;switch(e.key){case"maximumFileSize":return this._formatAttachmentSize(t);case"maximumAudioLength":case"maximumVideoLength":return this._formatAttachmentDurationLimit(t);case"maximumImageSize":return f(t,{maximumFractionDigits:0,minimumFractionDigits:0,useGrouping:!1});default:return`${t}`}}_formatAttachmentDurationLimit(e){return g(Math.round(e)*1e3,{...e>=3600?{hour:"2-digit",hourCycle:"h23"}:{},minute:"2-digit",second:"2-digit",timeZone:"UTC"})}_formatAttachmentSize(e){return d(this._messages.units,e*h.Megabytes)}render(){let e=y(this.input,this.includeCountCriteria).map(t=>s`<calcite-notice appearance=outline-fill data-testid=${`notice-${t.key}`} icon .kind=${t.state} open scale=s width=full><div slot=message>${this._localize(t)}</div></calcite-notice>`);return s`<div class="container" data-testid=root>${e}</div>`}};l("arcgis-attachment-validation-view",o);return o},"intl","applications/Components/stringUtils",a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as M}from"./PIDNZKSJ.js";import g from"./RUYAWRPV.js";import"./WJQUE4DR.js";import e from"./BQBWXR6P.js";import{a as T}from"./ZSPYPXBY.js";import d from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{h as z}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as f}from"./ZKWI43WZ.js";import{N as _,O as k,P as C,R as u,U as n,X as $,a as y,b as s,q as b,x as v}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{hasDisplayProperties:m},V,F,S,,,,I])=>{var D=y`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.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-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-internal-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}.no-basemap{padding:var(--calcite-spacing-xxs)}.root{background-color:var(--calcite-color-foreground-1);position:relative}.conversions-view{display:flex;flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction);background-color:var(--calcite-color-foreground-1)}.conversion-list{flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction)}.conversions-view.expand-down{display:flex;flex-direction:column}.conversions-view.expand-down .conversion-list{flex-direction:column}.conversions-view.expand-up{display:flex;flex-direction:column-reverse}.conversions-view.expand-up .conversion-list{flex-direction:column-reverse}.conversion-list{display:flex;padding-left:0;margin:0}.tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.conversion-row:hover .copy-button{display:block}.conversions-view{padding:var(--arcgis-internal-padding-md)}.coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.copy-button{display:none}.row-select{width:5rem;flex-shrink:0;text-align-last:center}.section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.section-title{margin:0 auto!important}.input-form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.input-form{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1)}.coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.settings{display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1)}.settings-form-group{display:flex;flex-direction:column;align-items:center;width:60%}.settings-form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.settings-form-group-first{margin-top:var(--calcite-spacing-sm)}.settings-form-group:last-child{width:100%;text-align:center}.preview-coordinate{min-height:var(--calcite-spacing-xl)}`,E=2500,O=1e3,A=new V({x:0,y:0}),d={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},U=I(S),w=class extends C{constructor(){super(...arguments),this.alertTimer=-1,this.messages=T(),this._coordinateInput=_(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=U(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.removeLeadingZeros=this.viewModel.removeLeadingZeros,this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=v(),this.arcgisPropertyChange=z()("currentLocation","state","expanded","mode"),this.arcgisReady=v()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,ignoreCoordinatePrecision:5,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,referenceElement:1,removeLeadingZeros:7,state:32,storageDisabled:7,storageType:1}}static{this.styles=D}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),e!=="coordinate-input"&&(this.invalidInput=!1),this._currentView=e}get ignoreCoordinatePrecision(){return!this.viewModel.calculateCoordinatePrecision}set ignoreCoordinatePrecision(e){this.viewModel.calculateCoordinatePrecision=!e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,i){return await this.viewModel.reverseConvert(e,i)}addConversion(e){let i=e.target,t=i.selectedOption.value,o=j(i);if(t==null||o==null)return;let r=new F({format:t});i.value="default",o>=0?(this.conversions.removeAt(o),this.conversions.add(r,o)):this.conversions.add(r),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(/‎/gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",O))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,i)=>{let t=i.format;return t&&m(t)?t:e},null)||this.formats.find(e=>m(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,i){let{viewModel:t}=this;try{let o=await this._reverseConvert(e,i);if(!o)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=o??void 0,t.setLocation(o),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(o){b(this)(o),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:i}=e;if(i==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;if(!t||!o)return;await this.processUserInput(o,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;!e||!i||await this.processUserInput(i,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,i){let t=this.viewModel,o=await i.reverseConvert(e);return this.goToEnabled&&o&&t.goToLocation(o).catch(r=>{b(this)(r),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),o}setDefaultPattern(e){e.stopPropagation();let i=this.findSettingsFormat();i?.defaultPattern&&(i.currentPattern=i.defaultPattern)}setInputFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.inputFormat=i)}setPreviewConversion(){let e=this.findSettingsFormat(),i=this.viewModel;if(e){let t=this.conversions.find(o=>o.format===e);this.previewConversion=new F({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||i.previewConversion(this.previewConversion,i.currentLocation??A)}}setSettingsFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.settingsFormat=i,this.setPreviewConversion())}showAlertMessage(e,i,t,o=E){this.alertProperties={...this.alertProperties,title:e,message:i,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},o)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let i=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=i.value)}render(){let{currentView:e,headingLevel:i,messages:t}=this,o,r;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?(r=t.inputCoordTitle,o=this.renderCoordinateInputView()):e==="settings"?(r=t.settingsTitle,o=this.renderSettingsView()):o=this.renderConversionsView(),s`<calcite-panel class="root" .heading=${r} .headingLevel=${i} scale=s>${o}${this.renderAlert()}</calcite-panel>`}renderAlert(){let{messages:e}=this,{open:i,message:t,title:o,kind:r}=this.alertProperties;return s`<calcite-alert class="alert" .open=${i} scale=s .kind=${r} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout} slot=alerts>${o?s`<div slot=title>${o}</div>`:null}${t?s`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,i,t){let o=this.conversions.at(0),r=o?.format?.name;return e.map((c,l)=>{let a=i??!o?!1:r===c.name||this.conversions.map(h=>h.format?.name).includes(c.name);return s`<calcite-option .disabled=${a} .label=${c.label.toUpperCase()} .selected=${l===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,i){let{messages:t}=this,{format:o}=e,r=o?.label??"",c=i===0,l=this.getId(`list-item-${i}`),a=t.conversionOutput.replace("{format name}",r),h=c||this.expanded,p=c?this.renderFirstConversionTools(e):this.renderTools(e,l),g=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,P=s`<div aria-label=${g??n} class="coordinate-display" data-conversion=${e??n} tabindex=0 title=${g??""??n}>${g}</div>`,B=this.renderConversionOptions(this.formats.filter(L=>L!==o));return h?s`<li aria-label=${a??n} class="conversion-row" id=${l??n} tabindex=0><calcite-select aria-controls=${l??n} class="row-select" data-index=${String(i)??n} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}>${M(o,s`<calcite-option .label=${r.toUpperCase()} selected>${r.toUpperCase()}</calcite-option>`)}${B}</calcite-select>${P}${p}</li>`:null}renderConversionsView(){let{messages:e}=this,i=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),o=this.expanded?s`<div class="conversion-row"><calcite-select aria-controls=${t??n} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??n}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,r={"expand-up":this.orientation==="expand-up","expand-down":this.orientation==="expand-down"};return s`<div class=${u(f("conversions-view",r))}><ul aria-expanded=${this.expanded??n} class="conversion-list" id=${t??n}>${i}</ul>${o}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,i=this.formats.findIndex(c=>c.name===e?.name),t=this.getId("coordinate-input"),o=this.renderConversionOptions(this.formats,!1,i),{messages:r}=this;return r?[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${r.back} slot=header-actions-start></calcite-action>`,s`<div class="input-form" role=search><div class="input-form-group"><calcite-select aria-controls=${t??n} class="input-select" .label=${r.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${o}</calcite-select><calcite-input class="coordinate-input" data-format=${e??n} id=${t??n} @keydown=${this.processUserKeyboardInput} .placeholder=${r.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${k(this._coordinateInput)}></calcite-input></div><div class="input-form-group"><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${r.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${r.convert}</calcite-button></div></div>`]:null}renderCopyButton(e){let{messages:i}=this;return this.renderIconButton({iconType:d.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:["copy-button"],ariaLabel:i.copy,title:i.copy})}renderFirstConversionTools(e){let{messages:i,multipleConversionsDisabled:t,hideCaptureButton:o,hideExpandButton:r}=this;if(!i)return null;let c=this.mode==="live"?i.captureMode:i.liveMode,l=this.expanded?i.collapse:i.expand,a=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,h=!t&&!r?this.renderIconButton({iconType:this.expanded?d.chevronDown:d.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:l,title:l}):null,p=t&&!o?this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return s`<ul class="tool-display"><li>${a}</li><li>${h}</li><li>${p}</li></ul>`}renderIconButton(e){let{iconType:i,clickFunction:t,buttonClasses:o,ariaLabel:r,ariaControls:c,label:l,flipRtl:a,title:h}=e;return s`<calcite-button appearance=transparent aria-label=${r??n} aria-controls=${c??n} class=${u(f(o))} .iconFlipRtl=${a?"start":void 0} .iconStart=${i} kind=neutral .label=${l} @click=${t} title=${h??n}></calcite-button>`}renderNoBasemapView(){return s`<div class="no-basemap">${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:i,hideCaptureButton:t,hideSettingsButton:o}=this;if(!e)return null;let r=this.mode==="live"?e.captureMode:e.liveMode,c=i?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),l=t?null:this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:r,title:r}),a=o?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return s`<ul class="tool-display"><li>${c}</li><li>${l}</li><li>${a}</li></ul>`}renderSettingsView(){let e=this.getId("pattern-input"),i=this.getId("preview-coordinate"),t=this.formats.filter(p=>m(p)),o=this.findSettingsFormat(),r=o?t.indexOf(o):-1,c=this.renderConversionOptions(t,!0,r),l=o?.currentPattern,{messages:a}=this;if(!a)return null;let h=this.renderIconButton({iconType:d.refresh,clickFunction:this.setDefaultPattern,label:a.defaultPattern,title:a.defaultPattern});return[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${a.back} slot=header-actions-start></calcite-action>`,s`<div class="settings"><div class=${u(f("settings-form-group","settings-form-group-first"))}><calcite-label alignment=center .for=${e} scale=s>${a.changeCoordinateDisplay}<calcite-select .label=${a.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${c}</calcite-select><div class="settings-form-group-horizontal"><calcite-input aria-controls=${i??n} class="pattern-input" id=${e??n} type=text .value=${l} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${h}</div></calcite-label></div><div class="settings-form-group"><calcite-label alignment=center scale=s>${a.preview}<div class="preview-coordinate" id=${i??n} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`]}renderTools(e,i){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:o}=this;if(!o)return null;let r=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:i,label:o.removeConversion,title:o.removeConversion});return s`<ul class="tool-display"><li>${t}</li><li>${r}</li></ul>`}};function j(x){let e=x.getAttribute("data-index");return e?window.parseInt(e):null}$("arcgis-coordinate-conversion",w);return w},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",a,c,d,e,g)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as u}from"./XHOI3WNI.js";import i from"./RUYAWRPV.js";import"./WJQUE4DR.js";import g from"./BQBWXR6P.js";import{a as b}from"./ZSPYPXBY.js";import e from"./ALVAGE57.js";import d from"./HPWF3IQV.js";import{h as f}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import c from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{b as h}from"./ZKWI43WZ.js";import{O as l,P as y,X as v,a as m,b as a,p as o,x as r}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([d,E,{when:x},k,,,,w,{a:g}])=>{var C=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-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;--calcite-panel-background-color: var(--calcite-color-background);min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}slot[name=results]::slotted(:not(arcgis-utility-network-trace-results)){display:none}slot[name=results]::slotted([arcgis-hidden-results-slot-item]){display:none}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`,G=w(k),R="arcgis-utility-network-trace-results",$="arcgis-hidden-results-slot-item",S=["actions","autoDestroyDisabled","aggregatedGeometryResultsGraphicsColor","aggregatedGeometryResultsSize","disableHighlightFeatureResults","hideActionBar","hideFeatureResults","hidePlaceholder","includeDefaultActionsDisabled","messageOverrides","referenceElement","view","_traceError","_traceResult"],p=class extends y{constructor(){super(...arguments),this._messages=b({blocking:!0}),this.#i=G(this),this.#a=t=>{let{detail:e,target:i}=t;e.name==="hideGraphics"?(t.stopPropagation(),this.hideGraphics=i[e.name],this.arcgisHideGraphicsChange.emit(this.hideGraphics)):e.name==="aggregatedGeometryResultsGraphicsColor"?(t.stopPropagation(),this.aggregatedGeometryResultsGraphicsColor=i[e.name]):e.name==="aggregatedGeometryResultsSize"&&(t.stopPropagation(),this.aggregatedGeometryResultsSize=i[e.name])},this.#r=t=>{t.stopPropagation(),this.arcgisTraceResultClear.emit()},this.#n=t=>{t.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit(),this.arcgisTraceResultReady.emit()},this.#o=t=>{t.stopPropagation(),this.arcgisTriggerAction.emit(t.detail)},this._activeTab="input",this._showMissingTerminalWarning=!1,this._showNoStartingPointsWarning=!1,this._slottedElements=[],this._mode="default",this.autoDestroyDisabled=!1,this.aggregatedGeometryResultsGraphicsColor=new d(u),this.aggregatedGeometryResultsSize=12,this.disableHighlightFeatureResults=!1,this.flowItems=new E,this.hideActionBar=!1,this.hideClearResultsCount=!1,this.hideGraphics=!1,this.hidePlaceholder=!1,this.hideFeatureResults=!1,this.includeDefaultActionsDisabled=!1,this.state=this.#i.state,this.view=this.#i.view,this.arcgisError=r(),this.arcgisHideGraphicsChange=r(),this.arcgisPropertyChange=f()("aggregatedGeometryResultsGraphicsColor","hideGraphics"),this.arcgisReady=r(),this.arcgisTraceLocationSelectEnd=r(),this.arcgisTraceLocationSelectStart=r(),this.arcgisTraceResultClear=r(),this.arcgisTraceResultFeaturesReady=r(),this.arcgisTraceResultReady=r(),this.arcgisTriggerAction=r()}static{this.properties={_activeTab:16,_traceError:16,_traceResult:16,_showMissingTerminalWarning:16,_showNoStartingPointsWarning:16,_slottedElements:16,_mode:16,actions:0,autoDestroyDisabled:5,beforeMapInteraction:0,aggregatedGeometryResultsGraphicsColor:[1,{converter:{fromAttribute:t=>d.fromString(t)??new d(u)}}],aggregatedGeometryResultsSize:9,disableHighlightFeatureResults:5,flowItems:32,hideActionBar:5,hideClearResultsCount:5,hideGraphics:5,hidePlaceholder:5,hideFeatureResults:5,includeDefaultActionsDisabled:5,label:3,messageOverrides:0,traceResultFeatures:32,traceResult:0,traceError:32,referenceElement:1,state:32,view:0}}static{this.styles=C}get#c(){return this.view?.map?.allLayers.toArray().concat(this.view.map.allTables.toArray())??[]}#e;#t;#h;#i;get#p(){return Array.from(this.el.children).some(t=>t.slot==="results"&&t.matches(R))}#a;#r;#n;#o;get traceResultFeatures(){return this.#t?.traceResultFeatures??[]}get traceResult(){return this._traceResult}set traceResult(t){this._traceResult=t}get traceError(){return this._traceError}async destroy(){this.#u(this.#t);let t=await Promise.allSettled([this.#t?.destroy(),this.#e?.destroy()]);for(let e of t)e.status==="rejected"&&g(e.reason,this,"Error while destroying trace analysis component");this.#e=void 0,this.#t=void 0,await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[x(()=>!this.#i.utilityNetwork,()=>this.#s("input"))])}willUpdate(t){S.some(e=>t.has(e))&&this.#l(this.#t)}#g(){this._traceResult=void 0,this.#t?.clearResults(),this.#h?.flowItems.removeAll()}#m(){if(!this.#e)return;let{traceLocations:t,traceLocationDetails:e,traceConfiguration:i,isSubnetworkNameTraceSelected:s}=this.#e,c=!!i?.subnetworkName,_=t?.some(n=>n.type==="starting-point"),T=e?.some(n=>!!n.flagProperties.terminalConfiguration&&!n.flagProperties.selectedTerminals?.size)??!1;this._traceError=void 0,this._showNoStartingPointsWarning=!s&&!_||s&&!c,this._showMissingTerminalWarning=T}#s(t){this._activeTab=t}#l(t){if(!t)return;let e={actions:this.actions,autoDestroyDisabled:this.autoDestroyDisabled,aggregatedGeometryResultsGraphicsColor:this.aggregatedGeometryResultsGraphicsColor,aggregatedGeometryResultsSize:this.aggregatedGeometryResultsSize,disableHighlightFeatureResults:this.disableHighlightFeatureResults,expanded:!0,hideActionBar:this.hideActionBar,hideFeatureResults:this.hideFeatureResults,hidePlaceholder:this.hidePlaceholder,includeDefaultActionsDisabled:this.includeDefaultActionsDisabled,layers:this.#c,messageOverrides:this.messageOverrides,referenceElement:this.referenceElement,traceError:this._traceError,traceResult:this._traceResult,utilityNetwork:this.#i.utilityNetwork??void 0,view:this.view??void 0};Object.assign(t,e)}#y(t){t&&(t.addEventListener("arcgisPropertyChange",this.#a),t.addEventListener("arcgisResultsReady",this.#n),t.addEventListener("arcgisTraceResultClear",this.#r),t.addEventListener("arcgisTriggerAction",this.#o))}#u(t){t&&(t.removeEventListener("arcgisPropertyChange",this.#a),t.removeEventListener("arcgisResultsReady",this.#n),t.removeEventListener("arcgisTraceResultClear",this.#r),t.removeEventListener("arcgisTriggerAction",this.#o))}#v(t){let{_messages:e}=this;switch(t){case"no-user-type-extension":return e.errors.loadErrors.noUserTypeExtension;case"no-utility-network":return e.errors.loadErrors.noUtilityNetwork;case"no-view":return e.errors.loadErrors.noView;case"sceneView-not-supported":return e.errors.loadErrors.sceneViewNotSupported;default:return t}}async#f(){let t=this.#e?.selectedNamedTraceConfiguration,e=this.#e?.traceConfiguration;if(!(t?.traceType&&e)){o("error",this,"Trace configuration not found"),this._traceError=new Error("Trace configuration not found"),this.arcgisError.emit();return}let i=this.#e?.traceLocations;try{this._traceResult=await this.#i.executeTraceConfiguration({traceType:t.traceType,traceConfiguration:e,traceLocations:i??[],resultTypes:t.resultTypes,outSpatialReference:this.view?.spatialReference})}catch(s){g(s,this,"Error while running trace"),this._traceError=s,this._traceResult=void 0,this.arcgisError.emit()}}#b(){this.#m(),!(this._showNoStartingPointsWarning||this._showMissingTerminalWarning)&&(this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1,this.#g(),this.#s("results"),this.#f())}#w(t){t&&(this.#e=t)}#d(t){!t||t===this.#t||(this.#u(this.#t),this.#t=t,this.#y(t))}#R(t){this.#h=t}#$(t){this._slottedElements=h(t);let e=h(t,R);if((!e.length||e.length<this._slottedElements.length)&&o("warn",this,"The trace results pane only renders instances of `arcgis-utility-network-trace-results` in the `results` slot."),e.length>1&&o("warn",this,"Multiple `arcgis-utility-network-trace-results` elements were provided in the `results` slot. Only the first will render."),!e.length)return;let[i]=e;for(let s of e)s===i?s.removeAttribute($):s.setAttribute($,"");this.#d(i),this.#l(i)}#_(t){t.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented&&t.preventDefault()}#T(t){t.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}#E(t){let{detail:e,target:i}=t;t.stopPropagation(),e.name==="selectedUtilityNetwork"&&(this.#i.utilityNetwork=i.selectedUtilityNetwork,this.#l(this.#t)),e.name==="selectedNamedTraceConfiguration"&&(this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1),e.name==="mode"&&(this._mode=i.mode)}#x(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showMissingTerminalWarning=!1}><div slot=title>${t.errors.missingTerminalTitle}</div><div slot=message>${t.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`}#k(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showNoStartingPointsWarning=!1}><div slot=title>${t.errors.noStartingPointsTitle}</div><div slot=message>${t.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`}#C(){return a`<calcite-tab .selected=${this._activeTab==="results"}>${this.state==="executing"&&a`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>`||""}<arcgis-utility-network-trace-results-pane hide-warnings .hidden=${this.state==="executing"} ${l(this.#R)}><slot name=results @slotchange=${this.#$}></slot>${this.#p?null:a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryResultsGraphicsColor=${this.aggregatedGeometryResultsGraphicsColor} .aggregatedGeometryResultsSize=${this.aggregatedGeometryResultsSize} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} expanded .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#c} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#i.utilityNetwork??void 0} .view=${this.view??void 0} ${l(this.#d)}></arcgis-utility-network-trace-results>`}</arcgis-utility-network-trace-results-pane></calcite-tab>`}#G(){let{_messages:t,_traceResult:e}=this,i=!!(e?.elements.length||e?.globalFunctionResults.length||e?.aggregatedGeometry)&&this.#t?.state==="ready",s=this.#t?.numFeatureResults??0,c=s>0&&!this.hideFeatureResults&&!this.hideClearResultsCount&&this.state!=="executing";return a`<calcite-button appearance=outline width=full @click=${()=>{this.#s("input"),this.#g()}} .disabled=${!i} slot=footer>${c?t.buttons.clearResultsCustom.replace("{number}",s.toString()):t.buttons.clearResultsGeneric}</calcite-button>`}#S(){let{_mode:t}=this,{loadError:e}=this.#i,i=(e==="no-user-type-extension"||e==="sceneView-not-supported"?a`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#v(e)}</div></calcite-notice>`:void 0)??a`${this._showNoStartingPointsWarning&&t==="default"&&this.#k()||""}${this._showMissingTerminalWarning&&t==="default"&&this.#x()||""}<arcgis-utility-network-trace-inputs .autoDestroyDisabled=${this.autoDestroyDisabled} .hideFeaturesActionBar=${this.hideActionBar} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .view=${this.view??void 0} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisPropertyChange=${this.#E} @arcgisTraceLocationSelectEnd=${this.#T} @arcgisTraceLocationSelectStart=${this.#_} ${l(this.#w)}></arcgis-utility-network-trace-inputs>`;return a`<calcite-tab .selected=${this._activeTab==="input"}><div class="inputs-tab-container">${i}</div></calcite-tab>`}#P(){let{state:t}=this;if(this._mode!=="default")return null;let e=t==="disabled"||t==="loading"||!this.#e?.traceConfiguration;return a`<calcite-button appearance=solid width=full @click=${this.#b} slot=footer .disabled=${e}>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_activeTab:t,state:e}=this;return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>this.#s("input")} .selected=${t==="input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>this.#s("results")} .selected=${t==="results"} .disabled=${e==="disabled"||e==="loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#S()}${this.#C()}</calcite-tabs>${t==="input"?this.#P():null}${t==="results"?this.#G():null}</calcite-panel>`}};v("arcgis-utility-network-trace-analysis",p);return p},"Color","core/Collection","core/reactiveUtils","networks/UtilityNetworkTraceAnalysis",c,d,e,g,i)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{P as o,X as d,a as s,b as t}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:c}])=>{var n=s`.table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.empty-state{width:100%;max-inline-size:unset;transition-duration:0ms;margin-top:var(--calcite-spacing-md)}`,e=class extends o{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.state,a=>{this._disabled=a==="not-ready"||a==="waiting"},{initial:!0}),c(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:a}=this.viewModel;if(this._hasMetadata=!!a,!this._hasMetadata)return;let{missionInfo:i,platformInfo:r,frameInfo:l}=a;this._missionInfo=i,this._platformInfo=r,this._frameInfo=l},{initial:!0})])}render(){let{messages:a}=this;return this._disabled||!this._hasMetadata?t`<calcite-tile class="empty-state" .description=${a.metadataDescription} .heading=${a.metadataNotLoaded}></calcite-tile>`:t`<calcite-block .heading=${a.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${a.missionInfo}><div class="table">${Object.keys(this._missionInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._missionInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.platformInfo}><div class="table">${Object.keys(this._platformInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._platformInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.frameInfo}><div class="table">${Object.keys(this._frameInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._frameInfo[i]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};d("arcgis-video-player-metadata",e);return e},"core/reactiveUtils")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{c as x,d as R}from"./366GLQ5R.js";import{a as M}from"./ZSPYPXBY.js";import{a as w}from"./L5IRXOCJ.js";import c from"./HPWF3IQV.js";import{f as _,h as $}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{O as g,P as m,R as y,U as d,X as b,a as u,b as v,x as f}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{when:k},,{a:A}])=>{var D=u`.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{display:flex;inline-size:fit-content;block-size:fit-content}.root{--calcite-internal-action-bar-padding: 0;--calcite-internal-action-bar-gap: 0;--calcite-action-corner-radius: 0}calcite-action-group{--calcite-internal-action-group-gap: 0}`,r={pan:"move",rotate:"rotate"},h=Object.keys(r),p=class extends m{constructor(){super(...arguments),this._messages=M(),this._actions=new Map,this._direction=_(),this._state="disabled",this.autoDestroyDisabled=!1,this.view=A(this),this.icon=r.pan,this.layout="vertical",this.navigationMode="pan",this.visualScale="m",this.arcgisPropertyChange=$()("layout","state"),this.arcgisReady=f()}static{this.properties={_state:16,autoDestroyDisabled:5,view:0,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,referenceElement:1,state:32,visualScale:1}}static{this.styles=D}get state(){return this._state}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[k(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),k(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onActionGroupChange({target:t}){let a=t.selectedActions.at(0)?.dataset.navigationMode;a&&(this.navigationMode=a)}_onActionKeyDown(t){let{key:a}=t,n=x(a,this._direction),l=R(a,this._direction);if(!n&&!l)return;t.preventDefault();let s=h.indexOf(this.navigationMode),i=h.length,o=n?(s+1)%i:(s-1+i)%i,c=h[o];this.navigationMode=c;let e=this._actions.get(c);e&&(e.setFocus(),e.click())}_setPanActionRef(t){this._setActionRef("pan",t)}_setRotateActionRef(t){this._setActionRef("rotate",t)}_setActionRef(t,a){a?this._actions.set(t,a):this._actions.delete(t)}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,label:a,navigationMode:n,state:l}=this,s=a??t.componentLabel??"",i=t.pan??"",o=t.rotate??"",c=l==="disabled",e=n==="pan";return v`<calcite-action-bar class=${y({root:!0,[w.disabled]:c})} expand-toggle-disabled .layout=${this.layout} @keydown=${this._onActionKeyDown}><calcite-action-group .label=${s} @calciteActionGroupChange=${this._onActionGroupChange} selection-mode=single-persist><calcite-action .active=${e} data-navigation-mode=pan .icon=${r.pan} .label=${i} .scale=${this.visualScale} .text=${i} title=${i??d} ${g(this._setPanActionRef)}></calcite-action><calcite-action .active=${!e} data-navigation-mode=rotate .icon=${r.rotate} .label=${o} .scale=${this.visualScale} .text=${o} title=${o??d} ${g(this._setRotateActionRef)}></calcite-action></calcite-action-group></calcite-action-bar>`}};b("arcgis-navigation-toggle",p);return p},"core/reactiveUtils",a,c)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{P as o,X as r,a as c,b as n}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:p}])=>{var d=c`.scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.scale-input-container .scale-input{flex-grow:1}`,l=class extends o{constructor(){super(...arguments),this._scale=0,this._scaleEnabled=!1}static{this.properties={_scale:16,_scaleEnabled:16,viewModel:0,messages:0}}static{this.styles=d}loaded(){this.manager.onLifecycle(()=>[p(()=>[this.viewModel.templateOptions.scale,this.viewModel.templateOptions.scaleEnabled],()=>{let{scale:e,scaleEnabled:t}=this.viewModel.templateOptions;this._scale=e,this._scaleEnabled=t},{initial:!0}),p(()=>this.viewModel.view?.scale,e=>{e&&(!this.viewModel.templateOptions.scaleEnabled||!this.viewModel.templateOptions.scale)&&(this.viewModel.templateOptions.scale=e)},{initial:!0})])}_resetToCurrentScale(){this.viewModel.templateOptions.scale=this.viewModel.view?.scale}render(){let{messages:e,_scale:t,_scaleEnabled:s}=this;return n`<div class="scale-info-container"><calcite-label layout=inline><calcite-checkbox .checked=${s} @calciteCheckboxChange=${a=>{this.viewModel.templateOptions.scaleEnabled=a.target.checked,this._resetToCurrentScale()}}></calcite-checkbox>${e.scale}</calcite-label><div class="scale-input-container"><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class="scale-input" .disabled=${!s} .value=${`${t}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${a=>{let i=Number(a.target.value);if(Number.isNaN(i)||i<=0||!Number.isFinite(i)){a.target.value=`${t}`;return}this.viewModel.templateOptions.scale=i}}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!s} icon-start=refresh kind=neutral @click=${()=>this._resetToCurrentScale()}></calcite-button></div></div>`}};r("arcgis-print-scale-section",l);return l},"core/reactiveUtils")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import c from"./F5JYYT42.js";import b from"./EK7Y6JBZ.js";import{a as he,b as ce,c as me}from"./DFUR3C3D.js";import a from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as se}from"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{N as H,O as U,P as ie,X as oe,a as ee,b as O,p as te}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([K,ue,ye,{on:be,when:Me,watch:G},{once:Y,on:de},_e,xe,ze,Se,Te,{property:S,subclass:Ce},Ie,Pe,Ae,pe,Z,W,Le,X,{createSphere:Re},Fe,Ne,$e,{b:I,c:ae,d:re},ne,{a:le}])=>{var ke=ee`:host{height:100%;--arcgis-view-color-focus: none}`;function Be(a,e=!0){let t=((e?a:a*180/Math.PI)%360+360)%360;return e?t:t*Math.PI/180}function Ee(a,e=!0){let t=e?a:a*180/Math.PI,o=Math.max(.5,Math.min(179.5,t));return e?o:o*Math.PI/180}function Ge(a,e){return new Promise((t,o)=>{if(a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA){t();return}e(Y(a,"canplay",t)),e(Y(a,"error",o))})}function De(a){return new ue({geometry:a,symbol:new ze({symbolLayers:new _e([new xe])})})}function V({data:a,center:e=Ve(),size:t=Ke,horizonPitch:o=0,horizonYaw:i=0,horizonRoll:s=0}){let r=e.clone();r.z=-t/2;let n=Re(r,{size:t,densificationFactor:2,vertexSpace:"georeferenced",material:new Z({colorTexture:new W({data:a}),unlit:!0})});if(n.components?.at(0)?.set({trustSourceNormals:!0}),n.vertexAttributes.uv){let l=n.vertexAttributes.uv.length??0;for(let d=0;d<l;d++)n.vertexAttributes.uv[d*2+0]=1-n.vertexAttributes.uv[d*2+0]}return n.rotate(o,s,i,{origin:n.extent.center}),n.centerAt(r),n}var Ve=()=>new X({x:0,y:0,z:0,spatialReference:K.WebMercator}),Ke=1e3,Oe=114;function He(a,e,t){let o=new Map,i=Array.from(a.keys()).sort((h,u)=>h-u)[0],{maxCol:s,minCol:r,maxRow:n,minRow:l}=a.get(i),d=s-r+1,m=n-l+1,c=d*(t-1)+1;return Ue({maximumPyramidLevel:e,blockBoundary:a,baseCols:d,baseRows:m,vertexPerEdge:t,baseVertexPerRow:c},o),o}function Ue(a,e){let{maximumPyramidLevel:t,blockBoundary:o,baseCols:i,baseRows:s,vertexPerEdge:r,baseVertexPerRow:n}=a;for(let l=0;l<=t;l+=1){let{maxCol:d,minCol:m,maxRow:c,minRow:h}=o.get(l),u=d-m+1,p=c-h+1,f=i/u,v=s/p,g=r-1;Ye({minRow:h,minCol:m,numberOfRows:p,numberOfColumns:u,vertexLimit:g,rowStep:v,colStep:f,baseVertexPerRow:n,level:l},e)}}function Ye(a,e){let{minRow:t,minCol:o,numberOfRows:i,numberOfColumns:s,vertexLimit:r,rowStep:n,colStep:l,baseVertexPerRow:d,level:m}=a;for(let c=0;c<i;c+=1)for(let h=0;h<s;h+=1){let u=2*r*r,p=new Uint32Array(u*3),f=0,v=o+(s-1-h),g=t+c;for(let w=0;w<r;w+=1)for(let y=0;y<r;y+=1){let _=c*n*r+w*n,C=h*l*r+y*l,N=Math.round(_*d+C),P=Math.round(N+l),T=Math.round(N+n*d),$=Math.round(T+l);p[f++]=N,p[f++]=T,p[f++]=P,p[f++]=P,p[f++]=T,p[f++]=$}e.set(`${m}/${g}/${v}`,p)}}function Ze(a,e){let t=new Map,{lods:o,origin:i,size:[s,r]}=a,{xmin:n,ymin:l,xmax:d,ymax:m}=e;for(let{resolution:c,level:h}of o){let u=Math.floor((i.y-m)/(r*c)),p=Math.floor((i.y-l)/(r*c))-1,f=Math.floor((n-i.x)/(s*c)),v=Math.ceil((d-i.x)/(s*c))-1,g=p-u+1,w=v-f+1;if(g<=0||w<=0)continue;let y=360/w,_=180/g,C=Math.max(y/s,_/r);Number.isFinite(C)&&t.set(o.length-1-h,{minRow:u,maxRow:p,minCol:f,maxCol:v,resolution:c,pixelAngle:C})}return t}function We(a){return typeof a=="string"?Number.parseInt(a,10):a}function je(a){a.set("premultiplyAlpha",!0);let e=a.getAsRGBA();return new ImageData(e,a.width,a.height)}function Je(a,e,t){return(a*(t-1)+1)*(e*(t-1)+1)}var j=class{constructor(e){this._componentCache=new Map,this._tileAnchorMap=new Map,this._attachedComponentKeys=new Set,this._remappedFaceMap=new Map,this._levels=[],this._blockBoundaryMap=new Map,this.radius=500,this.vertexPerEdge=25,this.imageSize=[0,0],this.layer=e.layer}get _meshResolutionLevel(){let e=this._levels[0],t=Number.POSITIVE_INFINITY;for(let o of this._levels){let i=this._blockBoundaryMap.get(o);i&&i.pixelAngle<t&&(t=i.pixelAngle,e=o)}return e}get blockBoundaryMap(){return this._blockBoundaryMap}get levels(){return this._levels}get baseLevel(){let e=this._levels[0],t=Number.NEGATIVE_INFINITY;for(let o of this._levels){let i=this._blockBoundaryMap.get(o);i&&i.pixelAngle>t&&(t=i.pixelAngle,e=o)}return e}get maxLevel(){return Math.max(...this._levels)}async load(e){if(await this.layer.load(e),this._blockBoundaryMap=Ze(this.layer.tileInfo,this.layer.fullExtent),this._levels=[...this._blockBoundaryMap.keys()].sort((t,o)=>t-o),this._levels.length===0)throw new Error("No valid tile levels found for panoramic mesh generation.");return this.imageSize=[this.layer.fullExtent.width,this.layer.fullExtent.height],this._baseMesh=this._createBaseMesh(this.radius,this.vertexPerEdge),this}get baseMesh(){if(!this._baseMesh)throw new Error("Base mesh is not created yet.");return this._baseMesh}destroy(){this._faceMap?.clear(),this._remappedFaceMap.clear(),this._componentCache.clear(),this._attachedComponentKeys.clear(),this._tileAnchorMap.clear(),this._baseMesh?.destroy()}_createBaseMesh(e,t){if(!this._blockBoundaryMap.has(this._meshResolutionLevel))throw new Error(`No block boundaries found for mesh resolution level ${this._meshResolutionLevel}`);let{maxCol:o,minCol:i,maxRow:s,minRow:r}=this._blockBoundaryMap.get(this._meshResolutionLevel),n=s-r+1,l=o-i+1,d=Je(n,l,t),m=new Float64Array(d*3),c=new Float32Array(d*3),h=new Float32Array(d*2),u=l*(t-1)+1,p=l*(t-1);for(let _=0;_<d;_+=1){let C=Math.floor(_/u),N=_%u,P=1-N/(l*(t-1)),T=C/(n*(t-1)),$=180*(1-T),E=360*(P-.5),A=[Math.sin($*Math.PI/180)*Math.sin(E*Math.PI/180),Math.cos(E*Math.PI/180)*Math.sin($*Math.PI/180),-Math.cos($*Math.PI/180)];m[_*3]=e*A[0],m[_*3+1]=e*A[1],m[_*3+2]=e*A[2],c[_*3]=-A[0],c[_*3+1]=-A[1],c[_*3+2]=-A[2];let k=C*u;N===p&&(m[_*3]=m[k*3],m[_*3+1]=m[k*3+1],m[_*3+2]=m[k*3+2],c[_*3]=c[k*3],c[_*3+1]=c[k*3+1],c[_*3+2]=c[k*3+2]),h[_*2]=P,h[_*2+1]=T}this._faceMap=He(this._blockBoundaryMap,Math.max(...this._levels),t);let{remappedFaceMap:f,splitPosition:v,splitNormals:g,splitUv:w}=this._preSplitTileGeometry(m,c,h);this._remappedFaceMap=f;let y=new pe({faces:new Uint32Array([0,1,2]),name:"__placeholder__"});return y.set({trustSourceNormals:!0}),this._baseMesh=new Ae({components:[y],vertexAttributes:new Le({position:v,normal:g,uv:w}),spatialReference:{wkid:3857}}),this._baseMesh}_preSplitTileGeometry(e,t,o){let i=0;for(let c of this._faceMap.values()){let h=new Set;for(let u=0;u<c.length;u+=1)h.add(c[u]);i+=h.size}let s=new Float64Array(i*3),r=new Float32Array(i*3),n=new Float32Array(i*2),l=new Map,d=1e-8,m=0;for(let[c,h]of this._faceMap){let u=new Map,p=0,f=0,v=0,g=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY,y=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;for(let L=0;L<h.length;L+=1){let R=h[L];if(u.has(R))continue;let x=R*2,z=o[x],F=o[x+1];z<g&&(g=z),z>w&&(w=z),F<y&&(y=F),F>_&&(_=F);let B=R*3;p+=e[B],f+=e[B+1],v+=e[B+2],u.set(R,m),m+=1}let C=w-g,N=_-y,P=Math.hypot(p,f,v),T=this.radius*1.01,[$,E]=this.layer.tileInfo?.size??[256,256],A=.5/$,k=.5/E;this._tileAnchorMap.set(c,P>0?[p/P*T,f/P*T,v/P*T]:[0,0,T]);for(let[L,R]of u){let x=L*3,z=R*3;s[z]=e[x],s[z+1]=e[x+1],s[z+2]=e[x+2],r[z]=t[x],r[z+1]=t[x+1],r[z+2]=t[x+2];let F=L*2,B=R*2,fe=o[F],ge=o[F+1],ve=C<d?.5:(fe-g)/C,we=N<d?.5:(ge-y)/N;n[B]=A+ve*(1-2*A),n[B+1]=k+we*(1-2*k)}let D=new Uint32Array(h.length);for(let L=0;L<h.length;L+=1){let R=u.get(h[L]);if(R==null)throw new Error(`Failed to remap face index for tile ${c}`);D[L]=R}l.set(c,D)}return{remappedFaceMap:l,splitPosition:s,splitNormals:r,splitUv:n}}getTileAnchor(e,t,o){let i=this._tileAnchorMap.get(`${e}/${t}/${o}`);if(!i)throw new Error(`No tile anchor found for level ${e}, row ${t}, column ${o}`);return i}loadComponent(e,t,o,i){let s=`${e}/${t}/${o}`;if(this._attachedComponentKeys.has(s))return;let r=this._componentCache.get(s);if(r)r.material=new Z({unlit:!0,colorTexture:new W({data:i})});else{let l=this._remappedFaceMap.get(s);if(!l)throw new Error(`No faces found for level ${e}, row ${t}, column ${o}`);r=new pe({faces:l,name:s,material:new Z({unlit:!0,colorTexture:new W({data:i})})}),r.set({trustSourceNormals:!0}),this._componentCache.set(`${e}/${t}/${o}`,r)}r.name=s,this.baseMesh.addComponent(r);let n=this.baseMesh.components?.find(l=>l.name==="__placeholder__");n&&this.baseMesh.removeComponent(n),this._attachedComponentKeys.add(s),this.baseMesh.vertexAttributesChanged()}getFacesForTile(e,t,o){let i=this._remappedFaceMap.get(`${e}/${t}/${o}`);if(!i)throw new Error(`No faces found for level ${e}, row ${t}, column ${o}`);return i}unloadComponent(e,t,o){let i=`${e}/${t}/${o}`,s=this._componentCache.get(i);s&&this._attachedComponentKeys.has(i)&&(this.baseMesh.removeComponent(s),this._attachedComponentKeys.delete(i),this.baseMesh.vertexAttributesChanged())}},J=class{constructor(e){this._baseLevel=e.baseLevel,this._levels=[...e.levels],this._blockBoundaryMap=e.blockBoundaryMap}plan(e,t,o){let i=this._selectLevel(e);this._lastStableLevel=i;let s=this._createHybridDesiredSet(i,e);this._retainActiveLevelDetails(s,t,i);let r=this._prioritizeDesiredKeys(s,i),n=new Set([...t,...o]),l=r.filter(c=>!n.has(c)),d=r.filter(c=>t.has(c)),m=[...t].filter(c=>!s.has(c));return{stableLevel:i,desiredKeySet:s,toFetch:l,toKeep:d,toDrop:m}}_retainActiveLevelDetails(e,t,o){if(o!==this._baseLevel)for(let i of t){let s=this._parseTileKey(i);s&&s.level===o&&e.add(i)}}_createHybridDesiredSet(e,t){let o=new Set,i=this._blockBoundaryMap.get(this._baseLevel);if(!i)return o;for(let r=i.minRow;r<=i.maxRow;r+=1)for(let n=i.minCol;n<=i.maxCol;n+=1)o.add(`${this._baseLevel}/${r}/${n}`);if(e===this._baseLevel)return o;let s=this._getViewTileKeys(e,t.heading,t.pitch,t.hfov,t.vfov);for(let r of s)o.add(r);return o}_getViewTileKeys(e,t,o,i,s){let r=this._blockBoundaryMap.get(e);if(!r)return[];let{minRow:n,maxRow:l,minCol:d,maxCol:m}=r,c=l-n+1,h=m-d+1,u=Math.max(.1,Math.min(179.9,o))-90,p=Math.max(.01,Math.min(360,i)),f=Math.max(.01,Math.min(180,s)),v=360/h,g=180/c,w=Math.min(12,v*.35),y=Math.min(8,g*.35),_=Math.min(360,p+w*2),C=Math.min(180,f+y*2),N=Math.max(-89.9,Math.min(89.9,u-C/2)),P=Math.max(-89.9,Math.min(89.9,u+C/2)),T=x=>{let z=(90-x)/180,F=Math.floor(z*c);return n+Math.max(0,Math.min(c-1,F))},$=x=>{let z=this._normalizeHeading(x)/360,F=(Math.floor(z*h)%h+h)%h;return d+F},E=this._normalizeHeading(t-_/2),A=this._normalizeHeading(t+_/2),k=Math.min(T(P),T(N)),D=Math.max(T(P),T(N)),L=_>=360?[[d,m]]:E<=A?[[$(E),$(A)]]:[[d,$(A)],[$(E),m]],R=new Set;for(let x=k;x<=D;x+=1)for(let[z,F]of L)for(let B=z;B<=F;B+=1)R.add(`${e}/${x}/${B}`);return[...R]}_normalizeHeading(e){let t=e%360;return t<0?t+360:t}_prioritizeDesiredKeys(e,t){let o=[...e],i=s=>{let r=this._parseTileKey(s);return r?r.level===t?0:r.level===this._baseLevel?2:1:Number.POSITIVE_INFINITY};return o.sort((s,r)=>{let n=i(s)-i(r);if(n!==0)return n;let l=this._parseTileKey(s),d=this._parseTileKey(r);return!l||!d?s.localeCompare(r):l.level!==d.level?l.level-d.level:l.row!==d.row?l.row-d.row:l.col-d.col}),o}_parseTileKey(e){let[t,o,i]=e.split("/"),s=Number(t),r=Number(o),n=Number(i);if(!(!Number.isFinite(s)||!Number.isFinite(r)||!Number.isFinite(n)))return{level:s,row:r,col:n}}_selectLevel(e){let[t,o]=e.viewportSize,i=Math.max(1,t),s=Math.max(1,o),r=Math.max(e.hfov/i,e.vfov/s),n=.25,l=this._levels.map(h=>({level:h,boundary:this._blockBoundaryMap.get(h)})).filter(h=>h.boundary!=null).sort((h,u)=>u.boundary.pixelAngle-h.boundary.pixelAngle);if(l.length===0)return this._baseLevel;let d=new Map;for(let h of l)d.set(h.level,r/h.boundary.pixelAngle);let m=new Map;l.forEach((h,u)=>{m.set(h.level,u)});let c=l[l.length-1].level;for(let h of l)if((d.get(h.level)??0)>=n){c=h.level;break}if(this._lastStableLevel!=null&&m.has(this._lastStableLevel)){let h=m.get(this._lastStableLevel),u=m.get(c);if(u>h&&(d.get(this._lastStableLevel)??0)>=.2)return this._lastStableLevel;if(u<h)return this._lastStableLevel}return c}},q=class{constructor(e){this._layer=e,this._inflightControllers=new Map,this._inflightSet=new Set,this._loadedSet=new Set,this.fetchTileImageData=async(t,o,i,s)=>{let r=We(t),n=s?{signal:s}:void 0,l=this._meshBuilder.blockBoundaryMap.get(r);if(!l)throw new Error(`No tile boundary found for level ${t}`);let{maxCol:d,maxRow:m,minCol:c,minRow:h}=l,u=d-c+1,p=m-h+1,f=i-c,v=o-h,g=f*this._meshBuilder.imageSize[0]/u,w=v*this._meshBuilder.imageSize[1]/p,y=Math.min((f+1)*this._meshBuilder.imageSize[0]/u,this._meshBuilder.imageSize[0]),_=Math.min((v+1)*this._meshBuilder.imageSize[1]/p,this._meshBuilder.imageSize[1]),C=await this._layer.fetchPixels(new Pe({xmin:g-.5,ymin:.5-_,xmax:y-.5,ymax:.5-w,spatialReference:this._layer.fullExtent.spatialReference}),y-g,_-w,n);return je(C.pixelBlock)},this.loadComponent=(t,o,i,s)=>this._meshBuilder.loadComponent(t,o,i,s),this.unloadComponent=(t,o,i)=>this._meshBuilder.unloadComponent(t,o,i),this._meshBuilder=new j({layer:e})}get imageSize(){return this._meshBuilder.imageSize}get baseMesh(){return this._meshBuilder.baseMesh}get currentLevel(){return this._currentLevel}getTileAnchor(e,t,o){return this._meshBuilder.getTileAnchor(e,t,o)}async load(){return await this._meshBuilder.load(),this._tilePlanner=new J({blockBoundaryMap:this._meshBuilder.blockBoundaryMap,baseLevel:this._meshBuilder.baseLevel,levels:[...this._meshBuilder.levels]}),this}destroy(){for(let e of this._inflightControllers.values())e.abort();this._inflightControllers.clear(),this._inflightSet.clear(),this._loadedSet.clear(),this._tilePlanner=void 0,this._meshBuilder.destroy()}planTiles(e){if(!this._tilePlanner)throw new Error("PanoramicTileSource is not loaded yet.");let t=this._tilePlanner.plan(e,this._loadedSet,this._inflightSet);return this._currentLevel=t.stableLevel,t}markTileInflight(e,t){this._inflightSet.add(e),this._inflightControllers.set(e,t)}markTileLoaded(e){this._inflightSet.delete(e),this._inflightControllers.delete(e),this._loadedSet.add(e)}markTileInflightResolved(e){this._inflightSet.delete(e),this._inflightControllers.delete(e)}markTileDropped(e){this._loadedSet.delete(e)}cancelStaleInflight(e){for(let t of this._inflightSet)e.has(t)||(this._inflightControllers.get(t)?.abort(),this._inflightControllers.delete(t),this._inflightSet.delete(t))}},qe=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,M=(a,e,t,o)=>{for(var i=o>1?void 0:o?Qe(e,t):e,s=a.length-1,r;s>=0;s--)(r=a[s])&&(i=(o?r(e,t,i):r(i))||i);return o&&i&&qe(e,t,i),i},Xe=0,et=0,tt=0,it=new Set(["JPG","JPEG","TIFF","TIF","MRF"]),ot=new Set(["MRF","TIFF","TIF"]),b=class extends Te{constructor(a){super(a),this._size=[0,0],this.autoLoad=!1,this.type="image",this.uiStrings={},this._resolveMedia=async e=>{let t=Promise.withResolvers(),o=e?.signal?Y(e?.signal,"abort",t.resolve):null,i=this.type==="video"?document.createElement("video"):document.createElement("img");this.type==="video"&&(i.setAttribute("playsinline","true"),i.setAttribute("muted","true"),i.setAttribute("autoplay","true")),i.crossOrigin="anonymous",i.src=this.url;let s=null,r=this.type==="video"?Ge(i,m=>this.addHandles(m)):await new Promise((m,c)=>{s=[de(i,"error",h=>{c(h)}),de(i,"load",m)]}).finally(()=>{s?.forEach(m=>m.remove()),s=null}),n=Promise.race([r,t.promise]);try{await n}finally{o?.remove()}I(e);let l=i,d=await V({data:i,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(e);return I(e),{media:l,mesh:d}}}static isPanoramicMedia(a){return!!a&&typeof a=="object"&&"declaredClass"in a&&typeof a.declaredClass=="string"&&a.declaredClass==="components.oriented-imagery-viewer-panoramic-viewer.support.PanoramicMedia"}destroy(){this._cache=void 0}get horizonPitch(){let{matrix:a}=this;return a?180*Math.asin(-a[6])/Math.PI:Xe}get horizonRoll(){let{matrix:a}=this;return a?180*Math.atan(a[7]/a[8])/Math.PI:tt}get horizonYaw(){let{matrix:a,cameraHeading:e}=this;return a?180*Math.atan2(a[3],a[0])/Math.PI:e?-e:et}get panoramicTileSource(){return this._panoramicTileSource}get element(){return this._cache}get size(){return this._size}async load(a){if(this.type==="video")return await this.loadVideoMesh(a);let e=this.extension;if(e||(e=le(this.url)),!e||!it.has(e))throw new Ie("unsupported-format",this.uiStrings["unsupported-format"]??"Unsupported image format: {extension}",{datasetFormat:e??"UNKNOWN FORMAT"});return ot.has(e)?await this.loadOptimizedImageMesh(a):await this.loadImageMesh(a)}async loadOptimizedImageMesh(a){this._panoramicTileSource?.destroy();let e=new Fe({url:this.url,datasetFormat:this.extension,skipMapInfo:!0,skipExtensions:["aux.xml","jgw"]});this._panoramicTileSource=new q(e);let{imageSize:t,baseMesh:o}=await this._panoramicTileSource.load();return I(a),{mesh:o,size:t}}async loadVideoMesh(a){if(I(a),this._cache){let o=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:o,size:this._size}}let e=await this._resolveMedia(a);I(a),this._cache=e.media,this._size=[this._cache.videoWidth,this._cache.videoHeight];let t=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:t,size:this._size}}async loadImageMesh(a){if(this._cache){let o=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:o,size:this._size}}let e=await this._resolveMedia(a);I(a),this._cache=e.media;let t=e.mesh;return this._size=[e.media.width,e.media.height],{mesh:t,size:this._size}}};M([S()],b.prototype,"_size",2);M([S()],b.prototype,"_cache",2);M([S()],b.prototype,"autoLoad",2);M([S()],b.prototype,"cameraHeading",2);M([S()],b.prototype,"extension",2);M([S()],b.prototype,"horizonPitch",1);M([S()],b.prototype,"horizonRoll",1);M([S()],b.prototype,"horizonYaw",1);M([S()],b.prototype,"id",2);M([S()],b.prototype,"_panoramicTileSource",2);M([S()],b.prototype,"panoramicTileSource",1);M([S()],b.prototype,"element",1);M([S()],b.prototype,"matrix",2);M([S()],b.prototype,"size",1);M([S()],b.prototype,"type",2);M([S()],b.prototype,"uiStrings",2);M([S()],b.prototype,"url",2);b=M([Ce("components.oriented-imagery-viewer-panoramic-viewer.support.PanoramicMedia")],b);var at=()=>new ye({atmosphereEnabled:!1,starsEnabled:!1,lighting:{type:"virtual"}}),rt=()=>new Se({opacity:0,navigationConstraint:null}),st=()=>new X({x:0,y:0,z:0,spatialReference:K.WebMercator}),Q=class extends ie{constructor(){super(...arguments),this.#e=at(),this._graphicsController=new ne(this),this._ground=rt(),this._messages=se(),this._startPosition=null,this.tileCache=new Set,this._currentGraphicsStore=new _e,this._tileLabelGraphics=new Map,this._handleMouseWheel=e=>{e.detail.stopPropagation(),e.detail.deltaY<0?this._internalZoom.value?.zoomIn():this._internalZoom.value?.zoomOut()},this._handleDrag=e=>{e.stopPropagation();let{x:t,y:o,action:i}=e,s=null,r=null;switch(i){case"start":this._startPosition={x:t,y:o};break;case"update":if(!this._startPosition)return;let n=l=>{if(!this._startPosition||!this.camera)return;if(r||(r=l),l-r<16){s=requestAnimationFrame(n);return}let d=t-this._startPosition.x,m=o-this._startPosition.y,c=Be(this.camera?.heading-d*.1),h=Ee(this.camera.tilt+m*.1);this.yaw=c,this.pitch=h,this._startPosition={x:t,y:o},r=null};s=requestAnimationFrame(n);break;case"end":s!==null&&cancelAnimationFrame(s),this._startPosition=null;break}},this._internalMap=H(),this._internalZoom=H(),this._loading=!1,this.yaw=0,this.pitch=90,this.hideLoader=!1,this.hideTitle=!1,this.hideZoomControls=!1,this.hideVideoControls=!1,this.messageOverrides=this._messages._overrides}static{this.properties={_media:16,_internalMap:16,_internalZoom:16,_loading:16,_base:16,yaw:9,pitch:9,hideLoader:5,hideTitle:7,hideZoomControls:5,hideVideoControls:5,imageSize:32,media:0,messageOverrides:0,hfov:32,base:32}}static{this.styles=[ke]}#e;get view(){return this._internalMap?.value?.view}get camera(){if(!this.view?.destroyed)return this.view?.camera}set camera(e){!e||!this.view||this.view.destroyed||(e.position=st(),this.view.camera=e.clone())}get map(){return this._internalMap.value?.view?.map}get _fov(){return this.camera?.fov}set _fov(e){typeof e!="number"||!this._internalZoom.value||this._internalZoom.value?.zoomFOV(e)}get imageSize(){return this._media?.size}get media(){return this._media}set media(e){if(!e){this._mediaAbortController?.abort(),this._media=void 0,this._clearImage();return}this._media=b.isPanoramicMedia(e)?e:new b(e)}get hfov(){return this._internalZoom.value?.hfov}get base(){return this._base?.geometry}addGraphic(e){this._graphicsController.addGraphic(e)}addGraphics(e){this._graphicsController.addGraphics(e)}clearGraphics(){this._graphicsController.clearGraphics()}async mediaOnLoad(){return this._mediaPromise&&await this._mediaPromise,this._media}removeGraphic(e){this._graphicsController.removeGraphic(e)}removeGraphics(e){this._graphicsController.removeGraphics(e)}zoomIn(){this._internalZoom.value?.zoomIn()}zoomOut(){this._internalZoom.value?.zoomOut()}loaded(){this.manager.onLifecycle(()=>[be(()=>this.view,"drag",this._handleDrag),Me(()=>this.camera!=null,()=>{this.camera&&(this.camera.heading=this.yaw,this.camera.tilt=this.pitch,this._reloadCamera())}),G(()=>this.yaw,()=>{this.camera&&(this.camera.heading=this.yaw,this._reloadCamera())},{sync:!0,initial:!0}),G(()=>this.pitch,()=>{this.camera&&(this.camera.tilt=this.pitch,this._reloadCamera())},{sync:!0,initial:!0}),G(()=>this._fov,()=>{this._reloadCamera()},{sync:!0,initial:!0}),G(()=>this._media,e=>{this._mediaAbortController?.abort(),e&&(this._mediaAbortController=new AbortController,this._mediaPromise=this._loadMediaInternal(e,this._mediaAbortController))},{initial:!0,sync:!0}),G(()=>{if(!this.view?.ready||!this.base)return;let e=this._media?.panoramicTileSource;if(!e)return;let{camera:{heading:t,tilt:o,fov:i},width:s,height:r}=this.view,n=s/r;return{panoramicTileSource:e,heading:t,pitch:o,hfov:ce(i,n),vfov:me(i,n)}},e=>{e&&(this._tileUpdateDebounceHandle!=null&&clearTimeout(this._tileUpdateDebounceHandle),this._tileUpdateDebounceHandle=window.setTimeout(()=>{this._tileUpdateTask?.abort(),this._tileUpdateTask=re(async t=>{await this._updateTilesForCurrentView(e,t)}),this._tileUpdateDebounceHandle=void 0},150))},{initial:!0,sync:!0})])}_reloadCamera(){this.camera=this.camera?.clone()}_clearImage(){this._tileUpdateDebounceHandle!=null&&(clearTimeout(this._tileUpdateDebounceHandle),this._tileUpdateDebounceHandle=void 0),this._tileUpdateTask?.abort(),this._tileUpdateTask=void 0,this.tileCache.clear();for(let e of this._tileLabelGraphics.values())this.removeGraphic(e);this._tileLabelGraphics.clear(),this.clearGraphics(),this._base=void 0,this._currentGraphicsStore.removeAll()}_parseTileKey(e){let[t,o,i]=e.split("/").map(Number);return{level:t,row:o,col:i}}_createTileLabelGraphic(e,t){let{level:o,row:i,col:s}=this._parseTileKey(t),[r,n,l]=e.getTileAnchor(o,i,s);return new ue({attributes:{tileKey:t},geometry:new X({x:r,y:n,z:l,spatialReference:K.WebMercator}),symbol:new $e({color:[255,255,255,.95],font:new Ne({family:"Avenir Next",size:8,weight:"bold"}),haloColor:[0,0,0,.9],haloSize:1,horizontalAlignment:"center",text:t,verticalAlignment:"middle"})})}_attachTileLabel(e,t){if(this._tileLabelGraphics.has(t))return;let o=this._createTileLabelGraphic(e,t);this._tileLabelGraphics.set(t,o),this._currentGraphicsStore.add(o),this.addGraphic(o)}_detachTileLabel(e){let t=this._tileLabelGraphics.get(e);t&&(this.removeGraphic(t),this._currentGraphicsStore.remove(t),this._tileLabelGraphics.delete(e))}async _updateTilesForCurrentView(e,t){let{base:o}=this;if(!o)return;let{panoramicTileSource:i,heading:s,pitch:r,hfov:n,vfov:l}=e,d=[Math.max(1,this.view?.width??1),Math.max(1,this.view?.height??1)],m=i.planTiles({heading:s,pitch:r,hfov:n,vfov:l,imageSize:i.imageSize,viewportSize:d});if(I(t),i.cancelStaleInflight(m.desiredKeySet),m.toDrop.length>0){let u=new Set(m.toDrop);for(let p of u){let{level:f,row:v,col:g}=this._parseTileKey(p);i.unloadComponent(f,v,g),i.markTileDropped(p),this._detachTileLabel(p),this.tileCache.delete(p)}}let c=async u=>{if(u>=m.toFetch.length)return;let p=m.toFetch[u];if(I(t),!this.tileCache.has(p)){let{level:f,row:v,col:g}=this._parseTileKey(p),w=new AbortController,y=()=>{w.abort()};t.addEventListener("abort",y,{once:!0}),i.markTileInflight(p,w);try{let _=await i.fetchTileImageData(f,v,g,w.signal);I(t),m.desiredKeySet.has(p)&&!this.tileCache.has(p)&&(i.loadComponent(f,v,g,_),i.markTileLoaded(p),this._attachTileLabel(i,p),this.tileCache.add(p))}catch(_){ae(_)||te("error",this,"Failed loading panoramic tile component",{detail:{key:p,error:_}})}finally{t.removeEventListener("abort",y),i.markTileInflightResolved(p)}}await c(u+1)};await c(0);let h=i.planTiles({heading:s,pitch:r,hfov:n,vfov:l,imageSize:i.imageSize,viewportSize:d});if(I(t),h.toDrop.length>0){let u=new Set(h.toDrop);for(let p of u){let{level:f,row:v,col:g}=this._parseTileKey(p);i.unloadComponent(f,v,g),i.markTileDropped(p),this._detachTileLabel(p),this.tileCache.delete(p)}}}async _loadMediaInternal(e,t){if(this._loading=!0,this._clearImage(),!e)throw new Error("No media provided");let{mesh:o}=await e.load(t).finally(()=>{this._loading=!1});I(t),this._fov=he(Oe,this.el.clientWidth/this.el.clientHeight),this._base=De(o),this.addGraphic(this._base)}render(){return O`<calcite-panel .loading=${this.hideLoader?void 0:this._loading} .heading=${this.hideTitle?void 0:this._messages.title}><arcgis-scene .environment=${this.#e} hide-attribution .spatialReference=${K.WebMercator} viewing-mode=local .ground=${this._ground} @arcgisViewMouseWheel=${this._handleMouseWheel} ${U(this._internalMap)}><arcgis-oriented-imagery-viewer-panoramic-viewer-zoom .hidden=${this.hideZoomControls} slot=top-left ${U(this._internalZoom)}></arcgis-oriented-imagery-viewer-panoramic-viewer-zoom></arcgis-scene>${this.hideVideoControls||this.media?.type!=="video"?null:O`<arcgis-oriented-imagery-viewer-video-controls .videoRef=${this._media?.element}></arcgis-oriented-imagery-viewer-video-controls>`}</calcite-panel>`}};oe("arcgis-oriented-imagery-viewer-panoramic-viewer",Q);return Q},"geometry/SpatialReference","Graphic","views/3d/environment/Environment","core/reactiveUtils","applications/Components/baUtils","core/Collection","symbols/FillSymbol3DLayer","symbols/MeshSymbol3D","Ground","core/Accessor","core/accessorSupport/decorators","core/Error","geometry/Extent","geometry/Mesh","geometry/support/MeshComponent","geometry/support/MeshMaterialMetallicRoughness","geometry/support/MeshTexture","geometry/support/MeshVertexAttributes","geometry/Point","geometry/support/meshUtils","layers/ImageryTileLayer","symbols/Font","symbols/TextSymbol",a,b,c)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as f,b as y,c as v}from"./PJ5OUPGO.js";import{a}from"./AL3PLZEE.js";import{a as p}from"./KLVBRTYU.js";import b from"./ALVAGE57.js";import{f as m}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{N as e,O as s,P as n,R as l,X as c,a as o,b as t,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:w},u,{c:d}])=>{var R=o`:host{width:100%;height:100%}`,g=d(u,{omitProps:["container","focusRegionEnabled","navigation","scale","ui"]}),r=class extends n{constructor(){super(),this._containerRef=e(),this._direction=m(),this._mapRef=e(),this._slotGroupRefs=y(),this.autoDestroyDisabled=!1,this.view=g(this),this.attributionMode=this.view.attributionMode,this.ready=this.view.ready,this.layer=this.view.layer,this.map=this.view.map,this.operationalDataVisible=this.view.operationalDataVisible,this.arcgisViewReadyChange=h()}static{this.properties={autoDestroyDisabled:5,view:32,aria:0,attributionMode:1,ready:36,layer:0,map:0,operationalDataVisible:5}}static{this.styles=[p,f,R]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}async destroy(){await this.manager.destroy()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.manager.onLifecycle(()=>[w(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),w(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}renderMain(){return t`<div class=${`root ${a.base}`} ${s(this._mapRef)}></div>`}render(){return t`${this.renderMain()}<section class=${l(a.containerUI)} ${s(this._containerRef)}>${v({direction:this._direction,slotGroupRefs:this._slotGroupRefs})}</section>`}};c("arcgis-video",r);return r},"core/reactiveUtils","views/VideoView",b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- function p(e){let i=e.toLowerCase();return i==="image/bmp"||i==="image/emf"||i==="image/exif"||i==="image/gif"||i==="image/x-icon"||i==="image/jpeg"||i==="image/png"||i==="image/tiff"||i==="image/x-wmf"||i==="image/avif"}function a(e){return e?e==="text/plain"?"file-text":e==="application/pdf"?"file-pdf":e==="text/csv"?"file-csv":e==="application/gpx+xml"?"file-gpx":e==="application/x-dwf"?"file-cad":e==="application/postscript"||e==="application/json"||e==="text/xml"||e==="model/vrml"?"file-code":e==="application/x-zip-compressed"||e==="application/x-7z-compressed"||e==="application/x-gzip"||e==="application/x-tar"||e==="application/x-gtar"||e==="application/x-bzip2"||e==="application/gzip"||e==="application/x-compress"||e==="application/x-apple-diskimage"||e==="application/x-rar-compressed"||e==="application/zip"?"file-zip":e.includes("image/")?"file-image":e.includes("audio/")?"file-sound":e.includes("video/")?"file-video":e.includes("msexcel")||e.includes("ms-excel")||e.includes("spreadsheetml")?"file-excel":e.includes("msword")||e.includes("ms-word")||e.includes("wordprocessingml")?"file-word":e.includes("powerpoint")||e.includes("presentationml")?"file-ppt":"file":"file"}export{p as a,a as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{p as c}from"./3UMLR76Y.js";function N(e){return m(e)||g(e)}function u(e){return h(e).filter(s=>s.nodeType===Node.TEXT_NODE).map(s=>s.textContent).join("").trim()}function g(e){return u(e).length>0}function h(e){return e.currentTarget.assignedNodes({flatten:!0})}function m(e){return f(e).length>0}function f(e,s){return C(e.target,s)}function C(e,s){let t=e.assignedElements({flatten:!0});return s?t.filter(n=>n.matches(s)):t}var E=["arcgis-map","arcgis-scene","arcgis-link-chart"];function w(e,s){let t=s??e.referenceElement;if(typeof t!="string")return t??void 0;let n=t.includes("#")||t.includes(".")||t.includes("["),o=e.el.getRootNode(),r=(n?void 0:o.querySelector(`#${t}`))??o.querySelector(t)??(n?void 0:i(e.el,`#${t}`))??i(e.el,t);if(r==null){c("error",e,`Expected property \`referenceElement\` to resolve to an <arcgis-map>, <arcgis-scene>, or <arcgis-link-chart> element, but no element matched \`${t}\`.`);return}return E.includes(r.localName)||c("error",e,`Expected property \`referenceElement\` to point to an <arcgis-map>, <arcgis-scene>, or <arcgis-link-chart> element, but instead found <${r?.localName}>.`,{detail:{referenceElement:t,resolved:r}}),r??void 0}var y=(...e)=>{let s=[];for(let n=0;n<e.length;++n){let o=e[n];if(typeof o=="string")s.push(o);else if(Array.isArray(o))s.push.apply(s,o);else if(typeof o=="object")for(let r in o)o[r]&&s.push(r)}let t=s.join(" ");return s.length=0,t},p=(e,s)=>{let t=e;for(;t;){if(t===s)return!0;if(!t.parentNode)return!1;t.parentNode instanceof ShadowRoot?t=t.parentNode.host:t=t.parentNode}return!1},H=(e,s,t)=>{let n=A(s).subscribe;return n(o=>{o.some(a=>p(e,a.target))&&t()})},l={},A=e=>{let s=e.join(","),t=l[s];if(t!==void 0)return t;let n=new Set,o=new MutationObserver(a=>n.forEach(d=>d(a)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe:a=>(n.add(a),()=>{n.delete(a),n.size===0&&(o.disconnect(),l[s]=void 0)})};return l[s]=r,r},i=(e,s)=>{let t=e;for(;t;){let n=t.closest?.(s);if(n)return n;let o=t.getRootNode?.();if(o===globalThis.document)return;t=o?.host}};function x(e){let s=i(e,".calcite-mode-dark, .calcite-mode-light, .calcite-mode-auto");return s?.classList.contains("calcite-mode-dark")||s?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}var G=(e,s,t)=>i(e,`[${s}]`)?.getAttribute(s)??t,$=async e=>{e!=null&&(b(e)?await e.setFocus():e.focus())},b=e=>typeof e.setFocus=="function";export{N as a,f as b,C as c,w as d,y as e,H as f,i as g,x as h,G as i,$ as j};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as c}from"./6J3KSMFG.js";import{P as r,X as n,a,b as t}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var h=a`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,l=class extends r{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideModeSelect=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideModeSelect:5,messages:0}}static{this.styles=h}render(){return t`${c({hidden:this.hideModeSelect,children:this._renderModeSelect()})}${c({hidden:this.hideColorPicker,children:t`<arcgis-color-select .color=${this.options.color} .label=${this.messages?.totalDuration?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}_renderModeSelect(){let{options:e,scale:s}=this,{mode:i}=e,o=this.messages?.totalDuration;return t`<calcite-label .scale=${s}>${o?.modeLabel}<calcite-segmented-control .scale=${s} width=full @calciteSegmentedControlChange=${d=>{e.mode=d.currentTarget.value}}><calcite-segmented-control-item value=hourly .checked=${i==="hourly"}>${o?.hourlyLabel}</calcite-segmented-control-item><calcite-segmented-control-item value=continuous .checked=${i==="continuous"}>${o?.continuousLabel}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}};n("arcgis-shadow-cast-total-duration-config",l);export{l as ArcgisShadowCastTotalDurationConfig};
@@ -1 +0,0 @@
1
- export * from "./customElement.js";
@@ -1,7 +0,0 @@
1
- import type { FieldValue } from "@arcgis/core/layers/support/fieldUtils.js";
2
-
3
- /**
4
- * @param fieldName
5
- * @param value
6
- */
7
- export type ValueChangeCallback = (fieldName: string, value: FieldValue) => void;
@@ -1,4 +0,0 @@
1
- /// <reference path="../../index.d.ts" />
2
- import type { ArcgisFeatureFormField } from "../arcgis-feature-form-field/customElement.js";
3
-
4
- export abstract class ArcgisFeatureFormFieldNumber extends ArcgisFeatureFormField {}
@@ -1,158 +0,0 @@
1
- /// <reference path="../../index.d.ts" />
2
- import type Layer from "@arcgis/core/layers/Layer.js";
3
- import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
4
- import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
- import type { ArcgisReferenceElement, IconName } from "../types.js";
6
- import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
7
- import type { Icon } from "@esri/calcite-components/components/calcite-icon";
8
- import type { SupportedRegion } from "@arcgis/core/widgets/ScaleRangeSlider/types.js";
9
- import type { ScaleRangeSliderViewModelState } from "@arcgis/core/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js";
10
-
11
- /**
12
- * The Scale Range Slider component allows the user to set a minimum and maximum scale based on named scale ranges.
13
- *
14
- * > [!WARNING]
15
- * > This component is a wrapped version of the [ScaleRangeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html) widget.
16
- * > We recommend using the [arcgis-slider-scale-range](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-scale-range/) component instead, which provides a native implementation with improved features and accessibility.
17
- *
18
- * @deprecated since 5.1. Use [arcgis-slider-scale-range](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-scale-range/) instead.
19
- * @since 4.28
20
- */
21
- export abstract class ArcgisScaleRangeSlider extends LitElement {
22
- /**
23
- * If true, the component will not be destroyed automatically when it is
24
- * disconnected from the document. This is useful when you want to move the
25
- * component to a different place on the page, or temporarily hide it. If this
26
- * is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scale-range-slider/#destroy) method when you are done to
27
- * prevent memory leaks.
28
- *
29
- * @default false
30
- * @example
31
- * ```html
32
- * <arcgis-scale-range-slider auto-destroy-disabled></arcgis-scale-range-slider>
33
- * ```
34
- *
35
- * ```js
36
- * scaleRangeSliderElement.autoDestroyDisabled = true;
37
- * ```
38
- *
39
- */
40
- accessor autoDestroyDisabled: boolean;
41
- /**
42
- * When true, the component is visually de-emphasized and does not accept user interaction.
43
- *
44
- * @default false
45
- */
46
- accessor disabled: boolean;
47
- /**
48
- * Indicates whether the preview thumbnail of the scale is visible.
49
- * Default value is `true`.
50
- *
51
- * @default false
52
- */
53
- accessor hidePreview: boolean | undefined;
54
- /**
55
- * Indicates whether the maximum scale dropdown menu is visible. Default value is `true`.
56
- *
57
- * @default false
58
- */
59
- accessor hideScaleMenusMaxScaleMenu: boolean | undefined;
60
- /**
61
- * Indicates whether the minimum scale dropdown menu is visible. Default value is `true`.
62
- *
63
- * @default false
64
- */
65
- accessor hideScaleMenusMinScaleMenu: boolean | undefined;
66
- /**
67
- * Icon which represents the component.
68
- * Typically used when the component is controlled by another component (e.g. by the Expand component).
69
- *
70
- * @default "actual-size"
71
- * @since 4.27
72
- * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
73
- */
74
- get icon(): Icon["icon"];
75
- set icon(value: IconName);
76
- /**
77
- * The component's default label.
78
- *
79
- * @since 4.11
80
- */
81
- accessor label: string;
82
- /**
83
- * When provided, the initial [minScale](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#minScale) and [maxScale](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#maxScale) values will match the layer's.
84
- *
85
- * When a tiled layer is used, the slider will be restricted from moving the slider thumbs past the `lods` of the layer's tiling scheme.
86
- * Since version 4.28, when a [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) is used, the slider will be restricted from moving past the min/max scale defined on the map service.
87
- * The unavailable range will be designated with a dashed line.
88
- */
89
- accessor layer: Layer | Sublayer | null | undefined;
90
- /**
91
- * The maximum scale of the active scale range. When the maxScale
92
- * reaches the [maxScaleLimit](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#maxScaleLimit), the maxScale
93
- * value becomes 0 and there is no maximum scale set.
94
- */
95
- accessor maxScale: number;
96
- /** The lowest possible maximum scale value on the slider. */
97
- accessor maxScaleLimit: number;
98
- /**
99
- * The minimum scale of the active scale range. When the minScale
100
- * reaches the [minScaleLimit](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/#minScaleLimit), the minScale
101
- * value becomes 0 and there is no minimum scale.
102
- */
103
- accessor minScale: number;
104
- /** The highest possible minimum scale value on the slider. */
105
- accessor minScaleLimit: number;
106
- /**
107
- * The mode of the component, indicating which slider thumbs can be adjusted.
108
- *
109
- * @default "range"
110
- * @since 4.29
111
- */
112
- accessor mode: "range" | "max-scale-only" | "min-scale-only";
113
- /**
114
- * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
115
- *
116
- * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
117
- */
118
- accessor referenceElement: ArcgisReferenceElement | string | undefined;
119
- /**
120
- * The region that the scale thumbnails will focus on.
121
- * Each region comes from the [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes).
122
- * See [SupportedRegion](https://developers.arcgis.com/javascript/latest/references/core/widgets/ScaleRangeSlider/types/#SupportedRegion) for the list of regions that are currently supported.
123
- *
124
- * @default "US"
125
- */
126
- accessor region: SupportedRegion;
127
- /**
128
- * Indicates whether the world scale value is shown in the scale menu.
129
- *
130
- * @default false
131
- * @since 4.34
132
- */
133
- accessor showWorldValue: boolean;
134
- /**
135
- * The current state of the component.
136
- *
137
- * @default "disabled"
138
- */
139
- get state(): ScaleRangeSliderViewModelState;
140
- /**
141
- * The view associated with the component.
142
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-scale-range-slider component will be associated with a map or scene component rather than using the `view` property.
143
- */
144
- accessor view: MapViewOrSceneView | null | undefined;
145
- /** Permanently destroy the component. */
146
- destroy(): Promise<void>;
147
- "@setterTypes": {
148
- icon?: IconName;
149
- };
150
- /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
151
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state" | "minScale" | "maxScale"; }>;
152
- /** Emitted when the component associated with a map or scene view is ready for user interaction. */
153
- readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
154
- readonly "@eventTypes": {
155
- arcgisPropertyChange: ArcgisScaleRangeSlider["arcgisPropertyChange"]["detail"];
156
- arcgisReady: ArcgisScaleRangeSlider["arcgisReady"]["detail"];
157
- };
158
- }