@arcgis/core 6.0.0-next.22 → 6.0.0-next.23

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 (217) hide show
  1. package/PopupTemplate.js +1 -1
  2. package/analysis/LineOfSightAnalysis.d.ts +1 -1
  3. package/analysis/LineOfSightAnalysisObserver.d.ts +5 -4
  4. package/analysis/LineOfSightAnalysisTarget.d.ts +4 -4
  5. package/analysis/Viewshed.d.ts +4 -4
  6. package/arcgisGlobal.d.ts +0 -5
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{3c277a0f099d67090d07.js → 02335385b1476fe322eb.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{4911ce62421a6c3320b0.js → 13c64087be3b2985a21b.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{8e19629899a5becf8e19.js → 150e7a7bd5df25693da7.js} +1 -1
  11. package/assets/esri/core/workers/chunks/2c0cb214fedb29487eef.js +1 -0
  12. package/assets/esri/core/workers/chunks/{2e096537a3a5555a4a93.js → 4cb751dc8d00bdaeb04c.js} +1 -1
  13. package/assets/esri/core/workers/chunks/517106048980a3cbe072.js +1 -0
  14. package/assets/esri/core/workers/chunks/{d08ff41e2a9bcd58b64a.js → 636cd05abfbdff19029e.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{84940d8e14caf5a27e04.js → 64b360625c68cb863a08.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{814751e705c05099f864.js → 7c75a8ee266c36baa902.js} +1 -1
  17. package/assets/esri/core/workers/chunks/947674b2ca8be65b9bcc.js +1 -0
  18. package/assets/esri/core/workers/chunks/{baed828b7846c0863289.js → 96c4ea9cfa3930f1c3fb.js} +21 -17
  19. package/assets/esri/core/workers/chunks/{8a485130781b49dbf608.js → 9d40786c5ceface786ba.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{a35c69a4751d28c39907.js → 9e7c4eda135c4911b268.js} +1 -1
  21. package/assets/esri/core/workers/chunks/ad96132bc89671e595f3.js +1 -0
  22. package/assets/esri/themes/base/_core.scss +0 -2
  23. package/assets/esri/themes/dark/main.css +1 -1
  24. package/assets/esri/themes/light/main.css +1 -1
  25. package/assets/esri/themes/light/view.css +1 -1
  26. package/chunks/Component.glsl.js +9 -12
  27. package/chunks/DefaultMaterial.glsl.js +4 -5
  28. package/chunks/Path.glsl.js +2 -4
  29. package/chunks/RealisticTree.glsl.js +3 -3
  30. package/chunks/SSAO.glsl.js +1 -2
  31. package/config.js +1 -1
  32. package/geometry/support/clipRay.js +1 -1
  33. package/geometry/support/plane.js +1 -1
  34. package/interfaces.d.ts +0 -55
  35. package/kernel.js +1 -1
  36. package/layers/ElevationLayer.d.ts +6 -2
  37. package/layers/GeoJSONLayer.d.ts +2 -107
  38. package/layers/IntegratedMeshLayer.js +1 -1
  39. package/layers/SceneLayer.d.ts +40 -16
  40. package/layers/ViewshedLayer.d.ts +10 -4
  41. package/layers/WMSLayer.d.ts +2 -69
  42. package/layers/mixins/TemporalLayer.d.ts +70 -48
  43. package/layers/mixins/TiledImagery.d.ts +0 -11
  44. package/package.json +2 -2
  45. package/popup/content.d.ts +38 -1
  46. package/popup/content.js +1 -1
  47. package/smartMapping/popup/support/clusterUtils.js +1 -1
  48. package/smartMapping/popup/support/utils.js +2 -2
  49. package/smartMapping/renderers/size.js +1 -1
  50. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  51. package/support/timeUtils.d.ts +11 -0
  52. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  53. package/views/2d/layers/features/Processor.js +1 -1
  54. package/views/2d/layers/features/aggregation/GeohashSpatialIndex.js +1 -1
  55. package/views/2d/layers/features/aggregation/GridSpatialIndex.js +1 -1
  56. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  57. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  58. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  59. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  60. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  61. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  62. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  63. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
  64. package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
  65. package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
  66. package/views/2d/layers/features/processor/bins/BinAdapter.js +1 -1
  67. package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
  68. package/views/2d/layers/features/processor/clusters/ClusterAdapter.js +1 -1
  69. package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
  70. package/views/2d/layers/features/processor/tracks/TrackAdapter.js +1 -1
  71. package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
  72. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  73. package/views/2d/layers/features/sources/strategies/chunks/ASourceChunk.js +1 -1
  74. package/views/2d/layers/features/sources/strategies/chunks/ByReferenceTileSourceChunk.js +1 -1
  75. package/views/2d/layers/features/sources/strategies/chunks/FeatureSnapshotSourceChunk.js +1 -1
  76. package/views/2d/layers/features/sources/strategies/chunks/Overrides.js +1 -1
  77. package/views/2d/layers/features/sources/strategies/chunks/ParquetSnapshotSourceChunk.js +1 -1
  78. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  79. package/views/2d/layers/features/sources/strategies/chunks/StreamSourceChunk.js +1 -1
  80. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  81. package/views/2d/layers/features/support/FeatureFilterEvaluator.js +1 -1
  82. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  83. package/views/2d/layers/features/support/GraphicsReader.js +1 -1
  84. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  85. package/views/3d/environment/SunLighting.d.ts +0 -1
  86. package/views/3d/environment/SunLighting.js +1 -1
  87. package/views/3d/environment/VirtualLighting.d.ts +0 -1
  88. package/views/3d/environment/VirtualLighting.js +1 -1
  89. package/views/3d/input/handlers/ground/GroundDoubleClickMove.js +1 -1
  90. package/views/3d/interactive/placementTools/GroundNavigationPlacementTool3D.js +1 -1
  91. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  92. package/views/3d/state/utils/groundNavigationUtils.js +1 -1
  93. package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
  94. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +1 -2
  95. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +1 -2
  96. package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +9 -4
  97. package/views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js +18 -0
  98. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  99. package/views/3d/webgl-engine/materials/Path.glsl.js +1 -1
  100. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  101. package/views/3d/webgl-engine/materials/internal/worldSizedRibbonLineIntersectionUtils.js +2 -0
  102. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  103. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  104. package/views/layers/LineOfSightLayerView.d.ts +2 -2
  105. package/views/layers/ViewshedLayerView.d.ts +2 -1
  106. package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
  107. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  108. package/widgets/Locate.d.ts +1 -1
  109. package/widgets/Search/SearchViewModel.js +1 -1
  110. package/widgets/Search/support/layerSearchUtils.js +1 -1
  111. package/widgets/Sketch/SketchViewModel.js +1 -1
  112. package/widgets/Sketch/support/PluginManager.js +1 -1
  113. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
  114. package/widgets/support/GeolocationPositioning.d.ts +1 -2
  115. package/assets/esri/core/workers/chunks/42045cf46497828cd3c0.js +0 -1
  116. package/assets/esri/core/workers/chunks/576248e9ae2654569420.js +0 -1
  117. package/assets/esri/core/workers/chunks/6059853ef3b6cddbe869.js +0 -1
  118. package/assets/esri/core/workers/chunks/a679207c3458cc0b1fec.js +0 -1
  119. package/assets/esri/themes/base/widgets/_DirectionalPad.scss +0 -85
  120. package/assets/esri/widgets/DirectionalPad/t9n/messages.ar.json +0 -1
  121. package/assets/esri/widgets/DirectionalPad/t9n/messages.bg.json +0 -1
  122. package/assets/esri/widgets/DirectionalPad/t9n/messages.bs.json +0 -1
  123. package/assets/esri/widgets/DirectionalPad/t9n/messages.ca.json +0 -1
  124. package/assets/esri/widgets/DirectionalPad/t9n/messages.cs.json +0 -1
  125. package/assets/esri/widgets/DirectionalPad/t9n/messages.da.json +0 -1
  126. package/assets/esri/widgets/DirectionalPad/t9n/messages.de.json +0 -1
  127. package/assets/esri/widgets/DirectionalPad/t9n/messages.el.json +0 -1
  128. package/assets/esri/widgets/DirectionalPad/t9n/messages.en.json +0 -1
  129. package/assets/esri/widgets/DirectionalPad/t9n/messages.es.json +0 -1
  130. package/assets/esri/widgets/DirectionalPad/t9n/messages.et.json +0 -1
  131. package/assets/esri/widgets/DirectionalPad/t9n/messages.fi.json +0 -1
  132. package/assets/esri/widgets/DirectionalPad/t9n/messages.fr.json +0 -1
  133. package/assets/esri/widgets/DirectionalPad/t9n/messages.he.json +0 -1
  134. package/assets/esri/widgets/DirectionalPad/t9n/messages.hr.json +0 -1
  135. package/assets/esri/widgets/DirectionalPad/t9n/messages.hu.json +0 -1
  136. package/assets/esri/widgets/DirectionalPad/t9n/messages.id.json +0 -1
  137. package/assets/esri/widgets/DirectionalPad/t9n/messages.it.json +0 -1
  138. package/assets/esri/widgets/DirectionalPad/t9n/messages.ja.json +0 -1
  139. package/assets/esri/widgets/DirectionalPad/t9n/messages.ko.json +0 -1
  140. package/assets/esri/widgets/DirectionalPad/t9n/messages.lt.json +0 -1
  141. package/assets/esri/widgets/DirectionalPad/t9n/messages.lv.json +0 -1
  142. package/assets/esri/widgets/DirectionalPad/t9n/messages.nl.json +0 -1
  143. package/assets/esri/widgets/DirectionalPad/t9n/messages.no.json +0 -1
  144. package/assets/esri/widgets/DirectionalPad/t9n/messages.pl.json +0 -1
  145. package/assets/esri/widgets/DirectionalPad/t9n/messages.pt-BR.json +0 -1
  146. package/assets/esri/widgets/DirectionalPad/t9n/messages.pt-PT.json +0 -1
  147. package/assets/esri/widgets/DirectionalPad/t9n/messages.ro.json +0 -1
  148. package/assets/esri/widgets/DirectionalPad/t9n/messages.ru.json +0 -1
  149. package/assets/esri/widgets/DirectionalPad/t9n/messages.sk.json +0 -1
  150. package/assets/esri/widgets/DirectionalPad/t9n/messages.sl.json +0 -1
  151. package/assets/esri/widgets/DirectionalPad/t9n/messages.sr.json +0 -1
  152. package/assets/esri/widgets/DirectionalPad/t9n/messages.sv.json +0 -1
  153. package/assets/esri/widgets/DirectionalPad/t9n/messages.th.json +0 -1
  154. package/assets/esri/widgets/DirectionalPad/t9n/messages.tr.json +0 -1
  155. package/assets/esri/widgets/DirectionalPad/t9n/messages.uk.json +0 -1
  156. package/assets/esri/widgets/DirectionalPad/t9n/messages.vi.json +0 -1
  157. package/assets/esri/widgets/DirectionalPad/t9n/messages.zh-CN.json +0 -1
  158. package/assets/esri/widgets/DirectionalPad/t9n/messages.zh-HK.json +0 -1
  159. package/assets/esri/widgets/DirectionalPad/t9n/messages.zh-TW.json +0 -1
  160. package/assets/esri/widgets/Track/t9n/messages.ar.json +0 -1
  161. package/assets/esri/widgets/Track/t9n/messages.bg.json +0 -1
  162. package/assets/esri/widgets/Track/t9n/messages.bs.json +0 -1
  163. package/assets/esri/widgets/Track/t9n/messages.ca.json +0 -1
  164. package/assets/esri/widgets/Track/t9n/messages.cs.json +0 -1
  165. package/assets/esri/widgets/Track/t9n/messages.da.json +0 -1
  166. package/assets/esri/widgets/Track/t9n/messages.de.json +0 -1
  167. package/assets/esri/widgets/Track/t9n/messages.el.json +0 -1
  168. package/assets/esri/widgets/Track/t9n/messages.en.json +0 -1
  169. package/assets/esri/widgets/Track/t9n/messages.es.json +0 -1
  170. package/assets/esri/widgets/Track/t9n/messages.et.json +0 -1
  171. package/assets/esri/widgets/Track/t9n/messages.fi.json +0 -1
  172. package/assets/esri/widgets/Track/t9n/messages.fr.json +0 -1
  173. package/assets/esri/widgets/Track/t9n/messages.he.json +0 -1
  174. package/assets/esri/widgets/Track/t9n/messages.hr.json +0 -1
  175. package/assets/esri/widgets/Track/t9n/messages.hu.json +0 -1
  176. package/assets/esri/widgets/Track/t9n/messages.id.json +0 -1
  177. package/assets/esri/widgets/Track/t9n/messages.it.json +0 -1
  178. package/assets/esri/widgets/Track/t9n/messages.ja.json +0 -1
  179. package/assets/esri/widgets/Track/t9n/messages.ko.json +0 -1
  180. package/assets/esri/widgets/Track/t9n/messages.lt.json +0 -1
  181. package/assets/esri/widgets/Track/t9n/messages.lv.json +0 -1
  182. package/assets/esri/widgets/Track/t9n/messages.nl.json +0 -1
  183. package/assets/esri/widgets/Track/t9n/messages.no.json +0 -1
  184. package/assets/esri/widgets/Track/t9n/messages.pl.json +0 -1
  185. package/assets/esri/widgets/Track/t9n/messages.pt-BR.json +0 -1
  186. package/assets/esri/widgets/Track/t9n/messages.pt-PT.json +0 -1
  187. package/assets/esri/widgets/Track/t9n/messages.ro.json +0 -1
  188. package/assets/esri/widgets/Track/t9n/messages.ru.json +0 -1
  189. package/assets/esri/widgets/Track/t9n/messages.sk.json +0 -1
  190. package/assets/esri/widgets/Track/t9n/messages.sl.json +0 -1
  191. package/assets/esri/widgets/Track/t9n/messages.sr.json +0 -1
  192. package/assets/esri/widgets/Track/t9n/messages.sv.json +0 -1
  193. package/assets/esri/widgets/Track/t9n/messages.th.json +0 -1
  194. package/assets/esri/widgets/Track/t9n/messages.tr.json +0 -1
  195. package/assets/esri/widgets/Track/t9n/messages.uk.json +0 -1
  196. package/assets/esri/widgets/Track/t9n/messages.vi.json +0 -1
  197. package/assets/esri/widgets/Track/t9n/messages.zh-CN.json +0 -1
  198. package/assets/esri/widgets/Track/t9n/messages.zh-HK.json +0 -1
  199. package/assets/esri/widgets/Track/t9n/messages.zh-TW.json +0 -1
  200. package/views/2d/layers/features/FeatureSpatialIndex.js +0 -2
  201. package/views/2d/layers/features/support/FeatureSetReaderIndirect.js +0 -2
  202. package/views/3d/webgl-engine/effects/snowcover/SnowCover.glsl.js +0 -12
  203. package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +0 -85
  204. package/widgets/DirectionalPad/DirectionalPadViewModel.js +0 -2
  205. package/widgets/DirectionalPad/VisibleElements.d.ts +0 -40
  206. package/widgets/DirectionalPad/VisibleElements.js +0 -2
  207. package/widgets/DirectionalPad/constants.js +0 -2
  208. package/widgets/DirectionalPad/css.js +0 -2
  209. package/widgets/DirectionalPad/types.d.ts +0 -27
  210. package/widgets/DirectionalPad/utils.js +0 -2
  211. package/widgets/DirectionalPad.d.ts +0 -156
  212. package/widgets/DirectionalPad.js +0 -2
  213. package/widgets/Track/TrackViewModel.d.ts +0 -131
  214. package/widgets/Track/TrackViewModel.js +0 -2
  215. package/widgets/Track/types.d.ts +0 -6
  216. package/widgets/Track.d.ts +0 -278
  217. package/widgets/Track.js +0 -2
@@ -1 +0,0 @@
1
- {"widgetLabel":"Recorrido","startTracking":"Empezar a rastrear mi ubicación","stopTracking":"Detener el rastreo de mi ubicación","permissionError":"Se ha producido un error. Compruebe los permisos de ubicación de su navegador y su sistema operativo.","timeoutError":"No se puede recuperar su ubicación. Inténtelo de nuevo.","positionUnavailable":"No se puede recuperar su ubicación. Compruebe su dispositivo."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Rada","startTracking":"Alusta minu asukoha jälgimist","stopTracking":"Lõpeta minu asukoha jälgimine","permissionError":"Ilmnes viga. Kontrollige brauseri ja operatsioonisüsteemi asukohalube.","timeoutError":"Teie asukohta ei saa tuua. Proovige uuesti.","positionUnavailable":"Teie asukohta ei saa tuua. Kontrollige oma seadet."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Väylä","startTracking":"Aloita sijainnin jäljitys","stopTracking":"Lopeta sijainnin jäljitys","permissionError":"Tapahtui virhe. Tarkista sijainnin käyttöoikeudet selaimestasi ja käyttöjärjestelmästä.","timeoutError":"Sijaintiasi ei voi noutaa. Yritä uudelleen.","positionUnavailable":"Sijaintiasi ei voi noutaa. Tarkista laitteesi."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Suivi","startTracking":"Commencer le suivi de ma localisation","stopTracking":"Arrêter le suivi de ma localisation","permissionError":"Une erreur s’est produite. Vérifiez les autorisations de localisation sur votre navigateur et votre système d’exploitation.","timeoutError":"Impossible de récupérer votre localisation. Réessayez.","positionUnavailable":"Impossible de récupérer votre localisation. Vérifiez votre appareil."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"מסלול","startTracking":"התחל לעקוב אחר המיקום שלי","stopTracking":"הפסק לעקוב אחר המיקום שלי","permissionError":"קרתה שגיאה. בדוק את הרשאות המיקום בדפדפן ובמערכת ההפעלה.","timeoutError":"לא ניתן לאחזר את מיקומך. נסה שוב.","positionUnavailable":"לא ניתן לאחזר את מיקומך. בודק את המכשיר שלך."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Putanja","startTracking":"Počni pratiti moju lokaciju","stopTracking":"Prestani pratiti moju lokaciju","permissionError":"Došlo je do pogreške. Provjerite dopuštenja lokacije u svom pregledniku i operativnom sustavu.","timeoutError":"Nije moguće dohvatiti vašu lokaciju. Pokušajte ponovno.","positionUnavailable":"Nije moguće dohvatiti vašu lokaciju. Provjerite svoj uređaj."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Követés","startTracking":"A saját helyzetem követésének megkezdése","stopTracking":"A saját helyzetem követésének leállítása","permissionError":"Hiba történt. Kérjük, ellenőrizze a böngésző és az operációs rendszer helymeghatározási engedélyeit.","timeoutError":"Nem sikerült lekérni a helyét. Próbálja meg újra.","positionUnavailable":"Nem sikerült lekérni a helyét. Ellenőrizze az eszközét."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Jalur","startTracking":"Mulai melacak lokasi saya","stopTracking":"Berhenti melacak lokasi saya","permissionError":"Ada kesalahan. Harap periksa izin lokasi di browser dan sistem operasi Anda.","timeoutError":"Tidak dapat mengambil lokasi Anda. Silakan coba lagi.","positionUnavailable":"Tidak dapat mengambil lokasi Anda. Harap periksa perangkat Anda."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Percorso","startTracking":"Avvia rilevamento posizione","stopTracking":"Interrompi rilevamento posizione","permissionError":"Errore. Controllare le autorizzazioni per la posizione nel browser e nel sistema operativo.","timeoutError":"Impossibile richiamare la posizione. Riprovare.","positionUnavailable":"Impossibile richiamare la posizione. Controllare il dispositivo."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"追跡","startTracking":"自分の位置の追跡を開始","stopTracking":"自分の位置の追跡を停止","permissionError":"エラーが発生しました。 ブラウザーやオペレーティング システムに対する位置情報の権限を確認してください。","timeoutError":"現在地を取得できません。 もう一度お試しください。","positionUnavailable":"現在地を取得できません。 デバイスを確認してください。"}
@@ -1 +0,0 @@
1
- {"widgetLabel":"트랙","startTracking":"내 위치 추적 시작","stopTracking":"내 위치 추적 중지","permissionError":"오류가 발생했습니다. 사용 중인 브라우저와 운영 체제에서 위치 권한을 확인하세요.","timeoutError":"위치를 검색할 수 없습니다. 다시 시도하세요.","positionUnavailable":"위치를 검색할 수 없습니다. 기기를 확인하세요."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Sekimas","startTracking":"Pradėti sekti mano vietą","stopTracking":"Nebesekti mano vietos","permissionError":"Įvyko klaida. Patikrinkite vietos nustatymo leidimus savo naršyklėje ir operacinėje sistemoje.","timeoutError":"Jūsų padėties nustatyti nepavyko. Pabandykite dar kartą.","positionUnavailable":"Jūsų padėties nustatyti nepavyko. Patikrinkite savo įrenginį."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Izsekošana","startTracking":"Sākt mana novietojuma izsekošanu","stopTracking":"Pārtraukt mana novietojuma izsekošanu","permissionError":"Kļūda. Lūdzu, pārbaudiet novietojuma atļaujas pārlūkprogrammā un operētājsistēmā.","timeoutError":"Nevar izgūt jūsu novietojumu. Lūdzu, mēģiniet vēlreiz.","positionUnavailable":"Nevar izgūt jūsu novietojumu. Lūdzu, pārbaudiet savu ierīci."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Track","startTracking":"Mijn locatie bijhouden","stopTracking":"Mijn locatie niet meer bijhouden","permissionError":"Er is een fout opgetreden. Controleer de locatiemachtigingen in uw browser en besturingssysteem.","timeoutError":"Kan uw locatie niet ophalen. Probeer het opnieuw.","positionUnavailable":"Kan uw locatie niet ophalen. Controleer uw apparaat."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Skanneretning","startTracking":"Start sporing av posisjonen min","stopTracking":"Stopp sporing av posisjonen min","permissionError":"Det oppstod en feil. Sjekk lokasjonstillatelsene i nettleseren og operativsystemet.","timeoutError":"Kan ikke hente lokasjonen din. Prøv på nytt.","positionUnavailable":"Kan ikke hente lokasjonen din. Sjekk enheten din."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Ścieżka","startTracking":"Zacznij śledzić moją lokalizację","stopTracking":"Przestań śledzić moją lokalizację","permissionError":"Wystąpił błąd. Sprawdź uprawnienia lokalizacji w przeglądarce i systemie operacyjnym.","timeoutError":"Nie można pobrać Twojej lokalizacji. Spróbuj ponownie.","positionUnavailable":"Nie można pobrać Twojej lokalizacji. Sprawdź urządzenie."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Caminho","startTracking":"Iniciar acompanhamento de minha posição","stopTracking":"Parar acompanhamento de minha posição","permissionError":"Ocorreu um erro. Verifique as permissões de localização no seu navegador e sistema operacional.","timeoutError":"Não foi possível recuperar sua localização. Tente novamente.","positionUnavailable":"Não foi possível recuperar sua localização. Verifique seu dispositivo."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Pista","startTracking":"Iniciar o registo da minha localização","stopTracking":"Parar o registo da minha localização","permissionError":"Ocorreu um erro. Verifique as permissões de localização no seu navegador e sistema operativo.","timeoutError":"Não foi possível obter a sua localização. Tente novamente.","positionUnavailable":"Não foi possível obter a sua localização. Verifique o seu dispositivo."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Monitorizare","startTracking":"Începere monitorizare locaţia mea","stopTracking":"Oprire monitorizare locaţia mea","permissionError":"A existat o eroare. Verificați permisiunile de locație din browserul și sistemul dvs. de operare.","timeoutError":"Nu se poate recupera locația dvs. Încercați din nou.","positionUnavailable":"Nu se poate recupera locația dvs. Verificați-vă dispozitivul."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Отслеживание","startTracking":"Начать отслеживание моего местоположения","stopTracking":"Остановить отслеживание моего местоположения","permissionError":"Произошла ошибка. Проверьте права на определение местоположения в вашем браузере и операционной системе.","timeoutError":"Не удалось получить ваше местоположение. Повторите попытку еще раз.","positionUnavailable":"Не удалось получить ваше местоположение. Проверьте ваше устройство."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Stopa","startTracking":"Začať sledovanie môjho umiestnenia","stopTracking":"Ukončiť sledovanie môjho umiestnenia","permissionError":"Vyskytla sa chyba. Skontrolujte povolenia polohy vo vašom prehliadači a operačnom systéme.","timeoutError":"Nepodarilo sa získať vašu polohu. Skúste to prosím znova.","positionUnavailable":"Nepodarilo sa získať vašu polohu. Skontrolujte vaše zariadenie."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Sledenje","startTracking":"Začni sledenje moje lokacije","stopTracking":"Ustavi sledenje moje lokacije","permissionError":"Prišlo je do napake. Preverite dovoljenja za lokacijo v brskalniku in operacijskem sistemu.","timeoutError":"Vaše lokacije ni mogoče pridobiti. Poskusite znova.","positionUnavailable":"Vaše lokacije ni mogoče pridobiti. Prosimo, preverite svojo napravo."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Putanja","startTracking":"Počni da pratiš moju lokaciju","stopTracking":"Prestani da pratiš moju lokaciju","permissionError":"Došlo je do greške. Proverite dozvole za lokaciju u vašem pretraživaču i operativnom sistemu.","timeoutError":"Nije moguće preuzeti vašu lokaciju. Pokušajte ponovo.","positionUnavailable":"Nije moguće preuzeti vašu lokaciju. Proverite svoj uređaj."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Spår","startTracking":"Börja spåra min plats","stopTracking":"Sluta spåra min plats","permissionError":"Ett fel uppstod. Kontrollera platsbehörigheter för din webbläsare och ditt operativsystem.","timeoutError":"Det går inte att hämta din position. Försök igen.","positionUnavailable":"Det går inte att hämta din position. Kontrollera din enhet."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"การติดตาม","startTracking":"เริ่มการติดตามตำแหน่งของฉัน","stopTracking":"หยุดการติดตามตำแหน่งของฉัน","permissionError":"เกิดข้อผิดพลาดขึ้น โปรดตรวจสอบสิทธิ์ตำแหน่งที่ตั้งบนเบราว์เซอร์และระบบปฏิบัติการของคุณ","timeoutError":"ไม่สามารถดึงข้อมูลตำแหน่งของคุณได้ โปรดลองใหม่อีกครั้ง","positionUnavailable":"ไม่สามารถดึงข้อมูลตำแหน่งของคุณได้ โปรดตรวจสอบอุปกรณ์ของคุณ"}
@@ -1 +0,0 @@
1
- {"widgetLabel":"İz","startTracking":"Konumumu izlemeyi başlat","stopTracking":"Konumumu izlemeyi durdur","permissionError":"Bir hata oluştu. Lütfen tarayıcınızdaki ve işletim sisteminizdeki konum izinlerini kontrol edin.","timeoutError":"Konumunuz alınamıyor. Yeniden deneyin.","positionUnavailable":"Konumunuz alınamıyor. Lütfen cihazınızı kontrol edin."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Відстежування","startTracking":"Почати відстежування мого місця розташування","stopTracking":"Припинити відстежування мого місця розташування","permissionError":"Виникла помилка. Перевірте дозволи до місця розташування у вашому браузері та операційній системі.","timeoutError":"Не вдалося отримати ваше місце розташування. Спробуйте знову.","positionUnavailable":"Не вдалося отримати ваше місце розташування. Перевірте свій пристрій."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"Theo dõi","startTracking":"Bắt đầu theo dõi vị trí của tôi","stopTracking":"Dừng theo dõi vị trí của tôi","permissionError":"Đã xảy ra lỗi. Vui lòng kiểm tra quyền truy cập vị trí trên trình duyệt và hệ điều hành của bạn.","timeoutError":"Không thể truy xuất vị trí của bạn. Vui lòng thử lại.","positionUnavailable":"Không thể truy xuất vị trí của bạn. Vui lòng kiểm tra thiết bị của bạn."}
@@ -1 +0,0 @@
1
- {"widgetLabel":"轨迹","startTracking":"开始追踪我的位置","stopTracking":"停止追踪我的位置","permissionError":"存在一个错误。 请检查浏览器和操作系统上的位置权限。","timeoutError":"无法检索您的位置。 请重试。","positionUnavailable":"无法检索您的位置。 请检查您的设备。"}
@@ -1 +0,0 @@
1
- {"widgetLabel":"追蹤","startTracking":"開始追蹤我的位置","stopTracking":"停止追蹤我的位置","permissionError":"發生一個錯誤。 請檢查您的瀏覽器和作業系統的位置權限。","timeoutError":"無法擷取您的位置。 請再試一次。","positionUnavailable":"無法擷取您的位置。 請檢查您的裝置。"}
@@ -1 +0,0 @@
1
- {"widgetLabel":"追蹤","startTracking":"開始追蹤我的位置","stopTracking":"停止追蹤我的位置","permissionError":"發生一個錯誤。 請檢查您的瀏覽器和作業系統的位置權限。","timeoutError":"無法擷取您的位置。 請再試一次。","positionUnavailable":"無法擷取您的位置。 請檢查您的裝置。"}
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{estimateNumberMemory as e}from"../../../../core/memoryEstimations.js";import{r as t}from"../../../../chunks/rbush.js";import{create as n}from"../../../../geometry/support/aaBoundingBox.js";class r{static fromReader(e){let i=[],a=e.copy(),o=n();for(;a.next();)a.getBounds(o)&&i.push(a.getIndex());let s=t(9,e=>(a.setIndex(e),{minX:a.getBoundsXMin(),minY:a.getBoundsYMin(),maxX:a.getBoundsXMax(),maxY:a.getBoundsYMax()}));return s.load(i),new r(s,i.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return this._size*e}search(e){let t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}export{r as FeatureSpatialIndex};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{baseObjectMemory as e}from"../../../../../core/memoryEstimations.js";import{normalizeTransform as t,quantizeX as n,quantizeY as r}from"../../../../../geometry/support/quantizationUtils.js";import{convertToGeometry as i}from"../../../../../layers/graphics/featureConversionUtils.js";import{FeatureSetReader as a}from"./FeatureSetReader.js";class o extends a{static from(e,t){if(e instanceof this){let n=new Set(t),r=e._indices.filter(e=>n.has(e)),i=e.copy();return i._indices=r,i._currentIndex=-1,i}return new o(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){let n=this._reader.getInTransform();if(n==null){this._displayTransform=t(e);return}let r=t(n),i=t(e),[a,o]=r.scale,[s,c]=r.translate,[l,u]=i.scale,[d,f]=i.translate,p=a/l,m=o/u,h=(s-d)/l,g=(c-f)/u;this._displayTransform={originPosition:`lowerLeft`,scale:[1/p,1/m,1,1],translate:[-h/p,-g/m,0,0]}}getInTransform(){return this._reader.getInTransform()}getDisplayTransform(){return this._displayTransform}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){let e=new o(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return e+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?n(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?r(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){let e=this._reader.readCentroidForDisplay()?.clone();if(e){let[t,i]=e.coords;this._displayTransform&&(e.coords[0]=n(this._displayTransform,t),e.coords[1]=r(this._displayTransform,i))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){let n=this._reader.readAttribute(e,t);return n!=null||!this._processorAttributes?n:this._processorAttributes[e]}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){let e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){let e=this.readGeometryForDisplay();return i(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}get geometryDensity(){return this._reader.geometryDensity}_readAttribute(e,t){throw Error(`Error: Should not be called. Underlying _reader should be used instead`)}_readAttributes(){throw Error(`Error: Should not be called. Underlying _reader should be used instead`)}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}export{o as FeatureSetReaderIndirect};
@@ -1,12 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{pbrGlobals as e}from"../../core/shaderLibrary/shading/pbrGlobals.glsl.js";import{FloatBindUniform as t}from"../../core/shaderModules/FloatBindUniform.js";import{glsl as n}from"../../core/shaderModules/glsl.js";function r(r,i){i.snowCover&&(r.uniforms.add(new t(`snowCover`,e=>e.snowCover)).code.add(n`float getSnow(vec3 normal, vec3 groundNormal) {
3
- return smoothstep(0.5, 0.55, dot(normal, groundNormal)) * snowCover;
4
- }
5
- float getRealisticTreeSnow(vec3 faceNormal, vec3 shadingNormal, vec3 groundNormal) {
6
- float snow = min(1.0, smoothstep(0.5, 0.55, dot(faceNormal, groundNormal)) +
7
- smoothstep(0.5, 0.55, dot(-faceNormal, groundNormal)) +
8
- smoothstep(0.0, 0.1, dot(shadingNormal, groundNormal)));
9
- return snow * snowCover;
10
- }`),r.include(e),r.code.add(n`void applySnowToMRR(float snow) {
11
- mrr = mix(mrr, vec3(0.0, 1.0, 0.04), snow);
12
- }`))}export{r as SnowCover};
@@ -1,85 +0,0 @@
1
- import type MapView from "../../views/MapView.js";
2
- import type { EventedAccessor } from "../../core/Evented.js";
3
- import type { DirectionalPadAngle, Vector } from "./types.js";
4
- import type { GoTo, GoToProperties } from "../support/GoTo.js";
5
-
6
- /** @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead. */
7
- export interface DirectionalPadViewModelProperties extends GoToProperties, Partial<Pick<DirectionalPadViewModel, "disabled" | "rotation" | "view">> {}
8
-
9
- /** @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead. */
10
- export type DirectionalPadViewModelState = "ready" | "disabled" | "moving";
11
-
12
- /**
13
- * Provides the logic for the [DirectionalPad](https://developers.arcgis.com/javascript/latest/references/core/widgets/DirectionalPad/) widget and [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/).
14
- *
15
- * @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead.
16
- * @since 4.29
17
- * @see [DirectionalPad](https://developers.arcgis.com/javascript/latest/references/core/widgets/DirectionalPad/) widget - _Deprecated since 4.32. Use the [DirectionalPad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead._
18
- * @see [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/)
19
- * @see
20
- * [Programming patterns: Widget viewModel pattern](https://developers.arcgis.com/javascript/latest/programming-patterns/#widget-viewmodel-pattern)
21
- *
22
- * > [!WARNING]
23
- * >
24
- * > The DirectionalPad widget is not supported in 3d.
25
- */
26
- export default class DirectionalPadViewModel extends DirectionalPadViewModelSuperclass {
27
- constructor(properties?: DirectionalPadViewModelProperties);
28
- /**
29
- * The closest angle that matches the current mouse position
30
- * relative to the widget's center. There are eight possible angles, `-45`, `0`, `45`, `-90`, `90`, `-135`, `180`, and `135`. If the widget is not in motion, the value is `undefined`.
31
- */
32
- get angle(): DirectionalPadAngle | null | undefined;
33
- /**
34
- * Indicates whether interaction is allowed on the widget. When `true`, this property sets the widget to a disabled state to stop user interaction.
35
- *
36
- * @default false
37
- */
38
- accessor disabled: boolean;
39
- /**
40
- * The angle of rotation of the map. Ranges from 0 to 360
41
- *
42
- * @default 0
43
- * @example
44
- * reactiveUtils.watch(
45
- * ()=>directionalPadViewModel.rotation,
46
- * (newAngle,oldAngle)=> console.log({ newAngle, oldAngle })
47
- * );
48
- */
49
- accessor rotation: number;
50
- /** The state of the view model. */
51
- get state(): DirectionalPadViewModelState;
52
- /**
53
- * The view which the directional pad will control. If not provided, you
54
- * can manually listen to emitted events and control the map accordingly.
55
- */
56
- accessor view: MapView | null | undefined;
57
- /**
58
- * Starts movement in the correct direction according to pointer
59
- * location, and listens for pointer move (to change direction) or release
60
- * (to stop movement)
61
- *
62
- * This method should be called in response to pointerdown event on a button
63
- *
64
- * @param pointerLocation - Current pointer location
65
- * @param widgetCenter - The center of the DirectionalPad widget
66
- * @example
67
- * moveLeftButton.addEventListener("pointerDown", (event) => {
68
- * const { x, y, width, height } = buttonsContainer.getBoundingClientRect();
69
- * const widgetCenter = { x: x + width / 2, y: y + height / 2 };
70
- * directionalPadViewModel.beginFollowingPointer(event, widgetCenter);
71
- * });
72
- */
73
- beginFollowingPointer(pointerLocation: Vector & Partial<Pick<PointerEvent, "target">>, widgetCenter: Vector): void;
74
- /**
75
- * Initialize a brief movement in a desired direction
76
- *
77
- * @param angle - Angle in the [0, 360] range
78
- * @example
79
- * moveLeftButton.addEventListener("keydown", () => {
80
- * directionalPadViewModel.moveOnce(90);
81
- * });
82
- */
83
- moveOnce(angle: number): void;
84
- }
85
- declare const DirectionalPadViewModelSuperclass: typeof EventedAccessor & typeof GoTo
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{deprecateUnnecessaryViewModel as t}from"../../core/deprecate.js";import{EventedAccessor as n}from"../../core/Evented.js";import r from"../../core/Logger.js";import{property as i}from"../../core/accessorSupport/decorators/property.js";import{subclass as a}from"../../core/accessorSupport/decorators/subclass.js";import{directionalPadMoveOnceDuration as o}from"./constants.js";import{css as s}from"./css.js";import{angleToUnitVector as c,toUnitVector as l,vectorToClosestAngle as u}from"./utils.js";import{GoTo as d}from"../support/GoTo.js";let f=class extends d(n){constructor(e){super(e),this._initialAngle=void 0,this._movementVector=void 0,this._widgetCenter=void 0,this._anyAngleMovementEnabled=!1,this._movementTimeout=void 0,this._disabled=!1,this._moveOnceDuration=o,this.angle=void 0,this.speed=1,this.view=null,this.beginFollowingPointer=(e,t)=>{if(this.disabled)return;this._widgetCenter=t;let n=this._pointerLocationToVector(e);if(n===void 0)return;let r=this._resolveClosestAngle(e,n);r!==void 0&&(this._emitMove(c(r)),this.angle=r,this._initialAngle=r,this._setMovementTimeout(()=>{this._widgetCenter===void 0&&this._stopMovement()}),document.addEventListener(`pointermove`,this._onPointerMove,{passive:!0}),document.addEventListener(`pointerup`,this._onPointerUp,{passive:!0,once:!0}))},this.moveOnce=e=>{let t=c(e);this._emitMove(t),this._setMovementTimeout(this._stopMovement)},this._pointerLocationToVector=e=>{if(this._widgetCenter===void 0)return;let{x:t,y:n}=l(this._widgetCenter,e);return{x:t,y:-n}},this._resolveClosestAngle=(e,t)=>{let n=e.target,r=n?.getAttribute?.(`data-angle`);if(n?.classList?.contains(s.compassButton))return;let i=Number.parseInt(r??``,10);return Number.isNaN(i)?u(t):i},this._onPointerMove=e=>{if(e.buttons===0){this._stopMovement();return}let t=this._pointerLocationToVector(e);if(t===void 0)return;this._setMovementTimeout(void 0);let n=this._resolveClosestAngle(e,t);if(n===void 0){this._emitStop();return}let r=c(n),i=this._initialAngle!=null&&this._initialAngle!==n;this._anyAngleMovementEnabled||=i;let a=this._anyAngleMovementEnabled?t:r;(a.x!==this._movementVector?.x||a.y!==this._movementVector?.y)&&(this.angle=n,this._emitMove(a))},this._onPointerUp=()=>{this._movementTimeout===void 0?this._stopMovement():this._widgetCenter=void 0},this._stopMovement=()=>{this._emitStop(),this._widgetCenter=void 0,this._initialAngle=void 0,this._anyAngleMovementEnabled=!1,document.removeEventListener(`pointermove`,this._onPointerMove),document.removeEventListener(`pointerup`,this._stopMovement),this._setMovementTimeout(void 0)},e?.suppressDeprecationWarning||t(r.getLogger(this),`Directional Pad`,`arcgis-directional-pad`,{version:`5.2`}),this.on(`move-start`,()=>this.view?.mapViewNavigation.begin()),this.on(`move-direction-change`,({vector:{x:e,y:t}})=>this.view?.mapViewNavigation.continuousPanVector({x:e*this.speed,y:t*this.speed})),this.on(`move-stop`,()=>this.view?.mapViewNavigation.stop())}normalizeCtorArgs(e){let{suppressDeprecationWarning:t,...n}=e??{};return n}destroy(){this._stopMovement()}get disabled(){let{view:e,_disabled:t,supported:n}=this;return e?.ready===!1||t||!n}set disabled(e){this._disabled=e}get rotation(){return this.view?.rotation??this._get(`rotation`)??0}set rotation(e){this.view?this.view.constraints.rotationEnabled&&this.callGoTo({target:{rotation:e},options:{animate:e===0&&void 0}}):this._set(`rotation`,e)}get supported(){return this.view==null||this.view.type===`2d`}get state(){let{disabled:e,angle:t}=this;return e?`disabled`:t==null?`ready`:`moving`}_setMovementTimeout(e){clearTimeout(this._movementTimeout),this._movementTimeout=e===void 0?void 0:setTimeout(()=>{this._movementTimeout=void 0,e()},this._moveOnceDuration)}_emitMove(e){this._movementVector??this._emitMoveStartEvent({vector:e});let t=this._movementVector;this._movementVector=e,this._emitMoveDirectionChangeEvent({vector:e,oldVector:t})}_emitStop(){this.angle=void 0,this._movementVector!==void 0&&(this._emitMoveStopEvent({oldVector:this._movementVector}),this._movementVector=void 0)}_emitMoveStartEvent(e){this.emit(`move-start`,{...e,type:`move-start`})}_emitMoveDirectionChangeEvent(e){this.emit(`move-direction-change`,{...e,type:`move-direction-change`})}_emitMoveStopEvent(e){this.emit(`move-stop`,{...e,type:`move-stop`})}};e([i()],f.prototype,`_initialAngle`,void 0),e([i()],f.prototype,`_movementVector`,void 0),e([i()],f.prototype,`_widgetCenter`,void 0),e([i()],f.prototype,`_anyAngleMovementEnabled`,void 0),e([i()],f.prototype,`_movementTimeout`,void 0),e([i()],f.prototype,`_disabled`,void 0),e([i()],f.prototype,`_moveOnceDuration`,void 0),e([i()],f.prototype,`disabled`,null),e([i()],f.prototype,`angle`,void 0),e([i({type:Number,range:{min:0,max:100}})],f.prototype,`speed`,void 0),e([i()],f.prototype,`rotation`,null),e([i()],f.prototype,`supported`,null),e([i({readOnly:!0})],f.prototype,`state`,null),e([i()],f.prototype,`view`,void 0),f=e([a(`esri.widgets.DirectionalPad.DirectionalPadViewModel`)],f);const p=f;export{p as default};
@@ -1,40 +0,0 @@
1
- import type Accessor from "../../core/Accessor.js";
2
-
3
- /** @since 5.0 */
4
- export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "directionalButtons" | "rotationResetButton" | "rotationSlider">> {}
5
-
6
- /**
7
- * The visible elements that are displayed within the widget.
8
- * This provides the ability to turn individual elements of the widget's display on/off.
9
- * Alternatively, developers may also use CSS (e.g. `display: none`) to show/hide elements, such as labels.
10
- *
11
- * @since 5.0
12
- */
13
- export default class VisibleElements extends Accessor {
14
- constructor(properties?: VisibleElementsProperties);
15
- /**
16
- * Indicates whether to display the directional pad buttons.
17
- * This can be disabled if only the map rotation slider is needed
18
- *
19
- * @default true
20
- * @since 5.0
21
- */
22
- accessor directionalButtons: boolean;
23
- /**
24
- * Indicates whether to display the button to reset the rotation
25
- * angle. If rotation slider is hidden, rotation reset button will be hidden too.
26
- *
27
- * @default false
28
- * @since 5.0
29
- */
30
- accessor rotationResetButton: boolean;
31
- /**
32
- * Indicates whether to display the map rotation slider.
33
- * This can be disabled if only the directional buttons are needed. Note, this is independent of the
34
- * `view.constraints.rotationEnabled` setting.
35
- *
36
- * @default false
37
- * @since 5.0
38
- */
39
- accessor rotationSlider: boolean;
40
- }
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import t from"../../core/Accessor.js";import{property as n,subclass as r}from"../../core/accessorSupport/decorators.js";let i=class extends t{constructor(e){super(e),this.directionalButtons=!0,this.rotationSlider=!1,this.rotationResetButton=!1}};e([n({type:Boolean,nonNullable:!0})],i.prototype,`directionalButtons`,void 0),e([n({type:Boolean,nonNullable:!0})],i.prototype,`rotationSlider`,void 0),e([n({type:Boolean,nonNullable:!0})],i.prototype,`rotationResetButton`,void 0),i=e([r(`esri.widgets.DirectionalPad.VisibleElements`)],i);const a=i;export{a as default};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- const e=[-45,0,45,-90,90,-135,180,135],t=[...e,-180],n={0:{label:`north`,iconName:`chevron-up`},45:{label:`northEast`,iconName:`chevron-up-right`},90:{label:`east`,iconName:`chevron-right`},135:{label:`southEast`,iconName:`chevron-down-right`},180:{label:`south`,iconName:`chevron-down`},"-135":{label:`southWest`,iconName:`chevron-down-left`},"-90":{label:`west`,iconName:`chevron-left`},"-45":{label:`northWest`,iconName:`chevron-up-left`}},r=200;export{e as directionalPadAngles,n as directionalPadArrows,t as directionalPadCyclicalAngles,r as directionalPadMoveOnceDuration};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- const e=`esri-directional-pad`,t={base:e,buttonsContainer:`${e}__buttons-container`,button:`${e}__button`,compassButton:`${e}__compass`,rotationContainer:`${e}__rotation-container`,rotationSliderContainer:`${e}__rotation-slider-container`,rotationReset:`${e}__rotation-reset-button`,error:`${e}__error`};export{t as css};
@@ -1,27 +0,0 @@
1
- /**
2
- * An x/y coordinate pair. Could be used to represent a screen point or a
3
- * vector.
4
- *
5
- * @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead.
6
- * @since 5.0
7
- */
8
- export interface Vector {
9
- /**
10
- * X coordinate
11
- *
12
- * @since 5.0
13
- */
14
- readonly x: number;
15
- /**
16
- * Y coordinate
17
- *
18
- * @since 5.0
19
- */
20
- readonly y: number;
21
- }
22
-
23
- /**
24
- * @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead.
25
- * @since 5.0
26
- */
27
- export type DirectionalPadAngle = -45 | 0 | 45 | -90 | 90 | -135 | 180 | 135;
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{rad2deg as e,deg2rad as t}from"../../core/mathUtils.js";import{directionalPadCyclicalAngles as n}from"./constants.js";function r(e){let t=i(e),r=n.map(e=>({angle:e,offset:Math.abs(e-t)})).sort((e,t)=>e.offset-t.offset)[0].angle;return r===-180?180:r}function i({x:t,y:n}){return e(Math.atan2(t,n))}function a(e){let n=t(e);return{x:Math.sin(n),y:Math.cos(n)}}function o(e,t){let n=t.y-e.y,r=t.x-e.x,i=Math.sqrt(r*r+n*n);return{x:r/i,y:n/i}}function s(e){let{x:t,y:n,width:r,height:i}=e.getBoundingClientRect();return{x:t+r/2,y:n+i/2}}export{a as angleToUnitVector,s as findElementCenter,o as toUnitVector,i as unitVectorToAngle,r as vectorToClosestAngle};
@@ -1,156 +0,0 @@
1
- import type MapView from "../views/MapView.js";
2
- import type Widget from "./Widget.js";
3
- import type DirectionalPadViewModel from "./DirectionalPad/DirectionalPadViewModel.js";
4
- import type VisibleElements from "./DirectionalPad/VisibleElements.js";
5
- import type { Icon } from "@esri/calcite-components/components/calcite-icon";
6
- import type { Action } from "@esri/calcite-components/dist/components/calcite-action";
7
- import type { WidgetProperties } from "./Widget.js";
8
- import type { VisibleElementsProperties } from "./DirectionalPad/VisibleElements.js";
9
- import type { DirectionalPadViewModelProperties } from "./DirectionalPad/DirectionalPadViewModel.js";
10
-
11
- /** @deprecated since 5.2. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead. */
12
- export interface DirectionalPadProperties extends WidgetProperties, Partial<Pick<DirectionalPad, "disabled" | "view" | "visualScale">> {
13
- /**
14
- * Icon which represents the widget. It is typically used when the widget is controlled by another
15
- * one (e.g. in the Expand widget).
16
- *
17
- * @default "move"
18
- * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
19
- * @since 4.27
20
- * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
21
- */
22
- icon?: Icon["icon"] | null;
23
- /**
24
- * The widget's default label.
25
- *
26
- * @since 4.11
27
- */
28
- label?: string | null;
29
- /**
30
- * The view model for the DirectionalPad widget. This is a class that contains all the logic
31
- * (properties and methods) that controls this widget's behavior. See the
32
- * [DirectionalPadViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/DirectionalPad/DirectionalPadViewModel/)
33
- * class to access all properties and methods on the DirectionalPad widget.
34
- */
35
- viewModel?: DirectionalPadViewModelProperties;
36
- /**
37
- * The visible elements that are displayed within the widget.
38
- * This property provides the ability to turn individual elements of the widget's display on/off.
39
- *
40
- * @example
41
- * // display all elements, except the rotation reset button
42
- * directionalPad.visibleElements.rotationResetButton = false;
43
- * @example
44
- * // disable all elements
45
- * directionalPad.visibleElements = {
46
- * directionalButtons: false,
47
- * rotationSlider: false,
48
- * rotationResetButton: false,
49
- * };
50
- */
51
- visibleElements?: VisibleElementsProperties;
52
- }
53
-
54
- /**
55
- * A directional pad (D-Pad) widget can be used to control the position and rotation
56
- * of the map. The D-Pad provides eight directions of movement, a small
57
- * compass which indicates the current orientation of the map and a slider for rotating the map.
58
- *
59
- * It is also possible to disable the map's rotation controls or change the size of the widget.
60
- *
61
- * > [!WARNING]
62
- * >
63
- * > The DirectionalPad widget is not supported in 3d.
64
- *
65
- * @deprecated since version 4.32. Use the [Directional Pad component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-directional-pad/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
66
- * @since 4.29
67
- * @see [DirectionalPadViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/DirectionalPad/DirectionalPadViewModel/)
68
- * @example
69
- * const directionalPad = new DirectionalPad({
70
- * view: view
71
- * });
72
- * // adds the d-pad to the bottom left corner of the MapView
73
- * view.ui.add(directionalPad, "bottom-left");
74
- */
75
- export default class DirectionalPad extends Widget<DirectionalPadProperties> {
76
- /**
77
- * @example
78
- * // Typical usage
79
- * const directionalPad = new DirectionalPad({
80
- * view: view
81
- * });
82
- * // adds the d-pad to the bottom left corner of the MapView
83
- * view.ui.add(directionalPad, "bottom-left");
84
- */
85
- constructor(properties?: DirectionalPadProperties);
86
- /**
87
- * Indicates whether interaction is allowed on the widget. When `true`, this property sets the widget to a disabled state to disable any user interaction.
88
- *
89
- * @default false
90
- */
91
- accessor disabled: boolean;
92
- /**
93
- * Icon which represents the widget. It is typically used when the widget is controlled by another
94
- * one (e.g. in the Expand widget).
95
- *
96
- * @default "move"
97
- * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
98
- * @since 4.27
99
- * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
100
- */
101
- get icon(): Icon["icon"];
102
- set icon(value: Icon["icon"] | null | undefined);
103
- /**
104
- * The widget's default label.
105
- *
106
- * @since 4.11
107
- */
108
- get label(): string;
109
- set label(value: string | null | undefined);
110
- /**
111
- * The view which the directional pad will control. If not provided, you
112
- * can manually listen to emitted events and control the map accordingly.
113
- *
114
- * > [!WARNING]
115
- * >
116
- * > The DirectionalPad widget is not supported in 3d.
117
- */
118
- accessor view: MapView | null | undefined;
119
- /**
120
- * The view model for the DirectionalPad widget. This is a class that contains all the logic
121
- * (properties and methods) that controls this widget's behavior. See the
122
- * [DirectionalPadViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/DirectionalPad/DirectionalPadViewModel/)
123
- * class to access all properties and methods on the DirectionalPad widget.
124
- */
125
- get viewModel(): DirectionalPadViewModel;
126
- set viewModel(value: DirectionalPadViewModelProperties);
127
- /**
128
- * The visible elements that are displayed within the widget.
129
- * This property provides the ability to turn individual elements of the widget's display on/off.
130
- *
131
- * @example
132
- * // display all elements, except the rotation reset button
133
- * directionalPad.visibleElements.rotationResetButton = false;
134
- * @example
135
- * // disable all elements
136
- * directionalPad.visibleElements = {
137
- * directionalButtons: false,
138
- * rotationSlider: false,
139
- * rotationResetButton: false,
140
- * };
141
- */
142
- get visibleElements(): VisibleElements;
143
- set visibleElements(value: VisibleElementsProperties);
144
- /**
145
- * Determines the size of directional pad buttons and the slider.
146
- *
147
- * In addition to this parameter, you can set the width on the component
148
- * container to dictate directional pad size.
149
- *
150
- * @default "s"
151
- * @example
152
- * // Make buttons and slider larger
153
- * directionalPad.visualScale = 'l';
154
- */
155
- accessor visualScale: Action["scale"];
156
- }
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{deprecateWidget as t}from"../core/deprecate.js";import n from"../core/Logger.js";import{watch as r}from"../core/reactiveUtils.js";import{property as i,subclass as a}from"../core/accessorSupport/decorators.js";import o from"./Widget.js";import{canShowNorth as s}from"./Compass/utils.js";import{directionalPadAngles as c,directionalPadArrows as l}from"./DirectionalPad/constants.js";import{css as u}from"./DirectionalPad/css.js";import d from"./DirectionalPad/DirectionalPadViewModel.js";import{findElementCenter as f}from"./DirectionalPad/utils.js";import p from"./DirectionalPad/VisibleElements.js";import{loadCalciteComponents as m}from"./support/componentsUtils.js";import{globalCss as h}from"./support/globalCss.js";import{messageBundle as g,isActivationKey as _,tsx as v}from"./support/widget.js";import{setFocus as y}from"./support/widgetUtils.js";let b=class extends o{constructor(e,r){super(e,r),this._buttonsContainer=null,this._buttons={},this.messages=null,this.visibleElements=new p,this.viewModel=new d({suppressDeprecationWarning:!0}),this.visualScale=`s`,this._rotateIcon=e=>({"--rotation":`rotate(${e}deg)`}),this._afterButtonContainerCreate=e=>{this._buttonsContainer=e,this._buttonsContainer.addEventListener(`contextmenu`,this._onContextMenu,{capture:!0})},this._afterButtonContainerRemoved=()=>{this._buttonsContainer?.removeEventListener(`contextmenu`,this._onContextMenu,{capture:!0}),this._buttonsContainer=null},this._afterButtonCreate=(e,t)=>{this._buttons[e]=t},this._afterButtonRemoved=e=>{this._buttons[e]=void 0},this._onContextMenu=e=>e.preventDefault(),this._onButtonPointerDown=e=>{if(this._buttonsContainer===null)return;let t=e.target?.shadowRoot?.querySelector(`button`);t?.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId);let n=f(this._buttonsContainer);this.viewModel.beginFollowingPointer(e,n)},this._onKeyDown=(e,{key:t})=>{_(t)&&this.viewModel.moveOnce(e)},this._onSliderInput=({currentTarget:e})=>{typeof e.value==`number`&&(this.viewModel.rotation=e.value)},this._onRotationReset=()=>{this.viewModel.rotation=0},t(n.getLogger(this),`Directional Pad`,`arcgis-directional-pad`,{version:`4.32`})}loadDependencies(){return m({action:()=>import(`@esri/calcite-components/dist/components/calcite-action`),"action-group":()=>import(`@esri/calcite-components/dist/components/calcite-action-group`),"action-bar":()=>import(`@esri/calcite-components/dist/components/calcite-action-bar`),icon:()=>import(`@esri/calcite-components/dist/components/calcite-icon`),slider:()=>import(`@esri/calcite-components/dist/components/calcite-slider`)})}initialize(){this.addHandles(r(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?this.container?.focus():y(this._buttons[this.viewModel.angle]))}))}get disabled(){return this.viewModel.disabled}set disabled(e){this.viewModel.disabled=e}get icon(){return`move`}set icon(e){this._overrideIfSome(`icon`,e)}get label(){return this.messages?.widgetLabel??``}set label(e){this._overrideIfSome(`label`,e)}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get speed(){return this.viewModel.speed}set speed(e){this.viewModel.speed=e}get _rotationEnabled(){return!this.view?.ready||this.view.constraints.rotationEnabled}render(){let{label:e,disabled:t,viewModel:n}=this,r=this.classes(u.base,h.widget,t?h.disabled:null);return v(`div`,{"aria-label":e,class:r,tabIndex:-1},n.supported?this._renderContent():this._renderUnsupportedMessage())}_renderUnsupportedMessage(){return v(`section`,{class:u.error,key:`unsupported`},v(`p`,null,this.messages.unsupported))}_renderContent(){return[this.visibleElements.directionalButtons?this._renderDirectionalButtons():void 0,this.visibleElements.rotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return v(`calcite-action-bar`,{expandToggleDisabled:!0,floating:!0,key:`directional-buttons-container`,layout:`grid`,overflowMode:`none`},v(`calcite-action-group`,{afterCreate:this._afterButtonContainerCreate,afterRemoved:this._afterButtonContainerRemoved,class:u.buttonsContainer,dir:`ltr`},c.slice(0,4).map(e=>this._renderButton(e)),this._renderCompass(),c.slice(4).map(e=>this._renderButton(e))))}_renderButton(e){let{label:t,iconName:n}=l[e],r=this.messages[t];return v(`calcite-action`,{active:this.viewModel.angle===e,afterCreate:t=>this._afterButtonCreate(e,t),afterRemoved:()=>this._afterButtonRemoved(e),alignment:`center`,class:u.button,"data-angle":e.toString(),disabled:this.disabled,key:e,scale:this.visualScale,text:r,title:r,onkeydown:this._onKeyDown.bind(void 0,e),onpointerdown:this._onButtonPointerDown},v(`calcite-icon`,{icon:n,scale:this.visualScale}))}_renderCompass(){let e=this.disabled||s(this.view)?`compass-needle`:`arrow-up`,t=this.viewModel.rotation===0,n=this.messages.resetHeading;return v(`calcite-action`,{alignment:`center`,class:u.compassButton,disabled:this.disabled||!this._rotationEnabled||t,key:`compass`,scale:this.visualScale,styles:this._rotateIcon(this.viewModel.rotation),text:n,title:n,onclick:this._onRotationReset},!t&&v(`calcite-icon`,{icon:e,scale:this.visualScale}))}_renderRotation(){return v(`calcite-action-bar`,{expandToggleDisabled:!0,floating:!0,key:`slider-container`,layout:`horizontal`},v(`calcite-action-group`,{class:u.rotationContainer},this.visibleElements.rotationResetButton?this._renderRotationResetButton():null,this._renderRotationSlider()))}_renderRotationResetButton(){let e=this.messages.resetHeading;return v(`calcite-action`,{alignment:`center`,class:u.rotationReset,disabled:this.disabled||!this._rotationEnabled,scale:this.visualScale,text:e,title:e,onclick:this._onRotationReset},v(`calcite-icon`,{flipRtl:!0,icon:`rotate`,scale:this.visualScale}))}_renderRotationSlider(){return v(`div`,{class:u.rotationSliderContainer},v(`calcite-slider`,{"aria-label":this.messages.heading,disabled:this.disabled||!this._rotationEnabled,labelHandles:!0,max:360,min:0,required:!0,scale:this.visualScale,value:Math.round(this.viewModel.rotation),onCalciteSliderInput:this._onSliderInput}))}};e([i()],b.prototype,`_buttonsContainer`,void 0),e([i()],b.prototype,`_buttons`,void 0),e([i()],b.prototype,`disabled`,null),e([i()],b.prototype,`icon`,null),e([i()],b.prototype,`label`,null),e([i(),g(`esri/widgets/DirectionalPad/t9n/DirectionalPad`)],b.prototype,`messages`,void 0),e([i({type:p,nonNullable:!0})],b.prototype,`visibleElements`,void 0),e([i()],b.prototype,`view`,null),e([i({type:d})],b.prototype,`viewModel`,void 0),e([i()],b.prototype,`visualScale`,void 0),e([i()],b.prototype,`speed`,null),e([i({readOnly:!0})],b.prototype,`_rotationEnabled`,null),b=e([a(`esri.widgets.DirectionalPad`)],b);const x=b;export{x as default};