@arcgis/map-components 5.1.0-next.4 → 5.1.0-next.41

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 (613) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{TCG6VGIB.js → 24NMCAGY.js} +1 -1
  3. package/dist/cdn/257JEME2.js +2 -0
  4. package/dist/cdn/2FSMLU5U.js +2 -0
  5. package/dist/cdn/{EENOVGOS.js → 2IPJYKJU.js} +1 -1
  6. package/dist/cdn/{B5XR4LXQ.js → 2NP32IGG.js} +1 -1
  7. package/dist/cdn/{34V5UMTY.js → 36XE7UKL.js} +1 -1
  8. package/dist/cdn/3HN6NE4B.js +2 -0
  9. package/dist/cdn/3L65VABQ.js +2 -0
  10. package/dist/cdn/{X26CF5AU.js → 3RTLZWI4.js} +1 -1
  11. package/dist/cdn/3YNGTAZV.js +2 -0
  12. package/dist/cdn/423DTCJA.js +2 -0
  13. package/dist/cdn/475HALXY.js +2 -0
  14. package/dist/cdn/{TUW6NLYY.js → 4D6WLVUM.js} +1 -1
  15. package/dist/cdn/{HK6EWWUB.js → 4EVBGIAN.js} +1 -1
  16. package/dist/cdn/4UVL25FV.js +2 -0
  17. package/dist/cdn/{THXN5VZY.js → 53SNABAF.js} +1 -1
  18. package/dist/cdn/{OSPWEZQJ.js → 5ATDIAJA.js} +1 -1
  19. package/dist/cdn/5BBCM67R.js +2 -0
  20. package/dist/cdn/5C33IP7B.js +2 -0
  21. package/dist/cdn/{GYTQDFSL.js → 5EWDALFY.js} +1 -1
  22. package/dist/cdn/5HKA7IDN.js +2 -0
  23. package/dist/cdn/5IVY4VYX.js +2 -0
  24. package/dist/cdn/5OIYVXED.js +2 -0
  25. package/dist/cdn/{ZYMCKBTT.js → 5S3DLSNX.js} +1 -1
  26. package/dist/cdn/5Z5SIO3X.js +2 -0
  27. package/dist/cdn/65EBUU4D.js +2 -0
  28. package/dist/cdn/6IPVVZPA.js +2 -0
  29. package/dist/cdn/{27HOTQNB.js → 6OHZVDN2.js} +1 -1
  30. package/dist/cdn/{62WRVJ3U.js → 6VROEHPA.js} +1 -1
  31. package/dist/cdn/76DFK3J6.js +2 -0
  32. package/dist/cdn/7LR2Q4VZ.js +2 -0
  33. package/dist/cdn/7P4SEVRI.js +2 -0
  34. package/dist/cdn/7P7HEZP3.js +2 -0
  35. package/dist/cdn/7VWIJ3J4.js +2 -0
  36. package/dist/cdn/7WAWZW23.js +2 -0
  37. package/dist/cdn/{37TNG76C.js → 7XUILQR4.js} +1 -1
  38. package/dist/cdn/{T2ZF4XIZ.js → ACW2N5YV.js} +1 -1
  39. package/dist/cdn/{XMZSFKKO.js → AFFIZ62T.js} +1 -1
  40. package/dist/cdn/ANRWXBWL.js +2 -0
  41. package/dist/cdn/B3KVQZVR.js +2 -0
  42. package/dist/cdn/BE4GRNQV.js +2 -0
  43. package/dist/cdn/BL4BIAX5.js +2 -0
  44. package/dist/cdn/BPLUYXEJ.js +2 -0
  45. package/dist/cdn/BVWBXM2C.js +4 -0
  46. package/dist/cdn/BXYIJOBX.js +2 -0
  47. package/dist/cdn/{E2JLZZFR.js → BY57OTI5.js} +1 -1
  48. package/dist/cdn/{WAASVZRG.js → C4RARZF3.js} +1 -1
  49. package/dist/cdn/CAXI6CJY.js +2 -0
  50. package/dist/cdn/CKGRSTF2.js +2 -0
  51. package/dist/cdn/CL5GX5QI.js +2 -0
  52. package/dist/cdn/CZ7CKZO5.js +2 -0
  53. package/dist/cdn/{6RDB26PI.js → DBOGW4P2.js} +1 -1
  54. package/dist/cdn/{JLK664TB.js → DFXSPGAZ.js} +1 -1
  55. package/dist/cdn/{H5UJFKXO.js → DR5ML7T5.js} +1 -1
  56. package/dist/cdn/DV6ESAXK.js +2 -0
  57. package/dist/cdn/DVG5RETA.js +2 -0
  58. package/dist/cdn/DZS5Q42J.js +2 -0
  59. package/dist/cdn/E25OXJ2U.js +2 -0
  60. package/dist/cdn/{RP5SO6BA.js → E43R5ER3.js} +1 -1
  61. package/dist/cdn/EBZ35GOO.js +2 -0
  62. package/dist/cdn/{GHFKQEFW.js → EHT5CS43.js} +1 -1
  63. package/dist/cdn/ERHLYXMP.js +2 -0
  64. package/dist/cdn/EWCQLEEH.js +2 -0
  65. package/dist/cdn/{CQ4QHVEL.js → EYSYAZ4J.js} +1 -1
  66. package/dist/cdn/{H5QDPW5Y.js → EZK2RFST.js} +1 -1
  67. package/dist/cdn/F4V2OY4Q.js +2 -0
  68. package/dist/cdn/FCHTKZY6.js +2 -0
  69. package/dist/cdn/FD7NCBBM.js +2 -0
  70. package/dist/cdn/{UKNKW6MH.js → FE2APYXG.js} +1 -1
  71. package/dist/cdn/{5CYQI4SX.js → G3FBIV66.js} +1 -1
  72. package/dist/cdn/{JTFZMNCO.js → G6R4JEE5.js} +1 -1
  73. package/dist/cdn/GPGC63RW.js +2 -0
  74. package/dist/cdn/{3OE7JG5I.js → GS54YVRG.js} +1 -1
  75. package/dist/cdn/{3PQT2S7Z.js → H53HF5LN.js} +1 -1
  76. package/dist/cdn/H7UJGPZK.js +2 -0
  77. package/dist/cdn/{TSPKG2WN.js → HIQZMFIH.js} +2 -2
  78. package/dist/cdn/{QLPUP6A3.js → HKNVYHER.js} +1 -1
  79. package/dist/cdn/HSTFBEOX.js +2 -0
  80. package/dist/cdn/HT6OPWZY.js +2 -0
  81. package/dist/cdn/{JBJ5NQTI.js → IBGXYOAC.js} +1 -1
  82. package/dist/cdn/ICKUJGUC.js +2 -0
  83. package/dist/cdn/{JFDN4YD7.js → IDLOEQ44.js} +1 -1
  84. package/dist/cdn/{FC6W37TT.js → IEZBFGQD.js} +1 -1
  85. package/dist/cdn/IKTX3IW4.js +2 -0
  86. package/dist/cdn/IPIYZVAJ.js +2 -0
  87. package/dist/cdn/IQ3NVZRW.js +2 -0
  88. package/dist/cdn/IQJC5DDW.js +2 -0
  89. package/dist/cdn/IQPGSWSL.js +2 -0
  90. package/dist/cdn/IULGMTSK.js +2 -0
  91. package/dist/cdn/IX3O7JZ4.js +2 -0
  92. package/dist/cdn/IYCUHGJ7.js +2 -0
  93. package/dist/cdn/{W2A4ONZA.js → J3O2IER3.js} +1 -1
  94. package/dist/cdn/J62MXFDQ.js +2 -0
  95. package/dist/cdn/{UM2FDZJJ.js → JGMP5VI4.js} +1 -1
  96. package/dist/cdn/{NWK2WHZF.js → JH6VEOEP.js} +1 -1
  97. package/dist/cdn/JHDMYGMZ.js +2 -0
  98. package/dist/cdn/JJ77KMIU.js +2 -0
  99. package/dist/cdn/{AFU3S7KW.js → JJTM5KZ2.js} +1 -1
  100. package/dist/cdn/{CNMF4MVD.js → JLK76AMD.js} +1 -1
  101. package/dist/cdn/{ZATCJZP2.js → JRSSUIA7.js} +1 -1
  102. package/dist/cdn/{B6T4CWYF.js → JS6ROTAN.js} +1 -1
  103. package/dist/cdn/{HY73HOSP.js → JTE2JUM5.js} +1 -1
  104. package/dist/cdn/JWJHIBYW.js +2 -0
  105. package/dist/cdn/K3FURKDC.js +2 -0
  106. package/dist/cdn/KAYB563I.js +2 -0
  107. package/dist/cdn/{BQMLNDT6.js → KXGOKDLU.js} +1 -1
  108. package/dist/cdn/L3RN5AKJ.js +2 -0
  109. package/dist/cdn/L7CYER4L.js +2 -0
  110. package/dist/cdn/LB32PLWG.js +2 -0
  111. package/dist/cdn/{IZOPV2VQ.js → LY3AAVRF.js} +1 -1
  112. package/dist/cdn/{2IOCPFSI.js → LYZGIGCW.js} +1 -1
  113. package/dist/cdn/{4363SIKC.js → M56LVFJH.js} +1 -1
  114. package/dist/cdn/{GLV3FW3Z.js → MG2QPYHF.js} +1 -1
  115. package/dist/cdn/{PMQLTMQ4.js → MPD2DLTB.js} +1 -1
  116. package/dist/cdn/{KYOYYCFY.js → MS2XH75X.js} +1 -1
  117. package/dist/cdn/MSU55SIV.js +2 -0
  118. package/dist/cdn/MUNZ6MRL.js +2 -0
  119. package/dist/cdn/{HXPCADLA.js → MYZSF67L.js} +1 -1
  120. package/dist/cdn/{3FSARSVN.js → NBBZRGXH.js} +1 -1
  121. package/dist/cdn/NEKDHC7S.js +2 -0
  122. package/dist/cdn/{BUE7MOVD.js → NEZJSLYH.js} +1 -1
  123. package/dist/cdn/{5UDFTH5U.js → NNILRU2G.js} +1 -1
  124. package/dist/cdn/NVE2LVPQ.js +2 -0
  125. package/dist/cdn/NX5QEE2G.js +2 -0
  126. package/dist/cdn/{7IBXOWTT.js → O3ANYOKX.js} +1 -1
  127. package/dist/cdn/O5TDDX7K.js +2 -0
  128. package/dist/cdn/{C4DJABUI.js → ODBLXGDW.js} +1 -1
  129. package/dist/cdn/{EQCNO3G4.js → OG75AX6X.js} +1 -1
  130. package/dist/cdn/OGE4JCW6.js +2 -0
  131. package/dist/cdn/{HO4JUZ6N.js → OWUZH35R.js} +1 -1
  132. package/dist/cdn/{7ZAVSDBZ.js → P2YYVX3D.js} +1 -1
  133. package/dist/cdn/{MQ6HO6LA.js → P7P7MEFD.js} +1 -1
  134. package/dist/cdn/PAMUXSUF.js +2 -0
  135. package/dist/cdn/PILEMW25.js +2 -0
  136. package/dist/cdn/{XOP2SCW3.js → PLPC4ON4.js} +1 -1
  137. package/dist/cdn/{UKKUFJLL.js → PSGCV2D2.js} +1 -1
  138. package/dist/cdn/PVW5H5KG.js +2 -0
  139. package/dist/cdn/PWEDRKZN.js +2 -0
  140. package/dist/cdn/PWNB4TD7.js +2 -0
  141. package/dist/cdn/{C7YN3AZA.js → Q44BQRIV.js} +1 -1
  142. package/dist/cdn/Q72XLTJZ.js +2 -0
  143. package/dist/cdn/QB2VFS6S.js +2 -0
  144. package/dist/cdn/QD32N2J5.js +2 -0
  145. package/dist/cdn/QEDQOBD7.js +4 -0
  146. package/dist/cdn/{KAXJKSFB.js → QI63DR3K.js} +1 -1
  147. package/dist/cdn/QUHQAYGJ.js +2 -0
  148. package/dist/cdn/QUNYZKHP.js +2 -0
  149. package/dist/cdn/{YC6JWXOW.js → RFVCXTCT.js} +1 -1
  150. package/dist/cdn/RM3Y5F5N.js +2 -0
  151. package/dist/cdn/{AJHRJ5EA.js → RNCWHD7W.js} +1 -1
  152. package/dist/cdn/{FYYKRDW3.js → RS76DJAA.js} +1 -1
  153. package/dist/cdn/S4I3X6AX.js +2 -0
  154. package/dist/cdn/{ATRTNMMR.js → SIWVYP5U.js} +1 -1
  155. package/dist/cdn/SKIFHS77.js +2 -0
  156. package/dist/cdn/{D4BT63BV.js → SOEMQOBF.js} +1 -1
  157. package/dist/cdn/{RN44YUJM.js → SOWQKD7Y.js} +1 -1
  158. package/dist/cdn/SSHSLCY7.js +2 -0
  159. package/dist/cdn/SSTUJS3O.js +2 -0
  160. package/dist/cdn/SYDTPINU.js +2 -0
  161. package/dist/cdn/{NGKNECON.js → SYHC2JX6.js} +1 -1
  162. package/dist/cdn/SZC6AWDT.js +2 -0
  163. package/dist/cdn/T34SPRV3.js +2 -0
  164. package/dist/cdn/{IFSGM32L.js → T3LQQ5M7.js} +1 -1
  165. package/dist/cdn/TAORRIXZ.js +2 -0
  166. package/dist/cdn/TFWRZ2CZ.js +2 -0
  167. package/dist/cdn/TIVQ4K76.js +2 -0
  168. package/dist/cdn/{3YA25S2J.js → TLZUSIRU.js} +1 -1
  169. package/dist/cdn/TMGLTT23.js +2 -0
  170. package/dist/cdn/TPKF6QNJ.js +2 -0
  171. package/dist/cdn/TRUGVMER.js +2 -0
  172. package/dist/cdn/UA4OBYMV.js +2 -0
  173. package/dist/cdn/UWN2QX53.js +2 -0
  174. package/dist/cdn/UZG22R7K.js +2 -0
  175. package/dist/cdn/{556MC5SF.js → VMXH5IO7.js} +1 -1
  176. package/dist/cdn/VNNTWKM4.js +2 -0
  177. package/dist/cdn/{ENDLVIST.js → VNTAY2FU.js} +1 -1
  178. package/dist/cdn/VO2BVSQD.js +2 -0
  179. package/dist/cdn/{GKW3DDEQ.js → VOCS4OAY.js} +1 -1
  180. package/dist/cdn/{TPOLS4YM.js → VSOEX6V7.js} +1 -1
  181. package/dist/cdn/VYAVF3CF.js +2 -0
  182. package/dist/cdn/{WJ5HD2YN.js → WFIHNXAP.js} +1 -1
  183. package/dist/cdn/WG4E5DBM.js +2 -0
  184. package/dist/cdn/WG6SBJ7V.js +2 -0
  185. package/dist/cdn/{TVTQW6GC.js → WLWCCCCK.js} +1 -1
  186. package/dist/cdn/WTJPQO7Z.js +2 -0
  187. package/dist/cdn/WYK7S4BT.js +2 -0
  188. package/dist/cdn/WYXBQ4GP.js +2 -0
  189. package/dist/cdn/XJIF7VYA.js +2 -0
  190. package/dist/cdn/XKWAPOZD.js +2 -0
  191. package/dist/cdn/XR4VWNPH.js +2 -0
  192. package/dist/cdn/XWPOK6PZ.js +2 -0
  193. package/dist/cdn/{32K266S4.js → XWYYNCPO.js} +1 -1
  194. package/dist/cdn/Y2NPRY33.js +2 -0
  195. package/dist/cdn/Y5WK6HGF.js +2 -0
  196. package/dist/cdn/YLR7446Q.js +2 -0
  197. package/dist/cdn/YVW62BNQ.js +2 -0
  198. package/dist/cdn/YWYJJSDU.js +2 -0
  199. package/dist/cdn/{K27JJT2P.js → Z6574XXW.js} +1 -1
  200. package/dist/cdn/{NW44UOKT.js → ZKQHQPJM.js} +1 -1
  201. package/dist/cdn/{AP2IFWYH.js → ZN2JKVQS.js} +1 -1
  202. package/dist/cdn/ZNFGEB6R.js +2 -0
  203. package/dist/cdn/{OKXZJQ2B.js → ZPASCPXO.js} +1 -1
  204. package/dist/cdn/ZVSSCS26.js +2 -0
  205. package/dist/cdn/{HOYFIMNJ.js → ZWVXQ2LZ.js} +1 -1
  206. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  207. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
  208. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  209. package/dist/cdn/index.js +1 -1
  210. package/dist/cdn/main.css +1 -1
  211. package/dist/chunks/AnalysisViewModel.js +106 -99
  212. package/dist/chunks/action-utils.js +2 -2
  213. package/dist/chunks/component-utils.js +85 -72
  214. package/dist/chunks/esri-main.js +1 -1
  215. package/dist/chunks/feature-utils.js +73 -73
  216. package/dist/chunks/heading.js +2 -2
  217. package/dist/chunks/layer-utils.js +32 -11
  218. package/dist/chunks/measurementUtils.js +45 -22
  219. package/dist/chunks/slots.js +27 -27
  220. package/dist/chunks/time-utils.js +24 -22
  221. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  222. package/dist/chunks/useViewModel.js +5 -5
  223. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  224. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  225. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  226. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  227. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  228. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  229. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  230. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  231. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  232. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  233. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  234. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  235. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  236. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  237. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  238. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  239. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  240. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  241. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  242. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  243. package/dist/components/arcgis-compass/customElement.js +1 -1
  244. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  245. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  246. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  247. package/dist/components/arcgis-daylight/customElement.js +127 -125
  248. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  249. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  250. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  251. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  252. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  253. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  254. package/dist/components/arcgis-directions/customElement.js +31 -9
  255. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  256. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  257. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  258. package/dist/components/arcgis-editor/customElement.d.ts +46 -19
  259. package/dist/components/arcgis-editor/customElement.js +3 -3
  260. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  261. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  262. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  263. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  264. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  265. package/dist/components/arcgis-expand/types.d.ts +1 -0
  266. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  267. package/dist/components/arcgis-feature/customElement.js +39 -39
  268. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  269. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  270. package/dist/components/arcgis-feature-fields/customElement.js +23 -22
  271. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  272. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  273. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  274. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  275. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  276. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  277. package/dist/components/arcgis-feature-table/customElement.js +46 -30
  278. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  279. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  280. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  282. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  283. package/dist/components/arcgis-features/customElement.d.ts +70 -70
  284. package/dist/components/arcgis-features/customElement.js +74 -79
  285. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  286. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  287. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  288. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  289. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  290. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  291. package/dist/components/arcgis-home/customElement.js +16 -14
  292. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  293. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  294. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  295. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  296. package/dist/components/arcgis-link-chart/customElement.d.ts +77 -85
  297. package/dist/components/arcgis-link-chart/customElement.js +16 -16
  298. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  299. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  300. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  301. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  302. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  303. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  304. package/dist/components/arcgis-locate/customElement.js +24 -23
  305. package/dist/components/arcgis-map/customElement.d.ts +190 -198
  306. package/dist/components/arcgis-map/customElement.js +11 -11
  307. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  308. package/dist/components/arcgis-measurement-content/customElement.js +18 -14
  309. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  310. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  311. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  312. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  313. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  314. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  315. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  316. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  317. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  318. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  319. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  320. package/dist/components/arcgis-paste/customElement.js +59 -54
  321. package/dist/components/arcgis-paste/index.js +1 -1
  322. package/dist/components/arcgis-popup/customElement.d.ts +87 -75
  323. package/dist/components/arcgis-popup/customElement.js +121 -125
  324. package/dist/components/arcgis-popup/types.d.ts +2 -2
  325. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  326. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  327. package/dist/components/arcgis-presentation/customElement.js +6 -6
  328. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  329. package/dist/components/arcgis-print/customElement.js +7 -7
  330. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  331. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  332. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  333. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
  334. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  335. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  336. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  337. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  338. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  339. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  340. package/dist/components/arcgis-scene/customElement.d.ts +187 -200
  341. package/dist/components/arcgis-scene/customElement.js +14 -14
  342. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  343. package/dist/components/arcgis-search/customElement.js +19 -18
  344. package/dist/components/arcgis-search/types.d.ts +1 -0
  345. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  346. package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
  347. package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
  348. package/dist/components/arcgis-sketch/customElement.js +21 -9
  349. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  350. package/dist/components/arcgis-slice/customElement.js +11 -10
  351. package/dist/components/arcgis-slice/types.d.ts +4 -0
  352. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  353. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  354. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  355. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  356. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  357. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  358. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  359. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  360. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  361. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  362. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  363. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  364. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  365. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  366. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  367. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  368. package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
  369. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  370. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  371. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  372. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  373. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  374. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  375. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  376. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  377. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  378. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  379. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  380. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
  381. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
  382. package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
  383. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  384. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  385. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
  387. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -58
  388. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  389. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  390. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
  391. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +110 -73
  392. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  393. package/dist/components/arcgis-utility-network-trace-location/customElement.js +80 -69
  394. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  395. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
  396. package/dist/components/arcgis-utility-network-trace-results/customElement.js +109 -89
  397. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  398. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  399. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  400. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  402. package/dist/components/arcgis-version-management/customElement.js +1 -1
  403. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  404. package/dist/components/arcgis-video/customElement.d.ts +14 -12
  405. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  406. package/dist/components/arcgis-video-player/customElement.js +2 -2
  407. package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
  408. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  409. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  410. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  411. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  412. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  413. package/dist/components/arcgis-zoom/customElement.js +1 -1
  414. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  415. package/dist/components/types.d.ts +58 -1
  416. package/dist/docs/api.json +1 -1
  417. package/dist/docs/docs.json +1 -1
  418. package/dist/docs/vscode.css-custom-data.json +1 -1
  419. package/dist/docs/vscode.html-custom-data.json +1 -1
  420. package/dist/docs/web-types.json +1 -1
  421. package/dist/index.d.ts +13 -35
  422. package/dist/loader.js +36 -36
  423. package/dist/types/lumina.d.ts +36 -58
  424. package/dist/types/preact.d.ts +37 -63
  425. package/dist/types/react.d.ts +38 -68
  426. package/dist/types/stencil.d.ts +36 -58
  427. package/package.json +7 -7
  428. package/dist/cdn/22LNBUKE.js +0 -2
  429. package/dist/cdn/23UYZVTW.js +0 -2
  430. package/dist/cdn/2EJ4XRH4.js +0 -2
  431. package/dist/cdn/2VC2VUTP.js +0 -2
  432. package/dist/cdn/2XSXH4TM.js +0 -2
  433. package/dist/cdn/3DO7PVNW.js +0 -2
  434. package/dist/cdn/3GZCJE62.js +0 -2
  435. package/dist/cdn/3XMPN66U.js +0 -2
  436. package/dist/cdn/42UR6TXZ.js +0 -2
  437. package/dist/cdn/4EAZ4PIQ.js +0 -2
  438. package/dist/cdn/4TURMTXA.js +0 -2
  439. package/dist/cdn/52GXKBGP.js +0 -2
  440. package/dist/cdn/55QGHI47.js +0 -2
  441. package/dist/cdn/5PRNT4KD.js +0 -2
  442. package/dist/cdn/5RGFRTJS.js +0 -2
  443. package/dist/cdn/63P5VYGP.js +0 -2
  444. package/dist/cdn/64OEHFBZ.js +0 -2
  445. package/dist/cdn/6ZNO34O5.js +0 -2
  446. package/dist/cdn/7UR4M6PN.js +0 -2
  447. package/dist/cdn/7YLXQNEC.js +0 -2
  448. package/dist/cdn/A4UJ53JS.js +0 -2
  449. package/dist/cdn/AGYDL2DX.js +0 -2
  450. package/dist/cdn/BEXRPBHT.js +0 -2
  451. package/dist/cdn/BGOWWLCQ.js +0 -2
  452. package/dist/cdn/BMR2YFEM.js +0 -2
  453. package/dist/cdn/CC53K2CR.js +0 -2
  454. package/dist/cdn/CIUAWIL5.js +0 -4
  455. package/dist/cdn/CKNH5OMJ.js +0 -2
  456. package/dist/cdn/DOLELC6W.js +0 -2
  457. package/dist/cdn/DTVW3MYT.js +0 -2
  458. package/dist/cdn/E7FLH54K.js +0 -2
  459. package/dist/cdn/EL62JS5C.js +0 -2
  460. package/dist/cdn/EVRFMTMV.js +0 -2
  461. package/dist/cdn/EX22SAPL.js +0 -2
  462. package/dist/cdn/EYNKJZG3.js +0 -2
  463. package/dist/cdn/EYW7YQF6.js +0 -2
  464. package/dist/cdn/F2TXAMXM.js +0 -2
  465. package/dist/cdn/F4HWT5H3.js +0 -2
  466. package/dist/cdn/FARFUCNU.js +0 -2
  467. package/dist/cdn/FEQLUSM2.js +0 -2
  468. package/dist/cdn/FJJVAOBW.js +0 -2
  469. package/dist/cdn/FQGKKJL7.js +0 -2
  470. package/dist/cdn/GNGZFV2C.js +0 -2
  471. package/dist/cdn/H6ILOF27.js +0 -2
  472. package/dist/cdn/HH6BDERO.js +0 -2
  473. package/dist/cdn/HNHCO4OD.js +0 -2
  474. package/dist/cdn/HR2OOT3F.js +0 -2
  475. package/dist/cdn/I2MQQXVU.js +0 -2
  476. package/dist/cdn/I5QTPPFJ.js +0 -2
  477. package/dist/cdn/IDDSHZVB.js +0 -2
  478. package/dist/cdn/ILPNFQWH.js +0 -2
  479. package/dist/cdn/J55YUTPM.js +0 -2
  480. package/dist/cdn/J7ZNOOZ4.js +0 -2
  481. package/dist/cdn/JDZWJLJX.js +0 -2
  482. package/dist/cdn/KECAR2NZ.js +0 -2
  483. package/dist/cdn/KEFY4XPI.js +0 -2
  484. package/dist/cdn/KHM3S4Q6.js +0 -2
  485. package/dist/cdn/KNAUIRT6.js +0 -2
  486. package/dist/cdn/KXF2562U.js +0 -2
  487. package/dist/cdn/KY4FMFIC.js +0 -2
  488. package/dist/cdn/LG4PZVHS.js +0 -2
  489. package/dist/cdn/LHEP4QSS.js +0 -2
  490. package/dist/cdn/LZFDWRYI.js +0 -2
  491. package/dist/cdn/M4L5EDRB.js +0 -2
  492. package/dist/cdn/M65HMJZA.js +0 -2
  493. package/dist/cdn/M7VTEC3S.js +0 -2
  494. package/dist/cdn/MAGJWMWM.js +0 -2
  495. package/dist/cdn/MSMDSEFM.js +0 -2
  496. package/dist/cdn/MW73TE2N.js +0 -2
  497. package/dist/cdn/MWBGBBXT.js +0 -2
  498. package/dist/cdn/NIUIKBRD.js +0 -2
  499. package/dist/cdn/NRV7VFJ7.js +0 -2
  500. package/dist/cdn/NVACRYY6.js +0 -2
  501. package/dist/cdn/NZ5M5SVG.js +0 -2
  502. package/dist/cdn/NZAO2BVV.js +0 -2
  503. package/dist/cdn/OCEXQCFT.js +0 -2
  504. package/dist/cdn/ORH27QWU.js +0 -2
  505. package/dist/cdn/PCQ5PXPF.js +0 -2
  506. package/dist/cdn/PISCYSA5.js +0 -2
  507. package/dist/cdn/PNDLNFML.js +0 -2
  508. package/dist/cdn/PTWLVTFS.js +0 -4
  509. package/dist/cdn/QVMTO5BV.js +0 -2
  510. package/dist/cdn/R4V6HGJH.js +0 -2
  511. package/dist/cdn/RCWZGU5T.js +0 -2
  512. package/dist/cdn/RJ76OXB6.js +0 -2
  513. package/dist/cdn/S4XGBADW.js +0 -2
  514. package/dist/cdn/S6G6XXTM.js +0 -2
  515. package/dist/cdn/SKW7HQZ6.js +0 -2
  516. package/dist/cdn/SRSYUCVL.js +0 -2
  517. package/dist/cdn/SZ5MNKOW.js +0 -2
  518. package/dist/cdn/TM5C2P2F.js +0 -2
  519. package/dist/cdn/U3LH3AZH.js +0 -2
  520. package/dist/cdn/UAO23YMW.js +0 -2
  521. package/dist/cdn/UTH3SGAS.js +0 -2
  522. package/dist/cdn/UVCYUIKZ.js +0 -2
  523. package/dist/cdn/V3M37NHT.js +0 -2
  524. package/dist/cdn/VJMMA6UX.js +0 -2
  525. package/dist/cdn/W2E5L6DS.js +0 -2
  526. package/dist/cdn/WGWNMYUH.js +0 -2
  527. package/dist/cdn/WGXSSEAL.js +0 -2
  528. package/dist/cdn/WOV3LB6K.js +0 -2
  529. package/dist/cdn/WTMMFDEH.js +0 -2
  530. package/dist/cdn/WW6L6XX4.js +0 -2
  531. package/dist/cdn/X6OVNOLQ.js +0 -2
  532. package/dist/cdn/X7YUU7TS.js +0 -2
  533. package/dist/cdn/XO6U6OVM.js +0 -2
  534. package/dist/cdn/XRP25NGI.js +0 -2
  535. package/dist/cdn/Y53D5YAC.js +0 -2
  536. package/dist/cdn/YC423DBS.js +0 -2
  537. package/dist/cdn/YFUI4F5L.js +0 -2
  538. package/dist/cdn/YKTB6AFH.js +0 -2
  539. package/dist/cdn/YWQGP6MB.js +0 -2
  540. package/dist/cdn/YZ5ZVEPC.js +0 -2
  541. package/dist/cdn/ZD25GJYW.js +0 -2
  542. package/dist/cdn/ZHINQNZ2.js +0 -2
  543. package/dist/cdn/ZMLRDNKR.js +0 -2
  544. package/dist/cdn/ZURN5EZI.js +0 -2
  545. package/dist/cdn/ZUTQE3OX.js +0 -2
  546. package/dist/cdn/ZVTPU2MO.js +0 -2
  547. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  548. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  549. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  550. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  551. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  552. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  553. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  554. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  555. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  556. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  557. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  558. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  559. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  560. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  561. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  562. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  563. package/dist/components/support/goTo.d.ts +0 -37
  564. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  565. package/dist/support/heading.d.ts +0 -1
  566. package/dist/support/measurementUtils.d.ts +0 -1
  567. package/dist/utils/action-utils.d.ts +0 -3
  568. package/dist/utils/component-utils.d.ts +0 -5
  569. /package/dist/cdn/{JDPQMOEW.js → 2HJ7EGEB.js} +0 -0
  570. /package/dist/cdn/{CRR65TKV.js → 3LKCMCHN.js} +0 -0
  571. /package/dist/cdn/{UVZZX6YP.js → 4S2JKX63.js} +0 -0
  572. /package/dist/cdn/{W2Q7NWBG.js → 5VWD7SPW.js} +0 -0
  573. /package/dist/cdn/{ZLIZCBGT.js → 6PWTVRJ6.js} +0 -0
  574. /package/dist/cdn/{5OB4E5PR.js → 6TB2XH3T.js} +0 -0
  575. /package/dist/cdn/{JMDNJPNT.js → 6W3OENEK.js} +0 -0
  576. /package/dist/cdn/{X5H6ZUFX.js → 6ZCH5OTT.js} +0 -0
  577. /package/dist/cdn/{YDJGMRV3.js → 7C22TPME.js} +0 -0
  578. /package/dist/cdn/{YMU5IPMP.js → BEDLAEXK.js} +0 -0
  579. /package/dist/cdn/{W5B5LTGN.js → BILSW27K.js} +0 -0
  580. /package/dist/cdn/{ZFFBK3VO.js → BLSJEYOH.js} +0 -0
  581. /package/dist/cdn/{RCD5UKTW.js → BUILQQ6S.js} +0 -0
  582. /package/dist/cdn/{55VMVXRK.js → BVFH7ZG4.js} +0 -0
  583. /package/dist/cdn/{B7IYR676.js → E6GYGJ2B.js} +0 -0
  584. /package/dist/cdn/{PUOWH3YL.js → EG3W3ADI.js} +0 -0
  585. /package/dist/cdn/{2ZL4CF6P.js → FVTX4GNH.js} +0 -0
  586. /package/dist/cdn/{L4WRYSKZ.js → FWV2SQE2.js} +0 -0
  587. /package/dist/cdn/{DEOCASGG.js → GPESYF4D.js} +0 -0
  588. /package/dist/cdn/{CHDRBZNL.js → GT5SWKXT.js} +0 -0
  589. /package/dist/cdn/{YP3JKXC4.js → H4WIQKA4.js} +0 -0
  590. /package/dist/cdn/{DDI363AI.js → HX6XVMJE.js} +0 -0
  591. /package/dist/cdn/{76ESM6B2.js → MR5AEEII.js} +0 -0
  592. /package/dist/cdn/{LCXF3AKY.js → O5S54F3U.js} +0 -0
  593. /package/dist/cdn/{DWZIXPJ4.js → OIJPQ63Z.js} +0 -0
  594. /package/dist/cdn/{PHF2XKSK.js → PWPTFBHS.js} +0 -0
  595. /package/dist/cdn/{M6TJN2I5.js → QSOU6NQA.js} +0 -0
  596. /package/dist/cdn/{RDW2NJPR.js → QY7A4VMP.js} +0 -0
  597. /package/dist/cdn/{E2KWMQKQ.js → SPSJMCAO.js} +0 -0
  598. /package/dist/cdn/{7FMJZURP.js → T3ZFKRCS.js} +0 -0
  599. /package/dist/cdn/{OSRAPPNR.js → TKVE7ETK.js} +0 -0
  600. /package/dist/cdn/{W5XM52J7.js → ULYGZ4D2.js} +0 -0
  601. /package/dist/cdn/{QAXR4LT6.js → UX5YG5TO.js} +0 -0
  602. /package/dist/cdn/{ORP3ZND2.js → VIEEGP7G.js} +0 -0
  603. /package/dist/cdn/{UQ7E33T4.js → WRS3F55Q.js} +0 -0
  604. /package/dist/cdn/{YHVFARHN.js → WTUUS552.js} +0 -0
  605. /package/dist/cdn/{GB42YXHR.js → YGVSJT3E.js} +0 -0
  606. /package/dist/cdn/{HZTWWEVM.js → YJPCWIX2.js} +0 -0
  607. /package/dist/cdn/{BQIH5T3S.js → ZLOQIB7A.js} +0 -0
  608. /package/dist/cdn/{KAJ3U6DP.js → ZX5YTFYB.js} +0 -0
  609. /package/dist/cdn/{FPD3STSJ.js → ZYZA5VUV.js} +0 -0
  610. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  611. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  612. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  613. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import i from"./G6R4JEE5.js";import h from"./IQ3NVZRW.js";import"./CAXI6CJY.js";import{a as C}from"./WLWCCCCK.js";import g from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import"./EZK2RFST.js";import f from"./FD7NCBBM.js";import{a as D}from"./7XUILQR4.js";import e from"./ZN2JKVQS.js";import d from"./TPKF6QNJ.js";import{g as V}from"./AFFIZ62T.js";import"./JH6VEOEP.js";import a from"./O5TDDX7K.js";import{b}from"./LB32PLWG.js";import{M as w,N as v,O as I,P as F,R as c,S as T,U as k,a as x,b as n,x as _}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([j,{substitute:h,formatNumber:$},{watch:u},{stripHTML:A},L,{renderingSanitizer:P},{initializeProjection:K},,,,N,,{d:E},{a:O,d:B,e:R}])=>{var G=x`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`;function W(d){switch(d?.type){case"point":return d;case"extent":return d.center;case"polygon":return d.centroid;case"multipoint":case"polyline":return d.extent?.center;default:return null}}var M=O.clone();function X(d){return d?.declaredClass.startsWith("esri.layers.")??!1}var J=N(j),y=class extends I{constructor(){super(...arguments),this._fetchFeaturesController=null,this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=w(),this._featureMenuViewportNode=w(),this._actionBarMenuNode=w(),this._flowContainerNode=w(),this.messages=D(),this._selectedFeatureComponent=w(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new L,this.viewModel=J(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new L,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.hideContent=!1,this.hideExpressionContent=!1,this.hideLastEditedInfo=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.open=this.viewModel.visible,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.arcgisPropertyChange=V()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","open"),this.arcgisReady=_(),this.arcgisClose=_(),this.arcgisTriggerAction=_()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:9,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,hideContent:5,chartAnimationDisabled:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,hideRelationshipContent:5,hideTextContent:5,hideUtilityNetworkContent:5,hideLastEditedInfo:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,open:5,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:32,timeZone:1,updateLocationEnabled:5,view:0}}static{this.styles=G}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get chartAnimationDisabled(){return!(this.viewModel.featureViewModelAbilities?.chartAnimation??!0)}set chartAnimationDisabled(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.chartAnimation=!e}get hideAttachmentsContent(){return!(this.viewModel.featureViewModelAbilities?.attachmentsContent??!0)}set hideAttachmentsContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.attachmentsContent=!e}get hideCustomContent(){return!(this.viewModel.featureViewModelAbilities?.customContent??!0)}set hideCustomContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.customContent=!e}get hideFieldsContent(){return!(this.viewModel.featureViewModelAbilities?.fieldsContent??!0)}set hideFieldsContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.fieldsContent=!e}get hideMediaContent(){return!(this.viewModel.featureViewModelAbilities?.mediaContent??!0)}set hideMediaContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.mediaContent=!e}get hideRelationshipContent(){return!(this.viewModel.featureViewModelAbilities?.relationshipContent??!0)}set hideRelationshipContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.relationshipContent=!e}get hideTextContent(){return!(this.viewModel.featureViewModelAbilities?.textContent??!0)}set hideTextContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.textContent=!e}get hideUtilityNetworkContent(){return!(this.viewModel.featureViewModelAbilities?.utilityNetworkAssociationsContent??!0)}set hideUtilityNetworkContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent=!e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}async clear(){return this.viewModel.clear()}async close(){this.open=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._cancelFetchingFeatures(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){this._cancelFetchingFeatures();let i=new AbortController,{signal:a}=i;if(this._fetchFeaturesController=i,!e&&this.view&&this.location&&(await K(this.location.spatialReference,this.view.spatialReference,null,{signal:a}),e=this.view.toScreen(this.location)??void 0),!e)return;let s=await this.viewModel.fetchFeatures(e,{signal:a,...t});this.location=s.location,this.promises=s.pendingFeatures}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e?.type==="toggle"&&(e.value=!e.value),await R(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[u(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),u(()=>this.viewModel?.view,()=>this._viewChange()),u(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),u(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),u(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),u(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),u(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),u(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_cancelFetchingFeatures(){this._fetchFeaturesController?.abort(),this._fetchFeaturesController=null}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=E(a),o=X(s)?s:null,l=t.get(o)??[];t.set(o,[...l,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=W(a);s!=null&&(this.location=s),this.features=[i],this.open=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,o=e.title??"",l=a==="zoom-to-feature"?h(o,{messages:t}):a==="remove-selected-feature"?h(o,{messages:t}):a==="zoom-to-clustered-features"?h(o,{messages:t}):a==="browse-clustered-features"?h(o,{messages:t}):e.title;return l&&s?h(l,s):l??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.open=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems?.destroyAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":case"feature-utility-network-association-type":return e.description;case"feature-relationship":return e.allItemsDescription}}_handleDrillInBackClick(){this.flowItems?.pop()?.destroy()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl)}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=T(n`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class="header">${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class="pagination-text">${h(e.pageText??"",{index:$(a+1),total:$(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} .text=${h(e.pageText??"",{index:$(a+1),total:$(i)})} text-enabled title=${e.selectFeature??c}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} .text=${e??""} title=${e??""??c}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} .text=${t??""} title=${t??""??c}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,o=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(o)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(o)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(o)}><span .innerHTML=${(P.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let o=i.get(s)?.map(r=>this._renderFeatureMenuItem(r)),l=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&l!==null?C(s??"map-graphics",n`<calcite-list-item-group .heading=${l}>${o}</calcite-list-item-group>`):o})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??c}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:o,initialDisplayMode:l,selectedFeature:r,featureMenuOpen:p}=this,{active:g}=this.viewModel,f=this._getHeading();if(l==="list"&&!r)return null;let m=o.length===0&&(l==="list"?!!r:!p);return n`<calcite-flow-item class=${F(b({"content-feature":!0,"flow-item-collapsed":i}))} .closable=${!t} .closed=${!g} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${m} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(f)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${F(b("container","content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:o,selectedFeature:l,_collapseEnabled:r,_isCollapsed:p,featureNavigationTop:g,headingLevel:f}=this,{active:m,featureViewModels:H,pendingPromisesCount:S}=e,z=i??a.selectFeature;if(s==="feature"&&!o)return null;let U=s==="list"?!l:o;return n`<calcite-flow-item class=${F(b({"flow-item-collapsed":p}))} .closable=${s==="list"&&!t} .closed=${!m} .collapsed=${s==="list"&&p} .collapseDirection=${g?"down":"up"} .collapsible=${s==="list"&&r} .description=${this.hideFeatureMenuHeading?void 0:h(a.total??"",{total:H.length})} .heading=${this.hideFeatureMenuHeading?void 0:z} .headingLevel=${f} .loading=${e.waitingForContents} .selected=${U} @calciteFlowItemBack=${Z=>{Z.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${S>0?n`<calcite-loader class="loader" inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,o="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,l=e.flowType==="feature-association",r=i.returnToInitialFeature??"",p=i?.selectFeature,g=this._getActionTitle(M),f=!this.hideActionBar&&l&&o;return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:A(e.heading??"")} .selected=${t} @calciteFlowItemBack=${m=>{m.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r??""} title=${r??""??c}></calcite-action>${o?n`<calcite-action icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${p??""} title=${p??c}></calcite-action>`:null}${f?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon??void 0} .loading=${M.active} scale=s text-enabled .text=${g} title=${g??c} @click=${()=>B(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class="container">${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return n`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){let e=this.viewModel.selectedFeatureViewModel?.isFeatureFromTable&&!this.location?this.viewModel.allActions.filter(t=>t.id!==M.id):this.viewModel.allActions;return!this._isCollapsed&&!this.hideActionBar&&e.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??c} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?C(t,n`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?C(e,n`<div .innerHTML=${P.sanitize(e)??""}></div>`):e??null}};k("arcgis-features",y);return y},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils","applications/Components/featureUtils",a,d,e,f,g,h,i)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./HO4JUZ6N.js";import a from"./AP2IFWYH.js";import{g as d}from"./XMZSFKKO.js";import{O as c,U as l,a as n,x as s}from"./PTWLVTFS.js";export default $arcgis.t(([p,{a:o},g])=>{var m=n`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-spacing-md) var(--calcite-spacing-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-spacing-xxl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__label{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-spacing-xs)}.esri-batch-attribute-form__label:last-child{margin-bottom:0}.esri-batch-attribute-form-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-batch-attribute-form__form-header .esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-batch-attribute-form__input{width:100%;&:focus{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-spacing-xxl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.esri-batch-attribute-form__date-input-container .esri-batch-attribute-form__input{margin-bottom:3px}.esri-batch-attribute-form__date-input-container :last-child{margin-bottom:0}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-batch-attribute-form__block{margin-inline:-10px}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-foreground-3);padding:var(--calcite-spacing-xxs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-spacing-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}strong{font-weight:var(--calcite-font-weight-bold)}}:dir(rtl) .esri-batch-attribute-form__date-input-part:first-child .esri-batch-attribute-form__input{border-right:var(--calcite-spacing-px) solid #adadad4d;border-left:none}`,h=t=>{throw TypeError(t)},u=(t,e,i)=>e.has(t)||h("Cannot "+i),b=(t,e,i)=>(u(t,e,"read from private field"),i?i.call(t):e.get(t)),f=(t,e,i)=>e.has(t)?h("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),_=(t,e,i,w)=>(u(t,e,"write to private field"),e.set(t,i),i),r,v=g(p),a=class extends c{constructor(){super(...arguments),f(this,r),this.widget=v(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.status=this.viewModel.status,this.valid=this.viewModel.valid,this.label=this.widget.label,this.features=this.widget.features,this.disabled=this.widget.disabled,this.activeFeatureIndex=this.widget.activeFeatureIndex,this.submitHasBeenAttempted=this.viewModel.submitHasBeenAttempted,this.updating=this.viewModel.updating,this.maximumFeatureCount=this.viewModel.maximumFeatureCount,this.maximumFeatureCountWithComplexForms=this.viewModel.maximumFeatureCountWithComplexForms,this.hasTooManyFeatures=this.viewModel.hasTooManyFeatures,this.hasTooManyComplexFeatures=this.viewModel.hasTooManyComplexFeatures,this.readOnly=this.widget.readOnly,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("status","valid","updating","submitHasBeenAttempted","activeFeatureIndex"),this.arcgisReady=s(),this.arcgisSubmit=o(()=>this.widget,"submit"),this.arcgisValueChange=o(()=>this.widget,"value-change")}static{this.properties={view:0,autoDestroyDisabled:5,editType:1,groupDisplay:1,headingLevel:9,icon:1,status:1,valid:5,label:1,features:0,disabled:5,activeFeatureIndex:9,submitHasBeenAttempted:5,updating:5,maximumFeatureCount:9,maximumFeatureCountWithComplexForms:9,hasTooManyFeatures:5,hasTooManyComplexFeatures:5,invalidFeatures:32,position:1,referenceElement:1,readOnly:5,timeZone:1}}static{this.styles=m}get layerInfos(){return b(this,r)}set layerInfos(e){_(this,r,e)}get invalidFeatures(){return this.viewModel.invalidFeatures}async destroy(){await this.manager.destroy()}getValues(e){return this.viewModel.getValues(e)}goToFirstError(){this.widget.goToFirstError()}userChangesHaveMadeFeatureInvalid(e){return this.viewModel.userChangesHaveMadeFeatureInvalid(e)}};r=new WeakMap;l("arcgis-multi-feature-form",a);return a},"widgets/BatchAttributeForm",a,b)
2
+ import b from"./OWUZH35R.js";import a from"./ZN2JKVQS.js";import{g as d}from"./AFFIZ62T.js";import{O as c,U as l,a as n,x as s}from"./BVWBXM2C.js";export default $arcgis.t(([p,{a:o},g])=>{var m=n`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-spacing-md) var(--calcite-spacing-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-spacing-xxl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__label{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-spacing-xs)}.esri-batch-attribute-form__label:last-child{margin-bottom:0}.esri-batch-attribute-form-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-batch-attribute-form__form-header .esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-batch-attribute-form__input{width:100%;&:focus{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-spacing-xxl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.esri-batch-attribute-form__date-input-container .esri-batch-attribute-form__input{margin-bottom:3px}.esri-batch-attribute-form__date-input-container :last-child{margin-bottom:0}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-batch-attribute-form__block{margin-inline:-10px}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-foreground-3);padding:var(--calcite-spacing-xxs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-spacing-xxs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-spacing-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}strong{font-weight:var(--calcite-font-weight-bold)}}:dir(rtl) .esri-batch-attribute-form__date-input-part:first-child .esri-batch-attribute-form__input{border-right:var(--calcite-spacing-px) solid #adadad4d;border-left:none}`,h=t=>{throw TypeError(t)},u=(t,e,i)=>e.has(t)||h("Cannot "+i),b=(t,e,i)=>(u(t,e,"read from private field"),i?i.call(t):e.get(t)),f=(t,e,i)=>e.has(t)?h("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),_=(t,e,i,w)=>(u(t,e,"write to private field"),e.set(t,i),i),r,v=g(p),a=class extends c{constructor(){super(...arguments),f(this,r),this.widget=v(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.status=this.viewModel.status,this.valid=this.viewModel.valid,this.label=this.widget.label,this.features=this.widget.features,this.disabled=this.widget.disabled,this.activeFeatureIndex=this.widget.activeFeatureIndex,this.submitHasBeenAttempted=this.viewModel.submitHasBeenAttempted,this.updating=this.viewModel.updating,this.maximumFeatureCount=this.viewModel.maximumFeatureCount,this.maximumFeatureCountWithComplexForms=this.viewModel.maximumFeatureCountWithComplexForms,this.hasTooManyFeatures=this.viewModel.hasTooManyFeatures,this.hasTooManyComplexFeatures=this.viewModel.hasTooManyComplexFeatures,this.readOnly=this.widget.readOnly,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("status","valid","updating","submitHasBeenAttempted","activeFeatureIndex"),this.arcgisReady=s(),this.arcgisSubmit=o(()=>this.widget,"submit"),this.arcgisValueChange=o(()=>this.widget,"value-change")}static{this.properties={view:0,autoDestroyDisabled:5,editType:1,groupDisplay:1,headingLevel:9,icon:1,status:1,valid:5,label:1,features:0,disabled:5,activeFeatureIndex:9,submitHasBeenAttempted:5,updating:5,maximumFeatureCount:9,maximumFeatureCountWithComplexForms:9,hasTooManyFeatures:5,hasTooManyComplexFeatures:5,invalidFeatures:32,position:1,referenceElement:1,readOnly:5,timeZone:1}}static{this.styles=m}get layerInfos(){return b(this,r)}set layerInfos(e){_(this,r,e)}get invalidFeatures(){return this.viewModel.invalidFeatures}async destroy(){await this.manager.destroy()}getValues(e){return this.viewModel.getValues(e)}goToFirstError(){this.widget.goToFirstError()}userChangesHaveMadeFeatureInvalid(e){return this.viewModel.userChangesHaveMadeFeatureInvalid(e)}};r=new WeakMap;l("arcgis-multi-feature-form",a);return a},"widgets/BatchAttributeForm",a,b)
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{M as l,N as o,O as g,Q as m,U as c,b as n,p as s}from"./PTWLVTFS.js";import"./3TTFCHAA.js";export default $arcgis.t(([u,d,y,I,{previewGraphic:i}])=>{var _=new d,w=new y,b=new I;function f(a){if(!a)return null;switch(a.geometryType){case"multipoint":case"point":return b;case"polygon":return _;case"polyline":return w;default:return null}}var r=class extends g{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._imageContainerDiv=l(),this._generatedImageData=null,this.useTrueShape=!1,this.widthInPixels=16,this.heightInPixels=16}static{this.properties={_generatedImageData:16,graphic:0,layer:0,tableSymbolIcon:0,minWidth:9,useTrueShape:5,actualSymbol:0,widthInPixels:9,heightInPixels:9}}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleImage().catch(e=>{s("warn",this,"Failed processing image")}))}_changeGraphic(){this._changeData()}_changeData(){this._generatedImageData=null,this._attempted=!1}async _generateImage(){return this.actualSymbol&&this.graphic?.geometry&&this.useTrueShape&&!this.layer?await i(new u({attributes:this.graphic.attributes,geometry:this.graphic.geometry}),{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:this.useTrueShape,fallbackSymbol:this.actualSymbol}):this.actualSymbol?await i(null,{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:!1,fallbackSymbol:this.actualSymbol}):this.layer&&this.graphic?this.rootLayer.isTable?this.tableSymbolIcon?await i(null,{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:!1,fallbackSymbol:this.tableSymbolIcon}):"":this.useTrueShape?this.graphic.geometry?await this._generatePreviewGraphic():"":await this._generatePreviewGraphic():""}async _generatePreviewGraphic(){return await i(new u({attributes:this.graphic.attributes,geometry:this.graphic.geometry,layer:this.layer}),{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:this.useTrueShape,fallbackSymbol:f(this.layer)})}async _handleImage(){let e=++this._lastRun;if(!this._generatedImageData||this._generatedImageData==="")try{let t=await this._generateImage();if(this._lastRun!==e||this._generatedImageData===t)return;this._generatedImageData=t}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._imageContainerDiv.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let h=!1;t.forEach(p=>{p.intersectionRatio>0&&!h?(h=!0,this._isCurrentlyInView=!0,this._handleImage().catch(x=>{s("warn",this,"Failed processing image")})):this._isCurrentlyInView=!1})},e),this._io?.observe(this._imageContainerDiv.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}_generateInnerHTML(){return this._generatedImageData?this._generatedImageData.startsWith("<")?this._generatedImageData:`
2
+ import{M as l,N as o,O as g,Q as m,U as c,b as n,p as s}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([u,d,y,I,{previewGraphic:i}])=>{var _=new d,w=new y,b=new I;function f(a){if(!a)return null;switch(a.geometryType){case"multipoint":case"point":return b;case"polygon":return _;case"polyline":return w;default:return null}}var r=class extends g{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._imageContainerDiv=l(),this._generatedImageData=null,this.useTrueShape=!1,this.widthInPixels=16,this.heightInPixels=16}static{this.properties={_generatedImageData:16,graphic:0,layer:0,tableSymbolIcon:0,minWidth:9,useTrueShape:5,actualSymbol:0,widthInPixels:9,heightInPixels:9}}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleImage().catch(e=>{s("warn",this,"Failed processing image")}))}_changeGraphic(){this._changeData()}_changeData(){this._generatedImageData=null,this._attempted=!1}async _generateImage(){return this.actualSymbol&&this.graphic?.geometry&&this.useTrueShape&&!this.layer?await i(new u({attributes:this.graphic.attributes,geometry:this.graphic.geometry}),{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:this.useTrueShape,fallbackSymbol:this.actualSymbol}):this.actualSymbol?await i(null,{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:!1,fallbackSymbol:this.actualSymbol}):this.layer&&this.graphic?this.rootLayer.isTable?this.tableSymbolIcon?await i(null,{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:!1,fallbackSymbol:this.tableSymbolIcon}):"":this.useTrueShape?this.graphic.geometry?await this._generatePreviewGraphic():"":await this._generatePreviewGraphic():""}async _generatePreviewGraphic(){return await i(new u({attributes:this.graphic.attributes,geometry:this.graphic.geometry,layer:this.layer}),{format:"string",widthInPixels:this.widthInPixels,heightInPixels:this.heightInPixels,useGeometryForShape:this.useTrueShape,fallbackSymbol:f(this.layer)})}async _handleImage(){let e=++this._lastRun;if(!this._generatedImageData||this._generatedImageData==="")try{let t=await this._generateImage();if(this._lastRun!==e||this._generatedImageData===t)return;this._generatedImageData=t}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._imageContainerDiv.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let h=!1;t.forEach(p=>{p.intersectionRatio>0&&!h?(h=!0,this._isCurrentlyInView=!0,this._handleImage().catch(x=>{s("warn",this,"Failed processing image")})):this._isCurrentlyInView=!1})},e),this._io?.observe(this._imageContainerDiv.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}_generateInnerHTML(){return this._generatedImageData?this._generatedImageData.startsWith("<")?this._generatedImageData:`
3
3
  <img
4
4
  alt=''
5
5
  src=${this._generatedImageData}
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ function l({supported:e,disabled:r,ready:t,operationState:s,valid:a}){return e?r||!t?"disabled":s==="active"?"measuring":a?"measured":"ready":"unsupported"}function m(e,r){switch(e){case"unsupported":case"measured":case"ready":return e;case"disabled":return"ready";case"measuring":return r?"measured":"measuring"}}var i=["metric","imperial"],u=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],c=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],n=["liters","megaliters","gigaliters","cubic-millimeters","cubic-centimeters","cubic-decimeters","cubic-meters","cubic-kilometers","cubic-inches","cubic-us-feet","cubic-feet","cubic-yards","cubic-miles"],d=[...i,...u],o=[...i,...c],f=[...i,...n];function b(e,r=!0){return r?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function p(e,r){switch(r.type){case"length":return e.formatLength(r);case"area":return e.formatArea(r);case"volume":return e.formatVolume(r);default:return""}}function q(e){return e==="imperial"||e==="metric"}function g(e,r,t=r){let s=e?.filter(a=>r.includes(a));return s&&s.length>0?s.slice():t.slice()}function h(e,r,t,s){let a=e??r??s??void 0;return a&&t.includes(a)?a:t[0]}export{l as a,m as b,u as c,d,o as e,f,b as g,p as h,q as i,g as j,h as k};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{O as t,U as a,a as s,b as o}from"./PTWLVTFS.js";import"./3TTFCHAA.js";var l=s`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center}.slider-progress-container{position:relative;z-index:1;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-spacing-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-spacing-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;width:100%}`,i=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=l}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let e=r.value*this.viewModel.duration/100;this.viewModel.seekTo(e)}}render(){let{value:r,buffered:e}=this;return o`<div class="slider-progress-container" dir=ltr><progress class="progress" max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};a("arcgis-video-player-slider",i);export{i as VideoPlayerSlider};
2
+ import{O as t,U as a,a as s,b as o}from"./BVWBXM2C.js";import"./3TTFCHAA.js";var l=s`:host{min-width:100px;flex:1 1 auto;display:flex;align-items:center;justify-content:center}.slider-progress-container{position:relative;z-index:1;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress{--arcgis-internal-video-player-progress-width: 2px;appearance:none;position:absolute;top:calc(50% - var(--arcgis-internal-video-player-progress-width) / 2);left:var(--calcite-spacing-xs);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--calcite-spacing-xs) * 2);height:var(--arcgis-internal-video-player-progress-width)}.progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.slider{--calcite-slider-track-color: transparent;width:100%}`,i=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=l}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let e=r.value*this.viewModel.duration/100;this.viewModel.seekTo(e)}}render(){let{value:r,buffered:e}=this;return o`<div class="slider-progress-container" dir=ltr><progress class="progress" max=1 .value=${`${e}`}></progress><div class="slider"><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};a("arcgis-video-player-slider",i);export{i as VideoPlayerSlider};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import e from"./OWUZH35R.js";import d from"./ZN2JKVQS.js";import c from"./TPKF6QNJ.js";import{g as a}from"./AFFIZ62T.js";import"./JH6VEOEP.js";import b from"./O5TDDX7K.js";import"./LB32PLWG.js";import{O as o,U as l,a as s,x as t}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([n,,,{a:i},d])=>{var _=s`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}.esri-histogram{direction:ltr;width:100%;height:100%}.esri-histogram__content{width:100%;height:100%}.esri-histogram__svg{width:100%;height:100%;display:inline-block;overflow:hidden}.esri-histogram__data-line{stroke:var(--calcite-color-text-3);stroke-width:1px;shape-rendering:crispEdges}.esri-histogram__label{stroke:var(--calcite-color-text-1);stroke-width:0;direction:ltr;unicode-bidi:plaintext;font-size:var(--calcite-font-size-sm)}.esri-histogram__average-data-line{stroke:var(--calcite-color-text-3)}.esri-histogram__average-symbol{font-family:Georgia\\, serif,sans-serif;font-style:italic}.esri-expand__panel-content .esri-histogram{width:100%}:dir(rtl) .esri-histogram{direction:rtl}:dir(rtl) .esri-histogram .esri-histogram__average-label{direction:rtl;unicode-bidi:plaintext}:host{min-width:260px}.esri-classed-color-slider{direction:ltr}.esri-classed-color-slider .esri-slider{z-index:1;font-size:var(--calcite-font-size-sm);position:relative}.esri-classed-color-slider .esri-slider .esri-slider__content{flex-direction:row;height:240px;margin:0 auto 0 40%}.esri-classed-color-slider .esri-slider .esri-slider__track{background-color:var(--calcite-color-transparent);flex:none;display:flex}.esri-classed-color-slider .esri-slider .esri-slider__anchor{border-top:1px solid var(--calcite-color-foreground-1);border-bottom:1px solid var(--calcite-color-text-3);width:30px}.esri-classed-color-slider .esri-slider .esri-slider__anchor:hover .esri-slider__label,.esri-classed-color-slider .esri-slider .esri-slider__anchor:focus .esri-slider__label{text-decoration:underline}.esri-classed-color-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb,.esri-classed-color-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb{background-color:var(--calcite-color-inverse-press);border:none;transform:none}.esri-classed-color-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb:after,.esri-classed-color-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb:after{border-left-color:var(--calcite-color-inverse-press)}.esri-classed-color-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb:before,.esri-classed-color-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb:before{background-color:var(--calcite-color-brand);transform:translate(-1.5px)}.esri-classed-color-slider .esri-slider .esri-slider__thumb{background-color:var(--calcite-color-text-3);border:none;border-radius:0;width:6px;height:12px;top:-6px;left:-12px}.esri-classed-color-slider .esri-slider .esri-slider__thumb:before{content:"";background-color:var(--calcite-color-text-3);width:3px;height:12px;transition:transform .125s ease-in-out,background-color .125s ease-in-out;position:absolute;top:0;left:-1.5px}.esri-classed-color-slider .esri-slider .esri-slider__thumb:after{content:"";border-top:6px solid var(--calcite-color-transparent);border-bottom:6px solid var(--calcite-color-transparent);border-left:6px solid var(--calcite-color-text-3);width:0;height:0;position:absolute;top:0;left:6px}.esri-classed-color-slider .esri-slider .esri-slider__label{text-align:right;min-width:50px;line-height:20px;left:auto;right:50px}.esri-classed-color-slider .esri-slider .esri-slider__label:hover{background-color:var(--calcite-color-foreground-2)}.esri-classed-color-slider .esri-slider .esri-slider__segment:hover{cursor:default}.esri-classed-color-slider .esri-slider .esri-slider__range-input{text-align:center;width:50%;margin:auto}.esri-classed-color-slider .esri-slider .esri-slider__label-input{text-align:right;width:70px}.esri-classed-color-slider .esri-slider .esri-slider__max,.esri-classed-color-slider .esri-slider .esri-slider__min{z-index:0;flex:none;width:auto;margin:9px auto;padding:9px 12px;position:relative}.esri-classed-color-slider .esri-slider .esri-slider__max:before,.esri-classed-color-slider .esri-slider .esri-slider__min:before{z-index:-1;content:"";width:100%;height:100%;position:absolute;top:0;left:0}.esri-classed-color-slider .esri-slider .esri-slider__max.esri-slider__range--active,.esri-classed-color-slider .esri-slider .esri-slider__min.esri-slider__range--active{background-color:var(--calcite-color-foreground-1)}.esri-classed-color-slider .esri-slider .esri-slider__max .esri-slider__range-input,.esri-classed-color-slider .esri-slider .esri-slider__min .esri-slider__range-input{margin:0 auto}.esri-classed-color-slider .esri-slider .esri-slider__extra-content{height:100%;display:flex}.esri-classed-color-slider .esri-slider .esri-histogram__svg{overflow:visible}.esri-classed-color-slider .esri-slider .esri-histogram__label{fill:var(--calcite-color-text-2);stroke-width:2px}.esri-classed-color-slider .esri-slider .esri-histogram__average-line,.esri-classed-color-slider .esri-slider .esri-histogram__label{paint-order:stroke;stroke:var(--calcite-color-border-3)}.esri-classed-color-slider .esri-slider .zoom-cap--max{position:absolute;top:0}.esri-classed-color-slider .esri-slider .zoom-cap--min{position:absolute;bottom:0}.esri-classed-color-slider .esri-slider .zoom-cap{stroke-width:0;width:30px;height:11px}.esri-classed-color-slider .esri-slider .zoom-cap:hover{cursor:pointer}.esri-classed-color-slider .esri-slider .zoom-cap:hover .zoom-cap--mask{fill:var(--calcite-color-foreground-1)}.esri-classed-color-slider .esri-slider .zoom-cap:hover .zoom-cap--line{fill:var(--calcite-color-brand)}.esri-classed-color-slider .esri-slider .zoom-cap:hover .zoom-cap--underline,.esri-classed-color-slider .esri-slider .zoom-cap .zoom-cap--mask,.esri-classed-color-slider .esri-slider .zoom-cap .zoom-cap--line{fill:var(--calcite-color-foreground-1)}.esri-classed-color-slider .esri-slider .zoom-cap .zoom-cap--underline{fill:var(--calcite-color-inverse)}.esri-classed-color-slider__ramp{width:30px;height:100%;display:flex;position:relative}.esri-classed-color-slider__ramp svg{stroke:var(--calcite-color-text-3);stroke-width:1px;width:100%;height:100%;position:absolute;left:0}.esri-classed-color-slider__ramp svg rect{width:100%;height:100%}.esri-classed-color-slider__ramp svg path{stroke-width:.5px}.esri-classed-color-slider__histogram-container{flex:1 1 0;width:120px;height:100%;display:flex}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider .esri-slider__content{margin:0 auto 0 35%}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider .esri-slider__track{background-color:var(--calcite-color-transparent);width:12px}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider__anchor--active .esri-slider__label{text-decoration:underline}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb{background-color:var(--calcite-color-inverse-press);border:none;transform:none}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb:after{border-left-color:var(--calcite-color-inverse-press)}.esri-classed-color-slider.esri-classed-color-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb:before{background-color:var(--calcite-color-brand);transform:translate(-1.5px)}`,h=d(n),r=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.label=this.widget.label,this.autoDestroyDisabled=!1,this.breaks=this.widget.breaks,this.histogramConfig=this.widget.histogramConfig,this.icon=this.widget.icon,this.inputFormatFunction=this.widget.inputFormatFunction,this.inputParseFunction=this.widget.inputParseFunction,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.precision=this.widget.precision,this.state=this.widget.state,this.arcgisPropertyChange=a()("breaks","histogramConfig","max","min","precision","state"),this.arcgisReady=t(),this.arcgisThumbChange=i(()=>this.widget,"thumb-change"),this.arcgisThumbDrag=i(()=>this.widget,"thumb-drag")}static{this.properties={label:16,autoDestroyDisabled:5,breaks:0,histogramConfig:0,icon:1,inputFormatFunction:0,inputParseFunction:0,labelFormatFunction:0,max:9,min:9,precision:9,referenceElement:1,state:32}}static{this.styles=_}async destroy(){await this.manager.destroy()}async updateClassBreakInfos(e){return this.widget.updateClassBreakInfos(e)}async updateFromRendererResult(e,c){return this.widget.updateFromRendererResult(e,c)}};l("arcgis-slider-classed-color-legacy",r);return r},"widgets/smartMapping/ClassedColorSlider",b,c,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./TZUYWT6D.js";import{Q as v,S as b,b as u,c as g}from"./PTWLVTFS.js";export default $arcgis.t(([{renderColorRampPreviewHTML:R},{e:p,g:w,h:x}])=>{var E=10,y=20,h=10,z=20;function m(s){return typeof s=="number"}function C(s="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return s==="vertical"?u`<svg height=4 width=10>${g`<line style=${v(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:u`<svg height=10 width=10>${g`<line style=${v(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function S(s,e="vertical"){let n={height:`${y}px`,opacity:s?.toString()};return u`<div class="univariate-above-below-symbol" style=${v(n)}>${C(e)}</div>`}function $(s,e,n,o="vertical",i){s.infos.forEach((t,l)=>{if(i&&l===2){t.preview=b(S(n,o));return}else{let r=(m(t.size)?p(t.size):0)+(o==="horizontal"?z:h),c=t.preview,f=c?.tagName.toLowerCase()==="div",a=f?c:document.createElement("div");a.className="univariate-above-below-symbol",o==="horizontal"?a.style.width=`${r}px`:a.style.height=`${r}px`,!f&&c&&a.appendChild(c),x(a,w(e,t.label)),t.preview=a}})}function P(s,e="classic"){let n=s.infos,o=n.at(0),i=n.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function T(s,e){if(!s)return null;let n=s.infos.map(i=>i.color),o=R(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className="color-ramp",e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(s,e,n,o="vertical"){let i=0,t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l;for(let f=r;f<=c;f++)if(n&&f===l)i+=o==="horizontal"?E:y;else{let a=t[f].size,d=(m(a)?p(a):0)+(o==="horizontal"?z:h);i+=d}return Math.round(i)}function j(s,e,n,o="vertical"){let i=k(s,e,n,o),t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l,f=m(t[r].size)?t[r].size:0,a=m(t[c].size)?t[c].size:0,d=e==="full"?f+a:e==="above"?f:a,L=n?o==="vertical"?y:E:0,M=o==="vertical"?h*(e==="full"?2:1):z*(e==="full"?2:1);return Math.round(i-(p(d)/2+L/2+M/2))}function q(s,e,n,o="vertical"){let i=s.infos,t=i.find(({type:r})=>r==="size-ramp"),l=i.find(({type:r})=>r==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],$(t,e,n,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function B(s,e,n="vertical"){let o=s.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],$(i,e,null,n,!1)),t&&(t={...t},t.infos=[...t.infos]),n==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},H={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:P,b:T,c:k,d:j,e:q,f:B,g:D,h:H,i:W}},"symbols/support/symbolUtils",a)
2
+ import a from"./TZUYWT6D.js";import{Q as v,S as b,b as u,c as g}from"./BVWBXM2C.js";export default $arcgis.t(([{renderColorRampPreviewHTML:R},{e:p,g:w,h:x}])=>{var E=10,y=20,h=10,z=20;function m(s){return typeof s=="number"}function C(s="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return s==="vertical"?u`<svg height=4 width=10>${g`<line style=${v(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:u`<svg height=10 width=10>${g`<line style=${v(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function S(s,e="vertical"){let n={height:`${y}px`,opacity:s?.toString()};return u`<div class="univariate-above-below-symbol" style=${v(n)}>${C(e)}</div>`}function $(s,e,n,o="vertical",i){s.infos.forEach((t,l)=>{if(i&&l===2){t.preview=b(S(n,o));return}else{let r=(m(t.size)?p(t.size):0)+(o==="horizontal"?z:h),c=t.preview,f=c?.tagName.toLowerCase()==="div",a=f?c:document.createElement("div");a.className="univariate-above-below-symbol",o==="horizontal"?a.style.width=`${r}px`:a.style.height=`${r}px`,!f&&c&&a.appendChild(c),x(a,w(e,t.label)),t.preview=a}})}function P(s,e="classic"){let n=s.infos,o=n.at(0),i=n.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function T(s,e){if(!s)return null;let n=s.infos.map(i=>i.color),o=R(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className="color-ramp",e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(s,e,n,o="vertical"){let i=0,t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l;for(let f=r;f<=c;f++)if(n&&f===l)i+=o==="horizontal"?E:y;else{let a=t[f].size,d=(m(a)?p(a):0)+(o==="horizontal"?z:h);i+=d}return Math.round(i)}function j(s,e,n,o="vertical"){let i=k(s,e,n,o),t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l,f=m(t[r].size)?t[r].size:0,a=m(t[c].size)?t[c].size:0,d=e==="full"?f+a:e==="above"?f:a,L=n?o==="vertical"?y:E:0,M=o==="vertical"?h*(e==="full"?2:1):z*(e==="full"?2:1);return Math.round(i-(p(d)/2+L/2+M/2))}function q(s,e,n,o="vertical"){let i=s.infos,t=i.find(({type:r})=>r==="size-ramp"),l=i.find(({type:r})=>r==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],$(t,e,n,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function B(s,e,n="vertical"){let o=s.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],$(i,e,null,n,!1)),t&&(t={...t},t.infos=[...t.infos]),n==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},H={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:P,b:T,c:k,d:j,e:q,f:B,g:D,h:H,i:W}},"symbols/support/symbolUtils",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{O as p,P as d,U as I,b as t,g as $,x as n}from"./PTWLVTFS.js";import"./3TTFCHAA.js";var g=class extends p{constructor(){super(...arguments),this._showInvalidVersionNotice=!0,this.arcgisCreateVersionList=n(),this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}disconnectedCallback(){super.disconnectedCallback(),this.versionListContainer?.remove()}render(){let{serviceItemElementProps:{allowEditing:b,closable:V,currentUser:f,executionError:u,currentVersionIdentifier:a,flowElement:w,heading:N,isInitialVersionInvalid:x,isVersionAdministrator:C,isVersioningApiAvailable:E,mode:A,pageSize:L,serviceName:i,serviceUrl:c,state:U,strings:o,versionInfos:r}}=this,{_versionList:l}=this,k=x.get(c)&&this._showInvalidVersionNotice?t`<calcite-notice class=${d(this._showInvalidVersionNotice?"invalid-initial-version-notice":"")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,M=t`<calcite-combobox clear-disabled .ariaLabel=${`combobox-${i}`} .label=${`combobox-${i}`} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let m=s.target,e=r.find(S=>S.versionIdentifier.guid===m.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:e})}}>${r?r.map(s=>t`<calcite-combobox-item class=${d(A==="dialog"?"":"calcite-combobox-item")} .heading=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid} .selected=${a.guid===s.versionIdentifier.guid&&a.name===s.versionIdentifier.name}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return b&&(v=t`<calcite-action icon=list .id=${`action-manage-versions-${i}`} .label=${`action-manage-versions-${i}`} scale=s slot=actions-end .text=${`action-manage-versions-${i}`} @click=${async()=>{let s={closable:V,currentUser:f,currentVersionIdentifier:a,executionError:u,heading:N,isVersionAdministrator:C,isVersioningApiAvailable:E,pageSize:L,serviceName:i,serviceUrl:c,state:U,strings:o,versionInfos:r};this.versionListContainer=document.createElement("div");let m=$(t`<arcgis-version-management-version-list .versionListElementProps=${s} selected show-back-button @arcgisFlowItemBack=${e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()}} @arcgisFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${e=>this.arcgisGetVersions.emit({serviceUrl:e.detail.serviceUrl})} @arcgisManageVersion=${e=>this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${e=>this.arcgisNewVersion.emit({serviceUrl:e.detail.serviceUrl})}></arcgis-version-management-version-list>`,this.versionListContainer);l=Array.from(m.parentNode.childNodes).find(e=>e.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),w?.append(l),this.arcgisCreateVersionList.emit(l)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-manage-versions-${i}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block expanded .heading=${i}>${k}${M}${v}${h}</calcite-block>`}};I("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
2
+ import{O as p,P as d,U as I,b as t,g as $,x as n}from"./BVWBXM2C.js";import"./3TTFCHAA.js";var g=class extends p{constructor(){super(...arguments),this._showInvalidVersionNotice=!0,this.arcgisCreateVersionList=n(),this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}disconnectedCallback(){super.disconnectedCallback(),this.versionListContainer?.remove()}render(){let{serviceItemElementProps:{allowEditing:b,closable:V,currentUser:f,executionError:u,currentVersionIdentifier:a,flowElement:w,heading:N,isInitialVersionInvalid:x,isVersionAdministrator:C,isVersioningApiAvailable:E,mode:A,pageSize:L,serviceName:i,serviceUrl:c,state:U,strings:o,versionInfos:r}}=this,{_versionList:l}=this,k=x.get(c)&&this._showInvalidVersionNotice?t`<calcite-notice class=${d(this._showInvalidVersionNotice?"invalid-initial-version-notice":"")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,M=t`<calcite-combobox clear-disabled .ariaLabel=${`combobox-${i}`} .label=${`combobox-${i}`} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let m=s.target,e=r.find(S=>S.versionIdentifier.guid===m.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:e})}}>${r?r.map(s=>t`<calcite-combobox-item class=${d(A==="dialog"?"":"calcite-combobox-item")} .heading=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid} .selected=${a.guid===s.versionIdentifier.guid&&a.name===s.versionIdentifier.name}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return b&&(v=t`<calcite-action icon=list .id=${`action-manage-versions-${i}`} .label=${`action-manage-versions-${i}`} scale=s slot=actions-end .text=${`action-manage-versions-${i}`} @click=${async()=>{let s={closable:V,currentUser:f,currentVersionIdentifier:a,executionError:u,heading:N,isVersionAdministrator:C,isVersioningApiAvailable:E,pageSize:L,serviceName:i,serviceUrl:c,state:U,strings:o,versionInfos:r};this.versionListContainer=document.createElement("div");let m=$(t`<arcgis-version-management-version-list .versionListElementProps=${s} selected show-back-button @arcgisFlowItemBack=${e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()}} @arcgisFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${e=>this.arcgisGetVersions.emit({serviceUrl:e.detail.serviceUrl})} @arcgisManageVersion=${e=>this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${e=>this.arcgisNewVersion.emit({serviceUrl:e.detail.serviceUrl})}></arcgis-version-management-version-list>`,this.versionListContainer);l=Array.from(m.parentNode.childNodes).find(e=>e.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),w?.append(l),this.arcgisCreateVersionList.emit(l)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-manage-versions-${i}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block expanded .heading=${i}>${k}${M}${v}${h}</calcite-block>`}};I("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as c}from"./WLWCCCCK.js";import j from"./FD7NCBBM.js";import{a as _}from"./7XUILQR4.js";import{a as r}from"./YMPJFJHK.js";import i from"./ZN2JKVQS.js";import e from"./TPKF6QNJ.js";import{g as f}from"./AFFIZ62T.js";import"./JH6VEOEP.js";import a from"./O5TDDX7K.js";import{g as v}from"./LB32PLWG.js";import{N as u,O as p,P as m,Q as g,R as n,U as b,a as d,b as o,x as h}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([{watch:x},y,{g:w},,,$])=>{var R=[-45,0,45,-90,90,-135,180,135],M={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},C=d`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media(hover:none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.rotation-container{display:block;width:100%;calcite-action{flex:.3}}.rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`;function B(a){let{x:t,y:e,width:i,height:s}=a.getBoundingClientRect();return{x:t+i/2,y:e+s/2}}function S(a){return a?.spatialReference?.isWebMercator||a?.spatialReference?.isGeographic||!1}var E=$(y),l=class extends p{constructor(){super(...arguments),this.messages=_({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=E(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=f()("state"),this.arcgisReady=h()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,view:0,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:32,visualScale:1}}static{this.styles=C}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[x(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?w(this)?.focus():v(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=B(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${m({root:!0,[r.widget]:!0,[r.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class="error"><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return c("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid .scale=${this.visualScale} overflow-actions-disabled><calcite-action-group class="buttons-container" dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${u(this._setButtonContainerRef)}>${R.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${R.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=M[t],s=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class="button" data-angle=${t??n} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .text=${s??""} title=${s??n}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||S(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class="compass" .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} style=${g(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??n}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return c("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal .scale=${this.visualScale}><calcite-action-group class="rotation-container">${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class="rotation-reset-button" .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .text=${t??""} title=${t??n}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class="rotation-slider-container"><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};b("arcgis-directional-pad",l);return l},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",a,e,i,j)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as W}from"./ZPASCPXO.js";import e from"./EVRD2ZXE.js";import{a as b}from"./IGSZABNU.js";import d from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import{a as x}from"./VOCS4OAY.js";import"./EZK2RFST.js";import{a as S}from"./7XUILQR4.js";import"./YMPJFJHK.js";import c from"./TPKF6QNJ.js";import"./AFFIZ62T.js";import"./JH6VEOEP.js";import a from"./O5TDDX7K.js";import"./LB32PLWG.js";import{O as C,U as j,a as D,b as h,x as w}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([p,{watch:J},H,{property:o,subclass:N},{signal:B},{isAbortError:K},Q,,{a:A},,{a:U,c:k}])=>{var Y=D`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{transition:max-height .25s ease-in-out;overflow-y:auto}.root{position:relative;display:flex;flex-direction:column;gap:var(--calcite-spacing-xxxl)}.esri-widget__heading{font-weight:var(--calcite-font-weight-normal)}calcite-scrim{--calcite-scrim-background: var(--calcite-color-foreground-1)}.disabled{color:var(--calcite-color-status-danger)}.esri-widget--panel{min-width:unset}`,T="__BUILDING_EXPLORER_FILTER__";function ee(){return`${crypto.randomUUID()}${T}`}function z(t){let e=typeof t=="string"?t:t.id;return!!e&&e.includes(T)}function Z(t,e){for(let i of t)for(let s of i.filters){if(!z(s))continue;let r=e(s);if(r!=null)return r}return null}function te(t,e){for(let i of t){let s=i.filters.filter(l=>!z(l));e!=null&&s.push(e),ie(i.filters,s)||(i.filters=s);let r=i.filters.find(l=>z(l));i.activeFilterId=r!=null?r.id:null}}function ie(t,e){let i=e.length;if(t?.length!==i)return!1;for(let s=0;s<i;++s){let r=e.at(s).toJSON(),l=t.at(s).toJSON();if(r.id="",l.id="",JSON.stringify(r)!==JSON.stringify(l))return!1}return!0}function re(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"x-ray"}}:null}function se(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"solid"}}:null}function G(t){return t.filter(e=>!!e).map(e=>`(${e})`).join(" AND ")}function L(t){let e={fieldValueMap:new Map,allowedValues:[]};for(let i of t){let s=i.fieldValueMap,r=e.fieldValueMap;s.forEach((l,a)=>{r.has(a)||(r.set(a,l),e.allowedValues.push(a))})}return e.allowedValues.sort((i,s)=>i-s),e}function O(t,e){return e.allowedValues.length>0?le(t,e.allowedValues):null}function le(t,e){if(e.length===0)return t;if(t===1/0)return e[e.length-1];if(t===-1/0)return e[0];let i=e[0],s=Math.abs(i-t);for(let r of e){let l=Math.abs(r-t);l<s&&(i=r,s=l)}return i}var ae=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,X=t=>{throw TypeError(t)},d=(t,e,i,s)=>{for(var r=s>1?void 0:s?oe(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&ae(e,i,r),r},ne=(t,e,i)=>e.has(t)||X("Cannot "+i),c=(t,e,i)=>(ne(t,e,"read from private field"),i?i.call(t):e.get(t)),V=(t,e,i)=>e.has(t)?X("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),E,$,v,_,n=class extends H{constructor(t){super(t),V(this,E,B(!0)),V(this,$,B(void 0)),V(this,v,B(null)),V(this,_,new p),this._state="disabled",this._domainInfo=L([]),this._loadLayers=U(),this.layers=new p}initialize(){this.addHandles(this.layers.on("change",()=>void this._onLayersChange())),this._onLayersChange()}destroy(){this._state="disabled"}get disabled(){return this.allowedValues.length===0||c(this,E).value}set disabled(t){c(this,E).value=t}get value(){return(this.state==="ready"?c(this,$).value:this._valueBeforeReady)??0}set value(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}if(t===this.value)return;let e=O(t,this);e!=null&&(c(this,$).value=e)}get min(){return this.allowedValues.length===0?null:Math.min(...this.allowedValues)}get max(){return this.allowedValues.length===0?null:Math.max(...this.allowedValues)}get allowedValues(){return c(this,v).value??this._domainInfo.allowedValues}set allowedValues(t){t==null?c(this,v).value=null:c(this,v).value=t;let e=O(this.value,this);e!=null&&(this.value=e)}get hasNext(){if(this.disabled)return!0;let t=this._valueIndex;return t>=0&&t<this.allowedValues.length-1}get hasPrevious(){return this.disabled?!0:this._valueIndex>0}get layers(){return c(this,_)}set layers(t){c(this,_).removeAll(),c(this,_).addMany(t)}get state(){return this._state}set state(t){this._state=t}get filterExpressions(){return{solid:null,xRay:null}}get _valueIndex(){return this.allowedValues.indexOf(this.value)}select(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}O(t,this)!=null&&(this.disabled=!1,this.value=t)}clear(){if(this.state!=="ready"){this._valueBeforeReady=void 0;return}this.disabled=!0}next(){let{state:t,allowedValues:e,disabled:i,hasNext:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[0];return}s&&(this.value=e[r+1])}}previous(){let{state:t,allowedValues:e,disabled:i,hasPrevious:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[e.length-1];return}s&&(this.value=e[r-1])}}getValueLabel(t){return this.layers.length===0?null:this._domainInfo.fieldValueMap.get(t)??null}async _onLayersChange(){if(this._state="loading",this._domainInfo=L([]),this.layers.length!==0)try{await this._loadLayers(this.layers),this.state="ready",this._setup(),this.changeEmitter?.()}catch(t){K(t)||(this._state="failed")}}};E=new WeakMap;$=new WeakMap;v=new WeakMap;_=new WeakMap;d([o()],n.prototype,"changeEmitter",2);d([o()],n.prototype,"disabled",1);d([o()],n.prototype,"value",1);d([o({readOnly:!0})],n.prototype,"min",1);d([o({readOnly:!0})],n.prototype,"max",1);d([o()],n.prototype,"allowedValues",1);d([o({readOnly:!0})],n.prototype,"hasNext",1);d([o({readOnly:!0})],n.prototype,"hasPrevious",1);d([o({type:p})],n.prototype,"layers",1);d([o()],n.prototype,"_state",2);d([o()],n.prototype,"state",1);d([o({})],n.prototype,"_valueBeforeReady",2);d([o({readOnly:!0})],n.prototype,"_valueIndex",1);d([o()],n.prototype,"_domainInfo",2);n=d([N("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")],n);var de=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,q=t=>{throw TypeError(t)},R=(t,e,i,s)=>{for(var r=s>1?void 0:s?ce(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&de(e,i,r),r},he=(t,e,i)=>e.has(t)||q("Cannot "+i),ue=(t,e,i)=>(he(t,e,"read from private field"),i?i.call(t):e.get(t)),pe=(t,e,i)=>e.has(t)?q("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),I,ge="bldglevel",f=class extends n{constructor(t){super(t),pe(this,I,e=>{let i=new RegExp(`${this._levelFieldName}\\s*=\\s*(\\d+)`,"giu"),s=new RegExp(`${this._levelFieldName}\\s*<\\s*(\\d+)`,"giu");for(let{filterMode:r,filterExpression:l}of e.filterBlocks??[]){if(l==null)continue;let a=null;if(r?.type==="solid"?a=i.exec(l):r?.type==="x-ray"&&(a=s.exec(l)),a)return Number.parseInt(a[1],10)}return null})}get filterExpressions(){return this.disabled||!this._levelFieldName?{solid:null,xRay:null}:{xRay:`${this._levelFieldName} < ${this.value}`,solid:`${this._levelFieldName} = ${this.value}`}}get _firstValue(){let t=this.allowedValues;return t.length>0?t[0]:0}_setup(){let t=[];for(let s of this.layers){let r=k(s,ge);r!=null&&(this._levelFieldName=r.fieldName,t.push(r))}this._domainInfo=L(t);let e=this._valueBeforeReady;this._valueBeforeReady=void 0;let i=e??Z(this.layers,ue(this,I));i!=null?this.select(i):(this.disabled=!0,this.value=this._firstValue)}};I=new WeakMap;R([o()],f.prototype,"filterExpressions",1);R([o()],f.prototype,"_levelFieldName",2);R([o()],f.prototype,"_firstValue",1);f=R([N("esri.components.BuildingExplorer.BuildingLevel")],f);var fe=Object.defineProperty,me=Object.getOwnPropertyDescriptor,y=(t,e,i,s)=>{for(var r=s>1?void 0:s?me(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&fe(e,i,r),r},ve="demolishedphase",_e="createdphase",g=class extends n{constructor(t){super(t),this._parseValueFromFilter=e=>{let i=this._createdPhaseFieldName,s=new RegExp(`${i}\\s*<=\\s*(\\d+)\\s*OR\\s*${i}\\s*IS\\s*NULL`,"giu"),r=this._demolishedPhaseFieldName,l=new RegExp(`${r}\\s*>\\s*(\\d+)\\s*OR\\s*${r}\\s*IS\\s*NULL`,"giu");for(let{filterExpression:a}of e.filterBlocks??[]){let M=a?s.exec(a)??l.exec(a):null;if(M)return Number.parseInt(M[1],10)}return null}}get filterExpressions(){if(this.disabled)return{solid:null,xRay:null};let t=[],e=this._createdPhaseFieldName;e&&t.push(`(${e} <= ${this.value} OR ${e} IS NULL)`);let i=this._demolishedPhaseFieldName;i&&t.push(`(${i} > ${this.value} OR ${i} IS NULL)`);let s=t.join(" AND ");return{solid:s,xRay:s}}get _lastValue(){let t=this.allowedValues;return t.length>0?t[t.length-1]:0}_setup(){let t=[];for(let i of this.layers){let s=k(i,_e);s!=null&&(this._createdPhaseFieldName=s.fieldName,t.push(s));let r=k(i,ve);r!=null&&(this._demolishedPhaseFieldName=r.fieldName,t.push(r))}this._domainInfo=L(t);let e=this._valueBeforeReady;if(this._valueBeforeReady=void 0,this.allowedValues.length>0){let i=e??Z(this.layers,this._parseValueFromFilter);this.select(i??this._lastValue)}else this.clear()}};y([o()],g.prototype,"filterExpressions",1);y([o()],g.prototype,"_createdPhaseFieldName",2);y([o()],g.prototype,"_demolishedPhaseFieldName",2);y([o()],g.prototype,"_lastValue",1);g=y([N("esri.components.BuildingExplorer.BuildingPhase")],g);var ye=Object.defineProperty,we=Object.getOwnPropertyDescriptor,m=(t,e,i,s)=>{for(var r=s>1?void 0:s?we(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&ye(e,i,r),r},u=class extends H{constructor(){super(...arguments),this.level=new f,this.phase=new g}get layers(){return this._layers}set layers(t){this._layers=t,this.level.layers=t??new p,this.phase.layers=t??new p}get filter(){let t=this.level.filterExpressions,e=this.phase.filterExpressions,i=[],s=se([t.solid,e.solid]);s!=null&&i.push(s);let r=re([t.xRay,e.xRay]);return r!=null&&i.push(r),i.length===0?null:new Q({id:ee(),name:"Building Explorer Filter",filterBlocks:i})}};m([o()],u.prototype,"_layers",2);m([o()],u.prototype,"layers",1);m([o()],u.prototype,"level",2);m([o()],u.prototype,"phase",2);m([o({readOnly:!0})],u.prototype,"filter",1);u=m([N()],u);var F=class extends C{constructor(){super(...arguments),this.messages=S({blocking:!0}),this.#i=new p,this.#r=new u,this.view=A(this),this.autoDestroyDisabled=!1,this.headingLevel=3,this.hideDisciplines=!1,this.hideLevels=!1,this.hidePhases=!1,this.icon="organization",this.arcgisBuildingLevelChange=w({bubbles:!0,composed:!0}),this.arcgisBuildingPhaseChange=w({bubbles:!0,composed:!0}),this.arcgisReady=w()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:9,phase:9,levels:0,phases:0,levelDisabled:32,phaseDisabled:32,referenceElement:1}}static{this.styles=Y}#i;#r;get#e(){return this.#r.level}get#t(){return this.#r.phase}get minLevel(){return this.#e.min}get maxLevel(){return this.#e.max}get minPhase(){return this.#t.min}get maxPhase(){return this.#t.max}get supported(){return this.view?.type==="3d"}get layers(){return this.#i.toArray()}set layers(e){this.#i.removeAll(),this.#i.addMany(e)}get level(){return this.#e.value}set level(e){e==null?this.#e.clear():this.#e.value=e}get phase(){return this.#t.value}set phase(e){e==null?this.#t.clear():this.#t.value=e}get levels(){return this.#e.allowedValues}set levels(e){e==null?this.#e.allowedValues=null:this.#e.allowedValues=e}get phases(){return this.#t.allowedValues}set phases(e){e==null?this.#t.allowedValues=null:this.#t.allowedValues=e}get levelDisabled(){return this.#e.disabled}get phaseDisabled(){return this.#t.disabled}async destroy(){await this.manager.destroy()}loaded(){this.#e.changeEmitter=()=>this.arcgisBuildingLevelChange.emit(),this.#t.changeEmitter=()=>this.arcgisBuildingPhaseChange.emit(),this.manager.onLifecycle(()=>[J(()=>({layers:this.#i.toArray(),filter:this.#r.filter}),({layers:e,filter:i})=>{te(e,i)},{initial:!0}),J(()=>this.layers,e=>{this.#r.layers=new p(e)})])}render(){let e=this.messages;if(!this.supported)return P({label:e.componentLabel,children:h`<p class="disabled">${e.unsupported}</p>`});if(this.layers.length===0)return P({label:e.componentLabel,children:h`<p class="disabled">${e.noData}</p>`});let i=this.hideLevels||this.#e.allowedValues.length===0,s=this.hidePhases||this.#t.allowedValues.length===0,r=this.#e.state!=="ready"||this.#t.state!=="ready";return P({label:e.componentLabel,loading:r,children:h`${b({hidden:i,children:h`<div>${x({level:this.headingLevel,children:this.messages.level.title})}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>`})}${b({hidden:s,children:h`<div>${x({level:this.headingLevel,children:this.messages.phase.title})}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>`})}${b({hidden:this.hideDisciplines,children:h`<div>${x({level:this.headingLevel,children:this.messages.disciplines.title})}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines}></arcgis-building-discipline-tree></div>`})}`})}};function P(t){return W({class:"root",hideHeader:!0,label:t.label,children:h`${t.children}${t.loading?h`<calcite-scrim .loading=${t.loading}></calcite-scrim>`:null}`})}j("arcgis-building-explorer",F);return F},"core/Collection","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","applications/Components/reactiveUtils","core/promiseUtils","layers/support/BuildingFilter",a,c,d,e)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{c as m}from"./257JEME2.js";import{b as r,e as c}from"./AFFIZ62T.js";import{a as u}from"./LB32PLWG.js";import{M as h,b as a,x as i,z as l}from"./BVWBXM2C.js";export default $arcgis.t(([{when:E,watch:g}])=>{var d=class extends l{constructor(t){super(t),this.direction=c(),this.popupRef=h(),this.attributionHeight=0,this._uiContainer=null,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){return[E(()=>this.component.view.ready,()=>{this._assignDefaultPopup()}),E(()=>this.component.view.popup?.visible,()=>{this.popupElement?.open&&(this.popupElement.open=!1)})]}async openPopup(t){if(this._assignDefaultPopup(),this.closePopup(),this.popupElement){await this.popupElement.componentOnReady(),this.popupElement.open=!0;let{fetchFeatures:o}=t;delete t.fetchFeatures,Object.assign(this.popupElement,t),o&&this.popupElement.fetchFeatures()}else await this.component.view.openPopup(t)}closePopup(){this.popupElement&&(this.popupElement.open=!1),this.component.view.closePopup()}_assignDefaultPopup(){this.popupRef.value&&!this.popupElement&&(this.popupElement=this.popupRef.value,this.popupElement.referenceElement=this.component.el,this.popupElement.view=this.component.view)}handleAttributionHeightChange(t){if(!(this.attributionHeight===t||!this.component.el.shadowRoot)){if(this.attributionHeight=t,!this._uiContainer){let o=this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");this._uiContainer=o}this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top",`${this.attributionHeight}px`)}}async _handleOpenPopup(t){if(this._assignDefaultPopup(),this.popupElement&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupElement.handleViewClick(t);e?.length&&this.openPopup({location:o,promises:e})}}_handlePopupSlotChange(t){let o=u(t.target,"arcgis-popup");!this.popupElement&&o.length?this.popupElement=o[0]:o.length||(this.popupElement=void 0)}_webGLErrorAlert(){return this.webGLError?a`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>`:null}render(){return m({direction:this.direction,popupComponentEnabled:this.component.popupComponentEnabled,handlePopupSlotChange:t=>this._handlePopupSlotChange(t),webGLErrorElement:this._webGLErrorAlert(),popupElement:this.popupRef})}},_=r((p,t)=>{let o=i();return t.onLifecycle(()=>g(()=>{let{map:e}=p;if(!e||e.destroyed)return[];let n=[];return e.loadError&&n.push(e),e.basemap?.loadError&&n.push(e.basemap),e.ground.loadError&&n.push(e.ground),[...e.allLayers,...e.allTables].forEach(s=>{s.loadError&&n.push(s)}),n},e=>{e.length&&(p.loadErrorSources=e,o.emit())})),o}),L=r((p,t)=>{let o=i();return t.onLifecycle(()=>g(()=>p.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:d,b:_,c:L}},"core/reactiveUtils")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as _}from"./37TNG76C.js";import"./XMZSFKKO.js";import"./NWK2WHZF.js";import"./MSMDSEFM.js";import{M as l,N as h,O as o,U as c,b as n,p as r}from"./PTWLVTFS.js";import"./3TTFCHAA.js";export default $arcgis.t(([p])=>{var a=class extends o{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._titleContainerSpan=l(),this._messages=_(),this._generatedTitle=null,this.isNewFeature=!1}static{this.properties={_generatedTitle:16,graphic:0,layer:0,noTitleLabel:1,isNewFeature:5}}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleTitle().catch(e=>{r("warn",this,"Failed processing title")}))}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}_changeGraphic(){this._changeData()}_changeData(){this._generatedTitle=null,this._attempted=!1}_createNoTitleLabel(){return this.noTitleLabel===null||this.noTitleLabel===void 0?this._messages.noTitleLabel??"":this.noTitleLabel}async _generateTitle(){if(!(this.layer&&this.graphic))return this._createNoTitleLabel();if(this.layer.getFeatureTitle){let e=this.graphic;if(this.isNewFeature&&this.layer?.objectIdField&&e){let{[this.layer.objectIdField]:i,...s}=e.attributes??{};e=new p({geometry:e.geometry,attributes:{...s}})}return await this.layer.getFeatureTitle(e)||this._createNoTitleLabel()}else return this._createNoTitleLabel()}async _handleTitle(){let e=++this._lastRun;if(!this._generatedTitle||this._generatedTitle==="")try{let t=await this._generateTitle();if(this._lastRun!==e||this._generatedTitle===t)return;this._generatedTitle=t}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._titleContainerSpan.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let i=!1;t.forEach(s=>{s.intersectionRatio>0&&!i?(i=!0,this._isCurrentlyInView=!0,this._handleTitle().catch(d=>{r("warn",this,"Failed processing title")})):this._isCurrentlyInView=!1})},e),this._io.observe(this._titleContainerSpan.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}render(){return n`<span ${h(this._titleContainerSpan)}>${this._generatedTitle??""}</span>`}};c("arcgis-feature-title",a);return a},"Graphic")
2
+ import{a as _}from"./7XUILQR4.js";import"./AFFIZ62T.js";import"./JH6VEOEP.js";import"./LB32PLWG.js";import{M as l,N as h,O as o,U as c,b as n,p as r}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([p])=>{var a=class extends o{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._titleContainerSpan=l(),this._messages=_(),this._generatedTitle=null,this.isNewFeature=!1}static{this.properties={_generatedTitle:16,graphic:0,layer:0,noTitleLabel:1,isNewFeature:5}}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleTitle().catch(e=>{r("warn",this,"Failed processing title")}))}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}_changeGraphic(){this._changeData()}_changeData(){this._generatedTitle=null,this._attempted=!1}_createNoTitleLabel(){return this.noTitleLabel===null||this.noTitleLabel===void 0?this._messages.noTitleLabel??"":this.noTitleLabel}async _generateTitle(){if(!(this.layer&&this.graphic))return this._createNoTitleLabel();if(this.layer.getFeatureTitle){let e=this.graphic;if(this.isNewFeature&&this.layer?.objectIdField&&e){let{[this.layer.objectIdField]:i,...s}=e.attributes??{};e=new p({geometry:e.geometry,attributes:{...s}})}return await this.layer.getFeatureTitle(e)||this._createNoTitleLabel()}else return this._createNoTitleLabel()}async _handleTitle(){let e=++this._lastRun;if(!this._generatedTitle||this._generatedTitle==="")try{let t=await this._generateTitle();if(this._lastRun!==e||this._generatedTitle===t)return;this._generatedTitle=t}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._titleContainerSpan.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let i=!1;t.forEach(s=>{s.intersectionRatio>0&&!i?(i=!0,this._isCurrentlyInView=!0,this._handleTitle().catch(d=>{r("warn",this,"Failed processing title")})):this._isCurrentlyInView=!1})},e),this._io.observe(this._titleContainerSpan.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}render(){return n`<span ${h(this._titleContainerSpan)}>${this._generatedTitle??""}</span>`}};c("arcgis-feature-title",a);return a},"Graphic")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import h from"./JJ77KMIU.js";import g from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import{a as $}from"./VOCS4OAY.js";import"./EZK2RFST.js";import e from"./FD7NCBBM.js";import{a as k}from"./7XUILQR4.js";import{a as p}from"./YMPJFJHK.js";import d from"./ZN2JKVQS.js";import c from"./TPKF6QNJ.js";import{g as _}from"./AFFIZ62T.js";import"./JH6VEOEP.js";import a from"./O5TDDX7K.js";import"./LB32PLWG.js";import{O as m,P as y,R as w,U as b,a as f,b as r,x}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([{ignoreAbortErrors:C},{watch:V},G,{property:d,subclass:A},,,,L,,z])=>{var j=f`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{width:var(--arcgis-internal-panel-width, 300px)}.root{min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}.container{display:flex;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--arcgis-internal-panel-gap)}.error{color:var(--calcite-color-status-danger)}.container,.hint{display:flex;flex-direction:column;gap:var(--arcgis-internal-panel-gap)}.error,.hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.error p,.hint p{margin:0;padding:0}.hint:not(:has(*)){display:none}.layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.actions{display:flex;flex-flow:column;gap:var(--arcgis-internal-panel-actions-gap);justify-content:center}.actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,T=Object.defineProperty,D=Object.getOwnPropertyDescriptor,s=(e,i,t,n)=>{for(var a=n>1?void 0:n?D(i,t):i,l=e.length-1,c;l>=0;l--)(c=e[l])&&(a=(n?c(i,t,a):c(a))||a);return n&&a&&T(i,t,a),a},u=new Set,o=class extends z{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){u.add(this)}destroy(){u.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){u.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new G}};s([d()],o.prototype,"_excludingLayers",2);s([d({readOnly:!0})],o.prototype,"state",1);s([d()],o.prototype,"shape",1);s([d()],o.prototype,"tiltEnabled",1);s([d()],o.prototype,"excludedLayers",1);s([d()],o.prototype,"excludeGroundSurface",1);o=s([A("esri.components.Slice.SliceViewModel")],o);var P=L(o),h=class extends m{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.hideStartButton=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=_()("analysis","state"),this.arcgisReady=x()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,hideStartButton:5,hideVisualization:5,icon:3,label:1,messageOverrides:0,referenceElement:1,shape:0,state:32,tiltEnabled:5}}static{this.styles=j}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){C(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[V(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return r`<div class=${y({root:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,hideVisualization:n,supported:a}=this.viewModel,l=t==="slicing"||t==="excludingLayer";if(n||!a)return null;a||r`<div class="container"><div class="error"><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:c}=this.viewModel,v=this.excludeGroundSurface,M=c.length>0||v,g=t==="disabled";return r`<div class="container"><div class="hint">${t==="excludingLayer"?r`<p class="hint-text">${i.excludeHint}</p>`:null}${t==="slicing"?r`<p class="hint-text">${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class="hint-text">${i.verticalHint}</p>`:null}</div>${!l&&M?r`<div class="layer-list">${$({class:"layer-list-title",level:this.headingLevel,children:i.excludedLayers})}${B({layers:c.toArray(),excludeGroundSurface:v,onLayerClick:E=>{this.excludedLayers.remove(E)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class="actions">${!l&&!this.hideStartButton?r`<calcite-button class="new-slice-button" .disabled=${g} @click=${this.start}>${i.newSlice}</calcite-button>`:null}${t==="sliced"?r`<calcite-button appearance=outline-fill class="exclude-button" .disabled=${g} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?r`<calcite-button appearance=outline-fill class="cancel-button" .disabled=${g} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function S(e){return r`<calcite-list-item class="layer-item" data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??w}></calcite-action></calcite-list-item>`}function B(e){let i=e.layers.map(t=>S({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(S({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),r`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}b("arcgis-slice",h);return h},"core/promiseUtils","core/reactiveUtils","analysis/SliceAnalysis","core/accessorSupport/decorators",a,c,d,e,g,h)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{A as Aa,B as Fa,C as Ga,D as Ha,E as Ia,F as Ja,G as Ka,H as La,I as Ma,J as Oa,K as Pa,L as Qa,M as Ra,N as Sa,O as Ta,P as Ua,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as fa,r as ka,s as la,t as ma,u as na,v as ra,w as ta,x as ua,y as va,z as wa}from"./QEDQOBD7.js";import{a as $,b as aa,c as oa,d as za}from"./WG4E5DBM.js";import{a as Ba}from"./5C33IP7B.js";import{A as B,B as C,C as D,E,F,G,H,I,J,K,M as L,N as M,O,R as ga,S as ha,T as ia,U as ja,c as r,ca as pa,da as qa,ea as sa,fa as xa,ga as ya,ma as Ca,na as Da,oa as Ea,pa as Na,q as s,t,u,v,w,x,y,z as A}from"./IPIYZVAJ.js";import{P as o,Q as p,R as q,b as n}from"./JWJHIBYW.js";import{a,b,c,d,e}from"./GPGC63RW.js";import{D as g,K as h,M as i,N as j,O as k,P as l,Q as m,V as z,W as V,l as f}from"./PILEMW25.js";import"./3TTFCHAA.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Pa as CSVParser,X as CanvasLayer,W as CanvasRenderer,Ca as Chart,ca as Circle,Ia as CirclePattern,q as Color,Na as ColorSet,ja as Component,ba as ConfirmButton,L as Container,m as CounterDisposer,ia as DataItem,Qa as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,oa as EditableLabel,ea as Ellipse,y as Entity,la as Gradient,Ga as GrainPattern,E as Graphics,J as GridLayout,na as HeatLegend,H as HorizontalLayout,N as InterfaceColors,Oa as JSONParser,ha as JsonData,O as Label,G as Layout,ra as Legend,sa as Line,Ja as LinePattern,ma as LinearGradient,va as Link,ga as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Sa as NumericStepper,ua as OrthogonalLine,La as PathPattern,B as Pattern,Ma as PatternSet,a as Percent,wa as Picture,C as PicturePattern,P as PointedRectangle,da as Polygon,Ta as ProgressPie,Ha as RadialGradient,ya as RadialLabel,xa as RadialText,F as Rectangle,Ka as RectanglePattern,Y as Root,$ as RoundedRectangle,za as Scrollbar,Da as SerialChart,qa as Series,Ba as Slice,Aa as Slider,A as Sprite,Ra as SpriteResizer,fa as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ea as Tick,S as Timezone,Q as Tooltip,ta as Triangle,I as VerticalLayout,Fa as ZoomTools,ka as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Ua as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,pa as time,f as type,o as utils};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{O as s,U as r,b as a}from"./PTWLVTFS.js";import"./3TTFCHAA.js";export default $arcgis.t(([{watch:p}])=>{var t=class extends s{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.dpi,e=>this._dpi=e<=0?1:e,{initial:!0})])}_handleDPIChange(e){let n=this.viewModel.templateOptions,i=Number(e.target.value);if(Number.isNaN(i)||i<=0||!Number.isFinite(i)){e.target.value=`${this._dpi}`;return}n.dpi=i}render(){return a`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};r("arcgis-print-dpi-input",t);return t},"core/reactiveUtils")
2
+ import{O as s,U as r,b as a}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([{watch:p}])=>{var t=class extends s{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.dpi,e=>this._dpi=e<=0?1:e,{initial:!0})])}_handleDPIChange(e){let n=this.viewModel.templateOptions,i=Number(e.target.value);if(Number.isNaN(i)||i<=0||!Number.isFinite(i)){e.target.value=`${this._dpi}`;return}n.dpi=i}render(){return a`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};r("arcgis-print-dpi-input",t);return t},"core/reactiveUtils")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as E}from"./KXGOKDLU.js";import d from"./G6R4JEE5.js";import c from"./IQ3NVZRW.js";import"./CAXI6CJY.js";import b from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import"./EZK2RFST.js";import{a as S}from"./7XUILQR4.js";import"./AFFIZ62T.js";import"./JH6VEOEP.js";import a from"./O5TDDX7K.js";import{b as y}from"./LB32PLWG.js";import{M as v,N as f,O as T,P as h,Q as A,R as o,U as M,b as r}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([{isLayerFromCatalog:O},{h:w},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(a){return a?.listMode===D.hideChildren}function U(a){let e=(a?.layer&&F(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function F(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=S(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&U(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(w(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c,d)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import f from"./FD7NCBBM.js";import{a as u}from"./7XUILQR4.js";import{a as l}from"./YMPJFJHK.js";import e from"./ZN2JKVQS.js";import d from"./TPKF6QNJ.js";import{g as w}from"./AFFIZ62T.js";import"./JH6VEOEP.js";import b from"./O5TDDX7K.js";import{b as m}from"./LB32PLWG.js";import{O as h,P as g,U as p,a as c,b as i,x as a}from"./BVWBXM2C.js";import"./3TTFCHAA.js";export default $arcgis.t(([f,{watch:n},,,{a:s},v])=>{var b=c`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`,x=v(f),_=r=>{if(!r)return"all";let e=typeof r=="string"?r.split(",").map(t=>t.trim()).filter(t=>t):[r];return!e.length||e.includes("all")?"all":e},d=class extends h{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=x(this),this.error=null,this._showTemplates=!1,this.view=this.viewModel.view,this.hideHeader=!1,this.icon="print",this.hideAdvancedOptions=!1,this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.autoPopulateAuthor=!1,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,this.hideFeatureAttributes=!1,this.hideIncludeTables=!1,this.excludeDefaultTemplates=!this.viewModel.includeDefaultTemplates,this.excludeOrganizationTemplates=!1,this.outSpatialReference=this.viewModel.outSpatialReference,this.portal=this.viewModel.portal,this.showPrintAreaEnabled=this.viewModel.showPrintAreaEnabled,this.printServiceUrl=this.viewModel.printServiceUrl,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisComplete=s(()=>this.viewModel,"complete"),this.arcgisPropertyChange=w()("state"),this.arcgisReady=a(),this.arcgisSubmit=s(()=>this.viewModel,"submit"),this.arcgisBrowseTemplatesChange=a(),this.arcgisSaveAs=a()}static{this.properties={error:16,_showTemplates:16,view:0,hideHeader:5,referenceElement:1,icon:1,hideAdvancedOptions:5,allowedFormats:[1,{type:String,converter:_}],allowedLayouts:[1,{type:String,converter:_}],autoPopulateAuthor:5,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:0,headingLevel:9,hideFeatureAttributes:5,hideIncludeTables:5,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,showSaveAs:5,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:32}}static{this.styles=b}addPortalTemplate(e){return this.viewModel.addPortalTemplate(e)}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.error,o=>this.error=o),n(()=>this.viewModel.state,o=>{o==="ready"&&this.arcgisReady.emit()}),this.viewModel.browseTemplates.on("change",o=>{this.arcgisBrowseTemplatesChange.emit(o)}),n(()=>[this.printServiceUrl,this.portal],()=>{this.viewModel.load()},{initial:!0})]);let{height:e,width:t}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=t||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={"panel-items-centered":this.viewModel.state==="initializing"};return i`<div class=${g(m("root",l.widget,l.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="disabled"||this.viewModel.state==="initializing"?i`<calcite-loader .label=${this.messages.loading} scale=m></calcite-loader>`:i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class="container">${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${e=>{e.preventDefault(),this._showTemplates=!1}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}><slot name=browse-template-button></slot></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:i`<header class="header-title">${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,t=e?.type!=="2d";return this.error||t?i`<div class="panel-error">${e?t?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`}};p("arcgis-print",d);return d},"widgets/Print/PrintViewModel","core/reactiveUtils",b,d,e,f)