@agrotools1/at-components 0.2.4 → 0.2.5
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-d82e96aa.js +109 -0
- package/dist/APIKeyMixin-2ee64e59.js +19 -0
- package/dist/Analysis-449f84c5.js +31 -0
- package/dist/ArcGISCachedService-a838709f.js +47 -0
- package/dist/ArcGISService-7e5e8710.js +25 -0
- package/dist/AreaMeasurement2D-971dad40.js +405 -0
- package/dist/AreaMeasurement3D-48bc0242.js +488 -0
- package/dist/AttachmentInfo-ad88d558.js +34 -0
- package/dist/AttachmentQuery-c86dac15.js +18 -0
- package/dist/AttributeStore-3851ad0b.js +1707 -0
- package/dist/BaseDynamicLayerView2D-02baa49a.js +63 -0
- package/dist/BingMapsLayer-67c70069.js +112 -0
- package/dist/Bitmap-d455f554.js +128 -0
- package/dist/BitmapContainer-c78799ad.js +23 -0
- package/dist/BlendLayer-246e4998.js +13 -0
- package/dist/BoundsStore-b18f4e4e.js +63 -0
- package/dist/BufferObject-22d914df.js +100 -0
- package/dist/BufferView-5272765e.js +683 -0
- package/dist/BuildingSceneLayer-f08d5129.js +535 -0
- package/dist/Button-335b8469.js +36 -0
- package/dist/CSVLayer-40c0bd0e.js +208 -0
- package/dist/CSVSourceWorker-b8df4580.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-3abd5c54.js +66 -0
- package/dist/CatalogFootprintLayerView2D-22c795e4.js +76 -0
- package/dist/CatalogLayer-74d18466.js +262 -0
- package/dist/CatalogLayerView2D-ffee45d8.js +52 -0
- package/dist/ClassBreaksDefinition-5a577d31.js +18 -0
- package/dist/ColorMaterial.glsl-bc384e65.js +64 -0
- package/dist/ColorSet-570396b9.js +45 -0
- package/dist/ColorStop-5009138a.js +29 -0
- package/dist/Container-f931e682.js +521 -0
- package/dist/CustomParametersMixin-9e8adcf6.js +12 -0
- package/dist/DefaultMaterial.glsl-092e1a97.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-43e030be.js +653 -0
- package/dist/DefaultTheme-59d78c72.js +130 -0
- package/dist/DeleteForwardEditsParameters-8b5196fa.js +18 -0
- package/dist/DimensionLayer-6fc6ab12.js +129 -0
- package/dist/DirectLineMeasurement3D-6823c93d.js +449 -0
- package/dist/DistanceMeasurement2D-a6cf62b6.js +303 -0
- package/dist/DoubleArray-bb8ff0fb.js +25 -0
- package/dist/Dropdown/Filter/test.mocks.d.ts +1 -1
- package/dist/Dropdown/List/test.mocks.d.ts +1 -1
- package/dist/EdgeProcessingWorker-c5511714.js +63 -0
- package/dist/EditBusLayer-513ca203.js +107 -0
- package/dist/ElevationInfo-234040e3.js +56 -0
- package/dist/ElevationLayer-599949a0.js +129 -0
- package/dist/ElevationQuery-aaa7fb05.js +598 -0
- package/dist/ElevationSamplerWorker-07be3a80.js +62 -0
- package/dist/ExportImageParameters-b28e28df.js +66 -0
- package/dist/ExportStrategy-d6fd38ed.js +93 -0
- package/dist/ExportWMSImageParameters-be4cc5df.js +33 -0
- package/dist/External-55b35c8d.js +110 -0
- package/dist/FeatureCollectionSnappingSource-fce9fa91.js +130 -0
- package/dist/FeatureCommandQueue-4e426066.js +1244 -0
- package/dist/FeatureEffect-0a86f0ba.js +39 -0
- package/dist/FeatureEffectLayer-13705792.js +13 -0
- package/dist/FeatureFilter-1635b86a.js +27 -0
- package/dist/FeatureLayer-d2f8e7c0.js +693 -0
- package/dist/FeatureLayerBase-40e10dd6.js +148 -0
- package/dist/FeatureLayerSource-ebd2bea5.js +444 -0
- package/dist/FeatureLayerView2D-23240236.js +1967 -0
- package/dist/FeaturePipelineWorker-8d07a1dd.js +3633 -0
- package/dist/FeatureReductionLayer-55609d4e.js +225 -0
- package/dist/FeatureReductionSelection-2f351ee7.js +22 -0
- package/dist/FeatureServiceSnappingSource-513edf0d.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-d6deecd4.js +747 -0
- package/dist/FeatureSet-ffd45984.js +188 -0
- package/dist/FeatureStore-9fd6c0f8.js +131 -0
- package/dist/FeatureTemplate-e4854302.js +12 -0
- package/dist/FeatureType-b4ef51c2.js +25 -0
- package/dist/FieldsIndex-91fb234a.js +109 -0
- package/dist/FormTemplate-67f4d44e.js +350 -0
- package/dist/GeoJSONLayer-e3495648.js +236 -0
- package/dist/GeoJSONSourceWorker-b0ee6d8e.js +247 -0
- package/dist/GeoRSSLayer-afac8cf1.js +73 -0
- package/dist/GeoRSSLayerView2D-b03f6564.js +140 -0
- package/dist/GeometryUtils-058e30f4.js +403 -0
- package/dist/GraphicContainer-d0803f7a.js +26 -0
- package/dist/GraphicManipulator-797ae6c6.js +1499 -0
- package/dist/GraphicsLayer-a30f80da.js +38 -0
- package/dist/GraphicsLayerView2D-0c92e0f2.js +114 -0
- package/dist/GraphicsSnappingSource-e928ab8c.js +273 -0
- package/dist/GraphicsView2D-963eb026.js +620 -0
- package/dist/GroupLayer-7f131ab8.js +147 -0
- package/dist/GroupLayerView2D-5fcc27fc.js +98 -0
- package/dist/HUDMaterial.glsl-3b450c01.js +65 -0
- package/dist/HighlightCounter-fda615cd.js +41 -0
- package/dist/HighlightGraphicContainer-8cfde780.js +18 -0
- package/dist/I3SBinaryReader-a4021fad.js +310 -0
- package/dist/I3SLayerDefinitions-f004f8b6.js +55 -0
- package/dist/I3SUtil-040e44af.js +59 -0
- package/dist/IdentityManager-012e74ca.js +899 -0
- package/dist/ImageHistogramParameters-f7c4c804.js +905 -0
- package/dist/ImageryLayer-c3f0176f.js +1799 -0
- package/dist/ImageryLayerView2D-5a14beb5.js +352 -0
- package/dist/ImageryTileLayer-a93e8471.js +2157 -0
- package/dist/ImageryTileLayerView2D-3e9fea94.js +1110 -0
- package/dist/Indices-f0dca4b5.js +67 -0
- package/dist/IntegratedMesh3DTilesLayer-7e70c76e.js +112 -0
- package/dist/IntegratedMeshLayer-2283f8d9.js +141 -0
- package/dist/InteractiveAnalysisViewModel-f0a0c72a.js +7397 -0
- package/dist/InterleavedLayout-9490090b.js +163 -0
- package/dist/KMLLayer-06b7037f.js +162 -0
- package/dist/KMLLayerView2D-59f96ec9.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-6c8c4aae.js +43 -0
- package/dist/LRUCache-fc532e9b.js +32 -0
- package/dist/LabelClass-eae6271b.js +135 -0
- package/dist/LabelMetric-ee740bd1.js +400 -0
- package/dist/LaserlinePath.glsl-f58264f5.js +64 -0
- package/dist/Laserlines.glsl-14ab8523.js +65 -0
- package/dist/LayerFloorInfo-6ac1a57d.js +15 -0
- package/dist/LayerView-e41297e4.js +206 -0
- package/dist/LercWorker-22ed35b2.js +157 -0
- package/dist/LineOfSightLayer-6bf67bb7.js +147 -0
- package/dist/LinkChartLayer-e9a861f0.js +1027 -0
- package/dist/Lyr3DWorker-29f7a041.js +82 -0
- package/dist/MagnifierPrograms-1584f9b5.js +806 -0
- package/dist/MapImageLayer-b89cf158.js +169 -0
- package/dist/MapImageLayerView2D-e3f4a4cc.js +146 -0
- package/dist/MapNotesLayer-966f3446.js +283 -0
- package/dist/MapNotesLayerView2D-4aedef2a.js +161 -0
- package/dist/MapServiceLayerViewHelper-4f262166.js +288 -0
- package/dist/MeasurementWidgetContent-82971f95.js +2642 -0
- package/dist/MediaLayer-697a7c14.js +523 -0
- package/dist/MediaLayerView2D-64897044.js +332 -0
- package/dist/MemCache-0861cc28.js +227 -0
- package/dist/MemorySourceWorker-e1c531ac.js +222 -0
- package/dist/Mesh-44c8f6ba.js +980 -0
- package/dist/MeshLocalVertexSpace-6fe3a662.js +19 -0
- package/dist/MultiOriginJSONSupport-248453ac.js +158 -0
- package/dist/Notifications/index.d.ts +1 -0
- package/dist/OGCFeatureLayer-2daa0551.js +211 -0
- package/dist/OGCFeatureLayerView2D-7cebf7e0.js +82 -0
- package/dist/ObjectStack-424092a9.js +21 -0
- package/dist/Octree-21d216f2.js +495 -0
- package/dist/OpenStreetMapLayer-ade6fa9d.js +30 -0
- package/dist/OperationalLayer-097ad3e0.js +44 -0
- package/dist/OrderByInfo-e9ed942d.js +16 -0
- package/dist/OrderedLayer-fef2b56e.js +26 -0
- package/dist/OrientedImageryLayer-424a6234.js +216 -0
- package/dist/OverlayCompositing.glsl-1954a291.js +65 -0
- package/dist/OverrideHelper-f8aace2c.js +242 -0
- package/dist/PBFDecoderWorker-15cd639d.js +213 -0
- package/dist/PointCloudLayer-c820d269.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-e7d37f08.js +115 -0
- package/dist/PointCloudWorker-3e28270d.js +212 -0
- package/dist/PooledRBush-e4cbf810.js +272 -0
- package/dist/Popup-2c03dbc0.js +3990 -0
- package/dist/PortalLayer-09e5a300.js +126 -0
- package/dist/Program-ed5a5aa3.js +694 -0
- package/dist/ProgramTemplate-976cfde1.js +35 -0
- package/dist/QueryEngine-8915348b.js +896 -0
- package/dist/QueryTask-f386d91d.js +119 -0
- package/dist/RasterSymbolizer-6177c6ec.js +3024 -0
- package/dist/RasterVFDisplayObject-6411b56f.js +581 -0
- package/dist/RasterWorker-f825daf0.js +78 -0
- package/dist/RawBlockCache-0d61962b.js +185 -0
- package/dist/RealisticTree.glsl-c9fd0d3c.js +42 -0
- package/dist/RefreshableLayer-0945a308.js +80 -0
- package/dist/RefreshableLayerView-4956f17c.js +16 -0
- package/dist/Relationship-9a82bd43.js +64 -0
- package/dist/RelationshipQuery-68ad49a7.js +22 -0
- package/dist/RenderingContext-49610ad9.js +889 -0
- package/dist/RibbonLine.glsl-6314f72e.js +65 -0
- package/dist/RouteLayer-ff5c8f33.js +786 -0
- package/dist/RouteLayerView2D-2cc60ad2.js +195 -0
- package/dist/SDFHelper-b08be611.js +140 -0
- package/dist/SSAO.glsl-0e92c4e5.js +43 -0
- package/dist/SSAOBlur.glsl-a2bb2587.js +42 -0
- package/dist/ScaleRangeLayer-ab226dbd.js +21 -0
- package/dist/SceneLayer-884ec175.js +542 -0
- package/dist/SceneLayerSnappingSource-aa2944b9.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-5616c206.js +112 -0
- package/dist/SceneLayerWorker-9745b8b5.js +164 -0
- package/dist/SceneService-da855dda.js +215 -0
- package/dist/Scheduler-b3c40220.js +373 -0
- package/dist/Search/test.mocks.d.ts +1 -1
- package/dist/Search/utils.d.ts +1 -1
- package/dist/ShadedColorMaterial.glsl-f953e894.js +64 -0
- package/dist/SnappingOperation-be595c42.js +48 -0
- package/dist/SourceLayerData-ec8ab72c.js +116 -0
- package/dist/SpatialFilter-7d64232d.js +1701 -0
- package/dist/Stop-c022e866.js +281 -0
- package/dist/StreamLayer-d603abd8.js +188 -0
- package/dist/StreamLayerView2D-6d6618cf.js +164 -0
- package/dist/StyleRepository-2f08de17.js +2212 -0
- package/dist/SublayersOwner-cc0e4f54.js +545 -0
- package/dist/SubtypeGroupLayer-bacf048d.js +514 -0
- package/dist/SubtypeGroupLayerView2D-b3ed2c1a.js +84 -0
- package/dist/TechniqueInstance-397b7dc2.js +233 -0
- package/dist/TemporalLayer-7844bd88.js +23 -0
- package/dist/Texture-b1727861.js +501 -0
- package/dist/TextureOnly.glsl-ffd4a7df.js +65 -0
- package/dist/Theme-12cb681b.js +3426 -0
- package/dist/Tick-25d07d27.js +723 -0
- package/dist/TileContainer-ab77d7a6.js +31 -0
- package/dist/TileInfoTilemapCache-3e97ab02.js +38 -0
- package/dist/TileLayer-03cfc8ab.js +194 -0
- package/dist/TileLayerView2D-3cfd6a21.js +187 -0
- package/dist/TilemapCache-36e3c4b7.js +189 -0
- package/dist/TimeInfo-cea2517f.js +42 -0
- package/dist/TimeOnly-5a143001.js +706 -0
- package/dist/Tooltip-2b4711cb.js +138 -0
- package/dist/TopFeaturesQuery-285284f1.js +32 -0
- package/dist/TurboLine-708823a3.js +565 -0
- package/dist/UniqueValueRenderer-3d92c0b9.js +1039 -0
- package/dist/UnknownLayer-d3dbe7c9.js +30 -0
- package/dist/UnknownTimeZone-ed4def19.js +15 -0
- package/dist/UnsupportedLayer-40bbb9f5.js +31 -0
- package/dist/UpdateTracking2D-23c8ff3f.js +8566 -0
- package/dist/Util-2ba07f64.js +57 -0
- package/dist/VectorTileLayer-ba191a02.js +544 -0
- package/dist/VectorTileLayerView2D-bd3971cd.js +2108 -0
- package/dist/Version-d45bee25.js +33 -0
- package/dist/VertexArrayObject-08a9d938.js +73 -0
- package/dist/VertexColor.glsl-cfafd4c9.js +2683 -0
- package/dist/VertexSnappingCandidate-cbae227c.js +13 -0
- package/dist/VideoLayerView2D-ec66c226.js +124 -0
- package/dist/VoxelLayer-888a65f9.js +631 -0
- package/dist/WFSLayer-786bdecd.js +221 -0
- package/dist/WFSSourceWorker-a212500b.js +157 -0
- package/dist/WGLContainer-f05c906a.js +5426 -0
- package/dist/WMSLayer-b2c46060.js +536 -0
- package/dist/WMSLayerView2D-a90672e9.js +117 -0
- package/dist/WMTSLayer-860b1a45.js +531 -0
- package/dist/WMTSLayerView2D-c492825d.js +142 -0
- package/dist/WebTileLayer-e178eb17.js +110 -0
- package/dist/WhereClause-ad3cc5ae.js +2766 -0
- package/dist/WorkerHandle-ef6ad49b.js +47 -0
- package/dist/WorkerTileHandler-c2b98dae.js +1539 -0
- package/dist/action-46ccf03a.js +198 -0
- package/dist/action-group-9785519d.js +145 -0
- package/dist/action-menu-f423306a.js +1759 -0
- package/dist/agrotools-theme.css +2 -2
- package/dist/agrotools-theme.css.map +1 -1
- package/dist/apng-66c828d8.js +392 -0
- package/dist/arcade-af30f385.js +229 -0
- package/dist/arcadeAsyncRuntime-fdce05e3.js +943 -0
- package/dist/arcadeUtils-2b5a1e68.js +8741 -0
- package/dist/arcgis-knowledge-client-core-192a1ac0.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-4fb6c777.js +1218 -0
- package/dist/arcgisLayers-f43f9183.js +152 -0
- package/dist/associatedFeatureServiceUtils-15949591.js +92 -0
- package/dist/axisAngleDegrees-de05cd64.js +49 -0
- package/dist/basis_transcoder-6f118404.js +1248 -0
- package/dist/calcite-action-bar-9722a11e.js +303 -0
- package/dist/calcite-action-f5829479.js +22 -0
- package/dist/calcite-action-group-3e77994f.js +28 -0
- package/dist/calcite-button-8979d383.js +228 -0
- package/dist/calcite-flow-b50ce308.js +128 -0
- package/dist/calcite-flow-item-57549b16.js +499 -0
- package/dist/calcite-icon-fb43725c.js +16 -0
- package/dist/calcite-input-fcc054c7.js +24 -0
- package/dist/calcite-label-10d65c11.js +79 -0
- package/dist/calcite-list-2847bddc.js +2135 -0
- package/dist/calcite-list-item-53cde043.js +576 -0
- package/dist/calcite-list-item-group-256eb990.js +71 -0
- package/dist/calcite-loader-022a5436.js +14 -0
- package/dist/calcite-modal-5b1a23d9.js +333 -0
- package/dist/calcite-notice-17009704.js +181 -0
- package/dist/calcite-option-c7d00181.js +94 -0
- package/dist/calcite-scrim-1dced2db.js +18 -0
- package/dist/calcite-select-a96a55a3.js +231 -0
- package/dist/capabilities-3f86754a.js +50 -0
- package/dist/chartCommon-af8c14ae.js +256 -0
- package/dist/chartUtilsAm5-418cf95f.js +2954 -0
- package/dist/clientSideDefaults-2aad569c.js +39 -0
- package/dist/colorRamps-0fae1fde.js +38 -0
- package/dist/colorUtils-6d5e716b.js +164 -0
- package/dist/commonProperties-d1f695a2.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-cba163ab.js +60 -0
- package/dist/conditionalSlot-14f35023.js +27 -0
- package/dist/createConnection-f3b9e606.js +299 -0
- package/dist/dataUtils-65604399.js +1421 -0
- package/dist/deduplicate-16f30199.js +89 -0
- package/dist/defaults-b7c93d2a.js +31 -0
- package/dist/deleteForwardEdits-f31f885d.js +13 -0
- package/dist/diffUtils-54c1c039.js +90 -0
- package/dist/drapedUtils-166cd4c2.js +75 -0
- package/dist/earcut-ffaa9a50.js +292 -0
- package/dist/edgeProcessing-1a2c4169.js +252 -0
- package/dist/editingSupport-ffa6f639.js +203 -0
- package/dist/editsZScale-2840378a.js +37 -0
- package/dist/elevationInfoUtils-c1caf596.js +126 -0
- package/dist/executeForIds-b9c9164b.js +14 -0
- package/dist/executeForTopCount-8a73aea7.js +17 -0
- package/dist/executeForTopExtents-a3d0b42e.js +17 -0
- package/dist/executeForTopIds-f14d5790.js +17 -0
- package/dist/executeQueryJSON-6cd89bed.js +15 -0
- package/dist/executeQueryPBF-e1d32cfc.js +152 -0
- package/dist/executeRelationshipQuery-5cadcb20.js +53 -0
- package/dist/executeTopFeaturesQuery-32dda453.js +18 -0
- package/dist/featureConversionUtils-a5f0b9b2.js +479 -0
- package/dist/featureLayerUtils-828813e8.js +250 -0
- package/dist/featureLayerUtils-9e9f97c1.js +142 -0
- package/dist/featureSetUtils-2f86a02f.js +2530 -0
- package/dist/featuresetbase-bb981400.js +707 -0
- package/dist/featuresetgeom-0185b49f.js +99 -0
- package/dist/featuresetstats-3d689b79.js +81 -0
- package/dist/featuresetstring-83733fad.js +95 -0
- package/dist/fetchService-25e9ba70.js +33 -0
- package/dist/fieldProperties-cd5649d9.js +33 -0
- package/dist/floatRGBA-005cc596.js +20 -0
- package/dist/form-41e8f739.js +138 -0
- package/dist/geohashUtils-776cae3b.js +85 -0
- package/dist/geojson-7ef69d00.js +208 -0
- package/dist/geomasync-43a66474.js +567 -0
- package/dist/geometryEngine-e18a460d.js +192 -0
- package/dist/geometryEngineAsync-ae21d4e2.js +217 -0
- package/dist/geometryEngineBase-d653892b.js +18463 -0
- package/dist/geometryEngineJSON-031f6196.js +46 -0
- package/dist/geometryEngineJSON-9aeb41cd.js +171 -0
- package/dist/geometryEngineWorker-1c2f96e6.js +11 -0
- package/dist/geometryServiceUtils-50afe031.js +28 -0
- package/dist/georeference-cf051555.js +291 -0
- package/dist/gif-3fe5f761.js +323 -0
- package/dist/gltfexport-3ec498d6.js +705 -0
- package/dist/groupLayerUtils-5b8e1f89.js +39 -0
- package/dist/heatmapUtils-b512588d.js +45 -0
- package/dist/highlightReasons-b0f772b2.js +19 -0
- package/dist/hydrated-36edecd6.js +40 -0
- package/dist/i3s-239f062a.js +809 -0
- package/dist/icon-5e93376e.js +127 -0
- package/dist/imageBitmapUtils-142daeaf.js +23 -0
- package/dist/imageUtils-27ed5e73.js +89 -0
- package/dist/imageUtils-901282e9.js +69 -0
- package/dist/imageryUtils-b1dd3a54.js +43 -0
- package/dist/index-6ebf29c1.js +43667 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -14
- package/dist/input-message-20d19cfb.js +92 -0
- package/dist/input2-8da11a51.js +575 -0
- package/dist/interactive-bcb1b82d.js +80 -0
- package/dist/jsonContext-45fce1e1.js +15 -0
- package/dist/jsonUtils-09f69988.js +86 -0
- package/dist/jsonUtils-1f447d0c.js +476 -0
- package/dist/jsonUtils-db906457.js +59 -0
- package/dist/kmlUtils-6412718d.js +112 -0
- package/dist/knowledgeGraphService-80890106.js +739 -0
- package/dist/knowledgegraph-475723f0.js +149 -0
- package/dist/labelUtils-85708580.js +61 -0
- package/dist/labelingInfo-62fc9d21.js +46 -0
- package/dist/layersCreator-a94b60fe.js +151 -0
- package/dist/layersLoader-39c74edb.js +197 -0
- package/dist/lazyLayerLoader-7922c10d.js +10 -0
- package/dist/lclayout-6ac84378.js +773 -0
- package/dist/lengthUtils-6a89d855.js +5 -0
- package/dist/lerc-wasm-b8b3cd2c.js +325 -0
- package/dist/libtess-61451fa0.js +269 -0
- package/dist/libtess-asm-fef1a4ca.js +3673 -0
- package/dist/lineSegment-f45db35c.js +76 -0
- package/dist/loadGLTFMesh-2f9cee21.js +181 -0
- package/dist/loadable-c29cb205.js +24 -0
- package/dist/loader-d9b4787f.js +79 -0
- package/dist/lyr3DWorker-33babc2c.js +2108 -0
- package/dist/mapViewDeps-f5b886c8.js +3052 -0
- package/dist/mediaLayerUtils-5a2c2fe8.js +35 -0
- package/dist/meshFeatureSet-2312bbe6.js +126 -0
- package/dist/meshVertexSpaceUtils-c9b69510.js +58 -0
- package/dist/multidimensionalUtils-e85f5a78.js +290 -0
- package/dist/normalizeUtilsSync-555b1847.js +181 -0
- package/dist/number-72e1a662.js +128 -0
- package/dist/objectResourceUtils-abe804cf.js +1455 -0
- package/dist/observers-f3bd3593.js +30 -0
- package/dist/ogcFeatureUtils-7097c17e.js +206 -0
- package/dist/openCloseComponent-67a2c20c.js +37 -0
- package/dist/orientedBoundingBox-4ae2c366.js +447 -0
- package/dist/parser-7a76caf9.js +488 -0
- package/dist/pbf-0b9b579c.js +215 -0
- package/dist/pbfQueryUtils-baba23c7.js +422 -0
- package/dist/pe-wasm-d080c07b.js +887 -0
- package/dist/persistable-82932da9.js +89 -0
- package/dist/perspectiveUtils-1b383b17.js +42 -0
- package/dist/pieChart-eca78f7c.js +555 -0
- package/dist/plane-84e27261.js +160 -0
- package/dist/popupUtils-b72d32fb.js +22 -0
- package/dist/popupUtils-cde1d105.js +50 -0
- package/dist/portalItemUtils-28314a3f.js +57 -0
- package/dist/portalLayers-eeaa6e57.js +312 -0
- package/dist/portalUtils-457f542e.js +7 -0
- package/dist/programUtils-0c20a48e.js +59 -0
- package/dist/project-1b5431dd.js +21 -0
- package/dist/projectPointToVector-1f1d1dc7.js +14 -0
- package/dist/projectVectorToVector-b7e757a1.js +13 -0
- package/dist/quantityUtils-b64583f9.js +33 -0
- package/dist/quantizationUtils-9e478e23.js +68 -0
- package/dist/quat-5502b70d.js +104 -0
- package/dist/query-b2397453.js +89 -0
- package/dist/queryAttachments-4361fd2f.js +39 -0
- package/dist/queryEngineUtils-f24bc98c.js +21 -0
- package/dist/queryTopFeatures-e06aa562.js +50 -0
- package/dist/queryZScale-b18ec359.js +12 -0
- package/dist/rasterProjectionHelper-935c256c.js +577 -0
- package/dist/rasterUtils-efad8a20.js +122 -0
- package/dist/rasterizingUtils-80de9b14.js +46 -0
- package/dist/request-cae502b7.js +46 -0
- package/dist/requestImageUtils-caebcf1e.js +8 -0
- package/dist/resourceExtension-7d14f4fc.js +17 -0
- package/dist/resourceUtils-8d97f5bf.js +42 -0
- package/dist/resourceUtils-be991ca4.js +69 -0
- package/dist/resourceUtils-fa1a565f.js +62 -0
- package/dist/saveAPIKeyUtils-9f0454db.js +8 -0
- package/dist/saveUtils-22a6caa6.js +24 -0
- package/dist/scaleUtils-ba5596ad.js +23 -0
- package/dist/scrim-5b1b6156.js +114 -0
- package/dist/serviceCapabilitiesUtils-3a47b26b.js +64 -0
- package/dist/sourceUtils-ded5acd6.js +71 -0
- package/dist/sphere-418b76df.js +199 -0
- package/dist/statsWorker-a082453a.js +37 -0
- package/dist/streamLayerUtils-22aa35f2.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-aa4777b6.js +75 -0
- package/dist/styleUtils-e5f7ddb7.js +14 -0
- package/dist/sublayerUtils-7c5ebfea.js +37 -0
- package/dist/substitute-da3c695d.js +52 -0
- package/dist/symbolColorUtils-5d3e355f.js +8 -0
- package/dist/symbolLayerUtils-47cdd4d1.js +31 -0
- package/dist/symbologySnappingCandidates-6ebf1df0.js +221 -0
- package/dist/t9n-c80e56d9.js +349 -0
- package/dist/testSVGPremultipliedAlpha-b9ff88ef.js +94 -0
- package/dist/timeSupport-8d2432f7.js +410 -0
- package/dist/triangle-07f96fb9.js +98 -0
- package/dist/unitConversionUtils-c1bfd22b.js +17 -0
- package/dist/unitFormatUtils-e75be0c3.js +40 -0
- package/dist/uploadAssetErrors-3493bdb9.js +70 -0
- package/dist/uploadAssets-24fe5279.js +330 -0
- package/dist/utils-17d83806.js +2746 -0
- package/dist/utils-717efd4b.js +73 -0
- package/dist/utils-74e8e651.js +433 -0
- package/dist/utils-7c8f1d3f.js +232 -0
- package/dist/utils-94cbe432.js +79 -0
- package/dist/utils-a76b92ed.js +34 -0
- package/dist/utils-e73651cf.js +419 -0
- package/dist/utils-f46de72c.js +91 -0
- package/dist/utils3-eb04cacb.js +75 -0
- package/dist/vec3-61daf837.js +81 -0
- package/dist/vec42-27060a00.js +125 -0
- package/dist/versionUtils-c9c03a5d.js +161 -0
- package/dist/visualVariableUtils-bc9bfef1.js +267 -0
- package/dist/webStyleSymbolUtils-0990caa8.js +48 -0
- package/dist/webglDeps-812387f7.js +23 -0
- package/dist/wfsUtils-fdccd660.js +343 -0
- package/dist/workerHelper-d8d5f17b.js +11 -0
- package/dist/xyChart-94c1ef04.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-75e55bb8.js +0 -109
- package/dist/APIKeyMixin-688c6ac6.js +0 -19
- package/dist/Accordion/Accordion.d.ts +0 -49
- package/dist/Analysis-53f71911.js +0 -31
- package/dist/ArcGISCachedService-ea7559f0.js +0 -47
- package/dist/ArcGISService-a447176d.js +0 -25
- package/dist/AreaMeasurement2D-4d0db109.js +0 -405
- package/dist/AreaMeasurement3D-a2a10ea8.js +0 -488
- package/dist/AttachmentInfo-a2849bf0.js +0 -34
- package/dist/AttachmentQuery-e743e06f.js +0 -18
- package/dist/AttributeStore-6a3291d4.js +0 -1707
- package/dist/Avatar/Avatar.d.ts +0 -66
- package/dist/BaseDynamicLayerView2D-b3ff0eae.js +0 -63
- package/dist/BingMapsLayer-689d8e88.js +0 -112
- package/dist/Bitmap-e2b1f93c.js +0 -128
- package/dist/BitmapContainer-4dcc4a14.js +0 -23
- package/dist/BlendLayer-113fd3b8.js +0 -13
- package/dist/BoundsStore-3598604e.js +0 -63
- package/dist/BufferObject-59880a47.js +0 -100
- package/dist/BufferView-2cfe8c7d.js +0 -683
- package/dist/BuildingSceneLayer-a3e4a869.js +0 -535
- package/dist/Button/Button.d.ts +0 -82
- package/dist/Button-5e85250d.js +0 -36
- package/dist/CSVLayer-a68a64b8.js +0 -208
- package/dist/CSVSourceWorker-cf1fee99.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-a4ae390f.js +0 -66
- package/dist/CatalogFootprintLayerView2D-145014a4.js +0 -76
- package/dist/CatalogLayer-48e7048b.js +0 -262
- package/dist/CatalogLayerView2D-8b4a4d47.js +0 -52
- package/dist/Checkbox/Checkbox.d.ts +0 -87
- package/dist/ClassBreaksDefinition-e2d8b3cc.js +0 -18
- package/dist/ColorMaterial.glsl-a7c70d21.js +0 -64
- package/dist/ColorSet-f4b34654.js +0 -45
- package/dist/ColorStop-1111f0fd.js +0 -29
- package/dist/Container-4a2d8bcd.js +0 -521
- package/dist/CustomParametersMixin-601866cc.js +0 -12
- package/dist/DataTable/Column/Column.d.ts +0 -36
- package/dist/DataTable/Counters/Counters.d.ts +0 -41
- package/dist/DataTable/DataTable.d.ts +0 -113
- package/dist/DefaultMaterial.glsl-9243ba6c.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-bf0d97c7.js +0 -653
- package/dist/DefaultTheme-e96ad45b.js +0 -130
- package/dist/DeleteForwardEditsParameters-bd5164e3.js +0 -18
- package/dist/DimensionLayer-d51dcf5e.js +0 -129
- package/dist/DirectLineMeasurement3D-7b426a46.js +0 -449
- package/dist/DistanceMeasurement2D-1f05b105.js +0 -303
- package/dist/DoubleArray-4f276822.js +0 -25
- package/dist/Dropdown/Dropdown.core.d.ts +0 -31
- package/dist/Dropdown/List/Dropdown.List.d.ts +0 -84
- package/dist/EdgeProcessingWorker-317b2f9a.js +0 -63
- package/dist/EditBusLayer-55763028.js +0 -107
- package/dist/ElevationInfo-5be88917.js +0 -56
- package/dist/ElevationLayer-754634d4.js +0 -129
- package/dist/ElevationQuery-1e84df59.js +0 -598
- package/dist/ElevationSamplerWorker-1c01b3d8.js +0 -62
- package/dist/ExportImageParameters-e00a1031.js +0 -66
- package/dist/ExportStrategy-ba992e25.js +0 -93
- package/dist/ExportWMSImageParameters-395804ac.js +0 -33
- package/dist/External-77e767f4.js +0 -110
- package/dist/FeatureCollectionSnappingSource-d1435805.js +0 -130
- package/dist/FeatureCommandQueue-4db7f162.js +0 -1244
- package/dist/FeatureEffect-5b570804.js +0 -39
- package/dist/FeatureEffectLayer-171a9749.js +0 -13
- package/dist/FeatureFilter-db89ec09.js +0 -27
- package/dist/FeatureLayer-881827c7.js +0 -693
- package/dist/FeatureLayerBase-b410d8eb.js +0 -148
- package/dist/FeatureLayerSource-e5eba81e.js +0 -444
- package/dist/FeatureLayerView2D-107b4ed6.js +0 -1967
- package/dist/FeaturePipelineWorker-2b42d98d.js +0 -3633
- package/dist/FeatureReductionLayer-1f3f6a98.js +0 -225
- package/dist/FeatureReductionSelection-b0c4bcaf.js +0 -22
- package/dist/FeatureServiceSnappingSource-fde9a8da.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-d4113c50.js +0 -747
- package/dist/FeatureSet-595ae550.js +0 -188
- package/dist/FeatureStore-87fbe804.js +0 -131
- package/dist/FeatureTemplate-c810cba6.js +0 -12
- package/dist/FeatureType-22de76b9.js +0 -25
- package/dist/FieldsIndex-390b005f.js +0 -109
- package/dist/FormTemplate-728de82d.js +0 -350
- package/dist/GeoJSONLayer-fbf5ee27.js +0 -236
- package/dist/GeoJSONSourceWorker-30cd4133.js +0 -247
- package/dist/GeoRSSLayer-2addf639.js +0 -73
- package/dist/GeoRSSLayerView2D-29c15edb.js +0 -140
- package/dist/GeometryUtils-80d3036a.js +0 -403
- package/dist/GraphicContainer-2b112072.js +0 -26
- package/dist/GraphicManipulator-84ac0573.js +0 -1499
- package/dist/GraphicsLayer-ee9f874e.js +0 -38
- package/dist/GraphicsLayerView2D-c5eda7d2.js +0 -114
- package/dist/GraphicsSnappingSource-3dd1e9b3.js +0 -273
- package/dist/GraphicsView2D-40686b59.js +0 -620
- package/dist/GroupLayer-fd168a3e.js +0 -147
- package/dist/GroupLayerView2D-f4078b54.js +0 -98
- package/dist/HUDMaterial.glsl-bea5cb7c.js +0 -65
- package/dist/HighlightCounter-b3b4b206.js +0 -41
- package/dist/HighlightGraphicContainer-c00c331b.js +0 -18
- package/dist/I3SBinaryReader-d3a26893.js +0 -310
- package/dist/I3SLayerDefinitions-2bea64c8.js +0 -55
- package/dist/I3SUtil-ab1a91f5.js +0 -59
- package/dist/IdentityManager-8e14d109.js +0 -899
- package/dist/ImageHistogramParameters-711f313f.js +0 -905
- package/dist/ImageryLayer-fbaf4d8c.js +0 -1799
- package/dist/ImageryLayerView2D-199eb1fd.js +0 -352
- package/dist/ImageryTileLayer-48671dc9.js +0 -2157
- package/dist/ImageryTileLayerView2D-8ac1ee64.js +0 -1110
- package/dist/Indices-2f9cf62d.js +0 -67
- package/dist/Input/Input.core.d.ts +0 -4709
- package/dist/IntegratedMesh3DTilesLayer-89d862a2.js +0 -112
- package/dist/IntegratedMeshLayer-53f792e4.js +0 -141
- package/dist/InteractiveAnalysisViewModel-d7dd665d.js +0 -7397
- package/dist/InterleavedLayout-ff67e161.js +0 -163
- package/dist/KMLLayer-7a4cfa2a.js +0 -162
- package/dist/KMLLayerView2D-d0874e8d.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-70d956b2.js +0 -43
- package/dist/LRUCache-5bebd9a8.js +0 -32
- package/dist/LabelClass-63459c37.js +0 -135
- package/dist/LabelMetric-09a9cd38.js +0 -400
- package/dist/LaserlinePath.glsl-731dbba1.js +0 -64
- package/dist/Laserlines.glsl-26d42447.js +0 -65
- package/dist/LayerFloorInfo-5c67a822.js +0 -15
- package/dist/LayerView-405cecd2.js +0 -206
- package/dist/Legend/Legend.d.ts +0 -73
- package/dist/LercWorker-a7892aa0.js +0 -157
- package/dist/LineOfSightLayer-abad68f7.js +0 -147
- package/dist/LinkChartLayer-c36d2a81.js +0 -1027
- package/dist/Lyr3DWorker-8f4c6c50.js +0 -82
- package/dist/MagnifierPrograms-ddc85113.js +0 -806
- package/dist/Map/Map.d.ts +0 -26
- package/dist/MapImageLayer-04f4cdcb.js +0 -169
- package/dist/MapImageLayerView2D-712dd60f.js +0 -146
- package/dist/MapNotesLayer-83fcba8e.js +0 -283
- package/dist/MapNotesLayerView2D-f0ad0a82.js +0 -161
- package/dist/MapServiceLayerViewHelper-6c746a26.js +0 -288
- package/dist/MeasurementWidgetContent-fc0c1569.js +0 -2642
- package/dist/MediaLayer-05162eaf.js +0 -523
- package/dist/MediaLayerView2D-474c563b.js +0 -332
- package/dist/MemCache-8f96824a.js +0 -227
- package/dist/MemorySourceWorker-08562524.js +0 -222
- package/dist/Mesh-3208420e.js +0 -980
- package/dist/MeshLocalVertexSpace-59268d9e.js +0 -19
- package/dist/Modal/Modal.d.ts +0 -106
- package/dist/MultiOriginJSONSupport-365740bb.js +0 -158
- package/dist/OGCFeatureLayer-7201d1ee.js +0 -211
- package/dist/OGCFeatureLayerView2D-d242f130.js +0 -82
- package/dist/ObjectStack-bad354ab.js +0 -21
- package/dist/Octree-cbaefa65.js +0 -495
- package/dist/OpenStreetMapLayer-b3c8020b.js +0 -30
- package/dist/OperationalLayer-30f48d16.js +0 -44
- package/dist/OrderByInfo-9bd0a8fe.js +0 -16
- package/dist/OrderedLayer-2962d196.js +0 -26
- package/dist/OrientedImageryLayer-5d599e15.js +0 -216
- package/dist/OverlayCompositing.glsl-334c68d5.js +0 -65
- package/dist/OverrideHelper-7981ecc2.js +0 -242
- package/dist/PBFDecoderWorker-48f7e620.js +0 -213
- package/dist/Paginator/Paginator.d.ts +0 -43
- package/dist/PointCloudLayer-5b804571.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-9ef1db42.js +0 -115
- package/dist/PointCloudWorker-9e88daea.js +0 -212
- package/dist/PooledRBush-afceba5f.js +0 -272
- package/dist/Popup-89e3fd56.js +0 -3990
- package/dist/PortalLayer-21d22eb9.js +0 -126
- package/dist/Program-09ee8c67.js +0 -694
- package/dist/ProgramTemplate-be811b23.js +0 -35
- package/dist/ProgressBar/ProgressBar.d.ts +0 -85
- package/dist/QueryEngine-810a7f24.js +0 -896
- package/dist/QueryTask-013cc810.js +0 -119
- package/dist/RadioButton/RadioButton.d.ts +0 -87
- package/dist/RasterSymbolizer-ae063ee7.js +0 -3024
- package/dist/RasterVFDisplayObject-fe2f7ea2.js +0 -581
- package/dist/RasterWorker-7efcbd4d.js +0 -78
- package/dist/RawBlockCache-5a644219.js +0 -185
- package/dist/RealisticTree.glsl-4e33ae57.js +0 -42
- package/dist/RefreshableLayer-e64dd0ee.js +0 -80
- package/dist/RefreshableLayerView-61f7dd9a.js +0 -16
- package/dist/Relationship-adcdce15.js +0 -64
- package/dist/RelationshipQuery-0c20b8ed.js +0 -22
- package/dist/RenderingContext-29b578ca.js +0 -889
- package/dist/RibbonLine.glsl-038f5cac.js +0 -65
- package/dist/RouteLayer-479e0ccc.js +0 -786
- package/dist/RouteLayerView2D-1a646f54.js +0 -195
- package/dist/SDFHelper-9abcbcca.js +0 -140
- package/dist/SSAO.glsl-5d41f99f.js +0 -43
- package/dist/SSAOBlur.glsl-7ebf8f5c.js +0 -42
- package/dist/ScaleRangeLayer-3bbd6ead.js +0 -21
- package/dist/SceneLayer-b19fa11e.js +0 -542
- package/dist/SceneLayerSnappingSource-f53ddd8a.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-80f48214.js +0 -112
- package/dist/SceneLayerWorker-bab8aeb0.js +0 -164
- package/dist/SceneService-0c4fac79.js +0 -215
- package/dist/Scheduler-9db9a8cf.js +0 -373
- package/dist/Search/Search.d.ts +0 -99
- package/dist/Select/Item/Item.d.ts +0 -104
- package/dist/Select/Multiple/Select.multiple.d.ts +0 -90
- package/dist/Select/Select.core.d.ts +0 -78
- package/dist/Select/Single/Select.single.d.ts +0 -66
- package/dist/ShadedColorMaterial.glsl-a2dd0bb3.js +0 -64
- package/dist/SnappingOperation-25ff52da.js +0 -48
- package/dist/SourceLayerData-ec301fa4.js +0 -116
- package/dist/SpatialFilter-351a1d5e.js +0 -1701
- package/dist/Stop-595501a7.js +0 -281
- package/dist/StreamLayer-d5ebd4d3.js +0 -188
- package/dist/StreamLayerView2D-8a39daaa.js +0 -164
- package/dist/StyleRepository-dd283243.js +0 -2212
- package/dist/SublayersOwner-0be88fd0.js +0 -545
- package/dist/SubtypeGroupLayer-8386c037.js +0 -514
- package/dist/SubtypeGroupLayerView2D-97b63aa1.js +0 -84
- package/dist/Tabs/Tab/Tab.d.ts +0 -69
- package/dist/Tabs/Tabs.d.ts +0 -50
- package/dist/Tag/Tag.d.ts +0 -52
- package/dist/TechniqueInstance-87f77cd3.js +0 -233
- package/dist/TemporalLayer-7c15b8a6.js +0 -23
- package/dist/Texture-c1f5f21b.js +0 -501
- package/dist/TextureOnly.glsl-acae1d94.js +0 -65
- package/dist/Theme-72a69427.js +0 -3426
- package/dist/Tick-d7f9b999.js +0 -723
- package/dist/TileContainer-20f11bc5.js +0 -31
- package/dist/TileInfoTilemapCache-a50aaed0.js +0 -38
- package/dist/TileLayer-ce04649f.js +0 -194
- package/dist/TileLayerView2D-0f45ff75.js +0 -187
- package/dist/TilemapCache-95b53d5a.js +0 -189
- package/dist/TimeInfo-f17e0ff9.js +0 -42
- package/dist/TimeOnly-63922f1a.js +0 -706
- package/dist/Tipograph/Paragraph/Paragraph.d.ts +0 -25
- package/dist/Tipograph/Title/Title.d.ts +0 -25
- package/dist/Toggle/Toggle.d.ts +0 -45
- package/dist/Tooltip-a21a6650.js +0 -138
- package/dist/TopFeaturesQuery-9e4228e7.js +0 -32
- package/dist/TurboLine-aeb14d6e.js +0 -565
- package/dist/UniqueValueRenderer-7532473e.js +0 -1039
- package/dist/UnknownLayer-99d4832b.js +0 -30
- package/dist/UnknownTimeZone-4c0a5184.js +0 -15
- package/dist/UnsupportedLayer-f439265c.js +0 -31
- package/dist/UpdateTracking2D-a1164b3d.js +0 -8566
- package/dist/Upload/Upload.d.ts +0 -206
- package/dist/Util-26f81cc4.js +0 -57
- package/dist/VectorTileLayer-8b5289d2.js +0 -544
- package/dist/VectorTileLayerView2D-00d98337.js +0 -2108
- package/dist/Version-2556ea28.js +0 -33
- package/dist/VertexArrayObject-5595c535.js +0 -73
- package/dist/VertexColor.glsl-01eb58bb.js +0 -2683
- package/dist/VertexSnappingCandidate-c1e2992a.js +0 -13
- package/dist/VideoLayerView2D-e92c8bab.js +0 -124
- package/dist/VoxelLayer-e57c2b7b.js +0 -631
- package/dist/WFSLayer-486fff2e.js +0 -221
- package/dist/WFSSourceWorker-3d8ac573.js +0 -157
- package/dist/WGLContainer-1441483b.js +0 -5426
- package/dist/WMSLayer-07ea95cc.js +0 -536
- package/dist/WMSLayerView2D-8b67d5da.js +0 -117
- package/dist/WMTSLayer-b52fbe0c.js +0 -531
- package/dist/WMTSLayerView2D-8ca1d522.js +0 -142
- package/dist/WebTileLayer-dd24dee2.js +0 -110
- package/dist/WhereClause-2eefa48c.js +0 -2766
- package/dist/WorkerHandle-f6b5ac7b.js +0 -47
- package/dist/WorkerTileHandler-e060fab5.js +0 -1539
- package/dist/action-a2d13907.js +0 -198
- package/dist/action-group-af071314.js +0 -145
- package/dist/action-menu-c759068f.js +0 -1759
- package/dist/apng-b33ce902.js +0 -392
- package/dist/arcade-b05c8c22.js +0 -229
- package/dist/arcadeAsyncRuntime-9b4a7891.js +0 -943
- package/dist/arcadeUtils-41691d12.js +0 -8741
- package/dist/arcgis-knowledge-client-core-2217ce57.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-ab44590a.js +0 -1218
- package/dist/arcgisLayers-0ea0be85.js +0 -152
- package/dist/associatedFeatureServiceUtils-09077513.js +0 -92
- package/dist/axisAngleDegrees-1c3d7520.js +0 -49
- package/dist/basis_transcoder-292f1aaf.js +0 -1248
- package/dist/calcite-action-ad0d1e23.js +0 -22
- package/dist/calcite-action-bar-1b2de6d0.js +0 -303
- package/dist/calcite-action-group-aacf8ec4.js +0 -28
- package/dist/calcite-button-125cbd95.js +0 -228
- package/dist/calcite-flow-c9a6e8fa.js +0 -128
- package/dist/calcite-flow-item-eb314bb8.js +0 -499
- package/dist/calcite-icon-07f22bc6.js +0 -16
- package/dist/calcite-input-167be799.js +0 -24
- package/dist/calcite-label-7de34a6b.js +0 -79
- package/dist/calcite-list-2087f9ca.js +0 -2135
- package/dist/calcite-list-item-3419fb5f.js +0 -576
- package/dist/calcite-list-item-group-3a6545e3.js +0 -71
- package/dist/calcite-loader-16bcfb95.js +0 -14
- package/dist/calcite-modal-f608731f.js +0 -333
- package/dist/calcite-notice-88ee1edf.js +0 -181
- package/dist/calcite-option-375585a2.js +0 -94
- package/dist/calcite-scrim-751cf767.js +0 -18
- package/dist/calcite-select-62db97da.js +0 -231
- package/dist/capabilities-359df394.js +0 -50
- package/dist/chartCommon-cceb2530.js +0 -256
- package/dist/chartUtilsAm5-08a29408.js +0 -2954
- package/dist/clientSideDefaults-b5450c9b.js +0 -39
- package/dist/colorRamps-314c4b5a.js +0 -38
- package/dist/colorUtils-6e9b620c.js +0 -164
- package/dist/commonProperties-3399f319.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-0b0f32ad.js +0 -60
- package/dist/conditionalSlot-012fd5da.js +0 -27
- package/dist/createConnection-f1189f51.js +0 -299
- package/dist/dataUtils-950a0ae9.js +0 -1421
- package/dist/deduplicate-eabb5f9e.js +0 -89
- package/dist/defaults-e5c5ee75.js +0 -31
- package/dist/deleteForwardEdits-ea9258ea.js +0 -13
- package/dist/diffUtils-04a71a59.js +0 -90
- package/dist/drapedUtils-2515520d.js +0 -75
- package/dist/earcut-192842ab.js +0 -292
- package/dist/edgeProcessing-da003f69.js +0 -252
- package/dist/editingSupport-9f04ba1b.js +0 -203
- package/dist/editsZScale-97938687.js +0 -37
- package/dist/elevationInfoUtils-e1edd62e.js +0 -126
- package/dist/executeForIds-3b8a1698.js +0 -14
- package/dist/executeForTopCount-6c6cd2f2.js +0 -17
- package/dist/executeForTopExtents-86851593.js +0 -17
- package/dist/executeForTopIds-24bc9dea.js +0 -17
- package/dist/executeQueryJSON-cf7d748b.js +0 -15
- package/dist/executeQueryPBF-ad416846.js +0 -152
- package/dist/executeRelationshipQuery-9b6666bf.js +0 -53
- package/dist/executeTopFeaturesQuery-4ac72bd2.js +0 -18
- package/dist/featureConversionUtils-67a121da.js +0 -479
- package/dist/featureLayerUtils-a4002773.js +0 -142
- package/dist/featureLayerUtils-a7e985d2.js +0 -250
- package/dist/featureSetUtils-11fcb3c4.js +0 -2530
- package/dist/featuresetbase-47894167.js +0 -707
- package/dist/featuresetgeom-bff2aa07.js +0 -99
- package/dist/featuresetstats-14a3fe2b.js +0 -81
- package/dist/featuresetstring-de2b64db.js +0 -95
- package/dist/fetchService-b6d76f5e.js +0 -33
- package/dist/fieldProperties-a9fbe289.js +0 -33
- package/dist/floatRGBA-2bc6800c.js +0 -20
- package/dist/form-e210eee8.js +0 -138
- package/dist/geohashUtils-085312a3.js +0 -85
- package/dist/geojson-f0bc401a.js +0 -208
- package/dist/geomasync-3c3b5e8d.js +0 -567
- package/dist/geometryEngine-2772790a.js +0 -192
- package/dist/geometryEngineAsync-db2e5674.js +0 -217
- package/dist/geometryEngineBase-8b327072.js +0 -18463
- package/dist/geometryEngineJSON-95268e88.js +0 -171
- package/dist/geometryEngineJSON-fc48a48b.js +0 -46
- package/dist/geometryEngineWorker-2fbc65f7.js +0 -11
- package/dist/geometryServiceUtils-ed9cb722.js +0 -28
- package/dist/georeference-f6f67e9b.js +0 -291
- package/dist/gif-a4043534.js +0 -323
- package/dist/gltfexport-d028c5c9.js +0 -705
- package/dist/groupLayerUtils-22dde377.js +0 -39
- package/dist/heatmapUtils-8e578a0a.js +0 -45
- package/dist/highlightReasons-ab23926f.js +0 -19
- package/dist/hydrated-219f2b0c.js +0 -40
- package/dist/i3s-b5ed4851.js +0 -809
- package/dist/icon-8711ff33.js +0 -127
- package/dist/imageBitmapUtils-dc97b3de.js +0 -23
- package/dist/imageUtils-0a71062a.js +0 -69
- package/dist/imageUtils-a4c7c9bf.js +0 -89
- package/dist/imageryUtils-d21fd540.js +0 -43
- package/dist/index-f28919b2.js +0 -43440
- package/dist/input-message-3df877b9.js +0 -92
- package/dist/input2-32e36924.js +0 -575
- package/dist/interactive-c1e1aeaf.js +0 -80
- package/dist/jsonContext-4622e179.js +0 -15
- package/dist/jsonUtils-9f58b7bb.js +0 -476
- package/dist/jsonUtils-d9bb6102.js +0 -86
- package/dist/jsonUtils-e40213c1.js +0 -59
- package/dist/kmlUtils-5f8f6cf6.js +0 -112
- package/dist/knowledgeGraphService-a34bf3b0.js +0 -739
- package/dist/knowledgegraph-68124c78.js +0 -149
- package/dist/labelUtils-3a1386e4.js +0 -61
- package/dist/labelingInfo-69c9f8f4.js +0 -46
- package/dist/layersCreator-5e6fe7f2.js +0 -151
- package/dist/layersLoader-f96735c7.js +0 -197
- package/dist/lazyLayerLoader-142515c4.js +0 -10
- package/dist/lclayout-639ec791.js +0 -773
- package/dist/lengthUtils-8796ccf3.js +0 -5
- package/dist/lerc-wasm-acb341bd.js +0 -325
- package/dist/libtess-a9e7192e.js +0 -269
- package/dist/libtess-asm-8de2fb72.js +0 -3673
- package/dist/lineSegment-2790f546.js +0 -76
- package/dist/loadGLTFMesh-33064e6d.js +0 -181
- package/dist/loadable-4558719f.js +0 -24
- package/dist/loader-4dbc522d.js +0 -79
- package/dist/lyr3DWorker-3365d66f.js +0 -2108
- package/dist/mapViewDeps-67ec1d27.js +0 -3052
- package/dist/mediaLayerUtils-612838fb.js +0 -35
- package/dist/meshFeatureSet-07b96756.js +0 -126
- package/dist/meshVertexSpaceUtils-673c2055.js +0 -58
- package/dist/multidimensionalUtils-79cc2536.js +0 -290
- package/dist/normalizeUtilsSync-9fd98ab4.js +0 -181
- package/dist/number-110986f5.js +0 -128
- package/dist/objectResourceUtils-1b8d1c03.js +0 -1455
- package/dist/observers-507c19a0.js +0 -30
- package/dist/ogcFeatureUtils-3c65f06a.js +0 -206
- package/dist/openCloseComponent-89dc4d35.js +0 -37
- package/dist/orientedBoundingBox-46d44acf.js +0 -447
- package/dist/parser-8f715684.js +0 -488
- package/dist/pbf-4ce99129.js +0 -215
- package/dist/pbfQueryUtils-23cca540.js +0 -422
- package/dist/pe-wasm-d186391a.js +0 -887
- package/dist/persistable-09062510.js +0 -89
- package/dist/perspectiveUtils-9da629d6.js +0 -42
- package/dist/pieChart-92709a5c.js +0 -555
- package/dist/plane-2b39f8eb.js +0 -160
- package/dist/popupUtils-dc099446.js +0 -22
- package/dist/popupUtils-e53c5c04.js +0 -50
- package/dist/portalItemUtils-39079445.js +0 -57
- package/dist/portalLayers-efcd5403.js +0 -312
- package/dist/portalUtils-44b1ac04.js +0 -7
- package/dist/programUtils-c22a40e2.js +0 -59
- package/dist/project-4759dc23.js +0 -21
- package/dist/projectPointToVector-1d9098bc.js +0 -14
- package/dist/projectVectorToVector-add01592.js +0 -13
- package/dist/quantityUtils-afe6e5b7.js +0 -33
- package/dist/quantizationUtils-51d3a038.js +0 -68
- package/dist/quat-22f56b72.js +0 -104
- package/dist/query-8cf3e12b.js +0 -89
- package/dist/queryAttachments-0a63ea2f.js +0 -39
- package/dist/queryEngineUtils-a1db57f0.js +0 -21
- package/dist/queryTopFeatures-b4fb05ad.js +0 -50
- package/dist/queryZScale-112cd8e3.js +0 -12
- package/dist/rasterProjectionHelper-3ae0fcfd.js +0 -577
- package/dist/rasterUtils-6868b6b6.js +0 -122
- package/dist/rasterizingUtils-922f43e7.js +0 -46
- package/dist/request-fd620c13.js +0 -46
- package/dist/requestImageUtils-f8f50ad7.js +0 -8
- package/dist/resourceExtension-f0327971.js +0 -17
- package/dist/resourceUtils-2e33090d.js +0 -69
- package/dist/resourceUtils-db0d7e83.js +0 -42
- package/dist/resourceUtils-ff5eafc3.js +0 -62
- package/dist/saveAPIKeyUtils-32bb955d.js +0 -8
- package/dist/saveUtils-d4ad8f94.js +0 -24
- package/dist/scaleUtils-a3ce8cc6.js +0 -23
- package/dist/scrim-7ef1cdf5.js +0 -114
- package/dist/serviceCapabilitiesUtils-cafdd4bc.js +0 -64
- package/dist/sourceUtils-1a30f8aa.js +0 -71
- package/dist/sphere-84d1e36b.js +0 -199
- package/dist/statsWorker-efb7a41b.js +0 -37
- package/dist/streamLayerUtils-4c5b417e.js +0 -31
- package/dist/styleUtils-8f0e3848.js +0 -75
- package/dist/styleUtils-a61894cc.js +0 -14
- package/dist/sublayerUtils-aaa67481.js +0 -37
- package/dist/substitute-7b4a925f.js +0 -52
- package/dist/symbolColorUtils-45615b74.js +0 -8
- package/dist/symbolLayerUtils-6ee325f3.js +0 -31
- package/dist/symbologySnappingCandidates-a56c7bbb.js +0 -221
- package/dist/t9n-b5ab99e4.js +0 -349
- package/dist/testSVGPremultipliedAlpha-a89a8569.js +0 -94
- package/dist/timeSupport-76d5ec0e.js +0 -410
- package/dist/triangle-95e355d3.js +0 -98
- package/dist/unitConversionUtils-b0c2c156.js +0 -17
- package/dist/unitFormatUtils-b79fea5c.js +0 -40
- package/dist/uploadAssetErrors-7ef907ce.js +0 -70
- package/dist/uploadAssets-99a2ec95.js +0 -330
- package/dist/utils-0da4a164.js +0 -419
- package/dist/utils-0e163cdb.js +0 -433
- package/dist/utils-421c60f9.js +0 -73
- package/dist/utils-6e4fc34d.js +0 -91
- package/dist/utils-9612bce6.js +0 -34
- package/dist/utils-99bb2971.js +0 -2746
- package/dist/utils-d1f92cf8.js +0 -79
- package/dist/utils-e30b7de3.js +0 -232
- package/dist/utils3-41d8e55d.js +0 -75
- package/dist/vec3-ab2339d6.js +0 -81
- package/dist/vec42-1a7bd7a6.js +0 -125
- package/dist/versionUtils-b6c13869.js +0 -161
- package/dist/visualVariableUtils-1a38c540.js +0 -267
- package/dist/webStyleSymbolUtils-6f89a405.js +0 -48
- package/dist/webglDeps-dcb6738a.js +0 -23
- package/dist/wfsUtils-d679c9b9.js +0 -343
- package/dist/workerHelper-8fb7376f.js +0 -11
- package/dist/xyChart-b3c4e27e.js +0 -3335
|
@@ -0,0 +1,1967 @@
|
|
|
1
|
+
import { e as h, y as f, c as W, z as Ie, S as Ye, aO as g, c5 as lt, bR as ot, gY as ut, n as xe, aG as ct, W as C, s as q, dF as dt, bJ as pe, dO as et, c$ as pt, dc as ht, jR as ft, b as tt, cs as ae, q as fe, ab as yt, dQ as N, bz as ne, ci as ge, iF as mt, cy as ke, o as Ee, fG as gt, H as qe, ch as Ue, hI as Le, by as ye, da as bt, jS as Be, jT as St, jU as Je, jV as vt, jW as _t, hA as oe, iW as ve, jX as wt, k as Vt, cv as It, V as xt, B as Et, g as De, b3 as Ft, P as Rt, x as Ot, fc as $t, i as _e, jY as zt } from "./index-6ebf29c1.js";
|
|
2
|
+
import { m as je } from "./diffUtils-54c1c039.js";
|
|
3
|
+
import { b as He, E as we, R as H, a as Tt, N as Qe } from "./Container-f931e682.js";
|
|
4
|
+
import { d as te } from "./FeatureFilter-1635b86a.js";
|
|
5
|
+
import { d as Fe } from "./FeatureSet-ffd45984.js";
|
|
6
|
+
import { t as Ct } from "./highlightReasons-b0f772b2.js";
|
|
7
|
+
import { m as At, u as Pt } from "./LayerView-e41297e4.js";
|
|
8
|
+
import { i as Ge, r as Mt } from "./TechniqueInstance-397b7dc2.js";
|
|
9
|
+
import { r as Ke, K as Z, o as Nt, e as kt, Z as qt } from "./UpdateTracking2D-23c8ff3f.js";
|
|
10
|
+
import { b as Ut } from "./WGLContainer-f05c906a.js";
|
|
11
|
+
import { o as Lt } from "./tileUtils-3e0c8c1d.js";
|
|
12
|
+
import { m as Bt } from "./lengthUtils-6a89d855.js";
|
|
13
|
+
import { i as M } from "./sizeVariableUtils-a1b694d8.js";
|
|
14
|
+
import { c as Jt } from "./OrderByInfo-e9ed942d.js";
|
|
15
|
+
import { c as Dt } from "./labelingInfo-62fc9d21.js";
|
|
16
|
+
import { f as jt } from "./heatmapUtils-b512588d.js";
|
|
17
|
+
import { i as G, o as ue } from "./enums-fa8f05ab.js";
|
|
18
|
+
import { e as Ht } from "./SDFHelper-b08be611.js";
|
|
19
|
+
import "./LabelMetric-ee740bd1.js";
|
|
20
|
+
import { P as ce } from "./definitions-a00a3a6c.js";
|
|
21
|
+
import { n as me, h as x, c as z, d as de, e as U, f as ie, i as Re, x as be, t as Oe, m as L, g as Qt, b as Gt } from "./FeatureCommandQueue-4e426066.js";
|
|
22
|
+
import { t as Kt } from "./HighlightCounter-fda615cd.js";
|
|
23
|
+
import { j as Wt } from "./commonProperties-d1f695a2.js";
|
|
24
|
+
import { m as Zt } from "./FeatureEffect-0a86f0ba.js";
|
|
25
|
+
import { o as We } from "./floorFilterUtils-936f7587.js";
|
|
26
|
+
import { p as Ve, n as Xt } from "./popupUtils-b72d32fb.js";
|
|
27
|
+
import { i as Yt } from "./RefreshableLayerView-4956f17c.js";
|
|
28
|
+
let he = class extends Ie {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments), this.isAggregate = !0;
|
|
31
|
+
}
|
|
32
|
+
getEffectivePopupTemplate(e = !1) {
|
|
33
|
+
var r;
|
|
34
|
+
if (this.popupTemplate)
|
|
35
|
+
return this.popupTemplate;
|
|
36
|
+
const t = (r = this.sourceLayer) == null ? void 0 : r.featureReduction;
|
|
37
|
+
return t && "popupTemplate" in t && t.popupEnabled ? t.popupTemplate : null;
|
|
38
|
+
}
|
|
39
|
+
getObjectId() {
|
|
40
|
+
return this.attributes.aggregateId;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
h([f({ type: Boolean })], he.prototype, "isAggregate", void 0), he = h([W("esri.AggregateGraphic")], he);
|
|
44
|
+
const $e = he;
|
|
45
|
+
let E = class extends Ye {
|
|
46
|
+
constructor(e) {
|
|
47
|
+
super(e), this._filter = null, this.duration = g("mapview-transitions-duration"), this._excludedEffectView = new He(e), this._includedEffectView = new He(e);
|
|
48
|
+
}
|
|
49
|
+
get excludedEffects() {
|
|
50
|
+
return this._excludedEffectView.effects;
|
|
51
|
+
}
|
|
52
|
+
set featureEffect(e) {
|
|
53
|
+
this._get("featureEffect") !== e && this._transitionTo(e);
|
|
54
|
+
}
|
|
55
|
+
get filter() {
|
|
56
|
+
var e;
|
|
57
|
+
return this._filter || ((e = this.featureEffect) == null ? void 0 : e.filter) || null;
|
|
58
|
+
}
|
|
59
|
+
get hasEffects() {
|
|
60
|
+
return this._excludedEffectView.hasEffects || this._includedEffectView.hasEffects;
|
|
61
|
+
}
|
|
62
|
+
get includedEffects() {
|
|
63
|
+
return this._includedEffectView.effects;
|
|
64
|
+
}
|
|
65
|
+
set scale(e) {
|
|
66
|
+
this._set("scale", e), this._excludedEffectView.scale = e, this._includedEffectView.scale = e;
|
|
67
|
+
}
|
|
68
|
+
get transitioning() {
|
|
69
|
+
return this._excludedEffectView.transitioning || this._includedEffectView.transitioning;
|
|
70
|
+
}
|
|
71
|
+
transitionStep(e, t) {
|
|
72
|
+
this._set("scale", t), this.transitioning ? (this._includedEffectView.transitionStep(e, t), this._excludedEffectView.transitionStep(e, t), this.transitioning || (this._filter = null)) : (this._excludedEffectView.scale = t, this._includedEffectView.scale = t);
|
|
73
|
+
}
|
|
74
|
+
endTransitions() {
|
|
75
|
+
this._includedEffectView.endTransitions(), this._excludedEffectView.endTransitions(), this._filter = null;
|
|
76
|
+
}
|
|
77
|
+
_transitionTo(e) {
|
|
78
|
+
const t = this._get("featureEffect"), r = e, s = r == null ? void 0 : r.includedEffect, a = r == null ? void 0 : r.excludedEffect, n = this._includedEffectView.canTransitionTo(s) && this._excludedEffectView.canTransitionTo(a);
|
|
79
|
+
this._includedEffectView.effect = s, this._excludedEffectView.effect = a, this._set("featureEffect", r), this._filter = (r == null ? void 0 : r.filter) || (t == null ? void 0 : t.filter) || null, n || this.endTransitions();
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
h([f()], E.prototype, "_filter", void 0), h([f()], E.prototype, "_excludedEffectView", void 0), h([f()], E.prototype, "_includedEffectView", void 0), h([f()], E.prototype, "duration", void 0), h([f()], E.prototype, "excludedEffects", null), h([f()], E.prototype, "featureEffect", null), h([f()], E.prototype, "filter", null), h([f()], E.prototype, "hasEffects", null), h([f()], E.prototype, "includedEffects", null), h([f({ value: 0 })], E.prototype, "scale", null), h([f()], E.prototype, "transitioning", null), E = h([W("esri.layers.effects.FeatureEffectView")], E);
|
|
83
|
+
const ei = E;
|
|
84
|
+
let ee = class extends Fe {
|
|
85
|
+
constructor() {
|
|
86
|
+
super(...arguments), this.features = [];
|
|
87
|
+
}
|
|
88
|
+
readFeatures(e, t) {
|
|
89
|
+
var a;
|
|
90
|
+
const r = ot.fromJSON(t.spatialReference), s = [];
|
|
91
|
+
for (let n = 0; n < e.length; n++) {
|
|
92
|
+
const o = e[n], u = $e.fromJSON(o), l = (a = o.geometry) == null ? void 0 : a.spatialReference;
|
|
93
|
+
u.geometry == null || l || (u.geometry.spatialReference = r);
|
|
94
|
+
const c = o.aggregateGeometries, d = u.aggregateGeometries;
|
|
95
|
+
if (c && d != null)
|
|
96
|
+
for (const p in d) {
|
|
97
|
+
const y = d[p], m = c[p], b = m == null ? void 0 : m.spatialReference;
|
|
98
|
+
y == null || b || (y.spatialReference = r);
|
|
99
|
+
}
|
|
100
|
+
s.push(u);
|
|
101
|
+
}
|
|
102
|
+
return s;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
h([f({ type: [$e], json: { write: !0 } })], ee.prototype, "features", void 0), h([lt("features")], ee.prototype, "readFeatures", null), ee = h([W("esri.rest.support.AggregateFeatureSet")], ee);
|
|
106
|
+
const ti = ee;
|
|
107
|
+
let ii = class {
|
|
108
|
+
constructor() {
|
|
109
|
+
this._instanceById = /* @__PURE__ */ new Map();
|
|
110
|
+
}
|
|
111
|
+
destroy() {
|
|
112
|
+
this._instanceById.clear();
|
|
113
|
+
}
|
|
114
|
+
get size() {
|
|
115
|
+
return this._instanceById.size;
|
|
116
|
+
}
|
|
117
|
+
updateStart() {
|
|
118
|
+
this._instanceByIdNext = /* @__PURE__ */ new Map();
|
|
119
|
+
}
|
|
120
|
+
updateEnd() {
|
|
121
|
+
if (!this._instanceByIdNext)
|
|
122
|
+
throw new Error("InternalError: Found updateEnd call without corresponding updateStart");
|
|
123
|
+
for (const e of this._instanceById.keys())
|
|
124
|
+
this._instanceByIdNext.has(e) || this._instanceById.delete(e);
|
|
125
|
+
for (const [e, t] of this._instanceByIdNext.entries()) {
|
|
126
|
+
const r = this._instanceById.get(e);
|
|
127
|
+
r ? r.setInput(t.getInput()) : this._instanceById.set(e, t);
|
|
128
|
+
}
|
|
129
|
+
this._instanceByIdNext = null;
|
|
130
|
+
}
|
|
131
|
+
values() {
|
|
132
|
+
return this._instanceById.values();
|
|
133
|
+
}
|
|
134
|
+
ensureInstance(e, t, r) {
|
|
135
|
+
let s = `${e.registryName}`;
|
|
136
|
+
for (const n in t) {
|
|
137
|
+
const o = t[n];
|
|
138
|
+
if (typeof o == "object" && n === "geometry")
|
|
139
|
+
for (const u in o)
|
|
140
|
+
s += `.${n}.${u}.${o[u] != null}`;
|
|
141
|
+
else
|
|
142
|
+
s += `.${n}.${t[n] != null}`;
|
|
143
|
+
}
|
|
144
|
+
if (r != null)
|
|
145
|
+
for (const n in r)
|
|
146
|
+
r[n] && (s += `-${n}`);
|
|
147
|
+
const a = ut(s);
|
|
148
|
+
if (this._instanceByIdNext) {
|
|
149
|
+
const n = new Ge(Ke(a), e, e.meshWriter.name, t, r);
|
|
150
|
+
return this._instanceByIdNext.set(a, n), n;
|
|
151
|
+
}
|
|
152
|
+
if (!this._instanceById.has(a)) {
|
|
153
|
+
const n = new Ge(Ke(a), e, e.meshWriter.name, t, r);
|
|
154
|
+
this._instanceById.set(a, n);
|
|
155
|
+
}
|
|
156
|
+
return this._instanceById.get(a);
|
|
157
|
+
}
|
|
158
|
+
getInstance(e) {
|
|
159
|
+
return this._instanceById.get(e);
|
|
160
|
+
}
|
|
161
|
+
}, ri = class {
|
|
162
|
+
constructor(e, t, r) {
|
|
163
|
+
this.getStage = e, this.version = t, this._tileInfoView = r, this._tiles = /* @__PURE__ */ new Map(), this._pendingUpdates = [], this._locked = !1;
|
|
164
|
+
}
|
|
165
|
+
destroy() {
|
|
166
|
+
}
|
|
167
|
+
tiles() {
|
|
168
|
+
return this._tiles.values();
|
|
169
|
+
}
|
|
170
|
+
size() {
|
|
171
|
+
return this._tiles.size;
|
|
172
|
+
}
|
|
173
|
+
setTiles(e) {
|
|
174
|
+
this._tiles.clear();
|
|
175
|
+
for (const t of e)
|
|
176
|
+
this._tiles.set(t.key.id, t);
|
|
177
|
+
}
|
|
178
|
+
lockUploads() {
|
|
179
|
+
this._locked = !0;
|
|
180
|
+
}
|
|
181
|
+
unlockUploads() {
|
|
182
|
+
this._locked = !1;
|
|
183
|
+
for (const e of this._pendingUpdates)
|
|
184
|
+
this.updateTile(e);
|
|
185
|
+
this._pendingUpdates = [];
|
|
186
|
+
}
|
|
187
|
+
updateTile(e) {
|
|
188
|
+
var a;
|
|
189
|
+
if (this._locked)
|
|
190
|
+
return void this._pendingUpdates.push(e);
|
|
191
|
+
if (g("esri-2d-update-debug")) {
|
|
192
|
+
const n = ((a = e.debugInfo) == null ? void 0 : a.chunkId) ?? "<EnsureEnd>";
|
|
193
|
+
console.debug(`Version[${e.version}] Tile[${e.id}] Chunk[${n}] RenderState.updateTile [${e.type}]`, e);
|
|
194
|
+
}
|
|
195
|
+
const t = this._ensureTile(e.id);
|
|
196
|
+
if (e.type === "update") {
|
|
197
|
+
const [n, ...o] = e.modify;
|
|
198
|
+
t.onMessage({ type: "update", modify: n, remove: e.remove, end: e.end, attributeEpoch: e.attributeEpoch });
|
|
199
|
+
for (const u of o) {
|
|
200
|
+
const l = this._tiles.get(u.tileId);
|
|
201
|
+
l && l.onMessage({ type: "update", modify: u, remove: e.remove, end: !1, isPixelBuffer: !0, attributeEpoch: null });
|
|
202
|
+
}
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
if (e.append == null)
|
|
206
|
+
return void t.onMessage({ type: "append", clear: e.clear, debugInfo: e.debugInfo, end: e.end, attributeEpoch: e.attributeEpoch });
|
|
207
|
+
const [r, ...s] = e.append;
|
|
208
|
+
t.onMessage({ type: "append", clear: e.clear, append: r, debugInfo: e.debugInfo, end: e.end, attributeEpoch: e.attributeEpoch });
|
|
209
|
+
for (const n of s) {
|
|
210
|
+
const o = this._tiles.get(n.tileId);
|
|
211
|
+
o && o.onMessage({ type: "update", modify: n, remove: [], sort: !1, end: !1, isPixelBuffer: !0, attributeEpoch: null });
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
removeTile(e) {
|
|
215
|
+
const t = this._tiles.get(e);
|
|
216
|
+
g("esri-2d-update-debug") && console.debug(`Tile[${e}] RenderState.removeTile`), t == null || t.destroy(), this._tiles.delete(e);
|
|
217
|
+
}
|
|
218
|
+
isTileDone(e) {
|
|
219
|
+
const t = this._tiles.get(e.id);
|
|
220
|
+
return !!t && t.isReady;
|
|
221
|
+
}
|
|
222
|
+
_ensureTile(e) {
|
|
223
|
+
if (!this._tiles.has(e)) {
|
|
224
|
+
const t = this._createTile(e);
|
|
225
|
+
this._copyPixelBufferedEntitiesInto(t), this._tiles.set(e, t);
|
|
226
|
+
}
|
|
227
|
+
return this._tiles.get(e);
|
|
228
|
+
}
|
|
229
|
+
_createTile(e) {
|
|
230
|
+
g("esri-2d-update-debug") && console.debug(`Version[${this.version}] Tile[${e}] RenderState.createTile`);
|
|
231
|
+
const t = new xe(e), r = this._tileInfoView.getTileBounds(ct(), t), s = this._tileInfoView.getTileResolution(t.level), a = new Ut(t, s, r[0], r[3], !0);
|
|
232
|
+
if (a.stage = this.getStage(), !a.stage) {
|
|
233
|
+
const n = new C("featurelayerview:webgl", "Cannot create tile with empty stage");
|
|
234
|
+
q.getLogger("esri.views.2d.layers.features.RenderState").error(n);
|
|
235
|
+
}
|
|
236
|
+
return a;
|
|
237
|
+
}
|
|
238
|
+
_copyPixelBufferedEntitiesInto(e) {
|
|
239
|
+
let t = 7;
|
|
240
|
+
for (let r = -1; r <= 1; r++)
|
|
241
|
+
for (let s = -1; s <= 1; s++) {
|
|
242
|
+
if (r === 0 && s === 0)
|
|
243
|
+
continue;
|
|
244
|
+
const a = this._tileInfoView.tileInfo.isWrappable, n = Lt(e.key, s, r, a).id, o = this._tiles.get(n);
|
|
245
|
+
if (o != null) {
|
|
246
|
+
const u = 1 << t;
|
|
247
|
+
e.copyPixelBufferedEntitesFrom(o, u, s, r);
|
|
248
|
+
}
|
|
249
|
+
t--;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}, si = class {
|
|
253
|
+
constructor(e, t) {
|
|
254
|
+
this.id = e, this.version = t, this._resolver = et(), this._done = !1;
|
|
255
|
+
}
|
|
256
|
+
get done() {
|
|
257
|
+
return this._done;
|
|
258
|
+
}
|
|
259
|
+
get promise() {
|
|
260
|
+
return this._resolver.promise;
|
|
261
|
+
}
|
|
262
|
+
end() {
|
|
263
|
+
this._resolver.resolve(), this._done = !0;
|
|
264
|
+
}
|
|
265
|
+
destroy() {
|
|
266
|
+
this._resolver.reject();
|
|
267
|
+
}
|
|
268
|
+
}, ai = class extends Mt {
|
|
269
|
+
constructor(e) {
|
|
270
|
+
super(e.view.featuresTilingScheme), this.updatingHandles = new dt(), this._hitTestsRequests = [], this._store = new ii(), this._visibleTiles = /* @__PURE__ */ new Set(), this._subscriptions = /* @__PURE__ */ new Map(), this._updateStatisticsRequests = [], this._lockStatisticUpdates = !1, this._layerView = e;
|
|
271
|
+
}
|
|
272
|
+
renderChildren(e) {
|
|
273
|
+
if (this.attributeView.update(), this._renderState) {
|
|
274
|
+
const t = Array.from(this._renderState.tiles()).filter((r) => r.needsUpload);
|
|
275
|
+
t.length && (t[Math.floor(Math.random() * t.length)].upload(), t.length >= 2 && this.requestRender());
|
|
276
|
+
for (const r of this._renderState.tiles())
|
|
277
|
+
r.tryReady(this.attributeView.currentEpoch) && (this._layerView.requestUpdate(), this.hasLabels && this._layerView.view.labelManager.requestUpdate(), this.requestRender());
|
|
278
|
+
}
|
|
279
|
+
for (const t of this.children)
|
|
280
|
+
t.setTransform(e.state);
|
|
281
|
+
switch (this.hasAnimation && e.painter.effects.integrate.draw(e, e.attributeView), super.renderChildren(e), e.drawPhase) {
|
|
282
|
+
case we.MAP:
|
|
283
|
+
return this._renderMapPhase(e);
|
|
284
|
+
case we.HIGHLIGHT:
|
|
285
|
+
return this._renderHighlightPhase(e);
|
|
286
|
+
case we.LABEL:
|
|
287
|
+
return this._renderLabelPhase(e);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
subscriptions() {
|
|
291
|
+
return this._subscriptions.values();
|
|
292
|
+
}
|
|
293
|
+
get _instanceStore() {
|
|
294
|
+
return this._store;
|
|
295
|
+
}
|
|
296
|
+
get instanceStore() {
|
|
297
|
+
return this._store;
|
|
298
|
+
}
|
|
299
|
+
get layerView() {
|
|
300
|
+
return this._layerView;
|
|
301
|
+
}
|
|
302
|
+
get hasLabels() {
|
|
303
|
+
return this._layerView.labelingCollisionInfos.length > 0;
|
|
304
|
+
}
|
|
305
|
+
get hasHighlight() {
|
|
306
|
+
return this._layerView.hasHighlight();
|
|
307
|
+
}
|
|
308
|
+
get _layer() {
|
|
309
|
+
return this._layerView.layer;
|
|
310
|
+
}
|
|
311
|
+
_getExclusivePostprocessingInstance({ drawPhase: e }) {
|
|
312
|
+
if (this._instanceStore == null)
|
|
313
|
+
return null;
|
|
314
|
+
let t = 0, r = null;
|
|
315
|
+
for (const s of this._instanceStore.values())
|
|
316
|
+
s.techniqueRef.drawPhase & e && (t++, s.techniqueRef.postProcessingEnabled && (r = s));
|
|
317
|
+
return t > 1 ? null : r;
|
|
318
|
+
}
|
|
319
|
+
_getOverrideStencilRef({ drawPhase: e }) {
|
|
320
|
+
if (this._instanceStore == null)
|
|
321
|
+
return null;
|
|
322
|
+
let t = null;
|
|
323
|
+
for (const r of this._instanceStore.values()) {
|
|
324
|
+
if (!(r.techniqueRef.drawPhase & e))
|
|
325
|
+
continue;
|
|
326
|
+
const { overrideStencilRef: s } = r.techniqueRef;
|
|
327
|
+
if (t == null)
|
|
328
|
+
t = s;
|
|
329
|
+
else if (t !== s) {
|
|
330
|
+
t = null;
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return t;
|
|
335
|
+
}
|
|
336
|
+
get children() {
|
|
337
|
+
return this._renderState ? Array.from(this._renderState.tiles()).filter((e) => this._visibleTiles.has(e.key.id)) : [];
|
|
338
|
+
}
|
|
339
|
+
async updateAttributeView(e) {
|
|
340
|
+
this.requestRender(), await this.updatingHandles.addPromise(this.attributeView.requestUpdate(e)), this.hasLabels && this._layerView.view.labelManager.requestUpdate();
|
|
341
|
+
}
|
|
342
|
+
updateSubscriptions(e) {
|
|
343
|
+
for (const { tileId: t, version: r } of e.subscribe)
|
|
344
|
+
if (this._subscriptions.has(t))
|
|
345
|
+
this._subscriptions.get(t).version = r;
|
|
346
|
+
else {
|
|
347
|
+
const s = new si(t, r);
|
|
348
|
+
this._subscriptions.set(t, s), this.updatingHandles.addPromise(s.promise);
|
|
349
|
+
}
|
|
350
|
+
for (const t of e.unsubscribe) {
|
|
351
|
+
const r = this._subscriptions.get(t);
|
|
352
|
+
r == null || r.destroy(), this._subscriptions.delete(t), this.removeTile(t);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
isDone(e) {
|
|
356
|
+
return !!this._renderState && this._renderState.isTileDone(e);
|
|
357
|
+
}
|
|
358
|
+
async updateRenderState(e) {
|
|
359
|
+
g("esri-2d-update-debug") && console.debug(`Version[${e}] FeatureContainer.updateRenderState`), this._renderStateNext = new ri(() => this._stage, e, this._tileInfoView);
|
|
360
|
+
}
|
|
361
|
+
getDisplayStatistics(e, t) {
|
|
362
|
+
const r = this._statisticsByLevel.get(e);
|
|
363
|
+
return r ? r.get(t) : null;
|
|
364
|
+
}
|
|
365
|
+
updateStatistics(e, t) {
|
|
366
|
+
if (this._lockStatisticUpdates)
|
|
367
|
+
return void this._updateStatisticsRequests.push({ level: e, statistics: t });
|
|
368
|
+
let r = this._statisticsByLevel.get(e);
|
|
369
|
+
r || (r = /* @__PURE__ */ new Map(), this._statisticsByLevel.set(e, r));
|
|
370
|
+
for (const s of t)
|
|
371
|
+
r.set(s.fieldName, { minValue: s.minValue, maxValue: s.maxValue });
|
|
372
|
+
}
|
|
373
|
+
editStart() {
|
|
374
|
+
var e;
|
|
375
|
+
(e = this._renderState) == null || e.lockUploads(), this.attributeView.lockTextureUploads(), this._lockStatisticUpdates = !0;
|
|
376
|
+
}
|
|
377
|
+
editEnd() {
|
|
378
|
+
var e;
|
|
379
|
+
(e = this._renderState) == null || e.unlockUploads(), this.attributeView.unlockTextureUploads(), this._lockStatisticUpdates = !1;
|
|
380
|
+
for (const t of this._updateStatisticsRequests)
|
|
381
|
+
this.updateStatistics(t.level, t.statistics);
|
|
382
|
+
this._updateStatisticsRequests = [], this.requestRender();
|
|
383
|
+
}
|
|
384
|
+
swapRenderState() {
|
|
385
|
+
var e;
|
|
386
|
+
if (this._renderStateNext && (g("esri-2d-update-debug") && console.debug(`Version[${this._renderStateNext.version}] FeatureContainer.update.swapRenderState`), (e = this._renderState) == null || e.destroy(), this._renderState = this._renderStateNext, this._renderStateNext = null), this._renderState)
|
|
387
|
+
for (const t of this._renderState.tiles())
|
|
388
|
+
t.upload();
|
|
389
|
+
this.requestRender();
|
|
390
|
+
}
|
|
391
|
+
setVisibleTiles(e) {
|
|
392
|
+
this._visibleTiles = e;
|
|
393
|
+
}
|
|
394
|
+
async onMessage(e, t) {
|
|
395
|
+
if (pe(t), !this._subscriptions.has(e.id))
|
|
396
|
+
return;
|
|
397
|
+
const r = this._subscriptions.get(e.id);
|
|
398
|
+
if (r.version !== e.subscriptionVesrion) {
|
|
399
|
+
if (g("esri-2d-update-debug")) {
|
|
400
|
+
const a = `${e.subscriptionVesrion} != ${r.version}`;
|
|
401
|
+
console.debug(`Version[${a}] Tile[${e.id}] FeatureContainer - Dropping message, outdated version]`, e);
|
|
402
|
+
}
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
const s = this._renderStateNext ?? this._renderState;
|
|
406
|
+
if (!s)
|
|
407
|
+
throw new Error("InternalError: No renderState defined");
|
|
408
|
+
s.version !== e.version && console.error(`InternalError: Version mismatch. [renderState: ${s.version}, message: ${e.version}]`), s.updateTile(e), e.end && this._subscriptions.get(e.id).end(), this.requestRender(), this._layerView.view.labelManager.requestUpdate(), this._layerView.requestUpdate();
|
|
409
|
+
}
|
|
410
|
+
removeTile(e) {
|
|
411
|
+
(this._renderState || this._renderStateNext) && (this._renderState && this._renderState.removeTile(e), this._renderStateNext && this._renderStateNext.removeTile(e));
|
|
412
|
+
}
|
|
413
|
+
hitTest(e) {
|
|
414
|
+
let t = this._hitTestsRequests.find(({ x: s, y: a }) => s === e.x && a === e.y);
|
|
415
|
+
const r = et();
|
|
416
|
+
return t ? t.resolvers.push(r) : (t = { x: e.x, y: e.y, resolvers: [r] }, this._hitTestsRequests.push(t)), this.requestRender(), r.promise;
|
|
417
|
+
}
|
|
418
|
+
getSortKeys(e) {
|
|
419
|
+
const t = new Set(e), r = /* @__PURE__ */ new Map();
|
|
420
|
+
for (const s of this.children)
|
|
421
|
+
if (s.getSortKeys(t).forEach((a, n) => r.set(n, a)), r.size === t.size)
|
|
422
|
+
break;
|
|
423
|
+
return r;
|
|
424
|
+
}
|
|
425
|
+
get hasAnimation() {
|
|
426
|
+
return this.hasLabels;
|
|
427
|
+
}
|
|
428
|
+
updateTransitionProperties(e, t) {
|
|
429
|
+
super.updateTransitionProperties(e, t), this._layerView.featureEffectView.transitionStep(e, t), this._layerView.featureEffectView.transitioning && this.requestRender();
|
|
430
|
+
}
|
|
431
|
+
doRender(e) {
|
|
432
|
+
const { minScale: t, maxScale: r } = this._layer.effectiveScaleRange, s = e.state.scale;
|
|
433
|
+
s <= (t || 1 / 0) && s >= r && super.doRender(e);
|
|
434
|
+
}
|
|
435
|
+
afterRender(e) {
|
|
436
|
+
super.afterRender(e), this._hitTestsRequests.length && this.requestRender();
|
|
437
|
+
}
|
|
438
|
+
setStencilReference(e) {
|
|
439
|
+
const t = this._getOverrideStencilRef(e);
|
|
440
|
+
if (t == null)
|
|
441
|
+
super.setStencilReference(e);
|
|
442
|
+
else
|
|
443
|
+
for (const r of this.children)
|
|
444
|
+
r.stencilRef = t(r);
|
|
445
|
+
}
|
|
446
|
+
_renderMapPhase(e) {
|
|
447
|
+
this._layerView.featureEffectView.hasEffects ? (this._renderOutsideEffect(e), this._renderInsideEffect(e)) : this._renderFeatures(e, H.All), this._hitTestsRequests.length > 0 && this._renderHittest(e);
|
|
448
|
+
}
|
|
449
|
+
_renderHighlightPhase(e) {
|
|
450
|
+
this.hasHighlight && Tt(e, !1, (t) => {
|
|
451
|
+
this._renderFeatures(t, H.Highlight);
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
_renderLabelPhase(e) {
|
|
455
|
+
this._renderFeatures(e, H.All);
|
|
456
|
+
}
|
|
457
|
+
_renderInsideEffect(e) {
|
|
458
|
+
const t = e.painter.effects.insideEffect;
|
|
459
|
+
t.bind(e), this._renderFeatures(e, H.InsideEffect), t.draw(e, this._layerView.featureEffectView.includedEffects), t.unbind();
|
|
460
|
+
}
|
|
461
|
+
_renderOutsideEffect(e) {
|
|
462
|
+
const t = e.painter.effects.outsideEffect;
|
|
463
|
+
t.bind(e), this._renderFeatures(e, H.OutsideEffect), t.draw(e, this._layerView.featureEffectView.excludedEffects), t.unbind();
|
|
464
|
+
}
|
|
465
|
+
_renderHittest(e) {
|
|
466
|
+
const { context: t } = e, r = e.painter.effects.hittest, s = t.getBoundFramebufferObject(), a = t.getViewport(), n = e.passOptions;
|
|
467
|
+
r.bind(e), e.passOptions = r.createOptions(e, this._hitTestsRequests), this._renderFeatures(e, H.All), r.draw(e), r.unbind(), t.bindFramebuffer(s), t.restoreViewport(a), e.passOptions = n;
|
|
468
|
+
}
|
|
469
|
+
_renderFeatures(e, t) {
|
|
470
|
+
for (const s of this.children) {
|
|
471
|
+
if (!s.visible)
|
|
472
|
+
continue;
|
|
473
|
+
const a = g("featurelayer-force-marker-text-draw-order") ? Qe.STRICT_MARKERS_AND_TEXT : Qe.BATCHING, n = s.getDisplayList(e.drawPhase, this._instanceStore, a);
|
|
474
|
+
e.selection = t, n == null || n.render(e);
|
|
475
|
+
}
|
|
476
|
+
const r = this._getExclusivePostprocessingInstance(e);
|
|
477
|
+
r != null && r.techniqueRef.postProcess(e, r);
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
async function ni(i) {
|
|
481
|
+
const e = await pt("FeaturePipelineWorker", { client: i, strategy: "dedicated" });
|
|
482
|
+
return new li(e);
|
|
483
|
+
}
|
|
484
|
+
let li = class {
|
|
485
|
+
constructor(e) {
|
|
486
|
+
this._connection = e, this.pipeline = this._connection.createInvokeProxy(), this.features = this._connection.createInvokeProxy("features"), this.aggregates = this._connection.createInvokeProxy("aggregates"), this.streamMessenger = this._connection.createInvokeProxy("streamMessenger");
|
|
487
|
+
}
|
|
488
|
+
destroy() {
|
|
489
|
+
this._connection.destroy();
|
|
490
|
+
}
|
|
491
|
+
get closed() {
|
|
492
|
+
return this._connection.closed;
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
const oi = "esri.views.2d.layers.features.FeatureSourceEventLog";
|
|
496
|
+
let T = class extends Ye {
|
|
497
|
+
constructor() {
|
|
498
|
+
super(...arguments), this.events = new ht(), this._updatingStrategy = !0, this._tileToEvent = new ft(), this._fetchStatus = { outstanding: 0, done: 0 };
|
|
499
|
+
}
|
|
500
|
+
get hasAllFeatures() {
|
|
501
|
+
var e;
|
|
502
|
+
return this._hasAllData() && (((e = this._strategyInfo) == null ? void 0 : e.willQueryAllFeatures) ?? !1);
|
|
503
|
+
}
|
|
504
|
+
get hasAllFeaturesInView() {
|
|
505
|
+
return this._hasAllData();
|
|
506
|
+
}
|
|
507
|
+
get hasFullGeometries() {
|
|
508
|
+
var e;
|
|
509
|
+
return this._hasAllData() && (((e = this._strategyInfo) == null ? void 0 : e.willQueryFullResolutionGeometry) ?? !1);
|
|
510
|
+
}
|
|
511
|
+
onEvent(e) {
|
|
512
|
+
switch (e.type) {
|
|
513
|
+
case "subscribe":
|
|
514
|
+
case "unsubscribe":
|
|
515
|
+
case "loaded":
|
|
516
|
+
case "error":
|
|
517
|
+
this._handleTileEvent(e);
|
|
518
|
+
break;
|
|
519
|
+
case "updateStrategyStart":
|
|
520
|
+
this._updatingStrategy = !0, this._fetchStatus = { done: 0, outstanding: 0 }, this._strategyInfo = e.about;
|
|
521
|
+
break;
|
|
522
|
+
case "updateStrategyEnd":
|
|
523
|
+
this._updatingStrategy = !1;
|
|
524
|
+
break;
|
|
525
|
+
case "updateFieldsStart":
|
|
526
|
+
this._fetchStatus = { done: 0, outstanding: 0 };
|
|
527
|
+
break;
|
|
528
|
+
case "updateFieldsEnd":
|
|
529
|
+
break;
|
|
530
|
+
case "updateFieldsError":
|
|
531
|
+
this.events.emit("error", e);
|
|
532
|
+
break;
|
|
533
|
+
case "fetchStart":
|
|
534
|
+
this._fetchStatus.outstanding += 1, this.events.emit("status", this._fetchStatus);
|
|
535
|
+
break;
|
|
536
|
+
case "fetchEnd":
|
|
537
|
+
this._fetchStatus.done += 1, this.events.emit("status", this._fetchStatus), e.done && (this._fetchStatus = { done: 0, outstanding: 0 });
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
_hasAllData() {
|
|
541
|
+
return !this._updatingStrategy && this._hasAllTileData();
|
|
542
|
+
}
|
|
543
|
+
_hasAllTileData() {
|
|
544
|
+
for (const e of this._tileToEvent.values())
|
|
545
|
+
if (e[e.length - 1].type !== "loaded")
|
|
546
|
+
return !1;
|
|
547
|
+
return !0;
|
|
548
|
+
}
|
|
549
|
+
_handleTileEvent(e) {
|
|
550
|
+
switch (e.type) {
|
|
551
|
+
case "subscribe":
|
|
552
|
+
this._tileToEvent.set(e.tile, [e]);
|
|
553
|
+
break;
|
|
554
|
+
case "unsubscribe":
|
|
555
|
+
this._tileToEvent.delete(e.tile);
|
|
556
|
+
break;
|
|
557
|
+
case "loaded": {
|
|
558
|
+
const t = this._tileToEvent.get(e.tile);
|
|
559
|
+
if (!t)
|
|
560
|
+
return;
|
|
561
|
+
t.push(e), this._tileToEvent.set(e.tile, t);
|
|
562
|
+
break;
|
|
563
|
+
}
|
|
564
|
+
case "error": {
|
|
565
|
+
const t = this._tileToEvent.get(e.tile);
|
|
566
|
+
if (!t)
|
|
567
|
+
return;
|
|
568
|
+
t.push(e), this._tileToEvent.set(e.tile, t), this.events.emit("error", e);
|
|
569
|
+
break;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
h([f({ readOnly: !0 })], T.prototype, "hasAllFeatures", null), h([f({ readOnly: !0 })], T.prototype, "hasAllFeaturesInView", null), h([f({ readOnly: !0 })], T.prototype, "hasFullGeometries", null), h([f()], T.prototype, "_updatingStrategy", void 0), h([f()], T.prototype, "_strategyInfo", void 0), h([f()], T.prototype, "_tileToEvent", void 0), T = h([W(oi)], T);
|
|
575
|
+
function P(i) {
|
|
576
|
+
switch (i.geometryType) {
|
|
577
|
+
case "point":
|
|
578
|
+
return "esriGeometryPoint";
|
|
579
|
+
case "polyline":
|
|
580
|
+
return "esriGeometryPolyline";
|
|
581
|
+
case "polygon":
|
|
582
|
+
case "multipatch":
|
|
583
|
+
return "esriGeometryPolygon";
|
|
584
|
+
case "multipoint":
|
|
585
|
+
return "esriGeometryMultipoint";
|
|
586
|
+
default:
|
|
587
|
+
return null;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
function R(i, e) {
|
|
591
|
+
const t = i.featureReduction;
|
|
592
|
+
return t && t.type !== "selection" && (!("maxScale" in t) || !t.maxScale || t.maxScale < e.scale) ? t : null;
|
|
593
|
+
}
|
|
594
|
+
const ui = Math.PI;
|
|
595
|
+
function it(i, e) {
|
|
596
|
+
switch (e.transformationType) {
|
|
597
|
+
case M.Additive:
|
|
598
|
+
return ci(i, e);
|
|
599
|
+
case M.Constant:
|
|
600
|
+
return di(e, i);
|
|
601
|
+
case M.ClampedLinear:
|
|
602
|
+
return pi(i, e);
|
|
603
|
+
case M.Proportional:
|
|
604
|
+
return hi(i, e);
|
|
605
|
+
case M.Stops:
|
|
606
|
+
return fi(i, e);
|
|
607
|
+
case M.RealWorldSize:
|
|
608
|
+
return yi(i, e);
|
|
609
|
+
case M.Identity:
|
|
610
|
+
return i;
|
|
611
|
+
case M.Unknown:
|
|
612
|
+
return null;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
function O(i, e) {
|
|
616
|
+
return typeof i == "number" ? i : it(e, i);
|
|
617
|
+
}
|
|
618
|
+
function ci(i, e) {
|
|
619
|
+
return i + (O(e.minSize, i) || e.minDataValue);
|
|
620
|
+
}
|
|
621
|
+
function di(i, e) {
|
|
622
|
+
const t = i.stops;
|
|
623
|
+
let r = (t == null ? void 0 : t.length) && t[0].size;
|
|
624
|
+
return r == null && (r = i.minSize), O(r, e);
|
|
625
|
+
}
|
|
626
|
+
function pi(i, e) {
|
|
627
|
+
const t = e.minDataValue, r = e.maxDataValue, s = (i - t) / (r - t), a = O(e.minSize, i), n = O(e.maxSize, i);
|
|
628
|
+
return i <= t ? a : i >= r ? n : a + s * (n - a);
|
|
629
|
+
}
|
|
630
|
+
function hi(i, e) {
|
|
631
|
+
const t = i / e.minDataValue, r = O(e.minSize, i), s = O(e.maxSize, i);
|
|
632
|
+
let a = null;
|
|
633
|
+
return a = t * r, tt(a, r, s);
|
|
634
|
+
}
|
|
635
|
+
function fi(i, e) {
|
|
636
|
+
const [t, r, s] = mi(i, e.cache.ipData);
|
|
637
|
+
if (t === r)
|
|
638
|
+
return O(e.stops[t].size, i);
|
|
639
|
+
{
|
|
640
|
+
const a = O(e.stops[t].size, i);
|
|
641
|
+
return a + (O(e.stops[r].size, i) - a) * s;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
function yi(i, e) {
|
|
645
|
+
const t = Bt[e.valueUnit], r = O(e.minSize, i), s = O(e.maxSize, i), { valueRepresentation: a } = e;
|
|
646
|
+
let n = null;
|
|
647
|
+
return n = a === "area" ? 2 * Math.sqrt(i / ui) / t : a === "radius" || a === "distance" ? 2 * i / t : i / t, tt(n, r, s);
|
|
648
|
+
}
|
|
649
|
+
function mi(i, e) {
|
|
650
|
+
if (!e)
|
|
651
|
+
return;
|
|
652
|
+
let t = 0, r = e.length - 1;
|
|
653
|
+
return e.some((s, a) => i < s ? (r = a, !0) : (t = a, !1)), [t, r, (i - e[t]) / (e[r] - e[t])];
|
|
654
|
+
}
|
|
655
|
+
function k(i) {
|
|
656
|
+
var e;
|
|
657
|
+
return (i.labelsVisible && ((e = i.labelingInfo) == null ? void 0 : e.every((t) => t.deconflictionStrategy !== "none"))) ?? !1;
|
|
658
|
+
}
|
|
659
|
+
function X(i, e) {
|
|
660
|
+
var r;
|
|
661
|
+
const t = R(i, e);
|
|
662
|
+
if (t != null && t.labelsVisible && ((r = t.labelingInfo) != null && r.length))
|
|
663
|
+
return t.labelingInfo.every((s) => s.deconflictionStrategy !== "none");
|
|
664
|
+
}
|
|
665
|
+
function gi(i) {
|
|
666
|
+
return (e) => ae(it(e, i));
|
|
667
|
+
}
|
|
668
|
+
function B(i) {
|
|
669
|
+
const e = i != null && "visualVariables" in i && i.visualVariables;
|
|
670
|
+
if (!e)
|
|
671
|
+
return null;
|
|
672
|
+
for (const t of e)
|
|
673
|
+
if (t.type === "size")
|
|
674
|
+
return gi(t);
|
|
675
|
+
return null;
|
|
676
|
+
}
|
|
677
|
+
function J(i, e, t, r, s) {
|
|
678
|
+
var u, l;
|
|
679
|
+
const a = e.subtypeCode != null ? `${e.subtypeField} = ${e.subtypeCode}` : null, n = fe(e.definitionExpression, a), o = e.customParameters ?? {};
|
|
680
|
+
return s && (o.token = s), { type: "feature", mutable: { sourceRefreshVersion: r, availableFields: t.availableFields, dataFilter: { definitionExpression: n, gdbVersion: e.gdbVersion, historicMoment: (u = e.historicMoment) == null ? void 0 : u.getTime(), outSpatialReference: t.outSpatialReference.toJSON(), timeExtent: (l = e.timeExtent) == null ? void 0 : l.toJSON(), customParameters: o } }, service: i, tileInfoJSON: t.tileInfoJSON };
|
|
681
|
+
}
|
|
682
|
+
function bi(i, e, t = 0) {
|
|
683
|
+
if (e == null)
|
|
684
|
+
return i[t] = 0, i[t + 1] = 0, i[t + 2] = 0, void (i[t + 3] = 0);
|
|
685
|
+
const { r, g: s, b: a, a: n } = e;
|
|
686
|
+
i[t] = r * n / 255, i[t + 1] = s * n / 255, i[t + 2] = a * n / 255, i[t + 3] = n;
|
|
687
|
+
}
|
|
688
|
+
async function A(i, e) {
|
|
689
|
+
if (!i)
|
|
690
|
+
return [];
|
|
691
|
+
switch (i.type) {
|
|
692
|
+
case "simple-fill":
|
|
693
|
+
return st(i, e);
|
|
694
|
+
case "picture-fill":
|
|
695
|
+
return Oi(i, e);
|
|
696
|
+
case "simple-marker":
|
|
697
|
+
return wi(i, e);
|
|
698
|
+
case "picture-marker":
|
|
699
|
+
return Vi(i, e);
|
|
700
|
+
case "simple-line":
|
|
701
|
+
return le(i, e, !1);
|
|
702
|
+
case "text":
|
|
703
|
+
return xi(i, e);
|
|
704
|
+
case "label":
|
|
705
|
+
return Ei(i, e);
|
|
706
|
+
case "cim":
|
|
707
|
+
return me(i.data, e);
|
|
708
|
+
case "web-style": {
|
|
709
|
+
const t = await i.fetchCIMSymbol();
|
|
710
|
+
return me(t.data, e);
|
|
711
|
+
}
|
|
712
|
+
default:
|
|
713
|
+
throw new Error(`symbol not supported ${i.type}`);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
async function Si(i, e) {
|
|
717
|
+
const { schemaOptions: t } = e, { store: r } = t, s = new Array(ce), a = new Array(ce / 4);
|
|
718
|
+
for (let l = 0; l < ce; l++) {
|
|
719
|
+
const c = l < i.attributes.length ? i.attributes[l].color : null;
|
|
720
|
+
s[l] = [0, 0, 0, 0], bi(s[l], c);
|
|
721
|
+
}
|
|
722
|
+
for (let l = 0; l < ce / 4; l++)
|
|
723
|
+
a[l] = [0, 0, 0, 0], a[l][0] = 4 * l < i.attributes.length ? 1 : 0, a[l][1] = 4 * l + 1 < i.attributes.length ? 1 : 0, a[l][2] = 4 * l + 2 < i.attributes.length ? 1 : 0, a[l][3] = 4 * l + 3 < i.attributes.length ? 1 : 0;
|
|
724
|
+
const n = { isActive: a, colors: s, dotValue: i.dotValue, dotScale: i.referenceScale, blending: i.dotBlendingEnabled, dotSize: i.dotSize, seed: i.seed }, o = r.ensureInstance(x.dotDensity, n, {}).createMeshInfo({ params: { effects: null } }), u = [];
|
|
725
|
+
if (i.backgroundColor) {
|
|
726
|
+
const l = new yt({ color: i.backgroundColor, outline: null }), c = await A(l, e);
|
|
727
|
+
u.push(...c);
|
|
728
|
+
}
|
|
729
|
+
if (u.push(o), i.outline) {
|
|
730
|
+
const l = le(i.outline, e, !0);
|
|
731
|
+
u.push(...l);
|
|
732
|
+
}
|
|
733
|
+
return u;
|
|
734
|
+
}
|
|
735
|
+
async function vi(i, e) {
|
|
736
|
+
const { store: t } = e, { radius: r, minDensity: s, maxDensity: a, referenceScale: n, field: o, valueExpression: u, colorStops: l } = i, c = jt(l);
|
|
737
|
+
return [t.ensureInstance(x.heatmap, { radius: ae(r), minDensity: s, maxDensity: a, referenceScale: n, isFieldActive: !(!o && !u), gradient: c, gradientHash: c.join(",") }, {}).createMeshInfo({ params: { effects: null } })];
|
|
738
|
+
}
|
|
739
|
+
function _i(i, e) {
|
|
740
|
+
var n, o, u, l;
|
|
741
|
+
const { store: t } = e, r = ((n = i.outline) == null ? void 0 : n.width) || 0, s = z(i), a = t.ensureInstance(x.pieChart, { geometry: { outlineWidth: Math.round(ae(r)), defaultColor: de(i.defaultColor), outlineColor: de((o = i.outline) == null ? void 0 : o.color), othersColor: de((u = i.othersCategory) == null ? void 0 : u.color), donutRatio: i.holePercentage, sectorThreshold: ((l = i.othersCategory) == null ? void 0 : l.threshold) || 0, colors: i.attributes.map((c) => de(c.color)), visualVariableOpacity: s.visualVariableOpacity, visualVariableSizeMinMaxValue: s.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: s.visualVariableSizeScaleStops, visualVariableSizeStops: s.visualVariableSizeStops, visualVariableSizeUnitValue: s.visualVariableSizeUnitValue, hittestUniforms: null }, numberOfFields: i.attributes.length }, {}).createMeshInfo({ params: { size: i.size, outlineWidth: r, effects: null, scaleInfo: null, minPixelBuffer: U(s) } });
|
|
742
|
+
return [...i.backgroundFillSymbol ? st(i.backgroundFillSymbol, { schemaOptions: e, path: "", uniforms: be }) : [], a];
|
|
743
|
+
}
|
|
744
|
+
function rt(i) {
|
|
745
|
+
if (i.style === "path") {
|
|
746
|
+
if (i.path == null)
|
|
747
|
+
throw new Error("Symbol with a style of type path must define a path");
|
|
748
|
+
return { type: "sprite-rasterization-param", overrides: [], resource: { type: "path", path: i.path, asFill: !0 } };
|
|
749
|
+
}
|
|
750
|
+
const e = Z.fromSimpleMarker(i);
|
|
751
|
+
if ("outline" in i && i.outline && i.outline.style !== "none" && i.outline.style !== "solid") {
|
|
752
|
+
if (!e || !e.symbolLayers)
|
|
753
|
+
throw new Error("Error handling marker! ");
|
|
754
|
+
return { type: "sprite-rasterization-param", resource: e.symbolLayers[0], overrides: [] };
|
|
755
|
+
}
|
|
756
|
+
return { type: "sprite-rasterization-param", resource: Ht(e), overrides: [] };
|
|
757
|
+
}
|
|
758
|
+
async function wi(i, e) {
|
|
759
|
+
var p, y, m, b, V;
|
|
760
|
+
const { uniforms: t, schemaOptions: r } = e, { store: s } = r;
|
|
761
|
+
if (i.style === "path" || i.outline && i.outline.style !== "solid" && i.outline.style !== "none") {
|
|
762
|
+
const S = Z.fromSimpleMarker(i);
|
|
763
|
+
if (!S || !S.symbolLayers)
|
|
764
|
+
throw new Error("Error handling marker! ");
|
|
765
|
+
if (t.visualVariableRotation && (S.angleAlignment = "Map"), i.style !== "path") {
|
|
766
|
+
const w = S.symbolLayers[0];
|
|
767
|
+
if (ie(e.uniforms)) {
|
|
768
|
+
const v = U(e.uniforms, 0, 1);
|
|
769
|
+
if (v > w.size) {
|
|
770
|
+
const F = v / w.size;
|
|
771
|
+
w.size = v;
|
|
772
|
+
const $ = (p = w.markerGraphics) == null ? void 0 : p[0].symbol;
|
|
773
|
+
($.symbolLayers && $.symbolLayers[0]).width *= F;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
return me({ type: "CIMSymbolReference", symbol: S }, e);
|
|
778
|
+
}
|
|
779
|
+
const a = s.ensureInstance(x.marker, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity, visualVariableSizeMinMaxValue: t.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: t.visualVariableSizeScaleStops, visualVariableSizeStops: t.visualVariableSizeStops, visualVariableSizeUnitValue: t.visualVariableSizeUnitValue, visualVariableRotation: t.visualVariableRotation } }, { zoomRange: !1 }), n = rt(i);
|
|
780
|
+
let o = ((y = i.color) == null ? void 0 : y.toArray()) ?? [0, 0, 0, 0];
|
|
781
|
+
n.resource.type === "CIMVectorMarker" && (o = [255, 255, 255, 255]);
|
|
782
|
+
const u = i.style === "triangle" ? 124 / 116 : 1, l = i.size, c = l * u, d = t.visualVariableColor != null && (i.style === "cross" || i.style === "x");
|
|
783
|
+
return [a.createMeshInfo({ params: { type: "simple", color: o, height: l, width: c, offsetX: i.xoffset, offsetY: i.yoffset, angle: i.angle, alignment: Re(t) ? G.MAP : G.SCREEN, outlineColor: ((b = (m = i.outline) == null ? void 0 : m.color) == null ? void 0 : b.toArray()) ?? [0, 0, 0, 0], outlineSize: ((V = i.outline) == null ? void 0 : V.width) ?? 1, referenceSize: l, sprite: n, overrideOutlineColor: d, hasSizeVV: ie(t), placement: null, effects: null, transforms: null, scaleInfo: null, minPixelBuffer: U(t) } })];
|
|
784
|
+
}
|
|
785
|
+
function Vi(i, e) {
|
|
786
|
+
const { uniforms: t, schemaOptions: r } = e, { store: s } = r, a = s.ensureInstance(x.marker, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity, visualVariableSizeMinMaxValue: t.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: t.visualVariableSizeScaleStops, visualVariableSizeStops: t.visualVariableSizeStops, visualVariableSizeUnitValue: t.visualVariableSizeUnitValue, visualVariableRotation: t.visualVariableRotation } }, { zoomRange: !1 }), n = Z.createPictureMarkerRasterizationParam(i);
|
|
787
|
+
return n ? [a.createMeshInfo({ params: { type: "picture", color: [255, 255, 255, 255], height: i.height, width: i.width, offsetX: i.xoffset, offsetY: i.yoffset, angle: i.angle, alignment: Re(t) ? G.MAP : G.SCREEN, outlineColor: null, outlineSize: 0, referenceSize: i.height, sprite: n, overrideOutlineColor: !1, hasSizeVV: ie(t), placement: null, effects: null, transforms: null, scaleInfo: null, minPixelBuffer: U(t) } })] : [];
|
|
788
|
+
}
|
|
789
|
+
function Ii(i, e, t) {
|
|
790
|
+
var b, V;
|
|
791
|
+
const { uniforms: r, schemaOptions: s } = t, { store: a } = s, n = a.ensureInstance(x.marker, { geometry: { visualVariableColor: r.visualVariableColor, visualVariableOpacity: r.visualVariableOpacity, visualVariableSizeMinMaxValue: r.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: r.visualVariableSizeScaleStops, visualVariableSizeStops: r.visualVariableSizeStops, visualVariableSizeUnitValue: r.visualVariableSizeUnitValue, visualVariableRotation: r.visualVariableRotation } }, { zoomRange: !1 }), o = rt(i), u = 6, l = u * e.width, c = l, d = ((b = i.color) == null ? void 0 : b.toArray()) ?? ((V = e.color) == null ? void 0 : V.toArray()) ?? [0, 0, 0, 0], p = i.style === "cross" || i.style === "x";
|
|
792
|
+
let y;
|
|
793
|
+
switch (i.placement) {
|
|
794
|
+
case "begin-end":
|
|
795
|
+
y = ue.Both;
|
|
796
|
+
break;
|
|
797
|
+
case "begin":
|
|
798
|
+
y = ue.JustBegin;
|
|
799
|
+
break;
|
|
800
|
+
case "end":
|
|
801
|
+
y = ue.JustEnd;
|
|
802
|
+
break;
|
|
803
|
+
default:
|
|
804
|
+
y = ue.None;
|
|
805
|
+
}
|
|
806
|
+
const m = { type: "cim-marker-placement-info", placement: { type: "CIMMarkerPlacementAtExtremities", angleToLine: !0, offset: 0, extremityPlacement: y, offsetAlongLine: 0 }, overrides: [] };
|
|
807
|
+
return [n.createMeshInfo({ params: { type: "simple", color: d, height: c, width: l, offsetX: 0, offsetY: 0, angle: 0, alignment: Re(r) ? G.MAP : G.SCREEN, outlineColor: d, outlineSize: p ? e.width : 0, referenceSize: c / u, sprite: o, overrideOutlineColor: p && r.visualVariableColor != null, hasSizeVV: ie(r), placement: m, transforms: null, effects: null, scaleInfo: null, minPixelBuffer: U(r) } })];
|
|
808
|
+
}
|
|
809
|
+
function xi(i, e) {
|
|
810
|
+
var a, n, o, u;
|
|
811
|
+
const { uniforms: t, schemaOptions: r } = e, { store: s } = r;
|
|
812
|
+
return [s.ensureInstance(x.text, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity, visualVariableRotation: t.visualVariableRotation, visualVariableSizeMinMaxValue: t.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: t.visualVariableSizeScaleStops, visualVariableSizeStops: t.visualVariableSizeStops, visualVariableSizeUnitValue: t.visualVariableSizeUnitValue } }, { zoomRange: !1, clipAngle: !1, referenceSymbol: !1 }).createMeshInfo({ params: { boxBackgroundColor: (a = i.backgroundColor) == null ? void 0 : a.toArray(), boxBorderLineColor: (n = i.borderLineColor) == null ? void 0 : n.toArray(), boxBorderLineSize: i.borderLineSize ?? 0, color: ((o = i.color) == null ? void 0 : o.toArray()) ?? [0, 0, 0, 0], offsetX: i.xoffset, offsetY: i.yoffset, postAngle: i.angle, fontSize: i.font.size, decoration: i.font.decoration, haloColor: ((u = i.haloColor) == null ? void 0 : u.toArray()) ?? [0, 0, 0, 0], haloFontSize: i.haloSize ?? 0, lineWidth: i.lineWidth, lineHeightRatio: i.lineHeight, horizontalAlignment: i.horizontalAlignment, verticalAlignment: i.verticalAlignment, useCIMAngleBehavior: !1, glyphs: { type: "text-rasterization-param", resource: { type: "text", font: i.font.toJSON(), textString: i.text, symbol: Z.createCIMTextSymbolfromTextSymbol(i) }, overrides: [] }, referenceSize: null, effects: null, placement: null, scaleInfo: null, transforms: null, scaleFactor: 1, minPixelBuffer: U(t), repeatLabel: null, repeatLabelDistance: null, allowOverrun: null, labelPosition: null, isLineLabel: !1 } })];
|
|
813
|
+
}
|
|
814
|
+
function Ei(i, e) {
|
|
815
|
+
var m, b, V, S, w, v;
|
|
816
|
+
const { schemaOptions: t, uniforms: r } = e, { store: s } = t, a = i.symbol, { allowOverrun: n, repeatLabel: o, repeatLabelDistance: u } = i, l = { maxScale: i.maxScale ?? 0, minScale: i.minScale ?? 0 }, c = s.ensureInstance(x.label, { geometry: { visualVariableColor: null, visualVariableOpacity: null, visualVariableRotation: r.visualVariableRotation, visualVariableSizeMinMaxValue: r.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: r.visualVariableSizeScaleStops, visualVariableSizeStops: r.visualVariableSizeStops, visualVariableSizeUnitValue: r.visualVariableSizeUnitValue } }, { zoomRange: !0, clipAngle: !0, referenceSymbol: !0 }), d = i.labelPlacement, [p, y] = Nt(d);
|
|
817
|
+
return [c.createMeshInfo({ params: { boxBackgroundColor: (m = a.backgroundColor) == null ? void 0 : m.toArray(), boxBorderLineColor: (b = a.borderLineColor) == null ? void 0 : b.toArray(), boxBorderLineSize: a.borderLineSize ?? 0, color: ((V = a.color) == null ? void 0 : V.toArray()) ?? [0, 0, 0, 0], offsetX: a.xoffset, offsetY: a.yoffset, postAngle: a.angle, fontSize: a.font.size, decoration: a.font.decoration, haloColor: ((S = a.haloColor) == null ? void 0 : S.toArray()) ?? [0, 0, 0, 0], haloFontSize: a.haloSize ?? 0, lineWidth: a.lineWidth, lineHeightRatio: a.lineHeight, horizontalAlignment: p, verticalAlignment: y, repeatLabel: o, repeatLabelDistance: ae(u), allowOverrun: n, labelPosition: i.labelPosition, scaleInfo: l, minPixelBuffer: U(r), useCIMAngleBehavior: !1, glyphs: { type: "text-rasterization-param", resource: { type: "text", font: a.font.toJSON(), textString: a.text, symbol: Z.createCIMTextSymbolfromTextSymbol(a), primitiveName: "label-override" }, useLegacyLabelEvaluationRules: ((w = i.labelExpressionInfo) == null ? void 0 : w.expression) == null, overrides: [{ type: "CIMPrimitiveOverride", valueExpressionInfo: { type: "CIMExpressionInfo", expression: ((v = i.labelExpressionInfo) == null ? void 0 : v.expression) ?? i.labelExpression, returnType: "String" }, primitiveName: "label-override", propertyName: "textString", defaultValue: "" }] }, referenceSize: null, effects: null, placement: null, transforms: null, scaleFactor: 1, isLineLabel: !1 } })];
|
|
818
|
+
}
|
|
819
|
+
function ze(i, e) {
|
|
820
|
+
var r;
|
|
821
|
+
const t = i.width;
|
|
822
|
+
return { outlineColor: ((r = i.color) == null ? void 0 : r.toArray()) || [0, 0, 0, 1], width: t, referenceWidth: t, capType: i.cap ?? "round", joinType: i.join ?? "round", miterLimit: i.miterLimit, hasSizeVV: e };
|
|
823
|
+
}
|
|
824
|
+
function Fi(i, e) {
|
|
825
|
+
var l, c, d;
|
|
826
|
+
const { uniforms: t, schemaOptions: r } = e, { store: s } = r, a = ((l = i.color) == null ? void 0 : l.toArray()) ?? [0, 0, 0, 0], n = { type: "sprite-rasterization-param", resource: { type: "fill-style", style: i.style }, overrides: [] };
|
|
827
|
+
if (((c = i.outline) == null ? void 0 : c.style) === "solid")
|
|
828
|
+
return [s.ensureInstance(x.patternOutlineFill, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity, visualVariableSizeScaleStops: t.visualVariableSizeOutlineScaleStops, visualVariableSizeMinMaxValue: null, visualVariableSizeStops: null, visualVariableSizeUnitValue: null } }, { zoomRange: !1 }).createMeshInfo({ params: { color: a, ...ze(i.outline, !!t.visualVariableSizeOutlineScaleStops), sprite: n, scaleInfo: null, effects: null } })];
|
|
829
|
+
const o = [], u = s.ensureInstance(x.patternFill, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity } }, { zoomRange: !1 }).createMeshInfo({ params: { color: ((d = i.color) == null ? void 0 : d.toArray()) ?? [0, 0, 0, 0], sprite: n, scaleInfo: null, effects: null } });
|
|
830
|
+
return o.push(u), i.outline && o.push(...le(i.outline, e, !0)), o;
|
|
831
|
+
}
|
|
832
|
+
function Ri(i, e) {
|
|
833
|
+
var o, u;
|
|
834
|
+
const { uniforms: t, schemaOptions: r } = e, { store: s } = r, a = ((o = i.color) == null ? void 0 : o.toArray()) ?? [0, 0, 0, 0];
|
|
835
|
+
if (i.style !== "none" && ((u = i.outline) == null ? void 0 : u.style) === "solid")
|
|
836
|
+
return [s.ensureInstance(x.outlineFill, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity, visualVariableSizeScaleStops: t.visualVariableSizeOutlineScaleStops, visualVariableSizeMinMaxValue: null, visualVariableSizeStops: null, visualVariableSizeUnitValue: null } }, { zoomRange: !1 }).createMeshInfo({ params: { color: a, ...ze(i.outline, !!t.visualVariableSizeOutlineScaleStops), scaleInfo: null, effects: null } })];
|
|
837
|
+
const n = [];
|
|
838
|
+
if (i.style !== "none") {
|
|
839
|
+
const l = s.ensureInstance(x.fill, { geometry: { visualVariableColor: t.visualVariableColor, visualVariableOpacity: t.visualVariableOpacity } }, { zoomRange: !1 }).createMeshInfo({ params: { color: a, scaleInfo: null, effects: null } });
|
|
840
|
+
n.push(l);
|
|
841
|
+
}
|
|
842
|
+
return i.outline && n.push(...le(i.outline, e, !0)), n;
|
|
843
|
+
}
|
|
844
|
+
function st(i, e) {
|
|
845
|
+
const { style: t } = i;
|
|
846
|
+
return t && t !== "none" && t !== "solid" ? Fi(i, e) : Ri(i, e);
|
|
847
|
+
}
|
|
848
|
+
function Oi(i, e) {
|
|
849
|
+
const { outline: t } = i, { uniforms: r, schemaOptions: s } = e, { store: a } = s, n = [], o = Z.createPictureFillRasterizationParam(i);
|
|
850
|
+
if (!o)
|
|
851
|
+
return [];
|
|
852
|
+
const { width: u, height: l, xoffset: c, yoffset: d, xscale: p, yscale: y } = i, m = { color: [255, 255, 255, 255], sprite: o, height: l, aspectRatio: u / l, offsetX: c, offsetY: d, scaleX: p, scaleY: y, angle: 0, applyRandomOffset: !1, sampleAlphaOnly: !1, scaleProportionally: !1, effects: null, scaleInfo: null };
|
|
853
|
+
if ((t == null ? void 0 : t.style) === "solid")
|
|
854
|
+
return [a.ensureInstance(x.complexOutlineFill, { geometry: { visualVariableColor: r.visualVariableColor, visualVariableOpacity: r.visualVariableOpacity, visualVariableSizeScaleStops: r.visualVariableSizeOutlineScaleStops, visualVariableSizeMinMaxValue: null, visualVariableSizeStops: null, visualVariableSizeUnitValue: null } }, { zoomRange: !1 }).createMeshInfo({ params: { ...m, ...ze(t, !!r.visualVariableSizeOutlineScaleStops) } })];
|
|
855
|
+
const b = a.ensureInstance(x.complexFill, { geometry: { visualVariableColor: r.visualVariableColor, visualVariableOpacity: r.visualVariableOpacity } }, { zoomRange: !1 });
|
|
856
|
+
return n.push(b.createMeshInfo({ params: m })), t && n.push(...le(t, e, !0)), n;
|
|
857
|
+
}
|
|
858
|
+
function le(i, e, t) {
|
|
859
|
+
const { color: r, style: s, width: a, cap: n, join: o } = i, { schemaOptions: u } = e, { store: l } = u, c = [], d = t ? { ...be, visualVariableSizeScaleStops: e.uniforms.visualVariableSizeOutlineScaleStops } : e.uniforms, p = { geometry: { visualVariableColor: d.visualVariableColor, visualVariableOpacity: d.visualVariableOpacity, visualVariableSizeMinMaxValue: d.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: d.visualVariableSizeScaleStops, visualVariableSizeStops: d.visualVariableSizeStops, visualVariableSizeUnitValue: d.visualVariableSizeUnitValue } }, y = { color: (r == null ? void 0 : r.toArray()) ?? [0, 0, 0, 0], width: a, referenceWidth: a, capType: n, joinType: o, miterLimit: i.miterLimit, hasSizeVV: ie(d), effects: null, scaleInfo: null };
|
|
860
|
+
if (s == null || s === "solid") {
|
|
861
|
+
const m = l.ensureInstance(x.line, p, { zoomRange: !1 }).createMeshInfo({ params: y });
|
|
862
|
+
c.push(m);
|
|
863
|
+
} else if (s !== "none") {
|
|
864
|
+
const m = l.ensureInstance(x.texturedLine, p, { zoomRange: !1 }).createMeshInfo({ params: { ...y, shouldScaleDash: !0, shouldSampleAlphaOnly: !1, isSDF: !0, sprite: { type: "sprite-rasterization-param", resource: { type: "dash", dashTemplate: kt(s, n), capStyle: qt(n) }, overrides: [] } } });
|
|
865
|
+
c.push(m);
|
|
866
|
+
}
|
|
867
|
+
return i.marker != null && c.push(...Ii(i.marker, i, e)), c;
|
|
868
|
+
}
|
|
869
|
+
async function re(i, e, t) {
|
|
870
|
+
const r = e.labelsVisible && e.labelingInfo || [], s = P(e), a = Dt(r, s);
|
|
871
|
+
return { type: "label", classes: await Promise.all(a.map((n, o) => $i(i, n, o, t))) };
|
|
872
|
+
}
|
|
873
|
+
async function $i(i, e, t, r) {
|
|
874
|
+
var a;
|
|
875
|
+
const s = await A(e, { path: `${t}`, schemaOptions: i, uniforms: r });
|
|
876
|
+
return { maxScale: e.maxScale, minScale: e.minScale, expression: ((a = e.labelExpressionInfo) == null ? void 0 : a.expression) ?? e.labelExpression, where: e.where, meshes: s };
|
|
877
|
+
}
|
|
878
|
+
async function se(i, e) {
|
|
879
|
+
if (!e)
|
|
880
|
+
return { type: "simple", meshes: [] };
|
|
881
|
+
switch (e.type) {
|
|
882
|
+
case "simple":
|
|
883
|
+
return zi(i, e);
|
|
884
|
+
case "dot-density":
|
|
885
|
+
return Ti(i, e);
|
|
886
|
+
case "class-breaks":
|
|
887
|
+
return Ci(i, e);
|
|
888
|
+
case "unique-value":
|
|
889
|
+
return Ai(i, e);
|
|
890
|
+
case "dictionary":
|
|
891
|
+
return Pi(e);
|
|
892
|
+
case "heatmap":
|
|
893
|
+
return Mi(i, e);
|
|
894
|
+
case "pie-chart":
|
|
895
|
+
return Ni(i, e);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
async function zi(i, e) {
|
|
899
|
+
const t = e.getSymbols(), r = t.length ? t[0] : null, s = z(e);
|
|
900
|
+
return { type: "simple", meshes: await A(r, { schemaOptions: i, uniforms: s, path: "renderer.symbol" }) };
|
|
901
|
+
}
|
|
902
|
+
async function Ti(i, e) {
|
|
903
|
+
const t = z(e);
|
|
904
|
+
return { type: "dot-density", meshes: await Si(e, { schemaOptions: i, uniforms: t, path: "renderer.symbol" }) };
|
|
905
|
+
}
|
|
906
|
+
async function Ci(i, e) {
|
|
907
|
+
const t = z(e), r = e.backgroundFillSymbol, s = e.normalizationType, a = s === "log" ? "esriNormalizeByLog" : s === "percent-of-total" ? "esriNormalizeByPercentOfTotal" : s === "field" ? "esriNormalizeByField" : null, n = e.classBreakInfos.map(async (c) => ({ meshes: await A(c.symbol, { path: `renderer-stop-${c.minValue}-${c.maxValue}`, schemaOptions: i, uniforms: t }), min: c.minValue, max: c.maxValue })), o = (await Promise.all(n)).sort((c, d) => c.min - d.min), u = await A(r, { schemaOptions: i, path: "renderer.backgroundFill", uniforms: { ...be, visualVariableSizeOutlineScaleStops: t.visualVariableSizeOutlineScaleStops } }), l = await A(e.defaultSymbol, { schemaOptions: i, path: "renderer.defaultSymbol", uniforms: t });
|
|
908
|
+
return { type: "interval", field: e.field, expression: e.valueExpression, backgroundFill: u, defaultSymbol: l, intervals: o, normalizationField: e.normalizationField, normalizationTotal: e.normalizationTotal, normalizationType: a, isMaxInclusive: e.isMaxInclusive };
|
|
909
|
+
}
|
|
910
|
+
async function Ai(i, e) {
|
|
911
|
+
const t = [], r = z(e), s = await A(e.backgroundFillSymbol, { schemaOptions: i, path: "renderer.backgroundFill", uniforms: { ...be, visualVariableSizeOutlineScaleStops: r.visualVariableSizeOutlineScaleStops } }), a = await A(e.defaultSymbol, { schemaOptions: i, path: "renderer.defaultSymbol", uniforms: r });
|
|
912
|
+
for (const n of e.uniqueValueInfos ?? []) {
|
|
913
|
+
const o = await A(n.symbol, { path: `renderer-unique-value-${n.value}`, schemaOptions: i, uniforms: r });
|
|
914
|
+
t.push({ value: "" + n.value, symbol: o });
|
|
915
|
+
}
|
|
916
|
+
return { type: "map", field: e.field, expression: e.valueExpression, field2: e.field2, field3: e.field3, fieldDelimiter: e.fieldDelimiter, backgroundFill: s, defaultSymbol: a, map: t };
|
|
917
|
+
}
|
|
918
|
+
function Pi(i) {
|
|
919
|
+
const e = z(i), t = i.scaleExpression, r = t != null && t !== "1" ? { valueExpressionInfo: { type: "CIMExpressionInfo", expression: i.scaleExpression, returnType: "Numeric" }, defaultValue: 1 } : void 0;
|
|
920
|
+
return { type: "dictionary", fieldMap: i.fieldMap, scaleExpression: r, visualVariableUniforms: e };
|
|
921
|
+
}
|
|
922
|
+
async function Mi(i, e) {
|
|
923
|
+
return { type: "heatmap", meshes: await vi(e, i) };
|
|
924
|
+
}
|
|
925
|
+
async function Ni(i, e) {
|
|
926
|
+
return { type: "pie-chart", meshes: _i(e, i) };
|
|
927
|
+
}
|
|
928
|
+
async function ki(i, e) {
|
|
929
|
+
const t = e.renderer, r = z(t);
|
|
930
|
+
return { symbology: await se(i, t), labels: await re(i, e, r) };
|
|
931
|
+
}
|
|
932
|
+
async function D(i, e, t, r) {
|
|
933
|
+
const s = t.featureReduction;
|
|
934
|
+
if (s)
|
|
935
|
+
switch (s.type) {
|
|
936
|
+
case "binning":
|
|
937
|
+
return Ui(s, i, e, t, r);
|
|
938
|
+
case "cluster":
|
|
939
|
+
return Li(s, i, e, t, r);
|
|
940
|
+
}
|
|
941
|
+
const a = Bi(t.orderBy, t.renderer, t.objectIdField);
|
|
942
|
+
return { storage: Oe(t.renderer, e.filters), mesh: { displayRefreshVersion: r, strategy: { type: "feature" }, factory: await ki(i, t), sortKey: a, timeZone: e.timeZone } };
|
|
943
|
+
}
|
|
944
|
+
function at(i, e) {
|
|
945
|
+
return i.fields.map((t) => ({ ...t.toJSON(), type: qi(t, e) }));
|
|
946
|
+
}
|
|
947
|
+
function qi(i, e) {
|
|
948
|
+
const { onStatisticExpression: t, onStatisticField: r, statisticType: s } = i;
|
|
949
|
+
switch (s) {
|
|
950
|
+
case "min":
|
|
951
|
+
case "max":
|
|
952
|
+
case "avg":
|
|
953
|
+
case "avg_angle":
|
|
954
|
+
case "sum":
|
|
955
|
+
case "count":
|
|
956
|
+
return "esriFieldTypeDouble";
|
|
957
|
+
case "mode": {
|
|
958
|
+
if (t) {
|
|
959
|
+
const { returnType: n } = t;
|
|
960
|
+
return n ? n === "string" ? "esriFieldTypeString" : "esriFieldTypeDouble" : "esriFieldTypeString";
|
|
961
|
+
}
|
|
962
|
+
const a = e.find((n) => n.name === r);
|
|
963
|
+
return a ? a.type : "esriFieldTypeString";
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
async function Ui(i, e, t, r, s) {
|
|
968
|
+
const a = at(i, r.fields), n = i.renderer, o = await se(e, n), u = Oe(n, [null, null]), l = z(n), c = await re(e, { geometryType: "polygon", labelingInfo: i.labelingInfo, labelsVisible: i.labelsVisible }, l);
|
|
969
|
+
return { storage: u, mesh: { displayRefreshVersion: s, strategy: { type: "binning", fields: a, fixedBinLevel: i.fixedBinLevel, featureFilter: t.filters[0] }, factory: { labels: c, symbology: o }, sortKey: null, timeZone: t.timeZone } };
|
|
970
|
+
}
|
|
971
|
+
async function Li(i, e, t, r, s) {
|
|
972
|
+
const a = at(i, r.fields), n = { type: "cluster", feature: await se(e, i.effectiveFeatureRenderer), cluster: await se(e, i.effectiveClusterRenderer) }, o = z(i.effectiveFeatureRenderer), u = { type: "cluster", feature: await re(e, r, o), cluster: await re(e, { geometryType: "point", labelingInfo: i.labelingInfo, labelsVisible: i.labelsVisible }, o) };
|
|
973
|
+
return { storage: Oe(i.effectiveFeatureRenderer, [null, null]), mesh: { displayRefreshVersion: s, strategy: { type: "cluster", fields: a, featureFilter: t.filters[0], clusterRadius: ae(i.clusterRadius / 2) }, factory: { labels: u, symbology: n }, sortKey: null, timeZone: t.timeZone } };
|
|
974
|
+
}
|
|
975
|
+
function Bi(i, e, t) {
|
|
976
|
+
const r = e != null && e.type === "unique-value" && e.orderByClassesEnabled;
|
|
977
|
+
if (i !== "default" || r || (i = [new Jt({ field: t, order: "descending" })]), i !== "default" && i.length) {
|
|
978
|
+
i.length;
|
|
979
|
+
const s = i[0], a = s.order === "ascending" ? "asc" : "desc";
|
|
980
|
+
return s.field ? { field: s.field, order: a } : s.valueExpression ? { expression: s.valueExpression, order: a } : null;
|
|
981
|
+
}
|
|
982
|
+
return r ? { byRenderer: !0, order: "asc" } : null;
|
|
983
|
+
}
|
|
984
|
+
let Ji = class {
|
|
985
|
+
constructor(e) {
|
|
986
|
+
this.layer = e;
|
|
987
|
+
}
|
|
988
|
+
getLabelingDeconflictionInfo(e) {
|
|
989
|
+
const t = this.layer, r = k(t);
|
|
990
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
991
|
+
}
|
|
992
|
+
async createServiceOptions(e) {
|
|
993
|
+
var v, F;
|
|
994
|
+
const t = this.layer, r = t.parent, s = N(r), { capabilities: a, editingInfo: n, objectIdField: o, globalIdField: u, datesInUnknownTimezone: l, orderBy: c, subtypeField: d, parsedUrl: p } = r, y = r.fieldsIndex.toJSON(), m = P(t), b = (v = r.timeInfo) == null ? void 0 : v.toJSON(), V = t.spatialReference.toJSON(), S = ne(p);
|
|
995
|
+
let w = o;
|
|
996
|
+
if (c != null && c.length) {
|
|
997
|
+
const $ = !c[0].valueExpression && c[0].field;
|
|
998
|
+
$ && (w = $);
|
|
999
|
+
}
|
|
1000
|
+
return { type: "feature-service", source: S, isSourceHosted: ge(S.path), orderByFields: w, metadata: { timeReferenceUnknownClient: l, subtypeField: d, globalIdField: u, fieldsIndex: y, geometryType: m, objectIdField: o, timeInfo: b, spatialReference: V, subtypes: null, typeIdField: null, types: null }, queryMetadata: { capabilities: a, effectiveCapabilities: s, lastEditDate: (F = n == null ? void 0 : n.lastEditDate) == null ? void 0 : F.getTime(), snapshotInfo: null } };
|
|
1001
|
+
}
|
|
1002
|
+
createSourceSchema(e, t, r) {
|
|
1003
|
+
const { definitionExpression: s, customParameters: a, timeExtent: n, apiKey: o } = this.layer.parent;
|
|
1004
|
+
return J(e, { definitionExpression: s, customParameters: a, timeExtent: n }, t, r, o);
|
|
1005
|
+
}
|
|
1006
|
+
createProcessorSchema(e, t, r) {
|
|
1007
|
+
const { parent: { fields: s, geometryType: a, orderBy: n, objectIdField: o }, renderer: u, labelingInfo: l, labelsVisible: c } = this.layer, d = { featureReduction: null, fields: s.map((p) => p.toJSON()), geometryType: a, labelingInfo: l, labelsVisible: c, objectIdField: o, orderBy: n ?? "default", renderer: u == null ? void 0 : u.clone() };
|
|
1008
|
+
return D(e, t, d, r);
|
|
1009
|
+
}
|
|
1010
|
+
get hasRequiredSupport() {
|
|
1011
|
+
return L(this.layer.renderer);
|
|
1012
|
+
}
|
|
1013
|
+
getUpdateHashProperties(e) {
|
|
1014
|
+
const t = this.layer, { parent: r, parent: { definitionExpression: s, apiKey: a }, renderer: n } = t, o = this.layer.labelsVisible ? this.layer.labelingInfo : null;
|
|
1015
|
+
return { apiKey: a, customParameters: JSON.stringify(r.customParameters), definitionExpression: s, labelingInfo: o, orderBy: JSON.stringify(r.orderBy), renderer: n };
|
|
1016
|
+
}
|
|
1017
|
+
setGraphicOrigin(e) {
|
|
1018
|
+
e.origin = { type: "catalog", layer: this.layer };
|
|
1019
|
+
}
|
|
1020
|
+
};
|
|
1021
|
+
function Te(i, e) {
|
|
1022
|
+
const t = i.extent, r = e == null ? void 0 : e.clone().intersection(t), s = r != null ? r.width * r.height : 0, a = e ? e.width * e.height : 0, n = a === 0 ? 0 : s / a, o = g("featurelayer-snapshot-point-coverage");
|
|
1023
|
+
return !isNaN(n) && n >= o;
|
|
1024
|
+
}
|
|
1025
|
+
function K(i, e) {
|
|
1026
|
+
return i.floorInfo != null && (i.floorInfo.viewAllLevelIds.length > 0 || e.floors.length > 0);
|
|
1027
|
+
}
|
|
1028
|
+
function Ce(i, e, t) {
|
|
1029
|
+
const r = Di(i, e == null ? void 0 : e.where, t);
|
|
1030
|
+
return r && (e ?? (e = new te()), e.where = r), e;
|
|
1031
|
+
}
|
|
1032
|
+
function Di(i, e, t) {
|
|
1033
|
+
var u;
|
|
1034
|
+
if (i.floorInfo == null || !((u = t.floors) != null && u.length))
|
|
1035
|
+
return e;
|
|
1036
|
+
let r = t.floors;
|
|
1037
|
+
const { floorField: s, viewAllLevelIds: a } = i.floorInfo;
|
|
1038
|
+
a.length && (r = a);
|
|
1039
|
+
const n = r.filter((l) => l !== "").map((l) => "'" + l + "'");
|
|
1040
|
+
if (n.push("''"), e == null ? void 0 : e.includes(s)) {
|
|
1041
|
+
let l = new RegExp("AND \\(" + s + ".*NULL\\)", "g");
|
|
1042
|
+
e = e.replace(l, ""), l = new RegExp("\\(" + s + ".*NULL\\)", "g"), e = (e = e.replace(l, "")).replaceAll(/\s+/g, " ").trim();
|
|
1043
|
+
}
|
|
1044
|
+
let o = "(" + s + " IN ({ids}) OR " + s + " IS NULL)";
|
|
1045
|
+
return o = o.replace("{ids}", n.join(", ")), fe(e, o);
|
|
1046
|
+
}
|
|
1047
|
+
let ji = class {
|
|
1048
|
+
constructor(e) {
|
|
1049
|
+
this.layer = e;
|
|
1050
|
+
}
|
|
1051
|
+
getLabelingDeconflictionInfo(e) {
|
|
1052
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1053
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1054
|
+
}
|
|
1055
|
+
async createServiceOptions(e) {
|
|
1056
|
+
var Ae, Pe, Me, Ne;
|
|
1057
|
+
const t = this.layer, r = N(t), { capabilities: s, editingInfo: a, objectIdField: n, typeIdField: o, globalIdField: u, datesInUnknownTimezone: l, orderBy: c, subtypeField: d, refreshInterval: p } = t, y = t.fieldsIndex.toJSON(), m = y.fields, b = P(t), V = (Ae = t.timeInfo) == null ? void 0 : Ae.toJSON(), S = t.spatialReference.toJSON(), w = (Pe = t.types) == null ? void 0 : Pe.map((j) => j.toJSON()), v = ne(this.layer.parsedUrl);
|
|
1058
|
+
this.layer.dynamicDataSource && (v.query = { layer: JSON.stringify({ source: this.layer.dynamicDataSource }) });
|
|
1059
|
+
let F = this.layer.objectIdField;
|
|
1060
|
+
if (c != null && c.length) {
|
|
1061
|
+
const j = !c[0].valueExpression && c[0].field;
|
|
1062
|
+
j && (F = j);
|
|
1063
|
+
}
|
|
1064
|
+
const $ = (a == null ? void 0 : a.lastEditDate) == null && p > 0, Y = g("featurelayer-snapshot-enabled") && t.geometryType === "point" && (s == null ? void 0 : s.query.supportsPagination) && !(s != null && s.operations.supportsEditing) && !$, Se = Y && Te(e, t.fullExtent);
|
|
1065
|
+
return { type: "feature-service", source: v, isSourceHosted: ge(v.path), orderByFields: F, metadata: { typeIdField: o ?? void 0, types: w, timeReferenceUnknownClient: l, subtypeField: d, globalIdField: u, fields: m, fieldsIndex: y, geometryType: b, objectIdField: n, timeInfo: V, spatialReference: S, subtypes: (Me = this.layer.subtypes) == null ? void 0 : Me.map((j) => j.toJSON()) }, queryMetadata: { capabilities: s, effectiveCapabilities: r, lastEditDate: (Ne = a == null ? void 0 : a.lastEditDate) == null ? void 0 : Ne.getTime(), snapshotInfo: { supportsSnapshotMinThreshold: Y, supportsSnapshotMaxThreshold: Se, snapshotCountThresholds: { min: g("featurelayer-snapshot-point-min-threshold"), max: g("featurelayer-snapshot-point-max-threshold") } } } };
|
|
1066
|
+
}
|
|
1067
|
+
createSourceSchema(e, t, r) {
|
|
1068
|
+
const { definitionExpression: s, customParameters: a, gdbVersion: n, historicMoment: o, subtypeCode: u, subtypeField: l, timeExtent: c, apiKey: d } = this.layer;
|
|
1069
|
+
return J(e, { definitionExpression: s, customParameters: a, gdbVersion: n, historicMoment: o, subtypeCode: u, subtypeField: l, timeExtent: c }, t, r, d);
|
|
1070
|
+
}
|
|
1071
|
+
createProcessorSchema(e, t, r) {
|
|
1072
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, orderBy: l, objectIdField: c } = this.layer, d = { fields: s.map((p) => p.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: c, orderBy: l ?? "default" };
|
|
1073
|
+
return D(e, t, d, r);
|
|
1074
|
+
}
|
|
1075
|
+
get hasRequiredSupport() {
|
|
1076
|
+
return L(this.layer.renderer);
|
|
1077
|
+
}
|
|
1078
|
+
hasFilters(e) {
|
|
1079
|
+
return K(this.layer, e);
|
|
1080
|
+
}
|
|
1081
|
+
addFilters(e, t) {
|
|
1082
|
+
return Ce(this.layer, e, t);
|
|
1083
|
+
}
|
|
1084
|
+
getUpdateHashProperties(e) {
|
|
1085
|
+
var y, m;
|
|
1086
|
+
const t = this.layer, { definitionExpression: r, renderer: s, gdbVersion: a, apiKey: n, subtypeCode: o } = t, u = this.layer.labelsVisible ? this.layer.labelingInfo : null, l = ((y = t.historicMoment) == null ? void 0 : y.getTime()) ?? void 0, c = JSON.stringify(t.customParameters), d = (m = R(t, e)) == null ? void 0 : m.toJSON(), p = JSON.stringify(t.orderBy);
|
|
1087
|
+
return { apiKey: n, customParameters: c, definitionExpression: r, featureReduction: d, floors: K(this.layer, e) ? e.floors : null, gdbVersion: a, historicMoment: l, labelingInfo: u, orderBy: p, renderer: s, subtypeCode: o };
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
1090
|
+
function Hi(i) {
|
|
1091
|
+
if (!("openPorts" in i))
|
|
1092
|
+
throw new C("source-not-supported");
|
|
1093
|
+
}
|
|
1094
|
+
class Ze {
|
|
1095
|
+
constructor(e) {
|
|
1096
|
+
this.layer = e;
|
|
1097
|
+
}
|
|
1098
|
+
getLabelingDeconflictionInfo(e) {
|
|
1099
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1100
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1101
|
+
}
|
|
1102
|
+
async createServiceOptions(e) {
|
|
1103
|
+
var c;
|
|
1104
|
+
const t = this.layer, r = N(t), { capabilities: s, objectIdField: a } = t, n = t.fieldsIndex.toJSON(), o = P(t), u = (c = t.timeInfo) == null ? void 0 : c.toJSON(), l = t.spatialReference.toJSON();
|
|
1105
|
+
return Hi(t.source), { type: "memory", source: await t.source.openPorts(), orderByFields: a, metadata: { fieldsIndex: n, geometryType: o, objectIdField: a, timeInfo: u, spatialReference: l, subtypes: null, subtypeField: null, globalIdField: null, typeIdField: null, types: null, timeReferenceUnknownClient: null }, queryMetadata: { capabilities: s, effectiveCapabilities: r, lastEditDate: null, snapshotInfo: null } };
|
|
1106
|
+
}
|
|
1107
|
+
createSourceSchema(e, t, r) {
|
|
1108
|
+
const { definitionExpression: s, timeExtent: a } = this.layer;
|
|
1109
|
+
return J(e, { definitionExpression: s, timeExtent: a, customParameters: null }, t, r, null);
|
|
1110
|
+
}
|
|
1111
|
+
createProcessorSchema(e, t, r) {
|
|
1112
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, orderBy: l, objectIdField: c } = this.layer, d = { fields: s.map((p) => p.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: c, orderBy: l ?? "default" };
|
|
1113
|
+
return D(e, t, d, r);
|
|
1114
|
+
}
|
|
1115
|
+
get hasRequiredSupport() {
|
|
1116
|
+
return L(this.layer.renderer);
|
|
1117
|
+
}
|
|
1118
|
+
getUpdateHashProperties(e) {
|
|
1119
|
+
var o;
|
|
1120
|
+
const t = this.layer, { definitionExpression: r, renderer: s } = t, a = this.layer.labelsVisible ? this.layer.labelingInfo : null, n = (o = R(t, e)) == null ? void 0 : o.toJSON();
|
|
1121
|
+
return { orderBy: JSON.stringify(t.orderBy), definitionExpression: r, renderer: s, labelingInfo: a, featureReduction: n };
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
let Qi = class {
|
|
1125
|
+
constructor(e) {
|
|
1126
|
+
this.layer = e;
|
|
1127
|
+
}
|
|
1128
|
+
getLabelingDeconflictionInfo(e) {
|
|
1129
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1130
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1131
|
+
}
|
|
1132
|
+
async createServiceOptions(e) {
|
|
1133
|
+
const t = this.layer, r = N(t), { capabilities: s, objectIdField: a } = t, n = t.fieldsIndex.toJSON(), o = P(t), u = t.spatialReference.toJSON();
|
|
1134
|
+
return { type: "memory", source: await t.source.openPorts(), orderByFields: a, metadata: { fieldsIndex: n, geometryType: o, objectIdField: a, spatialReference: u, globalIdField: null, subtypeField: null, subtypes: null, timeInfo: null, timeReferenceUnknownClient: null, typeIdField: null, types: null }, queryMetadata: { capabilities: s, effectiveCapabilities: r, lastEditDate: null, snapshotInfo: null } };
|
|
1135
|
+
}
|
|
1136
|
+
createSourceSchema(e, t, r) {
|
|
1137
|
+
const { definitionExpression: s } = this.layer;
|
|
1138
|
+
return J(e, { definitionExpression: s, customParameters: null }, t, r, null);
|
|
1139
|
+
}
|
|
1140
|
+
createProcessorSchema(e, t, r) {
|
|
1141
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: l } = this.layer, c = { fields: s.map((d) => d.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: l, orderBy: "default" };
|
|
1142
|
+
return D(e, t, c, r);
|
|
1143
|
+
}
|
|
1144
|
+
get hasRequiredSupport() {
|
|
1145
|
+
return L(this.layer.renderer);
|
|
1146
|
+
}
|
|
1147
|
+
getUpdateHashProperties(e) {
|
|
1148
|
+
var o;
|
|
1149
|
+
const t = this.layer, { definitionExpression: r, renderer: s } = t, a = this.layer.labelsVisible ? this.layer.labelingInfo : null, n = (o = R(t, e)) == null ? void 0 : o.toJSON();
|
|
1150
|
+
return { definitionExpression: r, renderer: s, labelingInfo: a, featureReduction: n };
|
|
1151
|
+
}
|
|
1152
|
+
}, Gi = class {
|
|
1153
|
+
constructor(e) {
|
|
1154
|
+
this.layer = e;
|
|
1155
|
+
}
|
|
1156
|
+
getLabelingDeconflictionInfo(e) {
|
|
1157
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1158
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1159
|
+
}
|
|
1160
|
+
async createServiceOptions(e) {
|
|
1161
|
+
var y;
|
|
1162
|
+
const t = this.layer, r = N(t), { capabilities: s, objectIdField: a } = t, n = t.fieldsIndex.toJSON(), o = P(t), u = (y = t.timeInfo) == null ? void 0 : y.toJSON(), l = t.spatialReference.toJSON(), c = t.source.getSource(), d = this.layer.objectIdField, p = ne(s);
|
|
1163
|
+
return p.query.maxRecordCount = c.maxRecordCount, { type: "ogc", source: c, orderByFields: d, metadata: { fieldsIndex: n, geometryType: o, objectIdField: a, timeInfo: u, spatialReference: l, globalIdField: null, subtypeField: null, subtypes: null, timeReferenceUnknownClient: null, typeIdField: null, types: null }, queryMetadata: { capabilities: p, effectiveCapabilities: r, lastEditDate: null, snapshotInfo: null } };
|
|
1164
|
+
}
|
|
1165
|
+
createSourceSchema(e, t, r) {
|
|
1166
|
+
const { customParameters: s, timeExtent: a, apiKey: n } = this.layer;
|
|
1167
|
+
return J(e, { customParameters: s, timeExtent: a }, t, r, n);
|
|
1168
|
+
}
|
|
1169
|
+
createProcessorSchema(e, t, r) {
|
|
1170
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, orderBy: l, objectIdField: c } = this.layer, d = { fields: s.map((p) => p.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: c, orderBy: l ?? "default" };
|
|
1171
|
+
return D(e, t, d, r);
|
|
1172
|
+
}
|
|
1173
|
+
get hasRequiredSupport() {
|
|
1174
|
+
return L(this.layer.renderer);
|
|
1175
|
+
}
|
|
1176
|
+
getUpdateHashProperties(e) {
|
|
1177
|
+
var u;
|
|
1178
|
+
const t = this.layer, { renderer: r, apiKey: s } = t, a = this.layer.labelsVisible ? this.layer.labelingInfo : null, n = JSON.stringify(t.customParameters), o = (u = R(t, e)) == null ? void 0 : u.toJSON();
|
|
1179
|
+
return { apiKey: s, customParameters: n, featureReduction: o, labelingInfo: a, orderBy: JSON.stringify(t.orderBy), renderer: r };
|
|
1180
|
+
}
|
|
1181
|
+
}, Ki = class {
|
|
1182
|
+
constructor(e) {
|
|
1183
|
+
this.layer = e;
|
|
1184
|
+
}
|
|
1185
|
+
getLabelingDeconflictionInfo(e) {
|
|
1186
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1187
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1188
|
+
}
|
|
1189
|
+
async createServiceOptions(e) {
|
|
1190
|
+
var v;
|
|
1191
|
+
const t = this.layer, r = N(t), { capabilities: s, objectIdField: a, globalIdField: n, orderBy: o, refreshInterval: u } = t, l = t.fieldsIndex.toJSON(), c = l.fields, d = P(t), p = (v = t.timeInfo) == null ? void 0 : v.toJSON(), y = t.spatialReference.toJSON(), m = ne(this.layer.parsedUrl);
|
|
1192
|
+
let b = this.layer.objectIdField;
|
|
1193
|
+
if (o != null && o.length) {
|
|
1194
|
+
const F = !o[0].valueExpression && o[0].field;
|
|
1195
|
+
F && (b = F);
|
|
1196
|
+
}
|
|
1197
|
+
const V = u > 0, S = g("featurelayer-snapshot-enabled") && t.geometryType === "point" && (s == null ? void 0 : s.query.supportsPagination) && !(s != null && s.operations.supportsEditing) && !V, w = S && Te(e, t.fullExtent);
|
|
1198
|
+
return { type: "feature-service", source: m, isSourceHosted: ge(m.path), orderByFields: b, metadata: { globalIdField: n, fields: c, fieldsIndex: l, geometryType: d, objectIdField: a, timeInfo: p, spatialReference: y, timeReferenceUnknownClient: !1, subtypeField: null, subtypes: null, typeIdField: null, types: null }, queryMetadata: { capabilities: s, effectiveCapabilities: r, lastEditDate: null, snapshotInfo: { supportsSnapshotMinThreshold: S, supportsSnapshotMaxThreshold: w, snapshotCountThresholds: { min: g("featurelayer-snapshot-point-min-threshold"), max: g("featurelayer-snapshot-point-max-threshold") } } } };
|
|
1199
|
+
}
|
|
1200
|
+
createSourceSchema(e, t, r) {
|
|
1201
|
+
const { definitionExpression: s, customParameters: a, timeExtent: n } = this.layer;
|
|
1202
|
+
return J(e, { definitionExpression: s, customParameters: a, timeExtent: n }, t, r, null);
|
|
1203
|
+
}
|
|
1204
|
+
createProcessorSchema(e, t, r) {
|
|
1205
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, orderBy: l, objectIdField: c } = this.layer, d = { fields: s.map((p) => p.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: c, orderBy: l ?? "default" };
|
|
1206
|
+
return D(e, t, d, r);
|
|
1207
|
+
}
|
|
1208
|
+
get hasRequiredSupport() {
|
|
1209
|
+
return L(this.layer.renderer);
|
|
1210
|
+
}
|
|
1211
|
+
hasFilters(e) {
|
|
1212
|
+
return K(this.layer, e);
|
|
1213
|
+
}
|
|
1214
|
+
addFilters(e, t) {
|
|
1215
|
+
return Ce(this.layer, e, t);
|
|
1216
|
+
}
|
|
1217
|
+
getUpdateHashProperties(e) {
|
|
1218
|
+
var u;
|
|
1219
|
+
const t = this.layer, { definitionExpression: r, renderer: s } = t, a = this.layer.labelsVisible ? this.layer.labelingInfo : null, n = JSON.stringify(t.customParameters), o = (u = R(t, e)) == null ? void 0 : u.toJSON();
|
|
1220
|
+
return { orderBy: JSON.stringify(t.orderBy), definitionExpression: r, renderer: s, labelingInfo: a, featureReduction: o, customParameters: n, floors: K(this.layer, e) ? e.floors : null };
|
|
1221
|
+
}
|
|
1222
|
+
};
|
|
1223
|
+
class Wi {
|
|
1224
|
+
constructor(e) {
|
|
1225
|
+
this.layer = e;
|
|
1226
|
+
}
|
|
1227
|
+
getLabelingDeconflictionInfo(e) {
|
|
1228
|
+
const t = this.layer, r = X(t, e) ?? k(t);
|
|
1229
|
+
return [{ vvEvaluators: { 0: B(t.renderer) }, deconflictionEnabled: r }];
|
|
1230
|
+
}
|
|
1231
|
+
async createServiceOptions(e) {
|
|
1232
|
+
var o;
|
|
1233
|
+
const t = this.layer, { objectIdField: r } = t, s = P(t), a = ((o = t.timeInfo) == null ? void 0 : o.toJSON()) || null, n = t.spatialReference ? t.spatialReference.toJSON() : null;
|
|
1234
|
+
return { source: this.layer.parsedUrl, metadata: { fieldsIndex: this.layer.fieldsIndex.toJSON(), geometryType: s, objectIdField: r, timeInfo: a, timeReferenceUnknownClient: null, spatialReference: n, subtypeField: null, subtypes: null, globalIdField: null, typeIdField: null, types: null } };
|
|
1235
|
+
}
|
|
1236
|
+
createSourceSchema(e, t, r) {
|
|
1237
|
+
const { definitionExpression: s, geometryDefinition: a, customParameters: n } = this.layer;
|
|
1238
|
+
return { type: "stream", service: e, tileInfoJSON: t.tileInfoJSON, mutable: { sourceRefreshVersion: r, availableFields: t.availableFields, dataFilter: { geometryDefinition: a == null ? void 0 : a.toJSON(), definitionExpression: s, outSpatialReference: t.outSpatialReference.toJSON(), customParameters: n ?? null, maxReconnectionAttempts: this.layer.maxReconnectionAttempts, maxReconnectionInterval: this.layer.maxReconnectionInterval, purgeOptions: this.layer.purgeOptions.toJSON() } } };
|
|
1239
|
+
}
|
|
1240
|
+
createProcessorSchema(e, t, r) {
|
|
1241
|
+
const { fields: s, renderer: a, geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: l } = this.layer, c = { fields: s.map((d) => d.toJSON()), renderer: a == null ? void 0 : a.clone(), featureReduction: R(this.layer, t), geometryType: n, labelingInfo: o, labelsVisible: u, objectIdField: l, orderBy: "default" };
|
|
1242
|
+
return D(e, t, c, r);
|
|
1243
|
+
}
|
|
1244
|
+
get hasRequiredSupport() {
|
|
1245
|
+
return L(this.layer.renderer);
|
|
1246
|
+
}
|
|
1247
|
+
getUpdateHashProperties(e) {
|
|
1248
|
+
var u;
|
|
1249
|
+
const t = this.layer, { definitionExpression: r, renderer: s } = t, a = this.layer.labelsVisible ? this.layer.labelingInfo : null, n = JSON.stringify(t.customParameters), o = (u = R(t, e)) == null ? void 0 : u.toJSON();
|
|
1250
|
+
return { definitionExpression: r, renderer: s, labelingInfo: a, featureReduction: o, customParameters: n, streamFilter: `${JSON.stringify(t.geometryDefinition)}${t.definitionExpression}` };
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
async function Zi(i, { subtypeField: e, sublayers: t }) {
|
|
1254
|
+
const r = await Promise.all(t.map(({ renderer: s }) => se(i, s)));
|
|
1255
|
+
return { type: "subtype", subtypeField: e, renderers: t.reduce((s, { subtypeCode: a }, n) => ({ ...s, [a]: r[n] }), {}) };
|
|
1256
|
+
}
|
|
1257
|
+
function Xi(i, e) {
|
|
1258
|
+
const t = mt();
|
|
1259
|
+
return { type: "subtype", filters: i.filters, capabilities: { maxTextureSize: t.maxTextureSize }, subtypeField: e.subtypeField, target: "feature", bindings: e.sublayers.reduce((r, { renderer: s, subtypeCode: a }) => ({ ...r, [a]: Qt(s) }), {}) };
|
|
1260
|
+
}
|
|
1261
|
+
async function Yi(i, { subtypeField: e, sublayers: t }) {
|
|
1262
|
+
const r = await Promise.all(t.map((s) => {
|
|
1263
|
+
const a = z(s.renderer), n = { ...s, geometryType: s.geometryType ?? null };
|
|
1264
|
+
return re(i, n, a);
|
|
1265
|
+
}));
|
|
1266
|
+
return { type: "subtype", subtypeField: e, renderers: t.reduce((s, { subtypeCode: a }, n) => ({ ...s, [a]: r[n] }), {}) };
|
|
1267
|
+
}
|
|
1268
|
+
async function er(i, e, t, r) {
|
|
1269
|
+
return { storage: Xi(e, t), mesh: { displayRefreshVersion: r, strategy: { type: "feature" }, factory: { symbology: await Zi(i, t), labels: await Yi(i, t) }, sortKey: null, timeZone: e.timeZone } };
|
|
1270
|
+
}
|
|
1271
|
+
class tr {
|
|
1272
|
+
constructor(e) {
|
|
1273
|
+
this.layer = e;
|
|
1274
|
+
}
|
|
1275
|
+
getLabelingDeconflictionInfo(e) {
|
|
1276
|
+
return [{ vvEvaluators: {}, deconflictionEnabled: this.layer.sublayers.every((t) => k(t)) }];
|
|
1277
|
+
}
|
|
1278
|
+
async createServiceOptions(e) {
|
|
1279
|
+
var F, $, Y;
|
|
1280
|
+
const t = this.layer, r = N(t), { capabilities: s, datesInUnknownTimezone: a, editingInfo: n, globalIdField: o, objectIdField: u, refreshInterval: l, subtypeField: c } = t, d = t.fieldsIndex.toJSON(), p = P(t), y = (F = t.timeInfo) == null ? void 0 : F.toJSON(), m = t.spatialReference.toJSON(), b = ne(this.layer.parsedUrl), V = u, S = (n == null ? void 0 : n.lastEditDate) == null && l > 0, w = g("featurelayer-snapshot-enabled") && t.geometryType === "point" && (s == null ? void 0 : s.query.supportsPagination) && !(s != null && s.operations.supportsEditing) && !S, v = w && Te(e, t.fullExtent);
|
|
1281
|
+
return { type: "feature-service", source: b, isSourceHosted: ge(b.path), orderByFields: V, metadata: { timeReferenceUnknownClient: a, subtypeField: c, globalIdField: o, fieldsIndex: d, geometryType: p, objectIdField: u, timeInfo: y, spatialReference: m, subtypes: ($ = this.layer.subtypes) == null ? void 0 : $.map((Se) => Se.toJSON()), typeIdField: null, types: null }, queryMetadata: { capabilities: s, effectiveCapabilities: r, lastEditDate: (Y = n == null ? void 0 : n.lastEditDate) == null ? void 0 : Y.getTime(), snapshotInfo: { supportsSnapshotMinThreshold: w, supportsSnapshotMaxThreshold: v, snapshotCountThresholds: { min: g("featurelayer-snapshot-point-min-threshold"), max: g("featurelayer-snapshot-point-max-threshold") } } } };
|
|
1282
|
+
}
|
|
1283
|
+
createSourceSchema(e, t, r) {
|
|
1284
|
+
const { definitionExpression: s, customParameters: a, gdbVersion: n, historicMoment: o, subtypeField: u, timeExtent: l, apiKey: c } = this.layer, d = this.layer.sublayers.map((m) => m.subtypeCode).join(","), p = this.layer.sublayers.length ? `${this.layer.subtypeField} IN (${d})` : "1=2", y = { definitionExpression: fe(s, p), customParameters: a, gdbVersion: n, historicMoment: o, subtypeField: u, timeExtent: l };
|
|
1285
|
+
return J(e, y, t, r, c);
|
|
1286
|
+
}
|
|
1287
|
+
createProcessorSchema(e, t, r) {
|
|
1288
|
+
const s = { subtypeField: this.layer.subtypeField, sublayers: Array.from(this.layer.sublayers, (a) => ({ featureReduction: null, geometryType: this.layer.geometryType, labelingInfo: a.labelingInfo, labelsVisible: a.labelsVisible, renderer: a.renderer, subtypeCode: a.subtypeCode, orderBy: null })) };
|
|
1289
|
+
return er(e, t, s, r);
|
|
1290
|
+
}
|
|
1291
|
+
hasFilters(e) {
|
|
1292
|
+
return K(this.layer, e) || ir(this.layer, e);
|
|
1293
|
+
}
|
|
1294
|
+
addFilters(e, t) {
|
|
1295
|
+
e = Ce(this.layer, e, t);
|
|
1296
|
+
const r = this.layer.sublayers.filter((a) => !nt(a, t)).map((a) => a.subtypeCode);
|
|
1297
|
+
if (!r.length)
|
|
1298
|
+
return e;
|
|
1299
|
+
e ?? (e = new te());
|
|
1300
|
+
const s = `NOT ${this.layer.subtypeField} IN (${r.join(",")})`;
|
|
1301
|
+
return e.where = fe(e.where, s), e;
|
|
1302
|
+
}
|
|
1303
|
+
get hasRequiredSupport() {
|
|
1304
|
+
return !0;
|
|
1305
|
+
}
|
|
1306
|
+
getUpdateHashProperties(e) {
|
|
1307
|
+
var l;
|
|
1308
|
+
const t = this.layer, { definitionExpression: r, gdbVersion: s, apiKey: a } = t, n = ((l = t.historicMoment) == null ? void 0 : l.getTime()) ?? void 0, o = JSON.stringify(t.customParameters), u = K(this.layer, e) ? e.floors : null;
|
|
1309
|
+
return { gdbVersion: s, definitionExpression: r, historicMoment: n, customParameters: o, apiKey: a, sublayerHash: "sublayers" in this.layer && this.layer.sublayers.items.reduce((c, d) => c + `${d.visible ? 1 : 0}.${JSON.stringify(d.renderer)}.${d.labelsVisible}
|
|
1310
|
+
.${JSON.stringify(d.labelingInfo)}`, ""), floors: u };
|
|
1311
|
+
}
|
|
1312
|
+
setGraphicOrigin(e) {
|
|
1313
|
+
const t = this.layer.fieldsIndex.get(this.layer.subtypeField), r = e.attributes[t.name], s = this.layer.sublayers.find((a) => a.subtypeCode === r);
|
|
1314
|
+
e.layer = e.sourceLayer = s;
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
function ir(i, e) {
|
|
1318
|
+
return i.sublayers.some((t) => !nt(t, e));
|
|
1319
|
+
}
|
|
1320
|
+
function nt(i, e) {
|
|
1321
|
+
return i.visible && (i.minScale === 0 || ke(e.scale, i.minScale) || e.scale < i.minScale) && (i.maxScale === 0 || ke(e.scale, i.maxScale) || e.scale > i.maxScale);
|
|
1322
|
+
}
|
|
1323
|
+
async function _(i, e) {
|
|
1324
|
+
try {
|
|
1325
|
+
return await i;
|
|
1326
|
+
} catch (t) {
|
|
1327
|
+
if (t.name !== "no-queryEngine")
|
|
1328
|
+
throw t;
|
|
1329
|
+
return e;
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
function Q(i, e) {
|
|
1333
|
+
const t = /* @__PURE__ */ new Set();
|
|
1334
|
+
for (const r of i instanceof Set ? i.values() : i.keys())
|
|
1335
|
+
e.has(r) || t.add(r);
|
|
1336
|
+
return t;
|
|
1337
|
+
}
|
|
1338
|
+
class rr {
|
|
1339
|
+
constructor(e) {
|
|
1340
|
+
this.version = e;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
class sr {
|
|
1344
|
+
constructor(e) {
|
|
1345
|
+
this._subscriptions = /* @__PURE__ */ new Map(), this._visible = /* @__PURE__ */ new Set(), this._paused = /* @__PURE__ */ new Set(), this._version = 0, this._config = e;
|
|
1346
|
+
}
|
|
1347
|
+
destroy() {
|
|
1348
|
+
}
|
|
1349
|
+
get _coverageSet() {
|
|
1350
|
+
const e = this._coverage ? Array.from(this._coverage.keys()).map((t) => t.id) : [];
|
|
1351
|
+
return new Set(e);
|
|
1352
|
+
}
|
|
1353
|
+
suspend() {
|
|
1354
|
+
this._suspendedOverage = this._coverage, this._coverage = null, this._updateSubscriptions();
|
|
1355
|
+
}
|
|
1356
|
+
resume() {
|
|
1357
|
+
this._coverage == null && (this._coverage = this._suspendedOverage, this._suspendedOverage = null, this._updateSubscriptions());
|
|
1358
|
+
}
|
|
1359
|
+
update(e) {
|
|
1360
|
+
return this._version = this._version + 1 % Number.MAX_SAFE_INTEGER, this._updateCoverage(e), this._updateSubscriptions(), new Set(this._visible);
|
|
1361
|
+
}
|
|
1362
|
+
_updateCoverage(e) {
|
|
1363
|
+
this._coverage = this._config.tileInfoView.getTileCoverage(e.state, 0, !0, "closest");
|
|
1364
|
+
}
|
|
1365
|
+
_updateSubscriptions() {
|
|
1366
|
+
const e = this._coverageSet, t = this._updateVisibility(), r = Q(t, e), s = Q(this._subscriptions, t), a = Q(e, this._subscriptions), n = Q(s, e), o = Q(r, n), u = Q(o, this._paused);
|
|
1367
|
+
this._visible = t;
|
|
1368
|
+
for (const l of a.values())
|
|
1369
|
+
this._subscriptions.set(l, new rr(this._version));
|
|
1370
|
+
for (const l of u.values())
|
|
1371
|
+
this._paused.add(l);
|
|
1372
|
+
for (const l of n.values())
|
|
1373
|
+
this._subscriptions.delete(l), this._paused.delete(l);
|
|
1374
|
+
(a.size || n.size || u.size) && this._sendUpdateSubscriptions(a, n, u);
|
|
1375
|
+
}
|
|
1376
|
+
_sendUpdateSubscriptions(e, t, r) {
|
|
1377
|
+
const s = Array.from(e.values()).map((a) => ({ tileId: a, version: this._subscriptions.get(a).version }));
|
|
1378
|
+
this._config.updateSubscriptions({ subscribe: s, unsubscribe: Array.from(t.values()), pause: Array.from(r.values()), tileInfoJSON: this._config.tileInfoView.tileInfo.toJSON() });
|
|
1379
|
+
}
|
|
1380
|
+
_updateVisibility() {
|
|
1381
|
+
const e = /* @__PURE__ */ new Set();
|
|
1382
|
+
if (!this._coverage)
|
|
1383
|
+
return e;
|
|
1384
|
+
for (const t of this._coverage.keys()) {
|
|
1385
|
+
if (this._config.isDone(t)) {
|
|
1386
|
+
e.add(t.id);
|
|
1387
|
+
continue;
|
|
1388
|
+
}
|
|
1389
|
+
this._addVisibleParent(e, t) || this._addVisibleChildren(e, t) || e.add(t.id);
|
|
1390
|
+
}
|
|
1391
|
+
return e;
|
|
1392
|
+
}
|
|
1393
|
+
_addVisibleParent(e, t) {
|
|
1394
|
+
let r = !1;
|
|
1395
|
+
for (const s of this._visible.values())
|
|
1396
|
+
new xe(s).containsChild(t) && (e.add(s), r = !0);
|
|
1397
|
+
return r;
|
|
1398
|
+
}
|
|
1399
|
+
_addVisibleChildren(e, t) {
|
|
1400
|
+
let r = !1;
|
|
1401
|
+
for (const s of this._visible.values()) {
|
|
1402
|
+
const a = new xe(s);
|
|
1403
|
+
t.containsChild(a) && (e.add(s), r = !0);
|
|
1404
|
+
}
|
|
1405
|
+
return r;
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
const ar = (i) => {
|
|
1409
|
+
let e = class extends i {
|
|
1410
|
+
constructor(...t) {
|
|
1411
|
+
super(...t), this._updatingRequiredFieldsPromise = null, this.dataUpdating = !1, this.filter = null, this.timeExtent = null, this.layer = null, this.requiredFields = [], this.view = null;
|
|
1412
|
+
}
|
|
1413
|
+
initialize() {
|
|
1414
|
+
this.addHandles([Ee(() => {
|
|
1415
|
+
var r;
|
|
1416
|
+
const t = this.layer;
|
|
1417
|
+
return [t && "elevationInfo" in t ? (r = t.elevationInfo) == null ? void 0 : r.featureExpressionInfo : null, t && "displayField" in t ? t.displayField : null, t && "timeInfo" in t && t.timeInfo, t && "renderer" in t && t.renderer, t && "labelingInfo" in t && t.labelingInfo, t && "floorInfo" in t && t.floorInfo, this.filter, this.featureEffect, this.timeExtent];
|
|
1418
|
+
}, () => this._handleRequiredFieldsChange(), gt), qe(() => {
|
|
1419
|
+
var t;
|
|
1420
|
+
return (t = this.view) == null ? void 0 : t.floors;
|
|
1421
|
+
}, "change", () => this._handleRequiredFieldsChange()), qe(() => {
|
|
1422
|
+
const t = this.layer;
|
|
1423
|
+
return t && "sublayers" in t ? t.sublayers : null;
|
|
1424
|
+
}, "change", () => this._handleRequiredFieldsChange())]);
|
|
1425
|
+
}
|
|
1426
|
+
get availableFields() {
|
|
1427
|
+
if (!this.layer)
|
|
1428
|
+
return [];
|
|
1429
|
+
const { layer: t, layer: { fieldsIndex: r }, requiredFields: s } = this;
|
|
1430
|
+
return "outFields" in t && t.outFields ? Ue(r, [...Le(r, t.outFields), ...s]) : Ue(r, s);
|
|
1431
|
+
}
|
|
1432
|
+
get featureEffect() {
|
|
1433
|
+
return this.layer && "featureEffect" in this.layer ? this.layer.featureEffect : null;
|
|
1434
|
+
}
|
|
1435
|
+
set featureEffect(t) {
|
|
1436
|
+
this._override("featureEffect", t);
|
|
1437
|
+
}
|
|
1438
|
+
get maximumNumberOfFeatures() {
|
|
1439
|
+
return 0;
|
|
1440
|
+
}
|
|
1441
|
+
set maximumNumberOfFeatures(t) {
|
|
1442
|
+
q.getLogger(this).error("#maximumNumberOfFeatures=", "Setting maximum number of features is not supported");
|
|
1443
|
+
}
|
|
1444
|
+
get maximumNumberOfFeaturesExceeded() {
|
|
1445
|
+
return !1;
|
|
1446
|
+
}
|
|
1447
|
+
highlight(t) {
|
|
1448
|
+
throw new Error("missing implementation");
|
|
1449
|
+
}
|
|
1450
|
+
createQuery() {
|
|
1451
|
+
const t = { outFields: ["*"], returnGeometry: !0, outSpatialReference: this.view.spatialReference }, r = this.filter != null ? this.filter.createQuery(t) : new ye(t);
|
|
1452
|
+
if ("floorInfo" in this.layer && this.layer.floorInfo) {
|
|
1453
|
+
const s = We(this);
|
|
1454
|
+
s != null && (r.where = r.where ? `(${r.where}) AND (${s})` : s);
|
|
1455
|
+
}
|
|
1456
|
+
return this.timeExtent != null && (r.timeExtent = r.timeExtent != null ? r.timeExtent.intersection(this.timeExtent) : this.timeExtent.clone()), r;
|
|
1457
|
+
}
|
|
1458
|
+
createAggregateQuery() {
|
|
1459
|
+
const t = { outFields: ["*"], returnGeometry: !0, outSpatialReference: this.view.spatialReference };
|
|
1460
|
+
return new ye(t);
|
|
1461
|
+
}
|
|
1462
|
+
queryFeatures(t, r) {
|
|
1463
|
+
throw new Error("missing implementation");
|
|
1464
|
+
}
|
|
1465
|
+
queryObjectIds(t, r) {
|
|
1466
|
+
throw new Error("missing implementation");
|
|
1467
|
+
}
|
|
1468
|
+
queryFeatureCount(t, r) {
|
|
1469
|
+
throw new Error("missing implementation");
|
|
1470
|
+
}
|
|
1471
|
+
queryExtent(t, r) {
|
|
1472
|
+
throw new Error("missing implementation");
|
|
1473
|
+
}
|
|
1474
|
+
async fetchPopupFeaturesFromGraphics(t, r) {
|
|
1475
|
+
return this._validateFetchPopupFeatures(t, r), this._fetchPopupFeatures(t, r);
|
|
1476
|
+
}
|
|
1477
|
+
_loadArcadeModules(t) {
|
|
1478
|
+
var r;
|
|
1479
|
+
return (r = t.expressionInfos) != null && r.length || Array.isArray(t.content) && t.content.some((s) => s.type === "expression") ? bt() : Promise.resolve();
|
|
1480
|
+
}
|
|
1481
|
+
_handleRequiredFieldsChange() {
|
|
1482
|
+
const t = this._updateRequiredFields();
|
|
1483
|
+
this._set("_updatingRequiredFieldsPromise", t), t.then(() => {
|
|
1484
|
+
this._updatingRequiredFieldsPromise === t && this._set("_updatingRequiredFieldsPromise", null);
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
async _updateRequiredFields() {
|
|
1488
|
+
if (!this.layer || !this.view)
|
|
1489
|
+
return;
|
|
1490
|
+
const t = this.view.type === "3d", { layer: r, layer: { fieldsIndex: s, objectIdField: a } } = this, n = "renderer" in r && r.renderer, o = "orderBy" in r && r.orderBy, u = "featureReduction" in r ? r.featureReduction : null, l = /* @__PURE__ */ new Set(), c = await Promise.allSettled([n ? n.collectRequiredFields(l, s) : null, Be(l, r), t && "elevationInfo" in r ? St(l, r) : null, this.filter != null ? Je(l, r, this.filter) : null, t || this.featureEffect == null ? null : Je(l, r, this.featureEffect.filter), !t && u ? vt(l, r, u) : null, !t && o ? _t(l, r, o) : null]);
|
|
1491
|
+
if ("timeInfo" in r && r.timeInfo && this.timeExtent && oe(l, r.fieldsIndex, [r.timeInfo.startField, r.timeInfo.endField]), "floorInfo" in r && r.floorInfo && oe(l, r.fieldsIndex, [r.floorInfo.floorField]), r.type === "feature" && t && r.infoFor3D != null && (r.globalIdField == null && q.getLogger(this).error("globalIdField missing on 3DObjectFeatureLayer"), oe(l, r.fieldsIndex, [r.globalIdField])), r.type === "subtype-group") {
|
|
1492
|
+
ve(l, s, r.subtypeField);
|
|
1493
|
+
const p = r.sublayers.map((y) => {
|
|
1494
|
+
var m;
|
|
1495
|
+
return Promise.all([(m = y.renderer) == null ? void 0 : m.collectRequiredFields(l, s), Be(l, y)]);
|
|
1496
|
+
});
|
|
1497
|
+
await Promise.allSettled(p);
|
|
1498
|
+
}
|
|
1499
|
+
r.type === "catalog-footprint" && oe(l, s, [r.parent.itemSourceField, r.parent.itemTypeField]);
|
|
1500
|
+
for (const p of c)
|
|
1501
|
+
p.status === "rejected" && q.getLogger(this).error(p.reason);
|
|
1502
|
+
ve(l, s, a), t && "displayField" in r && r.displayField && ve(l, s, r.displayField);
|
|
1503
|
+
const d = Array.from(l).sort();
|
|
1504
|
+
this._set("requiredFields", d);
|
|
1505
|
+
}
|
|
1506
|
+
_validateFetchPopupFeatures(t, r) {
|
|
1507
|
+
if (r != null)
|
|
1508
|
+
for (const s of t) {
|
|
1509
|
+
const a = s.origin && "layer" in s.origin ? s.origin.layer : s.layer;
|
|
1510
|
+
if ("popupEnabled" in a && !a.popupEnabled)
|
|
1511
|
+
throw new C("featurelayerview:fetchPopupFeatures", "Popups are disabled", { layer: a });
|
|
1512
|
+
if (s.isAggregate) {
|
|
1513
|
+
const n = "featureReduction" in a ? a.featureReduction : null;
|
|
1514
|
+
if (!(n && "popupTemplate" in n && n.popupEnabled && n.popupTemplate))
|
|
1515
|
+
throw new C("featurelayerview:fetchPopupFeatures", "Popups are disabled", { layer: a });
|
|
1516
|
+
} else if ("popupTemplate" in a && !Ve(a, r))
|
|
1517
|
+
throw new C("featurelayerview:fetchPopupFeatures", "Layer does not define a popup template", { layer: a });
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
_popupFeatureHasRequiredFields(t, r) {
|
|
1521
|
+
return wt(r, t);
|
|
1522
|
+
}
|
|
1523
|
+
async _fetchPopupFeatures(t, r) {
|
|
1524
|
+
var o;
|
|
1525
|
+
const s = new Array(t.length), a = /* @__PURE__ */ new Map(), n = await this._createPopupQuery(t.map((u) => {
|
|
1526
|
+
var l;
|
|
1527
|
+
return ((l = u.origin) == null ? void 0 : l.layer) ?? u.layer;
|
|
1528
|
+
}), r);
|
|
1529
|
+
for (let u = 0; u < t.length; u++) {
|
|
1530
|
+
const l = t[u];
|
|
1531
|
+
if (l.isAggregate) {
|
|
1532
|
+
s[u] = l;
|
|
1533
|
+
continue;
|
|
1534
|
+
}
|
|
1535
|
+
const c = ((o = l.origin) == null ? void 0 : o.layer) ?? l.layer;
|
|
1536
|
+
if (!c || !("popupEnabled" in c))
|
|
1537
|
+
continue;
|
|
1538
|
+
const d = Le(this.layer.fieldsIndex, n.outFields), p = Ve(c, r);
|
|
1539
|
+
if (p == null)
|
|
1540
|
+
continue;
|
|
1541
|
+
const y = await this._loadArcadeModules(p);
|
|
1542
|
+
pe(r), y && y.arcadeUtils.hasGeometryOperations(p) || !this._popupFeatureHasRequiredFields(l, d) ? a.set(l.getObjectId(), { graphic: l, index: u }) : s[u] = l;
|
|
1543
|
+
}
|
|
1544
|
+
if (this.layer.type === "stream" || a.size === 0)
|
|
1545
|
+
return s.filter(Boolean);
|
|
1546
|
+
n.objectIds = Array.from(a.keys());
|
|
1547
|
+
try {
|
|
1548
|
+
const u = await this.layer.queryFeatures(n, r);
|
|
1549
|
+
for (const l of u.features) {
|
|
1550
|
+
const { graphic: { geometry: c, origin: d }, index: p } = a.get(l.getObjectId());
|
|
1551
|
+
l.geometry || (l.geometry = c), l.origin = d, s[p] = l;
|
|
1552
|
+
}
|
|
1553
|
+
} catch {
|
|
1554
|
+
}
|
|
1555
|
+
return s.filter(Boolean);
|
|
1556
|
+
}
|
|
1557
|
+
async _createPopupQuery(t, r) {
|
|
1558
|
+
const s = this.layer.createQuery(), a = /* @__PURE__ */ new Set();
|
|
1559
|
+
let n = !1;
|
|
1560
|
+
const o = t ?? [this.layer];
|
|
1561
|
+
for (const u of o) {
|
|
1562
|
+
if (!("popupEnabled" in u))
|
|
1563
|
+
continue;
|
|
1564
|
+
const l = Ve(u, r);
|
|
1565
|
+
if (l == null)
|
|
1566
|
+
continue;
|
|
1567
|
+
const c = await this._loadArcadeModules(l);
|
|
1568
|
+
pe(r);
|
|
1569
|
+
const d = c && c.arcadeUtils.hasGeometryOperations(l);
|
|
1570
|
+
n = !(this.layer.geometryType !== "point" && !d);
|
|
1571
|
+
const p = await Xt(this.layer, l);
|
|
1572
|
+
pe(r);
|
|
1573
|
+
for (const y of p)
|
|
1574
|
+
a.add(y);
|
|
1575
|
+
}
|
|
1576
|
+
if (s.returnGeometry = n, s.returnZ = n, s.returnM = n, s.outFields = Array.from(a), s.outSpatialReference = this.view.spatialReference, "floorInfo" in this.layer && this.layer.floorInfo) {
|
|
1577
|
+
const u = We(this);
|
|
1578
|
+
u != null && (s.where = s.where ? `(${s.where}) AND (${u})` : u);
|
|
1579
|
+
}
|
|
1580
|
+
return s;
|
|
1581
|
+
}
|
|
1582
|
+
canResume() {
|
|
1583
|
+
return !!super.canResume() && (this.timeExtent == null || !this.timeExtent.isEmpty);
|
|
1584
|
+
}
|
|
1585
|
+
getTest() {
|
|
1586
|
+
return { createPopupQuery: (t) => this._createPopupQuery(void 0, t) };
|
|
1587
|
+
}
|
|
1588
|
+
get test() {
|
|
1589
|
+
return this.getTest();
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
return h([f()], e.prototype, "_updatingRequiredFieldsPromise", void 0), h([f({ readOnly: !0 })], e.prototype, "availableFields", null), h([f({ readOnly: !0 })], e.prototype, "dataUpdating", void 0), h([f({ type: Zt })], e.prototype, "featureEffect", null), h([f({ type: te })], e.prototype, "filter", void 0), h([f(Wt)], e.prototype, "timeExtent", void 0), h([f()], e.prototype, "layer", void 0), h([f({ type: Number })], e.prototype, "maximumNumberOfFeatures", null), h([f({ readOnly: !0, type: Boolean })], e.prototype, "maximumNumberOfFeaturesExceeded", null), h([f({ readOnly: !0 })], e.prototype, "requiredFields", void 0), h([f()], e.prototype, "suspended", void 0), h([f()], e.prototype, "view", void 0), e = h([W("esri.views.layers.FeatureLayerView")], e), e;
|
|
1593
|
+
};
|
|
1594
|
+
function nr(i, e) {
|
|
1595
|
+
const t = /* @__PURE__ */ new Set();
|
|
1596
|
+
return i && i.forEach((r) => t.add(r)), e && e.forEach((r) => t.add(r)), t.has("*") ? ["*"] : Array.from(t);
|
|
1597
|
+
}
|
|
1598
|
+
const lr = "esri.views.2d.layers.FeatureLayerView2D", Xe = 4294967294;
|
|
1599
|
+
let I = class extends ar(Yt(At(Pt))) {
|
|
1600
|
+
constructor() {
|
|
1601
|
+
super(...arguments), this._commandsQueue = new Gt({ process: (i) => {
|
|
1602
|
+
switch (i.type) {
|
|
1603
|
+
case "processed-edit":
|
|
1604
|
+
return this._doEdit(i);
|
|
1605
|
+
case "update":
|
|
1606
|
+
return this._doUpdate();
|
|
1607
|
+
}
|
|
1608
|
+
} }), this._visibilityOverrides = /* @__PURE__ */ new Set(), this._highlightCounter = new Kt(), this._updateHighlight = Vt(async () => {
|
|
1609
|
+
const i = [];
|
|
1610
|
+
for (const e of this._highlightCounter.ids()) {
|
|
1611
|
+
const t = this._highlightCounter.getHighestReason(e), r = Ct(t);
|
|
1612
|
+
i.push({ objectId: e, highlightFlags: r });
|
|
1613
|
+
}
|
|
1614
|
+
this._worker.pipeline.updateHighlight({ highlights: i });
|
|
1615
|
+
}), this._lastAvailableFields = [], this.eventLog = new T(), this._sourceRefreshVersion = 1, this._displayRefreshVersion = 1, this._pipelineUpdating = !1, this._fields = null, this.featureEffectView = new ei();
|
|
1616
|
+
}
|
|
1617
|
+
destroy() {
|
|
1618
|
+
var i;
|
|
1619
|
+
(i = this._worker) == null || i.destroy(), this._commandsQueue.destroy();
|
|
1620
|
+
}
|
|
1621
|
+
initialize() {
|
|
1622
|
+
this.addResolvingPromise(this._initProxy()), this.featureEffectView.featureEffect = this.featureEffect, this.featureEffectView.endTransitions();
|
|
1623
|
+
}
|
|
1624
|
+
async _initProxy() {
|
|
1625
|
+
var t;
|
|
1626
|
+
const i = this.layer;
|
|
1627
|
+
if ("isTable" in i && i.isTable)
|
|
1628
|
+
throw new C("featurelayerview:table-not-supported", "table feature layer can't be displayed", { layer: i });
|
|
1629
|
+
if (i.geometryType === "mesh")
|
|
1630
|
+
throw new C("featurelayerview:geometry-type-not-supported", `Geometry type of ${i.geometryType} is not supported`, { layer: i });
|
|
1631
|
+
if ((i.type === "feature" || i.type === "subtype-group") && ((t = N(i)) == null ? void 0 : t.operations.supportsQuery) === !1)
|
|
1632
|
+
throw new C("featurelayerview:query-not-supported", "layer view requires a layer with query capability", { layer: i });
|
|
1633
|
+
this._worker && this._worker.destroy();
|
|
1634
|
+
const e = this._createClientOptions();
|
|
1635
|
+
this._worker = await ni(e);
|
|
1636
|
+
}
|
|
1637
|
+
get hasAllFeatures() {
|
|
1638
|
+
return this.layer.visible && this.eventLog.hasAllFeatures;
|
|
1639
|
+
}
|
|
1640
|
+
get hasAllFeaturesInView() {
|
|
1641
|
+
return this.layer.visible && this.eventLog.hasAllFeaturesInView;
|
|
1642
|
+
}
|
|
1643
|
+
get hasFullGeometries() {
|
|
1644
|
+
return this.layer.visible && this.eventLog.hasFullGeometries;
|
|
1645
|
+
}
|
|
1646
|
+
get labelingCollisionInfos() {
|
|
1647
|
+
const i = this.layerAdapter.getLabelingDeconflictionInfo(this.view), e = this.layer.geometryType, t = !this.suspended;
|
|
1648
|
+
return i.map(({ vvEvaluators: r, deconflictionEnabled: s }) => ({ container: this.featureContainer, vvEvaluators: r, deconflictionEnabled: s, geometryType: e, visible: t }));
|
|
1649
|
+
}
|
|
1650
|
+
get layerAdapter() {
|
|
1651
|
+
switch (this.layer.type) {
|
|
1652
|
+
case "feature":
|
|
1653
|
+
return this.layer.source.type === "memory" ? new Ze(this.layer) : new ji(this.layer);
|
|
1654
|
+
case "geojson":
|
|
1655
|
+
case "csv":
|
|
1656
|
+
case "wfs":
|
|
1657
|
+
return new Ze(this.layer);
|
|
1658
|
+
case "subtype-group":
|
|
1659
|
+
return new tr(this.layer);
|
|
1660
|
+
case "ogc-feature":
|
|
1661
|
+
return new Gi(this.layer);
|
|
1662
|
+
case "stream":
|
|
1663
|
+
return new Wi(this.layer);
|
|
1664
|
+
case "oriented-imagery":
|
|
1665
|
+
return new Ki(this.layer);
|
|
1666
|
+
case "knowledge-graph-sublayer":
|
|
1667
|
+
return new Qi(this.layer);
|
|
1668
|
+
case "catalog-footprint":
|
|
1669
|
+
return new Ji(this.layer);
|
|
1670
|
+
default:
|
|
1671
|
+
It(this.layer);
|
|
1672
|
+
}
|
|
1673
|
+
return null;
|
|
1674
|
+
}
|
|
1675
|
+
get updateHash() {
|
|
1676
|
+
if (!this.layerAdapter)
|
|
1677
|
+
return null;
|
|
1678
|
+
const { availableFields: i, _displayRefreshVersion: e, timeExtent: t, clips: r, filter: s, featureEffect: a, _sourceRefreshVersion: n, view: { timeZone: o } } = this, u = JSON.stringify(r), l = a == null ? void 0 : a.toJSON(), c = s == null ? void 0 : s.toJSON();
|
|
1679
|
+
return JSON.stringify({ availableFields: i, clipsHash: u, displayRefreshVersion: e, effectHash: l, filterHash: c, sourceRefreshVersion: n, timeExtent: t, timeZone: o, ...this.layerAdapter.getUpdateHashProperties(this.view) });
|
|
1680
|
+
}
|
|
1681
|
+
getDisplayStatistics(i, e) {
|
|
1682
|
+
var t;
|
|
1683
|
+
return (t = this.featureContainer) == null ? void 0 : t.getDisplayStatistics(i, e);
|
|
1684
|
+
}
|
|
1685
|
+
async queryHeatmapStatistics(i) {
|
|
1686
|
+
return this._worker.pipeline.queryHeatmapStatistics(i);
|
|
1687
|
+
}
|
|
1688
|
+
highlight(i, e = "highlight") {
|
|
1689
|
+
let t;
|
|
1690
|
+
i instanceof Ie ? t = [i.getObjectId()] : typeof i == "number" || typeof i == "string" ? t = [i] : xt.isCollection(i) && i.length > 0 ? t = i.map((s) => s == null ? void 0 : s.getObjectId()).toArray() : Array.isArray(i) && i.length > 0 && (t = typeof i[0] == "number" || typeof i[0] == "string" ? i : i.map((s) => s == null ? void 0 : s.getObjectId()));
|
|
1691
|
+
const r = t == null ? void 0 : t.filter(Et);
|
|
1692
|
+
return r != null && r.length ? (this._addHighlight(r, e), De(() => this._removeHighlight(r, e))) : De();
|
|
1693
|
+
}
|
|
1694
|
+
getHighlightIds() {
|
|
1695
|
+
return Array.from(this._highlightCounter.ids());
|
|
1696
|
+
}
|
|
1697
|
+
hasHighlight() {
|
|
1698
|
+
return !this._highlightCounter.empty;
|
|
1699
|
+
}
|
|
1700
|
+
async hitTest(i, e) {
|
|
1701
|
+
const t = await this.featureContainer.hitTest(e);
|
|
1702
|
+
if (t.length === 0)
|
|
1703
|
+
return null;
|
|
1704
|
+
const { features: r, aggregates: s } = await this._worker.pipeline.getDisplayFeatures(t), a = this.featureContainer.getSortKeys(t), n = ({ displayId: o }, { displayId: u }) => a.has(o) && a.has(u) ? a.get(o) - a.get(u) : o - u;
|
|
1705
|
+
return r.sort(n).reverse(), s.sort(n).reverse(), [...s.map((o) => this._createGraphicHit(i, $e.fromJSON(o))), ...r.map((o) => this._createGraphicHit(i, Ie.fromJSON(o)))];
|
|
1706
|
+
}
|
|
1707
|
+
queryStatistics() {
|
|
1708
|
+
return _(this._worker.pipeline.queryStatistics(), { featureCount: 0, ringCount: 0, vertexCount: 0 });
|
|
1709
|
+
}
|
|
1710
|
+
querySummaryStatistics(i, e, t) {
|
|
1711
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.features.executeQueryForSummaryStatistics(this._cleanUpQuery(i), r, t);
|
|
1712
|
+
return _(s, {});
|
|
1713
|
+
}
|
|
1714
|
+
async queryAggregateSummaryStatistics(i, e, t) {
|
|
1715
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.aggregates.executeQueryForSummaryStatistics(this._cleanUpAggregateQuery(i), r, t);
|
|
1716
|
+
return _(s, {});
|
|
1717
|
+
}
|
|
1718
|
+
async queryUniqueValues(i, e, t) {
|
|
1719
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.features.executeQueryForUniqueValues(this._cleanUpQuery(i), r, t);
|
|
1720
|
+
return _(s, { uniqueValueInfos: [] });
|
|
1721
|
+
}
|
|
1722
|
+
async queryAggregateUniqueValues(i, e, t) {
|
|
1723
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.aggregates.executeQueryForUniqueValues(this._cleanUpAggregateQuery(i), r, t);
|
|
1724
|
+
return _(s, { uniqueValueInfos: [] });
|
|
1725
|
+
}
|
|
1726
|
+
async queryClassBreaks(i, e, t) {
|
|
1727
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.features.executeQueryForClassBreaks(this._cleanUpQuery(i), r, t);
|
|
1728
|
+
return _(s, { classBreakInfos: [] });
|
|
1729
|
+
}
|
|
1730
|
+
async queryAggregateClassBreaks(i, e, t) {
|
|
1731
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.aggregates.executeQueryForClassBreaks(this._cleanUpAggregateQuery(i), r, t);
|
|
1732
|
+
return _(s, { classBreakInfos: [] });
|
|
1733
|
+
}
|
|
1734
|
+
async queryHistogram(i, e, t) {
|
|
1735
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.features.executeQueryForHistogram(this._cleanUpQuery(i), r, t);
|
|
1736
|
+
return _(s, { bins: [], maxValue: null, minValue: null, normalizationTotal: null });
|
|
1737
|
+
}
|
|
1738
|
+
async queryAggregateHistogram(i, e, t) {
|
|
1739
|
+
const r = { ...e, scale: this.view.scale }, s = this._worker.aggregates.executeQueryForHistogram(this._cleanUpAggregateQuery(i), r, t);
|
|
1740
|
+
return _(s, { bins: [], maxValue: null, minValue: null, normalizationTotal: null });
|
|
1741
|
+
}
|
|
1742
|
+
queryFeatures(i, e) {
|
|
1743
|
+
return this.queryFeaturesJSON(i, e).then((t) => {
|
|
1744
|
+
const r = Fe.fromJSON(t);
|
|
1745
|
+
return r.features.forEach((s) => this._setLayersForFeature(s)), r;
|
|
1746
|
+
});
|
|
1747
|
+
}
|
|
1748
|
+
async queryVisibleFeatures(i, e) {
|
|
1749
|
+
const t = this._worker.pipeline.queryVisibleFeatures(this._cleanUpQuery(i), e), r = await _(t, { features: [] }), s = Fe.fromJSON(r);
|
|
1750
|
+
return s.features.forEach((a) => this._setLayersForFeature(a)), s;
|
|
1751
|
+
}
|
|
1752
|
+
async queryAggregates(i, e) {
|
|
1753
|
+
const t = this._worker.aggregates.executeQuery(this._cleanUpAggregateQuery(i), e), r = await _(t, { features: [] }), s = ti.fromJSON(r);
|
|
1754
|
+
return s.features.forEach((a) => this._setLayersForFeature(a)), s;
|
|
1755
|
+
}
|
|
1756
|
+
queryAggregateIds(i, e) {
|
|
1757
|
+
const t = this._worker.aggregates.executeQueryForIds(this._cleanUpAggregateQuery(i), e);
|
|
1758
|
+
return _(t, []);
|
|
1759
|
+
}
|
|
1760
|
+
queryAggregateCount(i, e) {
|
|
1761
|
+
const t = this._worker.aggregates.executeQueryForCount(this._cleanUpAggregateQuery(i), e);
|
|
1762
|
+
return _(t, 0);
|
|
1763
|
+
}
|
|
1764
|
+
queryAggregateJSON(i, e) {
|
|
1765
|
+
const t = this._worker.aggregates.executeQuery(this._cleanUpAggregateQuery(i), e);
|
|
1766
|
+
return _(t, { features: [] });
|
|
1767
|
+
}
|
|
1768
|
+
async queryFeaturesJSON(i, e) {
|
|
1769
|
+
const t = this._worker.features.executeQuery(this._cleanUpQuery(i), e);
|
|
1770
|
+
return _(t, { features: [] });
|
|
1771
|
+
}
|
|
1772
|
+
queryObjectIds(i, e) {
|
|
1773
|
+
const t = this._worker.features.executeQueryForIds(this._cleanUpQuery(i), e);
|
|
1774
|
+
return _(t, []);
|
|
1775
|
+
}
|
|
1776
|
+
queryFeatureCount(i, e) {
|
|
1777
|
+
const t = this._worker.features.executeQueryForCount(this._cleanUpQuery(i), e);
|
|
1778
|
+
return _(t, 0);
|
|
1779
|
+
}
|
|
1780
|
+
async queryExtent(i, e) {
|
|
1781
|
+
const t = this._worker.features.executeQueryForExtent(this._cleanUpQuery(i), e), r = await _(t, { count: 0, extent: null });
|
|
1782
|
+
return { count: r.count, extent: Ft.fromJSON(r.extent) };
|
|
1783
|
+
}
|
|
1784
|
+
async getSampleFeatures(i) {
|
|
1785
|
+
return this._worker.pipeline.getSampleFeatures(i);
|
|
1786
|
+
}
|
|
1787
|
+
setVisibility(i, e) {
|
|
1788
|
+
e ? this._visibilityOverrides.delete(i) : this._visibilityOverrides.add(i), this._update();
|
|
1789
|
+
}
|
|
1790
|
+
update(i) {
|
|
1791
|
+
if (!this._subscriptionManager)
|
|
1792
|
+
return;
|
|
1793
|
+
const e = this._subscriptionManager.update(i);
|
|
1794
|
+
this.featureContainer.setVisibleTiles(e);
|
|
1795
|
+
}
|
|
1796
|
+
attach() {
|
|
1797
|
+
g("esri-2d-update-debug") && console.debug("FeatureLayerView2D.attach"), this.featureContainer = new ai(this), this.container.addChild(this.featureContainer), this.view.timeline.record(`${this.layer.title} (FeatureLayer) Attach`), this._subscriptionManager = new sr({ tileInfoView: this.view.featuresTilingScheme, updateSubscriptions: (i) => {
|
|
1798
|
+
this.featureContainer.updateSubscriptions(i), this._worker.pipeline.updateSubscriptions(i);
|
|
1799
|
+
}, isDone: (i) => this.featureContainer.isDone(i) }), this.requestUpdate(), this.addAttachHandles([Ee(() => this.updateHash, () => this._update(), Rt), Ee(() => this.updateSuspended, (i) => {
|
|
1800
|
+
i || this._subscriptionManager.resume();
|
|
1801
|
+
})]), this.layer.type !== "stream" && this.layer.type !== "catalog-footprint" && this.addAttachHandles(this.layer.on("edits", (i) => this._edit(i)));
|
|
1802
|
+
}
|
|
1803
|
+
detach() {
|
|
1804
|
+
g("esri-2d-update-debug") && console.debug("FeatureLayerView2D.detach"), this._fields = null, this.featureContainer.destroy(), this._commandsQueue.clear(), this.container.removeAllChildren(), this._subscriptionManager = Ot(this._subscriptionManager), this._worker.pipeline.onDetach();
|
|
1805
|
+
}
|
|
1806
|
+
moveStart() {
|
|
1807
|
+
this.requestUpdate();
|
|
1808
|
+
}
|
|
1809
|
+
viewChange() {
|
|
1810
|
+
this.requestUpdate();
|
|
1811
|
+
}
|
|
1812
|
+
moveEnd() {
|
|
1813
|
+
this.requestUpdate();
|
|
1814
|
+
}
|
|
1815
|
+
isUpdating() {
|
|
1816
|
+
const i = "renderer" in this.layer && this.layer.renderer != null, e = this._commandsQueue.updateTracking.updating, t = this._updatingRequiredFieldsPromise != null, r = this.featureContainer.updatingHandles.updating, s = i && (e || t) || r || this._pipelineUpdating || this.dataUpdating;
|
|
1817
|
+
if (g("esri-2d-log-updating")) {
|
|
1818
|
+
console.log(`Updating FLV2D (${this.layer.id}): ${s}
|
|
1819
|
+
-> hasRenderer ${i}
|
|
1820
|
+
-> updatingRequiredFields ${t}
|
|
1821
|
+
-> hasPendingCommand ${e}
|
|
1822
|
+
-> dataUpdating ${this.dataUpdating}
|
|
1823
|
+
-> processing ${this._pipelineUpdating}
|
|
1824
|
+
-> updatingContainer ${r}
|
|
1825
|
+
`);
|
|
1826
|
+
for (const a of this.featureContainer.subscriptions())
|
|
1827
|
+
console.log(` -> Tile[${a.id}] Done: ${a.done}`);
|
|
1828
|
+
}
|
|
1829
|
+
return s;
|
|
1830
|
+
}
|
|
1831
|
+
_createClientOptions() {
|
|
1832
|
+
const i = this;
|
|
1833
|
+
return { get container() {
|
|
1834
|
+
return i.featureContainer;
|
|
1835
|
+
}, setUpdating: (e) => {
|
|
1836
|
+
this._set("_pipelineUpdating", e.pipeline), this._set("dataUpdating", e.data);
|
|
1837
|
+
}, emitEvent: (e) => {
|
|
1838
|
+
this.emit(e.name, e.event);
|
|
1839
|
+
}, get eventLog() {
|
|
1840
|
+
return i.eventLog;
|
|
1841
|
+
}, fetch: (e) => Promise.all(e.map((t) => i.view.stage.painter.textureManager.rasterizeItem(t))), fetchDictionary: (e) => Promise.all(e.map((t) => this._fetchDictionaryRequest(t))) };
|
|
1842
|
+
}
|
|
1843
|
+
async _fetchDictionaryRequest(i) {
|
|
1844
|
+
try {
|
|
1845
|
+
if (this.layer.type === "subtype-group")
|
|
1846
|
+
throw new Error("InternalError: SubtypeGroupLayer does not support dictionary renderer");
|
|
1847
|
+
const e = this.layer.renderer;
|
|
1848
|
+
if (!e || e.type !== "dictionary")
|
|
1849
|
+
throw new Error("InternalError: Expected layer to have a DictionaryRenderer");
|
|
1850
|
+
const t = this._lastSchema.processor.mesh.factory.symbology;
|
|
1851
|
+
if (t.type !== "dictionary")
|
|
1852
|
+
throw new Error("InternalError: Expected schema to be of type 'dictionary'");
|
|
1853
|
+
const r = { cimAnalyzer: this.view.stage.cimAnalyzer, cimResourceManager: this.view.stage.painter.textureManager.resourceManager, store: this.featureContainer.instanceStore, scaleExpression: t.scaleExpression };
|
|
1854
|
+
this._fields || (this._fields = this.layer.fields.map((n) => n.toJSON()));
|
|
1855
|
+
const s = t.visualVariableUniforms, a = await e.getSymbolAsync(i.feature, { fields: this._fields });
|
|
1856
|
+
return !a || !a.data ? { type: "dictionary-response", meshes: [] } : { type: "dictionary-response", meshes: await me(a.data, { uniforms: s, path: "renderer", schemaOptions: r }) };
|
|
1857
|
+
} catch {
|
|
1858
|
+
return { type: "dictionary-response", meshes: [] };
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
_cleanUpQuery(i) {
|
|
1862
|
+
const e = ye.from(i) || this.createQuery();
|
|
1863
|
+
return e.outSpatialReference || (e.outSpatialReference = this.view.spatialReference), e.toJSON();
|
|
1864
|
+
}
|
|
1865
|
+
_cleanUpAggregateQuery(i) {
|
|
1866
|
+
const e = ye.from(i) || this.createAggregateQuery();
|
|
1867
|
+
e.outSpatialReference || (e.outSpatialReference = this.view.spatialReference);
|
|
1868
|
+
const t = e.objectIds ?? [];
|
|
1869
|
+
for (const r of e.aggregateIds ?? [])
|
|
1870
|
+
t.push(r);
|
|
1871
|
+
return e.objectIds = t, e.aggregateIds = [], e.toJSON();
|
|
1872
|
+
}
|
|
1873
|
+
async _update() {
|
|
1874
|
+
return this._commandsQueue.push({ type: "update" });
|
|
1875
|
+
}
|
|
1876
|
+
async _edit(i) {
|
|
1877
|
+
return this.updateSuspended ? void this._subscriptionManager.suspend() : this._validateEdit(i) ? this._commandsQueue.push({ type: "edit", edits: i }).catch($t) : void 0;
|
|
1878
|
+
}
|
|
1879
|
+
async doRefresh(i) {
|
|
1880
|
+
this.attached && (this.updateSuspended && i || (i ? this.incrementSourceRefreshVersion() : this.incrementDisplayRefreshVersion()));
|
|
1881
|
+
}
|
|
1882
|
+
incrementSourceRefreshVersion() {
|
|
1883
|
+
this._sourceRefreshVersion = (this._sourceRefreshVersion + 1) % Xe + 1;
|
|
1884
|
+
}
|
|
1885
|
+
incrementDisplayRefreshVersion() {
|
|
1886
|
+
this._displayRefreshVersion = (this._displayRefreshVersion + 1) % Xe + 1;
|
|
1887
|
+
}
|
|
1888
|
+
_validateEdit(i) {
|
|
1889
|
+
const e = "globalIdField" in this.layer && this.layer.globalIdField, t = i.deletedFeatures.some((s) => s.objectId === -1 || !s.objectId), r = e && this.availableFields.includes(e);
|
|
1890
|
+
return t && !r ? (q.getLogger(this).error(new C("mapview-apply-edits", `Editing the specified service requires the layer's globalIdField, ${e} to be included the layer's outFields for updates to be reflected on the map`)), null) : i;
|
|
1891
|
+
}
|
|
1892
|
+
async _doUpdate() {
|
|
1893
|
+
var i, e, t, r;
|
|
1894
|
+
"featureReduction" in this.layer && this.layer.featureReduction && this.layer.featureReduction !== this._lastFeatureReduction && (this.layer.featureReduction = (i = this.layer.featureReduction) == null ? void 0 : i.clone(), this._lastFeatureReduction = this.layer.featureReduction);
|
|
1895
|
+
try {
|
|
1896
|
+
if (await this._updateRequiredFields(), this.destroyed || !((e = this.layerAdapter) != null && e.hasRequiredSupport) || !this._subscriptionManager)
|
|
1897
|
+
return;
|
|
1898
|
+
const s = this.featureContainer.instanceStore;
|
|
1899
|
+
this.featureContainer.attributeView.lockTextureUploads(), s.updateStart();
|
|
1900
|
+
const a = this.featureEffect, n = { store: s, cimAnalyzer: this.view.stage.cimAnalyzer, cimResourceManager: this.view.stage.painter.textureManager.resourceManager, scaleExpression: void 0 }, o = await this.layerAdapter.createServiceOptions(this.view), u = this._createViewSchemaConfig(), l = { source: this.layerAdapter.createSourceSchema(o, u, this._sourceRefreshVersion), processor: await this.layerAdapter.createProcessorSchema(n, u, this._displayRefreshVersion) }, c = !!je((t = this._lastSchema) == null ? void 0 : t.source.mutable, l.source.mutable) || !!je((r = this._lastSchema) == null ? void 0 : r.processor, l.processor);
|
|
1901
|
+
if (!c)
|
|
1902
|
+
return this.featureContainer.requestRender(), this.featureContainer.attributeView.unlockTextureUploads(), s.updateEnd(), void (this.featureEffectView.featureEffect = a);
|
|
1903
|
+
this._lastSchema = l, this._fields = null;
|
|
1904
|
+
const d = Math.round(performance.now());
|
|
1905
|
+
g("esri-2d-update-debug") && console.debug(`Id[${this.layer.uid}] Version[${d}] FeatureLayerView2D._doUpdate`, { changes: c });
|
|
1906
|
+
let p = [];
|
|
1907
|
+
Array.isArray(o.source) && (p = o.source), await this._worker.pipeline.updateSchema(l, d, { transferList: p }), s.updateEnd(), this.featureEffectView.featureEffect = a, this.featureEffectView.endTransitions(), this.featureContainer.attributeView.unlockTextureUploads(), this.featureContainer.swapRenderState(), this.featureContainer.requestRender(), g("esri-2d-update-debug") && console.debug(`Version[${d}] FeatureLayerView2D.updateEnd`), this.requestUpdate();
|
|
1908
|
+
} catch (s) {
|
|
1909
|
+
g("esri-2d-update-debug") && console.error("Encountered an error during update", s);
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
async _doEdit(i) {
|
|
1913
|
+
try {
|
|
1914
|
+
this.featureContainer.editStart(), await this._worker.pipeline.onEdits(i), this.featureContainer.editEnd();
|
|
1915
|
+
} catch (e) {
|
|
1916
|
+
_e(e);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
get hasFilter() {
|
|
1920
|
+
var e, t;
|
|
1921
|
+
const i = ((t = (e = this.layerAdapter).hasFilters) == null ? void 0 : t.call(e, this.view)) ?? !1;
|
|
1922
|
+
return this.filter != null || this.timeExtent != null || this._visibilityOverrides.size > 0 || i;
|
|
1923
|
+
}
|
|
1924
|
+
_getEffectiveAvailableFields(i) {
|
|
1925
|
+
const e = nr(this._lastAvailableFields, i);
|
|
1926
|
+
return this._lastAvailableFields = e, zt(this.layer.fieldsIndex, e);
|
|
1927
|
+
}
|
|
1928
|
+
_createViewSchemaConfig() {
|
|
1929
|
+
var e, t;
|
|
1930
|
+
const i = [or(this.view, this.layerAdapter, this.timeExtent, this._visibilityOverrides, this.filter), ((t = (e = this.featureEffect) == null ? void 0 : e.filter) == null ? void 0 : t.toJSON()) ?? null];
|
|
1931
|
+
return { availableFields: this._getEffectiveAvailableFields(this.availableFields), filters: i, outSpatialReference: this.view.spatialReference, tileInfoJSON: this.view.featuresTilingScheme.tileInfo.toJSON(), scale: this.view.scale, timeZone: this.view.timeZone };
|
|
1932
|
+
}
|
|
1933
|
+
_addHighlight(i, e) {
|
|
1934
|
+
this._highlightCounter.addReason(i, e), this._updateHighlight().catch((t) => {
|
|
1935
|
+
_e(t) || q.getLogger(this).error(t);
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1938
|
+
_removeHighlight(i, e) {
|
|
1939
|
+
this._highlightCounter.deleteReason(i, e), this._updateHighlight().catch((t) => {
|
|
1940
|
+
_e(t) || q.getLogger(this).error(t);
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
_setLayersForFeature(i) {
|
|
1944
|
+
i.layer = i.sourceLayer = this.layer, this.layerAdapter.setGraphicOrigin && this.layerAdapter.setGraphicOrigin(i);
|
|
1945
|
+
}
|
|
1946
|
+
_createGraphicHit(i, e) {
|
|
1947
|
+
return this._setLayersForFeature(e), e.geometry != null && (e.geometry.spatialReference = this.view.spatialReference), { type: "graphic", graphic: e, layer: this.layer, mapPoint: i };
|
|
1948
|
+
}
|
|
1949
|
+
};
|
|
1950
|
+
function or(i, e, t, r, s) {
|
|
1951
|
+
var u;
|
|
1952
|
+
s && (s = s.clone());
|
|
1953
|
+
const a = s != null ? s.timeExtent : null, n = t != null && a != null ? t.intersection(a) : t || a;
|
|
1954
|
+
n && (s ?? (s = new te()), s.timeExtent = n), s = ((u = e.addFilters) == null ? void 0 : u.call(e, s, i)) ?? s;
|
|
1955
|
+
let o = (s == null ? void 0 : s.toJSON()) ?? null;
|
|
1956
|
+
return r.size && (o ?? (o = new te().toJSON()), o.hiddenIds = Array.from(r)), o;
|
|
1957
|
+
}
|
|
1958
|
+
h([f()], I.prototype, "_worker", void 0), h([f()], I.prototype, "_commandsQueue", void 0), h([f()], I.prototype, "_sourceRefreshVersion", void 0), h([f()], I.prototype, "_displayRefreshVersion", void 0), h([f({ readOnly: !0 })], I.prototype, "_pipelineUpdating", void 0), h([f({ readOnly: !0 })], I.prototype, "hasAllFeatures", null), h([f({ readOnly: !0 })], I.prototype, "hasAllFeaturesInView", null), h([f({ readOnly: !0 })], I.prototype, "hasFullGeometries", null), h([f()], I.prototype, "featureEffectView", void 0), h([f()], I.prototype, "labelingCollisionInfos", null), h([f()], I.prototype, "layerAdapter", null), h([f()], I.prototype, "updateHash", null), h([f()], I.prototype, "updating", void 0), I = h([W(lr)], I);
|
|
1959
|
+
const ur = I, Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1960
|
+
__proto__: null,
|
|
1961
|
+
default: ur
|
|
1962
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1963
|
+
export {
|
|
1964
|
+
Zr as F,
|
|
1965
|
+
ur as X,
|
|
1966
|
+
_ as n
|
|
1967
|
+
};
|