@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.30

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 (646) hide show
  1. package/dist/cdn/22PBEW6E.js +4 -0
  2. package/dist/cdn/25PCEBHD.js +4 -0
  3. package/dist/cdn/{PT4SB4F4.js → 27WBIJ7W.js} +2 -2
  4. package/dist/cdn/{5Y726H3N.js → 2CJC5LPR.js} +2 -2
  5. package/dist/cdn/2CRWDE5K.js +4 -0
  6. package/dist/cdn/{2Y7DD43B.js → 2S7NPB67.js} +2 -2
  7. package/dist/cdn/{XS57JNBV.js → 374IBN5E.js} +2 -2
  8. package/dist/cdn/{XSHK3IHW.js → 3OVNUSGR.js} +2 -2
  9. package/dist/cdn/{JMEUEYO3.js → 3PNHYPR5.js} +2 -2
  10. package/dist/cdn/3Q4TZZN5.js +9 -0
  11. package/dist/cdn/{V2SEO7LF.js → 3TDUGLWP.js} +2 -2
  12. package/dist/cdn/3U4M6EMC.js +4 -0
  13. package/dist/cdn/3ZCQG6W2.js +4 -0
  14. package/dist/cdn/425YBS5O.js +4 -0
  15. package/dist/cdn/{U5AQM4PG.js → 42EAA7ZK.js} +2 -2
  16. package/dist/cdn/{7CNGYGTJ.js → 4EURR2HO.js} +2 -2
  17. package/dist/cdn/{5KLSEZXC.js → 4I6KXDCS.js} +2 -2
  18. package/dist/cdn/4KAVQQCL.js +4 -0
  19. package/dist/cdn/{6NDFRLCI.js → 4S63FYIQ.js} +2 -2
  20. package/dist/cdn/{FJ2ODCZO.js → 4ZDH3LUI.js} +2 -2
  21. package/dist/cdn/{WM6PZMMT.js → 5622NXQG.js} +2 -2
  22. package/dist/cdn/{ZIEJSM2I.js → 56LJCIRJ.js} +2 -2
  23. package/dist/cdn/5CCZDJS6.js +4 -0
  24. package/dist/cdn/5I77EKDP.js +4 -0
  25. package/dist/cdn/{GHJ24W6Y.js → 5MBPCAXE.js} +2 -2
  26. package/dist/cdn/5RXPN4ZA.js +4 -0
  27. package/dist/cdn/{E6NGXE4D.js → 5T4NERJA.js} +2 -2
  28. package/dist/cdn/6264Y6OB.js +4 -0
  29. package/dist/cdn/{5BGXROFC.js → 63P5OPEW.js} +2 -2
  30. package/dist/cdn/{NZU4NUKA.js → 66XSUGOO.js} +2 -2
  31. package/dist/cdn/6JOMTTMO.js +4 -0
  32. package/dist/cdn/6LLHP446.js +4 -0
  33. package/dist/cdn/6QMZX7TX.js +4 -0
  34. package/dist/cdn/6YGA3ZTW.js +4 -0
  35. package/dist/cdn/74D735ZE.js +4 -0
  36. package/dist/cdn/{OQ4DWZRX.js → 76PSKS56.js} +2 -2
  37. package/dist/cdn/7BW7BEKS.js +4 -0
  38. package/dist/cdn/{SPSIJZKA.js → 7BZ6ZZWG.js} +2 -2
  39. package/dist/cdn/7LW2MJ34.js +4 -0
  40. package/dist/cdn/{CAGCLXVW.js → 7N7RFZDC.js} +2 -2
  41. package/dist/cdn/7R25WXBY.js +4 -0
  42. package/dist/cdn/{YGN7CXIS.js → A7WF3SII.js} +2 -2
  43. package/dist/cdn/AJVA5KJZ.js +4 -0
  44. package/dist/cdn/{4XLFNXAU.js → AUBNL7NN.js} +1 -1
  45. package/dist/cdn/AYDYS5XP.js +4 -0
  46. package/dist/cdn/B5J2VO23.js +4 -0
  47. package/dist/cdn/{KHBODFWE.js → BBF2UUMF.js} +1 -1
  48. package/dist/cdn/{V7Z2OLGJ.js → BCB3OHT5.js} +1 -1
  49. package/dist/cdn/BFGOCVTQ.js +4 -0
  50. package/dist/cdn/{H7M3PSWM.js → BGIPXNCI.js} +2 -2
  51. package/dist/cdn/BID2IGTA.js +4 -0
  52. package/dist/cdn/BP3EIAXM.js +4 -0
  53. package/dist/cdn/BPZWPZSL.js +4 -0
  54. package/dist/cdn/{QQEDG3FQ.js → BYDZCBXS.js} +1 -1
  55. package/dist/cdn/CKWHFRUK.js +4 -0
  56. package/dist/cdn/{OTAT274C.js → CLULAXQD.js} +2 -2
  57. package/dist/cdn/CNTHUZWZ.js +4 -0
  58. package/dist/cdn/CUG6PNIA.js +4 -0
  59. package/dist/cdn/{IFCRROLM.js → CYBCIT4Y.js} +1 -1
  60. package/dist/cdn/{MJ33XVNW.js → CZJ42KVB.js} +2 -2
  61. package/dist/cdn/DCVY57UJ.js +4 -0
  62. package/dist/cdn/DDTFGXJB.js +4 -0
  63. package/dist/cdn/DGTCJPUJ.js +4 -0
  64. package/dist/cdn/DKQDFHBQ.js +4 -0
  65. package/dist/cdn/{QLRG2ZV7.js → DNH555Q6.js} +2 -2
  66. package/dist/cdn/{VYJLK7NT.js → DVMZQU3S.js} +2 -2
  67. package/dist/cdn/{JY4X6DI4.js → DX7CIW2P.js} +2 -2
  68. package/dist/cdn/{2NLU5P6Z.js → DZMHLJTL.js} +2 -2
  69. package/dist/cdn/E47J5GZF.js +4 -0
  70. package/dist/cdn/E57VVYYO.js +4 -0
  71. package/dist/cdn/E6LAZTCZ.js +4 -0
  72. package/dist/cdn/E7LECLZS.js +4 -0
  73. package/dist/cdn/{UOB52WH7.js → EANAURQW.js} +2 -2
  74. package/dist/cdn/EIA2HRVX.js +4 -0
  75. package/dist/cdn/{ZVMC7KNO.js → EJNPIPYI.js} +2 -2
  76. package/dist/cdn/{G7HJYLTI.js → EK2C6MIA.js} +2 -2
  77. package/dist/cdn/EL2VJ6RS.js +4 -0
  78. package/dist/cdn/{PH5CV2LM.js → EYVOMZXY.js} +1 -1
  79. package/dist/cdn/EZRA4T3B.js +4 -0
  80. package/dist/cdn/FDJQS7A5.js +4 -0
  81. package/dist/cdn/FJSDHTDE.js +4 -0
  82. package/dist/cdn/FKA23U6F.js +4 -0
  83. package/dist/cdn/FN2HVGXN.js +4 -0
  84. package/dist/cdn/{FGL64TB3.js → FN45TY5U.js} +2 -2
  85. package/dist/cdn/{VUH7USVP.js → FOLKGWCG.js} +2 -2
  86. package/dist/cdn/FRHKHEQC.js +4 -0
  87. package/dist/cdn/{TIKIHUXB.js → FWUUE67P.js} +2 -2
  88. package/dist/cdn/{XOR2JIKE.js → FZ5UYVXE.js} +2 -2
  89. package/dist/cdn/{E3GEOJL3.js → GHB4S7FZ.js} +2 -2
  90. package/dist/cdn/GJULE3KX.js +4 -0
  91. package/dist/cdn/{IRVVFCPI.js → GKBYAVVU.js} +2 -2
  92. package/dist/cdn/GRCCF7NK.js +4 -0
  93. package/dist/cdn/{E3PFF3QO.js → GSPGZZIN.js} +2 -2
  94. package/dist/cdn/GW4QU3CW.js +4 -0
  95. package/dist/cdn/GX5MB57E.js +4 -0
  96. package/dist/cdn/HBEKTKXB.js +4 -0
  97. package/dist/cdn/HKSFUMS2.js +4 -0
  98. package/dist/cdn/{NSSQHGXK.js → HLYYV5IJ.js} +2 -2
  99. package/dist/cdn/{O6EPJYM3.js → HT3PGW7M.js} +2 -2
  100. package/dist/cdn/HWBYBOFO.js +4 -0
  101. package/dist/cdn/I4VWHCEV.js +4 -0
  102. package/dist/cdn/{LYJ4UH2R.js → I5KPSSMS.js} +2 -2
  103. package/dist/cdn/{QEP5NFEU.js → I5OZYAAG.js} +2 -2
  104. package/dist/cdn/{FKYZEDOJ.js → I656AJFF.js} +2 -2
  105. package/dist/cdn/{A3762FET.js → I7DVVSQ5.js} +2 -2
  106. package/dist/cdn/{YTHR4NZ6.js → IAEK5W65.js} +2 -2
  107. package/dist/cdn/{AYNMHQEJ.js → IDCRXCZH.js} +2 -2
  108. package/dist/cdn/IRAFVG6N.js +4 -0
  109. package/dist/cdn/IT3NFXVO.js +4 -0
  110. package/dist/cdn/{PL6UYYNH.js → IUZBJNIT.js} +2 -2
  111. package/dist/cdn/IUZRROGZ.js +4 -0
  112. package/dist/cdn/J3ZLMJL7.js +4 -0
  113. package/dist/cdn/{OXFFB6Y3.js → J5IGACIV.js} +2 -2
  114. package/dist/cdn/{X6KL6BYF.js → J5JIUE4E.js} +2 -2
  115. package/dist/cdn/{UU6DUHJ7.js → J75FAWOX.js} +1 -1
  116. package/dist/cdn/JC3Y3H2J.js +4 -0
  117. package/dist/cdn/{D4LXLZZW.js → JC6BPG6L.js} +2 -2
  118. package/dist/cdn/JD3UYAHR.js +4 -0
  119. package/dist/cdn/{WLZJRN6C.js → JD6SZBTI.js} +1 -1
  120. package/dist/cdn/JNHWTLF5.js +4 -0
  121. package/dist/cdn/{H37YYHYW.js → K4HH7Q7F.js} +2 -2
  122. package/dist/cdn/KHN4WS5O.js +4 -0
  123. package/dist/cdn/{T25TCQNP.js → KWO4P6X3.js} +2 -2
  124. package/dist/cdn/L2S6UPIL.js +4 -0
  125. package/dist/cdn/LG3E3FEI.js +4 -0
  126. package/dist/cdn/LG6IQO74.js +4 -0
  127. package/dist/cdn/LGRVJOKM.js +4 -0
  128. package/dist/cdn/LHKVE7QW.js +4 -0
  129. package/dist/cdn/LMHRSVIK.js +4 -0
  130. package/dist/cdn/{IPSS2ZMH.js → LTRRBRH6.js} +2 -2
  131. package/dist/cdn/{IHZK6TIX.js → LUPWZHEN.js} +2 -2
  132. package/dist/cdn/LXMJA6SN.js +4 -0
  133. package/dist/cdn/{Y4JZGJBR.js → MEK3PSMR.js} +2 -2
  134. package/dist/cdn/MGSBWHU6.js +4 -0
  135. package/dist/cdn/{NQG5ZLHV.js → MIWATNX7.js} +2 -2
  136. package/dist/cdn/{7UZQHGLP.js → MPGBF2CR.js} +2 -2
  137. package/dist/cdn/MROF6ZLY.js +4 -0
  138. package/dist/cdn/{L7F3QWKO.js → MW27JFII.js} +2 -2
  139. package/dist/cdn/MYHT3FNL.js +4 -0
  140. package/dist/cdn/{36DL5HXP.js → N4IBOVID.js} +2 -2
  141. package/dist/cdn/{V4QJNRPL.js → NB6FYZSP.js} +1 -1
  142. package/dist/cdn/{SUC4EKIE.js → NGRN6PRP.js} +2 -2
  143. package/dist/cdn/NIVNICTN.js +4 -0
  144. package/dist/cdn/NUWJO552.js +4 -0
  145. package/dist/cdn/{MY5DKMMJ.js → NVQTDJG4.js} +2 -2
  146. package/dist/cdn/{HYX7CRNH.js → OCLQXJGF.js} +2 -2
  147. package/dist/cdn/{HDI3Z2HD.js → OF5TKTLJ.js} +2 -2
  148. package/dist/cdn/OISWBYPZ.js +4 -0
  149. package/dist/cdn/OLIVWOUG.js +4 -0
  150. package/dist/cdn/OLTPA66L.js +4 -0
  151. package/dist/cdn/ONNIQKMO.js +4 -0
  152. package/dist/cdn/OP7UWDJC.js +4 -0
  153. package/dist/cdn/OQPWIH5D.js +4 -0
  154. package/dist/cdn/PCLAY3FC.js +4 -0
  155. package/dist/cdn/PDDWIQ7N.js +4 -0
  156. package/dist/cdn/PP47N6OQ.js +4 -0
  157. package/dist/cdn/PPG44XNA.js +4 -0
  158. package/dist/cdn/PSXK4TAG.js +4 -0
  159. package/dist/cdn/PZJX66WF.js +4 -0
  160. package/dist/cdn/Q5KRWXQZ.js +4 -0
  161. package/dist/cdn/Q7MP7GCA.js +4 -0
  162. package/dist/cdn/QUIRGW73.js +4 -0
  163. package/dist/cdn/QYWKUYX6.js +4 -0
  164. package/dist/cdn/{V2J3UBB6.js → R3XM3W55.js} +2 -2
  165. package/dist/cdn/{SLM4KEUZ.js → R4UWGEKU.js} +2 -2
  166. package/dist/cdn/{O7JOBF3W.js → RBQBAWXT.js} +2 -2
  167. package/dist/cdn/REGCZKJO.js +4 -0
  168. package/dist/cdn/{HQL6HUHP.js → RGDYDUVM.js} +2 -2
  169. package/dist/cdn/{24FW7BG5.js → RNHHSJBN.js} +2 -2
  170. package/dist/cdn/RXKG57HU.js +4 -0
  171. package/dist/cdn/{PAQHYLRL.js → RYEBGC2T.js} +2 -2
  172. package/dist/cdn/{PHBC5D77.js → S5SBZVDO.js} +2 -2
  173. package/dist/cdn/S6TGNN5K.js +4 -0
  174. package/dist/cdn/SBWVZPEI.js +4 -0
  175. package/dist/cdn/{JIWHI7EW.js → SCZ6FM7D.js} +2 -2
  176. package/dist/cdn/SGL4GRLW.js +4 -0
  177. package/dist/cdn/SKUATZL2.js +4 -0
  178. package/dist/cdn/{ALNZYXRY.js → SNEAUADR.js} +2 -2
  179. package/dist/cdn/{SK3UKEH4.js → SNFN2BKO.js} +2 -2
  180. package/dist/cdn/{J74HR7ZS.js → SQ5KXPKM.js} +2 -2
  181. package/dist/cdn/SSN4WU5P.js +4 -0
  182. package/dist/cdn/{USMO52IS.js → SZCYMTSH.js} +2 -2
  183. package/dist/cdn/{TG7X24CK.js → T36L76YW.js} +2 -2
  184. package/dist/cdn/{7PEEU67P.js → TEGTWZFB.js} +2 -2
  185. package/dist/cdn/TFZ4RUW2.js +4 -0
  186. package/dist/cdn/{LTI2QYVU.js → TGAFLU6F.js} +2 -2
  187. package/dist/cdn/{AQ2NPWC6.js → TI47WRKB.js} +2 -2
  188. package/dist/cdn/TJXNZQ6E.js +4 -0
  189. package/dist/cdn/{BL7YER2G.js → TNU7CJYU.js} +2 -2
  190. package/dist/cdn/U3Y4NEIU.js +4 -0
  191. package/dist/cdn/UA3NEZD2.js +4 -0
  192. package/dist/cdn/{XCUKO2A2.js → UHRRVA5A.js} +2 -2
  193. package/dist/cdn/{T352QWFP.js → UIEHONGS.js} +2 -2
  194. package/dist/cdn/{4SGPWL6P.js → UNJHMZ3F.js} +2 -2
  195. package/dist/cdn/UV6BXD7O.js +4 -0
  196. package/dist/cdn/V2HPTG5E.js +4 -0
  197. package/dist/cdn/V4GYQU7T.js +4 -0
  198. package/dist/cdn/VTBJGFMG.js +4 -0
  199. package/dist/cdn/{UDPPDKXD.js → VVG7FBHC.js} +2 -2
  200. package/dist/cdn/VWNSIY3Z.js +4 -0
  201. package/dist/cdn/VX7XHWH3.js +4 -0
  202. package/dist/cdn/W4OV7AC2.js +4 -0
  203. package/dist/cdn/W4RATWQC.js +4 -0
  204. package/dist/cdn/WFFXOIVG.js +4 -0
  205. package/dist/cdn/{JNRTXRIA.js → WOZWBFU3.js} +2 -2
  206. package/dist/cdn/{RQGY47DP.js → WSDNUWO4.js} +2 -2
  207. package/dist/cdn/{SSTOK5YE.js → WXL3L2FD.js} +2 -2
  208. package/dist/cdn/X2P5ZICY.js +4 -0
  209. package/dist/cdn/{FJHYJ3NL.js → XCXSBECM.js} +2 -2
  210. package/dist/cdn/XDXAENM3.js +4 -0
  211. package/dist/cdn/XGIGLVS7.js +5 -0
  212. package/dist/cdn/XJZXQDR2.js +4 -0
  213. package/dist/cdn/XOKCQ5UG.js +4 -0
  214. package/dist/cdn/Y3U2JDPE.js +4 -0
  215. package/dist/cdn/Y7H7Z7BU.js +4 -0
  216. package/dist/cdn/YRSPO3RH.js +4 -0
  217. package/dist/cdn/YSBP4YU4.js +4 -0
  218. package/dist/cdn/{NIQUPN4E.js → Z5MMZXMP.js} +2 -2
  219. package/dist/cdn/{QWNJRMAQ.js → ZI2HBMIO.js} +2 -2
  220. package/dist/cdn/ZQY6XVS2.js +4 -0
  221. package/dist/cdn/ZUOJPC77.js +4 -0
  222. package/dist/cdn/{4UP6FMTP.js → ZWSRYLIE.js} +2 -2
  223. package/dist/cdn/ZYOD4BBB.js +4 -0
  224. package/dist/cdn/{HHFFCMML.js → ZZ5AKBHE.js} +1 -1
  225. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
  226. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  227. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  228. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  229. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  230. package/dist/cdn/index.js +2 -2
  231. package/dist/cdn/main.css +1 -1
  232. package/dist/chunks/AnalysisViewModel.js +40 -36
  233. package/dist/chunks/action-utils.js +1 -1
  234. package/dist/chunks/async-utils.js +80 -62
  235. package/dist/chunks/basemap-gallery-resources.js +1 -1
  236. package/dist/chunks/chart-utils.js +1 -1
  237. package/dist/chunks/chartCommon.js +1 -1
  238. package/dist/chunks/component-utils.js +1 -1
  239. package/dist/chunks/createCloseEvent.js +1 -1
  240. package/dist/chunks/esri-main.js +2 -2
  241. package/dist/chunks/feature-utils.js +152 -107
  242. package/dist/chunks/globalCss.js +1 -1
  243. package/dist/chunks/handle.js +14 -0
  244. package/dist/chunks/heading.js +1 -1
  245. package/dist/chunks/layer-list.js +1 -1
  246. package/dist/chunks/legacyIcon.js +1 -1
  247. package/dist/chunks/maybe.js +1 -1
  248. package/dist/chunks/measurementUtils.js +1 -1
  249. package/dist/chunks/runtime.js +1 -1
  250. package/dist/chunks/screenLocation.js +1 -1
  251. package/dist/chunks/slots.js +7 -7
  252. package/dist/chunks/svgUtils.js +1 -1
  253. package/dist/chunks/univariateUtils.js +1 -1
  254. package/dist/chunks/useArcgisViewReadyError.js +91 -0
  255. package/dist/chunks/useHandles.js +1 -1
  256. package/dist/chunks/useT9n.js +1 -1
  257. package/dist/chunks/useView.js +1 -1
  258. package/dist/chunks/useViewModel.js +1 -1
  259. package/dist/chunks/useWidget.js +1 -1
  260. package/dist/chunks/utils.js +11 -16
  261. package/dist/chunks/utils2.js +1 -1
  262. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
  263. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  264. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
  265. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  266. package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
  267. package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
  268. package/dist/components/arcgis-attachments/customElement.js +6 -6
  269. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  270. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  272. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -3
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  275. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  276. package/dist/components/arcgis-bookmarks/customElement.d.ts +16 -6
  277. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  278. package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
  279. package/dist/components/arcgis-building-explorer/customElement.js +6 -6
  280. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  282. package/dist/components/arcgis-compass/customElement.d.ts +2 -2
  283. package/dist/components/arcgis-compass/customElement.js +6 -6
  284. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +53 -54
  285. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  286. package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
  287. package/dist/components/arcgis-daylight/customElement.js +154 -157
  288. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  289. package/dist/components/arcgis-daylight/index.js +1 -0
  290. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
  291. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
  292. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
  293. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  294. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  295. package/dist/components/arcgis-directions/customElement.d.ts +3 -3
  296. package/dist/components/arcgis-directions/customElement.js +1 -1
  297. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -4
  298. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  299. package/dist/components/arcgis-editor/customElement.d.ts +14 -6
  300. package/dist/components/arcgis-editor/customElement.js +2 -2
  301. package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -6
  302. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  304. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  305. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  306. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  307. package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
  308. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +5 -5
  309. package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
  310. package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
  311. package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
  312. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  313. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  314. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  315. package/dist/components/arcgis-expand/customElement.d.ts +10 -9
  316. package/dist/components/arcgis-expand/customElement.js +33 -39
  317. package/dist/components/arcgis-feature/customElement.d.ts +18 -22
  318. package/dist/components/arcgis-feature/customElement.js +90 -77
  319. package/dist/components/arcgis-feature/index.d.ts +1 -0
  320. package/dist/components/arcgis-feature/index.js +1 -0
  321. package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
  322. package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
  323. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  324. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  325. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  326. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  327. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  328. package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
  329. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  330. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
  331. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  332. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  333. package/dist/components/arcgis-feature-table/customElement.d.ts +8 -7
  334. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  335. package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
  336. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  337. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  338. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  339. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  340. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  341. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  342. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  343. package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
  344. package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
  345. package/dist/components/arcgis-features/customElement.d.ts +26 -11
  346. package/dist/components/arcgis-features/customElement.js +7 -7
  347. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
  348. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  349. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  350. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  351. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  352. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  353. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
  354. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  355. package/dist/components/arcgis-home/customElement.d.ts +3 -3
  356. package/dist/components/arcgis-home/customElement.js +2 -2
  357. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  358. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
  359. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  360. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  361. package/dist/components/arcgis-legend/customElement.d.ts +18 -3
  362. package/dist/components/arcgis-legend/customElement.js +1 -1
  363. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  364. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  365. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  366. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  367. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  368. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  369. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  370. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  371. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  372. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  373. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  374. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  375. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  376. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  377. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  378. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  379. package/dist/components/arcgis-link-chart/customElement.d.ts +70 -4
  380. package/dist/components/arcgis-link-chart/customElement.js +20 -22
  381. package/dist/components/arcgis-link-chart/index.d.ts +2 -0
  382. package/dist/components/arcgis-link-chart/index.js +2 -0
  383. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
  384. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  385. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  386. package/dist/components/arcgis-locate/customElement.js +2 -2
  387. package/dist/components/arcgis-map/customElement.d.ts +477 -61
  388. package/dist/components/arcgis-map/customElement.js +29 -31
  389. package/dist/components/arcgis-map/index.d.ts +2 -0
  390. package/dist/components/arcgis-map/index.js +2 -0
  391. package/dist/components/arcgis-measurement/customElement.d.ts +6 -6
  392. package/dist/components/arcgis-measurement/customElement.js +1 -1
  393. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  394. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  395. package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
  396. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +4 -4
  397. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  398. package/dist/components/arcgis-placement/customElement.d.ts +2 -2
  399. package/dist/components/arcgis-placement/customElement.js +1 -1
  400. package/dist/components/arcgis-popup/customElement.d.ts +48 -18
  401. package/dist/components/arcgis-popup/customElement.js +72 -72
  402. package/dist/components/arcgis-print/customElement.d.ts +2 -2
  403. package/dist/components/arcgis-print/customElement.js +1 -1
  404. package/dist/components/arcgis-print/utils.d.ts +1 -2
  405. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  406. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  407. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  408. package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
  409. package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
  410. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  411. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  412. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  413. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  414. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  415. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  416. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  417. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  418. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  419. package/dist/components/arcgis-print-template-select/customElement.js +17 -15
  420. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  421. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  422. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  423. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -3
  424. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  425. package/dist/components/arcgis-scene/customElement.d.ts +46 -6
  426. package/dist/components/arcgis-scene/customElement.js +27 -29
  427. package/dist/components/arcgis-scene/index.d.ts +2 -0
  428. package/dist/components/arcgis-scene/index.js +2 -0
  429. package/dist/components/arcgis-search/customElement.d.ts +17 -19
  430. package/dist/components/arcgis-search/customElement.js +1 -1
  431. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  432. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  433. package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -4
  434. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  435. package/dist/components/arcgis-sketch/customElement.d.ts +16 -8
  436. package/dist/components/arcgis-sketch/customElement.js +15 -7
  437. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  438. package/dist/components/arcgis-slice/customElement.js +14 -15
  439. package/dist/components/arcgis-spinner/customElement.js +1 -1
  440. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  441. package/dist/components/arcgis-swipe/customElement.js +2 -2
  442. package/dist/components/arcgis-table-list/customElement.d.ts +6 -4
  443. package/dist/components/arcgis-table-list/customElement.js +1 -1
  444. package/dist/components/arcgis-time-slider/customElement.d.ts +4 -4
  445. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  446. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  447. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  448. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  449. package/dist/components/arcgis-track/customElement.js +2 -2
  450. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  451. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  452. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  453. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  454. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  455. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  456. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +69 -25
  457. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  458. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  459. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  460. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  461. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  462. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  463. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +5 -3
  464. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  465. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
  466. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
  467. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
  468. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
  469. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  470. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  471. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
  472. package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
  473. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
  474. package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
  475. package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
  476. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -3
  477. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  478. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  479. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  480. package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
  481. package/dist/components/arcgis-version-management/customElement.js +2 -2
  482. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  483. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  484. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  485. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  486. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  487. package/dist/components/arcgis-video/customElement.d.ts +9 -2
  488. package/dist/components/arcgis-video/customElement.js +15 -9
  489. package/dist/components/arcgis-video-player/customElement.d.ts +3 -3
  490. package/dist/components/arcgis-video-player/customElement.js +4 -4
  491. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  492. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  493. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  494. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  495. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  496. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  497. package/dist/components/arcgis-weather/customElement.d.ts +2 -2
  498. package/dist/components/arcgis-weather/customElement.js +1 -1
  499. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  500. package/dist/components/arcgis-zoom/customElement.js +2 -2
  501. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  502. package/dist/controllers/uiController.d.ts +11 -1
  503. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  504. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  505. package/dist/docs/api.json +2168 -1599
  506. package/dist/docs/docs.json +1986 -1346
  507. package/dist/docs/vscode.css-custom-data.json +16 -16
  508. package/dist/docs/vscode.html-custom-data.json +208 -290
  509. package/dist/docs/web-types.json +619 -517
  510. package/dist/index.d.ts +33 -20
  511. package/dist/index.js +1 -1
  512. package/dist/loader.js +23 -20
  513. package/dist/support/AnalysisViewModel.d.ts +1 -0
  514. package/dist/support/handle.d.ts +1 -1
  515. package/dist/support/measurementUtils.d.ts +2 -2
  516. package/dist/support/slots.d.ts +1 -1
  517. package/dist/types/lumina.d.ts +31 -18
  518. package/dist/types/preact.d.ts +33 -19
  519. package/dist/types/preact10.d.ts +35 -20
  520. package/dist/types/react.d.ts +35 -20
  521. package/dist/types/stencil.d.ts +31 -18
  522. package/dist/utils/async-utils.d.ts +19 -0
  523. package/dist/utils/feature-utils.d.ts +16 -1
  524. package/dist/utils/highlight-utils.d.ts +22 -0
  525. package/dist/utils/layer-utils.d.ts +4 -0
  526. package/package.json +5 -5
  527. package/dist/cdn/2AZHLSAM.js +0 -4
  528. package/dist/cdn/2QRPRZG7.js +0 -4
  529. package/dist/cdn/2TIHIEKF.js +0 -4
  530. package/dist/cdn/34BYMZKN.js +0 -4
  531. package/dist/cdn/34UFWCNP.js +0 -4
  532. package/dist/cdn/37KDGILU.js +0 -4
  533. package/dist/cdn/3R2IE2EP.js +0 -4
  534. package/dist/cdn/3TNLQA2F.js +0 -4
  535. package/dist/cdn/44N6D3WC.js +0 -4
  536. package/dist/cdn/4CPDJQ27.js +0 -4
  537. package/dist/cdn/53D5QJFX.js +0 -4
  538. package/dist/cdn/5UJK4YHX.js +0 -4
  539. package/dist/cdn/63KJYSZ6.js +0 -4
  540. package/dist/cdn/6G2XDWMZ.js +0 -4
  541. package/dist/cdn/6VRVCX3L.js +0 -4
  542. package/dist/cdn/7BGZFWPA.js +0 -4
  543. package/dist/cdn/7C2OVYAI.js +0 -4
  544. package/dist/cdn/7CTFDRQC.js +0 -4
  545. package/dist/cdn/7DC3PGD2.js +0 -4
  546. package/dist/cdn/7HSMTM2G.js +0 -4
  547. package/dist/cdn/7KIRVDDY.js +0 -4
  548. package/dist/cdn/AFYGKVBX.js +0 -4
  549. package/dist/cdn/AH3BVTCT.js +0 -4
  550. package/dist/cdn/ALENT5NF.js +0 -4
  551. package/dist/cdn/ATKMD43D.js +0 -5
  552. package/dist/cdn/BG77QJIW.js +0 -4
  553. package/dist/cdn/CKCTJ6CW.js +0 -4
  554. package/dist/cdn/CNLBDFHY.js +0 -4
  555. package/dist/cdn/CTZ7P2ON.js +0 -4
  556. package/dist/cdn/CV57WMBL.js +0 -9
  557. package/dist/cdn/CVMDCLGB.js +0 -4
  558. package/dist/cdn/DRLSZQDU.js +0 -4
  559. package/dist/cdn/DV2N434J.js +0 -4
  560. package/dist/cdn/EESASTEL.js +0 -4
  561. package/dist/cdn/EIB4B7NM.js +0 -4
  562. package/dist/cdn/EJ6NO5NK.js +0 -4
  563. package/dist/cdn/EQ5LPNFG.js +0 -4
  564. package/dist/cdn/ESWN44C2.js +0 -4
  565. package/dist/cdn/FGMLBVRU.js +0 -4
  566. package/dist/cdn/FMG27I4G.js +0 -4
  567. package/dist/cdn/G7HMCSFT.js +0 -4
  568. package/dist/cdn/GF6IWOJL.js +0 -4
  569. package/dist/cdn/GKKACUDU.js +0 -4
  570. package/dist/cdn/GNUO5PT5.js +0 -4
  571. package/dist/cdn/GO3GNQWU.js +0 -4
  572. package/dist/cdn/GTX63LFG.js +0 -4
  573. package/dist/cdn/IJ7RAUIP.js +0 -4
  574. package/dist/cdn/IXQV54AH.js +0 -4
  575. package/dist/cdn/IYKN5PO5.js +0 -4
  576. package/dist/cdn/J3J6R74M.js +0 -4
  577. package/dist/cdn/J775FRFE.js +0 -4
  578. package/dist/cdn/JCD5KEV5.js +0 -4
  579. package/dist/cdn/JO6R7FAD.js +0 -4
  580. package/dist/cdn/JULFSLDD.js +0 -4
  581. package/dist/cdn/KA2OECP3.js +0 -4
  582. package/dist/cdn/KQ3JBLDT.js +0 -4
  583. package/dist/cdn/KT3EUEKF.js +0 -4
  584. package/dist/cdn/L3AGPAN7.js +0 -4
  585. package/dist/cdn/LUBY2O7T.js +0 -4
  586. package/dist/cdn/LWWUKKLM.js +0 -4
  587. package/dist/cdn/MJIHMPZU.js +0 -4
  588. package/dist/cdn/MNLAUE2R.js +0 -4
  589. package/dist/cdn/MSCH74JK.js +0 -4
  590. package/dist/cdn/N3ZZQIYY.js +0 -4
  591. package/dist/cdn/NFNK7YME.js +0 -4
  592. package/dist/cdn/NNJWJUAD.js +0 -4
  593. package/dist/cdn/NXFS5VZC.js +0 -4
  594. package/dist/cdn/NYJOUGGN.js +0 -4
  595. package/dist/cdn/O7ICRTC5.js +0 -4
  596. package/dist/cdn/OH55X5ST.js +0 -4
  597. package/dist/cdn/OHXEZHUF.js +0 -4
  598. package/dist/cdn/OULH6KEN.js +0 -4
  599. package/dist/cdn/OXCYD67R.js +0 -4
  600. package/dist/cdn/P4GL7TQJ.js +0 -4
  601. package/dist/cdn/PK5EPYTE.js +0 -4
  602. package/dist/cdn/Q26RMW45.js +0 -4
  603. package/dist/cdn/Q7CX6235.js +0 -4
  604. package/dist/cdn/QMRZYMIJ.js +0 -4
  605. package/dist/cdn/QPXLDAZR.js +0 -4
  606. package/dist/cdn/QREJFC5Z.js +0 -4
  607. package/dist/cdn/QRPZEJLW.js +0 -4
  608. package/dist/cdn/QUFHIUYU.js +0 -4
  609. package/dist/cdn/R35F7LSR.js +0 -4
  610. package/dist/cdn/RAUOWG2P.js +0 -4
  611. package/dist/cdn/RBLUJIEM.js +0 -4
  612. package/dist/cdn/RD4WHUHX.js +0 -4
  613. package/dist/cdn/RPYAAT7A.js +0 -4
  614. package/dist/cdn/RQUX2H7R.js +0 -4
  615. package/dist/cdn/RXHQCPJY.js +0 -4
  616. package/dist/cdn/RYXSSH5D.js +0 -4
  617. package/dist/cdn/SBYAAEWD.js +0 -4
  618. package/dist/cdn/SSEBMECL.js +0 -4
  619. package/dist/cdn/SZABV557.js +0 -4
  620. package/dist/cdn/T6XWFHOM.js +0 -4
  621. package/dist/cdn/TF2524IM.js +0 -4
  622. package/dist/cdn/TUHJKFNY.js +0 -4
  623. package/dist/cdn/TWK4M5TM.js +0 -4
  624. package/dist/cdn/TWZ6WRUM.js +0 -4
  625. package/dist/cdn/U5HMRSJG.js +0 -4
  626. package/dist/cdn/UBXMRMPS.js +0 -4
  627. package/dist/cdn/V25AJNHD.js +0 -4
  628. package/dist/cdn/V3KSNGDN.js +0 -4
  629. package/dist/cdn/V54CMZHN.js +0 -4
  630. package/dist/cdn/V5SM3QEH.js +0 -4
  631. package/dist/cdn/VLS7CPMI.js +0 -4
  632. package/dist/cdn/VSIBQFUQ.js +0 -4
  633. package/dist/cdn/VWFDTLYA.js +0 -4
  634. package/dist/cdn/X74EKXT7.js +0 -4
  635. package/dist/cdn/XAPWGYND.js +0 -4
  636. package/dist/cdn/XCKB43CS.js +0 -4
  637. package/dist/cdn/YAJHM6HT.js +0 -4
  638. package/dist/cdn/Z25G3SCO.js +0 -4
  639. package/dist/cdn/Z4Z7YFNR.js +0 -4
  640. package/dist/cdn/ZKKZT5GI.js +0 -4
  641. package/dist/cdn/ZR4UXKJK.js +0 -4
  642. package/dist/chunks/uiController.js +0 -45
  643. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  644. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  645. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  646. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import g from"./PHBC5D77.js";import f from"./R35F7LSR.js";import{a as b}from"./NIQUPN4E.js";import e from"./ZR4UXKJK.js";import"./PH5CV2LM.js";import"./SLM4KEUZ.js";import d from"./5BGXROFC.js";import{a as E}from"./JIWHI7EW.js";import c from"./UOB52WH7.js";import a from"./RQGY47DP.js";import{g as D}from"./TIKIHUXB.js";import"./V7Z2OLGJ.js";import{b as $}from"./IFCRROLM.js";import{G as m,H as _,I as k,J as l,L as h,M as B,O,a as T,b as n,s as F}from"./H37YYHYW.js";import"./KHBODFWE.js";export default $arcgis.t(([G,{substitute:g,formatNumber:C},{watch:v},{stripHTML:I},H,{renderingSanitizer:S},,,N,,{d:L},{a:R,d:P,e:V}])=>{var d="arcgis-features",o={base:d,container:`${d}__container`,contentContainer:`${d}__content-container`,contentFeature:`${d}__content-feature`,flowItemCollapsed:`${d}__flow-item--collapsed`,header:`${d}__header`,footer:`${d}__footer`,featureMenuObserver:`${d}__feature-menu-observer`,actionExit:`${d}__action--exit`,loader:`${d}__loader`,paginationText:`${d}__pagination-text`,paginationActionBar:`${d}__pagination-action-bar`,paginationMenuButton:`${d}__pagination-menu-button`,paginationPrevious:`${d}__pagination-previous`},W=T`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;function X(p){switch(p?.type){case"point":return p;case"extent":return p.center;case"polygon":return p.centroid;case"multipoint":case"polyline":return p.extent?.center;default:return null}}var y=R.clone();function q(p){return p?.declaredClass.startsWith("esri.layers.")??!1}var Q=N(G),A=class extends k{constructor(){super(...arguments),this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=m(),this._featureMenuViewportNode=m(),this._actionBarMenuNode=m(),this._flowContainerNode=m(),this.messages=E(),this._selectedFeatureComponent=m(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new H,this.viewModel=Q(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new H,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideFlow=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=D()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=F(),this.arcgisClose=F(),this.arcgisTriggerAction=F()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:0,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,featuresTitle:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideFlow:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,position:1,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1,updateLocationEnabled:5,view:0,visible:5,closed:5}}static{this.styles=W}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get featuresTitle(){return this.heading}set featuresTitle(e){this.heading=e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}get closed(){return!this.visible}set closed(e){this.visible=!e}async clear(){return this.viewModel.clear()}async close(){this.viewModel.visible=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){return await this.viewModel.fetchFeatures(e,t)}async open(e){this.viewModel.open(e)}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e&&e.type==="toggle"&&(e.value=!e.value),await V(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),v(()=>this.viewModel?.view,()=>this._viewChange()),v(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),v(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),v(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),v(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),v(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),v(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=L(a),r=q(s)?s:null,c=t.get(r)??[];t.set(r,[...c,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=X(a);s!=null&&(this.location=s),this.features=[i],this.visible=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,r=e.title??"",c=a==="zoom-to-feature"?g(r,{messages:t}):a==="remove-selected-feature"?g(r,{messages:t}):a==="zoom-to-clustered-features"?g(r,{messages:t}):a==="browse-clustered-features"?g(r,{messages:t}):e.title;return c&&s?g(c,s):c??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.viewModel.visible=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems.removeAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":return"";case"feature-relationship":return e.allItemsDescription;case"feature-utility-network-association-type":return""}}_handleDrillInBackClick(){this.flowItems?.pop()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl),await this._spinnerEl?.destroy()}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=B(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class=${l(o.base)} @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.header)}>${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.footer)} slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class=${l(o.paginationText)}>${g(e.pageText??"",{index:C(a+1),total:C(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action appearance=solid class=${l(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText??"",{index:C(a+1),total:C(i)})} text-enabled title=${e.selectFeature??h}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class=${l(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${l(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} scale=s .text=${e??""} title=${e??""??h}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} scale=s .text=${t??""} title=${t??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,r=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(r)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(r)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(r)}><span .innerHTML=${(S.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let r=i.get(s)?.map(u=>this._renderFeatureMenuItem(u)),c=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&c!==null?b(s??"map-graphics",n`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`):r})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??h}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:r,initialDisplayMode:c,selectedFeature:u,featureMenuOpen:f}=this,{active:w}=this.viewModel,M=this._getHeading();if(c==="list"&&!u)return null;let x=r.length===0&&(c==="list"?!!u:!f);return n`<calcite-flow-item class=${l($({[o.contentFeature]:!0,[o.flowItemCollapsed]:i}))} .closable=${!t} .closed=${!w} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${x} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${I(M)} ${_(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${l($(o.container,o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:r,selectedFeature:c,_collapseEnabled:u,_isCollapsed:f,featureNavigationTop:w,headingLevel:M}=this,{active:x,featureViewModels:z,pendingPromisesCount:Z}=e,j=i??a.selectFeature;if(s==="feature"&&!r)return null;let K=s==="list"?!c:r;return n`<calcite-flow-item class=${l($({[o.flowItemCollapsed]:f}))} .closable=${s==="list"&&!t} .closed=${!x} .collapsed=${s==="list"&&f} .collapseDirection=${w?"down":"up"} .collapsible=${s==="list"&&u} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:z.length})} .heading=${this.hideFeatureMenuHeading?void 0:j} .headingLevel=${M} .loading=${e.waitingForContents} .selected=${K} @calciteFlowItemBack=${U=>{U.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${_(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${Z>0?n`<calcite-loader class=${l(o.loader)} inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class=${l(o.container)}>${this._renderFeatureMenu()}</div><div class=${l(o.featureMenuObserver)} ${_(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,r="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,c=e.flowType==="feature-association",u=i.returnToInitialFeature??"",f=i?.selectFeature,w=this._getActionTitle(y);return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${I(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:I(e.heading??"")} .selected=${t} @calciteFlowItemBack=${M=>{M.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action appearance=transparent class=${l(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u??""} title=${u??""??h}></calcite-action>${r?n`<calcite-action appearance=transparent icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${f??""} title=${f??h}></calcite-action>`:null}${c?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${y.disabled} .icon=${y.icon??void 0} .loading=${y.active} scale=s text-enabled .text=${w} title=${w??h} @click=${()=>P(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class=${l(o.container)}>${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return this.hideFlow?i:n`<calcite-flow ${_(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){return!this._isCollapsed&&!this.hideActionBar&&this.viewModel.allActions?.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${_(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??h} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?b(t,n`<arcgis-feature .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${_(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?b(e,n`<div .innerHTML=${S.sanitize(e)??""}></div>`):e??null}};O("arcgis-features",A);return A},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils",a,c,d,e,f,g)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{I as a,O as s,b as t}from"./H37YYHYW.js";import"./KHBODFWE.js";export default $arcgis.t(([{watch:g}])=>{function f(i){return i.followingMode==="none"?"circle-disallowed":i.followingMode==="follow-sensor"?"zoom-to-object":i.followingMode==="follow-frame"?"follow":"video"}var c=class extends a{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:o}=this,n=t`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,r=t`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}} .selected=${e.followingMode==="none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}} .selected=${e.followingMode==="follow-sensor"}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}} .selected=${e.followingMode==="follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} .selected=${e.followingMode==="follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} .icon=${f(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,d=t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,m=t`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[n,r,d,m]}</calcite-action-bar>`}};s("arcgis-video-player-controls-group",c);return c},"core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{A as Da,B as Ea,C as Fa,D as Ga,E as Ha,F as Ia,G as Ja,H as La,I as Ma,J as Na,K as Oa,L as Pa,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as ja,r as ka,s as la,t as ma,u as na,v as qa,w as sa,x as va,y as xa,z as Ca}from"./XCKB43CS.js";import{a as ya}from"./T352QWFP.js";import{a as $,b as aa,c as wa}from"./7BGZFWPA.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as fa,Q as ga,R as ha,S as ia,aa as oa,ba as pa,c as r,ca as ra,da as ta,ea as ua,ka as za,la as Aa,ma as Ba,na as Ka,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./J775FRFE.js";import{P as o,Q as p,R as q,b as n}from"./SUC4EKIE.js";import{a,b,c,d,e}from"./V4QJNRPL.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./QREJFC5Z.js";import"./KHBODFWE.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Ma as CSVParser,X as CanvasLayer,W as CanvasRenderer,za as Chart,ba as Circle,Fa as CirclePattern,q as Color,Ka as ColorSet,ia as Component,L as Container,m as CounterDisposer,ha as DataItem,Na as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,na as EditableLabel,da as Ellipse,y as Entity,ka as Gradient,Da as GrainPattern,E as Graphics,J as GridLayout,ma as HeatLegend,H as HorizontalLayout,N as InterfaceColors,La as JSONParser,ga as JsonData,O as Label,G as Layout,qa as Legend,ra as Line,Ga as LinePattern,la as LinearGradient,fa as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Ia as PathPattern,B as Pattern,Ja as PatternSet,a as Percent,sa as Picture,C as PicturePattern,P as PointedRectangle,ca as Polygon,Ea as RadialGradient,ua as RadialLabel,ta as RadialText,F as Rectangle,Ha as RectanglePattern,Y as Root,$ as RoundedRectangle,wa as Scrollbar,Aa as SerialChart,pa as Series,ya as Slice,xa as Slider,A as Sprite,Oa as SpriteResizer,ea as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ba as Tick,S as Timezone,Q as Tooltip,va as Triangle,I as VerticalLayout,Ca as ZoomTools,ja as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Pa as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,oa as time,f as type,o as utils};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import"./KHBODFWE.js";var r={_decimalSeparator:".",_thousandSeparator:"'",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"K",_big_number_suffix_6:"Mio",_big_number_suffix_9:"Mrd",_big_number_suffix_12:"Bio",_big_number_suffix_15:"Brd",_big_number_suffix_18:"Trill",_big_number_suffix_21:"Trd",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM, yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM, yyyy",_date_week:"ww",_date_week_full:"dd. MMM, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"v. Chr.",_era_bc:"n. Chr.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Januar",February:"Februar",March:"M\xE4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",Jan:"Jan.",Feb:"Febr.",Mar:"M\xE4rz",Apr:"Apr.","May(short)":"Mai",Jun:"Juni",Jul:"Juli",Aug:"Aug.",Sep:"Sept.",Oct:"Okt.",Nov:"Nov.",Dec:"Dez.",Sunday:"Sonntag",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sun:"So.",Mon:"Mo.",Tue:"Di.",Wed:"Mi.",Thu:"Do.",Fri:"Fr.",Sat:"Sa.",_dateOrd:function(e){return e+"."},"Zoom Out":"Herauszoomen",Play:"Abspielen",Stop:"Stop",Legend:"Legende","Press ENTER to toggle":"Klicken, tippen oder ENTER dr\xFCcken zum Umschalten",Loading:"Wird geladen",Home:"Home",Chart:"Diagramm","Serial chart":"Seriendiagramm","X/Y chart":"X-Y-Diagramm","Pie chart":"Kreisdiagramm","Gauge chart":"Messdiagramm","Radar chart":"Netzdiagramm","Sankey diagram":"Sankey-Diagramm","Chord diagram":"","Flow diagram":"Flussdiagramm","TreeMap chart":"Baumdiagramm",Series:"Serie","Candlestick Series":"Kerzendiagramm","Column Series":"Balkendiagramm","Line Series":"Liniendiagramm","Pie Slice Series":"Kreisdiagramm","X/Y Series":"Punktdiagramm",Map:"Karte","Press ENTER to zoom in":"Dr\xFCcke ENTER zum Hereinzoomen","Press ENTER to zoom out":"Dr\xFCcke ENTER zum Herauszoomen","Use arrow keys to zoom in and out":"Benutze die Pfeiltasten zum Zoomen","Use plus and minus keys on your keyboard to zoom in and out":"Benutze Plus- und Minustasten zum Zoomen",Export:"Export",Image:"Bild",Data:"Daten",Print:"Drucken","Press ENTER to open":"Zum \xD6ffnen klicken, tippen oder ENTER dr\xFCcken","Press ENTER to print.":"Zum Drucken klicken, tippen oder ENTER dr\xFCcken.","Press ENTER to export as %1.":"Klicken, tippen oder ENTER dr\xFCcken um als %1 zu exportieren","(Press ESC to close this message)":"ESC dr\xFCcken um diese Nachricht zu schlie\xDFen","Image Export Complete":"Bildexport komplett","Export operation took longer than expected. Something might have gone wrong.":"Der Export dauert l\xE4nger als geplant. Vielleicht ist etwas schiefgelaufen.","Saved from":"Gespeichert von",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder linke und rechte Pfeiltaste um die Auswahl zu \xE4ndern","Use left and right arrows to move selection":"Linke und rechte Pfeiltaste nutzen um die Auswahl zu verschieben","Use left and right arrows to move left selection":"Linke und rechte Pfeiltaste nutzen um die linke Auswahl zu verschieben","Use left and right arrows to move right selection":"Linke und rechte Pfeiltaste nutzen um die rechte Auswahl zu verschieben","Use TAB select grip buttons or up and down arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu \xE4ndern","Use up and down arrows to move selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu verschieben","Use up and down arrows to move lower selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die untere Auswahl zu verschieben","Use up and down arrows to move upper selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die obere Auswahl zu verschieben","From %1 to %2":"Von %1 bis %2","From %1":"Von %1","To %1":"Bis %1","No parser available for file: %1":"Kein Parser f\xFCr Datei %1 verf\xFCgbar","Error parsing file: %1":"Fehler beim Parsen von Datei %1","Unable to load file: %1":"Datei %1 konnte nicht geladen werden","Invalid date":"Kein Datum"};export{r as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{b as d}from"./IFCRROLM.js";import{I as c,J as e,O as n,a as l,b as r}from"./H37YYHYW.js";import"./KHBODFWE.js";export default $arcgis.t(([{formatDate:v},{watch:y}])=>{var m=l`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--arcgis-video-player-controls-spacing) / 2) calc(var(--arcgis-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__toolbar-top-padding{padding-top:calc(var(--arcgis-video-player-controls-spacing) / 2)}.arcgis-video-player__timecode{display:flex;align-items:center;color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}.arcgis-video-player__live-icon{color:var(--calcite-color-status-danger)}.arcgis-video-player__controls-container{display:flex;align-items:center;gap:var(--calcite-spacing-md)}`,a="arcgis-video-player",o={playerControlsGroup:`${a}__controls-group`,playerTimecode:`${a}__timecode`,playerToolbar:`${a}__toolbar`,playerToolbarTopPadding:`${a}__toolbar-top-padding`,playerLiveIcon:`${a}__live-icon`,playerControlsContainer:`${a}__controls-container`};function p(t){return v(Math.round(t)*1e3,{minute:"2-digit",second:"2-digit"})}var s=class extends c{static{this.properties={_isLive:16,viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0})])}render(){let{messages:i}=this,g=this._isLive?o.playerToolbarTopPadding:null;return r`<div class=${e(d(o.playerToolbar,g))}><div class=${e(o.playerControlsContainer)}><arcgis-video-player-actions-group .messages=${i} .viewModel=${this.viewModel}></arcgis-video-player-actions-group>${this._isLive?r`<calcite-icon class=${e(o.playerLiveIcon)} icon=beacon></calcite-icon>`:null}<div class=${e(o.playerTimecode)}>${p(this.currentTime)} / ${p(this.duration)}</div></div><arcgis-video-player-controls-group class=${e(o.playerControlsGroup)} .messages=${i} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",s);return s},"intl","core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import a from"./R35F7LSR.js";import{a as M}from"./NIQUPN4E.js";import{b as E}from"./IFCRROLM.js";import{G as Q,H as j,I as k,J as h,M as R,O as B,a as D,b as o}from"./H37YYHYW.js";import"./KHBODFWE.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:T},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:K},{watch:F,on:ee},Z,W,{ignoreAbortErrors:x},te,{g:V}])=>{var f=(g,e=100)=>{let t;return(...r)=>{let i=()=>{clearTimeout(t),g(...r)};clearTimeout(t),t=setTimeout(i,e)}};var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=g=>{let e=[];if(g.formTemplate){let{description:t,title:r}=g.formTemplate;g.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},N=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},O=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await x(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await x(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await x(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,N),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,N),this._queryPageDebounced=f(this._queryPageController,N),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:K(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:p,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&p!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${p}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:_})=>{let C=t.subtypes?.find(L=>L.code===_)?.name;return _!=null&&C?{count:y,value:_,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),m=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=m[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:p,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:m}=this;if(!I||!a||!l||m==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,_=[...n.map(d=>d.field),...ie(l),...p,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:_,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[m],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[m]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=K(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",p=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:p}))} .description=${T(l.toString())} .label=${T(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",O);return O},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import"./KHBODFWE.js";var r={firstDayOfWeek:1,_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""};export{r as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import"./KHBODFWE.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM yyyy",_date_month:"MMM",_date_month_full:"MMM yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{a as O}from"./KHBODFWE.js";var m={};O(m,{PLACEHOLDER:()=>ee,PLACEHOLDER2:()=>te,assert:()=>V,getType:()=>C,isArray:()=>Z,isDate:()=>N,isNaN:()=>j,isNumber:()=>p,isObject:()=>E,isString:()=>F,numberToString:()=>X,repeat:()=>P,toDate:()=>W,toNumber:()=>R});function j(s){return Number(s)!==s}function C(s){return{}.toString.call(s)}function V(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!p(s)){let e=Number(s);return j(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)?R(s.replace(/[^0-9.\-]+/g,"")):e}return s}function W(s){if(N(s))return new Date(s);if(p(s))return new Date(s);{let e=Number(s);return p(e)?new Date(e):new Date(s)}}function X(s){if(j(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),r=t[1],i=t[2]||"",n;if(t[3]===void 0)n=i===""?r:r+"."+i;else{let o=+t[3];if(s<1){let u=o-1;n="0."+P("0",u)+r+i}else{let u=o-i.length;u===0?n=r+i:u<0?n=r+i.slice(0,u)+"."+i.slice(u):n=r+i+P("0",u)}}return e?"-"+n:n}function P(s,e){return new Array(e+1).join(s)}function N(s){return C(s)==="[object Date]"}function F(s){return typeof s=="string"}function p(s){return typeof s=="number"&&Number(s)==s}function E(s){return typeof s=="object"&&s!==null}function Z(s){return Array.isArray(s)}var ee="__\xA7\xA7\xA7__",te="__\xA7\xA7\xA7\xA7__";var d={};O(d,{add:()=>pe,any:()=>D,copy:()=>be,each:()=>l,eachContinue:()=>ie,eachReverse:()=>re,find:()=>me,findIndex:()=>w,findIndexReverse:()=>z,findMap:()=>we,findReverse:()=>ve,first:()=>ue,getFirstSortedIndex:()=>ye,getSortedIndex:()=>k,has:()=>_e,indexOf:()=>$,insert:()=>T,insertIndex:()=>M,keepIf:()=>Oe,last:()=>oe,map:()=>se,move:()=>ce,pushAll:()=>he,pushOne:()=>ae,remove:()=>v,removeFirst:()=>f,removeIndex:()=>B,replace:()=>de,setIndex:()=>le,shiftLeft:()=>ne,shuffle:()=>xe,slice:()=>ge,toArray:()=>fe});function $(s,e){let t=s.length;for(let r=0;r<t;++r)if(s[r]===e)return r;return-1}function D(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r]))return!0;return!1}function se(s,e){let t=s.length,r=new Array(t);for(let i=0;i<t;++i)r[i]=e(s[i],i);return r}function l(s,e){let t=s.length;for(let r=0;r<t;++r)e(s[r],r)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ie(s,e){let t=s.length;for(let r=0;r<t&&e(s[r],r);++r);}function ne(s,e){let t=s.length;for(let r=e;r<t;++r)s[r-e]=s[r];s.length=t-e}function oe(s){let e=s.length;return e?s[e-1]:void 0}function ue(s){return s[0]}function T(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function le(s,e,t){v(s,e),T(s,e,t)}function he(s,e){let t=e.length;for(let r=0;r<t;++r)s.push(e[r])}function v(s,e){let t=!1,r=0;for(;;){if(r=s.indexOf(e,r),r===-1)return t;t=!0,s.splice(r,1)}}function f(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ce(s,e,t){let r=$(s,e);r!==-1&&B(s,r),t==null?s.push(e):M(s,t,e)}function pe(s,e,t){p(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function ae(s,e){s.indexOf(e)===-1&&s.push(e)}function de(s,e,t){let r=s.indexOf(e);r!==-1&&s.splice(r,1),p(t)?s.splice(t,0,e):s.push(e)}function fe(s){return Array.isArray(s)?s:[s]}function _e(s,e){return $(s,e)!==-1}function be(s){let e=s.length,t=new Array(e);for(let r=0;r<e;++r)t[r]=s[r];return t}function ge(s,e,t=s.length){let r=new Array(t-e);for(let i=e;i<t;++i)r[i-e]=s[i];return r}function M(s,e,t){s.splice(e,0,t)}function B(s,e){s.splice(e,1)}function w(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r],r))return r;return-1}function z(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function me(s,e){let t=w(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=z(s,e);if(t!==-1)return s[t]}function we(s,e){let t=s.length;for(let r=0;r<t;++r){let i=e(s[r],r);if(i!==void 0)return i}}function xe(s){let e=s.length,t,r;for(;e!==0;)r=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[r],s[r]=t}function k(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:o===0?(i=!0,t=n+1):r=n}return{found:i,index:i?t-1:t}}function ye(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(i=!0),r=n)}return{found:i,index:t}}function Oe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var Y={};O(Y,{copy:()=>Pe,each:()=>h,eachContinue:()=>je,eachOrdered:()=>Ee,hasKey:()=>K,keys:()=>_,keysOrdered:()=>H,softCopyProperties:()=>$e});function _(s){return Object.keys(s)}function H(s,e){return _(s).sort(e)}function Pe(s){return Object.assign({},s)}function h(s,e){_(s).forEach(t=>{e(t,s[t])})}function je(s,e){for(let t in s)if(K(s,t)&&!e(t,s[t]))break}function Ee(s,e,t){l(H(s,t),r=>{e(r,s[r])})}function K(s,e){return{}.hasOwnProperty.call(s,e)}function $e(s,e){return h(s,(t,r)=>{r!=null&&e[t]==null&&(e[t]=r)}),e}var b=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},a=class extends b{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var x=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return D(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,r,i){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(r===void 0||n.callback===r)&&n.context===i&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,r){return w(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===r)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return p(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(r=>{!r.killed&&(r.type===null||r.type===e)&&r.dispatch(e,t)})}_on(e,t,r,i,n,o){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,r,i);let u={type:t,callback:r,context:i,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{u.killed=!0,this._removeListener(u)})};return this._listeners.push(u),u}onAll(e,t,r=!0){return this._on(!1,null,e,t,r,(i,n)=>e.call(t,n)).disposer}on(e,t,r,i=!0){return this._on(!1,e,t,r,i,(n,o)=>t.call(r,o)).disposer}once(e,t,r,i=!0){let n=this._on(!0,e,t,r,i,(o,u)=>{n.disposer.dispose(),t.call(r,u)});return n.disposer}off(e,t,r){this._removeExistingListener(!1,e,t,r)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,r=>{!r.killed&&r.shouldClone&&(r.type===null?t.push(this.onAll(r.callback,r.context)):r.once?t.push(this.once(r.type,r.callback,r.context)):t.push(this.on(r.type,r.callback,r.context)))}),new a(t)}};function A(s){h(s,(e,t)=>{E(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var L=class{constructor(e,t,r){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=r}_dispose(){A(this._settings)}get(e,t){let r=this._settings[e];return r!==void 0?r:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){_(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(r,i)=>{!t[r]&&!e._userSettings[r]&&(t[r]=!0,e.setRaw(r,i))})}},S=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let r=this._states[e];if(r)return r.setAll(t),r;{let i=new L(e,this._template,t);return this._states[e]=i,this._template._stateChanged(e),i}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(r,i)=>{let n=t.states[r];n==null&&(n=t.states[r]={});let o=e.states.create(r,{});i._apply(o,n)})}},I=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let r=this._callbacks[e];return r===void 0&&(r=this._callbacks[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(r,i)=>{l(i,n=>{t.push(e.adapters.add(r,n))})}),new a(t)}},y=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new S(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new I}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new x}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){A(this._settings),A(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let r=this._settings[e];return r!==void 0?r:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(r=>{r._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let r=this._privateSettings[e];return r!==void 0?r:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(r=>{r._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,r)=>{this.set(t,r)})}on(e,t){this._checkDisposed();let r=this._settingEvents[e];return r===void 0&&(r=this._settingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let r=this._privateSettingEvents[e];return r===void 0&&(r=this._privateSettingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let r=[];return h(this._settingEvents,(i,n)=>{l(n,o=>{r.push(e.on(i,o))})}),h(this._privateSettingEvents,(i,n)=>{l(n,o=>{r.push(e.onPrivate(i,o))})}),this.states._apply(e,t),r.push(this.adapters._apply(e)),r.push(e.events.copyFrom(this.events)),new a(r)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function g(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let r=s.length,i=e.length,n=Math.min(r,i);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return g(r,i)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let r=this._rules[e];r||(r=this._rules[e]=[]),t.sort(g);let{index:i,found:n}=k(r,o=>{let u=g(o.tags.length,t.length);return u===0?Q(o.tags,t,g):u});if(n)return r[i].template;{let o=y.new({});return r.splice(i,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{j as a,R as b,W as c,X as d,N as e,F as f,p as g,E as h,Z as i,ee as j,te as k,m as l,$ as m,se as n,l as o,re as p,ie as q,v as r,f as s,ce as t,ae as u,be as v,M as w,B as x,me as y,ve as z,k as A,ye as B,Oe as C,d as D,_ as E,H as F,Pe as G,h as H,je as I,Y as J,b as K,c as L,q as M,a as N,G as O,J as P,x as Q,g as R,Q as S,Re as T,y as U,U as V};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import"./KHBODFWE.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{a as k}from"./UU6DUHJ7.js";import d from"./ZR4UXKJK.js";import"./PH5CV2LM.js";import c from"./5BGXROFC.js";import{a as L}from"./JIWHI7EW.js";import{a as U}from"./QQEDG3FQ.js";import b from"./UOB52WH7.js";import a from"./RQGY47DP.js";import{g as N}from"./TIKIHUXB.js";import"./V7Z2OLGJ.js";import{b as T}from"./IFCRROLM.js";import{G as S,H as C,I as P,J as v,L as x,O,a as M,b as m,s as g}from"./H37YYHYW.js";import"./KHBODFWE.js";export default $arcgis.t(([{watch:b},{property:n,subclass:Q},h,{onLocaleChange:X},Z,Y,$,H,ee,te,f,I,{geographicToWebMercator:oe},ie,{project:re},ae,,,R,{a:D,c:w}])=>{var se=M`.arcgis-button{--calcite-ui-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);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-ui-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,z=!1,ne={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let t="geolocation"in navigator;return t||console.warn("geolocation-unsupported","Geolocation unsupported."),t}function le(){let t=window.isSecureContext;return t||z||(z=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),t}function pe(){return ce()&&le()}function de(t){return t??=ne,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function he(t,e){let{position:o,view:r}=t,i=ue(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=me(i);return ge(a,r,e)}function ue(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function me({longitude:t,latitude:e,altitude:o}){return new te({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function ge(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(oe(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await fe(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new ae({geometries:[t],outSpatialReference:r});return(await re(i,a,o))[0]})}async function fe(t){if(I.geometryServiceUrl)return await Promise.resolve(I.geometryServiceUrl);let e=ie.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ye=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?ve(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ye(e,o,i),i},we=2500;function K(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var V={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},be=K("layer"),Ae=K("background"),Ee=new ee({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[be,Ae,V],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ${constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new H({symbol:Ee}),this.rotationEnabled=!0}initialize(){pe()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){V.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:we;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};D(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await he({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:J,latitude:j,longitude:q,speed:_}=s,E=this._getHeading(t,o),W={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:J,heading:E,latitude:j,longitude:q,speed:_};i&&(i.geometry=r,i.attributes=W);let B=this._getScale(o);await this._animatePoint(r,B,E,e)}catch(o){if(!w(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:H})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([Q("map-components.geolocation.GeolocationPositioning")],c);var Me=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Se(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Me(e,o,i),i},Ce=new Y({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Pe(t){return new Z({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Ce.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([X(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await de(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(w(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Pe(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([Q("map-components.locate.LocateViewModel")],l);var F={base:"locate",button:"arcgis-button"},G="gps-off",xe=R(l),A=class extends P{constructor(){super(),this.locateButtonElement=S(),this.messages=L(),this.viewModel=xe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=G,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.styles=se}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),b(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=k===void 0?G:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${v(T(F.base,F.button))}>${!s&&m`<calcite-button class=${v(U.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} title=${a??x} ${C(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};O("arcgis-locate",A);return A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- export default $arcgis.t(([{replace:u}])=>{var a=/^\s*expression\//iu,p=/href=(""|'')/giu,d=/(\{([^{\r\n]+)\})/gu,m=/href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu,g=/'/gu,h="relationships/",y=/^(?:mailto:|tel:)/u;function V(t,e){let n=new Map;if(!t)return n;for(let r of t){if(!r.fieldName)continue;let o=f(r.fieldName,e);r.fieldName=o,n.set(o.toLowerCase(),r)}return n}function $(t){let e=[];if(!t)return e;let{fieldInfos:n,content:r}=t;return n&&e.push(...n),!r||!Array.isArray(r)||r.forEach(o=>{if(o.type==="fields"){let i=o?.fieldInfos;i&&e.push(...i)}}),e}function j(t,e){return t?.getEffectivePopupTemplate(e)??void 0}function k(t){if(t!=null)return"sourceLayer"in t&&t.sourceLayer?t.sourceLayer:t.layer??void 0}function E(t=""){return t?t.includes(h):!1}function O(t=""){if(t)return!y.test(t.trim().toLowerCase())}function f(t,e){let n=s(e,t);return n?n.name:t}function P(t,e){return t?.map(n=>f(n,e))}function w(t){return t?a.test(t):!1}function L(t,e){if(!e||!w(e)||!t)return;let n=e.replace(a,"").toLowerCase();return t.find(({name:r})=>r.toLowerCase()===n)}function R(t,e){if(!(!t?.length||!e))return t.find(n=>n.fieldName?.toLowerCase()===e.toLowerCase())}function T(t,e){let n=L(e,t?.fieldName);return n?n.title||null:t?t.label||t.fieldName:null}function c(t){return t.trim()}function C(t){return t.replaceAll(p,"")}function v(t,e){return`{${e.get(t.toLowerCase())?.fieldName||t}}`}function A({formattedValues:t,template:e,fieldInfoMap:n}){return c(C(u(u(e,r=>v(r,n)),t)))}function s(t,e){return!(t&&"getField"in t&&typeof t.getField=="function")||!e?null:t.getField(e)??null}function N(t,e){return t.replaceAll(d,(n,r,o)=>{let i=s(e,o);return i?`{${i.name}}`:r})}function I(t,e,n=!1){let r=e[t];if(typeof r=="string"){let o=(n?encodeURIComponent(r):r).replaceAll(g,"%27");e[t]=o}}function b(t,e=!1){let n={...t};return Object.keys(n).forEach(r=>I(r,n,e)),n}function M(t,e,n){e=c(e);let r=e&&!e.startsWith("{");return u(t,b(n,r||!1))}function x(t,e,n){let r=N(t,n);return r&&r.replaceAll(m,(o,i,l)=>M(o,i||l,e))}function z({values:t,globalValues:e,layer:n,text:r,fieldInfoMap:o}){return r?A({formattedValues:e,template:x(r,{...e,...t},n),fieldInfoMap:o}):""}async function H({type:t,value:e,event:n}){try{return typeof e=="function"?e(n):await e}catch(r){console.error(`[arcgis-feature] An error occurred when calling the "${t}" function`,{error:r,graphic:n.graphic,value:e});return}}return{a:V,b:$,c:j,d:k,e:E,f:O,g:f,h:P,i:w,j:R,k:T,l:A,m:N,n:z,o:H}},"applications/Components/stringUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import{j as m}from"./XCKB43CS.js";import"./T352QWFP.js";import"./7BGZFWPA.js";import{t as p}from"./J775FRFE.js";import"./SUC4EKIE.js";import"./V4QJNRPL.js";import"./QREJFC5Z.js";import"./KHBODFWE.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./RBLUJIEM.js")],["bg-BG",()=>import("./QMRZYMIJ.js")],["bs-BA",()=>import("./NFNK7YME.js")],["ca-ES",()=>import("./X74EKXT7.js")],["cs-CZ",()=>import("./IYKN5PO5.js")],["da-DK",()=>import("./YAJHM6HT.js")],["de-DE",()=>import("./N3ZZQIYY.js")],["de-CH",()=>import("./PK5EPYTE.js")],["el-GR",()=>import("./V54CMZHN.js")],["en-US",()=>import("./34UFWCNP.js")],["en-CA",()=>import("./TWZ6WRUM.js")],["es-ES",()=>import("./XAPWGYND.js")],["et-EE",()=>import("./MSCH74JK.js")],["fi-FI",()=>import("./U5HMRSJG.js")],["fr-FR",()=>import("./34BYMZKN.js")],["he-IL",()=>import("./VLS7CPMI.js")],["hr-HR",()=>import("./VSIBQFUQ.js")],["hu-HU",()=>import("./NXFS5VZC.js")],["id-ID",()=>import("./OHXEZHUF.js")],["it-IT",()=>import("./IJ7RAUIP.js")],["ja-JP",()=>import("./GF6IWOJL.js")],["ko-KR",()=>import("./KA2OECP3.js")],["lt-LT",()=>import("./NYJOUGGN.js")],["lv-LV",()=>import("./37KDGILU.js")],["no-NO",()=>import("./QPXLDAZR.js")],["nb-NO",()=>import("./QPXLDAZR.js")],["nl-NL",()=>import("./LUBY2O7T.js")],["pl-PL",()=>import("./T6XWFHOM.js")],["pt-BR",()=>import("./3R2IE2EP.js")],["pt-PT",()=>import("./FMG27I4G.js")],["ro-RO",()=>import("./V5SM3QEH.js")],["ru-RU",()=>import("./GO3GNQWU.js")],["sk-SK",()=>import("./TF2524IM.js")],["sl-SL",()=>import("./TUHJKFNY.js")],["sr-RS",()=>import("./5UJK4YHX.js")],["sv-SE",()=>import("./NNJWJUAD.js")],["th-TH",()=>import("./DRLSZQDU.js")],["tr-TR",()=>import("./DV2N434J.js")],["uk-UA",()=>import("./GNUO5PT5.js")],["vi-VN",()=>import("./V3KSNGDN.js")],["zh-CN",()=>import("./ALENT5NF.js")],["zh-HK",()=>import("./QRPZEJLW.js")],["zh-TW",()=>import("./QRPZEJLW.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.3 */
4
- import"./KHBODFWE.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};