@arcgis/core 4.33.0-next.20250425 → 4.33.0-next.20250427

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 (83) hide show
  1. package/WebLinkChart.js +1 -1
  2. package/WebScene.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/{d696abbb1b13ac1a689b.js → 345993291540433d3d92.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{db5913824d5e5a2a8365.js → 360c8cff7c3b25d2b2d2.js} +1 -1
  6. package/assets/esri/core/workers/chunks/73f9c3a74a815baa239c.js +1 -0
  7. package/assets/esri/core/workers/chunks/76575d2c1c56e37c1315.js +319 -0
  8. package/assets/esri/core/workers/chunks/{f2cef954b58c6604642c.js → 87dcfbbcf290e0fa5c0f.js} +160 -167
  9. package/assets/esri/core/workers/chunks/91acd69dcf7dac109017.js +1 -0
  10. package/assets/esri/core/workers/chunks/{265f69d153b7b6f07e42.js → 92836e3a2c5226296fec.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{75a04b073231da70c18d.js → d44e99b4bb1cec6a922b.js} +1 -1
  12. package/assets/esri/themes/base/_core.scss +2 -0
  13. package/assets/esri/themes/base/widgets/_Legend.scss +64 -0
  14. package/assets/esri/themes/base/widgets/_OrientedImageryViewerNavigationUI.scss +77 -0
  15. package/assets/esri/themes/dark/main.css +1 -1
  16. package/assets/esri/themes/light/main.css +1 -1
  17. package/assets/esri/themes/light/view.css +1 -1
  18. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  19. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  20. package/chunks/boundedPlane.js +1 -1
  21. package/geometry/support/boundedPlane.js +1 -1
  22. package/interfaces.d.ts +328 -65
  23. package/layers/KnowledgeGraphLayer.js +1 -1
  24. package/layers/LinkChartLayer.js +1 -1
  25. package/layers/ogc/wfsUtils.js +1 -1
  26. package/layers/orientedImagery/transformations/utils.js +1 -1
  27. package/package.json +1 -1
  28. package/smartMapping/renderers/size.js +1 -1
  29. package/smartMapping/renderers/support/spikeUtils.js +1 -1
  30. package/support/revision.js +1 -1
  31. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  32. package/views/3d/analysis/Slice/SliceController.js +1 -1
  33. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  34. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  35. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  36. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  37. package/views/3d/layers/graphics/pipeline/FeatureProcessingContext.js +5 -0
  38. package/views/3d/layers/graphics/pipeline/PipelineCommand.js +1 -1
  39. package/views/3d/layers/graphics/pipeline/symbolization/Factory.js +1 -1
  40. package/views/3d/layers/graphics/pipeline/symbolization/SimpleFeatureRenderer.js +1 -1
  41. package/views/3d/layers/graphics/pipeline/symbolization/TestObjectSymbol.js +1 -1
  42. package/views/3d/layers/graphics/pipeline/symbolization/TestSymbol.js +1 -1
  43. package/views/3d/layers/graphics/pipeline/symbolization/UniqueValueFeatureRenderer.js +1 -1
  44. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  45. package/views/3d/support/ViewSlice.js +5 -0
  46. package/views/3d/webgl-engine/core/shaderLibrary/shading/AnalyticalSkyModel.glsl.js +3 -6
  47. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +15 -15
  48. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +0 -9
  49. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  50. package/views/3d/webgl-engine/lib/SliceHelper.js +1 -1
  51. package/views/3d/webgl-engine/shaders/BlackLevelLightSoftCompression.glsl.js +10 -0
  52. package/views/SceneView.js +1 -1
  53. package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
  54. package/webscene/types.d.ts +5 -0
  55. package/webscene/types.js +5 -0
  56. package/widgets/ElevationProfile/ElevationProfileController.js +1 -1
  57. package/widgets/Legend/styles/card/SizeRamp.js +1 -1
  58. package/widgets/Legend/styles/classic/SizeRamp.js +1 -1
  59. package/widgets/Legend/styles/support/sizeRampUtils.js +5 -0
  60. package/widgets/Legend/styles/support/univariateUtils.js +1 -1
  61. package/widgets/Legend/styles/support/utils.js +1 -1
  62. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  63. package/widgets/Legend/support/sizeRampUtils.js +1 -1
  64. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  65. package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.js +1 -1
  66. package/widgets/OrientedImageryViewer/components/NavigationNode.js +5 -0
  67. package/widgets/OrientedImageryViewer/components/NavigationUI.js +5 -0
  68. package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +5 -0
  69. package/widgets/OrientedImageryViewer/components/imageNavigationUtils.js +5 -0
  70. package/widgets/OrientedImageryViewer/css.js +1 -1
  71. package/widgets/OrientedImageryViewer/utils.js +1 -1
  72. package/widgets/OrientedImageryViewer.js +1 -1
  73. package/widgets/ShadowCast/DiscreteOptions.d.ts +4 -0
  74. package/widgets/ShadowCast/DiscreteOptions.js +1 -1
  75. package/widgets/ShadowCast/DurationOptions.d.ts +4 -0
  76. package/widgets/ShadowCast/DurationOptions.js +1 -1
  77. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  78. package/widgets/ShadowCast/ThresholdOptions.d.ts +4 -0
  79. package/widgets/ShadowCast/ThresholdOptions.js +1 -1
  80. package/widgets/TimeZoneLabel.js +1 -1
  81. package/assets/esri/core/workers/chunks/7c7ff11246479382974c.js +0 -1
  82. package/assets/esri/core/workers/chunks/b53300b46646cfad2526.js +0 -319
  83. package/assets/esri/core/workers/chunks/bd0dbad694ce5531deab.js +0 -1
@@ -1 +1 @@
1
- {"title":"Oriented imagery viewer","currentFootprint":"Current footprint","accuracy":"Accuracy","accuracyInformation":"Accuracy is calculated using the Orientation Accuracy property defined in the oriented imagery layer's service.","additionalFootprints":"Additional footprints","additionalCameraLocations":"Additional camera locations","basemap":"Basemap","groundArea":"Ground area","groundDistance":"Ground distance","imageAttributes":"Image attributes","imageEnhancement":"Image enhancement","imageGallery":"Image gallery","float":"Float","dock":"Dock","footprint":"Footprint","heightAboveGround":"Height above ground","groundLocation":"Ground location","noImageError":"No image available for the selected location.","onLoadMessage":"Select a location on map to view imagery.","imageLoadError":"Error occurred while loading the image.","measurementTools":"Image measurement tools","measurementTable":"Measurement table","mapImageConversionTool":"Map-image location tool","brightness":"Brightness","contrast":"Contrast","sharpness":"Sharpness","navigationTool":"Navigation tool","noLocalPort":"A value for local port is not provided. Local port is required to load local images.","noAttachment":"No image or attachment available for the selected location.","currentFootprintTooltip":"Toggle visibility of the displayed image's footprint.","additionalFootprintsTooltip":"Toggle visibility of all additional footprints containing the location of interest.","additionalCameraLocationsTooltip":"Toggle visibility of all additional camera locations of images containing the location of interest.","navigationTooltip":"Explore returned images in relation to the location of interest.","imageEnhancementTooltip":"Adjust image brightness, contrast, and sharpening.","imageGalleryTooltip":"Explore thumbnails of all images depicting the location of interest.","mapImageConversionTooltip":"Click on the image to see where that location is on the map, and vice versa.","newMeasurement":"New measurement","unsupportedPanoramicImageryError":"Viewer currently does not support visualizing {datasetFormat} 360-degree imagery.","showPopups":"Show pop-ups","startMeasurement":"Start measuring","selectUnitSystem":"Select Unit System","overlayCameraLocations":"Overlay camera locations","overlayMapFeatures":"Overlay map features","imageOverlays":"Image overlays","invalidCameraHeadingWarningTitle":"Invalid CameraHeading","invalidCameraHeadingWarningDescription":"CameraHeading value is invalid for the selected image. All the oriented imagery viewer tools using CameraHeading value are disabled. Assign a valid value for the field in the attribute table to enable the tools.","createFeaturesFromImage":"Create features from image","value":"Value","xy":"XY","x":"X","y":"Y","z":"Z","type":"Type"}
1
+ {"title":"Oriented imagery viewer","currentFootprint":"Current footprint","accuracy":"Accuracy","accuracyInformation":"Accuracy is calculated using the Orientation Accuracy property defined in the oriented imagery layer's service.","additionalFootprints":"Additional footprints","additionalCameraLocations":"Additional camera locations","basemap":"Basemap","groundArea":"Ground area","groundDistance":"Ground distance","imageAttributes":"Image attributes","imageEnhancement":"Image enhancement","imageGallery":"Image gallery","float":"Float","dock":"Dock","footprint":"Footprint","heightAboveGround":"Height above ground","groundLocation":"Ground location","noImageError":"No image available for the selected location.","onLoadMessage":"Select a location on map to view imagery.","imageLoadError":"Error occurred while loading the image.","measurementTools":"Image measurement tools","measurementTable":"Measurement table","mapImageConversionTool":"Map-image location tool","brightness":"Brightness","contrast":"Contrast","sharpness":"Sharpness","navigationTool":"Navigation tool","noLocalPort":"A value for local port is not provided. Local port is required to load local images.","noAttachment":"No image or attachment available for the selected location.","currentFootprintTooltip":"Toggle visibility of the displayed image's footprint.","additionalFootprintsTooltip":"Toggle visibility of all additional footprints containing the location of interest.","additionalCameraLocationsTooltip":"Toggle visibility of all additional camera locations of images containing the location of interest.","navigationTooltip":"Explore returned images in relation to the location of interest.","imageEnhancementTooltip":"Adjust image brightness, contrast, and sharpening.","imageGalleryTooltip":"Explore thumbnails of all images depicting the location of interest.","mapImageConversionTooltip":"Click on the image to see where that location is on the map, and vice versa.","newMeasurement":"New measurement","unsupportedPanoramicImageryError":"Viewer currently does not support visualizing {datasetFormat} 360-degree imagery.","showPopups":"Show pop-ups","startMeasurement":"Start measuring","selectUnitSystem":"Select Unit System","overlayCameraLocations":"Overlay camera locations","overlayMapFeatures":"Overlay map features","imageOverlays":"Image overlays","invalidCameraHeadingWarningTitle":"Invalid CameraHeading","invalidCameraHeadingWarningDescription":"CameraHeading value is invalid for the selected image. All the oriented imagery viewer tools using CameraHeading value are disabled. Assign a valid value for the field in the attribute table to enable the tools.","createFeaturesFromImage":"Create features from image","value":"Value","xy":"XY","x":"X","y":"Y","z":"Z","type":"Type","imageNavigation":"Image navigation"}
@@ -1 +1 @@
1
- {"title":"Oriented imagery viewer","currentFootprint":"Current footprint","accuracy":"Accuracy","accuracyInformation":"Accuracy is calculated using the Orientation Accuracy property defined in the oriented imagery layer's service.","additionalFootprints":"Additional footprints","additionalCameraLocations":"Additional camera locations","basemap":"Basemap","groundArea":"Ground area","groundDistance":"Ground distance","imageAttributes":"Image attributes","imageEnhancement":"Image enhancement","imageGallery":"Image gallery","float":"Float","dock":"Dock","footprint":"Footprint","heightAboveGround":"Height above ground","groundLocation":"Ground location","noImageError":"No image available for the selected location.","onLoadMessage":"Select a location on map to view imagery.","imageLoadError":"Error occurred while loading the image.","measurementTools":"Image measurement tools","measurementTable":"Measurement table","mapImageConversionTool":"Map-image location tool","brightness":"Brightness","contrast":"Contrast","sharpness":"Sharpness","navigationTool":"Navigation tool","noLocalPort":"A value for local port is not provided. Local port is required to load local images.","noAttachment":"No image or attachment available for the selected location.","currentFootprintTooltip":"Toggle visibility of the displayed image's footprint.","additionalFootprintsTooltip":"Toggle visibility of all additional footprints containing the location of interest.","additionalCameraLocationsTooltip":"Toggle visibility of all additional camera locations of images containing the location of interest.","navigationTooltip":"Explore returned images in relation to the location of interest.","imageEnhancementTooltip":"Adjust image brightness, contrast, and sharpening.","imageGalleryTooltip":"Explore thumbnails of all images depicting the location of interest.","mapImageConversionTooltip":"Click on the image to see where that location is on the map, and vice versa.","newMeasurement":"New measurement","unsupportedPanoramicImageryError":"Viewer currently does not support visualizing {datasetFormat} 360-degree imagery.","showPopups":"Show pop-ups","startMeasurement":"Start measuring","selectUnitSystem":"Select Unit System","overlayCameraLocations":"Overlay camera locations","overlayMapFeatures":"Overlay map features","imageOverlays":"Image overlays","invalidCameraHeadingWarningTitle":"Invalid CameraHeading","invalidCameraHeadingWarningDescription":"CameraHeading value is invalid for the selected image. All the oriented imagery viewer tools using CameraHeading value are disabled. Assign a valid value for the field in the attribute table to enable the tools.","createFeaturesFromImage":"Create features from image","value":"Value","xy":"XY","x":"X","y":"Y","z":"Z","type":"Type"}
1
+ {"title":"Oriented imagery viewer","currentFootprint":"Current footprint","accuracy":"Accuracy","accuracyInformation":"Accuracy is calculated using the Orientation Accuracy property defined in the oriented imagery layer's service.","additionalFootprints":"Additional footprints","additionalCameraLocations":"Additional camera locations","basemap":"Basemap","groundArea":"Ground area","groundDistance":"Ground distance","imageAttributes":"Image attributes","imageEnhancement":"Image enhancement","imageGallery":"Image gallery","float":"Float","dock":"Dock","footprint":"Footprint","heightAboveGround":"Height above ground","groundLocation":"Ground location","noImageError":"No image available for the selected location.","onLoadMessage":"Select a location on map to view imagery.","imageLoadError":"Error occurred while loading the image.","measurementTools":"Image measurement tools","measurementTable":"Measurement table","mapImageConversionTool":"Map-image location tool","brightness":"Brightness","contrast":"Contrast","sharpness":"Sharpness","navigationTool":"Navigation tool","noLocalPort":"A value for local port is not provided. Local port is required to load local images.","noAttachment":"No image or attachment available for the selected location.","currentFootprintTooltip":"Toggle visibility of the displayed image's footprint.","additionalFootprintsTooltip":"Toggle visibility of all additional footprints containing the location of interest.","additionalCameraLocationsTooltip":"Toggle visibility of all additional camera locations of images containing the location of interest.","navigationTooltip":"Explore returned images in relation to the location of interest.","imageEnhancementTooltip":"Adjust image brightness, contrast, and sharpening.","imageGalleryTooltip":"Explore thumbnails of all images depicting the location of interest.","mapImageConversionTooltip":"Click on the image to see where that location is on the map, and vice versa.","newMeasurement":"New measurement","unsupportedPanoramicImageryError":"Viewer currently does not support visualizing {datasetFormat} 360-degree imagery.","showPopups":"Show pop-ups","startMeasurement":"Start measuring","selectUnitSystem":"Select Unit System","overlayCameraLocations":"Overlay camera locations","overlayMapFeatures":"Overlay map features","imageOverlays":"Image overlays","invalidCameraHeadingWarningTitle":"Invalid CameraHeading","invalidCameraHeadingWarningDescription":"CameraHeading value is invalid for the selected image. All the oriented imagery viewer tools using CameraHeading value are disabled. Assign a valid value for the field in the attribute table to enable the tools.","createFeaturesFromImage":"Create features from image","value":"Value","xy":"XY","x":"X","y":"Y","z":"Z","type":"Type","imageNavigation":"Image navigation"}
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import"../core/has.js";import s from"../core/Logger.js";import{acosClamped as t}from"../core/mathUtils.js";import{ObjectStack as i}from"../core/ObjectStack.js";import{invert as n,transpose as r,fromRotation as o}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as e}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{c as a,h as c,g as u,i as g,j as b,l as f,o as p,f as l,d as m,p as d,t as h,n as j,k as y}from"./vec32.js";import{fromValues as I,clone as P,create as v}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as N}from"../geometry/support/aaBoundingRect.js";import{Axis as w}from"../geometry/support/Axis.js";import{create as x,projectPointClamp as M,distance2 as S}from"../geometry/support/lineSegment.js";import{create as T,wrap as V,copy as A,fromVectorsAndPoint as E,fromValues as _,intersectRay as O,intersectLineSegment as k,intersectLineSegmentClamp as B,isPointInside as C,projectPoint as F,getNormal as R,setOffsetFromPoint as Y}from"../geometry/support/plane.js";import{distance2 as q}from"../geometry/support/ray.js";import{projectPointSignedLength as L}from"../geometry/support/vector.js";import{sv3d as U}from"../geometry/support/vectorStacks.js";const z=()=>s.getLogger("esri.views.3d.support.geometryUtils.boundedPlane");class D{constructor(){this.plane=T(),this.origin=v(),this.basis1=v(),this.basis2=v()}}const G=D;function W(s=Ms){return{plane:T(s.plane),origin:P(s.origin),basis1:P(s.basis1),basis2:P(s.basis2)}}function X(s,t,i){const n=As.get();return n.origin=s,n.basis1=t,n.basis2=i,n.plane=V(0,0,0,0),K(n),n}function Z(s,t=W()){return J(s.origin,s.basis1,s.basis2,t)}function H(s,t){a(t.origin,s.origin),a(t.basis1,s.basis1),a(t.basis2,s.basis2),A(t.plane,s.plane)}function J(s,t,i,n=W()){return a(n.origin,s),a(n.basis1,t),a(n.basis2,i),K(n),ws(n,"fromValues()"),n}function K(s){E(s.basis2,s.basis1,s.origin,s.plane)}function Q(s,t,i){s!==i&&Z(s,i);const n=c(U.get(),ys(s),t);return u(i.origin,i.origin,n),i.plane[3]-=t,i}function $(s,t,i){return ts(t,i),Q(i,ls(s,s.origin),i),i}function ss(s,t){const i=s.basis1[0],n=s.basis2[1],[r,o]=s.origin;return N(r-i,o-n,r+i,o+n,t)}function ts(s,t=W()){const i=(s[2]-s[0])/2,n=(s[3]-s[1])/2;return g(t.origin,s[0]+i,s[1]+n,0),g(t.basis1,i,0,0),g(t.basis2,0,n,0),_(0,0,1,0,t.plane),t}function is(s,t,i){return!!O(s.plane,t,i)&&Ps(s,i)}function ns(s,t,i){if(is(s,t,i))return i;const n=rs(s,t,U.get());return u(i,t.origin,c(U.get(),t.direction,b(t.origin,n)/f(t.direction))),i}function rs(s,i,n){const r=Ss.get();xs(s,i,r,Ss.get());let o=Number.POSITIVE_INFINITY;for(const e of Es){const c=Ns(s,e,Ts.get()),u=U.get();if(k(r,c,u)){const s=p(U.get(),i.origin,u),r=Math.abs(t(l(i.direction,s)));r<o&&(o=r,a(n,u))}}return o===Number.POSITIVE_INFINITY?es(s,i,n):n}function os(s,t){return(t-s)/t}function es(s,t,i){if(is(s,t,i))return i;const n=Ss.get(),r=Ss.get();xs(s,t,n,r);let o=Number.POSITIVE_INFINITY;for(const e of Es){const c=Ns(s,e,Ts.get()),u=U.get();if(B(n,c,u)){const s=q(t,u);if(!C(r,u))continue;s<o&&(o=s,a(i,u))}}return us(s,t.origin)<o&&as(s,t.origin,i),i}function as(s,t,i){const n=F(s.plane,t,U.get()),r=M(vs(s,s.basis1),n,-1,1,U.get()),o=M(vs(s,s.basis2),n,-1,1,U.get());return m(i,u(U.get(),r,o),s.origin),i}function cs(s,t,i){const{origin:n,basis1:r,basis2:o}=s,e=m(U.get(),t,n),a=L(r,e),c=L(o,e),u=L(ys(s),e);return g(i,a,c,u)}function us(s,t){const i=cs(s,t,U.get()),{basis1:n,basis2:r}=s,o=f(n),e=f(r),a=Math.max(Math.abs(i[0])-o,0),c=Math.max(Math.abs(i[1])-e,0),u=i[2];return a*a+c*c+u*u}function gs(s,t){return Math.sqrt(us(s,t))}function bs(s,t){let i=Number.NEGATIVE_INFINITY;for(const n of Es){const r=Ns(s,n,Ts.get()),o=S(r,t);o>i&&(i=o)}return Math.sqrt(i)}function fs(s,t){return C(s.plane,t)&&Ps(s,t)}function ps(s,t,i,n){return Is(s,i,n)}function ls(s,t){const i=-s.plane[3];return L(ys(s),t)-i}function ms(s,t,i,n){const r=ls(s,t),o=c(Vs,ys(s),i-r);return u(n,t,o),n}function ds(s,t){return d(s.basis1,t.basis1)&&d(s.basis2,t.basis2)&&d(s.origin,t.origin)}function hs(s,t,i){return s!==i&&Z(s,i),n(_s,t),r(_s,_s),h(i.basis1,s.basis1,_s),h(i.basis2,s.basis2,_s),h(R(i.plane),R(s.plane),_s),h(i.origin,s.origin,t),Y(i.plane,i.plane,i.origin),i}function js(s,t,i,n){return s!==n&&Z(s,n),o(Os,t,i),h(n.basis1,s.basis1,Os),h(n.basis2,s.basis2,Os),K(n),n}function ys(s){return R(s.plane)}function Is(s,t,i){switch(t){case w.X:a(i,s.basis1),j(i,i);break;case w.Y:a(i,s.basis2),j(i,i);break;case w.Z:a(i,ys(s))}return i}function Ps(s,t){const i=m(U.get(),t,s.origin),n=y(s.basis1),r=y(s.basis2),o=l(s.basis1,i),e=l(s.basis2,i);return-o-n<0&&o-n<0&&-e-r<0&&e-r<0}function vs(s,t){const i=Ts.get();return a(i.origin,s.origin),a(i.vector,t),i}function Ns(s,t,i){const{basis1:n,basis2:r,origin:o}=s,e=c(U.get(),n,t.origin[0]),a=c(U.get(),r,t.origin[1]);u(i.origin,e,a),u(i.origin,i.origin,o);const g=c(U.get(),n,t.direction[0]),b=c(U.get(),r,t.direction[1]);return c(i.vector,u(g,g,b),2),i}function ws(s,t){Math.abs(l(s.basis1,s.basis2)/(f(s.basis1)*f(s.basis2)))>1e-6&&z().warn(t,"Provided basis vectors are not perpendicular"),Math.abs(l(s.basis1,ys(s)))>1e-6&&z().warn(t,"Basis vectors and plane normal are not perpendicular"),Math.abs(-l(ys(s),s.origin)-s.plane[3])>1e-6&&z().warn(t,"Plane offset is not consistent with plane origin")}function xs(s,t,i,n){const r=ys(s);E(r,t.direction,t.origin,i),E(R(i),r,t.origin,n)}const Ms={plane:T(),origin:I(0,0,0),basis1:I(1,0,0),basis2:I(0,1,0)},Ss=new i(T),Ts=new i(x),Vs=v(),As=new i((()=>W())),Es=[{origin:[-1,-1],direction:[1,0]},{origin:[1,-1],direction:[0,1]},{origin:[1,1],direction:[-1,0]},{origin:[-1,1],direction:[0,-1]}],_s=e(),Os=e(),ks=Object.freeze(Object.defineProperty({__proto__:null,BoundedPlaneClass:G,altitudeAt:ls,axisAt:ps,cameraFrustumCoverage:os,closestPoint:es,closestPointOnSilhouette:rs,copy:Z,copyWithoutVerify:H,create:W,distance:gs,distance2:us,distanceToSilhouette:bs,elevate:Q,equals:ds,extrusionContainsPoint:fs,fromAABoundingRect:ts,fromValues:J,getExtent:ss,intersectRay:is,intersectRayClosestSilhouette:ns,normal:ys,projectPoint:as,projectPointLocal:cs,rotate:js,setAltitudeAt:ms,setExtent:$,transform:hs,up:Ms,updateUnboundedPlane:K,wrap:X},Symbol.toStringTag,{value:"Module"}));export{ls as A,G as B,ms as C,ds as D,Ms as E,Z as a,ks as b,os as c,W as d,fs as e,J as f,ts as g,gs as h,is as i,H as j,Q as k,ss as l,ns as m,ys as n,rs as o,es as p,as as q,js as r,$ as s,hs as t,K as u,cs as v,X as w,us as x,bs as y,ps as z};
5
+ import"../core/has.js";import s from"../core/Logger.js";import{acosClamped as t}from"../core/mathUtils.js";import{ObjectStack as i}from"../core/ObjectStack.js";import{invert as n,transpose as r,fromRotation as o}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as e}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{c as a,h as c,g as u,i as g,j as b,l as f,o as p,f as l,d as m,p as d,t as h,n as j,k as y}from"./vec32.js";import{fromValues as I,clone as P,create as v}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as N}from"../geometry/support/aaBoundingRect.js";import{Axis as w}from"../geometry/support/Axis.js";import{create as x,projectPointClamp as M,distance2 as S}from"../geometry/support/lineSegment.js";import{create as T,wrap as V,copy as A,fromVectorsAndPoint as E,fromValues as _,intersectRay as O,intersectLineSegment as k,intersectLineSegmentClamp as B,isPointInside as C,projectPoint as F,getNormal as R,setOffsetFromPoint as Y}from"../geometry/support/plane.js";import{distance2 as q}from"../geometry/support/ray.js";import{projectPointSignedLength as L}from"../geometry/support/vector.js";import{sv3d as U}from"../geometry/support/vectorStacks.js";const z=()=>s.getLogger("esri.views.3d.support.geometryUtils.boundedPlane");class D{constructor(){this.plane=T(),this.origin=v(),this.basis1=v(),this.basis2=v()}}const G=D;function W(s=Ms){return{plane:T(s.plane),origin:P(s.origin),basis1:P(s.basis1),basis2:P(s.basis2)}}function X(s,t,i){const n=As.get();return n.origin=s,n.basis1=t,n.basis2=i,n.plane=V(0,0,0,0),K(n),n}function Z(s,t=W()){return J(s.origin,s.basis1,s.basis2,t)}function H(s,t){a(t.origin,s.origin),a(t.basis1,s.basis1),a(t.basis2,s.basis2),A(t.plane,s.plane)}function J(s,t,i,n=W()){return a(n.origin,s),a(n.basis1,t),a(n.basis2,i),K(n),ws(n,"fromValues()"),n}function K(s){E(s.basis2,s.basis1,s.origin,s.plane)}function Q(s,t,i){s!==i&&Z(s,i);const n=c(U.get(),ys(s),t);return u(i.origin,i.origin,n),i.plane[3]-=t,i}function $(s,t,i){return ts(t,i),Q(i,ls(s,s.origin),i),i}function ss(s,t){const i=s.basis1[0],n=s.basis2[1],[r,o]=s.origin;return N(r-i,o-n,r+i,o+n,t)}function ts(s,t=W()){const i=(s[2]-s[0])/2,n=(s[3]-s[1])/2;return g(t.origin,s[0]+i,s[1]+n,0),g(t.basis1,i,0,0),g(t.basis2,0,n,0),_(0,0,1,0,t.plane),t}function is(s,t,i){return!!O(s.plane,t,i)&&Ps(s,i)}function ns(s,t,i){if(is(s,t,i))return i;const n=rs(s,t,U.get());return u(i,t.origin,c(U.get(),t.direction,b(t.origin,n)/f(t.direction))),i}function rs(s,i,n){const r=Ss.get();xs(s,i,r,Ss.get());let o=Number.POSITIVE_INFINITY;for(const e of Es){const c=Ns(s,e,Ts.get()),u=U.get();if(k(r,c,u)){const s=p(U.get(),i.origin,u),r=Math.abs(t(l(i.direction,s)));r<o&&(o=r,a(n,u))}}return o===Number.POSITIVE_INFINITY?es(s,i,n):n}function os(s,t){return(t-s)/t}function es(s,t,i){if(is(s,t,i))return i;const n=Ss.get(),r=Ss.get();xs(s,t,n,r);let o=Number.POSITIVE_INFINITY;for(const e of Es){const c=Ns(s,e,Ts.get()),u=U.get();if(B(n,c,u)){const s=q(t,u);if(!C(r,u))continue;s<o&&(o=s,a(i,u))}}return us(s,t.origin)<o&&as(s,t.origin,i),i}function as(s,t,i){const n=F(s.plane,t,U.get()),r=M(vs(s,s.basis1),n,-1,1,U.get()),o=M(vs(s,s.basis2),n,-1,1,U.get());return m(i,u(U.get(),r,o),s.origin),i}function cs(s,t,i){const{origin:n,basis1:r,basis2:o}=s,e=m(U.get(),t,n),a=L(r,e),c=L(o,e),u=L(ys(s),e);return g(i,a,c,u)}function us(s,t){const i=cs(s,t,U.get()),{basis1:n,basis2:r}=s,o=f(n),e=f(r),a=Math.max(Math.abs(i[0])-o,0),c=Math.max(Math.abs(i[1])-e,0),u=i[2];return a*a+c*c+u*u}function gs(s,t){return Math.sqrt(us(s,t))}function bs(s,t){let i=Number.NEGATIVE_INFINITY;for(const n of Es){const r=Ns(s,n,Ts.get()),o=S(r,t);o>i&&(i=o)}return Math.sqrt(i)}function fs(s,t){return C(s.plane,t)&&Ps(s,t)}function ps(s,t,i,n){return Is(s,i,n)}function ls(s,t){const i=-s.plane[3];return L(ys(s),t)-i}function ms(s,t,i,n){const r=ls(s,t),o=c(Vs,ys(s),i-r);return u(n,t,o),n}function ds(s,t){return d(s.basis1,t.basis1)&&d(s.basis2,t.basis2)&&d(s.origin,t.origin)}function hs(s,t,i){return s!==i&&Z(s,i),n(_s,t),r(_s,_s),h(i.basis1,s.basis1,_s),h(i.basis2,s.basis2,_s),h(R(i.plane),R(s.plane),_s),h(i.origin,s.origin,t),Y(i.plane,i.plane,i.origin),i}function js(s,t,i,n){return s!==n&&Z(s,n),o(Os,t,i),h(n.basis1,s.basis1,Os),h(n.basis2,s.basis2,Os),K(n),n}function ys(s){return R(s.plane)}function Is(s,t,i){switch(t){case w.X:a(i,s.basis1),j(i,i);break;case w.Y:a(i,s.basis2),j(i,i);break;case w.Z:a(i,ys(s))}return i}function Ps(s,t){const i=m(U.get(),t,s.origin),n=y(s.basis1),r=y(s.basis2),o=l(s.basis1,i),e=l(s.basis2,i);return-o-n<0&&o-n<0&&-e-r<0&&e-r<0}function vs(s,t){const i=Ts.get();return a(i.origin,s.origin),a(i.vector,t),i}function Ns(s,t,i){const{basis1:n,basis2:r,origin:o}=s,e=c(U.get(),n,t.origin[0]),a=c(U.get(),r,t.origin[1]);u(i.origin,e,a),u(i.origin,i.origin,o);const g=c(U.get(),n,t.direction[0]),b=c(U.get(),r,t.direction[1]);return c(i.vector,u(g,g,b),2),i}function ws(s,t){Math.abs(l(s.basis1,s.basis2)/(f(s.basis1)*f(s.basis2)))>1e-6&&z().warn(t,"Provided basis vectors are not perpendicular"),Math.abs(l(s.basis1,ys(s)))>1e-6&&z().warn(t,"Basis vectors and plane normal are not perpendicular"),Math.abs(-l(ys(s),s.origin)-s.plane[3])>1e-6&&z().warn(t,"Plane offset is not consistent with plane origin")}function xs(s,t,i,n){const r=ys(s);E(r,t.direction,t.origin,i),E(R(i),r,t.origin,n)}const Ms={plane:T(),origin:I(0,0,0),basis1:I(1,0,0),basis2:I(0,1,0)},Ss=new i(T),Ts=new i(x),Vs=v(),As=new i((()=>W())),Es=[{origin:[-1,-1],direction:[1,0]},{origin:[1,-1],direction:[0,1]},{origin:[1,1],direction:[-1,0]},{origin:[-1,1],direction:[0,-1]}],_s=e(),Os=e(),ks=Object.freeze(Object.defineProperty({__proto__:null,BoundedPlaneClass:G,altitudeAt:ls,axisAt:ps,cameraFrustumCoverage:os,closestPoint:es,closestPointOnSilhouette:rs,copy:Z,copyWithoutVerify:H,create:W,distance:gs,distance2:us,distanceToSilhouette:bs,elevate:Q,equals:ds,extrusionContainsPoint:fs,fromAABoundingRect:ts,fromValues:J,getExtent:ss,intersectRay:is,intersectRayClosestSilhouette:ns,normal:ys,projectPoint:as,projectPointLocal:cs,rotate:js,setAltitudeAt:ms,setExtent:$,transform:hs,up:Ms,updateUnboundedPlane:K,wrap:X},Symbol.toStringTag,{value:"Module"}));export{ps as A,G as B,ls as C,ms as D,Ms as E,Z as a,ks as b,os as c,W as d,fs as e,J as f,ds as g,ts as h,is as i,gs as j,H as k,Q as l,ss as m,ys as n,ns as o,rs as p,es as q,js as r,$ as s,hs as t,K as u,as as v,X as w,cs as x,us as y,bs as z};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import"../../core/has.js";import"../../core/Logger.js";import"../../core/mathUtils.js";import"../../core/ObjectStack.js";import"../../core/libs/gl-matrix-2/math/mat4.js";import"../../core/libs/gl-matrix-2/factories/mat4f64.js";import"../../chunks/vec32.js";import"../../core/libs/gl-matrix-2/factories/vec3f64.js";import"./aaBoundingRect.js";import"./Axis.js";import"./lineSegment.js";import"./plane.js";import"./ray.js";import"./vector.js";import"./vectorStacks.js";export{B as BoundedPlaneClass,A as altitudeAt,z as axisAt,c as cameraFrustumCoverage,p as closestPoint,o as closestPointOnSilhouette,a as copy,j as copyWithoutVerify,d as create,h as distance,x as distance2,y as distanceToSilhouette,k as elevate,D as equals,e as extrusionContainsPoint,g as fromAABoundingRect,f as fromValues,l as getExtent,i as intersectRay,m as intersectRayClosestSilhouette,n as normal,q as projectPoint,v as projectPointLocal,r as rotate,C as setAltitudeAt,s as setExtent,t as transform,E as up,u as updateUnboundedPlane,w as wrap}from"../../chunks/boundedPlane.js";
5
+ import"../../core/has.js";import"../../core/Logger.js";import"../../core/mathUtils.js";import"../../core/ObjectStack.js";import"../../core/libs/gl-matrix-2/math/mat4.js";import"../../core/libs/gl-matrix-2/factories/mat4f64.js";import"../../chunks/vec32.js";import"../../core/libs/gl-matrix-2/factories/vec3f64.js";import"./aaBoundingRect.js";import"./Axis.js";import"./lineSegment.js";import"./plane.js";import"./ray.js";import"./vector.js";import"./vectorStacks.js";export{B as BoundedPlaneClass,C as altitudeAt,A as axisAt,c as cameraFrustumCoverage,q as closestPoint,p as closestPointOnSilhouette,a as copy,k as copyWithoutVerify,d as create,j as distance,y as distance2,z as distanceToSilhouette,l as elevate,g as equals,e as extrusionContainsPoint,h as fromAABoundingRect,f as fromValues,m as getExtent,i as intersectRay,o as intersectRayClosestSilhouette,n as normal,v as projectPoint,x as projectPointLocal,r as rotate,D as setAltitudeAt,s as setExtent,t as transform,E as up,u as updateUnboundedPlane,w as wrap}from"../../chunks/boundedPlane.js";
package/interfaces.d.ts CHANGED
@@ -21579,6 +21579,20 @@ declare namespace __esri {
21579
21579
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#fetchImage Read more...}
21580
21580
  */
21581
21581
  fetchImage(extent: Extent, width: number, height: number, options?: ArcGISImageServiceFetchImageOptions): Promise<any>;
21582
+ /**
21583
+ * Fetches raw pixel data for a specified extent, width, and height, preserving full pixel depth and including all bands without applying renderer to the layer.
21584
+ *
21585
+ * @param extent The extent of the image to export.
21586
+ * @param width The width of the image in pixels.
21587
+ * @param height The height of the image in pixels.
21588
+ * @param options The parameter options is an object with the following properties.
21589
+ * @param options.interpolation Defines how to interpolate pixel values.
21590
+ * @param options.applyRendering When `true`, request a rendered image from server using layer's rendering configuration, including layer format (jpgpng or similar), renderer, bandIds, compression quality and interpolation setting.
21591
+ * @param options.signal An [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) to abort the request. If canceled, the promise will be rejected with an error named `AbortError`. See also [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
21592
+ *
21593
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#fetchPixels Read more...}
21594
+ */
21595
+ fetchPixels(extent: Extent, width: number, height: number, options?: ArcGISImageServiceFetchPixelsOptions): Promise<any>;
21582
21596
  /**
21583
21597
  * Finds images based on the provided {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FindImagesParameters.html FindImagesParameters}.
21584
21598
  *
@@ -25611,6 +25625,20 @@ declare namespace __esri {
25611
25625
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#fetchImage Read more...}
25612
25626
  */
25613
25627
  fetchImage(extent: Extent, width: number, height: number, options?: ArcGISImageServiceFetchImageOptions): Promise<any>;
25628
+ /**
25629
+ * Fetches raw pixel data for a specified extent, width, and height, preserving full pixel depth and including all bands without applying renderer to the layer.
25630
+ *
25631
+ * @param extent The extent of the image to export.
25632
+ * @param width The width of the image in pixels.
25633
+ * @param height The height of the image in pixels.
25634
+ * @param options The parameter options is an object with the following properties.
25635
+ * @param options.interpolation Defines how to interpolate pixel values.
25636
+ * @param options.applyRendering When `true`, request a rendered image from server using layer's rendering configuration, including layer format (jpgpng or similar), renderer, bandIds, compression quality and interpolation setting.
25637
+ * @param options.signal An [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) to abort the request. If canceled, the promise will be rejected with an error named `AbortError`. See also [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
25638
+ *
25639
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ArcGISImageService.html#fetchPixels Read more...}
25640
+ */
25641
+ fetchPixels(extent: Extent, width: number, height: number, options?: ArcGISImageServiceFetchPixelsOptions): Promise<any>;
25614
25642
  /**
25615
25643
  * Finds images based on the provided {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FindImagesParameters.html FindImagesParameters}.
25616
25644
  *
@@ -25910,6 +25938,12 @@ declare namespace __esri {
25910
25938
  signal?: AbortSignal | nullish;
25911
25939
  }
25912
25940
 
25941
+ export interface ArcGISImageServiceFetchPixelsOptions {
25942
+ interpolation?: "nearest" | "bilinear" | "cubic" | "majority";
25943
+ applyRendering?: boolean;
25944
+ signal?: AbortSignal | nullish;
25945
+ }
25946
+
25913
25947
  export interface ArcGISImageServiceGenerateRasterInfoOptions {
25914
25948
  signal?: AbortSignal | nullish;
25915
25949
  }
@@ -104123,7 +104157,7 @@ declare namespace __esri {
104123
104157
  *
104124
104158
  * @param layoutMode The layout applied to the link chart.
104125
104159
  * @param options
104126
- * @param options.layoutSettings Additional settings for organic layouts (particularly geographic layout) and chronological layouts.
104160
+ * @param options.layoutSettings Additional settings for organic layouts (particularly geographic layout) and chronological layouts. If not specified, then the current layout settings will be used.
104127
104161
  * @param options.lockedNodeLocations A map of node IDs to their locked locations. Specify the location of specific entities. When the layout is recalculated these entities are placed at the specified location.
104128
104162
  *
104129
104163
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html#applyLayout Read more...}
@@ -104872,16 +104906,20 @@ declare namespace __esri {
104872
104906
  * Update properties of the WebScene related to the view.
104873
104907
  *
104874
104908
  * @param view The view to update from.
104875
- * @param options Options for updating.
104876
- * @param options.environmentExcluded Do not update the initial environment from the view, defaults to false.
104877
- * @param options.viewpointExcluded Do not update the initial viewpoint from the view, defaults to false.
104878
- * @param options.thumbnailExcluded Do not update the thumbnail from the view. Defaults to true, unless viewpointExcluded is set to true.
104879
- * @param options.thumbnailSize The size of the thumbnail. Defaults to 600x400 (ratio 1.5:1). Note that the thumbnail size may currently not be larger than the size of the view.
104880
- * @param options.widgetsExcluded When `true`, the webscene's {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#widgets widgets} property will not be updated. When `false`, the definition of the first {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html TimeSlider} assigned to the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html View} will be used to update the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#widgets WebScene.widgets} property. The default value is `false`.
104909
+ * @param options Update options.
104881
104910
  *
104882
104911
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#updateFrom Read more...}
104883
104912
  */
104884
- updateFrom(view: SceneView, options?: WebSceneUpdateFromOptions): Promise<any>;
104913
+ updateFrom(view: SceneView, options?: WebSceneUpdateFromOptions): Promise<void>;
104914
+ /**
104915
+ * Update the thumbnail of the WebScene by taking a screenshot of the view.
104916
+ *
104917
+ * @param view The view to update from.
104918
+ * @param options Update options.
104919
+ *
104920
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#updateThumbnail Read more...}
104921
+ */
104922
+ updateThumbnail(view: SceneView, options?: WebSceneUpdateThumbnailOptions): Promise<void>;
104885
104923
  /**
104886
104924
  * `when()` may be leveraged once an instance of the class is created.
104887
104925
  *
@@ -105868,6 +105906,77 @@ declare namespace __esri {
105868
105906
  legendInfo?: SlideLegendInfoProperties | nullish;
105869
105907
  }
105870
105908
 
105909
+ /**
105910
+ * A module for importing types used in WebScene modules.
105911
+ *
105912
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html Read more...}
105913
+ */
105914
+ namespace websceneTypes {
105915
+ /**
105916
+ * Options for updating a web scene from a view.
105917
+ *
105918
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneUpdateFromOptions Read more...}
105919
+ */
105920
+ export interface WebSceneUpdateFromOptions {
105921
+ environmentExcluded?: boolean;
105922
+ viewpointExcluded?: boolean;
105923
+ thumbnailExcluded?: boolean;
105924
+ thumbnailSize?: WebSceneThumbnailSize;
105925
+ widgetsExcluded?: boolean;
105926
+ }
105927
+
105928
+ /**
105929
+ * Options for updating a web scene thumbnail from a view.
105930
+ *
105931
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneUpdateThumbnailOptions Read more...}
105932
+ */
105933
+ export interface WebSceneUpdateThumbnailOptions {
105934
+ size?: WebSceneThumbnailSize;
105935
+ }
105936
+
105937
+ /**
105938
+ * Options for the thumbnail size when updating a web scene thumbnail from a view.
105939
+ *
105940
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneThumbnailSize Read more...}
105941
+ */
105942
+ export interface WebSceneThumbnailSize {
105943
+ width: number;
105944
+ height: number;
105945
+ }
105946
+ }
105947
+
105948
+ /**
105949
+ * Options for the thumbnail size when updating a web scene thumbnail from a view.
105950
+ *
105951
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneThumbnailSize Read more...}
105952
+ */
105953
+ export interface WebSceneThumbnailSize {
105954
+ width: number;
105955
+ height: number;
105956
+ }
105957
+
105958
+ /**
105959
+ * Options for updating a web scene from a view.
105960
+ *
105961
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneUpdateFromOptions Read more...}
105962
+ */
105963
+ export interface WebSceneUpdateFromOptions {
105964
+ environmentExcluded?: boolean;
105965
+ viewpointExcluded?: boolean;
105966
+ thumbnailExcluded?: boolean;
105967
+ thumbnailSize?: WebSceneThumbnailSize;
105968
+ widgetsExcluded?: boolean;
105969
+ }
105970
+
105971
+ /**
105972
+ * Options for updating a web scene thumbnail from a view.
105973
+ *
105974
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-types.html#WebSceneUpdateThumbnailOptions Read more...}
105975
+ */
105976
+ export interface WebSceneUpdateThumbnailOptions {
105977
+ size?: WebSceneThumbnailSize;
105978
+ }
105979
+
105871
105980
  export class websceneVirtualLighting extends Accessor {
105872
105981
  /**
105873
105982
  * Indicates whether to show shadows cast by the light source.
@@ -105921,19 +106030,6 @@ declare namespace __esri {
105921
106030
  minor: number;
105922
106031
  }
105923
106032
 
105924
- export interface WebSceneUpdateFromOptions {
105925
- environmentExcluded?: boolean;
105926
- viewpointExcluded?: boolean;
105927
- thumbnailExcluded?: boolean;
105928
- thumbnailSize?: WebSceneUpdateFromOptionsThumbnailSize;
105929
- widgetsExcluded?: boolean;
105930
- }
105931
-
105932
- export interface WebSceneUpdateFromOptionsThumbnailSize {
105933
- width: number;
105934
- height: number;
105935
- }
105936
-
105937
106033
  /**
105938
106034
  * The widgets object contains widgets that are exposed to the user.
105939
106035
  *
@@ -122942,7 +123038,7 @@ declare namespace __esri {
122942
123038
  label: string;
122943
123039
  value?: any;
122944
123040
  symbol: SymbolUnion;
122945
- size?: number | nullish;
123041
+ size?: number | any | nullish;
122946
123042
  outlineSize?: number | nullish;
122947
123043
  preview?: HTMLElement | nullish;
122948
123044
  }
@@ -128796,6 +128892,107 @@ declare namespace __esri {
128796
128892
  visibleElements?: ShadowCastVisibleElementsProperties;
128797
128893
  }
128798
128894
 
128895
+ export class DiscreteOptions extends Accessor {
128896
+ /**
128897
+ * Individual shadows are displayed at this time interval, starting with the start time of day.
128898
+ *
128899
+ * @default 1 * 3600 * 1000
128900
+ *
128901
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#interval Read more...}
128902
+ */
128903
+ interval: number;
128904
+ /**
128905
+ * Configuration for the discrete visualization of the Shadow Cast
128906
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html widget} and
128907
+ * {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/ component}.
128908
+ *
128909
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html Read more...}
128910
+ */
128911
+ constructor(properties?: DiscreteOptionsProperties);
128912
+ /**
128913
+ * Color of the shadow visualization.
128914
+ *
128915
+ * @default [50, 50, 50, 0.7]
128916
+ *
128917
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#color Read more...}
128918
+ */
128919
+ get color(): Color;
128920
+ set color(value: ColorProperties);
128921
+ /**
128922
+ * Values (in minutes) selectable in the UI for the interval used to accumulate shadows.
128923
+ *
128924
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#intervalOptions Read more...}
128925
+ */
128926
+ get intervalOptions(): Collection<number>;
128927
+ set intervalOptions(value: CollectionProperties<number>);
128928
+ }
128929
+
128930
+ interface DiscreteOptionsProperties {
128931
+ /**
128932
+ * Color of the shadow visualization.
128933
+ *
128934
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#color Read more...}
128935
+ */
128936
+ color?: ColorProperties;
128937
+ /**
128938
+ * Individual shadows are displayed at this time interval, starting with the start time of day.
128939
+ *
128940
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#interval Read more...}
128941
+ */
128942
+ interval?: number;
128943
+ /**
128944
+ * Values (in minutes) selectable in the UI for the interval used to accumulate shadows.
128945
+ *
128946
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html#intervalOptions Read more...}
128947
+ */
128948
+ intervalOptions?: CollectionProperties<number>;
128949
+ }
128950
+
128951
+ export class DurationOptions extends Accessor {
128952
+ /**
128953
+ * Mode in which the cumulative shadow duration should be displayed: as a continuous surface or as an hourly
128954
+ * aggregation of values.
128955
+ *
128956
+ * @default "continuous"
128957
+ *
128958
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html#mode Read more...}
128959
+ */
128960
+ mode: "continuous" | "hourly";
128961
+ /**
128962
+ * Configuration for the duration visualization of the Shadow Cast
128963
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html widget} and
128964
+ * {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/ component}.
128965
+ *
128966
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html Read more...}
128967
+ */
128968
+ constructor(properties?: DurationOptionsProperties);
128969
+ /**
128970
+ * Color of the shadow visualization.
128971
+ *
128972
+ * @default [0, 0, 255, 0.7]
128973
+ *
128974
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html#color Read more...}
128975
+ */
128976
+ get color(): Color;
128977
+ set color(value: ColorProperties);
128978
+ }
128979
+
128980
+ interface DurationOptionsProperties {
128981
+ /**
128982
+ * Color of the shadow visualization.
128983
+ *
128984
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html#color Read more...}
128985
+ */
128986
+ color?: ColorProperties;
128987
+ /**
128988
+ * Mode in which the cumulative shadow duration should be displayed: as a continuous surface or as an hourly
128989
+ * aggregation of values.
128990
+ *
128991
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html#mode Read more...}
128992
+ */
128993
+ mode?: "continuous" | "hourly";
128994
+ }
128995
+
128799
128996
  export class ShadowCastViewModel extends Accessor {
128800
128997
  /**
128801
128998
  * Time (in milliseconds from midnight of the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date date}) when the shadow cast computation should stop.
@@ -128861,22 +129058,22 @@ declare namespace __esri {
128861
129058
  *
128862
129059
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#discreteOptions Read more...}
128863
129060
  */
128864
- get discreteOptions(): ShadowCastViewModelDiscreteOptions;
128865
- set discreteOptions(value: ShadowCastViewModelDiscreteOptionsProperties);
129061
+ get discreteOptions(): DiscreteOptions;
129062
+ set discreteOptions(value: DiscreteOptionsProperties);
128866
129063
  /**
128867
129064
  * The configuration used when the widget's {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#visualizationType visualizationType} is set to "duration".
128868
129065
  *
128869
129066
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#durationOptions Read more...}
128870
129067
  */
128871
- get durationOptions(): ShadowCastViewModelDurationOptions;
128872
- set durationOptions(value: ShadowCastViewModelDurationOptionsProperties);
129068
+ get durationOptions(): DurationOptions;
129069
+ set durationOptions(value: DurationOptionsProperties);
128873
129070
  /**
128874
129071
  * The configuration used when the widget's {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#visualizationType visualizationType} is set to "threshold".
128875
129072
  *
128876
129073
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#thresholdOptions Read more...}
128877
129074
  */
128878
- get thresholdOptions(): ShadowCastViewModelThresholdOptions;
128879
- set thresholdOptions(value: ShadowCastViewModelThresholdOptionsProperties);
129075
+ get thresholdOptions(): ThresholdOptions;
129076
+ set thresholdOptions(value: ThresholdOptionsProperties);
128880
129077
  /**
128881
129078
  * Returns the time (in milliseconds) spent in shadow for a certain point on the screen.
128882
129079
  *
@@ -128911,13 +129108,13 @@ declare namespace __esri {
128911
129108
  *
128912
129109
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#discreteOptions Read more...}
128913
129110
  */
128914
- discreteOptions?: ShadowCastViewModelDiscreteOptionsProperties;
129111
+ discreteOptions?: DiscreteOptionsProperties;
128915
129112
  /**
128916
129113
  * The configuration used when the widget's {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#visualizationType visualizationType} is set to "duration".
128917
129114
  *
128918
129115
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#durationOptions Read more...}
128919
129116
  */
128920
- durationOptions?: ShadowCastViewModelDurationOptionsProperties;
129117
+ durationOptions?: DurationOptionsProperties;
128921
129118
  /**
128922
129119
  * Time (in milliseconds from midnight of the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date date}) when the shadow cast computation should stop.
128923
129120
  *
@@ -128936,7 +129133,7 @@ declare namespace __esri {
128936
129133
  *
128937
129134
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#thresholdOptions Read more...}
128938
129135
  */
128939
- thresholdOptions?: ShadowCastViewModelThresholdOptionsProperties;
129136
+ thresholdOptions?: ThresholdOptionsProperties;
128940
129137
  /**
128941
129138
  * The difference in hours between UTC time and the times displayed in the widget.
128942
129139
  *
@@ -128957,44 +129154,110 @@ declare namespace __esri {
128957
129154
  visualizationType?: "threshold" | "duration" | "discrete";
128958
129155
  }
128959
129156
 
128960
- export interface ShadowCastViewModelDiscreteOptionsProperties {
128961
- color?: ColorProperties | string | number[];
128962
- interval?: number;
128963
- intervalOptions?: CollectionProperties<number>;
128964
- }
128965
-
128966
- export interface ShadowCastViewModelDiscreteOptions extends AnonymousAccessor {
128967
- get color(): Color;
128968
- set color(value: ColorProperties | string | number[]);
128969
- get intervalOptions(): Collection<number>;
128970
- set intervalOptions(value: CollectionProperties<number>);
128971
- interval: number;
128972
- }
128973
-
128974
- export interface ShadowCastViewModelDurationOptionsProperties {
128975
- color?: ColorProperties | string | number[];
128976
- mode?: "continuous" | "hourly";
128977
- }
128978
-
128979
- export interface ShadowCastViewModelDurationOptions extends AnonymousAccessor {
129157
+ export class ThresholdOptions extends Accessor {
129158
+ /**
129159
+ * Whether to enable additional context showing discrete shadows at the same time as displaying
129160
+ * the threshold.
129161
+ *
129162
+ * @default false
129163
+ *
129164
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextEnabled Read more...}
129165
+ */
129166
+ contextEnabled: boolean;
129167
+ /**
129168
+ * The maximum time period (in milliseconds) selectable in the UI for the threshold
129169
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value value}.
129170
+ *
129171
+ * @default 8 * 3600 * 1000
129172
+ *
129173
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#maxValue Read more...}
129174
+ */
129175
+ maxValue: number;
129176
+ /**
129177
+ * The minimum time period (in milliseconds) selectable in the UI for the threshold
129178
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value value}.
129179
+ *
129180
+ * @default 0 * 3600 * 1000
129181
+ *
129182
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#minValue Read more...}
129183
+ */
129184
+ minValue: number;
129185
+ /**
129186
+ * Time period in milliseconds.
129187
+ *
129188
+ * @default 4 * 3600 * 1000
129189
+ *
129190
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value Read more...}
129191
+ */
129192
+ value: number;
129193
+ /**
129194
+ * Configuration for the threshold visualization of the Shadow Cast
129195
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html widget} and
129196
+ * {@link https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/ component}.
129197
+ *
129198
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html Read more...}
129199
+ */
129200
+ constructor(properties?: ThresholdOptionsProperties);
129201
+ /**
129202
+ * Color of the shadow visualization.
129203
+ *
129204
+ * @default [255, 0 , 0, 0.7]
129205
+ *
129206
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#color Read more...}
129207
+ */
128980
129208
  get color(): Color;
128981
- set color(value: ColorProperties | string | number[]);
128982
- mode: "continuous" | "hourly";
129209
+ set color(value: ColorProperties);
129210
+ /**
129211
+ * The configuration used when showing additional context by setting {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextEnabled contextEnabled}
129212
+ * to true.
129213
+ *
129214
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextOptions Read more...}
129215
+ */
129216
+ get contextOptions(): DiscreteOptions;
129217
+ set contextOptions(value: DiscreteOptionsProperties);
128983
129218
  }
128984
129219
 
128985
- export interface ShadowCastViewModelThresholdOptionsProperties {
128986
- color?: ColorProperties | string | number[];
128987
- value?: number;
128988
- minValue?: number;
129220
+ interface ThresholdOptionsProperties {
129221
+ /**
129222
+ * Color of the shadow visualization.
129223
+ *
129224
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#color Read more...}
129225
+ */
129226
+ color?: ColorProperties;
129227
+ /**
129228
+ * Whether to enable additional context showing discrete shadows at the same time as displaying
129229
+ * the threshold.
129230
+ *
129231
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextEnabled Read more...}
129232
+ */
129233
+ contextEnabled?: boolean;
129234
+ /**
129235
+ * The configuration used when showing additional context by setting {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextEnabled contextEnabled}
129236
+ * to true.
129237
+ *
129238
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#contextOptions Read more...}
129239
+ */
129240
+ contextOptions?: DiscreteOptionsProperties;
129241
+ /**
129242
+ * The maximum time period (in milliseconds) selectable in the UI for the threshold
129243
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value value}.
129244
+ *
129245
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#maxValue Read more...}
129246
+ */
128989
129247
  maxValue?: number;
128990
- }
128991
-
128992
- export interface ShadowCastViewModelThresholdOptions extends AnonymousAccessor {
128993
- get color(): Color;
128994
- set color(value: ColorProperties | string | number[]);
128995
- value: number;
128996
- minValue: number;
128997
- maxValue: number;
129248
+ /**
129249
+ * The minimum time period (in milliseconds) selectable in the UI for the threshold
129250
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value value}.
129251
+ *
129252
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#minValue Read more...}
129253
+ */
129254
+ minValue?: number;
129255
+ /**
129256
+ * Time period in milliseconds.
129257
+ *
129258
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html#value Read more...}
129259
+ */
129260
+ value?: number;
128998
129261
  }
128999
129262
 
129000
129263
  /**