@agrotools1/at-components 0.3.5 → 0.3.6
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-b156cbdc.js +109 -0
- package/dist/APIKeyMixin-ee07543b.js +19 -0
- package/dist/Analysis-ffcdf49e.js +31 -0
- package/dist/ArcGISCachedService-a878c30c.js +47 -0
- package/dist/ArcGISService-16ef592c.js +25 -0
- package/dist/AreaMeasurement2D-b47a8818.js +405 -0
- package/dist/AreaMeasurement3D-fdbc23e0.js +488 -0
- package/dist/AttachmentInfo-3b5fda52.js +34 -0
- package/dist/AttachmentQuery-14f4ec29.js +18 -0
- package/dist/AttributeStore-47a878e7.js +1707 -0
- package/dist/BaseDynamicLayerView2D-4bd57982.js +63 -0
- package/dist/BingMapsLayer-ec619dfa.js +112 -0
- package/dist/Bitmap-45982a38.js +128 -0
- package/dist/BitmapContainer-ae676ce9.js +23 -0
- package/dist/BlendLayer-f24275a8.js +13 -0
- package/dist/BoundsStore-da6873f3.js +63 -0
- package/dist/BufferObject-0c76346f.js +100 -0
- package/dist/BufferView-96849449.js +683 -0
- package/dist/BuildingSceneLayer-67b40855.js +535 -0
- package/dist/Button-348f9ac0.js +36 -0
- package/dist/CSVLayer-dae4e00d.js +208 -0
- package/dist/CSVSourceWorker-6de8b609.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-7622a0af.js +66 -0
- package/dist/CatalogFootprintLayerView2D-eff667d9.js +76 -0
- package/dist/CatalogLayer-b0e4980c.js +262 -0
- package/dist/CatalogLayerView2D-fa22e5e2.js +52 -0
- package/dist/ClassBreaksDefinition-a4abcf50.js +18 -0
- package/dist/ColorMaterial.glsl-570e4f94.js +64 -0
- package/dist/ColorSet-7f5c7694.js +45 -0
- package/dist/ColorStop-6fd09765.js +29 -0
- package/dist/Container-d699fcb8.js +521 -0
- package/dist/CustomParametersMixin-949de3be.js +12 -0
- package/dist/DataTable/Column/Column.d.ts +1 -1
- package/dist/DataTable/DataTable.d.ts +3 -0
- package/dist/DataTable/index.d.ts +4 -1
- package/dist/DefaultMaterial.glsl-7c844647.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-f7a6e76d.js +653 -0
- package/dist/DefaultTheme-dc710295.js +130 -0
- package/dist/DeleteForwardEditsParameters-06390e9e.js +18 -0
- package/dist/DimensionLayer-be08b167.js +129 -0
- package/dist/DirectLineMeasurement3D-78fa3435.js +449 -0
- package/dist/DistanceMeasurement2D-0716339a.js +303 -0
- package/dist/DoubleArray-2f0f416a.js +25 -0
- package/dist/EdgeProcessingWorker-ed705ff7.js +63 -0
- package/dist/EditBusLayer-b3dc1330.js +107 -0
- package/dist/ElevationInfo-c194d5f5.js +56 -0
- package/dist/ElevationLayer-36b1e319.js +129 -0
- package/dist/ElevationQuery-39727e18.js +598 -0
- package/dist/ElevationSamplerWorker-04b18fdf.js +62 -0
- package/dist/ExportImageParameters-5167798e.js +66 -0
- package/dist/ExportStrategy-2d347cef.js +93 -0
- package/dist/ExportWMSImageParameters-a26d34ed.js +33 -0
- package/dist/External-b021ff2c.js +110 -0
- package/dist/FeatureCollectionSnappingSource-66979cda.js +130 -0
- package/dist/FeatureCommandQueue-d3930db2.js +1244 -0
- package/dist/FeatureEffect-c51c2425.js +39 -0
- package/dist/FeatureEffectLayer-bdca70b7.js +13 -0
- package/dist/FeatureFilter-9a11227d.js +27 -0
- package/dist/FeatureLayer-f1a17cbb.js +693 -0
- package/dist/FeatureLayerBase-85c25451.js +148 -0
- package/dist/FeatureLayerSource-8d9419ca.js +444 -0
- package/dist/FeatureLayerView2D-523f4651.js +1967 -0
- package/dist/FeaturePipelineWorker-bd8ec8e1.js +3633 -0
- package/dist/FeatureReductionLayer-949cfff9.js +225 -0
- package/dist/FeatureReductionSelection-2b7de4bb.js +22 -0
- package/dist/FeatureServiceSnappingSource-29f6326c.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-3071cc93.js +747 -0
- package/dist/FeatureSet-a2d35655.js +188 -0
- package/dist/FeatureStore-29d58f30.js +131 -0
- package/dist/FeatureTemplate-33f1511c.js +12 -0
- package/dist/FeatureType-03d8bfc6.js +25 -0
- package/dist/FieldsIndex-cddb2b35.js +109 -0
- package/dist/FormTemplate-8281e66a.js +350 -0
- package/dist/GeoJSONLayer-d1cf041d.js +236 -0
- package/dist/GeoJSONSourceWorker-b3fb8a97.js +247 -0
- package/dist/GeoRSSLayer-1bd11f40.js +73 -0
- package/dist/GeoRSSLayerView2D-8f661d18.js +140 -0
- package/dist/GeometryUtils-5c77f1b0.js +403 -0
- package/dist/GraphicContainer-8f518c24.js +26 -0
- package/dist/GraphicManipulator-48fa5ffd.js +1499 -0
- package/dist/GraphicsLayer-5e14eb47.js +38 -0
- package/dist/GraphicsLayerView2D-187a02e9.js +114 -0
- package/dist/GraphicsSnappingSource-779de954.js +273 -0
- package/dist/GraphicsView2D-4786cec0.js +620 -0
- package/dist/GroupLayer-f742bd3e.js +147 -0
- package/dist/GroupLayerView2D-46afecb6.js +98 -0
- package/dist/HUDMaterial.glsl-aed28bd1.js +65 -0
- package/dist/HighlightCounter-3ed84eb2.js +41 -0
- package/dist/HighlightGraphicContainer-24fff1f1.js +18 -0
- package/dist/I3SBinaryReader-dc3251f3.js +310 -0
- package/dist/I3SLayerDefinitions-75469971.js +55 -0
- package/dist/I3SUtil-b4dac74e.js +59 -0
- package/dist/IdentityManager-ece2841b.js +899 -0
- package/dist/ImageHistogramParameters-f0a6a74c.js +905 -0
- package/dist/ImageryLayer-c5d0331a.js +1799 -0
- package/dist/ImageryLayerView2D-2439ac05.js +352 -0
- package/dist/ImageryTileLayer-7c19b5c4.js +2157 -0
- package/dist/ImageryTileLayerView2D-b6bab66e.js +1110 -0
- package/dist/Indices-868b778f.js +67 -0
- package/dist/IntegratedMesh3DTilesLayer-8353bdaf.js +112 -0
- package/dist/IntegratedMeshLayer-e761aa10.js +141 -0
- package/dist/InteractiveAnalysisViewModel-d0e82ea6.js +7397 -0
- package/dist/InterleavedLayout-c4731d7d.js +163 -0
- package/dist/KMLLayer-bc47cd3d.js +162 -0
- package/dist/KMLLayerView2D-f2b1d389.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-372e6484.js +43 -0
- package/dist/LRUCache-7a6c25d0.js +32 -0
- package/dist/LabelClass-fd78b96b.js +135 -0
- package/dist/LabelMetric-a5c60841.js +400 -0
- package/dist/LaserlinePath.glsl-6d8ad607.js +64 -0
- package/dist/Laserlines.glsl-1084f18e.js +65 -0
- package/dist/LayerFloorInfo-43dec126.js +15 -0
- package/dist/LayerView-3582efbb.js +206 -0
- package/dist/LercWorker-e30ab7c8.js +157 -0
- package/dist/LineOfSightLayer-9701cc6b.js +147 -0
- package/dist/LinkChartLayer-8762fd4a.js +1027 -0
- package/dist/Lyr3DWorker-4c128301.js +82 -0
- package/dist/MagnifierPrograms-4026fcfa.js +806 -0
- package/dist/MapImageLayer-da0d3310.js +169 -0
- package/dist/MapImageLayerView2D-071c4157.js +146 -0
- package/dist/MapNotesLayer-56a40838.js +283 -0
- package/dist/MapNotesLayerView2D-8899725c.js +161 -0
- package/dist/MapServiceLayerViewHelper-75da68f4.js +288 -0
- package/dist/MeasurementWidgetContent-8176953b.js +2642 -0
- package/dist/MediaLayer-c9bb6f41.js +523 -0
- package/dist/MediaLayerView2D-46029604.js +332 -0
- package/dist/MemCache-cfd09d4d.js +227 -0
- package/dist/MemorySourceWorker-b097af39.js +222 -0
- package/dist/Mesh-e5a3753f.js +980 -0
- package/dist/MeshLocalVertexSpace-46569676.js +19 -0
- package/dist/MultiOriginJSONSupport-66a73b5d.js +158 -0
- package/dist/OGCFeatureLayer-3a40db83.js +211 -0
- package/dist/OGCFeatureLayerView2D-b8b32964.js +82 -0
- package/dist/ObjectStack-ba8b9286.js +21 -0
- package/dist/Octree-ec06f6ac.js +495 -0
- package/dist/OpenStreetMapLayer-37428a2a.js +30 -0
- package/dist/OperationalLayer-2e935984.js +44 -0
- package/dist/OrderByInfo-b7d114ac.js +16 -0
- package/dist/OrderedLayer-63abe7dc.js +26 -0
- package/dist/OrientedImageryLayer-66424cd5.js +216 -0
- package/dist/OverlayCompositing.glsl-7358bee6.js +65 -0
- package/dist/OverrideHelper-212a5126.js +242 -0
- package/dist/PBFDecoderWorker-f2ab98a5.js +213 -0
- package/dist/PointCloudLayer-fed28318.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-8fd8d64d.js +115 -0
- package/dist/PointCloudWorker-a23b7173.js +212 -0
- package/dist/PooledRBush-20fefa83.js +272 -0
- package/dist/Popup-8f89a4b0.js +3990 -0
- package/dist/PortalLayer-15420854.js +126 -0
- package/dist/Program-b10e4f81.js +694 -0
- package/dist/ProgramTemplate-e7665148.js +35 -0
- package/dist/QueryEngine-238072cd.js +896 -0
- package/dist/QueryTask-edf87068.js +119 -0
- package/dist/RasterSymbolizer-f981d3ba.js +3024 -0
- package/dist/RasterVFDisplayObject-e88aa01c.js +581 -0
- package/dist/RasterWorker-fc9be81c.js +78 -0
- package/dist/RawBlockCache-f74df003.js +185 -0
- package/dist/RealisticTree.glsl-3c15f4f4.js +42 -0
- package/dist/RefreshableLayer-f99ea584.js +80 -0
- package/dist/RefreshableLayerView-a78847ef.js +16 -0
- package/dist/Relationship-1b08c6d9.js +64 -0
- package/dist/RelationshipQuery-292ab835.js +22 -0
- package/dist/RenderingContext-010afb99.js +889 -0
- package/dist/RibbonLine.glsl-96dd8904.js +65 -0
- package/dist/RouteLayer-93ccdc64.js +786 -0
- package/dist/RouteLayerView2D-036ca001.js +195 -0
- package/dist/SDFHelper-474b4359.js +140 -0
- package/dist/SSAO.glsl-597bfb5a.js +43 -0
- package/dist/SSAOBlur.glsl-ee744d7c.js +42 -0
- package/dist/ScaleRangeLayer-6b36cfd2.js +21 -0
- package/dist/SceneLayer-a142d8c1.js +542 -0
- package/dist/SceneLayerSnappingSource-203b8842.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-67162926.js +112 -0
- package/dist/SceneLayerWorker-e925341d.js +164 -0
- package/dist/SceneService-3215551f.js +215 -0
- package/dist/Scheduler-202e661b.js +373 -0
- package/dist/ShadedColorMaterial.glsl-4c7b1e1c.js +64 -0
- package/dist/SnappingOperation-cb1044d4.js +48 -0
- package/dist/SourceLayerData-cd5f50cf.js +116 -0
- package/dist/SpatialFilter-aa7af35b.js +1701 -0
- package/dist/Stop-afd9fe95.js +281 -0
- package/dist/StreamLayer-1db3fd83.js +188 -0
- package/dist/StreamLayerView2D-2a13f0ad.js +164 -0
- package/dist/StyleRepository-2c73077a.js +2212 -0
- package/dist/SublayersOwner-dc253313.js +545 -0
- package/dist/SubtypeGroupLayer-19d730fa.js +514 -0
- package/dist/SubtypeGroupLayerView2D-104bd70d.js +84 -0
- package/dist/TechniqueInstance-34decb51.js +233 -0
- package/dist/TemporalLayer-52d34fa2.js +23 -0
- package/dist/Texture-cb75240c.js +501 -0
- package/dist/TextureOnly.glsl-a2ddac26.js +65 -0
- package/dist/Theme-b6e00d80.js +3426 -0
- package/dist/Tick-01633bcc.js +723 -0
- package/dist/TileContainer-456a6c78.js +31 -0
- package/dist/TileInfoTilemapCache-42af3194.js +38 -0
- package/dist/TileLayer-3185a118.js +194 -0
- package/dist/TileLayerView2D-c1a9ab1f.js +187 -0
- package/dist/TilemapCache-ae840560.js +189 -0
- package/dist/TimeInfo-8ce5e779.js +42 -0
- package/dist/TimeOnly-e45c6726.js +706 -0
- package/dist/Tooltip-900796b3.js +138 -0
- package/dist/TopFeaturesQuery-92ff83cb.js +32 -0
- package/dist/TurboLine-b4edfa68.js +565 -0
- package/dist/UniqueValueRenderer-cc2c9298.js +1039 -0
- package/dist/UnknownLayer-b54c2634.js +30 -0
- package/dist/UnknownTimeZone-6d259a58.js +15 -0
- package/dist/UnsupportedLayer-13022461.js +31 -0
- package/dist/UpdateTracking2D-f77879d5.js +8566 -0
- package/dist/Util-04115b51.js +57 -0
- package/dist/VectorTileLayer-f381cd0e.js +544 -0
- package/dist/VectorTileLayerView2D-39783058.js +2108 -0
- package/dist/Version-df01af53.js +33 -0
- package/dist/VertexArrayObject-4a28edd2.js +73 -0
- package/dist/VertexColor.glsl-bf92e50b.js +2683 -0
- package/dist/VertexSnappingCandidate-bb220191.js +13 -0
- package/dist/VideoLayerView2D-be563c2e.js +124 -0
- package/dist/VoxelLayer-9ef1de09.js +631 -0
- package/dist/WFSLayer-43b50b88.js +221 -0
- package/dist/WFSSourceWorker-3861ffe8.js +157 -0
- package/dist/WGLContainer-ba3d390b.js +5426 -0
- package/dist/WMSLayer-2c3e8bbb.js +536 -0
- package/dist/WMSLayerView2D-872ec260.js +117 -0
- package/dist/WMTSLayer-21f9aa9e.js +531 -0
- package/dist/WMTSLayerView2D-8c8c9c3d.js +142 -0
- package/dist/WebTileLayer-1bda1985.js +110 -0
- package/dist/WhereClause-51a4f26b.js +2766 -0
- package/dist/WorkerHandle-0d66bca5.js +47 -0
- package/dist/WorkerTileHandler-91c9d75f.js +1539 -0
- package/dist/action-6ef64f0d.js +198 -0
- package/dist/action-group-f7db2cb8.js +145 -0
- package/dist/action-menu-1c23d797.js +1759 -0
- package/dist/apng-505b988a.js +392 -0
- package/dist/arcade-4936d297.js +229 -0
- package/dist/arcadeAsyncRuntime-c1474281.js +943 -0
- package/dist/arcadeUtils-8a31964e.js +8741 -0
- package/dist/arcgis-knowledge-client-core-f86c91f8.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-e02ddd33.js +1218 -0
- package/dist/arcgisLayers-5d572cf0.js +152 -0
- package/dist/associatedFeatureServiceUtils-20128e0c.js +92 -0
- package/dist/axisAngleDegrees-d983c0e6.js +49 -0
- package/dist/basis_transcoder-f72923c9.js +1248 -0
- package/dist/calcite-action-6b65bde9.js +22 -0
- package/dist/calcite-action-bar-602b20a2.js +303 -0
- package/dist/calcite-action-group-f80af24c.js +28 -0
- package/dist/calcite-button-38c49d10.js +228 -0
- package/dist/calcite-flow-043c21dc.js +128 -0
- package/dist/calcite-flow-item-2ea7fbc3.js +499 -0
- package/dist/calcite-icon-51a0aaf4.js +16 -0
- package/dist/calcite-input-d890b898.js +24 -0
- package/dist/calcite-label-e7ddaa7b.js +79 -0
- package/dist/calcite-list-32132747.js +2135 -0
- package/dist/calcite-list-item-1a0ebafe.js +576 -0
- package/dist/calcite-list-item-group-2a10423e.js +71 -0
- package/dist/calcite-loader-805f803d.js +14 -0
- package/dist/calcite-modal-c3c4c180.js +333 -0
- package/dist/calcite-notice-3c41230b.js +181 -0
- package/dist/calcite-option-771f300b.js +94 -0
- package/dist/calcite-scrim-69d80539.js +18 -0
- package/dist/calcite-select-0b7bcde9.js +231 -0
- package/dist/capabilities-db596b9a.js +50 -0
- package/dist/chartCommon-12c51a22.js +256 -0
- package/dist/chartUtilsAm5-bc078bfd.js +2954 -0
- package/dist/clientSideDefaults-d761554e.js +39 -0
- package/dist/colorRamps-fedcdeb0.js +38 -0
- package/dist/colorUtils-b3dcdea1.js +164 -0
- package/dist/commonProperties-c36fc1b2.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-204021f3.js +60 -0
- package/dist/conditionalSlot-a3e31520.js +27 -0
- package/dist/createConnection-3faeec81.js +299 -0
- package/dist/dataUtils-cb1ddea6.js +1421 -0
- package/dist/deduplicate-8f04f299.js +89 -0
- package/dist/defaults-9d551b4c.js +31 -0
- package/dist/deleteForwardEdits-8ee7ac83.js +13 -0
- package/dist/diffUtils-f967bb01.js +90 -0
- package/dist/drapedUtils-228e1846.js +75 -0
- package/dist/earcut-ae826f5c.js +292 -0
- package/dist/edgeProcessing-34e7c554.js +252 -0
- package/dist/editingSupport-b2834350.js +203 -0
- package/dist/editsZScale-adebaa6e.js +37 -0
- package/dist/elevationInfoUtils-f7fb37da.js +126 -0
- package/dist/executeForIds-56bf8e1c.js +14 -0
- package/dist/executeForTopCount-b8ad20e2.js +17 -0
- package/dist/executeForTopExtents-976e5375.js +17 -0
- package/dist/executeForTopIds-42baedc4.js +17 -0
- package/dist/executeQueryJSON-61328699.js +15 -0
- package/dist/executeQueryPBF-98500b0b.js +152 -0
- package/dist/executeRelationshipQuery-61aff913.js +53 -0
- package/dist/executeTopFeaturesQuery-9a82f5f3.js +18 -0
- package/dist/featureConversionUtils-90914512.js +479 -0
- package/dist/featureLayerUtils-6fd62a19.js +142 -0
- package/dist/featureLayerUtils-f9a404fc.js +250 -0
- package/dist/featureSetUtils-41c6b2f3.js +2530 -0
- package/dist/featuresetbase-abf82e92.js +707 -0
- package/dist/featuresetgeom-640a61c3.js +99 -0
- package/dist/featuresetstats-8bc29826.js +81 -0
- package/dist/featuresetstring-cf27255d.js +95 -0
- package/dist/fetchService-bc7cad88.js +33 -0
- package/dist/fieldProperties-917b162f.js +33 -0
- package/dist/floatRGBA-d8908329.js +20 -0
- package/dist/form-607b9626.js +138 -0
- package/dist/geohashUtils-ae9fb003.js +85 -0
- package/dist/geojson-e6282c6a.js +208 -0
- package/dist/geomasync-c0ea0aa7.js +567 -0
- package/dist/geometryEngine-7390e3b3.js +192 -0
- package/dist/geometryEngineAsync-b05170d5.js +217 -0
- package/dist/geometryEngineBase-9072c29a.js +18463 -0
- package/dist/geometryEngineJSON-046aae14.js +171 -0
- package/dist/geometryEngineJSON-7d93793c.js +46 -0
- package/dist/geometryEngineWorker-df16b723.js +11 -0
- package/dist/geometryServiceUtils-1bad18fc.js +28 -0
- package/dist/georeference-eeac5784.js +291 -0
- package/dist/gif-7db917ae.js +323 -0
- package/dist/gltfexport-e3ee23db.js +705 -0
- package/dist/groupLayerUtils-67593437.js +39 -0
- package/dist/heatmapUtils-ae60011e.js +45 -0
- package/dist/highlightReasons-79f118f3.js +19 -0
- package/dist/hydrated-22569b31.js +40 -0
- package/dist/i3s-b4dc6f5b.js +809 -0
- package/dist/icon-fdee8ce8.js +127 -0
- package/dist/imageBitmapUtils-0795b2e3.js +23 -0
- package/dist/imageUtils-7c670dc9.js +69 -0
- package/dist/imageUtils-d22dd4e3.js +89 -0
- package/dist/imageryUtils-04032523.js +43 -0
- package/dist/index-4ead5b97.js +45620 -0
- package/dist/index.js +1 -1
- package/dist/input-message-fbaeb21b.js +92 -0
- package/dist/input2-2ec70595.js +575 -0
- package/dist/interactive-c1bc656f.js +80 -0
- package/dist/jsonContext-4c9c02ed.js +15 -0
- package/dist/jsonUtils-0c0893e4.js +59 -0
- package/dist/jsonUtils-2a454e30.js +86 -0
- package/dist/jsonUtils-fbd6d2d1.js +476 -0
- package/dist/kmlUtils-a32aa47a.js +112 -0
- package/dist/knowledgeGraphService-101bc4f6.js +739 -0
- package/dist/knowledgegraph-ce7c5d70.js +149 -0
- package/dist/labelUtils-31fc2428.js +61 -0
- package/dist/labelingInfo-419c11be.js +46 -0
- package/dist/layersCreator-cebbca3b.js +151 -0
- package/dist/layersLoader-5716d75b.js +197 -0
- package/dist/lazyLayerLoader-5ff9f8c9.js +10 -0
- package/dist/lclayout-d0707534.js +773 -0
- package/dist/lengthUtils-21f99608.js +5 -0
- package/dist/lerc-wasm-18fff7e7.js +325 -0
- package/dist/libtess-asm-474d4b9b.js +3673 -0
- package/dist/libtess-f1671ade.js +269 -0
- package/dist/lineSegment-d41123bf.js +76 -0
- package/dist/loadGLTFMesh-6d8a092c.js +181 -0
- package/dist/loadable-553a7b4e.js +24 -0
- package/dist/loader-99571a46.js +79 -0
- package/dist/lyr3DWorker-416274fd.js +2108 -0
- package/dist/mapViewDeps-b8386f18.js +3052 -0
- package/dist/mediaLayerUtils-1a221c09.js +35 -0
- package/dist/meshFeatureSet-224c37f2.js +126 -0
- package/dist/meshVertexSpaceUtils-e2d0f6c0.js +58 -0
- package/dist/multidimensionalUtils-8762b51c.js +290 -0
- package/dist/normalizeUtilsSync-ceab37a3.js +181 -0
- package/dist/number-5cf3efeb.js +128 -0
- package/dist/objectResourceUtils-2731784f.js +1455 -0
- package/dist/observers-260de394.js +30 -0
- package/dist/ogcFeatureUtils-ae65de93.js +206 -0
- package/dist/openCloseComponent-7bc5e135.js +37 -0
- package/dist/orientedBoundingBox-57ea94d0.js +447 -0
- package/dist/parser-bab9c2ce.js +488 -0
- package/dist/pbf-e5c31775.js +215 -0
- package/dist/pbfQueryUtils-0b522562.js +422 -0
- package/dist/pe-wasm-c515cbab.js +887 -0
- package/dist/persistable-9c618c27.js +89 -0
- package/dist/perspectiveUtils-e44e8d7d.js +42 -0
- package/dist/pieChart-a7decaf1.js +555 -0
- package/dist/plane-e6309fb6.js +160 -0
- package/dist/popupUtils-3e3652c3.js +50 -0
- package/dist/popupUtils-91a6593a.js +22 -0
- package/dist/portalItemUtils-9fe0753b.js +57 -0
- package/dist/portalLayers-c4780447.js +312 -0
- package/dist/portalUtils-dc516580.js +7 -0
- package/dist/programUtils-af41c65f.js +59 -0
- package/dist/project-5431a252.js +21 -0
- package/dist/projectPointToVector-0079622b.js +14 -0
- package/dist/projectVectorToVector-f0efb06b.js +13 -0
- package/dist/quantityUtils-de778fce.js +33 -0
- package/dist/quantizationUtils-2be4bff3.js +68 -0
- package/dist/quat-c6160033.js +104 -0
- package/dist/query-fcb1a91d.js +89 -0
- package/dist/queryAttachments-97b9756a.js +39 -0
- package/dist/queryEngineUtils-95bf7d7c.js +21 -0
- package/dist/queryTopFeatures-ce8d1ecc.js +50 -0
- package/dist/queryZScale-201978da.js +12 -0
- package/dist/rasterProjectionHelper-29c41430.js +577 -0
- package/dist/rasterUtils-9175fa83.js +122 -0
- package/dist/rasterizingUtils-83fc560b.js +46 -0
- package/dist/request-a1e40067.js +46 -0
- package/dist/requestImageUtils-176ebc00.js +8 -0
- package/dist/resourceExtension-7fe8f270.js +17 -0
- package/dist/resourceUtils-318f1fd0.js +62 -0
- package/dist/resourceUtils-bf624bf9.js +69 -0
- package/dist/resourceUtils-cba1effe.js +42 -0
- package/dist/saveAPIKeyUtils-c407e113.js +8 -0
- package/dist/saveUtils-9d95f409.js +24 -0
- package/dist/scaleUtils-0293f229.js +23 -0
- package/dist/scrim-c147b918.js +114 -0
- package/dist/serviceCapabilitiesUtils-98603a14.js +64 -0
- package/dist/sourceUtils-eec26b0e.js +71 -0
- package/dist/sphere-5e0ae541.js +199 -0
- package/dist/statsWorker-7a85b336.js +37 -0
- package/dist/streamLayerUtils-1b89041d.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-a42848e6.js +14 -0
- package/dist/styleUtils-b62393b9.js +75 -0
- package/dist/sublayerUtils-398c21ad.js +37 -0
- package/dist/substitute-011c53db.js +52 -0
- package/dist/symbolColorUtils-37d56009.js +8 -0
- package/dist/symbolLayerUtils-864ff340.js +31 -0
- package/dist/symbologySnappingCandidates-8de8e353.js +221 -0
- package/dist/t9n-d9b9c6cb.js +349 -0
- package/dist/testSVGPremultipliedAlpha-10b2acab.js +94 -0
- package/dist/timeSupport-97c324f3.js +410 -0
- package/dist/triangle-558b5e1a.js +98 -0
- package/dist/unitConversionUtils-c6c847c9.js +17 -0
- package/dist/unitFormatUtils-b34af073.js +40 -0
- package/dist/uploadAssetErrors-f4548e09.js +70 -0
- package/dist/uploadAssets-2cf4f3df.js +330 -0
- package/dist/utils-2aa1ef8c.js +34 -0
- package/dist/utils-4e8b0dcd.js +91 -0
- package/dist/utils-514bee8e.js +73 -0
- package/dist/utils-7d755f59.js +433 -0
- package/dist/utils-8b01c610.js +232 -0
- package/dist/utils-9210b64d.js +79 -0
- package/dist/utils-b1ab6c91.js +419 -0
- package/dist/utils-f5731fc4.js +2746 -0
- package/dist/utils3-f341d95b.js +75 -0
- package/dist/vec3-7da55ff1.js +81 -0
- package/dist/vec42-689e76ac.js +125 -0
- package/dist/versionUtils-d824fad7.js +161 -0
- package/dist/visualVariableUtils-88773652.js +267 -0
- package/dist/webStyleSymbolUtils-c596a4f1.js +48 -0
- package/dist/webglDeps-f821d060.js +23 -0
- package/dist/wfsUtils-bfa5d7fa.js +343 -0
- package/dist/workerHelper-b0f47acf.js +11 -0
- package/dist/xyChart-a2e4acb8.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-b6e32ab3.js +0 -109
- package/dist/APIKeyMixin-83218bd5.js +0 -19
- package/dist/Analysis-8c5616ab.js +0 -31
- package/dist/ArcGISCachedService-8da73861.js +0 -47
- package/dist/ArcGISService-1e7483eb.js +0 -25
- package/dist/AreaMeasurement2D-ee78c5ab.js +0 -405
- package/dist/AreaMeasurement3D-098fd9ea.js +0 -488
- package/dist/AttachmentInfo-1b2ece0a.js +0 -34
- package/dist/AttachmentQuery-470d5a03.js +0 -18
- package/dist/AttributeStore-f80857be.js +0 -1707
- package/dist/BaseDynamicLayerView2D-a5f201d7.js +0 -63
- package/dist/BingMapsLayer-4c95d39c.js +0 -112
- package/dist/Bitmap-d7c41f66.js +0 -128
- package/dist/BitmapContainer-af419f59.js +0 -23
- package/dist/BlendLayer-ced1717f.js +0 -13
- package/dist/BoundsStore-030e1112.js +0 -63
- package/dist/BufferObject-6f0ccf08.js +0 -100
- package/dist/BufferView-83825b1b.js +0 -683
- package/dist/BuildingSceneLayer-67d67dd9.js +0 -535
- package/dist/Button-b96d4e96.js +0 -36
- package/dist/CSVLayer-0d54cccb.js +0 -208
- package/dist/CSVSourceWorker-00c7e147.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-e1b747eb.js +0 -66
- package/dist/CatalogFootprintLayerView2D-4d654b8c.js +0 -76
- package/dist/CatalogLayer-fdcebf46.js +0 -262
- package/dist/CatalogLayerView2D-d872dec4.js +0 -52
- package/dist/ClassBreaksDefinition-0f6902fe.js +0 -18
- package/dist/ColorMaterial.glsl-0f79d1d3.js +0 -64
- package/dist/ColorSet-1f170190.js +0 -45
- package/dist/ColorStop-81b2ebbf.js +0 -29
- package/dist/Container-5cca9103.js +0 -521
- package/dist/CustomParametersMixin-fa9fc8f5.js +0 -12
- package/dist/DefaultMaterial.glsl-ea170d90.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-e9199fb6.js +0 -653
- package/dist/DefaultTheme-e76e0ce4.js +0 -130
- package/dist/DeleteForwardEditsParameters-114413db.js +0 -18
- package/dist/DimensionLayer-5caa9d6d.js +0 -129
- package/dist/DirectLineMeasurement3D-6d3a316a.js +0 -449
- package/dist/DistanceMeasurement2D-7090d647.js +0 -303
- package/dist/DoubleArray-40bc6f82.js +0 -25
- package/dist/EdgeProcessingWorker-94aed8c4.js +0 -63
- package/dist/EditBusLayer-dcf477a3.js +0 -107
- package/dist/ElevationInfo-a456026a.js +0 -56
- package/dist/ElevationLayer-6061b8f4.js +0 -129
- package/dist/ElevationQuery-ec17e2cc.js +0 -598
- package/dist/ElevationSamplerWorker-beaaeaeb.js +0 -62
- package/dist/ExportImageParameters-56040230.js +0 -66
- package/dist/ExportStrategy-7d1b4a0c.js +0 -93
- package/dist/ExportWMSImageParameters-0b3d33ed.js +0 -33
- package/dist/External-9a57bcf0.js +0 -110
- package/dist/FeatureCollectionSnappingSource-b589f9ce.js +0 -130
- package/dist/FeatureCommandQueue-d1572e0d.js +0 -1244
- package/dist/FeatureEffect-20d94762.js +0 -39
- package/dist/FeatureEffectLayer-017997f2.js +0 -13
- package/dist/FeatureFilter-73c8c240.js +0 -27
- package/dist/FeatureLayer-ecf9f4ea.js +0 -693
- package/dist/FeatureLayerBase-1ffc64a0.js +0 -148
- package/dist/FeatureLayerSource-0acdac77.js +0 -444
- package/dist/FeatureLayerView2D-6f0d2580.js +0 -1967
- package/dist/FeaturePipelineWorker-77d06d4f.js +0 -3633
- package/dist/FeatureReductionLayer-203415cc.js +0 -225
- package/dist/FeatureReductionSelection-4ba3cfda.js +0 -22
- package/dist/FeatureServiceSnappingSource-90c5e877.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-9f33d320.js +0 -747
- package/dist/FeatureSet-29d82bc9.js +0 -188
- package/dist/FeatureStore-9d48217b.js +0 -131
- package/dist/FeatureTemplate-79cf9cb6.js +0 -12
- package/dist/FeatureType-30eece24.js +0 -25
- package/dist/FieldsIndex-7d8f3589.js +0 -109
- package/dist/FormTemplate-18b193a8.js +0 -350
- package/dist/GeoJSONLayer-d2677013.js +0 -236
- package/dist/GeoJSONSourceWorker-4571c9d5.js +0 -247
- package/dist/GeoRSSLayer-320f17b2.js +0 -73
- package/dist/GeoRSSLayerView2D-4683eb47.js +0 -140
- package/dist/GeometryUtils-b855940e.js +0 -403
- package/dist/GraphicContainer-9bd07fb2.js +0 -26
- package/dist/GraphicManipulator-e96e9aa3.js +0 -1499
- package/dist/GraphicsLayer-964ed1f0.js +0 -38
- package/dist/GraphicsLayerView2D-83766b4b.js +0 -114
- package/dist/GraphicsSnappingSource-0bf5350b.js +0 -273
- package/dist/GraphicsView2D-3103ed12.js +0 -620
- package/dist/GroupLayer-2c099630.js +0 -147
- package/dist/GroupLayerView2D-abb8b6d5.js +0 -98
- package/dist/HUDMaterial.glsl-6e206016.js +0 -65
- package/dist/HighlightCounter-1d4774e1.js +0 -41
- package/dist/HighlightGraphicContainer-de26900b.js +0 -18
- package/dist/I3SBinaryReader-63c12e1b.js +0 -310
- package/dist/I3SLayerDefinitions-d0aa8265.js +0 -55
- package/dist/I3SUtil-277467e8.js +0 -59
- package/dist/IdentityManager-a1b54522.js +0 -899
- package/dist/ImageHistogramParameters-47cf0f1b.js +0 -905
- package/dist/ImageryLayer-89c92097.js +0 -1799
- package/dist/ImageryLayerView2D-e0c5549a.js +0 -352
- package/dist/ImageryTileLayer-c38364f3.js +0 -2157
- package/dist/ImageryTileLayerView2D-f659a87c.js +0 -1110
- package/dist/Indices-29975728.js +0 -67
- package/dist/IntegratedMesh3DTilesLayer-8b851e87.js +0 -112
- package/dist/IntegratedMeshLayer-9ed738ba.js +0 -141
- package/dist/InteractiveAnalysisViewModel-c95e13c5.js +0 -7397
- package/dist/InterleavedLayout-f5e6ee23.js +0 -163
- package/dist/KMLLayer-3662a890.js +0 -162
- package/dist/KMLLayerView2D-3d172b6a.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-086160b5.js +0 -43
- package/dist/LRUCache-948c7d75.js +0 -32
- package/dist/LabelClass-c0694878.js +0 -135
- package/dist/LabelMetric-39280634.js +0 -400
- package/dist/LaserlinePath.glsl-205f0e8a.js +0 -64
- package/dist/Laserlines.glsl-6f09c43e.js +0 -65
- package/dist/LayerFloorInfo-308449b6.js +0 -15
- package/dist/LayerView-2b3b1a70.js +0 -206
- package/dist/LercWorker-b007ee29.js +0 -157
- package/dist/LineOfSightLayer-99b48ebf.js +0 -147
- package/dist/LinkChartLayer-d69e2e36.js +0 -1027
- package/dist/Lyr3DWorker-2fdd578b.js +0 -82
- package/dist/MagnifierPrograms-5042ccad.js +0 -806
- package/dist/MapImageLayer-f3e35db3.js +0 -169
- package/dist/MapImageLayerView2D-98cfaffb.js +0 -146
- package/dist/MapNotesLayer-6942570f.js +0 -283
- package/dist/MapNotesLayerView2D-b641bba4.js +0 -161
- package/dist/MapServiceLayerViewHelper-9111fb4f.js +0 -288
- package/dist/MeasurementWidgetContent-a66f382a.js +0 -2642
- package/dist/MediaLayer-585e1067.js +0 -523
- package/dist/MediaLayerView2D-74d90bf4.js +0 -332
- package/dist/MemCache-1532e921.js +0 -227
- package/dist/MemorySourceWorker-ba059303.js +0 -222
- package/dist/Mesh-43d631db.js +0 -980
- package/dist/MeshLocalVertexSpace-f9cc6881.js +0 -19
- package/dist/MultiOriginJSONSupport-ec8788e6.js +0 -158
- package/dist/OGCFeatureLayer-5e327659.js +0 -211
- package/dist/OGCFeatureLayerView2D-d0104fdc.js +0 -82
- package/dist/ObjectStack-2d389b76.js +0 -21
- package/dist/Octree-1dba17ba.js +0 -495
- package/dist/OpenStreetMapLayer-dc083119.js +0 -30
- package/dist/OperationalLayer-d43d80b1.js +0 -44
- package/dist/OrderByInfo-26301234.js +0 -16
- package/dist/OrderedLayer-36fe0e60.js +0 -26
- package/dist/OrientedImageryLayer-21689d88.js +0 -216
- package/dist/OverlayCompositing.glsl-f80836ca.js +0 -65
- package/dist/OverrideHelper-880a7e09.js +0 -242
- package/dist/PBFDecoderWorker-b5f6d890.js +0 -213
- package/dist/PointCloudLayer-899f6a49.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-8a477087.js +0 -115
- package/dist/PointCloudWorker-4bea79e8.js +0 -212
- package/dist/PooledRBush-df73bc2a.js +0 -272
- package/dist/Popup-e01092b4.js +0 -3990
- package/dist/PortalLayer-daca6a23.js +0 -126
- package/dist/Program-8b1e5f48.js +0 -694
- package/dist/ProgramTemplate-e4360f44.js +0 -35
- package/dist/QueryEngine-ca1511e3.js +0 -896
- package/dist/QueryTask-c9fa71fa.js +0 -119
- package/dist/RasterSymbolizer-1644d7a7.js +0 -3024
- package/dist/RasterVFDisplayObject-7ec19876.js +0 -581
- package/dist/RasterWorker-2d320094.js +0 -78
- package/dist/RawBlockCache-86e6c5d3.js +0 -185
- package/dist/RealisticTree.glsl-65abf4e9.js +0 -42
- package/dist/RefreshableLayer-a0708abb.js +0 -80
- package/dist/RefreshableLayerView-2b6aca24.js +0 -16
- package/dist/Relationship-ef9ae528.js +0 -64
- package/dist/RelationshipQuery-8a39148b.js +0 -22
- package/dist/RenderingContext-e718bfed.js +0 -889
- package/dist/RibbonLine.glsl-e82fb3bb.js +0 -65
- package/dist/RouteLayer-06ecd24a.js +0 -786
- package/dist/RouteLayerView2D-26c96396.js +0 -195
- package/dist/SDFHelper-70cff23b.js +0 -140
- package/dist/SSAO.glsl-54f15911.js +0 -43
- package/dist/SSAOBlur.glsl-cbd829bc.js +0 -42
- package/dist/ScaleRangeLayer-dc6d9c0e.js +0 -21
- package/dist/SceneLayer-255b45af.js +0 -542
- package/dist/SceneLayerSnappingSource-8969a32e.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-17673240.js +0 -112
- package/dist/SceneLayerWorker-46a764a8.js +0 -164
- package/dist/SceneService-bbc3f4e5.js +0 -215
- package/dist/Scheduler-e3ad50f2.js +0 -373
- package/dist/ShadedColorMaterial.glsl-8e194f81.js +0 -64
- package/dist/SnappingOperation-d12c0cd0.js +0 -48
- package/dist/SourceLayerData-054d8bb6.js +0 -116
- package/dist/SpatialFilter-ba146c95.js +0 -1701
- package/dist/Stop-38c9a9d4.js +0 -281
- package/dist/StreamLayer-9d300b87.js +0 -188
- package/dist/StreamLayerView2D-d80b90e9.js +0 -164
- package/dist/StyleRepository-e8c44bab.js +0 -2212
- package/dist/SublayersOwner-469b921a.js +0 -545
- package/dist/SubtypeGroupLayer-e467307a.js +0 -514
- package/dist/SubtypeGroupLayerView2D-41ed7e6f.js +0 -84
- package/dist/TechniqueInstance-9c0d4dcf.js +0 -233
- package/dist/TemporalLayer-011ac13a.js +0 -23
- package/dist/Texture-b28260ca.js +0 -501
- package/dist/TextureOnly.glsl-87d0e898.js +0 -65
- package/dist/Theme-bf54db6d.js +0 -3426
- package/dist/Tick-5be5a637.js +0 -723
- package/dist/TileContainer-09ca940a.js +0 -31
- package/dist/TileInfoTilemapCache-26485a76.js +0 -38
- package/dist/TileLayer-b0580f1d.js +0 -194
- package/dist/TileLayerView2D-e4561937.js +0 -187
- package/dist/TilemapCache-d2163c80.js +0 -189
- package/dist/TimeInfo-68d2df8b.js +0 -42
- package/dist/TimeOnly-bb600899.js +0 -706
- package/dist/Tooltip-927072f3.js +0 -138
- package/dist/TopFeaturesQuery-77f00fe7.js +0 -32
- package/dist/TurboLine-87dd880a.js +0 -565
- package/dist/UniqueValueRenderer-56a91680.js +0 -1039
- package/dist/UnknownLayer-6b7b3c5d.js +0 -30
- package/dist/UnknownTimeZone-e62caf07.js +0 -15
- package/dist/UnsupportedLayer-16a90c0a.js +0 -31
- package/dist/UpdateTracking2D-bf4e8a89.js +0 -8566
- package/dist/Util-6762e3c9.js +0 -57
- package/dist/VectorTileLayer-3c42b01b.js +0 -544
- package/dist/VectorTileLayerView2D-3af619aa.js +0 -2108
- package/dist/Version-9c75ca2b.js +0 -33
- package/dist/VertexArrayObject-e736d4c8.js +0 -73
- package/dist/VertexColor.glsl-69e78e7a.js +0 -2683
- package/dist/VertexSnappingCandidate-10823eb3.js +0 -13
- package/dist/VideoLayerView2D-68e687b0.js +0 -124
- package/dist/VoxelLayer-76005caf.js +0 -631
- package/dist/WFSLayer-398b281f.js +0 -221
- package/dist/WFSSourceWorker-7506acff.js +0 -157
- package/dist/WGLContainer-f2c4f5da.js +0 -5426
- package/dist/WMSLayer-6fbfc745.js +0 -536
- package/dist/WMSLayerView2D-63dda194.js +0 -117
- package/dist/WMTSLayer-6492359f.js +0 -531
- package/dist/WMTSLayerView2D-5daae3fe.js +0 -142
- package/dist/WebTileLayer-5f7595df.js +0 -110
- package/dist/WhereClause-a8fc45da.js +0 -2766
- package/dist/WorkerHandle-11931750.js +0 -47
- package/dist/WorkerTileHandler-b53b5efc.js +0 -1539
- package/dist/action-b5c3b319.js +0 -198
- package/dist/action-group-01e02696.js +0 -145
- package/dist/action-menu-e0ddae4e.js +0 -1759
- package/dist/apng-9d467a98.js +0 -392
- package/dist/arcade-71dc610e.js +0 -229
- package/dist/arcadeAsyncRuntime-146d9fb6.js +0 -943
- package/dist/arcadeUtils-f7ed3399.js +0 -8741
- package/dist/arcgis-knowledge-client-core-b8fef5b0.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-d54c7150.js +0 -1218
- package/dist/arcgisLayers-8d42568b.js +0 -152
- package/dist/associatedFeatureServiceUtils-c50f28e9.js +0 -92
- package/dist/axisAngleDegrees-ea89c136.js +0 -49
- package/dist/basis_transcoder-39fbc6ae.js +0 -1248
- package/dist/calcite-action-264e28ab.js +0 -22
- package/dist/calcite-action-bar-6ec66445.js +0 -303
- package/dist/calcite-action-group-85d021dc.js +0 -28
- package/dist/calcite-button-8a5af2ce.js +0 -228
- package/dist/calcite-flow-9b5e43fd.js +0 -128
- package/dist/calcite-flow-item-0089f891.js +0 -499
- package/dist/calcite-icon-c20a8db7.js +0 -16
- package/dist/calcite-input-24e48df5.js +0 -24
- package/dist/calcite-label-9e4dcb66.js +0 -79
- package/dist/calcite-list-711dcec1.js +0 -2135
- package/dist/calcite-list-item-1a29c5f1.js +0 -576
- package/dist/calcite-list-item-group-b69dedb8.js +0 -71
- package/dist/calcite-loader-e8b209f6.js +0 -14
- package/dist/calcite-modal-5e518e4c.js +0 -333
- package/dist/calcite-notice-25463d4d.js +0 -181
- package/dist/calcite-option-113080c1.js +0 -94
- package/dist/calcite-scrim-423337f4.js +0 -18
- package/dist/calcite-select-cd1e7e86.js +0 -231
- package/dist/capabilities-e7ea2422.js +0 -50
- package/dist/chartCommon-beb757c5.js +0 -256
- package/dist/chartUtilsAm5-6eaf385e.js +0 -2954
- package/dist/clientSideDefaults-366deb67.js +0 -39
- package/dist/colorRamps-4ea8b8f7.js +0 -38
- package/dist/colorUtils-611a3fa1.js +0 -164
- package/dist/commonProperties-3f86f534.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-db6fb1b6.js +0 -60
- package/dist/conditionalSlot-4bf2837a.js +0 -27
- package/dist/createConnection-0754c362.js +0 -299
- package/dist/dataUtils-ebb55aab.js +0 -1421
- package/dist/deduplicate-af05e046.js +0 -89
- package/dist/defaults-f025f8a3.js +0 -31
- package/dist/deleteForwardEdits-0b666266.js +0 -13
- package/dist/diffUtils-b887dbbc.js +0 -90
- package/dist/drapedUtils-82fba1a5.js +0 -75
- package/dist/earcut-da8e2a55.js +0 -292
- package/dist/edgeProcessing-d7499657.js +0 -252
- package/dist/editingSupport-4b7813cf.js +0 -203
- package/dist/editsZScale-4a6ee4aa.js +0 -37
- package/dist/elevationInfoUtils-c20557cb.js +0 -126
- package/dist/executeForIds-6a55aa95.js +0 -14
- package/dist/executeForTopCount-7ffc37ac.js +0 -17
- package/dist/executeForTopExtents-191307d3.js +0 -17
- package/dist/executeForTopIds-f644d448.js +0 -17
- package/dist/executeQueryJSON-c5616d7b.js +0 -15
- package/dist/executeQueryPBF-807fb886.js +0 -152
- package/dist/executeRelationshipQuery-d5a1463b.js +0 -53
- package/dist/executeTopFeaturesQuery-6bb737a8.js +0 -18
- package/dist/featureConversionUtils-8fd0a407.js +0 -479
- package/dist/featureLayerUtils-37c96c26.js +0 -250
- package/dist/featureLayerUtils-cd009ccc.js +0 -142
- package/dist/featureSetUtils-f54946cf.js +0 -2530
- package/dist/featuresetbase-5a262736.js +0 -707
- package/dist/featuresetgeom-b772f260.js +0 -99
- package/dist/featuresetstats-fecaae94.js +0 -81
- package/dist/featuresetstring-8d32b66d.js +0 -95
- package/dist/fetchService-41c786e9.js +0 -33
- package/dist/fieldProperties-0a31a020.js +0 -33
- package/dist/floatRGBA-bcce207e.js +0 -20
- package/dist/form-8bc80cb2.js +0 -138
- package/dist/geohashUtils-5b115834.js +0 -85
- package/dist/geojson-33ba4718.js +0 -208
- package/dist/geomasync-9ccbb40e.js +0 -567
- package/dist/geometryEngine-5d1edffb.js +0 -192
- package/dist/geometryEngineAsync-65f20167.js +0 -217
- package/dist/geometryEngineBase-4107554c.js +0 -18463
- package/dist/geometryEngineJSON-96ac95b3.js +0 -46
- package/dist/geometryEngineJSON-fecd2377.js +0 -171
- package/dist/geometryEngineWorker-3cc93f48.js +0 -11
- package/dist/geometryServiceUtils-99ffac76.js +0 -28
- package/dist/georeference-597e7b2a.js +0 -291
- package/dist/gif-24ef6c2c.js +0 -323
- package/dist/gltfexport-f5557b01.js +0 -705
- package/dist/groupLayerUtils-429ce1be.js +0 -39
- package/dist/heatmapUtils-582b52e1.js +0 -45
- package/dist/highlightReasons-6f0f9ef6.js +0 -19
- package/dist/hydrated-31a838fb.js +0 -40
- package/dist/i3s-3437a8f0.js +0 -809
- package/dist/icon-6764e79e.js +0 -127
- package/dist/imageBitmapUtils-d56cd963.js +0 -23
- package/dist/imageUtils-5fc5f2e1.js +0 -69
- package/dist/imageUtils-d0a1bdd3.js +0 -89
- package/dist/imageryUtils-31c938b0.js +0 -43
- package/dist/index-a8d87ec0.js +0 -45604
- package/dist/input-message-067fbc56.js +0 -92
- package/dist/input2-d25d1697.js +0 -575
- package/dist/interactive-79c8f5d7.js +0 -80
- package/dist/jsonContext-b5489a22.js +0 -15
- package/dist/jsonUtils-34961e68.js +0 -86
- package/dist/jsonUtils-65dc6fdf.js +0 -476
- package/dist/jsonUtils-980c608d.js +0 -59
- package/dist/kmlUtils-b1b9817a.js +0 -112
- package/dist/knowledgeGraphService-53d3ffbb.js +0 -739
- package/dist/knowledgegraph-bd84abd0.js +0 -149
- package/dist/labelUtils-333abe25.js +0 -61
- package/dist/labelingInfo-6d452fa4.js +0 -46
- package/dist/layersCreator-2cc797a3.js +0 -151
- package/dist/layersLoader-028db48b.js +0 -197
- package/dist/lazyLayerLoader-2dd5721b.js +0 -10
- package/dist/lclayout-44591238.js +0 -773
- package/dist/lengthUtils-7339106c.js +0 -5
- package/dist/lerc-wasm-49e10ccb.js +0 -325
- package/dist/libtess-asm-ac16428b.js +0 -3673
- package/dist/libtess-f4e34dcf.js +0 -269
- package/dist/lineSegment-0e4aefd8.js +0 -76
- package/dist/loadGLTFMesh-4afc2514.js +0 -181
- package/dist/loadable-a2fd544f.js +0 -24
- package/dist/loader-fbae5e8f.js +0 -79
- package/dist/lyr3DWorker-1fc30357.js +0 -2108
- package/dist/mapViewDeps-59a6c6c7.js +0 -3052
- package/dist/mediaLayerUtils-642a4077.js +0 -35
- package/dist/meshFeatureSet-91312223.js +0 -126
- package/dist/meshVertexSpaceUtils-48eddc77.js +0 -58
- package/dist/multidimensionalUtils-705f0902.js +0 -290
- package/dist/normalizeUtilsSync-71d587bd.js +0 -181
- package/dist/number-063f85f4.js +0 -128
- package/dist/objectResourceUtils-0e881546.js +0 -1455
- package/dist/observers-745d564e.js +0 -30
- package/dist/ogcFeatureUtils-80329692.js +0 -206
- package/dist/openCloseComponent-1c398ac3.js +0 -37
- package/dist/orientedBoundingBox-a29567df.js +0 -447
- package/dist/parser-65ddb097.js +0 -488
- package/dist/pbf-b0a9807c.js +0 -215
- package/dist/pbfQueryUtils-3cd28b30.js +0 -422
- package/dist/pe-wasm-fe3a1187.js +0 -887
- package/dist/persistable-36a3796e.js +0 -89
- package/dist/perspectiveUtils-b75aeded.js +0 -42
- package/dist/pieChart-bc276742.js +0 -555
- package/dist/plane-79192909.js +0 -160
- package/dist/popupUtils-022834aa.js +0 -22
- package/dist/popupUtils-4b2bd688.js +0 -50
- package/dist/portalItemUtils-052627b4.js +0 -57
- package/dist/portalLayers-3be98e63.js +0 -312
- package/dist/portalUtils-b665fd61.js +0 -7
- package/dist/programUtils-00a4e18d.js +0 -59
- package/dist/project-032d84cf.js +0 -21
- package/dist/projectPointToVector-3a48d9a2.js +0 -14
- package/dist/projectVectorToVector-4c6a3902.js +0 -13
- package/dist/quantityUtils-a39f9287.js +0 -33
- package/dist/quantizationUtils-4616cce9.js +0 -68
- package/dist/quat-5e906b75.js +0 -104
- package/dist/query-2ab99d18.js +0 -89
- package/dist/queryAttachments-15a42419.js +0 -39
- package/dist/queryEngineUtils-ff4789cd.js +0 -21
- package/dist/queryTopFeatures-5eb3ccc9.js +0 -50
- package/dist/queryZScale-62422052.js +0 -12
- package/dist/rasterProjectionHelper-b605f2ee.js +0 -577
- package/dist/rasterUtils-f2036a08.js +0 -122
- package/dist/rasterizingUtils-0c9cf9ce.js +0 -46
- package/dist/request-00229175.js +0 -46
- package/dist/requestImageUtils-90da2619.js +0 -8
- package/dist/resourceExtension-eadbfa3f.js +0 -17
- package/dist/resourceUtils-28b3c1e8.js +0 -42
- package/dist/resourceUtils-4e9ccf63.js +0 -69
- package/dist/resourceUtils-666fad8a.js +0 -62
- package/dist/saveAPIKeyUtils-1a4f92e5.js +0 -8
- package/dist/saveUtils-5b62c0b1.js +0 -24
- package/dist/scaleUtils-6153583e.js +0 -23
- package/dist/scrim-6e0e08c4.js +0 -114
- package/dist/serviceCapabilitiesUtils-96f8d393.js +0 -64
- package/dist/sourceUtils-5aee3b16.js +0 -71
- package/dist/sphere-512478f6.js +0 -199
- package/dist/statsWorker-183f2d29.js +0 -37
- package/dist/streamLayerUtils-a1e8e58a.js +0 -31
- package/dist/styleUtils-49a8dabd.js +0 -14
- package/dist/styleUtils-52e000d6.js +0 -75
- package/dist/sublayerUtils-65a83d58.js +0 -37
- package/dist/substitute-0272cab6.js +0 -52
- package/dist/symbolColorUtils-261cba60.js +0 -8
- package/dist/symbolLayerUtils-e0203fd7.js +0 -31
- package/dist/symbologySnappingCandidates-eeda4ddf.js +0 -221
- package/dist/t9n-147b4f00.js +0 -349
- package/dist/testSVGPremultipliedAlpha-e3c11fd6.js +0 -94
- package/dist/timeSupport-3ddd7e4b.js +0 -410
- package/dist/triangle-28fd7dff.js +0 -98
- package/dist/unitConversionUtils-df3ffd70.js +0 -17
- package/dist/unitFormatUtils-d857519e.js +0 -40
- package/dist/uploadAssetErrors-18a6fad7.js +0 -70
- package/dist/uploadAssets-f2c89175.js +0 -330
- package/dist/utils-214b98cc.js +0 -91
- package/dist/utils-283fbef1.js +0 -34
- package/dist/utils-333b2280.js +0 -2746
- package/dist/utils-7202e24d.js +0 -232
- package/dist/utils-a7d5b733.js +0 -419
- package/dist/utils-cffde1b1.js +0 -433
- package/dist/utils-e4309923.js +0 -79
- package/dist/utils-e582955c.js +0 -73
- package/dist/utils3-d4b9a6af.js +0 -75
- package/dist/vec3-d9885b29.js +0 -81
- package/dist/vec42-d5675dd5.js +0 -125
- package/dist/versionUtils-2a4f90d3.js +0 -161
- package/dist/visualVariableUtils-d45d2e59.js +0 -267
- package/dist/webStyleSymbolUtils-5d8e6604.js +0 -48
- package/dist/webglDeps-c5e1e661.js +0 -23
- package/dist/wfsUtils-a004cee1.js +0 -343
- package/dist/workerHelper-a0956a07.js +0 -11
- package/dist/xyChart-e8a9ed1d.js +0 -3335
|
@@ -1,1759 +0,0 @@
|
|
|
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-a8d87ec0.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-147b4f00.js";
|
|
5
|
-
import { s as qe, a as Ge, c as Qe } from "./loadable-a2fd544f.js";
|
|
6
|
-
import { d as Ze } from "./action-b5c3b319.js";
|
|
7
|
-
import { d as Je } from "./icon-6764e79e.js";
|
|
8
|
-
import { d as et } from "./loader-fbae5e8f.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-1c398ac3.js";
|
|
12
|
-
import { c as Bt } from "./observers-745d564e.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
|
-
};
|