@esri/solutions-components 5.0.4-next.1 → 5.0.4-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{S6AEU3PF.js → 2CXZLYXL.js} +1 -1
- package/dist/cdn/{43VBTNZC.js → 2RR47QXB.js} +1 -1
- package/dist/cdn/{6RAZH3HZ.js → 2TQ3LQDN.js} +1 -1
- package/dist/cdn/{3CLNV3UF.js → 2VWM5HU4.js} +1 -1
- package/dist/cdn/{JS5XK3T3.js → 3NM4VY3X.js} +1 -1
- package/dist/cdn/{ME65MHLA.js → 3TZ367SA.js} +1 -1
- package/dist/cdn/{RRJUQ6LT.js → 3UJYR7QJ.js} +1 -1
- package/dist/cdn/3ZMHOVVV.js +2 -0
- package/dist/cdn/{ZY3VI4HV.js → 54XRTC4C.js} +1 -1
- package/dist/cdn/{FLORDBAH.js → 5SMTVGRA.js} +1 -1
- package/dist/cdn/{NCFOBZVV.js → 5SQMPY2O.js} +1 -1
- package/dist/cdn/{B75YR5K3.js → 5UJU2N7K.js} +1 -1
- package/dist/cdn/{BRWCT7JF.js → 5XA32F2O.js} +1 -1
- package/dist/cdn/{2R3YYXVS.js → 6FABFHMW.js} +1 -1
- package/dist/cdn/{5SWSSMRU.js → 6UB6ABQU.js} +1 -1
- package/dist/cdn/{WWKHT5Z2.js → 6VTRTZCM.js} +1 -1
- package/dist/cdn/{G6OPG37W.js → 6W5ZSQ4P.js} +1 -1
- package/dist/cdn/{UKBUKYFO.js → 763XS3LG.js} +1 -1
- package/dist/cdn/{5QUT2CR5.js → 7MQM7ESA.js} +1 -1
- package/dist/cdn/{ETII4LPU.js → A4P5V242.js} +1 -1
- package/dist/cdn/{QKXEHEWC.js → A5E7TJCH.js} +1 -1
- package/dist/cdn/{OP5ZAYJ5.js → A7S7WB6S.js} +1 -1
- package/dist/cdn/{ENY6I5MP.js → APEKOPWA.js} +1 -1
- package/dist/cdn/{HSL6UU2J.js → AR2OQQFF.js} +1 -1
- package/dist/cdn/{PGQYIPAY.js → BCPJL55B.js} +1 -1
- package/dist/cdn/{4BNLOHJ7.js → BM6T4KFI.js} +1 -1
- package/dist/cdn/{3FOTUUW5.js → BNLZOV3T.js} +1 -1
- package/dist/cdn/{S2RYFVM6.js → BYMHRNFA.js} +1 -1
- package/dist/cdn/{LO4BHOJK.js → BYMPNT7T.js} +1 -1
- package/dist/cdn/{H42GN6KA.js → CMD2GQDE.js} +1 -1
- package/dist/cdn/{MG3AOUD6.js → COH5SYPM.js} +1 -1
- package/dist/cdn/{2BKTJGFO.js → COUYQOYV.js} +1 -1
- package/dist/cdn/{UQVWRO22.js → DESJ2W2F.js} +1 -1
- package/dist/cdn/{54MXGHFO.js → DF3DVYFZ.js} +1 -1
- package/dist/cdn/{DXUKLDUL.js → DPG27RMU.js} +1 -1
- package/dist/cdn/{Q454SEZV.js → E44XREMR.js} +1 -1
- package/dist/cdn/{K44HYWQ7.js → EOTJ6XDI.js} +1 -1
- package/dist/cdn/{ZTEGRVLW.js → EVKDZTCS.js} +1 -1
- package/dist/cdn/{Z5UTP6PB.js → FW7AK7QF.js} +1 -1
- package/dist/cdn/{MLX3RRA2.js → GAKD5QPM.js} +1 -1
- package/dist/cdn/{OU2UA4O6.js → GIBOCW5C.js} +1 -1
- package/dist/cdn/{CMDBV4A2.js → H2BRVNPE.js} +1 -1
- package/dist/cdn/{DBHYR6JL.js → H4ABKN4G.js} +1 -1
- package/dist/cdn/{JERBCJXB.js → HJEU4CSN.js} +1 -1
- package/dist/cdn/{33E2AWRD.js → IFYSBXWP.js} +1 -1
- package/dist/cdn/{GDFVXJAG.js → K2NV6NKR.js} +1 -1
- package/dist/cdn/{I7GX6FAR.js → KBANBVGG.js} +1 -1
- package/dist/cdn/{2QIJE6O4.js → LOPSAZKP.js} +1 -1
- package/dist/cdn/{G6O56Z7O.js → M7FZWZ34.js} +1 -1
- package/dist/cdn/{42ECI4QA.js → M7LRQ6RB.js} +1 -1
- package/dist/cdn/{X6I6FYXD.js → MD4ON7OL.js} +1 -1
- package/dist/cdn/{QDFAWAC6.js → MPJV2VZV.js} +1 -1
- package/dist/cdn/{CTHP6MR4.js → MPOBC76W.js} +1 -1
- package/dist/cdn/{P2SLBHQ5.js → MYJMI5QB.js} +1 -1
- package/dist/cdn/{YD3B4OUR.js → N6HNTUZC.js} +1 -1
- package/dist/cdn/{TCFVFBVC.js → NX6QMLTR.js} +1 -1
- package/dist/cdn/{HFYCPUGB.js → NXLNBR5C.js} +1 -1
- package/dist/cdn/{BLIEGHRY.js → O67WOKX4.js} +1 -1
- package/dist/cdn/{KAASIRHY.js → P5FMRA7U.js} +1 -1
- package/dist/cdn/{UA4IVJUM.js → PIDSKZJN.js} +1 -1
- package/dist/cdn/{U7LS3CRR.js → PKTLJUC4.js} +1 -1
- package/dist/cdn/{N5BPY77K.js → QFIN37XM.js} +1 -1
- package/dist/cdn/{GJ7VNSRN.js → QVLJVDDX.js} +1 -1
- package/dist/cdn/{HJH3KW7U.js → RYHGOCR7.js} +1 -1
- package/dist/cdn/{WZRCD5WQ.js → S5TRGTQB.js} +1 -1
- package/dist/cdn/{L7FMAMJT.js → SAKOMAMP.js} +1 -1
- package/dist/cdn/SC7NAXVA.js +2 -0
- package/dist/cdn/{G5JHXAFG.js → SIAN6MSO.js} +1 -1
- package/dist/cdn/SMQQJP7P.js +2 -0
- package/dist/cdn/{NSYQ2QP7.js → SPYE3QCZ.js} +1 -1
- package/dist/cdn/{XKHHBOXR.js → T36T2T6M.js} +1 -1
- package/dist/cdn/{KEGPL5SP.js → TF7SNOC3.js} +1 -1
- package/dist/cdn/{4ZAJGYB6.js → TPH5YYYA.js} +1 -1
- package/dist/cdn/{WDRBBAEN.js → UDNN2SER.js} +1 -1
- package/dist/cdn/{JRH2V4U3.js → UIDVWD7F.js} +1 -1
- package/dist/cdn/{ET6TAGKP.js → UJUK6EU3.js} +1 -1
- package/dist/cdn/{A33COVGX.js → WQUYSIIK.js} +1 -1
- package/dist/cdn/{X6BO6HQE.js → XDRROOF2.js} +1 -1
- package/dist/cdn/{DKURUJC5.js → XFJNDF2N.js} +1 -1
- package/dist/cdn/{UMI4CEFA.js → XKG7DQ6B.js} +1 -1
- package/dist/cdn/{ZSVNXKEK.js → XNJDX5I3.js} +1 -1
- package/dist/cdn/{A6DPMPVE.js → YHDRMV7Y.js} +1 -1
- package/dist/cdn/{PFRYU47D.js → ZYJFGFDC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +24 -20
- package/dist/chunks/runtime.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/package.json +1 -1
- package/dist/cdn/OOBN46RF.js +0 -2
- package/dist/cdn/PQCN4WCM.js +0 -2
- package/dist/cdn/U3VLFNUL.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a as S}from"./UGKLBL7D.js";import"./3LEJ44U2.js";import e from"./
|
|
2
|
+
import{a as S}from"./UGKLBL7D.js";import"./3LEJ44U2.js";import e from"./EVKDZTCS.js";import"./PZ4L77M5.js";import"./JE7L7M3J.js";import c from"./KZPE7L5X.js";import a from"./MKZ6CCBU.js";import{a as L}from"./TF7SNOC3.js";import"./36I27Q5R.js";import"./GDPFKW75.js";import"./AOBFPJ2R.js";import"./JK6XUSIM.js";import"./UPHYUDLT.js";import"./QJJXVRMV.js";import"./7FMLZNDR.js";import"./LL5C4DHP.js";import"./WPAMUSBR.js";import"./XJPOVJV7.js";import"./LDNQ56OK.js";import"./3HUY3T5F.js";import"./Z6G5PBUQ.js";import"./J3QMHA2M.js";import"./TKZAMPEI.js";import"./2IHQU2FX.js";import"./CGLFPVBM.js";import"./OEJAW72H.js";import"./5JJMGPOW.js";import"./TYX345MZ.js";import"./5UWT66A7.js";import{b as v}from"./3ZMHOVVV.js";import{F as p,G as r,H as I,J as b,h as _,i as l,l as m,r as d,u as g}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([k,F,x,,{c:w,j:M},{C:u,o:$}])=>{function C(n){return n?.indexOf("http://")!==-1}function f(n){return C(n)?n.replace(/^http:\/\//,"https://"):n}function T(n,e,t){return t&&t.forEach(a=>{n.allLayers.forEach(i=>{i&&i.url===a.sourceUrl&&(i.url=f(a.proxyUrl),i.portalItem&&i.portalItem.when(()=>{i.portalItem.url=f(a.proxyUrl)}),e.request?.interceptors?.push({urls:a.sourceUrl,before:s=>{s.url&&s.url===a.sourceUrl&&(s.url=f(a.proxyUrl))}}))})}),n}var V=_`@layer{
|
|
3
3
|
/** @license
|
|
4
4
|
* Copyright 2025 Esri
|
|
5
5
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./EVKDZTCS.js";export default $arcgis.t(([{n:l}])=>{function S(o,t){let n=[];return o.forEach(e=>{t.has(e.id)&&n.push(e)}),n}function p(o,t,n){if(t<1||o.length<t)return{cards:[],paging:{start:t,num:0,nextStart:-1,total:o.length}};let e=Math.min(t+n,o.length+1),r=e<o.length?e:-1;return{cards:o.slice(t-1,e-1),paging:{start:t,num:e-t,nextStart:r,total:o.length}}}function g(o,t){let n=c(o);return d(n,t)}function d(o,t){let n=[];return t.forEach(e=>{let r=u(e);r&&o.indexOf(r)>=0&&e.relatedSolutions&&(n=n.concat(e.relatedSolutions))}),new Set(n)}function u(o){let t="solutionid-",n=o.typeKeywords.filter(r=>r.startsWith(t)),e=null;return Array.isArray(n)&&n.length>0&&(e=n[0].substring(t.length)),e}function c(o){let t=[];return o?(o.forEach(n=>{let e=u(n);e&&t.push(e)}),t=Array.from(new Set(t)),t):[]}function m(o){let t="solutionversion-",n=(o.typeKeywords||[]).reduce((e,r)=>(r.startsWith(t)&&(e=Number(r.replace(t,""))),e),-1);return isNaN(n)?-1:n}function w(o,t,n){let e,r=n==="asc"?1:-1;switch(t){case"created":e=(i,s)=>r*(i.createdMs<s.createdMs?-1:i.createdMs>s.createdMs?1:0);break;case"numviews":e=(i,s)=>r*(i.numViews<s.numViews?-1:i.numViews>s.numViews?1:0);break;case"title":e=(i,s)=>r*(i.title.toLowerCase()<s.title.toLowerCase()?-1:i.title.toLowerCase()>s.title.toLowerCase()?1:0);break;default:e=()=>0;break}return o.sort(e),o}function a(o){return o.toLowerCase().replace(/\s+/g,"-")}function h(o,t){return o.find(n=>a(n.title)===t||t===n.id)}function I(o,t){let n="solutionid-";return o.find(e=>l(e.typeKeywords,n)===t)}function b(o,t){let n=o.find(e=>t===e.deployCommonId);return a(n.title)}return{a:S,b:p,c:g,d:m,e:w,f:a,g:h,h:I,i:b}},a)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a}from"./U3VLFNUL.js";import{v as e}from"./46DQNAMV.js";import"./OR4HXHSY.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./UQVWRO22.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./KAASIRHY.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./X6BO6HQE.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./33E2AWRD.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./4ZAJGYB6.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./X6I6FYXD.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./P2SLBHQ5.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./BLIEGHRY.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./5QUT2CR5.js")],"delete-button":[()=>import("./ZSVNXKEK.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./PGQYIPAY.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./GJ7VNSRN.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./LO4BHOJK.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./NCFOBZVV.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./CMDBV4A2.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./K44HYWQ7.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./43VBTNZC.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./TCFVFBVC.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./3CLNV3UF.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./ENY6I5MP.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./A6DPMPVE.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./NSYQ2QP7.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./2BKTJGFO.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./A33COVGX.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./UA4IVJUM.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./DXUKLDUL.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./QDFAWAC6.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./Z5UTP6PB.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./DBHYR6JL.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./6RAZH3HZ.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./H42GN6KA.js")],"pdf-download":[()=>import("./L7FMAMJT.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./U7LS3CRR.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./OOBN46RF.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ZY3VI4HV.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./QKXEHEWC.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./B75YR5K3.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./3FOTUUW5.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./ME65MHLA.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./HFYCPUGB.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./PQCN4WCM.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./S2RYFVM6.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./CTHP6MR4.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./OU2UA4O6.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./BRWCT7JF.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./HJH3KW7U.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./YD3B4OUR.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./N5BPY77K.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./WWKHT5Z2.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./RRJUQ6LT.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./42ECI4QA.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./MG3AOUD6.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ET6TAGKP.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./2R3YYXVS.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./JRH2V4U3.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./G6O56Z7O.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./WDRBBAEN.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./WZRCD5WQ.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./I7GX6FAR.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./UMI4CEFA.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync(`@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}
|
|
2
|
+
import{a}from"./3ZMHOVVV.js";import{v as e}from"./46DQNAMV.js";import"./OR4HXHSY.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./DESJ2W2F.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./P5FMRA7U.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./XDRROOF2.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./IFYSBXWP.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./TPH5YYYA.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./MD4ON7OL.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./MYJMI5QB.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./O67WOKX4.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./7MQM7ESA.js")],"delete-button":[()=>import("./XNJDX5I3.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./BCPJL55B.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./QVLJVDDX.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./BYMPNT7T.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./5SQMPY2O.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./H2BRVNPE.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./EOTJ6XDI.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./2RR47QXB.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./NX6QMLTR.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./2VWM5HU4.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./APEKOPWA.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./YHDRMV7Y.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./SPYE3QCZ.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./COUYQOYV.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./WQUYSIIK.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./PIDSKZJN.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./DPG27RMU.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./MPJV2VZV.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./FW7AK7QF.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./H4ABKN4G.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./2TQ3LQDN.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./CMD2GQDE.js")],"pdf-download":[()=>import("./SAKOMAMP.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./PKTLJUC4.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./SMQQJP7P.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./54XRTC4C.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./A5E7TJCH.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./5UJU2N7K.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./BNLZOV3T.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./3TZ367SA.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./NXLNBR5C.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./SC7NAXVA.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./BYMHRNFA.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./MPOBC76W.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./GIBOCW5C.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./5XA32F2O.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RYHGOCR7.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./M7FZWZ34.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./QFIN37XM.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./6VTRTZCM.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./3UJYR7QJ.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./M7LRQ6RB.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./COH5SYPM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./UJUK6EU3.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./6FABFHMW.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./UIDVWD7F.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./N6HNTUZC.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./UDNN2SER.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./S5TRGTQB.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./KBANBVGG.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./XKG7DQ6B.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync(`@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}
|
|
3
3
|
|
|
4
4
|
}`);document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|
package/dist/chunks/Auth.js
CHANGED
|
@@ -195,10 +195,11 @@ class Auth {
|
|
|
195
195
|
* If the user is not authorized to use the app, the page will be redirected to an error page.
|
|
196
196
|
* @returns Promise that resolves with the initialized Auth object
|
|
197
197
|
*/
|
|
198
|
-
async _init() {
|
|
198
|
+
async _init(isEnterprise = false) {
|
|
199
199
|
try {
|
|
200
200
|
this._credential = await IdentityManager.checkSignInStatus(this._portalUrl + "/sharing");
|
|
201
201
|
} catch (error) {
|
|
202
|
+
console.log(error);
|
|
202
203
|
}
|
|
203
204
|
try {
|
|
204
205
|
const response = await IdentityManager.checkAppAccess(this._portalUrl + "/sharing", this._clientId);
|
|
@@ -209,28 +210,11 @@ class Auth {
|
|
|
209
210
|
} catch (err) {
|
|
210
211
|
if (err.name !== "identity-manager:not-authenticated") ;
|
|
211
212
|
}
|
|
212
|
-
this.
|
|
213
|
+
this._searchArcGISOnlineEnabled = await this._checkSearchArcGISOnlineEnabled(isEnterprise, this._portal.restUrl);
|
|
214
|
+
this._portal.authMode = isEnterprise ? "immediate" : "auto";
|
|
213
215
|
await this._portal.load();
|
|
214
216
|
const orgSettings = this._credential ? await common.getOrganizationSettings(this.RestUserSession) : {};
|
|
215
217
|
this._isEnterprise = this._portal.isPortal;
|
|
216
|
-
if (this._isEnterprise) {
|
|
217
|
-
try {
|
|
218
|
-
const portalSettingsUrl = `${this._portal.restUrl}/portals/self/settings`;
|
|
219
|
-
const portalSettings = await common.request(portalSettingsUrl, {
|
|
220
|
-
authentication: this._credential ? this.RestUserSession : void 0
|
|
221
|
-
});
|
|
222
|
-
if (portalSettings?.portalConfigProperties?.searchArcGISOnlineEnabled !== void 0) {
|
|
223
|
-
this._searchArcGISOnlineEnabled = portalSettings.portalConfigProperties.searchArcGISOnlineEnabled;
|
|
224
|
-
} else {
|
|
225
|
-
this._searchArcGISOnlineEnabled = false;
|
|
226
|
-
}
|
|
227
|
-
} catch (error) {
|
|
228
|
-
console.warn("Failed to fetch portal settings:", error);
|
|
229
|
-
this._searchArcGISOnlineEnabled = false;
|
|
230
|
-
}
|
|
231
|
-
} else {
|
|
232
|
-
this._searchArcGISOnlineEnabled = true;
|
|
233
|
-
}
|
|
234
218
|
this._portalSubset = {
|
|
235
219
|
name: this._portal.name ?? "",
|
|
236
220
|
id: this._portal.id ?? "",
|
|
@@ -266,6 +250,26 @@ class Auth {
|
|
|
266
250
|
}
|
|
267
251
|
return this;
|
|
268
252
|
}
|
|
253
|
+
async _checkSearchArcGISOnlineEnabled(isEnterprise, portalRestUrl) {
|
|
254
|
+
if (isEnterprise) {
|
|
255
|
+
try {
|
|
256
|
+
const portalSettingsUrl = `${portalRestUrl}/portals/self/settings`;
|
|
257
|
+
const portalSettings = await common.request(portalSettingsUrl, {
|
|
258
|
+
authentication: this._credential ? this.RestUserSession : void 0
|
|
259
|
+
});
|
|
260
|
+
if (portalSettings?.portalConfigProperties?.searchArcGISOnlineEnabled !== void 0) {
|
|
261
|
+
return portalSettings.portalConfigProperties.searchArcGISOnlineEnabled;
|
|
262
|
+
} else {
|
|
263
|
+
return false;
|
|
264
|
+
}
|
|
265
|
+
} catch (error) {
|
|
266
|
+
console.warn("Failed to fetch portal settings:", error);
|
|
267
|
+
return false;
|
|
268
|
+
}
|
|
269
|
+
} else {
|
|
270
|
+
return true;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
269
273
|
/**
|
|
270
274
|
* Checks if an object is serializable.
|
|
271
275
|
* @param obj Object to check
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "../cdn/main.css";
|
|
3
3
|
import { makeRuntime } from "@arcgis/lumina";
|
|
4
4
|
import { trackAccess, createObservable, createTrackingTarget, runTracked } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
-
const runtime = makeRuntime({ defaultAssetPath: "https://
|
|
5
|
+
const runtime = makeRuntime({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.4-next/solutions-components/", hydratedAttribute: "hydrated" });
|
|
6
6
|
const { customElement, getAssetPath, setAssetPath } = runtime;
|
|
7
7
|
runtime.t = trackAccess;
|
|
8
8
|
runtime.o = createObservable;
|