@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,346 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as I } from "./runtime.js";
|
|
3
|
+
import { LitElement as A, nothing as v, safeClassMap as R } from "@arcgis/lumina";
|
|
4
|
+
import { css as D, html as u } from "lit";
|
|
5
|
+
import { u as C } from "./useT9n.js";
|
|
6
|
+
import { substitute as g } from "@arcgis/core/intl.js";
|
|
7
|
+
import { f as M } from "./user.js";
|
|
8
|
+
import { a as W, b as d, g as h, c as x, d as f, i as B, e as $, f as L, h as K } from "./items.js";
|
|
9
|
+
import { i as E } from "./users.js";
|
|
10
|
+
import { g as O } from "./user2.js";
|
|
11
|
+
import { f as U } from "./verified.js";
|
|
12
|
+
import { a as w, i as b } from "./info.js";
|
|
13
|
+
const _ = D`.badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #dfeffa);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #00619b);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #00619b);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #dfeffa);border:0}.badge--colored{--calcite-chip-icon-color: var(--calcite-color-brand)}.authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #e4f0e4);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #1a6324);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #1a6324);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #e4f0e4)}.deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #fadfdc);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #a82b1e);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #a82b1e);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #fadfdc)}.beta{border:0}.narrow{box-sizing:border-box;width:2rem;--calcite-chip-spacing-unit-l: 0}.narrow--s{width:1.5rem}.narrow--l{width:2.75rem}.tooltip-title{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1);margin:0 0 .25rem;padding:0}.tooltip-text{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-1);margin:0;padding:0}:host-context(.calcite-mode-dark) .badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #214155);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #9fd4f3);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #9fd4f3);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #214155)}:host-context(.calcite-mode-dark) .authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #2b472a);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #a2e4ab);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #a2e4ab);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #2b472a)}:host-context(.calcite-mode-dark) .deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #5e241e);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #5e241e)}`, H = [
|
|
14
|
+
"Operations Dashboard Add In",
|
|
15
|
+
"Operations Dashboard Extension",
|
|
16
|
+
"Operation View",
|
|
17
|
+
"CityEngine Web Scene",
|
|
18
|
+
"Big Data File Share",
|
|
19
|
+
"Globe Document",
|
|
20
|
+
"Map Document",
|
|
21
|
+
"Published Map",
|
|
22
|
+
"Scene Document",
|
|
23
|
+
"Map Template",
|
|
24
|
+
"Mobile Basemap Package",
|
|
25
|
+
"Desktop Add In"
|
|
26
|
+
], q = [
|
|
27
|
+
"Cascade",
|
|
28
|
+
"MapTour",
|
|
29
|
+
"MapJournal",
|
|
30
|
+
"MapSeries",
|
|
31
|
+
"Shortlist",
|
|
32
|
+
"StoryMapCrowdsource",
|
|
33
|
+
"StorytellingSwipe"
|
|
34
|
+
], G = {
|
|
35
|
+
"Geoprocessing Package": ".gpk",
|
|
36
|
+
Layer: ".lyr",
|
|
37
|
+
"Layer Package": ".lpk",
|
|
38
|
+
"Map Package": ".mpk",
|
|
39
|
+
"Scene Package": ".spk"
|
|
40
|
+
}, y = "", N = "template_name";
|
|
41
|
+
function z(e) {
|
|
42
|
+
const t = decodeURIComponent(e.url || h(e).url || "");
|
|
43
|
+
return q.find((i) => t.includes(`/apps/${i}/index.html`));
|
|
44
|
+
}
|
|
45
|
+
function F(e) {
|
|
46
|
+
return K(e);
|
|
47
|
+
}
|
|
48
|
+
function J(e) {
|
|
49
|
+
return L(e);
|
|
50
|
+
}
|
|
51
|
+
function V(e) {
|
|
52
|
+
return $(e);
|
|
53
|
+
}
|
|
54
|
+
function P(e) {
|
|
55
|
+
return e.type === "Web Mapping Application" && d(e).includes("Web AppBuilder");
|
|
56
|
+
}
|
|
57
|
+
function m(e, t) {
|
|
58
|
+
return (t?.isPortal ?? !1) && d(e).includes("AppBuilder Extension");
|
|
59
|
+
}
|
|
60
|
+
function T(e, t) {
|
|
61
|
+
const i = d(e), a = ["HTML3D/HTML", "App Builder", "Widget"], r = ["HTML3D/HTML", "Web AppBuilder", "Widget"], n = e.type === "Web Mapping Application" && i.includes("Web AppBuilder"), c = e.type === "Web Mapping Application" && i.includes("WABTemplate"), l = e.type === "AppBuilder Widget Package" && i.some((o) => a.includes(o)), s = e.type === "Web AppBuilder Widget" && i.some((o) => r.includes(o));
|
|
62
|
+
return n || c || l || s || m(e, t);
|
|
63
|
+
}
|
|
64
|
+
function j(e, t) {
|
|
65
|
+
return t?.isPortal && [
|
|
66
|
+
"Insights Workbook",
|
|
67
|
+
"Insights Page",
|
|
68
|
+
"Insights Model",
|
|
69
|
+
"Insights Theme",
|
|
70
|
+
"Insights Workbook Package",
|
|
71
|
+
"Kernel Gateway Connection",
|
|
72
|
+
"Insights Script",
|
|
73
|
+
"Insights Data Engineering Workbook",
|
|
74
|
+
"Insights Data Engineering Model",
|
|
75
|
+
"Relational Database Connection"
|
|
76
|
+
].includes(e.type || "");
|
|
77
|
+
}
|
|
78
|
+
const Q = (e, t) => (t?.isPortal ?? !1) && (P(e) || m(e, t) || b(e) || j(e, t));
|
|
79
|
+
function X(e, t, i) {
|
|
80
|
+
return e.type === t && (h(e).name?.endsWith(i) ?? !1);
|
|
81
|
+
}
|
|
82
|
+
function Y(e) {
|
|
83
|
+
return Object.entries(G).some(
|
|
84
|
+
([t, i]) => X(e, t, i)
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
function Z(e, t) {
|
|
88
|
+
return H.includes(e.type) || Y(e) || w(e) || F(e) || b(e) || Q(e, t);
|
|
89
|
+
}
|
|
90
|
+
function ee(e) {
|
|
91
|
+
return (e.owner || "").toLowerCase().includes("esri") && d(e).includes("Requires Credits");
|
|
92
|
+
}
|
|
93
|
+
function te(e) {
|
|
94
|
+
return (e.owner || "").toLowerCase().includes("esri") && d(e).includes("Requires Subscription");
|
|
95
|
+
}
|
|
96
|
+
function ie(e) {
|
|
97
|
+
return f(e) === "org_authoritative";
|
|
98
|
+
}
|
|
99
|
+
function S(e) {
|
|
100
|
+
return f(e) === "public_authoritative";
|
|
101
|
+
}
|
|
102
|
+
function ae(e, t) {
|
|
103
|
+
return t === "Registered API Key Credentials (Standard)" || t === "Registered OAuth 2.0 Credentials (Standard)" ? y : e[t].title || y;
|
|
104
|
+
}
|
|
105
|
+
function Te(e, t, i) {
|
|
106
|
+
const a = [], r = d(e), n = h(e), c = x(e);
|
|
107
|
+
if ((ie(e) || S(e)) && a.push("Authoritative"), f(e) === "deprecated" && a.push("Deprecated"), T(e, t) && a.push("DeprecatedItemType"), B(e) && a.push("Beta"), e.type === "Solution" && r.includes("ArcGIS Solution") && a.push("Solution"), r.includes("Public Data Collection") && i && a.push("Public Data Collection"), Z(e, t) && a.push("Retired"), c.includes("livingatlas") && a.push("Living Atlas"), c.includes("opendata") && a.push("Open Data"), ee(e) && a.push("Premium"), te(e) && a.push("Subscriber"), n.origin && a.push("Collaboration"), e.owner !== "esri_apps" && n.listed && !t?.isPortal && a.push("Marketplace"), r.includes("Registered App")) {
|
|
108
|
+
const l = t?.isPortal ?? !1;
|
|
109
|
+
if (e.type !== "API Key" && (!l || e.owner !== "esri_apps")) {
|
|
110
|
+
const s = r.includes("APIToken"), o = r.includes("Personal API Token") && !l;
|
|
111
|
+
s ? a.push(
|
|
112
|
+
o ? "Registered API Key Credentials (Personal)" : "Registered API Key Credentials (Standard)"
|
|
113
|
+
) : a.push(
|
|
114
|
+
o ? "Registered OAuth 2.0 Credentials (Personal)" : "Registered OAuth 2.0 Credentials (Standard)"
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return r.includes("hasReplacementItem") && a.push("Has Replacement"), a;
|
|
119
|
+
}
|
|
120
|
+
function re({
|
|
121
|
+
badgeType: e,
|
|
122
|
+
i18n: t,
|
|
123
|
+
portal: i
|
|
124
|
+
}) {
|
|
125
|
+
const a = i?.isPortal ?? !1;
|
|
126
|
+
if (e === "Registered API Key Credentials (Standard)") {
|
|
127
|
+
const r = t[e].title;
|
|
128
|
+
return a ? r.enterprise : r.online;
|
|
129
|
+
}
|
|
130
|
+
if (e === "Registered OAuth 2.0 Credentials (Standard)") {
|
|
131
|
+
const r = t[e].title;
|
|
132
|
+
return a ? r.enterprise : r.online;
|
|
133
|
+
}
|
|
134
|
+
return ae(t, e);
|
|
135
|
+
}
|
|
136
|
+
function se(e) {
|
|
137
|
+
const t = {
|
|
138
|
+
MapSeries: "Series",
|
|
139
|
+
MapJournal: "Journal",
|
|
140
|
+
SwipeSpyglass: "Swipe & Spyglass",
|
|
141
|
+
Shortlist: "Shortlist",
|
|
142
|
+
Cascade: "Cascade",
|
|
143
|
+
MapTour: "Tour",
|
|
144
|
+
StoryMapCrowdsource: "Crowdsource",
|
|
145
|
+
StorytellingSwipe: "Swipe & Spyglass"
|
|
146
|
+
}, a = d(e).find((n) => n in t);
|
|
147
|
+
if (a)
|
|
148
|
+
return t[a];
|
|
149
|
+
const r = z(e);
|
|
150
|
+
return r && t[r] || !1;
|
|
151
|
+
}
|
|
152
|
+
async function oe({
|
|
153
|
+
badgeType: e,
|
|
154
|
+
i18n: t,
|
|
155
|
+
item: i,
|
|
156
|
+
locale: a,
|
|
157
|
+
portal: r,
|
|
158
|
+
user: n,
|
|
159
|
+
useProduction: c
|
|
160
|
+
}) {
|
|
161
|
+
const l = !n || E(n);
|
|
162
|
+
switch (e) {
|
|
163
|
+
case "Authoritative": {
|
|
164
|
+
if (S(i)) {
|
|
165
|
+
const s = await U(i, a, r, c), o = t.Authoritative.tooltip, p = r?.isPortal && !c ? r?.name : s?.name || r?.name || i.owner;
|
|
166
|
+
return g(o.public, { name: p || "" });
|
|
167
|
+
}
|
|
168
|
+
return t.Authoritative.tooltip.org;
|
|
169
|
+
}
|
|
170
|
+
case "Deprecated": {
|
|
171
|
+
const s = i.owner || "", o = await M(s, r, c), p = O(o, a);
|
|
172
|
+
return g(t.Deprecated.tooltip, { owner: p });
|
|
173
|
+
}
|
|
174
|
+
case "DeprecatedItemType": {
|
|
175
|
+
const s = t.DeprecatedItemType.tooltip;
|
|
176
|
+
return T(i, r) ? s.webAppBuilder : s.general;
|
|
177
|
+
}
|
|
178
|
+
case "Retired": {
|
|
179
|
+
const s = t.Retired.tooltip;
|
|
180
|
+
if (w(i)) {
|
|
181
|
+
const o = se(i);
|
|
182
|
+
if (o) {
|
|
183
|
+
const p = { [N]: o };
|
|
184
|
+
return g(s.classicStoryMap, p);
|
|
185
|
+
}
|
|
186
|
+
return s.classicStoryMapGeneric;
|
|
187
|
+
}
|
|
188
|
+
return V(i) ? s.cityEngine : P(i) || m(i, r) ? s.webAppBuilder : b(i) ? s.app : J(i) ? s.bdfs : s.general;
|
|
189
|
+
}
|
|
190
|
+
case "Subscriber": {
|
|
191
|
+
const s = t.Subscriber.tooltip;
|
|
192
|
+
return l ? s.public : s.org;
|
|
193
|
+
}
|
|
194
|
+
case "Premium": {
|
|
195
|
+
const s = t.Premium.tooltip;
|
|
196
|
+
return l ? s.public : s.org;
|
|
197
|
+
}
|
|
198
|
+
case "Registered": {
|
|
199
|
+
const s = t.Registered.tooltip;
|
|
200
|
+
return r?.isPortal ? s.enterprise : s.online;
|
|
201
|
+
}
|
|
202
|
+
case "Personal credential":
|
|
203
|
+
return t["Personal credential"].tooltip;
|
|
204
|
+
case "Has Replacement": {
|
|
205
|
+
const s = t["Has Replacement"];
|
|
206
|
+
return r.isPortal ? (globalThis.location?.href || "").includes("item.html") ? s.itemPageTooltip : s.tooltip : s.itemPageTooltip;
|
|
207
|
+
}
|
|
208
|
+
default:
|
|
209
|
+
return t[e].tooltip;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
function ne({
|
|
213
|
+
badgeType: e,
|
|
214
|
+
i18n: t,
|
|
215
|
+
item: i,
|
|
216
|
+
portal: a
|
|
217
|
+
}) {
|
|
218
|
+
if (e !== "Has Replacement" || a.isPortal)
|
|
219
|
+
return null;
|
|
220
|
+
const r = W(i);
|
|
221
|
+
return r ? {
|
|
222
|
+
title: t["Has Replacement"].link,
|
|
223
|
+
href: ce({ portal: a, itemId: r })
|
|
224
|
+
} : null;
|
|
225
|
+
}
|
|
226
|
+
function ce({ itemId: e, portal: t }) {
|
|
227
|
+
return t?.restUrl ? `${t.restUrl.replace("sharing/rest", "home")}/item.html?id=${e}` : "";
|
|
228
|
+
}
|
|
229
|
+
function k() {
|
|
230
|
+
return {
|
|
231
|
+
loading: !1,
|
|
232
|
+
title: "",
|
|
233
|
+
tooltip: "",
|
|
234
|
+
tooltipLink: null
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
class le extends A {
|
|
238
|
+
constructor() {
|
|
239
|
+
super(...arguments), this._messages = C({ name: "portal-item-badges", blocking: !0 }), this.tooltipRequestId = 0, this.tooltipId = `portal-item-badge-${Math.random().toString(36).slice(2, 10)}`, this.details = k(), this.width = "full", this.scale = "m", this.showTooltip = !1;
|
|
240
|
+
}
|
|
241
|
+
static {
|
|
242
|
+
this.properties = { details: 16, item: 0, portal: 0, user: 0, badgeType: 1, width: 1, appearance: 1, scale: 1, showTooltip: 5, useProduction: 5 };
|
|
243
|
+
}
|
|
244
|
+
static {
|
|
245
|
+
this.styles = _;
|
|
246
|
+
}
|
|
247
|
+
willUpdate(t) {
|
|
248
|
+
(t.has("badgeType") || t.has("item") || t.has("portal") || t.has("user") || t.has("showTooltip") || t.has("useProduction")) && this.loadDetails();
|
|
249
|
+
}
|
|
250
|
+
loadDetails() {
|
|
251
|
+
if (!this.badgeType || !this.portal) {
|
|
252
|
+
this.details = k();
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const t = re({
|
|
256
|
+
badgeType: this.badgeType,
|
|
257
|
+
i18n: this._messages,
|
|
258
|
+
portal: this.portal
|
|
259
|
+
}), i = this.item && this.portal ? ne({
|
|
260
|
+
badgeType: this.badgeType,
|
|
261
|
+
i18n: this._messages,
|
|
262
|
+
item: this.item,
|
|
263
|
+
portal: this.portal
|
|
264
|
+
}) : null;
|
|
265
|
+
if (!this.showTooltip || !this.item) {
|
|
266
|
+
this.details = {
|
|
267
|
+
loading: !1,
|
|
268
|
+
title: t,
|
|
269
|
+
tooltip: "",
|
|
270
|
+
tooltipLink: i
|
|
271
|
+
};
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
const a = ++this.tooltipRequestId;
|
|
275
|
+
this.details = {
|
|
276
|
+
loading: !0,
|
|
277
|
+
title: t,
|
|
278
|
+
tooltip: "",
|
|
279
|
+
tooltipLink: i
|
|
280
|
+
}, oe({
|
|
281
|
+
badgeType: this.badgeType,
|
|
282
|
+
i18n: this._messages,
|
|
283
|
+
item: this.item,
|
|
284
|
+
locale: this._messages._lang || "en",
|
|
285
|
+
portal: this.portal,
|
|
286
|
+
user: this.user,
|
|
287
|
+
useProduction: this.useProduction
|
|
288
|
+
}).then((r) => {
|
|
289
|
+
a === this.tooltipRequestId && (this.details = {
|
|
290
|
+
loading: !1,
|
|
291
|
+
title: t,
|
|
292
|
+
tooltip: r,
|
|
293
|
+
tooltipLink: i
|
|
294
|
+
});
|
|
295
|
+
}).catch(() => {
|
|
296
|
+
a === this.tooltipRequestId && (this.details = {
|
|
297
|
+
loading: !1,
|
|
298
|
+
title: t,
|
|
299
|
+
tooltip: "",
|
|
300
|
+
tooltipLink: i
|
|
301
|
+
});
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
render() {
|
|
305
|
+
if (!this.badgeType)
|
|
306
|
+
return null;
|
|
307
|
+
const t = de[this.badgeType], i = this.width === "narrow", a = this.showTooltip && (this.details.loading || !!this.details.tooltip || !!this.details.tooltipLink), r = {
|
|
308
|
+
badge: this.badgeType !== "Beta",
|
|
309
|
+
"badge--colored": this.badgeType === "Living Atlas" || this.badgeType === "Open Data" || this.badgeType === "Solution",
|
|
310
|
+
beta: this.badgeType === "Beta",
|
|
311
|
+
authoritative: this.badgeType === "Authoritative",
|
|
312
|
+
deprecated: this.badgeType === "Deprecated" || this.badgeType === "DeprecatedItemType",
|
|
313
|
+
narrow: i,
|
|
314
|
+
[`narrow--${this.scale}`]: i
|
|
315
|
+
};
|
|
316
|
+
return u`<calcite-chip id=${this.tooltipId ?? v} class=${R(r)} .value=${this.badgeType} .tabIndex=${this.showTooltip ? 0 : -1} .scale=${this.scale} .appearance=${this.appearance} .label=${this.details.title} .icon=${t}>${i ? null : this.details.title}</calcite-chip>${a ? u`<calcite-tooltip .referenceElement=${this.tooltipId} close-on-click placement=bottom-start overlay-positioning=fixed offset-distance=6 offset-skidding=0>${i ? u`<h3 class="tooltip-title">${this.details.title}</h3>` : null}<p class="tooltip-text"><calcite-loader .hidden=${!this.details.loading} .label=${this._messages.loading} inline scale=s></calcite-loader>${this.details.loading ? this._messages.loading : this.details.tooltip}</p>${this.details.tooltipLink ? u`<calcite-link @click=${(n) => n.stopPropagation()} icon-end=launch .href=${this.details.tooltipLink.href} target=_blank>${this.details.tooltipLink.title}</calcite-link>` : null}</calcite-tooltip>` : null}`;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
const de = {
|
|
320
|
+
Authoritative: "check-circle",
|
|
321
|
+
Beta: "beaker",
|
|
322
|
+
Collaboration: "collaboration-distributed",
|
|
323
|
+
Deprecated: "circle-disallowed",
|
|
324
|
+
DeprecatedItemType: "exclamation-mark-triangle",
|
|
325
|
+
"Has Replacement": "arrow-right-left",
|
|
326
|
+
"Living Atlas": "arcgis-living-atlas",
|
|
327
|
+
Marketplace: "marketplace",
|
|
328
|
+
"Open Data": "open-data",
|
|
329
|
+
"Personal credential": "user-key",
|
|
330
|
+
Premium: "shield-coin",
|
|
331
|
+
"Public Data Collection": "pencil",
|
|
332
|
+
Registered: "key",
|
|
333
|
+
"Registered API Key Credentials (Personal)": "key",
|
|
334
|
+
"Registered API Key Credentials (Standard)": "key",
|
|
335
|
+
"Registered Application": "app-gear",
|
|
336
|
+
"Registered OAuth 2.0 Credentials (Personal)": "app-gear",
|
|
337
|
+
"Registered OAuth 2.0 Credentials (Standard)": "app-gear",
|
|
338
|
+
Retired: "exclamation-mark-triangle",
|
|
339
|
+
Solution: "arcgis-solutions",
|
|
340
|
+
Subscriber: "security"
|
|
341
|
+
};
|
|
342
|
+
I("arcgis-portal-item-badge", le);
|
|
343
|
+
export {
|
|
344
|
+
le as A,
|
|
345
|
+
Te as g
|
|
346
|
+
};
|
package/dist/chunks/portal.js
CHANGED
|
@@ -1,16 +1,99 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { i } from "./functionalities.js";
|
|
3
|
+
import { a, g as c } from "./url.js";
|
|
4
|
+
function y(e) {
|
|
5
|
+
return a(e.restUrl);
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
+
function u(e, t) {
|
|
8
|
+
const n = c({ portal: t }), r = new URL(e, n);
|
|
9
|
+
return r.protocol = "https:", t?.httpsPort && t.httpsPort !== 80 && t.httpsPort !== 443 && (r.port = `${t.httpsPort}`), r.href;
|
|
10
|
+
}
|
|
11
|
+
function p(e) {
|
|
12
|
+
const t = s(e), n = t?.helpBase;
|
|
13
|
+
if (n?.startsWith("https://enterprise.arcgis.com/"))
|
|
14
|
+
return `${n}portal/`;
|
|
15
|
+
let r = n;
|
|
16
|
+
return t?.portalDeploymentType !== "ArcGISEnterpriseOnKubernetes" && (r += "portal/"), e.allSSL || window.location.protocol === "https:" || l(e) || window.location.port === "7443" ? u(`${window.location.protocol}//${window.location.host}${r}`, e) : r;
|
|
17
|
+
}
|
|
18
|
+
function P(e) {
|
|
19
|
+
return e.isPortal ? p(e) : s(e).helpBase || "support.html";
|
|
20
|
+
}
|
|
21
|
+
function l(e) {
|
|
22
|
+
return !!(e?.isPortal && e?.portalHostname && !e.portalHostname.match(/:7080\//u) && e.httpPort !== 80 && e.httpsPort !== 443 && window.location.protocol === "https:");
|
|
23
|
+
}
|
|
24
|
+
function S(e) {
|
|
7
25
|
return e.credential?.token || e.token || e.user?.credential?.token || e.portalUser?.token || "";
|
|
8
26
|
}
|
|
9
|
-
function
|
|
27
|
+
function T(e) {
|
|
10
28
|
return e.sourceJSON?.isWebTierAuth;
|
|
11
29
|
}
|
|
30
|
+
function d(e, t, n) {
|
|
31
|
+
if (!t?.type)
|
|
32
|
+
return !1;
|
|
33
|
+
const r = t.typeKeywords ?? [];
|
|
34
|
+
switch (e) {
|
|
35
|
+
case "arcgisinstantapps":
|
|
36
|
+
return t.type === "Web Mapping Application" && r.includes("configurableApp");
|
|
37
|
+
case "arcgis360vr":
|
|
38
|
+
return !n && t.type === "360 VR Experience";
|
|
39
|
+
case "survey123":
|
|
40
|
+
return t.type === "Form";
|
|
41
|
+
case "datapipelines":
|
|
42
|
+
return t.type === "Data Pipeline";
|
|
43
|
+
case "dashboards":
|
|
44
|
+
return t.type === "Dashboard";
|
|
45
|
+
case "experienceBuilder":
|
|
46
|
+
return t.type === "Web Experience" || t.type === "Web Experience Template";
|
|
47
|
+
case "webappbuilder":
|
|
48
|
+
return t.type === "Web Mapping Application" && (r.includes("Web AppBuilder") || r.includes("WebAppBuilder"));
|
|
49
|
+
case "fieldmaps":
|
|
50
|
+
return t.type === "Web Map";
|
|
51
|
+
case "arcgisnotebooks":
|
|
52
|
+
return t.type === "Notebook";
|
|
53
|
+
case "HubforArcGIS":
|
|
54
|
+
return [
|
|
55
|
+
"Discussion",
|
|
56
|
+
"Hub Page",
|
|
57
|
+
"Hub Initiative Template",
|
|
58
|
+
"Hub Initiative",
|
|
59
|
+
"Hub Event",
|
|
60
|
+
"Hub Project"
|
|
61
|
+
].includes(t.type);
|
|
62
|
+
default:
|
|
63
|
+
return !1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function m(e, t, n) {
|
|
67
|
+
return (t ?? []).some((r) => d(r, e, n));
|
|
68
|
+
}
|
|
69
|
+
const s = (e) => e.sourceJSON, o = (e) => e.portalProperties ?? {};
|
|
70
|
+
function w(e) {
|
|
71
|
+
const t = o(e).homePage === "modern";
|
|
72
|
+
return e.isPortal ? t || g(e) : t || f(e);
|
|
73
|
+
}
|
|
74
|
+
function f(e) {
|
|
75
|
+
const t = (/* @__PURE__ */ new Date("June 30, 2020")).getTime();
|
|
76
|
+
return !e.isPortal && e.created ? e.created.getTime() >= t : !1;
|
|
77
|
+
}
|
|
78
|
+
function g(e) {
|
|
79
|
+
return e.isPortal && o(e).homePage === "modernOnly";
|
|
80
|
+
}
|
|
81
|
+
function H(e) {
|
|
82
|
+
return e.type === "gallery" && !!e.groupId;
|
|
83
|
+
}
|
|
84
|
+
function k(e) {
|
|
85
|
+
const t = s(e);
|
|
86
|
+
return e?.isPortal ? t.supportsHostedNotebooks : !(i(["Trial Developer", "Trial", "Trial Press"], t.subscriptionInfo?.type) || t.subscriptionInfo?.options?.includes("Developer"));
|
|
87
|
+
}
|
|
12
88
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
89
|
+
S as a,
|
|
90
|
+
m as b,
|
|
91
|
+
s as c,
|
|
92
|
+
H as d,
|
|
93
|
+
P as e,
|
|
94
|
+
u as f,
|
|
95
|
+
y as g,
|
|
96
|
+
w as h,
|
|
97
|
+
T as i,
|
|
98
|
+
k as n
|
|
16
99
|
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import o from "@arcgis/core/request.js";
|
|
3
|
+
import { f as n, r as i } from "./request.js";
|
|
4
|
+
import { g as a } from "./portal.js";
|
|
5
|
+
import { a as r } from "./requests.js";
|
|
6
|
+
async function p(e) {
|
|
7
|
+
const s = `${e.restUrl}/portals/${e.id}/approvedApps`;
|
|
8
|
+
return await r(s, { query: { returnAllApps: !1 } });
|
|
9
|
+
}
|
|
10
|
+
async function m(e) {
|
|
11
|
+
const s = `${e.restUrl}/portals/self/subscriptionInfo`, { result: t } = await r(s);
|
|
12
|
+
return t?.orgCapabilities || [];
|
|
13
|
+
}
|
|
14
|
+
async function y(e) {
|
|
15
|
+
const s = `${e.restUrl}/portals/self/settings`, { result: t } = await r(s);
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
async function d(e) {
|
|
19
|
+
const s = `${e.restUrl}/portals/self/servers`;
|
|
20
|
+
return (await r(s))?.result?.servers || [];
|
|
21
|
+
}
|
|
22
|
+
async function u(e) {
|
|
23
|
+
const s = `${e.restUrl}/portals/self/signinSettings`;
|
|
24
|
+
return (await r(s)).result || {};
|
|
25
|
+
}
|
|
26
|
+
async function w(e) {
|
|
27
|
+
return e?.user ? (await u(e))?.blockedApps || [] : [];
|
|
28
|
+
}
|
|
29
|
+
async function S(e) {
|
|
30
|
+
return (await n({
|
|
31
|
+
requester: async () => await o(`${a(e)}portals/self/userDefaultSettings`, { query: { f: "json" } }),
|
|
32
|
+
key: "memberDefaults",
|
|
33
|
+
id: e.id
|
|
34
|
+
})).data;
|
|
35
|
+
}
|
|
36
|
+
async function $(e) {
|
|
37
|
+
try {
|
|
38
|
+
return { result: await n({
|
|
39
|
+
requester: async () => await i({
|
|
40
|
+
url: `${a(e)}portals/self/resources/home.page.json`,
|
|
41
|
+
portal: e
|
|
42
|
+
}),
|
|
43
|
+
key: "homePageConfig",
|
|
44
|
+
id: e.id
|
|
45
|
+
}) };
|
|
46
|
+
} catch {
|
|
47
|
+
return { result: void 0 };
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
$ as a,
|
|
52
|
+
S as b,
|
|
53
|
+
p as c,
|
|
54
|
+
m as d,
|
|
55
|
+
u as e,
|
|
56
|
+
d as f,
|
|
57
|
+
w as g,
|
|
58
|
+
y as h
|
|
59
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { a as p } from "./functionalities.js";
|
|
3
|
+
import { g as y } from "./groups2.js";
|
|
4
|
+
import { g as l } from "./url.js";
|
|
5
|
+
import { a as O, b as g } from "./portal2.js";
|
|
6
|
+
import { c as R, h as d, d as m } from "./portal.js";
|
|
7
|
+
const f = '-typekeywords:("MapAreaPackage") -type:("Map Area" OR "Indoors Map Configuration" OR "Code Attachment")';
|
|
8
|
+
async function b(e) {
|
|
9
|
+
const t = R(e);
|
|
10
|
+
let r = [];
|
|
11
|
+
const s = [
|
|
12
|
+
// Org Settings > Gallery
|
|
13
|
+
e.featuredItemsGroupQuery,
|
|
14
|
+
// Org Settings > Map
|
|
15
|
+
e.basemapGalleryGroupQuery,
|
|
16
|
+
e.basemapGalleryGroupQuery3D,
|
|
17
|
+
e.templatesGroupQuery,
|
|
18
|
+
t["2DStylesGroupQuery"],
|
|
19
|
+
t.stylesGroupQuery,
|
|
20
|
+
t.analysisLayersGroupQuery,
|
|
21
|
+
// Org Settings > Groups > Configuriable Apps
|
|
22
|
+
e.galleryTemplatesGroupQuery
|
|
23
|
+
].filter((a) => !!a), u = e.homePageFeaturedContent;
|
|
24
|
+
if (d(e)) {
|
|
25
|
+
const a = await O(e), o = [];
|
|
26
|
+
a?.result?.content?.forEach((i) => {
|
|
27
|
+
m(i) && o.push(i);
|
|
28
|
+
}), o.length > 0 && o.forEach(({ groupId: i }) => {
|
|
29
|
+
const c = `id:${i}`;
|
|
30
|
+
r = n(c, r);
|
|
31
|
+
});
|
|
32
|
+
} else u && s.push(u);
|
|
33
|
+
s.forEach((a) => {
|
|
34
|
+
r = n(a, r);
|
|
35
|
+
}), e.featuredGroups?.forEach((a) => {
|
|
36
|
+
if ("id" in a && a.id) {
|
|
37
|
+
const o = `id:${a.id}`;
|
|
38
|
+
r = n(o, r);
|
|
39
|
+
} else {
|
|
40
|
+
const i = `(${Object.entries(a).map((c) => `${c[0]}:"${c[1]}"`).join(" ")})`;
|
|
41
|
+
r = n(i, r, !0);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
try {
|
|
45
|
+
(await g(e))?.groups?.forEach((o) => {
|
|
46
|
+
const i = `id:${o}`;
|
|
47
|
+
r = n(i, r);
|
|
48
|
+
});
|
|
49
|
+
} catch (a) {
|
|
50
|
+
console.warn("Error fetching member defaults:", a);
|
|
51
|
+
}
|
|
52
|
+
return r.length > 0 ? `(${r.join(" OR ")})` : "";
|
|
53
|
+
}
|
|
54
|
+
function n(e, t, r) {
|
|
55
|
+
return !e?.startsWith("id:") && !r || t.includes(e) ? [...t] : [...t, e];
|
|
56
|
+
}
|
|
57
|
+
function M(e, t) {
|
|
58
|
+
const s = `${l({ portal: e })}/home/group.html?id=${encodeURIComponent(t.id)}`;
|
|
59
|
+
return {
|
|
60
|
+
group: s,
|
|
61
|
+
content: `${s}&view=list#content`,
|
|
62
|
+
members: `${s}#members`,
|
|
63
|
+
settings: `${s}#settings`
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function k(e, t, r) {
|
|
67
|
+
if (!e || !t)
|
|
68
|
+
return "";
|
|
69
|
+
switch (e) {
|
|
70
|
+
case "owner":
|
|
71
|
+
return `owner:${t}`;
|
|
72
|
+
case "inOrg":
|
|
73
|
+
return `-owner:${t} orgid:${r.orgId || ""}`;
|
|
74
|
+
case "outsideOrg":
|
|
75
|
+
return r.isPublicUser ? `-owner:${t}` : `(orgid: [0 TO \\{]) -orgid:${r.orgId || ""}`;
|
|
76
|
+
case null:
|
|
77
|
+
return "";
|
|
78
|
+
default:
|
|
79
|
+
return p(e);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function $(e, t) {
|
|
83
|
+
if (t)
|
|
84
|
+
return "membershipaccess:org";
|
|
85
|
+
switch (e) {
|
|
86
|
+
case "org":
|
|
87
|
+
return "membershipaccess:org";
|
|
88
|
+
case "collaboration":
|
|
89
|
+
return "membershipaccess:collaboration";
|
|
90
|
+
case "anyOrg":
|
|
91
|
+
return "membershipaccess:NULL";
|
|
92
|
+
case null:
|
|
93
|
+
return "";
|
|
94
|
+
default:
|
|
95
|
+
return p(e);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function C(e, t) {
|
|
99
|
+
switch (e) {
|
|
100
|
+
case "myOrg":
|
|
101
|
+
return "memberorgids:NULL";
|
|
102
|
+
case "anotherOrg":
|
|
103
|
+
return t ? `(memberorgids:${t} OR orgid:${t})` : "-memberorgids:NULL";
|
|
104
|
+
case null:
|
|
105
|
+
return "";
|
|
106
|
+
default:
|
|
107
|
+
return p(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
async function D(e, t) {
|
|
111
|
+
switch (e) {
|
|
112
|
+
case "openData":
|
|
113
|
+
return "isopendata:true";
|
|
114
|
+
case "sharedUpdate":
|
|
115
|
+
return "capabilities:updateitemcontrol";
|
|
116
|
+
case "distributed":
|
|
117
|
+
return "capabilities:distributed";
|
|
118
|
+
case "admin":
|
|
119
|
+
return "isleavingdisallowed:true";
|
|
120
|
+
case "settings":
|
|
121
|
+
return await b(t);
|
|
122
|
+
case null:
|
|
123
|
+
return "";
|
|
124
|
+
default:
|
|
125
|
+
return p(e);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function L(e) {
|
|
129
|
+
return e ? `access: ${e}` : "";
|
|
130
|
+
}
|
|
131
|
+
function v(e) {
|
|
132
|
+
switch (y(e).displaySettings?.itemTypes?.split(",")[0]?.toLowerCase()) {
|
|
133
|
+
case "application":
|
|
134
|
+
return 'type:("Curated Collection" OR "GeoBIM Application" OR "Data Pipeline" OR "GeoBIM Project" OR "Code Sample" OR "Web Mapping Application" OR "Mobile Application" OR "Application" OR "Desktop Application Template" OR "Desktop Application" OR "Operation View" OR "Dashboard" OR "Operations Dashboard Extension" OR "Workforce Project" OR "Insights Workbook" OR "Insights Page" OR "Insights Model" OR "Hub Page" OR "Hub Initiative" OR "Hub Site Application" OR "StoryMap" OR "Web Experience" OR "Web Experience Template" OR "Form" OR "Map Showcase") -typekeywords: "Story Map"';
|
|
135
|
+
case "web map":
|
|
136
|
+
return 'type:("Web Map" OR "CityEngine Web Scene")';
|
|
137
|
+
case "web scene":
|
|
138
|
+
return 'type:"Web Scene"';
|
|
139
|
+
case "locator package":
|
|
140
|
+
return 'type:("Geocoding Service" OR "Locator Package")';
|
|
141
|
+
case "csv":
|
|
142
|
+
return 'type:("CSV" OR "Microsoft Excel" OR "PDF" OR "Image" OR "Document Link" OR "Report Template" OR "Style")';
|
|
143
|
+
case "layer":
|
|
144
|
+
return '(type:"Parquet Feature Layer" OR type:"Scene Service" OR type:"Feature Collection" OR type:"Route Layer" OR type:"Layer" OR type:"Explorer Layer" OR type:"Tile Package" OR type:"Compact Tile Package" OR type:"Vector Tile Package" OR type:"Scene Package" OR type:"Layer Package" OR type:"Feature Service" OR type:"Stream Service" OR type:"Feed" OR type:"Map Service" OR type:"Vector Tile Service" OR type:"Media Layer" OR type:"Image Service" OR type:"WMS" OR type:"WFS" OR type:"WMTS" OR type:"KML" OR type:"Group Layer" OR type:"Knowledge Graph Layer" OR typekeywords:"OGC" OR typekeywords:"Geodata Service" OR type:"Globe Service" OR type:"CSV" OR type:"Shapefile" OR type:"GeoJson" OR type:"Service Definition" OR type:"File Geodatabase" OR type:"CAD Drawing" OR type:"Relational Database Connection" OR type:"GeoPackage" OR "3DTiles Service") -type:("Web Mapping Application" OR "Geodata Service" OR "3DTiles Package")';
|
|
145
|
+
default:
|
|
146
|
+
return f;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
export {
|
|
150
|
+
$ as a,
|
|
151
|
+
C as b,
|
|
152
|
+
D as c,
|
|
153
|
+
L as d,
|
|
154
|
+
v as e,
|
|
155
|
+
M as f,
|
|
156
|
+
k as g,
|
|
157
|
+
f as h,
|
|
158
|
+
b as i
|
|
159
|
+
};
|