@arcgis/portal-components 5.2.0-next.7 → 5.2.0-next.71
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/README.md +2 -2
- package/dist/cdn/24L3PS2J.js +2 -0
- package/dist/cdn/2BUE3JLM.js +2 -0
- package/dist/cdn/2C6GSZLF.js +2 -0
- package/dist/cdn/2GBRZSEC.js +2 -0
- package/dist/cdn/2IIE3YY2.js +660 -0
- package/dist/cdn/2RMN34M3.js +2 -0
- package/dist/cdn/2WI5FBDF.js +2 -0
- package/dist/cdn/3CGDAKQD.js +2 -0
- package/dist/cdn/3IA7YX3J.js +2 -0
- package/dist/cdn/{GQFWFZXP.js → 3OBIA66A.js} +1 -1
- package/dist/cdn/3VHKKQKD.js +2 -0
- package/dist/cdn/4JYY326A.js +2 -0
- package/dist/cdn/4Q6KHGPX.js +2 -0
- package/dist/cdn/4QA4AYHJ.js +3 -0
- package/dist/cdn/556LTKMV.js +2 -0
- package/dist/cdn/55FL7WQV.js +2 -0
- package/dist/cdn/56LBNVWI.js +2 -0
- package/dist/cdn/5GK4VL6E.js +2 -0
- package/dist/cdn/5YULDF4I.js +2 -0
- package/dist/cdn/{7WZHZP6U.js → 63THOLAY.js} +9 -3
- package/dist/cdn/66QLSGRO.js +2 -0
- package/dist/cdn/{DHHSKOUY.js → 6BUBZ7WC.js} +1 -1
- package/dist/cdn/6KVA4AKM.js +2 -0
- package/dist/cdn/6TO2BYXU.js +2 -0
- package/dist/cdn/7FER4S6E.js +2 -0
- package/dist/cdn/7X4JEFCG.js +2 -0
- package/dist/cdn/7XINE67Y.js +2 -0
- package/dist/cdn/A4AA5T6M.js +2 -0
- package/dist/cdn/{WOZDQW3S.js → AAHGOYVY.js} +1 -1
- package/dist/cdn/ABNBGV65.js +2 -0
- package/dist/cdn/ADHQAGMF.js +2 -0
- package/dist/cdn/{QNUYUNEY.js → AQLILDJK.js} +1 -1
- package/dist/cdn/AVMIEBYN.js +2 -0
- package/dist/cdn/B5OENWBU.js +2 -0
- package/dist/cdn/{ZTHTFEYA.js → BGQ633WP.js} +1 -1
- package/dist/cdn/{DKBTJJMW.js → C7ZFXRPS.js} +1 -1
- package/dist/cdn/CFBSBZSS.js +2 -0
- package/dist/cdn/CZQEMMJG.js +2 -0
- package/dist/cdn/{GT26WGJS.js → D4VYYWA6.js} +1 -1
- package/dist/cdn/EBYEZR4N.js +2 -0
- package/dist/cdn/EDPNHNQ2.js +2 -0
- package/dist/cdn/F3ODJVJC.js +2 -0
- package/dist/cdn/FH2SJYYU.js +2 -0
- package/dist/cdn/FL3NSFMY.js +2 -0
- package/dist/cdn/FLXTOBVV.js +2 -0
- package/dist/cdn/G4HKVJ53.js +2 -0
- package/dist/cdn/GIV4XNVY.js +2 -0
- package/dist/cdn/GRQL4XCF.js +2 -0
- package/dist/cdn/H2WZ3ZHI.js +2 -0
- package/dist/cdn/IJ3CLFAU.js +22 -0
- package/dist/cdn/IX2DKW34.js +2 -0
- package/dist/cdn/JTIPENXE.js +2 -0
- package/dist/cdn/JVGCIDQW.js +2 -0
- package/dist/cdn/{3PAHY5KA.js → KNRJ3WXR.js} +1 -1
- package/dist/cdn/L2BME3WC.js +2 -0
- package/dist/cdn/{F6V7MLPY.js → L6KBBJEC.js} +1 -1
- package/dist/cdn/LI7PX6XN.js +2 -0
- package/dist/cdn/LRADZ46B.js +2 -0
- package/dist/cdn/M7DQVQO6.js +2 -0
- package/dist/cdn/N4PON7TR.js +2 -0
- package/dist/cdn/NDMJK6MD.js +66 -0
- package/dist/cdn/OBBYT2AV.js +2 -0
- package/dist/cdn/{53MSUMA3.js → OT4PZJNB.js} +17 -1
- package/dist/cdn/P5PUXFZT.js +2 -0
- package/dist/cdn/PGCNY5GO.js +451 -0
- package/dist/cdn/QE4CNVDQ.js +34 -0
- package/dist/cdn/{AQWTJKUH.js → QKCV7CY2.js} +10 -8
- package/dist/cdn/QS3GXAIH.js +2 -0
- package/dist/cdn/QZD2UBOW.js +2 -0
- package/dist/cdn/RMXAPW7B.js +2 -0
- package/dist/cdn/RPFWESQ4.js +2 -0
- package/dist/cdn/RVCPNNVS.js +2 -0
- package/dist/cdn/SLSCUAED.js +2 -0
- package/dist/cdn/SLTFLCVR.js +99 -0
- package/dist/cdn/TGTT2CVD.js +2 -0
- package/dist/cdn/{DXCPWJU4.js → TKCE4WYE.js} +1 -1
- package/dist/cdn/TQLHU3PC.js +2 -0
- package/dist/cdn/UUGX7XW6.js +2 -0
- package/dist/cdn/UZCHLKLO.js +2 -0
- package/dist/cdn/UZLQALHY.js +2 -0
- package/dist/cdn/V4EVETH3.js +2 -0
- package/dist/cdn/{RR4BIAPA.js → V4EYW3O6.js} +1 -1
- package/dist/cdn/V6VNED6L.js +2 -0
- package/dist/cdn/V6ZHHCLD.js +2 -0
- package/dist/cdn/VMQIDO4Z.js +2 -0
- package/dist/cdn/{74XFARCV.js → VW7DSKPH.js} +1 -1
- package/dist/cdn/W2SYL7IJ.js +71 -0
- package/dist/cdn/{LQ3DMZ3K.js → W3UBNVKL.js} +1 -1
- package/dist/cdn/{W6PSG4GX.js → W4FGRGLV.js} +10 -5
- package/dist/cdn/{SYJSVUUR.js → W4SAWMXS.js} +1 -1
- package/dist/cdn/WBZLQZYR.js +134 -0
- package/dist/cdn/WFBLVCZP.js +2 -0
- package/dist/cdn/WQGRTBPJ.js +2 -0
- package/dist/cdn/XBK3SKPG.js +2 -0
- package/dist/cdn/XDVSCHDD.js +2 -0
- package/dist/cdn/XEK22IDA.js +2 -0
- package/dist/cdn/{LAFNDBTQ.js → XLLMHJCE.js} +1 -1
- package/dist/cdn/Y2XRSYBB.js +2 -0
- package/dist/cdn/Y6LXW5X5.js +2 -0
- package/dist/cdn/YLXNYRQX.js +2 -0
- package/dist/cdn/YPRKDQA4.js +2 -0
- package/dist/cdn/YVKSTDL6.js +2 -0
- package/dist/cdn/ZIHVOT5D.js +2 -0
- package/dist/cdn/assets/portal-account-switcher/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-browser/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-group-badges/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-group-browser/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-group-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-badges/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-favorite/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-type/icons/applicationtheme16.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/applicationtheme32.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/layout16.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/layout32.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/parquetfeaturelayer16.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/parquetfeaturelayer32.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/storymapframe16.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/storymapframe32.svg +1 -0
- package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-navigation/apps/api-for-python.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/appstudio.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcade.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-360-vr.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-earth.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-enterprise.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-experience-builder.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-geoanalytics.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-hub.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-online.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-pro.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-reality-studio.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/arcgis-urban.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/blank.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/business-analyst.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/city-engine.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/collector.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/community-analyst.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/configurable-apps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/dashboards-beta.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/dashboards-classic.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/data-pipelines.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/deeplearningstudio.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/demographics.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/drone2map.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/esri-events.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/essential-apps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/excalibur.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/explorer.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/field-apps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/fieldmaps-beta.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/fieldmaps-ea.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/fieldmaps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/generic-app.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/geobim.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/geoplanner.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/grid-view-9.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/indoor.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/indoors.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/insights.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/instant-apps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/ips.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/knowledge-studio.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/living-atlas.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/location-platform.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/map-maker.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/map-viewer-beta.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/map-viewer-classic.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/map-viewer.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/maps-adobe-cloud.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/maps-for-office.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/maps-for-power-bi.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/maps-for-sharepoint.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/marketplace.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/mission.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/monitor.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/navigator.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/notebook.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/office-apps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/open-data.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/operations-dashboard.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/ortho-maker.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/pro-extension.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/quick-capture.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/redistricting.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/runtime.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/scene-viewer.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/sites.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/solutions.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/story-maps.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/streetmap-premium.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/survey123.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/svg-app-circle.svg +1 -0
- package/dist/cdn/assets/portal-navigation/apps/svg-app-icon.svg +1 -0
- package/dist/cdn/assets/portal-navigation/apps/track-viewer.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/user-type-extension-online.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/user-type-extension.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/vector-tile-style-editor.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/velocity.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/web-app-builder.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/web-editor.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/web-mapping.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/workflow-manager-beta.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/workflow-manager.avif +0 -0
- package/dist/cdn/assets/portal-navigation/apps/workforce.avif +0 -0
- package/dist/cdn/assets/portal-navigation/product-logos/advanced-editing-user-type-extension-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arc-hydro-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-360-vr-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-api-for-python-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-appstudio-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-arcade-expression-language-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-business-analyst-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-cityengine-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-collector-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-community-analyst-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-connectors-for-power-automate-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-dashboards-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-data-interoperability-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-data-pipelines-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-data-reviewer-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-deep-learning-studio-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-drone2map-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-earth-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-enterprise-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-excalibur-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-excalibur-gray-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-experience-builder-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-explorer-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-field-maps-designer-ea-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-field-maps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-flight-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-autocad-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-autodesk-forma-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-developers-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-excel-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-microsoft-365-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-power-apps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-for-teams-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-geoanalytics-engine-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-geobim-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-geoplanner-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-hub-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-image-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-indoors-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-insights-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-instant-apps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-knowledge-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-living-atlas-of-the-world-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-location-platform-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-logo-glyph-32.svg +76 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-for-adobe-creative-cloud-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-for-power-bi-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-for-sharepoint-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-sdk-for-javascript-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-sdks-for-game-engines-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maps-sdks-for-native-apps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-maritime-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-marketplace-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-mission-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-monitor-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-monitor-white-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-navigator-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-notebooks-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-online-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-open-data-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-open-source-apps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-ortho-maker-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-parcel-fabric-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-pipeline-referencing-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-pro-for-intelligence-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-pro-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-quickcapture-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-reality-studio-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-roads-and-highways-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-sites-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-solutions-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-storymaps-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-streetmap-premium-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-survey123-connect-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-survey123-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-tracker-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-urban-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-utility-network-management-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-velocity-glyph-32.svg +6 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-web-appbuilder-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-web-editor-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-workflow-manager-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-workforce-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/arcgis-world-geocoder-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/calcite-design-system-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-community-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-demographics-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-events-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-offline-documentation-center--glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-redistricting-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-reports-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/esri-support-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/map-viewer-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/sceneviewer-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/site-scan-for-arcgis-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/site-scan-for-arcgis-le-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/vector-tile-style-editor-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/product-logos/xr-viewer-glyph-32.svg +1 -0
- package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/dom.js +41 -0
- package/dist/chunks/fieldAddDelete.js +1 -1
- package/dist/chunks/functionalities.js +6 -4
- package/dist/chunks/groups.js +13 -35
- package/dist/chunks/groups2.js +11 -0
- package/dist/chunks/icons.js +11 -0
- package/dist/chunks/info.js +179 -0
- package/dist/chunks/item.js +15 -15
- package/dist/chunks/item2.js +34 -0
- package/dist/chunks/items.js +16 -0
- package/dist/chunks/loadClassificationData.js +19 -19
- package/dist/chunks/portal-account-switcher.js +6 -0
- package/dist/chunks/portal-browser.js +220 -0
- package/dist/chunks/portal-item-badge.js +346 -0
- package/dist/chunks/portal.js +91 -8
- package/dist/chunks/portal2.js +59 -0
- package/dist/chunks/query.js +159 -0
- package/dist/chunks/request.js +87 -0
- package/dist/chunks/requests.js +92 -44
- package/dist/chunks/store.js +14 -0
- package/dist/chunks/string.js +36 -0
- package/dist/chunks/thumbnail.js +189 -0
- package/dist/chunks/ui.js +9 -0
- package/dist/chunks/url.js +17 -0
- package/dist/chunks/user.js +99 -4
- package/dist/chunks/user2.js +13 -107
- package/dist/chunks/users.js +7 -0
- package/dist/chunks/utils.js +88 -0
- package/dist/chunks/utils2.js +653 -0
- package/dist/chunks/verified.js +40 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.d.ts +99 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +365 -0
- package/dist/components/arcgis-portal-account-switcher/index.d.ts +1 -0
- package/dist/components/arcgis-portal-account-switcher/index.js +11 -0
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +100 -0
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.js +31 -0
- package/dist/components/arcgis-portal-account-switcher-accounts/index.d.ts +1 -0
- package/dist/components/arcgis-portal-account-switcher-accounts/index.js +5 -0
- package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +104 -0
- package/dist/components/arcgis-portal-account-switcher-list/customElement.js +51 -0
- package/dist/components/arcgis-portal-account-switcher-list/index.d.ts +1 -0
- package/dist/components/arcgis-portal-account-switcher-list/index.js +7 -0
- package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +62 -3
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +59 -3
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +1768 -592
- package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +34 -0
- package/dist/components/arcgis-portal-browser/customElement.d.ts +243 -0
- package/dist/components/arcgis-portal-browser/customElement.js +16 -0
- package/dist/components/arcgis-portal-browser/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser/index.js +6 -0
- package/dist/components/arcgis-portal-browser/utils/store.d.ts +35 -0
- package/dist/components/arcgis-portal-browser/utils/types.d.ts +24 -0
- package/dist/components/arcgis-portal-browser-actions/customElement.d.ts +185 -0
- package/dist/components/arcgis-portal-browser-actions/customElement.js +73 -0
- package/dist/components/arcgis-portal-browser-actions/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-actions/index.js +6 -0
- package/dist/components/arcgis-portal-browser-actions/types.d.ts +9 -0
- package/dist/components/arcgis-portal-browser-filter-status/customElement.d.ts +193 -0
- package/dist/components/arcgis-portal-browser-filter-status/customElement.js +56 -0
- package/dist/components/arcgis-portal-browser-filter-status/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-filter-status/index.js +5 -0
- package/dist/components/arcgis-portal-browser-pagination/customElement.d.ts +194 -0
- package/dist/components/arcgis-portal-browser-pagination/customElement.js +49 -0
- package/dist/components/arcgis-portal-browser-pagination/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-pagination/index.js +2 -0
- package/dist/components/arcgis-portal-browser-search/customElement.d.ts +195 -0
- package/dist/components/arcgis-portal-browser-search/customElement.js +62 -0
- package/dist/components/arcgis-portal-browser-search/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-search/index.js +3 -0
- package/dist/components/arcgis-portal-browser-sort/customElement.d.ts +196 -0
- package/dist/components/arcgis-portal-browser-sort/customElement.js +93 -0
- package/dist/components/arcgis-portal-browser-sort/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-sort/index.js +9 -0
- package/dist/components/arcgis-portal-browser-sort/utils.d.ts +3 -0
- package/dist/components/arcgis-portal-browser-top-bar/customElement.d.ts +190 -0
- package/dist/components/arcgis-portal-browser-top-bar/customElement.js +50 -0
- package/dist/components/arcgis-portal-browser-top-bar/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-top-bar/index.js +3 -0
- package/dist/components/arcgis-portal-browser-view/customElement.d.ts +21 -0
- package/dist/components/arcgis-portal-browser-view/customElement.js +30 -0
- package/dist/components/arcgis-portal-browser-view/index.d.ts +1 -0
- package/dist/components/arcgis-portal-browser-view/index.js +5 -0
- package/dist/components/arcgis-portal-classification-config/customElement.js +7 -7
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
- package/dist/components/arcgis-portal-field-delete/customElement.js +2 -1
- package/dist/components/arcgis-portal-group-badges/customElement.d.ts +101 -0
- package/dist/components/arcgis-portal-group-badges/customElement.js +51 -0
- package/dist/components/arcgis-portal-group-badges/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-badges/index.js +3 -0
- package/dist/components/arcgis-portal-group-badges/types.d.ts +3 -0
- package/dist/components/arcgis-portal-group-browser/customElement.d.ts +475 -0
- package/dist/components/arcgis-portal-group-browser/customElement.js +492 -0
- package/dist/components/arcgis-portal-group-browser/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-browser/index.js +6 -0
- package/dist/components/arcgis-portal-group-browser/types.d.ts +197 -0
- package/dist/components/arcgis-portal-group-browser-preview/customElement.d.ts +225 -0
- package/dist/components/arcgis-portal-group-browser-preview/customElement.js +150 -0
- package/dist/components/arcgis-portal-group-browser-preview/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-browser-preview/index.js +12 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.d.ts +82 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +93 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/index.js +6 -0
- package/dist/components/arcgis-portal-group-card/customElement.d.ts +169 -0
- package/dist/components/arcgis-portal-group-card/customElement.js +163 -0
- package/dist/components/arcgis-portal-group-card/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-card/index.js +8 -0
- package/dist/components/arcgis-portal-group-thumbnail/customElement.d.ts +32 -0
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +153 -0
- package/dist/components/arcgis-portal-group-thumbnail/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-thumbnail/index.js +3 -0
- package/dist/components/arcgis-portal-info-banner/customElement.d.ts +14 -0
- package/dist/components/arcgis-portal-info-banner/customElement.js +31 -0
- package/dist/components/arcgis-portal-info-banner/index.d.ts +1 -0
- package/dist/components/arcgis-portal-info-banner/index.js +1 -0
- package/dist/components/arcgis-portal-item-actions/customElement.d.ts +74 -0
- package/dist/components/arcgis-portal-item-actions/customElement.js +89 -0
- package/dist/components/arcgis-portal-item-actions/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-actions/index.js +5 -0
- package/dist/components/arcgis-portal-item-badge/customElement.d.ts +260 -0
- package/dist/components/arcgis-portal-item-badge/customElement.js +9 -0
- package/dist/components/arcgis-portal-item-badge/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-badge/index.js +5 -0
- package/dist/components/arcgis-portal-item-badges/customElement.d.ts +48 -0
- package/dist/components/arcgis-portal-item-badges/customElement.js +35 -0
- package/dist/components/arcgis-portal-item-badges/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-badges/index.js +2 -0
- package/dist/components/arcgis-portal-item-badges/types.d.ts +1 -0
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +215 -0
- package/dist/components/arcgis-portal-item-card/customElement.js +190 -0
- package/dist/components/arcgis-portal-item-card/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-card/index.js +10 -0
- package/dist/components/arcgis-portal-item-favorite/customElement.d.ts +36 -0
- package/dist/components/arcgis-portal-item-favorite/customElement.js +66 -0
- package/dist/components/arcgis-portal-item-favorite/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-favorite/index.js +3 -0
- package/dist/components/arcgis-portal-item-favorite/utils.d.ts +4 -0
- package/dist/components/arcgis-portal-item-type/customElement.d.ts +3 -1
- package/dist/components/arcgis-portal-item-type/customElement.js +22 -651
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +40 -38
- package/dist/components/arcgis-portal-navigation/customElement.d.ts +528 -0
- package/dist/components/arcgis-portal-navigation/customElement.js +1849 -0
- package/dist/components/arcgis-portal-navigation/index.d.ts +1 -0
- package/dist/components/arcgis-portal-navigation/index.js +30 -0
- package/dist/components/arcgis-portal-navigation/types.d.ts +44 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +53 -410
- package/dist/components/arcgis-portal-user-avatar/customElement.js +2 -2
- package/dist/components/arcgis-portal-user-popup/customElement.d.ts +5 -2
- package/dist/components/arcgis-portal-user-popup/customElement.js +82 -141
- package/dist/components/arcgis-portal-voice-input/customElement.d.ts +1 -1
- package/dist/components/portal-browser/components/portal-browser-filter/customElement.js +14 -0
- package/dist/components/portal-browser/components/portal-browser-filter/index.js +3 -0
- package/dist/components/portal-browser/components/portal-browser-filter-date/customElement.js +59 -0
- package/dist/components/portal-browser/components/portal-browser-filter-date/index.js +4 -0
- package/dist/components/portal-browser/components/portal-browser-filters/customElement.js +11 -0
- package/dist/components/portal-browser/components/portal-browser-filters/index.js +2 -0
- package/dist/components/portal-group-browser-filters/customElement.js +129 -0
- package/dist/components/portal-group-browser-filters/index.js +5 -0
- package/dist/components/portal-group-browser-pagination/customElement.js +13 -0
- package/dist/components/portal-group-browser-pagination/index.js +2 -0
- package/dist/components/portal-group-browser-sort/customElement.js +16 -0
- package/dist/components/portal-group-browser-sort/index.js +2 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +206 -2
- package/dist/loader.js +28 -4
- package/dist/types/app-switcher.d.ts +71 -0
- package/dist/types/group.d.ts +14 -16
- package/dist/types/item.d.ts +80 -1
- package/dist/types/lumina.d.ts +170 -1
- package/dist/types/portal.d.ts +6 -0
- package/dist/types/preact.d.ts +194 -1
- package/dist/types/react.d.ts +218 -1
- package/dist/types/search.d.ts +30 -0
- package/dist/types/stencil.d.ts +170 -1
- package/dist/types/user.d.ts +16 -3
- package/package.json +9 -10
- package/dist/cdn/35SKVD6F.js +0 -2
- package/dist/cdn/5VSDGPHH.js +0 -2
- package/dist/cdn/72N3KAXN.js +0 -2
- package/dist/cdn/ANPXRYLV.js +0 -5
- package/dist/cdn/B7633S2A.js +0 -422
- package/dist/cdn/BEHLBKKM.js +0 -2
- package/dist/cdn/EVDOPN3G.js +0 -54
- package/dist/cdn/G47ZZQYL.js +0 -2
- package/dist/cdn/G6QT6MYP.js +0 -65
- package/dist/cdn/GAHILDQF.js +0 -45
- package/dist/cdn/GHQ3ZW4U.js +0 -2
- package/dist/cdn/JNRN6DTV.js +0 -2
- package/dist/cdn/K3HS2LQ7.js +0 -2
- package/dist/cdn/KEKBRUUC.js +0 -2
- package/dist/cdn/L3BQK62N.js +0 -2
- package/dist/cdn/MX3F5ZCL.js +0 -2
- package/dist/cdn/O3KBWLGU.js +0 -2
- package/dist/cdn/OQDPULPD.js +0 -2
- package/dist/cdn/RNLVNDGG.js +0 -2
- package/dist/cdn/T25WZ6OL.js +0 -516
- package/dist/cdn/TMYTUOSS.js +0 -2
- package/dist/cdn/UPEVTVNZ.js +0 -2
- package/dist/cdn/V2EOXGK2.js +0 -2
- package/dist/cdn/X5NBQPTM.js +0 -2
- package/dist/cdn/YG5YYL6X.js +0 -2
- package/dist/cdn/YIMNOUTF.js +0 -2
- package/dist/cdn/YL7PGYWC.js +0 -5
- package/dist/cdn/YMPTDKT6.js +0 -2
- package/dist/cdn/YVJRXWM3.js +0 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Shape exported by a TypeScript module under data/capability-registries/. */
|
|
2
|
+
export interface CapabilityRegistry {
|
|
3
|
+
schemaVersion: "1.0";
|
|
4
|
+
capabilities: readonly Capability[];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/** One destination the assistant can take the user to. */
|
|
8
|
+
export interface Capability {
|
|
9
|
+
/** Stable identifier, unique across every registry module. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Display name shown to the user. */
|
|
12
|
+
title: string;
|
|
13
|
+
/** What the capability does; used for matching and suggestion text. */
|
|
14
|
+
description: string;
|
|
15
|
+
/** Example phrasings a user might say to reach this capability. */
|
|
16
|
+
hints: string[];
|
|
17
|
+
/** Portal platforms that offer this capability. */
|
|
18
|
+
platforms: readonly CapabilityPlatform[];
|
|
19
|
+
/** Label for the navigation button */
|
|
20
|
+
buttonLabel?: string;
|
|
21
|
+
resolutions: { navigate: NavigateResolution; };
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type CapabilityPlatform = "enterprise" | "online";
|
|
25
|
+
|
|
26
|
+
/** Host-independent navigation details declared by a capability. */
|
|
27
|
+
export interface NavigateResolution {
|
|
28
|
+
/** Key into the navigation target map, e.g. "content", "groups", or "organization". */
|
|
29
|
+
routeKey: string;
|
|
30
|
+
/** Query parameters appended to the resolved route, e.g. { tab: "security" }. */
|
|
31
|
+
queryParams?: Record<string, string>;
|
|
32
|
+
/** Fragment appended to the resolved route, e.g. "settings". */
|
|
33
|
+
hash?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
+
import type { PortalBrowserStore } from "./utils/store.js";
|
|
4
|
+
import type { BrowserContent, RangeFormatter } from "./utils/types.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
+
|
|
7
|
+
export abstract class ArcgisPortalBrowser extends LitElement {
|
|
8
|
+
/** @internal */
|
|
9
|
+
protected _messages: {
|
|
10
|
+
browser: {
|
|
11
|
+
refineContent: string;
|
|
12
|
+
filters: string;
|
|
13
|
+
pageRange: string;
|
|
14
|
+
pageRangeAria: string;
|
|
15
|
+
pageRangeWithRecycleBin: string;
|
|
16
|
+
pageRangeAriaWithRecycleBin: string;
|
|
17
|
+
totalSize: string;
|
|
18
|
+
loading: string;
|
|
19
|
+
close: string;
|
|
20
|
+
};
|
|
21
|
+
actions: { more: string; };
|
|
22
|
+
filter: { clear: string; };
|
|
23
|
+
filterDate: {
|
|
24
|
+
today: string;
|
|
25
|
+
yesterday: string;
|
|
26
|
+
last7: string;
|
|
27
|
+
last30: string;
|
|
28
|
+
never: string;
|
|
29
|
+
custom: string;
|
|
30
|
+
title: {
|
|
31
|
+
created: string;
|
|
32
|
+
modified: string;
|
|
33
|
+
joined: string;
|
|
34
|
+
lastLogin: string;
|
|
35
|
+
};
|
|
36
|
+
created: string;
|
|
37
|
+
modified: string;
|
|
38
|
+
joined: string;
|
|
39
|
+
lastLogin: string;
|
|
40
|
+
};
|
|
41
|
+
pagination: {
|
|
42
|
+
next: string;
|
|
43
|
+
prev: string;
|
|
44
|
+
};
|
|
45
|
+
search: {
|
|
46
|
+
label: string;
|
|
47
|
+
search: string;
|
|
48
|
+
clear: string;
|
|
49
|
+
wildcard: string;
|
|
50
|
+
};
|
|
51
|
+
sort: {
|
|
52
|
+
sortDirection: string;
|
|
53
|
+
title: string;
|
|
54
|
+
relevance: string;
|
|
55
|
+
modified: string;
|
|
56
|
+
deleted: string;
|
|
57
|
+
created: string;
|
|
58
|
+
added: string;
|
|
59
|
+
size: string;
|
|
60
|
+
owner: string;
|
|
61
|
+
sizeAsc: string;
|
|
62
|
+
sizeDesc: string;
|
|
63
|
+
numviews: string;
|
|
64
|
+
numAsc: string;
|
|
65
|
+
numDesc: string;
|
|
66
|
+
alphabeticalAsc: string;
|
|
67
|
+
alphabeticalDesc: string;
|
|
68
|
+
recentAsc: string;
|
|
69
|
+
recentDesc: string;
|
|
70
|
+
sort: string;
|
|
71
|
+
sortBy: string;
|
|
72
|
+
sortByColon: string;
|
|
73
|
+
fullname: string;
|
|
74
|
+
username: string;
|
|
75
|
+
name: string;
|
|
76
|
+
membertype: string;
|
|
77
|
+
joined: string;
|
|
78
|
+
lastlogin: string;
|
|
79
|
+
dataset: string;
|
|
80
|
+
mfaenabled: string;
|
|
81
|
+
description: string;
|
|
82
|
+
lastSyncFailureCount: string;
|
|
83
|
+
invitationsPendingCount: string;
|
|
84
|
+
participantGroupLinksCount: string;
|
|
85
|
+
defaultAsc: string;
|
|
86
|
+
defaultDesc: string;
|
|
87
|
+
};
|
|
88
|
+
topBar: { filter: string; };
|
|
89
|
+
filterStatus: {
|
|
90
|
+
clear: string;
|
|
91
|
+
filters: string;
|
|
92
|
+
additional: string;
|
|
93
|
+
clearAllFilters: string;
|
|
94
|
+
};
|
|
95
|
+
} & T9nMeta<{
|
|
96
|
+
browser: {
|
|
97
|
+
refineContent: string;
|
|
98
|
+
filters: string;
|
|
99
|
+
pageRange: string;
|
|
100
|
+
pageRangeAria: string;
|
|
101
|
+
pageRangeWithRecycleBin: string;
|
|
102
|
+
pageRangeAriaWithRecycleBin: string;
|
|
103
|
+
totalSize: string;
|
|
104
|
+
loading: string;
|
|
105
|
+
close: string;
|
|
106
|
+
};
|
|
107
|
+
actions: { more: string; };
|
|
108
|
+
filter: { clear: string; };
|
|
109
|
+
filterDate: {
|
|
110
|
+
today: string;
|
|
111
|
+
yesterday: string;
|
|
112
|
+
last7: string;
|
|
113
|
+
last30: string;
|
|
114
|
+
never: string;
|
|
115
|
+
custom: string;
|
|
116
|
+
title: {
|
|
117
|
+
created: string;
|
|
118
|
+
modified: string;
|
|
119
|
+
joined: string;
|
|
120
|
+
lastLogin: string;
|
|
121
|
+
};
|
|
122
|
+
created: string;
|
|
123
|
+
modified: string;
|
|
124
|
+
joined: string;
|
|
125
|
+
lastLogin: string;
|
|
126
|
+
};
|
|
127
|
+
pagination: {
|
|
128
|
+
next: string;
|
|
129
|
+
prev: string;
|
|
130
|
+
};
|
|
131
|
+
search: {
|
|
132
|
+
label: string;
|
|
133
|
+
search: string;
|
|
134
|
+
clear: string;
|
|
135
|
+
wildcard: string;
|
|
136
|
+
};
|
|
137
|
+
sort: {
|
|
138
|
+
sortDirection: string;
|
|
139
|
+
title: string;
|
|
140
|
+
relevance: string;
|
|
141
|
+
modified: string;
|
|
142
|
+
deleted: string;
|
|
143
|
+
created: string;
|
|
144
|
+
added: string;
|
|
145
|
+
size: string;
|
|
146
|
+
owner: string;
|
|
147
|
+
sizeAsc: string;
|
|
148
|
+
sizeDesc: string;
|
|
149
|
+
numviews: string;
|
|
150
|
+
numAsc: string;
|
|
151
|
+
numDesc: string;
|
|
152
|
+
alphabeticalAsc: string;
|
|
153
|
+
alphabeticalDesc: string;
|
|
154
|
+
recentAsc: string;
|
|
155
|
+
recentDesc: string;
|
|
156
|
+
sort: string;
|
|
157
|
+
sortBy: string;
|
|
158
|
+
sortByColon: string;
|
|
159
|
+
fullname: string;
|
|
160
|
+
username: string;
|
|
161
|
+
name: string;
|
|
162
|
+
membertype: string;
|
|
163
|
+
joined: string;
|
|
164
|
+
lastlogin: string;
|
|
165
|
+
dataset: string;
|
|
166
|
+
mfaenabled: string;
|
|
167
|
+
description: string;
|
|
168
|
+
lastSyncFailureCount: string;
|
|
169
|
+
invitationsPendingCount: string;
|
|
170
|
+
participantGroupLinksCount: string;
|
|
171
|
+
defaultAsc: string;
|
|
172
|
+
defaultDesc: string;
|
|
173
|
+
};
|
|
174
|
+
topBar: { filter: string; };
|
|
175
|
+
filterStatus: {
|
|
176
|
+
clear: string;
|
|
177
|
+
filters: string;
|
|
178
|
+
additional: string;
|
|
179
|
+
clearAllFilters: string;
|
|
180
|
+
};
|
|
181
|
+
}>;
|
|
182
|
+
/** @default false */
|
|
183
|
+
accessor alwaysShowContent: boolean;
|
|
184
|
+
/** @default false */
|
|
185
|
+
accessor alwaysShowPagination: boolean | undefined;
|
|
186
|
+
/** @default false */
|
|
187
|
+
accessor alwaysShowSelection: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* @deprecated Preserved for legacy arcgis-browser parity.
|
|
190
|
+
* @default 4
|
|
191
|
+
*/
|
|
192
|
+
accessor api: number;
|
|
193
|
+
/** @default "large" */
|
|
194
|
+
accessor formFactor: "large" | "small";
|
|
195
|
+
/**
|
|
196
|
+
* Height sizing strategy for the browser to use
|
|
197
|
+
* full height will be 100% the height of its parent and scroll internally
|
|
198
|
+
* auto height will grow with the contents of the browser
|
|
199
|
+
*
|
|
200
|
+
* @default "full"
|
|
201
|
+
*/
|
|
202
|
+
accessor height: "auto" | "full";
|
|
203
|
+
/** @default false */
|
|
204
|
+
accessor hideContentTop: boolean;
|
|
205
|
+
/** @default false */
|
|
206
|
+
accessor hideFilters: boolean | undefined;
|
|
207
|
+
/** @default false */
|
|
208
|
+
accessor hideTopBar: boolean | undefined;
|
|
209
|
+
/** @default false */
|
|
210
|
+
accessor loading: boolean;
|
|
211
|
+
/** @default false */
|
|
212
|
+
accessor panel: boolean;
|
|
213
|
+
/** @default false */
|
|
214
|
+
accessor preview: boolean;
|
|
215
|
+
accessor rangeFormatter: RangeFormatter | undefined;
|
|
216
|
+
accessor response: PortalBrowserSearchResponse;
|
|
217
|
+
/** @default "" */
|
|
218
|
+
accessor searchTerm: string;
|
|
219
|
+
accessor selected: BrowserContent | undefined;
|
|
220
|
+
/** @default false */
|
|
221
|
+
accessor showPreSearch: boolean | undefined;
|
|
222
|
+
accessor store: PortalBrowserStore;
|
|
223
|
+
scrollToTop(): Promise<void>;
|
|
224
|
+
readonly arcgisAriaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
225
|
+
readonly arcgisBrowserFilterClear: import("@arcgis/lumina").TargetedEvent<this, null>;
|
|
226
|
+
readonly arcgisBrowserFilterRemove: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
227
|
+
/** @deprecated Use arcgisAriaUpdate instead. */
|
|
228
|
+
readonly ariaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
229
|
+
readonly "@eventTypes": {
|
|
230
|
+
arcgisAriaUpdate: ArcgisPortalBrowser["arcgisAriaUpdate"]["detail"];
|
|
231
|
+
arcgisBrowserFilterClear: ArcgisPortalBrowser["arcgisBrowserFilterClear"]["detail"];
|
|
232
|
+
arcgisBrowserFilterRemove: ArcgisPortalBrowser["arcgisBrowserFilterRemove"]["detail"];
|
|
233
|
+
ariaUpdate: ArcgisPortalBrowser["ariaUpdate"]["detail"];
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface PortalBrowserSearchResponse {
|
|
238
|
+
nextStart?: number;
|
|
239
|
+
num: number;
|
|
240
|
+
start: number;
|
|
241
|
+
total: number;
|
|
242
|
+
results: unknown[];
|
|
243
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import "../../chunks/runtime.js";
|
|
3
|
+
import "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import "@arcgis/core/intl.js";
|
|
5
|
+
import "@arcgis/lumina";
|
|
6
|
+
import "lit";
|
|
7
|
+
import "lit/directives/ref.js";
|
|
8
|
+
import "../../chunks/useT9n.js";
|
|
9
|
+
import "../../chunks/dom.js";
|
|
10
|
+
import "../../chunks/functionalities.js";
|
|
11
|
+
import "../arcgis-portal-browser-filter-status/customElement.js";
|
|
12
|
+
import { A as l } from "../../chunks/portal-browser.js";
|
|
13
|
+
import "../../chunks/store.js";
|
|
14
|
+
export {
|
|
15
|
+
l as ArcgisPortalBrowser
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
+
import "../arcgis-portal-browser-filter-status/index.js";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
6
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
|
+
import type { Accordion as Accordion } from "@esri/calcite-components/components/calcite-accordion";
|
|
3
|
+
|
|
4
|
+
export interface PortalBrowserFilterDetail<T = unknown> {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value: T;
|
|
8
|
+
additionalParams?: unknown;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type PortalBrowserStore = ReturnType<typeof createPortalBrowserStore>;
|
|
12
|
+
|
|
13
|
+
/** @param initialState */
|
|
14
|
+
export function createPortalBrowserStore<Type extends PortalBrowserState>(initialState?: PortalBrowserState): Accessor & Type;
|
|
15
|
+
|
|
16
|
+
export interface PortalBrowserState<Filters extends PortalBrowserTypedFilters = PortalBrowserFilterMap> {
|
|
17
|
+
type?: "group-browser" | "item-browser" | "member-browser";
|
|
18
|
+
width?: number;
|
|
19
|
+
height?: number;
|
|
20
|
+
filterElement?: Accordion;
|
|
21
|
+
filtersEmpty?: boolean;
|
|
22
|
+
topbarEmpty?: boolean;
|
|
23
|
+
sortEmpty?: boolean;
|
|
24
|
+
filtersExpanded?: boolean;
|
|
25
|
+
panel?: boolean;
|
|
26
|
+
preview?: string;
|
|
27
|
+
searchTerm?: string;
|
|
28
|
+
hiddenFilters?: string[];
|
|
29
|
+
filters: Filters & PortalBrowserFilterMap;
|
|
30
|
+
recycleBin?: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type PortalBrowserFilterMap = Record<string, PortalBrowserFilterDetail>;
|
|
34
|
+
|
|
35
|
+
export type PortalBrowserTypedFilters = Partial<Record<string, PortalBrowserFilterDetail>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type PortalGroup from "@arcgis/core/portal/PortalGroup.js";
|
|
2
|
+
import type { ItemSourceJSON } from "../../../types/item.js";
|
|
3
|
+
import type { SearchResultUser } from "../../../types/user.js";
|
|
4
|
+
|
|
5
|
+
/** @param input */
|
|
6
|
+
export type RangeFormatter = (input: RangeFormatInput) => Promise<[string, string]>;
|
|
7
|
+
|
|
8
|
+
export type BrowserContent = ItemSourceJSON[] | PortalGroup[] | SearchResultUser[];
|
|
9
|
+
|
|
10
|
+
export interface BrowserPageDetail {
|
|
11
|
+
start: number;
|
|
12
|
+
total: number;
|
|
13
|
+
num: number;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface RangeFormatInput {
|
|
17
|
+
start: string;
|
|
18
|
+
end: string;
|
|
19
|
+
total: string;
|
|
20
|
+
results: {
|
|
21
|
+
items: string;
|
|
22
|
+
page: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
+
import type { BrowserContent } from "../arcgis-portal-browser/utils/types.js";
|
|
4
|
+
import type { PortalBrowserAction } from "./types.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
+
|
|
7
|
+
export abstract class ArcgisPortalBrowserActions extends LitElement {
|
|
8
|
+
/** @internal */
|
|
9
|
+
protected _messages: {
|
|
10
|
+
browser: {
|
|
11
|
+
refineContent: string;
|
|
12
|
+
filters: string;
|
|
13
|
+
pageRange: string;
|
|
14
|
+
pageRangeAria: string;
|
|
15
|
+
pageRangeWithRecycleBin: string;
|
|
16
|
+
pageRangeAriaWithRecycleBin: string;
|
|
17
|
+
totalSize: string;
|
|
18
|
+
loading: string;
|
|
19
|
+
close: string;
|
|
20
|
+
};
|
|
21
|
+
actions: { more: string; };
|
|
22
|
+
filter: { clear: string; };
|
|
23
|
+
filterDate: {
|
|
24
|
+
today: string;
|
|
25
|
+
yesterday: string;
|
|
26
|
+
last7: string;
|
|
27
|
+
last30: string;
|
|
28
|
+
never: string;
|
|
29
|
+
custom: string;
|
|
30
|
+
title: {
|
|
31
|
+
created: string;
|
|
32
|
+
modified: string;
|
|
33
|
+
joined: string;
|
|
34
|
+
lastLogin: string;
|
|
35
|
+
};
|
|
36
|
+
created: string;
|
|
37
|
+
modified: string;
|
|
38
|
+
joined: string;
|
|
39
|
+
lastLogin: string;
|
|
40
|
+
};
|
|
41
|
+
pagination: {
|
|
42
|
+
next: string;
|
|
43
|
+
prev: string;
|
|
44
|
+
};
|
|
45
|
+
search: {
|
|
46
|
+
label: string;
|
|
47
|
+
search: string;
|
|
48
|
+
clear: string;
|
|
49
|
+
wildcard: string;
|
|
50
|
+
};
|
|
51
|
+
sort: {
|
|
52
|
+
sortDirection: string;
|
|
53
|
+
title: string;
|
|
54
|
+
relevance: string;
|
|
55
|
+
modified: string;
|
|
56
|
+
deleted: string;
|
|
57
|
+
created: string;
|
|
58
|
+
added: string;
|
|
59
|
+
size: string;
|
|
60
|
+
owner: string;
|
|
61
|
+
sizeAsc: string;
|
|
62
|
+
sizeDesc: string;
|
|
63
|
+
numviews: string;
|
|
64
|
+
numAsc: string;
|
|
65
|
+
numDesc: string;
|
|
66
|
+
alphabeticalAsc: string;
|
|
67
|
+
alphabeticalDesc: string;
|
|
68
|
+
recentAsc: string;
|
|
69
|
+
recentDesc: string;
|
|
70
|
+
sort: string;
|
|
71
|
+
sortBy: string;
|
|
72
|
+
sortByColon: string;
|
|
73
|
+
fullname: string;
|
|
74
|
+
username: string;
|
|
75
|
+
name: string;
|
|
76
|
+
membertype: string;
|
|
77
|
+
joined: string;
|
|
78
|
+
lastlogin: string;
|
|
79
|
+
dataset: string;
|
|
80
|
+
mfaenabled: string;
|
|
81
|
+
description: string;
|
|
82
|
+
lastSyncFailureCount: string;
|
|
83
|
+
invitationsPendingCount: string;
|
|
84
|
+
participantGroupLinksCount: string;
|
|
85
|
+
defaultAsc: string;
|
|
86
|
+
defaultDesc: string;
|
|
87
|
+
};
|
|
88
|
+
topBar: { filter: string; };
|
|
89
|
+
filterStatus: {
|
|
90
|
+
clear: string;
|
|
91
|
+
filters: string;
|
|
92
|
+
additional: string;
|
|
93
|
+
clearAllFilters: string;
|
|
94
|
+
};
|
|
95
|
+
} & T9nMeta<{
|
|
96
|
+
browser: {
|
|
97
|
+
refineContent: string;
|
|
98
|
+
filters: string;
|
|
99
|
+
pageRange: string;
|
|
100
|
+
pageRangeAria: string;
|
|
101
|
+
pageRangeWithRecycleBin: string;
|
|
102
|
+
pageRangeAriaWithRecycleBin: string;
|
|
103
|
+
totalSize: string;
|
|
104
|
+
loading: string;
|
|
105
|
+
close: string;
|
|
106
|
+
};
|
|
107
|
+
actions: { more: string; };
|
|
108
|
+
filter: { clear: string; };
|
|
109
|
+
filterDate: {
|
|
110
|
+
today: string;
|
|
111
|
+
yesterday: string;
|
|
112
|
+
last7: string;
|
|
113
|
+
last30: string;
|
|
114
|
+
never: string;
|
|
115
|
+
custom: string;
|
|
116
|
+
title: {
|
|
117
|
+
created: string;
|
|
118
|
+
modified: string;
|
|
119
|
+
joined: string;
|
|
120
|
+
lastLogin: string;
|
|
121
|
+
};
|
|
122
|
+
created: string;
|
|
123
|
+
modified: string;
|
|
124
|
+
joined: string;
|
|
125
|
+
lastLogin: string;
|
|
126
|
+
};
|
|
127
|
+
pagination: {
|
|
128
|
+
next: string;
|
|
129
|
+
prev: string;
|
|
130
|
+
};
|
|
131
|
+
search: {
|
|
132
|
+
label: string;
|
|
133
|
+
search: string;
|
|
134
|
+
clear: string;
|
|
135
|
+
wildcard: string;
|
|
136
|
+
};
|
|
137
|
+
sort: {
|
|
138
|
+
sortDirection: string;
|
|
139
|
+
title: string;
|
|
140
|
+
relevance: string;
|
|
141
|
+
modified: string;
|
|
142
|
+
deleted: string;
|
|
143
|
+
created: string;
|
|
144
|
+
added: string;
|
|
145
|
+
size: string;
|
|
146
|
+
owner: string;
|
|
147
|
+
sizeAsc: string;
|
|
148
|
+
sizeDesc: string;
|
|
149
|
+
numviews: string;
|
|
150
|
+
numAsc: string;
|
|
151
|
+
numDesc: string;
|
|
152
|
+
alphabeticalAsc: string;
|
|
153
|
+
alphabeticalDesc: string;
|
|
154
|
+
recentAsc: string;
|
|
155
|
+
recentDesc: string;
|
|
156
|
+
sort: string;
|
|
157
|
+
sortBy: string;
|
|
158
|
+
sortByColon: string;
|
|
159
|
+
fullname: string;
|
|
160
|
+
username: string;
|
|
161
|
+
name: string;
|
|
162
|
+
membertype: string;
|
|
163
|
+
joined: string;
|
|
164
|
+
lastlogin: string;
|
|
165
|
+
dataset: string;
|
|
166
|
+
mfaenabled: string;
|
|
167
|
+
description: string;
|
|
168
|
+
lastSyncFailureCount: string;
|
|
169
|
+
invitationsPendingCount: string;
|
|
170
|
+
participantGroupLinksCount: string;
|
|
171
|
+
defaultAsc: string;
|
|
172
|
+
defaultDesc: string;
|
|
173
|
+
};
|
|
174
|
+
topBar: { filter: string; };
|
|
175
|
+
filterStatus: {
|
|
176
|
+
clear: string;
|
|
177
|
+
filters: string;
|
|
178
|
+
additional: string;
|
|
179
|
+
clearAllFilters: string;
|
|
180
|
+
};
|
|
181
|
+
}>;
|
|
182
|
+
accessor actions: PortalBrowserAction[];
|
|
183
|
+
accessor selection: BrowserContent | undefined;
|
|
184
|
+
restoreFocus(): Promise<void>;
|
|
185
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as u, nothing as m } from "@arcgis/lumina";
|
|
4
|
+
import { css as p, html as s } from "lit";
|
|
5
|
+
import { createRef as c, ref as l } from "lit/directives/ref.js";
|
|
6
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
7
|
+
import { t as f } from "../../chunks/functionalities.js";
|
|
8
|
+
const w = p`:host{display:flex;justify-content:flex-end;margin-inline:1rem;position:relative}.wrapper{padding-inline-start:.25rem;display:flex;border-inline-start:1px solid var(--calcite-color-border-1);border-inline-end:1px solid var(--calcite-color-border-1)}.tooltip-container{width:9rem}.button{margin-inline-end:.25rem}.measure-container{position:absolute;width:100%;height:0;overflow:hidden}.measure-text{visibility:hidden;height:0;width:auto;overflow:hidden;font-size:var(--calcite-font-size--1)}`;
|
|
9
|
+
class b extends u {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments), this.measureText = c(), this.overflowButton = c(), this.resizeObserver = null, this.actionWidths = [], this._messages = v({ name: "portal-browser", blocking: !0 }), this.buttonPadding = 88, this.moreWidth = 0, this.elementWidth = 0, this.visibleActions = [], this.overflowActions = [], this.calculating = !1, this.actions = [];
|
|
12
|
+
}
|
|
13
|
+
static {
|
|
14
|
+
this.properties = { visibleActions: 16, overflowActions: 16, calculating: 16, actions: 0, selection: 0 };
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.styles = w;
|
|
18
|
+
}
|
|
19
|
+
async restoreFocus() {
|
|
20
|
+
this.lastExecutedAction?.setFocus();
|
|
21
|
+
}
|
|
22
|
+
willUpdate(t) {
|
|
23
|
+
t.has("actions") && (this.measureAndCacheWidths(this.actions), this.calculateOverflow()), t.has("selection") && (this.hasSelection() ? f(100).then(() => {
|
|
24
|
+
this.calculating = !1;
|
|
25
|
+
}) : this.calculating = !0);
|
|
26
|
+
}
|
|
27
|
+
firstUpdated() {
|
|
28
|
+
this.measureAndCacheWidths(this.actions), this.calculateOverflow(), !(typeof ResizeObserver > "u") && (this.resizeObserver = new ResizeObserver((t) => {
|
|
29
|
+
for (const e of t)
|
|
30
|
+
e.contentRect.width > 0 && (this.elementWidth = e.contentRect.width, this.calculateOverflow());
|
|
31
|
+
}), this.resizeObserver.observe(this.el));
|
|
32
|
+
}
|
|
33
|
+
disconnectedCallback() {
|
|
34
|
+
this.resizeObserver?.disconnect(), this.resizeObserver = null, super.disconnectedCallback();
|
|
35
|
+
}
|
|
36
|
+
measureAndCacheWidths(t) {
|
|
37
|
+
const e = this.measureText.value;
|
|
38
|
+
if (!e)
|
|
39
|
+
return;
|
|
40
|
+
this.actionWidths = t.map((o) => (e.textContent = o.text, {
|
|
41
|
+
action: o,
|
|
42
|
+
width: e.offsetWidth + this.buttonPadding
|
|
43
|
+
}));
|
|
44
|
+
const i = this._messages.actions.more;
|
|
45
|
+
e.textContent = i, this.moreWidth = e.scrollWidth + this.buttonPadding;
|
|
46
|
+
}
|
|
47
|
+
calculateOverflow() {
|
|
48
|
+
const t = this.moreWidth, e = this.actionWidths.reduce(({ width: i, visible: o, overflow: r }, { action: a, width: h }) => {
|
|
49
|
+
const n = i + h;
|
|
50
|
+
return n >= this.elementWidth ? { width: n, visible: o, overflow: [...r, a] } : { width: n, visible: [...o, a], overflow: r };
|
|
51
|
+
}, { visible: [], overflow: [], width: t });
|
|
52
|
+
this.visibleActions = e.visible, this.overflowActions = e.overflow;
|
|
53
|
+
}
|
|
54
|
+
hasSelection() {
|
|
55
|
+
return !!this.selection?.length;
|
|
56
|
+
}
|
|
57
|
+
renderButton(t) {
|
|
58
|
+
const e = t.id || `${t.text}-${t.icon || "none"}`;
|
|
59
|
+
return s`<div><calcite-button class="button" .iconStart=${t.icon} @click=${(i) => {
|
|
60
|
+
this.lastExecutedAction = i.currentTarget, t.onClick();
|
|
61
|
+
}} appearance=transparent kind=neutral id=${e ?? m}>${t.text}</calcite-button>${t.tooltip && s`<calcite-tooltip .referenceElement=${e}><span class="tooltip-container">${t.tooltip}</span></calcite-tooltip>` || ""}</div>`;
|
|
62
|
+
}
|
|
63
|
+
render() {
|
|
64
|
+
const t = this.overflowActions.length > 0, e = this._messages.actions.more;
|
|
65
|
+
return s`<div><span class="measure-container"><span class="measure-text" aria-hidden ${l(this.measureText)}></span></span>${this.hasSelection() && (this.visibleActions.length > 0 || t) && !this.calculating && s`<nav class="wrapper">${this.visibleActions.map((i) => this.renderButton(i))}${t && s`<calcite-dropdown width=m placement=bottom-end><calcite-button slot=trigger kind=neutral icon-end=chevron-down appearance=transparent ${l(this.overflowButton)}>${e}</calcite-button><calcite-dropdown-group selection-mode=none>${this.overflowActions.map((i) => s`<calcite-dropdown-item .iconStart=${i.icon || "blank"} @calciteDropdownItemSelect=${() => {
|
|
66
|
+
this.lastExecutedAction = this.overflowButton.value || void 0, i.onClick();
|
|
67
|
+
}}>${i.text}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown>` || ""}</nav>` || ""}</div>`;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
d("arcgis-portal-browser-actions", b);
|
|
71
|
+
export {
|
|
72
|
+
b as ArcgisPortalBrowserActions
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-dropdown";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
6
|
+
export * from "./customElement.js";
|