@arcgis/map-components 5.0.0-next.97 → 5.0.0-next.99

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 (471) hide show
  1. package/dist/cdn/{4RSZZ74M.js → 2DGI5UYX.js} +2 -2
  2. package/dist/cdn/{G7HKWVBC.js → 2R7MNJA2.js} +2 -2
  3. package/dist/cdn/{VI7MYJNY.js → 2SKKF2NH.js} +1 -1
  4. package/dist/cdn/{JVI2EGLB.js → 33HGWB5I.js} +2 -2
  5. package/dist/cdn/{Q43AWYPP.js → 3BDHIPCH.js} +2 -2
  6. package/dist/cdn/{Q3OONQVK.js → 3D3H3GIL.js} +1 -1
  7. package/dist/cdn/{JAM6HIZ2.js → 3DB4PZBA.js} +2 -2
  8. package/dist/cdn/{D2HK2Z3I.js → 3N4NFTYH.js} +2 -2
  9. package/dist/cdn/{3SWCEQHP.js → 4E5JRSGM.js} +2 -2
  10. package/dist/cdn/{ZLGAOEIJ.js → 4GX3ASA2.js} +2 -2
  11. package/dist/cdn/{IJLIMVRO.js → 4JSE3AHY.js} +2 -2
  12. package/dist/cdn/{2YS5NMMK.js → 4KU75YX7.js} +2 -2
  13. package/dist/cdn/{WXMXUIFO.js → 53I7V52Y.js} +2 -2
  14. package/dist/cdn/{YOHNICWT.js → 5CXEDBFM.js} +2 -2
  15. package/dist/cdn/{HLN3LO47.js → 5G4PBY5U.js} +2 -2
  16. package/dist/cdn/{UHRT6TGG.js → 5GNFQ33V.js} +2 -2
  17. package/dist/cdn/{NAJISVHO.js → 5LOJCEQL.js} +2 -2
  18. package/dist/cdn/{NWA6T6LB.js → 5WAPNWH3.js} +2 -2
  19. package/dist/cdn/{S66GX57Y.js → 5ZRL66KF.js} +2 -2
  20. package/dist/cdn/{FSYLQ2WK.js → 5ZY5ZBN7.js} +2 -2
  21. package/dist/cdn/{H5SQ36RW.js → 63WOTDUZ.js} +2 -2
  22. package/dist/cdn/{5PI6PBFT.js → 64GJIJTL.js} +2 -2
  23. package/dist/cdn/{HNTIEY25.js → 65T5ZOSR.js} +2 -2
  24. package/dist/cdn/{KRXHEWNQ.js → 66ZZWS6L.js} +2 -2
  25. package/dist/cdn/{3NEYISDK.js → 6CFWLOO3.js} +2 -2
  26. package/dist/cdn/{XKO2JKCR.js → 6DX7IY37.js} +2 -2
  27. package/dist/cdn/{WV5KOELF.js → 6HAZEU62.js} +2 -2
  28. package/dist/cdn/{XWP4QADZ.js → 6N5RABGB.js} +2 -2
  29. package/dist/cdn/{LRWMBJRO.js → 6TRH3Z4V.js} +2 -2
  30. package/dist/cdn/{RESVBV7L.js → 6TVZQPA6.js} +2 -2
  31. package/dist/cdn/{7BTCK3KT.js → 736NZFKN.js} +2 -2
  32. package/dist/cdn/{RODZPEXZ.js → 74UV2RUE.js} +2 -2
  33. package/dist/cdn/{XTI6RSEM.js → 75BJZAPU.js} +2 -2
  34. package/dist/cdn/{VHPLCHCU.js → 7C7PBZUN.js} +2 -2
  35. package/dist/cdn/{T2XVUQBG.js → 7F5MVVAA.js} +2 -2
  36. package/dist/cdn/{IYF5IEIC.js → 7GJ6CZNS.js} +2 -2
  37. package/dist/cdn/{TJ5RI2YH.js → 7HEOBYXL.js} +2 -2
  38. package/dist/cdn/{23IQWN6P.js → 7PWARBJN.js} +2 -2
  39. package/dist/cdn/{TJJZS5LJ.js → ACC3K5AF.js} +2 -2
  40. package/dist/cdn/{UKLVH22U.js → AD3KFAKH.js} +2 -2
  41. package/dist/cdn/{YYIR232N.js → AM7NQ3NE.js} +1 -1
  42. package/dist/cdn/{RFRZK6AF.js → AOGSM52R.js} +2 -2
  43. package/dist/cdn/{NWUSAZEH.js → APMSMLQY.js} +2 -2
  44. package/dist/cdn/{4EH6HFUR.js → AUPLCHQ4.js} +2 -2
  45. package/dist/cdn/{7TWFXZCB.js → B4G76PWN.js} +2 -2
  46. package/dist/cdn/{GYPWQXWM.js → B7MKGRF2.js} +2 -2
  47. package/dist/cdn/{3QOLDEQT.js → BGC46RIF.js} +2 -2
  48. package/dist/cdn/{6XDLD4KQ.js → BGJACPT7.js} +2 -2
  49. package/dist/cdn/{WCEKYYON.js → BNVLR6IK.js} +2 -2
  50. package/dist/cdn/{2NUV3GCT.js → BOAEW3NB.js} +2 -2
  51. package/dist/cdn/{NWAXSHRG.js → BU2OCDYA.js} +2 -2
  52. package/dist/cdn/BYTKHFPT.js +4 -0
  53. package/dist/cdn/{KEQ5XIE6.js → CAUFBJIX.js} +2 -2
  54. package/dist/cdn/{D4SU3PMN.js → COTUQQ7A.js} +2 -2
  55. package/dist/cdn/{TZMTB62K.js → CQVKTWRM.js} +2 -2
  56. package/dist/cdn/{4MHHFEON.js → D5J5PQZY.js} +2 -2
  57. package/dist/cdn/{U2N26ICF.js → D5O6B3Y3.js} +2 -2
  58. package/dist/cdn/{4VXGNQCN.js → D6JGIKOW.js} +2 -2
  59. package/dist/cdn/{X5BEOD5N.js → DBJP5UDP.js} +2 -2
  60. package/dist/cdn/{ML5ZWKQY.js → DDJSUV73.js} +2 -2
  61. package/dist/cdn/{RFTHLGGM.js → DHJV2H2G.js} +2 -2
  62. package/dist/cdn/DWQZXUXR.js +4 -0
  63. package/dist/cdn/{AKLK2L47.js → DY5TQ32C.js} +2 -2
  64. package/dist/cdn/{PMPP6FJF.js → E4DICFVM.js} +2 -2
  65. package/dist/cdn/{A2BADTQF.js → E4T3O3ZS.js} +2 -2
  66. package/dist/cdn/{SFXSDVNW.js → E53R7MWL.js} +1 -1
  67. package/dist/cdn/{SKFZJ6YS.js → EAOH4V3Q.js} +2 -2
  68. package/dist/cdn/{24QJAXEY.js → EBL2K7PS.js} +2 -2
  69. package/dist/cdn/{HPYGJKZH.js → ERILZ54F.js} +2 -2
  70. package/dist/cdn/{D5OSJTTD.js → EXABNQKD.js} +2 -2
  71. package/dist/cdn/{6P6GJW4W.js → EXMK6ER2.js} +1 -1
  72. package/dist/cdn/{5MIWHCZ3.js → EYTG2BZF.js} +2 -2
  73. package/dist/cdn/{DRGX24AI.js → F6BHCEAQ.js} +1 -1
  74. package/dist/cdn/{3U3BVGJE.js → FCCJPPXM.js} +2 -2
  75. package/dist/cdn/{FF7CWK7M.js → FDD7FM45.js} +2 -2
  76. package/dist/cdn/{QT65MCWQ.js → FLAIPVET.js} +2 -2
  77. package/dist/cdn/{EAYNL77W.js → FNC2QRTA.js} +2 -2
  78. package/dist/cdn/FOM65BSO.js +9 -0
  79. package/dist/cdn/{ODIQZSIZ.js → FSVAWVAL.js} +2 -2
  80. package/dist/cdn/{37YVBFHX.js → FZWGGJFK.js} +2 -2
  81. package/dist/cdn/{QKMK6XOC.js → G5CNZTEL.js} +1 -1
  82. package/dist/cdn/{LIYSS3BA.js → G65PODU6.js} +2 -2
  83. package/dist/cdn/{Q4YMQE55.js → GBCCOZLU.js} +2 -2
  84. package/dist/cdn/{2DNALKBZ.js → GDSL45AS.js} +2 -2
  85. package/dist/cdn/{VPN6AJD3.js → GKNYL7BT.js} +2 -2
  86. package/dist/cdn/GRE52X4J.js +4 -0
  87. package/dist/cdn/{G364P3RJ.js → GSCOZDJX.js} +2 -2
  88. package/dist/cdn/{ERD6XSY7.js → GSRNBSOY.js} +2 -2
  89. package/dist/cdn/GYLOR57W.js +4 -0
  90. package/dist/cdn/{7OXWBYQF.js → H2GO4635.js} +2 -2
  91. package/dist/cdn/{IRG4ZJLQ.js → H4PVA4HH.js} +2 -2
  92. package/dist/cdn/{466CNX7U.js → H5JAHZUY.js} +2 -2
  93. package/dist/cdn/{J7XRXZGX.js → H5PYPKWD.js} +2 -2
  94. package/dist/cdn/H6G6APH4.js +4 -0
  95. package/dist/cdn/{LGM4474T.js → H7GMNPTS.js} +2 -2
  96. package/dist/cdn/{K7SKIUXL.js → H7Z2RIRL.js} +2 -2
  97. package/dist/cdn/{SSOEOTK2.js → HCVJAV2X.js} +2 -2
  98. package/dist/cdn/{67HJ2Z2O.js → HDEK5ZL6.js} +2 -2
  99. package/dist/cdn/HHTDY27H.js +4 -0
  100. package/dist/cdn/{CP2RQPXW.js → HHYKMA7Q.js} +2 -2
  101. package/dist/cdn/{OZTULARO.js → HI3M64EY.js} +2 -2
  102. package/dist/cdn/{PCYF3FIJ.js → HJ7H5JWV.js} +2 -2
  103. package/dist/cdn/{GUPMSJZM.js → HPQOOV3Y.js} +2 -2
  104. package/dist/cdn/{5EECQQSH.js → HQANF5PZ.js} +2 -2
  105. package/dist/cdn/{KTJ4YGLQ.js → HQYQOJIT.js} +2 -2
  106. package/dist/cdn/{NFMMXNKI.js → HRCVUNXE.js} +1 -1
  107. package/dist/cdn/{FCODLLLS.js → I2UBP43S.js} +2 -2
  108. package/dist/cdn/{RSDXDL6B.js → I5JIPTE4.js} +2 -2
  109. package/dist/cdn/{YGOADIJ3.js → IASUBI6T.js} +2 -2
  110. package/dist/cdn/{Z7ZIZRVR.js → IFEPX7UC.js} +2 -2
  111. package/dist/cdn/{R3CKFTEY.js → IKMODDEA.js} +2 -2
  112. package/dist/cdn/{HXHOX65U.js → IN5YV5HF.js} +1 -1
  113. package/dist/cdn/IOK74AI4.js +4 -0
  114. package/dist/cdn/{7BGXTY4J.js → IQT2SUIX.js} +2 -2
  115. package/dist/cdn/{WQPFK4PW.js → IT2TCWQP.js} +2 -2
  116. package/dist/cdn/{GHHRPO6P.js → IZ5OR4NF.js} +2 -2
  117. package/dist/cdn/{V26EXOON.js → JA5VQX5F.js} +2 -2
  118. package/dist/cdn/{G6A74MUL.js → JIZKVYS3.js} +2 -2
  119. package/dist/cdn/{4MPXICUP.js → JM7M72QK.js} +2 -2
  120. package/dist/cdn/{AVVKE5J4.js → JSO527A6.js} +2 -2
  121. package/dist/cdn/{35ODREWU.js → JVMQUCJZ.js} +2 -2
  122. package/dist/cdn/JYESQEIF.js +4 -0
  123. package/dist/cdn/{G7K5M67L.js → JYQB6OBN.js} +2 -2
  124. package/dist/cdn/{JITN4LRX.js → K7OEAU3B.js} +2 -2
  125. package/dist/cdn/{G4CT2VXR.js → KAZKCFDH.js} +2 -2
  126. package/dist/cdn/KDH5I5HL.js +4 -0
  127. package/dist/cdn/{GHWYJMEG.js → KJEUZJXN.js} +2 -2
  128. package/dist/cdn/{3SNE44XH.js → KLNGVV6Q.js} +2 -2
  129. package/dist/cdn/{NTCFQYJQ.js → KMZRQMAL.js} +1 -1
  130. package/dist/cdn/{LRVXB6JS.js → KOGHUA6Y.js} +2 -2
  131. package/dist/cdn/{35B5TLZR.js → KS7AV2RB.js} +2 -2
  132. package/dist/cdn/{WRORWPOY.js → KSC7ZPRZ.js} +2 -2
  133. package/dist/cdn/{N6PIS3V5.js → KVFBFVG2.js} +2 -2
  134. package/dist/cdn/{4AV2GXSL.js → KWAGGSDZ.js} +1 -1
  135. package/dist/cdn/{M2VRCBN2.js → LHUA5KVA.js} +2 -2
  136. package/dist/cdn/{AJIAVJX5.js → LO753PY7.js} +2 -2
  137. package/dist/cdn/{S3HHSFJR.js → LSHT2EGH.js} +2 -2
  138. package/dist/cdn/{LPGJL5YA.js → LSXXEN4A.js} +2 -2
  139. package/dist/cdn/{BDSG7MKU.js → LWG7CKJZ.js} +2 -2
  140. package/dist/cdn/{CCY4HPPF.js → LYSFTL7Z.js} +1 -1
  141. package/dist/cdn/{G5H4IVRO.js → M7YYA7NM.js} +1 -1
  142. package/dist/cdn/{PNEYSIEZ.js → MAH6LRDG.js} +2 -2
  143. package/dist/cdn/{LVKVXCX6.js → MJ3TLG4N.js} +2 -2
  144. package/dist/cdn/{TBAIYGPK.js → MWGAKZCI.js} +2 -2
  145. package/dist/cdn/{3BT4BVMM.js → N43BYLHY.js} +2 -2
  146. package/dist/cdn/{ATUDOH54.js → NARXK34C.js} +2 -2
  147. package/dist/cdn/{HGQ5AM7A.js → NCG6DUG7.js} +2 -2
  148. package/dist/cdn/{EHTXG3AD.js → NH3FJXCW.js} +2 -2
  149. package/dist/cdn/{HKFFWG7K.js → NKTNAJ2O.js} +2 -2
  150. package/dist/cdn/{44SPSND4.js → NPQCC6SK.js} +2 -2
  151. package/dist/cdn/{HKGGO2YM.js → NXXL4YJG.js} +2 -2
  152. package/dist/cdn/{SG5VP4O3.js → NYCYDBVN.js} +2 -2
  153. package/dist/cdn/{47RE5AIF.js → NZ6FJNYI.js} +2 -2
  154. package/dist/cdn/{66A4Q24B.js → NZUS437W.js} +2 -2
  155. package/dist/cdn/{QTKDMEI7.js → OLH7BBVU.js} +2 -2
  156. package/dist/cdn/{EQBVWSQF.js → OMIDE525.js} +2 -2
  157. package/dist/cdn/{TE5QV3EO.js → ONDA2HBR.js} +2 -2
  158. package/dist/cdn/{T4U3JFHF.js → OO5TK362.js} +2 -2
  159. package/dist/cdn/{6SS37TQV.js → OOPJH2NF.js} +2 -2
  160. package/dist/cdn/OU54CORX.js +4 -0
  161. package/dist/cdn/{N35GRKJQ.js → OZL7UG3V.js} +2 -2
  162. package/dist/cdn/{X2OMSWER.js → P7HP6NNS.js} +2 -2
  163. package/dist/cdn/{DY24VYMM.js → PEXJQCCO.js} +2 -2
  164. package/dist/cdn/{2YKE3752.js → PLMM5RH2.js} +2 -2
  165. package/dist/cdn/{QZZNPEGJ.js → Q2WEADCE.js} +2 -2
  166. package/dist/cdn/Q4AJOY6Y.js +4 -0
  167. package/dist/cdn/{TJKCU5YZ.js → Q57W533I.js} +2 -2
  168. package/dist/cdn/{2APVFB2Y.js → QNIEGS32.js} +2 -2
  169. package/dist/cdn/{V74DKMFT.js → QPPDUT33.js} +2 -2
  170. package/dist/cdn/{OSFD7XKR.js → QS6Y4E6Y.js} +2 -2
  171. package/dist/cdn/{KOEWPJWX.js → QTEHKIWL.js} +2 -2
  172. package/dist/cdn/{B65VXX2Y.js → QUMDUONL.js} +2 -2
  173. package/dist/cdn/QVUSKQPZ.js +4 -0
  174. package/dist/cdn/{IU5FGMOA.js → RG4VZH6N.js} +2 -2
  175. package/dist/cdn/{QZVMWPWJ.js → RYVIKUWC.js} +2 -2
  176. package/dist/cdn/{UHJOENTU.js → SDFCD74V.js} +2 -2
  177. package/dist/cdn/{GUYUTB3Q.js → SIBWE6N3.js} +2 -2
  178. package/dist/cdn/{ACLQ7RH2.js → SPCF4C7M.js} +2 -2
  179. package/dist/cdn/{I4QELTDC.js → SQMPQPEB.js} +2 -2
  180. package/dist/cdn/SUUV7VRC.js +4 -0
  181. package/dist/cdn/{BIVKJILW.js → SV2XXT5O.js} +2 -2
  182. package/dist/cdn/{IN6XV2YB.js → SYEIHPPK.js} +2 -2
  183. package/dist/cdn/{G67RCGEA.js → T23I5QI6.js} +2 -2
  184. package/dist/cdn/{25BAQLQE.js → T6PUJAWM.js} +1 -1
  185. package/dist/cdn/{UICLYMMB.js → TCMWZ6WB.js} +2 -2
  186. package/dist/cdn/{UKQFBUYZ.js → THKCL2OR.js} +2 -2
  187. package/dist/cdn/{34OR4C26.js → TJ7LER7P.js} +2 -2
  188. package/dist/cdn/{M5DSXGTR.js → TUF7PAXI.js} +2 -2
  189. package/dist/cdn/{NL3GTAPB.js → U2O3MZPY.js} +2 -2
  190. package/dist/cdn/{I4LRAOFO.js → U32WDIX5.js} +2 -2
  191. package/dist/cdn/{RBGK3AYG.js → UAQ6ULZU.js} +2 -2
  192. package/dist/cdn/{UOXHYHKS.js → UG6KQNJ2.js} +2 -2
  193. package/dist/cdn/{GU6WATJQ.js → UQSQ4ITV.js} +2 -2
  194. package/dist/cdn/{W27VWCOJ.js → UTC36EJ4.js} +1 -1
  195. package/dist/cdn/{6T4ITO6A.js → V24SOY6W.js} +2 -2
  196. package/dist/cdn/{2U7B3MGR.js → V3JXEI6N.js} +2 -2
  197. package/dist/cdn/{OB6V7BNK.js → VCDBVSX7.js} +2 -2
  198. package/dist/cdn/{AWERB4XQ.js → VDATZD7O.js} +2 -2
  199. package/dist/cdn/{SSBEZKBD.js → VEMAYUSU.js} +1 -1
  200. package/dist/cdn/{NQNCOGCI.js → VIDVDG7J.js} +2 -2
  201. package/dist/cdn/{MDAMSMZG.js → VISO5ZMW.js} +2 -2
  202. package/dist/cdn/{LUT7FHBB.js → VN3KQG5V.js} +2 -2
  203. package/dist/cdn/{TU3NEFO2.js → VQRF2EZV.js} +2 -2
  204. package/dist/cdn/{7ES5KG3I.js → VT5MWEA6.js} +2 -2
  205. package/dist/cdn/{RE6DJ3UZ.js → VV3IXUET.js} +2 -2
  206. package/dist/cdn/{TFBDOL3X.js → VV4L3B36.js} +2 -2
  207. package/dist/cdn/{77LD2P4J.js → WB4AUXMC.js} +2 -2
  208. package/dist/cdn/WGU6GVBL.js +4 -0
  209. package/dist/cdn/{S7EA6APX.js → WZGJ7JZA.js} +2 -2
  210. package/dist/cdn/{367TXU7E.js → X4L436LB.js} +2 -2
  211. package/dist/cdn/{B26ROOG3.js → XDFDCZ4I.js} +2 -2
  212. package/dist/cdn/{RPMYPVX4.js → XDZNHAWF.js} +2 -2
  213. package/dist/cdn/{WR6VOTCC.js → XGUTA74S.js} +2 -2
  214. package/dist/cdn/{HT2YWNSL.js → XHBNERPQ.js} +2 -2
  215. package/dist/cdn/XONCTUD3.js +4 -0
  216. package/dist/cdn/{UJNCG5ZX.js → XPKEBNIL.js} +2 -2
  217. package/dist/cdn/{KHAMKR6F.js → YBLIMDZB.js} +2 -2
  218. package/dist/cdn/{KOWVN2VK.js → YCRDUNIK.js} +2 -2
  219. package/dist/cdn/{ULE52ISY.js → YJVDEJWS.js} +2 -2
  220. package/dist/cdn/{G3JAFIOU.js → YJYUDPDR.js} +3 -3
  221. package/dist/cdn/{ZK6ZGYTX.js → YPDEZK2W.js} +2 -2
  222. package/dist/cdn/{SZG2GJRU.js → YRU5JFPU.js} +2 -2
  223. package/dist/cdn/{J4W6WRRM.js → YYNWI2S3.js} +2 -2
  224. package/dist/cdn/{RYINNXER.js → Z24DIOHS.js} +2 -2
  225. package/dist/cdn/{XEKD3DHQ.js → Z4C5TZ2R.js} +2 -2
  226. package/dist/cdn/{KLYRI7B6.js → Z57ZHDL7.js} +2 -2
  227. package/dist/cdn/{7HJC7F22.js → ZB54UUIN.js} +2 -2
  228. package/dist/cdn/{2DRCWTIC.js → ZCJOY6I3.js} +2 -2
  229. package/dist/cdn/{DANH2FGX.js → ZCMGS45S.js} +2 -2
  230. package/dist/cdn/{OC7VTUWA.js → ZCTOQZLO.js} +2 -2
  231. package/dist/cdn/{UU3CISFU.js → ZEBBMDMI.js} +2 -2
  232. package/dist/cdn/{5V5U4YGF.js → ZJWLCOCC.js} +2 -2
  233. package/dist/cdn/{ZAFLYBCQ.js → ZK2XGOEJ.js} +2 -2
  234. package/dist/cdn/{MQHZUGJD.js → ZMNJD7AL.js} +2 -2
  235. package/dist/cdn/{24LV7OWS.js → ZMRE3NMI.js} +2 -2
  236. package/dist/cdn/{7R5MGPO7.js → ZOAQTCXH.js} +2 -2
  237. package/dist/cdn/{AD3RPI4C.js → ZVYCGLRY.js} +2 -2
  238. package/dist/cdn/{6JWSNQL6.js → ZXHYWLIK.js} +2 -2
  239. package/dist/cdn/assets/building-explorer/t9n/messages.en.json +1 -0
  240. package/dist/cdn/index.js +2 -2
  241. package/dist/cdn/main.css +1 -1
  242. package/dist/chunks/AnalysisViewModel.js +1 -1
  243. package/dist/chunks/action-utils.js +1 -1
  244. package/dist/chunks/async-utils.js +1 -1
  245. package/dist/chunks/basemap-gallery-resources.js +1 -1
  246. package/dist/chunks/building-layer-utils.js +48 -0
  247. package/dist/chunks/chart-utils.js +1 -1
  248. package/dist/chunks/chartCommon.js +1 -1
  249. package/dist/chunks/component-utils.js +1 -1
  250. package/dist/chunks/component-wrapper.js +19 -0
  251. package/dist/chunks/constants.js +27 -5
  252. package/dist/chunks/createCloseEvent.js +1 -1
  253. package/dist/chunks/esri-main.js +1 -1
  254. package/dist/chunks/feature-utils.js +1 -1
  255. package/dist/chunks/globalCss.js +1 -1
  256. package/dist/chunks/handle.js +1 -1
  257. package/dist/chunks/heading.js +1 -1
  258. package/dist/chunks/layer-list.js +1 -1
  259. package/dist/chunks/legacyIcon.js +1 -1
  260. package/dist/chunks/maybe.js +1 -1
  261. package/dist/chunks/measurementUtils.js +1 -1
  262. package/dist/chunks/runtime.js +1 -1
  263. package/dist/chunks/screenLocation.js +1 -1
  264. package/dist/chunks/slots.js +1 -1
  265. package/dist/chunks/svgUtils.js +1 -1
  266. package/dist/chunks/time-utils.js +1 -1
  267. package/dist/chunks/univariateUtils.js +1 -1
  268. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  269. package/dist/chunks/useHandles.js +1 -1
  270. package/dist/chunks/useT9n.js +1 -1
  271. package/dist/chunks/useView.js +1 -1
  272. package/dist/chunks/useViewModel.js +1 -1
  273. package/dist/chunks/useWidget.js +1 -1
  274. package/dist/chunks/utils.js +1 -1
  275. package/dist/chunks/utils2.js +1 -1
  276. package/dist/chunks/visible-element.js +1 -1
  277. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  278. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  279. package/dist/components/arcgis-attachments/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  281. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  282. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  284. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  285. package/dist/components/arcgis-building-discipline-tree/building-discipline-view-model.d.ts +76 -0
  286. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +15 -0
  287. package/dist/components/arcgis-building-discipline-tree/customElement.js +278 -0
  288. package/dist/components/arcgis-building-discipline-tree/index.d.ts +5 -0
  289. package/dist/components/arcgis-building-discipline-tree/index.js +5 -0
  290. package/dist/components/arcgis-building-discipline-tree/layer-tree-node.d.ts +80 -0
  291. package/dist/components/arcgis-building-explorer/building-filter/BuildingFilterController.d.ts +14 -0
  292. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +15 -0
  293. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +118 -0
  294. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +28 -0
  295. package/dist/components/arcgis-building-explorer/customElement.d.ts +87 -90
  296. package/dist/components/arcgis-building-explorer/customElement.js +560 -14
  297. package/dist/components/arcgis-building-explorer/index.d.ts +4 -0
  298. package/dist/components/arcgis-building-explorer/index.js +4 -0
  299. package/dist/components/arcgis-building-explorer/support/building-layer-utils.d.ts +61 -0
  300. package/dist/components/arcgis-building-explorer/support/filter-utils.d.ts +60 -0
  301. package/dist/components/arcgis-building-explorer/support/layer-utils.d.ts +8 -0
  302. package/dist/components/arcgis-building-explorer/support/types.d.ts +25 -0
  303. package/dist/components/arcgis-building-explorer/support/validation.d.ts +36 -0
  304. package/dist/components/arcgis-building-level-item/customElement.d.ts +28 -0
  305. package/dist/components/arcgis-building-level-item/customElement.js +45 -0
  306. package/dist/components/arcgis-building-level-item/index.d.ts +1 -0
  307. package/dist/components/arcgis-building-level-item/index.js +1 -0
  308. package/dist/components/arcgis-building-level-picker/constants.d.ts +48 -0
  309. package/dist/components/arcgis-building-level-picker/customElement.d.ts +16 -0
  310. package/dist/components/arcgis-building-level-picker/customElement.js +178 -0
  311. package/dist/components/arcgis-building-level-picker/index.d.ts +4 -0
  312. package/dist/components/arcgis-building-level-picker/index.js +4 -0
  313. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +15 -0
  314. package/dist/components/arcgis-building-phase-picker/customElement.js +78 -0
  315. package/dist/components/arcgis-building-phase-picker/index.d.ts +2 -0
  316. package/dist/components/arcgis-building-phase-picker/index.js +2 -0
  317. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  318. package/dist/components/arcgis-color-select/customElement.js +22 -23
  319. package/dist/components/arcgis-compass/customElement.js +1 -1
  320. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  321. package/dist/components/arcgis-daylight/customElement.js +150 -159
  322. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  323. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  324. package/dist/components/arcgis-directions/customElement.js +1 -1
  325. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  326. package/dist/components/arcgis-editor/customElement.js +1 -1
  327. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  328. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  329. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  330. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  331. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  332. package/dist/components/arcgis-expand/customElement.js +1 -1
  333. package/dist/components/arcgis-feature/customElement.js +1 -1
  334. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  335. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  336. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  337. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  338. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  339. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  340. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  341. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  342. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  343. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  344. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  345. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  346. package/dist/components/arcgis-features/customElement.js +1 -1
  347. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  348. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  349. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  350. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  351. package/dist/components/arcgis-home/customElement.js +1 -1
  352. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  353. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  354. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  355. package/dist/components/arcgis-legend/customElement.js +1 -1
  356. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  357. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  358. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  359. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  360. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  361. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  362. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  363. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  364. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  365. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  366. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  367. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  368. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  369. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  370. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  371. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
  372. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  373. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  374. package/dist/components/arcgis-locate/customElement.js +1 -1
  375. package/dist/components/arcgis-map/customElement.d.ts +1 -1
  376. package/dist/components/arcgis-map/customElement.js +1 -1
  377. package/dist/components/arcgis-measurement/customElement.js +1 -1
  378. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  379. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  380. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  381. package/dist/components/arcgis-placement/customElement.js +1 -1
  382. package/dist/components/arcgis-popup/customElement.js +1 -1
  383. package/dist/components/arcgis-presentation/customElement.js +1 -1
  384. package/dist/components/arcgis-print/customElement.js +1 -1
  385. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  386. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  387. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  388. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  389. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  390. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  391. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  392. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  393. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  394. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  395. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  396. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  397. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  398. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  399. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  400. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  401. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  402. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  403. package/dist/components/arcgis-scene/customElement.js +1 -1
  404. package/dist/components/arcgis-search/customElement.js +1 -1
  405. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  406. package/dist/components/arcgis-shadow-cast/constants.d.ts +0 -1
  407. package/dist/components/arcgis-shadow-cast/customElement.js +13 -14
  408. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  409. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +30 -25
  410. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  411. package/dist/components/arcgis-sketch/customElement.js +1 -1
  412. package/dist/components/arcgis-slice/customElement.js +1 -1
  413. package/dist/components/arcgis-spinner/customElement.js +1 -1
  414. package/dist/components/arcgis-swipe/customElement.js +1 -1
  415. package/dist/components/arcgis-table-list/customElement.js +1 -1
  416. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  417. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  418. package/dist/components/arcgis-track/customElement.js +1 -1
  419. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  420. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  421. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  422. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  423. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  424. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  425. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  426. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  427. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  428. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  429. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  430. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  431. package/dist/components/arcgis-version-management/customElement.js +1 -1
  432. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  433. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  434. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  435. package/dist/components/arcgis-video/customElement.d.ts +1 -1
  436. package/dist/components/arcgis-video/customElement.js +1 -1
  437. package/dist/components/arcgis-video-player/customElement.js +1 -1
  438. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  439. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  440. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  441. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  442. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  443. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  444. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  445. package/dist/components/arcgis-weather/customElement.js +109 -105
  446. package/dist/components/arcgis-zoom/customElement.js +1 -1
  447. package/dist/docs/api.json +700 -142
  448. package/dist/docs/docs.json +753 -116
  449. package/dist/docs/vscode.html-custom-data.json +84 -21
  450. package/dist/docs/web-types.json +235 -36
  451. package/dist/index.d.ts +36 -0
  452. package/dist/index.js +1 -1
  453. package/dist/loader.js +6 -2
  454. package/dist/types/lumina.d.ts +24 -1
  455. package/dist/types/preact.d.ts +28 -1
  456. package/dist/types/preact10.d.ts +32 -1
  457. package/dist/types/react.d.ts +32 -1
  458. package/dist/types/stencil.d.ts +24 -1
  459. package/dist/utils/types.d.ts +5 -0
  460. package/package.json +3 -3
  461. package/dist/cdn/3S4YYB5V.js +0 -4
  462. package/dist/cdn/5JS7NXMU.js +0 -4
  463. package/dist/cdn/B2467J7F.js +0 -4
  464. package/dist/cdn/BHTWVO7R.js +0 -4
  465. package/dist/cdn/FJ4GLQ5Y.js +0 -4
  466. package/dist/cdn/H47CXRWV.js +0 -4
  467. package/dist/cdn/MC5VXLXS.js +0 -9
  468. package/dist/cdn/MWJIMRJ5.js +0 -4
  469. package/dist/cdn/OHIMUUYO.js +0 -4
  470. package/dist/cdn/V7KLTMCM.js +0 -4
  471. package/dist/components/arcgis-weather/css.d.ts +0 -10
@@ -0,0 +1,61 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { default as CodedValueDomain } from '@arcgis/core/layers/support/CodedValueDomain.js';
3
+ import { default as BuildingComponentSublayer } from '@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer.js';
4
+ import { default as BuildingGroupSublayer } from '@arcgis/core/layers/buildingSublayers/BuildingGroupSublayer.js';
5
+ import { FieldInfo } from './types';
6
+ import { default as BuildingSceneLayer } from '@arcgis/core/layers/BuildingSceneLayer';
7
+ type BuildingFieldStatistics = __esri.BuildingFieldStatistics;
8
+ type BuildingSublayerUnion = BuildingComponentSublayer | BuildingGroupSublayer;
9
+ /**
10
+ * Finds the "FullModel" sublayer in the specified layer.
11
+ *
12
+ * @param layer
13
+ * The layer whose sublayers are to be searched.
14
+ */
15
+ export declare const findFullModelSublayer: (layer: BuildingSceneLayer) => BuildingSublayerUnion | nullish;
16
+ /**
17
+ * Finds the "Overview" sublayer in the specified layer.
18
+ *
19
+ * @param layer
20
+ * The layer whose sublayers are to be searched.
21
+ */
22
+ export declare const findOverviewSublayer: (layer: BuildingSceneLayer) => BuildingSublayerUnion | nullish;
23
+ /**
24
+ * Turns the "FullModel" layer on and the "Overview" layer off, if they exist, so
25
+ * that the interior of the building can be seen when using the building explorer.
26
+ *
27
+ * @param layer
28
+ * The layer whose sublayers are to be modified.
29
+ */
30
+ export declare function showFullModel(layer: BuildingSceneLayer): void;
31
+ /**
32
+ * Finds information about a building component field by combining data found
33
+ * in the `BuildingSummaryStatistics` and in field domains.
34
+ *
35
+ * @param layer
36
+ * The layer whose components are to be checked.
37
+ * @param modelName
38
+ * The `modelName` used to identify the field we're interested in.
39
+ */
40
+ export declare function findFieldInfoByModelName(layer: BuildingSceneLayer, modelName: string): FieldInfo | nullish;
41
+ /**
42
+ * Finds the `CodedValueDomain` for specified field in the first building
43
+ * component sublayer which has it.
44
+ *
45
+ * @param layer
46
+ * The layer which is to be traversed to find the domain.
47
+ * @param fieldName
48
+ * The name of the field whose domain is to be returned.
49
+ */
50
+ export declare function findFieldCodedValueDomain(layer: BuildingSceneLayer, fieldName: string): CodedValueDomain | nullish;
51
+ /**
52
+ * Tries to find a `BuildingFieldStatistics` object in the specified layer containing
53
+ * the provided `modelName`.
54
+ *
55
+ * @param layer
56
+ * The layer which is to be searched.
57
+ * @param modelName
58
+ * The `modelName` of the field which is to be found.
59
+ */
60
+ export declare function findFieldStatisticsByModelName(layer: BuildingSceneLayer, modelName: string): BuildingFieldStatistics | nullish;
61
+ export {};
@@ -0,0 +1,60 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { default as Collection } from '@arcgis/core/core/Collection';
3
+ import { default as BuildingSceneLayer } from '@arcgis/core/layers/BuildingSceneLayer';
4
+ import { default as BuildingFilter } from '@arcgis/core/layers/support/BuildingFilter.js';
5
+ type BuildingFilterBlock = __esri.BuildingFilterBlock;
6
+ export declare const buildingExplorerFilterSuffix = "__BUILDING_EXPLORER_FILTER__";
7
+ export declare function generateFilterId(): string;
8
+ /**
9
+ * Gets whether the specified `BuildingFilter` was created by the building explorer.
10
+ *
11
+ * @param filter
12
+ * The filter which is to be checked.
13
+ */
14
+ export declare function isBuildingExplorerFilter(filter: BuildingFilter | string): boolean;
15
+ /**
16
+ * Searches all the building explorer filters in all the layers in order to
17
+ * try and determine which values the user had previously selected in the UI
18
+ * so that we can repopulate it.
19
+ *
20
+ * @param layers
21
+ * The layer which are to be searched for existing building explorer filters.
22
+ * @param parseFn
23
+ * Function which tries to parse a value from a `BuildingFilter`. Once it
24
+ * returns a non-null value, we return that value.
25
+ */
26
+ export declare function getValueFromFilters(layers: Collection<BuildingSceneLayer>, parseFn: (filter: BuildingFilter) => nullish | number): nullish | number;
27
+ /**
28
+ * Adds the specified `BuildingFilter` to a set of layers and sets it as the
29
+ * active filter. It also ensures that there is a single building explorer filter
30
+ * in each layer.
31
+ *
32
+ * If the new filter is equivalent (equal except for its `id`) to a filter
33
+ * already present in a layer, the `filters` collection is not modified and we
34
+ * simply activate the existing filter.
35
+ *
36
+ * @param layers
37
+ * The layers whose filters are to be updated.
38
+ * @param filter
39
+ * The filter which is to be set on the layers.
40
+ *
41
+ * @return True if the filter was applied and false otherwise.
42
+ */
43
+ export declare function setFilterOnLayers(layers: BuildingSceneLayer[], filter: BuildingFilter | nullish): void;
44
+ /**
45
+ * Gets a new X-ray filter block based on the specified filter expressions.
46
+ *
47
+ * @param expressions
48
+ * The filter expressions which are to be combined to form a `filterExpression`
49
+ * for the new `BuildingFilterBlock`.
50
+ */
51
+ export declare function getFilterBlockXRay(expressions: (nullish | string)[]): BuildingFilterBlock | nullish;
52
+ /**
53
+ * Gets a new solid filter block based on the specified filter expressions.
54
+ *
55
+ * @param expressions
56
+ * The filter expressions which are to be combined to form a `filterExpression`
57
+ * for the new `BuildingFilterBlock`.
58
+ */
59
+ export declare function getFilterBlockSolid(expressions: (nullish | string)[]): BuildingFilterBlock | nullish;
60
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as Collection } from '@arcgis/core/core/Collection';
2
+ import { default as BuildingSceneLayer } from '@arcgis/core/layers/BuildingSceneLayer';
3
+ /**
4
+ * Creates a new function which can be used to wait for a collection of layers to be loaded.
5
+ * If it's called multiple times, previous loads will be discarded and it'll wait for the latest
6
+ * collection to be loaded.
7
+ */
8
+ export declare function createLoadLayersFunction(): (layers: Collection<BuildingSceneLayer>) => Promise<void>;
@@ -0,0 +1,25 @@
1
+ export interface NumberValidationConfig {
2
+ allowedValues: readonly number[];
3
+ }
4
+ /**
5
+ * A map between values and their corresponding textual representations/names.
6
+ */
7
+ export type FieldValueMap = Map<number, string>;
8
+ export interface FieldInfo {
9
+ /**
10
+ * The name of the field.
11
+ */
12
+ fieldName: string;
13
+ /**
14
+ * A map between values and their corresponding textual representations/names.
15
+ */
16
+ fieldValueMap: FieldValueMap;
17
+ }
18
+ /**
19
+ * Information about the domain of a filter, which can serve as the source of
20
+ * truth for a `BuildingNumericFilterViewModel`.
21
+ */
22
+ export interface DomainInfo {
23
+ fieldValueMap: FieldValueMap;
24
+ allowedValues: number[];
25
+ }
@@ -0,0 +1,36 @@
1
+ import { FieldInfo, DomainInfo, NumberValidationConfig } from './types.js';
2
+ /**
3
+ * Combines all the provided information about fields into a single object which
4
+ * we can use to perform validations or determine the textual representation of
5
+ * a value.
6
+ *
7
+ * @param fieldInfos
8
+ * List of objects containing information about a field.
9
+ */
10
+ export declare function getDomainInfo(fieldInfos: FieldInfo[]): DomainInfo;
11
+ /**
12
+ * Gets a number which is valid according to the specified `config`.
13
+ *
14
+ * If the value is valid, it will return the same value.
15
+ * If no allowed values are provided we return null.
16
+ *
17
+ * @param value
18
+ * The value which is to be validated.
19
+ * @param config
20
+ * The configuration used to validate the value.
21
+ *
22
+ * @return A value which is valid according to the `config`.
23
+ */
24
+ export declare function getValidNumber(value: number, config: NumberValidationConfig): nullish | number;
25
+ /**
26
+ * Returns the value of `domain` closest to the specified value.
27
+ * When the domain is empty, the same value is returned.
28
+ *
29
+ * @param value
30
+ * The value whose closest value is to be returned.
31
+ * @param domain
32
+ * List of all the values to be searched.
33
+ *
34
+ * @return Value closest to`value` in the `domain`.
35
+ */
36
+ export declare function findClosest(value: number, domain: readonly number[]): number;
@@ -0,0 +1,28 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
3
+ import { Messages as BuildingExplorerMessages } from '../arcgis-building-explorer/customElement.js';
4
+
5
+ type Messages = BuildingExplorerMessages["level"];
6
+ /** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-building-level-item/) */
7
+ export declare class BuildingLevelItem extends LitElement {
8
+ messages?: Messages;
9
+ /** @default 0 */
10
+ baseWidth: number;
11
+ level: number;
12
+ /** The width of the widget. */
13
+ width?: number;
14
+ /** @default false */
15
+ hovered: boolean;
16
+ /** @default false */
17
+ active: boolean;
18
+ /**
19
+ * The height of the widget.
20
+ *
21
+ * @default 0
22
+ */
23
+ height: number;
24
+ readonly arcgisTileBlur: TargetedEvent<this, void>;
25
+ readonly arcgisTileFocus: TargetedEvent<this, void>;
26
+ readonly arcgisTileSelect: TargetedEvent<this, void>;
27
+ }
28
+ export {};
@@ -0,0 +1,45 @@
1
+ import { c as r } from "../../chunks/runtime.js";
2
+ import { css as o, html as a } from "lit";
3
+ import { LitElement as n, createEvent as e, safeStyleMap as i, safeClassMap as c } from "@arcgis/lumina";
4
+ import { createRef as l, ref as h } from "lit/directives/ref.js";
5
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
+ v5.0.0-next.99 */
8
+ const d = o`:host .container{border:1px solid transparent;touch-action:none;--fast-transition-time: .1s;--slow-transition-time: .3s}:host(.animate-level),.container,.item,.rect{transition:height var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),width var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}:host,.container,.item,.rect{will-change:height;transition:height var(--fast-transition-time) ease-out,width var(--fast-transition-time) ease-out,background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}.rect{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(66deg) rotate(45deg);border:2px solid #6e6e6e4d;background-color:rgb(from var(--calcite-color-foreground-1) r g b / 70%);&.active{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand)}&.hover{border-color:var(--calcite-color-brand)}}.item{pointer-events:none;position:absolute;left:50%;transform:translate(-50%,-50%)}`;
9
+ class m extends n {
10
+ constructor() {
11
+ super(...arguments), this.#t = l(), this.baseWidth = 0, this.hovered = !1, this.active = !1, this.height = 0, this.arcgisTileBlur = e(), this.arcgisTileFocus = e(), this.arcgisTileSelect = e();
12
+ }
13
+ static {
14
+ this.properties = { messages: 0, baseWidth: 9, level: 9, width: 9, hovered: 5, active: 5, height: 9 };
15
+ }
16
+ static {
17
+ this.styles = d;
18
+ }
19
+ #t;
20
+ focus() {
21
+ this.#t.value?.focus();
22
+ }
23
+ render() {
24
+ if (this.messages == null)
25
+ return null;
26
+ const t = this.width ?? this.baseWidth, s = t * 0.8;
27
+ return a`<div class="container" style=${i({ height: `${this.height}px` })}><div class="item" style=${i({
28
+ width: `${Math.round(t)}px`,
29
+ height: `${Math.round(t)}px`
30
+ })}><button class=${c({
31
+ rect: !0,
32
+ active: this.active,
33
+ hover: this.hovered
34
+ })} style=${i({
35
+ width: `${Math.round(s)}px`,
36
+ height: `${Math.round(s)}px`
37
+ })} tabindex=-1 @click=${() => {
38
+ this.arcgisTileSelect.emit();
39
+ }} type=button ${h(this.#t)}></button></div></div>`;
40
+ }
41
+ }
42
+ r("arcgis-building-level-item", m);
43
+ export {
44
+ m as BuildingLevelItem
45
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The maximum extra size the level container's height can have when hovered (in pixels).
3
+ */
4
+ export declare const levelHoveredExtraHeight = 30;
5
+ /**
6
+ * The maximum extra size the level container's height can have when hovered (in pixels).
7
+ */
8
+ export declare const levelHoveredExtraWidth = 20;
9
+ /**
10
+ * Controls the dependency of the alpha factor of the gaussian to the number of levels.
11
+ */
12
+ export declare const alphaLevelDependencyFactor = 30;
13
+ /**
14
+ * This controls the global size of the alpha factor, hence the spread of the gaussian
15
+ */
16
+ export declare const alphaSpreadFactor = 10;
17
+ /**
18
+ * Padding applied above/below the levels so they have space to expand when hovering.
19
+ */
20
+ export declare const levelsPadding = 20;
21
+ /**
22
+ * Value which will be multiplied by the padding to determine how much we allow
23
+ * levels to overflow the container when expanded. Essentially we'll apply a
24
+ * padding of levelsPadding * levelsMarginFactor and then compensate with an
25
+ * equivalent negative margin.
26
+ */
27
+ export declare const levelsMarginFactor = 2;
28
+ /**
29
+ * Value which gets added to the normalized pointer position in order to better
30
+ * align the pointer with the currently selected floor (due to CSS, etc). If you
31
+ * mess with this, make sure to test it with different numbers of levels, from 1
32
+ * to 200 or so.
33
+ */
34
+ export declare const levelsPointerAdjustment = 0.035;
35
+ /**
36
+ * Minimum width for a level.
37
+ */
38
+ export declare const levelWidthMin = 30;
39
+ /**
40
+ * Default/base height for a level.
41
+ */
42
+ export declare const levelHeightDefault = 14;
43
+ /**
44
+ * Maximum width for a level.
45
+ */
46
+ export declare const levelWidthMax = 80;
47
+ export declare const levelWidthNominator = 100;
48
+ export declare const levelWidthConstant = 40;
@@ -0,0 +1,16 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
3
+ import { Messages as BuildingExplorerMessages } from '../arcgis-building-explorer/customElement.js';
4
+ import { default as BuildingLevel } from '../arcgis-building-explorer/building-filter/BuildingLevel';
5
+
6
+ type Messages = BuildingExplorerMessages["level"];
7
+ /** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-building-level-picker/) */
8
+ export declare class BuildingLevelPicker extends LitElement {
9
+ messages?: Messages;
10
+ level?: BuildingLevel;
11
+ /** The number of levels to be displayed in the widget. */
12
+ get numberOfLevels(): number;
13
+ get levelHeight(): number;
14
+ get levelsHeight(): number;
15
+ }
16
+ export {};
@@ -0,0 +1,178 @@
1
+ import { c as p } from "../../chunks/runtime.js";
2
+ import { repeat as b } from "lit/directives/repeat.js";
3
+ import { css as x, html as s } from "lit";
4
+ import { keyed as P } from "lit/directives/keyed.js";
5
+ import { LitElement as L, safeClassMap as a, nothing as h, safeStyleMap as m } from "@arcgis/lumina";
6
+ import { a as $, b as w, c as y, d as H, l as M, e as k, f as C, g as z, h as W, i as v, j as d } from "../../chunks/constants.js";
7
+ import { clamp as c } from "@arcgis/toolkit/number";
8
+ import { queryAll as E } from "lit/decorators.js";
9
+ import { createRef as O, ref as A } from "lit/directives/ref.js";
10
+ import { watch as N } from "@arcgis/core/core/reactiveUtils.js";
11
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
+ v5.0.0-next.99 */
14
+ const S = x`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`;
15
+ var T = Object.defineProperty, F = (t, e, i, n) => {
16
+ for (var l = void 0, o = t.length - 1, r; o >= 0; o--)
17
+ (r = t[o]) && (l = r(e, i, l) || l);
18
+ return l && T(e, i, l), l;
19
+ };
20
+ class f extends L {
21
+ constructor() {
22
+ super(...arguments), this.hovering = !1, this.onPointerMove = (e) => {
23
+ if (!this.hovering)
24
+ return !1;
25
+ if (window.getSelection()?.removeAllRanges(), this.containerPosTop != null) {
26
+ const i = this.containerPosTop, n = v * d, l = this.expandedLevelsMargin;
27
+ let o = this.levelsHeight, r = i + n + l;
28
+ const g = this.levelHeight / 2;
29
+ r += g, o -= g;
30
+ let u = (e.clientY - r) / o;
31
+ u += z, this.normalizedPointerPosition = u;
32
+ }
33
+ return !1;
34
+ }, this.onPointerEnter = () => {
35
+ const e = this.levelsContainer.value;
36
+ this.hovering || e == null || (this.hovering = !0, this.containerPosTop = e.getBoundingClientRect().top ?? 0);
37
+ }, this.levelsContainer = O(), this.onPointerLeave = () => {
38
+ if (this.hovering) {
39
+ window.getSelection()?.removeAllRanges();
40
+ for (const e of this.levelItems)
41
+ e.width = void 0;
42
+ this.normalizedPointerPosition = 0, this.hoveredLevel = null, this.hovering = !1;
43
+ }
44
+ }, this.onPointerUp = () => {
45
+ window.getSelection()?.removeAllRanges();
46
+ const e = this.level;
47
+ this.hoveredLevel == null || e == null || (e.enabled && this.hoveredLevel === e.value ? e.clear() : e.select(this.hoveredLevel));
48
+ }, this.expandedLevelsHeight = void 0, this.normalizedPointerPosition = 0, this.hoveredLevel = null;
49
+ }
50
+ static {
51
+ this.properties = { expandedLevelsHeight: 16, normalizedPointerPosition: 16, hoveredLevel: 16, messages: 0, level: 0, numberOfLevels: 32, levelHeight: 32, levelsHeight: 32 };
52
+ }
53
+ static {
54
+ this.styles = S;
55
+ }
56
+ get levels() {
57
+ return this.level?.allowedValues ?? [];
58
+ }
59
+ get levelWidth() {
60
+ const { levelWidthNominator: e, levelWidthConstant: i } = W, n = e / Math.sqrt(this.numberOfLevels) + i;
61
+ return Math.round(c(n, $, w));
62
+ }
63
+ get _gaussianFactor() {
64
+ const e = this.numberOfLevels;
65
+ return e / Math.log(y * e) * H;
66
+ }
67
+ get expandedLevelsMargin() {
68
+ return Math.round(((this.expandedLevelsHeight ?? 0) - this.levelsHeight) / 2);
69
+ }
70
+ get levelClosestToPointer() {
71
+ if (!this.hovering)
72
+ return null;
73
+ const e = this.numberOfLevels - 1, i = this.clampedNormalizedPointerPosition;
74
+ return e >= 0 && i != null ? this.levels[Math.round((1 - i) * e)] : null;
75
+ }
76
+ get clampedNormalizedPointerPosition() {
77
+ return c(this.normalizedPointerPosition, 0, 1);
78
+ }
79
+ get numberOfLevels() {
80
+ return this.levels.length;
81
+ }
82
+ get levelHeight() {
83
+ const e = M, i = e * 2 / Math.sqrt(this.numberOfLevels);
84
+ return Math.round(c(i, 2, e));
85
+ }
86
+ get levelsHeight() {
87
+ return Math.round(this.levelHeight * this.numberOfLevels);
88
+ }
89
+ async loaded() {
90
+ this.listen("keydown", this.#t.bind(this)), this.manager.onLifecycle(() => [
91
+ N(() => [this.normalizedPointerPosition, this.hovering], () => this.onPointerPositionChange(), { initial: !0 })
92
+ ]);
93
+ }
94
+ onPointerPositionChange() {
95
+ let e = 0;
96
+ this.levelItems.forEach((n, l) => {
97
+ const { width: o, height: r } = this.getLevelWidgetSize(l);
98
+ n.height = r, n.width = o, e += r;
99
+ }), this.hoveredLevel = this.levelClosestToPointer;
100
+ const i = this.expandedLevelsHeight;
101
+ (i == null || Math.abs(i - e) > 30) && (this.expandedLevelsHeight = e);
102
+ }
103
+ getLevelWidgetSize(e) {
104
+ const i = { width: this.levelWidth, height: this.levelHeight };
105
+ if (this.hovering) {
106
+ const n = this.getGaussianFactor(e, this.clampedNormalizedPointerPosition);
107
+ i.width += k * n, i.height += C * n;
108
+ }
109
+ return i;
110
+ }
111
+ getGaussianFactor(e, i) {
112
+ const n = this.numberOfLevels - 1, l = (n - e) / n, o = this._gaussianFactor * (l - i);
113
+ return Math.exp(-(o ** 2));
114
+ }
115
+ #t(e) {
116
+ switch (e.key) {
117
+ case "ArrowDown":
118
+ case "ArrowLeft":
119
+ e.preventDefault(), e.stopPropagation(), this.level?.previous(), this.#e();
120
+ break;
121
+ case "ArrowUp":
122
+ case "ArrowRight":
123
+ e.preventDefault(), e.stopPropagation(), this.level?.next(), this.#e();
124
+ break;
125
+ }
126
+ }
127
+ #e() {
128
+ Array.from(this.levelItems).find((i) => i.level === this.level?.value)?.focus();
129
+ }
130
+ render() {
131
+ if (!this.messages)
132
+ return null;
133
+ const e = this.level, i = e?.value, n = this.numberOfLevels > 1 ? b(this.levels, (l) => l, (l) => s`<arcgis-building-level-item .level=${l} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel === l} .active=${e?.value === l} class=${a({ "animate-level": !this.hovering })} .messages=${this.messages}></arcgis-building-level-item>`) : null;
134
+ return s`<div class=${a({
135
+ container: !0,
136
+ "no-level": this.numberOfLevels < 2,
137
+ "animate-level": this.hovering
138
+ })}>${D({ messages: this.messages, active: i != null && e?.enabled, hasNext: e?.hasNext, hasPrevious: e?.hasPrevious, onNext: () => e?.next(), onPrevious: () => e?.previous(), children: R({ messages: this.messages, level: this.hoveredLevel ?? e?.value, active: e?.enabled, onClear: () => {
139
+ e && (e.enabled = !1);
140
+ } }) })}${_({ ref: this.levelsContainer, expandedLevelsMargin: this.expandedLevelsMargin, levelsHeight: this.levelsHeight, onPointerEnter: this.onPointerEnter, onPointerMove: this.onPointerMove, onPointerLeave: this.onPointerLeave, onPointerUp: this.onPointerUp, onClick: () => {
141
+ this.hoveredLevel != null && e?.select(this.hoveredLevel);
142
+ }, children: n })}</div>`;
143
+ }
144
+ }
145
+ F([
146
+ E("arcgis-building-level-item")
147
+ ], f.prototype, "levelItems");
148
+ function D(t) {
149
+ return s`<div class=${a({
150
+ "label-container": !0,
151
+ empty: !t.active,
152
+ active: !0,
153
+ hover: !0
154
+ })} title=${t.messages.selectLevel ?? h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`;
155
+ }
156
+ function R(t) {
157
+ const e = t.messages;
158
+ return s`<div aria-label=${e.clearLevel ?? h} class=${a({
159
+ "level-label": !0,
160
+ active: t.active && t.level != null
161
+ })} @click=${t.onClear} title=${e.clearLevel ?? h}>${t.active ? s`<span>${t.level}</span>${P("clear-button", s`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}` : s`<span>${e.selectLevel}</span>`}</div>`;
162
+ }
163
+ function _(t) {
164
+ const e = v * d, i = -e / d, n = t.levelsHeight, l = n + e * 2;
165
+ return s`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${m({
166
+ height: `${l}px`,
167
+ marginBlockStart: `${i}px`,
168
+ marginBlockEnd: `${i}px`
169
+ })} ${A(t.ref)}><div class="tiles-inner-container" style=${m({
170
+ height: `${n}px`,
171
+ margin: "0",
172
+ marginBlockStart: `${v - t.expandedLevelsMargin}px`
173
+ })}>${t.children}</div></div>`;
174
+ }
175
+ p("arcgis-building-level-picker", f);
176
+ export {
177
+ f as BuildingLevelPicker
178
+ };
@@ -0,0 +1,4 @@
1
+ import "../arcgis-building-level-item/index.js";
2
+ import "@esri/calcite-components/components/calcite-action";
3
+ import "@esri/calcite-components/components/calcite-fab";
4
+ export * from "./customElement.js";
@@ -0,0 +1,4 @@
1
+ import "../arcgis-building-level-item/index.js";
2
+ import "@esri/calcite-components/components/calcite-action";
3
+ import "@esri/calcite-components/components/calcite-fab";
4
+ export * from "./customElement.js";
@@ -0,0 +1,15 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
3
+ import { Messages as BuildingExplorerMessages } from '../arcgis-building-explorer/customElement.js';
4
+ import { default as BuildingPhase } from '../arcgis-building-explorer/building-filter/BuildingPhase';
5
+
6
+ type Messages = BuildingExplorerMessages["phase"];
7
+ /** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-building-phase-picker/) */
8
+ export declare class BuildingPhasePicker extends LitElement {
9
+ messages?: Messages;
10
+ phase?: BuildingPhase;
11
+ /** The number of levels to be displayed in the widget. */
12
+ get numberOfPhases(): number;
13
+ get phaseHeight(): number;
14
+ }
15
+ export {};
@@ -0,0 +1,78 @@
1
+ import { c as l } from "../../chunks/runtime.js";
2
+ import { css as h, html as a } from "lit";
3
+ import { keyed as o } from "lit/directives/keyed.js";
4
+ import { LitElement as d, safeClassMap as s, nothing as u } from "@arcgis/lumina";
5
+ import { l as p } from "../../chunks/constants.js";
6
+ import { clamp as v } from "@arcgis/toolkit/number";
7
+ import { useDirection as f } from "@arcgis/lumina/controllers";
8
+ import { when as m, watch as g } from "@arcgis/core/core/reactiveUtils.js";
9
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
11
+ v5.0.0-next.99 */
12
+ const b = h`:host{--num-phases: 7;--container-width: 100cqw;--phase-size: 24px;--arrow-width: 16px;--padding: var(--calcite-spacing-xxs);--divider-width-min: var(--calcite-spacing-base);--divider-width-max: var(--calcite-spacing-xl);--divider-width: calc( (var(--container-width) - (var(--phase-size) * var(--num-phases)) - (var(--arrow-width) * 2) - (var(--padding) * 2) ) / (var(--num-phases) - 1) );container-type:inline-size}.phase-picker,.phases-container{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.phases-container{position:relative;flex-shrink:1;padding:var(--calcite-spacing-xxs);overflow:hidden}.phase-button{appearance:none;display:flex;flex-shrink:0;align-items:center;justify-content:center;border:solid var(--calcite-border-width-sm) var(--calcite-color-border-2);border-radius:var(--calcite-corner-radius-pill);background:var(--calcite-color-background);cursor:pointer;padding:1px 0 0;width:var(--phase-size);height:var(--phase-size);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-regular)}.phase-button:hover{border-width:var(--calcite-border-width-md);border-color:var(--calcite-color-brand)}.phase-button:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:2px}.phase-button.active{--calcite-highlight-blue-100: #e2f1fb;border-color:var(--calcite-color-brand);background-color:var(--calcite-highlight-blue-100)}.phase-button.current{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.arrow-left,.arrow-right{--calcite-internal-action-padding-inline: 0;width:var(--arrow-width);min-width:var(--arrow-width)}.divider{flex:0;background:var(--calcite-color-border-1);min-width:clamp(var(--divider-width-min),var(--divider-width),var(--divider-width-max));height:var(--calcite-border-width-sm)}.divider.active{background-color:var(--calcite-color-brand)}`;
13
+ class w extends d {
14
+ static {
15
+ this.properties = { messages: 0, phase: 0, numberOfPhases: 32, phaseHeight: 32 };
16
+ }
17
+ static {
18
+ this.styles = b;
19
+ }
20
+ get phases() {
21
+ return this.phase?.allowedValues ?? [];
22
+ }
23
+ #r = f();
24
+ #e = !0;
25
+ #t = !1;
26
+ #i() {
27
+ const e = this.renderRoot.querySelector("button.current");
28
+ e && (this.#e && (e.scrollIntoView({ block: "nearest", inline: "center" }), this.#e = !1), this.#t && (e.focus(), this.#t = !1));
29
+ }
30
+ get numberOfPhases() {
31
+ return this.phases.length;
32
+ }
33
+ get phaseHeight() {
34
+ const e = p, i = e * 2 / Math.sqrt(this.numberOfPhases);
35
+ return Math.round(v(i, 2, e));
36
+ }
37
+ loaded() {
38
+ this.listen("keydown", (e) => {
39
+ switch (e.key) {
40
+ case "ArrowDown":
41
+ case "ArrowLeft":
42
+ e.stopPropagation(), e.preventDefault(), this.phase?.previous(), this.#t = !0;
43
+ break;
44
+ case "ArrowUp":
45
+ case "ArrowRight":
46
+ e.stopPropagation(), e.preventDefault(), this.phase?.next(), this.#t = !0;
47
+ break;
48
+ }
49
+ }), this.manager.onLifecycle(() => [
50
+ m(() => this.phase?.state === "ready", () => {
51
+ requestAnimationFrame(() => {
52
+ this.#e = !0, this.#i();
53
+ });
54
+ }, { initial: !0 }),
55
+ g(() => this.phase?.value, () => {
56
+ this.#e = !0, this.#i();
57
+ })
58
+ ]);
59
+ }
60
+ render() {
61
+ const e = this.phase, i = this.messages;
62
+ return !i || e == null ? null : a`<div class="phase-picker">${c({ className: "arrow-left", disabled: !1, icon: this.#r === "rtl" ? "chevron-right" : "chevron-left", onClick: () => e.previous(), text: i.previousPhase })}<div class="phases-container">${this.phases.map((r, n) => a`${n > 0 && a`<span class=${s({
63
+ divider: !0,
64
+ active: e.value >= r
65
+ })}></span>` || ""}${o(r, a`<button class=${s({
66
+ "phase-button": !0,
67
+ active: e.value >= r,
68
+ current: e.value === r
69
+ })} @click=${() => e?.select(r)}>${r}</button>`)}`)}</div>${c({ className: "arrow-right", disabled: !1, icon: this.#r === "rtl" ? "chevron-left" : "chevron-right", onClick: () => e.next(), text: i.nextPhase })}</div>`;
70
+ }
71
+ }
72
+ function c(t) {
73
+ return o(t.className, a`<calcite-action appearance=transparent class=${s(t.className)} .disabled=${t.disabled} .icon=${t.icon} icon-flip-rtl @click=${t.onClick} scale=s .text=${t.text} title=${t.text ?? u}></calcite-action>`);
74
+ }
75
+ l("arcgis-building-phase-picker", w);
76
+ export {
77
+ w as BuildingPhasePicker
78
+ };
@@ -0,0 +1,2 @@
1
+ import "@esri/calcite-components/components/calcite-action";
2
+ export * from "./customElement.js";
@@ -0,0 +1,2 @@
1
+ import "@esri/calcite-components/components/calcite-action";
2
+ export * from "./customElement.js";