@agrotools1/at-components 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AGraphicContainer-98a4c8a4.js +109 -0
- package/dist/APIKeyMixin-9511e0a5.js +19 -0
- package/dist/Analysis-4b1d1fb5.js +31 -0
- package/dist/ArcGISCachedService-93e2cb27.js +47 -0
- package/dist/ArcGISService-3f8d89c1.js +25 -0
- package/dist/AreaMeasurement2D-e0bb230c.js +405 -0
- package/dist/AreaMeasurement3D-a9959ecf.js +488 -0
- package/dist/AttachmentInfo-601c56e2.js +34 -0
- package/dist/AttachmentQuery-3504d550.js +18 -0
- package/dist/AttributeStore-b90878e3.js +1707 -0
- package/dist/BaseDynamicLayerView2D-b2faf028.js +63 -0
- package/dist/BindType-5e76c8e1.js +7 -0
- package/dist/BingMapsLayer-5d79fe2b.js +112 -0
- package/dist/Bitmap-f775c851.js +128 -0
- package/dist/BitmapContainer-af5942b8.js +23 -0
- package/dist/BlendLayer-a792edf6.js +13 -0
- package/dist/BoundsStore-789624df.js +63 -0
- package/dist/BufferObject-cbd0168e.js +100 -0
- package/dist/BufferView-004ad517.js +683 -0
- package/dist/BuildingSceneLayer-25bc760b.js +535 -0
- package/dist/Button/Button.d.ts +24 -2
- package/dist/Button-70963624.js +36 -0
- package/dist/ByteSizeUnit-90df2840.js +7 -0
- package/dist/CSVLayer-fd3b6750.js +208 -0
- package/dist/CSVSourceWorker-eb24cd85.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +66 -0
- package/dist/CatalogFootprintLayerView2D-6eb16597.js +76 -0
- package/dist/CatalogLayer-1cc632fe.js +262 -0
- package/dist/CatalogLayerView2D-d143aa34.js +52 -0
- package/dist/Chips/index.d.ts +1 -0
- package/dist/CircularArray-b2bc1dfd.js +40 -0
- package/dist/ClassBreaksDefinition-07ba0c64.js +18 -0
- package/dist/ColorMaterial.glsl-e7801766.js +64 -0
- package/dist/ColorSet-df5696b5.js +45 -0
- package/dist/ColorStop-7187f368.js +29 -0
- package/dist/Container-ac97765a.js +521 -0
- package/dist/CustomParametersMixin-b3432b3e.js +12 -0
- package/dist/DatePicker/DatePicker.helper.d.ts +22 -0
- package/dist/DatePicker/DatePickerCalendar/DatePickerCalendar.helper.d.ts +18 -0
- package/dist/DatePicker/index.d.ts +2 -0
- package/dist/DefaultMaterial.glsl-3cc4efe7.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +653 -0
- package/dist/DefaultTheme-12dffc66.js +130 -0
- package/dist/DeleteForwardEditsParameters-ae76d898.js +18 -0
- package/dist/DimensionLayer-9eb47c76.js +129 -0
- package/dist/DirectLineMeasurement3D-e9903136.js +449 -0
- package/dist/DistanceMeasurement2D-a4853462.js +303 -0
- package/dist/DoubleArray-5076283e.js +25 -0
- package/dist/EdgeProcessingWorker-c1783ddd.js +63 -0
- package/dist/EditBusLayer-e812f4c9.js +107 -0
- package/dist/ElevationInfo-fad03d5e.js +56 -0
- package/dist/ElevationLayer-397792d5.js +129 -0
- package/dist/ElevationQuery-beceb62f.js +598 -0
- package/dist/ElevationSamplerWorker-0048a204.js +62 -0
- package/dist/ExportImageParameters-c6c4bc61.js +66 -0
- package/dist/ExportStrategy-908f5b8d.js +93 -0
- package/dist/ExportWMSImageParameters-34da6b46.js +33 -0
- package/dist/External-14daf0c1.js +110 -0
- package/dist/FeatureCollectionSnappingSource-f97a1829.js +130 -0
- package/dist/FeatureCommandQueue-d4817eac.js +1244 -0
- package/dist/FeatureEffect-08976bbd.js +39 -0
- package/dist/FeatureEffectLayer-05c258f4.js +13 -0
- package/dist/FeatureFilter-8c5e44b1.js +27 -0
- package/dist/FeatureLayer-d3659466.js +693 -0
- package/dist/FeatureLayerBase-9b63f732.js +148 -0
- package/dist/FeatureLayerSource-960f1c01.js +444 -0
- package/dist/FeatureLayerView2D-7503e1ed.js +1967 -0
- package/dist/FeaturePipelineWorker-d4301d2a.js +3633 -0
- package/dist/FeatureReductionLayer-e6cf73ac.js +225 -0
- package/dist/FeatureReductionSelection-d90249a7.js +22 -0
- package/dist/FeatureServiceSnappingSource-9e49ca72.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +747 -0
- package/dist/FeatureSet-d79f0e48.js +188 -0
- package/dist/FeatureStore-eb4b87c0.js +131 -0
- package/dist/FeatureTemplate-edb1b782.js +12 -0
- package/dist/FeatureType-bba29adb.js +25 -0
- package/dist/FieldsIndex-75cca4d0.js +109 -0
- package/dist/FormTemplate-22911c47.js +350 -0
- package/dist/GeoJSONLayer-b33c96b8.js +236 -0
- package/dist/GeoJSONSourceWorker-b04ff552.js +247 -0
- package/dist/GeoRSSLayer-6e5fcd0e.js +73 -0
- package/dist/GeoRSSLayerView2D-21b6b12e.js +140 -0
- package/dist/GeometryUtils-fa897cbd.js +403 -0
- package/dist/GraphicContainer-1fd6bfce.js +26 -0
- package/dist/GraphicManipulator-f3b7dc9b.js +1499 -0
- package/dist/GraphicsLayer-e0686779.js +38 -0
- package/dist/GraphicsLayerView2D-a7eba2fe.js +114 -0
- package/dist/GraphicsSnappingSource-594f402a.js +273 -0
- package/dist/GraphicsView2D-347562b8.js +620 -0
- package/dist/GroupLayer-7ae0a916.js +147 -0
- package/dist/GroupLayerView2D-ffcde606.js +98 -0
- package/dist/HUDMaterial.glsl-b0a3e0ce.js +65 -0
- package/dist/HighlightCounter-e18f0179.js +41 -0
- package/dist/HighlightGraphicContainer-fd774cea.js +18 -0
- package/dist/I3SBinaryReader-190e99de.js +310 -0
- package/dist/I3SLayerDefinitions-6ddaca60.js +55 -0
- package/dist/I3SUtil-44b83dc0.js +59 -0
- package/dist/IdentityManager-fbe91c13.js +899 -0
- package/dist/ImageHistogramParameters-d64fd9c8.js +905 -0
- package/dist/ImageryLayer-67878a78.js +1799 -0
- package/dist/ImageryLayerView2D-ae45faba.js +352 -0
- package/dist/ImageryTileLayer-9dca8b93.js +2157 -0
- package/dist/ImageryTileLayerView2D-977f66aa.js +1110 -0
- package/dist/ImmutableArray-fb7b7a6a.js +20 -0
- package/dist/Indices-e6dc3b15.js +67 -0
- package/dist/Input/Input.core.d.ts +37 -11
- package/dist/Input/index.d.ts +37 -11
- package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +112 -0
- package/dist/IntegratedMeshLayer-9162c0b5.js +141 -0
- package/dist/InteractiveAnalysisViewModel-b046fcb9.js +7397 -0
- package/dist/InterleavedLayout-32973c8a.js +163 -0
- package/dist/KMLLayer-80f81df7.js +162 -0
- package/dist/KMLLayerView2D-b6ba3b80.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +43 -0
- package/dist/LRUCache-27e8c401.js +32 -0
- package/dist/LabelClass-d9a476d6.js +135 -0
- package/dist/LabelMetric-e2728bbf.js +400 -0
- package/dist/LaserlinePath.glsl-60d00e61.js +64 -0
- package/dist/Laserlines.glsl-499a6cbf.js +65 -0
- package/dist/LayerFloorInfo-d05cf9dd.js +15 -0
- package/dist/LayerView-036988a9.js +206 -0
- package/dist/LercWorker-b1b4bb47.js +157 -0
- package/dist/LineOfSightLayer-9a9a60b7.js +147 -0
- package/dist/LinkChartLayer-d61803bb.js +1027 -0
- package/dist/Lyr3DWorker-87be14e0.js +82 -0
- package/dist/MD5-1b5ec1c3.js +76 -0
- package/dist/MagnifierPrograms-da7a27ab.js +806 -0
- package/dist/Map/Map.d.ts +26 -0
- package/dist/Map/index.d.ts +1 -0
- package/dist/Map/types/index.d.ts +38 -0
- package/dist/Map/utils/index.d.ts +24 -0
- package/dist/MapImageLayer-f07adf1a.js +169 -0
- package/dist/MapImageLayerView2D-d1b140c3.js +146 -0
- package/dist/MapNotesLayer-c662d147.js +283 -0
- package/dist/MapNotesLayerView2D-bf9ac698.js +161 -0
- package/dist/MapServiceLayerViewHelper-fb724de9.js +288 -0
- package/dist/MeasurementWidgetContent-e4888ef2.js +2642 -0
- package/dist/MediaLayer-36d873a3.js +523 -0
- package/dist/MediaLayerView2D-e58b8ec0.js +332 -0
- package/dist/MemCache-a9232ec2.js +227 -0
- package/dist/MemorySourceWorker-20ff27d6.js +222 -0
- package/dist/Mesh-3839826a.js +980 -0
- package/dist/MeshLocalVertexSpace-00151564.js +19 -0
- package/dist/MultiOriginJSONSupport-bb258670.js +158 -0
- package/dist/NestedMap-83f8e815.js +29 -0
- package/dist/OGCFeatureLayer-2a8b7ecc.js +211 -0
- package/dist/OGCFeatureLayerView2D-185f9649.js +82 -0
- package/dist/ObjectStack-10d91171.js +21 -0
- package/dist/Octree-78797046.js +495 -0
- package/dist/OpenStreetMapLayer-b0a17790.js +30 -0
- package/dist/OperationalLayer-55af27d6.js +44 -0
- package/dist/OptimizedFeatureSet-54e095c4.js +12 -0
- package/dist/OptimizedGeometry-3b808152.js +68 -0
- package/dist/OrderByInfo-22e3c805.js +16 -0
- package/dist/OrderIndependentTransparency-3eadfe42.js +214 -0
- package/dist/OrderedLayer-1403a591.js +26 -0
- package/dist/OrientedImageryLayer-8ec8d7d1.js +216 -0
- package/dist/OverlayCompositing.glsl-ba3bd81d.js +65 -0
- package/dist/OverrideHelper-82325a2c.js +242 -0
- package/dist/PBFDecoderWorker-f6517afc.js +213 -0
- package/dist/PointCloudLayer-cff43a10.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-f337a895.js +115 -0
- package/dist/PointCloudWorker-cdb28dc1.js +212 -0
- package/dist/PooledRBush-ee4e60af.js +272 -0
- package/dist/Popup-c7f55588.js +3990 -0
- package/dist/PortalLayer-07b3c53e.js +126 -0
- package/dist/Program-ba2f18b2.js +694 -0
- package/dist/ProgramTemplate-eee4f097.js +35 -0
- package/dist/ProgressBar/ProgressBar.d.ts +0 -13
- package/dist/QueryEngine-10c97624.js +896 -0
- package/dist/QueryEngineCapabilities-0d8477a2.js +4 -0
- package/dist/QueryTask-115430b6.js +119 -0
- package/dist/RasterSymbolizer-fbf433fe.js +3024 -0
- package/dist/RasterVFDisplayObject-20b0dd86.js +581 -0
- package/dist/RasterWorker-44c37e20.js +78 -0
- package/dist/RawBlockCache-25203dbd.js +185 -0
- package/dist/RealisticTree.glsl-bc07c4dc.js +42 -0
- package/dist/Rect-894f011c.js +14 -0
- package/dist/RefreshableLayer-9550b85a.js +80 -0
- package/dist/RefreshableLayerView-601f7038.js +16 -0
- package/dist/Relationship-c662830e.js +64 -0
- package/dist/RelationshipQuery-765f068e.js +22 -0
- package/dist/RenderState-b244097f.js +7 -0
- package/dist/RenderingContext-3db74548.js +889 -0
- package/dist/RibbonLine.glsl-c6a715b7.js +65 -0
- package/dist/RouteLayer-3f5411f3.js +786 -0
- package/dist/RouteLayerView2D-a5fd4cbf.js +195 -0
- package/dist/SDFHelper-a34e90ee.js +140 -0
- package/dist/SSAO.glsl-5491a708.js +43 -0
- package/dist/SSAOBlur.glsl-f3068b8e.js +42 -0
- package/dist/ScaleRangeLayer-7ddf00b4.js +21 -0
- package/dist/SceneLayer-c594bfc3.js +542 -0
- package/dist/SceneLayerSnappingSource-a0504ac7.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +112 -0
- package/dist/SceneLayerWorker-1865768e.js +164 -0
- package/dist/SceneService-fb9f0142.js +215 -0
- package/dist/Scheduler-eacc84bb.js +373 -0
- package/dist/Select/Item/Item.d.ts +2 -1
- package/dist/Select/{Select.multiple.d.ts → Multiple/Select.multiple.d.ts} +26 -16
- package/dist/Select/Select.core.d.ts +18 -15
- package/dist/Select/{Select.single.d.ts → Single/Select.single.d.ts} +23 -14
- package/dist/Select/index.d.ts +42 -24
- package/dist/ShadedColorMaterial.glsl-db97956b.js +64 -0
- package/dist/SnappingOperation-9622a00d.js +48 -0
- package/dist/SourceLayerData-7016f1a5.js +116 -0
- package/dist/SpatialFilter-d20d4f50.js +1701 -0
- package/dist/Stop-68022e32.js +281 -0
- package/dist/StreamLayer-7c837e3d.js +188 -0
- package/dist/StreamLayerView2D-586f5a6a.js +164 -0
- package/dist/StyleDefinition-f4862d5a.js +36 -0
- package/dist/StyleRepository-fba75e70.js +2212 -0
- package/dist/SublayersOwner-3dc574cd.js +545 -0
- package/dist/SubtypeGroupLayer-1f9c5398.js +514 -0
- package/dist/SubtypeGroupLayerView2D-0f108d9d.js +84 -0
- package/dist/Tabs/Tab/Tab.d.ts +3 -3
- package/dist/TechniqueInstance-0481dbff.js +233 -0
- package/dist/TemporalLayer-8116b4a4.js +23 -0
- package/dist/Texture-22a8cca5.js +501 -0
- package/dist/TextureOnly.glsl-458f8148.js +65 -0
- package/dist/Theme-f05b8eb0.js +3426 -0
- package/dist/Tick-aef93b48.js +723 -0
- package/dist/TileContainer-0bf0ea1b.js +31 -0
- package/dist/TileInfoTilemapCache-d78858c0.js +38 -0
- package/dist/TileLayer-0edee064.js +194 -0
- package/dist/TileLayerView2D-78d5801b.js +187 -0
- package/dist/TilemapCache-79699d61.js +189 -0
- package/dist/TimeInfo-40c96ade.js +42 -0
- package/dist/TimeOnly-9ee66ca6.js +706 -0
- package/dist/Tooltip-e7498dc9.js +138 -0
- package/dist/TopFeaturesQuery-ad224e01.js +32 -0
- package/dist/TurboLine-6ab04aef.js +565 -0
- package/dist/UniqueValueRenderer-eaa5f8a6.js +1039 -0
- package/dist/UnknownLayer-e280ddd4.js +30 -0
- package/dist/UnknownTimeZone-220952b5.js +15 -0
- package/dist/UnsupportedLayer-447f7676.js +31 -0
- package/dist/UpdateTracking2D-e9adad8f.js +8566 -0
- package/dist/Util-002f5109.js +57 -0
- package/dist/VectorTileLayer-3210be81.js +544 -0
- package/dist/VectorTileLayerView2D-6a51e3b8.js +2108 -0
- package/dist/Version-3de8cbca.js +33 -0
- package/dist/VertexArrayObject-07998745.js +73 -0
- package/dist/VertexAttribute-faad30bf.js +11 -0
- package/dist/VertexColor.glsl-e415cf02.js +2683 -0
- package/dist/VertexElementDescriptor-d7c718c2.js +8 -0
- package/dist/VertexSnappingCandidate-b676241f.js +13 -0
- package/dist/VideoLayerView2D-f659dd0d.js +124 -0
- package/dist/VoxelLayer-003f82ff.js +631 -0
- package/dist/WFSLayer-3da6c5f7.js +221 -0
- package/dist/WFSSourceWorker-9a11693a.js +157 -0
- package/dist/WGLContainer-3d159b63.js +5426 -0
- package/dist/WMSLayer-fc0632f8.js +536 -0
- package/dist/WMSLayerView2D-54e80e1b.js +117 -0
- package/dist/WMTSLayer-9324b12b.js +531 -0
- package/dist/WMTSLayerView2D-3ef936db.js +142 -0
- package/dist/WebTileLayer-45c563ff.js +110 -0
- package/dist/WhereClause-7a28b740.js +2766 -0
- package/dist/WorkerHandle-0d54a6c7.js +47 -0
- package/dist/WorkerTileHandler-786c2b24.js +1539 -0
- package/dist/action-163397e3.js +198 -0
- package/dist/action-group-4859fb97.js +145 -0
- package/dist/action-menu-2d70b2fc.js +1759 -0
- package/dist/agrotools-theme.css.map +1 -1
- package/dist/apng-9b71d52c.js +392 -0
- package/dist/ar-a17f8064.js +18 -0
- package/dist/arcade-fa309282.js +229 -0
- package/dist/arcadeAsyncRuntime-738498fd.js +943 -0
- package/dist/arcadeUtils-f71d80fa.js +8741 -0
- package/dist/arcgis-knowledge-client-core-6056bcea.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +1218 -0
- package/dist/arcgisLayers-b2b878bd.js +152 -0
- package/dist/associatedFeatureServiceUtils-df5b5187.js +92 -0
- package/dist/axisAngleDegrees-32643b7c.js +49 -0
- package/dist/basicInterfaces-fa4f5fa7.js +30 -0
- package/dist/basis_transcoder-3187cc92.js +1248 -0
- package/dist/bg_BG-9950a70b.js +18 -0
- package/dist/bs_BA-60482871.js +18 -0
- package/dist/ca_ES-a121088e.js +18 -0
- package/dist/calcite-action-bar-5a87c23c.js +303 -0
- package/dist/calcite-action-ee2ca847.js +22 -0
- package/dist/calcite-action-group-19aa86ee.js +28 -0
- package/dist/calcite-button-8e9175c0.js +228 -0
- package/dist/calcite-flow-57d26d2d.js +128 -0
- package/dist/calcite-flow-item-4a3e3fc0.js +499 -0
- package/dist/calcite-icon-d99e280a.js +16 -0
- package/dist/calcite-input-28b20785.js +24 -0
- package/dist/calcite-label-4f30e08d.js +79 -0
- package/dist/calcite-list-0cee7628.js +2135 -0
- package/dist/calcite-list-item-0a19efa8.js +576 -0
- package/dist/calcite-list-item-group-0706662f.js +71 -0
- package/dist/calcite-loader-865045b1.js +14 -0
- package/dist/calcite-modal-3e4da6fd.js +333 -0
- package/dist/calcite-notice-50b74ab7.js +181 -0
- package/dist/calcite-option-713c1d40.js +94 -0
- package/dist/calcite-scrim-809fbd0b.js +18 -0
- package/dist/calcite-select-28d8edfc.js +231 -0
- package/dist/capabilities-c8f838be.js +50 -0
- package/dist/chartCommon-13718cda.js +256 -0
- package/dist/chartUtilsAm5-6be145fb.js +2954 -0
- package/dist/clientSideDefaults-5c1f97c9.js +39 -0
- package/dist/colorRamps-8792655e.js +38 -0
- package/dist/colorUtils-54f4b662.js +164 -0
- package/dist/commonProperties-f9559903.js +60 -0
- package/dist/component-51a10bc0.js +18 -0
- package/dist/computeTranslationToOriginAndRotation-4876cb93.js +60 -0
- package/dist/conditionalSlot-87175989.js +27 -0
- package/dist/config-61215215.js +7 -0
- package/dist/constants-5bd557fe.js +5 -0
- package/dist/createConnection-f974a00a.js +299 -0
- package/dist/crsUtils-59933b10.js +7 -0
- package/dist/cs_CZ-1b968650.js +18 -0
- package/dist/da_DK-e0fe1642.js +18 -0
- package/dist/dataUtils-7c276b73.js +1421 -0
- package/dist/date-1c28c6a5.js +52 -0
- package/dist/de_CH-b0dbd4c8.js +6 -0
- package/dist/de_DE-8609ef65.js +6 -0
- package/dist/debounce-de27a42a.js +121 -0
- package/dist/deduplicate-59fb9cac.js +89 -0
- package/dist/defaults-2bfa4a36.js +31 -0
- package/dist/defaultsJSON-ba17aa15.js +10 -0
- package/dist/definitions-a00a3a6c.js +52 -0
- package/dist/deleteForwardEdits-f653b513.js +13 -0
- package/dist/devEnvironmentUtils-42cb97c7.js +11 -0
- package/dist/diffUtils-e71a6152.js +90 -0
- package/dist/dom-b589b728.js +358 -0
- package/dist/doublePrecisionUtils-46e21550.js +22 -0
- package/dist/drapedUtils-b42fcbc6.js +75 -0
- package/dist/earcut-6fa1a128.js +292 -0
- package/dist/edgeProcessing-2ff1f201.js +252 -0
- package/dist/editingSupport-68545668.js +203 -0
- package/dist/editsZScale-c7cdd215.js +37 -0
- package/dist/el_GR-5cfd1e7e.js +18 -0
- package/dist/elevationInfoUtils-5456a079.js +126 -0
- package/dist/en_CA-47f2633b.js +18 -0
- package/dist/en_US-47f2633b.js +18 -0
- package/dist/enums-25d066fc.js +13 -0
- package/dist/enums-2c166c09.js +99 -0
- package/dist/enums-fa8f05ab.js +152 -0
- package/dist/es_ES-489878a2.js +6 -0
- package/dist/et_EE-6472669a.js +18 -0
- package/dist/executeForIds-4ab75c0d.js +14 -0
- package/dist/executeForTopCount-7e095ec1.js +17 -0
- package/dist/executeForTopExtents-19daf9d0.js +17 -0
- package/dist/executeForTopIds-1ba3a4af.js +17 -0
- package/dist/executeQueryJSON-46168866.js +15 -0
- package/dist/executeQueryPBF-d8623daf.js +152 -0
- package/dist/executeRelationshipQuery-011dfb45.js +53 -0
- package/dist/executeTopFeaturesQuery-02166801.js +18 -0
- package/dist/featureConversionUtils-650d7601.js +479 -0
- package/dist/featureLayerUtils-64e09283.js +142 -0
- package/dist/featureLayerUtils-b07f9c11.js +250 -0
- package/dist/featureSetUtils-9d37d6f8.js +2530 -0
- package/dist/featuresetbase-62aeb079.js +707 -0
- package/dist/featuresetgeom-51f9fc4e.js +99 -0
- package/dist/featuresetstats-4db32894.js +81 -0
- package/dist/featuresetstring-990c3287.js +95 -0
- package/dist/fetchService-5198dd4a.js +33 -0
- package/dist/fi_FI-d7a3a525.js +18 -0
- package/dist/fieldProperties-edfa24cb.js +33 -0
- package/dist/floatRGBA-516d7961.js +20 -0
- package/dist/floorFilterUtils-936f7587.js +19 -0
- package/dist/focusTrapComponent-e849bb89.js +475 -0
- package/dist/form-99719d52.js +138 -0
- package/dist/fr_FR-a88f2596.js +7 -0
- package/dist/geohashUtils-2bc76440.js +85 -0
- package/dist/geojson-603231df.js +208 -0
- package/dist/geomasync-e9063b4c.js +567 -0
- package/dist/geometryEngine-d3bb2fd6.js +192 -0
- package/dist/geometryEngineAsync-55aa6170.js +217 -0
- package/dist/geometryEngineBase-527e8b63.js +18463 -0
- package/dist/geometryEngineJSON-28087174.js +46 -0
- package/dist/geometryEngineJSON-d54949f9.js +171 -0
- package/dist/geometryEngineWorker-dc2c7127.js +11 -0
- package/dist/geometryServiceUtils-6a3e1e93.js +28 -0
- package/dist/georeference-ed8b2c30.js +291 -0
- package/dist/gif-204e82dd.js +323 -0
- package/dist/glUtil-8f8bce6b.js +19 -0
- package/dist/gltfexport-b2566542.js +705 -0
- package/dist/groupLayerUtils-ea9e6359.js +39 -0
- package/dist/guid-5ee54248.js +17 -0
- package/dist/he_IL-e34cf273.js +18 -0
- package/dist/heatmapUtils-56758920.js +45 -0
- package/dist/highlightReasons-de432106.js +19 -0
- package/dist/hr_HR-6a124f87.js +18 -0
- package/dist/hu_HU-58f3feb6.js +18 -0
- package/dist/hydrated-0e1c7565.js +40 -0
- package/dist/i3s-bb0b5b67.js +809 -0
- package/dist/icon-c6e3bd23.js +127 -0
- package/dist/id_ID-18d97715.js +18 -0
- package/dist/imageBitmapUtils-881d8c64.js +23 -0
- package/dist/imageUtils-57eeedc5.js +69 -0
- package/dist/imageUtils-ef69c578.js +89 -0
- package/dist/imageryUtils-23f51cb1.js +43 -0
- package/dist/index-01c737ed.js +42563 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +22 -10177
- package/dist/infoFor3D-bf4e6c95.js +58 -0
- package/dist/input-message-673a9baa.js +92 -0
- package/dist/input2-bbf6454e.js +575 -0
- package/dist/interactive-aeb2cb9f.js +80 -0
- package/dist/interfaces-fac3cfda.js +7 -0
- package/dist/it_IT-49e70bbf.js +6 -0
- package/dist/ja_JP-eaef2cc3.js +18 -0
- package/dist/json-5febf88a.js +57 -0
- package/dist/jsonContext-2dc288b1.js +15 -0
- package/dist/jsonUtils-1abd4bfc.js +59 -0
- package/dist/jsonUtils-913fa1bd.js +86 -0
- package/dist/jsonUtils-f6a5e63b.js +476 -0
- package/dist/kmlUtils-7c2744fe.js +112 -0
- package/dist/knowledgeGraphService-6a349e04.js +739 -0
- package/dist/knowledgegraph-c91b0bb2.js +149 -0
- package/dist/ko_KR-5c972fd8.js +14 -0
- package/dist/label2-1ab25f27.js +90 -0
- package/dist/labelUtils-a3634e8f.js +61 -0
- package/dist/labelingInfo-568c9210.js +46 -0
- package/dist/layerViewUtils-052e603c.js +10 -0
- package/dist/layersCreator-4a5366ea.js +151 -0
- package/dist/layersLoader-b87d4857.js +197 -0
- package/dist/lazyLayerLoader-8817000c.js +10 -0
- package/dist/lclayout-64c67b4e.js +773 -0
- package/dist/lengthUtils-695e744c.js +5 -0
- package/dist/lerc-wasm-13192bf3.js +325 -0
- package/dist/libtess-asm-4883179d.js +3673 -0
- package/dist/libtess-fc70d1ce.js +269 -0
- package/dist/lineSegment-3aa941f5.js +76 -0
- package/dist/loadGLTFMesh-db6645f5.js +181 -0
- package/dist/loadable-266f324b.js +24 -0
- package/dist/loader-d1ce1bc1.js +79 -0
- package/dist/lt_LT-26f13fd1.js +6 -0
- package/dist/lv_LV-4feafa92.js +18 -0
- package/dist/lyr3DWorker-dd48e619.js +2108 -0
- package/dist/mapViewDeps-226d9da3.js +3052 -0
- package/dist/mask-svg-30f64a7b.js +4 -0
- package/dist/mat3f64-03233387.js +19 -0
- package/dist/mat4f64-cce69db4.js +19 -0
- package/dist/mediaLayerUtils-ae485c27.js +35 -0
- package/dist/meshFeatureSet-8a2ad011.js +126 -0
- package/dist/meshVertexSpaceUtils-6efe3dcc.js +58 -0
- package/dist/multiOriginJSONSupportUtils-207ba4d4.js +6 -0
- package/dist/multidimensionalUtils-508a3f3f.js +290 -0
- package/dist/nb_NO-21543153.js +18 -0
- package/dist/nl_NL-7876d97f.js +7 -0
- package/dist/normalizeUtilsSync-1dae280b.js +181 -0
- package/dist/number-5aa3a81b.js +128 -0
- package/dist/objectIdUtils-93dae423.js +14 -0
- package/dist/objectResourceUtils-642ab03e.js +1455 -0
- package/dist/observers-f646a6a4.js +30 -0
- package/dist/ogcFeatureUtils-46ac1c44.js +206 -0
- package/dist/openCloseComponent-47eb52c6.js +37 -0
- package/dist/orientedBoundingBox-554ccdc6.js +447 -0
- package/dist/originUtils-87edf087.js +9 -0
- package/dist/overlay-svg-c3941b3b.js +4 -0
- package/dist/parser-0701286c.js +488 -0
- package/dist/pbf-5dd791f5.js +215 -0
- package/dist/pbfQueryUtils-a6ca7e23.js +422 -0
- package/dist/pe-wasm-6c16b121.js +887 -0
- package/dist/persistable-9eb0e8df.js +89 -0
- package/dist/perspectiveUtils-b194621d.js +42 -0
- package/dist/pieChart-b97433d0.js +555 -0
- package/dist/pl_PL-276c6dae.js +18 -0
- package/dist/plane-3398eec1.js +160 -0
- package/dist/popupUtils-c444b896.js +22 -0
- package/dist/popupUtils-d871563b.js +50 -0
- package/dist/portalItemUtils-4c4caad0.js +57 -0
- package/dist/portalLayers-cb07742f.js +312 -0
- package/dist/portalUtils-effd590f.js +7 -0
- package/dist/programUtils-65af7b7c.js +59 -0
- package/dist/project-ee9c2947.js +21 -0
- package/dist/projectPointToVector-7dc831a9.js +14 -0
- package/dist/projectVectorToVector-5163db7a.js +13 -0
- package/dist/pt_BR-4fae3055.js +6 -0
- package/dist/pt_PT-14d9efb1.js +6 -0
- package/dist/quantityUtils-5cd4cf90.js +33 -0
- package/dist/quantizationUtils-0a8f74c6.js +68 -0
- package/dist/quat-a508aed3.js +104 -0
- package/dist/quatf64-bec1af25.js +19 -0
- package/dist/query-b6e1fd14.js +89 -0
- package/dist/queryAttachments-7b39ebdc.js +39 -0
- package/dist/queryEngineUtils-cb8e309e.js +21 -0
- package/dist/queryTopFeatures-2e0e3941.js +50 -0
- package/dist/queryZScale-c5733d0a.js +12 -0
- package/dist/rasterProjectionHelper-213afa27.js +577 -0
- package/dist/rasterUtils-f2e44e8b.js +122 -0
- package/dist/rasterizingUtils-25cc0190.js +46 -0
- package/dist/request-e0c679b3.js +46 -0
- package/dist/requestImageUtils-37d79281.js +8 -0
- package/dist/resourceExtension-5f3f1c80.js +17 -0
- package/dist/resourceUtils-0d68cbc2.js +69 -0
- package/dist/resourceUtils-374db840.js +62 -0
- package/dist/resourceUtils-43ce192b.js +42 -0
- package/dist/ro_RO-8e733cf5.js +18 -0
- package/dist/ru_RU-f7bafc90.js +6 -0
- package/dist/saveAPIKeyUtils-1a3d4a8a.js +8 -0
- package/dist/saveUtils-43fdc547.js +24 -0
- package/dist/scaleUtils-bdf8b6cb.js +23 -0
- package/dist/scrim-44eb4dc0.js +114 -0
- package/dist/serviceCapabilitiesUtils-823612b8.js +64 -0
- package/dist/sizeVariableUtils-a1b694d8.js +27 -0
- package/dist/sk_SK-c279eea3.js +6 -0
- package/dist/sl_SL-e40950dd.js +6 -0
- package/dist/sourceUtils-01d115c6.js +71 -0
- package/dist/sphere-908cd9aa.js +199 -0
- package/dist/sr_RS-b1835dfa.js +18 -0
- package/dist/statsWorker-49f9befe.js +37 -0
- package/dist/streamLayerUtils-29324e05.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-82e8da52.js +75 -0
- package/dist/styleUtils-8541d60d.js +14 -0
- package/dist/sublayerUtils-eaac2486.js +37 -0
- package/dist/substitute-1f578d70.js +52 -0
- package/dist/sv_SE-15ca9e36.js +6 -0
- package/dist/symbolColorUtils-18fd6b3d.js +8 -0
- package/dist/symbolLayerUtils-4c58b291.js +31 -0
- package/dist/symbologySnappingCandidates-14d94b6b.js +221 -0
- package/dist/t9n-c1c2b6c8.js +349 -0
- package/dist/testSVGPremultipliedAlpha-159dac90.js +94 -0
- package/dist/th_TH-bf624a56.js +18 -0
- package/dist/tileUtils-3e0c8c1d.js +7 -0
- package/dist/timeSupport-3f529cdb.js +410 -0
- package/dist/tr_TR-ca5c315f.js +18 -0
- package/dist/triangle-8a3a2ba8.js +98 -0
- package/dist/types-adba9034.js +19 -0
- package/dist/uk_UA-4b3cb86d.js +6 -0
- package/dist/unitConversionUtils-f0ebaf75.js +17 -0
- package/dist/unitFormatUtils-555e2d94.js +40 -0
- package/dist/uploadAssetErrors-d1389781.js +70 -0
- package/dist/uploadAssets-5e85f09d.js +330 -0
- package/dist/utils-3a10b10c.js +34 -0
- package/dist/utils-505c54e9.js +91 -0
- package/dist/utils-5432e258.js +433 -0
- package/dist/utils-7a88ec6a.js +419 -0
- package/dist/utils-7fa9cdf9.js +2746 -0
- package/dist/utils-d252c575.js +73 -0
- package/dist/utils-f07e00b3.js +232 -0
- package/dist/utils-fda10b4b.js +79 -0
- package/dist/utils3-c34ab97c.js +75 -0
- package/dist/vec3-f79c600d.js +81 -0
- package/dist/vec3f32-304a6a9c.js +36 -0
- package/dist/vec42-36edeb73.js +125 -0
- package/dist/vec4f32-b2628ced.js +38 -0
- package/dist/vec4f64-043e974c.js +45 -0
- package/dist/versionUtils-6935648b.js +161 -0
- package/dist/vi_VN-ad09e708.js +18 -0
- package/dist/visualVariableUtils-c425461a.js +267 -0
- package/dist/webStyleSymbolUtils-4f42a29f.js +48 -0
- package/dist/webglDeps-5f18210d.js +23 -0
- package/dist/wfsUtils-6f7f1e3e.js +343 -0
- package/dist/workerHelper-9dc9a790.js +11 -0
- package/dist/xmlUtils-64cc47e1.js +24 -0
- package/dist/xyChart-e5648fee.js +3335 -0
- package/dist/zh_Hans-61faef57.js +14 -0
- package/dist/zh_Hant-87a9767b.js +14 -0
- package/dist/zipjs-wrapper-1bd67e07.js +6496 -0
- package/package.json +6 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { U as f, W as y, e as n, y as d, bR as S, c5 as m, b3 as w, gR as j, c2 as P, c as L, k as O, fN as K, bL as $, h1 as U, h2 as V, s as x, h3 as M, cT as q, bM as C, bN as k } from "./index-01c737ed.js";
|
|
2
|
+
import { i as R } from "./originUtils-87edf087.js";
|
|
3
|
+
import { I as z, d as F } from "./commonProperties-f9559903.js";
|
|
4
|
+
import { o as T } from "./jsonContext-2dc288b1.js";
|
|
5
|
+
import { p as J, n as B } from "./resourceUtils-374db840.js";
|
|
6
|
+
import { i as E } from "./saveAPIKeyUtils-1a3d4a8a.js";
|
|
7
|
+
import { t as D } from "./saveUtils-43fdc547.js";
|
|
8
|
+
async function Z(c, a, e, t, i, r, s) {
|
|
9
|
+
let o = null;
|
|
10
|
+
if (e != null) {
|
|
11
|
+
const h = `${c}/nodepages/`, _ = h + Math.floor(e.rootIndex / e.nodesPerPage);
|
|
12
|
+
try {
|
|
13
|
+
return { type: "page", rootPage: (await f(_, { query: { f: "json", ...t, token: i }, responseType: "json", signal: s })).data, rootIndex: e.rootIndex, pageSize: e.nodesPerPage, lodMetric: e.lodSelectionMetricType, urlPrefix: h };
|
|
14
|
+
} catch (N) {
|
|
15
|
+
r != null && r.warn("#fetchIndexInfo()", "Failed to load root node page. Falling back to node documents.", _, N), o = N;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
if (!a)
|
|
19
|
+
return null;
|
|
20
|
+
const l = a == null ? void 0 : a.split("/").pop(), p = `${c}/nodes/`, u = p + l;
|
|
21
|
+
try {
|
|
22
|
+
return { type: "node", rootNode: (await f(u, { query: { f: "json", ...t, token: i }, responseType: "json", signal: s })).data, urlPrefix: p };
|
|
23
|
+
} catch (h) {
|
|
24
|
+
throw new y("sceneservice:root-node-missing", "Root node missing.", { pageError: o, nodeError: h, url: u });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
let H = null;
|
|
28
|
+
function Q() {
|
|
29
|
+
return H;
|
|
30
|
+
}
|
|
31
|
+
const ie = (c) => {
|
|
32
|
+
let a = class extends c {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments), this.spatialReference = null, this.fullExtent = null, this.heightModelInfo = null, this.minScale = 0, this.maxScale = 0, this.version = { major: Number.NaN, minor: Number.NaN, versionString: "" }, this.copyright = null, this.sublayerTitleMode = "item-title", this.title = null, this.layerId = null, this.indexInfo = null, this._debouncedSaveOperations = O(async (e, t, i) => {
|
|
35
|
+
switch (e) {
|
|
36
|
+
case v.SAVE:
|
|
37
|
+
return this._save(t);
|
|
38
|
+
case v.SAVE_AS:
|
|
39
|
+
return this._saveAs(i, t);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
readSpatialReference(e, t) {
|
|
44
|
+
return this._readSpatialReference(t);
|
|
45
|
+
}
|
|
46
|
+
_readSpatialReference(e) {
|
|
47
|
+
if (e.spatialReference != null)
|
|
48
|
+
return S.fromJSON(e.spatialReference);
|
|
49
|
+
const t = e.store, i = t.indexCRS || t.geographicCRS, r = i && parseInt(i.substring(i.lastIndexOf("/") + 1, i.length), 10);
|
|
50
|
+
return r != null ? new S(r) : null;
|
|
51
|
+
}
|
|
52
|
+
readFullExtent(e, t, i) {
|
|
53
|
+
if (e != null && typeof e == "object") {
|
|
54
|
+
const o = e.spatialReference == null ? { ...e, spatialReference: this._readSpatialReference(t) } : e;
|
|
55
|
+
return w.fromJSON(o, i);
|
|
56
|
+
}
|
|
57
|
+
const r = t.store, s = this._readSpatialReference(t);
|
|
58
|
+
return s == null || (r == null ? void 0 : r.extent) == null || !Array.isArray(r.extent) || r.extent.some((o) => o < I) ? null : new w({ xmin: r.extent[0], ymin: r.extent[1], xmax: r.extent[2], ymax: r.extent[3], spatialReference: s });
|
|
59
|
+
}
|
|
60
|
+
parseVersionString(e) {
|
|
61
|
+
const t = { major: Number.NaN, minor: Number.NaN, versionString: e }, i = e.split(".");
|
|
62
|
+
return i.length >= 2 && (t.major = parseInt(i[0], 10), t.minor = parseInt(i[1], 10)), t;
|
|
63
|
+
}
|
|
64
|
+
readVersion(e, t) {
|
|
65
|
+
const i = t.store, r = i.version != null ? i.version.toString() : "";
|
|
66
|
+
return this.parseVersionString(r);
|
|
67
|
+
}
|
|
68
|
+
readTitlePortalItem(e) {
|
|
69
|
+
return this.sublayerTitleMode !== "item-title" ? void 0 : e;
|
|
70
|
+
}
|
|
71
|
+
readTitleService(e, t) {
|
|
72
|
+
var s;
|
|
73
|
+
const i = (s = this.portalItem) == null ? void 0 : s.title;
|
|
74
|
+
if (this.sublayerTitleMode === "item-title")
|
|
75
|
+
return K(this.url, t.name);
|
|
76
|
+
let r = t.name;
|
|
77
|
+
if (!r && this.url) {
|
|
78
|
+
const o = $(this.url);
|
|
79
|
+
o != null && (r = o.title);
|
|
80
|
+
}
|
|
81
|
+
return this.sublayerTitleMode === "item-title-and-service-name" && i && (r = i + " - " + r), U(r);
|
|
82
|
+
}
|
|
83
|
+
set url(e) {
|
|
84
|
+
const t = V({ layer: this, url: e, nonStandardUrlAllowed: !1, logger: x.getLogger(this) });
|
|
85
|
+
this._set("url", t.url), t.layerId != null && this._set("layerId", t.layerId);
|
|
86
|
+
}
|
|
87
|
+
writeUrl(e, t, i, r) {
|
|
88
|
+
M(this, e, "layers", t, r);
|
|
89
|
+
}
|
|
90
|
+
get parsedUrl() {
|
|
91
|
+
const e = this._get("url"), t = q(e);
|
|
92
|
+
return this.layerId != null && (t.path = `${t.path}/layers/${this.layerId}`), t;
|
|
93
|
+
}
|
|
94
|
+
async _fetchIndexAndUpdateExtent(e, t) {
|
|
95
|
+
this.indexInfo = Z(this.parsedUrl.path, this.rootNode, e, this.customParameters, this.apiKey, x.getLogger(this), t), this.fullExtent == null || this.fullExtent.hasZ || this._updateExtent(await this.indexInfo);
|
|
96
|
+
}
|
|
97
|
+
_updateExtent(e) {
|
|
98
|
+
var t, i, r, s;
|
|
99
|
+
if ((e == null ? void 0 : e.type) === "page") {
|
|
100
|
+
const o = e.rootIndex % e.pageSize, l = (i = (t = e.rootPage) == null ? void 0 : t.nodes) == null ? void 0 : i[o];
|
|
101
|
+
if (((r = l == null ? void 0 : l.obb) == null ? void 0 : r.center) == null || l.obb.halfSize == null)
|
|
102
|
+
throw new y("sceneservice:invalid-node-page", "Invalid node page.");
|
|
103
|
+
if (l.obb.center[0] < I || this.fullExtent == null || this.fullExtent.hasZ)
|
|
104
|
+
return;
|
|
105
|
+
const p = l.obb.halfSize, u = l.obb.center[2], h = Math.sqrt(p[0] * p[0] + p[1] * p[1] + p[2] * p[2]);
|
|
106
|
+
this.fullExtent.zmin = u - h, this.fullExtent.zmax = u + h;
|
|
107
|
+
} else if ((e == null ? void 0 : e.type) === "node") {
|
|
108
|
+
const o = (s = e.rootNode) == null ? void 0 : s.mbs;
|
|
109
|
+
if (!Array.isArray(o) || o.length !== 4 || o[0] < I)
|
|
110
|
+
return;
|
|
111
|
+
const l = o[2], p = o[3], { fullExtent: u } = this;
|
|
112
|
+
u && (u.zmin = l - p, u.zmax = l + p);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
async _fetchService(e) {
|
|
116
|
+
if (this.url == null)
|
|
117
|
+
throw new y("sceneservice:url-not-set", "Scene service can not be loaded without valid portal item or url");
|
|
118
|
+
if (this.layerId == null && /SceneServer\/*$/i.test(this.url)) {
|
|
119
|
+
const t = await this._fetchFirstLayerId(e);
|
|
120
|
+
t != null && (this.layerId = t);
|
|
121
|
+
}
|
|
122
|
+
return this._fetchServiceLayer(e);
|
|
123
|
+
}
|
|
124
|
+
async _fetchFirstLayerId(e) {
|
|
125
|
+
const t = await f(this.url, { query: { f: "json", ...this.customParameters, token: this.apiKey }, responseType: "json", signal: e });
|
|
126
|
+
if (t.data && Array.isArray(t.data.layers) && t.data.layers.length > 0)
|
|
127
|
+
return t.data.layers[0].id;
|
|
128
|
+
}
|
|
129
|
+
async _fetchServiceLayer(e) {
|
|
130
|
+
var s;
|
|
131
|
+
const t = await f(((s = this.parsedUrl) == null ? void 0 : s.path) ?? "", { query: { f: "json", ...this.customParameters, token: this.apiKey }, responseType: "json", signal: e });
|
|
132
|
+
t.ssl && (this.url = this.url.replace(/^http:/i, "https:"));
|
|
133
|
+
let i = !1;
|
|
134
|
+
if (t.data.layerType && t.data.layerType === "Voxel" && (i = !0), i)
|
|
135
|
+
return this._fetchVoxelServiceLayer();
|
|
136
|
+
const r = t.data;
|
|
137
|
+
this.read(r, this._getServiceContext()), this.validateLayer(r);
|
|
138
|
+
}
|
|
139
|
+
async _fetchVoxelServiceLayer(e) {
|
|
140
|
+
var i;
|
|
141
|
+
const t = (await f(((i = this.parsedUrl) == null ? void 0 : i.path) + "/layer", { query: { f: "json", ...this.customParameters, token: this.apiKey }, responseType: "json", signal: e })).data;
|
|
142
|
+
this.read(t, this._getServiceContext()), this.validateLayer(t);
|
|
143
|
+
}
|
|
144
|
+
_getServiceContext() {
|
|
145
|
+
var e;
|
|
146
|
+
return { origin: "service", portalItem: this.portalItem, portal: (e = this.portalItem) == null ? void 0 : e.portal, url: this.parsedUrl };
|
|
147
|
+
}
|
|
148
|
+
async _ensureLoadBeforeSave() {
|
|
149
|
+
await this.load(), "beforeSave" in this && typeof this.beforeSave == "function" && await this.beforeSave();
|
|
150
|
+
}
|
|
151
|
+
validateLayer(e) {
|
|
152
|
+
}
|
|
153
|
+
_updateTypeKeywords(e, t, i) {
|
|
154
|
+
e.typeKeywords || (e.typeKeywords = []);
|
|
155
|
+
const r = t.getTypeKeywords();
|
|
156
|
+
for (const s of r)
|
|
157
|
+
e.typeKeywords.push(s);
|
|
158
|
+
e.typeKeywords && (e.typeKeywords = e.typeKeywords.filter((s, o, l) => l.indexOf(s) === o), i === g.newItem && (e.typeKeywords = e.typeKeywords.filter((s) => s !== "Hosted Service")));
|
|
159
|
+
}
|
|
160
|
+
async _saveAs(e, t) {
|
|
161
|
+
var p;
|
|
162
|
+
const i = { ...A, ...t };
|
|
163
|
+
let r = C.from(e);
|
|
164
|
+
if (!r)
|
|
165
|
+
throw new y("sceneservice:portal-item-required", "_saveAs() requires a portal item to save to");
|
|
166
|
+
E(r), r.id && (r = r.clone(), r.id = null);
|
|
167
|
+
const s = r.portal || k.getDefault();
|
|
168
|
+
await this._ensureLoadBeforeSave(), r.type = b, r.portal = s;
|
|
169
|
+
const o = T(r, "portal-item", !0), l = { layers: [this.write({}, o)] };
|
|
170
|
+
return await Promise.all(o.resources.pendingOperations ?? []), await this._validateAgainstJSONSchema(l, o, i), r.url = this.url, r.title || (r.title = this.title), this._updateTypeKeywords(r, i, g.newItem), await s.signIn(), await ((p = s.user) == null ? void 0 : p.addItem({ item: r, folder: i == null ? void 0 : i.folder, data: l })), await J(this.resourceReferences, o), this.portalItem = r, R(o), o.portalItem = r, r;
|
|
171
|
+
}
|
|
172
|
+
async _save(e) {
|
|
173
|
+
const t = { ...A, ...e };
|
|
174
|
+
if (!this.portalItem)
|
|
175
|
+
throw new y("sceneservice:portal-item-not-set", "Portal item to save to has not been set on this SceneService");
|
|
176
|
+
if (E(this.portalItem), this.portalItem.type !== b)
|
|
177
|
+
throw new y("sceneservice:portal-item-wrong-type", `Portal item needs to have type "${b}"`);
|
|
178
|
+
await this._ensureLoadBeforeSave();
|
|
179
|
+
const i = T(this.portalItem, "portal-item", !0), r = { layers: [this.write({}, i)] };
|
|
180
|
+
return await Promise.all(i.resources.pendingOperations ?? []), await this._validateAgainstJSONSchema(r, i, t), this.portalItem.url = this.url, this.portalItem.title || (this.portalItem.title = this.title), this._updateTypeKeywords(this.portalItem, t, g.existingItem), await B(this.portalItem, r, this.resourceReferences, i), R(i), this.portalItem;
|
|
181
|
+
}
|
|
182
|
+
async _validateAgainstJSONSchema(e, t, i) {
|
|
183
|
+
const r = i == null ? void 0 : i.validationOptions;
|
|
184
|
+
D(t, { errorName: "sceneservice:save" }, { ignoreUnsupported: r == null ? void 0 : r.ignoreUnsupported, supplementalUnsupportedErrors: ["scenemodification:unsupported"] });
|
|
185
|
+
const s = r == null ? void 0 : r.enabled, o = Q();
|
|
186
|
+
if (s && o) {
|
|
187
|
+
const l = (await o()).validate(e, i.portalItemLayerType);
|
|
188
|
+
if (!l.length)
|
|
189
|
+
return;
|
|
190
|
+
const p = `Layer item did not validate:
|
|
191
|
+
${l.join(`
|
|
192
|
+
`)}`;
|
|
193
|
+
if (x.getLogger(this).error(`_validateAgainstJSONSchema(): ${p}`), r.failPolicy === "throw") {
|
|
194
|
+
const u = l.map((h) => new y("sceneservice:schema-validation", h));
|
|
195
|
+
throw new y("sceneservice-validate:error", "Failed to save layer item due to schema validation, see `details.errors`.", { validationErrors: u });
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
return n([d(z)], a.prototype, "id", void 0), n([d({ type: S })], a.prototype, "spatialReference", void 0), n([m("spatialReference", ["spatialReference", "store.indexCRS", "store.geographicCRS"])], a.prototype, "readSpatialReference", null), n([d({ type: w })], a.prototype, "fullExtent", void 0), n([m("fullExtent", ["fullExtent", "store.extent", "spatialReference", "store.indexCRS", "store.geographicCRS"])], a.prototype, "readFullExtent", null), n([d({ readOnly: !0, type: j })], a.prototype, "heightModelInfo", void 0), n([d({ type: Number, json: { name: "layerDefinition.minScale", write: !0, origins: { service: { read: { source: "minScale" }, write: !1 } } } })], a.prototype, "minScale", void 0), n([d({ type: Number, json: { name: "layerDefinition.maxScale", write: !0, origins: { service: { read: { source: "maxScale" }, write: !1 } } } })], a.prototype, "maxScale", void 0), n([d({ readOnly: !0 })], a.prototype, "version", void 0), n([m("version", ["store.version"])], a.prototype, "readVersion", null), n([d({ type: String, json: { read: { source: "copyrightText" } } })], a.prototype, "copyright", void 0), n([d({ type: String, json: { read: !1 } })], a.prototype, "sublayerTitleMode", void 0), n([d({ type: String })], a.prototype, "title", void 0), n([m("portal-item", "title")], a.prototype, "readTitlePortalItem", null), n([m("service", "title", ["name"])], a.prototype, "readTitleService", null), n([d({ type: Number, json: { origins: { service: { read: { source: "id" } }, "portal-item": { write: { target: "id", isRequired: !0, ignoreOrigin: !0 }, read: !1 } } } })], a.prototype, "layerId", void 0), n([d(F)], a.prototype, "url", null), n([P("url")], a.prototype, "writeUrl", null), n([d()], a.prototype, "parsedUrl", null), n([d({ readOnly: !0 })], a.prototype, "store", void 0), n([d({ type: String, readOnly: !0, json: { read: { source: "store.rootNode" } } })], a.prototype, "rootNode", void 0), a = n([L("esri.layers.mixins.SceneService")], a), a;
|
|
201
|
+
}, I = -1e38;
|
|
202
|
+
var g;
|
|
203
|
+
(function(c) {
|
|
204
|
+
c[c.existingItem = 0] = "existingItem", c[c.newItem = 1] = "newItem";
|
|
205
|
+
})(g || (g = {}));
|
|
206
|
+
const b = "Scene Service", A = { getTypeKeywords: () => [], portalItemLayerType: "unknown", validationOptions: { enabled: !0, ignoreUnsupported: !1, failPolicy: "throw" } };
|
|
207
|
+
var v;
|
|
208
|
+
(function(c) {
|
|
209
|
+
c[c.SAVE = 0] = "SAVE", c[c.SAVE_AS = 1] = "SAVE_AS";
|
|
210
|
+
})(v || (v = {}));
|
|
211
|
+
export {
|
|
212
|
+
ie as L,
|
|
213
|
+
v as P,
|
|
214
|
+
Z as r
|
|
215
|
+
};
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import { hc as f, gW as F, gX as g, ez as v, e as I, y as A, c as G, S as w, hd as m, bH as R, o as M, P as Q, l as B, I as d, s as H, he as V, p as Y, hf as $ } from "./index-01c737ed.js";
|
|
2
|
+
import { I as o } from "./RenderState-b244097f.js";
|
|
3
|
+
const D = Symbol("Yield");
|
|
4
|
+
class x {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._tasks = new Array(), this._runningTasks = f(0);
|
|
7
|
+
}
|
|
8
|
+
get length() {
|
|
9
|
+
return this._tasks.length;
|
|
10
|
+
}
|
|
11
|
+
get running() {
|
|
12
|
+
return this._runningTasks.value > 0;
|
|
13
|
+
}
|
|
14
|
+
destroy() {
|
|
15
|
+
this.cancelAll();
|
|
16
|
+
}
|
|
17
|
+
runTask(n) {
|
|
18
|
+
if (this.length === 0)
|
|
19
|
+
return D;
|
|
20
|
+
for (; !n.done && this._process(n); )
|
|
21
|
+
n.madeProgress();
|
|
22
|
+
}
|
|
23
|
+
push(n, a, _) {
|
|
24
|
+
return ++this._runningTasks.value, new Promise((h, e) => this._tasks.push(new b(h, e, n, a, _))).finally(() => --this._runningTasks.value);
|
|
25
|
+
}
|
|
26
|
+
unshift(n, a, _) {
|
|
27
|
+
return ++this._runningTasks.value, new Promise((h, e) => this._tasks.unshift(new b(h, e, n, a, _))).finally(() => --this._runningTasks.value);
|
|
28
|
+
}
|
|
29
|
+
_process(n) {
|
|
30
|
+
var _;
|
|
31
|
+
if (this._tasks.length === 0)
|
|
32
|
+
return !1;
|
|
33
|
+
const a = this._tasks.shift();
|
|
34
|
+
try {
|
|
35
|
+
const h = F(a.signal);
|
|
36
|
+
if (h && !a.abortCallback)
|
|
37
|
+
a.reject(g());
|
|
38
|
+
else {
|
|
39
|
+
const e = h ? (_ = a.abortCallback) == null ? void 0 : _.call(a, g()) : a.callback(n);
|
|
40
|
+
v(e) ? e.then(a.resolve, a.reject) : a.resolve(e);
|
|
41
|
+
}
|
|
42
|
+
} catch (h) {
|
|
43
|
+
a.reject(h);
|
|
44
|
+
}
|
|
45
|
+
return !0;
|
|
46
|
+
}
|
|
47
|
+
cancelAll() {
|
|
48
|
+
const n = g();
|
|
49
|
+
for (const a of this._tasks)
|
|
50
|
+
if (a.abortCallback) {
|
|
51
|
+
const _ = a.abortCallback(n);
|
|
52
|
+
a.resolve(_);
|
|
53
|
+
} else
|
|
54
|
+
a.reject(n);
|
|
55
|
+
this._tasks.length = 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
class b {
|
|
59
|
+
constructor(n, a, _, h = void 0, e = void 0) {
|
|
60
|
+
this.resolve = n, this.reject = a, this.callback = _, this.signal = h, this.abortCallback = e;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let c = class extends w {
|
|
64
|
+
constructor() {
|
|
65
|
+
super(...arguments), this.SCHEDULER_LOG_SLOW_TASKS = !1, this.FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES = !1;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
I([A()], c.prototype, "SCHEDULER_LOG_SLOW_TASKS", void 0), I([A()], c.prototype, "FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES", void 0), c = I([G("esri.views.support.DebugFlags")], c);
|
|
69
|
+
const q = new c();
|
|
70
|
+
var r;
|
|
71
|
+
(function(s) {
|
|
72
|
+
s.RESOURCE_CONTROLLER_IMMEDIATE = "immediate", s.RESOURCE_CONTROLLER = "schedule", s.SLIDE = "slide", s.STREAM_DATA_LOADER = "stream loader", s.ELEVATION_QUERY = "elevation query", s.TERRAIN_SURFACE = "terrain", s.SURFACE_GEOMETRY_UPDATES = "surface geometry updates", s.LOD_RENDERER = "LoD renderer", s.GRAPHICS_CORE = "Graphics3D", s.I3S_CONTROLLER = "I3S", s.POINT_CLOUD_LAYER = "point cloud", s.FEATURE_TILE_FETCHER = "feature fetcher", s.OVERLAY = "overlay", s.STAGE = "stage", s.GRAPHICS_DECONFLICTOR = "graphics deconflictor", s.FILTER_VISIBILITY = "Graphics3D filter visibility", s.SCALE_VISIBILITY = "Graphics3D scale visibility", s.FRUSTUM_VISIBILITY = "Graphics3D frustum visibility", s.POINT_OF_INTEREST_FREQUENT = "POI frequent", s.POINT_OF_INTEREST_INFREQUENT = "POI infrequent", s.LABELER = "labeler", s.FEATURE_QUERY_ENGINE = "feature query", s.FEATURE_TILE_TREE = "feature tile tree", s.FEATURE_TILE_TREE_ACTIVE = "fast feature tile tree", s.ELEVATION_ALIGNMENT = "elevation alignment", s.ELEVATION_ALIGNMENT_SCENE = "elevation alignment scene", s.TEXT_TEXTURE_ATLAS = "text texture atlas", s.TEXTURE_UNLOAD = "texture unload", s.LINE_OF_SIGHT_TOOL = "line of sight tool", s.LINE_OF_SIGHT_TOOL_INTERACTIVE = "interactive line of sight tool", s.ELEVATION_PROFILE = "elevation profile", s.SNAPPING = "snapping", s.SHADOW_ACCUMULATOR = "shadow accumulator", s.CLOUDS_GENERATOR = "clouds generator", s[s.NONE = 0] = "NONE", s[s.TEST_PRIO = 1] = "TEST_PRIO";
|
|
73
|
+
})(r || (r = {}));
|
|
74
|
+
const l = 0, L = /* @__PURE__ */ new Map([[r.RESOURCE_CONTROLLER_IMMEDIATE, l], [r.RESOURCE_CONTROLLER, 4], [r.SLIDE, l], [r.STREAM_DATA_LOADER, l], [r.ELEVATION_QUERY, l], [r.TERRAIN_SURFACE, 1], [r.SURFACE_GEOMETRY_UPDATES, 1], [r.LOD_RENDERER, 2], [r.GRAPHICS_CORE, 2], [r.I3S_CONTROLLER, 2], [r.POINT_CLOUD_LAYER, 2], [r.FEATURE_TILE_FETCHER, 2], [r.OVERLAY, 4], [r.STAGE, 4], [r.GRAPHICS_DECONFLICTOR, 4], [r.FILTER_VISIBILITY, 4], [r.SCALE_VISIBILITY, 4], [r.FRUSTUM_VISIBILITY, 4], [r.CLOUDS_GENERATOR, 4], [r.POINT_OF_INTEREST_FREQUENT, 6], [r.POINT_OF_INTEREST_INFREQUENT, 30], [r.LABELER, 8], [r.FEATURE_QUERY_ENGINE, 8], [r.FEATURE_TILE_TREE, 16], [r.FEATURE_TILE_TREE_ACTIVE, l], [r.ELEVATION_ALIGNMENT, 12], [r.ELEVATION_ALIGNMENT_SCENE, 14], [r.TEXT_TEXTURE_ATLAS, 12], [r.TEXTURE_UNLOAD, 12], [r.LINE_OF_SIGHT_TOOL, 16], [r.LINE_OF_SIGHT_TOOL_INTERACTIVE, l], [r.SNAPPING, l], [r.SHADOW_ACCUMULATOR, 30]]);
|
|
75
|
+
function S(s) {
|
|
76
|
+
return L.has(s) ? L.get(s) : typeof s == "number" ? s : 1;
|
|
77
|
+
}
|
|
78
|
+
const k = d(6.5), N = d(1), W = d(30), O = d(1e3 / 30), C = d(100), U = 0.9;
|
|
79
|
+
var p, E;
|
|
80
|
+
(function(s) {
|
|
81
|
+
class n {
|
|
82
|
+
get updating() {
|
|
83
|
+
return this._updating.value;
|
|
84
|
+
}
|
|
85
|
+
_updatingChanged() {
|
|
86
|
+
this._updating.value = this._tasks.some((e) => e.needsUpdate);
|
|
87
|
+
}
|
|
88
|
+
constructor() {
|
|
89
|
+
this._updating = f(!0), this._microTaskQueued = !1, this._frameNumber = 0, this.performanceInfo = { total: new m("total"), tasks: /* @__PURE__ */ new Map() }, this._frameTaskTimes = /* @__PURE__ */ new Map(), this._budget = new _(), this._state = o.INTERACTING, this._tasks = new R(), this._runQueue = new R(), this._load = 0, this._idleStateCallbacks = new R(), this._idleUpdatesStartFired = !1, this._forceTask = !1, this._debug = !1, this._debugHandle = M(() => q.SCHEDULER_LOG_SLOW_TASKS, (i) => this._debug = i, Q);
|
|
90
|
+
for (const i of Object.keys(r))
|
|
91
|
+
this.performanceInfo.tasks.set(r[i], new m(r[i]));
|
|
92
|
+
const e = this;
|
|
93
|
+
this._test = { FRAME_SAFETY_BUDGET: k, INTERACTING_BUDGET: O, IDLE_BUDGET: C, get availableBudget() {
|
|
94
|
+
return e._budget.budget;
|
|
95
|
+
}, usedBudget: 0, getBudget: () => e._budget, setBudget: (i) => e._budget = i, updateTask: (i) => this._updateTask(i), getState: (i) => this._getState(i), getRuntime: (i) => this._getRuntime(i), frameTaskTimes: this._frameTaskTimes, resetRuntimes: () => this._resetRuntimes(), getRunning: () => this._getRunning() };
|
|
96
|
+
}
|
|
97
|
+
destroy() {
|
|
98
|
+
this._tasks.toArray().forEach((e) => e.remove()), this._tasks.clear(), B(this._debugHandle), this._microTaskQueued = !1, this._updatingChanged();
|
|
99
|
+
}
|
|
100
|
+
taskRunningChanged(e) {
|
|
101
|
+
this._updatingChanged(), e && this._budget.remaining > 0 && !this._microTaskQueued && (this._microTaskQueued = !0, queueMicrotask(() => {
|
|
102
|
+
this._microTaskQueued && (this._microTaskQueued = !1, this._budget.remaining > 0 && this._schedule() && this.frame());
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
registerTask(e, i) {
|
|
106
|
+
const t = new a(this, e, i);
|
|
107
|
+
return this._tasks.push(t), this._updatingChanged(), this.performanceInfo.tasks.has(e) || this.performanceInfo.tasks.set(e, new m(e)), t;
|
|
108
|
+
}
|
|
109
|
+
registerIdleStateCallbacks(e, i) {
|
|
110
|
+
const t = { idleBegin: e, idleEnd: i };
|
|
111
|
+
this._idleStateCallbacks.push(t), this.state === o.IDLE && this._idleUpdatesStartFired && t.idleBegin();
|
|
112
|
+
const u = this;
|
|
113
|
+
return { remove: () => this._removeIdleStateCallbacks(t), set idleBegin(T) {
|
|
114
|
+
u._idleUpdatesStartFired && (t.idleEnd(), u._state === o.IDLE && T()), t.idleBegin = T;
|
|
115
|
+
}, set idleEnd(T) {
|
|
116
|
+
t.idleEnd = T;
|
|
117
|
+
} };
|
|
118
|
+
}
|
|
119
|
+
get load() {
|
|
120
|
+
return this._load;
|
|
121
|
+
}
|
|
122
|
+
set state(e) {
|
|
123
|
+
this._state !== e && (this._state = e, this.state !== o.IDLE && this._idleUpdatesStartFired && (this._idleUpdatesStartFired = !1, this._idleStateCallbacks.forAll((i) => i.idleEnd())));
|
|
124
|
+
}
|
|
125
|
+
get state() {
|
|
126
|
+
return this._state;
|
|
127
|
+
}
|
|
128
|
+
updateBudget(e) {
|
|
129
|
+
this._test.usedBudget = 0, ++this._frameNumber;
|
|
130
|
+
let i = k, t = e.frameDuration, u = N;
|
|
131
|
+
switch (this.state) {
|
|
132
|
+
case o.IDLE:
|
|
133
|
+
i = d(0), t = d(Math.max(C, e.frameDuration)), u = W;
|
|
134
|
+
break;
|
|
135
|
+
case o.INTERACTING:
|
|
136
|
+
t = d(Math.max(O, e.frameDuration));
|
|
137
|
+
case o.ANIMATING:
|
|
138
|
+
}
|
|
139
|
+
return t = d(t - e.elapsedFrameTime - i), this.state !== o.IDLE && t < N && !this._forceTask ? (this._forceTask = !0, !1) : (t = d(Math.max(t, u)), this._budget.reset(t, this.state), this._updateLoad(), this._schedule());
|
|
140
|
+
}
|
|
141
|
+
frame() {
|
|
142
|
+
switch (this._forceTask = !1, this._microTaskQueued = !1, this.state) {
|
|
143
|
+
case o.IDLE:
|
|
144
|
+
this._idleUpdatesStartFired || (this._idleUpdatesStartFired = !0, this._idleStateCallbacks.forAll((e) => e.idleBegin())), this._runIdle();
|
|
145
|
+
break;
|
|
146
|
+
case o.INTERACTING:
|
|
147
|
+
this._runInteracting();
|
|
148
|
+
break;
|
|
149
|
+
default:
|
|
150
|
+
this._runAnimating();
|
|
151
|
+
}
|
|
152
|
+
this._test.usedBudget = this._budget.elapsed;
|
|
153
|
+
}
|
|
154
|
+
stopFrame() {
|
|
155
|
+
this._budget.reset(d(0), this._state), this._budget.madeProgress();
|
|
156
|
+
}
|
|
157
|
+
_removeIdleStateCallbacks(e) {
|
|
158
|
+
this._idleUpdatesStartFired && e.idleEnd(), this._idleStateCallbacks.removeUnordered(e);
|
|
159
|
+
}
|
|
160
|
+
removeTask(e) {
|
|
161
|
+
this._tasks.removeUnordered(e), this._runQueue.removeUnordered(e), this._updatingChanged();
|
|
162
|
+
}
|
|
163
|
+
_updateTask(e) {
|
|
164
|
+
this._tasks.forAll((i) => {
|
|
165
|
+
i.name === e && i.setPriority(e);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
_getState(e) {
|
|
169
|
+
if (this._runQueue.some((t) => t.name === e))
|
|
170
|
+
return E.SCHEDULED;
|
|
171
|
+
let i = E.IDLE;
|
|
172
|
+
return this._tasks.forAll((t) => {
|
|
173
|
+
t.name === e && t.needsUpdate && (t.schedulePriority <= 1 ? i = E.READY : i !== E.READY && (i = E.WAITING));
|
|
174
|
+
}), i;
|
|
175
|
+
}
|
|
176
|
+
_getRuntime(e) {
|
|
177
|
+
let i = 0;
|
|
178
|
+
return this._tasks.forAll((t) => {
|
|
179
|
+
t.name === e && (i += t.runtime);
|
|
180
|
+
}), i;
|
|
181
|
+
}
|
|
182
|
+
_resetRuntimes() {
|
|
183
|
+
this._tasks.forAll((e) => e.runtime = 0);
|
|
184
|
+
}
|
|
185
|
+
_getRunning() {
|
|
186
|
+
const e = /* @__PURE__ */ new Map();
|
|
187
|
+
if (this._tasks.forAll((t) => {
|
|
188
|
+
t.needsUpdate && e.set(t.name, (e.get(t.name) || 0) + 1);
|
|
189
|
+
}), e.size === 0)
|
|
190
|
+
return null;
|
|
191
|
+
let i = "";
|
|
192
|
+
return e.forEach((t, u) => {
|
|
193
|
+
i += t > 1 ? ` ${t}x ${u}` : ` ${u}`;
|
|
194
|
+
}), i;
|
|
195
|
+
}
|
|
196
|
+
_runIdle() {
|
|
197
|
+
this._run();
|
|
198
|
+
}
|
|
199
|
+
_runInteracting() {
|
|
200
|
+
this._run();
|
|
201
|
+
}
|
|
202
|
+
_runAnimating() {
|
|
203
|
+
this._run();
|
|
204
|
+
}
|
|
205
|
+
_updateLoad() {
|
|
206
|
+
const e = this._tasks.reduce((i, t) => t.needsUpdate ? ++i : i, 0);
|
|
207
|
+
this._load = this._load * U + e * (1 - U);
|
|
208
|
+
}
|
|
209
|
+
_schedule() {
|
|
210
|
+
for (this._runQueue.filterInPlace((e) => !!e.needsUpdate || (e.schedulePriority = e.basePriority, !1)), this._tasks.forAll((e) => {
|
|
211
|
+
e.basePriority === l && e.needsUpdate && !this._runQueue.includes(e) && e.blockFrame !== this._frameNumber && this._runQueue.unshift(e);
|
|
212
|
+
}); this._runQueue.length === 0; ) {
|
|
213
|
+
let e = !1, i = 0;
|
|
214
|
+
if (this._tasks.forAll((t) => {
|
|
215
|
+
t.needsUpdate && t.schedulePriority !== 0 && t.basePriority !== l && t.blockFrame !== this._frameNumber && (e = !0, i = Math.max(i, t.basePriority), t.schedulePriority === 1 ? (t.schedulePriority = 0, this._runQueue.push(t)) : --t.schedulePriority);
|
|
216
|
+
}), !e)
|
|
217
|
+
return this._updatingChanged(), !1;
|
|
218
|
+
}
|
|
219
|
+
return this._updatingChanged(), !0;
|
|
220
|
+
}
|
|
221
|
+
_run() {
|
|
222
|
+
const e = this._budget.now();
|
|
223
|
+
this._startFrameTaskTimes();
|
|
224
|
+
do
|
|
225
|
+
for (; this._runQueue.length > 0; ) {
|
|
226
|
+
const i = this._budget.now(), t = this._runQueue.pop();
|
|
227
|
+
this._budget.resetProgress();
|
|
228
|
+
try {
|
|
229
|
+
t.task.runTask(this._budget) === D && (t.blockFrame = this._frameNumber);
|
|
230
|
+
} catch (T) {
|
|
231
|
+
H.getLogger("esri.views.support.Scheduler").error(`Exception in task "${t.name}"`, T), t.blockFrame = this._frameNumber;
|
|
232
|
+
}
|
|
233
|
+
!this._budget.hasProgressed && t.blockFrame !== this._frameNumber && t.needsUpdate && (t.name, r.I3S_CONTROLLER, t.blockFrame = this._frameNumber), t.schedulePriority = t.basePriority;
|
|
234
|
+
const u = this._budget.now() - i;
|
|
235
|
+
if (t.runtime += u, this._frameTaskTimes.set(t.priority, this._frameTaskTimes.get(t.priority) + u), this._debug && u > 2 * this._budget.budget && console.log("Task", t.name, "used", u, "of max", this._budget.budget, "ms"), this._budget.remaining <= 0)
|
|
236
|
+
return this._updatingChanged(), void this._recordFrameTaskTimes(this._budget.now() - e);
|
|
237
|
+
}
|
|
238
|
+
while (this._schedule());
|
|
239
|
+
this._updatingChanged(), this._recordFrameTaskTimes(this._budget.now() - e);
|
|
240
|
+
}
|
|
241
|
+
_startFrameTaskTimes() {
|
|
242
|
+
for (const e of Object.keys(r))
|
|
243
|
+
this._frameTaskTimes.set(r[e], 0);
|
|
244
|
+
}
|
|
245
|
+
_recordFrameTaskTimes(e) {
|
|
246
|
+
this._frameTaskTimes.forEach((i, t) => this.performanceInfo.tasks.get(t).record(i)), this.performanceInfo.total.record(e);
|
|
247
|
+
}
|
|
248
|
+
get test() {
|
|
249
|
+
return this._test;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
s.Scheduler = n;
|
|
253
|
+
class a {
|
|
254
|
+
get task() {
|
|
255
|
+
return this._task.value;
|
|
256
|
+
}
|
|
257
|
+
get updating() {
|
|
258
|
+
return this._queue.running;
|
|
259
|
+
}
|
|
260
|
+
constructor(e, i, t) {
|
|
261
|
+
this._scheduler = e, this.name = i, this.blockFrame = 0, this.runtime = 0, this._queue = new x(), this._handles = new V(), this._basePriority = S(i), this.schedulePriority = this._basePriority, this._task = f(t ?? this._queue), this._handles.add(Y(() => this.task.running, (u) => e.taskRunningChanged(u)));
|
|
262
|
+
}
|
|
263
|
+
remove() {
|
|
264
|
+
this.processQueue(y), this._scheduler.removeTask(this), this.schedule = P.schedule, this.reschedule = P.reschedule, this._handles.destroy();
|
|
265
|
+
}
|
|
266
|
+
get basePriority() {
|
|
267
|
+
return this._basePriority;
|
|
268
|
+
}
|
|
269
|
+
setPriority(e) {
|
|
270
|
+
if (this.name === e)
|
|
271
|
+
return;
|
|
272
|
+
this.name = e;
|
|
273
|
+
const i = S(e);
|
|
274
|
+
this._basePriority !== l && this.schedulePriority === 0 || (this.schedulePriority = i), this._basePriority = i;
|
|
275
|
+
}
|
|
276
|
+
get priority() {
|
|
277
|
+
return this.name;
|
|
278
|
+
}
|
|
279
|
+
set priority(e) {
|
|
280
|
+
this.setPriority(e);
|
|
281
|
+
}
|
|
282
|
+
get needsUpdate() {
|
|
283
|
+
return this.updating || this.task.running;
|
|
284
|
+
}
|
|
285
|
+
schedule(e, i, t) {
|
|
286
|
+
return this._queue.push(e, i, t);
|
|
287
|
+
}
|
|
288
|
+
reschedule(e, i, t) {
|
|
289
|
+
return this._queue.unshift(e, i, t);
|
|
290
|
+
}
|
|
291
|
+
processQueue(e) {
|
|
292
|
+
return this._queue.runTask(e);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
class _ {
|
|
296
|
+
constructor() {
|
|
297
|
+
this._begin = typeof performance < "u" ? performance.now() : 0, this._budget = 0, this._state = o.IDLE, this._done = !1, this._progressed = !1, this._enabled = !0;
|
|
298
|
+
}
|
|
299
|
+
run(e) {
|
|
300
|
+
return !this.done && (e() === !0 && this.madeProgress(), !0);
|
|
301
|
+
}
|
|
302
|
+
get done() {
|
|
303
|
+
return this._done;
|
|
304
|
+
}
|
|
305
|
+
get budget() {
|
|
306
|
+
return this._budget;
|
|
307
|
+
}
|
|
308
|
+
madeProgress() {
|
|
309
|
+
return this._progressed = !0, this._done = this.elapsed >= this._budget && this._enabled, this._done;
|
|
310
|
+
}
|
|
311
|
+
get state() {
|
|
312
|
+
return this._state;
|
|
313
|
+
}
|
|
314
|
+
get enabled() {
|
|
315
|
+
return this._enabled;
|
|
316
|
+
}
|
|
317
|
+
set enabled(e) {
|
|
318
|
+
this._enabled = e;
|
|
319
|
+
}
|
|
320
|
+
reset(e, i) {
|
|
321
|
+
this._begin = this.now(), this._budget = e, this._state = i, this.resetProgress();
|
|
322
|
+
}
|
|
323
|
+
get remaining() {
|
|
324
|
+
return Math.max(this._budget - this.elapsed, 0);
|
|
325
|
+
}
|
|
326
|
+
now() {
|
|
327
|
+
return performance.now();
|
|
328
|
+
}
|
|
329
|
+
get elapsed() {
|
|
330
|
+
return performance.now() - this._begin;
|
|
331
|
+
}
|
|
332
|
+
resetProgress() {
|
|
333
|
+
this._progressed = !1, this._done = !1;
|
|
334
|
+
}
|
|
335
|
+
get hasProgressed() {
|
|
336
|
+
return this._progressed;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
s.Budget = _;
|
|
340
|
+
})(p || (p = {})), function(s) {
|
|
341
|
+
s.SCHEDULED = "s", s.READY = "r", s.WAITING = "w", s.IDLE = "i";
|
|
342
|
+
}(E || (E = {}));
|
|
343
|
+
const y = (() => {
|
|
344
|
+
const s = new p.Budget();
|
|
345
|
+
return s.enabled = !1, s;
|
|
346
|
+
})();
|
|
347
|
+
class j {
|
|
348
|
+
remove() {
|
|
349
|
+
}
|
|
350
|
+
processQueue() {
|
|
351
|
+
}
|
|
352
|
+
schedule(n, a, _) {
|
|
353
|
+
try {
|
|
354
|
+
if (F(a)) {
|
|
355
|
+
const h = g();
|
|
356
|
+
return _ ? Promise.resolve(_(h)) : Promise.reject(h);
|
|
357
|
+
}
|
|
358
|
+
return $(n(y));
|
|
359
|
+
} catch (h) {
|
|
360
|
+
return Promise.reject(h);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
reschedule(n, a, _) {
|
|
364
|
+
return this.schedule(n, a, _);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
const P = new j();
|
|
368
|
+
export {
|
|
369
|
+
y as C,
|
|
370
|
+
q as E,
|
|
371
|
+
P as F,
|
|
372
|
+
r as I
|
|
373
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export interface CheckboxProps extends MouseEvent {
|
|
2
|
+
value: boolean;
|
|
2
3
|
isChecked: boolean;
|
|
3
4
|
item: {
|
|
4
5
|
text: string;
|
|
@@ -96,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
97
|
}>>, {
|
|
97
98
|
type: "text" | "multiple" | "with-icon" | undefined;
|
|
98
99
|
onClick: (payload: MouseEvent) => void;
|
|
99
|
-
icon: string;
|
|
100
100
|
onCheckboxChange: (payload: CheckboxProps) => void;
|
|
101
101
|
checkboxValue: boolean;
|
|
102
|
+
icon: string;
|
|
102
103
|
}, {}>;
|
|
103
104
|
export default _default;
|