@agrotools1/at-components 0.2.1 → 0.2.2
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.
- package/dist/AGraphicContainer-98a4c8a4.js +109 -0
- package/dist/APIKeyMixin-9511e0a5.js +19 -0
- package/dist/Analysis-4b1d1fb5.js +31 -0
- package/dist/ArcGISCachedService-93e2cb27.js +47 -0
- package/dist/ArcGISService-3f8d89c1.js +25 -0
- package/dist/AreaMeasurement2D-e0bb230c.js +405 -0
- package/dist/AreaMeasurement3D-a9959ecf.js +488 -0
- package/dist/AttachmentInfo-601c56e2.js +34 -0
- package/dist/AttachmentQuery-3504d550.js +18 -0
- package/dist/AttributeStore-b90878e3.js +1707 -0
- package/dist/BaseDynamicLayerView2D-b2faf028.js +63 -0
- package/dist/BindType-5e76c8e1.js +7 -0
- package/dist/BingMapsLayer-5d79fe2b.js +112 -0
- package/dist/Bitmap-f775c851.js +128 -0
- package/dist/BitmapContainer-af5942b8.js +23 -0
- package/dist/BlendLayer-a792edf6.js +13 -0
- package/dist/BoundsStore-789624df.js +63 -0
- package/dist/BufferObject-cbd0168e.js +100 -0
- package/dist/BufferView-004ad517.js +683 -0
- package/dist/BuildingSceneLayer-25bc760b.js +535 -0
- package/dist/Button/Button.d.ts +24 -2
- package/dist/Button-70963624.js +36 -0
- package/dist/ByteSizeUnit-90df2840.js +7 -0
- package/dist/CSVLayer-fd3b6750.js +208 -0
- package/dist/CSVSourceWorker-eb24cd85.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +66 -0
- package/dist/CatalogFootprintLayerView2D-6eb16597.js +76 -0
- package/dist/CatalogLayer-1cc632fe.js +262 -0
- package/dist/CatalogLayerView2D-d143aa34.js +52 -0
- package/dist/Chips/index.d.ts +1 -0
- package/dist/CircularArray-b2bc1dfd.js +40 -0
- package/dist/ClassBreaksDefinition-07ba0c64.js +18 -0
- package/dist/ColorMaterial.glsl-e7801766.js +64 -0
- package/dist/ColorSet-df5696b5.js +45 -0
- package/dist/ColorStop-7187f368.js +29 -0
- package/dist/Container-ac97765a.js +521 -0
- package/dist/CustomParametersMixin-b3432b3e.js +12 -0
- package/dist/DatePicker/DatePicker.helper.d.ts +22 -0
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +18 -0
- package/dist/DatePicker/index.d.ts +2 -0
- package/dist/DefaultMaterial.glsl-3cc4efe7.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +653 -0
- package/dist/DefaultTheme-12dffc66.js +130 -0
- package/dist/DeleteForwardEditsParameters-ae76d898.js +18 -0
- package/dist/DimensionLayer-9eb47c76.js +129 -0
- package/dist/DirectLineMeasurement3D-e9903136.js +449 -0
- package/dist/DistanceMeasurement2D-a4853462.js +303 -0
- package/dist/DoubleArray-5076283e.js +25 -0
- package/dist/EdgeProcessingWorker-c1783ddd.js +63 -0
- package/dist/EditBusLayer-e812f4c9.js +107 -0
- package/dist/ElevationInfo-fad03d5e.js +56 -0
- package/dist/ElevationLayer-397792d5.js +129 -0
- package/dist/ElevationQuery-beceb62f.js +598 -0
- package/dist/ElevationSamplerWorker-0048a204.js +62 -0
- package/dist/ExportImageParameters-c6c4bc61.js +66 -0
- package/dist/ExportStrategy-908f5b8d.js +93 -0
- package/dist/ExportWMSImageParameters-34da6b46.js +33 -0
- package/dist/External-14daf0c1.js +110 -0
- package/dist/FeatureCollectionSnappingSource-f97a1829.js +130 -0
- package/dist/FeatureCommandQueue-d4817eac.js +1244 -0
- package/dist/FeatureEffect-08976bbd.js +39 -0
- package/dist/FeatureEffectLayer-05c258f4.js +13 -0
- package/dist/FeatureFilter-8c5e44b1.js +27 -0
- package/dist/FeatureLayer-d3659466.js +693 -0
- package/dist/FeatureLayerBase-9b63f732.js +148 -0
- package/dist/FeatureLayerSource-960f1c01.js +444 -0
- package/dist/FeatureLayerView2D-7503e1ed.js +1967 -0
- package/dist/FeaturePipelineWorker-d4301d2a.js +3633 -0
- package/dist/FeatureReductionLayer-e6cf73ac.js +225 -0
- package/dist/FeatureReductionSelection-d90249a7.js +22 -0
- package/dist/FeatureServiceSnappingSource-9e49ca72.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +747 -0
- package/dist/FeatureSet-d79f0e48.js +188 -0
- package/dist/FeatureStore-eb4b87c0.js +131 -0
- package/dist/FeatureTemplate-edb1b782.js +12 -0
- package/dist/FeatureType-bba29adb.js +25 -0
- package/dist/FieldsIndex-75cca4d0.js +109 -0
- package/dist/FormTemplate-22911c47.js +350 -0
- package/dist/GeoJSONLayer-b33c96b8.js +236 -0
- package/dist/GeoJSONSourceWorker-b04ff552.js +247 -0
- package/dist/GeoRSSLayer-6e5fcd0e.js +73 -0
- package/dist/GeoRSSLayerView2D-21b6b12e.js +140 -0
- package/dist/GeometryUtils-fa897cbd.js +403 -0
- package/dist/GraphicContainer-1fd6bfce.js +26 -0
- package/dist/GraphicManipulator-f3b7dc9b.js +1499 -0
- package/dist/GraphicsLayer-e0686779.js +38 -0
- package/dist/GraphicsLayerView2D-a7eba2fe.js +114 -0
- package/dist/GraphicsSnappingSource-594f402a.js +273 -0
- package/dist/GraphicsView2D-347562b8.js +620 -0
- package/dist/GroupLayer-7ae0a916.js +147 -0
- package/dist/GroupLayerView2D-ffcde606.js +98 -0
- package/dist/HUDMaterial.glsl-b0a3e0ce.js +65 -0
- package/dist/HighlightCounter-e18f0179.js +41 -0
- package/dist/HighlightGraphicContainer-fd774cea.js +18 -0
- package/dist/I3SBinaryReader-190e99de.js +310 -0
- package/dist/I3SLayerDefinitions-6ddaca60.js +55 -0
- package/dist/I3SUtil-44b83dc0.js +59 -0
- package/dist/IdentityManager-fbe91c13.js +899 -0
- package/dist/ImageHistogramParameters-d64fd9c8.js +905 -0
- package/dist/ImageryLayer-67878a78.js +1799 -0
- package/dist/ImageryLayerView2D-ae45faba.js +352 -0
- package/dist/ImageryTileLayer-9dca8b93.js +2157 -0
- package/dist/ImageryTileLayerView2D-977f66aa.js +1110 -0
- package/dist/ImmutableArray-fb7b7a6a.js +20 -0
- package/dist/Indices-e6dc3b15.js +67 -0
- package/dist/Input/Input.core.d.ts +37 -11
- package/dist/Input/index.d.ts +37 -11
- package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +112 -0
- package/dist/IntegratedMeshLayer-9162c0b5.js +141 -0
- package/dist/InteractiveAnalysisViewModel-b046fcb9.js +7397 -0
- package/dist/InterleavedLayout-32973c8a.js +163 -0
- package/dist/KMLLayer-80f81df7.js +162 -0
- package/dist/KMLLayerView2D-b6ba3b80.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +43 -0
- package/dist/LRUCache-27e8c401.js +32 -0
- package/dist/LabelClass-d9a476d6.js +135 -0
- package/dist/LabelMetric-e2728bbf.js +400 -0
- package/dist/LaserlinePath.glsl-60d00e61.js +64 -0
- package/dist/Laserlines.glsl-499a6cbf.js +65 -0
- package/dist/LayerFloorInfo-d05cf9dd.js +15 -0
- package/dist/LayerView-036988a9.js +206 -0
- package/dist/LercWorker-b1b4bb47.js +157 -0
- package/dist/LineOfSightLayer-9a9a60b7.js +147 -0
- package/dist/LinkChartLayer-d61803bb.js +1027 -0
- package/dist/Lyr3DWorker-87be14e0.js +82 -0
- package/dist/MD5-1b5ec1c3.js +76 -0
- package/dist/MagnifierPrograms-da7a27ab.js +806 -0
- package/dist/Map/Map.d.ts +26 -0
- package/dist/Map/index.d.ts +1 -0
- package/dist/Map/types/index.d.ts +38 -0
- package/dist/Map/utils/index.d.ts +24 -0
- package/dist/MapImageLayer-f07adf1a.js +169 -0
- package/dist/MapImageLayerView2D-d1b140c3.js +146 -0
- package/dist/MapNotesLayer-c662d147.js +283 -0
- package/dist/MapNotesLayerView2D-bf9ac698.js +161 -0
- package/dist/MapServiceLayerViewHelper-fb724de9.js +288 -0
- package/dist/MeasurementWidgetContent-e4888ef2.js +2642 -0
- package/dist/MediaLayer-36d873a3.js +523 -0
- package/dist/MediaLayerView2D-e58b8ec0.js +332 -0
- package/dist/MemCache-a9232ec2.js +227 -0
- package/dist/MemorySourceWorker-20ff27d6.js +222 -0
- package/dist/Mesh-3839826a.js +980 -0
- package/dist/MeshLocalVertexSpace-00151564.js +19 -0
- package/dist/MultiOriginJSONSupport-bb258670.js +158 -0
- package/dist/NestedMap-83f8e815.js +29 -0
- package/dist/OGCFeatureLayer-2a8b7ecc.js +211 -0
- package/dist/OGCFeatureLayerView2D-185f9649.js +82 -0
- package/dist/ObjectStack-10d91171.js +21 -0
- package/dist/Octree-78797046.js +495 -0
- package/dist/OpenStreetMapLayer-b0a17790.js +30 -0
- package/dist/OperationalLayer-55af27d6.js +44 -0
- package/dist/OptimizedFeatureSet-54e095c4.js +12 -0
- package/dist/OptimizedGeometry-3b808152.js +68 -0
- package/dist/OrderByInfo-22e3c805.js +16 -0
- package/dist/OrderIndependentTransparency-3eadfe42.js +214 -0
- package/dist/OrderedLayer-1403a591.js +26 -0
- package/dist/OrientedImageryLayer-8ec8d7d1.js +216 -0
- package/dist/OverlayCompositing.glsl-ba3bd81d.js +65 -0
- package/dist/OverrideHelper-82325a2c.js +242 -0
- package/dist/PBFDecoderWorker-f6517afc.js +213 -0
- package/dist/PointCloudLayer-cff43a10.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-f337a895.js +115 -0
- package/dist/PointCloudWorker-cdb28dc1.js +212 -0
- package/dist/PooledRBush-ee4e60af.js +272 -0
- package/dist/Popup-c7f55588.js +3990 -0
- package/dist/PortalLayer-07b3c53e.js +126 -0
- package/dist/Program-ba2f18b2.js +694 -0
- package/dist/ProgramTemplate-eee4f097.js +35 -0
- package/dist/ProgressBar/ProgressBar.d.ts +0 -13
- package/dist/QueryEngine-10c97624.js +896 -0
- package/dist/QueryEngineCapabilities-0d8477a2.js +4 -0
- package/dist/QueryTask-115430b6.js +119 -0
- package/dist/RasterSymbolizer-fbf433fe.js +3024 -0
- package/dist/RasterVFDisplayObject-20b0dd86.js +581 -0
- package/dist/RasterWorker-44c37e20.js +78 -0
- package/dist/RawBlockCache-25203dbd.js +185 -0
- package/dist/RealisticTree.glsl-bc07c4dc.js +42 -0
- package/dist/Rect-894f011c.js +14 -0
- package/dist/RefreshableLayer-9550b85a.js +80 -0
- package/dist/RefreshableLayerView-601f7038.js +16 -0
- package/dist/Relationship-c662830e.js +64 -0
- package/dist/RelationshipQuery-765f068e.js +22 -0
- package/dist/RenderState-b244097f.js +7 -0
- package/dist/RenderingContext-3db74548.js +889 -0
- package/dist/RibbonLine.glsl-c6a715b7.js +65 -0
- package/dist/RouteLayer-3f5411f3.js +786 -0
- package/dist/RouteLayerView2D-a5fd4cbf.js +195 -0
- package/dist/SDFHelper-a34e90ee.js +140 -0
- package/dist/SSAO.glsl-5491a708.js +43 -0
- package/dist/SSAOBlur.glsl-f3068b8e.js +42 -0
- package/dist/ScaleRangeLayer-7ddf00b4.js +21 -0
- package/dist/SceneLayer-c594bfc3.js +542 -0
- package/dist/SceneLayerSnappingSource-a0504ac7.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +112 -0
- package/dist/SceneLayerWorker-1865768e.js +164 -0
- package/dist/SceneService-fb9f0142.js +215 -0
- package/dist/Scheduler-eacc84bb.js +373 -0
- package/dist/Select/Item/Item.d.ts +2 -1
- package/dist/Select/{Select.multiple.d.ts → Multiple/Select.multiple.d.ts} +26 -16
- package/dist/Select/Select.core.d.ts +18 -15
- package/dist/Select/{Select.single.d.ts → Single/Select.single.d.ts} +23 -14
- package/dist/Select/index.d.ts +42 -24
- package/dist/ShadedColorMaterial.glsl-db97956b.js +64 -0
- package/dist/SnappingOperation-9622a00d.js +48 -0
- package/dist/SourceLayerData-7016f1a5.js +116 -0
- package/dist/SpatialFilter-d20d4f50.js +1701 -0
- package/dist/Stop-68022e32.js +281 -0
- package/dist/StreamLayer-7c837e3d.js +188 -0
- package/dist/StreamLayerView2D-586f5a6a.js +164 -0
- package/dist/StyleDefinition-f4862d5a.js +36 -0
- package/dist/StyleRepository-fba75e70.js +2212 -0
- package/dist/SublayersOwner-3dc574cd.js +545 -0
- package/dist/SubtypeGroupLayer-1f9c5398.js +514 -0
- package/dist/SubtypeGroupLayerView2D-0f108d9d.js +84 -0
- package/dist/Tabs/Tab/Tab.d.ts +3 -3
- package/dist/TechniqueInstance-0481dbff.js +233 -0
- package/dist/TemporalLayer-8116b4a4.js +23 -0
- package/dist/Texture-22a8cca5.js +501 -0
- package/dist/TextureOnly.glsl-458f8148.js +65 -0
- package/dist/Theme-f05b8eb0.js +3426 -0
- package/dist/Tick-aef93b48.js +723 -0
- package/dist/TileContainer-0bf0ea1b.js +31 -0
- package/dist/TileInfoTilemapCache-d78858c0.js +38 -0
- package/dist/TileLayer-0edee064.js +194 -0
- package/dist/TileLayerView2D-78d5801b.js +187 -0
- package/dist/TilemapCache-79699d61.js +189 -0
- package/dist/TimeInfo-40c96ade.js +42 -0
- package/dist/TimeOnly-9ee66ca6.js +706 -0
- package/dist/Tooltip-e7498dc9.js +138 -0
- package/dist/TopFeaturesQuery-ad224e01.js +32 -0
- package/dist/TurboLine-6ab04aef.js +565 -0
- package/dist/UniqueValueRenderer-eaa5f8a6.js +1039 -0
- package/dist/UnknownLayer-e280ddd4.js +30 -0
- package/dist/UnknownTimeZone-220952b5.js +15 -0
- package/dist/UnsupportedLayer-447f7676.js +31 -0
- package/dist/UpdateTracking2D-e9adad8f.js +8566 -0
- package/dist/Util-002f5109.js +57 -0
- package/dist/VectorTileLayer-3210be81.js +544 -0
- package/dist/VectorTileLayerView2D-6a51e3b8.js +2108 -0
- package/dist/Version-3de8cbca.js +33 -0
- package/dist/VertexArrayObject-07998745.js +73 -0
- package/dist/VertexAttribute-faad30bf.js +11 -0
- package/dist/VertexColor.glsl-e415cf02.js +2683 -0
- package/dist/VertexElementDescriptor-d7c718c2.js +8 -0
- package/dist/VertexSnappingCandidate-b676241f.js +13 -0
- package/dist/VideoLayerView2D-f659dd0d.js +124 -0
- package/dist/VoxelLayer-003f82ff.js +631 -0
- package/dist/WFSLayer-3da6c5f7.js +221 -0
- package/dist/WFSSourceWorker-9a11693a.js +157 -0
- package/dist/WGLContainer-3d159b63.js +5426 -0
- package/dist/WMSLayer-fc0632f8.js +536 -0
- package/dist/WMSLayerView2D-54e80e1b.js +117 -0
- package/dist/WMTSLayer-9324b12b.js +531 -0
- package/dist/WMTSLayerView2D-3ef936db.js +142 -0
- package/dist/WebTileLayer-45c563ff.js +110 -0
- package/dist/WhereClause-7a28b740.js +2766 -0
- package/dist/WorkerHandle-0d54a6c7.js +47 -0
- package/dist/WorkerTileHandler-786c2b24.js +1539 -0
- package/dist/action-163397e3.js +198 -0
- package/dist/action-group-4859fb97.js +145 -0
- package/dist/action-menu-2d70b2fc.js +1759 -0
- package/dist/agrotools-theme.css.map +1 -1
- package/dist/apng-9b71d52c.js +392 -0
- package/dist/ar-a17f8064.js +18 -0
- package/dist/arcade-fa309282.js +229 -0
- package/dist/arcadeAsyncRuntime-738498fd.js +943 -0
- package/dist/arcadeUtils-f71d80fa.js +8741 -0
- package/dist/arcgis-knowledge-client-core-6056bcea.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +1218 -0
- package/dist/arcgisLayers-b2b878bd.js +152 -0
- package/dist/associatedFeatureServiceUtils-df5b5187.js +92 -0
- package/dist/axisAngleDegrees-32643b7c.js +49 -0
- package/dist/basicInterfaces-fa4f5fa7.js +30 -0
- package/dist/basis_transcoder-3187cc92.js +1248 -0
- package/dist/bg_BG-9950a70b.js +18 -0
- package/dist/bs_BA-60482871.js +18 -0
- package/dist/ca_ES-a121088e.js +18 -0
- package/dist/calcite-action-bar-5a87c23c.js +303 -0
- package/dist/calcite-action-ee2ca847.js +22 -0
- package/dist/calcite-action-group-19aa86ee.js +28 -0
- package/dist/calcite-button-8e9175c0.js +228 -0
- package/dist/calcite-flow-57d26d2d.js +128 -0
- package/dist/calcite-flow-item-4a3e3fc0.js +499 -0
- package/dist/calcite-icon-d99e280a.js +16 -0
- package/dist/calcite-input-28b20785.js +24 -0
- package/dist/calcite-label-4f30e08d.js +79 -0
- package/dist/calcite-list-0cee7628.js +2135 -0
- package/dist/calcite-list-item-0a19efa8.js +576 -0
- package/dist/calcite-list-item-group-0706662f.js +71 -0
- package/dist/calcite-loader-865045b1.js +14 -0
- package/dist/calcite-modal-3e4da6fd.js +333 -0
- package/dist/calcite-notice-50b74ab7.js +181 -0
- package/dist/calcite-option-713c1d40.js +94 -0
- package/dist/calcite-scrim-809fbd0b.js +18 -0
- package/dist/calcite-select-28d8edfc.js +231 -0
- package/dist/capabilities-c8f838be.js +50 -0
- package/dist/chartCommon-13718cda.js +256 -0
- package/dist/chartUtilsAm5-6be145fb.js +2954 -0
- package/dist/clientSideDefaults-5c1f97c9.js +39 -0
- package/dist/colorRamps-8792655e.js +38 -0
- package/dist/colorUtils-54f4b662.js +164 -0
- package/dist/commonProperties-f9559903.js +60 -0
- package/dist/component-51a10bc0.js +18 -0
- package/dist/computeTranslationToOriginAndRotation-4876cb93.js +60 -0
- package/dist/conditionalSlot-87175989.js +27 -0
- package/dist/config-61215215.js +7 -0
- package/dist/constants-5bd557fe.js +5 -0
- package/dist/createConnection-f974a00a.js +299 -0
- package/dist/crsUtils-59933b10.js +7 -0
- package/dist/cs_CZ-1b968650.js +18 -0
- package/dist/da_DK-e0fe1642.js +18 -0
- package/dist/dataUtils-7c276b73.js +1421 -0
- package/dist/date-1c28c6a5.js +52 -0
- package/dist/de_CH-b0dbd4c8.js +6 -0
- package/dist/de_DE-8609ef65.js +6 -0
- package/dist/debounce-de27a42a.js +121 -0
- package/dist/deduplicate-59fb9cac.js +89 -0
- package/dist/defaults-2bfa4a36.js +31 -0
- package/dist/defaultsJSON-ba17aa15.js +10 -0
- package/dist/definitions-a00a3a6c.js +52 -0
- package/dist/deleteForwardEdits-f653b513.js +13 -0
- package/dist/devEnvironmentUtils-42cb97c7.js +11 -0
- package/dist/diffUtils-e71a6152.js +90 -0
- package/dist/dom-b589b728.js +358 -0
- package/dist/doublePrecisionUtils-46e21550.js +22 -0
- package/dist/drapedUtils-b42fcbc6.js +75 -0
- package/dist/earcut-6fa1a128.js +292 -0
- package/dist/edgeProcessing-2ff1f201.js +252 -0
- package/dist/editingSupport-68545668.js +203 -0
- package/dist/editsZScale-c7cdd215.js +37 -0
- package/dist/el_GR-5cfd1e7e.js +18 -0
- package/dist/elevationInfoUtils-5456a079.js +126 -0
- package/dist/en_CA-47f2633b.js +18 -0
- package/dist/en_US-47f2633b.js +18 -0
- package/dist/enums-25d066fc.js +13 -0
- package/dist/enums-2c166c09.js +99 -0
- package/dist/enums-fa8f05ab.js +152 -0
- package/dist/es_ES-489878a2.js +6 -0
- package/dist/et_EE-6472669a.js +18 -0
- package/dist/executeForIds-4ab75c0d.js +14 -0
- package/dist/executeForTopCount-7e095ec1.js +17 -0
- package/dist/executeForTopExtents-19daf9d0.js +17 -0
- package/dist/executeForTopIds-1ba3a4af.js +17 -0
- package/dist/executeQueryJSON-46168866.js +15 -0
- package/dist/executeQueryPBF-d8623daf.js +152 -0
- package/dist/executeRelationshipQuery-011dfb45.js +53 -0
- package/dist/executeTopFeaturesQuery-02166801.js +18 -0
- package/dist/featureConversionUtils-650d7601.js +479 -0
- package/dist/featureLayerUtils-64e09283.js +142 -0
- package/dist/featureLayerUtils-b07f9c11.js +250 -0
- package/dist/featureSetUtils-9d37d6f8.js +2530 -0
- package/dist/featuresetbase-62aeb079.js +707 -0
- package/dist/featuresetgeom-51f9fc4e.js +99 -0
- package/dist/featuresetstats-4db32894.js +81 -0
- package/dist/featuresetstring-990c3287.js +95 -0
- package/dist/fetchService-5198dd4a.js +33 -0
- package/dist/fi_FI-d7a3a525.js +18 -0
- package/dist/fieldProperties-edfa24cb.js +33 -0
- package/dist/floatRGBA-516d7961.js +20 -0
- package/dist/floorFilterUtils-936f7587.js +19 -0
- package/dist/focusTrapComponent-e849bb89.js +475 -0
- package/dist/form-99719d52.js +138 -0
- package/dist/fr_FR-a88f2596.js +7 -0
- package/dist/geohashUtils-2bc76440.js +85 -0
- package/dist/geojson-603231df.js +208 -0
- package/dist/geomasync-e9063b4c.js +567 -0
- package/dist/geometryEngine-d3bb2fd6.js +192 -0
- package/dist/geometryEngineAsync-55aa6170.js +217 -0
- package/dist/geometryEngineBase-527e8b63.js +18463 -0
- package/dist/geometryEngineJSON-28087174.js +46 -0
- package/dist/geometryEngineJSON-d54949f9.js +171 -0
- package/dist/geometryEngineWorker-dc2c7127.js +11 -0
- package/dist/geometryServiceUtils-6a3e1e93.js +28 -0
- package/dist/georeference-ed8b2c30.js +291 -0
- package/dist/gif-204e82dd.js +323 -0
- package/dist/glUtil-8f8bce6b.js +19 -0
- package/dist/gltfexport-b2566542.js +705 -0
- package/dist/groupLayerUtils-ea9e6359.js +39 -0
- package/dist/guid-5ee54248.js +17 -0
- package/dist/he_IL-e34cf273.js +18 -0
- package/dist/heatmapUtils-56758920.js +45 -0
- package/dist/highlightReasons-de432106.js +19 -0
- package/dist/hr_HR-6a124f87.js +18 -0
- package/dist/hu_HU-58f3feb6.js +18 -0
- package/dist/hydrated-0e1c7565.js +40 -0
- package/dist/i3s-bb0b5b67.js +809 -0
- package/dist/icon-c6e3bd23.js +127 -0
- package/dist/id_ID-18d97715.js +18 -0
- package/dist/imageBitmapUtils-881d8c64.js +23 -0
- package/dist/imageUtils-57eeedc5.js +69 -0
- package/dist/imageUtils-ef69c578.js +89 -0
- package/dist/imageryUtils-23f51cb1.js +43 -0
- package/dist/index-01c737ed.js +42563 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +22 -10184
- package/dist/infoFor3D-bf4e6c95.js +58 -0
- package/dist/input-message-673a9baa.js +92 -0
- package/dist/input2-bbf6454e.js +575 -0
- package/dist/interactive-aeb2cb9f.js +80 -0
- package/dist/interfaces-fac3cfda.js +7 -0
- package/dist/it_IT-49e70bbf.js +6 -0
- package/dist/ja_JP-eaef2cc3.js +18 -0
- package/dist/json-5febf88a.js +57 -0
- package/dist/jsonContext-2dc288b1.js +15 -0
- package/dist/jsonUtils-1abd4bfc.js +59 -0
- package/dist/jsonUtils-913fa1bd.js +86 -0
- package/dist/jsonUtils-f6a5e63b.js +476 -0
- package/dist/kmlUtils-7c2744fe.js +112 -0
- package/dist/knowledgeGraphService-6a349e04.js +739 -0
- package/dist/knowledgegraph-c91b0bb2.js +149 -0
- package/dist/ko_KR-5c972fd8.js +14 -0
- package/dist/label2-1ab25f27.js +90 -0
- package/dist/labelUtils-a3634e8f.js +61 -0
- package/dist/labelingInfo-568c9210.js +46 -0
- package/dist/layerViewUtils-052e603c.js +10 -0
- package/dist/layersCreator-4a5366ea.js +151 -0
- package/dist/layersLoader-b87d4857.js +197 -0
- package/dist/lazyLayerLoader-8817000c.js +10 -0
- package/dist/lclayout-64c67b4e.js +773 -0
- package/dist/lengthUtils-695e744c.js +5 -0
- package/dist/lerc-wasm-13192bf3.js +325 -0
- package/dist/libtess-asm-4883179d.js +3673 -0
- package/dist/libtess-fc70d1ce.js +269 -0
- package/dist/lineSegment-3aa941f5.js +76 -0
- package/dist/loadGLTFMesh-db6645f5.js +181 -0
- package/dist/loadable-266f324b.js +24 -0
- package/dist/loader-d1ce1bc1.js +79 -0
- package/dist/lt_LT-26f13fd1.js +6 -0
- package/dist/lv_LV-4feafa92.js +18 -0
- package/dist/lyr3DWorker-dd48e619.js +2108 -0
- package/dist/mapViewDeps-226d9da3.js +3052 -0
- package/dist/mask-svg-30f64a7b.js +4 -0
- package/dist/mat3f64-03233387.js +19 -0
- package/dist/mat4f64-cce69db4.js +19 -0
- package/dist/mediaLayerUtils-ae485c27.js +35 -0
- package/dist/meshFeatureSet-8a2ad011.js +126 -0
- package/dist/meshVertexSpaceUtils-6efe3dcc.js +58 -0
- package/dist/multiOriginJSONSupportUtils-207ba4d4.js +6 -0
- package/dist/multidimensionalUtils-508a3f3f.js +290 -0
- package/dist/nb_NO-21543153.js +18 -0
- package/dist/nl_NL-7876d97f.js +7 -0
- package/dist/normalizeUtilsSync-1dae280b.js +181 -0
- package/dist/number-5aa3a81b.js +128 -0
- package/dist/objectIdUtils-93dae423.js +14 -0
- package/dist/objectResourceUtils-642ab03e.js +1455 -0
- package/dist/observers-f646a6a4.js +30 -0
- package/dist/ogcFeatureUtils-46ac1c44.js +206 -0
- package/dist/openCloseComponent-47eb52c6.js +37 -0
- package/dist/orientedBoundingBox-554ccdc6.js +447 -0
- package/dist/originUtils-87edf087.js +9 -0
- package/dist/overlay-svg-c3941b3b.js +4 -0
- package/dist/parser-0701286c.js +488 -0
- package/dist/pbf-5dd791f5.js +215 -0
- package/dist/pbfQueryUtils-a6ca7e23.js +422 -0
- package/dist/pe-wasm-6c16b121.js +887 -0
- package/dist/persistable-9eb0e8df.js +89 -0
- package/dist/perspectiveUtils-b194621d.js +42 -0
- package/dist/pieChart-b97433d0.js +555 -0
- package/dist/pl_PL-276c6dae.js +18 -0
- package/dist/plane-3398eec1.js +160 -0
- package/dist/popupUtils-c444b896.js +22 -0
- package/dist/popupUtils-d871563b.js +50 -0
- package/dist/portalItemUtils-4c4caad0.js +57 -0
- package/dist/portalLayers-cb07742f.js +312 -0
- package/dist/portalUtils-effd590f.js +7 -0
- package/dist/programUtils-65af7b7c.js +59 -0
- package/dist/project-ee9c2947.js +21 -0
- package/dist/projectPointToVector-7dc831a9.js +14 -0
- package/dist/projectVectorToVector-5163db7a.js +13 -0
- package/dist/pt_BR-4fae3055.js +6 -0
- package/dist/pt_PT-14d9efb1.js +6 -0
- package/dist/quantityUtils-5cd4cf90.js +33 -0
- package/dist/quantizationUtils-0a8f74c6.js +68 -0
- package/dist/quat-a508aed3.js +104 -0
- package/dist/quatf64-bec1af25.js +19 -0
- package/dist/query-b6e1fd14.js +89 -0
- package/dist/queryAttachments-7b39ebdc.js +39 -0
- package/dist/queryEngineUtils-cb8e309e.js +21 -0
- package/dist/queryTopFeatures-2e0e3941.js +50 -0
- package/dist/queryZScale-c5733d0a.js +12 -0
- package/dist/rasterProjectionHelper-213afa27.js +577 -0
- package/dist/rasterUtils-f2e44e8b.js +122 -0
- package/dist/rasterizingUtils-25cc0190.js +46 -0
- package/dist/request-e0c679b3.js +46 -0
- package/dist/requestImageUtils-37d79281.js +8 -0
- package/dist/resourceExtension-5f3f1c80.js +17 -0
- package/dist/resourceUtils-0d68cbc2.js +69 -0
- package/dist/resourceUtils-374db840.js +62 -0
- package/dist/resourceUtils-43ce192b.js +42 -0
- package/dist/ro_RO-8e733cf5.js +18 -0
- package/dist/ru_RU-f7bafc90.js +6 -0
- package/dist/saveAPIKeyUtils-1a3d4a8a.js +8 -0
- package/dist/saveUtils-43fdc547.js +24 -0
- package/dist/scaleUtils-bdf8b6cb.js +23 -0
- package/dist/scrim-44eb4dc0.js +114 -0
- package/dist/serviceCapabilitiesUtils-823612b8.js +64 -0
- package/dist/sizeVariableUtils-a1b694d8.js +27 -0
- package/dist/sk_SK-c279eea3.js +6 -0
- package/dist/sl_SL-e40950dd.js +6 -0
- package/dist/sourceUtils-01d115c6.js +71 -0
- package/dist/sphere-908cd9aa.js +199 -0
- package/dist/sr_RS-b1835dfa.js +18 -0
- package/dist/statsWorker-49f9befe.js +37 -0
- package/dist/streamLayerUtils-29324e05.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-82e8da52.js +75 -0
- package/dist/styleUtils-8541d60d.js +14 -0
- package/dist/sublayerUtils-eaac2486.js +37 -0
- package/dist/substitute-1f578d70.js +52 -0
- package/dist/sv_SE-15ca9e36.js +6 -0
- package/dist/symbolColorUtils-18fd6b3d.js +8 -0
- package/dist/symbolLayerUtils-4c58b291.js +31 -0
- package/dist/symbologySnappingCandidates-14d94b6b.js +221 -0
- package/dist/t9n-c1c2b6c8.js +349 -0
- package/dist/testSVGPremultipliedAlpha-159dac90.js +94 -0
- package/dist/th_TH-bf624a56.js +18 -0
- package/dist/tileUtils-3e0c8c1d.js +7 -0
- package/dist/timeSupport-3f529cdb.js +410 -0
- package/dist/tr_TR-ca5c315f.js +18 -0
- package/dist/triangle-8a3a2ba8.js +98 -0
- package/dist/types-adba9034.js +19 -0
- package/dist/uk_UA-4b3cb86d.js +6 -0
- package/dist/unitConversionUtils-f0ebaf75.js +17 -0
- package/dist/unitFormatUtils-555e2d94.js +40 -0
- package/dist/uploadAssetErrors-d1389781.js +70 -0
- package/dist/uploadAssets-5e85f09d.js +330 -0
- package/dist/utils-3a10b10c.js +34 -0
- package/dist/utils-505c54e9.js +91 -0
- package/dist/utils-5432e258.js +433 -0
- package/dist/utils-7a88ec6a.js +419 -0
- package/dist/utils-7fa9cdf9.js +2746 -0
- package/dist/utils-d252c575.js +73 -0
- package/dist/utils-f07e00b3.js +232 -0
- package/dist/utils-fda10b4b.js +79 -0
- package/dist/utils3-c34ab97c.js +75 -0
- package/dist/vec3-f79c600d.js +81 -0
- package/dist/vec3f32-304a6a9c.js +36 -0
- package/dist/vec42-36edeb73.js +125 -0
- package/dist/vec4f32-b2628ced.js +38 -0
- package/dist/vec4f64-043e974c.js +45 -0
- package/dist/versionUtils-6935648b.js +161 -0
- package/dist/vi_VN-ad09e708.js +18 -0
- package/dist/visualVariableUtils-c425461a.js +267 -0
- package/dist/webStyleSymbolUtils-4f42a29f.js +48 -0
- package/dist/webglDeps-5f18210d.js +23 -0
- package/dist/wfsUtils-6f7f1e3e.js +343 -0
- package/dist/workerHelper-9dc9a790.js +11 -0
- package/dist/xmlUtils-64cc47e1.js +24 -0
- package/dist/xyChart-e5648fee.js +3335 -0
- package/dist/zh_Hans-61faef57.js +14 -0
- package/dist/zh_Hant-87a9767b.js +14 -0
- package/dist/zipjs-wrapper-1bd67e07.js +6496 -0
- package/package.json +3 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { fd as p, Q as O, g1 as D, f6 as I, fb as V, f7 as $, f8 as w, g2 as z, f9 as C, x as E } from "./index-01c737ed.js";
|
|
2
|
+
import { i as L, r as N } from "./TechniqueInstance-0481dbff.js";
|
|
3
|
+
import { i as T, N as F } from "./Container-ac97765a.js";
|
|
4
|
+
import { h } from "./FeatureCommandQueue-d4817eac.js";
|
|
5
|
+
import { r as P } from "./UpdateTracking2D-e9adad8f.js";
|
|
6
|
+
import { r as k } from "./vec3f32-304a6a9c.js";
|
|
7
|
+
import { b as U } from "./LabelMetric-e2728bbf.js";
|
|
8
|
+
import { h as v } from "./BufferObject-cbd0168e.js";
|
|
9
|
+
import { R as x, E as W, C as M, F as b } from "./enums-2c166c09.js";
|
|
10
|
+
import { o as H } from "./VertexArrayObject-07998745.js";
|
|
11
|
+
let q = 0;
|
|
12
|
+
function c(f, e, t) {
|
|
13
|
+
return new L(P(q++), f, f.meshWriter.name, e, t);
|
|
14
|
+
}
|
|
15
|
+
const d = { geometry: { visualVariableColor: null, visualVariableOpacity: null, visualVariableSizeMinMaxValue: null, visualVariableSizeScaleStops: null, visualVariableSizeStops: null, visualVariableSizeUnitValue: null, visualVariableRotation: null } };
|
|
16
|
+
class j {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.instances = { fill: c(h.fill, d, { zoomRange: !0 }), marker: c(h.marker, d, { zoomRange: !0 }), line: c(h.line, d, { zoomRange: !0 }), text: c(h.text, d, { zoomRange: !0, referenceSymbol: !1, clipAngle: !1 }), complexFill: c(h.complexFill, d, { zoomRange: !0 }), texturedLine: c(h.texturedLine, d, { zoomRange: !0 }) }, this._instancesById = Object.values(this.instances).reduce((e, t) => (e.set(t.instanceId, t), e), /* @__PURE__ */ new Map());
|
|
19
|
+
}
|
|
20
|
+
getInstance(e) {
|
|
21
|
+
return this._instancesById.get(e);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const G = Math.PI / 180, Y = 4;
|
|
25
|
+
class Q extends T {
|
|
26
|
+
constructor(e) {
|
|
27
|
+
super(), this._program = null, this._vao = null, this._vertexBuffer = null, this._indexBuffer = null, this._dvsMat3 = p(), this._localOrigin = { x: 0, y: 0 }, this._getBounds = e;
|
|
28
|
+
}
|
|
29
|
+
destroy() {
|
|
30
|
+
this._vao && (this._vao.dispose(), this._vao = null, this._vertexBuffer = null, this._indexBuffer = null), this._program = O(this._program);
|
|
31
|
+
}
|
|
32
|
+
doRender(e) {
|
|
33
|
+
const { context: t } = e, s = this._getBounds();
|
|
34
|
+
if (s.length < 1)
|
|
35
|
+
return;
|
|
36
|
+
this._createShaderProgram(t), this._updateMatricesAndLocalOrigin(e), this._updateBufferData(t, s), t.setBlendingEnabled(!0), t.setDepthTestEnabled(!1), t.setStencilWriteMask(0), t.setStencilTestEnabled(!1), t.setBlendFunction(x.ONE, x.ONE_MINUS_SRC_ALPHA), t.setColorMask(!0, !0, !0, !0);
|
|
37
|
+
const r = this._program;
|
|
38
|
+
t.bindVAO(this._vao), t.useProgram(r), r.setUniformMatrix3fv("u_dvsMat3", this._dvsMat3), t.gl.lineWidth(1), t.drawElements(W.LINES, 8 * s.length, M.UNSIGNED_INT, 0), t.bindVAO();
|
|
39
|
+
}
|
|
40
|
+
_createTransforms() {
|
|
41
|
+
return { displayViewScreenMat3: p() };
|
|
42
|
+
}
|
|
43
|
+
_createShaderProgram(e) {
|
|
44
|
+
if (this._program)
|
|
45
|
+
return;
|
|
46
|
+
const t = `precision highp float;
|
|
47
|
+
uniform mat3 u_dvsMat3;
|
|
48
|
+
|
|
49
|
+
attribute vec2 a_position;
|
|
50
|
+
|
|
51
|
+
void main() {
|
|
52
|
+
mediump vec3 pos = u_dvsMat3 * vec3(a_position, 1.0);
|
|
53
|
+
gl_Position = vec4(pos.xy, 0.0, 1.0);
|
|
54
|
+
}`, s = `precision mediump float;
|
|
55
|
+
void main() {
|
|
56
|
+
gl_FragColor = vec4(0.75, 0.0, 0.0, 0.75);
|
|
57
|
+
}`;
|
|
58
|
+
this._program = e.programCache.acquire(t, s, y().attributes);
|
|
59
|
+
}
|
|
60
|
+
_updateMatricesAndLocalOrigin(e) {
|
|
61
|
+
const { state: t } = e, { displayMat3: s, size: r, resolution: _, pixelRatio: a, rotation: o, viewpoint: i } = t, l = G * o, { x: n, y: R } = i.targetGeometry, B = D(n, t.spatialReference);
|
|
62
|
+
this._localOrigin.x = B, this._localOrigin.y = R;
|
|
63
|
+
const g = a * r[0], m = a * r[1], S = _ * g, A = _ * m, u = I(this._dvsMat3);
|
|
64
|
+
V(u, u, s), $(u, u, w(g / 2, m / 2)), z(u, u, k(r[0] / S, -m / A, 1)), C(u, u, -l);
|
|
65
|
+
}
|
|
66
|
+
_updateBufferData(e, t) {
|
|
67
|
+
const { x: s, y: r } = this._localOrigin, _ = 2 * Y * t.length, a = new Float32Array(_), o = new Uint32Array(8 * t.length);
|
|
68
|
+
let i = 0, l = 0;
|
|
69
|
+
for (const n of t)
|
|
70
|
+
n && (a[2 * i] = n[0] - s, a[2 * i + 1] = n[1] - r, a[2 * i + 2] = n[0] - s, a[2 * i + 3] = n[3] - r, a[2 * i + 4] = n[2] - s, a[2 * i + 5] = n[3] - r, a[2 * i + 6] = n[2] - s, a[2 * i + 7] = n[1] - r, o[l] = i + 0, o[l + 1] = i + 3, o[l + 2] = i + 3, o[l + 3] = i + 2, o[l + 4] = i + 2, o[l + 5] = i + 1, o[l + 6] = i + 1, o[l + 7] = i + 0, i += 4, l += 8);
|
|
71
|
+
if (this._vertexBuffer ? this._vertexBuffer.setData(a.buffer) : this._vertexBuffer = v.createVertex(e, b.DYNAMIC_DRAW, a.buffer), this._indexBuffer ? this._indexBuffer.setData(o) : this._indexBuffer = v.createIndex(e, b.DYNAMIC_DRAW, o), !this._vao) {
|
|
72
|
+
const n = y();
|
|
73
|
+
this._vao = new H(e, n.attributes, n.bufferLayouts, { geometry: this._vertexBuffer }, this._indexBuffer);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const y = () => U("bounds", { geometry: [{ location: 0, name: "a_position", count: 2, type: M.FLOAT }] });
|
|
78
|
+
class ae extends N {
|
|
79
|
+
constructor(e) {
|
|
80
|
+
super(e), this._instanceStore = new j(), this.checkHighlight = () => !0;
|
|
81
|
+
}
|
|
82
|
+
destroy() {
|
|
83
|
+
super.destroy(), this._boundsRenderer = E(this._boundsRenderer);
|
|
84
|
+
}
|
|
85
|
+
get instanceStore() {
|
|
86
|
+
return this._instanceStore;
|
|
87
|
+
}
|
|
88
|
+
enableRenderingBounds(e) {
|
|
89
|
+
this._boundsRenderer = new Q(e), this.requestRender();
|
|
90
|
+
}
|
|
91
|
+
get hasHighlight() {
|
|
92
|
+
return this.checkHighlight();
|
|
93
|
+
}
|
|
94
|
+
onTileData(e, t) {
|
|
95
|
+
e.onMessage(t), this.contains(e) || this.addChild(e), this.requestRender();
|
|
96
|
+
}
|
|
97
|
+
_renderChildren(e, t) {
|
|
98
|
+
e.selection = t;
|
|
99
|
+
for (const s of this.children) {
|
|
100
|
+
if (!s.visible)
|
|
101
|
+
continue;
|
|
102
|
+
const r = s.getDisplayList(e.drawPhase, this._instanceStore, F.STRICT_ORDER);
|
|
103
|
+
r == null || r.render(e);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export {
|
|
108
|
+
ae as i
|
|
109
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { e as r, y as s, c as p } from "./index-01c737ed.js";
|
|
2
|
+
function a(t) {
|
|
3
|
+
return "portalItem" in t;
|
|
4
|
+
}
|
|
5
|
+
const y = (t) => {
|
|
6
|
+
let i = class extends t {
|
|
7
|
+
get apiKey() {
|
|
8
|
+
var e;
|
|
9
|
+
return this._isOverridden("apiKey") ? this._get("apiKey") : a(this) ? (e = this.portalItem) == null ? void 0 : e.apiKey : null;
|
|
10
|
+
}
|
|
11
|
+
set apiKey(e) {
|
|
12
|
+
e != null ? this._override("apiKey", e) : (this._clearOverride("apiKey"), this.clear("apiKey", "user"));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
return r([s({ type: String })], i.prototype, "apiKey", null), i = r([p("esri.layers.mixins.APIKeyMixin")], i), i;
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
y as i
|
|
19
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { bi as a, bj as r, bk as l, B as o, e as s, y as i, c as p, S as c } from "./index-01c737ed.js";
|
|
2
|
+
let y = 0, t = class extends a(r(l(c))) {
|
|
3
|
+
constructor(n) {
|
|
4
|
+
super(n), this.id = `${Date.now().toString(16)}-analysis-${y++}`, this.title = null;
|
|
5
|
+
}
|
|
6
|
+
get parent() {
|
|
7
|
+
return this._get("parent");
|
|
8
|
+
}
|
|
9
|
+
set parent(n) {
|
|
10
|
+
const e = this.parent;
|
|
11
|
+
if (e != null)
|
|
12
|
+
switch (e.type) {
|
|
13
|
+
case "line-of-sight":
|
|
14
|
+
case "dimension":
|
|
15
|
+
e.releaseAnalysis(this);
|
|
16
|
+
break;
|
|
17
|
+
case "2d":
|
|
18
|
+
case "3d":
|
|
19
|
+
e.analyses.includes(this) && e.analyses.remove(this);
|
|
20
|
+
}
|
|
21
|
+
this._set("parent", n);
|
|
22
|
+
}
|
|
23
|
+
get isEditable() {
|
|
24
|
+
return this.requiredPropertiesForEditing.every(o);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
s([i({ type: String, constructOnly: !0, clonable: !1 })], t.prototype, "id", void 0), s([i({ type: String })], t.prototype, "title", void 0), s([i({ clonable: !1, value: null })], t.prototype, "parent", null), s([i({ readOnly: !0 })], t.prototype, "isEditable", null), t = s([p("esri.analysis.Analysis")], t);
|
|
28
|
+
const u = t;
|
|
29
|
+
export {
|
|
30
|
+
u as c
|
|
31
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { e as t, y as a, c5 as m, bR as x, cZ as y, c as S } from "./index-01c737ed.js";
|
|
2
|
+
import { e as I } from "./TileInfoTilemapCache-d78858c0.js";
|
|
3
|
+
import { T as O } from "./TilemapCache-79699d61.js";
|
|
4
|
+
const T = (h) => {
|
|
5
|
+
let l = class extends h {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments), this.copyright = null, this.minScale = 0, this.maxScale = 0, this.spatialReference = null, this.tileInfo = null, this.tilemapCache = null;
|
|
8
|
+
}
|
|
9
|
+
destroy() {
|
|
10
|
+
var i, e;
|
|
11
|
+
(e = (i = this.tilemapCache) == null ? void 0 : i.destroy) == null || e.call(i);
|
|
12
|
+
}
|
|
13
|
+
readMinScale(i, e) {
|
|
14
|
+
return e.minLOD != null && e.maxLOD != null ? i : 0;
|
|
15
|
+
}
|
|
16
|
+
readMaxScale(i, e) {
|
|
17
|
+
return e.minLOD != null && e.maxLOD != null ? i : 0;
|
|
18
|
+
}
|
|
19
|
+
get supportsBlankTile() {
|
|
20
|
+
return this.version >= 10.2;
|
|
21
|
+
}
|
|
22
|
+
readTilemapCache(i, e, f) {
|
|
23
|
+
var u;
|
|
24
|
+
const v = (u = e.capabilities) == null ? void 0 : u.includes("Tilemap");
|
|
25
|
+
let { minLOD: n, maxLOD: o, minScale: c, maxScale: p } = e;
|
|
26
|
+
if (n == null && o == null && c !== 0 && p !== 0) {
|
|
27
|
+
const r = (s) => Math.round(1e4 * s) / 1e4;
|
|
28
|
+
c = r(c || e.tileInfo.lods[0].scale), p = r(p || e.tileInfo.lods[e.tileInfo.lods.length - 1].scale);
|
|
29
|
+
for (const s of e.tileInfo.lods) {
|
|
30
|
+
const d = r(s.scale);
|
|
31
|
+
n = d >= c ? s.level : n, o = d >= p ? s.level : o;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (v)
|
|
35
|
+
return new O({ layer: this, minLOD: n, maxLOD: o });
|
|
36
|
+
if (e.tileInfo) {
|
|
37
|
+
const r = new y();
|
|
38
|
+
return r.read(e.tileInfo, f), new I(r, n, o);
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return t([a({ json: { read: { source: "copyrightText" } } })], l.prototype, "copyright", void 0), t([a()], l.prototype, "minScale", void 0), t([m("service", "minScale")], l.prototype, "readMinScale", null), t([a()], l.prototype, "maxScale", void 0), t([m("service", "maxScale")], l.prototype, "readMaxScale", null), t([a({ type: x })], l.prototype, "spatialReference", void 0), t([a({ readOnly: !0 })], l.prototype, "supportsBlankTile", null), t([a({ type: y })], l.prototype, "tileInfo", void 0), t([a()], l.prototype, "tilemapCache", void 0), t([m("service", "tilemapCache", ["capabilities", "tileInfo"])], l.prototype, "readTilemapCache", null), t([a()], l.prototype, "version", void 0), l = t([S("esri.layers.mixins.ArcGISCachedService")], l), l;
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
T as p
|
|
47
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { e as i, y as s, c as r, bL as n, c8 as u, s as o } from "./index-01c737ed.js";
|
|
2
|
+
const h = (l) => {
|
|
3
|
+
let e = class extends l {
|
|
4
|
+
get title() {
|
|
5
|
+
if (this._get("title") && this.originOf("title") !== "defaults")
|
|
6
|
+
return this._get("title");
|
|
7
|
+
if (this.url) {
|
|
8
|
+
const t = n(this.url);
|
|
9
|
+
if (t != null && t.title)
|
|
10
|
+
return t.title;
|
|
11
|
+
}
|
|
12
|
+
return this._get("title") || "";
|
|
13
|
+
}
|
|
14
|
+
set title(t) {
|
|
15
|
+
this._set("title", t);
|
|
16
|
+
}
|
|
17
|
+
set url(t) {
|
|
18
|
+
this._set("url", u(t, o.getLogger(this)));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return i([s()], e.prototype, "title", null), i([s({ type: String })], e.prototype, "url", null), e = i([r("esri.layers.mixins.ArcGISService")], e), e;
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
h as l
|
|
25
|
+
};
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import { e as a, y as o, c as U, fO as R, fP as J, o as $, P as q, x as A, cB as K, a$ as W, z as M, ab as Z, aa as F, ac as ee, fQ as te, a9 as z, b1 as I, bT as v, bR as L, b0 as se, j as V, fR as ie, fS as re, s as ae, fT as S, fH as ne, cC as oe, fU as T, fV as le, fW as j, eQ as ue, fX as B, fY as me } from "./index-01c737ed.js";
|
|
2
|
+
import { R as G, G as ce, q as he } from "./colorUtils-54f4b662.js";
|
|
3
|
+
import { g as H, $ as pe, j as de, d as ve, D as ye } from "./unitFormatUtils-555e2d94.js";
|
|
4
|
+
import { geodesicDensify as D, planarLength as E, simplify as b, geodesicLength as fe, geodesicArea as we, planarArea as ge } from "./geometryEngine-d3bb2fd6.js";
|
|
5
|
+
import { l as _e, x as be, w as C, R as g, v as O, a as k, b as $e, S as Le, p as Me, u as Ae } from "./MeasurementWidgetContent-e4888ef2.js";
|
|
6
|
+
import { h as N } from "./GraphicsLayer-e0686779.js";
|
|
7
|
+
import { l as Se, S as Te } from "./GraphicManipulator-f3b7dc9b.js";
|
|
8
|
+
import "vue";
|
|
9
|
+
import "./vec42-36edeb73.js";
|
|
10
|
+
import "./vec4f64-043e974c.js";
|
|
11
|
+
import "./ByteSizeUnit-90df2840.js";
|
|
12
|
+
import "./quantityUtils-5cd4cf90.js";
|
|
13
|
+
import "./geometryEngineBase-527e8b63.js";
|
|
14
|
+
import "./hydrated-0e1c7565.js";
|
|
15
|
+
import "./plane-3398eec1.js";
|
|
16
|
+
import "./mat3f64-03233387.js";
|
|
17
|
+
import "./mat4f64-cce69db4.js";
|
|
18
|
+
import "./quatf64-bec1af25.js";
|
|
19
|
+
import "./sphere-908cd9aa.js";
|
|
20
|
+
import "./ObjectStack-10d91171.js";
|
|
21
|
+
import "./projectVectorToVector-5163db7a.js";
|
|
22
|
+
import "./projectPointToVector-7dc831a9.js";
|
|
23
|
+
import "./elevationInfoUtils-5456a079.js";
|
|
24
|
+
import "./unitConversionUtils-f0ebaf75.js";
|
|
25
|
+
import "./lengthUtils-695e744c.js";
|
|
26
|
+
import "./meshVertexSpaceUtils-6efe3dcc.js";
|
|
27
|
+
import "./MeshLocalVertexSpace-00151564.js";
|
|
28
|
+
import "./vec3-f79c600d.js";
|
|
29
|
+
import "./Scheduler-eacc84bb.js";
|
|
30
|
+
import "./RenderState-b244097f.js";
|
|
31
|
+
import "./BlendLayer-a792edf6.js";
|
|
32
|
+
import "./jsonUtils-913fa1bd.js";
|
|
33
|
+
import "./parser-0701286c.js";
|
|
34
|
+
import "./ScaleRangeLayer-7ddf00b4.js";
|
|
35
|
+
import "./ElevationInfo-fad03d5e.js";
|
|
36
|
+
import "./enums-fa8f05ab.js";
|
|
37
|
+
import "./SnappingOperation-9622a00d.js";
|
|
38
|
+
import "./diffUtils-e71a6152.js";
|
|
39
|
+
import "./quat-a508aed3.js";
|
|
40
|
+
import "./defaults-2bfa4a36.js";
|
|
41
|
+
import "./defaultsJSON-ba17aa15.js";
|
|
42
|
+
import "./drapedUtils-b42fcbc6.js";
|
|
43
|
+
const y = 1e5;
|
|
44
|
+
let f = class extends _e {
|
|
45
|
+
constructor(e) {
|
|
46
|
+
super(e), this._drawActive = !1, this._measurementLayer = new N({ internal: !0, listMode: "hide", visible: !1 }), this._manipulatorLayer = new N({ internal: !0, listMode: "hide", visible: !1 }), this._vertices = [], this.geodesicDistanceThreshold = null, this.measurement = null, this.measurementLabel = null;
|
|
47
|
+
}
|
|
48
|
+
initialize() {
|
|
49
|
+
R("esri/core/t9n/Units").then((t) => {
|
|
50
|
+
this.messages = t;
|
|
51
|
+
}), this.addHandles(J(async () => {
|
|
52
|
+
this.messages = await R("esri/core/t9n/Units");
|
|
53
|
+
}));
|
|
54
|
+
const e = this.view;
|
|
55
|
+
this._draw = new Se({ view: e }), e.map.addMany([this._measurementLayer, this._manipulatorLayer]), e.focus(), this.addHandles([$(() => [this.unit, this.geodesicDistanceThreshold, this.messages], () => {
|
|
56
|
+
this._updateGraphics();
|
|
57
|
+
}, q), $(() => [this.view.effectiveTheme.accentColor, this.view.effectiveTheme.textColor], () => {
|
|
58
|
+
if (!this._vertices.length)
|
|
59
|
+
return;
|
|
60
|
+
const t = this._vertices.map(({ coord: i }) => i);
|
|
61
|
+
for (const { handle: i } of this._vertices)
|
|
62
|
+
i.remove();
|
|
63
|
+
this._vertices = [], this._measurementLayer.removeAll(), this._manipulatorLayer.removeAll(), this.manipulators.removeAll(), this._updateSketch(t);
|
|
64
|
+
})]);
|
|
65
|
+
}
|
|
66
|
+
destroy() {
|
|
67
|
+
const { map: e } = this.view;
|
|
68
|
+
this._draw.view = null, this._draw = A(this._draw), e.removeMany([this._measurementLayer, this._manipulatorLayer]), this._measurementLayer.removeAll(), this._manipulatorLayer.removeAll(), this._set("measurement", null), this._set("measurementLabel", null), this._measurementLayer = A(this._measurementLayer), this._manipulatorLayer = A(this._manipulatorLayer), this._resetVertices();
|
|
69
|
+
}
|
|
70
|
+
get cursor() {
|
|
71
|
+
return this._drawActive ? "crosshair" : null;
|
|
72
|
+
}
|
|
73
|
+
set editable(e) {
|
|
74
|
+
this._set("editable", e), e || this._draw.reset();
|
|
75
|
+
}
|
|
76
|
+
onActivate() {
|
|
77
|
+
this._drawActive || this._vertices.length !== 0 || this._startSketch();
|
|
78
|
+
}
|
|
79
|
+
onShow() {
|
|
80
|
+
this._measurementLayer.visible = !0, this._manipulatorLayer.visible = !0;
|
|
81
|
+
}
|
|
82
|
+
onHide() {
|
|
83
|
+
this._measurementLayer.visible = !1, this._manipulatorLayer.visible = !1;
|
|
84
|
+
}
|
|
85
|
+
reset() {
|
|
86
|
+
this.manipulators.removeAll(), this._resetVertices(), this._measurementLayer.removeAll(), this._manipulatorLayer.removeAll(), this._set("measurement", null), this._set("measurementLabel", null), this._draw.reset(), this._drawActive = !1;
|
|
87
|
+
}
|
|
88
|
+
_resetVertices() {
|
|
89
|
+
for (const { handle: e } of this._vertices)
|
|
90
|
+
e.remove();
|
|
91
|
+
this._vertices = [];
|
|
92
|
+
}
|
|
93
|
+
_startSketch() {
|
|
94
|
+
this._drawActive = !0;
|
|
95
|
+
const e = this._draw.create("polyline", { mode: "click" });
|
|
96
|
+
e.on(["vertex-add", "vertex-update", "vertex-remove", "cursor-update", "undo", "redo"], (t) => this._updateSketch(t.vertices)), e.on("draw-complete", () => this._stopSketch());
|
|
97
|
+
}
|
|
98
|
+
_stopSketch() {
|
|
99
|
+
if (this._vertices.length < 3)
|
|
100
|
+
return this.reset(), void this._startSketch();
|
|
101
|
+
this.manipulators.forEach(({ manipulator: e }) => {
|
|
102
|
+
e.interactive = !0;
|
|
103
|
+
}), this._drawActive = !1, this.finishToolCreation();
|
|
104
|
+
}
|
|
105
|
+
_updateSketch(e) {
|
|
106
|
+
const t = this.view.spatialReference;
|
|
107
|
+
if (t && (!X(t) || K())) {
|
|
108
|
+
for (; this._vertices.length > e.length; ) {
|
|
109
|
+
const { handle: i, manipulator: r } = this._vertices.pop();
|
|
110
|
+
i.remove(), this.manipulators.remove(r);
|
|
111
|
+
}
|
|
112
|
+
for (let i = this._vertices.length; i < e.length; i++) {
|
|
113
|
+
const [r, u] = e[i], l = De(new W({ x: r, y: u, spatialReference: t }), this.view, this._manipulatorLayer);
|
|
114
|
+
this.manipulators.add(l);
|
|
115
|
+
const m = be(l, (n, s) => {
|
|
116
|
+
s.next($e(this.view)).next(Le(n.graphic)).next(() => {
|
|
117
|
+
const c = n.graphic.geometry;
|
|
118
|
+
this._vertices[i].coord = [c.x, c.y], this._updateGraphics();
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
this._vertices.push({ manipulator: l, coord: [r, u], handle: m });
|
|
122
|
+
}
|
|
123
|
+
if (this._vertices.length) {
|
|
124
|
+
const i = this._vertices.length - 1, r = this._vertices[i], [u, l] = e[i];
|
|
125
|
+
r.coord[0] === u && r.coord[1] === l || (r.coord = [u, l], r.manipulator.graphic.geometry = new W({ x: u, y: l, spatialReference: t }));
|
|
126
|
+
const m = this._drawActive ? this._vertices[i].manipulator : null;
|
|
127
|
+
this.manipulators.forEach(({ manipulator: n }) => {
|
|
128
|
+
n.interactive = m == null || n !== m;
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
this._updateGraphics();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
_updateGraphics() {
|
|
135
|
+
if (this._vertices.length < 2)
|
|
136
|
+
return void this._measurementLayer.removeAll();
|
|
137
|
+
const e = Oe(this._vertices.map(({ coord: d }) => d), this.view.spatialReference, this.geodesicDistanceThreshold);
|
|
138
|
+
if (!e)
|
|
139
|
+
return;
|
|
140
|
+
const { measurement: t, fillGeometry: i, outlineGeometry: r } = e;
|
|
141
|
+
this._set("measurement", t);
|
|
142
|
+
const u = t ? xe(this.messages, t, this.unit) : null;
|
|
143
|
+
if (this._set("measurementLabel", u), !i && !r)
|
|
144
|
+
return;
|
|
145
|
+
let l, m, n;
|
|
146
|
+
const { graphics: s } = this._measurementLayer, c = s.length === 3, { effectiveTheme: h } = this.view;
|
|
147
|
+
c ? (l = s.at(0), m = s.at(1), n = s.at(2)) : (l = new M({ symbol: new Z({ color: G(h.accentColor, 0.3), outline: null }) }), m = new M({ symbol: new F({ color: h.accentColor, width: 2 }) }), n = new M({ symbol: new ee({ color: h.textColor, font: new te({ size: 14, family: "sans-serif" }), haloColor: G(ce(h.textColor, he.Low), 0.5), haloSize: 2 }) }), s.removeAll(), s.addMany([l, m, n])), l.geometry = i, m.geometry = r, n.geometry = i == null ? void 0 : i.centroid, n.symbol.text = (u == null ? void 0 : u.area) ?? "";
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
function De(e, t, i) {
|
|
151
|
+
const u = { style: "circle", color: G(t.effectiveTheme.accentColor, 0.5), outline: { type: "simple-line", width: 0 } }, l = new z({ ...u, size: 8 }), m = new z({ ...u, size: 1.5 * 8 }), n = new M({ geometry: e, symbol: l });
|
|
152
|
+
return new Te({ view: t, layer: i, graphic: n, focusedSymbol: m });
|
|
153
|
+
}
|
|
154
|
+
function Oe(e, t, i) {
|
|
155
|
+
if (e.length === 2) {
|
|
156
|
+
const c = new I({ paths: e, spatialReference: t });
|
|
157
|
+
let h;
|
|
158
|
+
if (t != null && t.isGeographic)
|
|
159
|
+
if (C(t))
|
|
160
|
+
h = g(c, y);
|
|
161
|
+
else {
|
|
162
|
+
const d = v(c, L.WGS84), _ = g(d, y);
|
|
163
|
+
h = v(_, t);
|
|
164
|
+
}
|
|
165
|
+
else if (t != null && t.isWebMercator)
|
|
166
|
+
h = D(c, y, "meters");
|
|
167
|
+
else if (E(c, "meters") >= P(i)) {
|
|
168
|
+
const d = v(c, L.WGS84), _ = g(d, y);
|
|
169
|
+
h = v(_, t);
|
|
170
|
+
} else
|
|
171
|
+
h = c;
|
|
172
|
+
return { measurement: null, fillGeometry: null, outlineGeometry: h };
|
|
173
|
+
}
|
|
174
|
+
e.push(e[0]);
|
|
175
|
+
const r = new I({ paths: [e], spatialReference: t }), u = new se({ rings: [e], spatialReference: t });
|
|
176
|
+
let l, m, n = null, s = null;
|
|
177
|
+
if (t != null && t.isGeographic)
|
|
178
|
+
if (C(t)) {
|
|
179
|
+
if (n = g(r, y), s = g(u, y), s = b(s), !s)
|
|
180
|
+
return null;
|
|
181
|
+
l = O([r], "meters")[0], m = k([s], "square-meters")[0];
|
|
182
|
+
} else {
|
|
183
|
+
const c = L.WGS84, h = v(r, c), d = v(u, c);
|
|
184
|
+
if (n = g(h, y), s = g(d, y), s = b(s), !s)
|
|
185
|
+
return null;
|
|
186
|
+
l = O([h], "meters")[0], m = k([s], "square-meters")[0], n = v(n, t), s = v(s, t);
|
|
187
|
+
}
|
|
188
|
+
else if (t != null && t.isWebMercator) {
|
|
189
|
+
if (n = D(r, y, "meters"), s = D(u, y, "meters"), s = b(s), !s)
|
|
190
|
+
return null;
|
|
191
|
+
l = fe(r, "meters"), m = we(s, "square-meters");
|
|
192
|
+
} else {
|
|
193
|
+
const c = E(r, "meters");
|
|
194
|
+
if (c >= P(i)) {
|
|
195
|
+
const h = L.WGS84, d = v(r, h), _ = v(u, h);
|
|
196
|
+
if (n = g(d, y), s = g(_, y), s = b(s), !s)
|
|
197
|
+
return null;
|
|
198
|
+
l = O([d], "meters")[0], m = k([s], "square-meters")[0], n = v(n, t), s = v(s, t);
|
|
199
|
+
} else {
|
|
200
|
+
if (n = r, s = b(u), !s)
|
|
201
|
+
return null;
|
|
202
|
+
l = c, m = ge(s, "square-meters");
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return { measurement: { geometry: s, area: m, perimeter: l }, fillGeometry: s, outlineGeometry: n };
|
|
206
|
+
}
|
|
207
|
+
function ke(e) {
|
|
208
|
+
return e != null;
|
|
209
|
+
}
|
|
210
|
+
function X(e) {
|
|
211
|
+
if (!e)
|
|
212
|
+
return !1;
|
|
213
|
+
const { isGeographic: t, isWebMercator: i, isWGS84: r } = e;
|
|
214
|
+
return t && !r && !C(e) || !t && !i;
|
|
215
|
+
}
|
|
216
|
+
function xe(e, t, i) {
|
|
217
|
+
if (!t || !e)
|
|
218
|
+
return null;
|
|
219
|
+
const r = { area: null, perimeter: null }, { area: u, perimeter: l } = t;
|
|
220
|
+
switch (i) {
|
|
221
|
+
case "metric":
|
|
222
|
+
r.area = de(e, u, "square-meters");
|
|
223
|
+
break;
|
|
224
|
+
case "imperial":
|
|
225
|
+
r.area = pe(e, u, "square-meters");
|
|
226
|
+
break;
|
|
227
|
+
default: {
|
|
228
|
+
const n = V(u, "square-meters", i);
|
|
229
|
+
r.area = H(e, n, i);
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const m = qe(i);
|
|
234
|
+
if (m)
|
|
235
|
+
switch (m) {
|
|
236
|
+
case "metric":
|
|
237
|
+
r.perimeter = ye(e, l, "meters");
|
|
238
|
+
break;
|
|
239
|
+
case "imperial":
|
|
240
|
+
r.perimeter = ve(e, l, "meters");
|
|
241
|
+
break;
|
|
242
|
+
default: {
|
|
243
|
+
const n = V(l, "meters", m);
|
|
244
|
+
r.perimeter = H(e, n, m);
|
|
245
|
+
break;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
else
|
|
249
|
+
r.perimeter = "";
|
|
250
|
+
return r;
|
|
251
|
+
}
|
|
252
|
+
function qe(e) {
|
|
253
|
+
switch (e) {
|
|
254
|
+
case "metric":
|
|
255
|
+
case "ares":
|
|
256
|
+
case "hectares":
|
|
257
|
+
return "metric";
|
|
258
|
+
case "imperial":
|
|
259
|
+
case "acres":
|
|
260
|
+
return "imperial";
|
|
261
|
+
case "square-inches":
|
|
262
|
+
return "inches";
|
|
263
|
+
case "square-feet":
|
|
264
|
+
return "feet";
|
|
265
|
+
case "square-yards":
|
|
266
|
+
return "yards";
|
|
267
|
+
case "square-miles":
|
|
268
|
+
return "miles";
|
|
269
|
+
case "square-us-feet":
|
|
270
|
+
return "us-feet";
|
|
271
|
+
case "square-meters":
|
|
272
|
+
return "meters";
|
|
273
|
+
case "square-kilometers":
|
|
274
|
+
return "kilometers";
|
|
275
|
+
case "square-millimeters":
|
|
276
|
+
return "millimeters";
|
|
277
|
+
case "square-centimeters":
|
|
278
|
+
return "centimeters";
|
|
279
|
+
case "square-decimeters":
|
|
280
|
+
return "decimeters";
|
|
281
|
+
default:
|
|
282
|
+
return null;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
function P(e) {
|
|
286
|
+
return e ?? 1 / 0;
|
|
287
|
+
}
|
|
288
|
+
a([o()], f.prototype, "_drawActive", void 0), a([o({ readOnly: !0 })], f.prototype, "cursor", null), a([o({ value: !0 })], f.prototype, "editable", null), a([o({ type: Number })], f.prototype, "geodesicDistanceThreshold", void 0), a([o({ readOnly: !0 })], f.prototype, "measurement", void 0), a([o({ readOnly: !0 })], f.prototype, "measurementLabel", void 0), a([o()], f.prototype, "messages", void 0), a([o()], f.prototype, "unit", void 0), a([o({ constructOnly: !0 })], f.prototype, "view", void 0), f = a([U("esri.widgets.AreaMeasurement2D.AreaMeasurement2DTool")], f);
|
|
289
|
+
let w = class extends Me {
|
|
290
|
+
constructor(e) {
|
|
291
|
+
super(e), this.supportedViewType = "2d", this.unsupportedErrorMessage = "AreaMeasurement2DViewModel is only supported in 2D views.";
|
|
292
|
+
}
|
|
293
|
+
initialize() {
|
|
294
|
+
this.addHandles([$(() => {
|
|
295
|
+
var e;
|
|
296
|
+
return (e = this.view) == null ? void 0 : e.spatialReference;
|
|
297
|
+
}, () => this.clear()), $(() => this.unit, (e) => {
|
|
298
|
+
this.tool != null && (this.tool.unit = e);
|
|
299
|
+
}, q), $(() => this.geodesicDistanceThreshold, (e) => {
|
|
300
|
+
this.tool != null && (this.tool.geodesicDistanceThreshold = e);
|
|
301
|
+
}, q)]);
|
|
302
|
+
}
|
|
303
|
+
get geodesicDistanceThreshold() {
|
|
304
|
+
return this._get("geodesicDistanceThreshold");
|
|
305
|
+
}
|
|
306
|
+
set geodesicDistanceThreshold(e) {
|
|
307
|
+
re(ae.getLogger(this), "geodesicDistanceThreshold", { version: "4.29", warnOnce: !0 }), this._set("geodesicDistanceThreshold", e);
|
|
308
|
+
}
|
|
309
|
+
get measurement() {
|
|
310
|
+
return this.tool != null ? this.tool.measurement : null;
|
|
311
|
+
}
|
|
312
|
+
get measurementLabel() {
|
|
313
|
+
return this.tool != null ? this.tool.measurementLabel : null;
|
|
314
|
+
}
|
|
315
|
+
get state() {
|
|
316
|
+
var e;
|
|
317
|
+
return this.disabled || this.view == null || !ke(this.view.spatialReference) ? "disabled" : (e = this.tool) != null && e.measurement ? this.tool.active ? "measuring" : "measured" : "ready";
|
|
318
|
+
}
|
|
319
|
+
get unit() {
|
|
320
|
+
return this._validateUnit(this.defaultUnit);
|
|
321
|
+
}
|
|
322
|
+
set unit(e) {
|
|
323
|
+
this._overrideIfSome("unit", this._validateUnit(e));
|
|
324
|
+
}
|
|
325
|
+
get unitOptions() {
|
|
326
|
+
return S;
|
|
327
|
+
}
|
|
328
|
+
set unitOptions(e) {
|
|
329
|
+
this._overrideIfSome("unitOptions", this._validateUnits(e));
|
|
330
|
+
}
|
|
331
|
+
async start() {
|
|
332
|
+
const e = this.view;
|
|
333
|
+
e != null && (await ne(() => e.ready), X(e.spatialReference) && await oe()), this.createTool({ interactive: !0 });
|
|
334
|
+
}
|
|
335
|
+
clear() {
|
|
336
|
+
this.removeTool();
|
|
337
|
+
}
|
|
338
|
+
constructTool() {
|
|
339
|
+
return new f({ view: this.view, visible: this.visible, geodesicDistanceThreshold: this.geodesicDistanceThreshold, unit: this.unit });
|
|
340
|
+
}
|
|
341
|
+
_validateUnit(e) {
|
|
342
|
+
const { unitOptions: t, defaultUnit: i } = this;
|
|
343
|
+
return e != null && t.includes(e) ? e : t.includes(i) ? i : t.length > 0 ? t[0] : i;
|
|
344
|
+
}
|
|
345
|
+
_validateUnits(e) {
|
|
346
|
+
if (e == null)
|
|
347
|
+
return [];
|
|
348
|
+
const t = e.filter((i) => S.includes(i));
|
|
349
|
+
return t.length === 0 ? S.slice() : t;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
a([o(ie)], w.prototype, "defaultUnit", void 0), a([o()], w.prototype, "geodesicDistanceThreshold", null), a([o({ readOnly: !0 })], w.prototype, "measurement", null), a([o({ readOnly: !0 })], w.prototype, "measurementLabel", null), a([o({ readOnly: !0 })], w.prototype, "state", null), a([o({ type: String })], w.prototype, "unit", null), a([o({ type: [String] })], w.prototype, "unitOptions", null), w = a([U("esri.widgets.AreaMeasurement2D.AreaMeasurement2DViewModel")], w);
|
|
353
|
+
const Y = w, Q = "esri-area-measurement-2d", x = { base: Q, newMeasurementButton: `${Q}__clear-button`, widgetIcon: me.measureArea };
|
|
354
|
+
let p = class extends le {
|
|
355
|
+
constructor(e, t) {
|
|
356
|
+
super(e, t), this.iconClass = x.widgetIcon, this.icon = null, this.messages = null, this.messagesUnits = null, this.messagesCommon = null, this.viewModel = new Y();
|
|
357
|
+
}
|
|
358
|
+
get active() {
|
|
359
|
+
return this.viewModel.active;
|
|
360
|
+
}
|
|
361
|
+
get label() {
|
|
362
|
+
var e;
|
|
363
|
+
return ((e = this.messages) == null ? void 0 : e.widgetLabel) ?? "";
|
|
364
|
+
}
|
|
365
|
+
set label(e) {
|
|
366
|
+
this._overrideIfSome("label", e);
|
|
367
|
+
}
|
|
368
|
+
get unit() {
|
|
369
|
+
return this.viewModel.unit;
|
|
370
|
+
}
|
|
371
|
+
set unit(e) {
|
|
372
|
+
this.viewModel.unit = e;
|
|
373
|
+
}
|
|
374
|
+
get unitOptions() {
|
|
375
|
+
return this.viewModel.unitOptions;
|
|
376
|
+
}
|
|
377
|
+
set unitOptions(e) {
|
|
378
|
+
this.viewModel.unitOptions = e;
|
|
379
|
+
}
|
|
380
|
+
get view() {
|
|
381
|
+
return this.viewModel.view;
|
|
382
|
+
}
|
|
383
|
+
set view(e) {
|
|
384
|
+
this.viewModel.view = e;
|
|
385
|
+
}
|
|
386
|
+
get visible() {
|
|
387
|
+
return this.viewModel.visible;
|
|
388
|
+
}
|
|
389
|
+
set visible(e) {
|
|
390
|
+
this.viewModel.visible = e;
|
|
391
|
+
}
|
|
392
|
+
render() {
|
|
393
|
+
const { messages: e, messagesCommon: t, messagesUnits: i, unit: r, unitOptions: u, viewModel: l, visible: m } = this, { active: n, measurementLabel: s, state: c, supported: h } = l;
|
|
394
|
+
return j("div", { "aria-label": e.widgetLabel, class: this.classes(x.base, B.widget, B.panel), key: this, role: "presentation" }, m ? j(Ae, { active: n, measurementItems: [{ key: "area", title: i == null ? void 0 : i.measures.area, value: s == null ? void 0 : s.area }, { key: "perimeter", title: e.perimeter, value: s == null ? void 0 : s.perimeter }], messages: { ...e, notApplicable: t.notApplicable }, newMeasurementButtonClass: x.newMeasurementButton, state: c, supported: h, unit: r, unitOptions: u, onNewMeasurementClick: () => {
|
|
395
|
+
ue(l.start());
|
|
396
|
+
}, onUnitChange: (d) => {
|
|
397
|
+
this.unit = d;
|
|
398
|
+
} }) : null);
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
a([o({ readOnly: !0 })], p.prototype, "active", null), a([o()], p.prototype, "iconClass", void 0), a([o()], p.prototype, "icon", void 0), a([o()], p.prototype, "label", null), a([o(), T("esri/widgets/AreaMeasurement2D/t9n/AreaMeasurement2D")], p.prototype, "messages", void 0), a([o(), T("esri/core/t9n/Units")], p.prototype, "messagesUnits", void 0), a([o(), T("esri/t9n/common")], p.prototype, "messagesCommon", void 0), a([o()], p.prototype, "uiStrings", void 0), a([o()], p.prototype, "unit", null), a([o()], p.prototype, "unitOptions", null), a([o()], p.prototype, "view", null), a([o({ type: Y })], p.prototype, "viewModel", void 0), a([o({ type: Boolean })], p.prototype, "visible", null), p = a([U("esri.widgets.AreaMeasurement2D")], p);
|
|
402
|
+
const bt = p;
|
|
403
|
+
export {
|
|
404
|
+
bt as default
|
|
405
|
+
};
|