@arcgis/core 4.28.0-next.20230818 → 4.28.0-next.20230821

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 (200) hide show
  1. package/arcade/functions/centroid.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/003744a45b07865f1be9.js +1 -0
  4. package/assets/esri/core/workers/chunks/034accc7cab6c88a3b31.js +1 -0
  5. package/assets/esri/core/workers/chunks/05ab09713d599687afa3.js +1 -0
  6. package/assets/esri/core/workers/chunks/{3724f23b6f5ac8ec2568.js → 12b8fe0374fa9ab4ca09.js} +1 -1
  7. package/assets/esri/core/workers/chunks/16d1a72014074e87ecb9.js +1 -0
  8. package/assets/esri/core/workers/chunks/{e4b6565c16430b28ad93.js → 19857e5420cdf23c5f2e.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{1a804dea42c0fb5e5c07.js → 1bab408eaffd2c18976d.js} +1 -1
  10. package/assets/esri/core/workers/chunks/201365f53509e3f78e17.js +1 -0
  11. package/assets/esri/core/workers/chunks/{2031451b82ff70fb201a.js → 2f48f4a9a0a056ac5e1c.js} +1 -1
  12. package/assets/esri/core/workers/chunks/318b51fdee09c1fd750f.js +1 -0
  13. package/assets/esri/core/workers/chunks/{5b799dc155adeb728c74.js → 3361e3e8385f8de8820c.js} +1 -1
  14. package/assets/esri/core/workers/chunks/3ce1870c28ab6ac3648e.js +1 -0
  15. package/assets/esri/core/workers/chunks/41929e4531787389804b.js +1 -0
  16. package/assets/esri/core/workers/chunks/{55ac725127c5ea9fb942.js → 4e39252f40bc57be9d12.js} +1 -1
  17. package/assets/esri/core/workers/chunks/4e496b03ce24b1206f86.js +1 -0
  18. package/assets/esri/core/workers/chunks/{ee5f17c1790dc07f9d9e.js → 50455c84131b634ca6b4.js} +1 -1
  19. package/assets/esri/core/workers/chunks/54513578f735d274a20e.js +1 -0
  20. package/assets/esri/core/workers/chunks/{d46f8ef92e79d12384c9.js → 587437526ea77f764986.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{ab720e2f0a35138564b2.js → 5ffabd1a90c5b08109aa.js} +1 -1
  22. package/assets/esri/core/workers/chunks/6108d72faf48a592c8ba.js +1 -0
  23. package/assets/esri/core/workers/chunks/6479439afae01f9bb5e6.js +1 -0
  24. package/assets/esri/core/workers/chunks/69306dfc89e877539223.js +1 -0
  25. package/assets/esri/core/workers/chunks/6db4a6f9d25691830829.js +1 -0
  26. package/assets/esri/core/workers/chunks/{61393fd3376ea599a447.js → 76e27cece1559ae815df.js} +1 -1
  27. package/assets/esri/core/workers/chunks/81526909c0fa11639038.js +1 -0
  28. package/assets/esri/core/workers/chunks/873111ddf4813cdd4903.js +1 -0
  29. package/assets/esri/core/workers/chunks/8d4f1170394a8be15da9.js +1 -0
  30. package/assets/esri/core/workers/chunks/8d8bdfda09c24e363f78.js +1 -0
  31. package/assets/esri/core/workers/chunks/9b54b5bdb6367c36f6e9.js +1 -0
  32. package/assets/esri/core/workers/chunks/b2752e038c5fa3c21e49.js +1 -0
  33. package/assets/esri/core/workers/chunks/{dd3b7cfc6f78552249a4.js → b78dc6cbe14e5817b4d9.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{e31d0c7363cbceeb5ac9.js → c35b850fbfcb28133235.js} +1 -1
  35. package/assets/esri/core/workers/chunks/c83e1be4ee64320cf2fe.js +1 -0
  36. package/assets/esri/core/workers/chunks/c88869d2a647c22dc3e6.js +1 -0
  37. package/assets/esri/core/workers/chunks/cb0a5bc6deaa98026bb5.js +1 -0
  38. package/assets/esri/core/workers/chunks/{767467738aeabec14abd.js → d0c4367a197b193e95d4.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{f113141e254505116b82.js → d1cc2c050423595e54e0.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{7f34945036495ad7c3f8.js → d2a8bf2d090b94cb294b.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{08af7f7f1950a59a8e47.js → d6c96a20e9640b433719.js} +4 -4
  42. package/assets/esri/core/workers/chunks/da5453e67d00ff546640.js +1 -0
  43. package/assets/esri/core/workers/chunks/daa79c14150c12d8bc3d.js +1 -0
  44. package/assets/esri/core/workers/chunks/ef03b78659c72de93076.js +1 -0
  45. package/assets/esri/core/workers/chunks/{c3cace5b25b5170228ba.js → f2fe89b6ac6bf6817e71.js} +1 -1
  46. package/assets/esri/core/workers/chunks/f3554627664a419e00fa.js +1 -0
  47. package/assets/esri/themes/base/_core.scss +2 -0
  48. package/assets/esri/themes/base/widgets/_DirectionalPad.scss +76 -0
  49. package/assets/esri/themes/base/widgets/_Editor.scss +65 -4
  50. package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +97 -39
  51. package/assets/esri/themes/dark/main.css +1 -1
  52. package/assets/esri/themes/light/main.css +1 -1
  53. package/assets/esri/themes/light/view.css +1 -1
  54. package/assets/esri/widgets/DirectionalPad/t9n/DirectionalPad.json +1 -0
  55. package/assets/esri/widgets/DirectionalPad/t9n/DirectionalPad_en.json +1 -0
  56. package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
  57. package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
  58. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-caps/butt.png +0 -0
  59. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-caps/round.png +0 -0
  60. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-caps/square.png +0 -0
  61. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/dash-dot.png +0 -0
  62. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/dash.png +0 -0
  63. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/dot.png +0 -0
  64. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/long-dash-dot-dot.png +0 -0
  65. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/long-dash-dot.png +0 -0
  66. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/long-dash.png +0 -0
  67. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/short-dash-dot-dot.png +0 -0
  68. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/short-dash-dot.png +0 -0
  69. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/short-dash.png +0 -0
  70. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/short-dot.png +0 -0
  71. package/assets/esri/widgets/UtilityNetworkAssociations/assets/img/line-patterns/solid.png +0 -0
  72. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations.json +1 -1
  73. package/assets/esri/widgets/UtilityNetworkAssociations/t9n/UtilityNetworkAssociations_en.json +1 -1
  74. package/chunks/HighlightBlur.glsl.js +3 -3
  75. package/chunks/HighlightDownsample.glsl.js +24 -6
  76. package/chunks/SSAO.glsl.js +2 -2
  77. package/core/timeUtils.js +1 -1
  78. package/interfaces.d.ts +182 -2
  79. package/intl/date.js +1 -1
  80. package/layers/FeatureLayer.js +1 -1
  81. package/layers/ImageryLayer.js +1 -1
  82. package/layers/ImageryTileLayer.js +1 -1
  83. package/layers/StreamLayer.js +1 -1
  84. package/layers/SubtypeGroupLayer.js +1 -1
  85. package/layers/VoxelWasmPerSceneView.js +1 -1
  86. package/layers/graphics/sources/support/uploads.js +1 -1
  87. package/layers/mixins/ArcGISImageService.js +1 -1
  88. package/layers/mixins/ImageryTileMixin.js +1 -1
  89. package/layers/save/featureLayerUtils.js +1 -1
  90. package/layers/save/imageryUtils.js +1 -1
  91. package/layers/save/streamLayerUtils.js +1 -1
  92. package/libs/maquette-advanced-projector/utils.js +1 -1
  93. package/package.json +1 -1
  94. package/popup/support/FieldInfoFormat.js +1 -1
  95. package/portal/PortalItem.js +1 -1
  96. package/support/revision.js +1 -1
  97. package/views/2d/navigation/MapViewNavigation.js +1 -1
  98. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  99. package/views/3d/externalRenderers/ExternalRendererStore.js +1 -1
  100. package/views/3d/layers/i3s/PointRenderer.js +1 -1
  101. package/views/3d/support/LaserLineRenderer.js +1 -1
  102. package/views/3d/terrain/OverlayRenderer.js +1 -1
  103. package/views/3d/terrain/TerrainRenderer.js +1 -1
  104. package/views/3d/terrain/TerrainSurface.js +1 -1
  105. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  106. package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
  107. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  108. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  109. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  110. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  111. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  112. package/views/3d/webgl-engine/lib/GLMaterialRepository.js +1 -1
  113. package/views/3d/webgl-engine/lib/GLMaterials.js +1 -1
  114. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  115. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  116. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  117. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  118. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  119. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  120. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  121. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  122. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  123. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  124. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  125. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  126. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  127. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  128. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  129. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  130. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  131. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  132. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  133. package/views/3d/webgl-engine/shaders/HighlightDownsample.glsl.js +1 -1
  134. package/views/draw/DrawGraphicTool.js +1 -1
  135. package/views/draw/DrawOperation.js +1 -1
  136. package/views/interactive/sketch/constraints.js +1 -1
  137. package/views/interactive/sketch/normalizedPoint.js +1 -1
  138. package/views/interactive/snapping/SnappingManager.js +1 -1
  139. package/views/interactive/snapping/candidates/IntersectionSnappingCandidate.js +1 -1
  140. package/views/interactive/tooltip/TooltipEditableField.js +1 -1
  141. package/views/interactive/tooltip/TooltipEditableFieldAngle.js +1 -1
  142. package/views/interactive/tooltip/constraintUtils.js +5 -0
  143. package/views/support/angularMeasurementUtils.js +1 -1
  144. package/widgets/Compass/CompassViewModel.js +1 -1
  145. package/widgets/Compass/utils.js +5 -0
  146. package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +4 -0
  147. package/widgets/DirectionalPad/DirectionalPadViewModel.js +5 -0
  148. package/widgets/DirectionalPad/VisibleElements.js +5 -0
  149. package/widgets/DirectionalPad/constants.js +5 -0
  150. package/widgets/DirectionalPad/css.js +5 -0
  151. package/widgets/DirectionalPad/utils.js +5 -0
  152. package/widgets/DirectionalPad.d.ts +4 -0
  153. package/widgets/DirectionalPad.js +5 -0
  154. package/widgets/Editor/EditorViewModel.js +1 -1
  155. package/widgets/Editor/Upload.js +1 -1
  156. package/widgets/Editor/components/CreateFeaturesPanelContent.js +1 -1
  157. package/widgets/Editor/components/UploadDetails.js +1 -1
  158. package/widgets/Editor/modelUploadUtils.js +1 -1
  159. package/widgets/Editor.js +1 -1
  160. package/widgets/ElevationProfile/support/chartUtils.js +1 -1
  161. package/widgets/ElevationProfile.js +1 -1
  162. package/widgets/Feature/FeatureViewModel.js +1 -1
  163. package/widgets/Feature/support/featureUtils.js +1 -1
  164. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  165. package/widgets/FeatureForm/FieldInput.js +1 -1
  166. package/widgets/FeatureForm/FormExpressionsManager.js +1 -1
  167. package/widgets/FeatureForm/InputBase.js +1 -1
  168. package/widgets/FeatureForm.js +1 -1
  169. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsLineSymbolPicker.js +5 -0
  170. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  171. package/widgets/UtilityNetworkAssociations/VisibleElements.js +5 -0
  172. package/widgets/UtilityNetworkAssociations/VisibleElementsSettingsPane.js +5 -0
  173. package/widgets/UtilityNetworkAssociations.js +1 -1
  174. package/assets/esri/core/workers/chunks/11abbbf97093b55e2417.js +0 -1
  175. package/assets/esri/core/workers/chunks/1b2a081f2c3b97ba7e00.js +0 -1
  176. package/assets/esri/core/workers/chunks/235f333177ed7ea21e01.js +0 -1
  177. package/assets/esri/core/workers/chunks/3725dd14c2da0f47198f.js +0 -1
  178. package/assets/esri/core/workers/chunks/39467e1da18924cfb9b6.js +0 -1
  179. package/assets/esri/core/workers/chunks/42595c4870c673ed451c.js +0 -1
  180. package/assets/esri/core/workers/chunks/481cdd2a4bc40c6fef66.js +0 -1
  181. package/assets/esri/core/workers/chunks/54893132e70c515ea7e3.js +0 -1
  182. package/assets/esri/core/workers/chunks/6509a4198972b323d9b6.js +0 -1
  183. package/assets/esri/core/workers/chunks/68598d2806d4aa3d8acc.js +0 -1
  184. package/assets/esri/core/workers/chunks/718d2e8ea61f3b7b70c5.js +0 -1
  185. package/assets/esri/core/workers/chunks/7bce4b5eec630ef57f1e.js +0 -1
  186. package/assets/esri/core/workers/chunks/81df7304f97d1fc3ba16.js +0 -1
  187. package/assets/esri/core/workers/chunks/8706dc9f852df9b2095d.js +0 -1
  188. package/assets/esri/core/workers/chunks/8ef26aac0fe7feb8c324.js +0 -1
  189. package/assets/esri/core/workers/chunks/91e61da22f258d9e86c5.js +0 -1
  190. package/assets/esri/core/workers/chunks/9f039bf79b34d8fd75ae.js +0 -1
  191. package/assets/esri/core/workers/chunks/a1f3352301472e4b8956.js +0 -1
  192. package/assets/esri/core/workers/chunks/a20fd9e7db37b3c3b041.js +0 -1
  193. package/assets/esri/core/workers/chunks/aa83dce42d64034a0a13.js +0 -1
  194. package/assets/esri/core/workers/chunks/c8c8471b59700914ee9d.js +0 -1
  195. package/assets/esri/core/workers/chunks/cdcf0a5e05283d37b3ac.js +0 -1
  196. package/assets/esri/core/workers/chunks/d4f9106bf2ea5d66d96a.js +0 -1
  197. package/assets/esri/core/workers/chunks/e6bfbc4347fa13db4df2.js +0 -1
  198. package/assets/esri/core/workers/chunks/f1d5487f2d828fb142ba.js +0 -1
  199. package/assets/esri/core/workers/chunks/f97f165d05439e668e05.js +0 -1
  200. package/assets/esri/core/workers/chunks/fe973d8155c22d73a4f9.js +0 -1
@@ -0,0 +1 @@
1
+ {"widgetLabel":"Directional Pad","northWest":"North West","north":"North","northEast":"North East","east":"East","southEast":"South East","south":"South","southWest":"South West","west":"West","heading":"Heading","resetHeading":"Reset heading","unsupported":"Directional Pad is only supported in MapView."}
@@ -0,0 +1 @@
1
+ {"widgetLabel":"Directional Pad","northWest":"North West","north":"North","northEast":"North East","east":"East","southEast":"South East","south":"South","southWest":"South West","west":"West","heading":"Heading","resetHeading":"Reset heading","unsupported":"Directional Pad is only supported in MapView."}
@@ -1 +1 @@
1
- {"add":"Add","addAttachment":"Add attachment","addFeature":"Add feature","attachments":"Attachments","attachmentsButtonLabel":"Attachments","cancelAddTitle":"Discard feature","cancelAddWarningMessage":"This feature will be lost.","cancelEditTitle":"Discard edits","cancelEditWarningMessage":"Updates to this feature will be lost.","cancelRequestTitle":"Cancel workflow","cancelRequestWarningMessage":"A request has been made to cancel this workflow.","cancelUploadTitle":"Cancel upload","cancelUploadWarningMessage":"The current upload will be canceled and the model will be lost.","clickToFinishTemplate":"Click {button} to finish.","continueAdding":"Continue adding","continueEditing":"Continue editing","continueUpload":"Continue upload","createFeature":"Create feature","createFeatures":"Create features","createFeaturesTemplate":"Create ({numFeatures})","deleteAttachmentWarningMessage":"This attachment will be permanently removed.","deleteAttachmentWarningTitle":"Delete attachment","deleteWarningMessage":"This feature will be permanently removed.","deleteWarningTitle":"Delete feature","discardEdits":"Discard edits","discardFeature":"Discard feature","discardUpload":"Cancel upload","edit":"Edit","editAttachment":"Manage attachment","editFeature":"Edit feature","editFeatures":"Edit features","editing":"Editing","errorWarningMessageTemplate":"Edits could not be saved: {errorMessage}","errorWarningTitle":"Something went wrong","featureAttachments":"Feature attachments","formFieldCreateError":"Features cannot be created. There is an issue with the form.","formFieldUpdateError":"Feature cannot be updated. There is an issue with the form.","formFieldUnsupportedCreateError":"Features cannot be created. Layer contains unsupported fields.","formFieldUnsupportedUpdateError":"Feature cannot be updated. Layer contains unsupported fields.","helpMessages2d":{"select":"Click on the map to select a feature.","mesh":"","meshTooClose":"","meshTooFar":"","meshUnderground":"","point":"Click on the map to add a point.","polygonOneVertex":"Click on the map to continue drawing.","polygonTwoVertices":"Double-click on the map to complete.","polygonZeroVertices":"Click on the map to start drawing.","polylineOneVertex":"Double-click on the map to complete.","polylineZeroVertices":"Click on the map to start drawing."},"helpMessages3d":{"select":"Click in the scene to select a feature.","mesh":"Click in the scene to place the model.","meshTooClose":"Zoom out for a better view of the model.","meshTooFar":"Zoom in for a better view of the model.","meshUnderground":"Move underground for a better view of the model.","point":"Click in the scene to add a point.","polygonOneVertex":"Click in the scene to continue drawing.","polygonTwoVertices":"Double-click in the scene to complete.","polygonZeroVertices":"Click in the scene to start drawing.","polylineOneVertex":"Double-click in the scene to complete.","polylineZeroVertices":"Click in the scene to start drawing."},"ignore":"Ignore","keepAttachment":"Keep attachment","keepFeature":"Keep feature","multipleFeaturesTemplate":"Multiple features ({total})","noEditableLayers":"No editable layers found.","ownerAdminNotice":"Editing is disabled but you have privileges to edit this layer.","placeFeature":"Place feature","placeFeatureOnMap":"Place feature on map.","retry":"Retry","selectFeature":"Select feature","selectFeatureToEdit":"Select a feature to edit it.","selectTemplate":"Select feature type","snapping":"Snapping","snappingSettings":"Snapping Settings","untitledFeatureTemplate":"Untitled Feature {id}","uploadError":"There was an error uploading the model.","uploadPending":"Uploading...","warning":"Notice","widgetLabel":"Editor"}
1
+ {"add":"Add","addAttachment":"Add attachment","addFeature":"Add feature","attachments":"Attachments","attachmentsButtonLabel":"Attachments","cancelAddTitle":"Discard feature","cancelAddWarningMessage":"This feature will be lost.","cancelEditTitle":"Discard edits","cancelEditWarningMessage":"Updates to this feature will be lost.","cancelRequestTitle":"Cancel workflow","cancelRequestWarningMessage":"A request has been made to cancel this workflow.","cancelUploadTitle":"Cancel upload","cancelUploadWarningMessage":"The current upload will be canceled and the model will be lost.","clickToFinishTemplate":"Click {button} to finish.","continueAdding":"Continue adding","continueEditing":"Continue editing","continueUpload":"Continue upload","createFeature":"Create feature","createFeatures":"Create features","createFeaturesTemplate":"Create ({numFeatures})","deleteAttachmentWarningMessage":"This attachment will be permanently removed.","deleteAttachmentWarningTitle":"Delete attachment","deleteWarningMessage":"This feature will be permanently removed.","deleteWarningTitle":"Delete feature","discardEdits":"Discard edits","discardFeature":"Discard feature","discardUpload":"Cancel upload","edit":"Edit","editAttachment":"Manage attachment","editFeature":"Edit feature","editFeatures":"Edit features","editing":"Editing","errorWarningMessageTemplate":"Edits could not be saved: {errorMessage}","errorWarningTitle":"Something went wrong","featureAttachments":"Feature attachments","formFieldCreateError":"Features cannot be created. There is an issue with the form.","formFieldUpdateError":"Feature cannot be updated. There is an issue with the form.","formFieldUnsupportedCreateError":"Features cannot be created. Layer contains unsupported fields.","formFieldUnsupportedUpdateError":"Feature cannot be updated. Layer contains unsupported fields.","helpMessages2d":{"select":"Click on the map to select a feature.","mesh":"","meshTooClose":"","meshTooFar":"","meshUnderground":"","point":"Click on the map to add a point.","polygonOneVertex":"Click on the map to continue drawing.","polygonTwoVertices":"Double-click on the map to complete.","polygonZeroVertices":"Click on the map to start drawing.","polylineOneVertex":"Double-click on the map to complete.","polylineZeroVertices":"Click on the map to start drawing."},"helpMessages3d":{"select":"Click in the scene to select a feature.","mesh":"Click in the scene to place the model.","meshTooClose":"Zoom out for a better view of the model.","meshTooFar":"Zoom in for a better view of the model.","meshUnderground":"Move underground for a better view of the model.","point":"Click in the scene to add a point.","polygonOneVertex":"Click in the scene to continue drawing.","polygonTwoVertices":"Double-click in the scene to complete.","polygonZeroVertices":"Click in the scene to start drawing.","polylineOneVertex":"Double-click in the scene to complete.","polylineZeroVertices":"Click in the scene to start drawing."},"ignore":"Ignore","keepAttachment":"Keep attachment","keepFeature":"Keep feature","multipleFeaturesTemplate":"Multiple features ({total})","noEditableLayers":"No editable layers found.","ownerAdminNotice":"Editing is disabled but you have privileges to edit this layer.","placeFeature":"Place feature","placeFeatureOnMap":"Place feature on map.","retry":"Retry","selectFeature":"Select feature","selectFeatureToEdit":"Select a feature to edit it.","selectTemplate":"Select feature type","snapping":"Snapping","snappingSettings":"Snapping Settings","untitledFeatureTemplate":"Untitled Feature {id}","uploadError":"Failed to upload","uploadErrorDescription":"There was an error uploading the model.","uploadPending":"Uploading...","uploadPendingDescription":"The model is being uploaded and prepared for display in the scene.","uploadSuccess":"Uploaded successfully","warning":"Notice","widgetLabel":"Editor"}
@@ -1 +1 @@
1
- {"add":"Add","addAttachment":"Add attachment","addFeature":"Add feature","attachments":"Attachments","attachmentsButtonLabel":"Attachments","cancelAddTitle":"Discard feature","cancelAddWarningMessage":"This feature will be lost.","cancelEditTitle":"Discard edits","cancelEditWarningMessage":"Updates to this feature will be lost.","cancelRequestTitle":"Cancel workflow","cancelRequestWarningMessage":"A request has been made to cancel this workflow.","cancelUploadTitle":"Cancel upload","cancelUploadWarningMessage":"The current upload will be canceled and the model will be lost.","clickToFinishTemplate":"Click {button} to finish.","continueAdding":"Continue adding","continueEditing":"Continue editing","continueUpload":"Continue upload","createFeature":"Create feature","createFeatures":"Create features","createFeaturesTemplate":"Create ({numFeatures})","deleteAttachmentWarningMessage":"This attachment will be permanently removed.","deleteAttachmentWarningTitle":"Delete attachment","deleteWarningMessage":"This feature will be permanently removed.","deleteWarningTitle":"Delete feature","discardEdits":"Discard edits","discardFeature":"Discard feature","discardUpload":"Cancel upload","edit":"Edit","editAttachment":"Manage attachment","editFeature":"Edit feature","editFeatures":"Edit features","editing":"Editing","errorWarningMessageTemplate":"Edits could not be saved: {errorMessage}","errorWarningTitle":"Something went wrong","featureAttachments":"Feature attachments","formFieldCreateError":"Features cannot be created. There is an issue with the form.","formFieldUpdateError":"Feature cannot be updated. There is an issue with the form.","formFieldUnsupportedCreateError":"Features cannot be created. Layer contains unsupported fields.","formFieldUnsupportedUpdateError":"Feature cannot be updated. Layer contains unsupported fields.","helpMessages2d":{"select":"Click on the map to select a feature.","mesh":"","meshTooClose":"","meshTooFar":"","meshUnderground":"","point":"Click on the map to add a point.","polygonOneVertex":"Click on the map to continue drawing.","polygonTwoVertices":"Double-click on the map to complete.","polygonZeroVertices":"Click on the map to start drawing.","polylineOneVertex":"Double-click on the map to complete.","polylineZeroVertices":"Click on the map to start drawing."},"helpMessages3d":{"select":"Click in the scene to select a feature.","mesh":"Click in the scene to place the model.","meshTooClose":"Zoom out for a better view of the model.","meshTooFar":"Zoom in for a better view of the model.","meshUnderground":"Move underground for a better view of the model.","point":"Click in the scene to add a point.","polygonOneVertex":"Click in the scene to continue drawing.","polygonTwoVertices":"Double-click in the scene to complete.","polygonZeroVertices":"Click in the scene to start drawing.","polylineOneVertex":"Double-click in the scene to complete.","polylineZeroVertices":"Click in the scene to start drawing."},"ignore":"Ignore","keepAttachment":"Keep attachment","keepFeature":"Keep feature","multipleFeaturesTemplate":"Multiple features ({total})","noEditableLayers":"No editable layers found.","ownerAdminNotice":"Editing is disabled but you have privileges to edit this layer.","placeFeature":"Place feature","placeFeatureOnMap":"Place feature on map.","retry":"Retry","selectFeature":"Select feature","selectFeatureToEdit":"Select a feature to edit it.","selectTemplate":"Select feature type","snapping":"Snapping","snappingSettings":"Snapping Settings","untitledFeatureTemplate":"Untitled Feature {id}","uploadError":"There was an error uploading the model.","uploadPending":"Uploading...","warning":"Notice","widgetLabel":"Editor"}
1
+ {"add":"Add","addAttachment":"Add attachment","addFeature":"Add feature","attachments":"Attachments","attachmentsButtonLabel":"Attachments","cancelAddTitle":"Discard feature","cancelAddWarningMessage":"This feature will be lost.","cancelEditTitle":"Discard edits","cancelEditWarningMessage":"Updates to this feature will be lost.","cancelRequestTitle":"Cancel workflow","cancelRequestWarningMessage":"A request has been made to cancel this workflow.","cancelUploadTitle":"Cancel upload","cancelUploadWarningMessage":"The current upload will be canceled and the model will be lost.","clickToFinishTemplate":"Click {button} to finish.","continueAdding":"Continue adding","continueEditing":"Continue editing","continueUpload":"Continue upload","createFeature":"Create feature","createFeatures":"Create features","createFeaturesTemplate":"Create ({numFeatures})","deleteAttachmentWarningMessage":"This attachment will be permanently removed.","deleteAttachmentWarningTitle":"Delete attachment","deleteWarningMessage":"This feature will be permanently removed.","deleteWarningTitle":"Delete feature","discardEdits":"Discard edits","discardFeature":"Discard feature","discardUpload":"Cancel upload","edit":"Edit","editAttachment":"Manage attachment","editFeature":"Edit feature","editFeatures":"Edit features","editing":"Editing","errorWarningMessageTemplate":"Edits could not be saved: {errorMessage}","errorWarningTitle":"Something went wrong","featureAttachments":"Feature attachments","formFieldCreateError":"Features cannot be created. There is an issue with the form.","formFieldUpdateError":"Feature cannot be updated. There is an issue with the form.","formFieldUnsupportedCreateError":"Features cannot be created. Layer contains unsupported fields.","formFieldUnsupportedUpdateError":"Feature cannot be updated. Layer contains unsupported fields.","helpMessages2d":{"select":"Click on the map to select a feature.","mesh":"","meshTooClose":"","meshTooFar":"","meshUnderground":"","point":"Click on the map to add a point.","polygonOneVertex":"Click on the map to continue drawing.","polygonTwoVertices":"Double-click on the map to complete.","polygonZeroVertices":"Click on the map to start drawing.","polylineOneVertex":"Double-click on the map to complete.","polylineZeroVertices":"Click on the map to start drawing."},"helpMessages3d":{"select":"Click in the scene to select a feature.","mesh":"Click in the scene to place the model.","meshTooClose":"Zoom out for a better view of the model.","meshTooFar":"Zoom in for a better view of the model.","meshUnderground":"Move underground for a better view of the model.","point":"Click in the scene to add a point.","polygonOneVertex":"Click in the scene to continue drawing.","polygonTwoVertices":"Double-click in the scene to complete.","polygonZeroVertices":"Click in the scene to start drawing.","polylineOneVertex":"Double-click in the scene to complete.","polylineZeroVertices":"Click in the scene to start drawing."},"ignore":"Ignore","keepAttachment":"Keep attachment","keepFeature":"Keep feature","multipleFeaturesTemplate":"Multiple features ({total})","noEditableLayers":"No editable layers found.","ownerAdminNotice":"Editing is disabled but you have privileges to edit this layer.","placeFeature":"Place feature","placeFeatureOnMap":"Place feature on map.","retry":"Retry","selectFeature":"Select feature","selectFeatureToEdit":"Select a feature to edit it.","selectTemplate":"Select feature type","snapping":"Snapping","snappingSettings":"Snapping Settings","untitledFeatureTemplate":"Untitled Feature {id}","uploadError":"Failed to upload","uploadErrorDescription":"There was an error uploading the model.","uploadPending":"Uploading...","uploadPendingDescription":"The model is being uploaded and prepared for display in the scene.","uploadSuccess":"Uploaded successfully","warning":"Notice","widgetLabel":"Editor"}
@@ -1 +1 @@
1
- {"widgetLabel":"Associations","input":{"enableAssociations":"View associations","enableConnectivity":"Connectivity associations","enableStructuralAttachment":"Structural attachment associations","maxAllowableAssociations":"Maximum allowable associations","refreshAssociations":"Refresh associations"},"info":{"maxAllowableAssociationsExceeded":"Zoom in to a smaller area or change the value of the 'Maximum allowable associations' option.","noAssociationsFound":"There are no associations in the current extent.","noUtilityNetwork":"A utility network was not provided. The widget must be initialized with a utility network.","noView":"A view was not provided. The widget must be initialized with a view."}}
1
+ {"widgetLabel":"Associations","input":{"enableAssociations":"View associations","enableConnectivity":"Connectivity associations","enableStructuralAttachment":"Structural attachment associations","lineCap":"Cap","lineColor":"Color","lineStyle":"Style","lineWidth":"Width","maxAllowableAssociations":"Maximum allowable associations","refreshAssociations":"Refresh associations","showArrows":"Show Arrows"},"info":{"maxAllowableAssociationsExceeded":"Zoom in to a smaller area or change the value of the 'Maximum allowable associations' option.","noAssociationsFound":"There are no associations in the current extent.","noUtilityNetwork":"A utility network was not provided. The widget must be initialized with a utility network.","noView":"A view was not provided. The widget must be initialized with a view."}}
@@ -1 +1 @@
1
- {"widgetLabel":"Associations","input":{"enableAssociations":"View associations","enableConnectivity":"Connectivity associations","enableStructuralAttachment":"Structural attachment associations","maxAllowableAssociations":"Maximum allowable associations","refreshAssociations":"Refresh associations"},"info":{"maxAllowableAssociationsExceeded":"Zoom in to a smaller area or change the value of the 'Maximum allowable associations' option.","noAssociationsFound":"There are no associations in the current extent.","noUtilityNetwork":"A utility network was not provided. The widget must be initialized with a utility network.","noView":"A view was not provided. The widget must be initialized with a view."}}
1
+ {"widgetLabel":"Associations","input":{"enableAssociations":"View associations","enableConnectivity":"Connectivity associations","enableStructuralAttachment":"Structural attachment associations","lineCap":"Cap","lineColor":"Color","lineStyle":"Style","lineWidth":"Width","maxAllowableAssociations":"Maximum allowable associations","refreshAssociations":"Refresh associations","showArrows":"Show Arrows"},"info":{"maxAllowableAssociationsExceeded":"Zoom in to a smaller area or change the value of the 'Maximum allowable associations' option.","noAssociationsFound":"There are no associations in the current extent.","noUtilityNetwork":"A utility network was not provided. The widget must be initialized with a utility network.","noView":"A view was not provided. The widget must be initialized with a view."}}
@@ -2,14 +2,14 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.28/esri/copyright.txt for details.
4
4
  */
5
- import{a as e}from"./vec2f64.js";import{Float2DrawUniform as r}from"../views/3d/webgl-engine/core/shaderModules/Float2DrawUniform.js";import{NoParameters as o,glsl as t}from"../views/3d/webgl-engine/core/shaderModules/interfaces.js";import{ShaderBuilder as i}from"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js";import{Texture2DDrawUniform as u}from"../views/3d/webgl-engine/core/shaderModules/Texture2DDrawUniform.js";import{Texture2DPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{VertexAttribute as n}from"../views/3d/webgl-engine/lib/VertexAttribute.js";class d extends o{constructor(){super(...arguments),this.blurSize=e()}}function a(){const e=new i,{attributes:o,varyings:d,vertex:a,fragment:l}=e;return o.add(n.POSITION,"vec2"),o.add(n.UV0,"vec2"),d.add("blurCoordinate","vec3"),a.uniforms.add(new s("coverageTex",(e=>e.coverageTexture))),l.uniforms.add(new r("blurSize",(e=>e.blurSize))),a.code.add(t`void main() {
5
+ import{a as e}from"./vec2f64.js";import{Float2DrawUniform as r}from"../views/3d/webgl-engine/core/shaderModules/Float2DrawUniform.js";import{NoParameters as o,glsl as t}from"../views/3d/webgl-engine/core/shaderModules/interfaces.js";import{ShaderBuilder as i}from"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js";import{Texture2DDrawUniform as u}from"../views/3d/webgl-engine/core/shaderModules/Texture2DDrawUniform.js";import{Texture2DPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{VertexAttribute as n}from"../views/3d/webgl-engine/lib/VertexAttribute.js";class a extends o{constructor(){super(...arguments),this.blurSize=e()}}function d(){const e=new i,{attributes:o,varyings:a,vertex:d,fragment:l}=e;return o.add(n.POSITION,"vec2"),o.add(n.UV0,"vec2"),a.add("blurCoordinate","vec3"),d.uniforms.add(new s("coverageTex",(e=>e.coverageTexture))),d.code.add(t`void main() {
6
6
  gl_Position = vec4(position, 0.0, 1.0);
7
7
  vec4 cov = texture(coverageTex, uv0);
8
8
  if (cov.r == 0.0) {
9
9
  gl_Position = vec4(0.0);
10
10
  }
11
11
  blurCoordinate = vec3(gl_Position.xy * 0.5 + vec2(0.5), cov.g);
12
- }`),l.uniforms.add(new u("tex",(e=>e.blurInputTexture))),l.code.add(t`void main() {
12
+ }`),l.uniforms.add(new r("blurSize",(e=>e.blurSize)),new u("tex",(e=>e.blurInputTexture))),l.code.add(t`void main() {
13
13
  vec2 uv = blurCoordinate.xy;
14
14
  vec4 center = texture(tex, uv);
15
15
  if (blurCoordinate.z == 1.0) {
@@ -23,4 +23,4 @@ sum += texture(tex, uv + blurSize * 3.294215) * 0.093913;
23
23
  sum += texture(tex, uv - blurSize * 3.294215) * 0.093913;
24
24
  fragColor = sum;
25
25
  }
26
- }`),e}const l=Object.freeze(Object.defineProperty({__proto__:null,HighlightBlurDrawParameters:d,build:a},Symbol.toStringTag,{value:"Module"}));export{d as H,l as a,a as b};
26
+ }`),e}const l=Object.freeze(Object.defineProperty({__proto__:null,HighlightBlurDrawParameters:a,build:d},Symbol.toStringTag,{value:"Module"}));export{a as H,l as a,d as b};
@@ -2,9 +2,27 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.28/esri/copyright.txt for details.
4
4
  */
5
- import{a as e}from"./vec2f64.js";import{ScreenSpacePass as r}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Float2DrawUniform as o}from"../views/3d/webgl-engine/core/shaderModules/Float2DrawUniform.js";import{NoParameters as a,glsl as i}from"../views/3d/webgl-engine/core/shaderModules/interfaces.js";import{ShaderBuilder as s}from"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js";import{Texture2DDrawUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Texture2DDrawUniform.js";class t extends a{constructor(){super(...arguments),this.invFramebufferDim=e()}}function d(){const e=new s,{outputs:a,fragment:t}=e;return e.include(r),t.uniforms.add(new n("tex",(e=>e.inputTexture)),new o("invFramebufferDim",(e=>e.invFramebufferDim))),a.add("fragGrid","vec2"),t.code.add(i`void main() {
6
- vec2 coord = gl_FragCoord.xy * invFramebufferDim;
7
- vec4 value = texture(tex, coord);
8
- float mx = floor(max(value.g, value.b));
9
- fragGrid = vec2(ceil(value.r), mx);
10
- }`),e}const l=Object.freeze(Object.defineProperty({__proto__:null,HighlightDownsampleDrawParameters:t,build:d},Symbol.toStringTag,{value:"Module"}));export{t as H,l as a,d as b};
5
+ import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{NoParameters as r,glsl as t}from"../views/3d/webgl-engine/core/shaderModules/interfaces.js";import{ShaderBuilder as o}from"../views/3d/webgl-engine/core/shaderModules/ShaderBuilder.js";import{Texture2DDrawUniform as a}from"../views/3d/webgl-engine/core/shaderModules/Texture2DDrawUniform.js";class n extends r{}function i(){const r=new o,{outputs:n,fragment:i}=r;return r.include(e),i.uniforms.add(new a("textureInput",(e=>e.input))),n.add("fragGrid","vec2"),i.code.add(t`
6
+ void main() {
7
+ float red = 0.0;
8
+ float green = 1.0;
9
+ vec2 texelSize = 1.0 / vec2(textureSize(textureInput, 0));
10
+ vec2 offset = gl_FragCoord.xy * texelSize * vec2(${t.float(d)});
11
+
12
+ for(int x = 0; x < ${t.int(l)}; ++x) {
13
+ for(int y = 0; y < ${t.int(l)}; ++y) {
14
+ vec2 coord = offset +
15
+ 2.0 * vec2(float(x) - ${t.float(s)}, float(y) - ${t.float(s)}) *
16
+ texelSize;
17
+ vec4 value = texture(textureInput, coord);
18
+ float mx = floor(max(value.g, value.b));
19
+ red = max(red, ceil(value.r));
20
+ green = min(green, mx);
21
+ if(red == 1.0 && green == 0.0) {
22
+ fragGrid = vec2(red, green);
23
+ return;
24
+ }
25
+ }
26
+ }
27
+ fragGrid = vec2(red, green);
28
+ }`),r}const d=32,l=d/2,s=(l-1)/2,f=Object.freeze(Object.defineProperty({__proto__:null,GRID_CELL_PIXEL_SIZE:d,HighlightDownsampleDrawParameters:n,build:i},Symbol.toStringTag,{value:"Module"}));export{d as G,n as H,f as a,i as b};
@@ -40,7 +40,7 @@ return fallOffFunction(vv, vn, 0.1);
40
40
  return;
41
41
  }
42
42
 
43
- vec3 currentPixelPos = reconstructPosition(gl_FragCoord.xy,currentPixelDepth);
43
+ vec3 currentPixelPos = reconstructPosition(gl_FragCoord.xy, currentPixelDepth);
44
44
 
45
45
  // get the normal of current fragment
46
46
  vec4 norm4 = texture(normalMap, uv);
@@ -76,7 +76,7 @@ return fallOffFunction(vv, vn, 0.1);
76
76
 
77
77
  tapPixelPos = reconstructPosition(tc, occluderFragmentDepth);
78
78
 
79
- sum+= aoValueFromPositionsAndNormal(currentPixelPos, norm, tapPixelPos);
79
+ sum += aoValueFromPositionsAndNormal(currentPixelPos, norm, tapPixelPos);
80
80
  }
81
81
 
82
82
  // output the result
package/core/timeUtils.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.28/esri/copyright.txt for details.
4
4
  */
5
- import{resolveTimeZone as e}from"../intl/date.js";import{DateTime as t,IANAZone as n,SystemZone as s}from"luxon";const r={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function o(e,n,s,r="system"){const o=T(r),c=t.fromJSDate(e,{zone:o}),i="decades"===s||"centuries"===s?"year":g(s);return"decades"===s&&(n*=10),"centuries"===s&&(n*=100),c.plus({[i]:n}).toJSDate()}function c(e,t,n="milliseconds"){const s=e.getTime(),r=m(t,n,"milliseconds");return new Date(s+r)}function i(e,n,s="system"){const r=T(s),o=t.fromJSDate(e,{zone:r});if("decades"===n||"centuries"===n){const e=o.startOf("year"),{year:t}=e,s=t-t%("decades"===n?10:100);return e.set({year:s}).toJSDate()}const c=g(n);return o.startOf(c).toJSDate()}function u(e,t,n="milliseconds"){const s=new Date(m(t,n,"milliseconds"));return s.setUTCFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),s}function a(e,t="milliseconds"){const n=m(e.getUTCHours(),"hours","milliseconds"),s=m(e.getUTCMinutes(),"minutes","milliseconds"),r=m(e.getUTCSeconds(),"seconds","milliseconds");return m(n+s+r+e.getUTCMilliseconds(),"milliseconds",t)}function l(e,t){const n=new Date(e.getTime());return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n}function d(e){const t=new Date(0);return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t}function m(e,t,n){if(0===e)return 0;return e*r[t]/r[n]}function f(e){return e instanceof Date&&!isNaN(e.getTime())}function g(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}function T(t){const r=e(t);return r?new n(r):s.instance}export{m as convertTime,f as isValidDate,u as makeUTCTime,o as offsetDate,c as offsetDateUTC,l as resetUTCDate,a as timeSinceUTCMidnight,i as truncateDate,d as truncateLocalTime};
5
+ import{resolveTimeZone as e}from"../intl/date.js";import{IANAZone as t,DateTime as s}from"luxon";const n={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function r(n,r,o,c="system"){const i=new t(e(c)),u=s.fromJSDate(n,{zone:i}),a="decades"===o||"centuries"===o?"year":f(o);return"decades"===o&&(r*=10),"centuries"===o&&(r*=100),u.plus({[a]:r}).toJSDate()}function o(e,t,s="milliseconds"){const n=e.getTime(),r=d(t,s,"milliseconds");return new Date(n+r)}function c(n,r,o="system"){const c=new t(e(o)),i=s.fromJSDate(n,{zone:c});if("decades"===r||"centuries"===r){const e=i.startOf("year"),{year:t}=e,s=t-t%("decades"===r?10:100);return e.set({year:s}).toJSDate()}const u=f(r);return i.startOf(u).toJSDate()}function i(e,t,s="milliseconds"){const n=new Date(d(t,s,"milliseconds"));return n.setUTCFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n}function u(e,t="milliseconds"){const s=d(e.getUTCHours(),"hours","milliseconds"),n=d(e.getUTCMinutes(),"minutes","milliseconds"),r=d(e.getUTCSeconds(),"seconds","milliseconds");return d(s+n+r+e.getUTCMilliseconds(),"milliseconds",t)}function a(e,t){const s=new Date(e.getTime());return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s}function l(e){const t=new Date(0);return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t}function d(e,t,s){if(0===e)return 0;return e*n[t]/n[s]}function m(e){return e instanceof Date&&!isNaN(e.getTime())}function f(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}export{d as convertTime,m as isValidDate,i as makeUTCTime,r as offsetDate,o as offsetDateUTC,a as resetUTCDate,u as timeSinceUTCMidnight,c as truncateDate,l as truncateLocalTime};
package/interfaces.d.ts CHANGED
@@ -13395,7 +13395,7 @@ declare namespace __esri {
13395
13395
  visibilityMode?: "independent" | "inherited" | "exclusive";
13396
13396
  }
13397
13397
 
13398
- export interface ImageryLayer extends Layer, ArcGISImageService, PortalLayer, RefreshableLayer, ScaleRangeLayer, TemporalLayer, BlendLayer {
13398
+ export interface ImageryLayer extends Layer, ArcGISImageService, PortalLayer, RefreshableLayer, ScaleRangeLayer, TemporalLayer, BlendLayer, Clonable {
13399
13399
  }
13400
13400
 
13401
13401
  export class ImageryLayer {
@@ -13737,7 +13737,7 @@ declare namespace __esri {
13737
13737
  dataChanged: boolean;
13738
13738
  }
13739
13739
 
13740
- export interface ImageryTileLayer extends Layer, ImageryTileMixin, PortalLayer, ScaleRangeLayer, BlendLayer {
13740
+ export interface ImageryTileLayer extends Layer, ImageryTileMixin, PortalLayer, ScaleRangeLayer, BlendLayer, Clonable {
13741
13741
  }
13742
13742
 
13743
13743
  export class ImageryTileLayer {
@@ -84714,6 +84714,7 @@ declare namespace __esri {
84714
84714
  * Indicates the style of the BasemapLayerList.
84715
84715
  *
84716
84716
  * @default classic
84717
+ * @deprecated since version 4.28.
84717
84718
  *
84718
84719
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#style)
84719
84720
  */
@@ -84812,6 +84813,7 @@ declare namespace __esri {
84812
84813
  * Indicates the style of the BasemapLayerList.
84813
84814
  *
84814
84815
  * @default classic
84816
+ * @deprecated since version 4.28.
84815
84817
  *
84816
84818
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#style)
84817
84819
  */
@@ -87000,6 +87002,176 @@ declare namespace __esri {
87000
87002
  shadowsToggle?: boolean;
87001
87003
  }
87002
87004
 
87005
+ export class DirectionalPad extends Widget {
87006
+ /**
87007
+ * When `true`, sets the widget to a disabled state so the user cannot interact with it.
87008
+ *
87009
+ * @default false
87010
+ *
87011
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#disabled)
87012
+ */
87013
+ disabled: boolean;
87014
+ /**
87015
+ * The widget's default CSS icon class.
87016
+ *
87017
+ * @deprecated since 4.27. Use {@link module:esri/widgets/BasemapGallery#icon icon} instead.
87018
+ *
87019
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#iconClass)
87020
+ */
87021
+ iconClass: string;
87022
+ /**
87023
+ * The view which the directional pad will control.
87024
+ *
87025
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#view)
87026
+ */
87027
+ view: MapView;
87028
+ /**
87029
+ * The view model for the DirectionalPad widget.
87030
+ *
87031
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#viewModel)
87032
+ */
87033
+ viewModel: DirectionalPadViewModel;
87034
+ /**
87035
+ * The visible elements that are displayed within the widget.
87036
+ *
87037
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#visibleElements)
87038
+ */
87039
+ visibleElements: DirectionalPadVisibleElements;
87040
+ /**
87041
+ * Determines the size of directional pad buttons and the slider.
87042
+ *
87043
+ * @default 's'
87044
+ *
87045
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#visualScale)
87046
+ */
87047
+ readonly visualScale: "s" | "m" | "l";
87048
+ /**
87049
+ * A directional pad (D-Pad) widget can be used to control the position and rotation of the map.
87050
+ *
87051
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html)
87052
+ */
87053
+ constructor(properties?: DirectionalPadProperties);
87054
+ }
87055
+
87056
+ interface DirectionalPadProperties extends WidgetProperties {
87057
+ /**
87058
+ * When `true`, sets the widget to a disabled state so the user cannot interact with it.
87059
+ *
87060
+ * @default false
87061
+ *
87062
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#disabled)
87063
+ */
87064
+ disabled?: boolean;
87065
+ /**
87066
+ * The widget's default CSS icon class.
87067
+ *
87068
+ * @deprecated since 4.27. Use {@link module:esri/widgets/BasemapGallery#icon icon} instead.
87069
+ *
87070
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#iconClass)
87071
+ */
87072
+ iconClass?: string;
87073
+ /**
87074
+ * The view which the directional pad will control.
87075
+ *
87076
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#view)
87077
+ */
87078
+ view?: MapViewProperties;
87079
+ /**
87080
+ * The view model for the DirectionalPad widget.
87081
+ *
87082
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#viewModel)
87083
+ */
87084
+ viewModel?: DirectionalPadViewModelProperties;
87085
+ /**
87086
+ * The visible elements that are displayed within the widget.
87087
+ *
87088
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#visibleElements)
87089
+ */
87090
+ visibleElements?: DirectionalPadVisibleElements;
87091
+ }
87092
+
87093
+ export class DirectionalPadViewModel extends Accessor {
87094
+ /**
87095
+ * The closest angle among 8 available that matches the current mouse position relative to widget center.
87096
+ *
87097
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#angle)
87098
+ */
87099
+ readonly angle: number | undefined;
87100
+ /**
87101
+ * When `true`, sets the d-pad to a disabled state so the user cannot interact with it.
87102
+ *
87103
+ * @default false
87104
+ *
87105
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#disabled)
87106
+ */
87107
+ disabled: boolean;
87108
+ /**
87109
+ * The angle of rotation of the map.
87110
+ *
87111
+ * @default 0
87112
+ *
87113
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#rotation)
87114
+ */
87115
+ rotation: number;
87116
+ /**
87117
+ * The state of the view model.
87118
+ *
87119
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#state)
87120
+ */
87121
+ readonly state: "disabled" | "ready" | "moving";
87122
+ /**
87123
+ * Provides the logic for the [DirectionalPad](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html) widget.
87124
+ *
87125
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html)
87126
+ */
87127
+ constructor(properties?: DirectionalPadViewModelProperties);
87128
+ }
87129
+
87130
+ interface DirectionalPadViewModelProperties {
87131
+ /**
87132
+ * When `true`, sets the d-pad to a disabled state so the user cannot interact with it.
87133
+ *
87134
+ * @default false
87135
+ *
87136
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#disabled)
87137
+ */
87138
+ disabled?: boolean;
87139
+ /**
87140
+ * The angle of rotation of the map.
87141
+ *
87142
+ * @default 0
87143
+ *
87144
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad-DirectionalPadViewModel.html#rotation)
87145
+ */
87146
+ rotation?: number;
87147
+ }
87148
+
87149
+ /**
87150
+ * The visible elements that are displayed within the widget.
87151
+ *
87152
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#VisibleElements)
87153
+ */
87154
+ export interface DirectionalPadVisibleElements {
87155
+ /**
87156
+ * Indicates whether to display the directional pad buttons.
87157
+ *
87158
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#VisibleElements)
87159
+ */
87160
+ directionalButtons?: boolean;
87161
+ /**
87162
+ * Indicates whether to display the map rotation slider.
87163
+ *
87164
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#VisibleElements)
87165
+ */
87166
+ rotationSlider?: boolean;
87167
+ /**
87168
+ * Indicates whether to display the button to reset the rotation angle.
87169
+ *
87170
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html#VisibleElements)
87171
+ */
87172
+ rotationResetButton?: boolean;
87173
+ }
87174
+
87003
87175
  export interface Directions extends Widget, GoTo {
87004
87176
  }
87005
87177
 
@@ -88735,6 +88907,12 @@ declare namespace __esri {
88735
88907
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureCreation)
88736
88908
  */
88737
88909
  startCreateFeaturesWorkflowAtFeatureCreation(creationInfo: CreationInfo): Promise<void>;
88910
+ /**
88911
+ * This method starts the [CreateFeaturesWorkflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflow.html) at the "creating-features" step with the provided feature.
88912
+ *
88913
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#startCreateFeaturesWorkflowAtFeatureEdit)
88914
+ */
88915
+ startCreateFeaturesWorkflowAtFeatureEdit(params: any): Promise<void>;
88738
88916
  /**
88739
88917
  * Initiates the [CreateFeaturesWorkflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateFeaturesWorkflow.html) by displaying the [FeatureTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTemplates.html) panel.
88740
88918
  *
@@ -96023,6 +96201,7 @@ declare namespace __esri {
96023
96201
  * Indicates the style of the LayerList.
96024
96202
  *
96025
96203
  * @default classic
96204
+ * @deprecated since version 4.28.
96026
96205
  *
96027
96206
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#style)
96028
96207
  */
@@ -96101,6 +96280,7 @@ declare namespace __esri {
96101
96280
  * Indicates the style of the LayerList.
96102
96281
  *
96103
96282
  * @default classic
96283
+ * @deprecated since version 4.28.
96104
96284
  *
96105
96285
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#style)
96106
96286
  */
package/intl/date.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.28/esri/copyright.txt for details.
4
4
  */
5
- import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as o,getLocale as e}from"./locale.js";import{DateTime as r}from"luxon";const n={year:void 0,month:void 0,day:void 0,weekday:void 0},a={hour:void 0,minute:void 0,second:void 0},h={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},m={timeZone:"Etc/UTC"},i={year:"numeric",month:"numeric",day:"numeric"},s={year:"numeric",month:"long",day:"numeric"},l={year:"numeric",month:"short",day:"numeric"},y={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},g={...d,second:"numeric"},u={"short-date":i,"short-date-short-time":{...i,...d},"short-date-short-time-24":{...i,...d,hour12:!1},"short-date-long-time":{...i,...g},"short-date-long-time-24":{...i,...g,hour12:!1},"short-date-le":i,"short-date-le-short-time":{...i,...d},"short-date-le-short-time-24":{...i,...d,hour12:!1},"short-date-le-long-time":{...i,...g},"short-date-le-long-time-24":{...i,...g,hour12:!1},"long-month-day-year":s,"long-month-day-year-short-time":{...s,...d},"long-month-day-year-short-time-24":{...s,...d,hour12:!1},"long-month-day-year-long-time":{...s,...g},"long-month-day-year-long-time-24":{...s,...g,hour12:!1},"day-short-month-year":l,"day-short-month-year-short-time":{...l,...d},"day-short-month-year-short-time-24":{...l,...d,hour12:!1},"day-short-month-year-long-time":{...l,...g},"day-short-month-year-long-time-24":{...l,...g,hour12:!1},"long-date":y,"long-date-short-time":{...y,...d},"long-date-short-time-24":{...y,...d,hour12:!1},"long-date-long-time":{...y,...g},"long-date-long-time-24":{...y,...g,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":g},c=t()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),T={ar:"ar-u-nu-latn-ca-gregory"};let D=new WeakMap;const S=u["short-date-short-time"];function L(t){let o=D.get(t);if(!o){const r=e(),n=T[r]||r,a=v(t.timeZone??"system"),h={...t,timeZone:a};o=new Intl.DateTimeFormat(n,h),D.set(t,o)}return o}function M(t){return u[t]}function f(t,o=S){return L(o).format(t)}function Y(t,o=S){return f(new Date(t),{...o,...m,...a})}function w(t,o=S){return f(new Date(`1970-01-01T${t}Z`),{...o,...m,...n})}function p(t,o=S){const n=r.fromISO(t,{setZone:!0}),a=e(),m=T[a]??a;return n.toLocaleString({...h,...o},{locale:m})}function v(t){switch(t){case"system":return;case"unknown":return"UTC";default:return t}}o((()=>{D=new WeakMap}));export{M as convertDateFormatToIntlOptions,c as dateFormatJSONMap,f as formatDate,Y as formatDateOnly,w as formatTimeOnly,p as formatTimestamp,L as getDateTimeFormatter,v as resolveTimeZone,m as utcTimeZone};
5
+ import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as o,getLocale as e}from"./locale.js";import{DateTime as r}from"luxon";const n={year:void 0,month:void 0,day:void 0,weekday:void 0},a={hour:void 0,minute:void 0,second:void 0},h=Intl.DateTimeFormat().resolvedOptions().timeZone,m={timeZone:"UTC"},i={year:"numeric",month:"numeric",day:"numeric"},s={year:"numeric",month:"long",day:"numeric"},l={year:"numeric",month:"short",day:"numeric"},y={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},g={...d,second:"numeric"},u={"short-date":i,"short-date-short-time":{...i,...d},"short-date-short-time-24":{...i,...d,hour12:!1},"short-date-long-time":{...i,...g},"short-date-long-time-24":{...i,...g,hour12:!1},"short-date-le":i,"short-date-le-short-time":{...i,...d},"short-date-le-short-time-24":{...i,...d,hour12:!1},"short-date-le-long-time":{...i,...g},"short-date-le-long-time-24":{...i,...g,hour12:!1},"long-month-day-year":s,"long-month-day-year-short-time":{...s,...d},"long-month-day-year-short-time-24":{...s,...d,hour12:!1},"long-month-day-year-long-time":{...s,...g},"long-month-day-year-long-time-24":{...s,...g,hour12:!1},"day-short-month-year":l,"day-short-month-year-short-time":{...l,...d},"day-short-month-year-short-time-24":{...l,...d,hour12:!1},"day-short-month-year-long-time":{...l,...g},"day-short-month-year-long-time-24":{...l,...g,hour12:!1},"long-date":y,"long-date-short-time":{...y,...d},"long-date-short-time-24":{...y,...d,hour12:!1},"long-date-long-time":{...y,...g},"long-date-long-time-24":{...y,...g,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":g},c=t()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),T={ar:"ar-u-nu-latn-ca-gregory"};let D=new WeakMap;const S=u["short-date-short-time"];function L(t){let o=D.get(t);if(!o){const r=e(),n=T[r]||r,a=v(t);o=new Intl.DateTimeFormat(n,a),D.set(t,o)}return o}function f(t){return u[t]}function M(t,o=S){return L(o).format(t)}function Y(t,o=S){return M(new Date(t),{...o,...m,...a})}function w(t,o=S){return M(new Date(`1970-01-01T${t}Z`),{...o,...m,...n})}function p(t,o=S){const n=r.fromISO(t,{setZone:!0}),a=e(),h=T[a]??a,m=v(o);return n.toLocaleString(m,{locale:h})}function v(t){const o=Z(t.timeZone??"system");return{...t,timeZone:o}}function Z(t){switch(t){case"system":return h;case"unknown":return"UTC";default:return t}}o((()=>{D=new WeakMap}));export{f as convertDateFormatToIntlOptions,c as dateFormatJSONMap,M as formatDate,Y as formatDateOnly,w as formatTimeOnly,p as formatTimestamp,L as getDateTimeFormatter,Z as resolveTimeZone,m as utcTimeZone};