@arcgis/core 4.33.0-next.20250218 → 4.33.0-next.20250219

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 (95) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{f5ce6af342c02a4b0d15.js → 030384851fa745908a6e.js} +13 -12
  3. package/assets/esri/core/workers/chunks/0e6762d69b7449f8a997.js +1 -0
  4. package/assets/esri/core/workers/chunks/{5ad51a68d20b0d0d404f.js → 1661ac4e1b6c6af6ee0f.js} +1 -1
  5. package/assets/esri/core/workers/chunks/186db99d05ca1183d4e9.js +1 -0
  6. package/assets/esri/core/workers/chunks/{a42ae5d5e5f66d120b4d.js → 21c7265f1f2a718de7c6.js} +1 -1
  7. package/assets/esri/core/workers/chunks/2a88909a03600349dff9.js +1 -0
  8. package/assets/esri/core/workers/chunks/5352b374454bc4f73d55.js +1 -0
  9. package/assets/esri/core/workers/chunks/5984ab09ea8010f8a874.js +1 -0
  10. package/assets/esri/core/workers/chunks/{ec62fffe07c4382e8796.js → 6c64ccf5f64b5025b239.js} +1 -1
  11. package/assets/esri/core/workers/chunks/717d7e9912d948e44d8d.js +1 -0
  12. package/assets/esri/core/workers/chunks/b9292cd91005137a2094.js +1 -0
  13. package/assets/esri/core/workers/chunks/b9d2f60b2d587a2b6cd7.js +1 -0
  14. package/assets/esri/core/workers/chunks/cf285e45c18cd4399dde.js +1 -0
  15. package/assets/esri/core/workers/chunks/{42f21349f488a14198e4.js → d4a08800c75051a5131d.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{3f077176c03a360e1edd.js → dc68246df91af766593a.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{290f613ef70590de9f15.js → e862f1b9ecafc6c92b86.js} +1 -1
  18. package/assets/esri/core/workers/chunks/e96f4c76c8bc78a7f80f.js +1 -0
  19. package/assets/esri/core/workers/chunks/f06231c14c0c0e5525bd.js +1 -0
  20. package/assets/esri/core/workers/chunks/f24aef061e60d2c2f597.js +1 -0
  21. package/assets/esri/core/workers/chunks/f664cc15238c8e9856a0.js +1 -0
  22. package/assets/esri/themes/base/widgets/_Print.scss +1 -0
  23. package/assets/esri/themes/base/widgets/_ResponsiveToolbar.scss +14 -0
  24. package/assets/esri/themes/dark/main.css +1 -1
  25. package/assets/esri/themes/light/main.css +1 -1
  26. package/assets/esri/themes/light/view.css +1 -1
  27. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
  28. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
  29. package/chunks/RealisticTree.glsl.js +18 -17
  30. package/copyright.txt +71 -0
  31. package/geometry/support/meshUtils/elevation.js +1 -1
  32. package/interfaces.d.ts +178 -60
  33. package/layers/BuildingSceneLayer.js +1 -1
  34. package/layers/FeatureLayer.js +1 -1
  35. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  36. package/layers/IntegratedMeshLayer.js +1 -1
  37. package/layers/OrientedImageryLayer.js +1 -1
  38. package/layers/PointCloudLayer.js +1 -1
  39. package/layers/SceneLayer.js +1 -1
  40. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  41. package/layers/graphics/OptimizedGeometry.js +1 -1
  42. package/layers/graphics/featureConversionUtils.js +1 -1
  43. package/layers/support/featureLayerUtils.js +1 -1
  44. package/package.json +1 -1
  45. package/portal/Portal.js +1 -1
  46. package/rest/support/AttributeBinsGrouping.js +1 -1
  47. package/rest/support/AttributeBinsQuery.js +1 -1
  48. package/support/revision.js +1 -1
  49. package/symbols/cim/cimAnalyzer.js +1 -1
  50. package/views/2d/FrameTask.js +1 -1
  51. package/views/2d/layers/features/sources/FeatureCache.js +1 -1
  52. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  53. package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
  54. package/views/2d/viewpointUtils.js +1 -1
  55. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  56. package/views/3d/layers/support/FeatureTile.js +1 -1
  57. package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
  58. package/views/3d/terrain/TileRenderer.js +1 -1
  59. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  60. package/views/3d/webgl-engine/materials/renderers/BufferRange.js +1 -1
  61. package/views/VideoView.js +1 -1
  62. package/views/View2D.js +1 -1
  63. package/views/Viewport2DMixin.js +5 -0
  64. package/views/webgl/Texture.js +1 -1
  65. package/widgets/BasemapLayerList.js +1 -1
  66. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  67. package/widgets/BatchAttributeForm/templates/support/contingentValuesUtils.js +5 -0
  68. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  69. package/widgets/BatchAttributeForm.js +1 -1
  70. package/widgets/CatalogLayerList.js +1 -1
  71. package/widgets/DirectionalPad/DirectionalPadViewModel.js +1 -1
  72. package/widgets/Feature/FeatureUtilityNetworkAssociations.js +1 -1
  73. package/widgets/LayerList.js +1 -1
  74. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  75. package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
  76. package/widgets/OrientedImageryViewer/digitizationUtils.js +1 -1
  77. package/widgets/OrientedImageryViewer/galleryUtils.js +1 -1
  78. package/widgets/OrientedImageryViewer.js +1 -1
  79. package/widgets/Print.js +1 -1
  80. package/widgets/ShadowCast.js +1 -1
  81. package/widgets/Sketch/SketchViewModel.js +1 -1
  82. package/widgets/VideoPlayer.js +1 -1
  83. package/assets/esri/core/workers/chunks/1cbea0c0b20a2963a86d.js +0 -1
  84. package/assets/esri/core/workers/chunks/238bcf6514a1f214cc8a.js +0 -1
  85. package/assets/esri/core/workers/chunks/26b5397f63dc602612f2.js +0 -1
  86. package/assets/esri/core/workers/chunks/33c6fd524711efd8ef13.js +0 -1
  87. package/assets/esri/core/workers/chunks/6039da57a2adedd3b83f.js +0 -1
  88. package/assets/esri/core/workers/chunks/842db06ce62758fab1e7.js +0 -1
  89. package/assets/esri/core/workers/chunks/916f0ca8e3aaed5a9508.js +0 -1
  90. package/assets/esri/core/workers/chunks/cb3148cf11a420d6e9ab.js +0 -1
  91. package/assets/esri/core/workers/chunks/d342c56558f164e9e786.js +0 -1
  92. package/assets/esri/core/workers/chunks/d3f7ff03ab5b40062d89.js +0 -1
  93. package/assets/esri/core/workers/chunks/ed89a108b032b982b12f.js +0 -1
  94. package/assets/esri/core/workers/chunks/ef6279f5c63ab1e88c71.js +0 -1
  95. package/assets/esri/core/workers/chunks/f088e7db4e7ac85aaff1.js +0 -1
@@ -1 +1 @@
1
- {"formFailedToLoad":"Form failed to load.","differentValues":"(Different values)","empty":"No value","showAllOptions":"Show all options","valueExpressionError":"Failed to calculate value","failedToCalculateValues":"Failed to calculate values","expressionEvaluationFailed":"Form failed to run calculations","formComplexityThresholdExceeded":"Form failed to load. Please try with fewer features","validationErrors":{"cannotBeNull":"Please enter a value","outsideRange":"Value should be between {min} and {max}","outsideRangeMax":"Value should be less than or equal to {max}","outsideRangeMin":"Value should be greater than or equal to {min}","invalidCodedValue":"Value should be one of the listed values.","invalidType":"Not a valid value","invalidBatchFormType":"One or more features contain invalid values. Check individual features.","tooShort":"This field requires a minimum of {min} characters","featuresInError":"One or more features have errors. Check individual features.","nonVisibleError_checkIndividualFeatures":"One or more features have hidden fields with invalid values. Check individual features and correct the issues.","featuresWithInvalidValues":"One or more features have invalid values","nonVisibleError_changeValues":"The selected feature has hidden fields with invalid values. Change the values so that fields are visible."},"noVisibleFields":{"noElementsInCommon":"The selected features have no shared fields","noElements":"The selected feature has no fields to display","elementsHiddenInSome":"The selected features have shared fields that are not displayed because of visibility expressions","allElementsHidden":"The selected features have no fields to display"},"requiredFieldBatchMode":"This field is required for one or more features.","requiredFieldLabel":"{name} - required field"}
1
+ {"formFailedToLoad":"Form failed to load.","differentValues":"(Different values)","empty":"No value","showAllOptions":"Show all options","valueExpressionError":"Failed to calculate value","failedToCalculateValues":"Failed to calculate values","expressionEvaluationFailed":"Form failed to run calculations","formComplexityThresholdExceeded":"Form failed to load. Please try with fewer features","unsupportedContingentValues":"Editing attributes for multiple features is not available for layers with contingent values.","validationErrors":{"cannotBeNull":"Please enter a value","outsideRange":"Value should be between {min} and {max}","outsideRangeMax":"Value should be less than or equal to {max}","outsideRangeMin":"Value should be greater than or equal to {min}","invalidCodedValue":"Value should be one of the listed values.","invalidType":"Not a valid value","invalidBatchFormType":"One or more features contain invalid values. Check individual features.","tooShort":"This field requires a minimum of {min} characters","featuresInError":"One or more features have errors. Check individual features.","nonVisibleError_checkIndividualFeatures":"One or more features have hidden fields with invalid values. Check individual features and correct the issues.","featuresWithInvalidValues":"One or more features have invalid values","nonVisibleError_changeValues":"The selected feature has hidden fields with invalid values. Change the values so that fields are visible."},"noVisibleFields":{"noElementsInCommon":"The selected features have no shared fields","noElements":"The selected feature has no fields to display","elementsHiddenInSome":"The selected features have shared fields that are not displayed because of visibility expressions","allElementsHidden":"The selected features have no fields to display"},"requiredFieldBatchMode":"This field is required for one or more features.","requiredFieldLabel":"{name} - required field"}
@@ -1 +1 @@
1
- {"formFailedToLoad":"Form failed to load.","differentValues":"(Different values)","empty":"No value","showAllOptions":"Show all options","valueExpressionError":"Failed to calculate value","failedToCalculateValues":"Failed to calculate values","expressionEvaluationFailed":"Form failed to run calculations","formComplexityThresholdExceeded":"Form failed to load. Please try with fewer features","validationErrors":{"cannotBeNull":"Please enter a value","outsideRange":"Value should be between {min} and {max}","outsideRangeMax":"Value should be less than or equal to {max}","outsideRangeMin":"Value should be greater than or equal to {min}","invalidCodedValue":"Value should be one of the listed values.","invalidType":"Not a valid value","invalidBatchFormType":"One or more features contain invalid values. Check individual features.","tooShort":"This field requires a minimum of {min} characters","featuresInError":"One or more features have errors. Check individual features.","nonVisibleError_checkIndividualFeatures":"One or more features have hidden fields with invalid values. Check individual features and correct the issues.","featuresWithInvalidValues":"One or more features have invalid values","nonVisibleError_changeValues":"The selected feature has hidden fields with invalid values. Change the values so that fields are visible."},"noVisibleFields":{"noElementsInCommon":"The selected features have no shared fields","noElements":"The selected feature has no fields to display","elementsHiddenInSome":"The selected features have shared fields that are not displayed because of visibility expressions","allElementsHidden":"The selected features have no fields to display"},"requiredFieldBatchMode":"This field is required for one or more features.","requiredFieldLabel":"{name} - required field"}
1
+ {"formFailedToLoad":"Form failed to load.","differentValues":"(Different values)","empty":"No value","showAllOptions":"Show all options","valueExpressionError":"Failed to calculate value","failedToCalculateValues":"Failed to calculate values","expressionEvaluationFailed":"Form failed to run calculations","formComplexityThresholdExceeded":"Form failed to load. Please try with fewer features","unsupportedContingentValues":"Editing attributes for multiple features is not available for layers with contingent values.","validationErrors":{"cannotBeNull":"Please enter a value","outsideRange":"Value should be between {min} and {max}","outsideRangeMax":"Value should be less than or equal to {max}","outsideRangeMin":"Value should be greater than or equal to {min}","invalidCodedValue":"Value should be one of the listed values.","invalidType":"Not a valid value","invalidBatchFormType":"One or more features contain invalid values. Check individual features.","tooShort":"This field requires a minimum of {min} characters","featuresInError":"One or more features have errors. Check individual features.","nonVisibleError_checkIndividualFeatures":"One or more features have hidden fields with invalid values. Check individual features and correct the issues.","featuresWithInvalidValues":"One or more features have invalid values","nonVisibleError_changeValues":"The selected feature has hidden fields with invalid values. Change the values so that fields are visible."},"noVisibleFields":{"noElementsInCommon":"The selected features have no shared fields","noElements":"The selected feature has no fields to display","elementsHiddenInSome":"The selected features have shared fields that are not displayed because of visibility expressions","allElementsHidden":"The selected features have no fields to display"},"requiredFieldBatchMode":"This field is required for one or more features.","requiredFieldLabel":"{name} - required field"}
@@ -2,7 +2,7 @@
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{ForwardLinearDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js";import{Offset as r}from"../views/3d/webgl-engine/core/shaderLibrary/Offset.glsl.js";import{isColorOrColorEmission as i}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SliceDraw as o}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as a}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{InstancedDoublePrecision as l}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js";import{NormalAttribute as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{PositionAttribute as s}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/PositionAttribute.glsl.js";import{SymbolColor as n}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js";import{TextureCoordinateAttribute as d}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexColor as c}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js";import{VerticalOffset as g}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js";import{DefaultMaterialAuxiliaryPasses as m}from"../views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js";import{EvaluateAmbientOcclusion as v}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientOcclusion.glsl.js";import{EvaluateSceneLighting as b,addAmbientBoostFactor as w,addLightingGlobalFactor as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{addMainLightDirection as p,addMainLightIntensity as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{PhysicallyBasedRendering as h}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js";import{PBRMode as x,PhysicallyBasedRenderingParameters as y}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{ReadShadowMapPass as L,ReadShadowMapDraw as C}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{terrainDepthTest as j}from"../views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import{VisualVariables as O}from"../views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js";import{DiscardOrAdjustAlphaPass as P}from"../views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import{MixExternalColor as M}from"../views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js";import{addProjViewLocalOrigin as A,addCameraPosition as S}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float3PassUniform as E}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{Float4PassUniform as D}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as F}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as $,If as N}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as V}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{VertexAttribute as I}from"../views/3d/webgl-engine/lib/VertexAttribute.js";import{outputColorHighlightOID as T}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js";import{ShaderBuilder as B}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as _}from"../webscene/support/AlphaCutoff.js";function R(R){const z=new B,{vertex:k,fragment:G,varyings:U}=z,{output:W,offsetBackfaces:H,instancedColor:q,pbrMode:J,snowCover:K,spherical:Q}=R,X=J===x.Normal||J===x.Schematic;if(A(k,R),z.include(s),U.add("vpos","vec3"),z.include(O,R),z.include(l,R),z.include(g,R),z.include(j,R),i(W)&&(S(z.vertex,R),z.include(t,R),z.include(a,R),H&&z.include(r),q&&z.attributes.add(I.INSTANCECOLOR,"vec4"),U.add("vNormalWorld","vec3"),U.add("localvpos","vec3"),z.include(d,R),z.include(e,R),z.include(n,R),z.include(c,R),k.uniforms.add(new D("externalColor",(e=>e.externalColor))),U.add("vcolorExt","vec4"),k.main.add($`
5
+ import{ForwardLinearDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js";import{Offset as r}from"../views/3d/webgl-engine/core/shaderLibrary/Offset.glsl.js";import{isColorOrColorEmission as o}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{SliceDraw as i}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as a}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{InstancedDoublePrecision as l}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js";import{NormalAttribute as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{PositionAttribute as s}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/PositionAttribute.glsl.js";import{SymbolColor as n}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js";import{TextureCoordinateAttribute as d}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexColor as c}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js";import{VerticalOffset as g}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js";import{DefaultMaterialAuxiliaryPasses as m}from"../views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js";import{EvaluateAmbientOcclusion as v}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientOcclusion.glsl.js";import{EvaluateSceneLighting as b,addAmbientBoostFactor as w,addLightingGlobalFactor as p}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{addMainLightDirection as u,addMainLightIntensity as h}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{PhysicallyBasedRendering as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js";import{PBRMode as x,PhysicallyBasedRenderingParameters as y}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{ReadShadowMapPass as C,ReadShadowMapDraw as L}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{terrainDepthTest as j}from"../views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js";import{VisualVariables as O}from"../views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js";import{DiscardOrAdjustAlphaPass as P}from"../views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import{MixExternalColor as M}from"../views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js";import{addProjViewLocalOrigin as A,addCameraPosition as S}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float3PassUniform as E}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{Float4PassUniform as D}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as F}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as $,If as N}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as V}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{VertexAttribute as I}from"../views/3d/webgl-engine/lib/VertexAttribute.js";import{outputColorHighlightOID as T}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js";import{ShaderBuilder as B}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as R}from"../webscene/support/AlphaCutoff.js";function _(_){const z=new B,{vertex:k,fragment:G,varyings:U}=z,{output:W,offsetBackfaces:H,instancedColor:q,pbrMode:J,snowCover:K,spherical:Q}=_,X=J===x.Normal||J===x.Schematic;if(A(k,_),z.include(s),U.add("vpos","vec3"),z.include(O,_),z.include(l,_),z.include(g,_),z.include(j,_),o(W)&&(S(z.vertex,_),z.include(t,_),z.include(a,_),H&&z.include(r),q&&z.attributes.add(I.INSTANCECOLOR,"vec4"),U.add("vNormalWorld","vec3"),U.add("localvpos","vec3"),z.include(d,_),z.include(e,_),z.include(n,_),z.include(c,_),k.uniforms.add(new D("externalColor",(e=>e.externalColor))),U.add("vcolorExt","vec4"),k.main.add($`
6
6
  forwardNormalizedVertexColor();
7
7
  vcolorExt = externalColor;
8
8
  ${N(q,"vcolorExt *= instanceColor * 0.003921568627451;")}
@@ -10,24 +10,25 @@ import{ForwardLinearDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/
10
10
  vcolorExt *= getSymbolColor();
11
11
  forwardColorMixMode();
12
12
 
13
- if (vcolorExt.a < ${$.float(_)}) {
14
- gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
15
- } else {
16
- vpos = getVertexInLocalOriginSpace();
17
- localvpos = vpos - view[3].xyz;
18
- vpos = subtractOrigin(vpos);
19
- vNormalWorld = dpNormal(vvLocalNormal(normalModel()));
20
- vpos = addVerticalOffset(vpos, localOrigin);
21
- gl_Position = transformPosition(proj, view, vpos);
22
- ${N(H,"gl_Position = offsetBackfacingClipPosition(gl_Position, vpos, vNormalWorld, cameraPosition);")}
23
- }
13
+ bool alphaCut = vcolorExt.a < ${$.float(R)};
14
+ vpos = getVertexInLocalOriginSpace();
15
+ localvpos = vpos - view[3].xyz;
16
+ vpos = subtractOrigin(vpos);
17
+ vNormalWorld = dpNormal(vvLocalNormal(normalModel()));
18
+ vpos = addVerticalOffset(vpos, localOrigin);
19
+ vec4 basePosition = transformPosition(proj, view, vpos);
20
+
24
21
  forwardViewPosDepth((view * vec4(vpos, 1.0)).xyz);
25
22
  forwardLinearDepth();
26
- forwardTextureCoordinates();`)),i(W)){const{hasColorTexture:e,hasColorTextureTransform:r,receiveShadows:i}=R;z.include(b,R),z.include(v,R),z.include(P,R),z.include(R.instancedDoublePrecision?L:C,R),z.fragment.include(o,R),z.include(T,R),S(z.fragment,R),p(G),w(G),f(G),G.uniforms.add(k.uniforms.get("localOrigin"),k.uniforms.get("view"),new E("ambient",(e=>e.ambient)),new E("diffuse",(e=>e.diffuse)),new F("opacity",(e=>e.opacity)),new F("layerOpacity",(e=>e.layerOpacity))),e&&G.uniforms.add(new V("tex",(e=>e.texture))),z.include(y,R),z.include(h,R),G.include(M),u(G),G.main.add($`
23
+ forwardTextureCoordinates();
24
+
25
+ gl_Position = alphaCut ? vec4(1e38, 1e38, 1e38, 1.0) :
26
+ ${N(H,"offsetBackfacingClipPosition(basePosition, vpos, vNormalWorld, cameraPosition);","basePosition;")}
27
+ `)),o(W)){const{hasColorTexture:e,hasColorTextureTransform:r,receiveShadows:o}=_;z.include(b,_),z.include(v,_),z.include(P,_),z.include(_.instancedDoublePrecision?C:L,_),z.fragment.include(i,_),z.include(T,_),S(z.fragment,_),u(G),w(G),p(G),G.uniforms.add(k.uniforms.get("localOrigin"),k.uniforms.get("view"),new E("ambient",(e=>e.ambient)),new E("diffuse",(e=>e.diffuse)),new F("opacity",(e=>e.opacity)),new F("layerOpacity",(e=>e.layerOpacity))),e&&G.uniforms.add(new V("tex",(e=>e.texture))),z.include(y,_),z.include(f,_),G.include(M),h(G),G.main.add($`
27
28
  discardBySlice(vpos);
28
29
  discardByTerrainDepth();
29
30
  vec4 texColor = ${e?`texture(tex, ${r?"colorUV":"vuv0"})`:" vec4(1.0)"};
30
- ${N(e,`${N(R.textureAlphaPremultiplied,"texColor.rgb /= texColor.a;")}\n discardOrAdjustAlpha(texColor);`)}
31
+ ${N(e,`${N(_.textureAlphaPremultiplied,"texColor.rgb /= texColor.a;")}\n discardOrAdjustAlpha(texColor);`)}
31
32
  vec3 viewDirection = normalize(vpos - cameraPosition);
32
33
  applyPBRFactors();
33
34
  float ssao = evaluateAmbientOcclusionInverse();
@@ -35,9 +36,9 @@ import{ForwardLinearDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/
35
36
 
36
37
  float additionalAmbientScale = additionalDirectedAmbientLight(vpos + localOrigin);
37
38
  vec3 additionalLight = ssao * mainLightIntensity * additionalAmbientScale * ambientBoostFactor * lightingGlobalFactor;
38
- float shadow = ${i?"max(lightingGlobalFactor * (1.0 - additionalAmbientScale), readShadowMap(vpos, linearDepth))":Q?"lightingGlobalFactor * (1.0 - additionalAmbientScale)":"0.0"};
39
+ float shadow = ${o?"max(lightingGlobalFactor * (1.0 - additionalAmbientScale), readShadowMap(vpos, linearDepth))":Q?"lightingGlobalFactor * (1.0 - additionalAmbientScale)":"0.0"};
39
40
  vec3 matColor = max(ambient, diffuse);
40
- ${R.hasVertexColors?$`vec3 albedo = mixExternalColor(vColor.rgb * matColor, texColor.rgb, vcolorExt.rgb, int(colorMixMode));
41
+ ${_.hasVertexColors?$`vec3 albedo = mixExternalColor(vColor.rgb * matColor, texColor.rgb, vcolorExt.rgb, int(colorMixMode));
41
42
  float opacity_ = layerOpacity * mixExternalOpacity(vColor.a * opacity, texColor.a, vcolorExt.a, int(colorMixMode));`:$`vec3 albedo = mixExternalColor(matColor, texColor.rgb, vcolorExt.rgb, int(colorMixMode));
42
43
  float opacity_ = layerOpacity * mixExternalOpacity(opacity, texColor.a, vcolorExt.a, int(colorMixMode));`}
43
44
  ${N(K,"albedo = mix(albedo, vec3(1), 0.9);")}
@@ -55,4 +56,4 @@ import{ForwardLinearDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/
55
56
  vec4 emission = ${K?"vec4(0.0)":"getEmissions()"};
56
57
  vec3 shadedColor = evaluateSceneLightingPBR(shadingNormal, albedo, shadow, 1.0 - ssao, additionalLight, viewDirection, normalGround, mrr, emission, additionalAmbientIrradiance);`:$`vec3 shadedColor = evaluateSceneLighting(shadingNormal, albedo, shadow, 1.0 - ssao, additionalLight);`}
57
58
  vec4 finalColor = vec4(shadedColor, opacity_);
58
- outputColorHighlightOID(finalColor, vpos);`)}return z.include(m,R),z}const z=Object.freeze(Object.defineProperty({__proto__:null,build:R},Symbol.toStringTag,{value:"Module"}));export{z as R,R as b};
59
+ outputColorHighlightOID(finalColor, vpos);`)}return z.include(m,_),z}const z=Object.freeze(Object.defineProperty({__proto__:null,build:_},Symbol.toStringTag,{value:"Module"}));export{z as R,_ as b};
package/copyright.txt CHANGED
@@ -116,6 +116,50 @@ DEALINGS IN THE SOFTWARE.
116
116
 
117
117
  -----------------------------------------------------------------
118
118
 
119
+ bc7enc_rdo
120
+
121
+ https://github.com/richgel999/bc7enc_rdo
122
+
123
+ If you use this software in a product, attribution / credits is requested but not required.
124
+
125
+ ALTERNATIVE A - MIT License
126
+ Copyright(c) 2020-2021 Richard Geldreich, Jr.
127
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
128
+ this software and associated documentation files(the "Software"), to deal in
129
+ the Software without restriction, including without limitation the rights to
130
+ use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies
131
+ of the Software, and to permit persons to whom the Software is furnished to do
132
+ so, subject to the following conditions :
133
+ The above copyright notice and this permission notice shall be included in all
134
+ copies or substantial portions of the Software.
135
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
136
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
137
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
138
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
139
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
140
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
141
+ SOFTWARE.
142
+ ------------------------------------------------------------------------------
143
+ ALTERNATIVE B - Public Domain(www.unlicense.org)
144
+ This is free and unencumbered software released into the public domain.
145
+ Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
146
+ software, either in source code form or as a compiled binary, for any purpose,
147
+ commercial or non - commercial, and by any means.
148
+ In jurisdictions that recognize copyright laws, the author or authors of this
149
+ software dedicate any and all copyright interest in the software to the public
150
+ domain.We make this dedication for the benefit of the public at large and to
151
+ the detriment of our heirs and successors.We intend this dedication to be an
152
+ overt act of relinquishment in perpetuity of all present and future rights to
153
+ this software under copyright law.
154
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
155
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
156
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
157
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
158
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
159
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
160
+
161
+ -----------------------------------------------------------------
162
+
119
163
  console_error_panic_hook/
120
164
 
121
165
  Copyright (c) 2018 Nick Fitzgerald
@@ -263,6 +307,33 @@ SOFTWARE.
263
307
 
264
308
  -------------------------------------------------------------------------------
265
309
 
310
+ goofy/
311
+
312
+ https://github.com/SergeyMakeev/Goofy
313
+
314
+ Copyright (c) 2020 Sergey Makeev <sergeymakeev@hotmail.com>
315
+
316
+ Permission is hereby granted, free of charge, to any person obtaining
317
+ a copy of this software and associated documentation files (the
318
+ "Software"), to deal in the Software without restriction, including
319
+ without limitation the rights to use, copy, modify, merge, publish,
320
+ distribute, sublicense, and/or sell copies of the Software, and to
321
+ permit persons to whom the Software is furnished to do so, subject to
322
+ the following conditions:
323
+
324
+ The above copyright notice and this permission notice shall be included
325
+ in all copies or substantial portions of the Software.
326
+
327
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
328
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
329
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
330
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
331
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
332
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
333
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
334
+
335
+ -------------------------------------------------------------------------------
336
+
266
337
  luxon/
267
338
 
268
339
  https://github.com/moment/luxon
@@ -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 e from"../../../core/Logger.js";import{getMetersPerUnitForSR as t}from"../../../core/unitUtils.js";import o from"../../Mesh.js";import n from"../../Point.js";import{project as r}from"../../projection.js";import i from"../MeshComponent.js";import{MeshVertexAttributes as a}from"../MeshVertexAttributes.js";import{isGround as s}from"../../../support/groundInstanceUtils.js";async function l(t,o,n){let r;if(u(t)||s(t)){const e=await c(t);return r=await e.createElevationSampler(o,{demResolution:n?.demResolution??"finest-contiguous"}),m(r,o,{material:n?.material})}return"string"==typeof n?.demResolution?(e.getLogger("esri.geometry.support.meshUtils.elevation").error("create()","demResolution must be a number when used directly with a sampler"),null):m(t,o,{material:n?.material,demResolution:n?.demResolution})}function m(e,n,s){const l=t(n.spatialReference),m=(s?.demResolution??e.demResolution.min)/l,c=Math.round(n.width/m),u=Math.round(n.height/m),f=c+1,d=u+1,h=new Float64Array(f*d*3),R=new Float32Array(f*d*2);let w=0,y=0;const g=new Uint32Array(c*u*2*3);let j=0,v=0;const A=!e.spatialReference.equals(n.spatialReference);p.spatialReference=n.spatialReference;const{xmin:x,ymin:b,height:M,width:U}=n;for(let t=0;t<d;t++){const o=b+M*(t/u);for(let n=0;n<f;n++){const i=x+U*(n/c);if(h[w++]=i,h[w++]=o,A){p.x=i,p.y=o;const t=r(p,e.spatialReference);h[w++]=e.elevationAt(t.x,t.y)??0}else h[w++]=e.elevationAt(i,o)??0;const a=n/c,s=t/u;R[y++]=a,R[y++]=s,t!==u&&n!==c&&(g[v++]=j+1,g[v++]=j+f+1,g[v++]=j+f,g[v++]=j,g[v++]=j+1,g[v++]=j+f),j++}}return new o({vertexAttributes:new a({position:h,uv:R}),components:[new i({faces:g,shading:"smooth",material:s?.material??null})],spatialReference:n.spatialReference})}async function c(e){return u(e)?e.load():(await e.load(),await Promise.allSettled(e.layers.items.map((e=>e.load()))),e)}function u(e){return"type"in e&&("elevation"===e.type||"base-elevation"===e.type)}const p=new n;export{l as create};
5
+ import e from"../../../core/Logger.js";import{getMetersPerUnitForSR as t}from"../../../core/unitUtils.js";import o from"../../Mesh.js";import n from"../../Point.js";import{project as r}from"../../projection.js";import i from"../MeshComponent.js";import{MeshVertexAttributes as s}from"../MeshVertexAttributes.js";import{isGround as a}from"../../../support/groundInstanceUtils.js";const l=()=>e.getLogger("esri.geometry.support.meshUtils.elevation");async function m(e,t,n){let r;if(p(e)||a(e)){const o=await c(e);return r=await o.createElevationSampler(t,{demResolution:n?.demResolution??"finest-contiguous"}),u(r,t,{material:n?.material})}return"string"==typeof n?.demResolution?(l().error("create()","demResolution must be a number when used directly with a sampler"),new o):u(e,t,{material:n?.material,demResolution:n?.demResolution})}function u(e,n,a){if(e.demResolution.min<=0&&!a?.demResolution)return l().error("create()","demResolution must be specified when used with groundView.elevationSampler"),new o;const m=t(n.spatialReference),u=(a?.demResolution??e.demResolution.min)/m,c=Math.round(n.width/u),p=Math.round(n.height/u),d=c+1,w=p+1,R=new Float64Array(d*w*3),h=new Float32Array(d*w*2);let y=0,g=0;const j=new Uint32Array(c*p*2*3);let v=0,A=0;const b=!e.spatialReference.equals(n.spatialReference);f.spatialReference=n.spatialReference;const{xmin:x,ymin:M,height:U,width:S}=n;for(let t=0;t<w;t++){const o=M+U*(t/p);for(let n=0;n<d;n++){const i=x+S*(n/c);if(R[y++]=i,R[y++]=o,b){f.x=i,f.y=o;const t=r(f,e.spatialReference);R[y++]=e.elevationAt(t.x,t.y)??0}else R[y++]=e.elevationAt(i,o)??0;const s=n/c,a=t/p;h[g++]=s,h[g++]=a,t!==p&&n!==c&&(j[A++]=v+1,j[A++]=v+d+1,j[A++]=v+d,j[A++]=v,j[A++]=v+1,j[A++]=v+d),v++}}return new o({vertexAttributes:new s({position:R,uv:h}),components:[new i({faces:j,shading:"smooth",material:a?.material??null})],spatialReference:n.spatialReference})}async function c(e){return p(e)?e.load():(await e.load(),await Promise.allSettled(e.layers.items.map((e=>e.load()))),e)}function p(e){return"type"in e&&("elevation"===e.type||"base-elevation"===e.type)}const f=new n;export{m as create};