@arcgis/map-components 5.2.0-next.126 → 5.2.0-next.128

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 (362) hide show
  1. package/dist/cdn/23HSSJKV.js +2 -0
  2. package/dist/cdn/{DDMND66A.js → 26MF7QKM.js} +1 -1
  3. package/dist/cdn/{4M472CAO.js → 2DB2WQZ2.js} +1 -1
  4. package/dist/cdn/{YPARUN26.js → 2K4IAUMP.js} +1 -1
  5. package/dist/cdn/{PE7FKM4Y.js → 2KVWP7C2.js} +1 -1
  6. package/dist/cdn/{FAOYV6UX.js → 2OJYLBNC.js} +1 -1
  7. package/dist/cdn/2OMNJPFV.js +2 -0
  8. package/dist/cdn/{3GJ5ZU2P.js → 2ZIKXQT2.js} +1 -1
  9. package/dist/cdn/3BUFS5YM.js +2 -0
  10. package/dist/cdn/{LQRBB54H.js → 3E2WFQLJ.js} +1 -1
  11. package/dist/cdn/{JFZDHIFY.js → 3FYZUJFR.js} +1 -1
  12. package/dist/cdn/{VBTTL5IO.js → 3HVJLNKZ.js} +1 -1
  13. package/dist/cdn/{PM2ZNRTW.js → 3N3WXEBV.js} +1 -1
  14. package/dist/cdn/{XBMO67RQ.js → 3PCBVCV5.js} +1 -1
  15. package/dist/cdn/{AEAPNMXM.js → 3SJHCSFU.js} +1 -1
  16. package/dist/cdn/3TPXSBZ2.js +2 -0
  17. package/dist/cdn/{NG2QZJEO.js → 3VQ5MXTS.js} +1 -1
  18. package/dist/cdn/4GBWZ6JK.js +2 -0
  19. package/dist/cdn/{ZSISB5M6.js → 4JEXOOCU.js} +1 -1
  20. package/dist/cdn/4NZEJ5EQ.js +2 -0
  21. package/dist/cdn/{EITQWPOD.js → 4Q5CHT35.js} +1 -1
  22. package/dist/cdn/{WTYAO7OQ.js → 4QP6ILUV.js} +1 -1
  23. package/dist/cdn/{QCQHFZNJ.js → 5ARWD7RU.js} +1 -1
  24. package/dist/cdn/{5D6MVSNC.js → 5BQMWW5Q.js} +1 -1
  25. package/dist/cdn/{2TKV72AS.js → 5MY72QW3.js} +1 -1
  26. package/dist/cdn/{G6XGWHOU.js → 5Q2HHIWU.js} +1 -1
  27. package/dist/cdn/{TQMJ6PQF.js → 5TZGXGC2.js} +1 -1
  28. package/dist/cdn/{5ELKTESG.js → 5X5STRNV.js} +1 -1
  29. package/dist/cdn/6KU3XBCB.js +2 -0
  30. package/dist/cdn/{IZH2VVII.js → 77D3OZDV.js} +1 -1
  31. package/dist/cdn/77ULNULN.js +2 -0
  32. package/dist/cdn/{BUHX56TS.js → 7CO5HNJZ.js} +1 -1
  33. package/dist/cdn/7IB5M3LS.js +2 -0
  34. package/dist/cdn/{J272CPYG.js → 7JCDDJEO.js} +1 -1
  35. package/dist/cdn/7REHGHYL.js +2 -0
  36. package/dist/cdn/{WDGUD3AW.js → 7V3LUKTZ.js} +1 -1
  37. package/dist/cdn/{JVBTLEYY.js → 7XKNWVD4.js} +1 -1
  38. package/dist/cdn/{4QD7Q5RL.js → A76WBNBW.js} +1 -1
  39. package/dist/cdn/{XFXGNOUK.js → ABCAVCJS.js} +1 -1
  40. package/dist/cdn/{BLV3FC2L.js → AE33MJQH.js} +1 -1
  41. package/dist/cdn/{P2T7TMD7.js → AFUNYL57.js} +1 -1
  42. package/dist/cdn/{CDHRGVNI.js → AJFAPBMM.js} +1 -1
  43. package/dist/cdn/{LXPKUWCG.js → AMWU2257.js} +1 -1
  44. package/dist/cdn/{XB5WB5TW.js → ANBUBGMA.js} +1 -1
  45. package/dist/cdn/{SSJRVJ4B.js → AQTSDDVK.js} +1 -1
  46. package/dist/cdn/{PO5XZ4VC.js → ATRMFLKS.js} +1 -1
  47. package/dist/cdn/{IRTMUSJ5.js → BO6UZ45F.js} +1 -1
  48. package/dist/cdn/{H4UAU7VY.js → BOGLYQ5O.js} +1 -1
  49. package/dist/cdn/{ICYRLAW6.js → BOX3BB5W.js} +1 -1
  50. package/dist/cdn/{I7ESTJQK.js → BTAWFZYA.js} +1 -1
  51. package/dist/cdn/{VYL2WRAH.js → BTC4LBE2.js} +1 -1
  52. package/dist/cdn/{VCTUZXOT.js → BTHXY33A.js} +1 -1
  53. package/dist/cdn/{FIKOSKHE.js → BUKAHDDH.js} +1 -1
  54. package/dist/cdn/{VUFQZZUS.js → BVFW23P2.js} +1 -1
  55. package/dist/cdn/{U7A72ZYI.js → BWWWPF3D.js} +1 -1
  56. package/dist/cdn/CG5EOZ5E.js +2 -0
  57. package/dist/cdn/{63FA46BR.js → D2ILHVVB.js} +1 -1
  58. package/dist/cdn/{TM4YVKG6.js → D2TVY2FV.js} +1 -1
  59. package/dist/cdn/{TBBD3K7K.js → D7FCBWGA.js} +1 -1
  60. package/dist/cdn/{TBVQDBHB.js → DM7LIJDU.js} +1 -1
  61. package/dist/cdn/{LNZXSHWQ.js → E23I3LNK.js} +1 -1
  62. package/dist/cdn/{NML7LK6C.js → E6WLDHQE.js} +1 -1
  63. package/dist/cdn/{7INLGELH.js → EDJYAXEB.js} +1 -1
  64. package/dist/cdn/{MEWTGMFY.js → EEWGG5MJ.js} +1 -1
  65. package/dist/cdn/EFTRT3PC.js +2 -0
  66. package/dist/cdn/{3MQXFKC2.js → EHCQ6UAZ.js} +1 -1
  67. package/dist/cdn/{UV43LA4E.js → EHN5OCRK.js} +1 -1
  68. package/dist/cdn/{RWLJF4S5.js → EIZNZKHN.js} +1 -1
  69. package/dist/cdn/EKRYB356.js +2 -0
  70. package/dist/cdn/{LWZKP5AT.js → EOG6YHUA.js} +1 -1
  71. package/dist/cdn/EOVJXYU2.js +2 -0
  72. package/dist/cdn/EPSTVLDH.js +2 -0
  73. package/dist/cdn/{6RYFNL57.js → ESLHUFYQ.js} +1 -1
  74. package/dist/cdn/{SGA5LQW4.js → EVB3QOJS.js} +1 -1
  75. package/dist/cdn/{72VMDAFS.js → EVN3T57B.js} +1 -1
  76. package/dist/cdn/{HTYR6B7T.js → EWX4XQBI.js} +1 -1
  77. package/dist/cdn/{XIUOCWDO.js → EZMCUVKV.js} +1 -1
  78. package/dist/cdn/{C7UXNJ5I.js → F6WCDCVZ.js} +1 -1
  79. package/dist/cdn/{LRHP4H7N.js → F7KDBJ53.js} +1 -1
  80. package/dist/cdn/{FSX775VS.js → FCWHIX6Q.js} +1 -1
  81. package/dist/cdn/FIZLWHMR.js +2 -0
  82. package/dist/cdn/{2CHRFLK4.js → FLFOMU5V.js} +1 -1
  83. package/dist/cdn/FX2T6AOI.js +2 -0
  84. package/dist/cdn/G5YUYYQA.js +2 -0
  85. package/dist/cdn/GDHBKT7X.js +2 -0
  86. package/dist/cdn/{YZVGMCOM.js → GE5OI5A7.js} +1 -1
  87. package/dist/cdn/{44LLPVTI.js → GE74I75T.js} +1 -1
  88. package/dist/cdn/{REP2Y3FL.js → GKXR454H.js} +1 -1
  89. package/dist/cdn/{LPO2FQ5N.js → GLRUAFW4.js} +1 -1
  90. package/dist/cdn/GOQX6N76.js +2 -0
  91. package/dist/cdn/{UQS6LSO5.js → GXVJ5XIS.js} +1 -1
  92. package/dist/cdn/{G7APUHRE.js → GXXJVFXO.js} +1 -1
  93. package/dist/cdn/{2LHQ525N.js → H5IDCIGU.js} +1 -1
  94. package/dist/cdn/HFM5NPZZ.js +2 -0
  95. package/dist/cdn/{NWEM5AZ6.js → HGGXNI56.js} +1 -1
  96. package/dist/cdn/HVOH2A6M.js +2 -0
  97. package/dist/cdn/HZWFDJFV.js +2 -0
  98. package/dist/cdn/I2BIPOZQ.js +4 -0
  99. package/dist/cdn/{DQZCUGYA.js → ICBWYP63.js} +1 -1
  100. package/dist/cdn/{LCWLE76U.js → IFPX2SVE.js} +1 -1
  101. package/dist/cdn/{36EM3NTZ.js → IHTRKYAF.js} +1 -1
  102. package/dist/cdn/IIFPXXLV.js +2 -0
  103. package/dist/cdn/{Y7N4OQQO.js → IL5HIKPU.js} +1 -1
  104. package/dist/cdn/IPAUI5MK.js +2 -0
  105. package/dist/cdn/IPFOE73J.js +2 -0
  106. package/dist/cdn/{42KEDKJA.js → IPGN7TJM.js} +1 -1
  107. package/dist/cdn/{FD7GEMDU.js → IQOYWZKB.js} +1 -1
  108. package/dist/cdn/IROZR6HA.js +2 -0
  109. package/dist/cdn/{56EBWQ2X.js → IYHXTJJV.js} +1 -1
  110. package/dist/cdn/{O7CUBBAI.js → IZBEIVBQ.js} +1 -1
  111. package/dist/cdn/{PMFWQLEU.js → JALZMYVE.js} +1 -1
  112. package/dist/cdn/{KVTZQ34H.js → JBRKK3VF.js} +1 -1
  113. package/dist/cdn/{ODAZZCP2.js → JBXXHEEI.js} +1 -1
  114. package/dist/cdn/JE6NC2E6.js +2 -0
  115. package/dist/cdn/{IGROXELE.js → JEOUMVSL.js} +1 -1
  116. package/dist/cdn/JF4LCL3J.js +2 -0
  117. package/dist/cdn/{C4N4FQFP.js → JFA3BQNT.js} +1 -1
  118. package/dist/cdn/{XD4O4M7R.js → JMZCAMJX.js} +1 -1
  119. package/dist/cdn/{DDZKBKTV.js → JNQEJQFS.js} +1 -1
  120. package/dist/cdn/{4SB4TP3X.js → JQ3R3XMY.js} +1 -1
  121. package/dist/cdn/{K2H5FBFZ.js → K2WDAQU5.js} +1 -1
  122. package/dist/cdn/{HIFQHVGL.js → KKLGABRK.js} +1 -1
  123. package/dist/cdn/KM5NXHAK.js +2 -0
  124. package/dist/cdn/{P4ZKTLC3.js → KNVCQJ7O.js} +1 -1
  125. package/dist/cdn/{ZCI2M6MA.js → KS2KPSVW.js} +1 -1
  126. package/dist/cdn/KUFCT3WP.js +2 -0
  127. package/dist/cdn/{2B5ENAVA.js → KVEB7KH4.js} +1 -1
  128. package/dist/cdn/{MBUHYX5N.js → KYJLH5NA.js} +1 -1
  129. package/dist/cdn/{O5MUETR5.js → L7OO7DJU.js} +1 -1
  130. package/dist/cdn/{VV5F3KJG.js → L7P3VGFU.js} +1 -1
  131. package/dist/cdn/{LQCTYUNV.js → LGVPQ23I.js} +1 -1
  132. package/dist/cdn/{KENAA6EX.js → LK3YGRVI.js} +1 -1
  133. package/dist/cdn/LOYVJTVI.js +2 -0
  134. package/dist/cdn/{ZW2LETAA.js → LP74HAQI.js} +1 -1
  135. package/dist/cdn/{TDPA4AAV.js → LSVNXTPW.js} +1 -1
  136. package/dist/cdn/{WEBLSYMP.js → LT7UCTKO.js} +1 -1
  137. package/dist/cdn/{HMYR7BQD.js → ML3CEDNN.js} +1 -1
  138. package/dist/cdn/{5NKLQGFI.js → MQIR4CZ4.js} +1 -1
  139. package/dist/cdn/{EA6BYP6T.js → MRFX6GG4.js} +1 -1
  140. package/dist/cdn/{2Z4QCH6U.js → MVYTDX7B.js} +1 -1
  141. package/dist/cdn/{Q63KXTZF.js → NB4UV3WZ.js} +1 -1
  142. package/dist/cdn/{HE3GFH3Y.js → NBELHVZV.js} +1 -1
  143. package/dist/cdn/{DDWWAWOY.js → NCCYPWND.js} +1 -1
  144. package/dist/cdn/{UPVXM4VW.js → NDX25YWH.js} +1 -1
  145. package/dist/cdn/{3XCESEFU.js → NIPK7YYJ.js} +1 -1
  146. package/dist/cdn/{IRKGDPQT.js → NOCI7PVC.js} +1 -1
  147. package/dist/cdn/{CTWITXBV.js → NOKB7FXX.js} +1 -1
  148. package/dist/cdn/{2LUBBAJK.js → NS22DZHN.js} +1 -1
  149. package/dist/cdn/{PB3LAPN6.js → O3V63YCY.js} +1 -1
  150. package/dist/cdn/{3OB36MB3.js → O6Q5GNQ5.js} +1 -1
  151. package/dist/cdn/{TDNKW7DO.js → OIXG64HP.js} +1 -1
  152. package/dist/cdn/{BUQUHDCE.js → OOGJQ5G4.js} +1 -1
  153. package/dist/cdn/{UAK6BANU.js → ORUBXAAU.js} +1 -1
  154. package/dist/cdn/{JULO3D2H.js → PIMY2US4.js} +1 -1
  155. package/dist/cdn/{EA66TPSM.js → PJI2EVW4.js} +1 -1
  156. package/dist/cdn/PME66FRM.js +2 -0
  157. package/dist/cdn/{DKYYSLNK.js → PSTY67SN.js} +1 -1
  158. package/dist/cdn/{N2NR2FG5.js → PV3L726K.js} +1 -1
  159. package/dist/cdn/PVNF2Z2E.js +2 -0
  160. package/dist/cdn/{7MACTSPL.js → PWHBULWL.js} +1 -1
  161. package/dist/cdn/Q4NUPFEB.js +2 -0
  162. package/dist/cdn/{V3GNUYUT.js → QAKYDAE3.js} +1 -1
  163. package/dist/cdn/{UQND4HWF.js → QDSTQOU2.js} +1 -1
  164. package/dist/cdn/QERRLNHI.js +2 -0
  165. package/dist/cdn/{AMCLAGVN.js → QGB7AGII.js} +1 -1
  166. package/dist/cdn/QHGEM66H.js +2 -0
  167. package/dist/cdn/QIMQEVTV.js +2 -0
  168. package/dist/cdn/{HJ4HFO7D.js → QKHSI35C.js} +1 -1
  169. package/dist/cdn/QRK6FDLW.js +2 -0
  170. package/dist/cdn/{DGHSJCA2.js → QRXQ5LVY.js} +1 -1
  171. package/dist/cdn/{SVEKICHA.js → QZ5LJH35.js} +1 -1
  172. package/dist/cdn/RA5SRNJJ.js +2 -0
  173. package/dist/cdn/{WJ7JJP72.js → RGYBVXLH.js} +1 -1
  174. package/dist/cdn/{AM4FJ6LD.js → RH5K6YB3.js} +1 -1
  175. package/dist/cdn/{LDNEFZBQ.js → RL5WBJH2.js} +1 -1
  176. package/dist/cdn/{ISCYIJ46.js → RM34SONU.js} +1 -1
  177. package/dist/cdn/{PGQZ2K6F.js → RW4H2SVK.js} +1 -1
  178. package/dist/cdn/{NIE5PNXD.js → S7G7JDQC.js} +1 -1
  179. package/dist/cdn/{MF236WBI.js → SIHH6LT5.js} +1 -1
  180. package/dist/cdn/{W656SZ7U.js → SMNGRZOR.js} +1 -1
  181. package/dist/cdn/SNNLU3TM.js +2 -0
  182. package/dist/cdn/SNX6IENY.js +2 -0
  183. package/dist/cdn/{4FPCGK34.js → SSNCB7LI.js} +1 -1
  184. package/dist/cdn/{4C233AOO.js → STVCYQD6.js} +1 -1
  185. package/dist/cdn/SZ6IV47J.js +2 -0
  186. package/dist/cdn/{OVMBMFG3.js → SZYG5GVN.js} +1 -1
  187. package/dist/cdn/{W6MSEHSY.js → T2JQCREB.js} +1 -1
  188. package/dist/cdn/{HEJ5UVJZ.js → TAZZC5OO.js} +1 -1
  189. package/dist/cdn/{AAWDYBYK.js → TL6AWIIE.js} +1 -1
  190. package/dist/cdn/{HB4DZC74.js → TO2AHJ2D.js} +1 -1
  191. package/dist/cdn/TP5CAC5F.js +2 -0
  192. package/dist/cdn/{ZPZFZGBT.js → TRKMGYRA.js} +1 -1
  193. package/dist/cdn/{RR3TUS2D.js → TSCXUJ3H.js} +1 -1
  194. package/dist/cdn/{NWENDZZY.js → TT6LZYXE.js} +1 -1
  195. package/dist/cdn/{6J5QXNJX.js → TXYWZMGM.js} +1 -1
  196. package/dist/cdn/{5CEWGYZX.js → TYE57RYK.js} +1 -1
  197. package/dist/cdn/{ZYPMEZDF.js → U2K2GM2A.js} +1 -1
  198. package/dist/cdn/{N7AFJJVW.js → U2XEJHYW.js} +1 -1
  199. package/dist/cdn/{APKAK7WN.js → U4A4FLPH.js} +1 -1
  200. package/dist/cdn/{AEE3ITTX.js → UCX6CLDZ.js} +1 -1
  201. package/dist/cdn/{K4DCZOCW.js → UIWQMNVA.js} +1 -1
  202. package/dist/cdn/{Y5QZ3L7W.js → UP52QGP6.js} +1 -1
  203. package/dist/cdn/{3VBXXNTN.js → URWPOPI7.js} +1 -1
  204. package/dist/cdn/UWHSAI3L.js +2 -0
  205. package/dist/cdn/{RI4CMB5D.js → UXPYCE3L.js} +1 -1
  206. package/dist/cdn/{OJBUMUSV.js → UYY3HJ3C.js} +1 -1
  207. package/dist/cdn/V7FCORTC.js +2 -0
  208. package/dist/cdn/{5EE4D5NU.js → VBC4PE53.js} +1 -1
  209. package/dist/cdn/VFHKHLM6.js +2 -0
  210. package/dist/cdn/VGHKU6QN.js +2 -0
  211. package/dist/cdn/{6IKFGCI7.js → VKURE3J2.js} +1 -1
  212. package/dist/cdn/{RY2V62OL.js → VOFY2VSJ.js} +1 -1
  213. package/dist/cdn/VZ5UIYRZ.js +2 -0
  214. package/dist/cdn/{Y53XVNMM.js → W4CJTN6T.js} +1 -1
  215. package/dist/cdn/{DCF5NPMS.js → WINEAW5E.js} +1 -1
  216. package/dist/cdn/{6OYFC4VZ.js → WIVG25HH.js} +1 -1
  217. package/dist/cdn/WMARZKLI.js +2 -0
  218. package/dist/cdn/{25LV3KCP.js → WT5SGWE4.js} +1 -1
  219. package/dist/cdn/{QKLKHDU7.js → X5EYPVUR.js} +1 -1
  220. package/dist/cdn/XADV6ULF.js +2 -0
  221. package/dist/cdn/{OFFTNNCA.js → XJJQGFWN.js} +1 -1
  222. package/dist/cdn/{K6TPVS6T.js → XO3BXDJB.js} +1 -1
  223. package/dist/cdn/{OCGCWC3P.js → XUSJST2P.js} +1 -1
  224. package/dist/cdn/{DYDFKP44.js → Y3SFKTBJ.js} +1 -1
  225. package/dist/cdn/{EHXNLGTZ.js → Y4AWD5AV.js} +1 -1
  226. package/dist/cdn/{44NU63UA.js → Y4Z4GN66.js} +1 -1
  227. package/dist/cdn/{YJOQGUU3.js → Y7LCZTZN.js} +1 -1
  228. package/dist/cdn/{BMRMUP5N.js → YB3JVI5U.js} +1 -1
  229. package/dist/cdn/{MRVGFB7R.js → YECX3B43.js} +1 -1
  230. package/dist/cdn/{ZLSKMKZJ.js → YMRXKAOB.js} +1 -1
  231. package/dist/cdn/{KHWWBO2D.js → YNPZGFD5.js} +1 -1
  232. package/dist/cdn/{P4OEIRUK.js → YPW4CF4Y.js} +1 -1
  233. package/dist/cdn/YQKMTVF7.js +2 -0
  234. package/dist/cdn/YSWNUR6Q.js +2 -0
  235. package/dist/cdn/{BLCZLLCG.js → YTCVSC5P.js} +1 -1
  236. package/dist/cdn/{GLGQUUCZ.js → YXAD73CE.js} +1 -1
  237. package/dist/cdn/{OLZBK6DV.js → YYKHJHRL.js} +1 -1
  238. package/dist/cdn/{NJ5RRMLJ.js → Z2NU3RGI.js} +1 -1
  239. package/dist/cdn/{R7GRZX4T.js → Z37YCCSM.js} +1 -1
  240. package/dist/cdn/{E6Q5SBWB.js → Z5BFIWLI.js} +1 -1
  241. package/dist/cdn/{LSWPK2J3.js → ZNFXHSNB.js} +1 -1
  242. package/dist/cdn/{A6JSTNH5.js → ZVIW6QGG.js} +1 -1
  243. package/dist/cdn/{MBANEOYT.js → ZYFORDEE.js} +1 -1
  244. package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
  245. package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
  246. package/dist/cdn/index.js +1 -1
  247. package/dist/cdn/main.css +1 -1
  248. package/dist/chunks/esri-main.js +1 -1
  249. package/dist/chunks/formattingUtils.js +19 -0
  250. package/dist/chunks/slots.js +1 -1
  251. package/dist/chunks/useArcgisViewReadyError.js +214 -0
  252. package/dist/components/arcgis-add-attachment-view/customElement.d.ts +116 -0
  253. package/dist/components/arcgis-add-attachment-view/customElement.js +43 -0
  254. package/dist/components/arcgis-add-attachment-view/index.d.ts +1 -0
  255. package/dist/components/arcgis-add-attachment-view/index.js +6 -0
  256. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  257. package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +48 -27
  258. package/dist/components/arcgis-attachment-validation-view/customElement.js +36 -46
  259. package/dist/components/arcgis-basemap-toggle/BasemapToggleViewModel.d.ts +25 -0
  260. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
  261. package/dist/components/arcgis-basemap-toggle/customElement.js +124 -30
  262. package/dist/components/arcgis-expand/customElement.js +12 -12
  263. package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
  264. package/dist/components/arcgis-feature-form-field/customElement.d.ts +48 -27
  265. package/dist/components/arcgis-feature-table/customElement.d.ts +8 -0
  266. package/dist/components/arcgis-feature-table/customElement.js +28 -26
  267. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  268. package/dist/components/arcgis-features-next/customElement.js +92 -92
  269. package/dist/components/arcgis-file-picker/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  271. package/dist/components/arcgis-link-chart/customElement.d.ts +2 -0
  272. package/dist/components/arcgis-link-chart/customElement.js +12 -12
  273. package/dist/components/arcgis-map/customElement.d.ts +2 -0
  274. package/dist/components/arcgis-map/customElement.js +20 -20
  275. package/dist/components/arcgis-measurement-content/customElement.js +6 -6
  276. package/dist/components/arcgis-popup/customElement.d.ts +22 -25
  277. package/dist/components/arcgis-popup/customElement.js +8 -8
  278. package/dist/components/arcgis-popup/types.d.ts +15 -6
  279. package/dist/components/arcgis-scene/customElement.d.ts +2 -0
  280. package/dist/components/arcgis-scene/customElement.js +21 -21
  281. package/dist/components/arcgis-slice/customElement.js +22 -22
  282. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  283. package/dist/components/arcgis-time-bar/customElement.d.ts +12 -0
  284. package/dist/components/arcgis-time-bar/customElement.js +9 -9
  285. package/dist/components/arcgis-time-bar-date/customElement.js +6 -8
  286. package/dist/components/arcgis-time-bar-extent/customElement.js +15 -13
  287. package/dist/components/arcgis-time-bar-settings/customElement.js +117 -105
  288. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +4 -0
  289. package/dist/components/arcgis-time-bar-slider/customElement.js +50 -50
  290. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  291. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  292. package/dist/components/arcgis-version-management/customElement.js +37 -37
  293. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  294. package/dist/controllers/uiController.d.ts +8 -0
  295. package/dist/docs/api.json +1 -1
  296. package/dist/docs/docs.json +1 -1
  297. package/dist/docs/vscode.css-custom-data.json +1 -1
  298. package/dist/docs/vscode.html-custom-data.json +1 -1
  299. package/dist/docs/web-types.json +1 -1
  300. package/dist/index.d.ts +10 -0
  301. package/dist/loader.js +5 -4
  302. package/dist/types/lumina.d.ts +8 -2
  303. package/dist/types/preact.d.ts +9 -2
  304. package/dist/types/react.d.ts +10 -2
  305. package/dist/types/stencil.d.ts +8 -2
  306. package/package.json +6 -6
  307. package/dist/cdn/2RGTCUK2.js +0 -2
  308. package/dist/cdn/2ZJLXDK6.js +0 -2
  309. package/dist/cdn/3FS6K67C.js +0 -2
  310. package/dist/cdn/3RTZFOIB.js +0 -2
  311. package/dist/cdn/4JLRRQSP.js +0 -2
  312. package/dist/cdn/5NF3EDT4.js +0 -2
  313. package/dist/cdn/5UFMDCCR.js +0 -2
  314. package/dist/cdn/73THNCDA.js +0 -2
  315. package/dist/cdn/73WLPDL3.js +0 -2
  316. package/dist/cdn/7AYPQVX6.js +0 -2
  317. package/dist/cdn/AFRAHGIQ.js +0 -2
  318. package/dist/cdn/B5JTT6EG.js +0 -2
  319. package/dist/cdn/BIH6F2CW.js +0 -2
  320. package/dist/cdn/BYIK3JAT.js +0 -2
  321. package/dist/cdn/BYZS3H4S.js +0 -2
  322. package/dist/cdn/CG6XJ6N3.js +0 -2
  323. package/dist/cdn/CIVENBYG.js +0 -2
  324. package/dist/cdn/EL2BQ6LY.js +0 -2
  325. package/dist/cdn/EZUPM4AL.js +0 -2
  326. package/dist/cdn/F4JJJCUL.js +0 -2
  327. package/dist/cdn/FJDRDYFD.js +0 -2
  328. package/dist/cdn/GJLGRECD.js +0 -2
  329. package/dist/cdn/GU4VFJE5.js +0 -2
  330. package/dist/cdn/H524VRJK.js +0 -2
  331. package/dist/cdn/HXRWRNXL.js +0 -2
  332. package/dist/cdn/IOSDZQ4I.js +0 -2
  333. package/dist/cdn/J3EEBCEJ.js +0 -2
  334. package/dist/cdn/JSI4XVCM.js +0 -2
  335. package/dist/cdn/JWINHP35.js +0 -2
  336. package/dist/cdn/LENLLEZE.js +0 -2
  337. package/dist/cdn/LFTP2KFZ.js +0 -2
  338. package/dist/cdn/MNS5VY6U.js +0 -4
  339. package/dist/cdn/NO77DEL2.js +0 -2
  340. package/dist/cdn/NYXY6QWR.js +0 -2
  341. package/dist/cdn/O5FA44PS.js +0 -2
  342. package/dist/cdn/OAGAKIW2.js +0 -2
  343. package/dist/cdn/OIYSCYT3.js +0 -2
  344. package/dist/cdn/OPFQOLLP.js +0 -2
  345. package/dist/cdn/PGQ4RVAW.js +0 -2
  346. package/dist/cdn/QSKIX6RM.js +0 -2
  347. package/dist/cdn/S5UJIOCL.js +0 -2
  348. package/dist/cdn/SGWDQIQ6.js +0 -2
  349. package/dist/cdn/SHX7I64J.js +0 -2
  350. package/dist/cdn/T2NYS5QU.js +0 -2
  351. package/dist/cdn/TE7CGN73.js +0 -2
  352. package/dist/cdn/TM4MANUR.js +0 -2
  353. package/dist/cdn/TQXBEQIV.js +0 -2
  354. package/dist/cdn/UTCTJCII.js +0 -2
  355. package/dist/cdn/VGAHWEBP.js +0 -2
  356. package/dist/cdn/XVGFEWIA.js +0 -2
  357. package/dist/cdn/XZ7CRL7A.js +0 -2
  358. package/dist/cdn/Z24KU6OH.js +0 -2
  359. package/dist/cdn/ZPMJES3R.js +0 -2
  360. package/dist/chunks/messages.en.js +0 -46
  361. package/dist/chunks/selectionOverlayPopupController.js +0 -207
  362. /package/dist/cdn/{PR6OAZWA.js → MIGBO54V.js} +0 -0
@@ -0,0 +1,214 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { html as b } from "lit";
3
+ import { initializeProjection as w } from "@arcgis/core/applications/Components/featureUtils.js";
4
+ import { when as g, watch as s } from "@arcgis/core/core/reactiveUtils.js";
5
+ import m from "@arcgis/core/geometry/Point.js";
6
+ import P from "@arcgis/core/Graphic.js";
7
+ import { GenericController as v, useDirection as y, makeController as _, makeGenericController as f } from "@arcgis/lumina/controllers";
8
+ import { getSlotAssignedElements as S } from "@arcgis/toolkit/dom/slots";
9
+ import { whenOrAbort as C } from "@arcgis/toolkit/promise";
10
+ import { createRef as R } from "lit/directives/ref.js";
11
+ import { c as A, S as L } from "./slots.js";
12
+ import { observeAncestorsMutation as F, unsafeGetCalciteModeName as G } from "@arcgis/toolkit/dom";
13
+ import { createEvent as d } from "@arcgis/lumina";
14
+ async function* O(n, o) {
15
+ for (const e of n) {
16
+ const t = await C(e, o).catch(() => {
17
+ });
18
+ if (o.aborted)
19
+ return;
20
+ yield* Array.isArray(t) ? t.filter((i) => i instanceof P) : [];
21
+ }
22
+ }
23
+ async function* M(n, o, e, t) {
24
+ let i;
25
+ e instanceof m ? (await w(e.spatialReference, n.spatialReference), i = n.toScreen(e)) : i = e;
26
+ const p = i ? n.fetchPopupFeatures(i, {
27
+ ...t,
28
+ defaultPopupTemplateEnabled: o.defaultPopupTemplateEnabled
29
+ }) : void 0;
30
+ p && (yield* p);
31
+ }
32
+ function u(n, o) {
33
+ if (o instanceof m)
34
+ return o;
35
+ const e = "width" in o ? { x: o.x + o.width / 2, y: o.y + o.height / 2 } : o;
36
+ return n.toMap(e) ?? void 0;
37
+ }
38
+ function V(n, o, e, t) {
39
+ const i = {};
40
+ return {
41
+ diagnostics: i,
42
+ featureStream: M(n, o, e, {
43
+ diagnostics: i,
44
+ signal: t
45
+ }),
46
+ location: u(n, e)
47
+ };
48
+ }
49
+ class B extends v {
50
+ //#endregion
51
+ //#region Lifecycle
52
+ constructor(o) {
53
+ super(o), this.direction = y(), this.popupRef = R(), this._popupAbortController = null, this.slotGroupRefs = A(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (e) => {
54
+ const t = e.reason;
55
+ if (t?.name === "webgl:required") {
56
+ const { name: i } = t;
57
+ this.webGLError = { name: i };
58
+ }
59
+ });
60
+ }
61
+ //#endregion
62
+ //#region Private Methods
63
+ hostLifecycle() {
64
+ return [
65
+ g(() => this.component.view.ready, () => {
66
+ this._assignDefaultPopup();
67
+ }),
68
+ s(() => this.component.view.popup?.visible, (e, t) => {
69
+ (e || t) && this._cancelPopupOperation(), e && this.popupElement?.open && (this.popupElement.open = !1);
70
+ }, { initial: !0 }),
71
+ s(() => this.component.popupElement?.open, (e, t) => {
72
+ t && !e && this._cancelPopupOperation();
73
+ }, { initial: !0 }),
74
+ this.component.view.on("focus-region-select", (e) => this._handleFocusRegionSelect(e)),
75
+ this.component.view.on(
76
+ "click",
77
+ [],
78
+ (e) => {
79
+ const t = e.native;
80
+ e.button !== 0 || t?.ctrlKey || t?.metaKey || this._handleOpenPopup(e);
81
+ },
82
+ // @ts-ignore: Core supports a click listener priority argument, needed for Popup click
83
+ -2
84
+ )
85
+ ];
86
+ }
87
+ hostDestroy() {
88
+ this._cancelPopupOperation();
89
+ }
90
+ async openPopup(o = {}) {
91
+ this._assignDefaultPopup(), this.closePopup();
92
+ const e = new AbortController();
93
+ if (this._popupAbortController = e, this.popupElement) {
94
+ if (await this.popupElement.componentOnReady(), e.signal.aborted)
95
+ return;
96
+ const { fetchFeatures: t, shouldFocus: i, title: p, featureStream: l, promises: h, location: r, ...E } = o, a = r ? u(this.component.view, r) : void 0, c = r ?? this.popupElement.location;
97
+ Object.assign(this.popupElement, E), p !== void 0 && (this.popupElement.heading = p), l ? await this.popupElement.openFeatureStream({ featureStream: l, location: a }) : h?.length ? await this.popupElement.openFeatureStream({
98
+ featureStream: O(h, e.signal),
99
+ location: a
100
+ }) : t && c ? await this.popupElement.openFeatureStream(V(this.component.view, this.popupElement, c, e.signal)) : (this.popupElement.featureStream = null, r !== void 0 && (this.popupElement.location = a), this.popupElement.open = !0), i && !e.signal.aborted && await this.popupElement.setFocus();
101
+ } else {
102
+ const { location: t, ...i } = o;
103
+ await this.component.view.openPopup({
104
+ ...i,
105
+ location: t ? u(this.component.view, t) : void 0
106
+ });
107
+ }
108
+ }
109
+ closePopup() {
110
+ this._cancelPopupOperation(), this.popupElement && (this.popupElement.open = !1, this.popupElement.clear()), this.component.view.closePopup();
111
+ }
112
+ _cancelPopupOperation() {
113
+ this._popupAbortController?.abort(), this._popupAbortController = null;
114
+ }
115
+ _assignDefaultPopup() {
116
+ this.popupRef.value && !this.popupElement && (this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
117
+ }
118
+ handleAttributionHeightChange(o) {
119
+ if (!(this.attributionHeight === o || !this.component.el.shadowRoot)) {
120
+ if (this.attributionHeight = o, !this._uiContainer) {
121
+ const e = this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");
122
+ this._uiContainer = e;
123
+ }
124
+ this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top", `${this.attributionHeight}px`);
125
+ }
126
+ }
127
+ _maybeDisableViewPopup() {
128
+ this.component.view && (this.component.popupComponentEnabled || this.popupElement) && (this.previousViewPopupEnabled = this.component.view.popupEnabled, this.component.view.popupEnabled = !1);
129
+ }
130
+ _maybeResetViewPopup() {
131
+ this.component.view && this.previousViewPopupEnabled !== void 0 && (this.component.view.popupEnabled = this.previousViewPopupEnabled, this.previousViewPopupEnabled = void 0);
132
+ }
133
+ async _handleOpenPopup(o) {
134
+ if (this._assignDefaultPopup(), !this.component.popupDisabled) {
135
+ this._maybeDisableViewPopup();
136
+ try {
137
+ this.popupElement && await this.openPopup({
138
+ fetchFeatures: !0,
139
+ location: { x: o.x, y: o.y }
140
+ });
141
+ } finally {
142
+ this._maybeResetViewPopup();
143
+ }
144
+ }
145
+ }
146
+ _handleFocusRegionSelect(o) {
147
+ queueMicrotask(() => {
148
+ const { focusRegion: e } = this.component.view;
149
+ !o.defaultPrevented && e && this.openPopup({ fetchFeatures: !0, location: e });
150
+ });
151
+ }
152
+ _handlePopupSlotChange(o) {
153
+ const e = S(o.target, "arcgis-popup");
154
+ !this.popupElement && e.length ? this.popupElement = e[0] : e.length || (this.popupElement = void 0);
155
+ }
156
+ _webGLErrorAlert() {
157
+ return this.webGLError ? b`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
158
+ }
159
+ //#endregion
160
+ //#region Rendering
161
+ render() {
162
+ return L({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (o) => this._handlePopupSlotChange(o), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
163
+ }
164
+ }
165
+ function I(n) {
166
+ _((o, e) => {
167
+ const t = () => {
168
+ if (n.attributionMode !== "auto")
169
+ return;
170
+ const i = G(n.el);
171
+ n.view.attributionMode !== i && (n.view.attributionMode = i);
172
+ };
173
+ e.onLifecycle(() => (t(), F(n.el, ["class"], t))), e.onUpdate((i) => {
174
+ i.has("attributionMode") && n.attributionMode === "auto" && t();
175
+ });
176
+ });
177
+ }
178
+ const J = f((n, o) => {
179
+ const e = d();
180
+ return o.onLifecycle(
181
+ () => s(
182
+ () => {
183
+ const { map: t } = n;
184
+ if (!t || t.destroyed)
185
+ return [];
186
+ const i = [];
187
+ return t.loadError && i.push(t), t.basemap?.loadError && i.push(t.basemap), t.ground.loadError && i.push(t.ground), [...t.allLayers, ...t.allTables].forEach((p) => {
188
+ p.loadError && i.push(p);
189
+ }), i;
190
+ },
191
+ (t) => {
192
+ t.length && (n.loadErrorSources = t, e.emit());
193
+ }
194
+ )
195
+ ), e;
196
+ }), Q = f(
197
+ (n, o) => {
198
+ const e = d();
199
+ return o.onLifecycle(
200
+ () => s(
201
+ () => n.view?.readyState,
202
+ (t) => {
203
+ (t === "map-content-error" || t === "rendering-error") && e.emit();
204
+ }
205
+ )
206
+ ), e;
207
+ }
208
+ );
209
+ export {
210
+ B as U,
211
+ Q as a,
212
+ I as b,
213
+ J as u
214
+ };
@@ -0,0 +1,116 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type AttachmentElementInput from "@arcgis/core/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js";
3
+ import type AttachmentInfo from "@arcgis/core/rest/query/support/AttachmentInfo.js";
4
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
6
+
7
+ /**
8
+ * Displays the attachment add/replace page. Composes a file-picker,
9
+ * validation notices, and information about the file to be replaced,
10
+ * if any.
11
+ *
12
+ * @internal
13
+ */
14
+ export abstract class ArcgisAddAttachmentView extends LitElement {
15
+ /** @internal */
16
+ protected _messages: Partial<{
17
+ componentLabel: string;
18
+ components: { attachments: {
19
+ "attachment-validation-view": { validations: {
20
+ errorFileUnsupported: string;
21
+ maximumAudioLength: string;
22
+ maximumImageSize: string;
23
+ maximumFileSize: string;
24
+ maximumNumberOfFiles: string;
25
+ maximumVideoLength: string;
26
+ minimumNumberOfFiles: string;
27
+ }; };
28
+ "add-attachment-view": {
29
+ captureMethodNotSupported: string;
30
+ fileToBeReplaced: string;
31
+ heading: string;
32
+ };
33
+ }; };
34
+ units: { bytes: {
35
+ B: string;
36
+ kB: string;
37
+ MB: string;
38
+ GB: string;
39
+ TB: string;
40
+ }; };
41
+ differentValuesPlaceholder: string;
42
+ empty: string;
43
+ }> & T9nMeta<{
44
+ componentLabel: string;
45
+ components: { attachments: {
46
+ "attachment-validation-view": { validations: {
47
+ errorFileUnsupported: string;
48
+ maximumAudioLength: string;
49
+ maximumImageSize: string;
50
+ maximumFileSize: string;
51
+ maximumNumberOfFiles: string;
52
+ maximumVideoLength: string;
53
+ minimumNumberOfFiles: string;
54
+ }; };
55
+ "add-attachment-view": {
56
+ captureMethodNotSupported: string;
57
+ fileToBeReplaced: string;
58
+ heading: string;
59
+ };
60
+ }; };
61
+ units: { bytes: {
62
+ B: string;
63
+ kB: string;
64
+ MB: string;
65
+ GB: string;
66
+ TB: string;
67
+ }; };
68
+ differentValuesPlaceholder: string;
69
+ empty: string;
70
+ }>;
71
+ /**
72
+ * The attachment to replace, if any. If this is defined,
73
+ * only single-file upload is supported, and the page renders
74
+ * a 'replace' experience.
75
+ */
76
+ accessor attachment: AttachmentInfo | undefined;
77
+ /** @default false */
78
+ accessor formDisabled: boolean;
79
+ accessor input: AttachmentElementInputLike | undefined;
80
+ accessor messageOverrides: {
81
+ componentLabel?: string | undefined;
82
+ components?: { attachments?: {
83
+ "attachment-validation-view"?: { validations?: {
84
+ errorFileUnsupported?: string | undefined;
85
+ maximumAudioLength?: string | undefined;
86
+ maximumImageSize?: string | undefined;
87
+ maximumFileSize?: string | undefined;
88
+ maximumNumberOfFiles?: string | undefined;
89
+ maximumVideoLength?: string | undefined;
90
+ minimumNumberOfFiles?: string | undefined;
91
+ } | undefined; } | undefined;
92
+ "add-attachment-view"?: {
93
+ captureMethodNotSupported?: string | undefined;
94
+ fileToBeReplaced?: string | undefined;
95
+ heading?: string | undefined;
96
+ } | undefined;
97
+ } | undefined; } | undefined;
98
+ units?: { bytes?: {
99
+ B?: string | undefined;
100
+ kB?: string | undefined;
101
+ MB?: string | undefined;
102
+ GB?: string | undefined;
103
+ TB?: string | undefined;
104
+ } | undefined; } | undefined;
105
+ differentValuesPlaceholder?: string | undefined;
106
+ empty?: string | undefined;
107
+ };
108
+ /** @internal */
109
+ readonly arcgisFilesSelect: import("@arcgis/lumina").TargetedEvent<this, { files: File[]; }>;
110
+ readonly "@eventTypes": {
111
+ arcgisFilesSelect: ArcgisAddAttachmentView["arcgisFilesSelect"]["detail"];
112
+ };
113
+ }
114
+
115
+ /** @internal */
116
+ export type AttachmentElementInputLike = Pick<AttachmentElementInput, "addDisabled" | "categories" | "editable" | "effectiveAttachmentCount" | "hasUnsupportedFileTypeValidationError" | "input" | "isCaptureOnly" | "maxAttachmentCount" | "minAttachmentCount" | "validationCriterionStates">;
@@ -0,0 +1,43 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c as u } from "../../chunks/runtime.js";
3
+ import { css as f, html as a } from "lit";
4
+ import { LitElement as h, createEvent as p } from "@arcgis/lumina";
5
+ import { u as g } from "../../chunks/useT9n.js";
6
+ import { f as v } from "../../chunks/formattingUtils.js";
7
+ const b = f`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`;
8
+ class $ extends h {
9
+ constructor() {
10
+ super(...arguments), this._messages = g({ name: "feature-form-next" }), this.formDisabled = !1, this.arcgisFilesSelect = p();
11
+ }
12
+ static {
13
+ this.properties = { _effectiveDisabled: 16, input: 0, attachment: 0, formDisabled: 5, messageOverrides: 0 };
14
+ }
15
+ static {
16
+ this.styles = b;
17
+ }
18
+ get _effectiveDisabled() {
19
+ return this.formDisabled ? !0 : this.attachment ? !this.input?.editable : this.input?.addDisabled !== !1;
20
+ }
21
+ get _multipleEnabled() {
22
+ if (this.attachment)
23
+ return !1;
24
+ if (!this.input)
25
+ return !0;
26
+ const { maxAttachmentCount: e, effectiveAttachmentCount: t } = this.input;
27
+ return e == null ? !0 : t < e - 1;
28
+ }
29
+ _handleFilesSelect(e) {
30
+ e.stopPropagation(), this.arcgisFilesSelect.emit({ files: e.detail.files });
31
+ }
32
+ render() {
33
+ const { _effectiveDisabled: e, input: t, _multipleEnabled: l, attachment: i } = this;
34
+ if (!t)
35
+ return;
36
+ const { units: n } = this._messages, s = this._messages.components?.attachments?.["add-attachment-view"], c = !!this.attachment, r = c && i ? a`<calcite-label>${s?.fileToBeReplaced}<calcite-card><div slot=heading>${i.name}</div><div slot=description>${n?.bytes ? v(n, i.size) : ""}</div></calcite-card></calcite-label>` : void 0, o = c ? "refresh" : "upload", d = !c, m = t.isCaptureOnly ? a`<calcite-notice data-testid=notice icon kind=warning open scale=s width=full><div slot=message>${s?.captureMethodNotSupported}</div></calcite-notice>` : a`<arcgis-file-picker data-testid=filepicker .disabled=${e} .fileTypeCategories=${t.categories} .heading=${i ? s?.heading : void 0} .icon=${o} .multipleEnabled=${l} @arcgisFilesSelect=${this._handleFilesSelect}></arcgis-file-picker><arcgis-attachment-validation-view data-testid=validations .includeCountCriteria=${d} .input=${t}></arcgis-attachment-validation-view>${r}`;
37
+ return a`<div class="container" data-testid=add-attachment-view-root>${m}</div>`;
38
+ }
39
+ }
40
+ u("arcgis-add-attachment-view", $);
41
+ export {
42
+ $ as ArcgisAddAttachmentView
43
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-card";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "../arcgis-file-picker/index.js";
5
+ import "../arcgis-attachment-validation-view/index.js";
6
+ export * from "./customElement.js";
@@ -125,7 +125,7 @@ class R extends f {
125
125
  return c`<div aria-label=${e.componentLabel ?? v} class=${x({
126
126
  [g.widget]: !0,
127
127
  [g.panel]: !0
128
- })} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
128
+ })} role=region><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
129
129
  {
130
130
  title: e.area,
131
131
  measurement: s.area
@@ -12,15 +12,22 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
12
12
  /** @internal */
13
13
  protected _messages: {
14
14
  componentLabel: string;
15
- components: { attachments: { "attachment-validation-view": { validations: {
16
- errorFileUnsupported: string;
17
- maximumAudioLength: string;
18
- maximumImageSize: string;
19
- maximumFileSize: string;
20
- maximumNumberOfFiles: string;
21
- maximumVideoLength: string;
22
- minimumNumberOfFiles: string;
23
- }; }; }; };
15
+ components: { attachments: {
16
+ "attachment-validation-view": { validations: {
17
+ errorFileUnsupported: string;
18
+ maximumAudioLength: string;
19
+ maximumImageSize: string;
20
+ maximumFileSize: string;
21
+ maximumNumberOfFiles: string;
22
+ maximumVideoLength: string;
23
+ minimumNumberOfFiles: string;
24
+ }; };
25
+ "add-attachment-view": {
26
+ captureMethodNotSupported: string;
27
+ fileToBeReplaced: string;
28
+ heading: string;
29
+ };
30
+ }; };
24
31
  units: { bytes: {
25
32
  B: string;
26
33
  kB: string;
@@ -32,15 +39,22 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
32
39
  empty: string;
33
40
  } & T9nMeta<{
34
41
  componentLabel: string;
35
- components: { attachments: { "attachment-validation-view": { validations: {
36
- errorFileUnsupported: string;
37
- maximumAudioLength: string;
38
- maximumImageSize: string;
39
- maximumFileSize: string;
40
- maximumNumberOfFiles: string;
41
- maximumVideoLength: string;
42
- minimumNumberOfFiles: string;
43
- }; }; }; };
42
+ components: { attachments: {
43
+ "attachment-validation-view": { validations: {
44
+ errorFileUnsupported: string;
45
+ maximumAudioLength: string;
46
+ maximumImageSize: string;
47
+ maximumFileSize: string;
48
+ maximumNumberOfFiles: string;
49
+ maximumVideoLength: string;
50
+ minimumNumberOfFiles: string;
51
+ }; };
52
+ "add-attachment-view": {
53
+ captureMethodNotSupported: string;
54
+ fileToBeReplaced: string;
55
+ heading: string;
56
+ };
57
+ }; };
44
58
  units: { bytes: {
45
59
  B: string;
46
60
  kB: string;
@@ -56,15 +70,22 @@ export abstract class ArcgisAttachmentValidationView extends LitElement {
56
70
  accessor input: AttachmentElementInputLike | undefined;
57
71
  accessor messageOverrides: {
58
72
  componentLabel?: string | undefined;
59
- components?: { attachments?: { "attachment-validation-view"?: { validations?: {
60
- errorFileUnsupported?: string | undefined;
61
- maximumAudioLength?: string | undefined;
62
- maximumImageSize?: string | undefined;
63
- maximumFileSize?: string | undefined;
64
- maximumNumberOfFiles?: string | undefined;
65
- maximumVideoLength?: string | undefined;
66
- minimumNumberOfFiles?: string | undefined;
67
- } | undefined; } | undefined; } | undefined; } | undefined;
73
+ components?: { attachments?: {
74
+ "attachment-validation-view"?: { validations?: {
75
+ errorFileUnsupported?: string | undefined;
76
+ maximumAudioLength?: string | undefined;
77
+ maximumImageSize?: string | undefined;
78
+ maximumFileSize?: string | undefined;
79
+ maximumNumberOfFiles?: string | undefined;
80
+ maximumVideoLength?: string | undefined;
81
+ minimumNumberOfFiles?: string | undefined;
82
+ } | undefined; } | undefined;
83
+ "add-attachment-view"?: {
84
+ captureMethodNotSupported?: string | undefined;
85
+ fileToBeReplaced?: string | undefined;
86
+ heading?: string | undefined;
87
+ } | undefined;
88
+ } | undefined; } | undefined;
68
89
  units?: { bytes?: {
69
90
  B?: string | undefined;
70
91
  kB?: string | undefined;
@@ -1,75 +1,65 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as f } from "../../chunks/runtime.js";
3
- import { css as h, html as o } from "lit";
4
- import { LitElement as g } from "@arcgis/lumina";
5
- import { u as d } from "../../chunks/useT9n.js";
6
- import { formatNumber as u, formatDate as p } from "@arcgis/core/intl.js";
7
- import { replace as l } from "@arcgis/core/applications/Components/stringUtils.js";
8
- import { clamp as x } from "@arcgis/toolkit/number";
9
- function y(a, t = !0) {
2
+ import { c as r } from "../../chunks/runtime.js";
3
+ import { css as u, html as n } from "lit";
4
+ import { LitElement as l } from "@arcgis/lumina";
5
+ import { u as c } from "../../chunks/useT9n.js";
6
+ import { formatNumber as f, formatDate as h } from "@arcgis/core/intl.js";
7
+ import { f as d, S as g } from "../../chunks/formattingUtils.js";
8
+ import { replace as p } from "@arcgis/core/applications/Components/stringUtils.js";
9
+ function x(m, t = !0) {
10
10
  const e = [];
11
- if (!a)
11
+ if (!m)
12
12
  return e;
13
- const i = a.validationCriterionStates, n = a.input, c = n?.type === "attachment" ? n.inputTypes?.slice() ?? [] : n == null ? [] : [n];
14
- a.hasUnsupportedFileTypeValidationError && e.push({
13
+ const i = m.validationCriterionStates, s = m.input, o = s?.type === "attachment" ? s.inputTypes?.slice() ?? [] : s == null ? [] : [s];
14
+ m.hasUnsupportedFileTypeValidationError && e.push({
15
15
  key: "errorFileUnsupported",
16
16
  state: "danger"
17
17
  });
18
- for (const m of c)
19
- m.type === "document" && m.maxFileSize != null && e.push({
18
+ for (const a of o)
19
+ a.type === "document" && a.maxFileSize != null && e.push({
20
20
  key: "maximumFileSize",
21
- messageDataValue: m.maxFileSize,
21
+ messageDataValue: a.maxFileSize,
22
22
  state: i.get("maximum-file-size") ?? "info"
23
- }), m.type === "audio" && m.maxDuration != null && e.push({
23
+ }), a.type === "audio" && a.maxDuration != null && e.push({
24
24
  key: "maximumAudioLength",
25
- messageDataValue: m.maxDuration,
25
+ messageDataValue: a.maxDuration,
26
26
  state: i.get("maximum-audio-length") ?? "info"
27
- }), m.type === "video" && m.maxDuration != null && e.push({
27
+ }), a.type === "video" && a.maxDuration != null && e.push({
28
28
  key: "maximumVideoLength",
29
- messageDataValue: m.maxDuration,
29
+ messageDataValue: a.maxDuration,
30
30
  state: i.get("maximum-video-length") ?? "info"
31
- }), m.type === "image" && m.maxImageSize != null && e.push({
31
+ }), a.type === "image" && a.maxImageSize != null && e.push({
32
32
  key: "maximumImageSize",
33
- messageDataValue: m.maxImageSize,
33
+ messageDataValue: a.maxImageSize,
34
34
  state: i.get("maximum-image-size") ?? "info"
35
35
  });
36
- return t && a.minAttachmentCount != null && a.minAttachmentCount > 0 && e.push({
36
+ return t && m.minAttachmentCount != null && m.minAttachmentCount > 0 && e.push({
37
37
  key: "minimumNumberOfFiles",
38
- messageDataValue: a.minAttachmentCount,
38
+ messageDataValue: m.minAttachmentCount,
39
39
  state: i.get("minimum-number-of-files") ?? "info"
40
- }), t && a.maxAttachmentCount != null && e.push({
40
+ }), t && m.maxAttachmentCount != null && e.push({
41
41
  key: "maximumNumberOfFiles",
42
- messageDataValue: a.maxAttachmentCount,
42
+ messageDataValue: m.maxAttachmentCount,
43
43
  state: i.get("maximum-number-of-files") ?? "info"
44
44
  }), e;
45
45
  }
46
- const z = h`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`, r = ["B", "kB", "MB", "GB", "TB"], s = {
47
- Kilobytes: 1024,
48
- Megabytes: 1024 * 1024
49
- };
50
- function D(a, t) {
51
- t = Math.round(t);
52
- let e = t === 0 ? 0 : Math.floor(Math.log(t) / Math.log(s.Kilobytes));
53
- e = x(e, 0, r.length - 1);
54
- const i = u(t / s.Kilobytes ** e, { maximumFractionDigits: 2 });
55
- return l(a.bytes[r[e]], { fileSize: i });
56
- }
57
- class C extends g {
46
+ const y = u`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`;
47
+ class z extends l {
58
48
  constructor() {
59
- super(...arguments), this._messages = d({ blocking: !0, name: "feature-form-next" }), this.includeCountCriteria = !1;
49
+ super(...arguments), this._messages = c({ blocking: !0, name: "feature-form-next" }), this.includeCountCriteria = !1;
60
50
  }
61
51
  static {
62
52
  this.properties = { includeCountCriteria: 5, input: 0, messageOverrides: 0 };
63
53
  }
64
54
  static {
65
- this.styles = z;
55
+ this.styles = y;
66
56
  }
67
57
  _localize(t) {
68
58
  const e = this._messages?.components?.attachments?.["attachment-validation-view"]?.validations?.[t.key];
69
59
  if (!e)
70
60
  return "";
71
61
  const i = this._formatValidationContent(t) ?? "";
72
- return l(e, { value: i });
62
+ return p(e, { value: i });
73
63
  }
74
64
  _formatValidationContent(t) {
75
65
  const e = t.messageDataValue;
@@ -82,13 +72,13 @@ class C extends g {
82
72
  case "maximumVideoLength":
83
73
  return this._formatAttachmentDurationLimit(e);
84
74
  case "maximumImageSize":
85
- return u(e, { maximumFractionDigits: 0, minimumFractionDigits: 0, useGrouping: !1 });
75
+ return f(e, { maximumFractionDigits: 0, minimumFractionDigits: 0, useGrouping: !1 });
86
76
  default:
87
77
  return `${e}`;
88
78
  }
89
79
  }
90
80
  _formatAttachmentDurationLimit(t) {
91
- return p(Math.round(t) * 1e3, {
81
+ return h(Math.round(t) * 1e3, {
92
82
  ...t >= 3600 ? { hour: "2-digit", hourCycle: "h23" } : {},
93
83
  minute: "2-digit",
94
84
  second: "2-digit",
@@ -96,14 +86,14 @@ class C extends g {
96
86
  });
97
87
  }
98
88
  _formatAttachmentSize(t) {
99
- return D(this._messages.units, t * s.Megabytes);
89
+ return d(this._messages.units, t * g.Megabytes);
100
90
  }
101
91
  render() {
102
- const e = y(this.input, this.includeCountCriteria).map((i) => o`<calcite-notice appearance=outline-fill data-testid=${`notice-${i.key}`} icon .kind=${i.state} open scale=s width=full><div slot=message>${this._localize(i)}</div></calcite-notice>`);
103
- return o`<div class="container" data-testid=root>${e}</div>`;
92
+ const e = x(this.input, this.includeCountCriteria).map((i) => n`<calcite-notice appearance=outline-fill data-testid=${`notice-${i.key}`} icon .kind=${i.state} open scale=s width=full><div slot=message>${this._localize(i)}</div></calcite-notice>`);
93
+ return n`<div class="container" data-testid=root>${e}</div>`;
104
94
  }
105
95
  }
106
- f("arcgis-attachment-validation-view", C);
96
+ r("arcgis-attachment-validation-view", z);
107
97
  export {
108
- C as ArcgisAttachmentValidationView
98
+ z as ArcgisAttachmentValidationView
109
99
  };
@@ -0,0 +1,25 @@
1
+ import type Basemap from "@arcgis/core/Basemap.js";
2
+ import type Accessor from "@arcgis/core/core/Accessor.js";
3
+ import type { BasemapProperties } from "@arcgis/core/Basemap.js";
4
+ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
5
+
6
+ export interface BasemapToggleViewModelProperties extends Partial<Pick<BasemapToggleViewModel, "view">> {
7
+ nextBasemap: BasemapProperties | null | undefined | string;
8
+ }
9
+
10
+ /** @internal */
11
+ export default class BasemapToggleViewModel extends Accessor {
12
+ /** @param basemap */
13
+ static getThumbnailUrl(basemap: Basemap | null | undefined): null | undefined | string;
14
+ constructor(properties?: BasemapToggleViewModelProperties);
15
+ get activeBasemap(): Basemap | null | undefined;
16
+ get nextBasemap(): Basemap | null | undefined;
17
+ set nextBasemap(value: BasemapProperties | null | undefined | string);
18
+ get state(): BasemapToggleViewModelState;
19
+ accessor view: MapViewOrSceneView | undefined;
20
+ destroy(): void;
21
+ protected initialize(): void;
22
+ toggle(): Promise<void>;
23
+ }
24
+
25
+ export type BasemapToggleViewModelState = "disabled" | "incompatible-next-basemap" | "loading" | "ready";