@arcgis/map-components 4.33.0-next.117 → 4.33.0-next.118

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 (267) hide show
  1. package/dist/arcgis-map-components/{QZ37VODG.js → 2EIZK6DF.js} +2 -2
  2. package/dist/arcgis-map-components/2GM7XIUQ.js +4 -0
  3. package/dist/arcgis-map-components/{TOTTTNGK.js → 2QHHMMFP.js} +1 -1
  4. package/dist/arcgis-map-components/{ZE6IIRME.js → 2V4M3H4N.js} +2 -2
  5. package/dist/arcgis-map-components/2XVT65LI.js +4 -0
  6. package/dist/arcgis-map-components/{NVVDJ23V.js → 32CN7DVA.js} +2 -2
  7. package/dist/arcgis-map-components/3GPEAGMT.js +4 -0
  8. package/dist/arcgis-map-components/{HM7AHMHY.js → 3J7VIC7Y.js} +2 -2
  9. package/dist/arcgis-map-components/{QQREDLWE.js → 3JBU5G5L.js} +2 -2
  10. package/dist/arcgis-map-components/{AT4ZIA3H.js → 3T3NJBRM.js} +2 -2
  11. package/dist/arcgis-map-components/{GADYWMQ4.js → 42QUJEQ7.js} +2 -2
  12. package/dist/arcgis-map-components/53TAJC2J.js +4 -0
  13. package/dist/arcgis-map-components/{Z7Q72CER.js → 5AMA372B.js} +1 -1
  14. package/dist/arcgis-map-components/{PEZ6JWV2.js → 6NHANRYV.js} +2 -2
  15. package/dist/arcgis-map-components/7VLZ6ZOZ.js +4 -0
  16. package/dist/arcgis-map-components/ADBHQSA5.js +4 -0
  17. package/dist/arcgis-map-components/{IJ7GHRZ2.js → AGOOECD4.js} +2 -2
  18. package/dist/arcgis-map-components/{7SJ7TA5U.js → AYQFPNHT.js} +2 -2
  19. package/dist/arcgis-map-components/BD66C77O.js +4 -0
  20. package/dist/arcgis-map-components/{LLACO6FF.js → BTGVMOZB.js} +2 -2
  21. package/dist/arcgis-map-components/{RNK7K7ZC.js → BTIS5PVE.js} +2 -2
  22. package/dist/arcgis-map-components/{FE4EJH6J.js → BUEQR3SR.js} +2 -2
  23. package/dist/arcgis-map-components/{R4MO7K7K.js → C6KHGV3X.js} +2 -2
  24. package/dist/arcgis-map-components/{CSQVSUHW.js → CAXADN6D.js} +2 -2
  25. package/dist/arcgis-map-components/{7FQSUWSQ.js → CKVK7PC2.js} +2 -2
  26. package/dist/arcgis-map-components/CQYR2JJ3.js +4 -0
  27. package/dist/arcgis-map-components/{7H2FPOL7.js → CVLFI4KT.js} +2 -2
  28. package/dist/arcgis-map-components/{FUSJLNVM.js → CWP33Q3S.js} +1 -1
  29. package/dist/arcgis-map-components/{UCASDJV3.js → E3QP2XNY.js} +2 -2
  30. package/dist/arcgis-map-components/ECEWVUSA.js +4 -0
  31. package/dist/arcgis-map-components/{BJENUK53.js → EF256AHR.js} +2 -2
  32. package/dist/arcgis-map-components/EHPIUTZM.js +4 -0
  33. package/dist/arcgis-map-components/{EQI7DM63.js → ELAKAQIF.js} +2 -2
  34. package/dist/arcgis-map-components/{AM5HWWMN.js → EM6Q6DRS.js} +2 -2
  35. package/dist/arcgis-map-components/{IRDEJCBE.js → EO2Y5BTA.js} +2 -2
  36. package/dist/arcgis-map-components/{M4VORKST.js → EQZ2EE52.js} +2 -2
  37. package/dist/arcgis-map-components/{PZZFZCEU.js → EZZQB6J3.js} +2 -2
  38. package/dist/arcgis-map-components/{CSQILY4F.js → FDVUJRUG.js} +2 -2
  39. package/dist/arcgis-map-components/FF7I5B4C.js +4 -0
  40. package/dist/arcgis-map-components/{BWNGKOUR.js → FI6T4NR2.js} +2 -2
  41. package/dist/arcgis-map-components/{R3FWZAOG.js → FWBR6XTI.js} +2 -2
  42. package/dist/arcgis-map-components/{7THIMMOW.js → G7AT5DKL.js} +2 -2
  43. package/dist/arcgis-map-components/{KXJK63WC.js → GBQFRMUX.js} +2 -2
  44. package/dist/arcgis-map-components/{PPZUCFVX.js → GG5MZILL.js} +2 -2
  45. package/dist/arcgis-map-components/{XPFNVP7U.js → GI5URY6D.js} +2 -2
  46. package/dist/arcgis-map-components/GSNVEWC5.js +4 -0
  47. package/dist/arcgis-map-components/{3VWPDZ7B.js → H4Q3X25F.js} +2 -2
  48. package/dist/arcgis-map-components/{QX2VGYVT.js → HDJXZMSC.js} +2 -2
  49. package/dist/arcgis-map-components/{5ZCNFTAV.js → HJ73WMYU.js} +2 -2
  50. package/dist/arcgis-map-components/{V7OKNVTB.js → HXMEZHXC.js} +2 -2
  51. package/dist/arcgis-map-components/{KCN4H65L.js → HYLSHORH.js} +2 -2
  52. package/dist/arcgis-map-components/{275TTNP5.js → HZ7CF77K.js} +2 -2
  53. package/dist/arcgis-map-components/{BU5QHM4L.js → I3VIURLZ.js} +2 -2
  54. package/dist/arcgis-map-components/{2CYBVENT.js → IPORQO7G.js} +2 -2
  55. package/dist/arcgis-map-components/{UJSGF36A.js → J6FF6OAV.js} +2 -2
  56. package/dist/arcgis-map-components/JIJMDXLZ.js +4 -0
  57. package/dist/arcgis-map-components/{MD6XGDVF.js → JORORXSB.js} +2 -2
  58. package/dist/arcgis-map-components/{Z3XO6ASR.js → JSYCM653.js} +2 -2
  59. package/dist/arcgis-map-components/JZ7F44AT.js +4 -0
  60. package/dist/arcgis-map-components/LW2H4J77.js +4 -0
  61. package/dist/arcgis-map-components/{JT2BGMQE.js → M3WRRLGJ.js} +2 -2
  62. package/dist/arcgis-map-components/{UU4QTRQA.js → M5IXQFGU.js} +2 -2
  63. package/dist/arcgis-map-components/{R6MBLY3T.js → M623SFHS.js} +2 -2
  64. package/dist/arcgis-map-components/{VOYNKJBT.js → MYQJS5HE.js} +2 -2
  65. package/dist/arcgis-map-components/{AP5WM63J.js → NGPPDCRV.js} +2 -2
  66. package/dist/arcgis-map-components/{BV2K2O33.js → NLNI3W4E.js} +2 -2
  67. package/dist/arcgis-map-components/{J25SFNGR.js → NSRAR67N.js} +1 -1
  68. package/dist/arcgis-map-components/{MXSMCMYJ.js → ODI5DHFM.js} +2 -2
  69. package/dist/arcgis-map-components/{TZVZVGOX.js → OJ3ILJVR.js} +2 -2
  70. package/dist/arcgis-map-components/{3GX5MKCR.js → OLDNJYMP.js} +2 -2
  71. package/dist/arcgis-map-components/OQQOME5D.js +4 -0
  72. package/dist/arcgis-map-components/{RXY5GRH2.js → OUKH4DJ2.js} +2 -2
  73. package/dist/arcgis-map-components/{W766NH6E.js → PHQ2KURA.js} +2 -2
  74. package/dist/arcgis-map-components/{LDSOSV6K.js → Q27TZUPR.js} +2 -2
  75. package/dist/arcgis-map-components/QLGNZMW2.js +4 -0
  76. package/dist/arcgis-map-components/{I4QZYVON.js → QMXEM5CE.js} +1 -1
  77. package/dist/arcgis-map-components/{IISCKZUE.js → QZUV4EIQ.js} +2 -2
  78. package/dist/arcgis-map-components/{OYA4ATBA.js → RK4VFIQ2.js} +2 -2
  79. package/dist/arcgis-map-components/{62YMT7E7.js → RT4WWADY.js} +2 -2
  80. package/dist/arcgis-map-components/{KJDVSAVR.js → SCSYAW6Q.js} +2 -2
  81. package/dist/arcgis-map-components/{6XYRGFJK.js → SYWUNA4T.js} +2 -2
  82. package/dist/arcgis-map-components/TDGHPG5X.js +4 -0
  83. package/dist/arcgis-map-components/TTQTOXR4.js +4 -0
  84. package/dist/arcgis-map-components/{4XETAGCK.js → U5ONS3QD.js} +1 -1
  85. package/dist/arcgis-map-components/UB5CWESD.js +4 -0
  86. package/dist/arcgis-map-components/UOD6YMVV.js +4 -0
  87. package/dist/arcgis-map-components/{L7TIVPKG.js → V4PFJPWM.js} +2 -2
  88. package/dist/arcgis-map-components/{Q2R5NANQ.js → VC645GGF.js} +2 -2
  89. package/dist/arcgis-map-components/{OZDA4EGQ.js → VDU4KQ5Q.js} +2 -2
  90. package/dist/arcgis-map-components/VIO2FRWJ.js +4 -0
  91. package/dist/arcgis-map-components/{JS7HHESB.js → VMC43WLV.js} +2 -2
  92. package/dist/arcgis-map-components/{4AGCYFKK.js → VW73BFTQ.js} +2 -2
  93. package/dist/arcgis-map-components/{YII7CG23.js → W4T3EE7T.js} +2 -2
  94. package/dist/arcgis-map-components/{3NCFDQO3.js → WE72CWPV.js} +2 -2
  95. package/dist/arcgis-map-components/{46FQCOUY.js → WGACUTJA.js} +2 -2
  96. package/dist/arcgis-map-components/{EKFADZVZ.js → WJ2ZGWLX.js} +2 -2
  97. package/dist/arcgis-map-components/WJ4XJ2N5.js +4 -0
  98. package/dist/arcgis-map-components/{LEDCQO2J.js → WJ6P3CBY.js} +2 -2
  99. package/dist/arcgis-map-components/{HSW23Y4F.js → WLC5EARK.js} +2 -2
  100. package/dist/arcgis-map-components/WMRIVJMD.js +6 -0
  101. package/dist/arcgis-map-components/{BKLLUI7B.js → WOHD36GZ.js} +2 -2
  102. package/dist/arcgis-map-components/{EVKTIDFS.js → WWLEY4C6.js} +2 -2
  103. package/dist/arcgis-map-components/{EQZR7MZ3.js → X3IDT2AO.js} +2 -2
  104. package/dist/arcgis-map-components/{LFHB6T2E.js → X5BAAK6B.js} +2 -2
  105. package/dist/arcgis-map-components/{YFSXTLDD.js → XENBLVWV.js} +2 -2
  106. package/dist/arcgis-map-components/XKDSYE5N.js +4 -0
  107. package/dist/arcgis-map-components/{3ZZ7KIG3.js → YEXPJB2C.js} +2 -2
  108. package/dist/arcgis-map-components/{S5X2HTHC.js → YIYDNRT4.js} +2 -2
  109. package/dist/arcgis-map-components/{VJLMLEAY.js → YNZ57DCV.js} +2 -2
  110. package/dist/arcgis-map-components/{IFGOEOTN.js → YWC2PPGY.js} +2 -2
  111. package/dist/arcgis-map-components/{SLJ2MOKD.js → YWWWSLZH.js} +2 -2
  112. package/dist/arcgis-map-components/{ORP47IXD.js → YZCB66IG.js} +2 -2
  113. package/dist/arcgis-map-components/{4YFUCFQU.js → ZLP553PX.js} +2 -2
  114. package/dist/arcgis-map-components/{PECF6FFS.js → ZQVTDBYU.js} +2 -2
  115. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  116. package/dist/chunks/basemap-gallery-resources.js +1 -1
  117. package/dist/chunks/component-utils.js +1 -1
  118. package/dist/chunks/createCloseEvent.js +1 -1
  119. package/dist/chunks/globalCss.js +1 -1
  120. package/dist/chunks/heading.js +1 -1
  121. package/dist/chunks/layer-list.js +1 -1
  122. package/dist/chunks/legacyIcon.js +1 -1
  123. package/dist/chunks/maybe.js +1 -1
  124. package/dist/chunks/runtime.js +1 -1
  125. package/dist/chunks/useHandles.js +1 -1
  126. package/dist/chunks/useT9n.js +9 -0
  127. package/dist/chunks/useView.js +11 -13
  128. package/dist/chunks/useViewModel.js +1 -1
  129. package/dist/chunks/useWidget.js +1 -1
  130. package/dist/chunks/utils.js +1 -1
  131. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -3
  132. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  133. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  134. package/dist/components/arcgis-attachments/customElement.js +1 -1
  135. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
  136. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  137. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -0
  138. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  139. package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
  140. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  141. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  142. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  143. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -0
  144. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  145. package/dist/components/arcgis-compass/customElement.js +2 -2
  146. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  147. package/dist/components/arcgis-daylight/customElement.js +1 -1
  148. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  149. package/dist/components/arcgis-directions/customElement.js +1 -1
  150. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  151. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  152. package/dist/components/arcgis-editor/customElement.js +1 -1
  153. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  154. package/dist/components/arcgis-expand/customElement.js +1 -1
  155. package/dist/components/arcgis-feature/customElement.js +1 -1
  156. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  157. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  158. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  159. package/dist/components/arcgis-features/customElement.d.ts +1 -0
  160. package/dist/components/arcgis-features/customElement.js +1 -1
  161. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  162. package/dist/components/arcgis-fullscreen/customElement.js +3 -2
  163. package/dist/components/arcgis-grid-controls/customElement.js +2 -2
  164. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  165. package/dist/components/arcgis-home/customElement.js +2 -2
  166. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  167. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -0
  168. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  169. package/dist/components/arcgis-layer-list-item/customElement.d.ts +0 -40
  170. package/dist/components/arcgis-layer-list-item/customElement.js +42 -42
  171. package/dist/components/arcgis-legend/customElement.js +1 -1
  172. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  173. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  174. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
  175. package/dist/components/arcgis-locate/customElement.js +2 -2
  176. package/dist/components/arcgis-map/customElement.js +1 -1
  177. package/dist/components/arcgis-measurement/customElement.js +1 -1
  178. package/dist/components/arcgis-navigation-toggle/customElement.js +7 -6
  179. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  180. package/dist/components/arcgis-placement/customElement.js +1 -1
  181. package/dist/components/arcgis-print/customElement.js +2 -2
  182. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  183. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  184. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  185. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  186. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  187. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  188. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  189. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  190. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  191. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  192. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  193. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  194. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  195. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  196. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  197. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  198. package/dist/components/arcgis-scale-bar/customElement.js +2 -2
  199. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  200. package/dist/components/arcgis-scene/customElement.js +1 -1
  201. package/dist/components/arcgis-search/customElement.js +2 -2
  202. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  203. package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -0
  204. package/dist/components/arcgis-shadow-cast/customElement.js +16 -16
  205. package/dist/components/arcgis-sketch/customElement.js +1 -1
  206. package/dist/components/arcgis-slice/customElement.js +1 -1
  207. package/dist/components/arcgis-slider/customElement.js +1 -1
  208. package/dist/components/arcgis-swipe/customElement.js +2 -2
  209. package/dist/components/arcgis-table-list/customElement.d.ts +4 -1
  210. package/dist/components/arcgis-table-list/customElement.js +1 -1
  211. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  212. package/dist/components/arcgis-time-zone-label/customElement.js +6 -5
  213. package/dist/components/arcgis-track/customElement.js +2 -2
  214. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  215. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  216. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  217. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  218. package/dist/components/arcgis-version-management/customElement.js +2 -2
  219. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  220. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  221. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  222. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  223. package/dist/components/arcgis-video/customElement.js +1 -1
  224. package/dist/components/arcgis-video-player/customElement.js +2 -2
  225. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  226. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  227. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  228. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  229. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  230. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  231. package/dist/components/arcgis-weather/customElement.js +7 -2
  232. package/dist/components/arcgis-zoom/customElement.js +6 -5
  233. package/dist/docs/api.json +129 -9
  234. package/dist/docs/docs.json +97 -9
  235. package/dist/docs/vscode.html-custom-data.json +22 -6
  236. package/dist/docs/web-types.json +75 -19
  237. package/dist/index.js +1 -1
  238. package/dist/loader.js +3 -3
  239. package/dist/types/lumina.d.ts +1 -1
  240. package/dist/types/preact.d.ts +1 -1
  241. package/dist/types/react.d.ts +1 -1
  242. package/dist/types/stencil.d.ts +1 -1
  243. package/package.json +5 -5
  244. package/dist/arcgis-map-components/5RNV4IFW.js +0 -4
  245. package/dist/arcgis-map-components/6PTLLZKN.js +0 -4
  246. package/dist/arcgis-map-components/6V6XXDPB.js +0 -4
  247. package/dist/arcgis-map-components/6ZLT4K5Y.js +0 -4
  248. package/dist/arcgis-map-components/763S5CH2.js +0 -4
  249. package/dist/arcgis-map-components/B4Z4U5WJ.js +0 -4
  250. package/dist/arcgis-map-components/BWATLZ5W.js +0 -4
  251. package/dist/arcgis-map-components/C36MFVIK.js +0 -4
  252. package/dist/arcgis-map-components/DYKSS4SA.js +0 -4
  253. package/dist/arcgis-map-components/ENME2AF3.js +0 -4
  254. package/dist/arcgis-map-components/HT5EP3XQ.js +0 -4
  255. package/dist/arcgis-map-components/HVNP7BZQ.js +0 -4
  256. package/dist/arcgis-map-components/KLTK63JQ.js +0 -4
  257. package/dist/arcgis-map-components/L22Q5GI2.js +0 -4
  258. package/dist/arcgis-map-components/P2BNAKJT.js +0 -4
  259. package/dist/arcgis-map-components/P5XS3RVD.js +0 -4
  260. package/dist/arcgis-map-components/RIGFNCSA.js +0 -6
  261. package/dist/arcgis-map-components/SQG655ZV.js +0 -4
  262. package/dist/arcgis-map-components/VMW3KAIU.js +0 -4
  263. package/dist/arcgis-map-components/WSNQKHFN.js +0 -4
  264. package/dist/arcgis-map-components/XIWRJGQ6.js +0 -4
  265. package/dist/arcgis-map-components/YAVFZNTL.js +0 -4
  266. package/dist/arcgis-map-components/YUEJDBH7.js +0 -4
  267. package/dist/arcgis-map-components/Z3XJJ4CA.js +0 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "4.33.0-next.117",
4
+ "version": "4.33.0-next.118",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -744,7 +744,7 @@
744
744
  },
745
745
  {
746
746
  "name": "arcgis-basemap-layer-list",
747
- "description": "BasemapLayerList component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.\n--\n\n### Events\n- **arcgisClose**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
747
+ "description": "BasemapLayerList component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
748
748
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-layer-list/",
749
749
  "attributes": [
750
750
  {
@@ -981,7 +981,8 @@
981
981
  "events": [
982
982
  {
983
983
  "name": "arcgisClose",
984
- "type": "undefined"
984
+ "type": "undefined",
985
+ "description": "Emitted when the component's close button is clicked."
985
986
  },
986
987
  {
987
988
  "name": "arcgisPropertyChange",
@@ -1177,7 +1178,8 @@
1177
1178
  "events": [
1178
1179
  {
1179
1180
  "name": "arcgisClose",
1180
- "type": "undefined"
1181
+ "type": "undefined",
1182
+ "description": "Emitted when the component's close button is clicked."
1181
1183
  },
1182
1184
  {
1183
1185
  "name": "arcgisPropertyChange",
@@ -1356,7 +1358,7 @@
1356
1358
  },
1357
1359
  {
1358
1360
  "name": "arcgis-bookmarks",
1359
- "description": "Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).\n--\n\n### Events\n- **arcgisClose**\n- **arcgisEdit**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisSelect**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
1361
+ "description": "Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisEdit**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisSelect**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
1360
1362
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-bookmarks/",
1361
1363
  "attributes": [
1362
1364
  {
@@ -1513,7 +1515,8 @@
1513
1515
  "events": [
1514
1516
  {
1515
1517
  "name": "arcgisClose",
1516
- "type": "undefined"
1518
+ "type": "undefined",
1519
+ "description": "Emitted when the component's close button is clicked."
1517
1520
  },
1518
1521
  {
1519
1522
  "name": "arcgisEdit",
@@ -1644,7 +1647,8 @@
1644
1647
  "events": [
1645
1648
  {
1646
1649
  "name": "arcgisClose",
1647
- "type": "undefined"
1650
+ "type": "undefined",
1651
+ "description": "Emitted when the component's close button is clicked."
1648
1652
  },
1649
1653
  {
1650
1654
  "name": "arcgisEdit",
@@ -1852,7 +1856,7 @@
1852
1856
  },
1853
1857
  {
1854
1858
  "name": "arcgis-catalog-layer-list",
1855
- "description": "The CatalogLayerList component provides a way to display and interact with CatalogLayers.\n--\n\n### Events\n- **arcgisClose**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
1859
+ "description": "The CatalogLayerList component provides a way to display and interact with CatalogLayers.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
1856
1860
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/",
1857
1861
  "attributes": [
1858
1862
  {
@@ -2037,7 +2041,8 @@
2037
2041
  "events": [
2038
2042
  {
2039
2043
  "name": "arcgisClose",
2040
- "type": "undefined"
2044
+ "type": "undefined",
2045
+ "description": "Emitted when the component's close button is clicked."
2041
2046
  },
2042
2047
  {
2043
2048
  "name": "arcgisPropertyChange",
@@ -2181,7 +2186,8 @@
2181
2186
  "events": [
2182
2187
  {
2183
2188
  "name": "arcgisClose",
2184
- "type": "undefined"
2189
+ "type": "undefined",
2190
+ "description": "Emitted when the component's close button is clicked."
2185
2191
  },
2186
2192
  {
2187
2193
  "name": "arcgisPropertyChange",
@@ -5997,7 +6003,7 @@
5997
6003
  },
5998
6004
  {
5999
6005
  "name": "arcgis-features",
6000
- "description": "Features component allows users to view a feature's popupTemplate content such as attributes, actions, related records, etc., without having to be tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).\n--\n\n### Events\n- **arcgisClose**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `clear(): Promise<void>`\n- `close(): Promise<void>` - Closes the component.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `fetchFeatures(screenPoint: __esri.FeaturesFetchFeaturesScreenPoint, options?: __esri.FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>` - Use this method to return feature(s) at a given screen location.\nThese features are fetched from all of the [layer views](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html).\nIn order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).\nThis method allows a developer to control how the input location is handled.\n- `next(): Promise<__esri.FeaturesViewModel>`\n- `open(options?: __esri.FeaturesOpenOptions): Promise<void>` - Opens Features with content defined either explicitly or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features.\n- `previous(): Promise<__esri.FeaturesViewModel>`\n- `triggerAction(actionIndex: number): Promise<void>`",
6006
+ "description": "Features component allows users to view a feature's popupTemplate content such as attributes, actions, related records, etc., without having to be tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `clear(): Promise<void>`\n- `close(): Promise<void>` - Closes the component.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `fetchFeatures(screenPoint: __esri.FeaturesFetchFeaturesScreenPoint, options?: __esri.FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>` - Use this method to return feature(s) at a given screen location.\nThese features are fetched from all of the [layer views](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html).\nIn order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).\nThis method allows a developer to control how the input location is handled.\n- `next(): Promise<__esri.FeaturesViewModel>`\n- `open(options?: __esri.FeaturesOpenOptions): Promise<void>` - Opens Features with content defined either explicitly or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features.\n- `previous(): Promise<__esri.FeaturesViewModel>`\n- `triggerAction(actionIndex: number): Promise<void>`",
6001
6007
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/",
6002
6008
  "attributes": [
6003
6009
  {
@@ -6210,7 +6216,8 @@
6210
6216
  "events": [
6211
6217
  {
6212
6218
  "name": "arcgisClose",
6213
- "type": "undefined"
6219
+ "type": "undefined",
6220
+ "description": "Emitted when the component's close button is clicked."
6214
6221
  },
6215
6222
  {
6216
6223
  "name": "arcgisPropertyChange",
@@ -6401,7 +6408,8 @@
6401
6408
  "events": [
6402
6409
  {
6403
6410
  "name": "arcgisClose",
6404
- "type": "undefined"
6411
+ "type": "undefined",
6412
+ "description": "Emitted when the component's close button is clicked."
6405
6413
  },
6406
6414
  {
6407
6415
  "name": "arcgisPropertyChange",
@@ -7532,7 +7540,7 @@
7532
7540
  },
7533
7541
  {
7534
7542
  "name": "arcgis-layer-list",
7535
- "description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisClose**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `triggerAction(action: __esri.ActionButton | __esri.ActionToggle, item: __esri.ListItem): Promise<void>`",
7543
+ "description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `triggerAction(action: __esri.ActionButton | __esri.ActionToggle, item: __esri.ListItem): Promise<void>`",
7536
7544
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/",
7537
7545
  "attributes": [
7538
7546
  {
@@ -7740,7 +7748,8 @@
7740
7748
  "events": [
7741
7749
  {
7742
7750
  "name": "arcgisClose",
7743
- "type": "undefined"
7751
+ "type": "undefined",
7752
+ "description": "Emitted when the component's close button is clicked."
7744
7753
  },
7745
7754
  {
7746
7755
  "name": "arcgisPropertyChange",
@@ -7918,7 +7927,8 @@
7918
7927
  "events": [
7919
7928
  {
7920
7929
  "name": "arcgisClose",
7921
- "type": "undefined"
7930
+ "type": "undefined",
7931
+ "description": "Emitted when the component's close button is clicked."
7922
7932
  },
7923
7933
  {
7924
7934
  "name": "arcgisPropertyChange",
@@ -12094,6 +12104,34 @@
12094
12104
  "type": "boolean"
12095
12105
  }
12096
12106
  },
12107
+ {
12108
+ "name": "hide-threshold-context",
12109
+ "default": "false",
12110
+ "value": {
12111
+ "type": "boolean"
12112
+ }
12113
+ },
12114
+ {
12115
+ "name": "hide-threshold-context-color",
12116
+ "default": "false",
12117
+ "value": {
12118
+ "type": "boolean"
12119
+ }
12120
+ },
12121
+ {
12122
+ "name": "hide-threshold-context-time-interval",
12123
+ "default": "false",
12124
+ "value": {
12125
+ "type": "boolean"
12126
+ }
12127
+ },
12128
+ {
12129
+ "name": "hide-threshold-context-toggle",
12130
+ "default": "false",
12131
+ "value": {
12132
+ "type": "boolean"
12133
+ }
12134
+ },
12097
12135
  {
12098
12136
  "name": "hide-time-range-slider",
12099
12137
  "default": "false",
@@ -12246,6 +12284,22 @@
12246
12284
  "name": "hideDatePicker",
12247
12285
  "type": "boolean"
12248
12286
  },
12287
+ {
12288
+ "name": "hideThresholdContext",
12289
+ "type": "boolean"
12290
+ },
12291
+ {
12292
+ "name": "hideThresholdContextColor",
12293
+ "type": "boolean"
12294
+ },
12295
+ {
12296
+ "name": "hideThresholdContextTimeInterval",
12297
+ "type": "boolean"
12298
+ },
12299
+ {
12300
+ "name": "hideThresholdContextToggle",
12301
+ "type": "boolean"
12302
+ },
12249
12303
  {
12250
12304
  "name": "hideTimeRangeSlider",
12251
12305
  "type": "boolean"
@@ -13687,7 +13741,7 @@
13687
13741
  },
13688
13742
  {
13689
13743
  "name": "arcgis-table-list",
13690
- "description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisClose**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
13744
+ "description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
13691
13745
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-table-list/",
13692
13746
  "attributes": [
13693
13747
  {
@@ -13869,7 +13923,8 @@
13869
13923
  "events": [
13870
13924
  {
13871
13925
  "name": "arcgisClose",
13872
- "type": "undefined"
13926
+ "type": "undefined",
13927
+ "description": "Emitted when the component's close button is clicked."
13873
13928
  },
13874
13929
  {
13875
13930
  "name": "arcgisPropertyChange",
@@ -14008,7 +14063,8 @@
14008
14063
  "events": [
14009
14064
  {
14010
14065
  "name": "arcgisClose",
14011
- "type": "undefined"
14066
+ "type": "undefined",
14067
+ "description": "Emitted when the component's close button is clicked."
14012
14068
  },
14013
14069
  {
14014
14070
  "name": "arcgisPropertyChange",
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.117 */
4
+ v4.33.0-next.118 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
5
- v4.33.0-next.117 */
5
+ v4.33.0-next.118 */
6
6
  const a = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
@@ -35,7 +35,7 @@ const a = t(e, {
35
35
  "arcgis-histogram-range-slider": [() => import("./components/arcgis-histogram-range-slider/customElement.js"), "autoDestroyDisabled,average,barCreatedFunction:,bins:,dataLineCreatedFunction:,dataLines:,excludedBarColor,icon,includedBarColor,label,labelFormatFunction:,max,min,position,precision,rangeType,referenceElement,standardDeviation,standardDeviationCount,state,values:;destroy,generateWhereClause"],
36
36
  "arcgis-home": [() => import("./components/arcgis-home/customElement.js"), "autoDestroyDisabled,goToOverride:,icon,label,messageOverrides:,position,referenceElement,state,viewpoint:;cancelGo,destroy,go"],
37
37
  "arcgis-layer-list": [() => import("./components/arcgis-layer-list/customElement.js"), "autoDestroyDisabled,catalogLayerList:,catalogOptions:,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,headingLevel,hideCatalogLayerList,hideFlow,hideStatusIndicators,icon,knowledgeGraphOptions:,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,openedLayers:,operationalItems:,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,state,tableList:,visibilityAppearance;destroy,triggerAction"],
38
- "arcgis-layer-list-item": [() => import("./components/arcgis-layer-list-item/customElement.js"), "activeItem:,autoDestroyDisabled,canMove:,css:,displayMode,dragEnabled,handleAction:,handleCatalogOpen:,handlePanelOpen:,handleSelectedDragItemLayerUidChange:,handleTablesOpen:,handleTooltipReferenceChange:,hideCatalogLayerList,hideFlow,hideStatusIndicators,item:,layerTablesEnabled:,listModeDisabled,messages:,parent:,parentTitles:,rootGroupUid,selectedDragItemLayerUid,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,showTemporaryTableIndicators,visibilityAppearance;destroy"],
38
+ "arcgis-layer-list-item": [() => import("./components/arcgis-layer-list-item/customElement.js"), "activeItem:,autoDestroyDisabled,canMove:,css:,displayMode,dragEnabled,handleAction:,handleCatalogOpen:,handlePanelOpen:,handleSelectedDragItemLayerUidChange:,handleTablesOpen:,handleTooltipReferenceChange:,hideCatalogLayerList,hideFlow,hideStatusIndicators,item:,layerTablesEnabled:,listModeDisabled,parent:,parentTitles:,rootGroupUid,selectedDragItemLayerUid,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,showTemporaryTableIndicators,visibilityAppearance;destroy"],
39
39
  "arcgis-legend": [() => import("./components/arcgis-legend/customElement.js"), "activeLayerInfos:,autoDestroyDisabled,basemapLegendVisible,headingLevel,hideLayersNotInCurrentView,icon,label,layerInfos:,legendStyle,position,referenceElement,respectLayerDefinitionExpression,respectLayerVisibilityDisabled,state;destroy"],
40
40
  "arcgis-line-of-sight": [() => import("./components/arcgis-line-of-sight/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state;clear,continue,destroy,start,stop"],
41
41
  "arcgis-link-chart": [() => import("./components/arcgis-link-chart/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,graphics:,highlights:,interacting:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating,view:,viewpoint:,zoom;addLayer,addLayers,closePopup,destroy,goTo,openPopup,tryFatalErrorRecovery,viewOnReady,whenLayerView;toMap,toScreen"],
@@ -68,7 +68,7 @@ const a = t(e, {
68
68
  "arcgis-scene": [() => import("./components/arcgis-scene/customElement.js"), "allLayerViews:,alphaCompositingEnabled,analyses:,autoDestroyDisabled,basemap,basemapView:,camera:,cameraFov,cameraHeading,cameraPosition,cameraTilt,center,clippingArea:,constraints:,displayFilterDisabled,environment:,extent:,fatalError:,floors:,gamepad:,graphics:,ground,groundView:,highlightOptions:,highlights:,interacting:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,performanceInfo:,popup:,popupDisabled,qualityProfile,ready:,resolution:,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,updating,view:,viewingMode,viewpoint:,visibleArea:,zoom;addLayer,addLayers,addTable,addTables,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenAnalysisView,whenLayerView;toMap,toScreen"],
69
69
  "arcgis-search": [() => import("./components/arcgis-search/customElement.js"), "activeMenu,activeSource:,activeSourceIndex,allPlaceholder,allSources:,autoDestroyDisabled,autoNavigate,autoSelect,defaultSources:,disabled,goToOverride:,icon,includeDefaultSources,label,locationEnabled,maxResults,maxSuggestions,messageOverrides:,minSuggestCharacters,popupEnabled,popupTemplate:,portal:,position,referenceElement,resultGraphic:,resultGraphicEnabled,results:,searchAllEnabled,searchTerm,selectedResult:,sources:,state,suggestions:,suggestionsEnabled;destroy,setFocus"],
70
70
  "arcgis-search-result-renderer": [() => import("./components/arcgis-search-result-renderer/customElement.js"), "autoDestroyDisabled,messages:,viewModel:;destroy"],
71
- "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,visualizationType;destroy,getDuration,start,stop"],
71
+ "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideThresholdContext,hideThresholdContextColor,hideThresholdContextTimeInterval,hideThresholdContextToggle,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,visualizationType;destroy,getDuration,start,stop"],
72
72
  "arcgis-sketch": [() => import("./components/arcgis-sketch/customElement.js"), "activeTool,autoDestroyDisabled,availableCreateTools:,createGraphic:,creationMode,defaultCreateOptions:,defaultGraphicsLayerDisabled,defaultUpdateOptions:,hideCreateToolsCircle,hideCreateToolsPoint,hideCreateToolsPolygon,hideCreateToolsPolyline,hideCreateToolsRectangle,hideDeleteButton,hideDuplicateButton,hideLabelsToggle,hideSelectionCountLabel,hideSelectionToolsLassoSelection,hideSelectionToolsRectangleSelection,hideSettingsMenu,hideSnappingControls,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,hideUndoRedoMenu,icon,label,labelOptions:,layer:,layout,pointSymbol:,polygonSymbol:,polylineSymbol:,position,referenceElement,scale,showSnappingControlsElementsHeader,snappingOptions:,state,toolbarKind,tooltipOptions:,updateGraphics:;cancel,complete,create,delete,destroy,duplicate,redo,triggerUpdate,undo"],
73
73
  "arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,headingLevel,icon,label,position,referenceElement,shape:,state,tiltEnabled;clear,destroy,start"],
74
74
  "arcgis-slider": [() => import("./components/arcgis-slider/customElement.js"), "autoDestroyDisabled,draggableSegmentsEnabled,effectiveMax,effectiveMin,effectiveSegmentElements:,icon,label,labelElements:,labelInputsEnabled,labels:,layout,max,maxLabelElement:,min,minLabelElement:,position,precision,rangeLabelInputsEnabled,referenceElement,segmentElements:,snapOnClickEnabled,state,steps,syncedSegmentsEnabled,thumbElements:,thumbsConstrained,tickConfigs:,tickElements:,trackElement:,values;destroy"],
@@ -378,7 +378,7 @@ interface LuminaArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
378
378
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
379
379
  }
380
380
 
381
- interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
381
+ interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
382
382
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
383
383
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
384
384
  }
@@ -379,7 +379,7 @@ interface PreactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
379
379
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
380
380
  }
381
381
 
382
- interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
382
+ interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
383
383
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
384
384
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
385
385
  }
@@ -379,7 +379,7 @@ interface ReactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResul
379
379
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
380
380
  }
381
381
 
382
- interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, HTMLProps<HTMLArcgisShadowCastElement> {
382
+ interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, HTMLProps<HTMLArcgisShadowCastElement> {
383
383
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
384
384
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
385
385
  }
@@ -379,7 +379,7 @@ interface StencilArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchRes
379
379
  onArcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
380
380
  }
381
381
 
382
- interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
382
+ interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
383
383
  onArcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
384
384
  onArcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
385
385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.33.0-next.117",
3
+ "version": "4.33.0-next.118",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -41,10 +41,10 @@
41
41
  ],
42
42
  "license": "SEE LICENSE IN LICENSE.md",
43
43
  "dependencies": {
44
- "@arcgis/components-controllers": "4.33.0-next.117",
45
- "@arcgis/components-utils": "4.33.0-next.117",
46
- "@arcgis/lumina": "4.33.0-next.117",
47
- "tslib": "^2.7.0"
44
+ "@arcgis/components-controllers": "4.33.0-next.118",
45
+ "@arcgis/components-utils": "4.33.0-next.118",
46
+ "@arcgis/lumina": "4.33.0-next.118",
47
+ "tslib": "^2.8.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@arcgis/core": ">=4.33.0-next <4.34",
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import d from"./BWATLZ5W.js";import{a as m}from"./J25SFNGR.js";import{c as v,e as x}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as _,J as g,K as a,M as c,O as u,a as r,i as b,j as s,z as p}from"./RIGFNCSA.js";export default $arcgis.t(([{when:z,watch:D},{a:$,b:f}])=>{var w=b`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},h=class extends g{constructor(){super(...arguments),this._messages=$({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=f(this),this._direction=v(),this._expandDirection=null,this._timeZone=null,this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.icon="time-zone",this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,icon:3,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:n}=this;return e?this._direction==="rtl"?n==="start"?"chevrons-left":"chevrons-right":n==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),n=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[n,l,d];return this.expandDirection==="start"&&o.reverse(),s`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return s`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return s`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",n="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===n,o=s`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=s`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",h);return h},"core/reactiveUtils",d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{b as C}from"./PECF6FFS.js";import i from"./7THIMMOW.js";import h from"./BWATLZ5W.js";import{a as d}from"./J25SFNGR.js";import e from"./3NCFDQO3.js";import{e as $}from"./M4VORKST.js";import"./UU4QTRQA.js";import{i as f}from"./FUSJLNVM.js";import{D as g,J as b,K as a,L as v,M as c,O as _,d as u,i as p,j as o,z as m}from"./RIGFNCSA.js";export default $arcgis.t(([{watch:y},M,,{a:w},R])=>{var x=[-45,0,45,-90,90,-135,180,135],S={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"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},B=p`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 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)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=R(M),h=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=$()("state"),this.arcgisReady=m()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=g}static{this.styles=B}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?f(this)?.focus():u(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=E(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=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${C(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=S[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><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>`}};_("arcgis-directional-pad",h);return h},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,h,i)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{a as g,b as p}from"./PECF6FFS.js";import f from"./7THIMMOW.js";import b from"./BWATLZ5W.js";import{a as v}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as h}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as l,J as n,K as t,O as c,a as o,i as d,j as e,z as r}from"./RIGFNCSA.js";export default $arcgis.t(([V,{watch:$},,{a:u},m])=>{var b=d`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",_={base:f,videoView:`${f}__video-view`},M=m(V),a=class extends n{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=M(this),this._videoViewRef=g(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=h()("state","layer"),this.arcgisReady=r(),this.arcgisVideoReady=r()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,referenceElement:1,position:3,icon:1,state:3,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3}}static{this.styles=b}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:y,currentTime:s,duration:i,ended:w}=this.viewModel;this._duration=i,this._currentTime=s,this._bufferedValue=y/(i||1),this._currentValue=s/(i||1),this._isBuffering=!w&&this._bufferedValue<this._currentValue})])}render(){return e`<div class=${t(o(_.base,v.widget))}><calcite-panel .heading=${this.layer?.title||"Video Player"}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewRef?.value?.ready?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${t(_.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};c("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{a as g}from"./I4QZYVON.js";import{b as d}from"./PECF6FFS.js";import c from"./7THIMMOW.js";import b from"./BWATLZ5W.js";import{a as x}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as C}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as S,J as M,K as l,M as f,O as $,a as m,i as _,j as r,n as v,z as w}from"./RIGFNCSA.js";export default $arcgis.t(([E,{isAbortError:A},{substitute:T},{watch:I},{d:a},{a:b},R])=>{var h="arcgis-search",u={base:h,autocomplete:`${h}__autocomplete`,dropdown:`${h}__dropdown`,container:`${h}__container`,form:`${h}__form`},N=_`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`,D=R(E),p=class extends M{constructor(){super(...arguments),this.viewModel=D(this),this._currentLocationValue="search-use-current-location",this._searchResultRendererContainerEl=document.createElement("div"),this._suggestController=null,this._searchController=null,this._lastSearchTerm="",this.messages=b({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigate=this.viewModel.autoNavigate,this.autoSelect=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSources=this.viewModel.includeDefaultSources,this.locationEnabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupEnabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicEnabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllEnabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsEnabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=C()("state"),this.arcgisReady=w(),this.arcgisSearchClear=a(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=a(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=a(()=>this.viewModel,"search-start"),this.arcgisSelectResult=a(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=a(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=a(()=>this.viewModel,"suggest-start"),this._renderSearchResultsContent=()=>this._searchResultRendererEl}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigate:5,autoSelect:5,defaultSources:0,disabled:5,includeDefaultSources:5,locationEnabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupEnabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicEnabled:5,results:0,searchAllEnabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsEnabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=N}static{this.shadowRootOptions=S}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return this.locationEnabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this._addSearchResultRenderer(),this.manager.onLifecycle(()=>I(()=>this.viewModel?.defaultPopupTemplate,e=>{e&&(e.content=this._renderSearchResultsContent)},{initial:!0}))}clear(){this._locateFailed=!1,this.viewModel.clear()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=null,i)}catch{if(this._searchController!==t)return;this._searchController=null;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=null,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=null),null}}_addSearchResultRenderer(){v(r`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===s.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=null}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return r`<div class=${l(m(u.base,x.widget))}><div class=${l(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:o}=this.viewModel;return i.length>1?r`<calcite-dropdown class=${l(u.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${i.map((n,c)=>this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return r`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:o,searchTerm:n,state:c}=this.viewModel,y=this.label??t.searchButtonTitle??"";return r`<calcite-autocomplete .autocomplete=${"off"} class=${l(u.autocomplete)} .disabled=${s} .icon=${this.icon} .inputValue=${n} .label=${y} .loading=${c==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(n?"":o)??f} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return r`<form class=${l(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,o=e.results?.length,n=t.length>1&&s===-1,c=this._getSourceName(i);return o&&n?r`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return r`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return r`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?T(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return r`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return r`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};$("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import a from"./BWATLZ5W.js";import{e as g}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as d,J as p,K as e,M as r,O as z,a as i,i as l,j as u,z as h}from"./RIGFNCSA.js";export default $arcgis.t(([{ignoreAbortErrors:b},{when:O},{a:y,b:f}])=>{var a={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"};function x(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMaxScale;return s===0||o>s}function I(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMinScale;return s===0||o<s}function w(t){let o=t?.animation?.target;return(o&&"then"in o?void 0:o?.scale)??t?.scale??0}var Z=l`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,n=class extends p{constructor(){super(...arguments),this.messages=y({}),this.view=f(this),this.canZoomIn=!1,this.canZoomOut=!1,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.arcgisPropertyChange=g()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=d}static{this.styles=Z}get state(){return this.view?.ready?"ready":"disabled"}async destroy(){await this.manager.destroy()}async zoomIn(){let{view:o}=this;!this.canZoomIn||!o||(o.type==="2d"?o.mapViewNavigation.zoomIn():b(o.goTo({zoomFactor:2})))}async zoomOut(){let{view:o}=this;!this.canZoomOut||!o||(o.type==="2d"?o.mapViewNavigation.zoomOut():b(o.goTo({zoomFactor:.5})))}loaded(){this.manager.onLifecycle(()=>O(()=>this.view?.stationary,()=>{this.canZoomIn=x(this.view),this.canZoomOut=I(this.view)},{initial:!0}))}render(){let o={[a.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:s,canZoomOut:v}=this,{zoomIn:c,zoomOut:m}=this.messages;return u`<div class=${e(i(a.base,o))}><calcite-button class=${e(i(a.button,a.zoomIn))} .disabled=${!s} icon-start=plus kind=neutral .label=${c} @click=${this.zoomIn} title=${c??r}></calcite-button><calcite-button class=${e(i(a.button,a.zoomOut))} .disabled=${!v} icon-start=minus kind=neutral .label=${m} @click=${this.zoomOut} title=${m??r}></calcite-button></div>`}};z("arcgis-zoom",n);return n},"core/promiseUtils","core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import a from"./BWATLZ5W.js";import{a as b}from"./J25SFNGR.js";import{e as y}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as g,J as h,K as v,M as e,O as m,i as l,j as p,z as d}from"./RIGFNCSA.js";export default $arcgis.t(([{when:M},{a:f,b:u}])=>{var w="arcgis-navigation-toggle",x={base:w},_=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,o={pan:"move",rotate:"rotate"},s=class extends h{constructor(){super(...arguments),this.view=u(this),this._messages=f(),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={icon:1,label:1,layout:3,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=g}static{this.styles=_}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this.state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${v({[x.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{d as l}from"./M4VORKST.js";import{a as h}from"./UU4QTRQA.js";import{a as i}from"./FUSJLNVM.js";import{B as a,P as c}from"./RIGFNCSA.js";export default $arcgis.t(([m,{signal:p}])=>{var _=l(c),g=n=>v(n),s=class extends a{constructor(e){super(e),this._view$=p(void 0),this._viewDestroyHandle=void 0,this._canEmitArcgisReady=!1;let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this._view$.value,set:o=>{if(this.exports===o)return;let d=t.view;this._view$.value=o,this.exports=o,this.component.requestUpdate("view",d),this._notifyViewReady()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>{r&&(t.view=r)})}hostConnected(){this.component.manager.hasDestroy&&(this._viewDestroyHandle??=m.when(()=>this._view$.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this._viewDestroyHandle?.remove())),this.component.manager.loadedCalled&&i(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=t??e.childElem,this._canEmitArcgisReady=!0,this._notifyViewReady(),e.isConnected&&i(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this._view$.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&i(this.component),e.has("referenceElement")&&i(this.component)}_notifyViewReady(){!this._canEmitArcgisReady||this._view$.value==null||(this._canEmitArcgisReady=!1,this.component.arcgisReady.emit())}},v=h(s);return{a:_,b:g,c:s}},"core/reactiveUtils","applications/Components/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import f from"./7THIMMOW.js";import b from"./BWATLZ5W.js";import{a as i}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as g}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as d,J as m,K as s,L as h,M as e,O as p,a as r,i as n,j as c,z as l}from"./RIGFNCSA.js";export default $arcgis.t(([$,,{a:u},f])=>{var b=n`@layer{arcgis-compass{display:block}}`,v="esri-compass",y={base:v,iconContainer:`${v}__icon-container`},C=f($),o=class extends m{constructor(){super(...arguments),this.messages=u(),this.viewModel=C(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state","orientation"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=b}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:w}=this;return c`<div class=${s(r(y.base,i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??e}><div aria-hidden=true class=${s(y.iconContainer)} title=${t.reset??e}><calcite-icon .icon=${w} style=${h(M(this.orientation))}></calcite-icon></div></calcite-button></div>`}},M=a=>({transform:`rotateZ(${a.z}deg)`});p("arcgis-compass",o);return o},"widgets/Compass/CompassViewModel",a,b,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{b as R}from"./PECF6FFS.js";import e from"./7THIMMOW.js";import b from"./BWATLZ5W.js";import{a as v}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as y,J as g,K as r,L as _,O as w,a as d,j as c,z as C}from"./RIGFNCSA.js";export default $arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x,,{a:L},B])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=y}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{b}from"./PECF6FFS.js";import d from"./7THIMMOW.js";import c from"./BWATLZ5W.js";import{a as _}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as T}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as C,J as I,K as o,M as m,O as M,a as h,e as S,i as w,j as n,z as y}from"./RIGFNCSA.js";export default $arcgis.t(([O,p,{substitute:D},{watch:L},B,,{a:E},x])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(R(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:R(Math.trunc(e),360)-180}function R(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=w`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=S(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this._warningIconTooltipRef=void 0,this._themePopoverRef=void 0,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.customColor=null,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:1,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let t=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=t?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${o(h(c.base,_.widget,_.panel))}><div class=${o(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:s,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,s?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,s=i!=null&&i!==t;return n`<div class=${o(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s?n`<calcite-icon class=${o(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${s&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${o(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${s=>{s.stopPropagation(),this.dynamicScaling=s.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${o(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${o(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],s=`${this._labelUid}--theme_tile_${a}`,d=`${s}__label`,g=u.gridTheme[a];return n`<div class=${o(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${s??m} .name=${`${this._labelUid}--theme`} @change=${k=>{this.theme=a,k.currentTarget.focus()}} tabindex=0 type=radio><div class=${o(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${s} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);return $},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import{a as R}from"./EKFADZVZ.js";import"./7FQSUWSQ.js";import{a as i}from"./TOTTTNGK.js";import e from"./7THIMMOW.js";import c from"./BWATLZ5W.js";import{a as d}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as f}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as v,J as u,K as l,L as b,M as m,O as y,a as p,i as g,j as o,z as w}from"./RIGFNCSA.js";export default $arcgis.t(([{when:D,watch:L},A,,{a:$},M])=>{var I=g`@layer{arcgis-basemap-gallery{display:block}}`,E=M(A),h={small:200,default:280,wide:420},c=class extends u{constructor(){super(...arguments),this.messages=$({}),this.viewModel=E(this),this._width=0,this._state="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=f()("activeBasemap","state"),this.arcgisReady=w()}static{this.properties={_width:16,_state:16,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=v}static{this.styles=I}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[D(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),L(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0})]);let s=new ResizeObserver(t=>{for(let a of t)this._width=a.contentRect.width}),e=this.el.childElem;e&&s.observe(e)}_getRoundRobinIndex(s,e){return(s+e)%e}_handleKeyDown(s){let{key:e}=s;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;s.preventDefault();let{items:t,activeBasemapIndex:a}=this.viewModel,r=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(a-1,-1),t.length):this._getRoundRobinIndex(a+1,t.length),n=t.at(r);n?.state==="ready"&&(this.viewModel.activeBasemap=n.basemap)}render(){let s=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,a={[i.sourceLoading]:s,[d.disabled]:e,"esri-component":!0},r=this._width;r<=h.small||r>=h.wide?a[i.layoutGrid]=!0:r<h.default&&(a[i.narrowItems]=!0);let n=s?o`<div class=${l(i.loader)}></div>`:null,_=s?null:t.length>0?o`<div aria-disabled=${this.disabled??m} aria-label=${this.label??m} class=${l(i.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((x,B)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${x} .itemIndex=${B} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${l(d.empty)}>${R({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${l(p(i.base,d.widget,d.panel,a))} style=${b({"--esri-basemap-gallery-small":`${h.small}px`})}>${[n,_]}</div>`}};y("arcgis-basemap-gallery",c);return c},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",a,c,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.117 */
4
- import e from"./7THIMMOW.js";import b from"./BWATLZ5W.js";import{a as o}from"./J25SFNGR.js";import a from"./3NCFDQO3.js";import{e as g}from"./M4VORKST.js";import"./UU4QTRQA.js";import"./FUSJLNVM.js";import{D as d,J as p,K as i,O as m,a as h,i as c,j as t,z as l}from"./RIGFNCSA.js";export default $arcgis.t(([u,,{a:w},v])=>{var f=c`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__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)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`,s="arcgis-print",a={base:s,headerTitle:`${s}__header-title`,panelItemsCentered:`${s}__panel-items--centered`,printWidgetContainer:`${s}__container`,panelError:`${s}__panel--error`},_=v(u),n=class extends p{constructor(){super(...arguments),this.messages=w({blocking:!0}),this.viewModel=_(this),this._showTemplates=!1,this.error=this.viewModel.error,this.hideHeader=!1,this.position="top-left",this.icon="print",this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.browseTemplateButtonOnClick=null,this.allowedFormatsForSaving=null,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,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.saveAsButtonCallback=null,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state"),this.arcgisReady=l(),this.arcgisComplete=l(),this.arcgisSubmit=l()}static{this.properties={_showTemplates:16,error:16,hideHeader:5,referenceElement:1,position:3,icon:1,allowedFormats:1,allowedLayouts:1,browseTemplateButtonOnClick:0,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:1,headingLevel:9,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,saveAsButtonCallback:0,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=f}static{this.shadowRootOptions=d}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[]),this.viewModel.load();let{height:e,width:r}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=r||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={[a.panelItemsCentered]:this.viewModel.state==="initializing"};return t`<div class=${i(h(a.base,o.widget,o.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="initializing"?t`<calcite-loader label=loading scale=m></calcite-loader>`:t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${i(a.printWidgetContainer)}>${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} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:t`<header class=${i(a.headerTitle)}>${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,r=e?.type!=="2d";return this.error||r?t`<div class=${i(a.panelError)}>${e?r?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback} .arcgisComplete=${this.arcgisComplete} .arcgisSubmit=${this.arcgisSubmit}></arcgis-print-main-panel>`}};m("arcgis-print",n);return n},"widgets/Print/PrintViewModel",a,b,e)