@agrotools1/at-components 0.2.3 → 0.2.4
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-75e55bb8.js +109 -0
- package/dist/APIKeyMixin-688c6ac6.js +19 -0
- package/dist/Analysis-53f71911.js +31 -0
- package/dist/ArcGISCachedService-ea7559f0.js +47 -0
- package/dist/ArcGISService-a447176d.js +25 -0
- package/dist/AreaMeasurement2D-4d0db109.js +405 -0
- package/dist/AreaMeasurement3D-a2a10ea8.js +488 -0
- package/dist/AttachmentInfo-a2849bf0.js +34 -0
- package/dist/AttachmentQuery-e743e06f.js +18 -0
- package/dist/AttributeStore-6a3291d4.js +1707 -0
- package/dist/BaseDynamicLayerView2D-b3ff0eae.js +63 -0
- package/dist/BingMapsLayer-689d8e88.js +112 -0
- package/dist/Bitmap-e2b1f93c.js +128 -0
- package/dist/BitmapContainer-4dcc4a14.js +23 -0
- package/dist/BlendLayer-113fd3b8.js +13 -0
- package/dist/BoundsStore-3598604e.js +63 -0
- package/dist/BufferObject-59880a47.js +100 -0
- package/dist/BufferView-2cfe8c7d.js +683 -0
- package/dist/BuildingSceneLayer-a3e4a869.js +535 -0
- package/dist/Button-5e85250d.js +36 -0
- package/dist/CSVLayer-a68a64b8.js +208 -0
- package/dist/CSVSourceWorker-cf1fee99.js +367 -0
- package/dist/CardWithInsights/CardWithInsights.d.ts +2 -1
- package/dist/CatalogDynamicGroupLayerView2D-a4ae390f.js +66 -0
- package/dist/CatalogFootprintLayerView2D-145014a4.js +76 -0
- package/dist/CatalogLayer-48e7048b.js +262 -0
- package/dist/CatalogLayerView2D-8b4a4d47.js +52 -0
- package/dist/ClassBreaksDefinition-e2d8b3cc.js +18 -0
- package/dist/ColorMaterial.glsl-a7c70d21.js +64 -0
- package/dist/ColorSet-f4b34654.js +45 -0
- package/dist/ColorStop-1111f0fd.js +29 -0
- package/dist/Container-4a2d8bcd.js +521 -0
- package/dist/CustomParametersMixin-601866cc.js +12 -0
- package/dist/DefaultMaterial.glsl-9243ba6c.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-bf0d97c7.js +653 -0
- package/dist/DefaultTheme-e96ad45b.js +130 -0
- package/dist/DeleteForwardEditsParameters-bd5164e3.js +18 -0
- package/dist/DimensionLayer-d51dcf5e.js +129 -0
- package/dist/DirectLineMeasurement3D-7b426a46.js +449 -0
- package/dist/DistanceMeasurement2D-1f05b105.js +303 -0
- package/dist/DoubleArray-4f276822.js +25 -0
- package/dist/Dropdown/Dropdown.core.d.ts +31 -0
- package/dist/Dropdown/Filter/test.mocks.d.ts +6 -0
- package/dist/Dropdown/List/Dropdown.List.d.ts +84 -0
- package/dist/Dropdown/List/test.mocks.d.ts +6 -0
- package/dist/EdgeProcessingWorker-317b2f9a.js +63 -0
- package/dist/EditBusLayer-55763028.js +107 -0
- package/dist/ElevationInfo-5be88917.js +56 -0
- package/dist/ElevationLayer-754634d4.js +129 -0
- package/dist/ElevationQuery-1e84df59.js +598 -0
- package/dist/ElevationSamplerWorker-1c01b3d8.js +62 -0
- package/dist/ExportImageParameters-e00a1031.js +66 -0
- package/dist/ExportStrategy-ba992e25.js +93 -0
- package/dist/ExportWMSImageParameters-395804ac.js +33 -0
- package/dist/External-77e767f4.js +110 -0
- package/dist/Faq/Faq.d.ts +1 -1
- package/dist/Faq/index.d.ts +1 -1
- package/dist/FeatureCollectionSnappingSource-d1435805.js +130 -0
- package/dist/FeatureCommandQueue-4db7f162.js +1244 -0
- package/dist/FeatureEffect-5b570804.js +39 -0
- package/dist/FeatureEffectLayer-171a9749.js +13 -0
- package/dist/FeatureFilter-db89ec09.js +27 -0
- package/dist/FeatureLayer-881827c7.js +693 -0
- package/dist/FeatureLayerBase-b410d8eb.js +148 -0
- package/dist/FeatureLayerSource-e5eba81e.js +444 -0
- package/dist/FeatureLayerView2D-107b4ed6.js +1967 -0
- package/dist/FeaturePipelineWorker-2b42d98d.js +3633 -0
- package/dist/FeatureReductionLayer-1f3f6a98.js +225 -0
- package/dist/FeatureReductionSelection-b0c4bcaf.js +22 -0
- package/dist/FeatureServiceSnappingSource-fde9a8da.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-d4113c50.js +747 -0
- package/dist/FeatureSet-595ae550.js +188 -0
- package/dist/FeatureStore-87fbe804.js +131 -0
- package/dist/FeatureTemplate-c810cba6.js +12 -0
- package/dist/FeatureType-22de76b9.js +25 -0
- package/dist/FieldsIndex-390b005f.js +109 -0
- package/dist/FormTemplate-728de82d.js +350 -0
- package/dist/GeoJSONLayer-fbf5ee27.js +236 -0
- package/dist/GeoJSONSourceWorker-30cd4133.js +247 -0
- package/dist/GeoRSSLayer-2addf639.js +73 -0
- package/dist/GeoRSSLayerView2D-29c15edb.js +140 -0
- package/dist/GeometryUtils-80d3036a.js +403 -0
- package/dist/GraphicContainer-2b112072.js +26 -0
- package/dist/GraphicManipulator-84ac0573.js +1499 -0
- package/dist/GraphicsLayer-ee9f874e.js +38 -0
- package/dist/GraphicsLayerView2D-c5eda7d2.js +114 -0
- package/dist/GraphicsSnappingSource-3dd1e9b3.js +273 -0
- package/dist/GraphicsView2D-40686b59.js +620 -0
- package/dist/GroupLayer-fd168a3e.js +147 -0
- package/dist/GroupLayerView2D-f4078b54.js +98 -0
- package/dist/HUDMaterial.glsl-bea5cb7c.js +65 -0
- package/dist/HighlightCounter-b3b4b206.js +41 -0
- package/dist/HighlightGraphicContainer-c00c331b.js +18 -0
- package/dist/I3SBinaryReader-d3a26893.js +310 -0
- package/dist/I3SLayerDefinitions-2bea64c8.js +55 -0
- package/dist/I3SUtil-ab1a91f5.js +59 -0
- package/dist/IdentityManager-8e14d109.js +899 -0
- package/dist/ImageHistogramParameters-711f313f.js +905 -0
- package/dist/ImageryLayer-fbaf4d8c.js +1799 -0
- package/dist/ImageryLayerView2D-199eb1fd.js +352 -0
- package/dist/ImageryTileLayer-48671dc9.js +2157 -0
- package/dist/ImageryTileLayerView2D-8ac1ee64.js +1110 -0
- package/dist/Indices-2f9cf62d.js +67 -0
- package/dist/Input/Input.core.d.ts +4553 -3
- package/dist/Input/index.d.ts +4547 -3
- package/dist/IntegratedMesh3DTilesLayer-89d862a2.js +112 -0
- package/dist/IntegratedMeshLayer-53f792e4.js +141 -0
- package/dist/InteractiveAnalysisViewModel-d7dd665d.js +7397 -0
- package/dist/InterleavedLayout-ff67e161.js +163 -0
- package/dist/KMLLayer-7a4cfa2a.js +162 -0
- package/dist/KMLLayerView2D-d0874e8d.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-70d956b2.js +43 -0
- package/dist/LRUCache-5bebd9a8.js +32 -0
- package/dist/LabelClass-63459c37.js +135 -0
- package/dist/LabelMetric-09a9cd38.js +400 -0
- package/dist/LaserlinePath.glsl-731dbba1.js +64 -0
- package/dist/Laserlines.glsl-26d42447.js +65 -0
- package/dist/LayerFloorInfo-5c67a822.js +15 -0
- package/dist/LayerView-405cecd2.js +206 -0
- package/dist/LercWorker-a7892aa0.js +157 -0
- package/dist/LineOfSightLayer-abad68f7.js +147 -0
- package/dist/LinkChartLayer-c36d2a81.js +1027 -0
- package/dist/Lyr3DWorker-8f4c6c50.js +82 -0
- package/dist/MagnifierPrograms-ddc85113.js +806 -0
- package/dist/MapImageLayer-04f4cdcb.js +169 -0
- package/dist/MapImageLayerView2D-712dd60f.js +146 -0
- package/dist/MapNotesLayer-83fcba8e.js +283 -0
- package/dist/MapNotesLayerView2D-f0ad0a82.js +161 -0
- package/dist/MapServiceLayerViewHelper-6c746a26.js +288 -0
- package/dist/MeasurementWidgetContent-fc0c1569.js +2642 -0
- package/dist/MediaLayer-05162eaf.js +523 -0
- package/dist/MediaLayerView2D-474c563b.js +332 -0
- package/dist/MemCache-8f96824a.js +227 -0
- package/dist/MemorySourceWorker-08562524.js +222 -0
- package/dist/Mesh-3208420e.js +980 -0
- package/dist/MeshLocalVertexSpace-59268d9e.js +19 -0
- package/dist/MultiOriginJSONSupport-365740bb.js +158 -0
- package/dist/OGCFeatureLayer-7201d1ee.js +211 -0
- package/dist/OGCFeatureLayerView2D-d242f130.js +82 -0
- package/dist/ObjectStack-bad354ab.js +21 -0
- package/dist/Octree-cbaefa65.js +495 -0
- package/dist/OpenStreetMapLayer-b3c8020b.js +30 -0
- package/dist/OperationalLayer-30f48d16.js +44 -0
- package/dist/OrderByInfo-9bd0a8fe.js +16 -0
- package/dist/OrderedLayer-2962d196.js +26 -0
- package/dist/OrientedImageryLayer-5d599e15.js +216 -0
- package/dist/OverlayCompositing.glsl-334c68d5.js +65 -0
- package/dist/OverrideHelper-7981ecc2.js +242 -0
- package/dist/PBFDecoderWorker-48f7e620.js +213 -0
- package/dist/PointCloudLayer-5b804571.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-9ef1db42.js +115 -0
- package/dist/PointCloudWorker-9e88daea.js +212 -0
- package/dist/PooledRBush-afceba5f.js +272 -0
- package/dist/Popup-89e3fd56.js +3990 -0
- package/dist/PortalLayer-21d22eb9.js +126 -0
- package/dist/Program-09ee8c67.js +694 -0
- package/dist/ProgramTemplate-be811b23.js +35 -0
- package/dist/ProgressBar/ProgressBar.d.ts +13 -1
- package/dist/QueryEngine-810a7f24.js +896 -0
- package/dist/QueryTask-013cc810.js +119 -0
- package/dist/RasterSymbolizer-ae063ee7.js +3024 -0
- package/dist/RasterVFDisplayObject-fe2f7ea2.js +581 -0
- package/dist/RasterWorker-7efcbd4d.js +78 -0
- package/dist/RawBlockCache-5a644219.js +185 -0
- package/dist/RealisticTree.glsl-4e33ae57.js +42 -0
- package/dist/RefreshableLayer-e64dd0ee.js +80 -0
- package/dist/RefreshableLayerView-61f7dd9a.js +16 -0
- package/dist/Relationship-adcdce15.js +64 -0
- package/dist/RelationshipQuery-0c20b8ed.js +22 -0
- package/dist/RenderingContext-29b578ca.js +889 -0
- package/dist/RibbonLine.glsl-038f5cac.js +65 -0
- package/dist/RouteLayer-479e0ccc.js +786 -0
- package/dist/RouteLayerView2D-1a646f54.js +195 -0
- package/dist/SDFHelper-9abcbcca.js +140 -0
- package/dist/SSAO.glsl-5d41f99f.js +43 -0
- package/dist/SSAOBlur.glsl-7ebf8f5c.js +42 -0
- package/dist/ScaleRangeLayer-3bbd6ead.js +21 -0
- package/dist/SceneLayer-b19fa11e.js +542 -0
- package/dist/SceneLayerSnappingSource-f53ddd8a.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-80f48214.js +112 -0
- package/dist/SceneLayerWorker-bab8aeb0.js +164 -0
- package/dist/SceneService-0c4fac79.js +215 -0
- package/dist/Scheduler-9db9a8cf.js +373 -0
- package/dist/Search/Search.d.ts +99 -0
- package/dist/Search/index.d.ts +1 -0
- package/dist/Search/test.mocks.d.ts +3 -0
- package/dist/Search/utils.d.ts +3 -0
- package/dist/Select/Item/Item.d.ts +1 -1
- package/dist/Select/Multiple/Select.multiple.d.ts +3 -3
- package/dist/Select/Select.core.d.ts +1 -1
- package/dist/Select/index.d.ts +3 -3
- package/dist/ShadedColorMaterial.glsl-a2dd0bb3.js +64 -0
- package/dist/SnappingOperation-25ff52da.js +48 -0
- package/dist/SourceLayerData-ec301fa4.js +116 -0
- package/dist/SpatialFilter-351a1d5e.js +1701 -0
- package/dist/Stop-595501a7.js +281 -0
- package/dist/StreamLayer-d5ebd4d3.js +188 -0
- package/dist/StreamLayerView2D-8a39daaa.js +164 -0
- package/dist/StyleRepository-dd283243.js +2212 -0
- package/dist/SublayersOwner-0be88fd0.js +545 -0
- package/dist/SubtypeGroupLayer-8386c037.js +514 -0
- package/dist/SubtypeGroupLayerView2D-97b63aa1.js +84 -0
- package/dist/Tabs/Tab/Tab.d.ts +3 -3
- package/dist/Tag/Tag.d.ts +52 -0
- package/dist/TechniqueInstance-87f77cd3.js +233 -0
- package/dist/TemporalLayer-7c15b8a6.js +23 -0
- package/dist/Texture-c1f5f21b.js +501 -0
- package/dist/TextureOnly.glsl-acae1d94.js +65 -0
- package/dist/Theme-72a69427.js +3426 -0
- package/dist/Tick-d7f9b999.js +723 -0
- package/dist/TileContainer-20f11bc5.js +31 -0
- package/dist/TileInfoTilemapCache-a50aaed0.js +38 -0
- package/dist/TileLayer-ce04649f.js +194 -0
- package/dist/TileLayerView2D-0f45ff75.js +187 -0
- package/dist/TilemapCache-95b53d5a.js +189 -0
- package/dist/TimeInfo-f17e0ff9.js +42 -0
- package/dist/TimeOnly-63922f1a.js +706 -0
- package/dist/Tooltip-a21a6650.js +138 -0
- package/dist/TopFeaturesQuery-9e4228e7.js +32 -0
- package/dist/TurboLine-aeb14d6e.js +565 -0
- package/dist/UniqueValueRenderer-7532473e.js +1039 -0
- package/dist/UnknownLayer-99d4832b.js +30 -0
- package/dist/UnknownTimeZone-4c0a5184.js +15 -0
- package/dist/UnsupportedLayer-f439265c.js +31 -0
- package/dist/UpdateTracking2D-a1164b3d.js +8566 -0
- package/dist/Upload/Upload.d.ts +91 -14
- package/dist/Upload/index.d.ts +1 -1
- package/dist/Util-26f81cc4.js +57 -0
- package/dist/VectorTileLayer-8b5289d2.js +544 -0
- package/dist/VectorTileLayerView2D-00d98337.js +2108 -0
- package/dist/Version-2556ea28.js +33 -0
- package/dist/VertexArrayObject-5595c535.js +73 -0
- package/dist/VertexColor.glsl-01eb58bb.js +2683 -0
- package/dist/VertexSnappingCandidate-c1e2992a.js +13 -0
- package/dist/VideoLayerView2D-e92c8bab.js +124 -0
- package/dist/VoxelLayer-e57c2b7b.js +631 -0
- package/dist/WFSLayer-486fff2e.js +221 -0
- package/dist/WFSSourceWorker-3d8ac573.js +157 -0
- package/dist/WGLContainer-1441483b.js +5426 -0
- package/dist/WMSLayer-07ea95cc.js +536 -0
- package/dist/WMSLayerView2D-8b67d5da.js +117 -0
- package/dist/WMTSLayer-b52fbe0c.js +531 -0
- package/dist/WMTSLayerView2D-8ca1d522.js +142 -0
- package/dist/WebTileLayer-dd24dee2.js +110 -0
- package/dist/WhereClause-2eefa48c.js +2766 -0
- package/dist/WorkerHandle-f6b5ac7b.js +47 -0
- package/dist/WorkerTileHandler-e060fab5.js +1539 -0
- package/dist/action-a2d13907.js +198 -0
- package/dist/action-group-af071314.js +145 -0
- package/dist/action-menu-c759068f.js +1759 -0
- package/dist/apng-b33ce902.js +392 -0
- package/dist/arcade-b05c8c22.js +229 -0
- package/dist/arcadeAsyncRuntime-9b4a7891.js +943 -0
- package/dist/arcadeUtils-41691d12.js +8741 -0
- package/dist/arcgis-knowledge-client-core-2217ce57.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-ab44590a.js +1218 -0
- package/dist/arcgisLayers-0ea0be85.js +152 -0
- package/dist/associatedFeatureServiceUtils-09077513.js +92 -0
- package/dist/axisAngleDegrees-1c3d7520.js +49 -0
- package/dist/basis_transcoder-292f1aaf.js +1248 -0
- package/dist/calcite-action-ad0d1e23.js +22 -0
- package/dist/calcite-action-bar-1b2de6d0.js +303 -0
- package/dist/calcite-action-group-aacf8ec4.js +28 -0
- package/dist/calcite-button-125cbd95.js +228 -0
- package/dist/calcite-flow-c9a6e8fa.js +128 -0
- package/dist/calcite-flow-item-eb314bb8.js +499 -0
- package/dist/calcite-icon-07f22bc6.js +16 -0
- package/dist/calcite-input-167be799.js +24 -0
- package/dist/calcite-label-7de34a6b.js +79 -0
- package/dist/calcite-list-2087f9ca.js +2135 -0
- package/dist/calcite-list-item-3419fb5f.js +576 -0
- package/dist/calcite-list-item-group-3a6545e3.js +71 -0
- package/dist/calcite-loader-16bcfb95.js +14 -0
- package/dist/calcite-modal-f608731f.js +333 -0
- package/dist/calcite-notice-88ee1edf.js +181 -0
- package/dist/calcite-option-375585a2.js +94 -0
- package/dist/calcite-scrim-751cf767.js +18 -0
- package/dist/calcite-select-62db97da.js +231 -0
- package/dist/capabilities-359df394.js +50 -0
- package/dist/chartCommon-cceb2530.js +256 -0
- package/dist/chartUtilsAm5-08a29408.js +2954 -0
- package/dist/clientSideDefaults-b5450c9b.js +39 -0
- package/dist/colorRamps-314c4b5a.js +38 -0
- package/dist/colorUtils-6e9b620c.js +164 -0
- package/dist/commonProperties-3399f319.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-0b0f32ad.js +60 -0
- package/dist/conditionalSlot-012fd5da.js +27 -0
- package/dist/createConnection-f1189f51.js +299 -0
- package/dist/dataUtils-950a0ae9.js +1421 -0
- package/dist/deduplicate-eabb5f9e.js +89 -0
- package/dist/defaults-e5c5ee75.js +31 -0
- package/dist/deleteForwardEdits-ea9258ea.js +13 -0
- package/dist/diffUtils-04a71a59.js +90 -0
- package/dist/drapedUtils-2515520d.js +75 -0
- package/dist/earcut-192842ab.js +292 -0
- package/dist/edgeProcessing-da003f69.js +252 -0
- package/dist/editingSupport-9f04ba1b.js +203 -0
- package/dist/editsZScale-97938687.js +37 -0
- package/dist/elevationInfoUtils-e1edd62e.js +126 -0
- package/dist/executeForIds-3b8a1698.js +14 -0
- package/dist/executeForTopCount-6c6cd2f2.js +17 -0
- package/dist/executeForTopExtents-86851593.js +17 -0
- package/dist/executeForTopIds-24bc9dea.js +17 -0
- package/dist/executeQueryJSON-cf7d748b.js +15 -0
- package/dist/executeQueryPBF-ad416846.js +152 -0
- package/dist/executeRelationshipQuery-9b6666bf.js +53 -0
- package/dist/executeTopFeaturesQuery-4ac72bd2.js +18 -0
- package/dist/featureConversionUtils-67a121da.js +479 -0
- package/dist/featureLayerUtils-a4002773.js +142 -0
- package/dist/featureLayerUtils-a7e985d2.js +250 -0
- package/dist/featureSetUtils-11fcb3c4.js +2530 -0
- package/dist/featuresetbase-47894167.js +707 -0
- package/dist/featuresetgeom-bff2aa07.js +99 -0
- package/dist/featuresetstats-14a3fe2b.js +81 -0
- package/dist/featuresetstring-de2b64db.js +95 -0
- package/dist/fetchService-b6d76f5e.js +33 -0
- package/dist/fieldProperties-a9fbe289.js +33 -0
- package/dist/floatRGBA-2bc6800c.js +20 -0
- package/dist/form-e210eee8.js +138 -0
- package/dist/geohashUtils-085312a3.js +85 -0
- package/dist/geojson-f0bc401a.js +208 -0
- package/dist/geomasync-3c3b5e8d.js +567 -0
- package/dist/geometryEngine-2772790a.js +192 -0
- package/dist/geometryEngineAsync-db2e5674.js +217 -0
- package/dist/geometryEngineBase-8b327072.js +18463 -0
- package/dist/geometryEngineJSON-95268e88.js +171 -0
- package/dist/geometryEngineJSON-fc48a48b.js +46 -0
- package/dist/geometryEngineWorker-2fbc65f7.js +11 -0
- package/dist/geometryServiceUtils-ed9cb722.js +28 -0
- package/dist/georeference-f6f67e9b.js +291 -0
- package/dist/gif-a4043534.js +323 -0
- package/dist/gltfexport-d028c5c9.js +705 -0
- package/dist/groupLayerUtils-22dde377.js +39 -0
- package/dist/heatmapUtils-8e578a0a.js +45 -0
- package/dist/highlightReasons-ab23926f.js +19 -0
- package/dist/hydrated-219f2b0c.js +40 -0
- package/dist/i3s-b5ed4851.js +809 -0
- package/dist/icon-8711ff33.js +127 -0
- package/dist/imageBitmapUtils-dc97b3de.js +23 -0
- package/dist/imageUtils-0a71062a.js +69 -0
- package/dist/imageUtils-a4c7c9bf.js +89 -0
- package/dist/imageryUtils-d21fd540.js +43 -0
- package/dist/index-f28919b2.js +43440 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +15 -12
- package/dist/input-message-3df877b9.js +92 -0
- package/dist/input2-32e36924.js +575 -0
- package/dist/interactive-c1e1aeaf.js +80 -0
- package/dist/jsonContext-4622e179.js +15 -0
- package/dist/jsonUtils-9f58b7bb.js +476 -0
- package/dist/jsonUtils-d9bb6102.js +86 -0
- package/dist/jsonUtils-e40213c1.js +59 -0
- package/dist/kmlUtils-5f8f6cf6.js +112 -0
- package/dist/knowledgeGraphService-a34bf3b0.js +739 -0
- package/dist/knowledgegraph-68124c78.js +149 -0
- package/dist/labelUtils-3a1386e4.js +61 -0
- package/dist/labelingInfo-69c9f8f4.js +46 -0
- package/dist/layersCreator-5e6fe7f2.js +151 -0
- package/dist/layersLoader-f96735c7.js +197 -0
- package/dist/lazyLayerLoader-142515c4.js +10 -0
- package/dist/lclayout-639ec791.js +773 -0
- package/dist/lengthUtils-8796ccf3.js +5 -0
- package/dist/lerc-wasm-acb341bd.js +325 -0
- package/dist/libtess-a9e7192e.js +269 -0
- package/dist/libtess-asm-8de2fb72.js +3673 -0
- package/dist/lineSegment-2790f546.js +76 -0
- package/dist/loadGLTFMesh-33064e6d.js +181 -0
- package/dist/loadable-4558719f.js +24 -0
- package/dist/loader-4dbc522d.js +79 -0
- package/dist/lyr3DWorker-3365d66f.js +2108 -0
- package/dist/mapViewDeps-67ec1d27.js +3052 -0
- package/dist/mediaLayerUtils-612838fb.js +35 -0
- package/dist/meshFeatureSet-07b96756.js +126 -0
- package/dist/meshVertexSpaceUtils-673c2055.js +58 -0
- package/dist/multidimensionalUtils-79cc2536.js +290 -0
- package/dist/normalizeUtilsSync-9fd98ab4.js +181 -0
- package/dist/number-110986f5.js +128 -0
- package/dist/objectResourceUtils-1b8d1c03.js +1455 -0
- package/dist/observers-507c19a0.js +30 -0
- package/dist/ogcFeatureUtils-3c65f06a.js +206 -0
- package/dist/openCloseComponent-89dc4d35.js +37 -0
- package/dist/orientedBoundingBox-46d44acf.js +447 -0
- package/dist/parser-8f715684.js +488 -0
- package/dist/pbf-4ce99129.js +215 -0
- package/dist/pbfQueryUtils-23cca540.js +422 -0
- package/dist/pe-wasm-d186391a.js +887 -0
- package/dist/persistable-09062510.js +89 -0
- package/dist/perspectiveUtils-9da629d6.js +42 -0
- package/dist/pieChart-92709a5c.js +555 -0
- package/dist/plane-2b39f8eb.js +160 -0
- package/dist/popupUtils-dc099446.js +22 -0
- package/dist/popupUtils-e53c5c04.js +50 -0
- package/dist/portalItemUtils-39079445.js +57 -0
- package/dist/portalLayers-efcd5403.js +312 -0
- package/dist/portalUtils-44b1ac04.js +7 -0
- package/dist/programUtils-c22a40e2.js +59 -0
- package/dist/project-4759dc23.js +21 -0
- package/dist/projectPointToVector-1d9098bc.js +14 -0
- package/dist/projectVectorToVector-add01592.js +13 -0
- package/dist/quantityUtils-afe6e5b7.js +33 -0
- package/dist/quantizationUtils-51d3a038.js +68 -0
- package/dist/quat-22f56b72.js +104 -0
- package/dist/query-8cf3e12b.js +89 -0
- package/dist/queryAttachments-0a63ea2f.js +39 -0
- package/dist/queryEngineUtils-a1db57f0.js +21 -0
- package/dist/queryTopFeatures-b4fb05ad.js +50 -0
- package/dist/queryZScale-112cd8e3.js +12 -0
- package/dist/rasterProjectionHelper-3ae0fcfd.js +577 -0
- package/dist/rasterUtils-6868b6b6.js +122 -0
- package/dist/rasterizingUtils-922f43e7.js +46 -0
- package/dist/request-fd620c13.js +46 -0
- package/dist/requestImageUtils-f8f50ad7.js +8 -0
- package/dist/resourceExtension-f0327971.js +17 -0
- package/dist/resourceUtils-2e33090d.js +69 -0
- package/dist/resourceUtils-db0d7e83.js +42 -0
- package/dist/resourceUtils-ff5eafc3.js +62 -0
- package/dist/saveAPIKeyUtils-32bb955d.js +8 -0
- package/dist/saveUtils-d4ad8f94.js +24 -0
- package/dist/scaleUtils-a3ce8cc6.js +23 -0
- package/dist/scrim-7ef1cdf5.js +114 -0
- package/dist/serviceCapabilitiesUtils-cafdd4bc.js +64 -0
- package/dist/sourceUtils-1a30f8aa.js +71 -0
- package/dist/sphere-84d1e36b.js +199 -0
- package/dist/statsWorker-efb7a41b.js +37 -0
- package/dist/streamLayerUtils-4c5b417e.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-8f0e3848.js +75 -0
- package/dist/styleUtils-a61894cc.js +14 -0
- package/dist/sublayerUtils-aaa67481.js +37 -0
- package/dist/substitute-7b4a925f.js +52 -0
- package/dist/symbolColorUtils-45615b74.js +8 -0
- package/dist/symbolLayerUtils-6ee325f3.js +31 -0
- package/dist/symbologySnappingCandidates-a56c7bbb.js +221 -0
- package/dist/t9n-b5ab99e4.js +349 -0
- package/dist/testSVGPremultipliedAlpha-a89a8569.js +94 -0
- package/dist/timeSupport-76d5ec0e.js +410 -0
- package/dist/triangle-95e355d3.js +98 -0
- package/dist/unitConversionUtils-b0c2c156.js +17 -0
- package/dist/unitFormatUtils-b79fea5c.js +40 -0
- package/dist/uploadAssetErrors-7ef907ce.js +70 -0
- package/dist/uploadAssets-99a2ec95.js +330 -0
- package/dist/utils-0da4a164.js +419 -0
- package/dist/utils-0e163cdb.js +433 -0
- package/dist/utils-421c60f9.js +73 -0
- package/dist/utils-6e4fc34d.js +91 -0
- package/dist/utils-9612bce6.js +34 -0
- package/dist/utils-99bb2971.js +2746 -0
- package/dist/utils-d1f92cf8.js +79 -0
- package/dist/utils-e30b7de3.js +232 -0
- package/dist/utils3-41d8e55d.js +75 -0
- package/dist/vec3-ab2339d6.js +81 -0
- package/dist/vec42-1a7bd7a6.js +125 -0
- package/dist/versionUtils-b6c13869.js +161 -0
- package/dist/visualVariableUtils-1a38c540.js +267 -0
- package/dist/webStyleSymbolUtils-6f89a405.js +48 -0
- package/dist/webglDeps-dcb6738a.js +23 -0
- package/dist/wfsUtils-d679c9b9.js +343 -0
- package/dist/workerHelper-8fb7376f.js +11 -0
- package/dist/xyChart-b3c4e27e.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-98a4c8a4.js +0 -109
- package/dist/APIKeyMixin-9511e0a5.js +0 -19
- package/dist/Analysis-4b1d1fb5.js +0 -31
- package/dist/ArcGISCachedService-93e2cb27.js +0 -47
- package/dist/ArcGISService-3f8d89c1.js +0 -25
- package/dist/AreaMeasurement2D-e0bb230c.js +0 -405
- package/dist/AreaMeasurement3D-a9959ecf.js +0 -488
- package/dist/AttachmentInfo-601c56e2.js +0 -34
- package/dist/AttachmentQuery-3504d550.js +0 -18
- package/dist/AttributeStore-b90878e3.js +0 -1707
- package/dist/BaseDynamicLayerView2D-b2faf028.js +0 -63
- package/dist/BingMapsLayer-5d79fe2b.js +0 -112
- package/dist/Bitmap-f775c851.js +0 -128
- package/dist/BitmapContainer-af5942b8.js +0 -23
- package/dist/BlendLayer-a792edf6.js +0 -13
- package/dist/BoundsStore-789624df.js +0 -63
- package/dist/BufferObject-cbd0168e.js +0 -100
- package/dist/BufferView-004ad517.js +0 -683
- package/dist/BuildingSceneLayer-25bc760b.js +0 -535
- package/dist/Button-70963624.js +0 -36
- package/dist/CSVLayer-fd3b6750.js +0 -208
- package/dist/CSVSourceWorker-eb24cd85.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +0 -66
- package/dist/CatalogFootprintLayerView2D-6eb16597.js +0 -76
- package/dist/CatalogLayer-1cc632fe.js +0 -262
- package/dist/CatalogLayerView2D-d143aa34.js +0 -52
- package/dist/ClassBreaksDefinition-07ba0c64.js +0 -18
- package/dist/ColorMaterial.glsl-e7801766.js +0 -64
- package/dist/ColorSet-df5696b5.js +0 -45
- package/dist/ColorStop-7187f368.js +0 -29
- package/dist/Container-ac97765a.js +0 -521
- package/dist/CustomParametersMixin-b3432b3e.js +0 -12
- package/dist/DefaultMaterial.glsl-3cc4efe7.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +0 -653
- package/dist/DefaultTheme-12dffc66.js +0 -130
- package/dist/DeleteForwardEditsParameters-ae76d898.js +0 -18
- package/dist/DimensionLayer-9eb47c76.js +0 -129
- package/dist/DirectLineMeasurement3D-e9903136.js +0 -449
- package/dist/DistanceMeasurement2D-a4853462.js +0 -303
- package/dist/DoubleArray-5076283e.js +0 -25
- package/dist/EdgeProcessingWorker-c1783ddd.js +0 -63
- package/dist/EditBusLayer-e812f4c9.js +0 -107
- package/dist/ElevationInfo-fad03d5e.js +0 -56
- package/dist/ElevationLayer-397792d5.js +0 -129
- package/dist/ElevationQuery-beceb62f.js +0 -598
- package/dist/ElevationSamplerWorker-0048a204.js +0 -62
- package/dist/ExportImageParameters-c6c4bc61.js +0 -66
- package/dist/ExportStrategy-908f5b8d.js +0 -93
- package/dist/ExportWMSImageParameters-34da6b46.js +0 -33
- package/dist/External-14daf0c1.js +0 -110
- package/dist/FeatureCollectionSnappingSource-f97a1829.js +0 -130
- package/dist/FeatureCommandQueue-d4817eac.js +0 -1244
- package/dist/FeatureEffect-08976bbd.js +0 -39
- package/dist/FeatureEffectLayer-05c258f4.js +0 -13
- package/dist/FeatureFilter-8c5e44b1.js +0 -27
- package/dist/FeatureLayer-d3659466.js +0 -693
- package/dist/FeatureLayerBase-9b63f732.js +0 -148
- package/dist/FeatureLayerSource-960f1c01.js +0 -444
- package/dist/FeatureLayerView2D-7503e1ed.js +0 -1967
- package/dist/FeaturePipelineWorker-d4301d2a.js +0 -3633
- package/dist/FeatureReductionLayer-e6cf73ac.js +0 -225
- package/dist/FeatureReductionSelection-d90249a7.js +0 -22
- package/dist/FeatureServiceSnappingSource-9e49ca72.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +0 -747
- package/dist/FeatureSet-d79f0e48.js +0 -188
- package/dist/FeatureStore-eb4b87c0.js +0 -131
- package/dist/FeatureTemplate-edb1b782.js +0 -12
- package/dist/FeatureType-bba29adb.js +0 -25
- package/dist/FieldsIndex-75cca4d0.js +0 -109
- package/dist/FormTemplate-22911c47.js +0 -350
- package/dist/GeoJSONLayer-b33c96b8.js +0 -236
- package/dist/GeoJSONSourceWorker-b04ff552.js +0 -247
- package/dist/GeoRSSLayer-6e5fcd0e.js +0 -73
- package/dist/GeoRSSLayerView2D-21b6b12e.js +0 -140
- package/dist/GeometryUtils-fa897cbd.js +0 -403
- package/dist/GraphicContainer-1fd6bfce.js +0 -26
- package/dist/GraphicManipulator-f3b7dc9b.js +0 -1499
- package/dist/GraphicsLayer-e0686779.js +0 -38
- package/dist/GraphicsLayerView2D-a7eba2fe.js +0 -114
- package/dist/GraphicsSnappingSource-594f402a.js +0 -273
- package/dist/GraphicsView2D-347562b8.js +0 -620
- package/dist/GroupLayer-7ae0a916.js +0 -147
- package/dist/GroupLayerView2D-ffcde606.js +0 -98
- package/dist/HUDMaterial.glsl-b0a3e0ce.js +0 -65
- package/dist/HighlightCounter-e18f0179.js +0 -41
- package/dist/HighlightGraphicContainer-fd774cea.js +0 -18
- package/dist/I3SBinaryReader-190e99de.js +0 -310
- package/dist/I3SLayerDefinitions-6ddaca60.js +0 -55
- package/dist/I3SUtil-44b83dc0.js +0 -59
- package/dist/IdentityManager-fbe91c13.js +0 -899
- package/dist/ImageHistogramParameters-d64fd9c8.js +0 -905
- package/dist/ImageryLayer-67878a78.js +0 -1799
- package/dist/ImageryLayerView2D-ae45faba.js +0 -352
- package/dist/ImageryTileLayer-9dca8b93.js +0 -2157
- package/dist/ImageryTileLayerView2D-977f66aa.js +0 -1110
- package/dist/Indices-e6dc3b15.js +0 -67
- package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +0 -112
- package/dist/IntegratedMeshLayer-9162c0b5.js +0 -141
- package/dist/InteractiveAnalysisViewModel-b046fcb9.js +0 -7397
- package/dist/InterleavedLayout-32973c8a.js +0 -163
- package/dist/KMLLayer-80f81df7.js +0 -162
- package/dist/KMLLayerView2D-b6ba3b80.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +0 -43
- package/dist/LRUCache-27e8c401.js +0 -32
- package/dist/LabelClass-d9a476d6.js +0 -135
- package/dist/LabelMetric-e2728bbf.js +0 -400
- package/dist/LaserlinePath.glsl-60d00e61.js +0 -64
- package/dist/Laserlines.glsl-499a6cbf.js +0 -65
- package/dist/LayerFloorInfo-d05cf9dd.js +0 -15
- package/dist/LayerView-036988a9.js +0 -206
- package/dist/LercWorker-b1b4bb47.js +0 -157
- package/dist/LineOfSightLayer-9a9a60b7.js +0 -147
- package/dist/LinkChartLayer-d61803bb.js +0 -1027
- package/dist/Lyr3DWorker-87be14e0.js +0 -82
- package/dist/MagnifierPrograms-da7a27ab.js +0 -806
- package/dist/MapImageLayer-f07adf1a.js +0 -169
- package/dist/MapImageLayerView2D-d1b140c3.js +0 -146
- package/dist/MapNotesLayer-c662d147.js +0 -283
- package/dist/MapNotesLayerView2D-bf9ac698.js +0 -161
- package/dist/MapServiceLayerViewHelper-fb724de9.js +0 -288
- package/dist/MeasurementWidgetContent-e4888ef2.js +0 -2642
- package/dist/MediaLayer-36d873a3.js +0 -523
- package/dist/MediaLayerView2D-e58b8ec0.js +0 -332
- package/dist/MemCache-a9232ec2.js +0 -227
- package/dist/MemorySourceWorker-20ff27d6.js +0 -222
- package/dist/Mesh-3839826a.js +0 -980
- package/dist/MeshLocalVertexSpace-00151564.js +0 -19
- package/dist/MultiOriginJSONSupport-bb258670.js +0 -158
- package/dist/OGCFeatureLayer-2a8b7ecc.js +0 -211
- package/dist/OGCFeatureLayerView2D-185f9649.js +0 -82
- package/dist/ObjectStack-10d91171.js +0 -21
- package/dist/Octree-78797046.js +0 -495
- package/dist/OpenStreetMapLayer-b0a17790.js +0 -30
- package/dist/OperationalLayer-55af27d6.js +0 -44
- package/dist/OrderByInfo-22e3c805.js +0 -16
- package/dist/OrderedLayer-1403a591.js +0 -26
- package/dist/OrientedImageryLayer-8ec8d7d1.js +0 -216
- package/dist/OverlayCompositing.glsl-ba3bd81d.js +0 -65
- package/dist/OverrideHelper-82325a2c.js +0 -242
- package/dist/PBFDecoderWorker-f6517afc.js +0 -213
- package/dist/PointCloudLayer-cff43a10.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-f337a895.js +0 -115
- package/dist/PointCloudWorker-cdb28dc1.js +0 -212
- package/dist/PooledRBush-ee4e60af.js +0 -272
- package/dist/Popup-c7f55588.js +0 -3990
- package/dist/PortalLayer-07b3c53e.js +0 -126
- package/dist/Program-ba2f18b2.js +0 -694
- package/dist/ProgramTemplate-eee4f097.js +0 -35
- package/dist/QueryEngine-10c97624.js +0 -896
- package/dist/QueryTask-115430b6.js +0 -119
- package/dist/RasterSymbolizer-fbf433fe.js +0 -3024
- package/dist/RasterVFDisplayObject-20b0dd86.js +0 -581
- package/dist/RasterWorker-44c37e20.js +0 -78
- package/dist/RawBlockCache-25203dbd.js +0 -185
- package/dist/RealisticTree.glsl-bc07c4dc.js +0 -42
- package/dist/RefreshableLayer-9550b85a.js +0 -80
- package/dist/RefreshableLayerView-601f7038.js +0 -16
- package/dist/Relationship-c662830e.js +0 -64
- package/dist/RelationshipQuery-765f068e.js +0 -22
- package/dist/RenderingContext-3db74548.js +0 -889
- package/dist/RibbonLine.glsl-c6a715b7.js +0 -65
- package/dist/RouteLayer-3f5411f3.js +0 -786
- package/dist/RouteLayerView2D-a5fd4cbf.js +0 -195
- package/dist/SDFHelper-a34e90ee.js +0 -140
- package/dist/SSAO.glsl-5491a708.js +0 -43
- package/dist/SSAOBlur.glsl-f3068b8e.js +0 -42
- package/dist/ScaleRangeLayer-7ddf00b4.js +0 -21
- package/dist/SceneLayer-c594bfc3.js +0 -542
- package/dist/SceneLayerSnappingSource-a0504ac7.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +0 -112
- package/dist/SceneLayerWorker-1865768e.js +0 -164
- package/dist/SceneService-fb9f0142.js +0 -215
- package/dist/Scheduler-eacc84bb.js +0 -373
- package/dist/ShadedColorMaterial.glsl-db97956b.js +0 -64
- package/dist/SnappingOperation-9622a00d.js +0 -48
- package/dist/SourceLayerData-7016f1a5.js +0 -116
- package/dist/SpatialFilter-d20d4f50.js +0 -1701
- package/dist/Stop-68022e32.js +0 -281
- package/dist/StreamLayer-7c837e3d.js +0 -188
- package/dist/StreamLayerView2D-586f5a6a.js +0 -164
- package/dist/StyleRepository-fba75e70.js +0 -2212
- package/dist/SublayersOwner-3dc574cd.js +0 -545
- package/dist/SubtypeGroupLayer-1f9c5398.js +0 -514
- package/dist/SubtypeGroupLayerView2D-0f108d9d.js +0 -84
- package/dist/TechniqueInstance-0481dbff.js +0 -233
- package/dist/TemporalLayer-8116b4a4.js +0 -23
- package/dist/Texture-22a8cca5.js +0 -501
- package/dist/TextureOnly.glsl-458f8148.js +0 -65
- package/dist/Theme-f05b8eb0.js +0 -3426
- package/dist/Tick-aef93b48.js +0 -723
- package/dist/TileContainer-0bf0ea1b.js +0 -31
- package/dist/TileInfoTilemapCache-d78858c0.js +0 -38
- package/dist/TileLayer-0edee064.js +0 -194
- package/dist/TileLayerView2D-78d5801b.js +0 -187
- package/dist/TilemapCache-79699d61.js +0 -189
- package/dist/TimeInfo-40c96ade.js +0 -42
- package/dist/TimeOnly-9ee66ca6.js +0 -706
- package/dist/Tooltip-e7498dc9.js +0 -138
- package/dist/TopFeaturesQuery-ad224e01.js +0 -32
- package/dist/TurboLine-6ab04aef.js +0 -565
- package/dist/UniqueValueRenderer-eaa5f8a6.js +0 -1039
- package/dist/UnknownLayer-e280ddd4.js +0 -30
- package/dist/UnknownTimeZone-220952b5.js +0 -15
- package/dist/UnsupportedLayer-447f7676.js +0 -31
- package/dist/UpdateTracking2D-e9adad8f.js +0 -8566
- package/dist/Util-002f5109.js +0 -57
- package/dist/VectorTileLayer-3210be81.js +0 -544
- package/dist/VectorTileLayerView2D-6a51e3b8.js +0 -2108
- package/dist/Version-3de8cbca.js +0 -33
- package/dist/VertexArrayObject-07998745.js +0 -73
- package/dist/VertexColor.glsl-e415cf02.js +0 -2683
- package/dist/VertexSnappingCandidate-b676241f.js +0 -13
- package/dist/VideoLayerView2D-f659dd0d.js +0 -124
- package/dist/VoxelLayer-003f82ff.js +0 -631
- package/dist/WFSLayer-3da6c5f7.js +0 -221
- package/dist/WFSSourceWorker-9a11693a.js +0 -157
- package/dist/WGLContainer-3d159b63.js +0 -5426
- package/dist/WMSLayer-fc0632f8.js +0 -536
- package/dist/WMSLayerView2D-54e80e1b.js +0 -117
- package/dist/WMTSLayer-9324b12b.js +0 -531
- package/dist/WMTSLayerView2D-3ef936db.js +0 -142
- package/dist/WebTileLayer-45c563ff.js +0 -110
- package/dist/WhereClause-7a28b740.js +0 -2766
- package/dist/WorkerHandle-0d54a6c7.js +0 -47
- package/dist/WorkerTileHandler-786c2b24.js +0 -1539
- package/dist/action-163397e3.js +0 -198
- package/dist/action-group-4859fb97.js +0 -145
- package/dist/action-menu-2d70b2fc.js +0 -1759
- package/dist/apng-9b71d52c.js +0 -392
- package/dist/arcade-fa309282.js +0 -229
- package/dist/arcadeAsyncRuntime-738498fd.js +0 -943
- package/dist/arcadeUtils-f71d80fa.js +0 -8741
- package/dist/arcgis-knowledge-client-core-6056bcea.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +0 -1218
- package/dist/arcgisLayers-b2b878bd.js +0 -152
- package/dist/associatedFeatureServiceUtils-df5b5187.js +0 -92
- package/dist/axisAngleDegrees-32643b7c.js +0 -49
- package/dist/basis_transcoder-3187cc92.js +0 -1248
- package/dist/calcite-action-bar-5a87c23c.js +0 -303
- package/dist/calcite-action-ee2ca847.js +0 -22
- package/dist/calcite-action-group-19aa86ee.js +0 -28
- package/dist/calcite-button-8e9175c0.js +0 -228
- package/dist/calcite-flow-57d26d2d.js +0 -128
- package/dist/calcite-flow-item-4a3e3fc0.js +0 -499
- package/dist/calcite-icon-d99e280a.js +0 -16
- package/dist/calcite-input-28b20785.js +0 -24
- package/dist/calcite-label-4f30e08d.js +0 -79
- package/dist/calcite-list-0cee7628.js +0 -2135
- package/dist/calcite-list-item-0a19efa8.js +0 -576
- package/dist/calcite-list-item-group-0706662f.js +0 -71
- package/dist/calcite-loader-865045b1.js +0 -14
- package/dist/calcite-modal-3e4da6fd.js +0 -333
- package/dist/calcite-notice-50b74ab7.js +0 -181
- package/dist/calcite-option-713c1d40.js +0 -94
- package/dist/calcite-scrim-809fbd0b.js +0 -18
- package/dist/calcite-select-28d8edfc.js +0 -231
- package/dist/capabilities-c8f838be.js +0 -50
- package/dist/chartCommon-13718cda.js +0 -256
- package/dist/chartUtilsAm5-6be145fb.js +0 -2954
- package/dist/clientSideDefaults-5c1f97c9.js +0 -39
- package/dist/colorRamps-8792655e.js +0 -38
- package/dist/colorUtils-54f4b662.js +0 -164
- package/dist/commonProperties-f9559903.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-4876cb93.js +0 -60
- package/dist/conditionalSlot-87175989.js +0 -27
- package/dist/createConnection-f974a00a.js +0 -299
- package/dist/dataUtils-7c276b73.js +0 -1421
- package/dist/deduplicate-59fb9cac.js +0 -89
- package/dist/defaults-2bfa4a36.js +0 -31
- package/dist/deleteForwardEdits-f653b513.js +0 -13
- package/dist/diffUtils-e71a6152.js +0 -90
- package/dist/drapedUtils-b42fcbc6.js +0 -75
- package/dist/earcut-6fa1a128.js +0 -292
- package/dist/edgeProcessing-2ff1f201.js +0 -252
- package/dist/editingSupport-68545668.js +0 -203
- package/dist/editsZScale-c7cdd215.js +0 -37
- package/dist/elevationInfoUtils-5456a079.js +0 -126
- package/dist/executeForIds-4ab75c0d.js +0 -14
- package/dist/executeForTopCount-7e095ec1.js +0 -17
- package/dist/executeForTopExtents-19daf9d0.js +0 -17
- package/dist/executeForTopIds-1ba3a4af.js +0 -17
- package/dist/executeQueryJSON-46168866.js +0 -15
- package/dist/executeQueryPBF-d8623daf.js +0 -152
- package/dist/executeRelationshipQuery-011dfb45.js +0 -53
- package/dist/executeTopFeaturesQuery-02166801.js +0 -18
- package/dist/featureConversionUtils-650d7601.js +0 -479
- package/dist/featureLayerUtils-64e09283.js +0 -142
- package/dist/featureLayerUtils-b07f9c11.js +0 -250
- package/dist/featureSetUtils-9d37d6f8.js +0 -2530
- package/dist/featuresetbase-62aeb079.js +0 -707
- package/dist/featuresetgeom-51f9fc4e.js +0 -99
- package/dist/featuresetstats-4db32894.js +0 -81
- package/dist/featuresetstring-990c3287.js +0 -95
- package/dist/fetchService-5198dd4a.js +0 -33
- package/dist/fieldProperties-edfa24cb.js +0 -33
- package/dist/floatRGBA-516d7961.js +0 -20
- package/dist/form-99719d52.js +0 -138
- package/dist/geohashUtils-2bc76440.js +0 -85
- package/dist/geojson-603231df.js +0 -208
- package/dist/geomasync-e9063b4c.js +0 -567
- package/dist/geometryEngine-d3bb2fd6.js +0 -192
- package/dist/geometryEngineAsync-55aa6170.js +0 -217
- package/dist/geometryEngineBase-527e8b63.js +0 -18463
- package/dist/geometryEngineJSON-28087174.js +0 -46
- package/dist/geometryEngineJSON-d54949f9.js +0 -171
- package/dist/geometryEngineWorker-dc2c7127.js +0 -11
- package/dist/geometryServiceUtils-6a3e1e93.js +0 -28
- package/dist/georeference-ed8b2c30.js +0 -291
- package/dist/gif-204e82dd.js +0 -323
- package/dist/gltfexport-b2566542.js +0 -705
- package/dist/groupLayerUtils-ea9e6359.js +0 -39
- package/dist/heatmapUtils-56758920.js +0 -45
- package/dist/highlightReasons-de432106.js +0 -19
- package/dist/hydrated-0e1c7565.js +0 -40
- package/dist/i3s-bb0b5b67.js +0 -809
- package/dist/icon-c6e3bd23.js +0 -127
- package/dist/imageBitmapUtils-881d8c64.js +0 -23
- package/dist/imageUtils-57eeedc5.js +0 -69
- package/dist/imageUtils-ef69c578.js +0 -89
- package/dist/imageryUtils-23f51cb1.js +0 -43
- package/dist/index-01c737ed.js +0 -42563
- package/dist/input-message-673a9baa.js +0 -92
- package/dist/input2-bbf6454e.js +0 -575
- package/dist/interactive-aeb2cb9f.js +0 -80
- package/dist/jsonContext-2dc288b1.js +0 -15
- package/dist/jsonUtils-1abd4bfc.js +0 -59
- package/dist/jsonUtils-913fa1bd.js +0 -86
- package/dist/jsonUtils-f6a5e63b.js +0 -476
- package/dist/kmlUtils-7c2744fe.js +0 -112
- package/dist/knowledgeGraphService-6a349e04.js +0 -739
- package/dist/knowledgegraph-c91b0bb2.js +0 -149
- package/dist/labelUtils-a3634e8f.js +0 -61
- package/dist/labelingInfo-568c9210.js +0 -46
- package/dist/layersCreator-4a5366ea.js +0 -151
- package/dist/layersLoader-b87d4857.js +0 -197
- package/dist/lazyLayerLoader-8817000c.js +0 -10
- package/dist/lclayout-64c67b4e.js +0 -773
- package/dist/lengthUtils-695e744c.js +0 -5
- package/dist/lerc-wasm-13192bf3.js +0 -325
- package/dist/libtess-asm-4883179d.js +0 -3673
- package/dist/libtess-fc70d1ce.js +0 -269
- package/dist/lineSegment-3aa941f5.js +0 -76
- package/dist/loadGLTFMesh-db6645f5.js +0 -181
- package/dist/loadable-266f324b.js +0 -24
- package/dist/loader-d1ce1bc1.js +0 -79
- package/dist/lyr3DWorker-dd48e619.js +0 -2108
- package/dist/mapViewDeps-226d9da3.js +0 -3052
- package/dist/mediaLayerUtils-ae485c27.js +0 -35
- package/dist/meshFeatureSet-8a2ad011.js +0 -126
- package/dist/meshVertexSpaceUtils-6efe3dcc.js +0 -58
- package/dist/multidimensionalUtils-508a3f3f.js +0 -290
- package/dist/normalizeUtilsSync-1dae280b.js +0 -181
- package/dist/number-5aa3a81b.js +0 -128
- package/dist/objectResourceUtils-642ab03e.js +0 -1455
- package/dist/observers-f646a6a4.js +0 -30
- package/dist/ogcFeatureUtils-46ac1c44.js +0 -206
- package/dist/openCloseComponent-47eb52c6.js +0 -37
- package/dist/orientedBoundingBox-554ccdc6.js +0 -447
- package/dist/parser-0701286c.js +0 -488
- package/dist/pbf-5dd791f5.js +0 -215
- package/dist/pbfQueryUtils-a6ca7e23.js +0 -422
- package/dist/pe-wasm-6c16b121.js +0 -887
- package/dist/persistable-9eb0e8df.js +0 -89
- package/dist/perspectiveUtils-b194621d.js +0 -42
- package/dist/pieChart-b97433d0.js +0 -555
- package/dist/plane-3398eec1.js +0 -160
- package/dist/popupUtils-c444b896.js +0 -22
- package/dist/popupUtils-d871563b.js +0 -50
- package/dist/portalItemUtils-4c4caad0.js +0 -57
- package/dist/portalLayers-cb07742f.js +0 -312
- package/dist/portalUtils-effd590f.js +0 -7
- package/dist/programUtils-65af7b7c.js +0 -59
- package/dist/project-ee9c2947.js +0 -21
- package/dist/projectPointToVector-7dc831a9.js +0 -14
- package/dist/projectVectorToVector-5163db7a.js +0 -13
- package/dist/quantityUtils-5cd4cf90.js +0 -33
- package/dist/quantizationUtils-0a8f74c6.js +0 -68
- package/dist/quat-a508aed3.js +0 -104
- package/dist/query-b6e1fd14.js +0 -89
- package/dist/queryAttachments-7b39ebdc.js +0 -39
- package/dist/queryEngineUtils-cb8e309e.js +0 -21
- package/dist/queryTopFeatures-2e0e3941.js +0 -50
- package/dist/queryZScale-c5733d0a.js +0 -12
- package/dist/rasterProjectionHelper-213afa27.js +0 -577
- package/dist/rasterUtils-f2e44e8b.js +0 -122
- package/dist/rasterizingUtils-25cc0190.js +0 -46
- package/dist/request-e0c679b3.js +0 -46
- package/dist/requestImageUtils-37d79281.js +0 -8
- package/dist/resourceExtension-5f3f1c80.js +0 -17
- package/dist/resourceUtils-0d68cbc2.js +0 -69
- package/dist/resourceUtils-374db840.js +0 -62
- package/dist/resourceUtils-43ce192b.js +0 -42
- package/dist/saveAPIKeyUtils-1a3d4a8a.js +0 -8
- package/dist/saveUtils-43fdc547.js +0 -24
- package/dist/scaleUtils-bdf8b6cb.js +0 -23
- package/dist/scrim-44eb4dc0.js +0 -114
- package/dist/serviceCapabilitiesUtils-823612b8.js +0 -64
- package/dist/sourceUtils-01d115c6.js +0 -71
- package/dist/sphere-908cd9aa.js +0 -199
- package/dist/statsWorker-49f9befe.js +0 -37
- package/dist/streamLayerUtils-29324e05.js +0 -31
- package/dist/styleUtils-82e8da52.js +0 -75
- package/dist/styleUtils-8541d60d.js +0 -14
- package/dist/sublayerUtils-eaac2486.js +0 -37
- package/dist/substitute-1f578d70.js +0 -52
- package/dist/symbolColorUtils-18fd6b3d.js +0 -8
- package/dist/symbolLayerUtils-4c58b291.js +0 -31
- package/dist/symbologySnappingCandidates-14d94b6b.js +0 -221
- package/dist/t9n-c1c2b6c8.js +0 -349
- package/dist/testSVGPremultipliedAlpha-159dac90.js +0 -94
- package/dist/timeSupport-3f529cdb.js +0 -410
- package/dist/triangle-8a3a2ba8.js +0 -98
- package/dist/unitConversionUtils-f0ebaf75.js +0 -17
- package/dist/unitFormatUtils-555e2d94.js +0 -40
- package/dist/uploadAssetErrors-d1389781.js +0 -70
- package/dist/uploadAssets-5e85f09d.js +0 -330
- package/dist/utils-3a10b10c.js +0 -34
- package/dist/utils-505c54e9.js +0 -91
- package/dist/utils-5432e258.js +0 -433
- package/dist/utils-7a88ec6a.js +0 -419
- package/dist/utils-7fa9cdf9.js +0 -2746
- package/dist/utils-d252c575.js +0 -73
- package/dist/utils-f07e00b3.js +0 -232
- package/dist/utils-fda10b4b.js +0 -79
- package/dist/utils3-c34ab97c.js +0 -75
- package/dist/vec3-f79c600d.js +0 -81
- package/dist/vec42-36edeb73.js +0 -125
- package/dist/versionUtils-6935648b.js +0 -161
- package/dist/visualVariableUtils-c425461a.js +0 -267
- package/dist/webStyleSymbolUtils-4f42a29f.js +0 -48
- package/dist/webglDeps-5f18210d.js +0 -23
- package/dist/wfsUtils-6f7f1e3e.js +0 -343
- package/dist/workerHelper-9dc9a790.js +0 -11
- package/dist/xyChart-e5648fee.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-7a28b740.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-f71d80fa.js";
|
|
3
|
-
import { n as M, m as ie, a as z } from "./TimeOnly-9ee66ca6.js";
|
|
4
|
-
import { hb as le, bR as oe, ez as Z } from "./index-01c737ed.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-55aa6170.js";
|
|
6
|
-
import { Z as we } from "./FieldsIndex-75cca4d0.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
|
-
};
|