@agrotools1/at-components 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AGraphicContainer-d82e96aa.js +109 -0
- package/dist/APIKeyMixin-2ee64e59.js +19 -0
- package/dist/Analysis-449f84c5.js +31 -0
- package/dist/ArcGISCachedService-a838709f.js +47 -0
- package/dist/ArcGISService-7e5e8710.js +25 -0
- package/dist/AreaMeasurement2D-971dad40.js +405 -0
- package/dist/AreaMeasurement3D-48bc0242.js +488 -0
- package/dist/AttachmentInfo-ad88d558.js +34 -0
- package/dist/AttachmentQuery-c86dac15.js +18 -0
- package/dist/AttributeStore-3851ad0b.js +1707 -0
- package/dist/BaseDynamicLayerView2D-02baa49a.js +63 -0
- package/dist/BingMapsLayer-67c70069.js +112 -0
- package/dist/Bitmap-d455f554.js +128 -0
- package/dist/BitmapContainer-c78799ad.js +23 -0
- package/dist/BlendLayer-246e4998.js +13 -0
- package/dist/BoundsStore-b18f4e4e.js +63 -0
- package/dist/BufferObject-22d914df.js +100 -0
- package/dist/BufferView-5272765e.js +683 -0
- package/dist/BuildingSceneLayer-f08d5129.js +535 -0
- package/dist/Button-335b8469.js +36 -0
- package/dist/CSVLayer-40c0bd0e.js +208 -0
- package/dist/CSVSourceWorker-b8df4580.js +367 -0
- package/dist/CardWithInsights/CardWithInsights.d.ts +2 -1
- package/dist/CatalogDynamicGroupLayerView2D-3abd5c54.js +66 -0
- package/dist/CatalogFootprintLayerView2D-22c795e4.js +76 -0
- package/dist/CatalogLayer-74d18466.js +262 -0
- package/dist/CatalogLayerView2D-ffee45d8.js +52 -0
- package/dist/ClassBreaksDefinition-5a577d31.js +18 -0
- package/dist/ColorMaterial.glsl-bc384e65.js +64 -0
- package/dist/ColorSet-570396b9.js +45 -0
- package/dist/ColorStop-5009138a.js +29 -0
- package/dist/Container-f931e682.js +521 -0
- package/dist/CustomParametersMixin-9e8adcf6.js +12 -0
- package/dist/DefaultMaterial.glsl-092e1a97.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-43e030be.js +653 -0
- package/dist/DefaultTheme-59d78c72.js +130 -0
- package/dist/DeleteForwardEditsParameters-8b5196fa.js +18 -0
- package/dist/DimensionLayer-6fc6ab12.js +129 -0
- package/dist/DirectLineMeasurement3D-6823c93d.js +449 -0
- package/dist/DistanceMeasurement2D-a6cf62b6.js +303 -0
- package/dist/DoubleArray-bb8ff0fb.js +25 -0
- package/dist/Dropdown/Filter/test.mocks.d.ts +6 -0
- package/dist/Dropdown/List/test.mocks.d.ts +6 -0
- package/dist/EdgeProcessingWorker-c5511714.js +63 -0
- package/dist/EditBusLayer-513ca203.js +107 -0
- package/dist/ElevationInfo-234040e3.js +56 -0
- package/dist/ElevationLayer-599949a0.js +129 -0
- package/dist/ElevationQuery-aaa7fb05.js +598 -0
- package/dist/ElevationSamplerWorker-07be3a80.js +62 -0
- package/dist/ExportImageParameters-b28e28df.js +66 -0
- package/dist/ExportStrategy-d6fd38ed.js +93 -0
- package/dist/ExportWMSImageParameters-be4cc5df.js +33 -0
- package/dist/External-55b35c8d.js +110 -0
- package/dist/Faq/Faq.d.ts +1 -1
- package/dist/Faq/index.d.ts +1 -1
- package/dist/FeatureCollectionSnappingSource-fce9fa91.js +130 -0
- package/dist/FeatureCommandQueue-4e426066.js +1244 -0
- package/dist/FeatureEffect-0a86f0ba.js +39 -0
- package/dist/FeatureEffectLayer-13705792.js +13 -0
- package/dist/FeatureFilter-1635b86a.js +27 -0
- package/dist/FeatureLayer-d2f8e7c0.js +693 -0
- package/dist/FeatureLayerBase-40e10dd6.js +148 -0
- package/dist/FeatureLayerSource-ebd2bea5.js +444 -0
- package/dist/FeatureLayerView2D-23240236.js +1967 -0
- package/dist/FeaturePipelineWorker-8d07a1dd.js +3633 -0
- package/dist/FeatureReductionLayer-55609d4e.js +225 -0
- package/dist/FeatureReductionSelection-2f351ee7.js +22 -0
- package/dist/FeatureServiceSnappingSource-513edf0d.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-d6deecd4.js +747 -0
- package/dist/FeatureSet-ffd45984.js +188 -0
- package/dist/FeatureStore-9fd6c0f8.js +131 -0
- package/dist/FeatureTemplate-e4854302.js +12 -0
- package/dist/FeatureType-b4ef51c2.js +25 -0
- package/dist/FieldsIndex-91fb234a.js +109 -0
- package/dist/FormTemplate-67f4d44e.js +350 -0
- package/dist/GeoJSONLayer-e3495648.js +236 -0
- package/dist/GeoJSONSourceWorker-b0ee6d8e.js +247 -0
- package/dist/GeoRSSLayer-afac8cf1.js +73 -0
- package/dist/GeoRSSLayerView2D-b03f6564.js +140 -0
- package/dist/GeometryUtils-058e30f4.js +403 -0
- package/dist/GraphicContainer-d0803f7a.js +26 -0
- package/dist/GraphicManipulator-797ae6c6.js +1499 -0
- package/dist/GraphicsLayer-a30f80da.js +38 -0
- package/dist/GraphicsLayerView2D-0c92e0f2.js +114 -0
- package/dist/GraphicsSnappingSource-e928ab8c.js +273 -0
- package/dist/GraphicsView2D-963eb026.js +620 -0
- package/dist/GroupLayer-7f131ab8.js +147 -0
- package/dist/GroupLayerView2D-5fcc27fc.js +98 -0
- package/dist/HUDMaterial.glsl-3b450c01.js +65 -0
- package/dist/HighlightCounter-fda615cd.js +41 -0
- package/dist/HighlightGraphicContainer-8cfde780.js +18 -0
- package/dist/I3SBinaryReader-a4021fad.js +310 -0
- package/dist/I3SLayerDefinitions-f004f8b6.js +55 -0
- package/dist/I3SUtil-040e44af.js +59 -0
- package/dist/IdentityManager-012e74ca.js +899 -0
- package/dist/ImageHistogramParameters-f7c4c804.js +905 -0
- package/dist/ImageryLayer-c3f0176f.js +1799 -0
- package/dist/ImageryLayerView2D-5a14beb5.js +352 -0
- package/dist/ImageryTileLayer-a93e8471.js +2157 -0
- package/dist/ImageryTileLayerView2D-3e9fea94.js +1110 -0
- package/dist/Indices-f0dca4b5.js +67 -0
- package/dist/Input/index.d.ts +4547 -3
- package/dist/IntegratedMesh3DTilesLayer-7e70c76e.js +112 -0
- package/dist/IntegratedMeshLayer-2283f8d9.js +141 -0
- package/dist/InteractiveAnalysisViewModel-f0a0c72a.js +7397 -0
- package/dist/InterleavedLayout-9490090b.js +163 -0
- package/dist/KMLLayer-06b7037f.js +162 -0
- package/dist/KMLLayerView2D-59f96ec9.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-6c8c4aae.js +43 -0
- package/dist/LRUCache-fc532e9b.js +32 -0
- package/dist/LabelClass-eae6271b.js +135 -0
- package/dist/LabelMetric-ee740bd1.js +400 -0
- package/dist/LaserlinePath.glsl-f58264f5.js +64 -0
- package/dist/Laserlines.glsl-14ab8523.js +65 -0
- package/dist/LayerFloorInfo-6ac1a57d.js +15 -0
- package/dist/LayerView-e41297e4.js +206 -0
- package/dist/LercWorker-22ed35b2.js +157 -0
- package/dist/LineOfSightLayer-6bf67bb7.js +147 -0
- package/dist/LinkChartLayer-e9a861f0.js +1027 -0
- package/dist/Lyr3DWorker-29f7a041.js +82 -0
- package/dist/MagnifierPrograms-1584f9b5.js +806 -0
- package/dist/MapImageLayer-b89cf158.js +169 -0
- package/dist/MapImageLayerView2D-e3f4a4cc.js +146 -0
- package/dist/MapNotesLayer-966f3446.js +283 -0
- package/dist/MapNotesLayerView2D-4aedef2a.js +161 -0
- package/dist/MapServiceLayerViewHelper-4f262166.js +288 -0
- package/dist/MeasurementWidgetContent-82971f95.js +2642 -0
- package/dist/MediaLayer-697a7c14.js +523 -0
- package/dist/MediaLayerView2D-64897044.js +332 -0
- package/dist/MemCache-0861cc28.js +227 -0
- package/dist/MemorySourceWorker-e1c531ac.js +222 -0
- package/dist/Mesh-44c8f6ba.js +980 -0
- package/dist/MeshLocalVertexSpace-6fe3a662.js +19 -0
- package/dist/MultiOriginJSONSupport-248453ac.js +158 -0
- package/dist/Notifications/index.d.ts +1 -0
- package/dist/OGCFeatureLayer-2daa0551.js +211 -0
- package/dist/OGCFeatureLayerView2D-7cebf7e0.js +82 -0
- package/dist/ObjectStack-424092a9.js +21 -0
- package/dist/Octree-21d216f2.js +495 -0
- package/dist/OpenStreetMapLayer-ade6fa9d.js +30 -0
- package/dist/OperationalLayer-097ad3e0.js +44 -0
- package/dist/OrderByInfo-e9ed942d.js +16 -0
- package/dist/OrderedLayer-fef2b56e.js +26 -0
- package/dist/OrientedImageryLayer-424a6234.js +216 -0
- package/dist/OverlayCompositing.glsl-1954a291.js +65 -0
- package/dist/OverrideHelper-f8aace2c.js +242 -0
- package/dist/PBFDecoderWorker-15cd639d.js +213 -0
- package/dist/PointCloudLayer-c820d269.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-e7d37f08.js +115 -0
- package/dist/PointCloudWorker-3e28270d.js +212 -0
- package/dist/PooledRBush-e4cbf810.js +272 -0
- package/dist/Popup-2c03dbc0.js +3990 -0
- package/dist/PortalLayer-09e5a300.js +126 -0
- package/dist/Program-ed5a5aa3.js +694 -0
- package/dist/ProgramTemplate-976cfde1.js +35 -0
- package/dist/QueryEngine-8915348b.js +896 -0
- package/dist/QueryTask-f386d91d.js +119 -0
- package/dist/RasterSymbolizer-6177c6ec.js +3024 -0
- package/dist/RasterVFDisplayObject-6411b56f.js +581 -0
- package/dist/RasterWorker-f825daf0.js +78 -0
- package/dist/RawBlockCache-0d61962b.js +185 -0
- package/dist/RealisticTree.glsl-c9fd0d3c.js +42 -0
- package/dist/RefreshableLayer-0945a308.js +80 -0
- package/dist/RefreshableLayerView-4956f17c.js +16 -0
- package/dist/Relationship-9a82bd43.js +64 -0
- package/dist/RelationshipQuery-68ad49a7.js +22 -0
- package/dist/RenderingContext-49610ad9.js +889 -0
- package/dist/RibbonLine.glsl-6314f72e.js +65 -0
- package/dist/RouteLayer-ff5c8f33.js +786 -0
- package/dist/RouteLayerView2D-2cc60ad2.js +195 -0
- package/dist/SDFHelper-b08be611.js +140 -0
- package/dist/SSAO.glsl-0e92c4e5.js +43 -0
- package/dist/SSAOBlur.glsl-a2bb2587.js +42 -0
- package/dist/ScaleRangeLayer-ab226dbd.js +21 -0
- package/dist/SceneLayer-884ec175.js +542 -0
- package/dist/SceneLayerSnappingSource-aa2944b9.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-5616c206.js +112 -0
- package/dist/SceneLayerWorker-9745b8b5.js +164 -0
- package/dist/SceneService-da855dda.js +215 -0
- package/dist/Scheduler-b3c40220.js +373 -0
- package/dist/Search/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/index.d.ts +3 -3
- package/dist/ShadedColorMaterial.glsl-f953e894.js +64 -0
- package/dist/SnappingOperation-be595c42.js +48 -0
- package/dist/SourceLayerData-ec8ab72c.js +116 -0
- package/dist/SpatialFilter-7d64232d.js +1701 -0
- package/dist/Stop-c022e866.js +281 -0
- package/dist/StreamLayer-d603abd8.js +188 -0
- package/dist/StreamLayerView2D-6d6618cf.js +164 -0
- package/dist/StyleRepository-2f08de17.js +2212 -0
- package/dist/SublayersOwner-cc0e4f54.js +545 -0
- package/dist/SubtypeGroupLayer-bacf048d.js +514 -0
- package/dist/SubtypeGroupLayerView2D-b3ed2c1a.js +84 -0
- package/dist/TechniqueInstance-397b7dc2.js +233 -0
- package/dist/TemporalLayer-7844bd88.js +23 -0
- package/dist/Texture-b1727861.js +501 -0
- package/dist/TextureOnly.glsl-ffd4a7df.js +65 -0
- package/dist/Theme-12cb681b.js +3426 -0
- package/dist/Tick-25d07d27.js +723 -0
- package/dist/TileContainer-ab77d7a6.js +31 -0
- package/dist/TileInfoTilemapCache-3e97ab02.js +38 -0
- package/dist/TileLayer-03cfc8ab.js +194 -0
- package/dist/TileLayerView2D-3cfd6a21.js +187 -0
- package/dist/TilemapCache-36e3c4b7.js +189 -0
- package/dist/TimeInfo-cea2517f.js +42 -0
- package/dist/TimeOnly-5a143001.js +706 -0
- package/dist/Tooltip-2b4711cb.js +138 -0
- package/dist/TopFeaturesQuery-285284f1.js +32 -0
- package/dist/TurboLine-708823a3.js +565 -0
- package/dist/UniqueValueRenderer-3d92c0b9.js +1039 -0
- package/dist/UnknownLayer-d3dbe7c9.js +30 -0
- package/dist/UnknownTimeZone-ed4def19.js +15 -0
- package/dist/UnsupportedLayer-40bbb9f5.js +31 -0
- package/dist/UpdateTracking2D-23c8ff3f.js +8566 -0
- package/dist/Upload/index.d.ts +1 -1
- package/dist/Util-2ba07f64.js +57 -0
- package/dist/VectorTileLayer-ba191a02.js +544 -0
- package/dist/VectorTileLayerView2D-bd3971cd.js +2108 -0
- package/dist/Version-d45bee25.js +33 -0
- package/dist/VertexArrayObject-08a9d938.js +73 -0
- package/dist/VertexColor.glsl-cfafd4c9.js +2683 -0
- package/dist/VertexSnappingCandidate-cbae227c.js +13 -0
- package/dist/VideoLayerView2D-ec66c226.js +124 -0
- package/dist/VoxelLayer-888a65f9.js +631 -0
- package/dist/WFSLayer-786bdecd.js +221 -0
- package/dist/WFSSourceWorker-a212500b.js +157 -0
- package/dist/WGLContainer-f05c906a.js +5426 -0
- package/dist/WMSLayer-b2c46060.js +536 -0
- package/dist/WMSLayerView2D-a90672e9.js +117 -0
- package/dist/WMTSLayer-860b1a45.js +531 -0
- package/dist/WMTSLayerView2D-c492825d.js +142 -0
- package/dist/WebTileLayer-e178eb17.js +110 -0
- package/dist/WhereClause-ad3cc5ae.js +2766 -0
- package/dist/WorkerHandle-ef6ad49b.js +47 -0
- package/dist/WorkerTileHandler-c2b98dae.js +1539 -0
- package/dist/action-46ccf03a.js +198 -0
- package/dist/action-group-9785519d.js +145 -0
- package/dist/action-menu-f423306a.js +1759 -0
- package/dist/agrotools-theme.css +2 -2
- package/dist/agrotools-theme.css.map +1 -1
- package/dist/apng-66c828d8.js +392 -0
- package/dist/arcade-af30f385.js +229 -0
- package/dist/arcadeAsyncRuntime-fdce05e3.js +943 -0
- package/dist/arcadeUtils-2b5a1e68.js +8741 -0
- package/dist/arcgis-knowledge-client-core-192a1ac0.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-4fb6c777.js +1218 -0
- package/dist/arcgisLayers-f43f9183.js +152 -0
- package/dist/associatedFeatureServiceUtils-15949591.js +92 -0
- package/dist/axisAngleDegrees-de05cd64.js +49 -0
- package/dist/basis_transcoder-6f118404.js +1248 -0
- package/dist/calcite-action-bar-9722a11e.js +303 -0
- package/dist/calcite-action-f5829479.js +22 -0
- package/dist/calcite-action-group-3e77994f.js +28 -0
- package/dist/calcite-button-8979d383.js +228 -0
- package/dist/calcite-flow-b50ce308.js +128 -0
- package/dist/calcite-flow-item-57549b16.js +499 -0
- package/dist/calcite-icon-fb43725c.js +16 -0
- package/dist/calcite-input-fcc054c7.js +24 -0
- package/dist/calcite-label-10d65c11.js +79 -0
- package/dist/calcite-list-2847bddc.js +2135 -0
- package/dist/calcite-list-item-53cde043.js +576 -0
- package/dist/calcite-list-item-group-256eb990.js +71 -0
- package/dist/calcite-loader-022a5436.js +14 -0
- package/dist/calcite-modal-5b1a23d9.js +333 -0
- package/dist/calcite-notice-17009704.js +181 -0
- package/dist/calcite-option-c7d00181.js +94 -0
- package/dist/calcite-scrim-1dced2db.js +18 -0
- package/dist/calcite-select-a96a55a3.js +231 -0
- package/dist/capabilities-3f86754a.js +50 -0
- package/dist/chartCommon-af8c14ae.js +256 -0
- package/dist/chartUtilsAm5-418cf95f.js +2954 -0
- package/dist/clientSideDefaults-2aad569c.js +39 -0
- package/dist/colorRamps-0fae1fde.js +38 -0
- package/dist/colorUtils-6d5e716b.js +164 -0
- package/dist/commonProperties-d1f695a2.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-cba163ab.js +60 -0
- package/dist/conditionalSlot-14f35023.js +27 -0
- package/dist/createConnection-f3b9e606.js +299 -0
- package/dist/dataUtils-65604399.js +1421 -0
- package/dist/deduplicate-16f30199.js +89 -0
- package/dist/defaults-b7c93d2a.js +31 -0
- package/dist/deleteForwardEdits-f31f885d.js +13 -0
- package/dist/diffUtils-54c1c039.js +90 -0
- package/dist/drapedUtils-166cd4c2.js +75 -0
- package/dist/earcut-ffaa9a50.js +292 -0
- package/dist/edgeProcessing-1a2c4169.js +252 -0
- package/dist/editingSupport-ffa6f639.js +203 -0
- package/dist/editsZScale-2840378a.js +37 -0
- package/dist/elevationInfoUtils-c1caf596.js +126 -0
- package/dist/executeForIds-b9c9164b.js +14 -0
- package/dist/executeForTopCount-8a73aea7.js +17 -0
- package/dist/executeForTopExtents-a3d0b42e.js +17 -0
- package/dist/executeForTopIds-f14d5790.js +17 -0
- package/dist/executeQueryJSON-6cd89bed.js +15 -0
- package/dist/executeQueryPBF-e1d32cfc.js +152 -0
- package/dist/executeRelationshipQuery-5cadcb20.js +53 -0
- package/dist/executeTopFeaturesQuery-32dda453.js +18 -0
- package/dist/featureConversionUtils-a5f0b9b2.js +479 -0
- package/dist/featureLayerUtils-828813e8.js +250 -0
- package/dist/featureLayerUtils-9e9f97c1.js +142 -0
- package/dist/featureSetUtils-2f86a02f.js +2530 -0
- package/dist/featuresetbase-bb981400.js +707 -0
- package/dist/featuresetgeom-0185b49f.js +99 -0
- package/dist/featuresetstats-3d689b79.js +81 -0
- package/dist/featuresetstring-83733fad.js +95 -0
- package/dist/fetchService-25e9ba70.js +33 -0
- package/dist/fieldProperties-cd5649d9.js +33 -0
- package/dist/floatRGBA-005cc596.js +20 -0
- package/dist/form-41e8f739.js +138 -0
- package/dist/geohashUtils-776cae3b.js +85 -0
- package/dist/geojson-7ef69d00.js +208 -0
- package/dist/geomasync-43a66474.js +567 -0
- package/dist/geometryEngine-e18a460d.js +192 -0
- package/dist/geometryEngineAsync-ae21d4e2.js +217 -0
- package/dist/geometryEngineBase-d653892b.js +18463 -0
- package/dist/geometryEngineJSON-031f6196.js +46 -0
- package/dist/geometryEngineJSON-9aeb41cd.js +171 -0
- package/dist/geometryEngineWorker-1c2f96e6.js +11 -0
- package/dist/geometryServiceUtils-50afe031.js +28 -0
- package/dist/georeference-cf051555.js +291 -0
- package/dist/gif-3fe5f761.js +323 -0
- package/dist/gltfexport-3ec498d6.js +705 -0
- package/dist/groupLayerUtils-5b8e1f89.js +39 -0
- package/dist/heatmapUtils-b512588d.js +45 -0
- package/dist/highlightReasons-b0f772b2.js +19 -0
- package/dist/hydrated-36edecd6.js +40 -0
- package/dist/i3s-239f062a.js +809 -0
- package/dist/icon-5e93376e.js +127 -0
- package/dist/imageBitmapUtils-142daeaf.js +23 -0
- package/dist/imageUtils-27ed5e73.js +89 -0
- package/dist/imageUtils-901282e9.js +69 -0
- package/dist/imageryUtils-b1dd3a54.js +43 -0
- package/dist/index-6ebf29c1.js +43667 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +17 -13
- package/dist/input-message-20d19cfb.js +92 -0
- package/dist/input2-8da11a51.js +575 -0
- package/dist/interactive-bcb1b82d.js +80 -0
- package/dist/jsonContext-45fce1e1.js +15 -0
- package/dist/jsonUtils-09f69988.js +86 -0
- package/dist/jsonUtils-1f447d0c.js +476 -0
- package/dist/jsonUtils-db906457.js +59 -0
- package/dist/kmlUtils-6412718d.js +112 -0
- package/dist/knowledgeGraphService-80890106.js +739 -0
- package/dist/knowledgegraph-475723f0.js +149 -0
- package/dist/labelUtils-85708580.js +61 -0
- package/dist/labelingInfo-62fc9d21.js +46 -0
- package/dist/layersCreator-a94b60fe.js +151 -0
- package/dist/layersLoader-39c74edb.js +197 -0
- package/dist/lazyLayerLoader-7922c10d.js +10 -0
- package/dist/lclayout-6ac84378.js +773 -0
- package/dist/lengthUtils-6a89d855.js +5 -0
- package/dist/lerc-wasm-b8b3cd2c.js +325 -0
- package/dist/libtess-61451fa0.js +269 -0
- package/dist/libtess-asm-fef1a4ca.js +3673 -0
- package/dist/lineSegment-f45db35c.js +76 -0
- package/dist/loadGLTFMesh-2f9cee21.js +181 -0
- package/dist/loadable-c29cb205.js +24 -0
- package/dist/loader-d9b4787f.js +79 -0
- package/dist/lyr3DWorker-33babc2c.js +2108 -0
- package/dist/mapViewDeps-f5b886c8.js +3052 -0
- package/dist/mediaLayerUtils-5a2c2fe8.js +35 -0
- package/dist/meshFeatureSet-2312bbe6.js +126 -0
- package/dist/meshVertexSpaceUtils-c9b69510.js +58 -0
- package/dist/multidimensionalUtils-e85f5a78.js +290 -0
- package/dist/normalizeUtilsSync-555b1847.js +181 -0
- package/dist/number-72e1a662.js +128 -0
- package/dist/objectResourceUtils-abe804cf.js +1455 -0
- package/dist/observers-f3bd3593.js +30 -0
- package/dist/ogcFeatureUtils-7097c17e.js +206 -0
- package/dist/openCloseComponent-67a2c20c.js +37 -0
- package/dist/orientedBoundingBox-4ae2c366.js +447 -0
- package/dist/parser-7a76caf9.js +488 -0
- package/dist/pbf-0b9b579c.js +215 -0
- package/dist/pbfQueryUtils-baba23c7.js +422 -0
- package/dist/pe-wasm-d080c07b.js +887 -0
- package/dist/persistable-82932da9.js +89 -0
- package/dist/perspectiveUtils-1b383b17.js +42 -0
- package/dist/pieChart-eca78f7c.js +555 -0
- package/dist/plane-84e27261.js +160 -0
- package/dist/popupUtils-b72d32fb.js +22 -0
- package/dist/popupUtils-cde1d105.js +50 -0
- package/dist/portalItemUtils-28314a3f.js +57 -0
- package/dist/portalLayers-eeaa6e57.js +312 -0
- package/dist/portalUtils-457f542e.js +7 -0
- package/dist/programUtils-0c20a48e.js +59 -0
- package/dist/project-1b5431dd.js +21 -0
- package/dist/projectPointToVector-1f1d1dc7.js +14 -0
- package/dist/projectVectorToVector-b7e757a1.js +13 -0
- package/dist/quantityUtils-b64583f9.js +33 -0
- package/dist/quantizationUtils-9e478e23.js +68 -0
- package/dist/quat-5502b70d.js +104 -0
- package/dist/query-b2397453.js +89 -0
- package/dist/queryAttachments-4361fd2f.js +39 -0
- package/dist/queryEngineUtils-f24bc98c.js +21 -0
- package/dist/queryTopFeatures-e06aa562.js +50 -0
- package/dist/queryZScale-b18ec359.js +12 -0
- package/dist/rasterProjectionHelper-935c256c.js +577 -0
- package/dist/rasterUtils-efad8a20.js +122 -0
- package/dist/rasterizingUtils-80de9b14.js +46 -0
- package/dist/request-cae502b7.js +46 -0
- package/dist/requestImageUtils-caebcf1e.js +8 -0
- package/dist/resourceExtension-7d14f4fc.js +17 -0
- package/dist/resourceUtils-8d97f5bf.js +42 -0
- package/dist/resourceUtils-be991ca4.js +69 -0
- package/dist/resourceUtils-fa1a565f.js +62 -0
- package/dist/saveAPIKeyUtils-9f0454db.js +8 -0
- package/dist/saveUtils-22a6caa6.js +24 -0
- package/dist/scaleUtils-ba5596ad.js +23 -0
- package/dist/scrim-5b1b6156.js +114 -0
- package/dist/serviceCapabilitiesUtils-3a47b26b.js +64 -0
- package/dist/sourceUtils-ded5acd6.js +71 -0
- package/dist/sphere-418b76df.js +199 -0
- package/dist/statsWorker-a082453a.js +37 -0
- package/dist/streamLayerUtils-22aa35f2.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-aa4777b6.js +75 -0
- package/dist/styleUtils-e5f7ddb7.js +14 -0
- package/dist/sublayerUtils-7c5ebfea.js +37 -0
- package/dist/substitute-da3c695d.js +52 -0
- package/dist/symbolColorUtils-5d3e355f.js +8 -0
- package/dist/symbolLayerUtils-47cdd4d1.js +31 -0
- package/dist/symbologySnappingCandidates-6ebf1df0.js +221 -0
- package/dist/t9n-c80e56d9.js +349 -0
- package/dist/testSVGPremultipliedAlpha-b9ff88ef.js +94 -0
- package/dist/timeSupport-8d2432f7.js +410 -0
- package/dist/triangle-07f96fb9.js +98 -0
- package/dist/unitConversionUtils-c1bfd22b.js +17 -0
- package/dist/unitFormatUtils-e75be0c3.js +40 -0
- package/dist/uploadAssetErrors-3493bdb9.js +70 -0
- package/dist/uploadAssets-24fe5279.js +330 -0
- package/dist/utils-17d83806.js +2746 -0
- package/dist/utils-717efd4b.js +73 -0
- package/dist/utils-74e8e651.js +433 -0
- package/dist/utils-7c8f1d3f.js +232 -0
- package/dist/utils-94cbe432.js +79 -0
- package/dist/utils-a76b92ed.js +34 -0
- package/dist/utils-e73651cf.js +419 -0
- package/dist/utils-f46de72c.js +91 -0
- package/dist/utils3-eb04cacb.js +75 -0
- package/dist/vec3-61daf837.js +81 -0
- package/dist/vec42-27060a00.js +125 -0
- package/dist/versionUtils-c9c03a5d.js +161 -0
- package/dist/visualVariableUtils-bc9bfef1.js +267 -0
- package/dist/webStyleSymbolUtils-0990caa8.js +48 -0
- package/dist/webglDeps-812387f7.js +23 -0
- package/dist/wfsUtils-fdccd660.js +343 -0
- package/dist/workerHelper-d8d5f17b.js +11 -0
- package/dist/xyChart-94c1ef04.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-98a4c8a4.js +0 -109
- package/dist/APIKeyMixin-9511e0a5.js +0 -19
- package/dist/Accordion/Accordion.d.ts +0 -49
- 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/Avatar/Avatar.d.ts +0 -66
- 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/Button.d.ts +0 -82
- 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/Checkbox/Checkbox.d.ts +0 -87
- 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/DataTable/Column/Column.d.ts +0 -36
- package/dist/DataTable/Counters/Counters.d.ts +0 -41
- package/dist/DataTable/DataTable.d.ts +0 -113
- package/dist/DefaultMaterial.glsl-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/Input/Input.core.d.ts +0 -159
- 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/Legend/Legend.d.ts +0 -73
- 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/Map/Map.d.ts +0 -26
- 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/Modal/Modal.d.ts +0 -106
- 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/Paginator/Paginator.d.ts +0 -43
- 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/ProgressBar/ProgressBar.d.ts +0 -73
- package/dist/QueryEngine-10c97624.js +0 -896
- package/dist/QueryTask-115430b6.js +0 -119
- package/dist/RadioButton/RadioButton.d.ts +0 -87
- 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/Select/Item/Item.d.ts +0 -104
- package/dist/Select/Multiple/Select.multiple.d.ts +0 -90
- package/dist/Select/Select.core.d.ts +0 -78
- package/dist/Select/Single/Select.single.d.ts +0 -66
- package/dist/ShadedColorMaterial.glsl-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/Tabs/Tab/Tab.d.ts +0 -69
- package/dist/Tabs/Tabs.d.ts +0 -50
- 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/Tipograph/Paragraph/Paragraph.d.ts +0 -25
- package/dist/Tipograph/Title/Title.d.ts +0 -25
- package/dist/Toggle/Toggle.d.ts +0 -45
- package/dist/Tooltip-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/Upload/Upload.d.ts +0 -129
- 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
|
@@ -0,0 +1,1759 @@
|
|
|
1
|
+
import { aT as y, aV as Ve, aW as Xe, dD as Q, aU as vt, aX as wt, i4 as bt } from "./index-6ebf29c1.js";
|
|
2
|
+
import { g as xt, t as he, m as yt, q as Et, w as Pt, f as Ct } from "./dom-b589b728.js";
|
|
3
|
+
import { g as Ke } from "./guid-5ee54248.js";
|
|
4
|
+
import { u as At, c as Ot, a as kt, s as Rt, d as Dt, b as Lt, h as Ye } from "./t9n-c80e56d9.js";
|
|
5
|
+
import { s as qe, a as Ge, c as Qe } from "./loadable-c29cb205.js";
|
|
6
|
+
import { d as Ze } from "./action-46ccf03a.js";
|
|
7
|
+
import { d as Je } from "./icon-5e93376e.js";
|
|
8
|
+
import { d as et } from "./loader-d9b4787f.js";
|
|
9
|
+
import { d as Tt } from "./debounce-de27a42a.js";
|
|
10
|
+
import { d as fe, a as Ee, c as St, u as Mt } from "./focusTrapComponent-e849bb89.js";
|
|
11
|
+
import { o as Pe } from "./openCloseComponent-67a2c20c.js";
|
|
12
|
+
import { c as Bt } from "./observers-f3bd3593.js";
|
|
13
|
+
import { g as Ht } from "./component-51a10bc0.js";
|
|
14
|
+
/*!
|
|
15
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
16
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
17
|
+
* v2.7.1
|
|
18
|
+
*/
|
|
19
|
+
function Ce(t, e) {
|
|
20
|
+
return (t + e) % e;
|
|
21
|
+
}
|
|
22
|
+
/*!
|
|
23
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
24
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
25
|
+
* v2.7.1
|
|
26
|
+
*/
|
|
27
|
+
const tt = ["top", "right", "bottom", "left"], Ae = ["start", "end"], Oe = /* @__PURE__ */ tt.reduce((t, e) => t.concat(e, e + "-" + Ae[0], e + "-" + Ae[1]), []), q = Math.min, V = Math.max, ne = Math.round, te = Math.floor, N = (t) => ({
|
|
28
|
+
x: t,
|
|
29
|
+
y: t
|
|
30
|
+
}), It = {
|
|
31
|
+
left: "right",
|
|
32
|
+
right: "left",
|
|
33
|
+
bottom: "top",
|
|
34
|
+
top: "bottom"
|
|
35
|
+
}, Ft = {
|
|
36
|
+
start: "end",
|
|
37
|
+
end: "start"
|
|
38
|
+
};
|
|
39
|
+
function me(t, e, n) {
|
|
40
|
+
return V(t, q(e, n));
|
|
41
|
+
}
|
|
42
|
+
function K(t, e) {
|
|
43
|
+
return typeof t == "function" ? t(e) : t;
|
|
44
|
+
}
|
|
45
|
+
function z(t) {
|
|
46
|
+
return t.split("-")[0];
|
|
47
|
+
}
|
|
48
|
+
function H(t) {
|
|
49
|
+
return t.split("-")[1];
|
|
50
|
+
}
|
|
51
|
+
function nt(t) {
|
|
52
|
+
return t === "x" ? "y" : "x";
|
|
53
|
+
}
|
|
54
|
+
function ve(t) {
|
|
55
|
+
return t === "y" ? "height" : "width";
|
|
56
|
+
}
|
|
57
|
+
function le(t) {
|
|
58
|
+
return ["top", "bottom"].includes(z(t)) ? "y" : "x";
|
|
59
|
+
}
|
|
60
|
+
function we(t) {
|
|
61
|
+
return nt(le(t));
|
|
62
|
+
}
|
|
63
|
+
function it(t, e, n) {
|
|
64
|
+
n === void 0 && (n = !1);
|
|
65
|
+
const i = H(t), o = we(t), s = ve(o);
|
|
66
|
+
let r = o === "x" ? i === (n ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
|
|
67
|
+
return e.reference[s] > e.floating[s] && (r = oe(r)), [r, oe(r)];
|
|
68
|
+
}
|
|
69
|
+
function $t(t) {
|
|
70
|
+
const e = oe(t);
|
|
71
|
+
return [ie(t), e, ie(e)];
|
|
72
|
+
}
|
|
73
|
+
function ie(t) {
|
|
74
|
+
return t.replace(/start|end/g, (e) => Ft[e]);
|
|
75
|
+
}
|
|
76
|
+
function zt(t, e, n) {
|
|
77
|
+
const i = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
78
|
+
switch (t) {
|
|
79
|
+
case "top":
|
|
80
|
+
case "bottom":
|
|
81
|
+
return n ? e ? o : i : e ? i : o;
|
|
82
|
+
case "left":
|
|
83
|
+
case "right":
|
|
84
|
+
return e ? s : r;
|
|
85
|
+
default:
|
|
86
|
+
return [];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function _t(t, e, n, i) {
|
|
90
|
+
const o = H(t);
|
|
91
|
+
let s = zt(z(t), n === "start", i);
|
|
92
|
+
return o && (s = s.map((r) => r + "-" + o), e && (s = s.concat(s.map(ie)))), s;
|
|
93
|
+
}
|
|
94
|
+
function oe(t) {
|
|
95
|
+
return t.replace(/left|right|bottom|top/g, (e) => It[e]);
|
|
96
|
+
}
|
|
97
|
+
function Wt(t) {
|
|
98
|
+
return {
|
|
99
|
+
top: 0,
|
|
100
|
+
right: 0,
|
|
101
|
+
bottom: 0,
|
|
102
|
+
left: 0,
|
|
103
|
+
...t
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function ot(t) {
|
|
107
|
+
return typeof t != "number" ? Wt(t) : {
|
|
108
|
+
top: t,
|
|
109
|
+
right: t,
|
|
110
|
+
bottom: t,
|
|
111
|
+
left: t
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function se(t) {
|
|
115
|
+
return {
|
|
116
|
+
...t,
|
|
117
|
+
top: t.y,
|
|
118
|
+
left: t.x,
|
|
119
|
+
right: t.x + t.width,
|
|
120
|
+
bottom: t.y + t.height
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function ke(t, e, n) {
|
|
124
|
+
let {
|
|
125
|
+
reference: i,
|
|
126
|
+
floating: o
|
|
127
|
+
} = t;
|
|
128
|
+
const s = le(e), r = we(e), l = ve(r), a = z(e), c = s === "y", u = i.x + i.width / 2 - o.width / 2, d = i.y + i.height / 2 - o.height / 2, g = i[l] / 2 - o[l] / 2;
|
|
129
|
+
let f;
|
|
130
|
+
switch (a) {
|
|
131
|
+
case "top":
|
|
132
|
+
f = {
|
|
133
|
+
x: u,
|
|
134
|
+
y: i.y - o.height
|
|
135
|
+
};
|
|
136
|
+
break;
|
|
137
|
+
case "bottom":
|
|
138
|
+
f = {
|
|
139
|
+
x: u,
|
|
140
|
+
y: i.y + i.height
|
|
141
|
+
};
|
|
142
|
+
break;
|
|
143
|
+
case "right":
|
|
144
|
+
f = {
|
|
145
|
+
x: i.x + i.width,
|
|
146
|
+
y: d
|
|
147
|
+
};
|
|
148
|
+
break;
|
|
149
|
+
case "left":
|
|
150
|
+
f = {
|
|
151
|
+
x: i.x - o.width,
|
|
152
|
+
y: d
|
|
153
|
+
};
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
f = {
|
|
157
|
+
x: i.x,
|
|
158
|
+
y: i.y
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
switch (H(e)) {
|
|
162
|
+
case "start":
|
|
163
|
+
f[r] -= g * (n && c ? -1 : 1);
|
|
164
|
+
break;
|
|
165
|
+
case "end":
|
|
166
|
+
f[r] += g * (n && c ? -1 : 1);
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
return f;
|
|
170
|
+
}
|
|
171
|
+
const Nt = async (t, e, n) => {
|
|
172
|
+
const {
|
|
173
|
+
placement: i = "bottom",
|
|
174
|
+
strategy: o = "absolute",
|
|
175
|
+
middleware: s = [],
|
|
176
|
+
platform: r
|
|
177
|
+
} = n, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
178
|
+
let c = await r.getElementRects({
|
|
179
|
+
reference: t,
|
|
180
|
+
floating: e,
|
|
181
|
+
strategy: o
|
|
182
|
+
}), {
|
|
183
|
+
x: u,
|
|
184
|
+
y: d
|
|
185
|
+
} = ke(c, i, a), g = i, f = {}, h = 0;
|
|
186
|
+
for (let m = 0; m < l.length; m++) {
|
|
187
|
+
const {
|
|
188
|
+
name: v,
|
|
189
|
+
fn: p
|
|
190
|
+
} = l[m], {
|
|
191
|
+
x: w,
|
|
192
|
+
y: b,
|
|
193
|
+
data: E,
|
|
194
|
+
reset: x
|
|
195
|
+
} = await p({
|
|
196
|
+
x: u,
|
|
197
|
+
y: d,
|
|
198
|
+
initialPlacement: i,
|
|
199
|
+
placement: g,
|
|
200
|
+
strategy: o,
|
|
201
|
+
middlewareData: f,
|
|
202
|
+
rects: c,
|
|
203
|
+
platform: r,
|
|
204
|
+
elements: {
|
|
205
|
+
reference: t,
|
|
206
|
+
floating: e
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
if (u = w ?? u, d = b ?? d, f = {
|
|
210
|
+
...f,
|
|
211
|
+
[v]: {
|
|
212
|
+
...f[v],
|
|
213
|
+
...E
|
|
214
|
+
}
|
|
215
|
+
}, x && h <= 50) {
|
|
216
|
+
h++, typeof x == "object" && (x.placement && (g = x.placement), x.rects && (c = x.rects === !0 ? await r.getElementRects({
|
|
217
|
+
reference: t,
|
|
218
|
+
floating: e,
|
|
219
|
+
strategy: o
|
|
220
|
+
}) : x.rects), {
|
|
221
|
+
x: u,
|
|
222
|
+
y: d
|
|
223
|
+
} = ke(c, g, a)), m = -1;
|
|
224
|
+
continue;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return {
|
|
228
|
+
x: u,
|
|
229
|
+
y: d,
|
|
230
|
+
placement: g,
|
|
231
|
+
strategy: o,
|
|
232
|
+
middlewareData: f
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
async function Z(t, e) {
|
|
236
|
+
var n;
|
|
237
|
+
e === void 0 && (e = {});
|
|
238
|
+
const {
|
|
239
|
+
x: i,
|
|
240
|
+
y: o,
|
|
241
|
+
platform: s,
|
|
242
|
+
rects: r,
|
|
243
|
+
elements: l,
|
|
244
|
+
strategy: a
|
|
245
|
+
} = t, {
|
|
246
|
+
boundary: c = "clippingAncestors",
|
|
247
|
+
rootBoundary: u = "viewport",
|
|
248
|
+
elementContext: d = "floating",
|
|
249
|
+
altBoundary: g = !1,
|
|
250
|
+
padding: f = 0
|
|
251
|
+
} = K(e, t), h = ot(f), v = l[g ? d === "floating" ? "reference" : "floating" : d], p = se(await s.getClippingRect({
|
|
252
|
+
element: (n = await (s.isElement == null ? void 0 : s.isElement(v))) == null || n ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
253
|
+
boundary: c,
|
|
254
|
+
rootBoundary: u,
|
|
255
|
+
strategy: a
|
|
256
|
+
})), w = d === "floating" ? {
|
|
257
|
+
...r.floating,
|
|
258
|
+
x: i,
|
|
259
|
+
y: o
|
|
260
|
+
} : r.reference, b = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), E = await (s.isElement == null ? void 0 : s.isElement(b)) ? await (s.getScale == null ? void 0 : s.getScale(b)) || {
|
|
261
|
+
x: 1,
|
|
262
|
+
y: 1
|
|
263
|
+
} : {
|
|
264
|
+
x: 1,
|
|
265
|
+
y: 1
|
|
266
|
+
}, x = se(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
267
|
+
rect: w,
|
|
268
|
+
offsetParent: b,
|
|
269
|
+
strategy: a
|
|
270
|
+
}) : w);
|
|
271
|
+
return {
|
|
272
|
+
top: (p.top - x.top + h.top) / E.y,
|
|
273
|
+
bottom: (x.bottom - p.bottom + h.bottom) / E.y,
|
|
274
|
+
left: (p.left - x.left + h.left) / E.x,
|
|
275
|
+
right: (x.right - p.right + h.right) / E.x
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
const Ut = (t) => ({
|
|
279
|
+
name: "arrow",
|
|
280
|
+
options: t,
|
|
281
|
+
async fn(e) {
|
|
282
|
+
const {
|
|
283
|
+
x: n,
|
|
284
|
+
y: i,
|
|
285
|
+
placement: o,
|
|
286
|
+
rects: s,
|
|
287
|
+
platform: r,
|
|
288
|
+
elements: l,
|
|
289
|
+
middlewareData: a
|
|
290
|
+
} = e, {
|
|
291
|
+
element: c,
|
|
292
|
+
padding: u = 0
|
|
293
|
+
} = K(t, e) || {};
|
|
294
|
+
if (c == null)
|
|
295
|
+
return {};
|
|
296
|
+
const d = ot(u), g = {
|
|
297
|
+
x: n,
|
|
298
|
+
y: i
|
|
299
|
+
}, f = we(o), h = ve(f), m = await r.getDimensions(c), v = f === "y", p = v ? "top" : "left", w = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", E = s.reference[h] + s.reference[f] - g[f] - s.floating[h], x = g[f] - s.reference[f], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
300
|
+
let P = A ? A[b] : 0;
|
|
301
|
+
(!P || !await (r.isElement == null ? void 0 : r.isElement(A))) && (P = l.floating[b] || s.floating[h]);
|
|
302
|
+
const L = E / 2 - x / 2, S = P / 2 - m[h] / 2 - 1, C = q(d[p], S), T = q(d[w], S), O = C, j = P - m[h] - T, k = P / 2 - m[h] / 2 + L, M = me(O, k, j), B = !a.arrow && H(o) != null && k != M && s.reference[h] / 2 - (k < O ? C : T) - m[h] / 2 < 0, F = B ? k < O ? k - O : k - j : 0;
|
|
303
|
+
return {
|
|
304
|
+
[f]: g[f] + F,
|
|
305
|
+
data: {
|
|
306
|
+
[f]: M,
|
|
307
|
+
centerOffset: k - M - F,
|
|
308
|
+
...B && {
|
|
309
|
+
alignmentOffset: F
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
reset: B
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
function jt(t, e, n) {
|
|
317
|
+
return (t ? [...n.filter((o) => H(o) === t), ...n.filter((o) => H(o) !== t)] : n.filter((o) => z(o) === o)).filter((o) => t ? H(o) === t || (e ? ie(o) !== o : !1) : !0);
|
|
318
|
+
}
|
|
319
|
+
const Vt = function(t) {
|
|
320
|
+
return t === void 0 && (t = {}), {
|
|
321
|
+
name: "autoPlacement",
|
|
322
|
+
options: t,
|
|
323
|
+
async fn(e) {
|
|
324
|
+
var n, i, o;
|
|
325
|
+
const {
|
|
326
|
+
rects: s,
|
|
327
|
+
middlewareData: r,
|
|
328
|
+
placement: l,
|
|
329
|
+
platform: a,
|
|
330
|
+
elements: c
|
|
331
|
+
} = e, {
|
|
332
|
+
crossAxis: u = !1,
|
|
333
|
+
alignment: d,
|
|
334
|
+
allowedPlacements: g = Oe,
|
|
335
|
+
autoAlignment: f = !0,
|
|
336
|
+
...h
|
|
337
|
+
} = K(t, e), m = d !== void 0 || g === Oe ? jt(d || null, f, g) : g, v = await Z(e, h), p = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, w = m[p];
|
|
338
|
+
if (w == null)
|
|
339
|
+
return {};
|
|
340
|
+
const b = it(w, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
|
|
341
|
+
if (l !== w)
|
|
342
|
+
return {
|
|
343
|
+
reset: {
|
|
344
|
+
placement: m[0]
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
const E = [v[z(w)], v[b[0]], v[b[1]]], x = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
|
|
348
|
+
placement: w,
|
|
349
|
+
overflows: E
|
|
350
|
+
}], A = m[p + 1];
|
|
351
|
+
if (A)
|
|
352
|
+
return {
|
|
353
|
+
data: {
|
|
354
|
+
index: p + 1,
|
|
355
|
+
overflows: x
|
|
356
|
+
},
|
|
357
|
+
reset: {
|
|
358
|
+
placement: A
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
const P = x.map((C) => {
|
|
362
|
+
const T = H(C.placement);
|
|
363
|
+
return [C.placement, T && u ? (
|
|
364
|
+
// Check along the mainAxis and main crossAxis side.
|
|
365
|
+
C.overflows.slice(0, 2).reduce((O, j) => O + j, 0)
|
|
366
|
+
) : (
|
|
367
|
+
// Check only the mainAxis.
|
|
368
|
+
C.overflows[0]
|
|
369
|
+
), C.overflows];
|
|
370
|
+
}).sort((C, T) => C[1] - T[1]), S = ((o = P.filter((C) => C[2].slice(
|
|
371
|
+
0,
|
|
372
|
+
// Aligned placements should not check their opposite crossAxis
|
|
373
|
+
// side.
|
|
374
|
+
H(C[0]) ? 2 : 3
|
|
375
|
+
).every((T) => T <= 0))[0]) == null ? void 0 : o[0]) || P[0][0];
|
|
376
|
+
return S !== l ? {
|
|
377
|
+
data: {
|
|
378
|
+
index: p + 1,
|
|
379
|
+
overflows: x
|
|
380
|
+
},
|
|
381
|
+
reset: {
|
|
382
|
+
placement: S
|
|
383
|
+
}
|
|
384
|
+
} : {};
|
|
385
|
+
}
|
|
386
|
+
};
|
|
387
|
+
}, Xt = function(t) {
|
|
388
|
+
return t === void 0 && (t = {}), {
|
|
389
|
+
name: "flip",
|
|
390
|
+
options: t,
|
|
391
|
+
async fn(e) {
|
|
392
|
+
var n, i;
|
|
393
|
+
const {
|
|
394
|
+
placement: o,
|
|
395
|
+
middlewareData: s,
|
|
396
|
+
rects: r,
|
|
397
|
+
initialPlacement: l,
|
|
398
|
+
platform: a,
|
|
399
|
+
elements: c
|
|
400
|
+
} = e, {
|
|
401
|
+
mainAxis: u = !0,
|
|
402
|
+
crossAxis: d = !0,
|
|
403
|
+
fallbackPlacements: g,
|
|
404
|
+
fallbackStrategy: f = "bestFit",
|
|
405
|
+
fallbackAxisSideDirection: h = "none",
|
|
406
|
+
flipAlignment: m = !0,
|
|
407
|
+
...v
|
|
408
|
+
} = K(t, e);
|
|
409
|
+
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
410
|
+
return {};
|
|
411
|
+
const p = z(o), w = z(l) === l, b = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), E = g || (w || !m ? [oe(l)] : $t(l));
|
|
412
|
+
!g && h !== "none" && E.push(..._t(l, m, h, b));
|
|
413
|
+
const x = [l, ...E], A = await Z(e, v), P = [];
|
|
414
|
+
let L = ((i = s.flip) == null ? void 0 : i.overflows) || [];
|
|
415
|
+
if (u && P.push(A[p]), d) {
|
|
416
|
+
const O = it(o, r, b);
|
|
417
|
+
P.push(A[O[0]], A[O[1]]);
|
|
418
|
+
}
|
|
419
|
+
if (L = [...L, {
|
|
420
|
+
placement: o,
|
|
421
|
+
overflows: P
|
|
422
|
+
}], !P.every((O) => O <= 0)) {
|
|
423
|
+
var S, C;
|
|
424
|
+
const O = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, j = x[O];
|
|
425
|
+
if (j)
|
|
426
|
+
return {
|
|
427
|
+
data: {
|
|
428
|
+
index: O,
|
|
429
|
+
overflows: L
|
|
430
|
+
},
|
|
431
|
+
reset: {
|
|
432
|
+
placement: j
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
let k = (C = L.filter((M) => M.overflows[0] <= 0).sort((M, B) => M.overflows[1] - B.overflows[1])[0]) == null ? void 0 : C.placement;
|
|
436
|
+
if (!k)
|
|
437
|
+
switch (f) {
|
|
438
|
+
case "bestFit": {
|
|
439
|
+
var T;
|
|
440
|
+
const M = (T = L.map((B) => [B.placement, B.overflows.filter((F) => F > 0).reduce((F, gt) => F + gt, 0)]).sort((B, F) => B[1] - F[1])[0]) == null ? void 0 : T[0];
|
|
441
|
+
M && (k = M);
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
case "initialPlacement":
|
|
445
|
+
k = l;
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
if (o !== k)
|
|
449
|
+
return {
|
|
450
|
+
reset: {
|
|
451
|
+
placement: k
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
return {};
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
function Re(t, e) {
|
|
460
|
+
return {
|
|
461
|
+
top: t.top - e.height,
|
|
462
|
+
right: t.right - e.width,
|
|
463
|
+
bottom: t.bottom - e.height,
|
|
464
|
+
left: t.left - e.width
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
function De(t) {
|
|
468
|
+
return tt.some((e) => t[e] >= 0);
|
|
469
|
+
}
|
|
470
|
+
const Kt = function(t) {
|
|
471
|
+
return t === void 0 && (t = {}), {
|
|
472
|
+
name: "hide",
|
|
473
|
+
options: t,
|
|
474
|
+
async fn(e) {
|
|
475
|
+
const {
|
|
476
|
+
rects: n
|
|
477
|
+
} = e, {
|
|
478
|
+
strategy: i = "referenceHidden",
|
|
479
|
+
...o
|
|
480
|
+
} = K(t, e);
|
|
481
|
+
switch (i) {
|
|
482
|
+
case "referenceHidden": {
|
|
483
|
+
const s = await Z(e, {
|
|
484
|
+
...o,
|
|
485
|
+
elementContext: "reference"
|
|
486
|
+
}), r = Re(s, n.reference);
|
|
487
|
+
return {
|
|
488
|
+
data: {
|
|
489
|
+
referenceHiddenOffsets: r,
|
|
490
|
+
referenceHidden: De(r)
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
case "escaped": {
|
|
495
|
+
const s = await Z(e, {
|
|
496
|
+
...o,
|
|
497
|
+
altBoundary: !0
|
|
498
|
+
}), r = Re(s, n.floating);
|
|
499
|
+
return {
|
|
500
|
+
data: {
|
|
501
|
+
escapedOffsets: r,
|
|
502
|
+
escaped: De(r)
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
default:
|
|
507
|
+
return {};
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
async function Yt(t, e) {
|
|
513
|
+
const {
|
|
514
|
+
placement: n,
|
|
515
|
+
platform: i,
|
|
516
|
+
elements: o
|
|
517
|
+
} = t, s = await (i.isRTL == null ? void 0 : i.isRTL(o.floating)), r = z(n), l = H(n), a = le(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, u = s && a ? -1 : 1, d = K(e, t);
|
|
518
|
+
let {
|
|
519
|
+
mainAxis: g,
|
|
520
|
+
crossAxis: f,
|
|
521
|
+
alignmentAxis: h
|
|
522
|
+
} = typeof d == "number" ? {
|
|
523
|
+
mainAxis: d,
|
|
524
|
+
crossAxis: 0,
|
|
525
|
+
alignmentAxis: null
|
|
526
|
+
} : {
|
|
527
|
+
mainAxis: 0,
|
|
528
|
+
crossAxis: 0,
|
|
529
|
+
alignmentAxis: null,
|
|
530
|
+
...d
|
|
531
|
+
};
|
|
532
|
+
return l && typeof h == "number" && (f = l === "end" ? h * -1 : h), a ? {
|
|
533
|
+
x: f * u,
|
|
534
|
+
y: g * c
|
|
535
|
+
} : {
|
|
536
|
+
x: g * c,
|
|
537
|
+
y: f * u
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
const qt = function(t) {
|
|
541
|
+
return t === void 0 && (t = 0), {
|
|
542
|
+
name: "offset",
|
|
543
|
+
options: t,
|
|
544
|
+
async fn(e) {
|
|
545
|
+
var n, i;
|
|
546
|
+
const {
|
|
547
|
+
x: o,
|
|
548
|
+
y: s,
|
|
549
|
+
placement: r,
|
|
550
|
+
middlewareData: l
|
|
551
|
+
} = e, a = await Yt(e, t);
|
|
552
|
+
return r === ((n = l.offset) == null ? void 0 : n.placement) && (i = l.arrow) != null && i.alignmentOffset ? {} : {
|
|
553
|
+
x: o + a.x,
|
|
554
|
+
y: s + a.y,
|
|
555
|
+
data: {
|
|
556
|
+
...a,
|
|
557
|
+
placement: r
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
};
|
|
562
|
+
}, Gt = function(t) {
|
|
563
|
+
return t === void 0 && (t = {}), {
|
|
564
|
+
name: "shift",
|
|
565
|
+
options: t,
|
|
566
|
+
async fn(e) {
|
|
567
|
+
const {
|
|
568
|
+
x: n,
|
|
569
|
+
y: i,
|
|
570
|
+
placement: o
|
|
571
|
+
} = e, {
|
|
572
|
+
mainAxis: s = !0,
|
|
573
|
+
crossAxis: r = !1,
|
|
574
|
+
limiter: l = {
|
|
575
|
+
fn: (v) => {
|
|
576
|
+
let {
|
|
577
|
+
x: p,
|
|
578
|
+
y: w
|
|
579
|
+
} = v;
|
|
580
|
+
return {
|
|
581
|
+
x: p,
|
|
582
|
+
y: w
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
...a
|
|
587
|
+
} = K(t, e), c = {
|
|
588
|
+
x: n,
|
|
589
|
+
y: i
|
|
590
|
+
}, u = await Z(e, a), d = le(z(o)), g = nt(d);
|
|
591
|
+
let f = c[g], h = c[d];
|
|
592
|
+
if (s) {
|
|
593
|
+
const v = g === "y" ? "top" : "left", p = g === "y" ? "bottom" : "right", w = f + u[v], b = f - u[p];
|
|
594
|
+
f = me(w, f, b);
|
|
595
|
+
}
|
|
596
|
+
if (r) {
|
|
597
|
+
const v = d === "y" ? "top" : "left", p = d === "y" ? "bottom" : "right", w = h + u[v], b = h - u[p];
|
|
598
|
+
h = me(w, h, b);
|
|
599
|
+
}
|
|
600
|
+
const m = l.fn({
|
|
601
|
+
...e,
|
|
602
|
+
[g]: f,
|
|
603
|
+
[d]: h
|
|
604
|
+
});
|
|
605
|
+
return {
|
|
606
|
+
...m,
|
|
607
|
+
data: {
|
|
608
|
+
x: m.x - n,
|
|
609
|
+
y: m.y - i
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
function U(t) {
|
|
616
|
+
return st(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
617
|
+
}
|
|
618
|
+
function R(t) {
|
|
619
|
+
var e;
|
|
620
|
+
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
621
|
+
}
|
|
622
|
+
function W(t) {
|
|
623
|
+
var e;
|
|
624
|
+
return (e = (st(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
625
|
+
}
|
|
626
|
+
function st(t) {
|
|
627
|
+
return t instanceof Node || t instanceof R(t).Node;
|
|
628
|
+
}
|
|
629
|
+
function _(t) {
|
|
630
|
+
return t instanceof Element || t instanceof R(t).Element;
|
|
631
|
+
}
|
|
632
|
+
function I(t) {
|
|
633
|
+
return t instanceof HTMLElement || t instanceof R(t).HTMLElement;
|
|
634
|
+
}
|
|
635
|
+
function Le(t) {
|
|
636
|
+
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof R(t).ShadowRoot;
|
|
637
|
+
}
|
|
638
|
+
function ee(t) {
|
|
639
|
+
const {
|
|
640
|
+
overflow: e,
|
|
641
|
+
overflowX: n,
|
|
642
|
+
overflowY: i,
|
|
643
|
+
display: o
|
|
644
|
+
} = D(t);
|
|
645
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !["inline", "contents"].includes(o);
|
|
646
|
+
}
|
|
647
|
+
function Qt(t) {
|
|
648
|
+
return ["table", "td", "th"].includes(U(t));
|
|
649
|
+
}
|
|
650
|
+
function be(t) {
|
|
651
|
+
const e = xe(), n = D(t);
|
|
652
|
+
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (n.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (n.contain || "").includes(i));
|
|
653
|
+
}
|
|
654
|
+
function Zt(t) {
|
|
655
|
+
let e = G(t);
|
|
656
|
+
for (; I(e) && !ae(e); ) {
|
|
657
|
+
if (be(e))
|
|
658
|
+
return e;
|
|
659
|
+
e = G(e);
|
|
660
|
+
}
|
|
661
|
+
return null;
|
|
662
|
+
}
|
|
663
|
+
function xe() {
|
|
664
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
665
|
+
}
|
|
666
|
+
function ae(t) {
|
|
667
|
+
return ["html", "body", "#document"].includes(U(t));
|
|
668
|
+
}
|
|
669
|
+
function D(t) {
|
|
670
|
+
return R(t).getComputedStyle(t);
|
|
671
|
+
}
|
|
672
|
+
function ce(t) {
|
|
673
|
+
return _(t) ? {
|
|
674
|
+
scrollLeft: t.scrollLeft,
|
|
675
|
+
scrollTop: t.scrollTop
|
|
676
|
+
} : {
|
|
677
|
+
scrollLeft: t.pageXOffset,
|
|
678
|
+
scrollTop: t.pageYOffset
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
function G(t) {
|
|
682
|
+
if (U(t) === "html")
|
|
683
|
+
return t;
|
|
684
|
+
const e = (
|
|
685
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
686
|
+
t.assignedSlot || // DOM Element detected.
|
|
687
|
+
t.parentNode || // ShadowRoot detected.
|
|
688
|
+
Le(t) && t.host || // Fallback.
|
|
689
|
+
W(t)
|
|
690
|
+
);
|
|
691
|
+
return Le(e) ? e.host : e;
|
|
692
|
+
}
|
|
693
|
+
function rt(t) {
|
|
694
|
+
const e = G(t);
|
|
695
|
+
return ae(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : I(e) && ee(e) ? e : rt(e);
|
|
696
|
+
}
|
|
697
|
+
function J(t, e, n) {
|
|
698
|
+
var i;
|
|
699
|
+
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
700
|
+
const o = rt(t), s = o === ((i = t.ownerDocument) == null ? void 0 : i.body), r = R(o);
|
|
701
|
+
return s ? e.concat(r, r.visualViewport || [], ee(o) ? o : [], r.frameElement && n ? J(r.frameElement) : []) : e.concat(o, J(o, [], n));
|
|
702
|
+
}
|
|
703
|
+
function lt(t) {
|
|
704
|
+
const e = D(t);
|
|
705
|
+
let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
706
|
+
const o = I(t), s = o ? t.offsetWidth : n, r = o ? t.offsetHeight : i, l = ne(n) !== s || ne(i) !== r;
|
|
707
|
+
return l && (n = s, i = r), {
|
|
708
|
+
width: n,
|
|
709
|
+
height: i,
|
|
710
|
+
$: l
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
function ye(t) {
|
|
714
|
+
return _(t) ? t : t.contextElement;
|
|
715
|
+
}
|
|
716
|
+
function Y(t) {
|
|
717
|
+
const e = ye(t);
|
|
718
|
+
if (!I(e))
|
|
719
|
+
return N(1);
|
|
720
|
+
const n = e.getBoundingClientRect(), {
|
|
721
|
+
width: i,
|
|
722
|
+
height: o,
|
|
723
|
+
$: s
|
|
724
|
+
} = lt(e);
|
|
725
|
+
let r = (s ? ne(n.width) : n.width) / i, l = (s ? ne(n.height) : n.height) / o;
|
|
726
|
+
return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
727
|
+
x: r,
|
|
728
|
+
y: l
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
const Jt = /* @__PURE__ */ N(0);
|
|
732
|
+
function at(t) {
|
|
733
|
+
const e = R(t);
|
|
734
|
+
return !xe() || !e.visualViewport ? Jt : {
|
|
735
|
+
x: e.visualViewport.offsetLeft,
|
|
736
|
+
y: e.visualViewport.offsetTop
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
function en(t, e, n) {
|
|
740
|
+
return e === void 0 && (e = !1), !n || e && n !== R(t) ? !1 : e;
|
|
741
|
+
}
|
|
742
|
+
function X(t, e, n, i) {
|
|
743
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
744
|
+
const o = t.getBoundingClientRect(), s = ye(t);
|
|
745
|
+
let r = N(1);
|
|
746
|
+
e && (i ? _(i) && (r = Y(i)) : r = Y(t));
|
|
747
|
+
const l = en(s, n, i) ? at(s) : N(0);
|
|
748
|
+
let a = (o.left + l.x) / r.x, c = (o.top + l.y) / r.y, u = o.width / r.x, d = o.height / r.y;
|
|
749
|
+
if (s) {
|
|
750
|
+
const g = R(s), f = i && _(i) ? R(i) : i;
|
|
751
|
+
let h = g, m = h.frameElement;
|
|
752
|
+
for (; m && i && f !== h; ) {
|
|
753
|
+
const v = Y(m), p = m.getBoundingClientRect(), w = D(m), b = p.left + (m.clientLeft + parseFloat(w.paddingLeft)) * v.x, E = p.top + (m.clientTop + parseFloat(w.paddingTop)) * v.y;
|
|
754
|
+
a *= v.x, c *= v.y, u *= v.x, d *= v.y, a += b, c += E, h = R(m), m = h.frameElement;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
return se({
|
|
758
|
+
width: u,
|
|
759
|
+
height: d,
|
|
760
|
+
x: a,
|
|
761
|
+
y: c
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
const tn = [":popover-open", ":modal"];
|
|
765
|
+
function ct(t) {
|
|
766
|
+
return tn.some((e) => {
|
|
767
|
+
try {
|
|
768
|
+
return t.matches(e);
|
|
769
|
+
} catch {
|
|
770
|
+
return !1;
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
function nn(t) {
|
|
775
|
+
let {
|
|
776
|
+
elements: e,
|
|
777
|
+
rect: n,
|
|
778
|
+
offsetParent: i,
|
|
779
|
+
strategy: o
|
|
780
|
+
} = t;
|
|
781
|
+
const s = o === "fixed", r = W(i), l = e ? ct(e.floating) : !1;
|
|
782
|
+
if (i === r || l && s)
|
|
783
|
+
return n;
|
|
784
|
+
let a = {
|
|
785
|
+
scrollLeft: 0,
|
|
786
|
+
scrollTop: 0
|
|
787
|
+
}, c = N(1);
|
|
788
|
+
const u = N(0), d = I(i);
|
|
789
|
+
if ((d || !d && !s) && ((U(i) !== "body" || ee(r)) && (a = ce(i)), I(i))) {
|
|
790
|
+
const g = X(i);
|
|
791
|
+
c = Y(i), u.x = g.x + i.clientLeft, u.y = g.y + i.clientTop;
|
|
792
|
+
}
|
|
793
|
+
return {
|
|
794
|
+
width: n.width * c.x,
|
|
795
|
+
height: n.height * c.y,
|
|
796
|
+
x: n.x * c.x - a.scrollLeft * c.x + u.x,
|
|
797
|
+
y: n.y * c.y - a.scrollTop * c.y + u.y
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
function on(t) {
|
|
801
|
+
return Array.from(t.getClientRects());
|
|
802
|
+
}
|
|
803
|
+
function ft(t) {
|
|
804
|
+
return X(W(t)).left + ce(t).scrollLeft;
|
|
805
|
+
}
|
|
806
|
+
function sn(t) {
|
|
807
|
+
const e = W(t), n = ce(t), i = t.ownerDocument.body, o = V(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = V(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
808
|
+
let r = -n.scrollLeft + ft(t);
|
|
809
|
+
const l = -n.scrollTop;
|
|
810
|
+
return D(i).direction === "rtl" && (r += V(e.clientWidth, i.clientWidth) - o), {
|
|
811
|
+
width: o,
|
|
812
|
+
height: s,
|
|
813
|
+
x: r,
|
|
814
|
+
y: l
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
function rn(t, e) {
|
|
818
|
+
const n = R(t), i = W(t), o = n.visualViewport;
|
|
819
|
+
let s = i.clientWidth, r = i.clientHeight, l = 0, a = 0;
|
|
820
|
+
if (o) {
|
|
821
|
+
s = o.width, r = o.height;
|
|
822
|
+
const c = xe();
|
|
823
|
+
(!c || c && e === "fixed") && (l = o.offsetLeft, a = o.offsetTop);
|
|
824
|
+
}
|
|
825
|
+
return {
|
|
826
|
+
width: s,
|
|
827
|
+
height: r,
|
|
828
|
+
x: l,
|
|
829
|
+
y: a
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
function ln(t, e) {
|
|
833
|
+
const n = X(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, s = I(t) ? Y(t) : N(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, a = o * s.x, c = i * s.y;
|
|
834
|
+
return {
|
|
835
|
+
width: r,
|
|
836
|
+
height: l,
|
|
837
|
+
x: a,
|
|
838
|
+
y: c
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
function Te(t, e, n) {
|
|
842
|
+
let i;
|
|
843
|
+
if (e === "viewport")
|
|
844
|
+
i = rn(t, n);
|
|
845
|
+
else if (e === "document")
|
|
846
|
+
i = sn(W(t));
|
|
847
|
+
else if (_(e))
|
|
848
|
+
i = ln(e, n);
|
|
849
|
+
else {
|
|
850
|
+
const o = at(t);
|
|
851
|
+
i = {
|
|
852
|
+
...e,
|
|
853
|
+
x: e.x - o.x,
|
|
854
|
+
y: e.y - o.y
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
return se(i);
|
|
858
|
+
}
|
|
859
|
+
function dt(t, e) {
|
|
860
|
+
const n = G(t);
|
|
861
|
+
return n === e || !_(n) || ae(n) ? !1 : D(n).position === "fixed" || dt(n, e);
|
|
862
|
+
}
|
|
863
|
+
function an(t, e) {
|
|
864
|
+
const n = e.get(t);
|
|
865
|
+
if (n)
|
|
866
|
+
return n;
|
|
867
|
+
let i = J(t, [], !1).filter((l) => _(l) && U(l) !== "body"), o = null;
|
|
868
|
+
const s = D(t).position === "fixed";
|
|
869
|
+
let r = s ? G(t) : t;
|
|
870
|
+
for (; _(r) && !ae(r); ) {
|
|
871
|
+
const l = D(r), a = be(r);
|
|
872
|
+
!a && l.position === "fixed" && (o = null), (s ? !a && !o : !a && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || ee(r) && !a && dt(t, r)) ? i = i.filter((u) => u !== r) : o = l, r = G(r);
|
|
873
|
+
}
|
|
874
|
+
return e.set(t, i), i;
|
|
875
|
+
}
|
|
876
|
+
function cn(t) {
|
|
877
|
+
let {
|
|
878
|
+
element: e,
|
|
879
|
+
boundary: n,
|
|
880
|
+
rootBoundary: i,
|
|
881
|
+
strategy: o
|
|
882
|
+
} = t;
|
|
883
|
+
const r = [...n === "clippingAncestors" ? an(e, this._c) : [].concat(n), i], l = r[0], a = r.reduce((c, u) => {
|
|
884
|
+
const d = Te(e, u, o);
|
|
885
|
+
return c.top = V(d.top, c.top), c.right = q(d.right, c.right), c.bottom = q(d.bottom, c.bottom), c.left = V(d.left, c.left), c;
|
|
886
|
+
}, Te(e, l, o));
|
|
887
|
+
return {
|
|
888
|
+
width: a.right - a.left,
|
|
889
|
+
height: a.bottom - a.top,
|
|
890
|
+
x: a.left,
|
|
891
|
+
y: a.top
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
function fn(t) {
|
|
895
|
+
const {
|
|
896
|
+
width: e,
|
|
897
|
+
height: n
|
|
898
|
+
} = lt(t);
|
|
899
|
+
return {
|
|
900
|
+
width: e,
|
|
901
|
+
height: n
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
function dn(t, e, n) {
|
|
905
|
+
const i = I(e), o = W(e), s = n === "fixed", r = X(t, !0, s, e);
|
|
906
|
+
let l = {
|
|
907
|
+
scrollLeft: 0,
|
|
908
|
+
scrollTop: 0
|
|
909
|
+
};
|
|
910
|
+
const a = N(0);
|
|
911
|
+
if (i || !i && !s)
|
|
912
|
+
if ((U(e) !== "body" || ee(o)) && (l = ce(e)), i) {
|
|
913
|
+
const d = X(e, !0, s, e);
|
|
914
|
+
a.x = d.x + e.clientLeft, a.y = d.y + e.clientTop;
|
|
915
|
+
} else
|
|
916
|
+
o && (a.x = ft(o));
|
|
917
|
+
const c = r.left + l.scrollLeft - a.x, u = r.top + l.scrollTop - a.y;
|
|
918
|
+
return {
|
|
919
|
+
x: c,
|
|
920
|
+
y: u,
|
|
921
|
+
width: r.width,
|
|
922
|
+
height: r.height
|
|
923
|
+
};
|
|
924
|
+
}
|
|
925
|
+
function Se(t, e) {
|
|
926
|
+
return !I(t) || D(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
927
|
+
}
|
|
928
|
+
function ut(t, e) {
|
|
929
|
+
const n = R(t);
|
|
930
|
+
if (!I(t) || ct(t))
|
|
931
|
+
return n;
|
|
932
|
+
let i = Se(t, e);
|
|
933
|
+
for (; i && Qt(i) && D(i).position === "static"; )
|
|
934
|
+
i = Se(i, e);
|
|
935
|
+
return i && (U(i) === "html" || U(i) === "body" && D(i).position === "static" && !be(i)) ? n : i || Zt(t) || n;
|
|
936
|
+
}
|
|
937
|
+
const un = async function(t) {
|
|
938
|
+
const e = this.getOffsetParent || ut, n = this.getDimensions;
|
|
939
|
+
return {
|
|
940
|
+
reference: dn(t.reference, await e(t.floating), t.strategy),
|
|
941
|
+
floating: {
|
|
942
|
+
x: 0,
|
|
943
|
+
y: 0,
|
|
944
|
+
...await n(t.floating)
|
|
945
|
+
}
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
function hn(t) {
|
|
949
|
+
return D(t).direction === "rtl";
|
|
950
|
+
}
|
|
951
|
+
const pe = {
|
|
952
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: nn,
|
|
953
|
+
getDocumentElement: W,
|
|
954
|
+
getClippingRect: cn,
|
|
955
|
+
getOffsetParent: ut,
|
|
956
|
+
getElementRects: un,
|
|
957
|
+
getClientRects: on,
|
|
958
|
+
getDimensions: fn,
|
|
959
|
+
getScale: Y,
|
|
960
|
+
isElement: _,
|
|
961
|
+
isRTL: hn
|
|
962
|
+
};
|
|
963
|
+
function mn(t, e) {
|
|
964
|
+
let n = null, i;
|
|
965
|
+
const o = W(t);
|
|
966
|
+
function s() {
|
|
967
|
+
var l;
|
|
968
|
+
clearTimeout(i), (l = n) == null || l.disconnect(), n = null;
|
|
969
|
+
}
|
|
970
|
+
function r(l, a) {
|
|
971
|
+
l === void 0 && (l = !1), a === void 0 && (a = 1), s();
|
|
972
|
+
const {
|
|
973
|
+
left: c,
|
|
974
|
+
top: u,
|
|
975
|
+
width: d,
|
|
976
|
+
height: g
|
|
977
|
+
} = t.getBoundingClientRect();
|
|
978
|
+
if (l || e(), !d || !g)
|
|
979
|
+
return;
|
|
980
|
+
const f = te(u), h = te(o.clientWidth - (c + d)), m = te(o.clientHeight - (u + g)), v = te(c), w = {
|
|
981
|
+
rootMargin: -f + "px " + -h + "px " + -m + "px " + -v + "px",
|
|
982
|
+
threshold: V(0, q(1, a)) || 1
|
|
983
|
+
};
|
|
984
|
+
let b = !0;
|
|
985
|
+
function E(x) {
|
|
986
|
+
const A = x[0].intersectionRatio;
|
|
987
|
+
if (A !== a) {
|
|
988
|
+
if (!b)
|
|
989
|
+
return r();
|
|
990
|
+
A ? r(!1, A) : i = setTimeout(() => {
|
|
991
|
+
r(!1, 1e-7);
|
|
992
|
+
}, 100);
|
|
993
|
+
}
|
|
994
|
+
b = !1;
|
|
995
|
+
}
|
|
996
|
+
try {
|
|
997
|
+
n = new IntersectionObserver(E, {
|
|
998
|
+
...w,
|
|
999
|
+
// Handle <iframe>s
|
|
1000
|
+
root: o.ownerDocument
|
|
1001
|
+
});
|
|
1002
|
+
} catch {
|
|
1003
|
+
n = new IntersectionObserver(E, w);
|
|
1004
|
+
}
|
|
1005
|
+
n.observe(t);
|
|
1006
|
+
}
|
|
1007
|
+
return r(!0), s;
|
|
1008
|
+
}
|
|
1009
|
+
function pn(t, e, n, i) {
|
|
1010
|
+
i === void 0 && (i = {});
|
|
1011
|
+
const {
|
|
1012
|
+
ancestorScroll: o = !0,
|
|
1013
|
+
ancestorResize: s = !0,
|
|
1014
|
+
elementResize: r = typeof ResizeObserver == "function",
|
|
1015
|
+
layoutShift: l = typeof IntersectionObserver == "function",
|
|
1016
|
+
animationFrame: a = !1
|
|
1017
|
+
} = i, c = ye(t), u = o || s ? [...c ? J(c) : [], ...J(e)] : [];
|
|
1018
|
+
u.forEach((p) => {
|
|
1019
|
+
o && p.addEventListener("scroll", n, {
|
|
1020
|
+
passive: !0
|
|
1021
|
+
}), s && p.addEventListener("resize", n);
|
|
1022
|
+
});
|
|
1023
|
+
const d = c && l ? mn(c, n) : null;
|
|
1024
|
+
let g = -1, f = null;
|
|
1025
|
+
r && (f = new ResizeObserver((p) => {
|
|
1026
|
+
let [w] = p;
|
|
1027
|
+
w && w.target === c && f && (f.unobserve(e), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
1028
|
+
var b;
|
|
1029
|
+
(b = f) == null || b.observe(e);
|
|
1030
|
+
})), n();
|
|
1031
|
+
}), c && !a && f.observe(c), f.observe(e));
|
|
1032
|
+
let h, m = a ? X(t) : null;
|
|
1033
|
+
a && v();
|
|
1034
|
+
function v() {
|
|
1035
|
+
const p = X(t);
|
|
1036
|
+
m && (p.x !== m.x || p.y !== m.y || p.width !== m.width || p.height !== m.height) && n(), m = p, h = requestAnimationFrame(v);
|
|
1037
|
+
}
|
|
1038
|
+
return n(), () => {
|
|
1039
|
+
var p;
|
|
1040
|
+
u.forEach((w) => {
|
|
1041
|
+
o && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
|
|
1042
|
+
}), d == null || d(), (p = f) == null || p.disconnect(), f = null, a && cancelAnimationFrame(h);
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
const gn = Vt, vn = Gt, Me = Xt, wn = Kt, bn = Ut, xn = (t, e, n) => {
|
|
1046
|
+
const i = /* @__PURE__ */ new Map(), o = {
|
|
1047
|
+
platform: pe,
|
|
1048
|
+
...n
|
|
1049
|
+
}, s = {
|
|
1050
|
+
...o.platform,
|
|
1051
|
+
_c: i
|
|
1052
|
+
};
|
|
1053
|
+
return Nt(t, e, {
|
|
1054
|
+
...o,
|
|
1055
|
+
platform: s
|
|
1056
|
+
});
|
|
1057
|
+
};
|
|
1058
|
+
function yn(t) {
|
|
1059
|
+
return En(t);
|
|
1060
|
+
}
|
|
1061
|
+
function de(t) {
|
|
1062
|
+
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1063
|
+
}
|
|
1064
|
+
function En(t) {
|
|
1065
|
+
for (let e = t; e; e = de(e))
|
|
1066
|
+
if (e instanceof Element && getComputedStyle(e).display === "none")
|
|
1067
|
+
return null;
|
|
1068
|
+
for (let e = de(t); e; e = de(e)) {
|
|
1069
|
+
if (!(e instanceof Element))
|
|
1070
|
+
continue;
|
|
1071
|
+
const n = getComputedStyle(e);
|
|
1072
|
+
if (n.display !== "contents" && (n.position !== "static" || n.filter !== "none" || e.tagName === "BODY"))
|
|
1073
|
+
return e;
|
|
1074
|
+
}
|
|
1075
|
+
return null;
|
|
1076
|
+
}
|
|
1077
|
+
(function() {
|
|
1078
|
+
{
|
|
1079
|
+
const e = pe.getOffsetParent;
|
|
1080
|
+
pe.getOffsetParent = (n) => e(n, yn);
|
|
1081
|
+
}
|
|
1082
|
+
})();
|
|
1083
|
+
function Be(t) {
|
|
1084
|
+
const e = window.devicePixelRatio || 1;
|
|
1085
|
+
return Math.round(t * e) / e;
|
|
1086
|
+
}
|
|
1087
|
+
const ht = (
|
|
1088
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1089
|
+
async (t, { referenceEl: e, floatingEl: n, overlayPositioning: i = "absolute", placement: o, flipDisabled: s, flipPlacements: r, offsetDistance: l, offsetSkidding: a, arrowEl: c, type: u }) => {
|
|
1090
|
+
var E;
|
|
1091
|
+
if (!e || !n)
|
|
1092
|
+
return null;
|
|
1093
|
+
const { x: d, y: g, placement: f, strategy: h, middlewareData: m } = await xn(e, n, {
|
|
1094
|
+
strategy: i,
|
|
1095
|
+
placement: o === "auto" || o === "auto-start" || o === "auto-end" ? void 0 : On(n, o),
|
|
1096
|
+
middleware: Cn({
|
|
1097
|
+
placement: o,
|
|
1098
|
+
flipDisabled: s,
|
|
1099
|
+
flipPlacements: r,
|
|
1100
|
+
offsetDistance: l,
|
|
1101
|
+
offsetSkidding: a,
|
|
1102
|
+
arrowEl: c,
|
|
1103
|
+
type: u
|
|
1104
|
+
})
|
|
1105
|
+
});
|
|
1106
|
+
if (c && m.arrow) {
|
|
1107
|
+
const { x, y: A } = m.arrow, P = f.split("-")[0], L = x != null ? "left" : "top", S = Dn[P], C = { left: "", top: "", bottom: "", right: "" };
|
|
1108
|
+
"floatingLayout" in t && (t.floatingLayout = P === "left" || P === "right" ? "horizontal" : "vertical"), Object.assign(c.style, {
|
|
1109
|
+
...C,
|
|
1110
|
+
[L]: `${L == "left" ? x : A}px`,
|
|
1111
|
+
[P]: "100%",
|
|
1112
|
+
transform: S
|
|
1113
|
+
});
|
|
1114
|
+
}
|
|
1115
|
+
const p = ((E = m.hide) == null ? void 0 : E.referenceHidden) ? "hidden" : null, w = p ? "none" : null;
|
|
1116
|
+
n.setAttribute(Pn, f);
|
|
1117
|
+
const { open: b } = t;
|
|
1118
|
+
Object.assign(n.style, {
|
|
1119
|
+
visibility: p,
|
|
1120
|
+
pointerEvents: w,
|
|
1121
|
+
position: h,
|
|
1122
|
+
transform: b ? `translate(${Be(d)}px,${Be(g)}px)` : "",
|
|
1123
|
+
top: 0,
|
|
1124
|
+
left: 0
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
), Pn = "data-placement", He = 100, Ie = [
|
|
1128
|
+
"top",
|
|
1129
|
+
"bottom",
|
|
1130
|
+
"right",
|
|
1131
|
+
"left",
|
|
1132
|
+
"top-start",
|
|
1133
|
+
"top-end",
|
|
1134
|
+
"bottom-start",
|
|
1135
|
+
"bottom-end",
|
|
1136
|
+
"right-start",
|
|
1137
|
+
"right-end",
|
|
1138
|
+
"left-start",
|
|
1139
|
+
"left-end"
|
|
1140
|
+
], Fe = {
|
|
1141
|
+
animation: "calcite-floating-ui-anim",
|
|
1142
|
+
animationActive: "calcite-floating-ui-anim--active"
|
|
1143
|
+
};
|
|
1144
|
+
function Cn({ placement: t, flipDisabled: e, flipPlacements: n, offsetDistance: i, offsetSkidding: o, arrowEl: s, type: r }) {
|
|
1145
|
+
const l = [vn(), wn()];
|
|
1146
|
+
if (r === "menu")
|
|
1147
|
+
return [
|
|
1148
|
+
...l,
|
|
1149
|
+
Me({
|
|
1150
|
+
fallbackPlacements: n || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
|
|
1151
|
+
})
|
|
1152
|
+
];
|
|
1153
|
+
if (r === "popover" || r === "tooltip") {
|
|
1154
|
+
const a = [
|
|
1155
|
+
...l,
|
|
1156
|
+
qt({
|
|
1157
|
+
mainAxis: typeof i == "number" ? i : 0,
|
|
1158
|
+
crossAxis: typeof o == "number" ? o : 0
|
|
1159
|
+
})
|
|
1160
|
+
];
|
|
1161
|
+
return t === "auto" || t === "auto-start" || t === "auto-end" ? a.push(gn({ alignment: t === "auto-start" ? "start" : t === "auto-end" ? "end" : null })) : e || a.push(Me(n ? { fallbackPlacements: n } : {})), s && a.push(bn({
|
|
1162
|
+
element: s
|
|
1163
|
+
})), a;
|
|
1164
|
+
}
|
|
1165
|
+
return [];
|
|
1166
|
+
}
|
|
1167
|
+
function An(t, e) {
|
|
1168
|
+
const n = t.filter((i) => Ie.includes(i));
|
|
1169
|
+
return n.length !== t.length && console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Ie.map((i) => `"${i}"`).join(", ").trim()}`, { el: e }), n;
|
|
1170
|
+
}
|
|
1171
|
+
function On(t, e) {
|
|
1172
|
+
const n = ["left", "right"];
|
|
1173
|
+
return xt(t) === "rtl" && n.reverse(), e.replace(/leading/gi, n[0]).replace(/trailing/gi, n[1]);
|
|
1174
|
+
}
|
|
1175
|
+
async function kn(t, e, n = !1) {
|
|
1176
|
+
return t.open ? (n ? Rn(t) : ht)(t, e) : void 0;
|
|
1177
|
+
}
|
|
1178
|
+
function Rn(t) {
|
|
1179
|
+
let e = re.get(t);
|
|
1180
|
+
return e || (e = Tt(ht, He, {
|
|
1181
|
+
leading: !0,
|
|
1182
|
+
maxWait: He
|
|
1183
|
+
}), re.set(t, e), e);
|
|
1184
|
+
}
|
|
1185
|
+
const Dn = {
|
|
1186
|
+
top: "",
|
|
1187
|
+
left: "rotate(-90deg)",
|
|
1188
|
+
bottom: "rotate(180deg)",
|
|
1189
|
+
right: "rotate(90deg)"
|
|
1190
|
+
}, ge = /* @__PURE__ */ new WeakMap(), re = /* @__PURE__ */ new WeakMap();
|
|
1191
|
+
function ue(t, e, n) {
|
|
1192
|
+
if (!n || !e)
|
|
1193
|
+
return;
|
|
1194
|
+
mt(t, e, n), Object.assign(n.style, {
|
|
1195
|
+
visibility: "hidden",
|
|
1196
|
+
pointerEvents: "none",
|
|
1197
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1198
|
+
position: t.overlayPositioning
|
|
1199
|
+
});
|
|
1200
|
+
const i = pn;
|
|
1201
|
+
ge.set(t, i(e, n, () => t.reposition()));
|
|
1202
|
+
}
|
|
1203
|
+
function mt(t, e, n) {
|
|
1204
|
+
var i, o;
|
|
1205
|
+
!n || !e || ((i = ge.get(t)) == null || i(), ge.delete(t), (o = re.get(t)) == null || o.cancel(), re.delete(t));
|
|
1206
|
+
}
|
|
1207
|
+
const $e = 4, Ln = Math.ceil(Math.hypot($e, $e));
|
|
1208
|
+
/*!
|
|
1209
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
1210
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
1211
|
+
* v2.7.1
|
|
1212
|
+
*/
|
|
1213
|
+
const Tn = (t, e) => {
|
|
1214
|
+
const n = t.level ? `h${t.level}` : "div";
|
|
1215
|
+
return delete t.level, y(n, { ...t }, e);
|
|
1216
|
+
};
|
|
1217
|
+
/*!
|
|
1218
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
1219
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
1220
|
+
* v2.7.1
|
|
1221
|
+
*/
|
|
1222
|
+
const ze = {
|
|
1223
|
+
arrow: "calcite-floating-ui-arrow",
|
|
1224
|
+
arrowStroke: "calcite-floating-ui-arrow__stroke"
|
|
1225
|
+
}, Sn = {
|
|
1226
|
+
width: 12,
|
|
1227
|
+
height: 6,
|
|
1228
|
+
strokeWidth: 1
|
|
1229
|
+
}, Mn = ({ floatingLayout: t, key: e, ref: n }) => {
|
|
1230
|
+
const { width: i, height: o, strokeWidth: s } = Sn, r = i / 2, l = t === "vertical", a = `M0,0 H${i} L${i - r},${o} Q${r},${o} ${r},${o} Z`;
|
|
1231
|
+
return y(
|
|
1232
|
+
"svg",
|
|
1233
|
+
{
|
|
1234
|
+
"aria-hidden": "true",
|
|
1235
|
+
class: ze.arrow,
|
|
1236
|
+
height: i,
|
|
1237
|
+
key: e,
|
|
1238
|
+
viewBox: `0 0 ${i} ${i + (l ? 0 : s)}`,
|
|
1239
|
+
width: i + (l ? s : 0),
|
|
1240
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1241
|
+
ref: n
|
|
1242
|
+
},
|
|
1243
|
+
s > 0 && y("path", { class: ze.arrowStroke, d: a, fill: "none", "stroke-width": s + 1 }),
|
|
1244
|
+
y("path", { d: a, stroke: "none" })
|
|
1245
|
+
);
|
|
1246
|
+
};
|
|
1247
|
+
/*!
|
|
1248
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
1249
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
1250
|
+
* v2.7.1
|
|
1251
|
+
*/
|
|
1252
|
+
const $ = {
|
|
1253
|
+
container: "container",
|
|
1254
|
+
imageContainer: "image-container",
|
|
1255
|
+
closeButtonContainer: "close-button-container",
|
|
1256
|
+
closeButton: "close-button",
|
|
1257
|
+
content: "content",
|
|
1258
|
+
hasHeader: "has-header",
|
|
1259
|
+
header: "header",
|
|
1260
|
+
headerContent: "header-content",
|
|
1261
|
+
heading: "heading"
|
|
1262
|
+
}, Bn = "auto", _e = "aria-controls", We = "aria-expanded";
|
|
1263
|
+
class Hn {
|
|
1264
|
+
constructor() {
|
|
1265
|
+
this.registeredElements = /* @__PURE__ */ new Map(), this.registeredElementCount = 0, this.queryPopover = (e) => {
|
|
1266
|
+
const { registeredElements: n } = this, i = e.find((o) => n.has(o));
|
|
1267
|
+
return n.get(i);
|
|
1268
|
+
}, this.togglePopovers = (e) => {
|
|
1269
|
+
const n = e.composedPath(), i = this.queryPopover(n);
|
|
1270
|
+
i && !i.triggerDisabled && (i.open = !i.open), Array.from(this.registeredElements.values()).filter((o) => o !== i && o.autoClose && o.open && !n.includes(o)).forEach((o) => o.open = !1);
|
|
1271
|
+
}, this.keyDownHandler = (e) => {
|
|
1272
|
+
e.defaultPrevented || (e.key === "Escape" ? this.closeAllPopovers() : Ye(e.key) && this.togglePopovers(e));
|
|
1273
|
+
}, this.clickHandler = (e) => {
|
|
1274
|
+
Pt(e) || this.togglePopovers(e);
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
// --------------------------------------------------------------------------
|
|
1278
|
+
//
|
|
1279
|
+
// Public Methods
|
|
1280
|
+
//
|
|
1281
|
+
// --------------------------------------------------------------------------
|
|
1282
|
+
registerElement(e, n) {
|
|
1283
|
+
this.registeredElementCount++, this.registeredElements.set(e, n), this.registeredElementCount === 1 && this.addListeners();
|
|
1284
|
+
}
|
|
1285
|
+
unregisterElement(e) {
|
|
1286
|
+
this.registeredElements.delete(e) && this.registeredElementCount--, this.registeredElementCount === 0 && this.removeListeners();
|
|
1287
|
+
}
|
|
1288
|
+
closeAllPopovers() {
|
|
1289
|
+
Array.from(this.registeredElements.values()).forEach((e) => e.open = !1);
|
|
1290
|
+
}
|
|
1291
|
+
addListeners() {
|
|
1292
|
+
window.addEventListener("click", this.clickHandler), window.addEventListener("keydown", this.keyDownHandler);
|
|
1293
|
+
}
|
|
1294
|
+
removeListeners() {
|
|
1295
|
+
window.removeEventListener("click", this.clickHandler), window.removeEventListener("keydown", this.keyDownHandler);
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
const In = ":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-color-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}", Ne = new Hn(), Fn = /* @__PURE__ */ Ve(class extends Xe {
|
|
1299
|
+
constructor() {
|
|
1300
|
+
super(), this.__registerHost(), this.__attachShadow(), this.calcitePopoverBeforeClose = Q(this, "calcitePopoverBeforeClose", 6), this.calcitePopoverClose = Q(this, "calcitePopoverClose", 6), this.calcitePopoverBeforeOpen = Q(this, "calcitePopoverBeforeOpen", 6), this.calcitePopoverOpen = Q(this, "calcitePopoverOpen", 6), this.mutationObserver = Bt("mutation", () => this.updateFocusTrapElements()), this.guid = `calcite-popover-${Ke()}`, this.openTransitionProp = "opacity", this.hasLoaded = !1, this.setTransitionEl = (e) => {
|
|
1301
|
+
this.transitionEl = e;
|
|
1302
|
+
}, this.setFilteredPlacements = () => {
|
|
1303
|
+
const { el: e, flipPlacements: n } = this;
|
|
1304
|
+
this.filteredFlipPlacements = n ? An(n, e) : null;
|
|
1305
|
+
}, this.setUpReferenceElement = (e = !0) => {
|
|
1306
|
+
this.removeReferences(), this.effectiveReferenceElement = this.getReferenceElement(), ue(this, this.effectiveReferenceElement, this.el);
|
|
1307
|
+
const { el: n, referenceElement: i, effectiveReferenceElement: o } = this;
|
|
1308
|
+
e && i && !o && console.warn(`${n.tagName}: reference-element id "${i}" was not found.`, {
|
|
1309
|
+
el: n
|
|
1310
|
+
}), this.addReferences();
|
|
1311
|
+
}, this.getId = () => this.el.id || this.guid, this.setExpandedAttr = () => {
|
|
1312
|
+
const { effectiveReferenceElement: e, open: n } = this;
|
|
1313
|
+
e && "setAttribute" in e && e.setAttribute(We, he(n));
|
|
1314
|
+
}, this.addReferences = () => {
|
|
1315
|
+
const { effectiveReferenceElement: e } = this;
|
|
1316
|
+
if (!e)
|
|
1317
|
+
return;
|
|
1318
|
+
const n = this.getId();
|
|
1319
|
+
"setAttribute" in e && e.setAttribute(_e, n), Ne.registerElement(e, this.el), this.setExpandedAttr();
|
|
1320
|
+
}, this.removeReferences = () => {
|
|
1321
|
+
const { effectiveReferenceElement: e } = this;
|
|
1322
|
+
e && ("removeAttribute" in e && (e.removeAttribute(_e), e.removeAttribute(We)), Ne.unregisterElement(e));
|
|
1323
|
+
}, this.hide = () => {
|
|
1324
|
+
this.open = !1;
|
|
1325
|
+
}, this.storeArrowEl = (e) => {
|
|
1326
|
+
this.arrowEl = e, this.reposition(!0);
|
|
1327
|
+
}, this.autoClose = !1, this.closable = !1, this.flipDisabled = !1, this.focusTrapDisabled = !1, this.pointerDisabled = !1, this.flipPlacements = void 0, this.heading = void 0, this.headingLevel = void 0, this.label = void 0, this.messageOverrides = void 0, this.messages = void 0, this.offsetDistance = Ln, this.offsetSkidding = 0, this.open = !1, this.overlayPositioning = "absolute", this.placement = Bn, this.referenceElement = void 0, this.scale = "m", this.triggerDisabled = !1, this.effectiveLocale = "", this.floatingLayout = "vertical", this.effectiveReferenceElement = void 0, this.defaultMessages = void 0;
|
|
1328
|
+
}
|
|
1329
|
+
handleFocusTrapDisabled(e) {
|
|
1330
|
+
this.open && (e ? fe(this) : Ee(this));
|
|
1331
|
+
}
|
|
1332
|
+
flipPlacementsHandler() {
|
|
1333
|
+
this.setFilteredPlacements(), this.reposition(!0);
|
|
1334
|
+
}
|
|
1335
|
+
onMessagesChange() {
|
|
1336
|
+
}
|
|
1337
|
+
offsetDistanceOffsetHandler() {
|
|
1338
|
+
this.reposition(!0);
|
|
1339
|
+
}
|
|
1340
|
+
offsetSkiddingHandler() {
|
|
1341
|
+
this.reposition(!0);
|
|
1342
|
+
}
|
|
1343
|
+
openHandler() {
|
|
1344
|
+
Pe(this), this.reposition(!0), this.setExpandedAttr();
|
|
1345
|
+
}
|
|
1346
|
+
overlayPositioningHandler() {
|
|
1347
|
+
this.reposition(!0);
|
|
1348
|
+
}
|
|
1349
|
+
placementHandler() {
|
|
1350
|
+
this.reposition(!0);
|
|
1351
|
+
}
|
|
1352
|
+
referenceElementHandler() {
|
|
1353
|
+
this.setUpReferenceElement(), this.reposition(!0);
|
|
1354
|
+
}
|
|
1355
|
+
effectiveLocaleChange() {
|
|
1356
|
+
At(this, this.effectiveLocale);
|
|
1357
|
+
}
|
|
1358
|
+
// --------------------------------------------------------------------------
|
|
1359
|
+
//
|
|
1360
|
+
// Lifecycle
|
|
1361
|
+
//
|
|
1362
|
+
// --------------------------------------------------------------------------
|
|
1363
|
+
connectedCallback() {
|
|
1364
|
+
this.setFilteredPlacements(), Ot(this), kt(this), this.setUpReferenceElement(this.hasLoaded), St(this), this.open && Pe(this), ue(this, this.effectiveReferenceElement, this.el);
|
|
1365
|
+
}
|
|
1366
|
+
async componentWillLoad() {
|
|
1367
|
+
await Rt(this), qe(this);
|
|
1368
|
+
}
|
|
1369
|
+
componentDidLoad() {
|
|
1370
|
+
Ge(this), this.referenceElement && !this.effectiveReferenceElement && this.setUpReferenceElement(), ue(this, this.effectiveReferenceElement, this.el), this.hasLoaded = !0;
|
|
1371
|
+
}
|
|
1372
|
+
disconnectedCallback() {
|
|
1373
|
+
this.removeReferences(), Dt(this), Lt(this), mt(this, this.effectiveReferenceElement, this.el), fe(this);
|
|
1374
|
+
}
|
|
1375
|
+
// --------------------------------------------------------------------------
|
|
1376
|
+
//
|
|
1377
|
+
// Public Methods
|
|
1378
|
+
//
|
|
1379
|
+
// --------------------------------------------------------------------------
|
|
1380
|
+
/**
|
|
1381
|
+
* Updates the position of the component.
|
|
1382
|
+
*
|
|
1383
|
+
* @param delayed
|
|
1384
|
+
*/
|
|
1385
|
+
async reposition(e = !1) {
|
|
1386
|
+
const { el: n, effectiveReferenceElement: i, placement: o, overlayPositioning: s, flipDisabled: r, filteredFlipPlacements: l, offsetDistance: a, offsetSkidding: c, arrowEl: u } = this;
|
|
1387
|
+
return kn(this, {
|
|
1388
|
+
floatingEl: n,
|
|
1389
|
+
referenceEl: i,
|
|
1390
|
+
overlayPositioning: s,
|
|
1391
|
+
placement: o,
|
|
1392
|
+
flipDisabled: r,
|
|
1393
|
+
flipPlacements: l,
|
|
1394
|
+
offsetDistance: a,
|
|
1395
|
+
offsetSkidding: c,
|
|
1396
|
+
arrowEl: u,
|
|
1397
|
+
type: "popover"
|
|
1398
|
+
}, e);
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* Sets focus on the component's first focusable element.
|
|
1402
|
+
*/
|
|
1403
|
+
async setFocus() {
|
|
1404
|
+
await Qe(this), vt(this.el), yt(this.el);
|
|
1405
|
+
}
|
|
1406
|
+
/**
|
|
1407
|
+
* Updates the element(s) that are used within the focus-trap of the component.
|
|
1408
|
+
*/
|
|
1409
|
+
async updateFocusTrapElements() {
|
|
1410
|
+
Mt(this);
|
|
1411
|
+
}
|
|
1412
|
+
getReferenceElement() {
|
|
1413
|
+
const { referenceElement: e, el: n } = this;
|
|
1414
|
+
return (typeof e == "string" ? Et(n, { id: e }) : e) || null;
|
|
1415
|
+
}
|
|
1416
|
+
onBeforeOpen() {
|
|
1417
|
+
this.calcitePopoverBeforeOpen.emit();
|
|
1418
|
+
}
|
|
1419
|
+
onOpen() {
|
|
1420
|
+
this.calcitePopoverOpen.emit(), Ee(this);
|
|
1421
|
+
}
|
|
1422
|
+
onBeforeClose() {
|
|
1423
|
+
this.calcitePopoverBeforeClose.emit();
|
|
1424
|
+
}
|
|
1425
|
+
onClose() {
|
|
1426
|
+
this.calcitePopoverClose.emit(), fe(this);
|
|
1427
|
+
}
|
|
1428
|
+
// --------------------------------------------------------------------------
|
|
1429
|
+
//
|
|
1430
|
+
// Render Methods
|
|
1431
|
+
//
|
|
1432
|
+
// --------------------------------------------------------------------------
|
|
1433
|
+
renderCloseButton() {
|
|
1434
|
+
const { messages: e, closable: n } = this;
|
|
1435
|
+
return n ? y("div", { class: $.closeButtonContainer, key: $.closeButtonContainer }, y("calcite-action", {
|
|
1436
|
+
appearance: "transparent",
|
|
1437
|
+
class: $.closeButton,
|
|
1438
|
+
onClick: this.hide,
|
|
1439
|
+
scale: this.scale,
|
|
1440
|
+
text: e.close,
|
|
1441
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1442
|
+
ref: (i) => this.closeButtonEl = i
|
|
1443
|
+
}, y("calcite-icon", { icon: "x", scale: Ht(this.scale) }))) : null;
|
|
1444
|
+
}
|
|
1445
|
+
renderHeader() {
|
|
1446
|
+
const { heading: e, headingLevel: n } = this, i = e ? y(Tn, { class: $.heading, level: n }, e) : null;
|
|
1447
|
+
return i ? y("div", { class: $.header, key: $.header }, i, this.renderCloseButton()) : null;
|
|
1448
|
+
}
|
|
1449
|
+
render() {
|
|
1450
|
+
const { effectiveReferenceElement: e, heading: n, label: i, open: o, pointerDisabled: s, floatingLayout: r } = this, l = e && o, a = !l, c = s ? null : y(Mn, {
|
|
1451
|
+
floatingLayout: r,
|
|
1452
|
+
key: "floating-arrow",
|
|
1453
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1454
|
+
ref: this.storeArrowEl
|
|
1455
|
+
});
|
|
1456
|
+
return y(wt, { "aria-hidden": he(a), "aria-label": i, "aria-live": "polite", "calcite-hydrated-hidden": a, id: this.getId(), role: "dialog" }, y("div", {
|
|
1457
|
+
class: {
|
|
1458
|
+
[Fe.animation]: !0,
|
|
1459
|
+
[Fe.animationActive]: l
|
|
1460
|
+
},
|
|
1461
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1462
|
+
ref: this.setTransitionEl
|
|
1463
|
+
}, c, y("div", { class: {
|
|
1464
|
+
[$.hasHeader]: !!n,
|
|
1465
|
+
[$.container]: !0
|
|
1466
|
+
} }, this.renderHeader(), y("div", { class: $.content }, y("slot", null)), n ? null : this.renderCloseButton())));
|
|
1467
|
+
}
|
|
1468
|
+
static get assetsDirs() {
|
|
1469
|
+
return ["assets"];
|
|
1470
|
+
}
|
|
1471
|
+
get el() {
|
|
1472
|
+
return this;
|
|
1473
|
+
}
|
|
1474
|
+
static get watchers() {
|
|
1475
|
+
return {
|
|
1476
|
+
focusTrapDisabled: ["handleFocusTrapDisabled"],
|
|
1477
|
+
flipPlacements: ["flipPlacementsHandler"],
|
|
1478
|
+
messageOverrides: ["onMessagesChange"],
|
|
1479
|
+
offsetDistance: ["offsetDistanceOffsetHandler"],
|
|
1480
|
+
offsetSkidding: ["offsetSkiddingHandler"],
|
|
1481
|
+
open: ["openHandler"],
|
|
1482
|
+
overlayPositioning: ["overlayPositioningHandler"],
|
|
1483
|
+
placement: ["placementHandler"],
|
|
1484
|
+
referenceElement: ["referenceElementHandler"],
|
|
1485
|
+
effectiveLocale: ["effectiveLocaleChange"]
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
static get style() {
|
|
1489
|
+
return In;
|
|
1490
|
+
}
|
|
1491
|
+
}, [1, "calcite-popover", {
|
|
1492
|
+
autoClose: [516, "auto-close"],
|
|
1493
|
+
closable: [516],
|
|
1494
|
+
flipDisabled: [516, "flip-disabled"],
|
|
1495
|
+
focusTrapDisabled: [516, "focus-trap-disabled"],
|
|
1496
|
+
pointerDisabled: [516, "pointer-disabled"],
|
|
1497
|
+
flipPlacements: [16],
|
|
1498
|
+
heading: [1],
|
|
1499
|
+
headingLevel: [514, "heading-level"],
|
|
1500
|
+
label: [1],
|
|
1501
|
+
messageOverrides: [1040],
|
|
1502
|
+
messages: [1040],
|
|
1503
|
+
offsetDistance: [514, "offset-distance"],
|
|
1504
|
+
offsetSkidding: [514, "offset-skidding"],
|
|
1505
|
+
open: [1540],
|
|
1506
|
+
overlayPositioning: [513, "overlay-positioning"],
|
|
1507
|
+
placement: [513],
|
|
1508
|
+
referenceElement: [1, "reference-element"],
|
|
1509
|
+
scale: [513],
|
|
1510
|
+
triggerDisabled: [516, "trigger-disabled"],
|
|
1511
|
+
effectiveLocale: [32],
|
|
1512
|
+
floatingLayout: [32],
|
|
1513
|
+
effectiveReferenceElement: [32],
|
|
1514
|
+
defaultMessages: [32],
|
|
1515
|
+
reposition: [64],
|
|
1516
|
+
setFocus: [64],
|
|
1517
|
+
updateFocusTrapElements: [64]
|
|
1518
|
+
}, void 0, {
|
|
1519
|
+
focusTrapDisabled: ["handleFocusTrapDisabled"],
|
|
1520
|
+
flipPlacements: ["flipPlacementsHandler"],
|
|
1521
|
+
messageOverrides: ["onMessagesChange"],
|
|
1522
|
+
offsetDistance: ["offsetDistanceOffsetHandler"],
|
|
1523
|
+
offsetSkidding: ["offsetSkiddingHandler"],
|
|
1524
|
+
open: ["openHandler"],
|
|
1525
|
+
overlayPositioning: ["overlayPositioningHandler"],
|
|
1526
|
+
placement: ["placementHandler"],
|
|
1527
|
+
referenceElement: ["referenceElementHandler"],
|
|
1528
|
+
effectiveLocale: ["effectiveLocaleChange"]
|
|
1529
|
+
}]);
|
|
1530
|
+
function pt() {
|
|
1531
|
+
if (typeof customElements > "u")
|
|
1532
|
+
return;
|
|
1533
|
+
["calcite-popover", "calcite-action", "calcite-icon", "calcite-loader"].forEach((e) => {
|
|
1534
|
+
switch (e) {
|
|
1535
|
+
case "calcite-popover":
|
|
1536
|
+
customElements.get(e) || customElements.define(e, Fn);
|
|
1537
|
+
break;
|
|
1538
|
+
case "calcite-action":
|
|
1539
|
+
customElements.get(e) || Ze();
|
|
1540
|
+
break;
|
|
1541
|
+
case "calcite-icon":
|
|
1542
|
+
customElements.get(e) || Je();
|
|
1543
|
+
break;
|
|
1544
|
+
case "calcite-loader":
|
|
1545
|
+
customElements.get(e) || et();
|
|
1546
|
+
break;
|
|
1547
|
+
}
|
|
1548
|
+
});
|
|
1549
|
+
}
|
|
1550
|
+
pt();
|
|
1551
|
+
/*!
|
|
1552
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
1553
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
1554
|
+
* v2.7.1
|
|
1555
|
+
*/
|
|
1556
|
+
const Ue = {
|
|
1557
|
+
menu: "menu",
|
|
1558
|
+
defaultTrigger: "default-trigger"
|
|
1559
|
+
}, je = {
|
|
1560
|
+
tooltip: "tooltip",
|
|
1561
|
+
trigger: "trigger"
|
|
1562
|
+
}, $n = {
|
|
1563
|
+
menu: "ellipsis"
|
|
1564
|
+
}, zn = "data-active", _n = ":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-2)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-color-border-3)}::slotted(calcite-action-group:last-child){border-block-end:0}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}", Wn = ["ArrowUp", "ArrowDown", "End", "Home"], Nn = /* @__PURE__ */ Ve(class extends Xe {
|
|
1565
|
+
constructor() {
|
|
1566
|
+
super(), this.__registerHost(), this.__attachShadow(), this.calciteActionMenuOpen = Q(this, "calciteActionMenuOpen", 6), this.actionElements = [], this.guid = `calcite-action-menu-${Ke()}`, this.menuId = `${this.guid}-menu`, this.menuButtonId = `${this.guid}-menu-button`, this.connectMenuButtonEl = () => {
|
|
1567
|
+
const { menuButtonId: e, menuId: n, open: i, label: o } = this, s = this.slottedMenuButtonEl || this.defaultMenuButtonEl;
|
|
1568
|
+
this.menuButtonEl !== s && (this.disconnectMenuButtonEl(), this.menuButtonEl = s, this.setTooltipReferenceElement(), s && (s.active = i, s.setAttribute("aria-controls", n), s.setAttribute("aria-expanded", he(i)), s.setAttribute("aria-haspopup", "true"), s.id || (s.id = e), s.label || (s.label = o), s.text || (s.text = o), s.addEventListener("click", this.menuButtonClick), s.addEventListener("keydown", this.menuButtonKeyDown)));
|
|
1569
|
+
}, this.disconnectMenuButtonEl = () => {
|
|
1570
|
+
const { menuButtonEl: e } = this;
|
|
1571
|
+
e && (e.removeEventListener("click", this.menuButtonClick), e.removeEventListener("keydown", this.menuButtonKeyDown));
|
|
1572
|
+
}, this.setMenuButtonEl = (e) => {
|
|
1573
|
+
const n = e.target.assignedElements({
|
|
1574
|
+
flatten: !0
|
|
1575
|
+
}).filter((i) => i == null ? void 0 : i.matches("calcite-action"));
|
|
1576
|
+
this.slottedMenuButtonEl = n[0], this.connectMenuButtonEl();
|
|
1577
|
+
}, this.setDefaultMenuButtonEl = (e) => {
|
|
1578
|
+
this.defaultMenuButtonEl = e, this.connectMenuButtonEl();
|
|
1579
|
+
}, this.handleCalciteActionClick = () => {
|
|
1580
|
+
this.open = !1, this.setFocus();
|
|
1581
|
+
}, this.menuButtonClick = () => {
|
|
1582
|
+
this.toggleOpen();
|
|
1583
|
+
}, this.updateTooltip = (e) => {
|
|
1584
|
+
const n = e.target.assignedElements({
|
|
1585
|
+
flatten: !0
|
|
1586
|
+
}).filter((i) => i == null ? void 0 : i.matches("calcite-tooltip"));
|
|
1587
|
+
this.tooltipEl = n[0], this.setTooltipReferenceElement();
|
|
1588
|
+
}, this.setTooltipReferenceElement = () => {
|
|
1589
|
+
const { tooltipEl: e, expanded: n, menuButtonEl: i, open: o } = this;
|
|
1590
|
+
e && (e.referenceElement = !n && !o ? i : null);
|
|
1591
|
+
}, this.updateAction = (e, n) => {
|
|
1592
|
+
const { guid: i, activeMenuItemIndex: o } = this, s = `${i}-action-${n}`;
|
|
1593
|
+
e.tabIndex = -1, e.setAttribute("role", "menuitem"), e.id || (e.id = s), e.toggleAttribute(zn, n === o);
|
|
1594
|
+
}, this.updateActions = (e) => {
|
|
1595
|
+
e == null || e.forEach(this.updateAction);
|
|
1596
|
+
}, this.handleDefaultSlotChange = (e) => {
|
|
1597
|
+
const n = e.target.assignedElements({
|
|
1598
|
+
flatten: !0
|
|
1599
|
+
}).reduce((i, o) => o != null && o.matches("calcite-action") ? (i.push(o), i) : o != null && o.matches("calcite-action-group") ? i.concat(Array.from(o.querySelectorAll("calcite-action"))) : i, []);
|
|
1600
|
+
this.actionElements = n.filter((i) => !i.disabled && !i.hidden);
|
|
1601
|
+
}, this.menuButtonKeyDown = (e) => {
|
|
1602
|
+
const { key: n } = e, { actionElements: i, activeMenuItemIndex: o, open: s } = this;
|
|
1603
|
+
if (i.length) {
|
|
1604
|
+
if (Ye(n)) {
|
|
1605
|
+
if (e.preventDefault(), !s) {
|
|
1606
|
+
this.toggleOpen();
|
|
1607
|
+
return;
|
|
1608
|
+
}
|
|
1609
|
+
const r = i[o];
|
|
1610
|
+
r ? r.click() : this.toggleOpen(!1);
|
|
1611
|
+
}
|
|
1612
|
+
if (n === "Tab") {
|
|
1613
|
+
this.open = !1;
|
|
1614
|
+
return;
|
|
1615
|
+
}
|
|
1616
|
+
if (n === "Escape") {
|
|
1617
|
+
this.toggleOpen(!1), e.preventDefault();
|
|
1618
|
+
return;
|
|
1619
|
+
}
|
|
1620
|
+
this.handleActionNavigation(e, n, i);
|
|
1621
|
+
}
|
|
1622
|
+
}, this.handleActionNavigation = (e, n, i) => {
|
|
1623
|
+
if (!this.isValidKey(n, Wn))
|
|
1624
|
+
return;
|
|
1625
|
+
if (e.preventDefault(), !this.open) {
|
|
1626
|
+
this.toggleOpen(), (n === "Home" || n === "ArrowDown") && (this.activeMenuItemIndex = 0), (n === "End" || n === "ArrowUp") && (this.activeMenuItemIndex = i.length - 1);
|
|
1627
|
+
return;
|
|
1628
|
+
}
|
|
1629
|
+
n === "Home" && (this.activeMenuItemIndex = 0), n === "End" && (this.activeMenuItemIndex = i.length - 1);
|
|
1630
|
+
const o = this.activeMenuItemIndex;
|
|
1631
|
+
n === "ArrowUp" && (this.activeMenuItemIndex = Ce(Math.max(o - 1, -1), i.length)), n === "ArrowDown" && (this.activeMenuItemIndex = Ce(o + 1, i.length));
|
|
1632
|
+
}, this.toggleOpenEnd = () => {
|
|
1633
|
+
this.setFocus(), this.el.removeEventListener("calcitePopoverOpen", this.toggleOpenEnd);
|
|
1634
|
+
}, this.toggleOpen = (e = !this.open) => {
|
|
1635
|
+
this.el.addEventListener("calcitePopoverOpen", this.toggleOpenEnd), this.open = e;
|
|
1636
|
+
}, this.handlePopoverOpen = () => {
|
|
1637
|
+
this.open = !0;
|
|
1638
|
+
}, this.handlePopoverClose = () => {
|
|
1639
|
+
this.open = !1;
|
|
1640
|
+
}, this.appearance = "solid", this.expanded = !1, this.flipPlacements = void 0, this.label = void 0, this.open = !1, this.overlayPositioning = "absolute", this.placement = "auto", this.scale = void 0, this.menuButtonEl = void 0, this.activeMenuItemIndex = -1;
|
|
1641
|
+
}
|
|
1642
|
+
// --------------------------------------------------------------------------
|
|
1643
|
+
//
|
|
1644
|
+
// Lifecycle
|
|
1645
|
+
//
|
|
1646
|
+
// --------------------------------------------------------------------------
|
|
1647
|
+
connectedCallback() {
|
|
1648
|
+
this.connectMenuButtonEl();
|
|
1649
|
+
}
|
|
1650
|
+
componentWillLoad() {
|
|
1651
|
+
qe(this);
|
|
1652
|
+
}
|
|
1653
|
+
componentDidLoad() {
|
|
1654
|
+
Ge(this);
|
|
1655
|
+
}
|
|
1656
|
+
disconnectedCallback() {
|
|
1657
|
+
this.disconnectMenuButtonEl();
|
|
1658
|
+
}
|
|
1659
|
+
expandedHandler() {
|
|
1660
|
+
this.open = !1, this.setTooltipReferenceElement();
|
|
1661
|
+
}
|
|
1662
|
+
openHandler(e) {
|
|
1663
|
+
this.activeMenuItemIndex = this.open ? 0 : -1, this.menuButtonEl && (this.menuButtonEl.active = e), this.calciteActionMenuOpen.emit(), this.setTooltipReferenceElement();
|
|
1664
|
+
}
|
|
1665
|
+
activeMenuItemIndexHandler() {
|
|
1666
|
+
this.updateActions(this.actionElements);
|
|
1667
|
+
}
|
|
1668
|
+
// --------------------------------------------------------------------------
|
|
1669
|
+
//
|
|
1670
|
+
// Methods
|
|
1671
|
+
//
|
|
1672
|
+
// --------------------------------------------------------------------------
|
|
1673
|
+
/** Sets focus on the component. */
|
|
1674
|
+
async setFocus() {
|
|
1675
|
+
return await Qe(this), Ct(this.menuButtonEl);
|
|
1676
|
+
}
|
|
1677
|
+
renderMenuButton() {
|
|
1678
|
+
const { appearance: e, label: n, scale: i, expanded: o } = this;
|
|
1679
|
+
return y("slot", { name: je.trigger, onSlotchange: this.setMenuButtonEl }, y("calcite-action", {
|
|
1680
|
+
appearance: e,
|
|
1681
|
+
class: Ue.defaultTrigger,
|
|
1682
|
+
icon: $n.menu,
|
|
1683
|
+
scale: i,
|
|
1684
|
+
text: n,
|
|
1685
|
+
textEnabled: o,
|
|
1686
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
1687
|
+
ref: this.setDefaultMenuButtonEl
|
|
1688
|
+
}));
|
|
1689
|
+
}
|
|
1690
|
+
renderMenuItems() {
|
|
1691
|
+
const { actionElements: e, activeMenuItemIndex: n, open: i, menuId: o, menuButtonEl: s, label: r, placement: l, overlayPositioning: a, flipPlacements: c } = this, u = e[n], d = (u == null ? void 0 : u.id) || null;
|
|
1692
|
+
return y("calcite-popover", { autoClose: !0, flipPlacements: c, focusTrapDisabled: !0, label: r, offsetDistance: 0, onCalcitePopoverClose: this.handlePopoverClose, onCalcitePopoverOpen: this.handlePopoverOpen, open: i, overlayPositioning: a, placement: l, pointerDisabled: !0, referenceElement: s }, y("div", { "aria-activedescendant": d, "aria-labelledby": s == null ? void 0 : s.id, class: Ue.menu, id: o, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, y("slot", { onSlotchange: this.handleDefaultSlotChange })));
|
|
1693
|
+
}
|
|
1694
|
+
render() {
|
|
1695
|
+
return y(bt, null, this.renderMenuButton(), this.renderMenuItems(), y("slot", { name: je.tooltip, onSlotchange: this.updateTooltip }));
|
|
1696
|
+
}
|
|
1697
|
+
isValidKey(e, n) {
|
|
1698
|
+
return !!n.find((i) => i === e);
|
|
1699
|
+
}
|
|
1700
|
+
get el() {
|
|
1701
|
+
return this;
|
|
1702
|
+
}
|
|
1703
|
+
static get watchers() {
|
|
1704
|
+
return {
|
|
1705
|
+
expanded: ["expandedHandler"],
|
|
1706
|
+
open: ["openHandler"],
|
|
1707
|
+
activeMenuItemIndex: ["activeMenuItemIndexHandler"]
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
static get style() {
|
|
1711
|
+
return _n;
|
|
1712
|
+
}
|
|
1713
|
+
}, [1, "calcite-action-menu", {
|
|
1714
|
+
appearance: [513],
|
|
1715
|
+
expanded: [516],
|
|
1716
|
+
flipPlacements: [16],
|
|
1717
|
+
label: [1],
|
|
1718
|
+
open: [1540],
|
|
1719
|
+
overlayPositioning: [513, "overlay-positioning"],
|
|
1720
|
+
placement: [513],
|
|
1721
|
+
scale: [513],
|
|
1722
|
+
menuButtonEl: [32],
|
|
1723
|
+
activeMenuItemIndex: [32],
|
|
1724
|
+
setFocus: [64]
|
|
1725
|
+
}, void 0, {
|
|
1726
|
+
expanded: ["expandedHandler"],
|
|
1727
|
+
open: ["openHandler"],
|
|
1728
|
+
activeMenuItemIndex: ["activeMenuItemIndexHandler"]
|
|
1729
|
+
}]);
|
|
1730
|
+
function Un() {
|
|
1731
|
+
if (typeof customElements > "u")
|
|
1732
|
+
return;
|
|
1733
|
+
["calcite-action-menu", "calcite-action", "calcite-icon", "calcite-loader", "calcite-popover"].forEach((e) => {
|
|
1734
|
+
switch (e) {
|
|
1735
|
+
case "calcite-action-menu":
|
|
1736
|
+
customElements.get(e) || customElements.define(e, Nn);
|
|
1737
|
+
break;
|
|
1738
|
+
case "calcite-action":
|
|
1739
|
+
customElements.get(e) || Ze();
|
|
1740
|
+
break;
|
|
1741
|
+
case "calcite-icon":
|
|
1742
|
+
customElements.get(e) || Je();
|
|
1743
|
+
break;
|
|
1744
|
+
case "calcite-loader":
|
|
1745
|
+
customElements.get(e) || et();
|
|
1746
|
+
break;
|
|
1747
|
+
case "calcite-popover":
|
|
1748
|
+
customElements.get(e) || pt();
|
|
1749
|
+
break;
|
|
1750
|
+
}
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
Un();
|
|
1754
|
+
export {
|
|
1755
|
+
Tn as H,
|
|
1756
|
+
je as S,
|
|
1757
|
+
Un as a,
|
|
1758
|
+
pt as d
|
|
1759
|
+
};
|