@arcgis/map-components 4.33.0-next.162 → 4.33.0-next.164

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 (266) hide show
  1. package/dist/cdn/{OOXM35P4.js → 22YX3GRL.js} +2 -2
  2. package/dist/cdn/{H7QJ4KWS.js → 2W3ZBJI4.js} +2 -2
  3. package/dist/cdn/{EO3GJEZP.js → 2X3RTWGN.js} +2 -2
  4. package/dist/cdn/{JRAWBFDZ.js → 2XY2SAQ5.js} +2 -2
  5. package/dist/cdn/{S5QI37SL.js → 2YN4EEAH.js} +2 -2
  6. package/dist/cdn/{TYM4VBG2.js → 2ZHXCW7L.js} +2 -2
  7. package/dist/cdn/{H7ONBPMG.js → 332TKXGO.js} +2 -2
  8. package/dist/cdn/{2MDHFB5B.js → 37FH7NCJ.js} +2 -2
  9. package/dist/cdn/{PJFCNQLI.js → 3CN64Z3G.js} +2 -2
  10. package/dist/cdn/{BVPUC4MS.js → 3W5CEABB.js} +2 -2
  11. package/dist/cdn/{6LFHIKZJ.js → 3X73NON6.js} +2 -2
  12. package/dist/cdn/{6YWYMGYH.js → 462OQUTO.js} +2 -2
  13. package/dist/cdn/47Q6B6AD.js +4 -0
  14. package/dist/cdn/{XTOHS3WU.js → 4GZOXS62.js} +2 -2
  15. package/dist/cdn/4KI4V2YA.js +4 -0
  16. package/dist/cdn/{XJBYMNTX.js → 4MSXECTG.js} +2 -2
  17. package/dist/cdn/{NPRWZKZF.js → 4MXASSTU.js} +2 -2
  18. package/dist/cdn/{PAFUTE3V.js → 4QUYVVLK.js} +2 -2
  19. package/dist/cdn/{JO7JVUY5.js → 4TF3PON7.js} +2 -2
  20. package/dist/cdn/{DW57NHR3.js → 4ZIV53M5.js} +2 -2
  21. package/dist/cdn/{OIMKNHX4.js → 5DQP4WI4.js} +2 -2
  22. package/dist/cdn/{5WANEHNL.js → 5GTIQQZ2.js} +2 -2
  23. package/dist/cdn/{CPQHNZ43.js → 5J5WEVND.js} +2 -2
  24. package/dist/cdn/{34U24X5X.js → 5LBMEMFD.js} +2 -2
  25. package/dist/cdn/{X73I6ZVJ.js → 5NUO6LTP.js} +2 -2
  26. package/dist/cdn/{QK53FQVU.js → 5QGY7MH2.js} +2 -2
  27. package/dist/cdn/{ADIH2ADD.js → 5V4YEUOK.js} +2 -2
  28. package/dist/cdn/{FHDRQ7D6.js → 5WXE4RGK.js} +2 -2
  29. package/dist/cdn/{GJ5CSTKJ.js → 5XQPAKHU.js} +2 -2
  30. package/dist/cdn/67VNMMPB.js +4 -0
  31. package/dist/cdn/{TJKBMX52.js → 6DL5ZDRY.js} +1 -1
  32. package/dist/cdn/{MEPK7G7D.js → 6EIFPKPN.js} +2 -2
  33. package/dist/cdn/{RFKIBBWN.js → 6I3TMMUE.js} +2 -2
  34. package/dist/cdn/{IH5QUVWR.js → 6IYZKPVI.js} +2 -2
  35. package/dist/cdn/{XZ3KV5TB.js → 6O25OFWE.js} +2 -2
  36. package/dist/cdn/{JWHXFRLC.js → 72ZPPZ2C.js} +2 -2
  37. package/dist/cdn/7IMMJJ6B.js +4 -0
  38. package/dist/cdn/{R3LJ3CM5.js → 7QVPZ2I2.js} +2 -2
  39. package/dist/cdn/{XTUWGXMO.js → 7ZRBN3HX.js} +2 -2
  40. package/dist/cdn/{W3OHUBHJ.js → B2THQCUW.js} +2 -2
  41. package/dist/cdn/{G2AIYDCS.js → B6QALHMT.js} +2 -2
  42. package/dist/cdn/{MHULE4RB.js → BASQ3TIQ.js} +2 -2
  43. package/dist/cdn/{UAVEGFN5.js → BJXLW3YE.js} +2 -2
  44. package/dist/cdn/{MFZYHT2E.js → BYDSF6IE.js} +2 -2
  45. package/dist/cdn/C5IWC2EH.js +4 -0
  46. package/dist/cdn/{5I6ZHANF.js → CBMVOGY3.js} +2 -2
  47. package/dist/cdn/{PQHFVXA6.js → CDOJOY4F.js} +2 -2
  48. package/dist/cdn/{Z5S6FG4Z.js → CFAWS2PJ.js} +2 -2
  49. package/dist/cdn/{KODC4JVQ.js → ERIDHZ3A.js} +2 -2
  50. package/dist/cdn/{W6LDYUV6.js → EVUABUUN.js} +2 -2
  51. package/dist/cdn/{V5RFQ3K3.js → F4NMNVYT.js} +2 -2
  52. package/dist/cdn/{NPUEU3PT.js → F65QBMQP.js} +2 -2
  53. package/dist/cdn/{CVSG65KE.js → FKVC26CR.js} +2 -2
  54. package/dist/cdn/{MFTCAIOR.js → G7P4NJ52.js} +2 -2
  55. package/dist/cdn/{MD7WT24X.js → GBFJA35L.js} +2 -2
  56. package/dist/cdn/{AXF5TOLA.js → GWRVZ7OQ.js} +2 -2
  57. package/dist/cdn/{AO4X2QCZ.js → HKWH7XJW.js} +1 -1
  58. package/dist/cdn/{DBSPQA6N.js → HVTIE6N7.js} +2 -2
  59. package/dist/cdn/{IMAHRGWJ.js → HYBIME5J.js} +2 -2
  60. package/dist/cdn/{K45FEQS4.js → IANHGUYH.js} +2 -2
  61. package/dist/cdn/{QHWMATY5.js → IMO3JDOU.js} +2 -2
  62. package/dist/cdn/{K3I6UVSI.js → J7TEIQCC.js} +2 -2
  63. package/dist/cdn/{ZDW63R4H.js → JHR464ES.js} +2 -2
  64. package/dist/cdn/{OMDFVDEO.js → JIL27VXJ.js} +2 -2
  65. package/dist/cdn/{NWCW5L4X.js → JRGVHZJK.js} +2 -2
  66. package/dist/cdn/{ZSCTPFGS.js → K6Z5CLAM.js} +2 -2
  67. package/dist/cdn/{L2KX5K4R.js → KD6RY7OT.js} +2 -2
  68. package/dist/cdn/{RX5MST3V.js → KIZYQ7TU.js} +2 -2
  69. package/dist/cdn/{6RMRVNTR.js → KUSBAABV.js} +2 -2
  70. package/dist/cdn/LBFCSKBR.js +4 -0
  71. package/dist/cdn/{7FB5EX7X.js → LH27CRJJ.js} +2 -2
  72. package/dist/cdn/{YX2NWTKN.js → MCZTIWUR.js} +2 -2
  73. package/dist/cdn/{RVUBAZGB.js → MRPGQWLH.js} +2 -2
  74. package/dist/cdn/{QV6KUBU7.js → MYQYAUTV.js} +2 -2
  75. package/dist/cdn/{L2T2EOIK.js → NAO26MHQ.js} +2 -2
  76. package/dist/cdn/{LECZU53J.js → NCWTJNR2.js} +2 -2
  77. package/dist/cdn/{L7TKZP76.js → NMNIJINE.js} +2 -2
  78. package/dist/cdn/{WR7Z5RDX.js → NXHSZ4NQ.js} +2 -2
  79. package/dist/cdn/{TTXJYB7M.js → NXVDVF3X.js} +2 -2
  80. package/dist/cdn/{752JG3WG.js → O2WVVOX3.js} +2 -2
  81. package/dist/cdn/{APOT5SNP.js → OGRQYHMZ.js} +1 -1
  82. package/dist/cdn/{CW4PSI3V.js → OLHML6L5.js} +2 -2
  83. package/dist/cdn/{I5ME3OFN.js → OLKV3PDL.js} +2 -2
  84. package/dist/cdn/{JVXMNA3I.js → OSS6OKA6.js} +2 -2
  85. package/dist/cdn/{RICQAG2P.js → PPY2GFZP.js} +2 -2
  86. package/dist/cdn/{FMQ4ABPQ.js → PQSADOC2.js} +1 -1
  87. package/dist/cdn/{JI4LFELT.js → PVKE2MHY.js} +2 -2
  88. package/dist/cdn/{4MMR5CDR.js → QSZ4TAA2.js} +2 -2
  89. package/dist/cdn/QUQU4YRW.js +4 -0
  90. package/dist/cdn/{XXFUJVIT.js → QXDHKXHM.js} +2 -2
  91. package/dist/cdn/{NBC47AEW.js → R76CW65M.js} +2 -2
  92. package/dist/cdn/{S3GQ2SNQ.js → R7A5TPEF.js} +2 -2
  93. package/dist/cdn/{7A3XYM2T.js → R7VGQBB2.js} +2 -2
  94. package/dist/cdn/{4QJ6FQSB.js → RE6KHO2G.js} +1 -1
  95. package/dist/cdn/{VU5HVWFY.js → RJJZNSLS.js} +2 -2
  96. package/dist/cdn/{77T4GLZY.js → RJSH2KXF.js} +1 -1
  97. package/dist/cdn/{2XI6PC4I.js → RL6DVVDC.js} +2 -2
  98. package/dist/cdn/{4GMZHRDV.js → RLWWHPUY.js} +1 -1
  99. package/dist/cdn/{WNFCCFUT.js → ROGY7HJF.js} +2 -2
  100. package/dist/cdn/{T57D4PK7.js → SEMJXWW3.js} +1 -1
  101. package/dist/cdn/{M3QCWRZA.js → SGCWEFZD.js} +2 -2
  102. package/dist/cdn/SQGE7QCT.js +4 -0
  103. package/dist/cdn/{P5YZOKTI.js → SRS75ZAP.js} +2 -2
  104. package/dist/cdn/{3ILDULY6.js → TAQ5QANG.js} +2 -2
  105. package/dist/cdn/{7Y35GA3H.js → TDVOZGKQ.js} +2 -2
  106. package/dist/cdn/{TWHQFR5Z.js → THTPNCHE.js} +2 -2
  107. package/dist/cdn/{RIALQIK7.js → TIIRBPYX.js} +2 -2
  108. package/dist/cdn/{2DRORWYC.js → U4BTQL72.js} +2 -2
  109. package/dist/cdn/{M4A7CSA3.js → V4E754SB.js} +2 -2
  110. package/dist/cdn/{GI5SR5TQ.js → W4HDHPV7.js} +2 -2
  111. package/dist/cdn/{EAK2C4AS.js → W7FB4G3S.js} +2 -2
  112. package/dist/cdn/{5Y3KKXAR.js → WIUVV3KF.js} +2 -2
  113. package/dist/cdn/{ZK7ORKHE.js → WXUUMPPC.js} +2 -2
  114. package/dist/cdn/{LZULSZRX.js → XBSX7KWN.js} +2 -2
  115. package/dist/cdn/{4LQBVZWP.js → YLZJVYFT.js} +2 -2
  116. package/dist/cdn/{WNHFJV7J.js → YWHLRJRM.js} +2 -2
  117. package/dist/cdn/{TWV7JSDP.js → Z4RPC6YM.js} +2 -2
  118. package/dist/cdn/{AHOFXAIX.js → Z73AH5SE.js} +2 -2
  119. package/dist/cdn/{4EEQ7GYJ.js → ZARJZ5D3.js} +2 -2
  120. package/dist/cdn/index.js +2 -2
  121. package/dist/chunks/AnalysisViewModel.js +1 -1
  122. package/dist/chunks/async-utils.js +1 -1
  123. package/dist/chunks/basemap-gallery-resources.js +1 -1
  124. package/dist/chunks/component-utils.js +1 -1
  125. package/dist/chunks/createCloseEvent.js +1 -1
  126. package/dist/chunks/globalCss.js +1 -1
  127. package/dist/chunks/heading.js +1 -1
  128. package/dist/chunks/layer-list.js +1 -1
  129. package/dist/chunks/legacyIcon.js +1 -1
  130. package/dist/chunks/maybe.js +1 -1
  131. package/dist/chunks/measurementUtils.js +1 -1
  132. package/dist/chunks/runtime.js +1 -1
  133. package/dist/chunks/useHandles.js +1 -1
  134. package/dist/chunks/useT9n.js +1 -1
  135. package/dist/chunks/useView.js +1 -1
  136. package/dist/chunks/useViewModel.js +1 -1
  137. package/dist/chunks/useWidget.js +1 -1
  138. package/dist/chunks/utils.js +1 -1
  139. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  140. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +102 -6
  141. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  142. package/dist/components/arcgis-attachments/customElement.js +1 -1
  143. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  144. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  145. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  146. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  147. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  148. package/dist/components/arcgis-building-explorer/customElement.d.ts +20 -15
  149. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  150. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  151. package/dist/components/arcgis-compass/customElement.js +1 -1
  152. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  153. package/dist/components/arcgis-daylight/customElement.d.ts +12 -11
  154. package/dist/components/arcgis-daylight/customElement.js +1 -1
  155. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +104 -7
  156. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  157. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  158. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  159. package/dist/components/arcgis-directions/customElement.js +1 -1
  160. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  161. package/dist/components/arcgis-editor/customElement.js +1 -1
  162. package/dist/components/arcgis-elevation-profile/customElement.d.ts +14 -23
  163. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  164. package/dist/components/arcgis-expand/customElement.js +1 -1
  165. package/dist/components/arcgis-feature/customElement.js +1 -1
  166. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  167. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  168. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  169. package/dist/components/arcgis-features/customElement.js +1 -1
  170. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  171. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  172. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  173. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  174. package/dist/components/arcgis-home/customElement.js +1 -1
  175. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  176. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  177. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  178. package/dist/components/arcgis-legend/customElement.js +1 -1
  179. package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
  180. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  181. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  182. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  183. package/dist/components/arcgis-locate/customElement.js +1 -1
  184. package/dist/components/arcgis-map/customElement.js +1 -1
  185. package/dist/components/arcgis-measurement/customElement.js +1 -1
  186. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  187. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -7
  188. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  189. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  190. package/dist/components/arcgis-placement/customElement.js +1 -1
  191. package/dist/components/arcgis-print/customElement.d.ts +2 -6
  192. package/dist/components/arcgis-print/customElement.js +39 -33
  193. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  194. package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
  195. package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
  196. package/dist/components/arcgis-print-export-button/customElement.js +3 -4
  197. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  198. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  199. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  200. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  201. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
  202. package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
  203. package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
  204. package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
  205. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  206. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
  207. package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
  208. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
  209. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  210. package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
  211. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  212. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  213. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  214. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  215. package/dist/components/arcgis-scene/customElement.d.ts +28 -43
  216. package/dist/components/arcgis-scene/customElement.js +1 -1
  217. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  218. package/dist/components/arcgis-search/customElement.js +1 -1
  219. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  220. package/dist/components/arcgis-shadow-cast/customElement.d.ts +19 -25
  221. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  222. package/dist/components/arcgis-sketch/customElement.js +1 -1
  223. package/dist/components/arcgis-slice/customElement.d.ts +59 -14
  224. package/dist/components/arcgis-slice/customElement.js +1 -1
  225. package/dist/components/arcgis-slider/customElement.js +1 -1
  226. package/dist/components/arcgis-swipe/customElement.js +1 -1
  227. package/dist/components/arcgis-table-list/customElement.js +1 -1
  228. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  229. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  230. package/dist/components/arcgis-track/customElement.js +1 -1
  231. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  232. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  233. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  234. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  235. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  236. package/dist/components/arcgis-version-management/customElement.js +1 -1
  237. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  238. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  239. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  240. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  241. package/dist/components/arcgis-video/customElement.js +1 -1
  242. package/dist/components/arcgis-video-player/customElement.js +1 -1
  243. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  244. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  245. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  246. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  247. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  248. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  249. package/dist/components/arcgis-weather/customElement.d.ts +5 -1
  250. package/dist/components/arcgis-weather/customElement.js +1 -1
  251. package/dist/components/arcgis-zoom/customElement.js +1 -1
  252. package/dist/docs/api.json +134 -138
  253. package/dist/docs/docs.json +103 -111
  254. package/dist/docs/vscode.html-custom-data.json +42 -48
  255. package/dist/docs/web-types.json +105 -101
  256. package/dist/index.js +1 -1
  257. package/dist/loader.js +5 -5
  258. package/package.json +3 -3
  259. package/dist/cdn/EOXZYCYH.js +0 -4
  260. package/dist/cdn/JDT46Y5J.js +0 -4
  261. package/dist/cdn/L3SJHOMT.js +0 -4
  262. package/dist/cdn/LY3RCR27.js +0 -4
  263. package/dist/cdn/N2W6ZCZW.js +0 -4
  264. package/dist/cdn/THEFGCDI.js +0 -4
  265. package/dist/cdn/TIGVS5YJ.js +0 -4
  266. package/dist/cdn/ZXE2K6BY.js +0 -4
@@ -23,6 +23,10 @@ declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel,
23
23
  * and any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).
24
24
  * Both, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.
25
25
  *
26
+ * **Known limitations**
27
+ *
28
+ * Line Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
29
+ *
26
30
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
27
31
  */
28
32
  export declare class ArcgisLineOfSight extends LitElement {
@@ -76,10 +80,7 @@ export declare class ArcgisLineOfSight extends LitElement {
76
80
  get state(): "created" | "creating" | "disabled" | "ready";
77
81
  /** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
78
82
  clear(): Promise<void>;
79
- /**
80
- * After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)
81
- * was called, this method allows to continue the line of sight analysis and add more targets.
82
- */
83
+ /** After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
83
84
  continue(): Promise<void>;
84
85
  /** Permanently destroy the component. */
85
86
  destroy(): Promise<void>;
@@ -11,7 +11,7 @@ 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.162 */
14
+ v4.33.0-next.164 */
15
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`,
@@ -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.162 */
11
+ v4.33.0-next.164 */
12
12
  const g = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
13
13
  w,
14
14
  /**
@@ -11,7 +11,7 @@ import { LitElement as b, createEvent as f, noShadowRoot as v, safeClassMap as c
11
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.162 */
14
+ v4.33.0-next.164 */
15
15
  const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
16
16
  basicLayoutCategory: [
17
17
  "basic-grid"
@@ -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.162 */
30
+ v4.33.0-next.164 */
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.162 */
11
+ v4.33.0-next.164 */
12
12
  const g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
13
13
  w,
14
14
  /**
@@ -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.162 */
9
+ v4.33.0-next.164 */
10
10
  const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
11
11
  class h extends s {
12
12
  constructor() {
@@ -6,7 +6,7 @@ import { f as l } from "../../chunks/measurementUtils.js";
6
6
  import { css as m } 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.162 */
9
+ v4.33.0-next.164 */
10
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
11
  error: "error",
12
12
  hint: "hint",
@@ -16,7 +16,9 @@ type LayoutMode = "horizontal" | "vertical";
16
16
  * to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
17
17
  * right-click + drag pans the view.
18
18
  *
19
- * The Navigation Toggle component is only supported in 3D.
19
+ * **Known limitations**
20
+ *
21
+ * Navigation Toggle is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
20
22
  *
21
23
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-navigation-toggle/)
22
24
  */
@@ -43,13 +45,10 @@ export declare class ArcgisNavigationToggle extends LitElement {
43
45
  */
44
46
  messageOverrides?: typeof this._messages._overrides;
45
47
  /**
46
- * The navigation mode of the view. See the table below for a list of
47
- * possible values.
48
+ * The navigation mode of the view. The possible values:
48
49
  *
49
- * Possible Value | Description
50
- * ---------------|-------------
51
- * pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
52
- * rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
50
+ * * `pan` - The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
51
+ * * `rotate` - The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
53
52
  *
54
53
  * @default "pan"
55
54
  */
@@ -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.162 */
12
+ v4.33.0-next.164 */
13
13
  const $ = "arcgis-navigation-toggle", _ = {
14
14
  base: $
15
15
  }, w = 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.162 */
10
+ v4.33.0-next.164 */
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.162 */
7
+ v4.33.0-next.164 */
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() {
@@ -215,13 +215,9 @@ export declare class ArcgisPrint extends LitElement {
215
215
  /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
216
216
  readonly arcgisReady: TargetedEvent<this, void>;
217
217
  /** Emitted when the component is complete. */
218
- readonly arcgisComplete: TargetedEvent<this, {
219
- link: __esri.FileLink;
220
- }>;
218
+ readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
221
219
  /** Emitted when the component is submitted. */
222
- readonly arcgisSubmit: TargetedEvent<this, {
223
- link: __esri.FileLink;
224
- }>;
220
+ readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
225
221
  private messages: {
226
222
  componentLabel: string;
227
223
  title: string;
@@ -1,43 +1,49 @@
1
- import { c as n } from "../../chunks/runtime.js";
2
- import { html as t } from "lit-html";
3
- import { classes as c } from "@arcgis/components-utils";
4
- import d from "@arcgis/core/widgets/Print/PrintViewModel.js";
5
- import { LitElement as h, createEvent as l, noShadowRoot as p, safeClassMap as r } from "@arcgis/lumina";
6
- import { usePropertyChange as m } from "@arcgis/lumina/controllers";
7
- import { u as g } from "../../chunks/useT9n.js";
8
- import { m as w } from "../../chunks/useViewModel.js";
9
- import { g as o } from "../../chunks/globalCss.js";
10
- import { css as v } from "@lit/reactive-element/css-tag.js";
1
+ import { c as d } from "../../chunks/runtime.js";
2
+ import { html as i } from "lit-html";
3
+ import { classes as h } from "@arcgis/components-utils";
4
+ import p from "@arcgis/core/widgets/Print/PrintViewModel.js";
5
+ import { LitElement as m, createEvent as g, noShadowRoot as w, safeClassMap as l } from "@arcgis/lumina";
6
+ import { usePropertyChange as v } from "@arcgis/lumina/controllers";
7
+ import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
8
+ import { u } from "../../chunks/useT9n.js";
9
+ import { m as f } from "../../chunks/useViewModel.js";
10
+ import { g as n } from "../../chunks/globalCss.js";
11
+ import { css as _ } from "@lit/reactive-element/css-tag.js";
11
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
13
- v4.33.0-next.162 */
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
- base: i,
16
- headerTitle: `${i}__header-title`,
17
- panelItemsCentered: `${i}__panel-items--centered`,
18
- printWidgetContainer: `${i}__container`,
19
- panelError: `${i}__panel--error`
20
- }, f = w(d);
21
- class _ extends h {
14
+ v4.33.0-next.164 */
15
+ const M = _`@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}}`, a = "arcgis-print", r = {
16
+ base: a,
17
+ headerTitle: `${a}__header-title`,
18
+ panelItemsCentered: `${a}__panel-items--centered`,
19
+ printWidgetContainer: `${a}__container`,
20
+ panelError: `${a}__panel--error`
21
+ }, T = f(p), c = (s) => {
22
+ if (!s)
23
+ return "all";
24
+ const e = typeof s == "string" ? s.split(",").map((t) => t.trim()).filter((t) => t) : [s];
25
+ return !e.length || e.includes("all") ? "all" : e;
26
+ };
27
+ class $ extends m {
22
28
  constructor() {
23
- super(...arguments), this.messages = g({ blocking: !0 }), this.viewModel = f(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state"), this.arcgisReady = l(), this.arcgisComplete = l(), this.arcgisSubmit = l();
29
+ super(...arguments), this.messages = u({ blocking: !0 }), this.viewModel = T(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = v()("state"), this.arcgisReady = g(), this.arcgisComplete = o(() => this.viewModel, "complete"), this.arcgisSubmit = o(() => this.viewModel, "submit");
24
30
  }
25
31
  static {
26
- this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: 1, allowedLayouts: 1, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
32
+ this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: c }], allowedLayouts: [1, { type: String, converter: c }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
27
33
  }
28
34
  static {
29
- this.styles = u;
35
+ this.styles = M;
30
36
  }
31
37
  static {
32
- this.shadowRootOptions = p;
38
+ this.shadowRootOptions = w;
33
39
  }
34
40
  async destroy() {
35
41
  await this.manager.destroy(), this.viewModel.destroy();
36
42
  }
37
43
  loaded() {
38
44
  this.manager.onLifecycle(() => []), this.viewModel.load();
39
- const { height: e, width: a } = this.viewModel.templateOptions;
40
- this.viewModel.templateOptions.width = a || 800, this.viewModel.templateOptions.height = e || 1100;
45
+ const { height: e, width: t } = this.viewModel.templateOptions;
46
+ this.viewModel.templateOptions.width = t || 800, this.viewModel.templateOptions.height = e || 1100;
41
47
  }
42
48
  _showTemplateSelector() {
43
49
  this._showTemplates = !0;
@@ -47,24 +53,24 @@ class _ extends h {
47
53
  }
48
54
  render() {
49
55
  const e = {
50
- [s.panelItemsCentered]: this.viewModel.state === "initializing"
56
+ [r.panelItemsCentered]: this.viewModel.state === "initializing"
51
57
  };
52
- return t`<div class=${r(c(s.base, o.widget, o.panel, e))}>${this._renderPanel()}</div>`;
58
+ return i`<div class=${l(h(r.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
53
59
  }
54
60
  _renderPanel() {
55
- return this.viewModel.state === "initializing" ? t`<calcite-loader label=loading scale=m></calcite-loader>` : t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${r(s.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
61
+ return this.viewModel.state === "initializing" ? i`<calcite-loader label=loading scale=m></calcite-loader>` : i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${l(r.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
56
62
  e.preventDefault(), this._showTemplates = !1;
57
63
  }}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
58
64
  }
59
65
  _renderPanelHeader() {
60
- return this.hideHeader ? null : t`<header class=${r(s.headerTitle)}>${this.messages.export}</header>`;
66
+ return this.hideHeader ? null : i`<header class=${l(r.headerTitle)}>${this.messages.export}</header>`;
61
67
  }
62
68
  _renderPanelContent() {
63
- const e = this.viewModel.view, a = e?.type !== "2d";
64
- return !!this.error || a ? t`<div class=${r(s.panelError)}>${e ? a ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback} .arcgisComplete=${this.arcgisComplete} .arcgisSubmit=${this.arcgisSubmit}></arcgis-print-main-panel>`;
69
+ const e = this.viewModel.view, t = e?.type !== "2d";
70
+ return !!this.error || t ? i`<div class=${l(r.panelError)}>${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
65
71
  }
66
72
  }
67
- n("arcgis-print", _);
73
+ d("arcgis-print", $);
68
74
  export {
69
- _ as ArcgisPrint
75
+ $ as ArcgisPrint
70
76
  };
@@ -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.162 */
7
+ v4.33.0-next.164 */
8
8
  class d extends u {
9
9
  static {
10
10
  this.properties = { viewModel: 0 };
@@ -1,20 +1,11 @@
1
- import { c as h } from "../../chunks/runtime.js";
2
- import { html as r } from "lit-html";
3
- import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
4
- import { LitElement as d, noShadowRoot as c } from "@arcgis/lumina";
1
+ import { c as a } from "../../chunks/runtime.js";
2
+ import { html as s } from "lit-html";
3
+ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { LitElement as r, 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.162 */
8
- function l(s, i, t, e) {
9
- if (t == null || e == null)
10
- return { height: 0, width: 0 };
11
- const n = t / i, o = e / i;
12
- return {
13
- width: Math.round(s * n),
14
- height: Math.round(s * o)
15
- };
16
- }
17
- class m extends d {
7
+ v4.33.0-next.164 */
8
+ class o extends r {
18
9
  constructor() {
19
10
  super(...arguments), this._dpi = 1;
20
11
  }
@@ -22,22 +13,26 @@ class m extends d {
22
13
  this.properties = { _dpi: 16, viewModel: 0, messages: 0 };
23
14
  }
24
15
  static {
25
- this.shadowRootOptions = c;
16
+ this.shadowRootOptions = p;
26
17
  }
27
18
  loaded() {
28
19
  this.manager.onLifecycle(() => [
29
- p(() => this.viewModel.templateOptions.dpi, (i) => this._dpi = i <= 0 ? 1 : i, { initial: !0 })
20
+ n(() => this.viewModel.templateOptions.dpi, (t) => this._dpi = t <= 0 ? 1 : t, { initial: !0 })
30
21
  ]);
31
22
  }
32
- _handleDPIChange(i) {
33
- const t = this.viewModel.templateOptions, e = t.dpi, n = Number(i.target.value), { height: o, width: a } = l(n, e, t.width, t.height);
34
- t.dpi = n, t.height = o, t.width = a;
23
+ _handleDPIChange(t) {
24
+ const i = this.viewModel.templateOptions, e = Number(t.target.value);
25
+ if (Number.isNaN(e) || e <= 0 || !Number.isFinite(e)) {
26
+ t.target.value = `${this._dpi}`;
27
+ return;
28
+ }
29
+ i.dpi = e;
35
30
  }
36
31
  render() {
37
- return r`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`;
32
+ return s`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`;
38
33
  }
39
34
  }
40
- h("arcgis-print-dpi-input", m);
35
+ a("arcgis-print-dpi-input", o);
41
36
  export {
42
- m as PrintDPIInput
37
+ o as PrintDPIInput
43
38
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
4
  import { ArcgisPrint } from '../arcgis-print/customElement.js';
5
5
 
6
6
  /** @private */
@@ -9,10 +9,4 @@ export declare class PrintExportButton extends LitElement {
9
9
  messages: ArcgisPrint["messages"];
10
10
  fileName?: string;
11
11
  selectExportsTab: () => void;
12
- arcgisSubmit: EventEmitter<{
13
- link: __esri.FileLink;
14
- }>;
15
- arcgisComplete: EventEmitter<{
16
- link: __esri.FileLink;
17
- }>;
18
12
  }
@@ -3,10 +3,10 @@ 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.162 */
6
+ v4.33.0-next.164 */
7
7
  class c extends l {
8
8
  static {
9
- this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
9
+ this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
10
10
  }
11
11
  static {
12
12
  this.shadowRootOptions = n;
@@ -15,8 +15,7 @@ class c extends l {
15
15
  this.manager.onLifecycle(() => []);
16
16
  }
17
17
  async _handlePrintMap() {
18
- const { link: t, promise: e } = this.viewModel.export(this.fileName || this.messages.untitled);
19
- this.arcgisSubmit.emit({ link: t }), e.then((i) => this.arcgisComplete.emit({ link: i })), this.selectExportsTab();
18
+ this.viewModel.export(this.fileName || this.messages.untitled), this.selectExportsTab();
20
19
  }
21
20
  render() {
22
21
  const { messages: t } = this, { layout: e, layoutItem: i, format: s } = this.viewModel.templateOptions, o = this.viewModel.state !== "ready" || !(e || i);
@@ -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.162 */
9
+ v4.33.0-next.164 */
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.162 */
8
+ v4.33.0-next.164 */
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.162 */
9
+ v4.33.0-next.164 */
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.162 */
10
+ v4.33.0-next.164 */
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
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
4
  import { ArcgisPrint } from '../arcgis-print/customElement.js';
5
5
 
6
6
  /** @private */
@@ -9,10 +9,4 @@ export declare class PrintLayoutPanel extends LitElement {
9
9
  messages: ArcgisPrint["messages"];
10
10
  showTemplateSelector: () => void;
11
11
  selectExportsTab: () => void;
12
- arcgisSubmit: EventEmitter<{
13
- link: __esri.FileLink;
14
- }>;
15
- arcgisComplete: EventEmitter<{
16
- link: __esri.FileLink;
17
- }>;
18
12
  }
@@ -1,4 +1,4 @@
1
- import { c as n } from "../../chunks/runtime.js";
1
+ import { c as r } from "../../chunks/runtime.js";
2
2
  import { html as e } from "lit-html";
3
3
  import { classes as c } from "@arcgis/components-utils";
4
4
  import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
@@ -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.162 */
10
+ v4.33.0-next.164 */
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`,
@@ -18,7 +18,7 @@ class u extends p {
18
18
  super(...arguments), this._handles = m("disconnect");
19
19
  }
20
20
  static {
21
- this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
21
+ this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
22
22
  }
23
23
  static {
24
24
  this.styles = h;
@@ -38,9 +38,9 @@ class u extends p {
38
38
  _renderTitleInput() {
39
39
  if (!this._showSelectedTemplateTitleText)
40
40
  return null;
41
- const { title: t, titlePlaceHolder: o } = this.messages;
42
- return e`<calcite-label>${t}<calcite-input .placeholder=${o} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(r) => {
43
- this.viewModel.templateOptions.title = r.currentTarget.value;
41
+ const { title: t, titlePlaceHolder: n } = this.messages;
42
+ return e`<calcite-label>${t}<calcite-input .placeholder=${n} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(o) => {
43
+ this.viewModel.templateOptions.title = o.currentTarget.value;
44
44
  }}></calcite-input></calcite-label>`;
45
45
  }
46
46
  _renderTemplateSelect() {
@@ -53,10 +53,10 @@ class u extends p {
53
53
  return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(c(s.panelContainer, s.advancedOptionsSection))} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
54
54
  }
55
55
  _renderExportButton() {
56
- return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-export-button>`;
56
+ return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
57
57
  }
58
58
  }
59
- n("arcgis-print-layout-panel", u);
59
+ r("arcgis-print-layout-panel", u);
60
60
  export {
61
61
  u as PrintLayoutPanel
62
62
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent, EventEmitter } from '@arcgis/lumina';
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
4
  import { ArcgisPrint } from '../arcgis-print/customElement.js';
5
5
  import { Formats } from '../arcgis-print/interfaces';
6
6
 
@@ -11,10 +11,4 @@ export declare class PrintMainPanel extends LitElement {
11
11
  messages: ArcgisPrint["messages"];
12
12
  showTemplateSelector: () => void;
13
13
  allowedFormatsForSaving?: Formats;
14
- arcgisSubmit: EventEmitter<{
15
- link: __esri.FileLink;
16
- }>;
17
- arcgisComplete: EventEmitter<{
18
- link: __esri.FileLink;
19
- }>;
20
14
  }
@@ -4,17 +4,17 @@ import { LitElement as i } from "@arcgis/lumina";
4
4
  import { i as l } from "../../chunks/utils.js";
5
5
  import { css as o } from "@lit/reactive-element/css-tag.js";
6
6
  import { u as c } from "../../chunks/useHandles.js";
7
- import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
7
+ import { watch as n } 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.162 */
10
+ v4.33.0-next.164 */
11
11
  const p = o`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
12
- class n extends i {
12
+ class r extends i {
13
13
  constructor() {
14
14
  super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
15
15
  }
16
16
  static {
17
- this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1, arcgisSubmit: 0, arcgisComplete: 0 };
17
+ this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
18
18
  }
19
19
  static {
20
20
  this.styles = p;
@@ -22,7 +22,7 @@ class n extends i {
22
22
  loaded() {
23
23
  this.manager.onLifecycle(() => [
24
24
  this.viewModel.exportedLinks.on("change", () => {
25
- this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => r(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
25
+ this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
26
26
  })
27
27
  ]);
28
28
  }
@@ -44,10 +44,10 @@ class n extends i {
44
44
  }
45
45
  render() {
46
46
  const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
47
- return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`;
47
+ return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`;
48
48
  }
49
49
  }
50
- s("arcgis-print-main-panel", n);
50
+ s("arcgis-print-main-panel", r);
51
51
  export {
52
- n as PrintMainPanel
52
+ r as PrintMainPanel
53
53
  };
@@ -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.162 */
7
+ v4.33.0-next.164 */
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
  };