@arcgis/map-components 4.33.0-next.136 → 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 (306) hide show
  1. package/dist/cdn/{2BWNKFZW.js → 2ICV3ZP6.js} +2 -2
  2. package/dist/cdn/{F5IQLE3G.js → 2RYHZPSQ.js} +2 -2
  3. package/dist/cdn/{IMWUONNH.js → 2TBOD7GJ.js} +2 -2
  4. package/dist/cdn/{U6NUSLXQ.js → 3F4Z4TXU.js} +2 -2
  5. package/dist/cdn/3HNXL7RL.js +4 -0
  6. package/dist/cdn/{WKVMC47S.js → 3MPFDWBN.js} +2 -2
  7. package/dist/cdn/{7AMN2VPJ.js → 3PXEJNET.js} +2 -2
  8. package/dist/cdn/{UCIYMFVJ.js → 3RYCWP6E.js} +2 -2
  9. package/dist/cdn/{BP57OBWN.js → 4KXQH47P.js} +2 -2
  10. package/dist/cdn/{LOBFBGWD.js → 4NU2LEDY.js} +2 -2
  11. package/dist/cdn/{AKYPLUTO.js → 54A6QQ5P.js} +2 -2
  12. package/dist/cdn/{URLKREBV.js → 5DLF2FRD.js} +2 -2
  13. package/dist/cdn/{AH2ZG75G.js → 5J7OJ4Z6.js} +2 -2
  14. package/dist/cdn/{XBHXC4AC.js → 5KYPK2BL.js} +2 -2
  15. package/dist/cdn/{PX235H7X.js → 5PFB6EGX.js} +2 -2
  16. package/dist/cdn/{CLSVAQ4G.js → 6Q5DEPLW.js} +2 -2
  17. package/dist/cdn/{JXRFEX3Q.js → 6VOXDT2D.js} +2 -2
  18. package/dist/cdn/{EYI6GI7E.js → 73CNLONW.js} +2 -2
  19. package/dist/cdn/{SQ7IRME2.js → 7C6JQ4XM.js} +2 -2
  20. package/dist/cdn/{VZVTX75Y.js → 7FFIVQF6.js} +2 -2
  21. package/dist/cdn/{JRGKAE6F.js → 7Q2OQGBB.js} +2 -2
  22. package/dist/cdn/{X2X6B3YN.js → A4ZNGLT2.js} +2 -2
  23. package/dist/cdn/{ET44LS3A.js → A575HHDP.js} +2 -2
  24. package/dist/cdn/A5AIKEDX.js +4 -0
  25. package/dist/cdn/{62NRGBON.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/{GBCKXZW6.js → BQYQ3LTP.js} +2 -2
  29. package/dist/cdn/{WIWG2LGN.js → BZ5KBRTH.js} +2 -2
  30. package/dist/cdn/{3G3LVX2U.js → C677Z3XS.js} +2 -2
  31. package/dist/cdn/C722QWYO.js +4 -0
  32. package/dist/cdn/{IPRFR6DT.js → CUDJHVRU.js} +2 -2
  33. package/dist/cdn/{5CTZNTHB.js → CV2IWESX.js} +2 -2
  34. package/dist/cdn/{JAN5HG3G.js → D7MSIIVJ.js} +2 -2
  35. package/dist/cdn/{ADGC7BZI.js → DJAPPGGB.js} +2 -2
  36. package/dist/cdn/{MUQ32RUE.js → EDORIH5N.js} +2 -2
  37. package/dist/cdn/EL4W5FAJ.js +4 -0
  38. package/dist/cdn/{X5H4BNWJ.js → FOVCH7VW.js} +2 -2
  39. package/dist/cdn/{VKJE37GQ.js → FY5ET4WM.js} +2 -2
  40. package/dist/cdn/{TRTMNVI6.js → G7FA2SZX.js} +2 -2
  41. package/dist/cdn/{DTVBVHKG.js → GDRUHH5B.js} +2 -2
  42. package/dist/cdn/{GOBTKC4E.js → GEVMX2UO.js} +2 -2
  43. package/dist/cdn/{WTYFC75N.js → GURMXFUT.js} +2 -2
  44. package/dist/cdn/{WNJVX6RI.js → GY5GZLXV.js} +2 -2
  45. package/dist/cdn/{6JC2Q2KY.js → HBVJIRGN.js} +2 -2
  46. package/dist/cdn/{57J7ZHCC.js → HCS23COA.js} +2 -2
  47. package/dist/cdn/{X3ZJJBIA.js → HMR3LZEC.js} +2 -2
  48. package/dist/cdn/{J3TOTWFC.js → HT7HVKXJ.js} +2 -2
  49. package/dist/cdn/{K2ITHZ7S.js → HUYGZMDR.js} +2 -2
  50. package/dist/cdn/HXOPYRM2.js +4 -0
  51. package/dist/cdn/{YMUJRFGB.js → IH32IEWT.js} +2 -2
  52. package/dist/cdn/{OQPILQIR.js → JGCDGP2X.js} +2 -2
  53. package/dist/cdn/JR37HKLZ.js +4 -0
  54. package/dist/cdn/{WQ3BAHLE.js → JYTTN5LU.js} +2 -2
  55. package/dist/cdn/{3XXP6T6D.js → KEI26URD.js} +1 -1
  56. package/dist/cdn/{Q6MBU3KQ.js → KM5OVC7O.js} +2 -2
  57. package/dist/cdn/{RRAN3GV5.js → L5J24G5M.js} +2 -2
  58. package/dist/cdn/L66H2ALJ.js +4 -0
  59. package/dist/cdn/{XDT45WCB.js → LIQITLFR.js} +2 -2
  60. package/dist/cdn/{JM6NPZAW.js → LNOMQKUY.js} +2 -2
  61. package/dist/cdn/{7D6VNKHP.js → LQEPXN57.js} +2 -2
  62. package/dist/cdn/{GURL6AVS.js → LT4K76AI.js} +2 -2
  63. package/dist/cdn/LUWRRPTC.js +4 -0
  64. package/dist/cdn/{BA4MEMIO.js → MEUUSKT3.js} +2 -2
  65. package/dist/cdn/{XKZ3QPCQ.js → MNSXEFSD.js} +2 -2
  66. package/dist/cdn/{HBIM6ODS.js → MUPWF5M2.js} +2 -2
  67. package/dist/cdn/N36AOA4W.js +4 -0
  68. package/dist/cdn/{4S3FYMV3.js → N4JEEG6U.js} +2 -2
  69. package/dist/cdn/{IGZF7C2L.js → NA7YRW3M.js} +2 -2
  70. package/dist/cdn/{47MNULJ4.js → NHSTTG5C.js} +1 -1
  71. package/dist/cdn/{VIIEZ6AL.js → NIB3ARH5.js} +2 -2
  72. package/dist/cdn/{3XNP3PSG.js → O7YEMKLH.js} +2 -2
  73. package/dist/cdn/{XGKSB2HZ.js → P2ORI2MU.js} +2 -2
  74. package/dist/cdn/{5ZIN5VIU.js → P4OU64OH.js} +2 -2
  75. package/dist/cdn/{MLGAD27T.js → PRZRGIJO.js} +2 -2
  76. package/dist/cdn/{MAJRJT3G.js → Q2G3EZNU.js} +2 -2
  77. package/dist/cdn/{CHXEQ2UW.js → Q3DX3LMR.js} +2 -2
  78. package/dist/cdn/{O374NYBD.js → QBPIXB5K.js} +2 -2
  79. package/dist/cdn/{EUDGCLCR.js → QINX3JDV.js} +2 -2
  80. package/dist/cdn/{U7BSTI4W.js → QXPX2NPW.js} +2 -2
  81. package/dist/cdn/{PCRMIW56.js → RN2REPX3.js} +2 -2
  82. package/dist/cdn/{PE52DDMH.js → RPQOQQSL.js} +2 -2
  83. package/dist/cdn/RSXOP3R5.js +6 -0
  84. package/dist/cdn/{NJEGSU4S.js → S7S6ARM2.js} +2 -2
  85. package/dist/cdn/{BLCGQIIG.js → SNF6PQDA.js} +2 -2
  86. package/dist/cdn/{FWH2SDOO.js → SPPQB6HJ.js} +2 -2
  87. package/dist/cdn/{7IV7MLK2.js → ST2CRGPM.js} +2 -2
  88. package/dist/cdn/{KVVOGNVV.js → SUEDRTNE.js} +2 -2
  89. package/dist/cdn/{34PJWM5S.js → SW63GGTX.js} +2 -2
  90. package/dist/cdn/{FC2AIUU4.js → T5JY4NUR.js} +1 -1
  91. package/dist/cdn/{2ELONJFJ.js → TBKYTCWV.js} +2 -2
  92. package/dist/cdn/{EXVPDO2O.js → TGOTZ7AI.js} +2 -2
  93. package/dist/cdn/{OSJ6OFRU.js → TLXRUB2I.js} +2 -2
  94. package/dist/cdn/{RP2AVIBP.js → TN3WLCHJ.js} +1 -1
  95. package/dist/cdn/{CPTQQPY2.js → U2DRGZMR.js} +2 -2
  96. package/dist/cdn/{7HU7RIXG.js → UERCPIN5.js} +2 -2
  97. package/dist/cdn/{6J2EHGJB.js → UFB7UU6E.js} +1 -1
  98. package/dist/cdn/{PF6QUHKZ.js → UHZ772ND.js} +2 -2
  99. package/dist/cdn/UT2TU4IE.js +4 -0
  100. package/dist/cdn/{YZGU7UEH.js → UTX6MR4S.js} +2 -2
  101. package/dist/cdn/{24WBASSH.js → V7RU2UNT.js} +2 -2
  102. package/dist/cdn/{25GIHOAR.js → VBIWNOWT.js} +2 -2
  103. package/dist/cdn/{YXE7BY2K.js → VCEXQIAL.js} +2 -2
  104. package/dist/cdn/{2OCYM3OK.js → VKAIYWB6.js} +2 -2
  105. package/dist/cdn/{6E5B576C.js → VUGWIA5S.js} +2 -2
  106. package/dist/cdn/{IHGISFTT.js → VXE3QTOJ.js} +2 -2
  107. package/dist/cdn/{FZW76KJQ.js → WTLPSGCB.js} +2 -2
  108. package/dist/cdn/{JU5LW5WD.js → XDDWEQM3.js} +2 -2
  109. package/dist/cdn/XGAGBN4O.js +4 -0
  110. package/dist/cdn/{NWKOHTGA.js → XJG23KZB.js} +2 -2
  111. package/dist/cdn/{YKYALGDF.js → XQWUSMGI.js} +2 -2
  112. package/dist/cdn/{I2HLEB6L.js → XTNP3TJF.js} +2 -2
  113. package/dist/cdn/{RDNLBAOK.js → YB6ZBOCX.js} +2 -2
  114. package/dist/cdn/{LEOKJPJQ.js → YCQPBKUP.js} +2 -2
  115. package/dist/cdn/{HHQII7OF.js → YXY5RVBB.js} +2 -2
  116. package/dist/cdn/{UZBOO73Z.js → ZBFPM6CM.js} +2 -2
  117. package/dist/cdn/{SYEDGBKA.js → ZD62VL5V.js} +2 -2
  118. package/dist/cdn/ZEX2ON7O.js +4 -0
  119. package/dist/cdn/{4XMFLJJI.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 +8 -6
  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.d.ts +1 -1
  148. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  149. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  150. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  151. package/dist/components/arcgis-basemap-toggle/css.d.ts +1 -0
  152. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
  153. package/dist/components/arcgis-basemap-toggle/customElement.js +13 -12
  154. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  155. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  156. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  157. package/dist/components/arcgis-compass/customElement.d.ts +1 -1
  158. package/dist/components/arcgis-compass/customElement.js +1 -1
  159. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  160. package/dist/components/arcgis-daylight/customElement.js +1 -1
  161. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +47 -0
  162. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +68 -0
  163. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +194 -0
  164. package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +4 -0
  165. package/dist/components/arcgis-direct-line-measurement-3d/index.js +4 -0
  166. package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
  167. package/dist/components/arcgis-directional-pad/customElement.js +34 -33
  168. package/dist/components/arcgis-directional-pad/index.d.ts +1 -1
  169. package/dist/components/arcgis-directional-pad/index.js +1 -1
  170. package/dist/components/arcgis-directions/customElement.js +1 -1
  171. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  172. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  173. package/dist/components/arcgis-editor/customElement.js +1 -1
  174. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  175. package/dist/components/arcgis-expand/customElement.js +1 -1
  176. package/dist/components/arcgis-feature/customElement.js +1 -1
  177. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  178. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  179. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  180. package/dist/components/arcgis-features/customElement.js +1 -1
  181. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  182. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  183. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  184. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  185. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  186. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  187. package/dist/components/arcgis-home/customElement.d.ts +1 -1
  188. package/dist/components/arcgis-home/customElement.js +1 -1
  189. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  190. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  191. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  192. package/dist/components/arcgis-legend/customElement.js +1 -1
  193. package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +1 -1
  194. package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
  195. package/dist/components/arcgis-line-of-sight/customElement.js +16 -16
  196. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  197. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +16 -2
  198. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +36 -28
  199. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +3 -0
  200. package/dist/components/arcgis-link-chart-layout-switcher/index.js +3 -0
  201. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  202. package/dist/components/arcgis-locate/customElement.js +1 -1
  203. package/dist/components/arcgis-map/customElement.js +1 -1
  204. package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-measurement/customElement.js +1 -1
  206. package/dist/components/arcgis-measurement-content/customElement.d.ts +20 -0
  207. package/dist/components/arcgis-measurement-content/customElement.js +59 -0
  208. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  210. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  211. package/dist/components/arcgis-placement/customElement.js +1 -1
  212. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  213. package/dist/components/arcgis-print/customElement.js +1 -1
  214. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  215. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  216. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  217. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  218. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  219. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  220. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  221. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  222. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  223. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  224. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  225. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  226. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  227. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  228. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  229. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  230. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  231. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  232. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  233. package/dist/components/arcgis-scene/customElement.js +1 -1
  234. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  235. package/dist/components/arcgis-search/customElement.js +37 -37
  236. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  237. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  238. package/dist/components/arcgis-sketch/customElement.js +1 -1
  239. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  240. package/dist/components/arcgis-slice/customElement.js +1 -1
  241. package/dist/components/arcgis-slider/customElement.js +1 -1
  242. package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
  243. package/dist/components/arcgis-swipe/customElement.js +1 -1
  244. package/dist/components/arcgis-table-list/customElement.js +1 -1
  245. package/dist/components/arcgis-time-slider/customElement.js +14 -8
  246. package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -2
  247. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  248. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  249. package/dist/components/arcgis-track/customElement.js +1 -1
  250. package/dist/components/arcgis-unit-select/customElement.d.ts +4 -5
  251. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  252. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  253. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  254. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  255. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  256. package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
  257. package/dist/components/arcgis-version-management/customElement.js +1 -1
  258. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  259. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  260. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  261. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  262. package/dist/components/arcgis-video/customElement.js +1 -1
  263. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  264. package/dist/components/arcgis-video-player/customElement.js +1 -1
  265. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  266. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  267. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  268. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  269. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  270. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  271. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  272. package/dist/components/arcgis-weather/customElement.js +1 -1
  273. package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
  274. package/dist/components/arcgis-zoom/customElement.js +1 -1
  275. package/dist/docs/api.json +988 -242
  276. package/dist/docs/docs.json +854 -273
  277. package/dist/docs/vscode.html-custom-data.json +159 -15
  278. package/dist/docs/web-types.json +253 -79
  279. package/dist/index.d.ts +23 -3
  280. package/dist/index.js +1 -1
  281. package/dist/loader.js +6 -4
  282. package/dist/support/AnalysisViewModel.d.ts +26 -39
  283. package/dist/support/maybe.d.ts +2 -2
  284. package/dist/support/measurementUtils.d.ts +19 -0
  285. package/dist/types/lumina.d.ts +11 -4
  286. package/dist/types/preact.d.ts +12 -4
  287. package/dist/types/react.d.ts +13 -4
  288. package/dist/types/stencil.d.ts +11 -4
  289. package/package.json +3 -4
  290. package/dist/cdn/2U3NM53O.js +0 -4
  291. package/dist/cdn/4OH6ZQSR.js +0 -6
  292. package/dist/cdn/5OJGMLTM.js +0 -4
  293. package/dist/cdn/EQLVXNT2.js +0 -4
  294. package/dist/cdn/ESYIRKJZ.js +0 -4
  295. package/dist/cdn/HAKRJX2P.js +0 -4
  296. package/dist/cdn/IBQZQ7NO.js +0 -4
  297. package/dist/cdn/KI5QKUMW.js +0 -4
  298. package/dist/cdn/MCMV52SD.js +0 -4
  299. package/dist/cdn/Q3IHR5JP.js +0 -4
  300. package/dist/cdn/SEORCENQ.js +0 -4
  301. package/dist/cdn/Y4BGHULQ.js +0 -4
  302. package/dist/cdn/YW35NM5X.js +0 -4
  303. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +0 -98
  304. package/dist/components/arcgis-directline-measurement-3d/customElement.js +0 -37
  305. /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts +0 -0
  306. /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js +0 -0
@@ -4,8 +4,9 @@ import { Use } from '@arcgis/lumina/controllers';
4
4
  import { default as LineOfSightAnalysis } from '@arcgis/core/analysis/LineOfSightAnalysis.js';
5
5
  import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
6
6
  import { ArcgisReferenceElement } from '../../utils/component-utils';
7
- import { useView } from '../../controllers/useView';
7
+ import { default as LineOfSightViewModel } from './LineOfSightViewModel';
8
8
 
9
+ declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LineOfSightViewModel>) => LineOfSightViewModel;
9
10
  /**
10
11
  * The Line Of Sight component is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
11
12
  *
@@ -33,14 +34,12 @@ export declare class ArcgisLineOfSight extends LitElement {
33
34
  icon?: HTMLCalciteIconElement["icon"];
34
35
  /** The component's default label. */
35
36
  label?: string;
36
- /** Replace localized message strings with your own strings. */
37
+ /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
37
38
  messageOverrides?: typeof this._messages._overrides;
38
39
  /** @default "bottom-left" */
39
40
  position: __esri.UIPosition;
40
41
  referenceElement?: ArcgisReferenceElement | string;
41
42
  get state(): "created" | "creating" | "disabled" | "ready";
42
- /** @default false */
43
- get supported(): boolean;
44
43
  clear(): Promise<void>;
45
44
  continue(): Promise<void>;
46
45
  /** Permanently destroy the component. */
@@ -55,3 +54,4 @@ export declare class ArcgisLineOfSight extends LitElement {
55
54
  readonly arcgisReady: TargetedEvent<this, void>;
56
55
  private _messages;
57
56
  }
57
+ export {};
@@ -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.136 */
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.136 */
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,7 +45,14 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
38
45
  */
39
46
  autoDestroyDisabled: boolean;
40
47
  /**
41
- * Icon displayed in the widget's button.
48
+ * When `true`, the layout menu will not close when a layout is selected. Only applicable when `appearance` is `dropdown`.
49
+ *
50
+ * @since 4.33
51
+ * @default false
52
+ */
53
+ closeOnSelectDisabled: boolean;
54
+ /**
55
+ * Icon displayed in the component's button, when `appearance` is `dropdown`.
42
56
  *
43
57
  * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
44
58
  * @since 4.28
@@ -55,7 +69,7 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
55
69
  * @default "organic-standard"
56
70
  */
57
71
  readonly layout: DiagramLayoutType;
58
- /** Replace localized message strings with your own strings. */
72
+ /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
59
73
  messageOverrides?: typeof this.messages._overrides;
60
74
  /** @default "top-left" */
61
75
  position: __esri.UIPosition;
@@ -1,18 +1,18 @@
1
- import { c as l } from "../../chunks/runtime.js";
2
- import { html as i } from "lit-html";
3
- import { classes as n } from "@arcgis/components-utils";
4
- import { g as e } 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 f } from "@lit/reactive-element/css-tag.js";
1
+ import { c as d } from "../../chunks/runtime.js";
2
+ import { html as e } from "lit-html";
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.136 */
15
- const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
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 b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
37
37
  "chronological-multi-timeline"
38
38
  /* CHRONOLOGICAL_MULTIPLE */
39
39
  ]
40
- }, L = {
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",
@@ -45,9 +45,9 @@ const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
45
45
  "radial-root-centric": "radial-tree-link-chart-layout",
46
46
  "tree-left-to-right": "smart-tree-link-chart-layout",
47
47
  "geographic-organic-standard": "geographic-link-chart-layout",
48
- "chronological-mono-timeline": "clock-forward",
49
- "chronological-multi-timeline": "clock-forward"
50
- }, v = {
48
+ "chronological-mono-timeline": "single-timeline",
49
+ "chronological-multi-timeline": "multi-timeline"
50
+ }, h = {
51
51
  "organic-standard": "forceDirected",
52
52
  "organic-community": "community",
53
53
  "basic-grid": "simple",
@@ -57,21 +57,21 @@ const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
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.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, 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 = b;
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 i`<div class=${a(n(M.base, e.widget))}><calcite-dropdown scale=s width=m max-items=9><calcite-button class=${a(e.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state === "disabled"} .iconStart=${r ?? void 0} .label=${t.layoutOptions ?? "Layout"}></calcite-button>${Object.entries(k).map(([s, c]) => i`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[s]}>${c.map((o) => i`<calcite-dropdown-item .iconStart=${L[o]} .selected=${o === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(o)}>${t[v[o]]}</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";
@@ -37,7 +37,7 @@ export declare class ArcgisLocate extends LitElement {
37
37
  icon?: string | undefined;
38
38
  /** The component's default label. */
39
39
  label?: string;
40
- /** Replace localized message strings with your own strings. */
40
+ /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
41
41
  messageOverrides?: typeof this.messages._overrides;
42
42
  /** @default false */
43
43
  popupDisabled: boolean;
@@ -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.136 */
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.136 */
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.136 */
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
+ };
@@ -37,7 +37,7 @@ export declare class ArcgisNavigationToggle extends LitElement {
37
37
  * @default "vertical"
38
38
  */
39
39
  layout: LayoutMode;
40
- /** Replace localized message strings with your own strings. */
40
+ /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
41
41
  messageOverrides?: typeof this._messages._overrides;
42
42
  /**
43
43
  * The navigation mode of the view. See the table below for a list of
@@ -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.136 */
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.136 */
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.136 */
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() {
@@ -178,7 +178,7 @@ export declare class ArcgisPrint extends LitElement {
178
178
  * @default false
179
179
  */
180
180
  autoDestroyDisabled: boolean;
181
- /** Overwrite localized strings for this component */
181
+ /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
182
182
  messageOverrides?: typeof this.messages._overrides;
183
183
  /** The component's default label. */
184
184
  label?: string;
@@ -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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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.136 */
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`,