@arcgis/portal-components 5.2.0-next.8 → 5.2.0-next.85
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/2GBRZSEC.js +2 -0
- package/dist/cdn/2Q3FIPE2.js +2 -0
- package/dist/cdn/{GQFWFZXP.js → 3OBIA66A.js} +1 -1
- package/dist/cdn/3YCG5UCH.js +2 -0
- package/dist/cdn/44ORWHRO.js +2 -0
- package/dist/cdn/4QA4AYHJ.js +3 -0
- package/dist/cdn/4UANPBCB.js +2 -0
- package/dist/cdn/{QNUYUNEY.js → 5A54YFFZ.js} +1 -1
- package/dist/cdn/{WOZDQW3S.js → 5CB5N3QF.js} +1 -1
- package/dist/cdn/5HEZSRAM.js +2 -0
- package/dist/cdn/5MVBQWW3.js +2 -0
- package/dist/cdn/{7WZHZP6U.js → 63THOLAY.js} +9 -3
- package/dist/cdn/6BALICUQ.js +660 -0
- package/dist/cdn/6KVA4AKM.js +2 -0
- package/dist/cdn/6TO2BYXU.js +2 -0
- package/dist/cdn/76A6NXMY.js +2 -0
- package/dist/cdn/77U3PPBC.js +2 -0
- package/dist/cdn/7FISFQAB.js +2 -0
- package/dist/cdn/AMBLICID.js +2 -0
- package/dist/cdn/APIPQGZL.js +2 -0
- package/dist/cdn/BBVFGC6Y.js +2 -0
- package/dist/cdn/BSUUZZ2V.js +2 -0
- package/dist/cdn/BTLJZVSE.js +2 -0
- package/dist/cdn/{DHHSKOUY.js → BXCQOWAD.js} +1 -1
- package/dist/cdn/C747DAF4.js +2 -0
- package/dist/cdn/{DKBTJJMW.js → C7ZFXRPS.js} +1 -1
- package/dist/cdn/CD2GV5YW.js +2 -0
- package/dist/cdn/CFBSBZSS.js +2 -0
- package/dist/cdn/DHWAQSKG.js +2 -0
- package/dist/cdn/DPDTU2XT.js +2 -0
- package/dist/cdn/E4D3U6ZA.js +2 -0
- package/dist/cdn/EBYEZR4N.js +2 -0
- package/dist/cdn/ECA5GSSU.js +2 -0
- package/dist/cdn/EHJZA2TD.js +2 -0
- package/dist/cdn/EZYI6JU7.js +2 -0
- package/dist/cdn/F3ODJVJC.js +2 -0
- package/dist/cdn/FUZGJQMO.js +66 -0
- package/dist/cdn/FWJOBVEA.js +2 -0
- package/dist/cdn/GADH24KO.js +2 -0
- package/dist/cdn/GAZBGDIO.js +2 -0
- package/dist/cdn/GP3HHUGX.js +2 -0
- package/dist/cdn/{ZTHTFEYA.js → GY2BYUKF.js} +1 -1
- package/dist/cdn/H4SORY4B.js +2 -0
- package/dist/cdn/H5X6CZD4.js +2 -0
- package/dist/cdn/IJ3CLFAU.js +22 -0
- package/dist/cdn/ILDTKRON.js +2 -0
- package/dist/cdn/J57ZXL3U.js +2 -0
- package/dist/cdn/JCYCRSPL.js +451 -0
- package/dist/cdn/K3HEPB7Q.js +2 -0
- package/dist/cdn/KL4DIIKW.js +2 -0
- package/dist/cdn/{3PAHY5KA.js → KNRJ3WXR.js} +1 -1
- package/dist/cdn/KQCTBRGJ.js +2 -0
- package/dist/cdn/{F6V7MLPY.js → L6KBBJEC.js} +1 -1
- package/dist/cdn/LDIZD36E.js +2 -0
- package/dist/cdn/LRADZ46B.js +2 -0
- package/dist/cdn/MK3S5P4U.js +2 -0
- package/dist/cdn/NASFEWDT.js +2 -0
- package/dist/cdn/O2WST7EA.js +2 -0
- package/dist/cdn/{LQ3DMZ3K.js → O3RR6UMN.js} +1 -1
- package/dist/cdn/OAKVCMNN.js +2 -0
- package/dist/cdn/OBBYT2AV.js +2 -0
- package/dist/cdn/OHEUIODH.js +2 -0
- package/dist/cdn/OSA2BEVZ.js +2 -0
- package/dist/cdn/{53MSUMA3.js → OT4PZJNB.js} +17 -1
- package/dist/cdn/OTP4IA4V.js +2 -0
- package/dist/cdn/P2PZMKRD.js +2 -0
- package/dist/cdn/{LAFNDBTQ.js → P7YQCAM2.js} +1 -1
- package/dist/cdn/QE4CNVDQ.js +34 -0
- package/dist/cdn/{AQWTJKUH.js → QKCV7CY2.js} +10 -8
- package/dist/cdn/QREMLELA.js +2 -0
- package/dist/cdn/QS3GXAIH.js +2 -0
- package/dist/cdn/R5MGNFM2.js +2 -0
- package/dist/cdn/RHABZWTF.js +2 -0
- package/dist/cdn/SKRCLDPZ.js +2 -0
- package/dist/cdn/SLTFLCVR.js +99 -0
- package/dist/cdn/SOJ5KMMZ.js +2 -0
- package/dist/cdn/{GT26WGJS.js → T3LU5V74.js} +1 -1
- package/dist/cdn/T4DHIZOR.js +2 -0
- package/dist/cdn/TGTT2CVD.js +2 -0
- package/dist/cdn/{DXCPWJU4.js → TKCE4WYE.js} +1 -1
- package/dist/cdn/TUBYAQ6R.js +2 -0
- package/dist/cdn/TZ4TGONL.js +2 -0
- package/dist/cdn/UEL7BVMB.js +2 -0
- package/dist/cdn/UZLQALHY.js +2 -0
- package/dist/cdn/{RR4BIAPA.js → V4EYW3O6.js} +1 -1
- package/dist/cdn/V6N5BWDA.js +2 -0
- package/dist/cdn/V6VNED6L.js +2 -0
- package/dist/cdn/VBJRF4J7.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/{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/WNZF3XVD.js +2 -0
- package/dist/cdn/XEK22IDA.js +2 -0
- package/dist/cdn/XRPX4IA3.js +2 -0
- package/dist/cdn/Y36YTONO.js +2 -0
- package/dist/cdn/Y72RYETN.js +2 -0
- package/dist/cdn/YDYJ5MIY.js +2 -0
- package/dist/cdn/YVKSTDL6.js +2 -0
- package/dist/cdn/ZAB6B2B6.js +2 -0
- package/dist/cdn/ZD6WCKLD.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-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/knowledgegraphconfiguration16.svg +1 -0
- package/dist/cdn/assets/portal-item-type/icons/knowledgegraphconfiguration32.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 +8 -83
- package/dist/chunks/groups2.js +64 -0
- package/dist/chunks/icons.js +11 -0
- package/dist/chunks/info.js +179 -0
- package/dist/chunks/item.js +29 -123
- package/dist/chunks/item2.js +128 -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 +349 -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 +656 -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/portalRouteKeys.d.ts +26 -0
- package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +77 -3
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +59 -3
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +1911 -595
- 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 +0 -1
- package/dist/components/arcgis-portal-group-badges/customElement.js +26 -33
- package/dist/components/arcgis-portal-group-browser/customElement.d.ts +475 -0
- package/dist/components/arcgis-portal-group-browser/customElement.js +493 -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 +209 -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 +171 -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-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 +530 -0
- package/dist/components/arcgis-portal-navigation/customElement.js +1858 -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 +198 -2
- package/dist/loader.js +26 -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 +160 -1
- package/dist/types/portal.d.ts +6 -0
- package/dist/types/preact.d.ts +182 -1
- package/dist/types/react.d.ts +204 -1
- package/dist/types/search.d.ts +30 -0
- package/dist/types/stencil.d.ts +162 -3
- package/dist/types/user.d.ts +16 -3
- package/package.json +10 -11
- package/dist/cdn/2EV3TV75.js +0 -65
- 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/F2AM2M4H.js +0 -2
- package/dist/cdn/G47ZZQYL.js +0 -2
- 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/MX3F5ZCL.js +0 -2
- package/dist/cdn/O3KBWLGU.js +0 -2
- package/dist/cdn/OQDPULPD.js +0 -2
- package/dist/cdn/QB34ACZ2.js +0 -2
- package/dist/cdn/RBC6VGDJ.js +0 -516
- package/dist/cdn/RNLVNDGG.js +0 -2
- package/dist/cdn/TMYTUOSS.js +0 -2
- package/dist/cdn/UPEVTVNZ.js +0 -2
- package/dist/cdn/V2EOXGK2.js +0 -2
- package/dist/cdn/WZC4LHVH.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
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 "./groups.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
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import P from "@arcgis/core/identity/IdentityManager.js";
|
|
3
|
+
import w from "@arcgis/core/request.js";
|
|
4
|
+
import { i as E, a as R, g } from "./portal.js";
|
|
5
|
+
const c = {}, u = {}, f = {};
|
|
6
|
+
async function A({ requester: t, key: e, id: n, cacheOption: i }) {
|
|
7
|
+
const s = f[e]?.[n]?.expireAt, a = !!s && (/* @__PURE__ */ new Date()).getTime() > s;
|
|
8
|
+
if (c[e]?.[n] && !a)
|
|
9
|
+
return c[e][n];
|
|
10
|
+
u[e] || (u[e] = {}), (!u[e][n] || a) && (u[e][n] = t());
|
|
11
|
+
const o = await u[e][n];
|
|
12
|
+
if (c[e] || (c[e] = {}), f[e] || (f[e] = {}), c[e][n] = o, i) {
|
|
13
|
+
const { expireAfter: d, getExpireAfterFromResult: r } = i, p = r || d ? (/* @__PURE__ */ new Date()).getTime() + (r?.(o) ?? d ?? 0) : null;
|
|
14
|
+
f[e][n] = { ...f[e][n], expireAt: p };
|
|
15
|
+
}
|
|
16
|
+
return o;
|
|
17
|
+
}
|
|
18
|
+
async function X({
|
|
19
|
+
url: t,
|
|
20
|
+
portal: e,
|
|
21
|
+
params: n = {},
|
|
22
|
+
options: i = {},
|
|
23
|
+
method: s,
|
|
24
|
+
abortControllerId: a,
|
|
25
|
+
excludeJson: o
|
|
26
|
+
}) {
|
|
27
|
+
const d = b(a)?.signal, { customToken: r, addTokenManually: p, addSSL: x, useProxy: S } = i, m = { ...n };
|
|
28
|
+
if (!t.includes("f=") && !o && (m.f = "json"), r)
|
|
29
|
+
m.token = r;
|
|
30
|
+
else if (p !== !1) {
|
|
31
|
+
const h = await M(e);
|
|
32
|
+
h && (m.token = h);
|
|
33
|
+
}
|
|
34
|
+
const T = x ? U(t, e) : t, q = {
|
|
35
|
+
query: m,
|
|
36
|
+
method: s || "auto",
|
|
37
|
+
...i,
|
|
38
|
+
timeout: i.timeout || 0,
|
|
39
|
+
useProxy: S,
|
|
40
|
+
...i?.disableIdentityLookup ? { authMode: "anonymous" } : {}
|
|
41
|
+
}, C = await w(T, { signal: d, ...q });
|
|
42
|
+
return a && (l[a] = void 0), C.data;
|
|
43
|
+
}
|
|
44
|
+
const l = {};
|
|
45
|
+
function b(t) {
|
|
46
|
+
if (t)
|
|
47
|
+
return l[t] && l[t].abort(), l[t] = new AbortController(), l[t];
|
|
48
|
+
}
|
|
49
|
+
async function M(t) {
|
|
50
|
+
const e = E(t);
|
|
51
|
+
if (!t?.isPortal || !e)
|
|
52
|
+
return R(t);
|
|
53
|
+
const n = t?.user;
|
|
54
|
+
if (!n && e)
|
|
55
|
+
return;
|
|
56
|
+
const { token: i } = await A({
|
|
57
|
+
requester: async () => await L(t),
|
|
58
|
+
key: "platformSelf",
|
|
59
|
+
id: n?.id ?? t.id ?? "<unknown>",
|
|
60
|
+
cacheOption: { getExpireAfterFromResult: (s) => s.expires_in }
|
|
61
|
+
});
|
|
62
|
+
return i;
|
|
63
|
+
}
|
|
64
|
+
const L = async (t) => {
|
|
65
|
+
const n = {
|
|
66
|
+
"X-Esri-Auth-Client-Id": await v(t),
|
|
67
|
+
"X-Esri-Auth-Redirect-Uri": window.location.href.replace(/#.*$/u, "")
|
|
68
|
+
};
|
|
69
|
+
return (await w(`${g(t)}/oauth2/platformSelf`, {
|
|
70
|
+
authMode: "no-prompt",
|
|
71
|
+
headers: n,
|
|
72
|
+
withCredentials: !0,
|
|
73
|
+
method: "post"
|
|
74
|
+
})).data;
|
|
75
|
+
}, v = async (t) => (await A({
|
|
76
|
+
requester: async () => await P.getCredential(g(t), { oAuthPopupConfirmation: !1 }),
|
|
77
|
+
key: "credential",
|
|
78
|
+
id: t.user?.id ?? "<unknown>"
|
|
79
|
+
})).oAuthState?.appId ?? "arcgisonline";
|
|
80
|
+
function U(t, e) {
|
|
81
|
+
return window.location.protocol === "https:" || e.allSSL ? t.replace("http:", "https:") : t;
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
A as f,
|
|
85
|
+
M as g,
|
|
86
|
+
X as r
|
|
87
|
+
};
|
package/dist/chunks/requests.js
CHANGED
|
@@ -1,69 +1,117 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
import { once as
|
|
4
|
-
async function
|
|
5
|
-
const
|
|
2
|
+
import o from "@arcgis/core/request.js";
|
|
3
|
+
import { once as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
async function g(r, s) {
|
|
5
|
+
const t = `${r}/portals/self/classification/classificationSchema`, c = {};
|
|
6
6
|
try {
|
|
7
|
-
const
|
|
8
|
-
if (typeof
|
|
9
|
-
|
|
7
|
+
const e = (await o(t, { query: { f: "json" }, signal: s })).data;
|
|
8
|
+
if (typeof e == "object" && e !== null && "classificationSchema" in e)
|
|
9
|
+
c.result = e.classificationSchema;
|
|
10
10
|
else
|
|
11
11
|
throw new Error("Invalid response format received from the classification schema endpoint");
|
|
12
|
-
} catch (
|
|
13
|
-
|
|
12
|
+
} catch (a) {
|
|
13
|
+
c.error = a;
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return c;
|
|
16
16
|
}
|
|
17
|
-
async function
|
|
18
|
-
const
|
|
17
|
+
async function j(r, s, t) {
|
|
18
|
+
const c = `${r}/portals/self/classification/validateClassification`, a = { classificationValue: JSON.stringify(s), f: "json" }, e = {};
|
|
19
19
|
try {
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
} catch (
|
|
23
|
-
console.error(
|
|
20
|
+
const n = await o(c, { query: a, method: "post", signal: t.signal });
|
|
21
|
+
e.result = n.data;
|
|
22
|
+
} catch (n) {
|
|
23
|
+
console.error(n), e.error = n;
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return e;
|
|
26
26
|
}
|
|
27
|
-
async function
|
|
28
|
-
if (!
|
|
27
|
+
async function x(r) {
|
|
28
|
+
if (!r)
|
|
29
29
|
return;
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
if (!
|
|
30
|
+
r.loaded || await r.load();
|
|
31
|
+
const s = r.portal.user ?? await h(() => r?.portal.user);
|
|
32
|
+
if (!s)
|
|
33
33
|
return;
|
|
34
|
-
const
|
|
34
|
+
const t = `${r.portal.restUrl}/community/users/${s.username}/resources/classification_favorites`, c = {};
|
|
35
35
|
try {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
} catch (
|
|
39
|
-
console.error(
|
|
36
|
+
const a = await o(t, { query: { f: "json" } });
|
|
37
|
+
c.result = a.data;
|
|
38
|
+
} catch (a) {
|
|
39
|
+
console.error(a), c.error = a;
|
|
40
40
|
}
|
|
41
|
-
return
|
|
41
|
+
return c;
|
|
42
42
|
}
|
|
43
|
-
async function
|
|
44
|
-
if (!
|
|
43
|
+
async function $(r, s) {
|
|
44
|
+
if (!r)
|
|
45
45
|
return;
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
if (!
|
|
46
|
+
r.loaded || await r.load();
|
|
47
|
+
const t = r.portal.user ?? await h(() => r?.portal.user);
|
|
48
|
+
if (!t)
|
|
49
49
|
return;
|
|
50
|
-
const
|
|
50
|
+
const c = `${r.portal.restUrl}/community/users/${t.username}/addResource`, a = {}, e = {
|
|
51
51
|
f: "json",
|
|
52
52
|
key: "classification_favorites",
|
|
53
|
-
text: JSON.stringify({ favorites:
|
|
53
|
+
text: JSON.stringify({ favorites: s }),
|
|
54
54
|
access: "UserPrivateAllApps"
|
|
55
55
|
};
|
|
56
56
|
try {
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
} catch (
|
|
60
|
-
console.error(
|
|
57
|
+
const n = await o(c, { query: e, method: "post" });
|
|
58
|
+
a.result = n.data.success;
|
|
59
|
+
} catch (n) {
|
|
60
|
+
console.error(n), a.error = n;
|
|
61
|
+
}
|
|
62
|
+
return a;
|
|
63
|
+
}
|
|
64
|
+
function q(r) {
|
|
65
|
+
return {
|
|
66
|
+
error: {
|
|
67
|
+
code: r || "unhandledError"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
async function y(r, s) {
|
|
72
|
+
s = s || {}, s.query = s.query || {}, s.query instanceof URLSearchParams || (s.query = { f: "json", ...s.query || {} });
|
|
73
|
+
try {
|
|
74
|
+
return { result: (await o(r, s)).data };
|
|
75
|
+
} catch {
|
|
76
|
+
return q();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
async function C(r, s = {}) {
|
|
80
|
+
s.query = s.query || {}, s.query instanceof URLSearchParams || (s.query = { f: "json", ...s.query || {} });
|
|
81
|
+
try {
|
|
82
|
+
return { success: !0, ...await o(r, s) };
|
|
83
|
+
} catch (t) {
|
|
84
|
+
return { success: !1, error: t };
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
async function U(r, s, t = "results", c = !1) {
|
|
88
|
+
let e = [], n;
|
|
89
|
+
s.start = 1, s.num || (s.num = 100);
|
|
90
|
+
const { result: u } = await y(r, { query: s }), d = u?.[t];
|
|
91
|
+
if (!d)
|
|
92
|
+
return [];
|
|
93
|
+
e = [...e, ...d];
|
|
94
|
+
const m = u.nextStart, v = u.total - e.length, w = Math.ceil(v / s.num), l = [];
|
|
95
|
+
for (n = 0; n < w; n++)
|
|
96
|
+
s.start = m + n * s.num, l.push(y(r, { query: { ...s } }));
|
|
97
|
+
if (c) {
|
|
98
|
+
for (const f of l) {
|
|
99
|
+
const i = await f;
|
|
100
|
+
i.result?.[t] && (e = [...e, ...i.result[t]]);
|
|
101
|
+
}
|
|
102
|
+
return e;
|
|
61
103
|
}
|
|
62
|
-
return
|
|
104
|
+
return (await Promise.all(l)).forEach((f) => {
|
|
105
|
+
const i = f.result?.[t] || [];
|
|
106
|
+
e = [...e, ...i];
|
|
107
|
+
}), e;
|
|
63
108
|
}
|
|
64
109
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
110
|
+
y as a,
|
|
111
|
+
x as b,
|
|
112
|
+
g as c,
|
|
113
|
+
U as f,
|
|
114
|
+
C as r,
|
|
115
|
+
$ as u,
|
|
116
|
+
j as v
|
|
69
117
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { watch as o } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
+
import { createStore as s } from "@arcgis/lumina/controllers/accessor";
|
|
4
|
+
const a = ["folder", "group", "contentType"], c = (e) => e.type === "item-browser", m = (e = { filters: {}, hiddenFilters: [] }) => s(e);
|
|
5
|
+
function l(e, r) {
|
|
6
|
+
const t = o(() => e.preview, r);
|
|
7
|
+
return () => t.remove();
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
c as a,
|
|
11
|
+
m as c,
|
|
12
|
+
a as i,
|
|
13
|
+
l as o
|
|
14
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { s as a } from "./dom.js";
|
|
3
|
+
function c(e) {
|
|
4
|
+
const r = /(https?:\/\/[^\s]+)/gu;
|
|
5
|
+
return e?.replace(r, (t) => `<a href="${t}" target="_blank">${t}</a>`);
|
|
6
|
+
}
|
|
7
|
+
function s(e) {
|
|
8
|
+
return e?.replace(/(?:\r)/gu, " ").replace(/(?:\n)/gu, " ");
|
|
9
|
+
}
|
|
10
|
+
function i(e) {
|
|
11
|
+
return e?.replace(/(?: )/gu, "\r").replace(/(?: )/gu, `
|
|
12
|
+
`);
|
|
13
|
+
}
|
|
14
|
+
function o(e) {
|
|
15
|
+
return e?.replace(/ | | |\r\n|\r|\n/gu, "<br>");
|
|
16
|
+
}
|
|
17
|
+
function p(e, r) {
|
|
18
|
+
const t = document.documentElement.dir === "rtl";
|
|
19
|
+
return e.replace("${start}", t ? r.end : r.start).replace("${end}", t ? r.start : r.end).replace("${total}", r.total);
|
|
20
|
+
}
|
|
21
|
+
function d(e = "") {
|
|
22
|
+
const r = a(e);
|
|
23
|
+
return ["id:", "title:", "type:", "typekeywords:", "owner:"].some((n) => e.includes(n)) ? r.replace(/[<>\/\\?]/gu, "\\$&").trim() : r.replace(/[\[\]\{\}\(\)\-+:<>\/\\?]/gu, "\\$&").trim();
|
|
24
|
+
}
|
|
25
|
+
function g(e) {
|
|
26
|
+
return o(s(c(i(e))));
|
|
27
|
+
}
|
|
28
|
+
function m(e) {
|
|
29
|
+
return e?.endsWith("/") ? e.slice(0, e.length - 1) : e;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
p as a,
|
|
33
|
+
d as c,
|
|
34
|
+
g,
|
|
35
|
+
m as r
|
|
36
|
+
};
|