@arcgis/core 5.1.0-next.32 → 5.1.0-next.34

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 (61) hide show
  1. package/WebScene.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/{ad9194335902c687bb96.js → 48968fb9e103ee6c3579.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{965b8fa54d0cfafd4a70.js → 5b22245bf02f839d79e3.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{7948d6f14ae44d346d88.js → 5cb4cd1cc6c21f69b925.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{7411ca5e1876aaa0228e.js → 6ba87ebb1c8c5f1d4798.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{e3fe1db9380633292b27.js → 746b3e98bad32c366a27.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{01e4cc34be6265843258.js → 8109476a7b1039d424ab.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{75cde632887a95ea20f2.js → 91e9337bef87ada2e05c.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{942e4d69b140bc2f97c9.js → 938125c024e1524a57e6.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{17078f4ab1b3e33c80b4.js → ab679e5d76d70a1672af.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{85f309c1888c1c8411b1.js → ba477072b1d1d3b5f78b.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{ca700e9e1bced9f99899.js → bfdfa737f8e7b0bee417.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{af601eb8c938c0720406.js → c2c339b2df1c4466f4d4.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{c24ce19ab8580364c703.js → cc69e61d6a7c220e3dd8.js} +2 -2
  16. package/assets/esri/core/workers/chunks/{19722dfef06028ab399b.js → cf045900f179210f22d2.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{e9dd60d0220036545ebb.js → d22cc7d485c032181bbc.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{ba067547ec094ad13904.js → da60a6df2f7858a2910e.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{7ddb11a127b9458e9eac.js → f104d83b7b31a16908ee.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{29687aae97dc01f33fa6.js → f7e66295401b85e2c91d.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{3ca7f5cedf3cb747c0cf.js → fa62d43ccf5cb991dddd.js} +1 -1
  22. package/config.js +1 -1
  23. package/core/has.js +1 -1
  24. package/kernel.js +1 -1
  25. package/package.json +3 -3
  26. package/portal/schemas/definitions.js +1 -1
  27. package/support/revision.js +1 -1
  28. package/views/2d/engine/flow/dataUtils.js +1 -1
  29. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  30. package/views/2d/engine/webgl/TextureManager.js +1 -1
  31. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  32. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  33. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  34. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
  35. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
  36. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  37. package/views/3d/interactive/manipulators/ResizeManipulator.js +2 -0
  38. package/views/3d/interactive/manipulators/RotateManipulator.js +2 -0
  39. package/views/3d/interactive/manipulators/ShiftManipulator.js +2 -0
  40. package/views/3d/layers/I3SMeshView3D.js +1 -1
  41. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  42. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  43. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  44. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  45. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  46. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  47. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  48. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  49. package/views/3d/terrain/TerrainRenderer.js +1 -1
  50. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  51. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  52. package/views/draw/Draw.d.ts +37 -16
  53. package/views/draw/plugins/CircularArcSegmentPlugin.js +1 -1
  54. package/views/interactive/coordinateHelper.js +1 -1
  55. package/views/support/flow/dataUtils.js +1 -1
  56. package/views/webgl/RenderingContext.js +1 -1
  57. package/widgets/Editor/EditorViewModel.js +1 -1
  58. package/views/3d/analysis/Slice/ResizeManipulator.js +0 -2
  59. package/views/3d/analysis/Slice/RotateManipulator.js +0 -2
  60. package/views/3d/analysis/Slice/ShiftManipulator.js +0 -2
  61. /package/assets/esri/core/workers/chunks/{c24ce19ab8580364c703.js.LICENSE.txt → cc69e61d6a7c220e3dd8.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{multiplyOpacity as e,getContrast as t}from"../../../../core/colorUtils.js";import{releaseMaybe as r}from"../../../../core/maybe.js";import{watch as i,initial as o}from"../../../../core/reactiveUtils.js";import{DidPointerMoveRecentlyFlag as a}from"./sliceToolUtils.js";import{Manipulator3D as s}from"../../interactive/Manipulator3D.js";import{rotateManipulatorDefaults as n}from"../../interactive/manipulatorUtils.js";import{RenderObject as l}from"../../interactive/RenderObject.js";import{Attribute as c}from"../../webgl-engine/lib/Attribute.js";import{Geometry as m}from"../../webgl-engine/lib/Geometry.js";import{createPolylineGeometry as u}from"../../webgl-engine/lib/GeometryUtil.js";import{Parameters as d,ImageMaterial as p}from"../../webgl-engine/materials/ImageMaterial.js";import{RibbonLineMaterial as f}from"../../webgl-engine/materials/RibbonLineMaterial.js";class h extends s{constructor(r,a){const s=e(r.effectiveTheme.accentColor,.5),l=t(r.effectiveTheme.accentColor),c=a(s,l),m=new d(c.managedTexture,!1);m.writeDepth=!1,m.renderOccluded=16,m.isDecoration=!0;const u=new p(m),h=n.calloutWidth,g=new f({width:h,renderOccluded:4,isDecoration:!0},r.state.isGlobal);super({view:r,...w({imageMaterial:u,calloutMaterial:g})}),this._material=u,this._textureHandle=c,this._themeHandle=i(()=>r.effectiveTheme.accentColor,r=>{const i=e(r,.5),o=t(r),s=this._textureHandle;this._textureHandle=a(i,o),u.setParameters({managedTexture:this._textureHandle.managedTexture}),s?.release(),g.setParameters({color:r.toUnitRGBA()})},o)}destroy(){this._textureHandle=r(this._textureHandle),this._themeHandle.remove(),this._material.dispose(),super.destroy()}}function w({imageMaterial:e,calloutMaterial:t}){const{focusMultiplier:r,calloutLength:i,discRadius:o}=n,s=o*r,d=(e,t)=>{const r=[0,1,2,2,3,0];return new m(t,[["position",new c([i-e,-e,0,i+e,-e,0,i+e,e,0,i-e,e,0],r,3,!0)],["uv0",new c([0,0,1,0,1,1,0,1],r,2,!0)]])},p=u(t,[[0,0,0],[i-o,0,0]]),f=u(t,[[0,0,0],[i-s,0,0]]),h=a;return{autoScaleRenderObjects:!1,collisionPriority:1,collisionType:{type:"disc",direction:[0,0,1],offset:[i,0,0]},focusMultiplier:r,radius:o,renderObjects:[new l(d(o,e),1|h),new l(p,1|h),new l(d(s,e),2|h),new l(f,2|h)],state:h}}export{h as RotateManipulator};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import t from"../../../../Color.js";import{getContrast as e}from"../../../../core/colorUtils.js";import{watch as r,initial as o}from"../../../../core/reactiveUtils.js";import{identity as i,translate as a,scale as s,fromQuat as n,multiply as c}from"../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as l}from"../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{rotationTo as m}from"../../../../core/libs/gl-matrix-2/math/quat.js";import{subtract as p,normalize as u,scale as f,add as d,set as g}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as h,fromValues as b}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{sv3d as j,sm4d as M,sq4d as w}from"../../../../geometry/support/vectorStacks.js";import{shiftRestartOffsetDistance as v,shiftRestartTipRadius as O,shiftRestartTipLength as U,shiftRestartArrowOutlineWidth as x,shiftRestartArrowLength as y,shiftRestartTubeRadius as D,shiftRestartTubeFocusMultiplier as P,shiftRestartTipFocusMultiplier as R}from"./sliceToolConfig.js";import{DidPointerMoveRecentlyFlag as C,IsShiftEdgeOnScreenFlag as G}from"./sliceToolUtils.js";import{Manipulator3D as A}from"../../interactive/Manipulator3D.js";import{RenderObject as B}from"../../interactive/RenderObject.js";import{createPolylineGeometry as F,createConeGeometry as T,createPathExtrusionGeometry as H}from"../../webgl-engine/lib/GeometryUtil.js";import{ColorMaterial as S}from"../../webgl-engine/materials/ColorMaterial.js";import{RibbonLineMaterial as _}from"../../webgl-engine/materials/RibbonLineMaterial.js";class k extends A{constructor(i,a){const s=new _({width:1,renderOccluded:4,isDecoration:!0},i.state.isGlobal),n=new S({cullFace:2,renderOccluded:16,isDecoration:!0}),c=new S({cullFace:2,renderOccluded:16,isDecoration:!0}),l=new S({cullFace:2,renderOccluded:16,isDecoration:!0}),m=new S({writeDepth:!1,cullFace:1,renderOccluded:2,isDecoration:!0});super({view:i,...q({offsetMode:a,tubeMaterial:n,tipMaterial:c,capMaterial:l,outlineMaterial:m,calloutMaterial:s})}),this._themeHandle=r(()=>i.effectiveTheme.accentColor,r=>{const o=e(r),i=r.toUnitRGBA(),a=o.toUnitRGBA(),p=t.blendColors(o,r,.4).toUnitRGBA(),u=t.blendColors(o,r,.14).toUnitRGBA();s.setParameters({color:i}),n.setParameters({color:u}),c.setParameters({color:a}),l.setParameters({color:p}),m.setParameters({color:i})},o)}destroy(){this._themeHandle.remove(),super.destroy()}}function q({offsetMode:t,tubeMaterial:e,tipMaterial:r,capMaterial:o,outlineMaterial:i,calloutMaterial:a}){const s=0===t?v:0,n=[b(s,0,-y/2),b(s,0,y/2)],c=z(n),l=I({vertices:n,padding:0,materials:{tube:e,tip:r,cap:o}}),m=I({vertices:n,padding:x,materials:{tube:i,tip:i,cap:i}}),p=F(a,[[s,0,0],[s-v,0,0]]),u=F(a,[[s,0,0],[s-v,0,0]]);return{renderObjects:[...l.normal.map(t=>new B(t,1|C)),...m.normal.map(t=>new B(t,1|C)),new B(p,1|C|G),...l.focused.map(t=>new B(t,2|C)),...m.focused.map(t=>new B(t,2|C)),new B(u,2|C|G)],autoScaleRenderObjects:!1,collisionType:{type:"line",paths:[c]},collisionPriority:1,radius:O,state:C}}function I({vertices:t,padding:e,materials:r}){const o=o=>{const v=t.slice(),x=p(j.get(),v[0],v[1]);u(x,x);const y=p(j.get(),v[v.length-1],v[v.length-2]);if(u(y,y),e>0){const t=f(h(),y,-e);v[v.length-1]=d(t,t,v[v.length-1]);const r=f(h(),x,-e);v[0]=d(r,r,v[0])}const C=o?R:1,G=U*C,A=O*C,B=i(M.get());if(e>0){const t=G/4,r=g(j.get(),0,t,0),o=1+e/t;a(B,B,r),s(B,B,g(j.get(),o,o,o)),a(B,B,f(r,r,-1/o))}const F=i(l()),H=b(0,1,0),S=n(l(),m(w.get(),H,y));S[12]=v[v.length-1][0],S[13]=v[v.length-1][1],S[14]=v[v.length-1][2],c(S,S,B);const _=r.tube,k=L(D*(o?P:1)+e,v,_);k.transformation=F;const q=[k],I=r.tip,z=T(I,G,A,24,!1,!1,!0);z.transformation=S,q.push(z);const E=r.cap,J=T(E,G,A,24,!1,!0,!1);J.transformation=S,q.push(J);const K=n(l(),m(w.get(),H,x));return K[12]=v[0][0],K[13]=v[0][1],K[14]=v[0][2],c(K,K,B),q.push(z.instantiate({transformation:K})),q.push(J.instantiate({transformation:K})),q};return{normal:o(!1),focused:o(!0)}}function L(t,e,r){const o=[],i=12;for(let a=0;a<i;a++){const e=a/i*2*Math.PI;o.push([Math.cos(e)*t,Math.sin(e)*t])}return H(r,o,e,[],[],!1)}function z(t,e){const r=p(h(),t[t.length-1],t[t.length-2]);u(r,r),f(r,r,U),d(r,r,t[t.length-1]);{const e=p(h(),t[0],t[1]);return u(e,e),f(e,e,U),d(e,e,t[0]),[e,...t,r]}}export{k as ShiftManipulator};