@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,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
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { g as u } from "./runtime.js";
|
|
3
|
+
function p(e) {
|
|
4
|
+
const a = l(e);
|
|
5
|
+
return u(`assets/portal-item-thumbnail/${a}`);
|
|
6
|
+
}
|
|
7
|
+
function l(e) {
|
|
8
|
+
const a = e.type?.toLowerCase(), r = e.typeKeywords || [];
|
|
9
|
+
switch (a) {
|
|
10
|
+
case "web mapping application":
|
|
11
|
+
return "webapp.avif";
|
|
12
|
+
case "mobile application":
|
|
13
|
+
return "mobileapp.avif";
|
|
14
|
+
case "notebook code snippets":
|
|
15
|
+
case "notebook code snippet library":
|
|
16
|
+
return "notebookcodesnippets.avif";
|
|
17
|
+
case "notebook":
|
|
18
|
+
return "notebook.avif";
|
|
19
|
+
case "style":
|
|
20
|
+
return r.includes("Dictionary") ? "dictionarystyle.avif" : "style.avif";
|
|
21
|
+
case "feature service":
|
|
22
|
+
return r.includes("Location Tracking View") ? "locationtrackingservice.avif" : r.includes("IndoorPositioningDataService") ? "indoor-positioning-data-service.avif" : "default.avif";
|
|
23
|
+
case "pro presentation":
|
|
24
|
+
return "pro-presentation.avif";
|
|
25
|
+
case "reality mapping project":
|
|
26
|
+
return "realitymappingproject.avif";
|
|
27
|
+
case "raster function template":
|
|
28
|
+
return "rasterfunctiontemplate.avif";
|
|
29
|
+
case "workforce project":
|
|
30
|
+
return "workforceproject.avif";
|
|
31
|
+
case "hub initiative":
|
|
32
|
+
return "hubinitiative.avif";
|
|
33
|
+
case "hub page":
|
|
34
|
+
return "hubpage.avif";
|
|
35
|
+
case "hub site application":
|
|
36
|
+
case "site application":
|
|
37
|
+
return "hubsite.avif";
|
|
38
|
+
case "hub event":
|
|
39
|
+
return "hubevent.avif";
|
|
40
|
+
case "hub project":
|
|
41
|
+
return "hubproject.avif";
|
|
42
|
+
case "dashboard":
|
|
43
|
+
return r.includes("ArcGIS Dashboards") ? "dashboards.avif" : "opsdashboard.avif";
|
|
44
|
+
case "geoprocessing service":
|
|
45
|
+
return r.includes("Notebook Web Tool") ? "notebookwebtool.avif" : "webtool.avif";
|
|
46
|
+
case "web scene":
|
|
47
|
+
case "scene service":
|
|
48
|
+
return "scene.avif";
|
|
49
|
+
case "ortho mapping project":
|
|
50
|
+
return "orthomappingproject.avif";
|
|
51
|
+
case "ortho mapping template":
|
|
52
|
+
return "orthomappingtemplate.avif";
|
|
53
|
+
case "insights theme":
|
|
54
|
+
return "insightstheme.avif";
|
|
55
|
+
case "insights workbook package":
|
|
56
|
+
return "insightsworkbookpackage.avif";
|
|
57
|
+
case "solution":
|
|
58
|
+
return "solution.avif";
|
|
59
|
+
case "mobile scene package":
|
|
60
|
+
return "mobilescenepackage.avif";
|
|
61
|
+
case "deep learning package":
|
|
62
|
+
return "deeplearningpackage.avif";
|
|
63
|
+
case "big data analytic":
|
|
64
|
+
return "bigdataanalytic.avif";
|
|
65
|
+
case "real time analytic":
|
|
66
|
+
return "realtimeanalytic.avif";
|
|
67
|
+
case "feed":
|
|
68
|
+
return "feed.avif";
|
|
69
|
+
case "excalibur imagery project":
|
|
70
|
+
return "excaliburimageryproject.avif";
|
|
71
|
+
case "storymap":
|
|
72
|
+
return r?.includes("storymapcollection") ? "storymapcollection.avif" : "storymap.avif";
|
|
73
|
+
case "survey123 add in":
|
|
74
|
+
return "survey123addin.avif";
|
|
75
|
+
case "mission":
|
|
76
|
+
return "mission.avif";
|
|
77
|
+
case "mission template":
|
|
78
|
+
return "missiontemplate.avif";
|
|
79
|
+
case "quickcapture project":
|
|
80
|
+
return "quickcaptureproject.avif";
|
|
81
|
+
case "pro report":
|
|
82
|
+
return "proreport.avif";
|
|
83
|
+
case "pro package":
|
|
84
|
+
return "propackage.avif";
|
|
85
|
+
case "pro report template":
|
|
86
|
+
return "proreporttemplate.avif";
|
|
87
|
+
case "urban model":
|
|
88
|
+
return "urbanmodel.avif";
|
|
89
|
+
case "urban project":
|
|
90
|
+
return "urbanproject.avif";
|
|
91
|
+
case "web experience":
|
|
92
|
+
return "webexperience.avif";
|
|
93
|
+
case "web experience template":
|
|
94
|
+
return "webexperiencetemplate.avif";
|
|
95
|
+
case "experience builder widget":
|
|
96
|
+
return "experiencebuilderwidget.avif";
|
|
97
|
+
case "experience builder widget package":
|
|
98
|
+
return "experiencebuilderwidgetpackage.avif";
|
|
99
|
+
case "workflow":
|
|
100
|
+
return "workflow.avif";
|
|
101
|
+
case "insights script":
|
|
102
|
+
return "insightsscript.avif";
|
|
103
|
+
case "kernel gateway connection":
|
|
104
|
+
return "kernelgatewayconnection.avif";
|
|
105
|
+
case "hub initiative template":
|
|
106
|
+
return "hubinitiativetemplate.avif";
|
|
107
|
+
case "image service":
|
|
108
|
+
return r?.includes("Tile Imagery") ? "tiledimagerylayer.avif" : "imagerylayer.avif";
|
|
109
|
+
case "mission report":
|
|
110
|
+
return "missionreport.avif";
|
|
111
|
+
case "administrative report":
|
|
112
|
+
return "administrativereport.avif";
|
|
113
|
+
case "storymap theme":
|
|
114
|
+
return "storymaptheme.avif";
|
|
115
|
+
case "knowledge graph":
|
|
116
|
+
return "knowledgegraph.avif";
|
|
117
|
+
case "knowledge graph layer":
|
|
118
|
+
return "knowledgegraphlayer.avif";
|
|
119
|
+
case "knowledge studio project":
|
|
120
|
+
return "knowledgestudio.avif";
|
|
121
|
+
case "earth configuration":
|
|
122
|
+
return "earthconfiguration.avif";
|
|
123
|
+
case "link chart":
|
|
124
|
+
return "linkchart.avif";
|
|
125
|
+
case "investigation":
|
|
126
|
+
return "investigation.avif";
|
|
127
|
+
case "apache parquet":
|
|
128
|
+
return "apacheparquet.avif";
|
|
129
|
+
case "curated collection":
|
|
130
|
+
return "curatedcollection.avif";
|
|
131
|
+
case "video service":
|
|
132
|
+
return "mediaservice.avif";
|
|
133
|
+
case "geodata service":
|
|
134
|
+
return "geodataservice.avif";
|
|
135
|
+
case "suitability model":
|
|
136
|
+
return "suitabilitymodel.avif";
|
|
137
|
+
case "esri classifier definition":
|
|
138
|
+
return "classifierdefinition.avif";
|
|
139
|
+
case "esri spectral library":
|
|
140
|
+
return "spectrallibrary.avif";
|
|
141
|
+
case "deep learning studio project":
|
|
142
|
+
return "deeplearningstudioproject.avif";
|
|
143
|
+
case "esri classification schema":
|
|
144
|
+
return "classificationschema.avif";
|
|
145
|
+
case "insights data engineering workbook":
|
|
146
|
+
return "dataengineeringworkbook.avif";
|
|
147
|
+
case "insights data engineering model":
|
|
148
|
+
return "dataengineeringmodel.avif";
|
|
149
|
+
case "discussion":
|
|
150
|
+
return "discussion.avif";
|
|
151
|
+
case "api key":
|
|
152
|
+
return "apikey.avif";
|
|
153
|
+
case "data pipeline":
|
|
154
|
+
return "datapipeline.avif";
|
|
155
|
+
case "analysis model":
|
|
156
|
+
return "analysismodel.avif";
|
|
157
|
+
case "service connection":
|
|
158
|
+
return "serviceconnection.avif";
|
|
159
|
+
case "xr experience":
|
|
160
|
+
return "xrexperience.avif";
|
|
161
|
+
case "3dtiles service":
|
|
162
|
+
return r?.includes("GaussianSplat") ? "gaussiansplatlayer.avif" : "default.avif";
|
|
163
|
+
default:
|
|
164
|
+
return "default.avif";
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
function d(e, a, r) {
|
|
168
|
+
const { restUrl: t } = e, i = f(e), n = i ? `token=${i}` : "", s = `${t}/content/items/${a.id}`;
|
|
169
|
+
if (a.thumbnail) {
|
|
170
|
+
const c = a.thumbnailUrl;
|
|
171
|
+
if (c) {
|
|
172
|
+
const o = new URL(c);
|
|
173
|
+
return o.searchParams.append("w", "400"), o.href;
|
|
174
|
+
}
|
|
175
|
+
return `${s}/info/${a.thumbnail}?w=400${i ? "&" : ""}${n}`;
|
|
176
|
+
} else if (a.type === "Image")
|
|
177
|
+
return `${s}/data?${n}`;
|
|
178
|
+
return p(a);
|
|
179
|
+
}
|
|
180
|
+
function f(e) {
|
|
181
|
+
return (
|
|
182
|
+
// @ts-ignore
|
|
183
|
+
e?.credential?.token || e?.token || e?.user?.credential?.token || e?.portalUser?.token || ""
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
export {
|
|
187
|
+
p as a,
|
|
188
|
+
d as g
|
|
189
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
const l = (o) => o && !o.endsWith("/") ? `${o}/` : o;
|
|
3
|
+
function c({
|
|
4
|
+
portal: o,
|
|
5
|
+
usePortalHostname: s
|
|
6
|
+
}) {
|
|
7
|
+
const { customBaseUrl: n, portalHostname: e, urlKey: t } = o, { protocol: a } = window.location, r = !s && t ? `${t}.${n}` : e;
|
|
8
|
+
return `${a}//${r}`;
|
|
9
|
+
}
|
|
10
|
+
function i({ portal: o }) {
|
|
11
|
+
return `${c({ portal: o, usePortalHostname: !o.user })}/home`;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
l as a,
|
|
15
|
+
i as b,
|
|
16
|
+
c as g
|
|
17
|
+
};
|
package/dist/chunks/user.js
CHANGED
|
@@ -1,8 +1,103 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { f, r as a } from "./request.js";
|
|
3
|
+
import { g as u, a as y } from "./portal.js";
|
|
4
|
+
import { f as c, r as l, a as d } from "./requests.js";
|
|
5
|
+
async function U(s, r, e) {
|
|
6
|
+
const t = `${e ? "https://www.arcgis.com/sharing/rest/" : u(r)}community/users/${s}`, o = t?.includes("www.arcgis.com") && r.isPortal, m = t?.includes(".arcgis.com") && !r.isPortal && !r.user, p = o || m ? { disableIdentityLookup: !0, addTokenManually: !1 } : {};
|
|
7
|
+
return await f({
|
|
8
|
+
requester: async () => {
|
|
9
|
+
try {
|
|
10
|
+
return await a({ url: t, portal: r, options: p });
|
|
11
|
+
} catch {
|
|
12
|
+
return { username: s };
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
key: "user",
|
|
16
|
+
id: t
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const $ = async (s) => {
|
|
20
|
+
const r = `${u(s)}/portals/${s.id}/users`;
|
|
21
|
+
return await a({
|
|
22
|
+
url: r,
|
|
23
|
+
portal: s,
|
|
24
|
+
params: {
|
|
25
|
+
// TODO: Add pagination
|
|
26
|
+
num: 100,
|
|
27
|
+
sortField: "lastlogin",
|
|
28
|
+
sortOrder: "desc"
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
function i(s, r) {
|
|
33
|
+
return `${s.restUrl}/community/users/${r?.id || s?.user?.id}`;
|
|
34
|
+
}
|
|
35
|
+
async function A(s, r) {
|
|
36
|
+
const e = `${i(s, r)}/properties`;
|
|
37
|
+
return await d(e);
|
|
38
|
+
}
|
|
39
|
+
async function P(s, r, e) {
|
|
40
|
+
const n = `${i(r, e)}/setProperties`, t = y(r), o = new FormData();
|
|
41
|
+
return o.append("properties", JSON.stringify(s)), o.append("token", t), o.append("f", "json"), await d(n, {
|
|
42
|
+
method: "post",
|
|
43
|
+
body: o
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
async function q(s, r) {
|
|
47
|
+
const e = `${i(s, r)}/provisionedListings`;
|
|
48
|
+
return await c(
|
|
49
|
+
e,
|
|
50
|
+
{ returnAppClientIds: !0, returnAllProvisions: !0 },
|
|
51
|
+
"provisionedListings"
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
async function L(s, r) {
|
|
55
|
+
const e = `${i(s, r)}/linkedUsers`;
|
|
56
|
+
try {
|
|
57
|
+
return await c(e, { num: 10 }, "linkedUsers");
|
|
58
|
+
} catch (n) {
|
|
59
|
+
return console.error("Error fetching linked accounts:", n), [];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
async function v(s, r, e) {
|
|
63
|
+
try {
|
|
64
|
+
return await c(
|
|
65
|
+
`https://${s.portalHostname}/sharing/rest/community/users/${r}/linkedUsers`,
|
|
66
|
+
{ num: 10, token: e },
|
|
67
|
+
"linkedUsers"
|
|
68
|
+
);
|
|
69
|
+
} catch (n) {
|
|
70
|
+
return console.error(n), [];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async function O({
|
|
74
|
+
portal: s,
|
|
75
|
+
user: r,
|
|
76
|
+
targetUser: e,
|
|
77
|
+
targetToken: n
|
|
78
|
+
}) {
|
|
79
|
+
const t = `${i(s, r)}/linkUser`, o = await l(t, {
|
|
80
|
+
method: "post",
|
|
81
|
+
query: { user: e, userToken: n }
|
|
82
|
+
});
|
|
83
|
+
return o.error && console.error(o.error), o;
|
|
84
|
+
}
|
|
85
|
+
async function R({
|
|
86
|
+
portal: s,
|
|
87
|
+
user: r,
|
|
88
|
+
linkedUsername: e
|
|
89
|
+
}) {
|
|
90
|
+
const n = `${i(s, r)}/unlinkUser`, t = await l(n, { method: "post", query: { user: e } });
|
|
91
|
+
return t.error && console.error(t.error), t;
|
|
5
92
|
}
|
|
6
93
|
export {
|
|
7
|
-
|
|
94
|
+
L as a,
|
|
95
|
+
$ as b,
|
|
96
|
+
P as c,
|
|
97
|
+
q as d,
|
|
98
|
+
A as e,
|
|
99
|
+
U as f,
|
|
100
|
+
v as g,
|
|
101
|
+
O as l,
|
|
102
|
+
R as u
|
|
8
103
|
};
|