@arcgis/map-components 4.33.0-next.137 → 4.33.0-next.138

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 (284) hide show
  1. package/dist/cdn/{Y2ZWCSMD.js → 2ICV3ZP6.js} +2 -2
  2. package/dist/cdn/{YWWSIRGF.js → 2RYHZPSQ.js} +2 -2
  3. package/dist/cdn/{SN4KOFE3.js → 2TBOD7GJ.js} +2 -2
  4. package/dist/cdn/{KSKJDUME.js → 3F4Z4TXU.js} +2 -2
  5. package/dist/cdn/3HNXL7RL.js +4 -0
  6. package/dist/cdn/{RDUZPE7Y.js → 3MPFDWBN.js} +2 -2
  7. package/dist/cdn/{5VV7ADX2.js → 3PXEJNET.js} +2 -2
  8. package/dist/cdn/{GCOPPRBT.js → 3RYCWP6E.js} +2 -2
  9. package/dist/cdn/{NGHIJ3DC.js → 4KXQH47P.js} +2 -2
  10. package/dist/cdn/{BB56R3VK.js → 4NU2LEDY.js} +2 -2
  11. package/dist/cdn/{WRU5KHFD.js → 54A6QQ5P.js} +2 -2
  12. package/dist/cdn/{3X2SF33Y.js → 5DLF2FRD.js} +2 -2
  13. package/dist/cdn/{VIH4QGPR.js → 5J7OJ4Z6.js} +2 -2
  14. package/dist/cdn/{JQZHJJQU.js → 5KYPK2BL.js} +2 -2
  15. package/dist/cdn/{7HRPGAD5.js → 5PFB6EGX.js} +2 -2
  16. package/dist/cdn/{UHDYIYTO.js → 6Q5DEPLW.js} +2 -2
  17. package/dist/cdn/{HOKANAS6.js → 6VOXDT2D.js} +2 -2
  18. package/dist/cdn/{JJMYT26S.js → 73CNLONW.js} +2 -2
  19. package/dist/cdn/{CSUILAJU.js → 7C6JQ4XM.js} +2 -2
  20. package/dist/cdn/{63PJIGRN.js → 7FFIVQF6.js} +2 -2
  21. package/dist/cdn/{GC24UXEV.js → 7Q2OQGBB.js} +2 -2
  22. package/dist/cdn/{JNS2KI7N.js → A4ZNGLT2.js} +2 -2
  23. package/dist/cdn/{HWHSDZTN.js → A575HHDP.js} +2 -2
  24. package/dist/cdn/A5AIKEDX.js +4 -0
  25. package/dist/cdn/{JOBOKXGE.js → AIYUDCDQ.js} +2 -2
  26. package/dist/cdn/AV6YUXI6.js +4 -0
  27. package/dist/cdn/BNCLTRYH.js +4 -0
  28. package/dist/cdn/{RNC2RI56.js → BQYQ3LTP.js} +2 -2
  29. package/dist/cdn/{T2LDYV3D.js → BZ5KBRTH.js} +2 -2
  30. package/dist/cdn/{WES66GRD.js → C677Z3XS.js} +2 -2
  31. package/dist/cdn/C722QWYO.js +4 -0
  32. package/dist/cdn/{RTDORBQ6.js → CUDJHVRU.js} +2 -2
  33. package/dist/cdn/{SJ2TC3QB.js → CV2IWESX.js} +2 -2
  34. package/dist/cdn/{YN3LDRSF.js → D7MSIIVJ.js} +2 -2
  35. package/dist/cdn/{5LW4P6XZ.js → DJAPPGGB.js} +2 -2
  36. package/dist/cdn/{5BCHGYG7.js → EDORIH5N.js} +2 -2
  37. package/dist/cdn/EL4W5FAJ.js +4 -0
  38. package/dist/cdn/{ATKZUZI2.js → FOVCH7VW.js} +2 -2
  39. package/dist/cdn/{5WBV6YFC.js → FY5ET4WM.js} +2 -2
  40. package/dist/cdn/{HRJOSIMY.js → G7FA2SZX.js} +2 -2
  41. package/dist/cdn/{FV4L6I7H.js → GDRUHH5B.js} +2 -2
  42. package/dist/cdn/{6KRGSMB4.js → GEVMX2UO.js} +2 -2
  43. package/dist/cdn/{YQEPT3W4.js → GURMXFUT.js} +2 -2
  44. package/dist/cdn/{BD5AHAB3.js → GY5GZLXV.js} +2 -2
  45. package/dist/cdn/{5ZFS6JQ5.js → HBVJIRGN.js} +2 -2
  46. package/dist/cdn/{2JYK2CB3.js → HCS23COA.js} +2 -2
  47. package/dist/cdn/{4D3HAR5N.js → HMR3LZEC.js} +2 -2
  48. package/dist/cdn/{UAYKV5JC.js → HT7HVKXJ.js} +2 -2
  49. package/dist/cdn/{ULXMI4MQ.js → HUYGZMDR.js} +2 -2
  50. package/dist/cdn/HXOPYRM2.js +4 -0
  51. package/dist/cdn/{QLBYFGRC.js → IH32IEWT.js} +2 -2
  52. package/dist/cdn/{3DOZMTZY.js → JGCDGP2X.js} +2 -2
  53. package/dist/cdn/JR37HKLZ.js +4 -0
  54. package/dist/cdn/{WNWGJCTZ.js → JYTTN5LU.js} +2 -2
  55. package/dist/cdn/{K6GCCQVK.js → KEI26URD.js} +1 -1
  56. package/dist/cdn/{3MDEYSMH.js → KM5OVC7O.js} +2 -2
  57. package/dist/cdn/{CUAGGML4.js → L5J24G5M.js} +2 -2
  58. package/dist/cdn/L66H2ALJ.js +4 -0
  59. package/dist/cdn/{OQRY5XKR.js → LIQITLFR.js} +2 -2
  60. package/dist/cdn/{WFAFO74Y.js → LNOMQKUY.js} +2 -2
  61. package/dist/cdn/{6I3SCK5W.js → LQEPXN57.js} +2 -2
  62. package/dist/cdn/{L2JGREVD.js → LT4K76AI.js} +2 -2
  63. package/dist/cdn/LUWRRPTC.js +4 -0
  64. package/dist/cdn/{DCF7KPFM.js → MEUUSKT3.js} +2 -2
  65. package/dist/cdn/{P3IHJRIN.js → MNSXEFSD.js} +2 -2
  66. package/dist/cdn/{6HE4J7DX.js → MUPWF5M2.js} +2 -2
  67. package/dist/cdn/{BOFYWT7T.js → N36AOA4W.js} +2 -2
  68. package/dist/cdn/{PWDTZOFW.js → N4JEEG6U.js} +2 -2
  69. package/dist/cdn/{KEX5SMJ4.js → NA7YRW3M.js} +2 -2
  70. package/dist/cdn/{T2FLV2R6.js → NHSTTG5C.js} +1 -1
  71. package/dist/cdn/{XWW3ZCHK.js → NIB3ARH5.js} +2 -2
  72. package/dist/cdn/{2WS23IDT.js → O7YEMKLH.js} +2 -2
  73. package/dist/cdn/{EDDNE2YV.js → P2ORI2MU.js} +2 -2
  74. package/dist/cdn/{AGJQRXUY.js → P4OU64OH.js} +2 -2
  75. package/dist/cdn/{YQNF42PE.js → PRZRGIJO.js} +2 -2
  76. package/dist/cdn/{LGADCTY4.js → Q2G3EZNU.js} +2 -2
  77. package/dist/cdn/{EBIXSEM3.js → Q3DX3LMR.js} +2 -2
  78. package/dist/cdn/{6RDVRAGB.js → QBPIXB5K.js} +2 -2
  79. package/dist/cdn/{DBYBQ4MS.js → QINX3JDV.js} +2 -2
  80. package/dist/cdn/{7ZQFUYMU.js → QXPX2NPW.js} +2 -2
  81. package/dist/cdn/{SE4EPVYX.js → RN2REPX3.js} +2 -2
  82. package/dist/cdn/{A2JY4S6Y.js → RPQOQQSL.js} +2 -2
  83. package/dist/cdn/{VD4DEVXX.js → RSXOP3R5.js} +1 -1
  84. package/dist/cdn/{33TPQFND.js → S7S6ARM2.js} +2 -2
  85. package/dist/cdn/{IXLJCXGC.js → SNF6PQDA.js} +2 -2
  86. package/dist/cdn/{YCIQTPHF.js → SPPQB6HJ.js} +2 -2
  87. package/dist/cdn/{MTF4QZ3G.js → ST2CRGPM.js} +2 -2
  88. package/dist/cdn/{TGV2K4EC.js → SUEDRTNE.js} +2 -2
  89. package/dist/cdn/{5JQTIBKQ.js → SW63GGTX.js} +2 -2
  90. package/dist/cdn/{4SE24INE.js → T5JY4NUR.js} +1 -1
  91. package/dist/cdn/{FCRXZRF7.js → TBKYTCWV.js} +2 -2
  92. package/dist/cdn/{SLR4TFQ3.js → TGOTZ7AI.js} +2 -2
  93. package/dist/cdn/{SDHDA4VU.js → TLXRUB2I.js} +2 -2
  94. package/dist/cdn/{HBEZJNIF.js → TN3WLCHJ.js} +1 -1
  95. package/dist/cdn/{ISJAW7ZJ.js → U2DRGZMR.js} +2 -2
  96. package/dist/cdn/{ROFUMAYO.js → UERCPIN5.js} +2 -2
  97. package/dist/cdn/{N2WMQEE4.js → UFB7UU6E.js} +1 -1
  98. package/dist/cdn/{3EZB7HPE.js → UHZ772ND.js} +2 -2
  99. package/dist/cdn/UT2TU4IE.js +4 -0
  100. package/dist/cdn/{YJAFSXBF.js → UTX6MR4S.js} +2 -2
  101. package/dist/cdn/{I3JQ2C46.js → V7RU2UNT.js} +2 -2
  102. package/dist/cdn/{R56GIOIT.js → VBIWNOWT.js} +2 -2
  103. package/dist/cdn/{FSQWGAQZ.js → VCEXQIAL.js} +2 -2
  104. package/dist/cdn/{4KDIHAZ2.js → VKAIYWB6.js} +2 -2
  105. package/dist/cdn/{V4RREMPI.js → VUGWIA5S.js} +2 -2
  106. package/dist/cdn/{D542S3PL.js → VXE3QTOJ.js} +2 -2
  107. package/dist/cdn/{IVDO3HEB.js → WTLPSGCB.js} +2 -2
  108. package/dist/cdn/{YKGZ2YLZ.js → XDDWEQM3.js} +2 -2
  109. package/dist/cdn/XGAGBN4O.js +4 -0
  110. package/dist/cdn/{KMDCE5JO.js → XJG23KZB.js} +2 -2
  111. package/dist/cdn/{QBWUU6DV.js → XQWUSMGI.js} +2 -2
  112. package/dist/cdn/{C55WACHK.js → XTNP3TJF.js} +2 -2
  113. package/dist/cdn/{OVQESQOK.js → YB6ZBOCX.js} +2 -2
  114. package/dist/cdn/{YP7UOQCO.js → YCQPBKUP.js} +2 -2
  115. package/dist/cdn/{KAGROI4I.js → YXY5RVBB.js} +2 -2
  116. package/dist/cdn/{4HIG2QS5.js → ZBFPM6CM.js} +2 -2
  117. package/dist/cdn/{LMLLRBWA.js → ZD62VL5V.js} +2 -2
  118. package/dist/cdn/ZEX2ON7O.js +4 -0
  119. package/dist/cdn/{HDGUZQRD.js → ZO4WI4NO.js} +2 -2
  120. package/dist/cdn/index.js +2 -2
  121. package/dist/cdn/main.css +1 -1
  122. package/dist/chunks/AnalysisViewModel.js +66 -77
  123. package/dist/chunks/async-utils.js +2 -2
  124. package/dist/chunks/basemap-gallery-resources.js +1 -1
  125. package/dist/chunks/component-utils.js +1 -1
  126. package/dist/chunks/createCloseEvent.js +1 -1
  127. package/dist/chunks/globalCss.js +1 -1
  128. package/dist/chunks/heading.js +1 -1
  129. package/dist/chunks/layer-list.js +1 -1
  130. package/dist/chunks/legacyIcon.js +1 -1
  131. package/dist/chunks/maybe.js +5 -5
  132. package/dist/chunks/measurementUtils.js +50 -0
  133. package/dist/chunks/runtime.js +1 -1
  134. package/dist/chunks/useHandles.js +1 -1
  135. package/dist/chunks/useT9n.js +1 -1
  136. package/dist/chunks/useView.js +1 -1
  137. package/dist/chunks/useViewModel.js +1 -1
  138. package/dist/chunks/useWidget.js +1 -1
  139. package/dist/chunks/utils.js +1 -1
  140. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  141. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +45 -0
  142. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -56
  143. package/dist/components/arcgis-area-measurement-3d/customElement.js +155 -17
  144. package/dist/components/arcgis-area-measurement-3d/index.d.ts +3 -0
  145. package/dist/components/arcgis-area-measurement-3d/index.js +3 -0
  146. package/dist/components/arcgis-attachments/customElement.js +1 -1
  147. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  148. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  149. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  150. package/dist/components/arcgis-basemap-toggle/css.d.ts +1 -0
  151. package/dist/components/arcgis-basemap-toggle/customElement.js +13 -12
  152. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  153. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  154. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  155. package/dist/components/arcgis-compass/customElement.js +1 -1
  156. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  157. package/dist/components/arcgis-daylight/customElement.js +1 -1
  158. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +47 -0
  159. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +68 -0
  160. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +194 -0
  161. package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +4 -0
  162. package/dist/components/arcgis-direct-line-measurement-3d/index.js +4 -0
  163. package/dist/components/arcgis-directional-pad/customElement.js +34 -33
  164. package/dist/components/arcgis-directional-pad/index.d.ts +1 -1
  165. package/dist/components/arcgis-directional-pad/index.js +1 -1
  166. package/dist/components/arcgis-directions/customElement.js +1 -1
  167. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  168. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  169. package/dist/components/arcgis-editor/customElement.js +1 -1
  170. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  171. package/dist/components/arcgis-expand/customElement.js +1 -1
  172. package/dist/components/arcgis-feature/customElement.js +1 -1
  173. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  174. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  175. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  176. package/dist/components/arcgis-features/customElement.js +1 -1
  177. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  178. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  179. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  180. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  181. package/dist/components/arcgis-home/customElement.js +1 -1
  182. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  183. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  184. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  185. package/dist/components/arcgis-legend/customElement.js +1 -1
  186. package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +1 -1
  187. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
  188. package/dist/components/arcgis-line-of-sight/customElement.js +16 -16
  189. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  190. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +9 -2
  191. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +33 -25
  192. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +3 -0
  193. package/dist/components/arcgis-link-chart-layout-switcher/index.js +3 -0
  194. package/dist/components/arcgis-locate/customElement.js +1 -1
  195. package/dist/components/arcgis-map/customElement.js +1 -1
  196. package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
  197. package/dist/components/arcgis-measurement/customElement.js +1 -1
  198. package/dist/components/arcgis-measurement-content/customElement.d.ts +20 -0
  199. package/dist/components/arcgis-measurement-content/customElement.js +59 -0
  200. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  201. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  202. package/dist/components/arcgis-placement/customElement.js +1 -1
  203. package/dist/components/arcgis-print/customElement.js +1 -1
  204. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  205. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  206. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  207. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  208. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  209. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  210. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  211. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  212. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  213. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  214. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  215. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  216. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  217. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  218. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  219. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  220. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  221. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  222. package/dist/components/arcgis-scene/customElement.js +1 -1
  223. package/dist/components/arcgis-search/customElement.js +37 -37
  224. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  225. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  226. package/dist/components/arcgis-sketch/customElement.js +1 -1
  227. package/dist/components/arcgis-slice/customElement.js +1 -1
  228. package/dist/components/arcgis-slider/customElement.js +1 -1
  229. package/dist/components/arcgis-swipe/customElement.js +1 -1
  230. package/dist/components/arcgis-table-list/customElement.js +1 -1
  231. package/dist/components/arcgis-time-slider/customElement.js +14 -8
  232. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  233. package/dist/components/arcgis-track/customElement.js +1 -1
  234. package/dist/components/arcgis-unit-select/customElement.d.ts +3 -4
  235. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  236. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  237. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  238. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  239. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  240. package/dist/components/arcgis-version-management/customElement.js +1 -1
  241. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  242. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  243. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  244. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  245. package/dist/components/arcgis-video/customElement.js +1 -1
  246. package/dist/components/arcgis-video-player/customElement.js +1 -1
  247. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  248. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  249. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  250. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  251. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  252. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  253. package/dist/components/arcgis-weather/customElement.js +1 -1
  254. package/dist/components/arcgis-zoom/customElement.js +1 -1
  255. package/dist/docs/api.json +929 -221
  256. package/dist/docs/docs.json +802 -251
  257. package/dist/docs/vscode.html-custom-data.json +155 -16
  258. package/dist/docs/web-types.json +220 -59
  259. package/dist/index.d.ts +23 -3
  260. package/dist/index.js +1 -1
  261. package/dist/loader.js +6 -4
  262. package/dist/support/AnalysisViewModel.d.ts +26 -39
  263. package/dist/support/maybe.d.ts +2 -2
  264. package/dist/support/measurementUtils.d.ts +19 -0
  265. package/dist/types/lumina.d.ts +11 -4
  266. package/dist/types/preact.d.ts +12 -4
  267. package/dist/types/react.d.ts +13 -4
  268. package/dist/types/stencil.d.ts +11 -4
  269. package/package.json +3 -4
  270. package/dist/cdn/3PRGRMUA.js +0 -4
  271. package/dist/cdn/BK5DJXDM.js +0 -4
  272. package/dist/cdn/CAVMJDKS.js +0 -4
  273. package/dist/cdn/G36X5EQG.js +0 -4
  274. package/dist/cdn/LY6SOGJ3.js +0 -4
  275. package/dist/cdn/MCXTPYW3.js +0 -4
  276. package/dist/cdn/OUPCEZCW.js +0 -4
  277. package/dist/cdn/VQO6TJFP.js +0 -4
  278. package/dist/cdn/VYNXW5CE.js +0 -4
  279. package/dist/cdn/XQUJNALV.js +0 -4
  280. package/dist/cdn/YHGMKVKH.js +0 -4
  281. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +0 -98
  282. package/dist/components/arcgis-directline-measurement-3d/customElement.js +0 -37
  283. /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts +0 -0
  284. /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js +0 -0
@@ -1,8 +1,8 @@
1
1
  import { c as f } from "../../chunks/runtime.js";
2
2
  import { html as l } from "lit-html";
3
3
  import { usePropertyChange as y } from "@arcgis/lumina/controllers";
4
- import { LitElement as m, createEvent as v, noShadowRoot as w, safeClassMap as n } from "@arcgis/lumina";
5
- import { css as _ } from "@lit/reactive-element/css-tag.js";
4
+ import { LitElement as m, createEvent as v, noShadowRoot as _, safeClassMap as n } from "@arcgis/lumina";
5
+ import { css as w } from "@lit/reactive-element/css-tag.js";
6
6
  import { g } from "../../chunks/globalCss.js";
7
7
  import { u as $ } from "../../chunks/useT9n.js";
8
8
  import { m as b } from "../../chunks/useViewModel.js";
@@ -11,8 +11,8 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
11
11
  import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
14
- v4.33.0-next.137 */
15
- const C = _`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
14
+ v4.33.0-next.138 */
15
+ const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
16
16
  base: a,
17
17
  actions: `${a}__actions`,
18
18
  container: `${a}__container`,
@@ -21,14 +21,14 @@ const C = _`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__con
21
21
  hintText: `${a}__hint-text`,
22
22
  newAnalysisButton: `${a}__new-analysis-button`
23
23
  };
24
- var S = Object.defineProperty, V = Object.getOwnPropertyDescriptor, u = (s, e, i, o) => {
25
- for (var t = o > 1 ? void 0 : o ? V(e, i) : e, d = s.length - 1, p; d >= 0; d--)
24
+ var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, u = (s, e, i, o) => {
25
+ for (var t = o > 1 ? void 0 : o ? D(e, i) : e, d = s.length - 1, p; d >= 0; d--)
26
26
  (p = s[d]) && (t = (o ? p(e, i, t) : p(t)) || t);
27
27
  return o && t && S(e, i, t), t;
28
28
  };
29
29
  let c = class extends M {
30
30
  constructor(s) {
31
- super(s), this.supportedViewType = "3d", this.unsupportedErrorMessage = "LineOfSightViewModel is only supported in 3D views.";
31
+ super(s), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Line Of Sight component is only supported in 3D views.";
32
32
  }
33
33
  get state() {
34
34
  return this.disabled || !this.ready ? "disabled" : this.operationState === "active" ? "creating" : this.analysis.valid ? "created" : "ready";
@@ -49,16 +49,16 @@ u([
49
49
  c = u([
50
50
  A("esri.components.LineOfSight.LineOfSightViewModel")
51
51
  ], c);
52
- const D = b(c);
53
- class L extends m {
52
+ const L = b(c);
53
+ class V extends m {
54
54
  constructor() {
55
- super(...arguments), this.viewModel = D(this), this._messages = $(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
55
+ super(...arguments), this.viewModel = L(this), this._messages = $({ blocking: !0 }), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
56
56
  }
57
57
  static {
58
- this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 32, supported: 32 };
58
+ this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 32, _supported: 16 };
59
59
  }
60
60
  static {
61
- this.shadowRootOptions = w;
61
+ this.shadowRootOptions = _;
62
62
  }
63
63
  static {
64
64
  this.styles = C;
@@ -69,7 +69,7 @@ class L extends m {
69
69
  get state() {
70
70
  return this.viewModel.state;
71
71
  }
72
- get supported() {
72
+ get _supported() {
73
73
  return this.view == null || this.view.type === "3d";
74
74
  }
75
75
  async clear() {
@@ -95,7 +95,7 @@ class L extends m {
95
95
  })} role=presentation>${this._renderContainerNode()}</div>`;
96
96
  }
97
97
  _renderContainerNode() {
98
- if (!this.supported)
98
+ if (!this._supported)
99
99
  return l`<div class=${n(r.error)}><p>${this._messages.unsupported}</p></div>`;
100
100
  const e = this.viewModel.state, i = e === "creating";
101
101
  return l`<div class=${n(r.container)}>${i ? l`<div class=${n(r.hint)}><p class=${n(r.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${n(r.actions)}>${e === "creating" ? h({ onClick: () => {
@@ -110,7 +110,7 @@ class L extends m {
110
110
  function h({ className: s, onClick: e, primary: i, disabled: o, children: t }) {
111
111
  return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(s)} .disabled=${o} @click=${e}>${t}</calcite-button>`;
112
112
  }
113
- f("arcgis-line-of-sight", L);
113
+ f("arcgis-line-of-sight", V);
114
114
  export {
115
- L as ArcgisLineOfSight
115
+ V as ArcgisLineOfSight
116
116
  };
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
8
8
  import { css as m } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.137 */
11
+ v4.33.0-next.138 */
12
12
  const d = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
13
13
  w,
14
14
  /**
@@ -27,6 +27,13 @@ declare const useLinkChartLayoutSwitcherViewModel: (component: LitElement & Pick
27
27
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart-layout-switcher/)
28
28
  */
29
29
  export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
30
+ /**
31
+ * The appearance of the layout switcher. `dropdown` displays a button that is clicked to reveal a dropdown menu, while `menu-bar` displays a menu bar.
32
+ *
33
+ * @since 4.33
34
+ * @default "dropdown"
35
+ */
36
+ appearance: "dropdown" | "menu-bar";
30
37
  /**
31
38
  * If true, the component will not be destroyed automatically when it is
32
39
  * disconnected from the document. This is useful when you want to move the
@@ -38,14 +45,14 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
38
45
  */
39
46
  autoDestroyDisabled: boolean;
40
47
  /**
41
- * When `true`, the layout menu will not close when a layout is selected.
48
+ * When `true`, the layout menu will not close when a layout is selected. Only applicable when `appearance` is `dropdown`.
42
49
  *
43
50
  * @since 4.33
44
51
  * @default false
45
52
  */
46
53
  closeOnSelectDisabled: boolean;
47
54
  /**
48
- * Icon displayed in the widget's button.
55
+ * Icon displayed in the component's button, when `appearance` is `dropdown`.
49
56
  *
50
57
  * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
51
58
  * @since 4.28
@@ -1,18 +1,18 @@
1
- import { c as l } from "../../chunks/runtime.js";
1
+ import { c as d } from "../../chunks/runtime.js";
2
2
  import { html as e } from "lit-html";
3
- import { classes as n } from "@arcgis/components-utils";
4
- import { g as o } from "../../chunks/globalCss.js";
5
- import h from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
6
- import { usePropertyChange as d } from "@arcgis/lumina/controllers";
7
- import { m } from "../../chunks/useViewModel.js";
8
- import { u as g } from "../../chunks/useT9n.js";
9
- import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
10
- import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a } from "@arcgis/lumina";
11
- import { css as b } from "@lit/reactive-element/css-tag.js";
3
+ import { classes as m } from "@arcgis/components-utils";
4
+ import { g as s } from "../../chunks/globalCss.js";
5
+ import g from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
6
+ import { usePropertyChange as p } from "@arcgis/lumina/controllers";
7
+ import { m as u } from "../../chunks/useViewModel.js";
8
+ import { u as y } from "../../chunks/useT9n.js";
9
+ import { reEmitEvent as w } from "@arcgis/lumina/controllers/accessor";
10
+ import { LitElement as b, createEvent as f, noShadowRoot as v, safeClassMap as c } from "@arcgis/lumina";
11
+ import { css as $ } from "@lit/reactive-element/css-tag.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
14
- v4.33.0-next.137 */
15
- const f = b`@layer{arcgis-link-chart-layout-switcher{display:block}}`, L = {
14
+ v4.33.0-next.138 */
15
+ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
16
16
  basicLayoutCategory: [
17
17
  "basic-grid"
18
18
  /* SIMPLE */
@@ -37,7 +37,7 @@ const f = b`@layer{arcgis-link-chart-layout-switcher{display:block}}`, L = {
37
37
  "chronological-multi-timeline"
38
38
  /* CHRONOLOGICAL_MULTIPLE */
39
39
  ]
40
- }, k = {
40
+ }, n = {
41
41
  "organic-standard": "force-directed-link-chart-layout",
42
42
  "organic-community": "community-link-chart-layout",
43
43
  "basic-grid": "simple-link-chart-layout",
@@ -47,7 +47,7 @@ const f = b`@layer{arcgis-link-chart-layout-switcher{display:block}}`, L = {
47
47
  "geographic-organic-standard": "geographic-link-chart-layout",
48
48
  "chronological-mono-timeline": "single-timeline",
49
49
  "chronological-multi-timeline": "multi-timeline"
50
- }, v = {
50
+ }, h = {
51
51
  "organic-standard": "forceDirected",
52
52
  "organic-community": "community",
53
53
  "basic-grid": "simple",
@@ -57,21 +57,21 @@ const f = b`@layer{arcgis-link-chart-layout-switcher{display:block}}`, L = {
57
57
  "geographic-organic-standard": "geographic",
58
58
  "chronological-mono-timeline": "chronologicalSingle",
59
59
  "chronological-multi-timeline": "chronologicalMultiple"
60
- }, M = {
60
+ }, k = {
61
61
  base: "esri-link-chart-layout-switcher"
62
- }, C = m(h);
63
- class $ extends p {
62
+ }, M = u(g);
63
+ class C extends b {
64
64
  constructor() {
65
- super(...arguments), this.messages = g(), this.viewModel = C(this), this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.position = "top-left", this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = d()("state"), this.arcgisReady = y();
65
+ super(...arguments), this.messages = y(), this.viewModel = M(this), this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.position = "top-left", this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = w(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = p()("state"), this.arcgisReady = f();
66
66
  }
67
67
  static {
68
- this.properties = { autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
68
+ this.properties = { appearance: 1, autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
69
69
  }
70
70
  static {
71
- this.shadowRootOptions = w;
71
+ this.shadowRootOptions = v;
72
72
  }
73
73
  static {
74
- this.styles = f;
74
+ this.styles = L;
75
75
  }
76
76
  async destroy() {
77
77
  await this.manager.destroy();
@@ -79,12 +79,20 @@ class $ extends p {
79
79
  async switchLayout(t) {
80
80
  this.viewModel.switchLayout(t);
81
81
  }
82
+ _renderDropdown() {
83
+ const { messages: t, icon: o } = this;
84
+ return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-button class=${c(s.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state === "disabled"} .iconStart=${o ?? void 0} .label=${t.layoutOptions ?? "Layout"}></calcite-button>${Object.entries(l).map(([r, i]) => e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map((a) => e`<calcite-dropdown-item .iconStart=${n[a]} .selected=${a === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(a)}>${t[h[a]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`;
85
+ }
86
+ _renderMenuBar() {
87
+ const { messages: t } = this;
88
+ return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(l).map(([o, r]) => e`<calcite-action-group .label=${this.messages[o]}>${r.map((i) => e`<calcite-action scale=s .icon=${n[i]} .active=${i === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(i)} .text=${t[h[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`;
89
+ }
82
90
  render() {
83
- const { messages: t, icon: r } = this;
84
- return e`<div class=${a(n(M.base, o.widget))}><calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-button class=${a(o.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state === "disabled"} .iconStart=${r ?? void 0} .label=${t.layoutOptions ?? "Layout"}></calcite-button>${Object.entries(L).map(([s, c]) => e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[s]}>${c.map((i) => e`<calcite-dropdown-item .iconStart=${k[i]} .selected=${i === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(i)}>${t[v[i]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown></div>`;
91
+ const { appearance: t } = this, o = t === "menu-bar" ? this._renderMenuBar() : this._renderDropdown();
92
+ return e`<div class=${c(m(k.base, s.widget))}>${o}</div>`;
85
93
  }
86
94
  }
87
- l("arcgis-link-chart-layout-switcher", $);
95
+ d("arcgis-link-chart-layout-switcher", C);
88
96
  export {
89
- $ as ArcgisLinkChartLayoutSwitcher
97
+ C as ArcgisLinkChartLayoutSwitcher
90
98
  };
@@ -2,4 +2,7 @@ import "@esri/calcite-components/components/calcite-dropdown";
2
2
  import "@esri/calcite-components/components/calcite-button";
3
3
  import "@esri/calcite-components/components/calcite-dropdown-group";
4
4
  import "@esri/calcite-components/components/calcite-dropdown-item";
5
+ import "@esri/calcite-components/components/calcite-action-bar";
6
+ import "@esri/calcite-components/components/calcite-action-group";
7
+ import "@esri/calcite-components/components/calcite-action";
5
8
  export * from "./customElement.js";
@@ -2,4 +2,7 @@ import "@esri/calcite-components/components/calcite-dropdown";
2
2
  import "@esri/calcite-components/components/calcite-button";
3
3
  import "@esri/calcite-components/components/calcite-dropdown-group";
4
4
  import "@esri/calcite-components/components/calcite-dropdown-item";
5
+ import "@esri/calcite-components/components/calcite-action-bar";
6
+ import "@esri/calcite-components/components/calcite-action-group";
7
+ import "@esri/calcite-components/components/calcite-action";
5
8
  export * from "./customElement.js";
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
27
27
  import oe from "@arcgis/core/rest/support/ProjectParameters.js";
28
28
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
29
29
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
30
- v4.33.0-next.137 */
30
+ v4.33.0-next.138 */
31
31
  const ie = K`@layer{arcgis-locate{display:block}}`;
32
32
  let M = !1;
33
33
  const re = {
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
8
8
  import { css as m } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.137 */
11
+ v4.33.0-next.138 */
12
12
  const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
13
13
  w,
14
14
  /**
@@ -45,7 +45,7 @@ export declare class ArcgisMeasurement extends LitElement {
45
45
  *
46
46
  * @default null
47
47
  */
48
- readonly activeWidget: nullish | __esri.DistanceMeasurement2D | __esri.DirectLineMeasurement3D | __esri.AreaMeasurement3D | __esri.AreaMeasurement2D;
48
+ readonly activeWidget: nullish | __esri.DistanceMeasurement2D | __esri.AreaMeasurement2D | __esri.AreaMeasurement3D | __esri.DirectLineMeasurement3D;
49
49
  /**
50
50
  * Unit system (imperial, metric) or specific unit used for displaying the area values.
51
51
  *
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.137 */
9
+ v4.33.0-next.138 */
10
10
  const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
11
11
  class h extends s {
12
12
  constructor() {
@@ -0,0 +1,20 @@
1
+ /// <reference types="../../index.d.ts" />
2
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
3
+ import { MeasurementState, MeasurementValue } from '../../support/measurementUtils';
4
+
5
+ /**
6
+ * Component which displays the contents of a measurement content.
7
+ *
8
+ * @private
9
+ */
10
+ export declare class ArcgisMeasurementContent extends LitElement {
11
+ hintLabel?: string;
12
+ items: {
13
+ title?: string;
14
+ measurement: MeasurementValue;
15
+ }[];
16
+ /** @default "disabled" */
17
+ state: MeasurementState;
18
+ /** @default "" */
19
+ unsupportedLabel: string;
20
+ }
@@ -0,0 +1,59 @@
1
+ import { c as n } from "../../chunks/runtime.js";
2
+ import { html as i } from "lit-html";
3
+ import o from "@arcgis/core/applications/Components/QuantityFormatter.js";
4
+ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
5
+ import { f as l } from "../../chunks/measurementUtils.js";
6
+ import { css as m } from "@lit/reactive-element/css-tag.js";
7
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
+ See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
+ v4.33.0-next.138 */
10
+ const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
11
+ error: "error",
12
+ hint: "hint",
13
+ actions: "actions",
14
+ section: "section",
15
+ item: "item",
16
+ itemDisabled: "item-disabled",
17
+ itemTitle: "item-title",
18
+ itemValue: "item-value"
19
+ };
20
+ class d extends c {
21
+ constructor() {
22
+ super(...arguments), this._formatter = new o(), this.items = [], this.state = "disabled", this.unsupportedLabel = "";
23
+ }
24
+ static {
25
+ this.properties = { hintLabel: 1, items: 0, state: 1, unsupportedLabel: 1 };
26
+ }
27
+ static {
28
+ this.styles = u;
29
+ }
30
+ async load() {
31
+ await this._formatter.when();
32
+ }
33
+ render() {
34
+ switch (this.state) {
35
+ case "unsupported":
36
+ return i`<section class=${s(e.error)}><p>${this.unsupportedLabel}</p></section>`;
37
+ case "measuring":
38
+ return i`<section class=${s(e.hint)}><p>${this.hintLabel}</p></section>`;
39
+ case "ready":
40
+ return i`<div class=${s(e.actions)}><slot name=actions></slot></div>`;
41
+ default:
42
+ return i`<slot name=settings></slot>${h({ formatter: this._formatter, items: this.items })}<div class=${s(e.actions)}><slot name=actions></slot></div>`;
43
+ }
44
+ }
45
+ }
46
+ function h(t) {
47
+ return i`<section class=${s(e.section)}>${t.items.map((a) => f({ formatter: t.formatter, measurement: a.measurement, title: a.title }))}</section>`;
48
+ }
49
+ function f(t) {
50
+ const a = t.measurement.state === "available" ? l(t.formatter, t.measurement.value) : null, r = t.measurement.state === "unavailable";
51
+ return i`<div class=${s({
52
+ [e.item]: !0,
53
+ [e.itemDisabled]: r
54
+ })}><span class=${s(e.itemTitle)}>${t.title}</span><span aria-live=polite class=${s(e.itemValue)}>${a ?? "-"}</span></div>`;
55
+ }
56
+ n("arcgis-measurement-content", d);
57
+ export {
58
+ d as ArcgisMeasurementContent
59
+ };
@@ -9,7 +9,7 @@ import { g as b } from "../../chunks/globalCss.js";
9
9
  import { css as M } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
12
- v4.33.0-next.137 */
12
+ v4.33.0-next.138 */
13
13
  const $ = "arcgis-navigation-toggle", w = {
14
14
  base: $
15
15
  }, x = M`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
7
7
  import { css as g } from "@lit/reactive-element/css-tag.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.137 */
10
+ v4.33.0-next.138 */
11
11
  const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
12
12
  class y extends o {
13
13
  constructor() {
@@ -4,7 +4,7 @@ import { LitElement as l, createEvent as a, noShadowRoot as c } from "@arcgis/lu
4
4
  import { css as h } from "@lit/reactive-element/css-tag.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.137 */
7
+ v4.33.0-next.138 */
8
8
  const d = h`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
9
9
  class m extends l {
10
10
  constructor() {
@@ -10,7 +10,7 @@ import { g as o } from "../../chunks/globalCss.js";
10
10
  import { css as v } from "@lit/reactive-element/css-tag.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
13
- v4.33.0-next.137 */
13
+ v4.33.0-next.138 */
14
14
  const u = v`@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}}`, i = "arcgis-print", s = {
15
15
  base: i,
16
16
  headerTitle: `${i}__header-title`,
@@ -4,7 +4,7 @@ import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as u, noShadowRoot as p } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.137 */
7
+ v4.33.0-next.138 */
8
8
  class d extends u {
9
9
  static {
10
10
  this.properties = { viewModel: 0 };
@@ -4,7 +4,7 @@ import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as d, noShadowRoot as c } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.137 */
7
+ v4.33.0-next.138 */
8
8
  function l(s, i, t, e) {
9
9
  if (t == null || e == null)
10
10
  return { height: 0, width: 0 };
@@ -3,7 +3,7 @@ import { html as r } from "lit-html";
3
3
  import { LitElement as l, noShadowRoot as n } from "@arcgis/lumina";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
6
- v4.33.0-next.137 */
6
+ v4.33.0-next.138 */
7
7
  class c extends l {
8
8
  static {
9
9
  this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
@@ -6,7 +6,7 @@ import { LitElement as $, noShadowRoot as b, nothing as u, safeClassMap as c } f
6
6
  import { css as w } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.137 */
9
+ v4.33.0-next.138 */
10
10
  const x = w`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`, d = "arcgis-print", m = {
11
11
  exportedFile: `${d}__exported-file`,
12
12
  exportedFileLinkTitle: `${d}__exported-file-link-title`,
@@ -5,7 +5,7 @@ import { LitElement as c, safeClassMap as o } from "@arcgis/lumina";
5
5
  import { css as p } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.137 */
8
+ v4.33.0-next.138 */
9
9
  const d = p`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`, e = "arcgis-print", t = {
10
10
  exportSection: `${e}__export-section`,
11
11
  panelContainer: `${e}__panel-container`,
@@ -6,7 +6,7 @@ import { LitElement as n, noShadowRoot as p } from "@arcgis/lumina";
6
6
  import { f as c } from "../../chunks/utils.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.137 */
9
+ v4.33.0-next.138 */
10
10
  class d extends n {
11
11
  constructor() {
12
12
  super(...arguments), this._formats = [];
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
7
7
  import { u as l } from "../../chunks/useHandles.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.137 */
10
+ v4.33.0-next.138 */
11
11
  const c = r`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
12
12
  advancedOptionsContainer: `${h}__advanced-options-container`
13
13
  };
@@ -7,7 +7,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
7
7
  import { u as m } from "../../chunks/useHandles.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.137 */
10
+ v4.33.0-next.138 */
11
11
  const h = d`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`, a = "arcgis-print", s = {
12
12
  advancedOptionsSection: `${a}__advanced-options-section`,
13
13
  layoutSection: `${a}__layout-section`,
@@ -7,7 +7,7 @@ import { u as c } from "../../chunks/useHandles.js";
7
7
  import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.137 */
10
+ v4.33.0-next.138 */
11
11
  const p = o`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
12
12
  class n extends i {
13
13
  constructor() {
@@ -4,7 +4,7 @@ import { LitElement as s, safeClassMap as n } from "@arcgis/lumina";
4
4
  import { css as a } from "@lit/reactive-element/css-tag.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.137 */
7
+ v4.33.0-next.138 */
8
8
  const r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
9
9
  advancedOptionsContainer: `${c}__advanced-options-container`
10
10
  };
@@ -5,7 +5,7 @@ import { LitElement as o, safeClassMap as a } from "@arcgis/lumina";
5
5
  import { css as p } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.137 */
8
+ v4.33.0-next.138 */
9
9
  const d = p`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, s = "arcgis-print", t = {
10
10
  advancedOptionsSection: `${s}__advanced-options-section`,
11
11
  mapOnlySection: `${s}__map-only-section`,
@@ -6,7 +6,7 @@ import { LitElement as d, safeClassMap as n } from "@arcgis/lumina";
6
6
  import { css as f } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.137 */
9
+ v4.33.0-next.138 */
10
10
  const m = f`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, l = "arcgis-print", s = {
11
11
  srLabel: `${l}__sr-label`,
12
12
  invalidWkidText: `${l}__invalid-wkid-text`
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as s, noShadowRoot as a } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.137 */
7
+ v4.33.0-next.138 */
8
8
  class n extends s {
9
9
  constructor() {
10
10
  super(...arguments), this._showPrintAreaEnabled = !1;
@@ -5,7 +5,7 @@ import { LitElement as p, safeClassMap as i } from "@arcgis/lumina";
5
5
  import { css as d } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.137 */
8
+ v4.33.0-next.138 */
9
9
  const u = d`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, l = "arcgis-print", c = {
10
10
  scaleInfoContainer: `${l}__scale-info-container`,
11
11
  scaleInputContainer: `${l}__scale-input-container`,
@@ -8,7 +8,7 @@ import { g as p, a as d, b as h, c as _ } from "../../chunks/utils.js";
8
8
  import { css as g } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.137 */
11
+ v4.33.0-next.138 */
12
12
  const u = g`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, s = "arcgis-print", c = {
13
13
  templateSelectContainer: `${s}__template-select-container`,
14
14
  templateSelectError: `${s}__template-select-error`,
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
8
8
  import { u as L } from "../../chunks/useHandles.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.137 */
11
+ v4.33.0-next.138 */
12
12
  const S = y`.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`, o = "arcgis-print", a = {
13
13
  templateSelectError: `${o}__template-select-error`,
14
14
  templateButtonContainer: `${o}__template-button-container`,
@@ -12,7 +12,7 @@ import { m as D } from "../../chunks/useViewModel.js";
12
12
  import { g as v } from "../../chunks/globalCss.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
15
- v4.33.0-next.137 */
15
+ v4.33.0-next.138 */
16
16
  function $(f = 0, e = 0) {
17
17
  return { x: f, y: e };
18
18
  }
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.137 */
9
+ v4.33.0-next.138 */
10
10
  const r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
11
11
  class h extends s {
12
12
  constructor() {