@agrotools1/at-components 0.3.2 → 0.3.3
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-0a4e0426.js +109 -0
- package/dist/APIKeyMixin-83e85532.js +19 -0
- package/dist/Analysis-c4011253.js +31 -0
- package/dist/ArcGISCachedService-1c6af1c1.js +47 -0
- package/dist/ArcGISService-1d880889.js +25 -0
- package/dist/AreaMeasurement2D-86006a71.js +405 -0
- package/dist/AreaMeasurement3D-1825243c.js +488 -0
- package/dist/AttachmentInfo-fa04c641.js +34 -0
- package/dist/AttachmentQuery-1450c2f7.js +18 -0
- package/dist/AttributeStore-02f947ea.js +1707 -0
- package/dist/BaseDynamicLayerView2D-eb11c757.js +63 -0
- package/dist/BingMapsLayer-7ad7d511.js +112 -0
- package/dist/Bitmap-14a020d8.js +128 -0
- package/dist/BitmapContainer-cc71fd24.js +23 -0
- package/dist/BlendLayer-e2f97659.js +13 -0
- package/dist/BoundsStore-8612892f.js +63 -0
- package/dist/BufferObject-bd932c2c.js +100 -0
- package/dist/BufferView-97ed14c7.js +683 -0
- package/dist/BuildingSceneLayer-3f5380c8.js +535 -0
- package/dist/Button-15031955.js +36 -0
- package/dist/CSVLayer-a76db6f4.js +208 -0
- package/dist/CSVSourceWorker-afe160ed.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-be946494.js +66 -0
- package/dist/CatalogFootprintLayerView2D-14763204.js +76 -0
- package/dist/CatalogLayer-7d6228dd.js +262 -0
- package/dist/CatalogLayerView2D-13e32a42.js +52 -0
- package/dist/ClassBreaksDefinition-7040a7fc.js +18 -0
- package/dist/ColorMaterial.glsl-e56765f1.js +64 -0
- package/dist/ColorSet-4ff0a7b7.js +45 -0
- package/dist/ColorStop-1e154045.js +29 -0
- package/dist/Container-6e3b610b.js +521 -0
- package/dist/CustomParametersMixin-c01280c0.js +12 -0
- package/dist/DefaultMaterial.glsl-e7e23b90.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-7fd21704.js +653 -0
- package/dist/DefaultTheme-3c5b433f.js +130 -0
- package/dist/DeleteForwardEditsParameters-7073c5e5.js +18 -0
- package/dist/DimensionLayer-f921dd3d.js +129 -0
- package/dist/DirectLineMeasurement3D-61d14af2.js +449 -0
- package/dist/DistanceMeasurement2D-b023b35c.js +303 -0
- package/dist/DoubleArray-1186b8b8.js +25 -0
- package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +59 -10
- package/dist/Dropdown/Checklist/draggable.d.ts +5 -4
- package/dist/Dropdown/Dropdown.core.d.ts +0 -13
- package/dist/Dropdown/Dropdown.types.d.ts +16 -0
- package/dist/Dropdown/Filter/Filter.types.d.ts +17 -0
- package/dist/Dropdown/Filter/test.mocks.d.ts +2 -2
- package/dist/Dropdown/List/Dropdown.List.d.ts +6 -21
- package/dist/Dropdown/List/List.types.d.ts +11 -0
- package/dist/Dropdown/List/test.mocks.d.ts +1 -1
- package/dist/EdgeProcessingWorker-cb6277ad.js +63 -0
- package/dist/EditBusLayer-9d740f8f.js +107 -0
- package/dist/ElevationInfo-581ff99d.js +56 -0
- package/dist/ElevationLayer-42b57d9b.js +129 -0
- package/dist/ElevationQuery-f6d0cf9f.js +598 -0
- package/dist/ElevationSamplerWorker-50d805bb.js +62 -0
- package/dist/ExportImageParameters-5b047f92.js +66 -0
- package/dist/ExportStrategy-b6c54d77.js +93 -0
- package/dist/ExportWMSImageParameters-ff5a3ac8.js +33 -0
- package/dist/External-695a389a.js +110 -0
- package/dist/FeatureCollectionSnappingSource-fdaed9e0.js +130 -0
- package/dist/FeatureCommandQueue-c2bd1a39.js +1244 -0
- package/dist/FeatureEffect-9ea1b3da.js +39 -0
- package/dist/FeatureEffectLayer-0fa169c4.js +13 -0
- package/dist/FeatureFilter-638c4cae.js +27 -0
- package/dist/FeatureLayer-2a419d3e.js +693 -0
- package/dist/FeatureLayerBase-7331e738.js +148 -0
- package/dist/FeatureLayerSource-733186fb.js +444 -0
- package/dist/FeatureLayerView2D-bc4994b6.js +1967 -0
- package/dist/FeaturePipelineWorker-5f68488c.js +3633 -0
- package/dist/FeatureReductionLayer-0c152478.js +225 -0
- package/dist/FeatureReductionSelection-f952512d.js +22 -0
- package/dist/FeatureServiceSnappingSource-4c02d5a3.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-c2a1dc50.js +747 -0
- package/dist/FeatureSet-2c6b8e00.js +188 -0
- package/dist/FeatureStore-a26846c0.js +131 -0
- package/dist/FeatureTemplate-1b6b7e2d.js +12 -0
- package/dist/FeatureType-9e1f1a7d.js +25 -0
- package/dist/FieldsIndex-91711836.js +109 -0
- package/dist/FormTemplate-ae0cfb6e.js +350 -0
- package/dist/GeoJSONLayer-b2070c34.js +236 -0
- package/dist/GeoJSONSourceWorker-aecb5f9b.js +247 -0
- package/dist/GeoRSSLayer-3743b41f.js +73 -0
- package/dist/GeoRSSLayerView2D-098c24bc.js +140 -0
- package/dist/GeometryUtils-036c7f22.js +403 -0
- package/dist/GraphicContainer-ece3945e.js +26 -0
- package/dist/GraphicManipulator-bc92899f.js +1499 -0
- package/dist/GraphicsLayer-764f0324.js +38 -0
- package/dist/GraphicsLayerView2D-36908d0c.js +114 -0
- package/dist/GraphicsSnappingSource-2bb681c0.js +273 -0
- package/dist/GraphicsView2D-e9cf5cd6.js +620 -0
- package/dist/GroupLayer-5ea5b71b.js +147 -0
- package/dist/GroupLayerView2D-22ec9eaa.js +98 -0
- package/dist/HUDMaterial.glsl-80ab7d22.js +65 -0
- package/dist/HighlightCounter-36842e52.js +41 -0
- package/dist/HighlightGraphicContainer-10cb9671.js +18 -0
- package/dist/I3SBinaryReader-9dbdc661.js +310 -0
- package/dist/I3SLayerDefinitions-b56e2c87.js +55 -0
- package/dist/I3SUtil-5461dc89.js +59 -0
- package/dist/IdentityManager-bb063156.js +899 -0
- package/dist/ImageHistogramParameters-1f8e5179.js +905 -0
- package/dist/ImageryLayer-a807d3b3.js +1799 -0
- package/dist/ImageryLayerView2D-358a3267.js +352 -0
- package/dist/ImageryTileLayer-0f67f262.js +2157 -0
- package/dist/ImageryTileLayerView2D-2bc2bb67.js +1110 -0
- package/dist/Indices-0c5304f2.js +67 -0
- package/dist/IntegratedMesh3DTilesLayer-be69dca8.js +112 -0
- package/dist/IntegratedMeshLayer-3c070523.js +141 -0
- package/dist/InteractiveAnalysisViewModel-3005a4a6.js +7397 -0
- package/dist/InterleavedLayout-d37b99a2.js +163 -0
- package/dist/KMLLayer-2011c3c6.js +162 -0
- package/dist/KMLLayerView2D-5d17145f.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-7172b91b.js +43 -0
- package/dist/LRUCache-39211cf9.js +32 -0
- package/dist/LabelClass-d1080628.js +135 -0
- package/dist/LabelMetric-ab56c6b3.js +400 -0
- package/dist/LaserlinePath.glsl-df8f92cc.js +64 -0
- package/dist/Laserlines.glsl-f7d93e3f.js +65 -0
- package/dist/LayerFloorInfo-3edeb9a2.js +15 -0
- package/dist/LayerView-1c58c8c6.js +206 -0
- package/dist/LercWorker-c7a2aca1.js +157 -0
- package/dist/LineOfSightLayer-3028e21f.js +147 -0
- package/dist/LinkChartLayer-988ae660.js +1027 -0
- package/dist/Lyr3DWorker-4c8c758f.js +82 -0
- package/dist/MagnifierPrograms-123961a3.js +806 -0
- package/dist/MapImageLayer-9241ad63.js +169 -0
- package/dist/MapImageLayerView2D-726e5c66.js +146 -0
- package/dist/MapNotesLayer-2d2db99b.js +283 -0
- package/dist/MapNotesLayerView2D-41f5790c.js +161 -0
- package/dist/MapServiceLayerViewHelper-8f5228ec.js +288 -0
- package/dist/MeasurementWidgetContent-504fd868.js +2642 -0
- package/dist/MediaLayer-e71ce661.js +523 -0
- package/dist/MediaLayerView2D-33c67404.js +332 -0
- package/dist/MemCache-413327b3.js +227 -0
- package/dist/MemorySourceWorker-b0e70dd0.js +222 -0
- package/dist/Mesh-98c4e050.js +980 -0
- package/dist/MeshLocalVertexSpace-7a7e4d4e.js +19 -0
- package/dist/MultiOriginJSONSupport-2fca3cc5.js +158 -0
- package/dist/OGCFeatureLayer-451fbd45.js +211 -0
- package/dist/OGCFeatureLayerView2D-d23b08d2.js +82 -0
- package/dist/ObjectStack-742b2ff3.js +21 -0
- package/dist/Octree-a3c8e90e.js +495 -0
- package/dist/OpenStreetMapLayer-9bb91f97.js +30 -0
- package/dist/OperationalLayer-fbfada66.js +44 -0
- package/dist/OrderByInfo-335eb561.js +16 -0
- package/dist/OrderedLayer-29b4ac64.js +26 -0
- package/dist/OrientedImageryLayer-aa2498e2.js +216 -0
- package/dist/OverlayCompositing.glsl-4b1e83c2.js +65 -0
- package/dist/OverrideHelper-74cc3959.js +242 -0
- package/dist/PBFDecoderWorker-fd40e0f9.js +213 -0
- package/dist/PointCloudLayer-64cdbbb2.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-db9b3a98.js +115 -0
- package/dist/PointCloudWorker-a5eb5224.js +212 -0
- package/dist/PooledRBush-be6fe17a.js +272 -0
- package/dist/Popup-db250fe6.js +3990 -0
- package/dist/PortalLayer-a6ce110e.js +126 -0
- package/dist/Program-ecabc523.js +694 -0
- package/dist/ProgramTemplate-e5ce3b0f.js +35 -0
- package/dist/QueryEngine-87b2546b.js +896 -0
- package/dist/QueryTask-36400ec7.js +119 -0
- package/dist/RasterSymbolizer-cfd47847.js +3024 -0
- package/dist/RasterVFDisplayObject-d4c967ea.js +581 -0
- package/dist/RasterWorker-068ae23a.js +78 -0
- package/dist/RawBlockCache-9e8d4c35.js +185 -0
- package/dist/RealisticTree.glsl-adab8e44.js +42 -0
- package/dist/RefreshableLayer-eec34ca2.js +80 -0
- package/dist/RefreshableLayerView-ee06f08c.js +16 -0
- package/dist/Relationship-a7eb5489.js +64 -0
- package/dist/RelationshipQuery-4551bb04.js +22 -0
- package/dist/RenderingContext-9e8fac0d.js +889 -0
- package/dist/RibbonLine.glsl-5990bf5f.js +65 -0
- package/dist/RouteLayer-858bc482.js +786 -0
- package/dist/RouteLayerView2D-a70d519f.js +195 -0
- package/dist/SDFHelper-efca0a53.js +140 -0
- package/dist/SSAO.glsl-7670c1fc.js +43 -0
- package/dist/SSAOBlur.glsl-3523d6af.js +42 -0
- package/dist/ScaleRangeLayer-7f440b85.js +21 -0
- package/dist/SceneLayer-999bd23f.js +542 -0
- package/dist/SceneLayerSnappingSource-9420aaed.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-be67e552.js +112 -0
- package/dist/SceneLayerWorker-201939c2.js +164 -0
- package/dist/SceneService-318eff2f.js +215 -0
- package/dist/Scheduler-279ea0c3.js +373 -0
- package/dist/Search/Search.d.ts +1 -1
- package/dist/Search/test.mocks.d.ts +1 -1
- package/dist/Search/utils.d.ts +1 -1
- package/dist/Select/Select.core.d.ts +1 -1
- package/dist/Select/Single/Select.single.d.ts +1 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/ShadedColorMaterial.glsl-bd2979d8.js +64 -0
- package/dist/SnappingOperation-5100da71.js +48 -0
- package/dist/SourceLayerData-50c2b980.js +116 -0
- package/dist/SpatialFilter-b6c6b2fc.js +1701 -0
- package/dist/Stop-196981da.js +281 -0
- package/dist/StreamLayer-37b818b8.js +188 -0
- package/dist/StreamLayerView2D-7f0f45bc.js +164 -0
- package/dist/StyleRepository-4e8fa398.js +2212 -0
- package/dist/SublayersOwner-90d10612.js +545 -0
- package/dist/SubtypeGroupLayer-959cabf8.js +514 -0
- package/dist/SubtypeGroupLayerView2D-95e63b42.js +84 -0
- package/dist/TableConfig/TableConfig.d.ts +14 -6
- package/dist/TableConfig/test/mocks.d.ts +1 -1
- package/dist/TechniqueInstance-bd190c26.js +233 -0
- package/dist/TemporalLayer-aacda167.js +23 -0
- package/dist/Texture-3618be49.js +501 -0
- package/dist/TextureOnly.glsl-fcca7034.js +65 -0
- package/dist/Theme-85608a9a.js +3426 -0
- package/dist/Tick-79e96104.js +723 -0
- package/dist/TileContainer-f1e7edd8.js +31 -0
- package/dist/TileInfoTilemapCache-2f882821.js +38 -0
- package/dist/TileLayer-db13a237.js +194 -0
- package/dist/TileLayerView2D-15af6be4.js +187 -0
- package/dist/TilemapCache-fc4b2c6c.js +189 -0
- package/dist/TimeInfo-39a9d4e1.js +42 -0
- package/dist/TimeOnly-b759457a.js +706 -0
- package/dist/Toggle/Toggle.d.ts +9 -0
- package/dist/Tooltip-0ba72b27.js +138 -0
- package/dist/TopFeaturesQuery-a11ecc39.js +32 -0
- package/dist/TurboLine-5e62d290.js +565 -0
- package/dist/UniqueValueRenderer-bf2f3234.js +1039 -0
- package/dist/UnknownLayer-2cf71578.js +30 -0
- package/dist/UnknownTimeZone-aabdcf56.js +15 -0
- package/dist/UnsupportedLayer-36650e4a.js +31 -0
- package/dist/UpdateTracking2D-b6d16b0c.js +8566 -0
- package/dist/Util-8f54c96b.js +57 -0
- package/dist/VectorTileLayer-ddcca4ec.js +544 -0
- package/dist/VectorTileLayerView2D-8176946a.js +2108 -0
- package/dist/Version-9eb299cd.js +33 -0
- package/dist/VertexArrayObject-d1a4262b.js +73 -0
- package/dist/VertexColor.glsl-fd9f70e0.js +2683 -0
- package/dist/VertexSnappingCandidate-70513010.js +13 -0
- package/dist/VideoLayerView2D-e08e1d57.js +124 -0
- package/dist/VoxelLayer-959702aa.js +631 -0
- package/dist/WFSLayer-4a41b206.js +221 -0
- package/dist/WFSSourceWorker-53d88982.js +157 -0
- package/dist/WGLContainer-e9e8616e.js +5426 -0
- package/dist/WMSLayer-8e44f55c.js +536 -0
- package/dist/WMSLayerView2D-415a1793.js +117 -0
- package/dist/WMTSLayer-804f4bed.js +531 -0
- package/dist/WMTSLayerView2D-96186a90.js +142 -0
- package/dist/WebTileLayer-7391ea01.js +110 -0
- package/dist/WhereClause-1816217e.js +2766 -0
- package/dist/WorkerHandle-25f67c67.js +47 -0
- package/dist/WorkerTileHandler-a7e508bc.js +1539 -0
- package/dist/action-3ce81e45.js +198 -0
- package/dist/action-group-f2d26c2b.js +145 -0
- package/dist/action-menu-015d91ab.js +1759 -0
- package/dist/apng-e5532475.js +392 -0
- package/dist/arcade-dbe2ca4a.js +229 -0
- package/dist/arcadeAsyncRuntime-78b83b41.js +943 -0
- package/dist/arcadeUtils-cb1066a6.js +8741 -0
- package/dist/arcgis-knowledge-client-core-7379d99e.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-ea8b4d20.js +1218 -0
- package/dist/arcgisLayers-cd3494fd.js +152 -0
- package/dist/associatedFeatureServiceUtils-da8d377d.js +92 -0
- package/dist/axisAngleDegrees-19922758.js +49 -0
- package/dist/basis_transcoder-bf0490cc.js +1248 -0
- package/dist/calcite-action-0db4f61c.js +22 -0
- package/dist/calcite-action-bar-1b4c89cb.js +303 -0
- package/dist/calcite-action-group-3c8a934c.js +28 -0
- package/dist/calcite-button-1079a10c.js +228 -0
- package/dist/calcite-flow-c1e71a12.js +128 -0
- package/dist/calcite-flow-item-1097b48f.js +499 -0
- package/dist/calcite-icon-c88b4a67.js +16 -0
- package/dist/calcite-input-8c33ee84.js +24 -0
- package/dist/calcite-label-7fbfbe36.js +79 -0
- package/dist/calcite-list-93af4ae2.js +2135 -0
- package/dist/calcite-list-item-f0a6cda3.js +576 -0
- package/dist/calcite-list-item-group-107a313e.js +71 -0
- package/dist/calcite-loader-5194bf83.js +14 -0
- package/dist/calcite-modal-486280cc.js +333 -0
- package/dist/calcite-notice-a81274a8.js +181 -0
- package/dist/calcite-option-0020a955.js +94 -0
- package/dist/calcite-scrim-27d65e7f.js +18 -0
- package/dist/calcite-select-05f25c2a.js +231 -0
- package/dist/capabilities-238bde7d.js +50 -0
- package/dist/chartCommon-7eda170a.js +256 -0
- package/dist/chartUtilsAm5-fd8aeac2.js +2954 -0
- package/dist/clientSideDefaults-b91506af.js +39 -0
- package/dist/colorRamps-6027ea73.js +38 -0
- package/dist/colorUtils-3dd4b884.js +164 -0
- package/dist/commonProperties-bf4d305f.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-ca5a9439.js +60 -0
- package/dist/conditionalSlot-80a4c6ff.js +27 -0
- package/dist/createConnection-70dd787a.js +299 -0
- package/dist/dataUtils-b632d3a2.js +1421 -0
- package/dist/deduplicate-e13aa9e2.js +89 -0
- package/dist/defaults-40a1a995.js +31 -0
- package/dist/deleteForwardEdits-b0182a08.js +13 -0
- package/dist/diffUtils-5f43e52a.js +90 -0
- package/dist/drapedUtils-416e5304.js +75 -0
- package/dist/earcut-235aa57d.js +292 -0
- package/dist/edgeProcessing-43d45a32.js +252 -0
- package/dist/editingSupport-7706f838.js +203 -0
- package/dist/editsZScale-49d8a8cd.js +37 -0
- package/dist/elevationInfoUtils-3fbfcf1f.js +126 -0
- package/dist/executeForIds-419ba6a3.js +14 -0
- package/dist/executeForTopCount-8a8ba5c7.js +17 -0
- package/dist/executeForTopExtents-9f24d5d0.js +17 -0
- package/dist/executeForTopIds-0bfdb55f.js +17 -0
- package/dist/executeQueryJSON-2a2e9e1b.js +15 -0
- package/dist/executeQueryPBF-f10de9ec.js +152 -0
- package/dist/executeRelationshipQuery-0680cb30.js +53 -0
- package/dist/executeTopFeaturesQuery-c553d696.js +18 -0
- package/dist/featureConversionUtils-83783887.js +479 -0
- package/dist/featureLayerUtils-545d260a.js +250 -0
- package/dist/featureLayerUtils-b18e6016.js +142 -0
- package/dist/featureSetUtils-0c7ba073.js +2530 -0
- package/dist/featuresetbase-aadfabb3.js +707 -0
- package/dist/featuresetgeom-a405018e.js +99 -0
- package/dist/featuresetstats-f6602402.js +81 -0
- package/dist/featuresetstring-834ea865.js +95 -0
- package/dist/fetchService-dac740ef.js +33 -0
- package/dist/fieldProperties-b024e721.js +33 -0
- package/dist/floatRGBA-46ee3e38.js +20 -0
- package/dist/form-0b2f0ac9.js +138 -0
- package/dist/geohashUtils-418d1ca6.js +85 -0
- package/dist/geojson-96d3353d.js +208 -0
- package/dist/geomasync-ff5b3734.js +567 -0
- package/dist/geometryEngine-8fcb3d59.js +192 -0
- package/dist/geometryEngineAsync-212f4b0f.js +217 -0
- package/dist/geometryEngineBase-4c2ff8b9.js +18463 -0
- package/dist/geometryEngineJSON-131b461e.js +171 -0
- package/dist/geometryEngineJSON-b43cf67f.js +46 -0
- package/dist/geometryEngineWorker-707ca480.js +11 -0
- package/dist/geometryServiceUtils-af23d0b5.js +28 -0
- package/dist/georeference-02bc532d.js +291 -0
- package/dist/gif-b072aa1c.js +323 -0
- package/dist/gltfexport-3362ea71.js +705 -0
- package/dist/groupLayerUtils-81545911.js +39 -0
- package/dist/heatmapUtils-b25824e4.js +45 -0
- package/dist/highlightReasons-5b8b2665.js +19 -0
- package/dist/hydrated-b0c62926.js +40 -0
- package/dist/i3s-32edc725.js +809 -0
- package/dist/icon-453c7f62.js +127 -0
- package/dist/imageBitmapUtils-51497e26.js +23 -0
- package/dist/imageUtils-1d1da6e6.js +89 -0
- package/dist/imageUtils-8c40eba6.js +69 -0
- package/dist/imageryUtils-0c00fbf3.js +43 -0
- package/dist/index-3b4c2147.js +45568 -0
- package/dist/index.js +1 -1
- package/dist/input-message-32600f49.js +92 -0
- package/dist/input2-1c0831ed.js +575 -0
- package/dist/interactive-5824e097.js +80 -0
- package/dist/jsonContext-ec21ce85.js +15 -0
- package/dist/jsonUtils-012feb40.js +476 -0
- package/dist/jsonUtils-3979baa3.js +59 -0
- package/dist/jsonUtils-3eb7c689.js +86 -0
- package/dist/kmlUtils-4c198ea5.js +112 -0
- package/dist/knowledgeGraphService-a159d815.js +739 -0
- package/dist/knowledgegraph-eb0d44d4.js +149 -0
- package/dist/labelUtils-01b646c7.js +61 -0
- package/dist/labelingInfo-148dcd26.js +46 -0
- package/dist/layersCreator-4e94f616.js +151 -0
- package/dist/layersLoader-f4e3ab33.js +197 -0
- package/dist/lazyLayerLoader-eb51910e.js +10 -0
- package/dist/lclayout-4d303c41.js +773 -0
- package/dist/lengthUtils-6abaf27a.js +5 -0
- package/dist/lerc-wasm-0ae912df.js +325 -0
- package/dist/libtess-asm-91c97dcd.js +3673 -0
- package/dist/libtess-cba14731.js +269 -0
- package/dist/lineSegment-8f04aab4.js +76 -0
- package/dist/loadGLTFMesh-71542570.js +181 -0
- package/dist/loadable-e7c40a8a.js +24 -0
- package/dist/loader-6272e4b3.js +79 -0
- package/dist/lyr3DWorker-9ee4ee8b.js +2108 -0
- package/dist/mapViewDeps-b17a2e04.js +3052 -0
- package/dist/mediaLayerUtils-f0ccfd82.js +35 -0
- package/dist/meshFeatureSet-304dfa08.js +126 -0
- package/dist/meshVertexSpaceUtils-e7f774fa.js +58 -0
- package/dist/multidimensionalUtils-642f26da.js +290 -0
- package/dist/normalizeUtilsSync-b5f617e6.js +181 -0
- package/dist/number-3af512e3.js +128 -0
- package/dist/objectResourceUtils-d45057aa.js +1455 -0
- package/dist/observers-700e505d.js +30 -0
- package/dist/ogcFeatureUtils-440ed0bf.js +206 -0
- package/dist/openCloseComponent-1501c620.js +37 -0
- package/dist/orientedBoundingBox-80988e7f.js +447 -0
- package/dist/parser-6e351b85.js +488 -0
- package/dist/pbf-a85c52b3.js +215 -0
- package/dist/pbfQueryUtils-5f25f81f.js +422 -0
- package/dist/pe-wasm-e588110b.js +887 -0
- package/dist/persistable-ad01d0ca.js +89 -0
- package/dist/perspectiveUtils-ab58ddbb.js +42 -0
- package/dist/pieChart-d3793e8b.js +555 -0
- package/dist/plane-e103e8ed.js +160 -0
- package/dist/popupUtils-5f7c3e79.js +50 -0
- package/dist/popupUtils-b95ab60a.js +22 -0
- package/dist/portalItemUtils-3d59513a.js +57 -0
- package/dist/portalLayers-16b2f807.js +312 -0
- package/dist/portalUtils-3789afb0.js +7 -0
- package/dist/programUtils-c8d96b39.js +59 -0
- package/dist/project-7eaa59a4.js +21 -0
- package/dist/projectPointToVector-19151d97.js +14 -0
- package/dist/projectVectorToVector-d552535c.js +13 -0
- package/dist/quantityUtils-258bfdb4.js +33 -0
- package/dist/quantizationUtils-752e4d24.js +68 -0
- package/dist/quat-6dc51256.js +104 -0
- package/dist/query-da893693.js +89 -0
- package/dist/queryAttachments-df86b71d.js +39 -0
- package/dist/queryEngineUtils-ffc50ce5.js +21 -0
- package/dist/queryTopFeatures-5a58a12d.js +50 -0
- package/dist/queryZScale-39ffaf30.js +12 -0
- package/dist/rasterProjectionHelper-d13bc46d.js +577 -0
- package/dist/rasterUtils-22b15453.js +122 -0
- package/dist/rasterizingUtils-3388ddbf.js +46 -0
- package/dist/request-82a2415a.js +46 -0
- package/dist/requestImageUtils-2fca27f8.js +8 -0
- package/dist/resourceExtension-672d03cc.js +17 -0
- package/dist/resourceUtils-95b9964a.js +42 -0
- package/dist/resourceUtils-b1e50d5e.js +69 -0
- package/dist/resourceUtils-e8831103.js +62 -0
- package/dist/saveAPIKeyUtils-ee9b0447.js +8 -0
- package/dist/saveUtils-1323ad64.js +24 -0
- package/dist/scaleUtils-1a70f716.js +23 -0
- package/dist/scrim-c0a641cd.js +114 -0
- package/dist/serviceCapabilitiesUtils-33d4e1c0.js +64 -0
- package/dist/sourceUtils-e8c5db4e.js +71 -0
- package/dist/sphere-75cef429.js +199 -0
- package/dist/statsWorker-1f1bc582.js +37 -0
- package/dist/streamLayerUtils-c85a0eed.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-05bc85a5.js +75 -0
- package/dist/styleUtils-7bd8d0a7.js +14 -0
- package/dist/sublayerUtils-feb77591.js +37 -0
- package/dist/substitute-c31da60c.js +52 -0
- package/dist/symbolColorUtils-3c385668.js +8 -0
- package/dist/symbolLayerUtils-2d2753b7.js +31 -0
- package/dist/symbologySnappingCandidates-00eeca39.js +221 -0
- package/dist/t9n-55800455.js +349 -0
- package/dist/testSVGPremultipliedAlpha-ec1f73c4.js +94 -0
- package/dist/timeSupport-a7623294.js +410 -0
- package/dist/triangle-c799f11b.js +98 -0
- package/dist/unitConversionUtils-05050e6d.js +17 -0
- package/dist/unitFormatUtils-2a84c371.js +40 -0
- package/dist/uploadAssetErrors-601b044e.js +70 -0
- package/dist/uploadAssets-5a835c8a.js +330 -0
- package/dist/utils-2dc379da.js +79 -0
- package/dist/utils-34b1ea70.js +2746 -0
- package/dist/utils-45c14202.js +232 -0
- package/dist/utils-484969fb.js +91 -0
- package/dist/utils-5aaff624.js +433 -0
- package/dist/utils-a94dc35d.js +419 -0
- package/dist/utils-e68cfebf.js +34 -0
- package/dist/utils-fc14cc83.js +73 -0
- package/dist/utils3-5745e839.js +75 -0
- package/dist/vec3-12b9e1d8.js +81 -0
- package/dist/vec42-a1569d60.js +125 -0
- package/dist/versionUtils-c4f3617a.js +161 -0
- package/dist/visualVariableUtils-bcb95edc.js +267 -0
- package/dist/webStyleSymbolUtils-9db5b81c.js +48 -0
- package/dist/webglDeps-05e0410a.js +23 -0
- package/dist/wfsUtils-7caaa2cc.js +343 -0
- package/dist/workerHelper-86e37deb.js +11 -0
- package/dist/xyChart-0673158d.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-232b465f.js +0 -109
- package/dist/APIKeyMixin-6c797b4c.js +0 -19
- package/dist/Analysis-fb0fc04a.js +0 -31
- package/dist/ArcGISCachedService-e0930844.js +0 -47
- package/dist/ArcGISService-81baed4d.js +0 -25
- package/dist/AreaMeasurement2D-1dbe17c7.js +0 -405
- package/dist/AreaMeasurement3D-3b80654b.js +0 -488
- package/dist/AttachmentInfo-e02ca554.js +0 -34
- package/dist/AttachmentQuery-1667a134.js +0 -18
- package/dist/AttributeStore-2f8bce1a.js +0 -1707
- package/dist/BaseDynamicLayerView2D-6ed632c7.js +0 -63
- package/dist/BingMapsLayer-1b540400.js +0 -112
- package/dist/Bitmap-625c3ae1.js +0 -128
- package/dist/BitmapContainer-ac2e261c.js +0 -23
- package/dist/BlendLayer-38d68343.js +0 -13
- package/dist/BoundsStore-f1942e67.js +0 -63
- package/dist/BufferObject-faafd842.js +0 -100
- package/dist/BufferView-c2f86567.js +0 -683
- package/dist/BuildingSceneLayer-95da2010.js +0 -535
- package/dist/Button-312c8286.js +0 -36
- package/dist/CSVLayer-68bdf977.js +0 -208
- package/dist/CSVSourceWorker-df47e4b9.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-5ff99579.js +0 -66
- package/dist/CatalogFootprintLayerView2D-9f09a894.js +0 -76
- package/dist/CatalogLayer-6b5e756d.js +0 -262
- package/dist/CatalogLayerView2D-4f9ea89a.js +0 -52
- package/dist/ClassBreaksDefinition-d32b0ea5.js +0 -18
- package/dist/ColorMaterial.glsl-5fa4dda6.js +0 -64
- package/dist/ColorSet-59641c11.js +0 -45
- package/dist/ColorStop-d5b563ab.js +0 -29
- package/dist/Container-879e59ef.js +0 -521
- package/dist/CustomParametersMixin-c281d5e7.js +0 -12
- package/dist/DefaultMaterial.glsl-6cc65bf3.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-14d3794c.js +0 -653
- package/dist/DefaultTheme-6f3c03ba.js +0 -130
- package/dist/DeleteForwardEditsParameters-127d0833.js +0 -18
- package/dist/DimensionLayer-031be560.js +0 -129
- package/dist/DirectLineMeasurement3D-342dea70.js +0 -449
- package/dist/DistanceMeasurement2D-a628b12a.js +0 -303
- package/dist/DoubleArray-61325dbc.js +0 -25
- package/dist/EdgeProcessingWorker-9baa9f38.js +0 -63
- package/dist/EditBusLayer-b7db2f6c.js +0 -107
- package/dist/ElevationInfo-016cc1c4.js +0 -56
- package/dist/ElevationLayer-ae7cbbb9.js +0 -129
- package/dist/ElevationQuery-96db182d.js +0 -598
- package/dist/ElevationSamplerWorker-ab27b576.js +0 -62
- package/dist/ExportImageParameters-d1792a7e.js +0 -66
- package/dist/ExportStrategy-a42be397.js +0 -93
- package/dist/ExportWMSImageParameters-853db12a.js +0 -33
- package/dist/External-a5c4899d.js +0 -110
- package/dist/FeatureCollectionSnappingSource-40da43c0.js +0 -130
- package/dist/FeatureCommandQueue-68735fa7.js +0 -1244
- package/dist/FeatureEffect-20b68d20.js +0 -39
- package/dist/FeatureEffectLayer-65d674f5.js +0 -13
- package/dist/FeatureFilter-0babb1a1.js +0 -27
- package/dist/FeatureLayer-bb266fef.js +0 -693
- package/dist/FeatureLayerBase-583207e8.js +0 -148
- package/dist/FeatureLayerSource-daea2938.js +0 -444
- package/dist/FeatureLayerView2D-a93360fa.js +0 -1967
- package/dist/FeaturePipelineWorker-f8bb9d01.js +0 -3633
- package/dist/FeatureReductionLayer-b540e503.js +0 -225
- package/dist/FeatureReductionSelection-75ac9c66.js +0 -22
- package/dist/FeatureServiceSnappingSource-8d342703.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-97c5a3e7.js +0 -747
- package/dist/FeatureSet-769d2f68.js +0 -188
- package/dist/FeatureStore-cfee3322.js +0 -131
- package/dist/FeatureTemplate-1be6448a.js +0 -12
- package/dist/FeatureType-69365546.js +0 -25
- package/dist/FieldsIndex-fd635f39.js +0 -109
- package/dist/FormTemplate-8a69784e.js +0 -350
- package/dist/GeoJSONLayer-288dc230.js +0 -236
- package/dist/GeoJSONSourceWorker-2a406166.js +0 -247
- package/dist/GeoRSSLayer-b6cf0b9a.js +0 -73
- package/dist/GeoRSSLayerView2D-a2d897cc.js +0 -140
- package/dist/GeometryUtils-42ae242b.js +0 -403
- package/dist/GraphicContainer-f39e4cce.js +0 -26
- package/dist/GraphicManipulator-d94e3db2.js +0 -1499
- package/dist/GraphicsLayer-06f54c2b.js +0 -38
- package/dist/GraphicsLayerView2D-6b0c439f.js +0 -114
- package/dist/GraphicsSnappingSource-cdbd5c58.js +0 -273
- package/dist/GraphicsView2D-5c69cd54.js +0 -620
- package/dist/GroupLayer-d90d1469.js +0 -147
- package/dist/GroupLayerView2D-47ee20d3.js +0 -98
- package/dist/HUDMaterial.glsl-1f7c8dc7.js +0 -65
- package/dist/HighlightCounter-82aefa16.js +0 -41
- package/dist/HighlightGraphicContainer-5887470a.js +0 -18
- package/dist/I3SBinaryReader-bc4c80ba.js +0 -310
- package/dist/I3SLayerDefinitions-dcda247e.js +0 -55
- package/dist/I3SUtil-f0366135.js +0 -59
- package/dist/IdentityManager-488a6f1a.js +0 -899
- package/dist/ImageHistogramParameters-4dc64f39.js +0 -905
- package/dist/ImageryLayer-b486249a.js +0 -1799
- package/dist/ImageryLayerView2D-f1c342ad.js +0 -352
- package/dist/ImageryTileLayer-12ada40b.js +0 -2157
- package/dist/ImageryTileLayerView2D-f35352b1.js +0 -1110
- package/dist/Indices-d59209a8.js +0 -67
- package/dist/IntegratedMesh3DTilesLayer-be58f806.js +0 -112
- package/dist/IntegratedMeshLayer-7b709481.js +0 -141
- package/dist/InteractiveAnalysisViewModel-cc8c864a.js +0 -7397
- package/dist/InterleavedLayout-31a7340e.js +0 -163
- package/dist/KMLLayer-599771d7.js +0 -162
- package/dist/KMLLayerView2D-017f9a86.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-2578f250.js +0 -43
- package/dist/LRUCache-d9e4b57a.js +0 -32
- package/dist/LabelClass-909af0e5.js +0 -135
- package/dist/LabelMetric-a3f892e4.js +0 -400
- package/dist/LaserlinePath.glsl-763a0501.js +0 -64
- package/dist/Laserlines.glsl-75db5218.js +0 -65
- package/dist/LayerFloorInfo-8abaffaa.js +0 -15
- package/dist/LayerView-2a8c8edc.js +0 -206
- package/dist/LercWorker-06fcacbd.js +0 -157
- package/dist/LineOfSightLayer-019d46c8.js +0 -147
- package/dist/LinkChartLayer-332a03e2.js +0 -1027
- package/dist/Lyr3DWorker-5d6064e5.js +0 -82
- package/dist/MagnifierPrograms-4170fe79.js +0 -806
- package/dist/MapImageLayer-d86788de.js +0 -169
- package/dist/MapImageLayerView2D-0b2dddf2.js +0 -146
- package/dist/MapNotesLayer-07a5011d.js +0 -283
- package/dist/MapNotesLayerView2D-37f2c3b3.js +0 -161
- package/dist/MapServiceLayerViewHelper-f4014bfb.js +0 -288
- package/dist/MeasurementWidgetContent-31e1b266.js +0 -2642
- package/dist/MediaLayer-cd8e19fe.js +0 -523
- package/dist/MediaLayerView2D-bd3bc699.js +0 -332
- package/dist/MemCache-6249a3f0.js +0 -227
- package/dist/MemorySourceWorker-074a99da.js +0 -222
- package/dist/Mesh-17dfbf3e.js +0 -980
- package/dist/MeshLocalVertexSpace-a0c9365a.js +0 -19
- package/dist/MultiOriginJSONSupport-677c0e5f.js +0 -158
- package/dist/OGCFeatureLayer-1db569c4.js +0 -211
- package/dist/OGCFeatureLayerView2D-3dacad79.js +0 -82
- package/dist/ObjectStack-5e8cdae7.js +0 -21
- package/dist/Octree-0cab1591.js +0 -495
- package/dist/OpenStreetMapLayer-4b9e6867.js +0 -30
- package/dist/OperationalLayer-96cb1405.js +0 -44
- package/dist/OrderByInfo-4cb60db9.js +0 -16
- package/dist/OrderedLayer-cbff4a31.js +0 -26
- package/dist/OrientedImageryLayer-301c702b.js +0 -216
- package/dist/OverlayCompositing.glsl-cdda5153.js +0 -65
- package/dist/OverrideHelper-f9ba3c94.js +0 -242
- package/dist/PBFDecoderWorker-eac75de9.js +0 -213
- package/dist/PointCloudLayer-ce8e5fd6.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-ca506fdf.js +0 -115
- package/dist/PointCloudWorker-49b24336.js +0 -212
- package/dist/PooledRBush-af918d48.js +0 -272
- package/dist/Popup-e996c502.js +0 -3990
- package/dist/PortalLayer-60c1c36d.js +0 -126
- package/dist/Program-5b5c8288.js +0 -694
- package/dist/ProgramTemplate-62d54e1b.js +0 -35
- package/dist/QueryEngine-1b2a6d7d.js +0 -896
- package/dist/QueryTask-07de3621.js +0 -119
- package/dist/RasterSymbolizer-c6f76134.js +0 -3024
- package/dist/RasterVFDisplayObject-573f0530.js +0 -581
- package/dist/RasterWorker-f428c6b4.js +0 -78
- package/dist/RawBlockCache-0803fdd7.js +0 -185
- package/dist/RealisticTree.glsl-abb5883e.js +0 -42
- package/dist/RefreshableLayer-0d1a28eb.js +0 -80
- package/dist/RefreshableLayerView-19c8ff47.js +0 -16
- package/dist/Relationship-35bb85fc.js +0 -64
- package/dist/RelationshipQuery-1cb86efa.js +0 -22
- package/dist/RenderingContext-34f41421.js +0 -889
- package/dist/RibbonLine.glsl-88da820b.js +0 -65
- package/dist/RouteLayer-b6a064d9.js +0 -786
- package/dist/RouteLayerView2D-b14b84ae.js +0 -195
- package/dist/SDFHelper-49b28369.js +0 -140
- package/dist/SSAO.glsl-b5eba45c.js +0 -43
- package/dist/SSAOBlur.glsl-7377bef6.js +0 -42
- package/dist/ScaleRangeLayer-d06647e5.js +0 -21
- package/dist/SceneLayer-34617ffa.js +0 -542
- package/dist/SceneLayerSnappingSource-2115fd1b.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-5051ed2a.js +0 -112
- package/dist/SceneLayerWorker-416bda11.js +0 -164
- package/dist/SceneService-337f7bcd.js +0 -215
- package/dist/Scheduler-b0e8df04.js +0 -373
- package/dist/ShadedColorMaterial.glsl-8dd39e79.js +0 -64
- package/dist/SnappingOperation-726320a3.js +0 -48
- package/dist/SourceLayerData-b2da5f90.js +0 -116
- package/dist/SpatialFilter-0839066d.js +0 -1701
- package/dist/Stop-16e18837.js +0 -281
- package/dist/StreamLayer-a2c5ad69.js +0 -188
- package/dist/StreamLayerView2D-b1cb419c.js +0 -164
- package/dist/StyleRepository-55975dc1.js +0 -2212
- package/dist/SublayersOwner-dfd52113.js +0 -545
- package/dist/SubtypeGroupLayer-19990fdc.js +0 -514
- package/dist/SubtypeGroupLayerView2D-039eecec.js +0 -84
- package/dist/TechniqueInstance-f272ce92.js +0 -233
- package/dist/TemporalLayer-960c7904.js +0 -23
- package/dist/Texture-08e8abdd.js +0 -501
- package/dist/TextureOnly.glsl-adbd8e1e.js +0 -65
- package/dist/Theme-a0c472c9.js +0 -3426
- package/dist/Tick-ad80492f.js +0 -723
- package/dist/TileContainer-6b12d8e1.js +0 -31
- package/dist/TileInfoTilemapCache-b78dac78.js +0 -38
- package/dist/TileLayer-4db1b607.js +0 -194
- package/dist/TileLayerView2D-1f2d0b4c.js +0 -187
- package/dist/TilemapCache-671945d2.js +0 -189
- package/dist/TimeInfo-48493242.js +0 -42
- package/dist/TimeOnly-40ea9bb9.js +0 -706
- package/dist/Tooltip-9ecc3c9d.js +0 -138
- package/dist/TopFeaturesQuery-c0fd4e83.js +0 -32
- package/dist/TurboLine-cb0c9eaa.js +0 -565
- package/dist/UniqueValueRenderer-e4a27dfc.js +0 -1039
- package/dist/UnknownLayer-c3ba50b7.js +0 -30
- package/dist/UnknownTimeZone-832b690f.js +0 -15
- package/dist/UnsupportedLayer-0a89352f.js +0 -31
- package/dist/UpdateTracking2D-881e1d79.js +0 -8566
- package/dist/Util-b8d78341.js +0 -57
- package/dist/VectorTileLayer-43223ebe.js +0 -544
- package/dist/VectorTileLayerView2D-3d5f0721.js +0 -2108
- package/dist/Version-014efc62.js +0 -33
- package/dist/VertexArrayObject-4c6a6897.js +0 -73
- package/dist/VertexColor.glsl-e1468339.js +0 -2683
- package/dist/VertexSnappingCandidate-b3a3d14d.js +0 -13
- package/dist/VideoLayerView2D-f24c6919.js +0 -124
- package/dist/VoxelLayer-5ab46878.js +0 -631
- package/dist/WFSLayer-e8a081ca.js +0 -221
- package/dist/WFSSourceWorker-55c872f8.js +0 -157
- package/dist/WGLContainer-f4c4a8dc.js +0 -5426
- package/dist/WMSLayer-e9d5e4a6.js +0 -536
- package/dist/WMSLayerView2D-56144a1d.js +0 -117
- package/dist/WMTSLayer-c571ae0f.js +0 -531
- package/dist/WMTSLayerView2D-81b561e0.js +0 -142
- package/dist/WebTileLayer-cd295f56.js +0 -110
- package/dist/WhereClause-8bc4aa58.js +0 -2766
- package/dist/WorkerHandle-f8e580f2.js +0 -47
- package/dist/WorkerTileHandler-0f73a7f2.js +0 -1539
- package/dist/action-53058ddb.js +0 -198
- package/dist/action-group-ff2ef7e7.js +0 -145
- package/dist/action-menu-fefff035.js +0 -1759
- package/dist/apng-ac31a3d2.js +0 -392
- package/dist/arcade-ce9e8356.js +0 -229
- package/dist/arcadeAsyncRuntime-068150f3.js +0 -943
- package/dist/arcadeUtils-38c2028a.js +0 -8741
- package/dist/arcgis-knowledge-client-core-418d2890.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-bf207cbd.js +0 -1218
- package/dist/arcgisLayers-f9b73e96.js +0 -152
- package/dist/associatedFeatureServiceUtils-f1895302.js +0 -92
- package/dist/axisAngleDegrees-abd6e971.js +0 -49
- package/dist/basis_transcoder-ba9d02db.js +0 -1248
- package/dist/calcite-action-07342a33.js +0 -22
- package/dist/calcite-action-bar-b8b194bf.js +0 -303
- package/dist/calcite-action-group-f93a5b76.js +0 -28
- package/dist/calcite-button-13172f9c.js +0 -228
- package/dist/calcite-flow-959098df.js +0 -128
- package/dist/calcite-flow-item-9141ea0e.js +0 -499
- package/dist/calcite-icon-1f1f741d.js +0 -16
- package/dist/calcite-input-99b0c89d.js +0 -24
- package/dist/calcite-label-5daa57c6.js +0 -79
- package/dist/calcite-list-543efc4b.js +0 -2135
- package/dist/calcite-list-item-a148ac57.js +0 -576
- package/dist/calcite-list-item-group-4da974f3.js +0 -71
- package/dist/calcite-loader-8b29a4cd.js +0 -14
- package/dist/calcite-modal-b64d2a9b.js +0 -333
- package/dist/calcite-notice-1527bc00.js +0 -181
- package/dist/calcite-option-5ea94a2a.js +0 -94
- package/dist/calcite-scrim-35fd270f.js +0 -18
- package/dist/calcite-select-a936a6d4.js +0 -231
- package/dist/capabilities-eb05cd14.js +0 -50
- package/dist/chartCommon-af447b81.js +0 -256
- package/dist/chartUtilsAm5-21243f3e.js +0 -2954
- package/dist/clientSideDefaults-0197b13d.js +0 -39
- package/dist/colorRamps-100595ab.js +0 -38
- package/dist/colorUtils-1a8cc2f8.js +0 -164
- package/dist/commonProperties-7d8f6b56.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-466bc2c5.js +0 -60
- package/dist/conditionalSlot-55a86124.js +0 -27
- package/dist/createConnection-37afc89c.js +0 -299
- package/dist/dataUtils-efd5edf8.js +0 -1421
- package/dist/deduplicate-be0453c1.js +0 -89
- package/dist/defaults-3495cefd.js +0 -31
- package/dist/deleteForwardEdits-8ffa4b4e.js +0 -13
- package/dist/diffUtils-cccaeaa2.js +0 -90
- package/dist/drapedUtils-dfe3325a.js +0 -75
- package/dist/earcut-1a1bdd2c.js +0 -292
- package/dist/edgeProcessing-b0f5f4f0.js +0 -252
- package/dist/editingSupport-93603f8d.js +0 -203
- package/dist/editsZScale-8a2a7226.js +0 -37
- package/dist/elevationInfoUtils-96b1ac38.js +0 -126
- package/dist/executeForIds-48f5ccd3.js +0 -14
- package/dist/executeForTopCount-6ba38c5f.js +0 -17
- package/dist/executeForTopExtents-570aeb4a.js +0 -17
- package/dist/executeForTopIds-066c5e05.js +0 -17
- package/dist/executeQueryJSON-f5d65f6d.js +0 -15
- package/dist/executeQueryPBF-4ff20838.js +0 -152
- package/dist/executeRelationshipQuery-60c2686f.js +0 -53
- package/dist/executeTopFeaturesQuery-029eb564.js +0 -18
- package/dist/featureConversionUtils-8635d4bd.js +0 -479
- package/dist/featureLayerUtils-883379f8.js +0 -250
- package/dist/featureLayerUtils-89be3008.js +0 -142
- package/dist/featureSetUtils-3ba52dc3.js +0 -2530
- package/dist/featuresetbase-360521bb.js +0 -707
- package/dist/featuresetgeom-1c40fbf0.js +0 -99
- package/dist/featuresetstats-8b7ee0fc.js +0 -81
- package/dist/featuresetstring-502232ab.js +0 -95
- package/dist/fetchService-81224f29.js +0 -33
- package/dist/fieldProperties-1d23cc31.js +0 -33
- package/dist/floatRGBA-8dd8f77f.js +0 -20
- package/dist/form-81637afc.js +0 -138
- package/dist/geohashUtils-7a5a8250.js +0 -85
- package/dist/geojson-b271f3fc.js +0 -208
- package/dist/geomasync-4182a04e.js +0 -567
- package/dist/geometryEngine-170fd2fc.js +0 -192
- package/dist/geometryEngineAsync-ff5386c8.js +0 -217
- package/dist/geometryEngineBase-292b6d6f.js +0 -18463
- package/dist/geometryEngineJSON-15d3dac3.js +0 -46
- package/dist/geometryEngineJSON-c8044348.js +0 -171
- package/dist/geometryEngineWorker-19511bd8.js +0 -11
- package/dist/geometryServiceUtils-a348e7af.js +0 -28
- package/dist/georeference-72e12165.js +0 -291
- package/dist/gif-48b9a7df.js +0 -323
- package/dist/gltfexport-45261c80.js +0 -705
- package/dist/groupLayerUtils-f400995e.js +0 -39
- package/dist/heatmapUtils-81245e4b.js +0 -45
- package/dist/highlightReasons-23d6c956.js +0 -19
- package/dist/hydrated-e88a116e.js +0 -40
- package/dist/i3s-8b6deab9.js +0 -809
- package/dist/icon-422742c4.js +0 -127
- package/dist/imageBitmapUtils-12016538.js +0 -23
- package/dist/imageUtils-b38618d9.js +0 -89
- package/dist/imageUtils-c550215a.js +0 -69
- package/dist/imageryUtils-ac0e6068.js +0 -43
- package/dist/index-a450f76b.js +0 -45553
- package/dist/input-message-c606a089.js +0 -92
- package/dist/input2-8de5385e.js +0 -575
- package/dist/interactive-1bfa32d8.js +0 -80
- package/dist/jsonContext-70d89bc5.js +0 -15
- package/dist/jsonUtils-599f89fd.js +0 -86
- package/dist/jsonUtils-59cbda09.js +0 -476
- package/dist/jsonUtils-dbeb4b10.js +0 -59
- package/dist/kmlUtils-acfd0be5.js +0 -112
- package/dist/knowledgeGraphService-d0de6015.js +0 -739
- package/dist/knowledgegraph-1d25377f.js +0 -149
- package/dist/labelUtils-17e6e19c.js +0 -61
- package/dist/labelingInfo-7583b96a.js +0 -46
- package/dist/layersCreator-a7588c85.js +0 -151
- package/dist/layersLoader-503fa253.js +0 -197
- package/dist/lazyLayerLoader-14780aaf.js +0 -10
- package/dist/lclayout-b5aeb13b.js +0 -773
- package/dist/lengthUtils-15c44621.js +0 -5
- package/dist/lerc-wasm-57456401.js +0 -325
- package/dist/libtess-asm-08a80cbf.js +0 -3673
- package/dist/libtess-bcb513a0.js +0 -269
- package/dist/lineSegment-53f5f3d5.js +0 -76
- package/dist/loadGLTFMesh-561cd76a.js +0 -181
- package/dist/loadable-11e952cf.js +0 -24
- package/dist/loader-aafdf7c3.js +0 -79
- package/dist/lyr3DWorker-1876a7b0.js +0 -2108
- package/dist/mapViewDeps-c8de4ef9.js +0 -3052
- package/dist/mediaLayerUtils-236fdb9c.js +0 -35
- package/dist/meshFeatureSet-cf240f51.js +0 -126
- package/dist/meshVertexSpaceUtils-3647b869.js +0 -58
- package/dist/multidimensionalUtils-611e5cda.js +0 -290
- package/dist/normalizeUtilsSync-90304e5d.js +0 -181
- package/dist/number-d1e69c5f.js +0 -128
- package/dist/objectResourceUtils-237c5dab.js +0 -1455
- package/dist/observers-7ebedc04.js +0 -30
- package/dist/ogcFeatureUtils-f14754d3.js +0 -206
- package/dist/openCloseComponent-f7f72e31.js +0 -37
- package/dist/orientedBoundingBox-75e679bc.js +0 -447
- package/dist/parser-54b64f9a.js +0 -488
- package/dist/pbf-4b5a905e.js +0 -215
- package/dist/pbfQueryUtils-780daa49.js +0 -422
- package/dist/pe-wasm-7eeff6bc.js +0 -887
- package/dist/persistable-2afd8b64.js +0 -89
- package/dist/perspectiveUtils-78d50b08.js +0 -42
- package/dist/pieChart-f5575f34.js +0 -555
- package/dist/plane-ee1849b4.js +0 -160
- package/dist/popupUtils-5d826c7a.js +0 -50
- package/dist/popupUtils-8f261298.js +0 -22
- package/dist/portalItemUtils-07c1c29f.js +0 -57
- package/dist/portalLayers-199d1cb1.js +0 -312
- package/dist/portalUtils-f3c544f6.js +0 -7
- package/dist/programUtils-cd0377dc.js +0 -59
- package/dist/project-6d7a2904.js +0 -21
- package/dist/projectPointToVector-5800baf2.js +0 -14
- package/dist/projectVectorToVector-fdcb00cb.js +0 -13
- package/dist/quantityUtils-ab7a657b.js +0 -33
- package/dist/quantizationUtils-dde8a0c2.js +0 -68
- package/dist/quat-48b188ff.js +0 -104
- package/dist/query-581e35c7.js +0 -89
- package/dist/queryAttachments-191977a0.js +0 -39
- package/dist/queryEngineUtils-15b0748f.js +0 -21
- package/dist/queryTopFeatures-e6b8517a.js +0 -50
- package/dist/queryZScale-b9c83898.js +0 -12
- package/dist/rasterProjectionHelper-9e69c84d.js +0 -577
- package/dist/rasterUtils-76d2db45.js +0 -122
- package/dist/rasterizingUtils-730137a6.js +0 -46
- package/dist/request-3c238dd9.js +0 -46
- package/dist/requestImageUtils-6a0b710a.js +0 -8
- package/dist/resourceExtension-8e2ef6d4.js +0 -17
- package/dist/resourceUtils-49ebeb9f.js +0 -42
- package/dist/resourceUtils-b3c85655.js +0 -62
- package/dist/resourceUtils-b45c0ef9.js +0 -69
- package/dist/saveAPIKeyUtils-1146065e.js +0 -8
- package/dist/saveUtils-196e791e.js +0 -24
- package/dist/scaleUtils-7e908168.js +0 -23
- package/dist/scrim-56f6fa37.js +0 -114
- package/dist/serviceCapabilitiesUtils-266d7001.js +0 -64
- package/dist/sourceUtils-0d21eace.js +0 -71
- package/dist/sphere-8103ac36.js +0 -199
- package/dist/statsWorker-04df4d99.js +0 -37
- package/dist/streamLayerUtils-6b66a73a.js +0 -31
- package/dist/styleUtils-31e64784.js +0 -75
- package/dist/styleUtils-3951c967.js +0 -14
- package/dist/sublayerUtils-d60d357a.js +0 -37
- package/dist/substitute-77b7b80a.js +0 -52
- package/dist/symbolColorUtils-d97fe12d.js +0 -8
- package/dist/symbolLayerUtils-5f73a9b9.js +0 -31
- package/dist/symbologySnappingCandidates-bd284687.js +0 -221
- package/dist/t9n-2012740c.js +0 -349
- package/dist/testSVGPremultipliedAlpha-bb386a75.js +0 -94
- package/dist/timeSupport-2eb266be.js +0 -410
- package/dist/triangle-cac8dd7a.js +0 -98
- package/dist/unitConversionUtils-ad9151e0.js +0 -17
- package/dist/unitFormatUtils-3096fcbf.js +0 -40
- package/dist/uploadAssetErrors-b8ec890d.js +0 -70
- package/dist/uploadAssets-42d5e368.js +0 -330
- package/dist/utils-0ec1deff.js +0 -232
- package/dist/utils-25ac5b7c.js +0 -73
- package/dist/utils-3fc8cef0.js +0 -79
- package/dist/utils-59c058ba.js +0 -2746
- package/dist/utils-5a4ac69c.js +0 -419
- package/dist/utils-93ae7d8a.js +0 -34
- package/dist/utils-bba64d46.js +0 -91
- package/dist/utils-ce8900dc.js +0 -433
- package/dist/utils3-72b32be5.js +0 -75
- package/dist/vec3-0abe1464.js +0 -81
- package/dist/vec42-1641eab7.js +0 -125
- package/dist/versionUtils-6a805b25.js +0 -161
- package/dist/visualVariableUtils-7ae62b11.js +0 -267
- package/dist/webStyleSymbolUtils-038dca4c.js +0 -48
- package/dist/webglDeps-c2957fe0.js +0 -23
- package/dist/wfsUtils-a332128b.js +0 -343
- package/dist/workerHelper-2a48e790.js +0 -11
- package/dist/xyChart-131284db.js +0 -3335
|
@@ -1,1701 +0,0 @@
|
|
|
1
|
-
import { x as T, n as f, t as g, s as m, a as y, r as j } from "./WhereClause-8bc4aa58.js";
|
|
2
|
-
import { D as X, an as h, ao as P, ap as k, aq as L, ar as x, as as O, at as ee, au as te, av as ne, aw as ae, ax as F, ay as re, az as se, aA as G, aB as B, aC as H } from "./arcadeUtils-38c2028a.js";
|
|
3
|
-
import { n as M, m as ie, a as z } from "./TimeOnly-40ea9bb9.js";
|
|
4
|
-
import { hb as le, bR as oe, ez as Z } from "./index-a450f76b.js";
|
|
5
|
-
import { union as ue, geodesicArea as ce, planarArea as he, geodesicLength as de, planarLength as pe, relate as _e, crosses as fe, touches as ge, within as me, overlaps as ye, contains as Se, intersects as Y } from "./geometryEngineAsync-ff5386c8.js";
|
|
6
|
-
import { Z as we } from "./FieldsIndex-fd635f39.js";
|
|
7
|
-
class E {
|
|
8
|
-
constructor() {
|
|
9
|
-
this._databaseTypeMetaData = {}, this._layerInfo = {};
|
|
10
|
-
}
|
|
11
|
-
clearDatabaseType(e) {
|
|
12
|
-
this._databaseTypeMetaData[e] === void 0 && delete this._databaseTypeMetaData[e];
|
|
13
|
-
}
|
|
14
|
-
getDatabaseType(e) {
|
|
15
|
-
return e === "MUSTBESET" || this._databaseTypeMetaData[e] === void 0 ? null : this._databaseTypeMetaData[e];
|
|
16
|
-
}
|
|
17
|
-
setDatabaseType(e, t) {
|
|
18
|
-
this._databaseTypeMetaData[e] = t;
|
|
19
|
-
}
|
|
20
|
-
getLayerInfo(e) {
|
|
21
|
-
return this._layerInfo[e] === void 0 ? null : this._layerInfo[e];
|
|
22
|
-
}
|
|
23
|
-
setLayerInfo(e, t) {
|
|
24
|
-
this._layerInfo[e] = t;
|
|
25
|
-
}
|
|
26
|
-
clearLayerInfo(e) {
|
|
27
|
-
this._layerInfo[e] !== void 0 && delete this._layerInfo[e];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
E.applicationCache = null;
|
|
31
|
-
class Te {
|
|
32
|
-
constructor(e, t) {
|
|
33
|
-
this._lastId = -1, this._progress = t, this._parent = e;
|
|
34
|
-
}
|
|
35
|
-
reset() {
|
|
36
|
-
this._lastId = -1;
|
|
37
|
-
}
|
|
38
|
-
async nextBatchAsArcadeFeatures(e, t) {
|
|
39
|
-
const n = await this.nextBatch(e);
|
|
40
|
-
return n === null ? n : n.map((a) => X.createFromGraphicLikeObject(a.geometry, a.attributes, this._parent, t));
|
|
41
|
-
}
|
|
42
|
-
nextBatch(e) {
|
|
43
|
-
if (this._parent._mainSetInUse !== null)
|
|
44
|
-
return this._parent._mainSetInUse.then((a) => this.nextBatch(e), (a) => this.nextBatch(e));
|
|
45
|
-
const t = { returnpromise: null, hasset: !1 }, n = [];
|
|
46
|
-
return t.returnpromise = new Promise((a, s) => {
|
|
47
|
-
this._parent._getSet(this._progress).then((i) => {
|
|
48
|
-
const l = i._known;
|
|
49
|
-
let o = l.length - 1;
|
|
50
|
-
if (l[l.length - 1] === "GETPAGES" && (o -= 1), this._lastId + e > o && l.length > 0 && l[l.length - 1] === "GETPAGES")
|
|
51
|
-
return void this._parent._expandPagedSet(i, this._parent._maxQueryRate(), 0, 0, this._progress).then((c) => {
|
|
52
|
-
t.hasset = !0, this._parent._mainSetInUse = null, this.nextBatch(e).then(a, s);
|
|
53
|
-
}, (c) => {
|
|
54
|
-
t.hasset = !0, this._parent._mainSetInUse = null, s(c);
|
|
55
|
-
});
|
|
56
|
-
const u = i._candidates;
|
|
57
|
-
if (o >= this._lastId + e || u.length === 0) {
|
|
58
|
-
for (let c = 0; c < e; c++) {
|
|
59
|
-
const p = c + this._lastId + 1;
|
|
60
|
-
if (p >= l.length)
|
|
61
|
-
break;
|
|
62
|
-
n[c] = l[p];
|
|
63
|
-
}
|
|
64
|
-
return this._lastId += n.length, n.length === 0 && (t.hasset = !0, this._parent._mainSetInUse = null, a([])), void this._parent._getFeatureBatch(n, this._progress).then((c) => {
|
|
65
|
-
t.hasset = !0, this._parent._mainSetInUse = null, a(c);
|
|
66
|
-
}, (c) => {
|
|
67
|
-
t.hasset = !0, this._parent._mainSetInUse = null, s(c);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
this._parent._refineSetBlock(i, this._parent._maxProcessingRate(), this._progress).then(() => {
|
|
71
|
-
t.hasset = !0, this._parent._mainSetInUse = null, this.nextBatch(e).then(a, s);
|
|
72
|
-
}, (c) => {
|
|
73
|
-
t.hasset = !0, this._parent._mainSetInUse = null, s(c);
|
|
74
|
-
});
|
|
75
|
-
}, (i) => {
|
|
76
|
-
t.hasset = !0, this._parent._mainSetInUse = null, s(i);
|
|
77
|
-
});
|
|
78
|
-
}), t.hasset === !1 && (this._parent._mainSetInUse = t.returnpromise, t.hasset = !0), t.returnpromise;
|
|
79
|
-
}
|
|
80
|
-
next() {
|
|
81
|
-
if (this._parent._mainSetInUse !== null)
|
|
82
|
-
return this._parent._mainSetInUse.then((t) => this.next(), (t) => this.next());
|
|
83
|
-
const e = { returnpromise: null, hasset: !1 };
|
|
84
|
-
return e.returnpromise = new Promise((t, n) => {
|
|
85
|
-
this._parent._getSet(this._progress).then((a) => {
|
|
86
|
-
const s = a._known;
|
|
87
|
-
this._lastId < s.length - 1 ? s[this._lastId + 1] === "GETPAGES" ? this._parent._expandPagedSet(a, this._parent._maxQueryRate(), 0, 0, this._progress).then((i) => (e.hasset = !0, this._parent._mainSetInUse = null, this.next())).then(t, n) : (this._lastId += 1, this._parent._getFeature(a, s[this._lastId], this._progress).then((i) => {
|
|
88
|
-
e.hasset = !0, this._parent._mainSetInUse = null, t(i);
|
|
89
|
-
}, (i) => {
|
|
90
|
-
e.hasset = !0, this._parent._mainSetInUse = null, n(i);
|
|
91
|
-
})) : a._candidates.length > 0 ? this._parent._refineSetBlock(a, this._parent._maxProcessingRate(), this._progress).then(() => {
|
|
92
|
-
e.hasset = !0, this._parent._mainSetInUse = null, this.next().then(t, n);
|
|
93
|
-
}, (i) => {
|
|
94
|
-
e.hasset = !0, this._parent._mainSetInUse = null, n(i);
|
|
95
|
-
}) : (e.hasset = !0, this._parent._mainSetInUse = null, t(null));
|
|
96
|
-
}, (a) => {
|
|
97
|
-
e.hasset = !0, this._parent._mainSetInUse = null, n(a);
|
|
98
|
-
});
|
|
99
|
-
}), e.hasset === !1 && (this._parent._mainSetInUse = e.returnpromise, e.hasset = !0), e.returnpromise;
|
|
100
|
-
}
|
|
101
|
-
async count() {
|
|
102
|
-
if (this._parent._totalCount !== -1)
|
|
103
|
-
return this._parent._totalCount;
|
|
104
|
-
const e = await this._parent._getSet(this._progress), t = await this._refineAllSets(e);
|
|
105
|
-
return this._parent._totalCount = t._known.length, this._parent._totalCount;
|
|
106
|
-
}
|
|
107
|
-
async _refineAllSets(e) {
|
|
108
|
-
if (e._known.length > 0 && e._known[e._known.length - 1] === "GETPAGES")
|
|
109
|
-
return await this._parent._expandPagedSet(e, this._parent._maxQueryRate(), 0, 1, this._progress), this._refineAllSets(e);
|
|
110
|
-
if (e._candidates.length > 0) {
|
|
111
|
-
if (e._known[e._candidates.length - 1] === "GETPAGES")
|
|
112
|
-
return await this._parent._expandPagedSet(e, this._parent._maxQueryRate(), 0, 2, this._progress), this._refineAllSets(e);
|
|
113
|
-
const t = await this._parent._refineSetBlock(e, this._parent._maxProcessingRate(), this._progress);
|
|
114
|
-
return t._candidates.length > 0 ? this._refineAllSets(t) : t;
|
|
115
|
-
}
|
|
116
|
-
return e;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
class D {
|
|
120
|
-
constructor(e, t, n, a) {
|
|
121
|
-
this._lastFetchedIndex = 0, this._ordered = !1, this.pagesDefinition = null, this._candidates = e, this._known = t, this._ordered = n, this.pagesDefinition = a;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function K(r, e) {
|
|
125
|
-
return d(r == null ? void 0 : r.parseTree, e, r == null ? void 0 : r.parameters);
|
|
126
|
-
}
|
|
127
|
-
function Ye(r, e, t) {
|
|
128
|
-
return d(r, e, t);
|
|
129
|
-
}
|
|
130
|
-
function Ke(r, e, t, n) {
|
|
131
|
-
return T.create(d(r.parseTree, h.Standardised, r.parameters, e, t), n, r.timeZone);
|
|
132
|
-
}
|
|
133
|
-
function Qe(r, e, t = "AND") {
|
|
134
|
-
return T.create("((" + K(r, h.Standardised) + ")" + t + "(" + K(e, h.Standardised) + "))", r.fieldsIndex, r.timeZone);
|
|
135
|
-
}
|
|
136
|
-
function d(r, e, t, n = null, a = null) {
|
|
137
|
-
let s, i, l, o;
|
|
138
|
-
switch (r.type) {
|
|
139
|
-
case "interval":
|
|
140
|
-
return Ee(d(r.value, e, t, n, a), r.qualifier, r.op);
|
|
141
|
-
case "case-expression": {
|
|
142
|
-
let u = " CASE ";
|
|
143
|
-
r.format === "simple" && (u += d(r.operand, e, t, n, a));
|
|
144
|
-
for (let c = 0; c < r.clauses.length; c++)
|
|
145
|
-
u += " WHEN " + d(r.clauses[c].operand, e, t, n, a) + " THEN " + d(r.clauses[c].value, e, t, n, a);
|
|
146
|
-
return r.else !== null && (u += " ELSE " + d(r.else, e, t, n, a)), u += " END ", u;
|
|
147
|
-
}
|
|
148
|
-
case "parameter": {
|
|
149
|
-
const u = t[r.value.toLowerCase()];
|
|
150
|
-
if (typeof u == "string")
|
|
151
|
-
return "'" + t[r.value.toLowerCase()].toString().replaceAll("'", "''") + "'";
|
|
152
|
-
if (P(u) || k(u))
|
|
153
|
-
return R(u, e);
|
|
154
|
-
if (L(u))
|
|
155
|
-
return q(u, e);
|
|
156
|
-
if (x(u))
|
|
157
|
-
return U(u, e);
|
|
158
|
-
if (O(u))
|
|
159
|
-
return Q(u, e);
|
|
160
|
-
if (u instanceof Array) {
|
|
161
|
-
const c = [];
|
|
162
|
-
for (let p = 0; p < u.length; p++)
|
|
163
|
-
typeof u[p] == "string" ? c.push("'" + u[p].toString().replaceAll("'", "''") + "'") : P(u[p]) || k(u[p]) ? c.push(R(u[p], e)) : L(u[p]) ? c.push(q(u[p], e)) : x(u[p]) ? c.push(U(u[p], e)) : O(u[p]) ? c.push(Q(u[p], e)) : c.push(u[p].toString());
|
|
164
|
-
return c;
|
|
165
|
-
}
|
|
166
|
-
return u.toString();
|
|
167
|
-
}
|
|
168
|
-
case "expression-list":
|
|
169
|
-
i = [];
|
|
170
|
-
for (const u of r.value)
|
|
171
|
-
i.push(d(u, e, t, n, a));
|
|
172
|
-
return i;
|
|
173
|
-
case "unary-expression":
|
|
174
|
-
return " ( NOT " + d(r.expr, e, t, n, a) + " ) ";
|
|
175
|
-
case "binary-expression":
|
|
176
|
-
switch (r.operator) {
|
|
177
|
-
case "AND":
|
|
178
|
-
return " (" + d(r.left, e, t, n, a) + " AND " + d(r.right, e, t, n, a) + ") ";
|
|
179
|
-
case "OR":
|
|
180
|
-
return " (" + d(r.left, e, t, n, a) + " OR " + d(r.right, e, t, n, a) + ") ";
|
|
181
|
-
case "IS":
|
|
182
|
-
if (r.right.type !== "null")
|
|
183
|
-
throw new f(g.UnsupportedIsRhs);
|
|
184
|
-
return " (" + d(r.left, e, t, n, a) + " IS NULL )";
|
|
185
|
-
case "ISNOT":
|
|
186
|
-
if (r.right.type !== "null")
|
|
187
|
-
throw new f(g.UnsupportedIsRhs);
|
|
188
|
-
return " (" + d(r.left, e, t, n, a) + " IS NOT NULL )";
|
|
189
|
-
case "IN":
|
|
190
|
-
return s = [], r.right.type === "expression-list" ? (s = d(r.right, e, t, n, a), " (" + d(r.left, e, t, n, a) + " IN (" + s.join(",") + ")) ") : (o = d(r.right, e, t, n, a), o instanceof Array ? " (" + d(r.left, e, t, n, a) + " IN (" + o.join(",") + ")) " : " (" + d(r.left, e, t, n, a) + " IN (" + o + ")) ");
|
|
191
|
-
case "NOT IN":
|
|
192
|
-
return s = [], r.right.type === "expression-list" ? (s = d(r.right, e, t, n, a), " (" + d(r.left, e, t, n, a) + " NOT IN (" + s.join(",") + ")) ") : (o = d(r.right, e, t, n, a), o instanceof Array ? " (" + d(r.left, e, t, n, a) + " NOT IN (" + o.join(",") + ")) " : " (" + d(r.left, e, t, n, a) + " NOT IN (" + o + ")) ");
|
|
193
|
-
case "BETWEEN":
|
|
194
|
-
return l = d(r.right, e, t, n, a), " (" + d(r.left, e, t, n, a) + " BETWEEN " + l[0] + " AND " + l[1] + " ) ";
|
|
195
|
-
case "NOTBETWEEN":
|
|
196
|
-
return l = d(r.right, e, t, n, a), " (" + d(r.left, e, t, n, a) + " NOT BETWEEN " + l[0] + " AND " + l[1] + " ) ";
|
|
197
|
-
case "LIKE":
|
|
198
|
-
return r.escape !== "" ? " (" + d(r.left, e, t, n, a) + " LIKE " + d(r.right, e, t, n, a) + " ESCAPE '" + r.escape + "') " : " (" + d(r.left, e, t, n, a) + " LIKE " + d(r.right, e, t, n, a) + ") ";
|
|
199
|
-
case "NOT LIKE":
|
|
200
|
-
return r.escape !== "" ? " (" + d(r.left, e, t, n, a) + " NOT LIKE " + d(r.right, e, t, n, a) + " ESCAPE '" + r.escape + "') " : " (" + d(r.left, e, t, n, a) + " NOT LIKE " + d(r.right, e, t, n, a) + ") ";
|
|
201
|
-
case "<>":
|
|
202
|
-
case "<":
|
|
203
|
-
case ">":
|
|
204
|
-
case ">=":
|
|
205
|
-
case "<=":
|
|
206
|
-
case "=":
|
|
207
|
-
case "*":
|
|
208
|
-
case "-":
|
|
209
|
-
case "+":
|
|
210
|
-
case "/":
|
|
211
|
-
return " (" + d(r.left, e, t, n, a) + " " + r.operator + " " + d(r.right, e, t, n, a) + ") ";
|
|
212
|
-
case "||":
|
|
213
|
-
return " (" + d(r.left, e, t, n, a) + " " + (e === h.SqlServer ? "+" : r.operator) + " " + d(r.right, e, t, n, a) + ") ";
|
|
214
|
-
}
|
|
215
|
-
throw new f(g.UnsupportedOperator, { operator: r.operator });
|
|
216
|
-
case "null":
|
|
217
|
-
return "null";
|
|
218
|
-
case "boolean":
|
|
219
|
-
return r.value === !0 ? "1" : "0";
|
|
220
|
-
case "string":
|
|
221
|
-
return "'" + r.value.toString().replaceAll("'", "''") + "'";
|
|
222
|
-
case "timestamp":
|
|
223
|
-
return `timestamp '${r.value}'`;
|
|
224
|
-
case "date":
|
|
225
|
-
return `date '${r.value}'`;
|
|
226
|
-
case "time":
|
|
227
|
-
return `time '${r.value}'`;
|
|
228
|
-
case "number":
|
|
229
|
-
return r.value.toString();
|
|
230
|
-
case "current-time":
|
|
231
|
-
return Fe(r.mode === "date", e);
|
|
232
|
-
case "column-reference":
|
|
233
|
-
return n ? n.toLowerCase() === r.column.toLowerCase() ? "(" + a + ")" : r.delimited === !0 ? `"${r.column.split('"').join('""')}"` : r.column : r.column;
|
|
234
|
-
case "data-type":
|
|
235
|
-
return r.value;
|
|
236
|
-
case "function": {
|
|
237
|
-
const u = d(r.args, e, t, n, a);
|
|
238
|
-
return Ie(r.name, u, e);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
throw new f(g.UnsupportedSyntax, { node: r.type });
|
|
242
|
-
}
|
|
243
|
-
function Ie(r, e, t) {
|
|
244
|
-
switch (r.toLowerCase().trim()) {
|
|
245
|
-
case "cos":
|
|
246
|
-
case "sin":
|
|
247
|
-
case "tan":
|
|
248
|
-
case "cosh":
|
|
249
|
-
case "tanh":
|
|
250
|
-
case "sinh":
|
|
251
|
-
case "acos":
|
|
252
|
-
case "asin":
|
|
253
|
-
case "atan":
|
|
254
|
-
case "floor":
|
|
255
|
-
case "log10":
|
|
256
|
-
case "log":
|
|
257
|
-
case "abs":
|
|
258
|
-
if (e.length !== 1)
|
|
259
|
-
throw new f(g.InvalidFunctionParameters, { function: r.toLowerCase().trim() });
|
|
260
|
-
return `${r.toUpperCase().trim()}(${e[0]})`;
|
|
261
|
-
case "ceiling":
|
|
262
|
-
case "ceil":
|
|
263
|
-
if (e.length !== 1)
|
|
264
|
-
throw new f(g.InvalidFunctionParameters, { function: "ceiling" });
|
|
265
|
-
switch (t) {
|
|
266
|
-
case h.Standardised:
|
|
267
|
-
case h.StandardisedNoInterval:
|
|
268
|
-
}
|
|
269
|
-
return "CEILING(" + e[0] + ")";
|
|
270
|
-
case "mod":
|
|
271
|
-
case "power":
|
|
272
|
-
case "nullif":
|
|
273
|
-
if (e.length !== 2)
|
|
274
|
-
throw new f(g.InvalidFunctionParameters, { function: r.toLowerCase().trim() });
|
|
275
|
-
return `${r.toUpperCase().trim()}(${e[0]},${e[1]})`;
|
|
276
|
-
case "round":
|
|
277
|
-
if (e.length === 2)
|
|
278
|
-
return "ROUND(" + e[0] + "," + e[1] + ")";
|
|
279
|
-
if (e.length === 1)
|
|
280
|
-
return "ROUND(" + e[0] + ")";
|
|
281
|
-
throw new f(g.InvalidFunctionParameters, { function: "round" });
|
|
282
|
-
case "truncate":
|
|
283
|
-
if (e.length < 1 || e.length > 2)
|
|
284
|
-
throw new f(g.InvalidFunctionParameters, { function: "truncate" });
|
|
285
|
-
return t === h.SqlServer ? "ROUND(" + e[0] + (e.length === 1 ? "0" : "," + e[1]) + ",1)" : "TRUNCATE(" + e[0] + (e.length === 1 ? ")" : "," + e[1] + ")");
|
|
286
|
-
case "char_length":
|
|
287
|
-
case "len":
|
|
288
|
-
if (e.length !== 1)
|
|
289
|
-
throw new f(g.InvalidFunctionParameters, { function: "char_length" });
|
|
290
|
-
switch (t) {
|
|
291
|
-
case h.SqlServer:
|
|
292
|
-
return "LEN(" + e[0] + ")";
|
|
293
|
-
case h.Oracle:
|
|
294
|
-
return "LENGTH(" + e[0] + ")";
|
|
295
|
-
default:
|
|
296
|
-
return "CHAR_LENGTH(" + e[0] + ")";
|
|
297
|
-
}
|
|
298
|
-
case "coalesce":
|
|
299
|
-
case "concat": {
|
|
300
|
-
if (e.length < 1)
|
|
301
|
-
throw new f(g.InvalidFunctionParameters, { function: r.toLowerCase() });
|
|
302
|
-
let n = r.toUpperCase().trim() + "(";
|
|
303
|
-
for (let a = 0; a < e.length; a++)
|
|
304
|
-
a !== 0 && (n += ","), n += e[a];
|
|
305
|
-
return n += ")", n;
|
|
306
|
-
}
|
|
307
|
-
case "lower":
|
|
308
|
-
case "lcase":
|
|
309
|
-
if (e.length !== 1)
|
|
310
|
-
throw new f(g.InvalidFunctionParameters, { function: "lower" });
|
|
311
|
-
return "LOWER(" + e[0] + ")";
|
|
312
|
-
case "upper":
|
|
313
|
-
case "ucase":
|
|
314
|
-
if (e.length !== 1)
|
|
315
|
-
throw new f(g.InvalidFunctionParameters, { function: "upper" });
|
|
316
|
-
return "UPPER(" + e[0] + ")";
|
|
317
|
-
case "substring": {
|
|
318
|
-
let n = "";
|
|
319
|
-
switch (t) {
|
|
320
|
-
case h.Oracle:
|
|
321
|
-
return n = "SUBSTR(" + e[0] + "," + e[1], e.length === 3 && (n += "," + e[2]), n += ")", n;
|
|
322
|
-
case h.SqlServer:
|
|
323
|
-
return n = e.length === 3 ? "SUBSTRING(" + e[0] + "," + e[1] + "," + e[2] + ")" : "SUBSTRING(" + e[0] + ", " + e[1] + ", LEN(" + e[0] + ") - " + e[1] + ")", n;
|
|
324
|
-
default:
|
|
325
|
-
return n = "SUBSTRING(" + e[0] + " FROM " + e[1], e.length === 3 && (n += " FOR " + e[2]), n += ")", n;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
case "extract":
|
|
329
|
-
return "EXTRACT(" + e[0].replaceAll("'", "") + " FROM " + e[1] + ")";
|
|
330
|
-
case "cast": {
|
|
331
|
-
let n = "";
|
|
332
|
-
switch (t) {
|
|
333
|
-
case h.Oracle:
|
|
334
|
-
switch (e[1].type) {
|
|
335
|
-
case "date":
|
|
336
|
-
n = "DATE";
|
|
337
|
-
break;
|
|
338
|
-
case "float":
|
|
339
|
-
n = "DOUBLE";
|
|
340
|
-
break;
|
|
341
|
-
case "integer":
|
|
342
|
-
n = "INTEGER";
|
|
343
|
-
break;
|
|
344
|
-
case "real":
|
|
345
|
-
n = "REAL";
|
|
346
|
-
break;
|
|
347
|
-
case "smallint":
|
|
348
|
-
n = "SMALLINT";
|
|
349
|
-
break;
|
|
350
|
-
case "timestamp":
|
|
351
|
-
n = "TIMESTAMP";
|
|
352
|
-
break;
|
|
353
|
-
case "varchar":
|
|
354
|
-
n = "VARCHAR(" + e[1].size.toString() + ")";
|
|
355
|
-
}
|
|
356
|
-
return `CAST(${e[0]} AS ${n})`;
|
|
357
|
-
case h.Postgres:
|
|
358
|
-
switch (e[1].type) {
|
|
359
|
-
case "date":
|
|
360
|
-
n = "DATE";
|
|
361
|
-
break;
|
|
362
|
-
case "float":
|
|
363
|
-
n = "DOUBLE PRECISION";
|
|
364
|
-
break;
|
|
365
|
-
case "integer":
|
|
366
|
-
n = "INT";
|
|
367
|
-
break;
|
|
368
|
-
case "real":
|
|
369
|
-
n = "REAL";
|
|
370
|
-
break;
|
|
371
|
-
case "smallint":
|
|
372
|
-
n = "SMALLINT";
|
|
373
|
-
break;
|
|
374
|
-
case "timestamp":
|
|
375
|
-
n = "TIMESTAMP";
|
|
376
|
-
break;
|
|
377
|
-
case "varchar":
|
|
378
|
-
n = "VARCHAR(" + e[1].size.toString() + ")";
|
|
379
|
-
}
|
|
380
|
-
return `CAST(${e[0]} AS ${n})`;
|
|
381
|
-
case h.SqlServer:
|
|
382
|
-
switch (e[1].type) {
|
|
383
|
-
case "date":
|
|
384
|
-
n = "DATE";
|
|
385
|
-
break;
|
|
386
|
-
case "float":
|
|
387
|
-
n = "FLOAT";
|
|
388
|
-
break;
|
|
389
|
-
case "integer":
|
|
390
|
-
n = "INT";
|
|
391
|
-
break;
|
|
392
|
-
case "real":
|
|
393
|
-
n = "REAL";
|
|
394
|
-
break;
|
|
395
|
-
case "smallint":
|
|
396
|
-
n = "SMALLINT";
|
|
397
|
-
break;
|
|
398
|
-
case "timestamp":
|
|
399
|
-
n = "DATETIME";
|
|
400
|
-
break;
|
|
401
|
-
case "varchar":
|
|
402
|
-
n = "VARCHAR(" + e[1].size.toString() + ")";
|
|
403
|
-
}
|
|
404
|
-
return `CAST(${e[0]} AS ${n})`;
|
|
405
|
-
default:
|
|
406
|
-
switch (e[1].type) {
|
|
407
|
-
case "date":
|
|
408
|
-
n = "DATE";
|
|
409
|
-
break;
|
|
410
|
-
case "float":
|
|
411
|
-
n = "FLOAT";
|
|
412
|
-
break;
|
|
413
|
-
case "integer":
|
|
414
|
-
n = "INTEGER";
|
|
415
|
-
break;
|
|
416
|
-
case "real":
|
|
417
|
-
n = "REAL";
|
|
418
|
-
break;
|
|
419
|
-
case "smallint":
|
|
420
|
-
n = "SMALLINT";
|
|
421
|
-
break;
|
|
422
|
-
case "timestamp":
|
|
423
|
-
n = "TIMESTAMP";
|
|
424
|
-
break;
|
|
425
|
-
case "varchar":
|
|
426
|
-
n = "VARCHAR(" + e[1].size.toString() + ")";
|
|
427
|
-
}
|
|
428
|
-
return `CAST(${e[0]} AS ${n})`;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
throw new f(g.InvalidFunctionParameters, { function: r });
|
|
433
|
-
}
|
|
434
|
-
function U(r, e) {
|
|
435
|
-
const t = r.toDateTime(), n = t.hour === 0 && t.minute === 0 && t.second === 0 && t.millisecond === 0;
|
|
436
|
-
switch (e) {
|
|
437
|
-
case h.FILEGDB:
|
|
438
|
-
case h.Standardised:
|
|
439
|
-
case h.StandardisedNoInterval:
|
|
440
|
-
return n ? `date '${t.toFormat("yyyy-LL-dd")}'` : `timestamp '${t.toFormat("yyyy-LL-dd HH:mm:ss")}'`;
|
|
441
|
-
case h.Oracle:
|
|
442
|
-
return n ? `TO_DATE('${t.toFormat("yyyy-LL-dd")}','YYYY-MM-DD')` : `TO_DATE('${t.toFormat("yyyy-LL-dd HH:mm:ss")}','YYYY-MM-DD HH24:MI:SS')`;
|
|
443
|
-
case h.SqlServer:
|
|
444
|
-
return `'${t.toFormat(n ? "yyyy-LL-dd" : "yyyy-LL-dd HH:mm:ss")}'`;
|
|
445
|
-
case h.PGDB:
|
|
446
|
-
return `#${t.toFormat(n ? "LL-dd-yyyy" : "LL-dd-yyyy HH:mm:ss")}#`;
|
|
447
|
-
case h.Postgres:
|
|
448
|
-
return `TIMESTAMP '${t.toFormat(n ? "yyyy-LL-dd" : "yyyy-LL-dd HH:mm:ss")}'`;
|
|
449
|
-
default:
|
|
450
|
-
return `timestamp '${t.toFormat("yyyy-LL-dd HH:mm:ss")}'`;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
function Q(r, e) {
|
|
454
|
-
switch (e) {
|
|
455
|
-
case h.FILEGDB:
|
|
456
|
-
case h.Standardised:
|
|
457
|
-
case h.StandardisedNoInterval:
|
|
458
|
-
return r.toSQLWithKeyword();
|
|
459
|
-
case h.Oracle:
|
|
460
|
-
return `TO_DATE('${r.toFormat("Y-MM-DD")}'`;
|
|
461
|
-
case h.SqlServer:
|
|
462
|
-
return `'${r.toFormat("Y-MM-DD")}'`;
|
|
463
|
-
case h.PGDB:
|
|
464
|
-
return `#${r.toFormat("Y-MM-DD")}#`;
|
|
465
|
-
case h.Postgres:
|
|
466
|
-
return `TIMESTAMP '${r.toFormat("Y-MM-DD")}'`;
|
|
467
|
-
default:
|
|
468
|
-
return r.toSQLWithKeyword();
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
function q(r, e) {
|
|
472
|
-
switch (r instanceof M && (r = r.toStorageString()), e) {
|
|
473
|
-
case h.Oracle:
|
|
474
|
-
return `TO_DATE('${r}', 'HH24:MI:SS')`;
|
|
475
|
-
case h.SqlServer:
|
|
476
|
-
return `'${r}'`;
|
|
477
|
-
case h.FILEGDB:
|
|
478
|
-
case h.Standardised:
|
|
479
|
-
case h.StandardisedNoInterval:
|
|
480
|
-
case h.Postgres:
|
|
481
|
-
default:
|
|
482
|
-
return `time '${r}'`;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
function R(r, e) {
|
|
486
|
-
return U(ie.dateTimeToArcadeDate(k(r) ? r : le.fromJSDate(r)), e);
|
|
487
|
-
}
|
|
488
|
-
function Fe(r, e) {
|
|
489
|
-
switch (e) {
|
|
490
|
-
case h.FILEGDB:
|
|
491
|
-
case h.Standardised:
|
|
492
|
-
case h.StandardisedNoInterval:
|
|
493
|
-
case h.Oracle:
|
|
494
|
-
return r ? "CURRENT_DATE" : "CURRENT_TIMESTAMP";
|
|
495
|
-
case h.SqlServer:
|
|
496
|
-
return r ? "CAST(GETDATE() AS DATE)" : "GETDATE()";
|
|
497
|
-
case h.PGDB:
|
|
498
|
-
case h.Postgres:
|
|
499
|
-
default:
|
|
500
|
-
return r ? "CURRENT_DATE" : "CURRENT_TIMESTAMP";
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
function be(r, e, t = {}) {
|
|
504
|
-
const n = {}, a = {}, s = { esriFieldTypeSmallInteger: "integer", esriFieldTypeInteger: "integer", esriFieldTypeBigInteger: "integer", esriFieldTypeSingle: "double", esriFieldTypeDouble: "double", esriFieldTypeString: "string", esriFieldTypeTimeOnly: "time-only", esriFieldTypeDateOnly: "date-only", esriFieldTypeTimestampOffset: "timestamp-offset", esriFieldTypeDate: "date", esriFieldTypeOID: "integer", esriFieldTypeGUID: "guid", esriFieldTypeGlobalID: "guid", oid: "integer", long: "integer", "small-integer": "integer", integer: "integer", "big-integer": "integer", single: "double", "time-only": "time-only", "date-only": "date-only", "timestamp-offset": "timestemp-offset", double: "double", date: "date", guid: "guid", "global-id": "guid", string: "string" };
|
|
505
|
-
for (const i of e) {
|
|
506
|
-
const l = i.type ? s[i.type] : void 0;
|
|
507
|
-
n[i.name.toLowerCase()] = l === void 0 ? "" : l;
|
|
508
|
-
}
|
|
509
|
-
for (const i in t) {
|
|
510
|
-
const l = s[t[i]];
|
|
511
|
-
a[i.toLowerCase()] = l === void 0 ? "" : l;
|
|
512
|
-
}
|
|
513
|
-
switch (S(n, r.parseTree, r.parameters, a)) {
|
|
514
|
-
case "double":
|
|
515
|
-
return "double";
|
|
516
|
-
case "integer":
|
|
517
|
-
return "integer";
|
|
518
|
-
case "date":
|
|
519
|
-
return "date";
|
|
520
|
-
case "date-only":
|
|
521
|
-
return "date-only";
|
|
522
|
-
case "time-only":
|
|
523
|
-
return "time-only";
|
|
524
|
-
case "timestamp-offset":
|
|
525
|
-
return "timestamp-offset";
|
|
526
|
-
case "string":
|
|
527
|
-
return "string";
|
|
528
|
-
case "global-id":
|
|
529
|
-
case "guid":
|
|
530
|
-
return "guid";
|
|
531
|
-
}
|
|
532
|
-
return "";
|
|
533
|
-
}
|
|
534
|
-
function S(r, e, t, n) {
|
|
535
|
-
var s, i, l, o, u;
|
|
536
|
-
let a;
|
|
537
|
-
switch (e.type) {
|
|
538
|
-
case "interval":
|
|
539
|
-
return "integer";
|
|
540
|
-
case "case-expression": {
|
|
541
|
-
const c = [];
|
|
542
|
-
if (e.format === "simple") {
|
|
543
|
-
for (let p = 0; p < e.clauses.length; p++)
|
|
544
|
-
c.push(S(r, e.clauses[p].value, t, n));
|
|
545
|
-
e.else !== null && c.push(S(r, e.else, t, n));
|
|
546
|
-
} else {
|
|
547
|
-
for (let p = 0; p < e.clauses.length; p++)
|
|
548
|
-
c.push(S(r, e.else, t, n));
|
|
549
|
-
e.else !== null && c.push(S(r, e.else, t, n));
|
|
550
|
-
}
|
|
551
|
-
return C(c);
|
|
552
|
-
}
|
|
553
|
-
case "parameter": {
|
|
554
|
-
const c = n[e.value.toLowerCase()];
|
|
555
|
-
if (c === void 0 && t) {
|
|
556
|
-
const p = t[e.value.toLowerCase()];
|
|
557
|
-
if (p === void 0 || p === null)
|
|
558
|
-
return "";
|
|
559
|
-
if (typeof p == "string" || p instanceof String)
|
|
560
|
-
return "string";
|
|
561
|
-
if (typeof p == "boolean")
|
|
562
|
-
return "boolean";
|
|
563
|
-
if (P(p) || x(p))
|
|
564
|
-
return "date";
|
|
565
|
-
if (O(p))
|
|
566
|
-
return "date-only";
|
|
567
|
-
if (L(p))
|
|
568
|
-
return "time-only";
|
|
569
|
-
if (typeof p == "number")
|
|
570
|
-
return p % 1 == 0 ? "integer" : "double";
|
|
571
|
-
}
|
|
572
|
-
return c === void 0 ? "" : c;
|
|
573
|
-
}
|
|
574
|
-
case "expression-list": {
|
|
575
|
-
const c = [];
|
|
576
|
-
for (const p of e.value)
|
|
577
|
-
c.push(S(r, p, t, n));
|
|
578
|
-
return c;
|
|
579
|
-
}
|
|
580
|
-
case "unary-expression":
|
|
581
|
-
return "boolean";
|
|
582
|
-
case "binary-expression":
|
|
583
|
-
switch (e.operator) {
|
|
584
|
-
case "AND":
|
|
585
|
-
case "OR":
|
|
586
|
-
case "IN":
|
|
587
|
-
case "NOT IN":
|
|
588
|
-
case "BETWEEN":
|
|
589
|
-
case "NOTBETWEEN":
|
|
590
|
-
case "LIKE":
|
|
591
|
-
case "NOT LIKE":
|
|
592
|
-
case "<>":
|
|
593
|
-
case "<":
|
|
594
|
-
case ">":
|
|
595
|
-
case ">=":
|
|
596
|
-
case "<=":
|
|
597
|
-
case "=":
|
|
598
|
-
return "boolean";
|
|
599
|
-
case "IS":
|
|
600
|
-
case "ISNOT":
|
|
601
|
-
if (e.right.type !== "null")
|
|
602
|
-
throw new f(g.UnsupportedIsRhs);
|
|
603
|
-
return "boolean";
|
|
604
|
-
case "*":
|
|
605
|
-
case "-":
|
|
606
|
-
case "+":
|
|
607
|
-
case "/":
|
|
608
|
-
return C([S(r, e.left, t, n), S(r, e.right, t, n)]);
|
|
609
|
-
case "||":
|
|
610
|
-
return "string";
|
|
611
|
-
default:
|
|
612
|
-
throw new f(g.UnsupportedOperator, { operator: e.operator });
|
|
613
|
-
}
|
|
614
|
-
case "null":
|
|
615
|
-
return "";
|
|
616
|
-
case "boolean":
|
|
617
|
-
return "boolean";
|
|
618
|
-
case "string":
|
|
619
|
-
return "string";
|
|
620
|
-
case "number":
|
|
621
|
-
return e.value === null ? "" : e.value % 1 == 0 ? "integer" : "double";
|
|
622
|
-
case "date":
|
|
623
|
-
return "date";
|
|
624
|
-
case "timestamp":
|
|
625
|
-
return e.withtimezone ? "timestamp-offset" : "date";
|
|
626
|
-
case "time":
|
|
627
|
-
return "time-only";
|
|
628
|
-
case "current-time":
|
|
629
|
-
return "date";
|
|
630
|
-
case "column-reference": {
|
|
631
|
-
const c = r[e.column.toLowerCase()];
|
|
632
|
-
return c === void 0 ? "" : c;
|
|
633
|
-
}
|
|
634
|
-
case "function":
|
|
635
|
-
switch (e.name.toLowerCase()) {
|
|
636
|
-
case "cast":
|
|
637
|
-
switch (((i = (s = e.args) == null ? void 0 : s.value[1]) == null ? void 0 : i.value.type) ?? "") {
|
|
638
|
-
case "integer":
|
|
639
|
-
case "smallint":
|
|
640
|
-
return "integer";
|
|
641
|
-
case "real":
|
|
642
|
-
case "float":
|
|
643
|
-
return "double";
|
|
644
|
-
case "date":
|
|
645
|
-
case "timestamp":
|
|
646
|
-
return ((u = (o = (l = e.args) == null ? void 0 : l.value[1]) == null ? void 0 : o.value) == null ? void 0 : u.withtimezone) === !0 ? "timestamp-offset" : "date";
|
|
647
|
-
case "time":
|
|
648
|
-
return "time-only";
|
|
649
|
-
case "varchar":
|
|
650
|
-
return "string";
|
|
651
|
-
default:
|
|
652
|
-
return "";
|
|
653
|
-
}
|
|
654
|
-
case "position":
|
|
655
|
-
case "extract":
|
|
656
|
-
case "char_length":
|
|
657
|
-
case "mod":
|
|
658
|
-
return "integer";
|
|
659
|
-
case "round":
|
|
660
|
-
if (a = S(r, e.args, t, n), a instanceof Array) {
|
|
661
|
-
if (a.length <= 0)
|
|
662
|
-
return "double";
|
|
663
|
-
a = a[0];
|
|
664
|
-
}
|
|
665
|
-
return a;
|
|
666
|
-
case "sign":
|
|
667
|
-
return "integer";
|
|
668
|
-
case "ceiling":
|
|
669
|
-
case "floor":
|
|
670
|
-
case "abs":
|
|
671
|
-
return a = S(r, e.args, t, n), a instanceof Array && (a = C(a)), a === "integer" || a === "double" ? a : "double";
|
|
672
|
-
case "area":
|
|
673
|
-
case "length":
|
|
674
|
-
case "log":
|
|
675
|
-
case "log10":
|
|
676
|
-
case "sin":
|
|
677
|
-
case "cos":
|
|
678
|
-
case "tan":
|
|
679
|
-
case "asin":
|
|
680
|
-
case "acos":
|
|
681
|
-
case "atan":
|
|
682
|
-
case "cosh":
|
|
683
|
-
case "sinh":
|
|
684
|
-
case "tanh":
|
|
685
|
-
case "power":
|
|
686
|
-
return "double";
|
|
687
|
-
case "substring":
|
|
688
|
-
case "trim":
|
|
689
|
-
case "concat":
|
|
690
|
-
case "lower":
|
|
691
|
-
case "upper":
|
|
692
|
-
return "string";
|
|
693
|
-
case "truncate":
|
|
694
|
-
return "double";
|
|
695
|
-
case "nullif":
|
|
696
|
-
case "coalesce":
|
|
697
|
-
return a = S(r, e.args, t, n), a instanceof Array ? a.length > 0 ? a[0] : "" : a;
|
|
698
|
-
}
|
|
699
|
-
return "";
|
|
700
|
-
}
|
|
701
|
-
throw new f(g.UnsupportedSyntax, { node: e.type });
|
|
702
|
-
}
|
|
703
|
-
const V = { boolean: 1, string: 2, integer: 3, double: 4, date: 5 };
|
|
704
|
-
function C(r) {
|
|
705
|
-
if (r) {
|
|
706
|
-
let e = "";
|
|
707
|
-
for (const t of r)
|
|
708
|
-
t !== "" && (e = e === "" || V[e] < V[t] ? t : e);
|
|
709
|
-
return e;
|
|
710
|
-
}
|
|
711
|
-
return "";
|
|
712
|
-
}
|
|
713
|
-
function qe(r, e) {
|
|
714
|
-
return w(r.parseTree, e);
|
|
715
|
-
}
|
|
716
|
-
function De(r) {
|
|
717
|
-
return (r == null ? void 0 : r.parseTree.type) === "column-reference";
|
|
718
|
-
}
|
|
719
|
-
function w(r, e) {
|
|
720
|
-
if (r == null)
|
|
721
|
-
return !1;
|
|
722
|
-
switch (r.type) {
|
|
723
|
-
case "when-clause":
|
|
724
|
-
return w(r.operand, e) || w(r.value, e);
|
|
725
|
-
case "case-expression":
|
|
726
|
-
for (const t of r.clauses)
|
|
727
|
-
if (w(t, e))
|
|
728
|
-
return !0;
|
|
729
|
-
return !(r.format !== "simple" || !w(r.operand, e)) || !(r.else === null || !w(r.else, e));
|
|
730
|
-
case "parameter":
|
|
731
|
-
case "null":
|
|
732
|
-
case "boolean":
|
|
733
|
-
case "date":
|
|
734
|
-
case "timestamp":
|
|
735
|
-
case "time":
|
|
736
|
-
case "string":
|
|
737
|
-
case "number":
|
|
738
|
-
return !1;
|
|
739
|
-
case "expression-list":
|
|
740
|
-
for (const t of r.value)
|
|
741
|
-
if (w(t, e))
|
|
742
|
-
return !0;
|
|
743
|
-
return !1;
|
|
744
|
-
case "unary-expression":
|
|
745
|
-
return w(r.expr, e);
|
|
746
|
-
case "binary-expression":
|
|
747
|
-
return w(r.left, e) || w(r.right, e);
|
|
748
|
-
case "column-reference":
|
|
749
|
-
return e.toLowerCase() === r.column.toLowerCase();
|
|
750
|
-
case "function":
|
|
751
|
-
return w(r.args, e);
|
|
752
|
-
}
|
|
753
|
-
return !1;
|
|
754
|
-
}
|
|
755
|
-
function N(r) {
|
|
756
|
-
let e = "";
|
|
757
|
-
return e += r.period.toUpperCase(), e;
|
|
758
|
-
}
|
|
759
|
-
function Ee(r, e, t) {
|
|
760
|
-
let n = "";
|
|
761
|
-
return n = e.type === "interval-period" ? N(e) : N(e.start) + " TO " + N(e.end), "INTERVAL " + t + " " + r + " " + n;
|
|
762
|
-
}
|
|
763
|
-
function ve(r) {
|
|
764
|
-
return r = +r, isFinite(r) ? r - r % 1 || (r < 0 ? -0 : r === 0 ? r : 0) : r;
|
|
765
|
-
}
|
|
766
|
-
function A(r) {
|
|
767
|
-
let e = 0;
|
|
768
|
-
for (let t = 0; t < r.length; t++)
|
|
769
|
-
e += r[t];
|
|
770
|
-
return e / r.length;
|
|
771
|
-
}
|
|
772
|
-
function J(r) {
|
|
773
|
-
const e = A(r);
|
|
774
|
-
let t = 0;
|
|
775
|
-
for (let n = 0; n < r.length; n++)
|
|
776
|
-
t += (e - r[n]) ** 2;
|
|
777
|
-
return t / r.length;
|
|
778
|
-
}
|
|
779
|
-
function W(r) {
|
|
780
|
-
const e = A(r);
|
|
781
|
-
let t = 0;
|
|
782
|
-
for (let n = 0; n < r.length; n++)
|
|
783
|
-
t += (e - r[n]) ** 2;
|
|
784
|
-
return t / (r.length - 1);
|
|
785
|
-
}
|
|
786
|
-
function $(r) {
|
|
787
|
-
let e = 0;
|
|
788
|
-
for (let t = 0; t < r.length; t++)
|
|
789
|
-
e += r[t];
|
|
790
|
-
return e;
|
|
791
|
-
}
|
|
792
|
-
function Ae(r, e) {
|
|
793
|
-
const t = [], n = {}, a = [];
|
|
794
|
-
for (let s = 0; s < r.length; s++) {
|
|
795
|
-
if (r[s] !== void 0 && r[s] !== null) {
|
|
796
|
-
const i = r[s];
|
|
797
|
-
if (ee(i) || te(i))
|
|
798
|
-
n[i] === void 0 && (t.push(i), n[i] = 1);
|
|
799
|
-
else {
|
|
800
|
-
let l = !1;
|
|
801
|
-
for (let o = 0; o < a.length; o++)
|
|
802
|
-
ne(a[o], i) === !0 && (l = !0);
|
|
803
|
-
l === !1 && (a.push(i), t.push(i));
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
if (t.length >= e && e !== -1)
|
|
807
|
-
return t;
|
|
808
|
-
}
|
|
809
|
-
return t;
|
|
810
|
-
}
|
|
811
|
-
function Ve(r) {
|
|
812
|
-
switch (r.toLowerCase()) {
|
|
813
|
-
case "distinct":
|
|
814
|
-
return "distinct";
|
|
815
|
-
case "avg":
|
|
816
|
-
case "mean":
|
|
817
|
-
return "avg";
|
|
818
|
-
case "min":
|
|
819
|
-
return "min";
|
|
820
|
-
case "sum":
|
|
821
|
-
return "sum";
|
|
822
|
-
case "max":
|
|
823
|
-
return "max";
|
|
824
|
-
case "stdev":
|
|
825
|
-
case "stddev":
|
|
826
|
-
return "stddev";
|
|
827
|
-
case "var":
|
|
828
|
-
case "variance":
|
|
829
|
-
return "var";
|
|
830
|
-
case "count":
|
|
831
|
-
return "count";
|
|
832
|
-
}
|
|
833
|
-
return "";
|
|
834
|
-
}
|
|
835
|
-
function Je(r, e, t = 1e3) {
|
|
836
|
-
switch (r.toLowerCase()) {
|
|
837
|
-
case "distinct":
|
|
838
|
-
return Ae(e, t);
|
|
839
|
-
case "avg":
|
|
840
|
-
case "mean":
|
|
841
|
-
return A(e);
|
|
842
|
-
case "min":
|
|
843
|
-
return Math.min.apply(Math, e);
|
|
844
|
-
case "sum":
|
|
845
|
-
return $(e);
|
|
846
|
-
case "max":
|
|
847
|
-
return Math.max.apply(Math, e);
|
|
848
|
-
case "stdev":
|
|
849
|
-
case "stddev":
|
|
850
|
-
return Math.sqrt(J(e));
|
|
851
|
-
case "var":
|
|
852
|
-
case "variance":
|
|
853
|
-
return J(e);
|
|
854
|
-
case "count":
|
|
855
|
-
return e.length;
|
|
856
|
-
}
|
|
857
|
-
return 0;
|
|
858
|
-
}
|
|
859
|
-
async function Re(r, e, t) {
|
|
860
|
-
const n = await v(r, e, t, !0);
|
|
861
|
-
return n.length === 0 ? null : Math.min.apply(Math, n);
|
|
862
|
-
}
|
|
863
|
-
async function Ce(r, e, t) {
|
|
864
|
-
const n = await v(r, e, t, !0);
|
|
865
|
-
return n.length === 0 ? null : Math.max.apply(Math, n);
|
|
866
|
-
}
|
|
867
|
-
async function Ne(r, e, t) {
|
|
868
|
-
let n = "";
|
|
869
|
-
e && !De(e) && (n = be(e, r.fields));
|
|
870
|
-
const a = await v(r, e, t, !0);
|
|
871
|
-
if (a.length === 0)
|
|
872
|
-
return null;
|
|
873
|
-
const s = A(a);
|
|
874
|
-
return s === null ? s : n === "integer" ? ve(s) : s;
|
|
875
|
-
}
|
|
876
|
-
async function Pe(r, e, t) {
|
|
877
|
-
const n = await v(r, e, t, !0);
|
|
878
|
-
return n.length === 0 ? null : W(n);
|
|
879
|
-
}
|
|
880
|
-
async function ke(r, e, t) {
|
|
881
|
-
const n = await v(r, e, t, !0);
|
|
882
|
-
return n.length === 0 ? null : Math.sqrt(W(n));
|
|
883
|
-
}
|
|
884
|
-
async function Le(r, e, t) {
|
|
885
|
-
const n = await v(r, e, t, !0);
|
|
886
|
-
return n.length === 0 ? null : $(n);
|
|
887
|
-
}
|
|
888
|
-
async function xe(r, e) {
|
|
889
|
-
return r.iterator(e).count();
|
|
890
|
-
}
|
|
891
|
-
async function v(r, e, t, n = !1) {
|
|
892
|
-
const a = r.iterator(t), s = [], i = { ticker: 0 };
|
|
893
|
-
let l = await a.next();
|
|
894
|
-
for (; l !== null; ) {
|
|
895
|
-
if (i.ticker++, t.aborted)
|
|
896
|
-
throw new m(y.Cancelled);
|
|
897
|
-
i.ticker % 100 == 0 && (i.ticker = 0, await new Promise((u) => {
|
|
898
|
-
setTimeout(u, 0);
|
|
899
|
-
}));
|
|
900
|
-
const o = e == null ? void 0 : e.calculateValue(l);
|
|
901
|
-
o === null ? n === !1 && (s[s.length] = o) : s[s.length] = o instanceof z || o instanceof M ? o.toNumber() : o instanceof j ? o.toMilliseconds() : o, l = await a.next();
|
|
902
|
-
}
|
|
903
|
-
return s;
|
|
904
|
-
}
|
|
905
|
-
async function Oe(r, e, t = 1e3, n = null) {
|
|
906
|
-
const a = r.iterator(n), s = [], i = {}, l = { ticker: 0 };
|
|
907
|
-
let o = await a.next();
|
|
908
|
-
for (; o !== null; ) {
|
|
909
|
-
if (l.ticker++, n && n.aborted)
|
|
910
|
-
throw new m(y.Cancelled);
|
|
911
|
-
l.ticker % 100 == 0 && (l.ticker = 0, await new Promise((p) => {
|
|
912
|
-
setTimeout(p, 0);
|
|
913
|
-
}));
|
|
914
|
-
const u = e == null ? void 0 : e.calculateValue(o);
|
|
915
|
-
let c = u;
|
|
916
|
-
if (u instanceof z ? c = "!!DATEONLY!!-" + u.toString() : u instanceof j ? c = "!!TSOFFSETONLY!!-" + u.toString() : u instanceof M ? c = "!!TIMEONLY!!-" + u.toString() : u instanceof Date && (c = "!!DATE!!-" + u.toString()), u != null && i[c] === void 0 && (s.push(u), i[c] = 1), s.length >= t && t !== -1)
|
|
917
|
-
return s;
|
|
918
|
-
o = await a.next();
|
|
919
|
-
}
|
|
920
|
-
return s;
|
|
921
|
-
}
|
|
922
|
-
class _ {
|
|
923
|
-
constructor(e) {
|
|
924
|
-
this.recentlyUsedQueries = null, this.featureSetQueryInterceptor = null, this._idstates = [], this._parent = null, this._wset = null, this._mainSetInUse = null, this._maxProcessing = 200, this._maxQuery = 500, this._totalCount = -1, this._databaseType = h.NotEvaluated, this._databaseTypeProbed = null, this.declaredRootClass = "esri.arcade.featureset.support.FeatureSet", this._featureCache = [], this.typeIdField = null, this.types = null, this.subtypeField = null, this.subtypes = null, this.fields = null, this.geometryType = "", this.objectIdField = "", this.globalIdField = "", this.spatialReference = null, this.hasM = !1, this.hasZ = !1, this._transparent = !1, this.loaded = !1, this._loadPromise = null, this._fieldsIndex = null, this.fsetInfo = null, e != null && e.lrucache && (this.recentlyUsedQueries = e.lrucache), e != null && e.interceptor && (this.featureSetQueryInterceptor = e.interceptor);
|
|
925
|
-
}
|
|
926
|
-
optimisePagingFeatureQueries(e) {
|
|
927
|
-
this._parent && this._parent.optimisePagingFeatureQueries(e);
|
|
928
|
-
}
|
|
929
|
-
_hasMemorySource() {
|
|
930
|
-
return !0;
|
|
931
|
-
}
|
|
932
|
-
prop(e, t) {
|
|
933
|
-
return t === void 0 ? this[e] : (this[e] !== void 0 && (this[e] = t), this);
|
|
934
|
-
}
|
|
935
|
-
end() {
|
|
936
|
-
return this._parent !== null && this._parent._transparent === !0 ? this._parent.end() : this._parent;
|
|
937
|
-
}
|
|
938
|
-
_ensureLoaded() {
|
|
939
|
-
return this.load();
|
|
940
|
-
}
|
|
941
|
-
load() {
|
|
942
|
-
return this._loadPromise === null && (this._loadPromise = this.loadImpl()), this._loadPromise;
|
|
943
|
-
}
|
|
944
|
-
async loadImpl() {
|
|
945
|
-
var e, t;
|
|
946
|
-
return ((e = this._parent) == null ? void 0 : e.loaded) === !0 ? (this._initialiseFeatureSet(), this) : (await ((t = this._parent) == null ? void 0 : t.load()), this._initialiseFeatureSet(), this);
|
|
947
|
-
}
|
|
948
|
-
_initialiseFeatureSet() {
|
|
949
|
-
this._parent !== null ? (this.fields = this._parent.fields.slice(0), this.geometryType = this._parent.geometryType, this.objectIdField = this._parent.objectIdField, this.globalIdField = this._parent.globalIdField, this.spatialReference = this._parent.spatialReference, this.hasM = this._parent.hasM, this.hasZ = this._parent.hasZ, this.typeIdField = this._parent.typeIdField, this.types = this._parent.types, this.subtypeField = this._parent.subtypeField, this.subtypes = this._parent.subtypes) : (this.fields = [], this.typeIdField = "", this.subtypeField = "", this.objectIdField = "", this.globalIdField = "", this.spatialReference = new oe({ wkid: 4326 }), this.geometryType = ae.point);
|
|
950
|
-
}
|
|
951
|
-
getField(e, t) {
|
|
952
|
-
let n;
|
|
953
|
-
return (t = t || this.fields) && (e = e.toLowerCase(), t.some((a) => (a && a.name.toLowerCase() === e && (n = a), !!n))), n;
|
|
954
|
-
}
|
|
955
|
-
getFieldsIndex() {
|
|
956
|
-
return this._fieldsIndex === null && (this._fieldsIndex = we.fromLayer({ timeInfo: this.timeInfo, editFieldsInfo: this.editFieldsInfo, dateFieldsTimeZone: this.dateFieldsTimeZone, datesInUnknownTimezone: this.datesInUnknownTimezone, fields: this.fields })), this._fieldsIndex;
|
|
957
|
-
}
|
|
958
|
-
_maxProcessingRate() {
|
|
959
|
-
return this._parent !== null ? Math.min(this._maxProcessing, this._parent._maxProcessingRate()) : Math.min(this._maxProcessing, this._maxQueryRate());
|
|
960
|
-
}
|
|
961
|
-
_maxQueryRate() {
|
|
962
|
-
return this._parent !== null ? Math.max(this._maxQuery, this._parent._maxQueryRate()) : this._maxQuery;
|
|
963
|
-
}
|
|
964
|
-
_checkCancelled(e) {
|
|
965
|
-
if (e != null && e.aborted)
|
|
966
|
-
throw new m(y.Cancelled);
|
|
967
|
-
}
|
|
968
|
-
nativeCapabilities() {
|
|
969
|
-
return this._parent.nativeCapabilities();
|
|
970
|
-
}
|
|
971
|
-
async _canDoAggregates(e, t, n, a, s) {
|
|
972
|
-
return this._parent !== null && this._parent._canDoAggregates(e, t, n, a, s);
|
|
973
|
-
}
|
|
974
|
-
async _getAggregatePagesDataSourceDefinition(e, t, n, a, s, i, l) {
|
|
975
|
-
if (this._parent === null)
|
|
976
|
-
throw new m(y.NeverReach);
|
|
977
|
-
return this._parent._getAggregatePagesDataSourceDefinition(e, t, n, a, s, i, l);
|
|
978
|
-
}
|
|
979
|
-
async _getAgregagtePhysicalPage(e, t, n) {
|
|
980
|
-
if (this._parent === null)
|
|
981
|
-
throw new m(y.NeverReach);
|
|
982
|
-
return this._parent._getAgregagtePhysicalPage(e, t, n);
|
|
983
|
-
}
|
|
984
|
-
async databaseType() {
|
|
985
|
-
if (this._databaseType === h.NotEvaluated) {
|
|
986
|
-
if (E.applicationCache !== null) {
|
|
987
|
-
const e = E.applicationCache.getDatabaseType(this._cacheableFeatureSetSourceKey());
|
|
988
|
-
if (e !== null)
|
|
989
|
-
return e;
|
|
990
|
-
}
|
|
991
|
-
if (this._databaseTypeProbed !== null)
|
|
992
|
-
return this._databaseTypeProbed;
|
|
993
|
-
try {
|
|
994
|
-
this._databaseTypeProbed = this._getDatabaseTypeImpl(), E.applicationCache !== null && E.applicationCache.setDatabaseType(this._cacheableFeatureSetSourceKey(), this._databaseTypeProbed);
|
|
995
|
-
} catch (e) {
|
|
996
|
-
throw E.applicationCache !== null && E.applicationCache.clearDatabaseType(this._cacheableFeatureSetSourceKey()), e;
|
|
997
|
-
}
|
|
998
|
-
return this._databaseTypeProbed;
|
|
999
|
-
}
|
|
1000
|
-
return this._databaseType;
|
|
1001
|
-
}
|
|
1002
|
-
async _getDatabaseTypeImpl() {
|
|
1003
|
-
const e = [{ thetype: h.SqlServer, testwhere: "(CAST( '2015-01-01' as DATETIME) = CAST( '2015-01-01' as DATETIME)) AND OBJECTID<0" }, { thetype: h.Oracle, testwhere: "(TO_DATE('2003-11-18','YYYY-MM-DD') = TO_DATE('2003-11-18','YYYY-MM-DD')) AND OBJECTID<0" }, { thetype: h.StandardisedNoInterval, testwhere: "(date '2015-01-01 10:10:10' = date '2015-01-01 10:10:10') AND OBJECTID<0" }];
|
|
1004
|
-
for (const t of e)
|
|
1005
|
-
if (await this._runDatabaseProbe(t.testwhere) === !0)
|
|
1006
|
-
return t.thetype;
|
|
1007
|
-
return h.StandardisedNoInterval;
|
|
1008
|
-
}
|
|
1009
|
-
_cacheableFeatureSetSourceKey() {
|
|
1010
|
-
return "MUSTBESET";
|
|
1011
|
-
}
|
|
1012
|
-
async _runDatabaseProbe(e) {
|
|
1013
|
-
if (this._parent !== null)
|
|
1014
|
-
return this._parent._runDatabaseProbe(e);
|
|
1015
|
-
throw new m(y.NotImplemented);
|
|
1016
|
-
}
|
|
1017
|
-
isTable() {
|
|
1018
|
-
var e;
|
|
1019
|
-
return ((e = this._parent) == null ? void 0 : e.isTable()) ?? !1;
|
|
1020
|
-
}
|
|
1021
|
-
_featureFromCache(e) {
|
|
1022
|
-
if (this._featureCache[e] !== void 0)
|
|
1023
|
-
return this._featureCache[e];
|
|
1024
|
-
}
|
|
1025
|
-
_isInFeatureSet(e) {
|
|
1026
|
-
return F.Unknown;
|
|
1027
|
-
}
|
|
1028
|
-
_getSet(e) {
|
|
1029
|
-
throw new m(y.NotImplemented);
|
|
1030
|
-
}
|
|
1031
|
-
async _getFeature(e, t, n) {
|
|
1032
|
-
if (this._checkCancelled(n), this._featureFromCache(t) !== void 0)
|
|
1033
|
-
return this._featureFromCache(t);
|
|
1034
|
-
if (await this._getFeatures(e, t, this._maxProcessingRate(), n), this._checkCancelled(n), this._featureFromCache(t) !== void 0)
|
|
1035
|
-
return this._featureFromCache(t);
|
|
1036
|
-
throw new m(y.MissingFeatures);
|
|
1037
|
-
}
|
|
1038
|
-
async _getFeatureBatch(e, t) {
|
|
1039
|
-
this._checkCancelled(t);
|
|
1040
|
-
const n = new D([], e, !1, null), a = [];
|
|
1041
|
-
await this._getFeatures(n, -1, e.length, t), this._checkCancelled(t);
|
|
1042
|
-
for (const s of e)
|
|
1043
|
-
this._featureFromCache(s) !== void 0 && a.push(this._featureFromCache(s));
|
|
1044
|
-
return a;
|
|
1045
|
-
}
|
|
1046
|
-
async _getFeatures(e, t, n, a) {
|
|
1047
|
-
return "success";
|
|
1048
|
-
}
|
|
1049
|
-
_getFilteredSet(e, t, n, a, s) {
|
|
1050
|
-
throw new m(y.NotImplemented);
|
|
1051
|
-
}
|
|
1052
|
-
async _refineSetBlock(e, t, n) {
|
|
1053
|
-
if (this._checkIfNeedToExpandCandidatePage(e, this._maxQueryRate()) === !0)
|
|
1054
|
-
return await this._expandPagedSet(e, this._maxQueryRate(), 0, 0, n), this._refineSetBlock(e, t, n);
|
|
1055
|
-
this._checkCancelled(n);
|
|
1056
|
-
const a = e._candidates.length;
|
|
1057
|
-
this._refineKnowns(e, t);
|
|
1058
|
-
let s = a - e._candidates.length;
|
|
1059
|
-
if (e._candidates.length === 0 || s >= t)
|
|
1060
|
-
return e;
|
|
1061
|
-
if (await this._refineIfParentKnown(e, t - s, n), this._checkCancelled(n), this._refineKnowns(e, t - s), s = a - e._candidates.length, s < t && e._candidates.length > 0) {
|
|
1062
|
-
const i = t - s, l = this._prepareFetchAndRefineSet(e._candidates);
|
|
1063
|
-
return await this._fetchAndRefineFeatures(l, l.length > i ? i : e._candidates.length, n), this._checkCancelled(n), this._refineKnowns(e, t - s), e;
|
|
1064
|
-
}
|
|
1065
|
-
return e;
|
|
1066
|
-
}
|
|
1067
|
-
_fetchAndRefineFeatures(e, t, n) {
|
|
1068
|
-
return null;
|
|
1069
|
-
}
|
|
1070
|
-
_prepareFetchAndRefineSet(e) {
|
|
1071
|
-
const t = [];
|
|
1072
|
-
for (let n = 0; n < e.length; n++)
|
|
1073
|
-
this._isPhysicalFeature(e[n]) && t.push(e[n]);
|
|
1074
|
-
return t;
|
|
1075
|
-
}
|
|
1076
|
-
_isPhysicalFeature(e) {
|
|
1077
|
-
return this._parent === null || this._parent._isPhysicalFeature(e);
|
|
1078
|
-
}
|
|
1079
|
-
_refineKnowns(e, t) {
|
|
1080
|
-
let n = 0, a = null;
|
|
1081
|
-
const s = [];
|
|
1082
|
-
t = this._maxQueryRate();
|
|
1083
|
-
for (let i = 0; i < e._candidates.length && e._candidates[i] !== "GETPAGES"; i++) {
|
|
1084
|
-
let l = !1;
|
|
1085
|
-
const o = this._candidateIdTransform(e._candidates[i]);
|
|
1086
|
-
o !== e._candidates[i] && (l = !0);
|
|
1087
|
-
const u = this._isInFeatureSet(o);
|
|
1088
|
-
if (u === F.InFeatureSet)
|
|
1089
|
-
l === !0 ? e._known.includes(o) || (e._known.push(o), n += 1) : (e._known.push(e._candidates[i]), n += 1), a === null ? a = { start: i, end: i } : a.end === i - 1 ? a.end = i : (s.push(a), a = { start: i, end: i });
|
|
1090
|
-
else if (u === F.NotInFeatureSet)
|
|
1091
|
-
a === null ? a = { start: i, end: i } : a.end === i - 1 ? a.end = i : (s.push(a), a = { start: i, end: i }), n += 1;
|
|
1092
|
-
else if (u === F.Unknown && (n += 1, e._ordered === !0))
|
|
1093
|
-
break;
|
|
1094
|
-
if (n >= t)
|
|
1095
|
-
break;
|
|
1096
|
-
}
|
|
1097
|
-
a !== null && s.push(a);
|
|
1098
|
-
for (let i = s.length - 1; i >= 0; i--)
|
|
1099
|
-
e._candidates.splice(s[i].start, s[i].end - s[i].start + 1);
|
|
1100
|
-
}
|
|
1101
|
-
_refineIfParentKnown(e, t, n) {
|
|
1102
|
-
const a = new D([], [], e._ordered, null);
|
|
1103
|
-
return a._candidates = e._candidates.slice(0), this._parent._refineSetBlock(a, t, n);
|
|
1104
|
-
}
|
|
1105
|
-
_candidateIdTransform(e) {
|
|
1106
|
-
return this._parent._candidateIdTransform(e);
|
|
1107
|
-
}
|
|
1108
|
-
_checkIfNeedToExpandKnownPage(e, t) {
|
|
1109
|
-
if (e.pagesDefinition === null)
|
|
1110
|
-
return !1;
|
|
1111
|
-
let n = 0;
|
|
1112
|
-
for (let a = e._lastFetchedIndex; a < e._known.length; a++) {
|
|
1113
|
-
if (e._known[a] === "GETPAGES")
|
|
1114
|
-
return !0;
|
|
1115
|
-
if (this._featureCache[e._known[a]] === void 0 && (n += 1, n >= t))
|
|
1116
|
-
break;
|
|
1117
|
-
}
|
|
1118
|
-
return !1;
|
|
1119
|
-
}
|
|
1120
|
-
_checkIfNeedToExpandCandidatePage(e, t) {
|
|
1121
|
-
if (e.pagesDefinition === null)
|
|
1122
|
-
return !1;
|
|
1123
|
-
let n = 0;
|
|
1124
|
-
for (let a = 0; a < e._candidates.length; a++) {
|
|
1125
|
-
if (e._candidates[a] === "GETPAGES")
|
|
1126
|
-
return !0;
|
|
1127
|
-
if (n += 1, n >= t)
|
|
1128
|
-
break;
|
|
1129
|
-
}
|
|
1130
|
-
return !1;
|
|
1131
|
-
}
|
|
1132
|
-
async _expandPagedSet(e, t, n, a, s) {
|
|
1133
|
-
if (this._parent === null)
|
|
1134
|
-
throw new m(y.NotImplemented);
|
|
1135
|
-
return this._parent._expandPagedSet(e, t, n, a, s);
|
|
1136
|
-
}
|
|
1137
|
-
async _expandPagedSetFeatureSet(e, t, n, a, s) {
|
|
1138
|
-
if (e._known.length > 0 && e._known[e._known.length - 1] === "GETPAGES" && (a = 1), a === 0 && e._candidates.length > 0 && e._candidates[e._candidates.length - 1] === "GETPAGES" && (a = 2), a === 0)
|
|
1139
|
-
return "finished";
|
|
1140
|
-
const i = await this._getPage(e, a, s);
|
|
1141
|
-
return n + i < t ? this._expandPagedSet(e, t, n + i, 0, s) : "success";
|
|
1142
|
-
}
|
|
1143
|
-
async _getPage(e, t, n) {
|
|
1144
|
-
const a = t === 1 ? e._known : e._candidates;
|
|
1145
|
-
if (e.pagesDefinition.internal.set.length > e.pagesDefinition.resultOffset || e.pagesDefinition.internal.fullyResolved === !0) {
|
|
1146
|
-
a.length = a.length - 1;
|
|
1147
|
-
let s = 0;
|
|
1148
|
-
for (let l = 0; l < e.pagesDefinition.resultRecordCount && !(e.pagesDefinition.resultOffset + l >= e.pagesDefinition.internal.set.length); l++)
|
|
1149
|
-
a[a.length] = e.pagesDefinition.internal.set[e.pagesDefinition.resultOffset + l], s++;
|
|
1150
|
-
e.pagesDefinition.resultOffset += s;
|
|
1151
|
-
let i = !1;
|
|
1152
|
-
return e.pagesDefinition.internal.fullyResolved === !0 && e.pagesDefinition.internal.set.length <= e.pagesDefinition.resultOffset && (i = !0), i === !1 && a.push("GETPAGES"), s;
|
|
1153
|
-
}
|
|
1154
|
-
return await this._getPhysicalPage(e, t, n), this._getPage(e, t, n);
|
|
1155
|
-
}
|
|
1156
|
-
_getPhysicalPage(e, t, n) {
|
|
1157
|
-
return null;
|
|
1158
|
-
}
|
|
1159
|
-
_clonePageDefinition(e) {
|
|
1160
|
-
return this._parent === null ? null : this._parent._clonePageDefinition(e);
|
|
1161
|
-
}
|
|
1162
|
-
_first(e) {
|
|
1163
|
-
return this.iterator(e).next();
|
|
1164
|
-
}
|
|
1165
|
-
first(e) {
|
|
1166
|
-
return this._first(e);
|
|
1167
|
-
}
|
|
1168
|
-
async calculateStatistic(e, t, n, a) {
|
|
1169
|
-
await this._ensureLoaded();
|
|
1170
|
-
let s = await this._stat(e, t, "", null, null, n, a);
|
|
1171
|
-
return s.calculated === !1 && (s = await this._manualStat(e, t, n, a)), s.result;
|
|
1172
|
-
}
|
|
1173
|
-
async _manualStat(e, t, n, a) {
|
|
1174
|
-
let s = null;
|
|
1175
|
-
switch (e.toLowerCase()) {
|
|
1176
|
-
case "count":
|
|
1177
|
-
return s = await xe(this, a), { calculated: !0, result: s };
|
|
1178
|
-
case "distinct":
|
|
1179
|
-
return s = await Oe(this, t, n, a), { calculated: !0, result: s };
|
|
1180
|
-
case "avg":
|
|
1181
|
-
case "mean":
|
|
1182
|
-
return s = await Ne(this, t, a), { calculated: !0, result: s };
|
|
1183
|
-
case "stdev":
|
|
1184
|
-
return s = await ke(this, t, a), { calculated: !0, result: s };
|
|
1185
|
-
case "variance":
|
|
1186
|
-
return s = await Pe(this, t, a), { calculated: !0, result: s };
|
|
1187
|
-
case "sum":
|
|
1188
|
-
return s = await Le(this, t, a), { calculated: !0, result: s };
|
|
1189
|
-
case "min":
|
|
1190
|
-
return s = await Re(this, t, a), { calculated: !0, result: s };
|
|
1191
|
-
case "max":
|
|
1192
|
-
return s = await Ce(this, t, a), { calculated: !0, result: s };
|
|
1193
|
-
default:
|
|
1194
|
-
return { calculated: !0, result: 0 };
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
async _stat(e, t, n, a, s, i, l) {
|
|
1198
|
-
const o = await this._parent._stat(e, t, n, a, s, i, l);
|
|
1199
|
-
return o.calculated === !1 ? s === null && n === "" && a === null ? this._manualStat(e, t, i, l) : { calculated: !1 } : o;
|
|
1200
|
-
}
|
|
1201
|
-
_unionAllGeomSelf(e) {
|
|
1202
|
-
const t = this.iterator(this._defaultTracker(e)), n = [];
|
|
1203
|
-
return new Promise((a, s) => {
|
|
1204
|
-
this._unionShapeInBatches(n, t, a, s);
|
|
1205
|
-
});
|
|
1206
|
-
}
|
|
1207
|
-
_unionAllGeom(e) {
|
|
1208
|
-
return new Promise((t, n) => {
|
|
1209
|
-
const a = this.iterator(this._defaultTracker(e)), s = [];
|
|
1210
|
-
this._unionShapeInBatches(s, a, t, n);
|
|
1211
|
-
});
|
|
1212
|
-
}
|
|
1213
|
-
_unionShapeInBatches(e, t, n, a) {
|
|
1214
|
-
t.next().then((s) => {
|
|
1215
|
-
try {
|
|
1216
|
-
s !== null && s.geometry !== null && e.push(s.geometry), e.length > 30 || s === null && e.length > 1 ? ue(e).then((i) => {
|
|
1217
|
-
try {
|
|
1218
|
-
s === null ? n(i) : (e = [i], this._unionShapeInBatches(e, t, n, a));
|
|
1219
|
-
} catch (l) {
|
|
1220
|
-
a(l);
|
|
1221
|
-
}
|
|
1222
|
-
}, a) : s === null ? e.length === 1 ? n(e[0]) : n(null) : this._unionShapeInBatches(e, t, n, a);
|
|
1223
|
-
} catch (i) {
|
|
1224
|
-
a(i);
|
|
1225
|
-
}
|
|
1226
|
-
}, a);
|
|
1227
|
-
}
|
|
1228
|
-
iterator(e) {
|
|
1229
|
-
return new Te(this, e);
|
|
1230
|
-
}
|
|
1231
|
-
intersection(e, t = !1) {
|
|
1232
|
-
return _._featuresetFunctions.intersection.bind(this)(e, t);
|
|
1233
|
-
}
|
|
1234
|
-
difference(e, t = !1, n = !0) {
|
|
1235
|
-
return _._featuresetFunctions.difference.bind(this)(e, t, n);
|
|
1236
|
-
}
|
|
1237
|
-
symmetricDifference(e, t = !1, n = !0) {
|
|
1238
|
-
return _._featuresetFunctions.symmetricDifference.bind(this)(e, t, n);
|
|
1239
|
-
}
|
|
1240
|
-
morphShape(e, t, n = "unknown", a = null) {
|
|
1241
|
-
return _._featuresetFunctions.morphShape.bind(this)(e, t, n, a);
|
|
1242
|
-
}
|
|
1243
|
-
morphShapeAndAttributes(e, t, n = "unknown") {
|
|
1244
|
-
return _._featuresetFunctions.morphShapeAndAttributes.bind(this)(e, t, n);
|
|
1245
|
-
}
|
|
1246
|
-
union(e, t = !1) {
|
|
1247
|
-
return _._featuresetFunctions.union.bind(this)(e, t);
|
|
1248
|
-
}
|
|
1249
|
-
intersects(e) {
|
|
1250
|
-
return _._featuresetFunctions.intersects.bind(this)(e);
|
|
1251
|
-
}
|
|
1252
|
-
envelopeIntersects(e) {
|
|
1253
|
-
return _._featuresetFunctions.envelopeIntersects.bind(this)(e);
|
|
1254
|
-
}
|
|
1255
|
-
contains(e) {
|
|
1256
|
-
return _._featuresetFunctions.contains.bind(this)(e);
|
|
1257
|
-
}
|
|
1258
|
-
overlaps(e) {
|
|
1259
|
-
return _._featuresetFunctions.overlaps.bind(this)(e);
|
|
1260
|
-
}
|
|
1261
|
-
relate(e, t) {
|
|
1262
|
-
return _._featuresetFunctions.relate.bind(this)(e, t);
|
|
1263
|
-
}
|
|
1264
|
-
within(e) {
|
|
1265
|
-
return _._featuresetFunctions.within.bind(this)(e);
|
|
1266
|
-
}
|
|
1267
|
-
touches(e) {
|
|
1268
|
-
return _._featuresetFunctions.touches.bind(this)(e);
|
|
1269
|
-
}
|
|
1270
|
-
top(e) {
|
|
1271
|
-
return _._featuresetFunctions.top.bind(this)(e);
|
|
1272
|
-
}
|
|
1273
|
-
crosses(e) {
|
|
1274
|
-
return _._featuresetFunctions.crosses.bind(this)(e);
|
|
1275
|
-
}
|
|
1276
|
-
buffer(e, t, n, a = !0) {
|
|
1277
|
-
return _._featuresetFunctions.buffer.bind(this)(e, t, n, a);
|
|
1278
|
-
}
|
|
1279
|
-
filter(e, t = null) {
|
|
1280
|
-
return _._featuresetFunctions.filter.bind(this)(e, t);
|
|
1281
|
-
}
|
|
1282
|
-
orderBy(e) {
|
|
1283
|
-
return _._featuresetFunctions.orderBy.bind(this)(e);
|
|
1284
|
-
}
|
|
1285
|
-
dissolve(e, t) {
|
|
1286
|
-
return _._featuresetFunctions.dissolve.bind(this)(e, t);
|
|
1287
|
-
}
|
|
1288
|
-
groupby(e, t) {
|
|
1289
|
-
return _._featuresetFunctions.groupby.bind(this)(e, t);
|
|
1290
|
-
}
|
|
1291
|
-
reduce(e, t = null, n) {
|
|
1292
|
-
return new Promise((a, s) => {
|
|
1293
|
-
this._reduceImpl(this.iterator(this._defaultTracker(n)), e, t, 0, a, s, 0);
|
|
1294
|
-
});
|
|
1295
|
-
}
|
|
1296
|
-
_reduceImpl(e, t, n, a, s, i, l) {
|
|
1297
|
-
try {
|
|
1298
|
-
if (++l > 1e3)
|
|
1299
|
-
return void setTimeout(() => {
|
|
1300
|
-
l = 0, this._reduceImpl(e, t, n, a, s, i, l);
|
|
1301
|
-
});
|
|
1302
|
-
e.next().then((o) => {
|
|
1303
|
-
try {
|
|
1304
|
-
if (o === null)
|
|
1305
|
-
s(n);
|
|
1306
|
-
else {
|
|
1307
|
-
const u = t(n, o, a, this);
|
|
1308
|
-
Z(u) ? u.then((c) => {
|
|
1309
|
-
this._reduceImpl(e, t, c, a + 1, s, i, l);
|
|
1310
|
-
}, i) : this._reduceImpl(e, t, u, a + 1, s, i, l);
|
|
1311
|
-
}
|
|
1312
|
-
} catch (u) {
|
|
1313
|
-
i(u);
|
|
1314
|
-
}
|
|
1315
|
-
}, i);
|
|
1316
|
-
} catch (o) {
|
|
1317
|
-
i(o);
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
removeField(e) {
|
|
1321
|
-
return _._featuresetFunctions.removeField.bind(this)(e);
|
|
1322
|
-
}
|
|
1323
|
-
addField(e, t, n = null) {
|
|
1324
|
-
return _._featuresetFunctions.addField.bind(this)(e, t, n);
|
|
1325
|
-
}
|
|
1326
|
-
sumArea(e, t = !1, n) {
|
|
1327
|
-
const a = re(e);
|
|
1328
|
-
return this.reduce((s, i) => i.geometry === null ? 0 : t ? ce(i.geometry, a).then((l) => s + l) : he(i.geometry, a).then((l) => s + l), 0, n);
|
|
1329
|
-
}
|
|
1330
|
-
sumLength(e, t = !1, n) {
|
|
1331
|
-
const a = se(e);
|
|
1332
|
-
return this.reduce((s, i) => i.geometry === null ? 0 : t ? de(i.geometry, a).then((l) => s + l) : pe(i.geometry, a).then((l) => s + l), 0, n);
|
|
1333
|
-
}
|
|
1334
|
-
_substituteVars(e, t) {
|
|
1335
|
-
if (t !== null) {
|
|
1336
|
-
const n = {};
|
|
1337
|
-
for (const a in t)
|
|
1338
|
-
n[a.toLowerCase()] = t[a];
|
|
1339
|
-
e.parameters = n;
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
async distinct(e, t = 1e3, n = null, a) {
|
|
1343
|
-
await this.load();
|
|
1344
|
-
const s = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1345
|
-
return this._substituteVars(s, n), this.calculateStatistic("distinct", s, t, this._defaultTracker(a));
|
|
1346
|
-
}
|
|
1347
|
-
async min(e, t = null, n) {
|
|
1348
|
-
await this.load();
|
|
1349
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1350
|
-
return this._substituteVars(a, t), this.calculateStatistic("min", a, -1, this._defaultTracker(n));
|
|
1351
|
-
}
|
|
1352
|
-
async max(e, t = null, n) {
|
|
1353
|
-
await this.load();
|
|
1354
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1355
|
-
return this._substituteVars(a, t), this.calculateStatistic("max", a, -1, this._defaultTracker(n));
|
|
1356
|
-
}
|
|
1357
|
-
async avg(e, t = null, n) {
|
|
1358
|
-
await this.load();
|
|
1359
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1360
|
-
return this._substituteVars(a, t), this.calculateStatistic("avg", a, -1, this._defaultTracker(n));
|
|
1361
|
-
}
|
|
1362
|
-
async sum(e, t = null, n) {
|
|
1363
|
-
await this.load();
|
|
1364
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1365
|
-
return this._substituteVars(a, t), this.calculateStatistic("sum", a, -1, this._defaultTracker(n));
|
|
1366
|
-
}
|
|
1367
|
-
async stdev(e, t = null, n) {
|
|
1368
|
-
await this.load();
|
|
1369
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1370
|
-
return this._substituteVars(a, t), this.calculateStatistic("stdev", a, -1, this._defaultTracker(n));
|
|
1371
|
-
}
|
|
1372
|
-
async variance(e, t = null, n) {
|
|
1373
|
-
await this.load();
|
|
1374
|
-
const a = T.create(e, this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC);
|
|
1375
|
-
return this._substituteVars(a, t), this.calculateStatistic("variance", a, -1, this._defaultTracker(n));
|
|
1376
|
-
}
|
|
1377
|
-
async count(e) {
|
|
1378
|
-
return await this.load(), this.calculateStatistic("count", T.create("1", this.getFieldsIndex(), this.dateFieldsTimeZoneDefaultUTC), -1, this._defaultTracker(e));
|
|
1379
|
-
}
|
|
1380
|
-
_defaultTracker(e) {
|
|
1381
|
-
return e ?? { aborted: !1 };
|
|
1382
|
-
}
|
|
1383
|
-
forEach(e, t) {
|
|
1384
|
-
return new Promise((n, a) => {
|
|
1385
|
-
this._forEachImpl(this.iterator(this._defaultTracker(t)), e, this, n, a, 0);
|
|
1386
|
-
});
|
|
1387
|
-
}
|
|
1388
|
-
_forEachImpl(e, t, n, a, s, i) {
|
|
1389
|
-
try {
|
|
1390
|
-
if (++i > 1e3)
|
|
1391
|
-
return void setTimeout(() => {
|
|
1392
|
-
i = 0, this._forEachImpl(e, t, n, a, s, i);
|
|
1393
|
-
}, 0);
|
|
1394
|
-
e.next().then((l) => {
|
|
1395
|
-
try {
|
|
1396
|
-
if (l === null)
|
|
1397
|
-
a(n);
|
|
1398
|
-
else {
|
|
1399
|
-
const o = t(l);
|
|
1400
|
-
o == null ? this._forEachImpl(e, t, n, a, s, i) : Z(o) ? o.then(() => {
|
|
1401
|
-
try {
|
|
1402
|
-
this._forEachImpl(e, t, n, a, s, i);
|
|
1403
|
-
} catch (u) {
|
|
1404
|
-
s(u);
|
|
1405
|
-
}
|
|
1406
|
-
}, s) : this._forEachImpl(e, t, n, a, s, i);
|
|
1407
|
-
}
|
|
1408
|
-
} catch (o) {
|
|
1409
|
-
s(o);
|
|
1410
|
-
}
|
|
1411
|
-
}, s);
|
|
1412
|
-
} catch (l) {
|
|
1413
|
-
s(l);
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
convertToJSON(e) {
|
|
1417
|
-
const t = { layerDefinition: { geometryType: this.geometryType, fields: [] }, featureSet: { features: [], geometryType: this.geometryType } };
|
|
1418
|
-
for (let n = 0; n < this.fields.length; n++)
|
|
1419
|
-
t.layerDefinition.fields.push(G(this.fields[n]));
|
|
1420
|
-
return this.reduce((n, a) => {
|
|
1421
|
-
var i;
|
|
1422
|
-
const s = { geometry: (i = a.geometry) == null ? void 0 : i.toJSON(), attributes: {} };
|
|
1423
|
-
for (const l in a.attributes)
|
|
1424
|
-
s.attributes[l] = a.attributes[l];
|
|
1425
|
-
return t.featureSet.features.push(s), 1;
|
|
1426
|
-
}, 0, e).then(() => t);
|
|
1427
|
-
}
|
|
1428
|
-
castToText(e = !1) {
|
|
1429
|
-
return "object, FeatureSet";
|
|
1430
|
-
}
|
|
1431
|
-
queryAttachments(e, t, n, a, s) {
|
|
1432
|
-
return this._parent.queryAttachments(e, t, n, a, s);
|
|
1433
|
-
}
|
|
1434
|
-
serviceUrl() {
|
|
1435
|
-
return this._parent.serviceUrl();
|
|
1436
|
-
}
|
|
1437
|
-
subtypeMetaData() {
|
|
1438
|
-
return this.subtypeField && this.subtypes ? { subtypeField: this.subtypeField, subtypes: this.subtypes ? this.subtypes.map((e) => ({ name: e.name, code: e.code })) : [] } : this.typeIdField ? { subtypeField: this.typeIdField, subtypes: this.types ? this.types.map((e) => ({ name: e.name, code: e.id })) : [] } : null;
|
|
1439
|
-
}
|
|
1440
|
-
relationshipMetaData() {
|
|
1441
|
-
return this._parent.relationshipMetaData();
|
|
1442
|
-
}
|
|
1443
|
-
get gdbVersion() {
|
|
1444
|
-
return this._parent ? this._parent.gdbVersion : "";
|
|
1445
|
-
}
|
|
1446
|
-
schema() {
|
|
1447
|
-
const e = [];
|
|
1448
|
-
for (const t of this.fields)
|
|
1449
|
-
e.push(G(t));
|
|
1450
|
-
return { objectIdField: this.objectIdField, globalIdField: this.globalIdField, geometryType: B[this.geometryType] === void 0 ? "esriGeometryNull" : B[this.geometryType], fields: e };
|
|
1451
|
-
}
|
|
1452
|
-
async convertToText(e, t) {
|
|
1453
|
-
if (e === "schema")
|
|
1454
|
-
return await this._ensureLoaded(), JSON.stringify(this.schema());
|
|
1455
|
-
if (e === "featureset") {
|
|
1456
|
-
await this._ensureLoaded();
|
|
1457
|
-
const n = [];
|
|
1458
|
-
await this.reduce((s, i) => {
|
|
1459
|
-
const l = { geometry: i.geometry ? i.geometry.toJSON() : null, attributes: i.attributes };
|
|
1460
|
-
return l.geometry !== null && l.geometry.spatialReference && delete l.geometry.spatialReference, n.push(l), 1;
|
|
1461
|
-
}, 0, t);
|
|
1462
|
-
const a = this.schema();
|
|
1463
|
-
return a.features = n, a.spatialReference = this.spatialReference.toJSON(), JSON.stringify(a);
|
|
1464
|
-
}
|
|
1465
|
-
return this.castToText();
|
|
1466
|
-
}
|
|
1467
|
-
getFeatureByObjectId(e, t) {
|
|
1468
|
-
return this._parent.getFeatureByObjectId(e, t);
|
|
1469
|
-
}
|
|
1470
|
-
getOwningSystemUrl() {
|
|
1471
|
-
return this._parent.getOwningSystemUrl();
|
|
1472
|
-
}
|
|
1473
|
-
getIdentityUser() {
|
|
1474
|
-
return this._parent.getIdentityUser();
|
|
1475
|
-
}
|
|
1476
|
-
getRootFeatureSet() {
|
|
1477
|
-
return this._parent !== null ? this._parent.getRootFeatureSet() : this;
|
|
1478
|
-
}
|
|
1479
|
-
getDataSourceFeatureSet() {
|
|
1480
|
-
return this._parent !== null ? this._parent.getDataSourceFeatureSet() : this;
|
|
1481
|
-
}
|
|
1482
|
-
castAsJson(e = null) {
|
|
1483
|
-
return (e == null ? void 0 : e.featureset) === "keeptype" ? this : (e == null ? void 0 : e.featureset) === "none" ? null : { type: "FeatureSet" };
|
|
1484
|
-
}
|
|
1485
|
-
async castAsJsonAsync(e = null, t = null) {
|
|
1486
|
-
var s;
|
|
1487
|
-
if ((t == null ? void 0 : t.featureset) === "keeptype")
|
|
1488
|
-
return this;
|
|
1489
|
-
if ((t == null ? void 0 : t.featureset) === "schema")
|
|
1490
|
-
return await this._ensureLoaded(), JSON.parse(JSON.stringify(this.schema()));
|
|
1491
|
-
if ((t == null ? void 0 : t.featureset) === "none")
|
|
1492
|
-
return null;
|
|
1493
|
-
await this._ensureLoaded();
|
|
1494
|
-
const n = [];
|
|
1495
|
-
await this.reduce((i, l) => {
|
|
1496
|
-
const o = { geometry: l.geometry ? (t == null ? void 0 : t.keepGeometryType) === !0 ? l.geometry : l.geometry.toJSON() : null, attributes: l.attributes };
|
|
1497
|
-
return o.geometry !== null && o.geometry.spatialReference && (t == null ? void 0 : t.keepGeometryType) !== !0 && delete o.geometry.spatialReference, n.push(o), 1;
|
|
1498
|
-
}, 0, e);
|
|
1499
|
-
const a = this.schema();
|
|
1500
|
-
return a.features = n, a.spatialReference = (t == null ? void 0 : t.keepGeometryType) === !0 ? this.spatialReference : (s = this.spatialReference) == null ? void 0 : s.toJSON(), a;
|
|
1501
|
-
}
|
|
1502
|
-
fieldTimeZone(e) {
|
|
1503
|
-
return this.getFieldsIndex().getTimeZone(e);
|
|
1504
|
-
}
|
|
1505
|
-
get preferredTimeZone() {
|
|
1506
|
-
var e;
|
|
1507
|
-
return ((e = this._parent) == null ? void 0 : e.preferredTimeZone) ?? null;
|
|
1508
|
-
}
|
|
1509
|
-
get dateFieldsTimeZone() {
|
|
1510
|
-
var e;
|
|
1511
|
-
return ((e = this._parent) == null ? void 0 : e.dateFieldsTimeZone) ?? null;
|
|
1512
|
-
}
|
|
1513
|
-
get dateFieldsTimeZoneDefaultUTC() {
|
|
1514
|
-
if (this.datesInUnknownTimezone)
|
|
1515
|
-
return "unknown";
|
|
1516
|
-
const e = this.dateFieldsTimeZone ?? "UTC";
|
|
1517
|
-
return e === "" ? "UTC" : e;
|
|
1518
|
-
}
|
|
1519
|
-
get datesInUnknownTimezone() {
|
|
1520
|
-
return this._parent.datesInUnknownTimezone;
|
|
1521
|
-
}
|
|
1522
|
-
get editFieldsInfo() {
|
|
1523
|
-
var e;
|
|
1524
|
-
return ((e = this._parent) == null ? void 0 : e.editFieldsInfo) ?? null;
|
|
1525
|
-
}
|
|
1526
|
-
get timeInfo() {
|
|
1527
|
-
var e;
|
|
1528
|
-
return ((e = this._parent) == null ? void 0 : e.timeInfo) ?? null;
|
|
1529
|
-
}
|
|
1530
|
-
set featureSetInfo(e) {
|
|
1531
|
-
this.fsetInfo = e;
|
|
1532
|
-
}
|
|
1533
|
-
async getFeatureSetInfo() {
|
|
1534
|
-
var e;
|
|
1535
|
-
return this.fsetInfo ?? await ((e = this._parent) == null ? void 0 : e.getFeatureSetInfo()) ?? null;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
_._featuresetFunctions = {};
|
|
1539
|
-
class b extends _ {
|
|
1540
|
-
constructor(e) {
|
|
1541
|
-
super(e), this.declaredClass = "esri.layers.featureset.sources.Empty", this._maxProcessing = 1e3, this._wset = new D([], [], !1, null), this._parent = e.parentfeatureset, this._databaseType = h.Standardised;
|
|
1542
|
-
}
|
|
1543
|
-
async _getSet() {
|
|
1544
|
-
return this._wset;
|
|
1545
|
-
}
|
|
1546
|
-
optimisePagingFeatureQueries() {
|
|
1547
|
-
}
|
|
1548
|
-
_isInFeatureSet() {
|
|
1549
|
-
return F.NotInFeatureSet;
|
|
1550
|
-
}
|
|
1551
|
-
async _getFeature() {
|
|
1552
|
-
throw new m(y.NeverReach);
|
|
1553
|
-
}
|
|
1554
|
-
async queryAttachments() {
|
|
1555
|
-
return [];
|
|
1556
|
-
}
|
|
1557
|
-
async _getFeatures() {
|
|
1558
|
-
return "success";
|
|
1559
|
-
}
|
|
1560
|
-
_featureFromCache() {
|
|
1561
|
-
return null;
|
|
1562
|
-
}
|
|
1563
|
-
async _fetchAndRefineFeatures() {
|
|
1564
|
-
throw new m(y.NeverReach);
|
|
1565
|
-
}
|
|
1566
|
-
async _getFilteredSet() {
|
|
1567
|
-
return new D([], [], !1, null);
|
|
1568
|
-
}
|
|
1569
|
-
_stat(e, t, n, a, s, i, l) {
|
|
1570
|
-
return this._manualStat(e, t, i, l);
|
|
1571
|
-
}
|
|
1572
|
-
async _canDoAggregates() {
|
|
1573
|
-
return !1;
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
class I extends _ {
|
|
1577
|
-
constructor(e) {
|
|
1578
|
-
super(e), this._relation = "", this._relationGeom = null, this._relationString = "", this.declaredClass = "esri.arcade.featureset.actions.SpatialFilter", this._relationString = e.relationString, this._parent = e.parentfeatureset, this._maxProcessing = 40, this._relation = e.relation, this._relationGeom = e.relationGeom;
|
|
1579
|
-
}
|
|
1580
|
-
async _getSet(e) {
|
|
1581
|
-
if (this._wset === null) {
|
|
1582
|
-
await this._ensureLoaded();
|
|
1583
|
-
const t = await this._parent._getFilteredSet(this._relation !== "esriSpatialRelRelation" ? this._relation : this._relation + ":" + this._relationString, this._relationGeom, null, null, e);
|
|
1584
|
-
return this._checkCancelled(e), this._wset = new D(t._candidates.slice(0), t._known.slice(0), t._ordered, this._clonePageDefinition(t.pagesDefinition)), this._wset;
|
|
1585
|
-
}
|
|
1586
|
-
return this._wset;
|
|
1587
|
-
}
|
|
1588
|
-
_isInFeatureSet(e) {
|
|
1589
|
-
let t = this._parent._isInFeatureSet(e);
|
|
1590
|
-
return t === F.NotInFeatureSet ? t : (t = this._idstates[e], t === void 0 ? F.Unknown : t);
|
|
1591
|
-
}
|
|
1592
|
-
_getFeature(e, t, n) {
|
|
1593
|
-
return this._parent._getFeature(e, t, n);
|
|
1594
|
-
}
|
|
1595
|
-
_getFeatures(e, t, n, a) {
|
|
1596
|
-
return this._parent._getFeatures(e, t, n, a);
|
|
1597
|
-
}
|
|
1598
|
-
_featureFromCache(e) {
|
|
1599
|
-
return this._parent._featureFromCache(e);
|
|
1600
|
-
}
|
|
1601
|
-
async executeSpatialRelationTest(e) {
|
|
1602
|
-
if (e.geometry === null)
|
|
1603
|
-
return !1;
|
|
1604
|
-
switch (this._relation) {
|
|
1605
|
-
case "esriSpatialRelEnvelopeIntersects":
|
|
1606
|
-
return Y(H(this._relationGeom), H(e.geometry));
|
|
1607
|
-
case "esriSpatialRelIntersects":
|
|
1608
|
-
return Y(this._relationGeom, e.geometry);
|
|
1609
|
-
case "esriSpatialRelContains":
|
|
1610
|
-
return Se(this._relationGeom, e.geometry);
|
|
1611
|
-
case "esriSpatialRelOverlaps":
|
|
1612
|
-
return ye(this._relationGeom, e.geometry);
|
|
1613
|
-
case "esriSpatialRelWithin":
|
|
1614
|
-
return me(this._relationGeom, e.geometry);
|
|
1615
|
-
case "esriSpatialRelTouches":
|
|
1616
|
-
return ge(this._relationGeom, e.geometry);
|
|
1617
|
-
case "esriSpatialRelCrosses":
|
|
1618
|
-
return fe(this._relationGeom, e.geometry);
|
|
1619
|
-
case "esriSpatialRelRelation":
|
|
1620
|
-
return _e(this._relationGeom, e.geometry, this._relationString ?? "");
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
async _fetchAndRefineFeatures(e, t, n) {
|
|
1624
|
-
var l;
|
|
1625
|
-
const a = new D([], e, !1, null), s = Math.min(t, e.length);
|
|
1626
|
-
await ((l = this._parent) == null ? void 0 : l._getFeatures(a, -1, s, n)), this._checkCancelled(n);
|
|
1627
|
-
const i = [];
|
|
1628
|
-
for (let o = 0; o < s; o++) {
|
|
1629
|
-
const u = this._parent._featureFromCache(e[o]);
|
|
1630
|
-
i.push(await this.executeSpatialRelationTest(u));
|
|
1631
|
-
}
|
|
1632
|
-
for (let o = 0; o < t; o++)
|
|
1633
|
-
i[o] === !0 ? this._idstates[e[o]] = F.InFeatureSet : this._idstates[e[o]] = F.NotInFeatureSet;
|
|
1634
|
-
return "success";
|
|
1635
|
-
}
|
|
1636
|
-
async _getFilteredSet(e, t, n, a, s) {
|
|
1637
|
-
await this._ensureLoaded();
|
|
1638
|
-
const i = await this._parent._getFilteredSet(this._relation !== "esriSpatialRelRelation" ? this._relation : this._relation + ":" + this._relationString, this._relationGeom, n, a, s);
|
|
1639
|
-
let l;
|
|
1640
|
-
return this._checkCancelled(s), l = t !== null ? new D(i._candidates.slice(0).concat(i._known.slice(0)), [], i._ordered, this._clonePageDefinition(i.pagesDefinition)) : new D(i._candidates.slice(0), i._known.slice(0), i._ordered, this._clonePageDefinition(i.pagesDefinition)), l;
|
|
1641
|
-
}
|
|
1642
|
-
async _stat(e, t, n, a, s, i, l) {
|
|
1643
|
-
if (n !== "")
|
|
1644
|
-
return { calculated: !1 };
|
|
1645
|
-
const o = await this._parent._stat(e, t, this._relation !== "esriSpatialRelRelation" ? this._relation : this._relation + ":" + this._relationString, this._relationGeom, s, i, l);
|
|
1646
|
-
return o.calculated === !1 ? s === null && n === "" && a === null ? this._manualStat(e, t, i, l) : { calculated: !1 } : o;
|
|
1647
|
-
}
|
|
1648
|
-
async _canDoAggregates(e, t, n, a, s) {
|
|
1649
|
-
return n === "" && a === null && this._parent !== null && this._parent._canDoAggregates(e, t, this._relation !== "esriSpatialRelRelation" ? this._relation : this._relation + ":" + this._relationString, this._relationGeom, s);
|
|
1650
|
-
}
|
|
1651
|
-
async _getAggregatePagesDataSourceDefinition(e, t, n, a, s, i, l) {
|
|
1652
|
-
if (this._parent === null)
|
|
1653
|
-
throw new m(y.NeverReach);
|
|
1654
|
-
return this._parent._getAggregatePagesDataSourceDefinition(e, t, this._relation !== "esriSpatialRelRelation" ? this._relation : this._relation + ":" + this._relationString, this._relationGeom, s, i, l);
|
|
1655
|
-
}
|
|
1656
|
-
static registerAction() {
|
|
1657
|
-
_._featuresetFunctions.intersects = function(e) {
|
|
1658
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelIntersects", relationGeom: e });
|
|
1659
|
-
}, _._featuresetFunctions.envelopeIntersects = function(e) {
|
|
1660
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelEnvelopeIntersects", relationGeom: e });
|
|
1661
|
-
}, _._featuresetFunctions.contains = function(e) {
|
|
1662
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelContains", relationGeom: e });
|
|
1663
|
-
}, _._featuresetFunctions.overlaps = function(e) {
|
|
1664
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelOverlaps", relationGeom: e });
|
|
1665
|
-
}, _._featuresetFunctions.within = function(e) {
|
|
1666
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelWithin", relationGeom: e });
|
|
1667
|
-
}, _._featuresetFunctions.touches = function(e) {
|
|
1668
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelTouches", relationGeom: e });
|
|
1669
|
-
}, _._featuresetFunctions.crosses = function(e) {
|
|
1670
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelCrosses", relationGeom: e });
|
|
1671
|
-
}, _._featuresetFunctions.relate = function(e, t) {
|
|
1672
|
-
return e == null ? new b({ parentfeatureset: this }) : new I({ parentfeatureset: this, relation: "esriSpatialRelRelation", relationGeom: e, relationString: t });
|
|
1673
|
-
};
|
|
1674
|
-
}
|
|
1675
|
-
getFieldsIndex() {
|
|
1676
|
-
return this._parent.getFieldsIndex();
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
export {
|
|
1680
|
-
De as D,
|
|
1681
|
-
q as E,
|
|
1682
|
-
Ee as F,
|
|
1683
|
-
be as I,
|
|
1684
|
-
Fe as L,
|
|
1685
|
-
Q as S,
|
|
1686
|
-
U as T,
|
|
1687
|
-
K as a,
|
|
1688
|
-
Ve as b,
|
|
1689
|
-
E as c,
|
|
1690
|
-
Je as d,
|
|
1691
|
-
I as f,
|
|
1692
|
-
Qe as g,
|
|
1693
|
-
Ke as m,
|
|
1694
|
-
Ye as p,
|
|
1695
|
-
D as t,
|
|
1696
|
-
b as u,
|
|
1697
|
-
qe as v,
|
|
1698
|
-
R as w,
|
|
1699
|
-
_ as x,
|
|
1700
|
-
Ie as y
|
|
1701
|
-
};
|