@esri/solutions-components 5.0.5 → 5.0.6
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/{IHDRZQU4.js → 2DPJZTGZ.js} +1 -1
- package/dist/cdn/{X5T6TZW3.js → 2ZHFKBQO.js} +1 -1
- package/dist/cdn/{W33YWBF5.js → 3GLO7PZY.js} +1 -1
- package/dist/cdn/3MHFKNRH.js +2 -0
- package/dist/cdn/{WXE6AACQ.js → 3UZ6LMZQ.js} +1 -1
- package/dist/cdn/{EQXQ6YNY.js → 3ZEFAZQJ.js} +1 -1
- package/dist/cdn/4E2QV2RF.js +2 -0
- package/dist/cdn/{QPRIL54J.js → 4KYIM4XN.js} +1 -1
- package/dist/cdn/{MSGOASUF.js → 52LTQZ5L.js} +1 -1
- package/dist/cdn/{YT2I5RUD.js → 5CJ5TY42.js} +1 -1
- package/dist/cdn/{7DOH2ZMP.js → 5J4YGZZD.js} +1 -1
- package/dist/cdn/{EKZZ7R2V.js → 5KUZRJBN.js} +1 -1
- package/dist/cdn/{VW52F2EM.js → 62H3JCSO.js} +1 -1
- package/dist/cdn/{Y3CBLTF5.js → 654SAJ5M.js} +1 -1
- package/dist/cdn/{6LSHZOMB.js → 6HDTGG3L.js} +1 -1
- package/dist/cdn/6PZ6PVTG.js +2 -0
- package/dist/cdn/{VVURRW2F.js → 6PZREC7X.js} +1 -1
- package/dist/cdn/6RFIB2J7.js +2 -0
- package/dist/cdn/7JVIFSRF.js +2 -0
- package/dist/cdn/{57INLFON.js → 7UQHQGGR.js} +1 -1
- package/dist/cdn/{YE7JMYIB.js → 7WBAW4FI.js} +1 -1
- package/dist/cdn/{BCTFO27G.js → AC6MJOAB.js} +1 -1
- package/dist/cdn/ALXBMM22.js +2 -0
- package/dist/cdn/{67TUHEUB.js → AOU46BFO.js} +1 -1
- package/dist/cdn/{DY3BUOEI.js → BR4TZZCB.js} +1 -1
- package/dist/cdn/{TAZIMIFF.js → BXXSHO4P.js} +1 -1
- package/dist/cdn/{2ECRQJCU.js → CBXXTXHF.js} +1 -1
- package/dist/cdn/{6HNQQRYK.js → CYEOUBT7.js} +1 -1
- package/dist/cdn/{MWCQXZOT.js → D3Q2BMGC.js} +2 -2
- package/dist/cdn/{RQEYXUDW.js → DXYCRHKW.js} +1 -1
- package/dist/cdn/{KUZQPBVI.js → E3FUDTEG.js} +1 -1
- package/dist/cdn/{5YORDAVH.js → EUJEN75Q.js} +1 -1
- package/dist/cdn/{ADJCIRZS.js → EUODHGXF.js} +1 -1
- package/dist/cdn/{5G3AHODR.js → F2JNLC5K.js} +1 -1
- package/dist/cdn/{6QODI424.js → GARIVREH.js} +1 -1
- package/dist/cdn/{33HIGVEX.js → GSTBH4J5.js} +1 -1
- package/dist/cdn/{RBCOT3CJ.js → H7MJ7IGV.js} +1 -1
- package/dist/cdn/{EPMMVHPO.js → HHBYWWW3.js} +1 -1
- package/dist/cdn/{23DKMPGJ.js → HSSQBD3H.js} +1 -1
- package/dist/cdn/{ZNG42S47.js → HTXFCOPI.js} +1 -1
- package/dist/cdn/{NJJEOZ2G.js → I5KQH3I2.js} +1 -1
- package/dist/cdn/{K7O46PDI.js → IEY5UTNT.js} +1 -1
- package/dist/cdn/{VEUUNFWR.js → JHAGL5UZ.js} +1 -1
- package/dist/cdn/{K2BF5736.js → KD2OVMZO.js} +1 -1
- package/dist/cdn/{HNPTTIXC.js → KS76NDW7.js} +1 -1
- package/dist/cdn/{MP5X6HGT.js → KT2ORA3Q.js} +1 -1
- package/dist/cdn/{R47OTDC2.js → L6L2P3QS.js} +1 -1
- package/dist/cdn/{RTVWZSKJ.js → L7WRG2G5.js} +1 -1
- package/dist/cdn/{LLIZZGSY.js → LIARPICS.js} +1 -1
- package/dist/cdn/{ZFSMRICA.js → LWBJ45OR.js} +1 -1
- package/dist/cdn/{MDHKDE77.js → MJ4LI4IV.js} +1 -1
- package/dist/cdn/{5BEMMNL7.js → MS6GCUUL.js} +1 -1
- package/dist/cdn/{IQ6XED24.js → N2JDDZHC.js} +1 -1
- package/dist/cdn/{BADKNCL4.js → N2WO3YVL.js} +1 -1
- package/dist/cdn/{XWJFP7BZ.js → NC6JL2EV.js} +1 -1
- package/dist/cdn/{2YCDW2EI.js → NGJIRF7M.js} +1 -1
- package/dist/cdn/{2JBJVGPJ.js → NHPGVRRO.js} +1 -1
- package/dist/cdn/{MJDNGEFJ.js → OI3ISQWM.js} +1 -1
- package/dist/cdn/{N6EQBPC2.js → OLFZ5ET5.js} +1 -1
- package/dist/cdn/{BGBLGDVO.js → OOSW7Q2C.js} +1 -1
- package/dist/cdn/PEBFXPSL.js +2 -0
- package/dist/cdn/{ZD3OZO6O.js → QD2Q6HPQ.js} +1 -1
- package/dist/cdn/{JSX7H42C.js → QKSAGMHC.js} +1 -1
- package/dist/cdn/{M2MN2QB7.js → QP3QUOVI.js} +1 -1
- package/dist/cdn/{BA4FCDQY.js → QPBV4Y7M.js} +1 -1
- package/dist/cdn/{RYRVUHB7.js → RJVZG4T4.js} +1 -1
- package/dist/cdn/{NORNRIIE.js → SEH4C4BM.js} +1 -1
- package/dist/cdn/{QZZ2CQWS.js → SRAAWOU6.js} +1 -1
- package/dist/cdn/{YUWQWOOF.js → T3XWY77W.js} +1 -1
- package/dist/cdn/{RGFLXW4Q.js → UIJUUMOH.js} +1 -1
- package/dist/cdn/{UV4D2QFA.js → UYIFEFZO.js} +1 -1
- package/dist/cdn/{TF3C523O.js → UZTK5BFT.js} +1 -1
- package/dist/cdn/{VPMYUEFF.js → V3B323D4.js} +1 -1
- package/dist/cdn/{SIUK7OO4.js → VMF3426Z.js} +1 -1
- package/dist/cdn/{M6DR7QBF.js → W4AUM6QU.js} +1 -1
- package/dist/cdn/{SQYHEYVJ.js → WCF7EVUQ.js} +1 -1
- package/dist/cdn/{VGIXK3YM.js → WJK27OTO.js} +1 -1
- package/dist/cdn/{5QP3RIEO.js → X43QJBP2.js} +1 -1
- package/dist/cdn/{XLBMKYPQ.js → XCS33CLJ.js} +1 -1
- package/dist/cdn/{NARQQKRW.js → XJTGQUMI.js} +1 -1
- package/dist/cdn/{TGH6D5IY.js → YQSES45Q.js} +1 -1
- package/dist/cdn/{DV233ITZ.js → Z73DPA3J.js} +1 -1
- package/dist/cdn/{Z6NMQGEQ.js → ZSYY5MLI.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +45 -27
- package/dist/chunks/cardFetchingUtils.js +11 -11
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/{interfaces.js → helpers.js} +196 -196
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +70 -69
- package/dist/components/arcgis-solutions-assistant/customElement.js +20 -20
- package/dist/components/layer-table/customElement.js +2 -2
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +4 -4
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +5 -5
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-user-avatar/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +8 -7
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/utils/Auth.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cdn/4O4QS3DG.js +0 -2
- package/dist/cdn/5QSIKX2L.js +0 -2
- package/dist/cdn/BXKV2QC3.js +0 -2
- package/dist/cdn/EIQZRLWQ.js +0 -2
- package/dist/cdn/S42I3DOW.js +0 -2
- package/dist/cdn/SFZEAERJ.js +0 -2
- package/dist/cdn/TZPSZTAH.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a}from"./
|
|
2
|
+
import{a}from"./MJ4LI4IV.js";import"./Z73DPA3J.js";import"./36I27Q5R.js";import"./GDPFKW75.js";import"./7JVIFSRF.js";import"./46DQNAMV.js";import"./OR4HXHSY.js";export{a as SolutionItemAccordion};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{c as i}from"./
|
|
2
|
+
import{c as i}from"./7JVIFSRF.js";function l(r,t){let a=n(r,t),e=i("assets/item-icons/");return a==="group"?`${e}/${a}16.png`:`${e}/${a}16.svg`}function n(r,t){let a=r.toLowerCase(),e=t||[],s=e.includes("Hosted Service");switch(a.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return e.includes("3DObject")?"3dobjecttileslayer":e.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(e.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";let c=e.includes("Spatiotemporal");return e.includes("Table")?c?"spatiotemporaltable":"table":e.includes("Route Layer")?"routelayer":e.includes("Markup")?"markup":c?"spatiotemporal":e.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group":return"group";case"group layer":return e.includes("Map")?"layergroup2d":e.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||e.includes("Tiled")?"maptiles":"mapimages";case"scene service":return e.includes("Line")?"sceneweblayerline":e.includes("3DObject")?"sceneweblayermultipatch":e.includes("Point")?"sceneweblayerpoint":e.includes("IntegratedMesh")?"sceneweblayermesh":e.includes("PointCloud")?"sceneweblayerpointcloud":e.includes("Polygon")?"sceneweblayerpolygon":e.includes("Building")?"sceneweblayerbuilding":e.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return e.includes("Elevation 3D Layer")?"elevationlayer":e.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return e.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return e.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return e.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return e.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":return e.includes("ArcGIS Pro")?"mapsgray":"layersgray";case"explorer map":return e.indexOf("Explorer Document")?"mapsgray":e.includes("Explorer Mapping Application")?"datafilesgray":"mapsgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return e.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image collection":return"imagecollection";case"style":return e.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return e.includes("storymaptemplate")?"storymapstemplate":e.includes("storymapcollection")?"storymapcollection":e.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return e.includes("Document")?"datafilesgray":a.includes("service")?"layers":"maps"}}export{l as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{b as m}from"./
|
|
2
|
+
import{b as m}from"./7JVIFSRF.js";import{F as l,G as d,H as p,h as n,i as o}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([f,w])=>{var S=n`:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,s=class extends p{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this._searchElement=l()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchWidget:0}}static{this.styles=S}willUpdate(i){i.has("searchConfiguration")&&this.watchSearchConfigurationHandler(),i.has("mapView")&&this.mapViewWatchHandler()}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSearchWidget()})}loaded(){return this._initSearchWidget()}render(){return o`<div class="search-widget" ${d(this._searchElement)}></div>`}_initSearchWidget(){if(this.mapView&&this._searchElement.value&&!this.searchWidget){let i={view:this.mapView,container:this._searchElement.value,searchTerm:this.searchTerm};this.searchConfiguration&&(i={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new f(i),this.searchWidget&&(this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled)}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(i,u){let g="includeDefaultSources",t=i.sources;return t&&t?.length>0?(i[g]=!1,t.forEach(r=>{if(r.hasOwnProperty("layer")){let e=r,a=e.layer?.id,h=a?u.map?.findLayerById(a):null,c=e?.layer?.url;h?e.layer=h:c&&(e.layer=new w(c))}}),t?.forEach(r=>{if(r.hasOwnProperty("locator")){let e=r;if(e?.name==="ArcGIS World Geocoding Service"){let a=e.outFields||["Addr_type","Match_addr","StAddr","City"];e.outFields=a,e.singleLineFieldName="SingleLine"}e.url=e.url,delete e.url}})):i={...i,includeDefaultSources:!0},i}};m("map-search",s);return s},"widgets/Search","layers/FeatureLayer")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a as o}from"./
|
|
2
|
+
import{a as o}from"./Z73DPA3J.js";import"./36I27Q5R.js";import"./GDPFKW75.js";import{b as d}from"./7JVIFSRF.js";import{F as r,G as c,H as u,h as l,i as s,r as a}from"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([i,h])=>{var f=l`:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,n=class extends u{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=o({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=a(),this.distanceChanged=a(),this.unitChanged=a()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=f}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?s`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&i&&h){i.isLoaded()||await i.load();let t=this.geometries[0].spatialReference,e=this.geometries,m=t.isWGS84||t.isWebMercator?i.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):h.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(m)}},400))}_getTextBoxDisplay(){return s`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${c(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return s`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};d("buffer-tools",n);return n},"geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{b as r}from"./36I27Q5R.js";import{c as o}from"./
|
|
2
|
+
import{b as r}from"./36I27Q5R.js";import{c as o}from"./7JVIFSRF.js";var s=r(o);export{s as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import e from"./
|
|
2
|
+
import e from"./3MHFKNRH.js";import d from"./RJVZG4T4.js";import"./MQF26HKA.js";import"./JOQDD4HN.js";import"./G4VIPBRX.js";import"./JM5FJEHU.js";import c from"./PEBFXPSL.js";import"./PZ4L77M5.js";import"./JE7L7M3J.js";import b from"./KDIUYXBA.js";import a from"./UUYUTETH.js";import"./Z73DPA3J.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"./7JVIFSRF.js";import"./46DQNAMV.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a}from"./EIQZRLWQ.js";import{v as e}from"./46DQNAMV.js";import"./OR4HXHSY.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./MWCQXZOT.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./TGH6D5IY.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./HNPTTIXC.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPMMVHPO.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./EKZZ7R2V.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("./ADJCIRZS.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./2JBJVGPJ.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("./BA4FCDQY.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("./6LSHZOMB.js")],"delete-button":[()=>import("./5G3AHODR.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./RQEYXUDW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./IQ6XED24.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./X5T6TZW3.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./VPMYUEFF.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./SQYHEYVJ.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./5YORDAVH.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./K7O46PDI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./23DKMPGJ.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./Z6NMQGEQ.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("./QPRIL54J.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./ZFSMRICA.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("./YE7JMYIB.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./UV4D2QFA.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./YT2I5RUD.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./NJJEOZ2G.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("./VEUUNFWR.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./NORNRIIE.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./NARQQKRW.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./EQXQ6YNY.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("./VVURRW2F.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("./33HIGVEX.js")],"pdf-download":[()=>import("./BCTFO27G.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./TF3C523O.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("./SFZEAERJ.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./BGBLGDVO.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./M2MN2QB7.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./QZZ2CQWS.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./N6EQBPC2.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./BADKNCL4.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./7DOH2ZMP.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./BXKV2QC3.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./XWJFP7BZ.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./57INLFON.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./5QP3RIEO.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./VGIXK3YM.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./6HNQQRYK.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./2ECRQJCU.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./ZNG42S47.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./LLIZZGSY.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("./M6DR7QBF.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./DY3BUOEI.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./KUZQPBVI.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./TZPSZTAH.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./RBCOT3CJ.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./5BEMMNL7.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./IHDRZQU4.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./YUWQWOOF.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./RTVWZSKJ.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./SIUK7OO4.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./2YCDW2EI.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}}");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)
|
|
2
|
+
import{a}from"./7JVIFSRF.js";import{v as e}from"./46DQNAMV.js";import"./OR4HXHSY.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./D3Q2BMGC.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./YQSES45Q.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./KS76NDW7.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./HHBYWWW3.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./5KUZRJBN.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("./EUODHGXF.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./NHPGVRRO.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("./QPBV4Y7M.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("./6HDTGG3L.js")],"delete-button":[()=>import("./F2JNLC5K.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./DXYCRHKW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./N2JDDZHC.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./2ZHFKBQO.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./V3B323D4.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./WCF7EVUQ.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./EUJEN75Q.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./IEY5UTNT.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./HSSQBD3H.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./ZSYY5MLI.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("./4KYIM4XN.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./LWBJ45OR.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("./7WBAW4FI.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./UYIFEFZO.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./5CJ5TY42.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./I5KQH3I2.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("./JHAGL5UZ.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./SEH4C4BM.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./XJTGQUMI.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./3ZEFAZQJ.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("./6PZREC7X.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("./GSTBH4J5.js")],"pdf-download":[()=>import("./AC6MJOAB.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./UZTK5BFT.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("./6PZ6PVTG.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./OOSW7Q2C.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./QP3QUOVI.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./SRAAWOU6.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./OLFZ5ET5.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./N2WO3YVL.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./5J4YGZZD.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./6RFIB2J7.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./NC6JL2EV.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./7UQHQGGR.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./X43QJBP2.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./WJK27OTO.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./CYEOUBT7.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./2DPJZTGZ.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./CBXXTXHF.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./LIARPICS.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("./W4AUM6QU.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./BR4TZZCB.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./E3FUDTEG.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ALXBMM22.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./H7MJ7IGV.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./MS6GCUUL.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./HTXFCOPI.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./T3XWY77W.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./L7WRG2G5.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./VMF3426Z.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./NGJIRF7M.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}}");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
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import * as
|
|
2
|
+
import * as o from "@esri/solution-common";
|
|
3
3
|
import a from "@arcgis/core/identity/IdentityManager.js";
|
|
4
4
|
import h from "@arcgis/core/identity/OAuthInfo.js";
|
|
5
5
|
import c from "@arcgis/core/portal/Portal.js";
|
|
6
|
-
|
|
6
|
+
import { x as p } from "./helpers.js";
|
|
7
|
+
class S {
|
|
7
8
|
constructor(t, e, r, s) {
|
|
8
|
-
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 = t ?? "", this._locale = r ?? "en", this._portalUrl = e ?? "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;
|
|
9
|
+
this._credential = void 0, this._isEnterprise = !1, this._locale = "en", this._portalSubset = void 0, this._portalUserSubset = void 0, this._arcGISOnlineReachable = !0, this._searchArcGISOnlineEnabled = !0, this._signInParam = void 0, this._clientId = t ?? "", this._locale = r ?? "en", this._portalUrl = e ?? "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;
|
|
9
10
|
const i = new h({
|
|
10
11
|
appId: this._clientId,
|
|
11
12
|
locale: this._locale,
|
|
@@ -16,8 +17,8 @@ class g {
|
|
|
16
17
|
});
|
|
17
18
|
try {
|
|
18
19
|
a.registerOAuthInfos([i]);
|
|
19
|
-
} catch (
|
|
20
|
-
console.log(
|
|
20
|
+
} catch (n) {
|
|
21
|
+
console.log(n);
|
|
21
22
|
}
|
|
22
23
|
this._portal = new c({ url: this._portalUrl });
|
|
23
24
|
}
|
|
@@ -69,10 +70,27 @@ class g {
|
|
|
69
70
|
return this.PortalUserPrivileges.includes("portal:admin:viewItems");
|
|
70
71
|
}
|
|
71
72
|
get CanSearchArcGISOnline() {
|
|
72
|
-
return this._searchArcGISOnlineEnabled;
|
|
73
|
+
return this._searchArcGISOnlineEnabled && this._arcGISOnlineReachable;
|
|
74
|
+
}
|
|
75
|
+
/** Checks if the ArcGIS Online group is reachable for Enterprise portals. */
|
|
76
|
+
async checkArcGISOnlineReachability(t) {
|
|
77
|
+
if (this._isEnterprise && this._searchArcGISOnlineEnabled && t) {
|
|
78
|
+
const r = `${p(this._portalUrl)}/sharing/rest`, s = new o.UserSession({});
|
|
79
|
+
try {
|
|
80
|
+
await o.searchItems({
|
|
81
|
+
q: `group:${t} type:Solution`,
|
|
82
|
+
num: 1,
|
|
83
|
+
start: 1,
|
|
84
|
+
authentication: s,
|
|
85
|
+
portal: r
|
|
86
|
+
}), this._arcGISOnlineReachable = !0;
|
|
87
|
+
} catch (i) {
|
|
88
|
+
this._arcGISOnlineReachable = !1, console.warn("ArcGIS Online solutions group not reachable:", i);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
73
91
|
}
|
|
74
92
|
get RestUserSession() {
|
|
75
|
-
const t = a.findServerInfo(this._portalRestUrl), e = this._credential ?
|
|
93
|
+
const t = a.findServerInfo(this._portalRestUrl), e = this._credential ? o.UserSession.fromCredential(this._credential, t) : this._isEnterprise ? new o.UserSession({}) : new o.UserSession({ portal: this._portalRestUrl });
|
|
76
94
|
return e.portal = this.PortalSubset?.restUrl ? this.PortalSubset?.restUrl : e.portal, e.clientId = this._credential?._oAuthCred?.appId, e._refreshToken = this._credential?._oAuthCred?.refreshToken, e;
|
|
77
95
|
}
|
|
78
96
|
/**
|
|
@@ -81,9 +99,9 @@ class g {
|
|
|
81
99
|
*
|
|
82
100
|
* @returns Promise that resolves with the initialized Auth object
|
|
83
101
|
*/
|
|
84
|
-
async initialize(t = !1) {
|
|
102
|
+
async initialize(t = !1, e) {
|
|
85
103
|
try {
|
|
86
|
-
await this._init(t);
|
|
104
|
+
await this._init(t, e);
|
|
87
105
|
} catch {
|
|
88
106
|
this.destroy();
|
|
89
107
|
}
|
|
@@ -103,9 +121,9 @@ class g {
|
|
|
103
121
|
const r = e.authorizeParams.redirect_uri;
|
|
104
122
|
if (t.length > 0) {
|
|
105
123
|
const s = r.split("?"), i = s[0];
|
|
106
|
-
let
|
|
124
|
+
let n = "";
|
|
107
125
|
const l = new URLSearchParams(s[1] || "");
|
|
108
|
-
l.append("signInParam", t),
|
|
126
|
+
l.append("signInParam", t), n = "?" + l.toString(), e.authorizeParams.redirect_uri = i + n;
|
|
109
127
|
}
|
|
110
128
|
window.location.href = e.authorizeUrl + "?" + this._objectToQuery(e.authorizeParams);
|
|
111
129
|
}), await a.getCredential((this._portalSubset?.portalUrl ?? this._portalUrl) + "/sharing").then(
|
|
@@ -153,21 +171,21 @@ class g {
|
|
|
153
171
|
* If the user is not authorized to use the app, the page will be redirected to an error page.
|
|
154
172
|
* @returns Promise that resolves with the initialized Auth object
|
|
155
173
|
*/
|
|
156
|
-
async _init(t = !1) {
|
|
174
|
+
async _init(t = !1, e) {
|
|
157
175
|
try {
|
|
158
176
|
this._credential = await a.checkSignInStatus(this._portalUrl + "/sharing");
|
|
159
|
-
} catch (
|
|
160
|
-
console.log(
|
|
177
|
+
} catch (s) {
|
|
178
|
+
console.log(s);
|
|
161
179
|
}
|
|
162
180
|
try {
|
|
163
|
-
const
|
|
164
|
-
(typeof
|
|
165
|
-
} catch (
|
|
166
|
-
|
|
181
|
+
const s = await a.checkAppAccess(this._portalUrl + "/sharing", this._clientId);
|
|
182
|
+
(typeof s.valid < "u" && !s.valid || s.viewOnlyUserTypeApp) && window.location.replace(`error.html?error=blocked&locale=${this._locale}`), this._credential = s.credential;
|
|
183
|
+
} catch (s) {
|
|
184
|
+
s.name;
|
|
167
185
|
}
|
|
168
186
|
this._searchArcGISOnlineEnabled = await this._checkSearchArcGISOnlineEnabled(t, this._portal.restUrl), this._portal.authMode = t ? "immediate" : "auto", await this._portal.load();
|
|
169
|
-
const
|
|
170
|
-
return this._isEnterprise = this._portal.isPortal, this._portalSubset = {
|
|
187
|
+
const r = this._credential ? await o.getOrganizationSettings(this.RestUserSession) : {};
|
|
188
|
+
return this._isEnterprise = this._portal.isPortal, await this.checkArcGISOnlineReachability(e), this._portalSubset = {
|
|
171
189
|
name: this._portal.name ?? "",
|
|
172
190
|
id: this._portal.id ?? "",
|
|
173
191
|
restUrl: this._portal.restUrl ?? "",
|
|
@@ -179,7 +197,7 @@ class g {
|
|
|
179
197
|
hubPremiumEnabled: this._portal.portalProperties?.hub?.enabled || !1,
|
|
180
198
|
workflowURL: this._portal.helperServices?.workflowManager?.url ?? this._portal.url,
|
|
181
199
|
isReadOnly: this._portal.isReadOnly,
|
|
182
|
-
orgSettings:
|
|
200
|
+
orgSettings: r
|
|
183
201
|
}, this._portalUserSubset = {
|
|
184
202
|
fullName: this._portal.user?.fullName ?? "",
|
|
185
203
|
username: this._portal.user?.username ?? "",
|
|
@@ -189,15 +207,15 @@ class g {
|
|
|
189
207
|
privileges: this._portal.user.privileges,
|
|
190
208
|
role: this._portal.user?.role ?? "",
|
|
191
209
|
roleId: this._portal.user?.roleId ?? void 0
|
|
192
|
-
}, this._isEnterprise && this._portalSubset && (this._portalSubset.workflowURL = await
|
|
210
|
+
}, this._isEnterprise && this._portalSubset && (this._portalSubset.workflowURL = await o.getWorkflowEnterpriseServerRootURL(
|
|
193
211
|
this._portal.restUrl,
|
|
194
|
-
this.RestUserSession || new
|
|
212
|
+
this.RestUserSession || new o.UserSession({})
|
|
195
213
|
)), this._portal?.user?.roleId && this._portalUserSubset && (this._portalUserSubset.roleId = this._portal.user.roleId), this;
|
|
196
214
|
}
|
|
197
215
|
async _checkSearchArcGISOnlineEnabled(t, e) {
|
|
198
216
|
if (t)
|
|
199
217
|
try {
|
|
200
|
-
const r = `${e}/portals/self/settings`, s = await
|
|
218
|
+
const r = `${e}/portals/self/settings`, s = await o.request(r, {
|
|
201
219
|
authentication: this._credential ? this.RestUserSession : void 0
|
|
202
220
|
});
|
|
203
221
|
return s?.portalConfigProperties?.searchArcGISOnlineEnabled !== void 0 ? s.portalConfigProperties.searchArcGISOnlineEnabled : !1;
|
|
@@ -254,11 +272,11 @@ class g {
|
|
|
254
272
|
const s = t[r];
|
|
255
273
|
if (s == null)
|
|
256
274
|
return "";
|
|
257
|
-
const i = encodeURIComponent(r) + "=",
|
|
258
|
-
return
|
|
275
|
+
const i = encodeURIComponent(r) + "=", n = e && e[r];
|
|
276
|
+
return n ? i + encodeURIComponent(n(s)) : Array.isArray(s) ? s.map((l) => this._isSerializable(l) ? i + encodeURIComponent(JSON.stringify(l)) : i + encodeURIComponent(l)).join("&") : this._isSerializable(s) ? i + encodeURIComponent(JSON.stringify(s)) : i + encodeURIComponent(s);
|
|
259
277
|
}).filter((r) => r).join("&") : "";
|
|
260
278
|
}
|
|
261
279
|
}
|
|
262
280
|
export {
|
|
263
|
-
|
|
281
|
+
S as A
|
|
264
282
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { s as O, d as D, e as g, b as I } from "./cardsHelpers.js";
|
|
3
3
|
import * as l from "@esri/solution-common";
|
|
4
|
-
import {
|
|
5
|
-
class
|
|
4
|
+
import { x as T, z as B, O as M, Q as E, R as N, U as y, B as J } from "./helpers.js";
|
|
5
|
+
class _ {
|
|
6
6
|
/**
|
|
7
7
|
* Constructor
|
|
8
8
|
*
|
|
@@ -16,7 +16,7 @@ class x {
|
|
|
16
16
|
categoriesAsStr: "[]",
|
|
17
17
|
sortField: "title",
|
|
18
18
|
sortOrder: "asc"
|
|
19
|
-
}, this.locale = r, this.orgUrl = t, this.portalUrl = s, this.anonAgolSession = new l.UserSession({}), this.agolPortalUrl =
|
|
19
|
+
}, this.locale = r, this.orgUrl = t, this.portalUrl = s, this.anonAgolSession = new l.UserSession({}), this.agolPortalUrl = T(s);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Adds a card to the cache to keep cache fresh between full refreshes.
|
|
@@ -216,9 +216,9 @@ class x {
|
|
|
216
216
|
snippet: e.snippet || "",
|
|
217
217
|
description: e.description || "",
|
|
218
218
|
url: e.url || "",
|
|
219
|
-
itemUrl: `${c}/home/item.html` +
|
|
219
|
+
itemUrl: `${c}/home/item.html` + y([{ k: "id", v: e.id }]) || "",
|
|
220
220
|
thumbnailFilename: e.thumbnail,
|
|
221
|
-
thumbnailUrl:
|
|
221
|
+
thumbnailUrl: N(
|
|
222
222
|
e.id,
|
|
223
223
|
e.thumbnail,
|
|
224
224
|
this.cMissingImageDataURI,
|
|
@@ -233,7 +233,7 @@ class x {
|
|
|
233
233
|
numViews: e.numViews,
|
|
234
234
|
tags: e.tags,
|
|
235
235
|
categories: e.groupCategories && e.groupCategories.length > 0 ? e.groupCategories : e.categories || [],
|
|
236
|
-
licenseInfo:
|
|
236
|
+
licenseInfo: M(e.licenseInfo),
|
|
237
237
|
deployCommonId: B(e.typeKeywords || [], "solutionid-"),
|
|
238
238
|
deployVersion: B(e.typeKeywords || [], "solutionversion-"),
|
|
239
239
|
canDelete: e.created > 16183314e5,
|
|
@@ -282,7 +282,7 @@ class x {
|
|
|
282
282
|
) : [];
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
async function
|
|
285
|
+
async function j(h, r, t, s, e = J, i = "created", c = "desc", a = !1, o = [], C = [], f, p, u) {
|
|
286
286
|
if (!h?.IsSignedIn)
|
|
287
287
|
return;
|
|
288
288
|
const P = {
|
|
@@ -294,7 +294,7 @@ async function z(h, r, t, s, e = J, i = "created", c = "desc", a = !1, o = [], C
|
|
|
294
294
|
categories: o,
|
|
295
295
|
num: 100
|
|
296
296
|
};
|
|
297
|
-
return P.q += k(h, p), await
|
|
297
|
+
return P.q += k(h, p), await x(
|
|
298
298
|
r,
|
|
299
299
|
P,
|
|
300
300
|
s,
|
|
@@ -308,7 +308,7 @@ function k(h, r) {
|
|
|
308
308
|
const s = h.PortalUserOrg, e = h.PortalUserName;
|
|
309
309
|
return s && (t += " orgid:" + s), r !== "My organization's solutions" && e && (t += " owner:" + e), t;
|
|
310
310
|
}
|
|
311
|
-
async function
|
|
311
|
+
async function x(h, r, t, s, e = "", i) {
|
|
312
312
|
const c = await t.requestDeployedSolutionCards(r, h, e, i), a = I(c.cards, s);
|
|
313
313
|
return {
|
|
314
314
|
cards: c.cards,
|
|
@@ -316,6 +316,6 @@ async function K(h, r, t, s, e = "", i) {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
export {
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
_ as C,
|
|
320
|
+
j as g
|
|
321
321
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import "@esri/solution-common";
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
3
|
+
import { z as a } from "./helpers.js";
|
|
4
|
+
function p(o, t) {
|
|
5
5
|
const n = [];
|
|
6
6
|
return o.forEach((e) => {
|
|
7
7
|
t.has(e.id) && n.push(e);
|
|
8
8
|
}), n;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function y(o, t, n) {
|
|
11
11
|
if (t < 1 || o.length < t)
|
|
12
12
|
return {
|
|
13
13
|
cards: [],
|
|
@@ -99,8 +99,8 @@ export {
|
|
|
99
99
|
b as a,
|
|
100
100
|
g as b,
|
|
101
101
|
u as c,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
p as d,
|
|
103
|
+
y as e,
|
|
104
104
|
I as f,
|
|
105
105
|
m as g,
|
|
106
106
|
h,
|