@agrotools1/at-components 0.6.16 → 0.6.17

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 (504) hide show
  1. package/dist/Map/Map.d.ts +27 -4
  2. package/dist/Map/Map.vue.js +1 -1
  3. package/dist/Map/Map.vue2.js +162 -121
  4. package/dist/Stepper/Stepper.vue.js +48 -35
  5. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/analysis/SlicePlane.js +23 -0
  6. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/ImageMaterial.glsl.js +56 -0
  7. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Laserlines.glsl.js +7 -7
  8. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/LineCallout.glsl.js +138 -0
  9. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/LineMarker.glsl.js +200 -0
  10. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/NativeLine.glsl.js +40 -0
  11. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Path.glsl.js +111 -0
  12. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/Pattern.glsl.js +185 -0
  13. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/SlicePlaneMaterial.glsl.js +30 -0
  14. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/WaterSurface.glsl.js +158 -0
  15. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/chunks/vec32.js +13 -13
  16. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/MapUtils.js +18 -11
  17. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/PooledArray.js +2 -2
  18. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/accessorSupport/diffUtils.js +75 -48
  19. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/arrayUtils.js +59 -53
  20. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/asyncUtils.js +1 -1
  21. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/colorUtils.js +77 -59
  22. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/fontUtils.js +22 -18
  23. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/handleUtils.js +12 -5
  24. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/factories/mat2f64.js +19 -0
  25. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/math/mat2.js +104 -0
  26. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/libs/gl-matrix-2/math/mat4.js +12 -12
  27. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/mathUtils.js +29 -25
  28. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/quantityFormatUtils.js +115 -0
  29. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/quantityUtils.js +38 -19
  30. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/reactiveUtils.js +63 -49
  31. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/scheduling.js +56 -48
  32. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/time.js +9 -5
  33. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/unitFormatUtils.js +95 -41
  34. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/core/unitUtils.js +130 -89
  35. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/Circle.js +82 -0
  36. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/ellipsoidUtils.js +1 -1
  37. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectBoundingRect.js +11 -0
  38. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPointToVector.js +16 -12
  39. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPolygonToWGS84ComparableLonLat.js +22 -0
  40. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectPolylineToWGS84ComparableLonLat.js +22 -0
  41. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection/projectVectorToPoint.js +25 -0
  42. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/projection.js +1 -1
  43. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/spatialReferenceEllipsoidUtils.js +12 -12
  44. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/FloatArray.js +12 -4
  45. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/Indices.js +26 -22
  46. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/aaBoundingBox.js +133 -74
  47. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/aaBoundingRect.js +78 -49
  48. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/axisAngleDegrees.js +13 -13
  49. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/buffer/BufferView.js +93 -93
  50. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/coordsUtils.js +132 -68
  51. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/geodesicUtils.js +3 -3
  52. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/heightModelInfoUtils.js +71 -19
  53. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/lineSegment.js +12 -12
  54. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/meshUtils/External.js +4 -4
  55. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/plane.js +107 -89
  56. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/ray.js +3 -3
  57. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/rotate.js +44 -0
  58. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/triangle.js +16 -11
  59. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/vector.js +14 -9
  60. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/geometry/support/vectorStacks.js +6 -6
  61. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/data/QueryEngine.js +12 -12
  62. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/dehydratedFeatures.js +64 -13
  63. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/hydratedFeatures.js +54 -46
  64. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/graphics/sources/support/uploadAssets.js +6 -6
  65. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/mixins/ArcGISMapService.js +2 -2
  66. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/mixins/PortalLayer.js +4 -4
  67. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/ElevationSampler.js +4 -4
  68. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/layerUtils.js +44 -24
  69. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/layers/support/vectorTileLayerLoader.js +3 -3
  70. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/libs/maquette/h.js +17 -0
  71. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/UniqueValueRenderer.js +2 -2
  72. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/AuthoringInfo.js +3 -3
  73. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/numberUtils.js +65 -5
  74. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/rendererConversion.js +55 -0
  75. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/support/renderingInfoUtils.js +115 -0
  76. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/renderers/visualVariables/support/visualVariableUtils.js +195 -149
  77. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/actions/ActionSlider.js +21 -0
  78. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/basemapUtils.js +31 -26
  79. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/elevationInfoUtils.js +77 -57
  80. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/support/progressUtils.js +2 -2
  81. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/callouts/calloutUtils.js +20 -12
  82. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/cim/CIMSymbolRasterizer.js +80 -0
  83. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/cim/utils.js +100 -76
  84. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/IconSymbol3DLayerResource.js +11 -9
  85. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/ObjectSymbol3DLayerResource.js +7 -5
  86. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/cimSymbolUtils.js +169 -16
  87. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/defaults3D.js +31 -0
  88. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/defaultsJSON.js +8 -7
  89. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/gfxUtils.js +89 -9
  90. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewCIMSymbol.js +47 -0
  91. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewSymbol2D.js +142 -0
  92. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewSymbol3D.js +288 -37
  93. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewUtils.js +87 -6
  94. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/previewWebStyleSymbol.js +25 -0
  95. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/renderUtils.js +82 -9
  96. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/styleUtils.js +3 -3
  97. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/svgUtils.js +271 -7
  98. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/symbolLayerUtils3D.js +34 -16
  99. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/symbolUtils.js +147 -41
  100. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/symbols/support/utils.js +169 -128
  101. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/ControlPointsTransformTool.js +149 -0
  102. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +78 -0
  103. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/TransformTool.js +218 -0
  104. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/draw/DrawGraphicTool2D.js +70 -0
  105. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/draw/symbols.js +9 -0
  106. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/DragManipulation.js +50 -0
  107. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/Manipulation.js +28 -0
  108. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +50 -0
  109. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +78 -0
  110. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools/manipulations/utils.js +54 -0
  111. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/interactive/editingTools.js +10 -0
  112. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/FeatureLayerView2D.js +6 -6
  113. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/ImageryLayerView2D.js +2 -2
  114. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/TileLayerView2D.js +8 -8
  115. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/features/Processor.js +2 -2
  116. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/layers/support/ExportStrategy.js +5 -5
  117. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/2d/navigation/MapViewNavigation.js +4 -4
  118. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/ResizeManipulator.js +31 -0
  119. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/RotateManipulator.js +38 -0
  120. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/ShiftManipulator.js +88 -0
  121. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/sliceToolConfig.js +20 -0
  122. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/Slice/sliceToolUtils.js +129 -0
  123. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/Factory.js +11 -0
  124. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/generateTextures.js +27 -0
  125. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/analysis/images/heading-rotate-svg.js +4 -0
  126. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/environment/CloudsParameters.js +5 -5
  127. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/environment/weather.js +3 -2
  128. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/SegmentLabels3D.js +24 -0
  129. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/GrabbingState.js +7 -0
  130. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorState.js +23 -0
  131. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/ManipulatorType.js +7 -0
  132. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/dragEventPipeline3D.js +121 -67
  133. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +138 -0
  134. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/geometryUtils.js +22 -0
  135. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/isSupportedGraphicUtils.js +26 -0
  136. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/lineGraphicVisualElementUtils.js +74 -0
  137. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/Manipulation.js +53 -0
  138. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveManipulation.js +84 -0
  139. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +116 -0
  140. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +90 -0
  141. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveXYGraphicManipulation.js +36 -0
  142. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +96 -0
  143. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/config.js +29 -0
  144. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulations/moveUtils.js +25 -0
  145. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/manipulatorUtils.js +7 -0
  146. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/meshFastUpdateUtils.js +34 -0
  147. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js +256 -0
  148. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/moveGraphic/isSupportedGraphic.js +23 -0
  149. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/originGraphicVisualElementUtils.js +94 -0
  150. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/GraphicReshapeTool.js +93 -0
  151. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/ReshapeOperation.js +738 -0
  152. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/edgeOffsetUtils.js +39 -0
  153. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/reshapeGraphic/isSupportedGraphic.js +25 -0
  154. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/settings.js +124 -0
  155. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/snapping/SnapToScene.js +38 -0
  156. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentMove.js +108 -0
  157. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentRotate.js +96 -0
  158. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentScale.js +138 -0
  159. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ExtentTransformTool.js +164 -0
  160. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicScaleRotateTransform.js +331 -0
  161. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +170 -0
  162. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/PreserveAspectRatio.js +32 -0
  163. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +96 -0
  164. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/ScaleRotateObjectSymbol3DAdapter.js +142 -0
  165. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/extentUtils.js +71 -0
  166. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/isSupportedGraphic.js +27 -0
  167. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/transformGraphic/undoRecords.js +37 -0
  168. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools/visualElementUtils.js +17 -0
  169. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/editingTools.js +12 -0
  170. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/manipulatorUtils.js +50 -38
  171. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DTool.js +4 -4
  172. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +5 -5
  173. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/visualElements/OutlineVisualElement.js +196 -0
  174. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/interactive/visualElements/VerticesVisualElement.js +108 -0
  175. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/GraphicsLayerView3D.js +110 -0
  176. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/LayerView3D.js +42 -0
  177. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/DisplayFeatureLimit.js +8 -0
  178. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ElevationAligners.js +87 -0
  179. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ElevationQuery.js +20 -0
  180. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/ExtentSet.js +71 -0
  181. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicState.js +16 -0
  182. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicStateTracking.js +65 -0
  183. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DCalloutSymbolLayerFactory.js +16 -0
  184. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DCore.js +1110 -0
  185. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +84 -0
  186. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DElevationAlignment.js +93 -0
  187. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +221 -0
  188. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DFeatureStore.js +43 -0
  189. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +78 -0
  190. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DGraphic.js +164 -0
  191. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DGraphicCreationContext.js +8 -0
  192. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +367 -0
  193. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +115 -0
  194. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +226 -0
  195. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +96 -0
  196. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +511 -0
  197. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +91 -0
  198. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +147 -0
  199. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectMetadata.js +8 -0
  200. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectStateSet.js +16 -0
  201. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectStates.js +69 -0
  202. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +347 -0
  203. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +240 -0
  204. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPathSymbolLayerConstants.js +6 -0
  205. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPointSymbol.js +51 -0
  206. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +203 -0
  207. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DScaleVisibility.js +145 -0
  208. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbol.js +158 -0
  209. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +14 -0
  210. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolFactory.js +8 -0
  211. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolLayer.js +195 -0
  212. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DSymbolLayerFactory.js +19 -0
  213. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +153 -0
  214. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +151 -0
  215. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +57 -0
  216. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicsCorePerformanceInfo.js +8 -0
  217. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/GraphicsProcessor.js +192 -0
  218. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/LabelParameters.js +17 -0
  219. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/Loadable.js +32 -0
  220. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/MeshFastUpdateProcessor.js +85 -0
  221. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/SpatialIndex2D.js +70 -0
  222. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/SymbolComplexity.js +32 -0
  223. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/constants.js +6 -0
  224. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/defaultSymbolComplexity.js +152 -0
  225. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/elevationAlignPointsInFeatures.js +35 -0
  226. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/elevationAlignmentUtils.js +107 -33
  227. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/enums.js +10 -0
  228. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/featureExpressionInfoUtils.js +48 -25
  229. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/graphicUtils.js +119 -0
  230. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/interfaces.js +7 -0
  231. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/lineUtils.js +21 -0
  232. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/lodResourceUtils.js +16 -0
  233. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/objectResourceUtils.js +15 -15
  234. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/placementUtils.js +45 -0
  235. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/pointUtils.js +45 -0
  236. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/polygonUtils.js +60 -29
  237. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/primitiveObjectSymbolUtils.js +45 -0
  238. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/queryForSymbologySnapping.js +32 -0
  239. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/symbolMemory.js +6 -0
  240. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/graphics/webStyleUtils.js +25 -0
  241. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/FastSymbolUpdates.js +323 -31
  242. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/LayerViewPerformanceInfo.js +8 -0
  243. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/StageLayerElevationProvider.js +76 -0
  244. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/edgeUtils.js +37 -8
  245. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/layerUtils.js +10 -0
  246. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/patternUtils.js +52 -0
  247. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/projectExtentUtils.js +14 -0
  248. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/symbolColorUtils.js +28 -6
  249. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/layers/support/uvUtils.js +68 -0
  250. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/ElevationProvider.js +11 -5
  251. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/ElevationUpdateEvent.js +9 -0
  252. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/FrustumExtentIntersection.js +105 -0
  253. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/buffer/InterleavedLayout.js +5 -5
  254. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/engineContent/line.js +68 -0
  255. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/engineContent/marker.js +3 -2
  256. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/extentUtils.js +12 -0
  257. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/geometryUtils/ray.js +15 -11
  258. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/intersectionUtils.js +33 -0
  259. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/mathUtils.js +13 -8
  260. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/orientedBoundingBox.js +22 -22
  261. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/line.js +29 -0
  262. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/point.js +13 -0
  263. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/support/renderInfoUtils/polygon.js +63 -0
  264. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +25 -17
  265. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +105 -0
  266. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +3 -3
  267. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +1 -1
  268. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/FoamRendering.glsl.js +16 -0
  269. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +14 -0
  270. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js +19 -0
  271. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +53 -13
  272. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +123 -0
  273. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +85 -0
  274. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +68 -0
  275. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +105 -0
  276. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/core/shaderModules/TextureCubePassUniform.js +10 -0
  277. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/effects/RenderPlugin.js +5 -2
  278. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/AnimationTimer.js +15 -0
  279. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/BoundingInfo.js +2 -2
  280. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/FontMetrics.js +30 -0
  281. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/GeometryUtil.js +308 -73
  282. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/GeometryWithMapPositions.js +19 -0
  283. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Intersector.js +14 -14
  284. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Normals.js +16 -8
  285. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Object3D.js +14 -14
  286. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Object3DStateSet.js +57 -0
  287. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Octree.js +4 -4
  288. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/Path.js +40 -0
  289. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathBuilder.js +62 -0
  290. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathCapBuilder.js +100 -0
  291. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathExtruder.js +53 -0
  292. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathGeometry.js +19 -0
  293. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathGeometryData.js +94 -0
  294. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathProfile.js +62 -0
  295. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/PathVertex.js +81 -0
  296. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextHelperCanvas.js +6 -0
  297. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextRenderParameters.js +46 -0
  298. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextRenderer.js +219 -0
  299. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextTextureAtlas.js +212 -0
  300. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/TextTextureFactory.js +30 -0
  301. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +5 -5
  302. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/BackedBufferObject.js +43 -0
  303. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +174 -0
  304. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/InstanceOctree.js +20 -0
  305. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/Intersector.js +13 -0
  306. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LevelSelector.js +15 -0
  307. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +43 -0
  308. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +48 -0
  309. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +264 -0
  310. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/LodResources.js +44 -0
  311. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +110 -0
  312. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/lib/pathGeometryUtils.js +25 -0
  313. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/DefaultLayouts.js +12 -0
  314. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/DefaultMaterial.js +3 -3
  315. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/ImageMaterial.js +66 -0
  316. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/LineCalloutMaterial.js +68 -0
  317. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/LineMarkerMaterial.js +104 -0
  318. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/NativeLineMaterial.js +106 -0
  319. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PathMaterial.js +74 -0
  320. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PathTechnique.js +49 -0
  321. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PatternMaterial.js +86 -0
  322. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/PatternStyle.js +7 -0
  323. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterGLMaterial.js +25 -0
  324. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterMaterial.js +48 -0
  325. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/WaterTechnique.js +48 -0
  326. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +122 -109
  327. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/internal/waterMaterialUtils.js +4 -0
  328. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/lineStippleUtils.js +18 -0
  329. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/materials/renderers/utils.js +15 -9
  330. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +33 -27
  331. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +15 -0
  332. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +45 -0
  333. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LaserlineTechnique.js +2 -2
  334. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCallout.glsl.js +17 -0
  335. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +27 -0
  336. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +12 -0
  337. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineMarker.glsl.js +24 -0
  338. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +32 -0
  339. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLine.glsl.js +15 -0
  340. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLineTechnique.js +28 -0
  341. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/NativeLineTechniqueConfiguration.js +13 -0
  342. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/Path.glsl.js +25 -0
  343. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/Pattern.glsl.js +19 -0
  344. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/PatternTechnique.js +46 -0
  345. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +2 -2
  346. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +12 -0
  347. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +21 -0
  348. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +29 -0
  349. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/DOMContainer.js +6 -6
  350. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawGraphicTool.js +397 -0
  351. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawOperation.js +1 -1
  352. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/DrawScreenTool.js +126 -0
  353. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/drawSurfaces.js +47 -21
  354. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/Box.js +481 -0
  355. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/GraphicMover.js +211 -0
  356. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/HighlightHelper.js +38 -0
  357. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/Reshape.js +556 -0
  358. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/createUtils.js +118 -0
  359. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/drawUtils.js +117 -23
  360. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/helpMessageUtils.js +26 -0
  361. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/helpMessageUtils3d.js +22 -0
  362. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/input/GraphicMoverEvents.js +65 -0
  363. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/layerUtils.js +17 -0
  364. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/draw/support/settings.js +40 -0
  365. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/SegmentLabels.js +147 -0
  366. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/dragEventPipeline.js +165 -81
  367. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +3 -3
  368. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/editGeometry/support/editPlaneUtils.js +52 -0
  369. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/keybindings.js +3 -2
  370. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchOptions.js +20 -0
  371. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipElevationOptions.js +19 -0
  372. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js +22 -0
  373. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchTooltipVisibleElements.js +20 -0
  374. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/SketchValueOptions.js +26 -0
  375. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/constraints.js +25 -25
  376. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/sketch/normalizedPoint.js +1 -1
  377. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/FeatureSnappingEngine.js +6 -6
  378. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/FeatureCollectionSnappingSource.js +3 -3
  379. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +3 -3
  380. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +6 -6
  381. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/DrawTooltipInfos.js +68 -0
  382. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/ExtentTooltipInfos.js +21 -0
  383. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/ReshapeTooltipInfos.js +17 -0
  384. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/SketchTooltipInfo.js +25 -0
  385. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/Tooltip.js +80 -0
  386. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/TransformTooltipInfos.js +30 -0
  387. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/TranslateTooltipInfos.js +64 -0
  388. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/DrawHeaderActions.js +34 -0
  389. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/TooltipEditableField.js +117 -0
  390. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/TooltipField.js +23 -0
  391. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/ValueByValue.js +23 -0
  392. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/components/directionModeIcons.js +4 -0
  393. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/constraintUtils.js +90 -91
  394. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/Fields.js +9 -0
  395. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContent.js +150 -0
  396. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawCircle.js +21 -0
  397. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawMesh.js +20 -0
  398. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPoint.js +20 -0
  399. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPolygon.js +24 -0
  400. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawPolyline.js +24 -0
  401. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentDrawRectangle.js +21 -0
  402. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentExtentRotate.js +20 -0
  403. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentExtentScale.js +21 -0
  404. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentReshapeEdgeOffset.js +20 -0
  405. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformAbsolute.js +21 -0
  406. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformRotate.js +21 -0
  407. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTransformScale.js +20 -0
  408. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphic.js +20 -0
  409. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphicXY.js +20 -0
  410. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateGraphicZ.js +20 -0
  411. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertex.js +20 -0
  412. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertexXY.js +20 -0
  413. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/TooltipContentTranslateVertexZ.js +20 -0
  414. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/content/tooltipContentFactory.js +64 -0
  415. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/css.js +12 -0
  416. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/TooltipField.js +29 -0
  417. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/TooltipFieldElevation.js +21 -0
  418. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/interactive/tooltip/fields/fields.js +45 -0
  419. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/layers/WMSLayerView.js +2 -2
  420. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/layers/support/popupUtils.js +17 -13
  421. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/overlay/OutlineOverlayItem.js +48 -0
  422. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/overlay/TextOverlayItem.js +76 -0
  423. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/DefaultsFromMap.js +3 -3
  424. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/angularMeasurementUtils.js +87 -48
  425. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/automaticAreaMeasurementUtils.js +16 -0
  426. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/automaticLengthMeasurementUtils.js +18 -0
  427. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/euclideanAreaMeasurementUtils.js +67 -0
  428. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/euclideanLengthMeasurementUtils.js +92 -0
  429. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/extentUtils.js +12 -0
  430. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geodesicAreaMeasurementUtils.js +28 -0
  431. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geodesicLengthMeasurementUtils.js +57 -27
  432. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/geometry2dUtils.js +1 -1
  433. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/hitTestSelectUtils.js +9 -0
  434. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/layerViewUtils.js +10 -6
  435. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/support/measurementUtils.js +9 -0
  436. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/webgl/Util.js +90 -70
  437. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/views/webgl/testFloatBufferBlend.js +2 -2
  438. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/FeatureRelationship.js +2 -2
  439. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Feature/support/featureUtils.js +54 -49
  440. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/LayerListViewModel.js +113 -0
  441. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/ListItem.js +144 -0
  442. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/ListItemPanel.js +98 -0
  443. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/LayerList/support/layerListUtils.js +64 -0
  444. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/LegendViewModel.js +190 -0
  445. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/Card.js +284 -0
  446. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/CardCSS.js +4 -0
  447. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/Classic.js +110 -0
  448. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/ClassicCSS.js +5 -0
  449. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/support/relationshipUtils.js +46 -0
  450. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/styles/support/univariateUtils.js +64 -0
  451. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js +1053 -0
  452. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/clusterUtils.js +17 -0
  453. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/colorRampUtils.js +54 -19
  454. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/relationshipRampUtils.js +59 -0
  455. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/sizeRampUtils.js +155 -0
  456. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/styleUtils.js +44 -0
  457. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend/support/utils.js +75 -13
  458. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Legend.js +115 -0
  459. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/SketchViewModel.js +886 -0
  460. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/VisibleElements.js +30 -0
  461. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch/support/OperationHandle.js +81 -0
  462. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/Sketch.js +293 -0
  463. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/smartMapping/support/utils.js +32 -0
  464. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Heading.js +13 -9
  465. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/LabeledSwitch.js +11 -0
  466. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +74 -0
  467. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SelectionToolbar.js +138 -0
  468. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Selector2D/SelectionOperation.js +95 -0
  469. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/Selector2D/selectorUtils.js +93 -0
  470. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SketchTooltipControls/VisibleElements.js +17 -0
  471. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SketchTooltipControls.js +66 -0
  472. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingControlsViewModel.js +79 -0
  473. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingLayerListViewModel.js +41 -0
  474. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/SnappingListItem.js +45 -0
  475. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/VisibleElements.js +17 -0
  476. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls/snappingLayerListUtils.js +33 -0
  477. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/SnappingControls.js +141 -0
  478. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/widget.js +7 -6
  479. package/dist/node_modules/.pnpm/@arcgis_core@4.29.10/node_modules/@arcgis/core/widgets/support/widgetUtils.js +19 -15
  480. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-accordion-item.js +157 -0
  481. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-accordion.js +97 -0
  482. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-block.js +230 -0
  483. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown-group.js +97 -0
  484. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown-item.js +171 -0
  485. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-dropdown.js +11 -0
  486. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-radio-button-group.js +144 -0
  487. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-radio-button.js +11 -0
  488. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-switch.js +11 -0
  489. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/calcite-tooltip.js +290 -0
  490. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/dom.js +91 -79
  491. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/dropdown.js +319 -0
  492. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/floating-ui.js +11 -10
  493. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/radio-button.js +244 -0
  494. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/resources3.js +20 -0
  495. package/dist/node_modules/.pnpm/@esri_calcite-components@2.7.1/node_modules/@esri/calcite-components/dist/components/switch.js +123 -0
  496. package/dist/node_modules/.pnpm/@terraformer_arcgis@2.1.2/node_modules/@terraformer/arcgis/dist/t-arcgis.esm.js +124 -45
  497. package/dist/node_modules/.pnpm/@terraformer_wkt@2.2.1/node_modules/@terraformer/wkt/dist/t-wkt.esm.js +1287 -0
  498. package/dist/style.css +1 -1
  499. package/package.json +3 -1
  500. package/dist/_virtual/_commonjsHelpers.js +0 -8
  501. package/dist/_virtual/terraformer-wkt-parser.js +0 -4
  502. package/dist/_virtual/terraformer.js +0 -4
  503. package/dist/node_modules/.pnpm/terraformer-wkt-parser@1.2.1/node_modules/terraformer-wkt-parser/terraformer-wkt-parser.js +0 -469
  504. package/dist/node_modules/.pnpm/terraformer@1.0.12/node_modules/terraformer/terraformer.js +0 -637
@@ -0,0 +1,164 @@
1
+ import { emptyArray as d } from "../../../../core/arrayUtils.js";
2
+ import { forEach as b } from "../../../../core/asyncUtils.js";
3
+ import { estimateAttributesObjectSize as L } from "../../../../core/byteSizeEstimations.js";
4
+ import _ from "../../../../core/ObjectPool.js";
5
+ import { scale as f } from "../../../../core/libs/gl-matrix-2/math/vec2.js";
6
+ import { create as g } from "../../../../core/libs/gl-matrix-2/factories/vec2f64.js";
7
+ import { h as E } from "../../../../chunks/vec32.js";
8
+ import { create as G } from "../../../../core/libs/gl-matrix-2/factories/vec3f64.js";
9
+ import A from "../../../../geometry/Polygon.js";
10
+ import { projectBoundingRect as x } from "../../../../geometry/projection/projectBoundingRect.js";
11
+ import { set as v, zero as S, empty as y, expandWithAABB as B, allFinite as F, toRect as V } from "../../../../geometry/support/aaBoundingBox.js";
12
+ import { create as u, allFinite as j } from "../../../../geometry/support/aaBoundingRect.js";
13
+ import { equals as O } from "../../../../geometry/support/spatialReferenceUtils.js";
14
+ import { computeAABR as z } from "../../../../layers/graphics/dehydratedFeatures.js";
15
+ import { convertFromGeometry as R } from "../../../../layers/graphics/featureConversionUtils.js";
16
+ import { VisibilityFlag as n, VisibilityGroup as o } from "./enums.js";
17
+ import { createFeature as D } from "./featureExpressionInfoUtils.js";
18
+ const m = new _(Array, (p) => v(p, S), null, 10, 5), P = u();
19
+ class $ {
20
+ get labelLayers() {
21
+ return this._labelLayers || d;
22
+ }
23
+ get extent() {
24
+ return this._extent;
25
+ }
26
+ get isElevationSource() {
27
+ return this.layers.some((e) => e == null ? void 0 : e.isElevationSource);
28
+ }
29
+ constructor(e, i, t, r, s) {
30
+ this.graphic = e, this.graphics3DSymbol = i, this.layers = t, this._visibleFlags = n.ALL_LABEL, this.deconflictionPriority = 0, ++i.referenced, this._featureExpressionFeature = s ? D(s, e, r) : null;
31
+ }
32
+ initialize(e) {
33
+ this._layer = e, this._forEachSymbolLayerGraphic((i) => {
34
+ i.initialize(e), i.setVisibility(this.isVisible());
35
+ });
36
+ }
37
+ destroy() {
38
+ this._forEachSymbolLayerGraphic((e) => e.destroy()), this._calloutLayer = null, --this.graphics3DSymbol.referenced, this.graphics3DSymbol = null;
39
+ }
40
+ get destroyed() {
41
+ return this.layers == null;
42
+ }
43
+ clearLabelGraphics() {
44
+ this._forEachLabelGraphic((e) => e.destroy()), this._labelLayers = null;
45
+ }
46
+ addLabelGraphic(e, i) {
47
+ this._labelLayers || (this._labelLayers = new Array()), this._labelLayers.push(e), e.initialize(i), e.setVisibility(this.isVisible(o.LABEL));
48
+ }
49
+ setCalloutGraphic(e) {
50
+ this._calloutLayer = e, this._layer && (e.initialize(this._layer), e.setVisibility(this.isVisible()));
51
+ }
52
+ get calloutLayer() {
53
+ return this._calloutLayer;
54
+ }
55
+ get isDraped() {
56
+ let e = !1;
57
+ return this._forEachSymbolLayerGraphic((i) => {
58
+ i.type === "draped" && (e = !0);
59
+ }), e;
60
+ }
61
+ isVisible(e = o.GRAPHIC, i) {
62
+ const t = i ? this._visibleFlags | i | o.LABEL * i : this._visibleFlags;
63
+ return e === o.GRAPHIC ? (t & n.ALL_GRAPHIC) === n.ALL_GRAPHIC : (t & n.ALL_LABEL) === n.ALL_LABEL;
64
+ }
65
+ setVisibilityFlag(e, i, t) {
66
+ const r = this.isVisible(e);
67
+ t ? this._visibleFlags |= e * i : this._visibleFlags &= ~(e * i);
68
+ const s = this.isVisible(e);
69
+ if (r === s)
70
+ return !1;
71
+ if (e === o.LABEL)
72
+ this._forEachLabelGraphic((a) => a.setVisibility(s));
73
+ else {
74
+ this._forEachSymbolLayerGraphic((l) => l.setVisibility(s));
75
+ const a = this.isVisible(o.LABEL);
76
+ this._forEachLabelGraphic((l) => l.setVisibility(a));
77
+ }
78
+ return !0;
79
+ }
80
+ getVisibilityFlag(e, i) {
81
+ return (this._visibleFlags & e * i) != 0;
82
+ }
83
+ computeExtent(e) {
84
+ if (!this._extent) {
85
+ const i = this.graphic.geometry;
86
+ if (i == null)
87
+ return !1;
88
+ this._extent = u(), z(i, this._extent);
89
+ const t = i.spatialReference;
90
+ if (!O(t, e) && !x(this._extent, t, this._extent, e))
91
+ return this._extent = null, !1;
92
+ }
93
+ return !0;
94
+ }
95
+ getAsOptimizedGeometry(e, i) {
96
+ return this._optimizedGeometry || (this._optimizedGeometry = this._convertGraphicToOptimizedGeometry(this.graphic, e, i)), this._optimizedGeometry;
97
+ }
98
+ _convertGraphicToOptimizedGeometry(e, i, t) {
99
+ let r = e.geometry;
100
+ return r.type !== "mesh" && r.type !== "extent" || (r = A.fromExtent(r.type === "mesh" ? r.extent : r)), R(r, i, t);
101
+ }
102
+ get usedMemory() {
103
+ let e = L(this.graphic.attributes);
104
+ return this._forEachSymbolLayerGraphic((i) => e += i.graphics3DSymbolLayer.usedMemory), e;
105
+ }
106
+ computeAttachmentOrigin() {
107
+ const e = { render: { origin: G(), num: 0 }, draped: { origin: g(), num: 0 } };
108
+ for (const i of this.layers)
109
+ i != null && i.computeAttachmentOrigin(e);
110
+ return e.render.num > 1 && E(e.render.origin, e.render.origin, 1 / e.render.num), e.draped.num > 1 && f(e.draped.origin, e.draped.origin, 1 / e.draped.num), e;
111
+ }
112
+ async getProjectedBoundingBox(e, i, t, r, s) {
113
+ return s || (s = { boundingBox: null, requiresDrapedElevation: !1, screenSpaceObjects: [] }), s.boundingBox ? y(s.boundingBox) : s.boundingBox = y(), s.requiresDrapedElevation = !1, await b(this.layers, async (a) => {
114
+ if (a == null)
115
+ return;
116
+ const l = a.type === "draped" ? i : e, h = m.acquire(), c = await a.getProjectedBoundingBox(l, t, s.screenSpaceObjects, r, h);
117
+ isFinite(c[2]) && isFinite(c[5]) || (s.requiresDrapedElevation = !0), c && B(s.boundingBox, h), m.release(h);
118
+ }), F(s.boundingBox) || j(V(s.boundingBox, P)) ? s : null;
119
+ }
120
+ needsElevationUpdates() {
121
+ var e;
122
+ for (const i of this.layers)
123
+ if (i != null && (i.type === "object3d" || i.type === "lod-instance") && i.needsElevationUpdates)
124
+ return !0;
125
+ return ((e = this._labelLayers) == null ? void 0 : e.some((i) => (i == null ? void 0 : i.needsElevationUpdates) ?? !1)) ?? !1;
126
+ }
127
+ alignWithElevation(e, i, t) {
128
+ this._forEachRenderedGraphic((r) => {
129
+ r.type !== "object3d" && r.type !== "lod-instance" || r.alignWithElevation(e, i, this._featureExpressionFeature, t);
130
+ });
131
+ }
132
+ alignWithAbsoluteElevation(e, i, t) {
133
+ this._forEachRenderedGraphic((r) => {
134
+ r.type === "object3d" && r.alignWithAbsoluteElevation(e, i, t);
135
+ });
136
+ }
137
+ addObjectStateSet(e, i) {
138
+ this._forEachSymbolLayerGraphic((t) => t.addObjectState(e, i));
139
+ }
140
+ removeObjectState(e) {
141
+ this._forEachSymbolLayerGraphic((i) => i.removeObjectState(e));
142
+ }
143
+ _forEachGraphicList(e, i) {
144
+ e == null || e.forEach((t) => t && i(t));
145
+ }
146
+ _forEachSymbolLayerGraphic(e) {
147
+ this._forEachGraphicList(this.layers, e), this._calloutLayer && e(this._calloutLayer);
148
+ }
149
+ _forEachLabelGraphic(e) {
150
+ this._forEachGraphicList(this._labelLayers, e);
151
+ }
152
+ _forEachRenderedGraphic(e) {
153
+ this._forEachSymbolLayerGraphic(e), this._forEachLabelGraphic(e);
154
+ }
155
+ get test() {
156
+ const e = this;
157
+ return { addLabelLayer: (i) => {
158
+ e._labelLayers || (e._labelLayers = new Array()), e._labelLayers.push(i);
159
+ } };
160
+ }
161
+ }
162
+ export {
163
+ $ as Graphics3DGraphic
164
+ };
@@ -0,0 +1,8 @@
1
+ class a {
2
+ constructor(r, t, i) {
3
+ this.graphic = r, this.renderingInfo = t, this.layer = i;
4
+ }
5
+ }
6
+ export {
7
+ a as Graphics3DGraphicCreationContext
8
+ };
@@ -0,0 +1,367 @@
1
+ import k from "../../../../Color.js";
2
+ import { result as I, createTask as j } from "../../../../core/asyncUtils.js";
3
+ import P from "../../../../core/Error.js";
4
+ import { clone as B } from "../../../../core/lang.js";
5
+ import { abortMaybe as O, releaseMaybe as w } from "../../../../core/maybe.js";
6
+ import { throwIfAbortError as E, throwIfAborted as g } from "../../../../core/promiseUtils.js";
7
+ import { pt2px as x, px2pt as N } from "../../../../core/screenUtils.js";
8
+ import { numericHash as q } from "../../../../core/string.js";
9
+ import { dataComponents as W } from "../../../../core/urlUtils.js";
10
+ import { fromValues as D, create as $ } from "../../../../core/libs/gl-matrix-2/factories/vec2f64.js";
11
+ import { create as H, fromValues as T } from "../../../../core/libs/gl-matrix-2/factories/vec3f64.js";
12
+ import { fromValues as J } from "../../../../core/libs/gl-matrix-2/factories/vec4f64.js";
13
+ import { projectPointToVector as Z } from "../../../../geometry/projection/projectPointToVector.js";
14
+ import { containsPoint as K } from "../../../../geometry/support/aaBoundingBox.js";
15
+ import { createRendererExpression as Q } from "../../../../support/arcadeOnDemand.js";
16
+ import { CIMSymbolHelper as z } from "../../../../symbols/cim/CIMSymbolHelper.js";
17
+ import { OverrideHelper as S } from "../../../../symbols/cim/OverrideHelper.js";
18
+ import { evaluateValueOrFunction as X } from "../../../../symbols/cim/utils.js";
19
+ import { scaleCIMSymbol as Y } from "../../../../symbols/support/cimSymbolUtils.js";
20
+ import { defaultPrimitive as ee } from "../../../../symbols/support/IconSymbol3DLayerResource.js";
21
+ import { Symbol3DAnchorPosition2D as te } from "../../../../symbols/support/Symbol3DAnchorPosition2D.js";
22
+ import { getIconHref as re } from "../../../../symbols/support/utils.js";
23
+ import ie from "../../../2d/arcade/callExpressionWithFeature.js";
24
+ import { transparentUnit as se } from "./constants.js";
25
+ import { perObjectElevationAligner as ae } from "./ElevationAligners.js";
26
+ import { SymbolUpdateType as b, elevationModeChangeUpdateType as oe, needsElevationUpdates2D as A } from "./elevationAlignmentUtils.js";
27
+ import { Graphics3DDrapedGraphicLayer as ne } from "./Graphics3DDrapedGraphicLayer.js";
28
+ import { Graphics3DObject3DGraphicLayer as le } from "./Graphics3DObject3DGraphicLayer.js";
29
+ import { Graphics3DSymbolLayer as ce } from "./Graphics3DSymbolLayer.js";
30
+ import { validateSymbolLayerSize as he } from "./graphicUtils.js";
31
+ import { ApplyRendererDiffResult as R } from "./interfaces.js";
32
+ import { namedAnchorToHUDMaterialAnchorPos as M } from "./placementUtils.js";
33
+ import { placePointOnGeometry as ue, createStageObject as me, extendPointGraphicElevationContext as de } from "./pointUtils.js";
34
+ import { initFastSymbolUpdatesState as pe, updateFastSymbolUpdatesState as _e, evaluateModelTransformScale as fe, ConvertOptions as ye } from "../support/FastSymbolUpdates.js";
35
+ import { defaultTexSize as F, createTexture as ge, requiresHalfTexelOffset as xe, defaultSymbolSizeRatio as Se } from "../../support/engineContent/sdfPrimitives.js";
36
+ import { drapedZ as be } from "../../terrain/OverlayRenderer.js";
37
+ import { createPointGeometry as U } from "../../webgl-engine/lib/GeometryUtil.js";
38
+ import { RenderGeometry as ve } from "../../webgl-engine/lib/RenderGeometry.js";
39
+ import { Texture as L } from "../../webgl-engine/lib/Texture.js";
40
+ import { HUDMaterial as G } from "../../webgl-engine/materials/HUDMaterial.js";
41
+ const V = T(0, 0, 1), Pe = 16, ze = 1.5, _ = Se, Re = [_ / 2, _ / 2, 1 - _ / 2, 1 - _ / 2], Me = [F * _, F * _];
42
+ class v extends ce {
43
+ getCachedSize() {
44
+ return { size: this._getIconSize() };
45
+ }
46
+ constructor(e, t, r, i) {
47
+ super(e, t, r, i), this._cimSymbolMaterials = /* @__PURE__ */ new Map(), this._cimSymbolTextures = /* @__PURE__ */ new Map(), this._cimMaterialParametersInfo = null, this._size = null, this._symbolTextureRatio = 1, this._outlineSize = 0, this._patchTask = null, this._elevationOptions = { supportsOffsetAdjustment: !0, supportsOnTheGround: !0 };
48
+ }
49
+ async doLoad(e) {
50
+ this._validateOrThrow();
51
+ const t = this._prepareMaterialParameters(), r = this._getPrimitive();
52
+ if (r != null)
53
+ this._prepareResourcesPrimitive(t, r);
54
+ else {
55
+ const i = re(this.symbolLayer), s = this._getCIMResource(i);
56
+ s != null ? await this._prepareResourcesCIM(t, JSON.parse(s), e) : await this._prepareResourcesHref(t, i, e);
57
+ }
58
+ }
59
+ _getCIMResource(e) {
60
+ const t = W(e);
61
+ return (t == null ? void 0 : t.mediaType) === "application/json" ? t.data : void 0;
62
+ }
63
+ _validateOrThrow() {
64
+ if (this._drivenProperties.size)
65
+ return;
66
+ const e = he(this._getIconSize());
67
+ if (e)
68
+ throw new P("graphics3diconsymbollayer:invalid-size", e);
69
+ }
70
+ _getIconSize() {
71
+ const e = this.symbolLayer, t = Math.round(e.size != null ? x(e.size) : Pe);
72
+ return this._drivenProperties.size ? Math.max(t, 64) : t;
73
+ }
74
+ _generateTextureCIM(e) {
75
+ let t = this._cimData;
76
+ if (t && t.symbol || this.logger.error("Can't create texture, CIM data is undefined"), t.primitiveOverrides) {
77
+ t = B(t);
78
+ const u = t.primitiveOverrides;
79
+ S.evaluateOverrides(u, e, this._arcadeInfo.geometryType, null, null), S.applyOverrides(t.symbol, u);
80
+ }
81
+ const r = q(JSON.stringify(t));
82
+ let i = this._cimSymbolTextures.get(r);
83
+ if (i)
84
+ return i;
85
+ const s = this._context.sharedResources.cimSymbolRasterizer, a = this._context.renderer && this._context.renderer.type === "dictionary" ? this._context.renderer.fieldMap : null;
86
+ a && S.applyDictionaryTextOverrides(t.symbol, e, a, null);
87
+ const n = this._cimScaleFactorOrFunction != null ? X(this._cimScaleFactorOrFunction, e) : 1;
88
+ n !== 1 && t.symbol && Y(t.symbol, n, !0);
89
+ const o = z.getEnvelope(t, null, s.resourceManager);
90
+ if (o && o.width && o.height) {
91
+ const u = o.x + o.width / 2, m = o.y + o.height / 2, l = s.rasterize({ type: "cim", data: t }, o.width, o.height, u, m, 1, "esriGeometryPoint"), c = new te({ x: -o.x / o.width - 0.5, y: (o.height + o.y) / o.height - 0.5 });
92
+ this._cimMaterialParametersInfo.anchorPosition = this._getAnchorPos("relative", c), i = new L(l, { width: (l == null ? void 0 : l.width) ?? 1, height: (l == null ? void 0 : l.height) ?? 1 });
93
+ } else
94
+ i = new L(new ImageData(1, 1), { width: 1, height: 1 });
95
+ return this._cimSymbolTextures.set(r, i), this._context.stage.add(i), i;
96
+ }
97
+ _prepareMaterialParameters() {
98
+ const e = { anchorPosition: this._getAnchorPos(this.symbolLayer.anchor, this.symbolLayer.anchorPosition) }, t = this.symbol;
99
+ if (Ce(t)) {
100
+ const { screenLength: r, minWorldLength: i, maxWorldLength: s } = t.verticalOffset;
101
+ e.verticalOffset = { screenLength: x(r), minWorldLength: i || 0, maxWorldLength: s ?? 1 / 0 };
102
+ }
103
+ return this._context.screenSizePerspectiveEnabled && (e.screenSizePerspective = this._context.sharedResources.screenSizePerspectiveSettings), e.occlusionTest = !0, e.hasSlicePlane = this._context.slicePlaneEnabled, e;
104
+ }
105
+ _prepareResourcesPrimitive(e, t) {
106
+ const r = this._getOutlineSize();
107
+ if (C(t) && r === 0)
108
+ throw new Error("Nothing to render");
109
+ if (this._outlineSize = r, e.color = this._getFillColor(), e.outlineColor = this._getOutlineColor(), e.outlineSize = this._outlineSize, this._context.sharedResources.textures != null) {
110
+ const s = this._context.sharedResources.textures.fromData(`${t}-icon`, () => ge(t));
111
+ this._textureHandle = s, e.textureId = s.texture.id;
112
+ }
113
+ e.textureIsSignedDistanceField = !0, e.sampleSignedDistanceFieldTexelCenter = xe(t), e.distanceFieldBoundingBox = Re;
114
+ const i = this._getIconSize();
115
+ this._size = [i, i], this._symbolTextureRatio = 1 / _, this._createMaterialAndAddToStage(e, this._context.stage);
116
+ }
117
+ async _prepareResourcesHref(e, t, r) {
118
+ this._outlineSize = this._getOutlineSize(), e.color = this._getFillColor(), e.outlineColor = this._getOutlineColor(), e.outlineSize = this._outlineSize, e.textureIsSignedDistanceField = !1;
119
+ const i = this._getIconSize(), s = i * this._context.graphicsCoreOwner.view.state.rasterPixelRatio;
120
+ if (this._context.sharedResources.textures != null) {
121
+ const a = await I(this._context.sharedResources.textures.fromUrl(t, s, { signal: r }));
122
+ if (a.ok === !1)
123
+ throw E(a.error), new P("graphics3diconsymbollayer:request-failed", `Failed to load (Request for icon resource failed: ${t})`);
124
+ this._textureHandle = a.value;
125
+ const n = a.value.texture;
126
+ this._size = this._computeSizeFromTexture(n, i), e.textureId = n.id;
127
+ }
128
+ this._createMaterialAndAddToStage(e, this._context.stage);
129
+ }
130
+ async _prepareResourcesCIM(e, t, r) {
131
+ if (this._cimData = t, !this._context.sharedResources.cimSymbolRasterizer) {
132
+ const m = (await import("../../../../symbols/cim/CIMSymbolRasterizer.js")).CIMSymbolRasterizer;
133
+ g(r), this._context.sharedResources.cimSymbolRasterizer || (this._context.sharedResources.cimSymbolRasterizer = new m(this._context.renderCoordsHelper.spatialReference));
134
+ }
135
+ const i = this._context.sharedResources.cimSymbolRasterizer, s = [], a = t, n = a == null ? void 0 : a.symbol;
136
+ z.fetchResources(n, i.resourceManager, s, r), z.fetchFonts(n, i.resourceManager, s);
137
+ const o = this._context.layer.fields ? this._context.layer.fields.map((m) => m.toJSON()) : [], u = this._context.renderCoordsHelper.spatialReference;
138
+ if (this._arcadeInfo = { spatialReference: u, fields: o, geometryType: "esriGeometryPoint" }, a != null && a.primitiveOverrides && s.push(S.createRenderExpressions(a.primitiveOverrides, this._arcadeInfo)), s.length > 0 && (await Promise.all(s), g(r)), this._context.renderer && this._context.renderer.type === "dictionary" && this._context.renderer.scaleExpression) {
139
+ const m = this._context.renderer;
140
+ if (m.scaleExpression) {
141
+ const l = m.scaleExpression, c = await Q(l, this._context.layer.spatialReference, o);
142
+ this._cimScaleFactorOrFunction = (h, d, f) => {
143
+ const y = ie(c, h, { $view: f }, "esriGeometryPoint", d);
144
+ return y !== null ? y : 1;
145
+ };
146
+ }
147
+ }
148
+ g(r), this._cimMaterialParametersInfo = e, this._cimMaterialParametersInfo.color = this._getFillColor(), this._cimMaterialParametersInfo.outlineColor = [0, 0, 0, 0], this._cimMaterialParametersInfo.outlineSize = 0, this._cimMaterialParametersInfo.textureIsSignedDistanceField = !1;
149
+ }
150
+ _getPrimitive() {
151
+ return this.symbolLayer.resource && this.symbolLayer.resource.href ? null : this.symbolLayer.resource && this.symbolLayer.resource.primitive || ee;
152
+ }
153
+ _getOutlineSize() {
154
+ var r;
155
+ let e = 0;
156
+ const t = this.symbolLayer;
157
+ return ((r = t.outline) == null ? void 0 : r.size) != null ? Math.max(x(t.outline.size), 0) : (e = C(this._getPrimitive()) ? ze : 0, Math.max(e, 0));
158
+ }
159
+ _getOutlineColor() {
160
+ var i;
161
+ const e = this._getLayerOpacity(), t = this.symbolLayer, r = (i = t == null ? void 0 : t.outline) == null ? void 0 : i.color;
162
+ if (r != null) {
163
+ const s = k.toUnitRGB(r), a = r.a * e;
164
+ return [s[0], s[1], s[2], a];
165
+ }
166
+ return [0, 0, 0, 0];
167
+ }
168
+ _getFillColor() {
169
+ var r, i;
170
+ if (C(this._getPrimitive()))
171
+ return se;
172
+ const e = this._getPrimitive() == null, t = (i = (r = this.symbolLayer) == null ? void 0 : r.material) == null ? void 0 : i.color;
173
+ return this._getCombinedOpacityAndColor(t, { hasIntrinsicColor: e });
174
+ }
175
+ _getAnchorPos(e, t) {
176
+ return e === "relative" ? D((t.x || 0) + 0.5, 0.5 - (t.y || 0)) : e in M ? M[e] : M.center;
177
+ }
178
+ _createMaterialAndAddToStage(e, t) {
179
+ if (this._cimData) {
180
+ this._fastUpdates = null;
181
+ let r = e.textureId ? this._cimSymbolMaterials.get(e.textureId) : null;
182
+ return r || (r = new G(e), this._cimSymbolMaterials.set(e.textureId ?? 0, r), t.add(r)), r;
183
+ }
184
+ return this._fastUpdates = pe(this._context.renderer, this._fastVisualVariableConvertOptions()), this._fastUpdates && (e = { ...e, ...this._fastUpdates.materialParameters }), this._materials[0] = new G(e), t.add(this._materials[0]), this._materials[0];
185
+ }
186
+ _setDrapingDependentMaterialParameters() {
187
+ this.draped && (this._forEachMaterial((e) => {
188
+ e.setParameters({ verticalOffset: null, screenSizePerspective: null, occlusionTest: !1, hasSlicePlane: !1, shaderPolygonOffset: 0, draped: this.draped });
189
+ }), this.layerOpacityChanged());
190
+ }
191
+ destroy() {
192
+ super.destroy(), this._patchTask = O(this._patchTask), this._forEachMaterial((e) => this._context.stage.remove(e)), this._materials.length = 0, this._cimSymbolMaterials.clear(), this._cimSymbolTextures.forEach((e) => this._context.stage.remove(e)), this._cimSymbolTextures.clear(), this._textureHandle = w(this._textureHandle);
193
+ }
194
+ _getScaleFactor(e, t) {
195
+ if (this._drivenProperties.size && e.size) {
196
+ for (let r = 0; r < 3; r++) {
197
+ const i = e.size[r];
198
+ i && i !== "symbol-value" && i !== "proportional" && (e.size[r] = x(i));
199
+ }
200
+ if (e.size[0] === "symbol-value")
201
+ return 1;
202
+ if (isFinite(+e.size[0]))
203
+ return +e.size[0] / t;
204
+ if (isFinite(+e.size[2]))
205
+ return +e.size[2] / t;
206
+ }
207
+ return 1;
208
+ }
209
+ createGraphics3DGraphic(e) {
210
+ var l;
211
+ const t = e.graphic;
212
+ if (!this._validateGeometry(t.geometry))
213
+ return null;
214
+ let r, i = [0, 0];
215
+ if (this._cimData) {
216
+ if (!this._cimData.symbol)
217
+ return null;
218
+ const c = this._generateTextureCIM(t), h = { textureId: c.id, ...this._cimMaterialParametersInfo };
219
+ r = this._createMaterialAndAddToStage(h, this._context.stage);
220
+ const d = window.devicePixelRatio || 1;
221
+ i = [c.parameters.width / d, c.parameters.height / d];
222
+ } else
223
+ i = this._size, r = this._materials[0];
224
+ const s = ue(t.geometry);
225
+ if (s == null)
226
+ return this.logger.warn(`unsupported geometry type for icon symbol: ${t.geometry.type}`), null;
227
+ const a = e.renderingInfo, n = this._getVertexOpacityAndColor(a);
228
+ let o = 1;
229
+ if (!((l = this._fastUpdates) != null && l.visualVariables.size)) {
230
+ const c = i[0] > i[1] ? i[0] : i[1];
231
+ o = this._getScaleFactor(a, c);
232
+ }
233
+ o *= this._symbolTextureRatio;
234
+ const u = D(i[0] * o, i[1] * o), m = this.setGraphicElevationContext(t);
235
+ return this.ensureDrapedStatus(m.mode === "on-the-ground") && this._setDrapingDependentMaterialParameters(), this.draped ? this._createAsOverlay(t, s, r, n, u, e.layer.uid) : this._createAs3DShape(t, s, r, n, u, m, t.uid);
236
+ }
237
+ layerOpacityChanged() {
238
+ const e = this._getFillColor(), t = this._getOutlineColor();
239
+ this._forEachMaterial((r) => {
240
+ r.setParameters({ color: e }), r.setParameters({ outlineColor: t });
241
+ });
242
+ }
243
+ layerElevationInfoChanged(e, t, r) {
244
+ const i = this._elevationContext.mode, s = oe(v.elevationModeChangeTypes, r, i);
245
+ if (s !== b.UPDATE)
246
+ return s;
247
+ const a = A(i) || i === "absolute-height";
248
+ return this.updateGraphics3DGraphicElevationInfo(e, t, () => a);
249
+ }
250
+ slicePlaneEnabledChanged() {
251
+ return this.draped || this._forEachMaterial((e) => {
252
+ e.setParameters({ hasSlicePlane: this._context.slicePlaneEnabled });
253
+ }), !0;
254
+ }
255
+ physicalBasedRenderingChanged() {
256
+ return !0;
257
+ }
258
+ get pixelRatioChanged() {
259
+ return this._getPrimitive() != null;
260
+ }
261
+ applyRendererDiff(e, t) {
262
+ var r;
263
+ for (const i in e.diff) {
264
+ if (i !== "visualVariables")
265
+ return R.RecreateSymbol;
266
+ if (!_e(this._fastUpdates, t, this._fastVisualVariableConvertOptions()))
267
+ return R.RecreateSymbol;
268
+ (r = this._materials[0]) == null || r.setParameters(this._fastUpdates.materialParameters);
269
+ }
270
+ return R.FastUpdate;
271
+ }
272
+ prepareSymbolLayerPatch(e) {
273
+ var r;
274
+ if ((r = this._patchTask) == null || r.abort(), e.diff.type !== "partial")
275
+ return;
276
+ const t = e.diff.diff;
277
+ this._preparePatchResource(e, t);
278
+ }
279
+ _preparePatchResource(e, t) {
280
+ var o;
281
+ if (!t.resource || t.resource.type !== "partial")
282
+ return;
283
+ const r = t.resource.diff;
284
+ if (((o = r == null ? void 0 : r.href) == null ? void 0 : o.type) !== "complete")
285
+ return;
286
+ const i = r.href.newValue, { textures: s } = this._context.sharedResources;
287
+ if (i == null || s == null || this._getCIMResource(i) != null)
288
+ return;
289
+ const a = this._getIconSize(), n = a * this._context.graphicsCoreOwner.view.state.pixelRatio;
290
+ e.symbolLayerStatePatches.push(() => {
291
+ this._patchTask = O(this._patchTask), this._patchTask = j((u) => this._context.schedule(async (m, l) => {
292
+ const c = await I(s.fromUrl(i, n, { signal: l }));
293
+ g(l);
294
+ const h = !c.ok;
295
+ if (h && E(c.error), this._textureHandle = w(this._textureHandle), this._patchTask = null, h) {
296
+ this._forEachMaterial((y) => {
297
+ y.visible = !1, y.setParameters({ textureId: null });
298
+ });
299
+ const f = `Failed to load (Request for icon resource failed: ${i})`;
300
+ return void this.logger.error(new P("graphics3diconsymbollayer:request-failed", f));
301
+ }
302
+ this._textureHandle = c.value;
303
+ const d = c.value.texture;
304
+ this._size = this._computeSizeFromTexture(d, a), this._forEachMaterial((f) => {
305
+ f.setParameters({ textureId: d.id }), f.visible = !0;
306
+ });
307
+ }, u));
308
+ }), delete r.href;
309
+ }
310
+ _defaultElevationInfoNoZ() {
311
+ return Te;
312
+ }
313
+ _createAs3DShape(e, t, r, i, s, a, n) {
314
+ const o = this.getFastUpdateAttrValues(e), u = this._context.layer.uid, m = this._context.stage.renderView.getObjectAndLayerIdColor({ graphicUid: n, layerUid: u }), l = U(r, V, null, i, s, Ie, null, o, m), c = me(this._context, t, l, a, n);
315
+ if (c == null)
316
+ return null;
317
+ const h = new le(this, c.object, [l], null, null, ae, a);
318
+ return h.alignedSampledElevation = c.sampledElevation, h.needsElevationUpdates = A(a.mode) || a.mode === "absolute-height", h.getScreenSize = this._createScreenSizeGetter(s, o), h.calculateRelativeScreenBounds = (d) => r.calculateRelativeScreenBounds(h.getScreenSize(), 1, d), de(h, t, this._context.elevationProvider), h;
319
+ }
320
+ _createAsOverlay(e, t, r, i, s, a) {
321
+ r.renderPriority = this._renderPriority;
322
+ const n = H();
323
+ Z(t, n, this._context.overlaySR), n[2] = be;
324
+ const o = this._context.clippingExtent;
325
+ if (o != null && !K(o, n))
326
+ return null;
327
+ const u = this.getFastUpdateAttrValues(e), m = this._context.stage.renderView.getObjectAndLayerIdColor({ graphicUid: e.uid, layerUid: this._context.layer.uid }), l = U(r, V, n, i, s, null, null, u, m), c = new ve(l, { layerUid: a, graphicUid: e.uid }), h = new ne(this, [c], null, this._context.drapeSourceRenderer);
328
+ return h.getScreenSize = this._createScreenSizeGetter(s, u), h.calculateRelativeScreenBounds = (d) => r.calculateRelativeScreenBounds(h.getScreenSize(), 1, d), h;
329
+ }
330
+ _createScreenSizeGetter(e, t) {
331
+ const r = this._outlineSize + 2;
332
+ if (this._fastUpdates && t) {
333
+ const a = e[0] / this._symbolTextureRatio, n = e[1] / this._symbolTextureRatio;
334
+ return (o = $()) => {
335
+ const [u, m] = fe(Oe, this._fastUpdates.materialParameters, t);
336
+ return o[0] = u * a + r, o[1] = m * n + r, o;
337
+ };
338
+ }
339
+ const i = e[0] / this._symbolTextureRatio + r, s = e[1] / this._symbolTextureRatio + r;
340
+ return (a = $()) => (a[0] = i, a[1] = s, a);
341
+ }
342
+ _fastVisualVariableConvertOptions() {
343
+ const e = Math.max(this._size[0], this._size[1]), t = T(e, e, e), r = N(1), i = e * r, s = T(i, i, i);
344
+ return new ye({ size: !0, color: !0, rotation: !0, opacity: !1 }, t, s, r);
345
+ }
346
+ _forEachMaterial(e) {
347
+ this._materials.forEach(e), this._cimSymbolMaterials.forEach(e);
348
+ }
349
+ _computeSizeFromTexture({ parameters: e }, t) {
350
+ const r = (e.width ?? 1) / (e.height ?? 1);
351
+ return r > 1 ? [t, Math.round(t / r)] : [Math.round(t * r), t];
352
+ }
353
+ test() {
354
+ return { ...super.test(), material: this._materials[0] };
355
+ }
356
+ }
357
+ function Ce(p) {
358
+ return p && p.type === "point-3d" && p.hasVisibleVerticalOffset();
359
+ }
360
+ function C(p) {
361
+ return p != null && (p === "cross" || p === "x");
362
+ }
363
+ v.PRIMITIVE_SIZE = Me, v.elevationModeChangeTypes = { definedChanged: b.UPDATE, staysOnTheGround: b.NONE, onTheGroundChanged: b.RECREATE };
364
+ const Te = { mode: "relative-to-ground", offset: 0 }, Ie = J(0, 0, 0, 1), Oe = H();
365
+ export {
366
+ v as Graphics3DIconSymbolLayer
367
+ };
@@ -0,0 +1,115 @@
1
+ import y from "../../../../Color.js";
2
+ import { pt2px as v } from "../../../../core/screenUtils.js";
3
+ import { create as C } from "../../../../core/libs/gl-matrix-2/factories/vec3f64.js";
4
+ import { create as x } from "../../../../core/libs/gl-matrix-2/factories/vec4f64.js";
5
+ import { textSymbolLayerSupportsVerticalOffset as O } from "../../../../symbols/callouts/calloutUtils.js";
6
+ import { perObjectElevationAligner as b } from "./ElevationAligners.js";
7
+ import { SymbolUpdateType as d, elevationModeChangeUpdateType as _, needsElevationUpdates2D as g } from "./elevationAlignmentUtils.js";
8
+ import { ElevationContext as E } from "./ElevationContext.js";
9
+ import { Graphics3DObject3DGraphicLayer as P } from "./Graphics3DObject3DGraphicLayer.js";
10
+ import { Graphics3DObjectMetadata as S } from "./Graphics3DObjectMetadata.js";
11
+ import { Graphics3DSymbolLayer as U } from "./Graphics3DSymbolLayer.js";
12
+ import { computeCentroid as L } from "./graphicUtils.js";
13
+ import { createStageObject as G, extendPointGraphicElevationContext as D } from "./pointUtils.js";
14
+ import { SymbolComplexity as A } from "./SymbolComplexity.js";
15
+ import { Attribute as p } from "../../webgl-engine/lib/Attribute.js";
16
+ import { ContentObjectType as T } from "../../webgl-engine/lib/ContentObjectType.js";
17
+ import { Geometry as w } from "../../webgl-engine/lib/Geometry.js";
18
+ import { VertexAttribute as h } from "../../webgl-engine/lib/VertexAttribute.js";
19
+ import { LineCalloutMaterial as m, Parameters as $ } from "../../webgl-engine/materials/LineCalloutMaterial.js";
20
+ class f extends U {
21
+ constructor(e, t) {
22
+ super(e, null, t, M), this._elevationOptions = { supportsOffsetAdjustment: !0, supportsOnTheGround: !1 }, this.ensureDrapedStatus(!1);
23
+ }
24
+ async doLoad() {
25
+ this._materials[0] = new m(this._materialParameters), this._context.stage.add(this._materials[0]);
26
+ }
27
+ destroy() {
28
+ super.destroy(), this._context.stage.remove(this._materials[0]), this._materials.length = 0;
29
+ }
30
+ _perInstanceMaterialParameters(e) {
31
+ const t = this._materialParameters;
32
+ return t.horizontalScreenOffset = e.horizontalScreenOffset ?? 0, t.centerOffsetUnits = e.centerOffsetUnits || "world", t;
33
+ }
34
+ get _materialParameters() {
35
+ var s;
36
+ const e = new $(), t = this.symbol, r = t.callout;
37
+ if (e.color = r.color != null ? y.toUnitRGBA(r.color) : [0, 0, 0, 0], e.color[3] *= this._getLayerOpacity(), e.size = v(r.size || 0), t.verticalOffset) {
38
+ const { screenLength: i, minWorldLength: o, maxWorldLength: l } = t.verticalOffset;
39
+ e.verticalOffset = { screenLength: v(i), minWorldLength: o || 0, maxWorldLength: l ?? 1 / 0 };
40
+ }
41
+ e.borderColor = ((s = r.border) == null ? void 0 : s.color) != null ? y.toUnitRGBA(r.border.color) : null;
42
+ const n = t.symbolLayers.at(0).type === "object", a = t.type === "label-3d";
43
+ return e.occlusionTest = !n, e.shaderPolygonOffset = n ? 0 : void 0, e.depthHUDAlignStart = a, e.hasSlicePlane = this._context.slicePlaneEnabled, e.screenSizePerspective = this._context.screenSizePerspectiveEnabled ? this._context.sharedResources.screenSizePerspectiveSettings : null, e;
44
+ }
45
+ _defaultElevationInfoNoZ() {
46
+ return I;
47
+ }
48
+ createGraphics3DGraphic(e) {
49
+ const t = e.renderingInfo, r = e.graphic, n = this.setGraphicElevationContext(r, new E(), t.elevationOffset || 0), a = t.symbol, s = this._elevationContext.mode === "on-the-ground" && (a.type === "cim" || !a.symbolLayers.some((o) => o.type === "object" || o.type === "text"));
50
+ if (a.type !== "label-3d" && s || a.type === "point-3d" && a.symbolLayers.every((o) => o.type === "text" && !O(o)))
51
+ return null;
52
+ const i = L(r.geometry);
53
+ return i == null ? null : this._createAs3DShape(i, n, t, r.uid);
54
+ }
55
+ layerOpacityChanged() {
56
+ var e;
57
+ (e = this._materials[0]) == null || e.setParameters(this._materialParameters);
58
+ }
59
+ layerElevationInfoChanged(e, t, r) {
60
+ const n = this._elevationContext.mode, a = _(f.elevationModeChangeTypes, r, n);
61
+ return a !== d.UPDATE || e.forEach((s) => {
62
+ const i = t(s);
63
+ i != null && this.updateGraphicElevationContext(s.graphic, i);
64
+ }), a;
65
+ }
66
+ slicePlaneEnabledChanged() {
67
+ var e;
68
+ return (e = this._materials[0]) == null || e.setParameters({ hasSlicePlane: this._context.slicePlaneEnabled }), !0;
69
+ }
70
+ physicalBasedRenderingChanged() {
71
+ return !0;
72
+ }
73
+ setGraphicElevationContext(e, t, r = 0) {
74
+ return super.setGraphicElevationContext(e, t), t.addOffsetRenderUnits(r), t;
75
+ }
76
+ updateGraphicElevationContext(e, t) {
77
+ this.setGraphicElevationContext(e, t.elevationContext, t.metadata != null ? t.metadata.elevationOffset : 0), t.needsElevationUpdates = g(t.elevationContext.mode);
78
+ }
79
+ computeComplexity() {
80
+ return new A({ verticesPerFeature: 6 });
81
+ }
82
+ _createVertexData(e) {
83
+ const { translation: t, centerOffset: r } = e, n = new p(t ? [t[0], t[1], t[2]] : [0, 0, 0], u, 3, !0), a = new p(r ? [r[0], r[1], r[2], r[3]] : [0, 0, 0, 1], u, 4, !0);
84
+ return [[h.POSITION, n], [h.NORMAL, new p([0, 0, 1], u, 3, !0)], [h.CENTEROFFSETANDDISTANCE, a]];
85
+ }
86
+ _getOrCreateMaterial(e) {
87
+ var n;
88
+ const t = this._perInstanceMaterialParameters(e), r = m.uniqueMaterialIdentifier(t);
89
+ if (r === ((n = this._materials[0]) == null ? void 0 : n.uniqueMaterialIdentifier))
90
+ return { material: this._materials[0], isUnique: !1 };
91
+ if (e.materialCollection != null) {
92
+ let a = e.materialCollection.get(r);
93
+ return a == null && (a = new m(t), e.materialCollection.add(r, a)), { material: a, isUnique: !1 };
94
+ }
95
+ return { material: new m(t), isUnique: !0 };
96
+ }
97
+ _createAs3DShape(e, t, r, n) {
98
+ const a = this._context.layer.uid, s = this._context.stage.renderView.getObjectAndLayerIdColor({ graphicUid: n, layerUid: a }), i = this._getOrCreateMaterial(r), o = new w(i.material, this._createVertexData(r), null, T.Point, s), l = G(this._context, e, o, t, n);
99
+ if (l == null)
100
+ return null;
101
+ const c = new P(this, l.object, [o], i.isUnique ? [i.material] : null, null, b, t);
102
+ return c.metadata = new S(r.elevationOffset), c.alignedSampledElevation = l.sampledElevation, c.needsElevationUpdates = g(t.mode), D(c, e, this._context.elevationProvider), c;
103
+ }
104
+ }
105
+ f.elevationModeChangeTypes = { definedChanged: d.UPDATE, staysOnTheGround: d.UPDATE, onTheGroundChanged: d.RECREATE };
106
+ const u = [0], I = { mode: "relative-to-ground", offset: 0 }, M = { ignoreDrivers: !0, renderPriority: 0, renderPriorityStep: 1 };
107
+ class ae {
108
+ constructor(e, t, r = C(), n = x(), a = 0, s = "world", i = 0, o = null) {
109
+ this.renderer = e, this.symbol = t, this.translation = r, this.centerOffset = n, this.horizontalScreenOffset = a, this.centerOffsetUnits = s, this.elevationOffset = i, this.materialCollection = o;
110
+ }
111
+ }
112
+ export {
113
+ f as Graphics3DLineCalloutSymbolLayer,
114
+ ae as LineCalloutSymbolLayerRenderingInfo
115
+ };