@arcgis/core 5.2.0-next.147 → 5.2.0-next.149

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 (317) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/03afeefb9d16b6f1d844.js +1 -0
  3. package/assets/esri/core/workers/chunks/09b9a886363bc1197785.js +1 -0
  4. package/assets/esri/core/workers/chunks/0ad0484ffcbe4ad21bd3.js +1 -0
  5. package/assets/esri/core/workers/chunks/{72019baeba520edb6bb0.js → 112befb3b5b406f29298.js} +1 -1
  6. package/assets/esri/core/workers/chunks/12a7997a40c77f5c9160.js +1 -0
  7. package/assets/esri/core/workers/chunks/18787aa685524b958561.js +1 -0
  8. package/assets/esri/core/workers/chunks/{776ae25a34352d3468bc.js → 19743dedaa40446259ec.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{6dd0b79fa3a629ab4f27.js → 1bca39e0e651426bdbb5.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{8b1c17cc52d989924313.js → 21f45a47708e6e43147f.js} +1 -1
  11. package/assets/esri/core/workers/chunks/2c626f525f3483c03477.js +1 -0
  12. package/assets/esri/core/workers/chunks/2d9a1f23ec6ce90723ac.js +1 -0
  13. package/assets/esri/core/workers/chunks/{7a05b18f655c1167ce0a.js → 2ef5237e4c876d6a4ee0.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{79c83f4e066682543ca1.js → 320e5942a098dd104366.js} +1 -1
  15. package/assets/esri/core/workers/chunks/407f1e8176f3b0af73b4.js +1 -0
  16. package/assets/esri/core/workers/chunks/{1ba0dfbe0958cdbd7c9f.js → 42fd2a7b22b03dacc6a7.js} +1 -1
  17. package/assets/esri/core/workers/chunks/444e5f214abce3d607cd.js +1 -0
  18. package/assets/esri/core/workers/chunks/45367aa8e5c5d574de94.js +1 -0
  19. package/assets/esri/core/workers/chunks/47d074136a7f8e551a9a.js +1 -0
  20. package/assets/esri/core/workers/chunks/4a6b92ecbb1f1c55cc43.js +1 -0
  21. package/assets/esri/core/workers/chunks/4fc337240e7cddd0e988.js +1 -0
  22. package/assets/esri/core/workers/chunks/{24cc7b6b5e307a89cdd5.js → 50036a323c2e7f155311.js} +1 -1
  23. package/assets/esri/core/workers/chunks/5116b569a8dbda4910c8.js +1 -0
  24. package/assets/esri/core/workers/chunks/54b18559280a7d2a8d93.js +1 -0
  25. package/assets/esri/core/workers/chunks/{b2737120c5999b2f3909.js → 55dcbf296d8d0092e473.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{5c855af73ee3c3e764fb.js → 5732fdf6d8b87739aeea.js} +1 -1
  27. package/assets/esri/core/workers/chunks/5924ec3167a2941ebb1f.js +1 -0
  28. package/assets/esri/core/workers/chunks/5fa1ec357c3ad1f91bc7.js +1 -0
  29. package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +1 -0
  30. package/assets/esri/core/workers/chunks/{ceb680688fe7e570a774.js → 608be1172a908e92b9f1.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{6f358116f79021ff9687.js → 612104dff305ff062dfa.js} +2 -2
  32. package/assets/esri/core/workers/chunks/6299be5e7e26bf3c6859.js +1 -0
  33. package/assets/esri/core/workers/chunks/68be3fb88ca61f82fb90.js +1 -0
  34. package/assets/esri/core/workers/chunks/6b04285726b803b82564.js +1 -0
  35. package/assets/esri/core/workers/chunks/6c9266120d46e8c69dbf.js +1 -0
  36. package/assets/esri/core/workers/chunks/6c9acd9e4e201dc380e9.js +1 -0
  37. package/assets/esri/core/workers/chunks/6eb5cc8ddf772c0062e6.js +1 -0
  38. package/assets/esri/core/workers/chunks/709e019885822b1f6f3e.js +1 -0
  39. package/assets/esri/core/workers/chunks/731018c0deffc41ffc97.js +1 -0
  40. package/assets/esri/core/workers/chunks/7320a4913b6cad7cc5d7.js +1 -0
  41. package/assets/esri/core/workers/chunks/7449568eb2305bf2d650.js +1 -0
  42. package/assets/esri/core/workers/chunks/7572c2bc5062e66f6330.js +1 -0
  43. package/assets/esri/core/workers/chunks/7d212c415f2709037408.js +1 -0
  44. package/assets/esri/core/workers/chunks/7f0f9dddc44b1f1600f0.js +1 -0
  45. package/assets/esri/core/workers/chunks/8293600f94553afc8c38.js +1 -0
  46. package/assets/esri/core/workers/chunks/{c18189710d6198516175.js → 830ab9b8d000169da675.js} +1 -1
  47. package/assets/esri/core/workers/chunks/8414ffd937c1099e0bbc.js +1 -0
  48. package/assets/esri/core/workers/chunks/{700b1d5bc67b7e1b3ff3.js → 8aa80b892fde552577e8.js} +1 -1
  49. package/assets/esri/core/workers/chunks/900181f68449d8f82eeb.js +1 -0
  50. package/assets/esri/core/workers/chunks/925271bb763607a326ae.js +1 -0
  51. package/assets/esri/core/workers/chunks/937824bc7948f7bc7845.js +1 -0
  52. package/assets/esri/core/workers/chunks/939942b00ba380e2957e.js +1 -0
  53. package/assets/esri/core/workers/chunks/97d6ef9e34a43ad2e556.js +1 -0
  54. package/assets/esri/core/workers/chunks/{c76c42c74eedd43263d3.js → 9dd1fc56eb1ea6eb705e.js} +1 -1
  55. package/assets/esri/core/workers/chunks/a07cb6a2f5b66d4e9f15.js +1 -0
  56. package/assets/esri/core/workers/chunks/a40b6d8b5c73e06e14d4.js +1 -0
  57. package/assets/esri/core/workers/chunks/a7f3576208f295b670d6.js +1 -0
  58. package/assets/esri/core/workers/chunks/a80e49acc827dbf3b524.js +1 -0
  59. package/assets/esri/core/workers/chunks/aeaaff7a4b1a99540f52.js +1 -0
  60. package/assets/esri/core/workers/chunks/af349c7bc8ef41a0e1bd.js +1 -0
  61. package/assets/esri/core/workers/chunks/afc3b2af20e9d1dfd260.js +1 -0
  62. package/assets/esri/core/workers/chunks/b19b6102ed2d6f67b43b.js +1 -0
  63. package/assets/esri/core/workers/chunks/b1b4066e8d1c0c9656e5.js +1 -0
  64. package/assets/esri/core/workers/chunks/b4334713bacdfe40ce3d.js +1 -0
  65. package/assets/esri/core/workers/chunks/{6883a5c6883eccaddf64.js → b6ba66a05030d3815dfd.js} +1 -1
  66. package/assets/esri/core/workers/chunks/bbec9d2e3b75a5c59681.js +1 -0
  67. package/assets/esri/core/workers/chunks/{9ab25ee06041f907b9a2.js → c2c1f51a4668055c2838.js} +1 -1
  68. package/assets/esri/core/workers/chunks/c337fc0e6dc69c233e6d.js +1 -0
  69. package/assets/esri/core/workers/chunks/c598b22f78ccc57f9d6d.js +1 -0
  70. package/assets/esri/core/workers/chunks/c5d85be6e16bc895e7fb.js +1 -0
  71. package/assets/esri/core/workers/chunks/c62738f84c914671b143.js +1 -0
  72. package/assets/esri/core/workers/chunks/c8d178a0c82fffd7fed5.js +1 -0
  73. package/assets/esri/core/workers/chunks/c8d6bb5cca49926a0214.js +1 -0
  74. package/assets/esri/core/workers/chunks/cde4b044e013b9e41591.js +1 -0
  75. package/assets/esri/core/workers/chunks/{a7985d20fa6e8d4878e7.js → d0f5bee9db1ad51ae687.js} +1 -1
  76. package/assets/esri/core/workers/chunks/d2347d6aa1c57fd57029.js +1 -0
  77. package/assets/esri/core/workers/chunks/dca35dbe427605ef6fcc.js +1 -0
  78. package/assets/esri/core/workers/chunks/e0351753f6b4d1adf11e.js +1 -0
  79. package/assets/esri/core/workers/chunks/{534186fc921a0ccf58dc.js → e1f5d00878f27e1d413e.js} +1 -1
  80. package/assets/esri/core/workers/chunks/f1df76f098a3cc924832.js +1 -0
  81. package/assets/esri/core/workers/chunks/f4f9d08b2df856e3b694.js +1 -0
  82. package/assets/esri/core/workers/chunks/{711cfb84659cb4437679.js → f528ac5c648ca6a98582.js} +1 -1
  83. package/assets/esri/core/workers/chunks/f8a83d447b7aef051876.js +1 -0
  84. package/assets/esri/core/workers/chunks/fc44227c1756f65b95df.js +1 -0
  85. package/assets/esri/core/workers/chunks/fdbf6208df5c58746d9d.js +1 -0
  86. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ar.json +1 -1
  87. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bg.json +1 -1
  88. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bs.json +1 -1
  89. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ca.json +1 -1
  90. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.cs.json +1 -1
  91. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.da.json +1 -1
  92. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.de.json +1 -1
  93. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.el.json +1 -1
  94. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.es.json +1 -1
  95. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.et.json +1 -1
  96. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fi.json +1 -1
  97. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fr.json +1 -1
  98. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.he.json +1 -1
  99. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hr.json +1 -1
  100. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hu.json +1 -1
  101. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.id.json +1 -1
  102. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.it.json +1 -1
  103. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ja.json +1 -1
  104. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ko.json +1 -1
  105. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lt.json +1 -1
  106. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lv.json +1 -1
  107. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.nl.json +1 -1
  108. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.no.json +1 -1
  109. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pl.json +1 -1
  110. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-BR.json +1 -1
  111. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-PT.json +1 -1
  112. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ro.json +1 -1
  113. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ru.json +1 -1
  114. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sk.json +1 -1
  115. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sl.json +1 -1
  116. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sr.json +1 -1
  117. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sv.json +1 -1
  118. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.th.json +1 -1
  119. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.tr.json +1 -1
  120. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.uk.json +1 -1
  121. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.vi.json +1 -1
  122. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-CN.json +1 -1
  123. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-HK.json +1 -1
  124. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-TW.json +1 -1
  125. package/config.js +1 -1
  126. package/core/Loadable.js +1 -1
  127. package/geometry/HeightModelInfo.js +1 -1
  128. package/geometry/support/TileClipper.js +1 -1
  129. package/geometry/support/meshUtils.d.ts +1 -1
  130. package/geometry/support/scaleUtils.js +1 -1
  131. package/kernel.js +1 -1
  132. package/layers/BaseDynamicLayer.d.ts +1 -0
  133. package/layers/BaseElevationLayer.d.ts +2 -0
  134. package/layers/BaseTileLayer.d.ts +12 -9
  135. package/layers/CSVLayer.d.ts +1 -16
  136. package/layers/CatalogLayer.d.ts +1 -1
  137. package/layers/FeatureLayer.d.ts +3 -16
  138. package/layers/GeoJSONLayer.d.ts +1 -53
  139. package/layers/GeoRSSLayer.d.ts +0 -44
  140. package/layers/OrientedImageryLayer.js +1 -1
  141. package/layers/ParquetLayer.d.ts +84 -5
  142. package/layers/ParquetLayer.js +1 -1
  143. package/layers/SceneLayer.d.ts +4 -5
  144. package/layers/SceneLayer.js +1 -1
  145. package/layers/SketchLayer.d.ts +0 -1
  146. package/layers/SubtypeGroupLayer.d.ts +1 -1
  147. package/layers/VectorTileLayer.d.ts +2 -12
  148. package/layers/WFSLayer.d.ts +1 -1
  149. package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +1 -1
  150. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  151. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -1
  152. package/layers/mixins/ArcGISImageService.d.ts +1 -1
  153. package/layers/mixins/PortalLayer.js +1 -1
  154. package/layers/mixins/RefreshableLayer.d.ts +1 -3
  155. package/layers/mixins/ScaleRangeLayer.js +1 -1
  156. package/layers/mixins/SublayersOwner.js +1 -1
  157. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  158. package/layers/orientedImagery/core/utils.js +1 -1
  159. package/layers/raster/datasets/GeospatialPDFRaster.js +1 -1
  160. package/layers/support/FeatureFilter.d.ts +1 -1
  161. package/layers/support/ParquetPortalItemData.js +1 -1
  162. package/layers/support/PortalItemData.js +1 -1
  163. package/layers/support/Sublayer.js +1 -1
  164. package/layers/support/SubtypeSublayer.d.ts +1 -1
  165. package/layers/support/SubtypeSublayer.js +1 -1
  166. package/layers/support/layersLoader.js +1 -1
  167. package/package.json +2 -2
  168. package/popup/FeaturesModel.d.ts +27 -6
  169. package/popup/FeaturesModel.js +1 -1
  170. package/portal/support/layersLoader.js +1 -1
  171. package/portal/support/portalLayers.js +1 -1
  172. package/renderers/VectorFieldRenderer.d.ts +4 -4
  173. package/rest/print.js +1 -1
  174. package/rest/support/printTaskUtils.js +1 -1
  175. package/smartMapping/renderers/color.js +1 -1
  176. package/smartMapping/renderers/dotDensity.js +1 -1
  177. package/smartMapping/renderers/heatmap.js +1 -1
  178. package/smartMapping/renderers/pieChart.js +1 -1
  179. package/smartMapping/renderers/type.js +1 -1
  180. package/smartMapping/statistics/heatmapStatistics.js +1 -1
  181. package/smartMapping/statistics/histogram.js +1 -1
  182. package/smartMapping/statistics/summaryStatistics.js +1 -1
  183. package/smartMapping/statistics/summaryStatisticsForAttributes.js +1 -1
  184. package/smartMapping/statistics/uniqueValues.js +1 -1
  185. package/smartMapping/support/adapters/support/layerUtils.js +1 -1
  186. package/smartMapping/types.d.ts +3 -1
  187. package/symbols/cim/CIMSymbolHelper.js +1 -1
  188. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  189. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  190. package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
  191. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  192. package/views/2d/layers/LayerView2D.js +1 -1
  193. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  194. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  195. package/views/3d/analysis/Viewshed/types.d.ts +3 -1
  196. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  197. package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
  198. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  199. package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
  200. package/views/3d/layers/FlowSubView3D.js +1 -1
  201. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  202. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  203. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  204. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  205. package/views/3d/layers/MediaLayerView3D.js +1 -1
  206. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  207. package/views/3d/layers/RouteLayerView3D.js +1 -1
  208. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  209. package/views/3d/layers/SceneLayerView3D.js +1 -1
  210. package/views/3d/layers/TiledLayerView3D.js +1 -1
  211. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  212. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  213. package/views/3d/layers/graphics/Labeler.js +1 -1
  214. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  215. package/views/3d/support/popupHitTest.js +1 -1
  216. package/views/3d/terrain/TerrainData.js +1 -1
  217. package/views/3d/terrain/terrainUtils.js +1 -1
  218. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  219. package/views/DOMContainer.d.ts +27 -9
  220. package/views/DOMContainer.js +1 -1
  221. package/views/PopupView.d.ts +6 -0
  222. package/views/VideoView.d.ts +27 -9
  223. package/views/View.d.ts +16 -7
  224. package/views/View.js +1 -1
  225. package/views/View2D.d.ts +1 -1
  226. package/views/draw/support/InteractiveHandle.js +1 -1
  227. package/views/interactive/snapping/FeatureSnappingSourceInfo.js +1 -1
  228. package/views/interactive/snapping/SnappingManagerPool.js +1 -1
  229. package/views/interactive/snapping/SnappingOptions.d.ts +1 -1
  230. package/views/interactive/tooltip/components/ElevationModeSelect.js +1 -1
  231. package/views/layers/FeatureLikeLayerView.d.ts +2 -3
  232. package/views/layers/LayerView.js +1 -1
  233. package/views/layers/LineOfSightLayerView.d.ts +3 -4
  234. package/views/layers/ParquetLayerView.d.ts +15 -0
  235. package/views/layers/PointCloudLayerView.d.ts +1 -1
  236. package/views/layers/SceneLayerView.d.ts +1 -1
  237. package/views/layers/ViewshedLayerView.d.ts +5 -6
  238. package/views/support/layerViewUtils.js +1 -1
  239. package/webdoc/support/saveUtils.js +1 -1
  240. package/webdoc/support/unsupportedErrors.js +1 -1
  241. package/widgets/Editor.d.ts +10 -0
  242. package/widgets/Legend.d.ts +1 -0
  243. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  244. package/widgets/OrientedImageryViewer/adapters/draw/HeightMeasurementAdapter.js +1 -1
  245. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  246. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  247. package/widgets/OrientedImageryViewer/components/ImageLocationViewModel.js +1 -1
  248. package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
  249. package/widgets/support/SnappingControls.d.ts +1 -1
  250. package/assets/esri/core/workers/chunks/00a600c71ceebe7bfeee.js +0 -1
  251. package/assets/esri/core/workers/chunks/0193df3f9fb23633da87.js +0 -1
  252. package/assets/esri/core/workers/chunks/050c4b212f2b5691db34.js +0 -1
  253. package/assets/esri/core/workers/chunks/05963f57cbe5a5249496.js +0 -1
  254. package/assets/esri/core/workers/chunks/06e7400f5ebe0719b81c.js +0 -1
  255. package/assets/esri/core/workers/chunks/07aa6d36f1006b6ab7ff.js +0 -1
  256. package/assets/esri/core/workers/chunks/0bb11751efa2023ec937.js +0 -1
  257. package/assets/esri/core/workers/chunks/14a3808427deaaa85bf2.js +0 -1
  258. package/assets/esri/core/workers/chunks/1a6027f08893aba9e677.js +0 -1
  259. package/assets/esri/core/workers/chunks/2062d46f638eabfc9499.js +0 -1
  260. package/assets/esri/core/workers/chunks/2164fcaced72b0fda31f.js +0 -1
  261. package/assets/esri/core/workers/chunks/222af8522773c7dc80b1.js +0 -1
  262. package/assets/esri/core/workers/chunks/25b0885d3bc190b28c04.js +0 -1
  263. package/assets/esri/core/workers/chunks/303fde8f3459dde16555.js +0 -1
  264. package/assets/esri/core/workers/chunks/305a718719ef15fda90c.js +0 -1
  265. package/assets/esri/core/workers/chunks/347bf269c2b1583d2dca.js +0 -1
  266. package/assets/esri/core/workers/chunks/350540770781b281c39a.js +0 -1
  267. package/assets/esri/core/workers/chunks/392bcef780df52fb4cca.js +0 -1
  268. package/assets/esri/core/workers/chunks/3b017b718ea2d4ed498f.js +0 -1
  269. package/assets/esri/core/workers/chunks/3e81dfc9d621ece038fe.js +0 -1
  270. package/assets/esri/core/workers/chunks/4479a166b5ac8db1e12e.js +0 -1
  271. package/assets/esri/core/workers/chunks/46b2d4addfc73f9183a4.js +0 -1
  272. package/assets/esri/core/workers/chunks/4d82db661365daa513a6.js +0 -1
  273. package/assets/esri/core/workers/chunks/4ed8655770a3e018e366.js +0 -1
  274. package/assets/esri/core/workers/chunks/4f48d45baa8ada16f579.js +0 -1
  275. package/assets/esri/core/workers/chunks/50ca55ad2f5421acc492.js +0 -1
  276. package/assets/esri/core/workers/chunks/5450f339f97b2b042ee2.js +0 -1
  277. package/assets/esri/core/workers/chunks/55cc8581978c71b17998.js +0 -1
  278. package/assets/esri/core/workers/chunks/5ea8809b6519c05ad9f6.js +0 -1
  279. package/assets/esri/core/workers/chunks/62795a1573cbaa4b8e7a.js +0 -1
  280. package/assets/esri/core/workers/chunks/633a9051580c5302d2f7.js +0 -1
  281. package/assets/esri/core/workers/chunks/641d196a554bd07f729e.js +0 -1
  282. package/assets/esri/core/workers/chunks/655c3afda1eef01611dd.js +0 -1
  283. package/assets/esri/core/workers/chunks/6569797d3c22442e5e97.js +0 -1
  284. package/assets/esri/core/workers/chunks/70793967db45fb142962.js +0 -1
  285. package/assets/esri/core/workers/chunks/794e5a67a88cb10c1a19.js +0 -1
  286. package/assets/esri/core/workers/chunks/798a63653f82c0e842c5.js +0 -1
  287. package/assets/esri/core/workers/chunks/820f41d66b2056a3ebc8.js +0 -1
  288. package/assets/esri/core/workers/chunks/841f67baf6a1634ada48.js +0 -1
  289. package/assets/esri/core/workers/chunks/84fcbf7a1d04f01685d1.js +0 -1
  290. package/assets/esri/core/workers/chunks/8e511079918e2fd9261f.js +0 -1
  291. package/assets/esri/core/workers/chunks/8fcfd515ee1b18c902e5.js +0 -1
  292. package/assets/esri/core/workers/chunks/9001e9a1e81bce175ddd.js +0 -1
  293. package/assets/esri/core/workers/chunks/94c5f3bc07fe516dafbe.js +0 -1
  294. package/assets/esri/core/workers/chunks/956a40f40bde416efe93.js +0 -1
  295. package/assets/esri/core/workers/chunks/95b82cbbe355266c65d7.js +0 -1
  296. package/assets/esri/core/workers/chunks/97dbbedea9fe03bd1306.js +0 -1
  297. package/assets/esri/core/workers/chunks/9c0fd8baa00ee9733ba4.js +0 -1
  298. package/assets/esri/core/workers/chunks/9c1e69ac82e2bf746191.js +0 -1
  299. package/assets/esri/core/workers/chunks/a010d2e4e34eb7bc1fec.js +0 -1
  300. package/assets/esri/core/workers/chunks/a05790444115e4cf1bcc.js +0 -1
  301. package/assets/esri/core/workers/chunks/a52bf03bffb6ffac3b54.js +0 -1
  302. package/assets/esri/core/workers/chunks/a7edf7541569fef77cb3.js +0 -1
  303. package/assets/esri/core/workers/chunks/b2c29bc48c7b3b0c9357.js +0 -1
  304. package/assets/esri/core/workers/chunks/b7d77dd2abb255fd2e5a.js +0 -1
  305. package/assets/esri/core/workers/chunks/b8054adc45bca069b948.js +0 -1
  306. package/assets/esri/core/workers/chunks/ba46869e700ba1d2787f.js +0 -1
  307. package/assets/esri/core/workers/chunks/ba48045a81acc4cda927.js +0 -1
  308. package/assets/esri/core/workers/chunks/ca7fb75e2c62e7d37122.js +0 -1
  309. package/assets/esri/core/workers/chunks/d01381b548c204835509.js +0 -1
  310. package/assets/esri/core/workers/chunks/d21257d2e2a37266c0f7.js +0 -1
  311. package/assets/esri/core/workers/chunks/d270cc9807161033686e.js +0 -1
  312. package/assets/esri/core/workers/chunks/d4f038e04c42aed588c1.js +0 -1
  313. package/assets/esri/core/workers/chunks/e32b96c08cb272a59851.js +0 -1
  314. package/assets/esri/core/workers/chunks/e7c60bd85abbd36cdc64.js +0 -1
  315. package/assets/esri/core/workers/chunks/f05de08e194a3f9b96f2.js +0 -1
  316. package/assets/esri/core/workers/chunks/f0a68d2900d24f56afa0.js +0 -1
  317. package/assets/esri/core/workers/chunks/f511a304e9dea9eb3e01.js +0 -1
@@ -1 +1 @@
1
- {"attachments":{"addFile":"新增檔案","attachmentNumberedLabel":"附件 {index}","attach":"附加","attachmentEditingDisabled":"已停用附件編輯。","attachmentLimitExceeded":"已超過附件限制","attachmentLimitReached":"已達到附件限制","attachmentMustBeShorterThan":"附件長度必須短於 {maxDuration}","attachmentsMustBeShorterThan":"附件長度必須短於 {maxDuration}","attachmentMustBeSmallerThan":"附件大小必須小於 {maxSize}","attachmentsMustBeSmallerThan":"附件大小必須小於 {maxSize}","durationInSecond":"{count} 秒","durationInSeconds":"{count} 秒","capture":"擷取","captureMethodNotSupported":"不支援的擷取方法","captureUnsupportedAdd":"此裝置不支援擷取。","captureUnsupportedDetail":"此裝置不支援擷取。","chooseFile":"選擇檔案","count":"計數: {count}","deleted":"已刪除","download":"下載","dragAndDropFile":"拖放檔案。","fileExceedsMaximumSize":"檔案超過大小上限","fileName":"檔案名稱","fileSelected":"選擇的檔案","fileToBeReplaced":"要取代的檔案","imageResizedToMeetRequirements":"圖像大小已調整為符合需求","maximumAudioLength":"音訊長度上限: {maxDuration}","maximumFileSize":"檔案大小上限: {maxSize}","maximumNumberOfFiles":"檔案數上限: {count}","maximumVideoLength":"視訊長度上限: {maxDuration}","maximize":"最大化","maximumNumberReachedRemoveToContinue":"已達到最大數量。 移除附件以繼續。","maxAttachmentsShort":"最大值: {count}","maxAttachments":"附件數上限: {count}","minimumNotMet":"未滿足最低附件需求","minimumNumberOfFiles":"檔案數下限: {count}","minAttachmentsShort":"最小值: {count}","minAttachments":"附件數下限: {count}","noAttachments":"無附件","noPreviewAvailable":"無法預覽","remove":"移除","replace":"取代","recordAudio":"錄音","takePhoto":"拍照","takeVideo":"錄影","searchAttachments":"搜尋附件","replaceFile":"取代檔案","selectFile":"選擇檔案","size":"大小","type":"類型","unableToAddAttachment":"無法新增附件","unableToAddAttachments":"無法新增附件","unsupportedDevice":"不支援的裝置","unsupportedDeviceCaptureMessage":"此裝置不支援必要的擷取方法。","viewAll":"檢視所有","youCanAddUpToOneAttachment":"最多可新增 1 個附件","youCanAddUpToAttachments":"最多可新增 {count} 個附件"},"addFeature":"新增圖徵","addRecord":"新增記錄","unsupportedDomainGroupTitle":"不支援的值","differentValues":"不同值","differentValuesPlaceholder":"(不同值)","empty":"沒有值","noDynamicChoices":"試_No choices are available_________________________驗","noDynamicChoicesWithNoValue":"試_No other choices are available_______________________________驗","otherOptionLabel":"其他","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","footerButtons":{"add":"新增","delete":"刪除","discard":"放棄","done":"完成","replace":"取代","reset":"重設","update":"更新"},"footerNotices":{"deleteDisabledMinimumAttachments":"已停用刪除。 此功能需要的附件數下限。"},"formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"此表格使用將屬性編輯限制為 {num} 個圖徵的功能。","formFailedToLoadTooManyFeatures":"選擇最多 {num} 個圖徵以編輯屬性。","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"other":"其他","recommended":"建議","relatedRecords":{"noOriginKeyFeature":"輸入 '{originKeyField}' 後才能將圖徵新增至 '{relatedLayerName}'。","noOriginKeyRecord":"輸入 '{originKeyField}' 後才能將記錄新增至 '{relatedLayerName}'。","noRecordsFound":"找不到記錄。","noRelatedRecordsFound":"找不到相關記錄。","relatedRecordsTitle":"相關記錄","untitledLayer":"未命名的圖層"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","deselectAllLabel":"取消全選","selectAllLabel":"全選","showAll":"顯示全部","showAllOptions":"顯示所有選項","titles":{"addAttachments":"新增附件","attachments":"附件","editFeature":"編輯圖徵","editFeatures":"編輯圖徵","editAttachment":"編輯附件","replaceAttachment":"取代附件"},"totalCount":"總計: {count}","unsupported":"不支援","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"試_Field is required___________________驗.","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooFewSelectedChoices":"選擇至少 {min} 個選項","tooManySelectedChoices":"選擇至多 {max} 個選項","tooShort":"此欄位至少需要 {min} 個字元","valuesIncompatible":"值與其他選定值不相容"},"valueExpressionError":"無法計算值。","viewAll":"檢視所有","subtypes":{"changeWarning":"子類型 {newType} 可能具有與 {originalType} 不同的預設值。 保留目前值可能會導致非預期的結果。","changeWarningTitle":"子類型已變更","useDefaultValuesOption":"使用預設值","keepCurrentValuesOption":"保留目前值","unsupportedDomainGroupTitle":"不支援","fieldOutOfSubtypeDomainWarning":"此欄位的值超出其網域的範圍。"}}
1
+ {"attachments":{"addFile":"新增檔案","attachmentNumberedLabel":"附件 {index}","attach":"附加","attachmentEditingDisabled":"已停用附件編輯。","attachmentLimitExceeded":"已超過附件限制","attachmentLimitReached":"已達到附件限制","attachmentMustBeShorterThan":"附件長度必須短於 {maxDuration}","attachmentsMustBeShorterThan":"附件長度必須短於 {maxDuration}","attachmentMustBeSmallerThan":"附件大小必須小於 {maxSize}","attachmentsMustBeSmallerThan":"附件大小必須小於 {maxSize}","durationInSecond":"{count} 秒","durationInSeconds":"{count} 秒","capture":"擷取","captureMethodNotSupported":"不支援的擷取方法","captureUnsupportedAdd":"此裝置不支援擷取。","captureUnsupportedDetail":"此裝置不支援擷取。","chooseFile":"選擇檔案","count":"計數: {count}","deleted":"已刪除","download":"下載","dragAndDropFile":"拖放檔案。","fileExceedsMaximumSize":"檔案超過大小上限","fileName":"檔案名稱","fileSelected":"選擇的檔案","fileToBeReplaced":"要取代的檔案","imageResizedToMeetRequirements":"圖像大小已調整為符合需求","maximumAudioLength":"音訊長度上限: {maxDuration}","maximumFileSize":"檔案大小上限: {maxSize}","maximumNumberOfFiles":"檔案數上限: {count}","maximumVideoLength":"視訊長度上限: {maxDuration}","maximize":"最大化","maximumNumberReachedRemoveToContinue":"已達到最大數量。 移除附件以繼續。","maxAttachmentsShort":"最大值: {count}","maxAttachments":"附件數上限: {count}","minimumNotMet":"未滿足最低附件需求","minimumNumberOfFiles":"檔案數下限: {count}","minAttachmentsShort":"最小值: {count}","minAttachments":"附件數下限: {count}","noAttachments":"無附件","noPreviewAvailable":"無法預覽","remove":"移除","replace":"取代","recordAudio":"錄音","takePhoto":"拍照","takeVideo":"錄影","searchAttachments":"搜尋附件","replaceFile":"取代檔案","selectFile":"選擇檔案","size":"大小","type":"類型","unableToAddAttachment":"無法新增附件","unableToAddAttachments":"無法新增附件","unsupportedDevice":"不支援的裝置","unsupportedDeviceCaptureMessage":"此裝置不支援必要的擷取方法。","viewAll":"檢視所有","youCanAddUpToOneAttachment":"最多可新增 1 個附件","youCanAddUpToAttachments":"最多可新增 {count} 個附件"},"addFeature":"新增圖徵","addRecord":"新增記錄","unsupportedDomainGroupTitle":"不支援的值","differentValues":"不同值","differentValuesPlaceholder":"(不同值)","empty":"沒有值","noDynamicChoices":"試_No choices are available_________________________驗","noDynamicChoicesWithNoValue":"試_No other choices are available_______________________________驗","otherOptionLabel":"其他","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","footerButtons":{"add":"新增","delete":"刪除","discard":"放棄","done":"完成","replace":"取代","reset":"重設","update":"更新"},"footerNotices":{"deleteDisabledMinimumAttachments":"已停用刪除。 此功能需要的附件數下限。"},"formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"此表格使用將屬性編輯限制為 {num} 個圖徵的功能。","formFailedToLoadTooManyFeatures":"選擇最多 {num} 個圖徵以編輯屬性。","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"other":"其他","recommended":"建議","relatedRecords":{"noOriginKeyFeature":"輸入 '{originKeyField}' 後才能將圖徵新增至 '{relatedLayerName}'。","noOriginKeyRecord":"輸入 '{originKeyField}' 後才能將記錄新增至 '{relatedLayerName}'。","noRecordsFound":"找不到記錄。","noRelatedRecordsFound":"找不到相關記錄。","relatedRecordsTitle":"相關記錄","untitledLayer":"未命名的圖層"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","deselectAllLabel":"取消全選","selectAllLabel":"全選","showAll":"顯示全部","showAllOptions":"顯示所有選項","titles":{"addAttachments":"新增附件","attachments":"附件","editFeature":"編輯圖徵","editFeatures":"編輯圖徵","editAttachment":"編輯附件","replaceAttachment":"取代附件"},"totalCount":"總計: {count}","unsupported":"不支援","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"試_Field is required___________________驗.","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooFewSelectedChoices":"試_Minimum selections required: {min}__________________驗","tooManySelectedChoices":"試_Maximum selections allowed: {max}__________________驗","tooShort":"此欄位至少需要 {min} 個字元","valuesIncompatible":"值與其他選定值不相容"},"valueExpressionError":"無法計算值。","viewAll":"檢視所有","subtypes":{"changeWarning":"子類型 {newType} 可能具有與 {originalType} 不同的預設值。 保留目前值可能會導致非預期的結果。","changeWarningTitle":"子類型已變更","useDefaultValuesOption":"使用預設值","keepCurrentValuesOption":"保留目前值","unsupportedDomainGroupTitle":"不支援","fieldOutOfSubtypeDomainWarning":"此欄位的值超出其網域的範圍。"}}
package/config.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={apiKey:void 0,apiKeys:{scopes:[]},applicationName:``,applicationUrl:globalThis.location?.href,assetsPath:``,fontsUrl:`https://static.arcgis.com/fonts`,geometryServiceUrl:`https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer`,geoRSSServiceUrl:`https://utility.arcgis.com/sharing/rss`,kmlServiceUrl:`https://utility.arcgis.com/sharing/kml`,userPrivilegesApplied:!0,portalUrl:`https://www.arcgis.com`,respectPrefersReducedMotion:!0,routeServiceUrl:`https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World`,workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:[`arcgis.com`,`arcgisonline.com`,`esrikr.com`,`premiumservices.blackbridge.com`,`esripremium.accuweather.com`,`gbm.digitalglobe.com`,`firstlook.digitalglobe.com`,`msi.digitalglobe.com`],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:`high`,proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),!t.assetsPath&&(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@5.2.0-next.146/assets`,t.defaultAssetsPath=t.assetsPath);export{t as default};
2
+ import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={apiKey:void 0,apiKeys:{scopes:[]},applicationName:``,applicationUrl:globalThis.location?.href,assetsPath:``,fontsUrl:`https://static.arcgis.com/fonts`,geometryServiceUrl:`https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer`,geoRSSServiceUrl:`https://utility.arcgis.com/sharing/rss`,kmlServiceUrl:`https://utility.arcgis.com/sharing/kml`,userPrivilegesApplied:!0,portalUrl:`https://www.arcgis.com`,respectPrefersReducedMotion:!0,routeServiceUrl:`https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World`,workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:[`arcgis.com`,`arcgisonline.com`,`esrikr.com`,`premiumservices.blackbridge.com`,`esripremium.accuweather.com`,`gbm.digitalglobe.com`,`firstlook.digitalglobe.com`,`msi.digitalglobe.com`],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:`high`,proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),!t.assetsPath&&(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@5.2.0-next.148/assets`,t.defaultAssetsPath=t.assetsPath);export{t as default};
package/core/Loadable.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import t from"./Error.js";import{abortMaybe as n}from"./maybe.js";import{EsriPromise as r}from"./Promise.js";import{onAbortOrThrow as i}from"./promiseUtils.js";import a from"./Warning.js";import{property as o}from"./accessorSupport/decorators/property.js";import{subclass as s}from"./accessorSupport/decorators/subclass.js";const c=`loaded`,l=r=>{let l=r,u=class extends l{constructor(...e){super(...e),this._loadController=null,this.loadError=null,this.loadStatus=`not-loaded`,this._set(`loadWarnings`,[]),this.addResolvingPromise(new Promise(e=>{let n=this.load.bind(this);this.load=r=>{let a=new Promise((e,n)=>{let a=i(r,n);this.destroyed&&n(new t(`load:instance-destroyed`,`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(e,n).finally(()=>{a&&a.remove()})});if(this.loadStatus===`not-loaded`){this._set(`loadStatus`,`loading`);let e=this._loadController=new AbortController;n({signal:e.signal}).catch(()=>{})}return e(),a}})),this.when(()=>{this._set(`loadStatus`,c),this._loadController=null},e=>{this.destroyed||(this._set(`loadStatus`,`failed`),this._set(`loadError`,e),this._loadController=null)})}destroy(){this._loadController&&(this._loadController=n(this._loadController),this._promiseProps.abort()),this._set(`loadError`,null),this._set(`loadWarnings`,[])}get loaded(){return this.loadStatus===c}get loadWarnings(){return this._get(`loadWarnings`)}async load(e){return this}cancelLoad(){return this.isFulfilled()?this:(this._set(`loadError`,new t(`load:cancelled`,`Cancelled`)),this._loadController?.abort(),this._promiseProps.abort(),this)}};return e([o({readOnly:!0})],u.prototype,`loaded`,null),e([o({readOnly:!0})],u.prototype,`loadError`,void 0),e([o({clonable:!1})],u.prototype,`loadStatus`,void 0),e([o({type:[a],readOnly:!0})],u.prototype,`loadWarnings`,null),u=e([s(`esri.core.Loadable`)],u),u},u=l(r);function d(e){return!!(e&&e.load)}export{u as Loadable,l as LoadableMixin,d as isLoadable};
2
+ import{__decorate as e}from"tslib";import t from"./Error.js";import{abortMaybe as n}from"./maybe.js";import{EsriPromise as r}from"./Promise.js";import{onAbortOrThrow as i,isPromiseLike as a}from"./promiseUtils.js";import o from"./Warning.js";import{property as s}from"./accessorSupport/decorators/property.js";import{subclass as c}from"./accessorSupport/decorators/subclass.js";const l=`loaded`,u=r=>{let u=r,d=class extends u{constructor(...e){super(...e),this._loadController=null,this.loadError=null,this.loadStatus=`not-loaded`,this._set(`loadWarnings`,[]),this.addResolvingPromise(new Promise(e=>{let n=this.load.bind(this);this.load=r=>{let o=new Promise((e,n)=>{let a=i(r,n);this.destroyed&&n(new t(`load:instance-destroyed`,`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(e,n).finally(()=>{a&&a.remove()})});if(this.loadStatus===`not-loaded`){this._set(`loadStatus`,`loading`);let e=this._loadController=new AbortController,t=n({signal:e.signal});a(t)&&t.catch(()=>{})}return e(),o}})),this.when(()=>{this._set(`loadStatus`,l),this._loadController=null},e=>{this.destroyed||(this._set(`loadStatus`,`failed`),this._set(`loadError`,e),this._loadController=null)})}destroy(){this._loadController&&(this._loadController=n(this._loadController),this._promiseProps.abort()),this._set(`loadError`,null),this._set(`loadWarnings`,[])}get loaded(){return this.loadStatus===l}get loadWarnings(){return this._get(`loadWarnings`)}async load(e){return this}cancelLoad(){return this.isFulfilled()?this:(this._set(`loadError`,new t(`load:cancelled`,`Cancelled`)),this._loadController?.abort(),this._promiseProps.abort(),this)}};return e([s({readOnly:!0})],d.prototype,`loaded`,null),e([s({readOnly:!0})],d.prototype,`loadError`,void 0),e([s({clonable:!1})],d.prototype,`loadStatus`,void 0),e([s({type:[o],readOnly:!0})],d.prototype,`loadWarnings`,null),d=e([c(`esri.core.Loadable`)],d),d},d=u(r);function f(e){return!!(e&&e.load)}export{d as Loadable,u as LoadableMixin,f as isLoadable};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{removeUnordered as t}from"../core/arrayUtils.js";import{strict as n}from"../core/jsonMap.js";import{JSONSupport as r}from"../core/JSONSupport.js";import{unitFromRESTJSON as i}from"../core/units.js";import a from"../core/Warning.js";import{property as o,subclass as s}from"../core/accessorSupport/decorators.js";import{vcsLookup as c}from"./support/vcsLookup.js";import{writer as l}from"../core/accessorSupport/decorators/writer.js";import{reader as u}from"../core/accessorSupport/decorators/reader.js";var d;const f=n()({orthometric:`gravity-related-height`,gravity_related_height:`gravity-related-height`,ellipsoidal:`ellipsoidal`}),p=f.jsonValues.slice();t(p,`orthometric`);const m=n()({meter:`meters`,foot:`feet`,"us-foot":`us-feet`,"clarke-foot":`clarke-feet`,"clarke-yard":`clarke-yards`,"clarke-link":`clarke-links`,"sears-yard":`sears-yards`,"sears-foot":`sears-feet`,"sears-chain":`sears-chains`,"benoit-1895-b-chain":`benoit-1895-b-chains`,"indian-yard":`indian-yards`,"indian-1937-yard":`indian-1937-yards`,"gold-coast-foot":`gold-coast-feet`,"sears-1922-truncated-chain":`sears-1922-truncated-chains`,"50-kilometers":`50-kilometers`,"150-kilometers":`150-kilometers`});let h=d=class extends r{constructor(e){super(e),this.origin=0,this.associatedSpatialReference=null,this.heightModel=`gravity-related-height`,this.heightUnit=`meters`,this.vertCRS=null}read(e,t){super.read(e,t),(t?.origin===`service`||t?.origin===`web-scene`)&&(this.origin=t.origin===`service`?2:1,this.associatedSpatialReference=null)}writeHeightModel(e,t,n){return f.write(e,t,n)}readHeightModel(e,t,n){return f.read(e)||(n?.messages&&n.messages.push(_(e,{context:n})),null)}readHeightUnit(e,t,n){return m.read(e)||(n?.messages&&n.messages.push(g(e,{context:n})),null)}readHeightUnitService(e,t,n){return i(e)||m.read(e)||(n?.messages&&n.messages.push(g(e,{context:n})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new d({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS,origin:this.origin,associatedSpatialReference:this.associatedSpatialReference})}equals(e){return e?this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS:!1}static fromSpatialReference(e){let{latestVcsWkid:t,vcsWkid:n}=e;if(!n)return null;let r=(t==null?null:c.get(t))??c.get(n);return r?new d({heightModel:r.type===0?`gravity-related-height`:`ellipsoidal`,heightUnit:i(r.unit.name),vertCRS:r.datum,origin:3,associatedSpatialReference:e}):null}write(e,t){return t={origin:`web-scene`,...t},super.write(e,t)}static fromJSON(e){if(!e)return null;let t=new d;return t.read(e,{origin:`web-scene`}),t}};e([o()],h.prototype,`origin`,void 0),e([o()],h.prototype,`associatedSpatialReference`,void 0),e([o({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:p,default:`ellipsoidal`,write:{isRequired:!0}}}}})],h.prototype,`heightModel`,void 0),e([l(`web-scene`,`heightModel`)],h.prototype,`writeHeightModel`,null),e([u([`web-scene`,`service`],`heightModel`)],h.prototype,`readHeightModel`,null),e([o({type:m.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m.jsonValues,write:{writer:m.write,isRequired:!0}}}}})],h.prototype,`heightUnit`,void 0),e([u(`web-scene`,`heightUnit`)],h.prototype,`readHeightUnit`,null),e([u(`service`,`heightUnit`)],h.prototype,`readHeightUnitService`,null),e([o({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],h.prototype,`vertCRS`,void 0),e([u(`service`,`vertCRS`,[`vertCRS`,`ellipsoid`,`geoid`])],h.prototype,`readVertCRS`,null),h=d=e([s(`esri.geometry.HeightModelInfo`)],h);function g(e,t){return new a(`height-unit:unsupported`,`Height unit of value '${e}' is not supported`,t)}function _(e,t){return new a(`height-model:unsupported`,`Height model of value '${e}' is not supported`,t)}export{h as default};
2
+ import{__decorate as e}from"tslib";import{removeUnordered as t}from"../core/arrayUtils.js";import{strict as n}from"../core/jsonMap.js";import{JSONSupport as r}from"../core/JSONSupport.js";import{unitFromRESTJSON as i}from"../core/units.js";import a from"../core/Warning.js";import{property as o,subclass as s}from"../core/accessorSupport/decorators.js";import{vcsLookup as c}from"./support/vcsLookup.js";import{writer as l}from"../core/accessorSupport/decorators/writer.js";import{reader as u}from"../core/accessorSupport/decorators/reader.js";var d;const f=n()({orthometric:`gravity-related-height`,gravity_related_height:`gravity-related-height`,ellipsoidal:`ellipsoidal`}),p=f.jsonValues.slice();t(p,`orthometric`);const m=n()({meter:`meters`,foot:`feet`,"us-foot":`us-feet`,"clarke-foot":`clarke-feet`,"clarke-yard":`clarke-yards`,"clarke-link":`clarke-links`,"sears-yard":`sears-yards`,"sears-foot":`sears-feet`,"sears-chain":`sears-chains`,"benoit-1895-b-chain":`benoit-1895-b-chains`,"indian-yard":`indian-yards`,"indian-1937-yard":`indian-1937-yards`,"gold-coast-foot":`gold-coast-feet`,"sears-1922-truncated-chain":`sears-1922-truncated-chains`,"50-kilometers":`50-kilometers`,"150-kilometers":`150-kilometers`});let h=d=class extends r{constructor(e){super(e),this.origin=0,this.associatedSpatialReference=null,this.heightModel=`gravity-related-height`,this.heightUnit=`meters`,this.vertCRS=null}read(e,t){super.read(e,t),(t?.origin===`service`||t?.origin===`web-scene`)&&(this.origin=t.origin===`service`?2:1,this.associatedSpatialReference=null)}writeHeightModel(e,t,n){return f.write(e,t,n)}readHeightModel(e,t,n){return f.read(e)||(n?.messages&&n.messages.push(_(e,{context:n})),null)}readHeightUnit(e,t,n){return m.read(e)||(n?.messages&&n.messages.push(g(e,{context:n})),null)}readHeightUnitService(e,t,n){return i(e)||m.read(e)||(n?.messages&&n.messages.push(g(e,{context:n})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new d({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS,origin:this.origin,associatedSpatialReference:this.associatedSpatialReference})}equals(e){return e?this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS:!1}static fromSpatialReference(e){let{latestVcsWkid:t,vcsWkid:n}=e;if(!n)return null;let r=(t==null?null:c.get(t))??c.get(n);return r?new d({heightModel:r.type===0?`gravity-related-height`:`ellipsoidal`,heightUnit:i(r.unit.name),vertCRS:r.datum,origin:3,associatedSpatialReference:e}):null}write(e,t){return t={origin:`web-scene`,...t},super.write(e,t)}static fromJSON(e){if(!e)return null;let t=new d;return t.read(e,{origin:`web-scene`}),t}};e([o()],h.prototype,`origin`,void 0),e([o()],h.prototype,`associatedSpatialReference`,void 0),e([o({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:p,default:`ellipsoidal`,write:{isRequired:!0,alwaysWriteDefaults:!0}}}}})],h.prototype,`heightModel`,void 0),e([l(`web-scene`,`heightModel`)],h.prototype,`writeHeightModel`,null),e([u([`web-scene`,`service`],`heightModel`)],h.prototype,`readHeightModel`,null),e([o({type:m.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:m.jsonValues,write:{writer:m.write,isRequired:!0}}}}})],h.prototype,`heightUnit`,void 0),e([u(`web-scene`,`heightUnit`)],h.prototype,`readHeightUnit`,null),e([u(`service`,`heightUnit`)],h.prototype,`readHeightUnitService`,null),e([o({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],h.prototype,`vertCRS`,void 0),e([u(`service`,`vertCRS`,[`vertCRS`,`ellipsoid`,`geoid`])],h.prototype,`readVertCRS`,null),h=d=e([s(`esri.geometry.HeightModelInfo`)],h);function g(e,t){return new a(`height-unit:unsupported`,`Height unit of value '${e}' is not supported`,t)}function _(e,t){return new a(`height-model:unsupported`,`Height model of value '${e}' is not supported`,t)}export{h as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- class e{constructor(e,t){this.x=e,this.y=t}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(e,t){return e===this.x&&t===this.y}isEqual(e){return e.x===this.x&&e.y===this.y}setCoords(e,t){return this.x=e,this.y=t,this}normalize(){let e=this.x,t=this.y,n=Math.sqrt(e*e+t*t);return this.x/=n,this.y/=n,this}rightPerpendicular(){let e=this.x;return this.x=this.y,this.y=-e,this}leftPerpendicular(){let e=this.x;return this.x=-this.y,this.y=e,this}move(e,t){return this.x+=e,this.y+=t,this}assign(e){return this.x=e.x,this.y=e.y,this}assignAdd(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}assignSub(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}rotate(e,t){let n=this.x,r=this.y;return this.x=n*e-r*t,this.y=n*t+r*e,this}rotateReverse(e,t){let n=this.x,r=this.y;return this.x=n*e+r*t,this.y=-n*t+r*e,this}scale(e){return this.x*=e,this.y*=e,this}length(){let e=this.x,t=this.y;return Math.sqrt(e*e+t*t)}sub(e){return this.x-=e.x,this.y-=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}static distance(e,t){let n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}static add(t,n){return new e(t.x+n.x,t.y+n.y)}static sub(t,n){return new e(t.x-n.x,t.y-n.y)}}class t{constructor(e,t,n){this.ratio=e,this.x=t,this.y=n}}class n{constructor(e,t,n,r=8,i=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=r,this._pixelMargin=i,this._tileSize=512*r,this._dz=e,this._yPos=t,this._xPos=n}setPixelMargin(e){e!==this._pixelMargin&&(this._pixelMargin=e,this.setExtent(this._extent))}setExtent(e){this._extent=e,this._finalRatio=this._tileSize/e*(1<<this._dz);let t=this._pixelRatio*this._pixelMargin;t/=this._finalRatio;let n=e>>this._dz;t>n&&(t=n),this._margin=t,this._xmin=n*this._xPos-t,this._ymin=n*this._yPos-t,this._xmax=this._xmin+n+2*t,this._ymax=this._ymin+n+2*t}reset(e){this._type=e,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,n){this._pushLine(),this._prevIsIn=this._isIn(t,n),this._moveTo(t,n,this._prevIsIn),this._prevPt=new e(t,n),this._firstPt=new e(t,n),this._dist=0}lineTo(n,r){let i=this._isIn(n,r),a=new e(n,r),o=e.distance(this._prevPt,a),s,c,l,u,d,f,p,m;if(i)this._prevIsIn?this._lineTo(n,r,!0):(s=this._prevPt,c=a,l=this._intersect(c,s),this._start=this._dist+o*(1-this._r),this._lineTo(l.x,l.y,!0),this._lineTo(c.x,c.y,!0));else if(this._prevIsIn)c=this._prevPt,s=a,l=this._intersect(c,s),this._lineTo(l.x,l.y,!0),this._lineTo(s.x,s.y,!1);else{let e=this._prevPt,n=a;if(e.x<=this._xmin&&n.x<=this._xmin||e.x>=this._xmax&&n.x>=this._xmax||e.y<=this._ymin&&n.y<=this._ymin||e.y>=this._ymax&&n.y>=this._ymax)this._lineTo(n.x,n.y,!1);else{let r=[];if((e.x<this._xmin&&n.x>this._xmin||e.x>this._xmin&&n.x<this._xmin)&&(u=(this._xmin-e.x)/(n.x-e.x),m=e.y+u*(n.y-e.y),m<=this._ymin?f=!1:m>=this._ymax?f=!0:r.push(new t(u,this._xmin,m))),(e.x<this._xmax&&n.x>this._xmax||e.x>this._xmax&&n.x<this._xmax)&&(u=(this._xmax-e.x)/(n.x-e.x),m=e.y+u*(n.y-e.y),m<=this._ymin?f=!1:m>=this._ymax?f=!0:r.push(new t(u,this._xmax,m))),(e.y<this._ymin&&n.y>this._ymin||e.y>this._ymin&&n.y<this._ymin)&&(u=(this._ymin-e.y)/(n.y-e.y),p=e.x+u*(n.x-e.x),p<=this._xmin?d=!1:p>=this._xmax?d=!0:r.push(new t(u,p,this._ymin))),(e.y<this._ymax&&n.y>this._ymax||e.y>this._ymax&&n.y<this._ymax)&&(u=(this._ymax-e.y)/(n.y-e.y),p=e.x+u*(n.x-e.x),p<=this._xmin?d=!1:p>=this._xmax?d=!0:r.push(new t(u,p,this._ymax))),r.length===0)d?f?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):f?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(r.length>1&&r[0].ratio>r[1].ratio)this._start=this._dist+o*r[1].ratio,this._lineTo(r[1].x,r[1].y,!0),this._lineTo(r[0].x,r[0].y,!0);else{this._start=this._dist+o*r[0].ratio;for(let e=0;e<r.length;e++)this._lineTo(r[e].x,r[e].y,!0)}this._lineTo(n.x,n.y,!1)}}this._dist+=o,this._prevIsIn=i,this._prevPt=a}close(){if(this._line.length>2){let e=this._firstPt,t=this._prevPt;(e.x!==t.x||e.y!==t.y)&&this.lineTo(e.x,e.y);let n=this._line,r=n.length;for(;r>=4&&(n[0].x===n[1].x&&n[0].x===n[r-2].x||n[0].y===n[1].y&&n[0].y===n[r-2].y);)n.pop(),n[0].x=n[r-2].x,n[0].y=n[r-2].y,--r}}result(e=!0){return this._pushLine(),this._lines.length===0?null:(this._type===3&&e&&i.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(this._type!==2)throw Error(`Only valid for lines`);this._pushLine();let e=this._lines,t=e.length;if(t===0)return null;let n=[];for(let r=0;r<t;r++)n.push({line:e[r],start:this._starts[r]||0});return n}_isIn(e,t){return e>=this._xmin&&e<=this._xmax&&t>=this._ymin&&t<=this._ymax}_intersect(t,n){let r,i,a;if(n.x>=this._xmin&&n.x<=this._xmax)i=n.y<=this._ymin?this._ymin:this._ymax,a=(i-t.y)/(n.y-t.y),r=t.x+a*(n.x-t.x);else if(n.y>=this._ymin&&n.y<=this._ymax)r=n.x<=this._xmin?this._xmin:this._xmax,a=(r-t.x)/(n.x-t.x),i=t.y+a*(n.y-t.y);else{i=n.y<=this._ymin?this._ymin:this._ymax,r=n.x<=this._xmin?this._xmin:this._xmax;let e=(r-t.x)/(n.x-t.x),o=(i-t.y)/(n.y-t.y);e<o?(a=e,i=t.y+e*(n.y-t.y)):(a=o,r=t.x+o*(n.x-t.x))}return this._r=a,new e(r,i)}_pushLine(){this._line&&(this._type===1?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):this._type===2?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):this._type===3&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,n,r){this._type===3?(r||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),n<this._ymin&&(n=this._ymin),n>this._ymax&&(n=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,n)),this._isH=!1,this._isV=!1):r&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,n)))}_lineTo(t,n,r){let i,a;if(this._type!==3){if(r){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(i=this._line[this._line.length-1],i.equals(t,n)))return;this._line.push(new e(t,n))}else this._line&&this._line.length>0&&this._pushLine()}else if(r||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),n<this._ymin&&(n=this._ymin),n>this._ymax&&(n=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){i=this._line[this._line.length-1];let r=i.x===t,o=i.y===n;if(r&&o)return;this._isH&&r||this._isV&&o?(i.x=t,i.y=n,a=this._line[this._line.length-2],a.x===t&&a.y===n?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(a=this._line[this._line.length-2],this._isH=a.x===t,this._isV=a.y===n)):(this._isH=a.x===t,this._isV=a.y===n)):(this._line.push(new e(t,n)),this._isH=r,this._isV=o)}else this._line.push(new e(t,n))}}class r{setExtent(e){this._ratio=e===4096?1:4096/e}get validateTessellation(){return this._ratio<1}reset(e){this._lines=[],this._line=null}moveTo(t,n){this._line&&this._lines.push(this._line),this._line=[];let r=this._ratio;this._line.push(new e(t*r,n*r))}lineTo(t,n){let r=this._ratio;this._line.push(new e(t*r,n*r))}close(){let e=this._line;e&&!e[0].isEqual(e[e.length-1])&&e.push(e[0])}result(){return this._line&&this._lines.push(this._line),this._lines.length===0?null:this._lines}}class i{static simplify(e,t,n){if(!n)return;let r=-t,a=e+t,o=-t,s=e+t,c=[],l=[],u=n.length;for(let e=0;e<u;++e){let t=n[e];if(!t||t.length<2)continue;let i=t[0],u,d=t.length;for(let n=1;n<d;++n)u=t[n],i.x===u.x&&(i.x<=r&&(i.y>u.y?(c.push(e),c.push(n),c.push(0),c.push(-1)):(l.push(e),l.push(n),l.push(0),l.push(-1))),i.x>=a&&(i.y<u.y?(c.push(e),c.push(n),c.push(1),c.push(-1)):(l.push(e),l.push(n),l.push(1),l.push(-1)))),i.y===u.y&&(i.y<=o&&(i.x<u.x?(c.push(e),c.push(n),c.push(2),c.push(-1)):(l.push(e),l.push(n),l.push(2),l.push(-1))),i.y>=s&&(i.x>u.x?(c.push(e),c.push(n),c.push(3),c.push(-1)):(l.push(e),l.push(n),l.push(3),l.push(-1)))),i=u}if(c.length===0||l.length===0)return;i.fillParent(n,l,c),i.fillParent(n,c,l);let d=[];i.calcDeltas(d,l,c),i.calcDeltas(d,c,l),i.addDeltas(d,n)}static fillParent(e,t,n){let r=n.length,i=t.length;for(let o=0;o<i;o+=4){let i=t[o],s=t[o+1],c=t[o+2],l=e[i][s-1],u=e[i][s],d=8092,f=-1;for(let t=0;t<r;t+=4){if(n[t+2]!==c)continue;let r=n[t],i=n[t+1],o=e[r][i-1],s=e[r][i];switch(c){case 0:case 1:if(a(l.y,o.y,s.y)&&a(u.y,o.y,s.y)){let e=Math.abs(s.y-o.y);e<d&&(d=e,f=t)}break;case 2:case 3:if(a(l.x,o.x,s.x)&&a(u.x,o.x,s.x)){let e=Math.abs(s.x-o.x);e<d&&(d=e,f=t)}}}t[o+3]=f}}static calcDeltas(e,t,n){let r=t.length;for(let a=0;a<r;a+=4){let r=i.calcDelta(a,t,n,[]);e.push(t[a]),e.push(t[a+1]),e.push(t[a+2]),e.push(r)}}static calcDelta(e,t,n,r){let a=t[e+3];if(a===-1)return 0;let o=r.length;return o>1&&r[o-2]===a?0:(r.push(a),i.calcDelta(a,n,t,r)+1)}static addDeltas(e,t){let n=e.length,r=0;for(let t=0;t<n;t+=4){let n=e[t+3];n>r&&(r=n)}for(let i=0;i<n;i+=4){let n=t[e[i]],a=e[i+1],o=r-e[i+3];switch(e[i+2]){case 0:n[a-1].x-=o,n[a].x-=o,a===1&&(n[n.length-1].x-=o),a===n.length-1&&(n[0].x-=o);break;case 1:n[a-1].x+=o,n[a].x+=o,a===1&&(n[n.length-1].x+=o),a===n.length-1&&(n[0].x+=o);break;case 2:n[a-1].y-=o,n[a].y-=o,a===1&&(n[n.length-1].y-=o),a===n.length-1&&(n[0].y-=o);break;case 3:n[a-1].y+=o,n[a].y+=o,a===1&&(n[n.length-1].y+=o),a===n.length-1&&(n[0].y+=o)}}}}const a=(e,t,n)=>e>=t&&e<=n||e>=n&&e<=t;export{e as Point,r as SimpleBuilder,n as TileClipper};
2
+ class e{constructor(e,t){this.x=e,this.y=t}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(e,t){return e===this.x&&t===this.y}isEqual(e){return e.x===this.x&&e.y===this.y}setCoords(e,t){return this.x=e,this.y=t,this}normalize(){let e=this.x,t=this.y,n=Math.sqrt(e*e+t*t);return this.x/=n,this.y/=n,this}rightPerpendicular(){let e=this.x;return this.x=this.y,this.y=-e,this}leftPerpendicular(){let e=this.x;return this.x=-this.y,this.y=e,this}move(e,t){return this.x+=e,this.y+=t,this}assign(e){return this.x=e.x,this.y=e.y,this}assignAdd(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}assignSub(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}rotate(e,t){let n=this.x,r=this.y;return this.x=n*e-r*t,this.y=n*t+r*e,this}rotateReverse(e,t){let n=this.x,r=this.y;return this.x=n*e+r*t,this.y=-n*t+r*e,this}scale(e){return this.x*=e,this.y*=e,this}length(){let e=this.x,t=this.y;return Math.sqrt(e*e+t*t)}sub(e){return this.x-=e.x,this.y-=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}static distance(e,t){let n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}static add(t,n){return new e(t.x+n.x,t.y+n.y)}static sub(t,n){return new e(t.x-n.x,t.y-n.y)}}class t{constructor(e,t,n){this.ratio=e,this.x=t,this.y=n}}class n{constructor(e,t,n,r=8,i=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=r,this._pixelMargin=i,this._tileSize=512*r,this._dz=e,this._yPos=t,this._xPos=n}setPixelMargin(e){e!==this._pixelMargin&&(this._pixelMargin=e,this.setExtent(this._extent))}setExtent(e){this._extent=e,this._finalRatio=this._tileSize/e*(1<<this._dz);let t=this._pixelRatio*this._pixelMargin;t/=this._finalRatio;let n=e>>this._dz;t>n&&(t=n),this._margin=t,this._xmin=n*this._xPos-t,this._ymin=n*this._yPos-t,this._xmax=this._xmin+n+2*t,this._ymax=this._ymin+n+2*t}reset(e){this._type=e,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,n){this._pushLine(),this._prevIsIn=this._isIn(t,n),this._moveTo(t,n,this._prevIsIn),this._prevPt=new e(t,n),this._firstPt=new e(t,n),this._dist=0}lineTo(n,r){let i=this._isIn(n,r),a=new e(n,r),o=e.distance(this._prevPt,a),s,c,l,u,d,f,p,m;if(i)this._prevIsIn?this._lineTo(n,r,!0):(s=this._prevPt,c=a,l=this._intersect(c,s),this._start=this._dist+o*(1-this._r),this._lineTo(l.x,l.y,!0),this._lineTo(c.x,c.y,!0));else if(this._prevIsIn)c=this._prevPt,s=a,l=this._intersect(c,s),this._lineTo(l.x,l.y,!0),this._lineTo(s.x,s.y,!1);else{let e=this._prevPt,n=a;if(e.x<=this._xmin&&n.x<=this._xmin||e.x>=this._xmax&&n.x>=this._xmax||e.y<=this._ymin&&n.y<=this._ymin||e.y>=this._ymax&&n.y>=this._ymax)this._lineTo(n.x,n.y,!1);else{let r=[];if((e.x<this._xmin&&n.x>this._xmin||e.x>this._xmin&&n.x<this._xmin)&&(u=(this._xmin-e.x)/(n.x-e.x),m=e.y+u*(n.y-e.y),m<this._ymin?f=!1:m>this._ymax?f=!0:r.push(new t(u,this._xmin,m))),(e.x<this._xmax&&n.x>this._xmax||e.x>this._xmax&&n.x<this._xmax)&&(u=(this._xmax-e.x)/(n.x-e.x),m=e.y+u*(n.y-e.y),m<this._ymin?f=!1:m>this._ymax?f=!0:r.push(new t(u,this._xmax,m))),(e.y<this._ymin&&n.y>this._ymin||e.y>this._ymin&&n.y<this._ymin)&&(u=(this._ymin-e.y)/(n.y-e.y),p=e.x+u*(n.x-e.x),p<=this._xmin?d=!1:p>=this._xmax?d=!0:r.push(new t(u,p,this._ymin))),(e.y<this._ymax&&n.y>this._ymax||e.y>this._ymax&&n.y<this._ymax)&&(u=(this._ymax-e.y)/(n.y-e.y),p=e.x+u*(n.x-e.x),p<=this._xmin?d=!1:p>=this._xmax?d=!0:r.push(new t(u,p,this._ymax))),r.length===0)d?f?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):f?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(r.length>1&&r[0].ratio>r[1].ratio)this._start=this._dist+o*r[1].ratio,this._lineTo(r[1].x,r[1].y,!0),this._lineTo(r[0].x,r[0].y,!0);else{this._start=this._dist+o*r[0].ratio;for(let e=0;e<r.length;e++)this._lineTo(r[e].x,r[e].y,!0)}this._lineTo(n.x,n.y,!1)}}this._dist+=o,this._prevIsIn=i,this._prevPt=a}close(){if(this._line.length>2){let e=this._firstPt,t=this._prevPt;(e.x!==t.x||e.y!==t.y)&&this.lineTo(e.x,e.y);let n=this._line,r=n.length;for(;r>=4&&(n[0].x===n[1].x&&n[0].x===n[r-2].x||n[0].y===n[1].y&&n[0].y===n[r-2].y);)n.pop(),n[0].x=n[r-2].x,n[0].y=n[r-2].y,--r}}result(e=!0){return this._pushLine(),this._lines.length===0?null:(this._type===3&&e&&i.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(this._type!==2)throw Error(`Only valid for lines`);this._pushLine();let e=this._lines,t=e.length;if(t===0)return null;let n=[];for(let r=0;r<t;r++)n.push({line:e[r],start:this._starts[r]||0});return n}_isIn(e,t){return e>=this._xmin&&e<=this._xmax&&t>=this._ymin&&t<=this._ymax}_intersect(t,n){let r,i,a;if(n.x>=this._xmin&&n.x<=this._xmax)i=n.y<=this._ymin?this._ymin:this._ymax,a=(i-t.y)/(n.y-t.y),r=t.x+a*(n.x-t.x);else if(n.y>=this._ymin&&n.y<=this._ymax)r=n.x<=this._xmin?this._xmin:this._xmax,a=(r-t.x)/(n.x-t.x),i=t.y+a*(n.y-t.y);else{i=n.y<=this._ymin?this._ymin:this._ymax,r=n.x<=this._xmin?this._xmin:this._xmax;let e=(r-t.x)/(n.x-t.x),o=(i-t.y)/(n.y-t.y);e<o?(a=e,i=t.y+e*(n.y-t.y)):(a=o,r=t.x+o*(n.x-t.x))}return this._r=a,new e(r,i)}_pushLine(){this._line&&(this._type===1?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):this._type===2?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):this._type===3&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,n,r){this._type===3?(r||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),n<this._ymin&&(n=this._ymin),n>this._ymax&&(n=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,n)),this._isH=!1,this._isV=!1):r&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,n)))}_lineTo(t,n,r){let i,a;if(this._type!==3){if(r){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(i=this._line[this._line.length-1],i.equals(t,n)))return;this._line.push(new e(t,n))}else this._line&&this._line.length>0&&this._pushLine()}else if(r||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),n<this._ymin&&(n=this._ymin),n>this._ymax&&(n=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),n=Math.round((n-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){i=this._line[this._line.length-1];let r=i.x===t,o=i.y===n;if(r&&o)return;this._isH&&r||this._isV&&o?(i.x=t,i.y=n,a=this._line[this._line.length-2],a.x===t&&a.y===n?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(a=this._line[this._line.length-2],this._isH=a.x===t,this._isV=a.y===n)):(this._isH=a.x===t,this._isV=a.y===n)):(this._line.push(new e(t,n)),this._isH=r,this._isV=o)}else this._line.push(new e(t,n))}}class r{setExtent(e){this._ratio=e===4096?1:4096/e}get validateTessellation(){return this._ratio<1}reset(e){this._lines=[],this._line=null}moveTo(t,n){this._line&&this._lines.push(this._line),this._line=[];let r=this._ratio;this._line.push(new e(t*r,n*r))}lineTo(t,n){let r=this._ratio;this._line.push(new e(t*r,n*r))}close(){let e=this._line;e&&!e[0].isEqual(e[e.length-1])&&e.push(e[0])}result(){return this._line&&this._lines.push(this._line),this._lines.length===0?null:this._lines}}class i{static simplify(e,t,n){if(!n)return;let r=-t,a=e+t,o=-t,s=e+t,c=[],l=[],u=n.length;for(let e=0;e<u;++e){let t=n[e];if(!t||t.length<2)continue;let i=t[0],u,d=t.length;for(let n=1;n<d;++n)u=t[n],i.x===u.x&&(i.x<=r&&(i.y>u.y?(c.push(e),c.push(n),c.push(0),c.push(-1)):(l.push(e),l.push(n),l.push(0),l.push(-1))),i.x>=a&&(i.y<u.y?(c.push(e),c.push(n),c.push(1),c.push(-1)):(l.push(e),l.push(n),l.push(1),l.push(-1)))),i.y===u.y&&(i.y<=o&&(i.x<u.x?(c.push(e),c.push(n),c.push(2),c.push(-1)):(l.push(e),l.push(n),l.push(2),l.push(-1))),i.y>=s&&(i.x>u.x?(c.push(e),c.push(n),c.push(3),c.push(-1)):(l.push(e),l.push(n),l.push(3),l.push(-1)))),i=u}if(c.length===0||l.length===0)return;i.fillParent(n,l,c),i.fillParent(n,c,l);let d=[];i.calcDeltas(d,l,c),i.calcDeltas(d,c,l),i.addDeltas(d,n)}static fillParent(e,t,n){let r=n.length,i=t.length;for(let o=0;o<i;o+=4){let i=t[o],s=t[o+1],c=t[o+2],l=e[i][s-1],u=e[i][s],d=8092,f=-1;for(let t=0;t<r;t+=4){if(n[t+2]!==c)continue;let r=n[t],i=n[t+1],o=e[r][i-1],s=e[r][i];switch(c){case 0:case 1:if(a(l.y,o.y,s.y)&&a(u.y,o.y,s.y)){let e=Math.abs(s.y-o.y);e<d&&(d=e,f=t)}break;case 2:case 3:if(a(l.x,o.x,s.x)&&a(u.x,o.x,s.x)){let e=Math.abs(s.x-o.x);e<d&&(d=e,f=t)}}}t[o+3]=f}}static calcDeltas(e,t,n){let r=t.length;for(let a=0;a<r;a+=4){let r=i.calcDelta(a,t,n,[]);e.push(t[a]),e.push(t[a+1]),e.push(t[a+2]),e.push(r)}}static calcDelta(e,t,n,r){let a=t[e+3];if(a===-1)return 0;let o=r.length;return o>1&&r[o-2]===a?0:(r.push(a),i.calcDelta(a,n,t,r)+1)}static addDeltas(e,t){let n=e.length,r=0;for(let t=0;t<n;t+=4){let n=e[t+3];n>r&&(r=n)}for(let i=0;i<n;i+=4){let n=t[e[i]],a=e[i+1],o=r-e[i+3];switch(e[i+2]){case 0:n[a-1].x-=o,n[a].x-=o,a===1&&(n[n.length-1].x-=o),a===n.length-1&&(n[0].x-=o);break;case 1:n[a-1].x+=o,n[a].x+=o,a===1&&(n[n.length-1].x+=o),a===n.length-1&&(n[0].x+=o);break;case 2:n[a-1].y-=o,n[a].y-=o,a===1&&(n[n.length-1].y-=o),a===n.length-1&&(n[0].y-=o);break;case 3:n[a-1].y+=o,n[a].y+=o,a===1&&(n[n.length-1].y+=o),a===n.length-1&&(n[0].y+=o)}}}}const a=(e,t,n)=>e>=t&&e<=n||e>=n&&e<=t;export{e as Point,r as SimpleBuilder,n as TileClipper};
@@ -10,7 +10,7 @@
10
10
  * - The glTF file must contain a single scene.
11
11
  * - The scene can contain an arbitrary number of nodes, meshes and primitives of type `TRIANGLE`, `TRIANGLE_STRIP` or
12
12
  * `TRIANGLE_FAN`. `POINTS` and `LINES` are not supported.
13
- * - Only materials of type Metallic-Roughness are supported.
13
+ * - Only materials of [type Metallic-Roughness](https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#metallic-roughness-material) are supported.
14
14
  * - Animations, skinning and camera definitions are not supported.
15
15
  * - The following glTF extensions are supported:
16
16
  * - [KHR_texture_transform](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform) for texture space transformation of uv coordinates.
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{floatEqualAbsolute as e}from"../../core/mathUtils.js";import{getMetersPerUnitForSR as t,inchesPerMeter as n}from"../../core/units.js";function r(e,r){let i=r||e.extent,a=e.width,o=t(i?.spatialReference);return i&&a?i.width/a*o*n*96:0}function i(e,r){return e/(t(r)*n*96)}function a(e){return e/(n*96)}function o(e,r){return e*(t(r)*n*96)}function s(e,t){let n=e.extent,r=e.width-(e.padding?e.padding.left+e.padding.right:0),a=i(t,n.spatialReference);return n.clone().expand(a*r/n.width)}function c(e,t,n){return l(e,t)&&u(e,n)}function l(t,n){return n===0||e(t,n)||t<n}function u(t,n){return n===0||e(t,n)||t>n}function d(t,n){return e(t,n)?0:(t||1/0)>(n||1/0)?1:-1}export{d as compareMinScale,s as getExtentForScale,i as getResolutionForScale,a as getResolutionInMetersForScale,r as getScale,o as getScaleForResolution,c as isInScaleRange};
2
+ import{floatEqualAbsolute as e}from"../../core/mathUtils.js";import{getMetersPerUnitForSR as t,inchesPerMeter as n}from"../../core/units.js";function r(e,r){let i=r||e.extent,a=e.width,o=t(i?.spatialReference);return i&&a?i.width/a*o*n*96:0}function i(e,r){return e/(t(r)*n*96)}function a(e){return e/(n*96)}function o(e,r){return e*(t(r)*n*96)}function s(e,t){let n=e.extent,r=e.width-(e.padding?e.padding.left+e.padding.right:0),a=i(t,n.spatialReference);return n.clone().expand(a*r/n.width)}function c(e,t,n){return l(e,t)&&u(e,n)}function l(t,n){return n===0||e(t,n)||t<n}function u(t,n){return n===0||e(t,n)||t>n}function d(t,n){return e(t,n)?0:(t||1/0)>(n||1/0)?1:-1}function f(e,t){return e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale,e}function p(e,t){if(t&&e){let{minScale:n,maxScale:r}=e;if(g(n,r))return h(t,n,r)}return!0}function m(e){return!e?.minScale||!e.maxScale||e.minScale>=e.maxScale}function h(e,t,n){return e==null||e>=n&&(t===0||e<=t)}function g(e,t){return e!=null&&e>0||t!=null&&t>0}export{d as compareMinScale,s as getExtentForScale,i as getResolutionForScale,a as getResolutionInMetersForScale,r as getScale,o as getScaleForResolution,p as isInEffectiveScaleRange,c as isInScaleRange,g as isScaleRangeActive,f as joinScaleRanges,h as scaleBoundsPredicate,m as validateScaleRange};
package/kernel.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import has from"./core/has.js";import{addQueryParameter as e}from"./core/urlUtils.js";Symbol.dispose??=Symbol(`Symbol.dispose`),Symbol.asyncDispose??=Symbol(`Symbol.asyncDispose`);const t=`5.2`;let n=`5.2`;n=`5.2.0-next.146`;let r;function i(e){r=e}function a(t){let n=r?.findCredential(t);return n?.token?e(t,`token`,n.token):t}has(`host-webworker`)||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has(`host-webworker`);export{a as addTokenParameter,n as fullVersion,r as id,i as setId,t as version};
2
+ import has from"./core/has.js";import{addQueryParameter as e}from"./core/urlUtils.js";Symbol.dispose??=Symbol(`Symbol.dispose`),Symbol.asyncDispose??=Symbol(`Symbol.asyncDispose`);const t=`5.2`;let n=`5.2`;n=`5.2.0-next.148`;let r;function i(e){r=e}function a(t){let n=r?.findCredential(t);return n?.token?e(t,`token`,n.token):t}has(`host-webworker`)||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has(`host-webworker`);export{a as addTokenParameter,n as fullVersion,r as id,i as setId,t as version};
@@ -126,6 +126,7 @@ export default abstract class BaseDynamicLayer extends BaseDynamicLayerSuperclas
126
126
  * load: function() {
127
127
  * let promise = this.requiredLayer.load();
128
128
  * this.addResolvingPromise(promise);
129
+ * return Promise.resolve(this);
129
130
  * }
130
131
  * });
131
132
  */
@@ -63,6 +63,7 @@ export interface FetchTileOptions extends AbortOptions {
63
63
  * url: "//elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
64
64
  * });
65
65
  * this.addResolvingPromise(this._elevation.load());
66
+ * return Promise.resolve(this);
66
67
  * },
67
68
  *
68
69
  * fetchTile: function(level, row, col, options) {
@@ -144,6 +145,7 @@ export default abstract class BaseElevationLayer extends BaseElevationLayerSuper
144
145
  * });
145
146
  *
146
147
  * this.addResolvingPromise(this._elevationLayer.load());
148
+ * return Promise.resolve(this);
147
149
  * }
148
150
  * });
149
151
  */
@@ -175,16 +175,18 @@ export interface BaseTileLayerProperties extends LayerProperties, RefreshableLay
175
175
  * ```js
176
176
  * // Override load method
177
177
  * load: function () {
178
- * // multiply property is an array of ArcGIS cached map services
179
- * this.multiply.forEach(function (layer) {
180
- * // loop through each tile layers and call
181
- * // load method on each layer
182
- * let promise = layer.load();
178
+ * // multiply property is an array of ArcGIS cached map services
179
+ * this.multiply.forEach(function (layer) {
180
+ * // loop through each tile layers and call
181
+ * // load method on each layer
182
+ * let promise = layer.load();
183
183
  *
184
- * // add the promise of each load() method to addResolvingPromise()
185
- * // the custom tile layer will be loaded when every promise is resolved
186
- * this.addResolvingPromise(promise);
187
- * }, this);
184
+ * // add the promise of each load() method to addResolvingPromise()
185
+ * // the custom tile layer will be loaded when every promise is resolved
186
+ * this.addResolvingPromise(promise);
187
+ * }, this);
188
+ *
189
+ * return Promise.resolve(this);
188
190
  * }
189
191
  * ```
190
192
  * The layer is responsible for generating the tile URL and fetching tiles from the server for the
@@ -232,6 +234,7 @@ export default abstract class BaseTileLayer extends BaseTileLayerSuperclass {
232
234
  * load: function() {
233
235
  * let promise = this.requiredLayer.load();
234
236
  * this.addResolvingPromise(promise);
237
+ * return Promise.resolve(this);
235
238
  * }
236
239
  * });
237
240
  */
@@ -927,7 +927,7 @@ export default class CSVLayer extends CSVLayerSuperclass {
927
927
  */
928
928
  createPopupTemplate(options?: CreatePopupTemplateOptions): PopupTemplate | null | undefined;
929
929
  /**
930
- * Creates query parameter object that can be used to fetch features from feature-based layers or
930
+ * Creates a query parameter object that can be used to fetch features from feature-based layers or
931
931
  * image footprints from ImageryLayer that satisfy the layer's configurations such as [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/#definitionExpression).
932
932
  * It will return `Z` and `M` values based on the layer's [data capabilities](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/#capabilities).
933
933
  * It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields) property to `["*"]`.
@@ -1228,20 +1228,5 @@ export default class CSVLayer extends CSVLayerSuperclass {
1228
1228
  * ```
1229
1229
  */
1230
1230
  queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number[]>;
1231
- /**
1232
- * Fetches all the data for the layer.
1233
- *
1234
- * @since 4.22
1235
- * @see [refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/#refreshInterval)
1236
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/#event-refresh)
1237
- * @example
1238
- * // update the customParameters for the query then call
1239
- * // refresh method to fetch new features from the csv feed
1240
- * csvLayer.customParameters.limit = 10;
1241
- * csvLayer.refresh();
1242
- * @see [RefreshableLayer.refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refreshInterval)
1243
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
1244
- */
1245
- refresh(): void;
1246
1231
  }
1247
1232
  declare const CSVLayerSuperclass: typeof Layer & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TrackableLayer & typeof TemporalLayer & typeof BlendLayer & typeof FeatureEffectLayer & typeof FeatureReductionLayer & typeof CustomParametersMixin & typeof DisplayFilteredLayer & typeof OrderedLayer
@@ -425,7 +425,7 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
425
425
  */
426
426
  createLayerFromFootprint(footprint: Graphic): Promise<Layer>;
427
427
  /**
428
- * Creates query parameter object that can be used to fetch features from feature-based layers or
428
+ * Creates a query parameter object that can be used to fetch features from feature-based layers or
429
429
  * image footprints from ImageryLayer that satisfy the layer's configurations such as [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#definitionExpression).
430
430
  * It will return `Z` and `M` values based on the layer's [data capabilities](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#capabilities).
431
431
  * It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields) property to `["*"]`.
@@ -347,12 +347,7 @@ export interface FeatureLayerProperties extends LayerProperties, APIKeyMixinProp
347
347
  * If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
348
348
  *
349
349
  * @default 0
350
- * @since 4.6
351
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#refresh)
352
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#event-refresh)
353
- * @example
354
- * // the layer will be refreshed every 1 minute.
355
- * layer.refreshInterval = 1;
350
+ * @see [Sample - GeoJSONLayer with dynamic URL](https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/)
356
351
  * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
357
352
  * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
358
353
  * @example
@@ -1184,12 +1179,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
1184
1179
  * If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
1185
1180
  *
1186
1181
  * @default 0
1187
- * @since 4.6
1188
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#refresh)
1189
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#event-refresh)
1190
- * @example
1191
- * // the layer will be refreshed every 1 minute.
1192
- * layer.refreshInterval = 1;
1182
+ * @see [Sample - GeoJSONLayer with dynamic URL](https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/)
1193
1183
  * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
1194
1184
  * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
1195
1185
  * @example
@@ -1496,7 +1486,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
1496
1486
  */
1497
1487
  createPopupTemplate(options?: CreatePopupTemplateOptions): PopupTemplate | null | undefined;
1498
1488
  /**
1499
- * Creates query parameter object that can be used to fetch features from feature-based layers or
1489
+ * Creates a query parameter object that can be used to fetch features from feature-based layers or
1500
1490
  * image footprints from ImageryLayer that satisfy the layer's configurations such as [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#definitionExpression).
1501
1491
  * It will return `Z` and `M` values based on the layer's [data capabilities](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities).
1502
1492
  * It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields) property to `["*"]`.
@@ -2120,9 +2110,6 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
2120
2110
  * Fetches all the data for the layer. The data is only updated if the `lastEditDate` in the layer's metadata is different from
2121
2111
  * the `lastEditDate` field. If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
2122
2112
  *
2123
- * @since 4.6
2124
- * @see [refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#refreshInterval)
2125
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#event-refresh)
2126
2113
  * @see [RefreshableLayer.refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refreshInterval)
2127
2114
  * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
2128
2115
  */
@@ -277,24 +277,6 @@ export interface GeoJSONLayerProperties extends LayerProperties, PortalLayerProp
277
277
  * });
278
278
  */
279
279
  portalItem?: PortalItemProperties | null;
280
- /**
281
- * Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
282
- *
283
- * @default 0
284
- * @since 4.22
285
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#refresh)
286
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#event-refresh)
287
- * @see [Sample - GeoJSONLayer with dynamic URL](https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/)
288
- * @example
289
- * // the layer will be refreshed every 1 minute.
290
- * layer.refreshInterval = 1;
291
- * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
292
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
293
- * @example
294
- * // the layer will be refreshed every minute.
295
- * layer.refreshInterval = 1;
296
- */
297
- refreshInterval?: number;
298
280
  /**
299
281
  * The renderer assigned to the layer. The renderer defines how to
300
282
  * visualize each feature in the layer. Depending on the renderer type,
@@ -1078,24 +1060,6 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
1078
1060
  */
1079
1061
  get portalItem(): PortalItem | null | undefined;
1080
1062
  set portalItem(value: PortalItemProperties | null | undefined);
1081
- /**
1082
- * Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
1083
- *
1084
- * @default 0
1085
- * @since 4.22
1086
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#refresh)
1087
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#event-refresh)
1088
- * @see [Sample - GeoJSONLayer with dynamic URL](https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/)
1089
- * @example
1090
- * // the layer will be refreshed every 1 minute.
1091
- * layer.refreshInterval = 1;
1092
- * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
1093
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
1094
- * @example
1095
- * // the layer will be refreshed every minute.
1096
- * layer.refreshInterval = 1;
1097
- */
1098
- accessor refreshInterval: number;
1099
1063
  /**
1100
1064
  * The renderer assigned to the layer. The renderer defines how to
1101
1065
  * visualize each feature in the layer. Depending on the renderer type,
@@ -1492,7 +1456,7 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
1492
1456
  */
1493
1457
  createPopupTemplate(options?: CreatePopupTemplateOptions): PopupTemplate | null | undefined;
1494
1458
  /**
1495
- * Creates query parameter object that can be used to fetch features from feature-based layers or
1459
+ * Creates a query parameter object that can be used to fetch features from feature-based layers or
1496
1460
  * image footprints from ImageryLayer that satisfy the layer's configurations such as [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#definitionExpression).
1497
1461
  * It will return `Z` and `M` values based on the layer's [data capabilities](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#capabilities).
1498
1462
  * It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields) property to `["*"]`.
@@ -1791,21 +1755,5 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
1791
1755
  * ```
1792
1756
  */
1793
1757
  queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
1794
- /**
1795
- * Fetches all the data for the layer.
1796
- *
1797
- * @since 4.22
1798
- * @see [refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#refreshInterval)
1799
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/#event-refresh)
1800
- * @see [Sample - GeoJSONLayer with dynamic URL](https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/)
1801
- * @example
1802
- * // update the customParameters for the query then call
1803
- * // refresh method to fetch new features from the geojson
1804
- * geojsonLayer.customParameters.limit = 10;
1805
- * geojsonLayer.refresh();
1806
- * @see [RefreshableLayer.refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refreshInterval)
1807
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
1808
- */
1809
- refresh(): void;
1810
1758
  }
1811
1759
  declare const GeoJSONLayerSuperclass: typeof Layer & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TrackableLayer & typeof TemporalLayer & typeof BlendLayer & typeof FeatureEffectLayer & typeof FeatureReductionLayer & typeof CustomParametersMixin & typeof DisplayFilteredLayer & typeof OrderedLayer
@@ -22,23 +22,6 @@ export interface GeoRSSLayerProperties extends LayerProperties, ScaleRangeLayerP
22
22
  pointSymbol?: (PictureMarkerSymbolProperties & { type: "picture-marker" }) | (SimpleMarkerSymbolProperties & { type: "simple-marker" }) | null;
23
23
  /** Symbol used to represent polygon features from the GeoRSS feed. */
24
24
  polygonSymbol?: (SimpleFillSymbolProperties & { type: "simple-fill" }) | null;
25
- /**
26
- * Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
27
- *
28
- * @default 0
29
- * @since 4.22
30
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#refresh)
31
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#event-refresh)
32
- * @example
33
- * // the layer will be refreshed every 6 minute.
34
- * layer.refreshInterval = 1;
35
- * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
36
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
37
- * @example
38
- * // the layer will be refreshed every minute.
39
- * layer.refreshInterval = 1;
40
- */
41
- refreshInterval?: number;
42
25
  /**
43
26
  * The title of the layer used to identify it in places such as the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/)
44
27
  * and [LayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/).
@@ -97,23 +80,6 @@ export default class GeoRSSLayer extends GeoRSSLayerSuperclass {
97
80
  /** Symbol used to represent polygon features from the GeoRSS feed. */
98
81
  get polygonSymbol(): SimpleFillSymbol | null | undefined;
99
82
  set polygonSymbol(value: (SimpleFillSymbolProperties & { type: "simple-fill" }) | null | undefined);
100
- /**
101
- * Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
102
- *
103
- * @default 0
104
- * @since 4.22
105
- * @see [refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#refresh)
106
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#event-refresh)
107
- * @example
108
- * // the layer will be refreshed every 6 minute.
109
- * layer.refreshInterval = 1;
110
- * @see [RefreshableLayer.refresh()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refresh)
111
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
112
- * @example
113
- * // the layer will be refreshed every minute.
114
- * layer.refreshInterval = 1;
115
- */
116
- accessor refreshInterval: number;
117
83
  /**
118
84
  * The title of the layer used to identify it in places such as the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/)
119
85
  * and [LayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/).
@@ -126,15 +92,5 @@ export default class GeoRSSLayer extends GeoRSSLayerSuperclass {
126
92
  get type(): "geo-rss";
127
93
  /** The URL pointing to a GeoRSS file. This must be publicly available. */
128
94
  accessor url: string | null | undefined;
129
- /**
130
- * Fetches all the data for the layer.
131
- *
132
- * @since 4.22
133
- * @see [refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#refreshInterval)
134
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/#event-refresh)
135
- * @see [RefreshableLayer.refreshInterval](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#refreshInterval)
136
- * @see [refresh event](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/RefreshableLayer/#event-refresh)
137
- */
138
- refresh(): void;
139
95
  }
140
96
  declare const GeoRSSLayerSuperclass: typeof Layer & typeof MultiOriginJSONSupportMixin & typeof ScaleRangeLayer & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof BlendLayer
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import t from"../core/Error.js";import{setDeepValue as n}from"../core/object.js";import{property as r,subclass as i}from"../core/accessorSupport/decorators.js";import a from"../geometry/SpatialReference.js";import o from"../graphic/OrientedImageryGraphicOrigin.js";import s from"./FeatureLayer.js";import{getEffectiveElevationSource as c,parseSequenceOrderFields as l,orientedImageryTypeMap as u,timeIntervalUnitTypeMap as d,verticalMeasurementTypeMap as f,isOrientationAccuracy as p,padAccuracyArray as m}from"./orientedImagery/core/utils.js";import h from"./support/Field.js";import g from"../tables/AttributeTableTemplate.js";import _ from"../time/TimeExtent.js";const v=new Set([`demPathPrefix`,`demPathSuffix`,`depthImagePathPrefix`,`depthImagePathSuffix`,`elevationSource`,`horizontalMeasurementUnit`,`imageGeometryField`,`imageReferenceField`,`referenceIDField`,`sequenceOrderField`,`sequenceOrderFields`,`verticalMeasurementUnit`,`videoPathPrefix`,`videoPathSuffix`,`timeAnimation`,`visibilityTimeExtent`]),y=new Set([`elevationSource`]),b=(e,t)=>!v.has(t)&&e,x=(e,t,n)=>{let r=`orientedImageryProperties.${e}`,i={allowNull:y.has(e),ignoreOrigin:!0};return{name:r,write:t?{...i,target:r,writer:t}:i,read:n?{ignoreOrigin:!0,source:r,reader:n}:{ignoreOrigin:!0}}};function S(e,t,n,r){let{name:i,write:a,read:o}=x(e,t,n),s={name:i,write:a,read:o,origins:{service:{name:`orientedImageryInfo.${i}`,write:t,read:n},"web-scene":{name:i,write:b(a,e),read:b(o,e)},"web-map":{name:i,write:a,read:o}}};return!r||!s.origins?s:(s.type=r,s.origins[`web-map`].type=r,s.origins[`web-scene`].type=r,s)}function C(e,t,r){e?.length&&n(r,e,t)}let w=class extends s{constructor(e){super(e),this.attributeTableTemplate=null,this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType=`point`,this.graphicOrigin=new o(this),this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imageGeometryField=`ImageGeometry`,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageReferenceField=`OIObjectID`,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType=`OrientedImageryLayer`,this.orientationAccuracy=null,this.orientedImageryType=null,this.referenceIDField=`OBJECTID`,this.sequenceOrderField=`SequenceOrder`,this.sequenceOrderFields=[],this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set([`Oriented Imagery Layer`]),this.type=`oriented-imagery`,this.timeIntervalUnit=`days`,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.verticalSearchRange=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.virtualCacheDirectory=null,this.dataStoreID=null,this.imageAccessPaths=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){let{elevationSource:e,demPathPrefix:t,demPathSuffix:n}=this;return c(e,t,n)}get effectiveSequenceOrderField(){let{sequenceOrderField:e,fields:t,sequenceOrderFields:n}=this;return l(e,t,n)}get fieldConfigurations(){return super.fieldConfigurations}set fieldConfigurations(e){super.fieldConfigurations=e}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}findFirstValidLayerId(e){return e.layers?.find(({type:e})=>e?this.supportedSourceTypes.has(e):!1)?.id}_verifySource(){if(super._verifySource(),this.geometryType!==`point`)throw new t(`oriented-imagery-layer:invalid-geometry-type`,`OrientedImageryLayer only supports point geometry type`)}};e([r({type:g,json:{write:!1,read:!1}})],w.prototype,`attributeTableTemplate`,void 0),e([r({type:Number,json:S(`cameraHeading`)})],w.prototype,`cameraHeading`,void 0),e([r({type:Number,json:S(`cameraHeight`)})],w.prototype,`cameraHeight`,void 0),e([r({type:Number,json:S(`cameraPitch`)})],w.prototype,`cameraPitch`,void 0),e([r({type:Number,json:S(`cameraRoll`)})],w.prototype,`cameraRoll`,void 0),e([r({type:Number,json:S(`coveragePercent`)})],w.prototype,`coveragePercent`,void 0),e([r({type:String,json:S(`demPathPrefix`)})],w.prototype,`demPathPrefix`,void 0),e([r({type:String,json:S(`demPathSuffix`)})],w.prototype,`demPathSuffix`,void 0),e([r({type:String,json:S(`depthImagePathPrefix`)})],w.prototype,`depthImagePathPrefix`,void 0),e([r({type:String,json:S(`depthImagePathSuffix`)})],w.prototype,`depthImagePathSuffix`,void 0),e([r({type:Object,json:S(`elevationSource`)})],w.prototype,`elevationSource`,void 0),e([r({readOnly:!0})],w.prototype,`effectiveElevationSource`,null),e([r({readOnly:!0})],w.prototype,`effectiveSequenceOrderField`,null),e([r({type:Number,json:S(`farDistance`)})],w.prototype,`farDistance`,void 0),e([r({type:[h]})],w.prototype,`fields`,void 0),e([r()],w.prototype,`geometryType`,void 0),e([r({readOnly:!0,clonable:!1})],w.prototype,`graphicOrigin`,void 0),e([r({type:Number,json:S(`horizontalFieldOfView`)})],w.prototype,`horizontalFieldOfView`,void 0),e([r({type:String,json:S(`horizontalMeasurementUnit`)})],w.prototype,`horizontalMeasurementUnit`,void 0),e([r({type:String,json:{...S(`imageGeometryField`),default:`ImageGeometry`}})],w.prototype,`imageGeometryField`,void 0),e([r({type:String,json:S(`imagePathPrefix`)})],w.prototype,`imagePathPrefix`,void 0),e([r({type:String,json:S(`imagePathSuffix`)})],w.prototype,`imagePathSuffix`,void 0),e([r({type:String,json:{...S(`imageReferenceField`),default:`OIObjectID`}})],w.prototype,`imageReferenceField`,void 0),e([r({type:Number,json:S(`imageRotation`)})],w.prototype,`imageRotation`,void 0),e([r({type:Number,json:S(`maximumDistance`)})],w.prototype,`maximumDistance`,void 0),e([r({type:Number,json:S(`nearDistance`)})],w.prototype,`nearDistance`,void 0),e([r({type:[`OrientedImageryLayer`],json:{origins:{"portal-item":{name:`layerType`,write:{enabled:!0,ignoreOrigin:!0}}}}})],w.prototype,`operationalLayerType`,void 0),e([r({json:{...S(`orientationAccuracy`,(e,t,r)=>{n(r,e.join(`;`),t)},e=>{let t=e?.split(`;`)?.map(Number);return p(t)?m(t):[0,0,0,0,0,0,0,0]},String)}})],w.prototype,`orientationAccuracy`,void 0),e([r({json:{...S(`orientedImageryType`,u.write,u.read,u.jsonValues.slice(1))}})],w.prototype,`orientedImageryType`,void 0),e([r({type:String,json:{...S(`referenceIDField`),default:`OBJECTID`}})],w.prototype,`referenceIDField`,void 0),e([r({type:String,json:{...S(`sequenceOrderField`),default:`SequenceOrder`}})],w.prototype,`sequenceOrderField`,void 0),e([r({json:{...S(`sequenceOrderFields`,C),default:[]}})],w.prototype,`sequenceOrderFields`,void 0),e([r({type:a})],w.prototype,`spatialReference`,void 0),e([r({readOnly:!0})],w.prototype,`subtypeField`,void 0),e([r({readOnly:!0})],w.prototype,`subtypes`,void 0),e([r({json:{read:!1},value:`oriented-imagery`,readOnly:!0})],w.prototype,`type`,void 0),e([r({type:d.apiValues,json:{...S(`timeIntervalUnit`,d.write,d.read,d.jsonValues)}})],w.prototype,`timeIntervalUnit`,void 0),e([r({type:Number,json:S(`verticalFieldOfView`)})],w.prototype,`verticalFieldOfView`,void 0),e([r({type:f.apiValues,json:{...S(`verticalMeasurementUnit`,f.write,f.read,f.jsonValues)}})],w.prototype,`verticalMeasurementUnit`,void 0),e([r({type:Number,json:S(`verticalSearchRange`)})],w.prototype,`verticalSearchRange`,void 0),e([r({type:String,json:S(`videoPathPrefix`)})],w.prototype,`videoPathPrefix`,void 0),e([r({type:String,json:S(`videoPathSuffix`)})],w.prototype,`videoPathSuffix`,void 0),e([r({type:String,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.orientedImageryProperties.virtualCacheDirectory`,read:!0}}}})],w.prototype,`virtualCacheDirectory`,void 0),e([r({type:String,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.dsid`,read:!0}}}})],w.prototype,`dataStoreID`,void 0),e([r({type:Object,readOnly:!0,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.imageAccessPaths`,read:!0}}}})],w.prototype,`imageAccessPaths`,void 0),e([r({type:_,json:{origins:{"web-scene":{write:!1,read:!1}}}})],w.prototype,`visibilityTimeExtent`,void 0),w=e([i(`esri.layers.OrientedImageryLayer`)],w);const T=w;export{T as default};
2
+ import{__decorate as e}from"tslib";import t from"../core/Error.js";import{setDeepValue as n}from"../core/object.js";import{property as r,subclass as i}from"../core/accessorSupport/decorators.js";import a from"../geometry/SpatialReference.js";import o from"../graphic/OrientedImageryGraphicOrigin.js";import s from"./FeatureLayer.js";import{getEffectiveElevationSource as c,parseSequenceOrderFields as l,orientedImageryTypeMap as u,timeIntervalUnitTypeMap as d,verticalMeasurementTypeMap as f,parseOrientationAccuracy as p}from"./orientedImagery/core/utils.js";import m from"./support/Field.js";import h from"../tables/AttributeTableTemplate.js";import g from"../time/TimeExtent.js";const _=new Set([`demPathPrefix`,`demPathSuffix`,`depthImagePathPrefix`,`depthImagePathSuffix`,`elevationSource`,`horizontalMeasurementUnit`,`imageGeometryField`,`imageReferenceField`,`referenceIDField`,`sequenceOrderField`,`sequenceOrderFields`,`verticalMeasurementUnit`,`videoPathPrefix`,`videoPathSuffix`,`timeAnimation`,`visibilityTimeExtent`]),v=new Set([`elevationSource`]),y=(e,t)=>!_.has(t)&&e,b=(e,t,n)=>{let r=`orientedImageryProperties.${e}`,i={allowNull:v.has(e),ignoreOrigin:!0};return{name:r,write:t?{...i,target:r,writer:t}:i,read:n?{ignoreOrigin:!0,source:r,reader:n}:{ignoreOrigin:!0}}};function x(e,t,n,r){let{name:i,write:a,read:o}=b(e,t,n),s={name:i,write:a,read:o,origins:{service:{name:`orientedImageryInfo.${i}`,write:t,read:n},"web-scene":{name:i,write:y(a,e),read:y(o,e)},"web-map":{name:i,write:a,read:o}}};return!r||!s.origins?s:(s.type=r,s.origins[`web-map`].type=r,s.origins[`web-scene`].type=r,s)}function S(e,t,r){e?.length&&n(r,e,t)}let C=class extends s{constructor(e){super(e),this.attributeTableTemplate=null,this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType=`point`,this.graphicOrigin=new o(this),this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imageGeometryField=`ImageGeometry`,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageReferenceField=`OIObjectID`,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType=`OrientedImageryLayer`,this.orientationAccuracy=null,this.orientedImageryType=null,this.referenceIDField=`OBJECTID`,this.sequenceOrderField=`SequenceOrder`,this.sequenceOrderFields=[],this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set([`Oriented Imagery Layer`]),this.type=`oriented-imagery`,this.timeIntervalUnit=`days`,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.verticalSearchRange=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.virtualCacheDirectory=null,this.dataStoreID=null,this.imageAccessPaths=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){let{elevationSource:e,demPathPrefix:t,demPathSuffix:n}=this;return c(e,t,n)}get effectiveSequenceOrderField(){let{sequenceOrderField:e,fields:t,sequenceOrderFields:n}=this;return l(e,t,n)}get fieldConfigurations(){return super.fieldConfigurations}set fieldConfigurations(e){super.fieldConfigurations=e}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}findFirstValidLayerId(e){return e.layers?.find(({type:e})=>e?this.supportedSourceTypes.has(e):!1)?.id}_verifySource(){if(super._verifySource(),this.geometryType!==`point`)throw new t(`oriented-imagery-layer:invalid-geometry-type`,`OrientedImageryLayer only supports point geometry type`)}};e([r({type:h,json:{write:!1,read:!1}})],C.prototype,`attributeTableTemplate`,void 0),e([r({type:Number,json:x(`cameraHeading`)})],C.prototype,`cameraHeading`,void 0),e([r({type:Number,json:x(`cameraHeight`)})],C.prototype,`cameraHeight`,void 0),e([r({type:Number,json:x(`cameraPitch`)})],C.prototype,`cameraPitch`,void 0),e([r({type:Number,json:x(`cameraRoll`)})],C.prototype,`cameraRoll`,void 0),e([r({type:Number,json:x(`coveragePercent`)})],C.prototype,`coveragePercent`,void 0),e([r({type:String,json:x(`demPathPrefix`)})],C.prototype,`demPathPrefix`,void 0),e([r({type:String,json:x(`demPathSuffix`)})],C.prototype,`demPathSuffix`,void 0),e([r({type:String,json:x(`depthImagePathPrefix`)})],C.prototype,`depthImagePathPrefix`,void 0),e([r({type:String,json:x(`depthImagePathSuffix`)})],C.prototype,`depthImagePathSuffix`,void 0),e([r({type:Object,json:x(`elevationSource`)})],C.prototype,`elevationSource`,void 0),e([r({readOnly:!0})],C.prototype,`effectiveElevationSource`,null),e([r({readOnly:!0})],C.prototype,`effectiveSequenceOrderField`,null),e([r({type:Number,json:x(`farDistance`)})],C.prototype,`farDistance`,void 0),e([r({type:[m]})],C.prototype,`fields`,void 0),e([r()],C.prototype,`geometryType`,void 0),e([r({readOnly:!0,clonable:!1})],C.prototype,`graphicOrigin`,void 0),e([r({type:Number,json:x(`horizontalFieldOfView`)})],C.prototype,`horizontalFieldOfView`,void 0),e([r({type:String,json:x(`horizontalMeasurementUnit`)})],C.prototype,`horizontalMeasurementUnit`,void 0),e([r({type:String,json:{...x(`imageGeometryField`),default:`ImageGeometry`}})],C.prototype,`imageGeometryField`,void 0),e([r({type:String,json:x(`imagePathPrefix`)})],C.prototype,`imagePathPrefix`,void 0),e([r({type:String,json:x(`imagePathSuffix`)})],C.prototype,`imagePathSuffix`,void 0),e([r({type:String,json:{...x(`imageReferenceField`),default:`OIObjectID`}})],C.prototype,`imageReferenceField`,void 0),e([r({type:Number,json:x(`imageRotation`)})],C.prototype,`imageRotation`,void 0),e([r({type:Number,json:x(`maximumDistance`)})],C.prototype,`maximumDistance`,void 0),e([r({type:Number,json:x(`nearDistance`)})],C.prototype,`nearDistance`,void 0),e([r({type:[`OrientedImageryLayer`],json:{origins:{"portal-item":{name:`layerType`,write:{enabled:!0,ignoreOrigin:!0}}}}})],C.prototype,`operationalLayerType`,void 0),e([r({json:{...x(`orientationAccuracy`,(e,t,r)=>{n(r,e.join(`;`),t)},e=>p(e)??[0,0,0,0,0,0,0,0],String)}})],C.prototype,`orientationAccuracy`,void 0),e([r({json:{...x(`orientedImageryType`,u.write,u.read,u.jsonValues.slice(1))}})],C.prototype,`orientedImageryType`,void 0),e([r({type:String,json:{...x(`referenceIDField`),default:`OBJECTID`}})],C.prototype,`referenceIDField`,void 0),e([r({type:String,json:{...x(`sequenceOrderField`),default:`SequenceOrder`}})],C.prototype,`sequenceOrderField`,void 0),e([r({json:{...x(`sequenceOrderFields`,S),default:[]}})],C.prototype,`sequenceOrderFields`,void 0),e([r({type:a})],C.prototype,`spatialReference`,void 0),e([r({readOnly:!0})],C.prototype,`subtypeField`,void 0),e([r({readOnly:!0})],C.prototype,`subtypes`,void 0),e([r({json:{read:!1},value:`oriented-imagery`,readOnly:!0})],C.prototype,`type`,void 0),e([r({type:d.apiValues,json:{...x(`timeIntervalUnit`,d.write,d.read,d.jsonValues)}})],C.prototype,`timeIntervalUnit`,void 0),e([r({type:Number,json:x(`verticalFieldOfView`)})],C.prototype,`verticalFieldOfView`,void 0),e([r({type:f.apiValues,json:{...x(`verticalMeasurementUnit`,f.write,f.read,f.jsonValues)}})],C.prototype,`verticalMeasurementUnit`,void 0),e([r({type:Number,json:x(`verticalSearchRange`)})],C.prototype,`verticalSearchRange`,void 0),e([r({type:String,json:x(`videoPathPrefix`)})],C.prototype,`videoPathPrefix`,void 0),e([r({type:String,json:x(`videoPathSuffix`)})],C.prototype,`videoPathSuffix`,void 0),e([r({type:String,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.orientedImageryProperties.virtualCacheDirectory`,read:!0}}}})],C.prototype,`virtualCacheDirectory`,void 0),e([r({type:String,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.dsid`,read:!0}}}})],C.prototype,`dataStoreID`,void 0),e([r({type:Object,readOnly:!0,json:{read:!1,write:!1,origins:{service:{name:`orientedImageryInfo.imageAccessPaths`,read:!0}}}})],C.prototype,`imageAccessPaths`,void 0),e([r({type:g,json:{origins:{"web-scene":{write:!1,read:!1}}}})],C.prototype,`visibilityTimeExtent`,void 0),C=e([i(`esri.layers.OrientedImageryLayer`)],C);const w=C;export{w as default};