@esri/solutions-components 5.0.4-next.2 → 5.0.4-next.3
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/{UJUK6EU3.js → AHJUZVGX.js} +1 -1
- package/dist/cdn/{E44XREMR.js → OOICXNBQ.js} +1 -1
- package/dist/cdn/{6FABFHMW.js → UWTLP2OB.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +2 -2
- 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 +4 -7
- package/dist/utils/Auth.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import s from"./
|
|
2
|
+
import s from"./OOICXNBQ.js";import r from"./GAKD5QPM.js";import q from"./5SMTVGRA.js";import l from"./763XS3LG.js";import k from"./LOPSAZKP.js";import j from"./6UB6ABQU.js";import i from"./ZYJFGFDC.js";import h from"./BM6T4KFI.js";import"./A7S7WB6S.js";import g from"./AR2OQQFF.js";import e from"./2CXZLYXL.js";import d from"./SIAN6MSO.js";import"./4T7P5RXF.js";import"./6MZ227J7.js";import c from"./EVKDZTCS.js";import{a as _}from"./PZ4L77M5.js";import"./JE7L7M3J.js";import{a as C}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 o,G as a,H as f,J as p,h as m,i as b,r as n}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,{D:F,H:D,I:O,K:c,a:S,b:w,w:I},,{b:x},,,{g:E,h:A},,,,,{a:y,b:k},{a:T}])=>{var M=m`/** @license
|
|
3
3
|
* Copyright 2025 Esri
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import b from"./EVKDZTCS.js";import{b as k}from"./PZ4L77M5.js";import{Eb as R,c as A,ya as E}from"./JE7L7M3J.js";import{a as M}from"./TF7SNOC3.js";import{g as u}from"./CGLFPVBM.js";import{b as C}from"./3ZMHOVVV.js";import{F as a,G as l,H as U,L as d,h as y,i as c,j as S,r as _}from"./46DQNAMV.js";export default $arcgis.t(([m,O,P,{A:x,K:g,a:T,l:$,t:h}])=>{var b=class{constructor(e,t,i,s){this._credential=void 0,this._isEnterprise=!1,this._locale="en",this._portalSubset=void 0,this._portalUserSubset=void 0,this._searchArcGISOnlineEnabled=!0,this._signInParam=void 0,this._clientId=e??"",this._locale=i??"en",this._portalUrl=t??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl,this._signInParam=s;let n=new O({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});try{m.registerOAuthInfos([n])}catch(o){console.log(o)}this._portal=new P({url:this._portalUrl})}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let e=[];return this._portalUserSubset?.privileges&&(e=this._portalUserSubset.privileges),e}get SignInParam(){return this._signInParam}get CanDeleteSolution(){return this.PortalUserPrivileges.includes("portal:admin:deleteItems")}get CanUpdateSolution(){return this.PortalUserPrivileges.includes("portal:admin:updateItems")}get CanUseAI(){let e=this._portalSubset?.orgSettings,t=this.PortalUserPrivileges.includes("portal:user:useAIAssistants");return e?.aiAssistantsEnabled?e.aiAssistantsEnabled&&!e.blockBetaApps&&t:!1}get CanViewOrg(){return this.PortalUserPrivileges.includes("portal:admin:viewItems")}get CanSearchArcGISOnline(){return this._searchArcGISOnlineEnabled}get RestUserSession(){let e=m.findServerInfo(this._portalRestUrl),t=this._credential?u.fromCredential(this._credential,e):this._isEnterprise?new u({}):new u({portal:this._portalRestUrl});return t.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:t.portal,t.clientId=this._credential?._oAuthCred?.appId,t._refreshToken=this._credential?._oAuthCred?.refreshToken,t}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=void 0,this._portalSubset=void 0,this._portalUserSubset=void 0,m.destroyCredentials()}async signIn(e=""){m.setOAuthRedirectionHandler(t=>{let i=t.authorizeParams.redirect_uri;if(e.length>0){let s=i.split("?"),n=s[0],o="",r=new URLSearchParams(s[1]||"");r.append("signInParam",e),o="?"+r.toString(),t.authorizeParams.redirect_uri=n+o}window.location.href=t.authorizeUrl+"?"+this._objectToQuery(t.authorizeParams)}),await m.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(t=>{t&&window.location.reload()})}signOut(){let e=window.location.href,t=/[\/]\b([0-9A-Fa-f]){32}\b/g,i=e.match(t)?e.replace(t,""):e,n=`${this._portal?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(i)}`;this.destroy(),window.location.replace(n)}refreshSession(){let e=this.RestUserSession;if(!(!e||!this.IsSignedIn))return e.exchangeRefreshToken()}_getOrgUrl(e,t,i){return t&&i?window.location.protocol+"//"+t.toLowerCase()+"."+i:e}async _init(e=!1){try{this._credential=await m.checkSignInStatus(this._portalUrl+"/sharing")}catch(i){console.log(i)}try{let i=await m.checkAppAccess(this._portalUrl+"/sharing",this._clientId);(typeof i.valid<"u"&&!i.valid||i.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=i.credential}catch(i){i.name}this._searchArcGISOnlineEnabled=await this._checkSearchArcGISOnlineEnabled(e,this._portal.restUrl),this._portal.authMode=e?"immediate":"auto",await this._portal.load();let t=this._credential?await E(this.RestUserSession):{};return this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly,orgSettings:t},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??"",roleId:this._portal.user?.roleId??void 0},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await R(this._portal.restUrl,this.RestUserSession||new u({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}async _checkSearchArcGISOnlineEnabled(e,t){if(e)try{let i=`${t}/portals/self/settings`,s=await A(i,{authentication:this._credential?this.RestUserSession:void 0});return s?.portalConfigProperties?.searchArcGISOnlineEnabled!==void 0?s.portalConfigProperties.searchArcGISOnlineEnabled:!1}catch(i){return console.warn("Failed to fetch portal settings:",i),!1}else return!0}_isSerializable(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}_objectToQuery(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(i=>encodeURIComponent(i)+"="+encodeURIComponent(t(i,e[i]))).join("&"):Object.keys(e).map(i=>{let s=e[i];if(s==null)return"";let n=encodeURIComponent(i)+"=",o=t&&t[i];return o?n+encodeURIComponent(o(s)):Array.isArray(s)?s.map(r=>this._isSerializable(r)?n+encodeURIComponent(JSON.stringify(r)):n+encodeURIComponent(r)).join("&"):this._isSerializable(s)?n+encodeURIComponent(JSON.stringify(s)):n+encodeURIComponent(s)}).filter(i=>i).join("&"):""}};var f=class I{constructor(){this._telemetryInstance=void 0,this._logTelemetryEvents=!1}getInstance(){return this._telemetryInstance}isEnabled(){return this._logTelemetryEvents}setInstance(e){this._telemetryInstance=e}setEnabled(e){this._logTelemetryEvents=e}_mapDimensions(e){let t={};return e&&e.slice(0,20).forEach((i,s)=>{let n=`dimension${s+1}`;t[n]=i}),t}_mapMetrics(e){let t={};return e&&e.slice(0,20).forEach((i,s)=>{let n=`metric${s+1}`;t[n]=i}),t}logEvent(e){if(this._logTelemetryEvents&&this._telemetryInstance){let{category:t,action:i,dimensions:s,metrics:n,label:o="",details:r=""}=e,w=this._mapDimensions(s),p=this._mapMetrics(n);this._telemetryInstance.logEvent({category:t,action:i,label:o,details:r,...w,...p})}}getTelemetrySession(){return{instance:this._telemetryInstance,logEvent:e=>this.logEvent(e),enabled:this._logTelemetryEvents}}static getDisabledSession(){return{instance:void 0,logEvent:()=>{},enabled:!1}}async initializeTelemetry(e,t){if(!I.shouldEnableTelemetry(e,t))return this.getTelemetrySession();let s=document.querySelector("consent-manager");if(!s){if(!customElements.get("consent-manager"))return this.getTelemetrySession();s=document.createElement("consent-manager"),s.portal=e.Portal,s.measurementIds=t.measurementIds||[],s.firstUseVar=t.cookiesFirstUseVar;let o=I.getEnvironmentConfig(t,e);o&&(s.amazonUserPoolID=o?.amazon?.userPoolID,s.amazonAppId=o?.amazon?.app?.id,s.amazonAppName=t.telemetry?.name,s.amazonVersion=t.telemetry?.version);let r=e.Portal?.eueiEnabled;(localStorage.getItem(s.firstUseVar)==="true"||r)&&(this.setEnabled(!0),s.classList.add("display-none")),document.body.appendChild(s),r?(await new Promise(p=>setTimeout(p,100)),await this._setInstanceFromConsentManager(s)):window.addEventListener("consentGranted",p=>{p.detail?.granted&&(this.setEnabled(!0),this._setInstanceFromConsentManager(s))})}return this.getTelemetrySession()}async _setInstanceFromConsentManager(e){try{let t=new Promise((s,n)=>setTimeout(()=>n(new Error("Timeout waiting for consent-manager instance")),1e4)),i=await Promise.race([e.getInstance(),t]);this.setInstance(i)}catch{}}static shouldEnableTelemetry(e,t){let i=e?.IsEnterprisePortal,s=e?.Portal?.eueiEnabled;return s===!1||i?!1:!!((t.measurementIds||t.telemetry)&&(t.cookiesFirstUseVar||s))}static getEnvironmentConfig(e,t){if(!e.telemetry)return;let i=e.forceTrackingEnv||$(document.location.hostname,t?.Portal?.portalHostname||"");return i&&Object.keys(e.telemetry).includes(i)?e.telemetry[i]:void 0}},z=y`/** @license
|
|
2
|
+
import b from"./EVKDZTCS.js";import{b as k}from"./PZ4L77M5.js";import{Eb as R,c as A,ya as E}from"./JE7L7M3J.js";import{a as M}from"./TF7SNOC3.js";import{g as u}from"./CGLFPVBM.js";import{b as C}from"./3ZMHOVVV.js";import{F as a,G as l,H as U,L as d,h as y,i as c,j as S,r as _}from"./46DQNAMV.js";export default $arcgis.t(([m,O,P,{A:x,K:g,a:T,l:$,t:h}])=>{var b=class{constructor(e,t,i,s){this._credential=void 0,this._isEnterprise=!1,this._locale="en",this._portalSubset=void 0,this._portalUserSubset=void 0,this._searchArcGISOnlineEnabled=!0,this._signInParam=void 0,this._clientId=e??"",this._locale=i??"en",this._portalUrl=t??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl,this._signInParam=s;let n=new O({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});try{m.registerOAuthInfos([n])}catch(o){console.log(o)}this._portal=new P({url:this._portalUrl})}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let e=[];return this._portalUserSubset?.privileges&&(e=this._portalUserSubset.privileges),e}get SignInParam(){return this._signInParam}get CanDeleteSolution(){return this.PortalUserPrivileges.includes("portal:admin:deleteItems")}get CanUpdateSolution(){return this.PortalUserPrivileges.includes("portal:admin:updateItems")}get CanUseAI(){let e=this._portalSubset?.orgSettings,t=this.PortalUserPrivileges.includes("portal:user:useAIAssistants");return e?.aiAssistantsEnabled?e.aiAssistantsEnabled&&!e.blockBetaApps&&t:!1}get CanViewOrg(){return this.PortalUserPrivileges.includes("portal:admin:viewItems")}get CanSearchArcGISOnline(){return this._searchArcGISOnlineEnabled}get RestUserSession(){let e=m.findServerInfo(this._portalRestUrl),t=this._credential?u.fromCredential(this._credential,e):this._isEnterprise?new u({}):new u({portal:this._portalRestUrl});return t.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:t.portal,t.clientId=this._credential?._oAuthCred?.appId,t._refreshToken=this._credential?._oAuthCred?.refreshToken,t}async initialize(e=!1){try{await this._init(e)}catch{this.destroy()}return this}destroy(){this._credential=void 0,this._portalSubset=void 0,this._portalUserSubset=void 0,m.destroyCredentials()}async signIn(e=""){m.setOAuthRedirectionHandler(t=>{let i=t.authorizeParams.redirect_uri;if(e.length>0){let s=i.split("?"),n=s[0],o="",r=new URLSearchParams(s[1]||"");r.append("signInParam",e),o="?"+r.toString(),t.authorizeParams.redirect_uri=n+o}window.location.href=t.authorizeUrl+"?"+this._objectToQuery(t.authorizeParams)}),await m.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(t=>{t&&window.location.reload()})}signOut(){let e=window.location.href,t=/[\/]\b([0-9A-Fa-f]){32}\b/g,i=e.match(t)?e.replace(t,""):e,n=`${this._portal?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(i)}`;this.destroy(),window.location.replace(n)}refreshSession(){let e=this.RestUserSession;if(!(!e||!this.IsSignedIn))return e.exchangeRefreshToken()}_getOrgUrl(e,t,i){return t&&i?window.location.protocol+"//"+t.toLowerCase()+"."+i:e}async _init(e=!1){try{this._credential=await m.checkSignInStatus(this._portalUrl+"/sharing")}catch(i){console.log(i)}try{let i=await m.checkAppAccess(this._portalUrl+"/sharing",this._clientId);(typeof i.valid<"u"&&!i.valid||i.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=i.credential}catch(i){i.name}this._searchArcGISOnlineEnabled=await this._checkSearchArcGISOnlineEnabled(e,this._portal.restUrl),this._portal.authMode=e?"immediate":"auto",await this._portal.load();let t=this._credential?await E(this.RestUserSession):{};return this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly,orgSettings:t},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??"",roleId:this._portal.user?.roleId??void 0},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await R(this._portal.restUrl,this.RestUserSession||new u({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}async _checkSearchArcGISOnlineEnabled(e,t){if(e)try{let i=`${t}/portals/self/settings`,s=await A(i,{authentication:this._credential?this.RestUserSession:void 0});return s?.portalConfigProperties?.searchArcGISOnlineEnabled!==void 0?s.portalConfigProperties.searchArcGISOnlineEnabled:!1}catch(i){return console.warn("Failed to fetch portal settings:",i),!1}else return!0}_isSerializable(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}_objectToQuery(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(i=>encodeURIComponent(i)+"="+encodeURIComponent(t(i,e[i]))).join("&"):Object.keys(e).map(i=>{let s=e[i];if(s==null)return"";let n=encodeURIComponent(i)+"=",o=t&&t[i];return o?n+encodeURIComponent(o(s)):Array.isArray(s)?s.map(r=>this._isSerializable(r)?n+encodeURIComponent(JSON.stringify(r)):n+encodeURIComponent(r)).join("&"):this._isSerializable(s)?n+encodeURIComponent(JSON.stringify(s)):n+encodeURIComponent(s)}).filter(i=>i).join("&"):""}};var f=class I{constructor(){this._telemetryInstance=void 0,this._logTelemetryEvents=!1}getInstance(){return this._telemetryInstance}isEnabled(){return this._logTelemetryEvents}setInstance(e){this._telemetryInstance=e}setEnabled(e){this._logTelemetryEvents=e}_mapDimensions(e){let t={};return e&&e.slice(0,20).forEach((i,s)=>{let n=`dimension${s+1}`;t[n]=i}),t}_mapMetrics(e){let t={};return e&&e.slice(0,20).forEach((i,s)=>{let n=`metric${s+1}`;t[n]=i}),t}logEvent(e){if(this._logTelemetryEvents&&this._telemetryInstance){let{category:t,action:i,dimensions:s,metrics:n,label:o="",details:r=""}=e,w=this._mapDimensions(s),p=this._mapMetrics(n);this._telemetryInstance.logEvent({category:t,action:i,label:o,details:r,...w,...p})}}getTelemetrySession(){return{instance:this._telemetryInstance,logEvent:e=>this.logEvent(e),enabled:this._logTelemetryEvents}}static getDisabledSession(){return{instance:void 0,logEvent:()=>{},enabled:!1}}async initializeTelemetry(e,t){if(!I.shouldEnableTelemetry(e,t))return this.getTelemetrySession();let s=document.querySelector("consent-manager");if(!s){if(!customElements.get("consent-manager"))return this.getTelemetrySession();s=document.createElement("consent-manager"),s.portal=e.Portal,s.measurementIds=t.measurementIds||[],s.firstUseVar=t.cookiesFirstUseVar;let o=I.getEnvironmentConfig(t,e);o&&(s.amazonUserPoolID=o?.amazon?.userPoolID,s.amazonAppId=o?.amazon?.app?.id,s.amazonAppName=t.telemetry?.name,s.amazonVersion=t.telemetry?.version);let r=e.Portal?.eueiEnabled;(localStorage.getItem(s.firstUseVar)==="true"||r)&&(this.setEnabled(!0),s.classList.add("display-none")),document.body.appendChild(s),r?(await new Promise(p=>setTimeout(p,100)),await this._setInstanceFromConsentManager(s)):window.addEventListener("consentGranted",p=>{p.detail?.granted&&(this.setEnabled(!0),this._setInstanceFromConsentManager(s))})}return this.getTelemetrySession()}async _setInstanceFromConsentManager(e){try{let t=new Promise((s,n)=>setTimeout(()=>n(new Error("Timeout waiting for consent-manager instance")),1e4)),i=await Promise.race([e.getInstance(),t]);this.setInstance(i)}catch{}}static shouldEnableTelemetry(e,t){let i=e?.IsEnterprisePortal,s=e?.Portal?.eueiEnabled;return s===!1||i?!1:!!((t.measurementIds||t.telemetry)&&(t.cookiesFirstUseVar||s))}static getEnvironmentConfig(e,t){if(!e.telemetry)return;let i=e.forceTrackingEnv||$(document.location.hostname,t?.Portal?.portalHostname||"");return i&&Object.keys(e.telemetry).includes(i)?e.telemetry[i]:void 0}},z=y`/** @license
|
|
3
3
|
* Copyright 2025 Esri
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./OOICXNBQ.js";import a from"./EVKDZTCS.js";import"./PZ4L77M5.js";import"./JE7L7M3J.js";import"./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"./3ZMHOVVV.js";import"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([,{b:o}])=>{return o},a,b)
|
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"./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}
|
|
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("./AHJUZVGX.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./UWTLP2OB.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
|
@@ -104,9 +104,9 @@ class Auth {
|
|
|
104
104
|
*
|
|
105
105
|
* @returns Promise that resolves with the initialized Auth object
|
|
106
106
|
*/
|
|
107
|
-
async initialize() {
|
|
107
|
+
async initialize(isEnterprise = false) {
|
|
108
108
|
try {
|
|
109
|
-
await this._init();
|
|
109
|
+
await this._init(isEnterprise);
|
|
110
110
|
} catch (err) {
|
|
111
111
|
this.destroy();
|
|
112
112
|
}
|