@esri/solutions-components 5.1.0-next.166 → 5.1.0-next.168
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/2MCOUOTQ.js +2 -0
- package/dist/cdn/{SJ2IGQMX.js → 4D46WTPB.js} +1 -1
- package/dist/cdn/4L7TJNAM.js +43 -0
- package/dist/cdn/6KO7AYJN.js +2 -0
- package/dist/cdn/{QVUBUYP6.js → 6LN2ZRAZ.js} +1 -1
- package/dist/cdn/{PVPKXQBE.js → BU6BDYWD.js} +3 -3
- package/dist/cdn/{CKWEF3KW.js → BYOO7TWU.js} +1 -1
- package/dist/cdn/{T26SIBKB.js → DFHULDJT.js} +1 -1
- package/dist/cdn/{GI33DSVT.js → DGGIENYR.js} +1 -1
- package/dist/cdn/{IVKRYKER.js → DSJRQHKW.js} +1 -1
- package/dist/cdn/{BT3FYIEX.js → EBAOA6CS.js} +1 -1
- package/dist/cdn/{ZOFZVFBV.js → F5463ORT.js} +1 -1
- package/dist/cdn/{K5ZYDQR7.js → FK6Q2LYR.js} +1 -1
- package/dist/cdn/{UTUOUV3E.js → HGOH5KSX.js} +1 -1
- package/dist/cdn/{XLGAHCS7.js → HUYLWWWJ.js} +1 -1
- package/dist/cdn/{Y32IJPXS.js → I6EH3H6Z.js} +1 -1
- package/dist/cdn/{25QYS4LE.js → IP7IUAM5.js} +1 -1
- package/dist/cdn/{3FKVBTJC.js → JCGZXASG.js} +1 -1
- package/dist/cdn/{P5RZHVDH.js → JJLYSRRX.js} +1 -1
- package/dist/cdn/{JGL4WYTO.js → K6O33P5T.js} +1 -1
- package/dist/cdn/{RHAHQ4DB.js → LQ6PZESP.js} +1 -1
- package/dist/cdn/{AFLXI5U2.js → LUIN5XSX.js} +1 -1
- package/dist/cdn/LWQ4SBU2.js +2 -0
- package/dist/cdn/{DKZ4FZKK.js → LXGPZJIZ.js} +1 -1
- package/dist/cdn/{ZSTC2DJY.js → MBT2S4J5.js} +1 -1
- package/dist/cdn/{GJWHFH2F.js → MXF4BYLT.js} +1 -1
- package/dist/cdn/{C47WRU5U.js → OTQLLNFG.js} +1 -1
- package/dist/cdn/{RYJ556XB.js → PM7QF66M.js} +1 -1
- package/dist/cdn/{TCRMAQDF.js → QKSC4XFL.js} +1 -1
- package/dist/cdn/{2BRPSISV.js → ROGRXRFI.js} +1 -1
- package/dist/cdn/{46I7FRQJ.js → RWHR4UZT.js} +1 -1
- package/dist/cdn/{VXGLGWIF.js → SNA7NRRQ.js} +3 -3
- package/dist/cdn/{K4LZRLGL.js → T5R4UF7Y.js} +1 -1
- package/dist/cdn/{KD4IHPH6.js → UOQSRV3X.js} +2 -2
- package/dist/cdn/{2VG5GRFH.js → V6N4G75E.js} +1 -1
- package/dist/cdn/{2YC25V3L.js → VJBL5ZUX.js} +1 -1
- package/dist/cdn/{UEYON3AE.js → VLBNRURV.js} +1 -1
- package/dist/cdn/{XXCHYJ3I.js → VLF76E2L.js} +1 -1
- package/dist/cdn/{2BI4S6V2.js → VY364MR6.js} +1 -1
- package/dist/cdn/{Z7VXHUQA.js → WKRSOM6J.js} +1 -1
- package/dist/cdn/{VL2NVCIB.js → WRWWRMHZ.js} +3 -3
- package/dist/cdn/{VTFLDHVU.js → X6TQNCB3.js} +1 -1
- package/dist/cdn/Y2MAVMNV.js +2 -0
- package/dist/cdn/{66N4ZZKC.js → ZWL4JFKS.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/assessBuildRequest.js +2 -2
- package/dist/chunks/assistantResponse.js +23 -29
- package/dist/chunks/designSolution.js +3 -3
- package/dist/chunks/interfaces.js +6 -3
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +9 -9
- package/dist/components/card-manager/customElement.d.ts +0 -3
- package/dist/components/card-manager/customElement.js +6 -6
- package/dist/components/create-feature/customElement.js +80 -62
- package/dist/components/create-related-feature/customElement.js +12 -9
- package/dist/components/crowdsource-manager/customElement.js +3 -3
- package/dist/components/layer-table/customElement.js +13 -13
- package/dist/components/solution-configure-titles/customElement.js +2 -1
- package/dist/components/solution-delete-dialog/customElement.js +2 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +8 -4
- package/dist/components/solutions-deploy-app/customElement.js +14 -14
- 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/solutions-components_commit.txt +6 -6
- package/dist/types/lumina.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -1
- package/dist/types/react.d.ts +0 -1
- package/dist/types/stencil.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cdn/2NSMAAXL.js +0 -2
- package/dist/cdn/632J5NXN.js +0 -49
- package/dist/cdn/CDT6E3VG.js +0 -2
- package/dist/cdn/HQCHD3FH.js +0 -2
- package/dist/cdn/RSCCUNJ4.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./HIB4BVGK.js";import d from"./
|
|
2
|
+
import{a}from"./HIB4BVGK.js";import d from"./T5R4UF7Y.js";import c from"./JJLYSRRX.js";import b from"./WDASGI72.js";import"./2B4SGB3I.js";import"./RLSY4VUQ.js";import"./RDRCAA3H.js";import"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./HIPZRG2Q.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([])=>{return a},b,c,d)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import d from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as g}from"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import{b}from"./HIPZRG2Q.js";import{F as h,G as c,H as _,J as w,h as m,i as s,q as n,u as C}from"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([f,{b:d},{d:y}])=>{var B=m`@layer{:host{display:block!important}.display-none{display:none}.padding-1{padding:1rem}.position-relative{position:relative}.overflow-auto{overflow:auto}.height-full{height:100%}.paste-component{--arcgis-paste-height: 100%;--arcgis-paste-width: 100%;height:100%;width:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}.margin-top-10{margin-top:10px}card-manager{display:block}}`,p=class extends _{constructor(){super(),this.customInfoText="",this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=!1,this.zoomAndScrollToSelected=!1,this.selectedFeaturesIds=[],this.enableCreateFeatures=!0,this.createBtnLabel="",this.selectingFeatureFromMap=!1,this.showSketchWidgets=!1,this.mapComponentId="",this.pasteEnabled=!1,this.showCopyPasteActions=!1,this.allowedPasteLayerIds=[],this._cardLoading=!1,this._graphics=[],this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._activeFeatureCreationCount=1,this._createAndBackBtnDisabled=!1,this._translations=g({name:"card-manager",blocking:!0}),this._isFeatureCreated=!1,this._createFeature=h(),this._pasteComponent=h(),this.createWorkFlowStarted=n(),this.backFromCreateWorkFlow=n(),this.featuresCopied=n(),this.featuresPasted=n(),this.disablePaste=n(),this._handleCreateAndBackBtn=e=>{this._createFeatureEditor&&(this._createAndBackBtnDisabled=e)},this._featuresAdded=()=>{this._pasteComponent.value&&this._resetPasteWorkflow()},this._initCreateComponent=()=>{this._isFeatureCreated=!1,this._handleCreateAndBackBtn(!1),this._showCreateFeatureComponent=!0},this._createFeatureEditorInitialized=e=>{this._createFeatureEditor=e.detail},this._createFeatureEditorClosed=()=>{this._createFeatureEditor=void 0},this._pasteComponentReady=async()=>{let e=this._pasteComponent.value;if(e&&this.mapComponentId&&e.referenceElement===void 0){let t=document.getElementById(this.mapComponentId);await t.viewOnReady(),e.referenceElement=t}e&&!this._clipboardWatchHandle&&(this._clipboardWatchHandle=f.watch(()=>e.clipboard.hasItems,t=>{t||this.disablePaste.emit()}))},this._applyPasteCommand=async e=>{let t=new Promise((a,o)=>{if(!this._pasteComponent.value){console.error("Paste failed: paste component is not available."),a();return}try{e.detail.applySet?this._pasteComponent.value.writeChanges(e.detail.applySet).then(()=>{this._resetPasteWorkflow(),a()}).catch(i=>{console.log(i),o(i)}):a()}catch(i){o(i),console.error("Paste failed:",i)}});e.detail.completionCallback=t},this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),this.listenOn(window,"copyFeatures",this._copyFeatures),this.listenOn(window,"pasteFeatures",this._pasteFeatures),this.listenOn(window,"featuresAdded",this._featuresAdded),this.listenOn(window,"initCreateComponent",this._initCreateComponent),this.listenOn(window,"createFeatureEditorInitialized",this._createFeatureEditorInitialized),this.listenOn(window,"createFeatureEditorClosed",this._createFeatureEditorClosed),this.listenOn(window,"continueEditing",()=>this._handleCreateAndBackBtn(!1)),this.listenOn(window,"beforeLayerSelectionChange",()=>this._handleCreateAndBackBtn(!0)),this.listenOn(window,"beforeMapInfoChange",()=>this._handleCreateAndBackBtn(!0)),this.listenOn(window,"beforeFeatureSelectionChange",()=>this._handleCreateAndBackBtn(!0))}static{this.properties={customInfoText:1,enableEditGeometry:5,enableSnapping:5,isMobile:5,layerOrTable:0,mapView:0,zoomAndScrollToSelected:5,selectedFeaturesIds:0,enableCreateFeatures:5,createBtnLabel:1,selectingFeatureFromMap:5,showSketchWidgets:5,mapComponentId:1,pasteEnabled:5,showCopyPasteActions:5,allowedPasteLayerIds:0,_cardLoading:16,_graphics:16,_showCreateFeatureComponent:16,_showSubmitBtn:16,_activeFeatureCreationCount:16,_createAndBackBtnDisabled:16,_translations:16}}static{this.styles=B}static{this.shadowRootOptions=C}async featureSelectionChange(e){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();let t=e.detail;this._graphics=await this._getFeaturesByIds(t)}async layerSelectionChange(e){this._showCreateFeatureComponent&&this._backFromCreateFeature();let t=e.detail[0];this.layerOrTable=this.mapView?await y(this.mapView,t):void 0,await this._resetPasteWorkflow()}async mapChanged(e){await this._resetPasteWorkflow()}async relatedRecordToggled(e){let t=e.detail;this.layerOrTable=t}async _copyFeatures(e){if(!this._pasteComponent.value)return;let t=e.detail.featuresIds,a=this.layerOrTable,o=await d(t,a,[],!0,this.mapView?.spatialReference),i=[];o.forEach(r=>{let l={layer:r.layer,graphic:r,type:"feature"};i.push(l)}),this._pasteComponent.value.clipboard.setData(i),this.featuresCopied.emit(),this.requestUpdate()}async _pasteFeatures(e){if(!this._pasteComponent.value){console.error("Paste failed: paste component is not available.");return}try{this._pasteComponent.value.closed=!1,await this._pasteComponent.value.showClipboardItems(!0),this.layerOrTable?.isTable||await this._pasteComponent.value.startMoveClipboard(!0),this.featuresPasted.emit()}catch(t){console.error("Paste failed:",t)}}_getLayerPermissionsCheck(){let e=this.allowedPasteLayerIds?.length>0?this.allowedPasteLayerIds.map(String):this.layerOrTable?.id!==void 0?[String(this.layerOrTable.id)]:[],t=new Set(e);return{canCreate:a=>t.has(String(a.id))&&a.editingEnabled&&a.capabilities?.operations?.supportsAdd,canUpdate:a=>t.has(String(a.id))&&a.editingEnabled&&a.capabilities?.operations?.supportsUpdate}}async _resetPasteWorkflow(){if(this._pasteComponent.value)try{await this._pasteComponent.value.showClipboardItems(!1),await this._pasteComponent.value.cancelMoveClipboard()}catch(e){console.error("Reset paste workflow failed:",e)}finally{this._pasteComponent.value.closed=!0}}async load(){this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}disconnectedCallback(){super.disconnectedCallback(),this._clipboardWatchHandle?.remove(),this._clipboardWatchHandle=void 0}render(){let e=(this._pasteComponent.value?.closed||!this.showCopyPasteActions)&&this._graphics?.length>0,t=this._pasteComponent.value?.closed?"display-none":"",a=this._graphics?.length===0&&this._showCreateFeatureComponent?"":"display-none",o=this._graphics?.length>0||this._showCreateFeatureComponent||!this._pasteComponent.value?.closed&&this.showCopyPasteActions?"display-none":"",i=this.layerOrTable?.isTable,r=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,l=this.enableCreateFeatures&&this.layerOrTable?.editingEnabled&&this.layerOrTable?.capabilities?.operations?.supportsAdd,u=this.createBtnLabel?this.createBtnLabel:i?this._translations.createRecord:this._translations.createFeature,F=!this.layerOrTable,v=this.enableSnapping&&!this.layerOrTable?.isTable,$=this.layerOrTable?.isTable?["paste"]:["paste","paste-as"],k=!this.layerOrTable?.isTable;return s`<calcite-panel><div class="overflow-auto height-full">${e&&s`<calcite-shell class=${"position-relative"}><div class="position-static z-index-500 height-full"><info-card .allowEditing=${this.layerOrTable?.editingEnabled} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${v} .graphics=${this._graphics.reverse()} .isLoading=${this._cardLoading} .isMobile=${this.isMobile} .mapView=${this.mapView} .featuresReferenceId=${this.mapComponentId} position=relative .pasteEnabled=${this.pasteEnabled} show-close-btn .showCopyPasteActions=${this.showCopyPasteActions}></info-card></div></calcite-shell>`||""}<calcite-shell class=${`position-relative ${o}`}><calcite-panel><div class=padding-1><calcite-notice .icon=${this.selectingFeatureFromMap?"map":"table"} icon-flip-rtl open><div slot=message>${r}</div></calcite-notice></div>${!this.isMobile&&l&&s`<calcite-button .disabled=${F} @click=${()=>this._createFeatureBtnClicked()} slot=footer width=full>${u}</calcite-button>`||""}</calcite-panel></calcite-shell><calcite-shell class=${`position-relative ${a}`}><calcite-flow-item selected><calcite-panel .heading=${u}><calcite-action class="back-button hydrated" .disabled=${this._createAndBackBtnDisabled} icon=chevron-left @click=${this._backFromCreateFeature} scale=s slot=header-actions-start .text=${this._translations.back}></calcite-action>${this.getEditorComponent()}${this._showSubmitBtn&&s`<calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._createAndBackBtnDisabled} @click=${()=>this._createFeature.value&&void this._createFeature.value.submit()} slot=footer width=full>${this._activeFeatureCreationCount>1?this._translations.createMultiple.replace("{{n}}",String(this._activeFeatureCreationCount)):this._translations.create}</calcite-button>`||""}</calcite-panel></calcite-flow-item></calcite-shell>${this.showCopyPasteActions&&s`<calcite-panel class=${w(t)}><arcgis-paste always-show-feature-form class=${`paste-component ${t}`} closed @arcgisReady=${this._pasteComponentReady} @arcgisApplyPasteCommand=${this._applyPasteCommand} @arcgisClose=${()=>{this._resetPasteWorkflow()}} paste-with-multiple-layers-enabled paste-with-multiple-features-enabled .layerPermissionsCheck=${this._getLayerPermissionsCheck()} .supportedCommands=${$} .view=${this.mapView} ${c(this._pasteComponent)}>${k&&s`<calcite-notice slot=commands-page-message class="margin-top-10" open icon=move><div slot=message>${this._translations.moveClipboardFeatures}</div></calcite-notice>`||""}</arcgis-paste></calcite-panel>`||""}</div></calcite-panel>`}getEditorComponent(){let e=this.enableSnapping&&!this.layerOrTable?.isTable&&this.enableCreateFeatures;return s`<div>${this._showCreateFeatureComponent&&s`<create-feature allow-multiple-creation customize-submit .enableSnapping=${e} .mapView=${this.mapView} .isMobile=${this.isMobile} @activeFeatureCountChange=${t=>{this._activeFeatureCreationCount=t.detail,this._showSubmitBtn=this._activeFeatureCreationCount>0}} @drawComplete=${()=>{this._showSubmitBtn=!0}} @editingAttachment=${t=>{this._showSubmitBtn=!t.detail}} @progressStatus=${()=>{setTimeout(()=>{this._isFeatureCreated=!1},2e3)}} @success=${this._featureCreated} .showSketchWidgets=${this.showSketchWidgets} .selectedLayerId=${this.layerOrTable?.id} show-guiding-msg .showLayerVisibilityMsg=${this.layerOrTable?.visible===!1} ${c(this._createFeature)}></create-feature>`||""}</div>`}async _getFeaturesByIds(e){return(e.length>0&&this.layerOrTable&&this.mapView?await d(e,this.layerOrTable,[],!0,this.mapView?.spatialReference):[]).sort((t,a)=>e.indexOf(Number(t.getObjectId()))-e.indexOf(Number(a.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this._handleCreateAndBackBtn(!1),this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeatureEditor&&await this._validateActiveEdits()&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit(),this._showSubmitBtn=!1,this._handleCreateAndBackBtn(!1))}async _validateActiveEdits(){let e=!0;if(this._createFeatureEditor&&this._hasPendingEdits()){let t=!1;try{this._handleCreateAndBackBtn(!0),this._createFeatureEditor.activeWorkflow&&await this._createFeatureEditor.activeWorkflow.cancel({force:!1})}catch(a){t=a?.name==="workflow:cancel-denied"}t&&(this._handleCreateAndBackBtn(!1),e=!1)}return e}_hasPendingEdits(){return this._createFeatureEditor?.activeWorkflow?.hasPendingEdits}_featureCreated(){this._showSubmitBtn=!1,this._isFeatureCreated=!0}};b("card-manager",p);return p},"core/reactiveUtils",a,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./
|
|
2
|
+
import e from"./LXGPZJIZ.js";import d from"./VJBL5ZUX.js";import"./HYQVSB6C.js";import c from"./CVHZAZLS.js";import"./2TEBTKD4.js";import"./YUWXPLTE.js";import"./2LCG2XWX.js";import"./LVYAW6XF.js";import b from"./JJLYSRRX.js";import a from"./WDASGI72.js";import"./2B4SGB3I.js";import"./RLSY4VUQ.js";import"./RDRCAA3H.js";import"./DIBK4RSG.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./HIPZRG2Q.js";import"./T3EPRHTT.js";import"./EXBEKVP5.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.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./HIPZRG2Q.js";import{v as e}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./PVPKXQBE.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./VUXNHQGR.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./HQCHD3FH.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./SGFSVWTY.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./VL2NVCIB.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,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("./2NSMAAXL.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./UTUOUV3E.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCopyPaste,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("./S5RB3GMN.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,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,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./6WNKGSHD.js")],"delete-button":[()=>import("./FSF3T3OT.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./5LSNDSHW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./LV5KMTCD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./54A4C4RG.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./YWX2U5OD.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./RHAHQ4DB.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./TFO2AK45.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./BOFA5RH7.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./FYJMHXWV.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./C47WRU5U.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./EWS72RFR.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./2BI4S6V2.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./743J2ZUC.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./5FWKODDH.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./D22STVK5.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./YUI2MSOK.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("./5N4KGIIY.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./PM4EFNB2.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./37P3IMFV.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./2R7Y2ZVX.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("./KR2PPIBX.js"),"_translations:,basemapConfig:,configLayerOrderDefined,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("./3A3CPQX4.js")],"pdf-download":[()=>import("./LXNQ32NZ.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./JS2MTHHP.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("./IXPNZCW6.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./6HZBPFHA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./GJWHFH2F.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./GI33DSVT.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./CDT6E3VG.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./YPBSKBT2.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./ZOFZVFBV.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./K5ZYDQR7.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./E3F63VW4.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./3FKVBTJC.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./66N4ZZKC.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./ZWASNOIQ.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./ADURBGIK.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./R27S3IDW.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./25QYS4LE.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./XXCHYJ3I.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./2BRPSISV.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("./Z7VXHUQA.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./TCRMAQDF.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./XLGAHCS7.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./CKWEF3KW.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./UEYON3AE.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./APNDTPBA.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./IVKRYKER.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CMCEF65U.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./JGL4WYTO.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./VTFLDHVU.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./2VG5GRFH.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./BT3FYIEX.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-builder-assistant,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-list,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"./HIPZRG2Q.js";import{v as e}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./BU6BDYWD.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./VUXNHQGR.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./Y2MAVMNV.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./SGFSVWTY.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./WRWWRMHZ.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,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("./6KO7AYJN.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./HGOH5KSX.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCopyPaste,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("./S5RB3GMN.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,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,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./6WNKGSHD.js")],"delete-button":[()=>import("./FSF3T3OT.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./5LSNDSHW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./LV5KMTCD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./54A4C4RG.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./YWX2U5OD.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./LQ6PZESP.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./TFO2AK45.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./BOFA5RH7.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./FYJMHXWV.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./OTQLLNFG.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./EWS72RFR.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./VY364MR6.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./743J2ZUC.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./5FWKODDH.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./D22STVK5.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./YUI2MSOK.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("./5N4KGIIY.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./PM4EFNB2.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./37P3IMFV.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./2R7Y2ZVX.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("./KR2PPIBX.js"),"_translations:,basemapConfig:,configLayerOrderDefined,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("./3A3CPQX4.js")],"pdf-download":[()=>import("./LXNQ32NZ.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./JS2MTHHP.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("./IXPNZCW6.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./6HZBPFHA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./MXF4BYLT.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./DGGIENYR.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./2MCOUOTQ.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./YPBSKBT2.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./F5463ORT.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./FK6Q2LYR.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./E3F63VW4.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./JCGZXASG.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./ZWL4JFKS.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./ZWASNOIQ.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./ADURBGIK.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./R27S3IDW.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./VLF76E2L.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./IP7IUAM5.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./ROGRXRFI.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("./WKRSOM6J.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./QKSC4XFL.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./HUYLWWWJ.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./BYOO7TWU.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./VLBNRURV.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./APNDTPBA.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./DSJRQHKW.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CMCEF65U.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./K6O33P5T.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./X6TQNCB3.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./V6N4G75E.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./EBAOA6CS.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-builder-assistant,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-list,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)
|
|
@@ -35,9 +35,9 @@ Immediately fail the request if ANY of the following are present:\r
|
|
|
35
35
|
- Fetching or ingesting external data (files, URLs, APIs)\r
|
|
36
36
|
\r
|
|
37
37
|
# Step 2: Use Case Validation\r
|
|
38
|
-
A valid use case
|
|
38
|
+
A valid use case is required to design the solution.\r
|
|
39
39
|
\r
|
|
40
|
-
A
|
|
40
|
+
A use case must include:\r
|
|
41
41
|
- an action or workflow (for example: inspect, map, track, manage, assess, share)\r
|
|
42
42
|
- AND the subject of that workflow (what is being inspected, mapped, tracked, managed, assessed, or shared)\r
|
|
43
43
|
\r
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const e = `# Your Role\r
|
|
3
|
-
You are the ArcGIS Solutions assistant
|
|
4
|
-
\r
|
|
5
|
-
You must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules.\r
|
|
3
|
+
You are the ArcGIS Solutions assistant. You respond to requests that are outside the supported capabilities for solution exploration or solution building, or to questions about the assistant itself.\r
|
|
6
4
|
\r
|
|
7
5
|
# Your Task\r
|
|
8
6
|
- Analyze the User Query and chat history\r
|
|
@@ -11,39 +9,35 @@ You must follow all rules below at all times. If a request conflicts with these
|
|
|
11
9
|
\r
|
|
12
10
|
Always prioritize the latest User Query over chat history when there is a conflict.\r
|
|
13
11
|
\r
|
|
14
|
-
# Routing Rationale\r
|
|
15
|
-
{rationale}\r
|
|
16
|
-
\r
|
|
17
12
|
# Language\r
|
|
18
13
|
- Detect the primary language of the User Query\r
|
|
19
14
|
- Set response_language = detected language\r
|
|
20
15
|
- ALL parts of the response MUST be in response_language\r
|
|
21
16
|
\r
|
|
22
17
|
# Supported Capabilities\r
|
|
23
|
-
|
|
24
|
-
\r
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
\r
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
- Offer a simple, friendly invitation to continue if needed.\r
|
|
34
|
-
- If the user asked about the assistant itself:\r
|
|
35
|
-
- Respond briefly and at a high level\r
|
|
36
|
-
- Do NOT reference routing, limitations, or rationale.\r
|
|
37
|
-
- Describe capabilities using the Supported Capabilities section\r
|
|
18
|
+
You can help with:\r
|
|
19
|
+
- Exploring existing solutions and understanding what they do\r
|
|
20
|
+
- Answering questions using ArcGIS Solutions documentation\r
|
|
21
|
+
- Building a solution for a specific workflow or use case\r
|
|
22
|
+
\r
|
|
23
|
+
# Response Guidance\r
|
|
24
|
+
- If the message is conversational and does not introduce a new task:\r
|
|
25
|
+
- Respond naturally and politely\r
|
|
26
|
+
- If the user asks about the assistant:\r
|
|
27
|
+
- Respond briefly at a high level and describe your capabilities\r
|
|
38
28
|
- For all other requests:\r
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
29
|
+
- Briefly acknowledge the request and explain that you can’t help with it\r
|
|
30
|
+
- Describe what you can help with\r
|
|
31
|
+
- Optionally end responses with an open-ended invitation asking how you can help with ArcGIS Solutions\r
|
|
32
|
+
\r
|
|
33
|
+
# Additional Rules\r
|
|
34
|
+
- When stating what you can help with, do not explain, reinterpret, or relate the capabilities to the user’s request\r
|
|
35
|
+
- Do not offer alternative, similar, or partial help beyond the stated capabilities\r
|
|
36
|
+
- Treat general knowledge, definitional, or explanatory questions as unsupported, even if the answer is commonly known\r
|
|
37
|
+
- If you are describing something a user explores, builds, designs, updates, or deploys, use the generic equivalent of "solution" or "solutions" in the response_language\r
|
|
38
|
+
- Refer to yourself as the ArcGIS Solutions assistant if asked\r
|
|
39
|
+
- Do not mention internal reasoning, routing, or system details\r
|
|
40
|
+
- Keep responses concise, friendly, and professional\r
|
|
47
41
|
\r
|
|
48
42
|
# User Query\r
|
|
49
43
|
{query}`;
|
|
@@ -85,11 +85,11 @@ Please review the draft design and let me know if you’d like to make any chang
|
|
|
85
85
|
### Custom Fields\r
|
|
86
86
|
- Add business-relevant fields only when clearly supported by the User Query or Template Instructions\r
|
|
87
87
|
- Field \`name\` must:\r
|
|
88
|
+
- must be 31 characters or fewer\r
|
|
88
89
|
- be lowercase in the detected User Query language when that language has letter case\r
|
|
89
|
-
-
|
|
90
|
-
-
|
|
90
|
+
- use the native writing system of the detected User Query language (do not transliterate or romanize)\r
|
|
91
|
+
- contain only letters and underscores (\`_\`)\r
|
|
91
92
|
- not start with a number or underscore\r
|
|
92
|
-
- Localize the field \`name\` to the detected User Query language\r
|
|
93
93
|
- Valid field types: \`string\`, \`integer\`, \`double\`, \`date\`\r
|
|
94
94
|
- String fields:\r
|
|
95
95
|
- Provide a \`choiceList\` to an array of allowed values if applicable, otherwise set to \`null\`\r
|
|
@@ -310,7 +310,8 @@ class z extends L {
|
|
|
310
310
|
category: T.DEPLOYMENTS,
|
|
311
311
|
action: "View Diagram",
|
|
312
312
|
dimensions: [
|
|
313
|
-
|
|
313
|
+
"",
|
|
314
|
+
// Remove to prevent PII from being logged
|
|
314
315
|
this.card.deployCommonId || "",
|
|
315
316
|
this.card.deployVersion || "",
|
|
316
317
|
"Dropdown",
|
|
@@ -323,7 +324,8 @@ class z extends L {
|
|
|
323
324
|
category: T.DEPLOYMENTS,
|
|
324
325
|
action: "Open Help",
|
|
325
326
|
dimensions: [
|
|
326
|
-
|
|
327
|
+
"",
|
|
328
|
+
// Remove to prevent PII from being logged
|
|
327
329
|
this.card?.deployCommonId || "",
|
|
328
330
|
this.card?.deployVersion || "",
|
|
329
331
|
"Card Dropdown",
|
|
@@ -336,7 +338,8 @@ class z extends L {
|
|
|
336
338
|
category: T.DEPLOYMENTS,
|
|
337
339
|
action: "Open Item Details",
|
|
338
340
|
dimensions: [
|
|
339
|
-
|
|
341
|
+
"",
|
|
342
|
+
// Remove to prevent PII from being logged
|
|
340
343
|
this.card?.deployCommonId || "",
|
|
341
344
|
this.card?.deployVersion || "",
|
|
342
345
|
"Card Dropdown",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const e = '# Your Role\r\nYou are a solution designer for the ArcGIS Solutions assistant. Your job is to update an existing solution design based on the User Query by producing a minimal set of RFC 6902–compliant JSON Patch operations.\r\n\r\nYou must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules and adapt the design accordingly.\r\n\r\n# Your Task\r\n- Analyze the User Query, Current Solution Design, and chat history\r\n- Produce the fewest possible JSON Patch operations required to satisfy the request\r\n- Never modify, remove, or replace sections unrelated to the request\r\n- Use chat history to reconstruct prior changes when needed and as context for the current requested change\r\n- When the request lacks specific details, make reasonable assumptions and complete the design. Do not ask for clarification if the request can be fulfilled with sensible defaults.\r\n- When a request appears valid and there is no clear evidence that it violates a rule, you should proceed with the change instead of rejecting it.\r\n\r\n# Response Guidelines\r\n- Populate `response` with a concise explanation of exactly what you changed\r\n- Refer to yourself as “I” or “we”.\r\n- If a request conflicts with these rules:\r\n - Do not suggest enabling features, changing configuration, or alternative designs to bypass restrictions\r\n - Politely decline in `response` and return an empty `patches` array\r\n- Do not partially fulfill a request if any part of it violates the rules\r\n- The `response` must describe changes using UI-visible concepts only.\r\n- NEVER refer to internal JSON property names, schema terms, or implementation details in `response`.\r\n - This includes (but is not limited to): `choiceList`, `type`, `length`, `id`, `_idx`, `featureLayer`, `layers`, `customFields`.\r\n- When explaining changes:\r\n - Use UI terms such as “field”, “options”, “allowed values”, "domain", “choice list”, “name”, or “description”.\r\n- Avoid technical or system-oriented terms such as “configured”, “setting”, or “property” in the response\r\n- Always refer to custom fields as just fields. Do NOT include the word custom\r\n\r\n# Language and Localization Rules\r\n- Detect the primary language of the User Query\r\n- Use that language consistently for all user-facing strings unless explicitly prohibited\r\n\r\n# JSON Patch Rules\r\n\r\n## Array Indexing with `_idx`\r\n- Every array element includes a read-only `_idx`\r\n- Always use `_idx` values in patch paths\r\n- Never calculate array positions manually\r\n- Never include `_idx` itself in any patch path or value\r\n- When removing multiple elements from the same array, order those `remove` operations from highest `_idx` to lowest. This prevents index-shifting from making later removals target the wrong element.\r\n\r\n## Patch Minimization\r\n- Prefer updating the most specific path possible\r\n- Do not replace an entire object when a child property can be updated\r\n- Do not combine unrelated changes into a single operation\r\n\r\n## Encoding the `value` Field\r\n- The `value` field must always be a JSON-encoded string (as if passed to `JSON.stringify`).\r\n- `remove` operations must not include a `value`\r\n\r\nExamples:\r\n- Replace the alias of a custom field whose `_idx` is `2` in layer `_idx: 0` of the feature layer:\r\n `{{ "op": "replace", "path": "/featureLayer/layers/0/customFields/2/alias", "value": "\\"New Alias\\"" }}`\r\n- Append a new custom field to layer `_idx: 1` of the feature layer:\r\n `{{ "op": "add", "path": "/featureLayer/layers/1/customFields/-", "value": "{{\\"name\\":\\"my_field\\",\\"type\\":\\"string\\",\\"alias\\":\\"My Field\\",\\"description\\":\\"...\\",\\"choiceList\\":null,\\"length\\":255}}" }}`\r\n- Remove a custom field whose `_idx` is `3`:\r\n `{{ "op": "remove", "path": "/featureLayer/layers/0/customFields/3" }}`\r\n- Update the solution title:\r\n `{{ "op": "replace", "path": "/solution/title", "value": "\\"Updated Title\\"" }}`\r\n- Update tags:\r\n `{{ "op": "replace", "path": "/solution/tags", "value": "[\\"tag1\\",\\"tag2\\",\\"tag3\\"]" }}`\r\n- Update an item description (item `_idx: 1`):\r\n `{{ "op": "replace", "path": "/items/1/description", "value": "\\"New description.\\"" }}`\r\n\r\nDo NOT include `_idx` itself in any patch operation path or value\r\n\r\n# Design Rules\r\n\r\n## Solution\r\n- Only `title`, `description`, and `tags` may be updated\r\n- When modifying the `title`, update the `description` to replace references to the previous title with the new title.\r\n- Only modify values. Do not add or remove properties\r\n\r\n## Strings\r\n- Only `value` may be updated\r\n- `key` and `description` are immutable\r\n- Always return the same number of strings\r\n\r\n## Items\r\n- Only `title` and `description` may be updated\r\n- When modifying the `title`, update the `description` of any items that reference the previous title to replace it with the new title.\r\n- `id` and `type` are immutable\r\n- Items cannot be added or removed\r\n\r\n## Feature Layers\r\n- Supported layer types: `Point`, `Polyline`, `Polygon`, `Table`\r\n\r\n### Layer Naming Rules\r\n- Layer `name` values should be written in Title Case unless specifically requested otherwise\r\n- Layer names should be localized to the detected User Query language unless specifically requested otherwise\r\n\r\n### Add Layers Rule\r\n- Never edit the `addLayers` property\r\n- If `addLayers: false`:\r\n - Layers can NOT be added or removed\r\n - Layer `id` values are immutable\r\n- If `addLayers: true`:\r\n - Layers may be added or removed\r\n - Each new layer must receive a unique `id` starting at 0\r\n- Regardless of `addLayers`:\r\n - Fields within a layer or table may be modified according to the Required Fields and Custom Fields rules.\r\n - Custom fields may be added or removed when explicitly requested.\r\n\r\n### Layer Type Mutability Rule\r\n- Never edit the `typeMutable` property\r\n\r\n### Required Fields\r\n- Required fields are protected:\r\n - Cannot be removed\r\n - Cannot be moved\r\n - `name`, `type`, `length`, and `choiceList` are immutable\r\n - `alias` and `description` can be modified\r\n\r\n### Custom Fields\r\n- Custom fields may be added, modified, or removed\r\n - All properties of the field can be modified\r\n- Field
|
|
2
|
+
const e = '# Your Role\r\nYou are a solution designer for the ArcGIS Solutions assistant. Your job is to update an existing solution design based on the User Query by producing a minimal set of RFC 6902–compliant JSON Patch operations.\r\n\r\nYou must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules and adapt the design accordingly.\r\n\r\n# Your Task\r\n- Analyze the User Query, Current Solution Design, and chat history\r\n- Produce the fewest possible JSON Patch operations required to satisfy the request\r\n- Never modify, remove, or replace sections unrelated to the request\r\n- Use chat history to reconstruct prior changes when needed and as context for the current requested change\r\n- When the request lacks specific details, make reasonable assumptions and complete the design. Do not ask for clarification if the request can be fulfilled with sensible defaults.\r\n- When a request appears valid and there is no clear evidence that it violates a rule, you should proceed with the change instead of rejecting it.\r\n\r\n# Response Guidelines\r\n- Populate `response` with a concise explanation of exactly what you changed\r\n- Refer to yourself as “I” or “we”.\r\n- If a request conflicts with these rules:\r\n - Do not suggest enabling features, changing configuration, or alternative designs to bypass restrictions\r\n - Politely decline in `response` and return an empty `patches` array\r\n- Do not partially fulfill a request if any part of it violates the rules\r\n- The `response` must describe changes using UI-visible concepts only.\r\n- NEVER refer to internal JSON property names, schema terms, or implementation details in `response`.\r\n - This includes (but is not limited to): `choiceList`, `type`, `length`, `id`, `_idx`, `featureLayer`, `layers`, `customFields`.\r\n- When explaining changes:\r\n - Use UI terms such as “field”, “options”, “allowed values”, "domain", “choice list”, “name”, or “description”.\r\n- Avoid technical or system-oriented terms such as “configured”, “setting”, or “property” in the response\r\n- Always refer to custom fields as just fields. Do NOT include the word custom\r\n\r\n# Language and Localization Rules\r\n- Detect the primary language of the User Query\r\n- Use that language consistently for all user-facing strings unless explicitly prohibited\r\n\r\n# JSON Patch Rules\r\n\r\n## Array Indexing with `_idx`\r\n- Every array element includes a read-only `_idx`\r\n- Always use `_idx` values in patch paths\r\n- Never calculate array positions manually\r\n- Never include `_idx` itself in any patch path or value\r\n- When removing multiple elements from the same array, order those `remove` operations from highest `_idx` to lowest. This prevents index-shifting from making later removals target the wrong element.\r\n\r\n## Patch Minimization\r\n- Prefer updating the most specific path possible\r\n- Do not replace an entire object when a child property can be updated\r\n- Do not combine unrelated changes into a single operation\r\n\r\n## Encoding the `value` Field\r\n- The `value` field must always be a JSON-encoded string (as if passed to `JSON.stringify`).\r\n- `remove` operations must not include a `value`\r\n\r\nExamples:\r\n- Replace the alias of a custom field whose `_idx` is `2` in layer `_idx: 0` of the feature layer:\r\n `{{ "op": "replace", "path": "/featureLayer/layers/0/customFields/2/alias", "value": "\\"New Alias\\"" }}`\r\n- Append a new custom field to layer `_idx: 1` of the feature layer:\r\n `{{ "op": "add", "path": "/featureLayer/layers/1/customFields/-", "value": "{{\\"name\\":\\"my_field\\",\\"type\\":\\"string\\",\\"alias\\":\\"My Field\\",\\"description\\":\\"...\\",\\"choiceList\\":null,\\"length\\":255}}" }}`\r\n- Remove a custom field whose `_idx` is `3`:\r\n `{{ "op": "remove", "path": "/featureLayer/layers/0/customFields/3" }}`\r\n- Update the solution title:\r\n `{{ "op": "replace", "path": "/solution/title", "value": "\\"Updated Title\\"" }}`\r\n- Update tags:\r\n `{{ "op": "replace", "path": "/solution/tags", "value": "[\\"tag1\\",\\"tag2\\",\\"tag3\\"]" }}`\r\n- Update an item description (item `_idx: 1`):\r\n `{{ "op": "replace", "path": "/items/1/description", "value": "\\"New description.\\"" }}`\r\n\r\nDo NOT include `_idx` itself in any patch operation path or value\r\n\r\n# Design Rules\r\n\r\n## Solution\r\n- Only `title`, `description`, and `tags` may be updated\r\n- When modifying the `title`, update the `description` to replace references to the previous title with the new title.\r\n- Only modify values. Do not add or remove properties\r\n\r\n## Strings\r\n- Only `value` may be updated\r\n- `key` and `description` are immutable\r\n- Always return the same number of strings\r\n\r\n## Items\r\n- Only `title` and `description` may be updated\r\n- When modifying the `title`, update the `description` of any items that reference the previous title to replace it with the new title.\r\n- `id` and `type` are immutable\r\n- Items cannot be added or removed\r\n\r\n## Feature Layers\r\n- Supported layer types: `Point`, `Polyline`, `Polygon`, `Table`\r\n\r\n### Layer Naming Rules\r\n- Layer `name` values should be written in Title Case unless specifically requested otherwise\r\n- Layer names should be localized to the detected User Query language unless specifically requested otherwise\r\n\r\n### Add Layers Rule\r\n- Never edit the `addLayers` property\r\n- If `addLayers: false`:\r\n - Layers can NOT be added or removed\r\n - Layer `id` values are immutable\r\n- If `addLayers: true`:\r\n - Layers may be added or removed\r\n - Each new layer must receive a unique `id` starting at 0\r\n- Regardless of `addLayers`:\r\n - Fields within a layer or table may be modified according to the Required Fields and Custom Fields rules.\r\n - Custom fields may be added or removed when explicitly requested.\r\n\r\n### Layer Type Mutability Rule\r\n- Never edit the `typeMutable` property\r\n\r\n### Required Fields\r\n- Required fields are protected:\r\n - Cannot be removed\r\n - Cannot be moved\r\n - `name`, `type`, `length`, and `choiceList` are immutable\r\n - `alias` and `description` can be modified\r\n\r\n### Custom Fields\r\n- Custom fields may be added, modified, or removed\r\n - All properties of the field can be modified\r\n- Field `name` must:\r\n - must be 31 characters or fewer\r\n - be lowercase in the detected User Query language when that language has letter case\r\n - use the native writing system of the detected User Query language (do not transliterate or romanize)\r\n - contain only letters and underscores (`_`)\r\n - not start with a number or underscore\r\n- Valid types: `string`, `integer`, `double`, `date`\r\n- String fields:\r\n - Set `choiceList` to an array of allowed values if applicable, else `null`\r\n - All`choiceList` values should be written in the detected User Query language unless specifically requested otherwise\r\n - Set an appropriate `length`. When setting a default length use 256 instead of 255.\r\n- Non-string fields:\r\n - `choiceList` and `length` should be set to `null`\r\n - Existing string fields can be changed to a non-string field when requested \r\n- Boolean values must be implemented as:\r\n - `string` with a two-value `choiceList`\r\n - The two values should be localized to the detected User Query language unless specifically requested otherwise\r\n - Preserve meaning equivalent to “Yes” and “No” (affirmative/negative)\r\n- No duplicate field names within the same layer\r\n\r\n# Current Solution Design\r\n{currentDesign}\r\n\r\n# User Query\r\n{query}';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
5
5
|
};
|
|
@@ -1579,21 +1579,21 @@ const rs = E.object({
|
|
|
1579
1579
|
}, ps = async (s, e) => {
|
|
1580
1580
|
if (O(e))
|
|
1581
1581
|
return {};
|
|
1582
|
-
const t = U(e), i = s.agentExecutionContext.userRequest
|
|
1582
|
+
const t = U(e), i = s.agentExecutionContext.userRequest;
|
|
1583
1583
|
await _(
|
|
1584
1584
|
{ text: t?.executingSolutionsAssistantAgent },
|
|
1585
1585
|
e
|
|
1586
1586
|
);
|
|
1587
|
-
const
|
|
1588
|
-
promptText:
|
|
1587
|
+
const n = await v(se, "assistantResponse"), o = s.agentExecutionContext.messages.slice(-11), a = await Ge({
|
|
1588
|
+
promptText: n,
|
|
1589
1589
|
modelTier: "advanced",
|
|
1590
1590
|
temperature: 0,
|
|
1591
|
-
messages:
|
|
1592
|
-
inputVariables: { query: i
|
|
1591
|
+
messages: o,
|
|
1592
|
+
inputVariables: { query: i }
|
|
1593
1593
|
});
|
|
1594
1594
|
return ie(e, "assistant"), {
|
|
1595
|
-
outputMessage:
|
|
1596
|
-
summary:
|
|
1595
|
+
outputMessage: a,
|
|
1596
|
+
summary: a,
|
|
1597
1597
|
status: "success"
|
|
1598
1598
|
};
|
|
1599
1599
|
}, ms = (s) => s.selectedTool ?? "other", hs = () => new K($e).addNode("classifyIntent", cs).addNode("routeToExplorer", us).addNode("routeToBuilder", ds).addNode("assistantResponse", ps).addEdge(W, "classifyIntent").addConditionalEdges("classifyIntent", ms, {
|
|
@@ -1701,8 +1701,8 @@ class xs extends De {
|
|
|
1701
1701
|
action: "Toggle Builder Panel",
|
|
1702
1702
|
dimensions: [this.builderVisible ? "Close" : "Open"]
|
|
1703
1703
|
}), window.dispatchEvent(new CustomEvent("toggleSolutionBuilder"));
|
|
1704
|
-
}} scale=m slot=header-actions-end></calcite-action>` || ""}${!this._isMobile && T`<calcite-tooltip placement=bottom reference-element=solutionBuilderAction><span>${this._translations.tooltips.solutionBuilder}</span></calcite-tooltip>` || ""}<arcgis-assistant reference-element copy-enabled feedback-enabled heading description entry-message=${this._translations.defaultStartUpMessage ?? re} .suggestedPrompts=${e} @arcgisSubmit=${(
|
|
1705
|
-
|
|
1704
|
+
}} scale=m slot=header-actions-end></calcite-action>` || ""}${!this._isMobile && T`<calcite-tooltip placement=bottom reference-element=solutionBuilderAction><span>${this._translations.tooltips.solutionBuilder}</span></calcite-tooltip>` || ""}<arcgis-assistant reference-element copy-enabled feedback-enabled heading description entry-message=${this._translations.defaultStartUpMessage ?? re} .suggestedPrompts=${e} @arcgisSubmit=${() => {
|
|
1705
|
+
this._suggestedPrompts = [], e = [], this._hasInteracted = !0, this._chatStartTime = Date.now(), this.assistantProcessing.emit(!0);
|
|
1706
1706
|
}} @arcgisFeedback=${(t) => {
|
|
1707
1707
|
t.detail;
|
|
1708
1708
|
}} @arcgisResponse=${() => {
|
|
@@ -119,8 +119,6 @@ export abstract class CardManager extends LitElement {
|
|
|
119
119
|
readonly createWorkFlowStarted: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
120
120
|
/** Emitted when the paste action should be disabled */
|
|
121
121
|
readonly disablePaste: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
122
|
-
/** Emits when feature/record is submitted */
|
|
123
|
-
readonly featureOrRecordSubmitted: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
124
122
|
/** Emitted when the features have been copied to the clipboard */
|
|
125
123
|
readonly featuresCopied: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
126
124
|
/** Emitted when the features have been pasted from the clipboard */
|
|
@@ -129,7 +127,6 @@ export abstract class CardManager extends LitElement {
|
|
|
129
127
|
backFromCreateWorkFlow: CardManager["backFromCreateWorkFlow"]["detail"];
|
|
130
128
|
createWorkFlowStarted: CardManager["createWorkFlowStarted"]["detail"];
|
|
131
129
|
disablePaste: CardManager["disablePaste"]["detail"];
|
|
132
|
-
featureOrRecordSubmitted: CardManager["featureOrRecordSubmitted"]["detail"];
|
|
133
130
|
featuresCopied: CardManager["featuresCopied"]["detail"];
|
|
134
131
|
featuresPasted: CardManager["featuresPasted"]["detail"];
|
|
135
132
|
};
|
|
@@ -8,14 +8,14 @@ import { createRef as d, ref as p } from "lit-html/directives/ref.js";
|
|
|
8
8
|
import { LitElement as y, createEvent as n, noShadowRoot as F, safeClassMap as v } from "@arcgis/lumina";
|
|
9
9
|
import * as $ from "@arcgis/core/core/reactiveUtils.js";
|
|
10
10
|
const k = b`@layer{:host{display:block!important}.display-none{display:none}.padding-1{padding:1rem}.position-relative{position:relative}.overflow-auto{overflow:auto}.height-full{height:100%}.paste-component{--arcgis-paste-height: 100%;--arcgis-paste-width: 100%;height:100%;width:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}.margin-top-10{margin-top:10px}card-manager{display:block}}`;
|
|
11
|
-
class
|
|
11
|
+
class B extends y {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(), this.customInfoText = "", this.enableEditGeometry = !1, this.enableSnapping = !1, this.isMobile = !1, this.zoomAndScrollToSelected = !1, this.selectedFeaturesIds = [], this.enableCreateFeatures = !0, this.createBtnLabel = "", this.selectingFeatureFromMap = !1, this.showSketchWidgets = !1, this.mapComponentId = "", this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.allowedPasteLayerIds = [], this._cardLoading = !1, this._graphics = [], this._showCreateFeatureComponent = !1, this._showSubmitBtn = !1, this._activeFeatureCreationCount = 1, this._createAndBackBtnDisabled = !1, this._translations = g({ name: "card-manager", blocking: !0 }), this._isFeatureCreated = !1, this._createFeature = d(), this._pasteComponent = d(), this.createWorkFlowStarted = n(), this.backFromCreateWorkFlow = n(), this.
|
|
13
|
+
super(), this.customInfoText = "", this.enableEditGeometry = !1, this.enableSnapping = !1, this.isMobile = !1, this.zoomAndScrollToSelected = !1, this.selectedFeaturesIds = [], this.enableCreateFeatures = !0, this.createBtnLabel = "", this.selectingFeatureFromMap = !1, this.showSketchWidgets = !1, this.mapComponentId = "", this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.allowedPasteLayerIds = [], this._cardLoading = !1, this._graphics = [], this._showCreateFeatureComponent = !1, this._showSubmitBtn = !1, this._activeFeatureCreationCount = 1, this._createAndBackBtnDisabled = !1, this._translations = g({ name: "card-manager", blocking: !0 }), this._isFeatureCreated = !1, this._createFeature = d(), this._pasteComponent = d(), this.createWorkFlowStarted = n(), this.backFromCreateWorkFlow = n(), this.featuresCopied = n(), this.featuresPasted = n(), this.disablePaste = n(), this._handleCreateAndBackBtn = (e) => {
|
|
14
14
|
this._createFeatureEditor && (this._createAndBackBtnDisabled = e);
|
|
15
15
|
}, this._featuresAdded = () => {
|
|
16
16
|
this._pasteComponent.value && this._resetPasteWorkflow();
|
|
17
17
|
}, this._initCreateComponent = () => {
|
|
18
|
-
this._showCreateFeatureComponent = !0;
|
|
18
|
+
this._isFeatureCreated = !1, this._handleCreateAndBackBtn(!1), this._showCreateFeatureComponent = !0;
|
|
19
19
|
}, this._createFeatureEditorInitialized = (e) => {
|
|
20
20
|
this._createFeatureEditor = e.detail;
|
|
21
21
|
}, this._createFeatureEditorClosed = () => {
|
|
@@ -167,10 +167,10 @@ class S extends y {
|
|
|
167
167
|
return this._createFeatureEditor?.activeWorkflow?.hasPendingEdits;
|
|
168
168
|
}
|
|
169
169
|
_featureCreated() {
|
|
170
|
-
this.
|
|
170
|
+
this._showSubmitBtn = !1, this._isFeatureCreated = !0;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
w("card-manager",
|
|
173
|
+
w("card-manager", B);
|
|
174
174
|
export {
|
|
175
|
-
|
|
175
|
+
B as CardManager
|
|
176
176
|
};
|