@arcgis/coding-components 5.0.0-next.151 → 5.0.0-next.153
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/3GTG7FWY.js +2 -0
- package/dist/cdn/{2U3UUVRF.js → QOCH5PNU.js} +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcade-results/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/language-api-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +56 -51
- package/dist/components/arcgis-arcade-editor/customElement.js +65 -56
- 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/package.json +5 -5
- package/dist/cdn/2ZFTV536.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import d from"./A4GVNJO4.js";import c from"./AILSAJ35.js";import{a as k}from"./55JG5GGC.js";import b from"./HDPC4QT2.js";import"./DUDPRVQB.js";import a from"./CRFEM3QK.js";import"./72CKSOAE.js";import"./3IYCM3T5.js";import"./EMCHMKAC.js";import"./JUSMJGLC.js";import"./NMIFSDFV.js";import"./VVVV256M.js";import{D as y,E as C,F as D,G as r,J as I,K as B,h as E,j as s,l as $,n as S,s as R}from"./DDFKURLO.js";import{a as w,b as o}from"./RXOG5OZ7.js";import"./E26VIEON.js";import"./CVNYRL2K.js";import"./NXRT3FAY.js";import{Rk as L}from"./YCOWKBW5.js";import"./ALDX5YZO.js";export default $arcgis.t(([U,,l,{a:T,b:F},{a:M,h:b}])=>{var j=E`:host{height:100%}calcite-tooltip:not([calcite-hydrated])>*{display:none}.main-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}`,z="https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0",a=(i,e)=>w(i,"Arcade Assistant",e),H=i=>{let{aiAssistantsEnabled:e}=i;return e===void 0?(a("warn","`areAiAssistantsEnabled` is not defined in the organizations settings."),!1):e},V=i=>!(!i||!("id"in i)),G=async i=>(await U.getCredential(i,{oAuthPopupConfirmation:!1})).token,q=async i=>{try{return!!await U.checkSignInStatus(i)}catch{return a("warn","User is not signed in."),!1}};async function X({portalUrl:i,profile:e}){if(!V(e))return a("warn","Addon initialization failed. Reason: unsupported profile."),{shouldRender:!1};let t=i.replace(/\/sharing\/rest(\/.*)?$/iu,"").replace(/\/$/u,"");if(!await q(t))return{shouldRender:!1};let n=await G(i),c=`${t}/sharing/rest/portals/self?f=json&token=${n}`,h=`${t}/sharing/rest/portals/self/settings?f=json&token=${n}`,p=`${t}/sharing/rest/portals/self/signinSettings?f=json&token=${n}`,u=await Promise.allSettled([fetch(c,{credentials:"include"}).then(d=>d.json()),fetch(h,{credentials:"include"}).then(d=>d.json()),fetch(p,{credentials:"include"}).then(d=>d.json())]),[g,_,m]=u,f=g.status==="fulfilled"?g.value:(a("warn",`Failed to fetch selfUrl. Reason: ${g.reason}.`),{}),x=_.status==="fulfilled"?_.value:(a("warn",`Failed to fetch settingsUrl. Reason: ${_.reason}.`),{}),N=m.status==="fulfilled"?m.value:(a("warn",`Failed to fetch signinSettingsUrl. Reason: ${m.reason}.`),{}),v=f?.helperServices?.aiAssistantServices?.url;if(!v)return a("warn","Service URL is not available in the portal self response."),{shouldRender:!1};let O=f.helpBase||"";if(!x)return a("warn","Settings response is not available."),{shouldRender:!1};let A=H(x);return N.blockBetaApps===!0&&(a("warn","Arcade Assistant is blocked by the organization settings. To enable it, do not block beta apps in the organization settings."),A=!1),f?.user?.privileges?.includes("portal:user:useAIAssistants")||(a("warn","User does not have the required privileges to use AI Assistants."),A=!1),{shouldRender:!0,serviceUrl:v,helpBase:O,assistantsEnabled:A,feedbackServiceUrl:z}}var P=class extends D{constructor(){super(...arguments),this._codeEditorElt=y(),this._componentReadyDefer=Promise.withResolvers(),this._disposables=[],this._editorProfilePromise=Promise.resolve(void 0),this.messages=k(),this._modelId=R(),this._openArcadeHelp=()=>void window.open(M,"Arcade Help"),this._toggleSidePanel=e=>{if(!e.target)return;let t=e.target?.dataset.panelName??"none";this.openedSidePanel=t===this.openedSidePanel?"none":t,this.openedSidePanel==="none"&&this._codeEditorElt.value?.setFocus().catch(o(this))},this._consoleLogs=[],this._executingScript=!1,this._preparingArcade=!1,this._resultPanel="output",this._showExecutionPanel=!1,this._arcadeAssistantRemoteState={shouldRender:!1},this.hideDocumentationActions=!1,this.hideSideBar=!1,this.openedSidePanel="none",this.script="",this.sideActionBarExpanded=!1,this.arcgisDiagnosticsChange=S({bubbles:!1}),this.arcgisScriptChange=S({bubbles:!1})}static{this.properties={_apiLibrary:16,_consoleLogs:16,_editorProfile:16,_executingScript:16,_executionResult:16,_preparingArcade:16,_resultPanel:16,_showExecutionPanel:16,_arcadeAssistantRemoteState:16,editorInstance:32,editorOptions:0,hideDocumentationActions:5,hideSideBar:5,openedSidePanel:3,profile:0,script:1,sideActionBarExpanded:7,snippets:0,suggestions:0,testData:0,customPanels:0,arcadeAssistant:0}}static{this.styles=[j]}get editorInstance(){return this._codeEditorElt.value?.editorInstance}async getTestResult(){if(!this.testData)return{type:"error",value:"Missing test data",error:null};let e=await this._editorProfilePromise;if(!e)return{type:"error",value:"Missing editor profile",error:null};await this._componentReadyDefer.promise;let t=this._codeEditorElt.value?.value;return await b(e.definition,t,this.testData)}async setFocus(){await this._componentReadyDefer.promise,await this._codeEditorElt.value?.setFocus()}async load(){let e=B("./assets");T(e),await this._updateDataModelDeps(),await this._updateArcadeAssistantRemoteState()}willUpdate(e){(e.has("messages")||e.has("profile"))&&this.hasUpdated&&this._updateDataModelDeps(),e.has("testData")&&this._testDataChanged(),e.has("snippets")&&l.updateApiContextForModel(this._modelId,{snippets:this.snippets}),e.has("arcadeAssistant")&&this._updateArcadeAssistantRemoteState()}async loaded(){this._componentReadyDefer.resolve(),await this._updateApiLibrary();let e=await F();this._disposables.push(e.onDiagnosticsChange(t=>!this._preparingArcade&&this.arcgisDiagnosticsChange.emit(t.diagnostics))),this.testData&&this._addExecuteScriptAction()}disconnectedCallback(){for(super.disconnectedCallback();this._disposables.length;)this._disposables.pop()?.dispose()}async _updateDataModelDeps(){await this._updateEditorProfile(),await this._updateApiLibrary()}_testDataChanged(){!this.testData&&this._executeScriptAction&&(this._disposeSafely(this._executeScriptAction),this._executeScriptAction=void 0),this.testData&&!this._executeScriptAction&&this._addExecuteScriptAction(),this._showExecutionPanel&&this._executeScript().catch(o(this))}async _updateEditorProfile(){this._preparingArcade=!0;try{await l.setProfileForModel(this._modelId,this.profile,{locale:this.messages._t9nLocale,snippets:this.snippets}),this._editorProfile=l.getEditorProfileForModel(this._modelId)}catch{this._editorProfile=void 0}finally{this._editorProfilePromise=Promise.resolve(this._editorProfile),this._preparingArcade=!1}}async _updateApiLibrary(){this._apiLibrary=await l.getApiLibraryForModel(this._modelId)}async _executeScript(){let e=this.testData;if(!this._codeEditorElt.value||!e)return;let t=await this._editorProfilePromise;if(!t){this._executionResult={type:"error",value:"Missing editor profile",error:null};return}this._showExecutionPanel=!0,this._executingScript=!0,this._consoleLogs=[],setTimeout(()=>void(async()=>{let n=this._codeEditorElt.value?.value;this._executionResult=await b(t.definition,n,e,c=>setTimeout(()=>this._consoleLogs=[...this._consoleLogs,c],0)),this._executingScript=!1})(),0)}_toggleShowExecutionPanel(){this._showExecutionPanel=!this._showExecutionPanel}_toggleSideActionBarExpanded(){this.sideActionBarExpanded=!this.sideActionBarExpanded}_onCodeEditorValueChange(e){e.stopPropagation(),this.script=e.detail,this.arcgisScriptChange.emit(e.detail)}_insertAsSnippet(e){this._codeEditorElt.value?.insertSnippet(e.detail).catch(o(this))}_insertAsText(e){this._insertText(e.detail)}_insertText(e){this._codeEditorElt.value?.insertText(e).catch(o(this))}_onResultPanelChange(e){let t=e.currentTarget;this._resultPanel=t.openedResultPanel}_onExecutionPanelClose(){this._showExecutionPanel=!1}_addExecuteScriptAction(){let e=this.editorInstance?.addAction({id:"run-script",label:"Run Arcade Expression",keybindings:[L.F5],contextMenuGroupId:"code",contextMenuOrder:1,run:()=>{this.testData&&this._executeScript().catch(o(this))}});e&&(this._executeScriptAction=e,this._disposables.push(e))}_disposeSafely(e){let t=this._disposables.indexOf(e);t!==-1&&this._disposables.splice(t,1),e.dispose()}async _updateArcadeAssistantRemoteState(){this.arcadeAssistant&&(this._arcadeAssistantRemoteState=await X({...this.arcadeAssistant,profile:this.profile}))}renderMainActionBar(){return this.testData?s`<calcite-action-bar class="main-action-bar" layout=horizontal scale=s expanded expand-disabled slot=top-action-bar><calcite-action-group scale=s><calcite-action .text=${this.messages.run??""} text-enabled icon=play scale=s .loading=${this._preparingArcade} @click=${()=>void this._executeScript().catch(o(this))}></calcite-action>${this._executionResult?s`<calcite-action .text=${this.messages.lastresults??""} .active=${this._showExecutionPanel} text-enabled icon=access-string-results icon-flip-rtl scale=s @click=${this._toggleShowExecutionPanel}></calcite-action>`:null}</calcite-action-group></calcite-action-bar>`:null}renderMainPanel(){return s`<arcgis-code-editor slot=editor .editorOptions=${this.editorOptions} .language=${l.languageId} .value=${this.script??""} .modelId=${this._modelId} @arcgisValueChange=${this._onCodeEditorValueChange} ${C(this._codeEditorElt)}></arcgis-code-editor>`}renderAction({id:e,label:t,icon:n,active:c,panelName:h,iconFlipRtl:p=!1,onClick:u=this._toggleSidePanel}){return s`<calcite-action id=${e??$} .text=${t} .textEnabled=${this.sideActionBarExpanded} .icon=${n} .active=${c} @click=${u} data-panel-name=${h??$} .iconFlipRtl=${p}></calcite-action>${!this.sideActionBarExpanded&&s`<calcite-tooltip .referenceElement=${e}><span>${t}</span></calcite-tooltip>`||""}`}renderSideActionBar(){return this.hideSideBar?null:s`<calcite-action-bar slot=side-action-bar class="side-action-bar" .expanded=${this.sideActionBarExpanded} position=end @calciteActionBarToggle=${this._toggleSideActionBarExpanded}><calcite-action-group>${this.renderAction({id:"profile-variables-action",label:this.messages.profilevariables??"",icon:"profile-variables",active:this.openedSidePanel==="variables",panelName:"variables"})}${this.renderAction({id:"function-action",label:this.messages.constantsandfunctions??"",icon:"function",active:this.openedSidePanel==="api",panelName:"api"})}${this.suggestions?.length?this.renderAction({id:"suggestions-action",label:this.messages.suggestions??"",icon:"lightbulb",active:this.openedSidePanel==="suggestions",panelName:"suggestions"}):null}${this._arcadeAssistantRemoteState.shouldRender&&this.renderAction({id:"arcade-assistant-action",label:this.messages.arcadeassistant??"Arcade assistant",icon:"effects",active:this.openedSidePanel==="arcade-assistant",panelName:"arcade-assistant"})||""}${this.customPanels?.map(e=>e.enabled===!1?null:this.renderAction({id:e.id,label:e.name,icon:e.icon,active:this.openedSidePanel===e.id,panelName:e.id}))}${this.hideDocumentationActions?null:this.renderAction({id:"developer-website-action",label:this.messages.help??"",icon:"question",active:!1,panelName:"none",iconFlipRtl:this.messages._lang==="ar",onClick:this._openArcadeHelp})}</calcite-action-group></calcite-action-bar>`}renderSidePanel(){if(this.hideSideBar)return null;let{openedSidePanel:e}=this;return s`<arcgis-language-api-panel slot=side-panel class=${r(e==="api"?"":"hidden")} .loading=${this._preparingArcade} .apiLibrary=${this._apiLibrary} .hideDocumentationActions=${this.hideDocumentationActions} @arcgisInternalItemSelected=${this._insertAsSnippet} @arcgisInternalClosePanel=${this._toggleSidePanel} data-panel-name=none .closed=${e!=="api"}></arcgis-language-api-panel><arcgis-editor-variables slot=side-panel class=${r(e==="variables"?"":"hidden")} .loading=${this._preparingArcade} .modelId=${this._modelId} @arcgisInternalItemSelected=${this._insertAsText} @arcgisInternalClosePanel=${this._toggleSidePanel} data-panel-name=none .variable=${this._editorProfile} .closed=${e!=="variables"}></arcgis-editor-variables>${this.suggestions?.length&&s`<arcgis-arcade-suggestions slot=side-panel class=${r(e==="suggestions"?"":"hidden")} .closed=${e!=="suggestions"} .suggestions=${this.suggestions} @arcgisInternalItemSelected=${this._insertAsText} @arcgisInternalClosePanel=${this._toggleSidePanel} data-panel-name=none></arcgis-arcade-suggestions>`||""}${this.arcadeAssistant&&this._arcadeAssistantRemoteState.shouldRender&&s`<arcgis-arcade-coding-assistant slot=side-panel class=${r(e==="arcade-assistant"?"":"hidden")} .closed=${e!=="arcade-assistant"} .insertText=${this._insertText.bind(this)} .closePanel=${this._toggleSidePanel} .portalUrl=${this.arcadeAssistant.portalUrl} .serviceUrl=${this._arcadeAssistantRemoteState.serviceUrl} .helpBase=${this._arcadeAssistantRemoteState.helpBase} .assistantsEnabled=${this._arcadeAssistantRemoteState.assistantsEnabled} .feedbackServiceUrl=${this._arcadeAssistantRemoteState.feedbackServiceUrl} .editorRef=${this.el} .appVersion=${this.arcadeAssistant.appVersion}></arcgis-arcade-coding-assistant>`||""}${this.customPanels?.map(t=>s`<calcite-flow slot=side-panel class=${r(e===t.id?"":"hidden")}>${t?.useFlows?t.renderer?.({closePanel:this._toggleSidePanel,insertText:this._insertText.bind(this),closed:e!==t.id,editorRef:this.el}):s`<calcite-flow-item .heading=${t.name} heading-level=2 closable .closed=${e!==t.id} @calciteFlowItemClose=${this._toggleSidePanel} .description=${t.description}>${t.renderer?.({closePanel:this._toggleSidePanel,insertText:this._insertText.bind(this),closed:e!==t.id,editorRef:this.el})}</calcite-flow-item>`}</calcite-flow>`)}`}renderResultsPanel(){return this._showExecutionPanel?s`<arcgis-arcade-results slot=results-panel .openedResultPanel=${this._resultPanel} .loading=${this._executingScript} .result=${this._executionResult} .consoleLogs=${this._consoleLogs} @arcgisInternalOpenedResultPanelChange=${this._onResultPanelChange} @arcgisInternalClosePanel=${this._onExecutionPanelClose}></arcgis-arcade-results>`:null}render(){return s`<arcgis-code-editor-shell>${this.renderMainActionBar()}${this.renderMainPanel()}${this.renderResultsPanel()}${this.renderSidePanel()}${this.renderSideActionBar()}</arcgis-code-editor-shell>`}};I("arcgis-arcade-editor",P);return P},"identity/IdentityManager",a,b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import{a as oe}from"./55JG5GGC.js";import"./72K7GT6K.js";import b from"./HDPC4QT2.js";import"./DUDPRVQB.js";import a from"./CRFEM3QK.js";import{d as ce}from"./72CKSOAE.js";import{c as ne,d as re}from"./3IYCM3T5.js";import"./EMCHMKAC.js";import"./JUSMJGLC.js";import"./NMIFSDFV.js";import"./VVVV256M.js";import{A as X,B as Z,C as U,D as ee,E as te,F as ie,G as ae,H as O,J as se,h as W,j as p,k as P,l as _,s as K,v as N,w as q,x as D,y as I,z as k}from"./DDFKURLO.js";import{a as T}from"./RXOG5OZ7.js";import"./E26VIEON.js";import"./CVNYRL2K.js";import"./NXRT3FAY.js";import"./YCOWKBW5.js";import"./ALDX5YZO.js";export default $arcgis.t(([Se,pe,Te,Ae,Ce,{getDeclaredVoxelMembers:Ie,getDeclaredPixelMembers:Me},Ee,{property:w,subclass:Re},{g:le,h:F},z])=>{var de=(t,e,i)=>{let a=new Map;for(let s=e;s<=i;s++)a.set(t[s],s);return a},L=q(class extends D{constructor(t){if(super(t),t.type!==N.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let a;i===void 0?i=e:e!==void 0&&(a=e);let s=[],n=[],l=0;for(let d of t)s[l]=a?a(d,l):l,n[l]=i(d,l),l++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,a]){let s=Z(t),{values:n,keys:l}=this.dt(e,i,a);if(!Array.isArray(s))return this.ut=l,n;let d=this.ut??=[],c=[],o,g,r=0,u=s.length-1,m=0,h=n.length-1;for(;r<=u&&m<=h;)if(s[r]===null)r++;else if(s[u]===null)u--;else if(d[r]===l[m])c[m]=k(s[r],n[m]),r++,m++;else if(d[u]===l[h])c[h]=k(s[u],n[h]),u--,h--;else if(d[r]===l[h])c[h]=k(s[r],n[h]),I(t,c[h+1],s[r]),r++,h--;else if(d[u]===l[m])c[m]=k(s[u],n[m]),I(t,s[r],s[u]),u--,m++;else if(o===void 0&&(o=de(l,m,h),g=de(d,r,u)),o.has(d[r]))if(o.has(d[u])){let f=g.get(l[m]),S=f!==void 0?s[f]:null;if(S===null){let v=I(t,s[r]);k(v,n[m]),c[m]=v}else c[m]=k(S,n[m]),I(t,s[r],S),s[f]=null;m++}else U(s[u]),u--;else U(s[r]),r++;for(;m<=h;){let f=I(t,c[h+1]);k(f,n[m]),c[m++]=f}for(;r<=u;){let f=s[r++];f!==null&&U(f)}return this.ut=l,X(t,c),P}});var R=class extends D{constructor(e){if(super(e),this.it=_,e.type!==N.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===_||e==null)return this._t=void 0,this.it=e;if(e===P)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let i=[e];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var V=q(R);var Ve=W`:host(:not([closed])){container-type:size;--calcite-block-border-color: var(--calcite-color-transparent);box-sizing:border-box;.submission-actions-wrapper{display:flex;flex-direction:column;width:100%;gap:.75rem}.submission-actions{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}@container (max-width: 380px){.hidden-below-380{display:none}}@container (min-width: 380px){.hidden-above-380{display:none}}.gaps{display:flex;gap:.25rem}.align-inline-end{margin-inline-start:auto}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.feedback-content{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;max-height:75cqb;overflow-y:auto;>*{margin-block-end:.5rem}>*:last-child,.terms-label{margin-block-end:0}calcite-text-area{--calcite-text-area-min-height: 4rem}calcite-notice{margin-block-start:0}}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}.feedback-footer{display:flex;justify-content:flex-end;gap:.5rem;width:100%}calcite-chip[slot=header-actions-end]{align-self:center;margin-inline-end:.5rem}calcite-flow-item calcite-shell{background:transparent}calcite-block{width:100%;max-width:100%;align-self:flex-end;background-color:transparent;margin-block:0}calcite-sheet{--calcite-sheet-scrim-background: rgba(200, 200, 200, .5)}calcite-list-item calcite-button{margin-inline-end:.25rem}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}calcite-block[open]:last-of-type{border-block-end:0}.text-area-wrapper{display:flex;border-radius:var(--calcite-corner-radius-round);margin:.75rem;overflow:hidden;--calcite-color-border-input: transparent;position:sticky;box-shadow:var(--calcite-shadow-sm);flex:none;flex-direction:column}calcite-text-area{height:auto;overflow:hidden;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-flow{height:100%}calcite-popover calcite-list{--calcite-list-background-color: transparent;--calcite-input-border-color: transparent}calcite-popover calcite-list calcite-filter{--calcite-spacing-sm: 0}.contained-popover-or-tooltip{--calcite-popover-max-size-x: 100%;--calcite-tooltip-max-size-x: 100%}.info-heading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-1);margin:0}.info-heading-row{display:flex;align-items:center;gap:var(--calcite-spacing-sm);flex-wrap:wrap}.unstyled-h3{margin:unset;font-size:var(--calcite-font-size-md)}.unstyled-shell{position:unset;inset:unset;display:unset;block-size:unset;inline-size:unset}.suggestion-button{font-weight:var(--calcite-font-weight-medium)}.suggestions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);flex-wrap:wrap}.info-block{max-width:450px}#result-block{calcite-card-group{--calcite-card-group-gap: 1.25rem}calcite-card{--calcite-card-corner-radius: var(--calcite-corner-radius-round);--calcite-card-border-color: transparent;width:100%}.positioned-code-content{display:flex;flex-direction:row;gap:.5rem;padding:.5rem}calcite-card [slot=heading] calcite-chip{margin-block-start:.25rem}.code-response-wrapper{position:relative;background:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-round);margin-top:-1.5rem}.prior-prompt{display:flex;flex-direction:row;padding:0;overflow-y:hidden;overflow-x:auto;margin:.25rem 0 .75rem;align-items:center;max-width:100%;span{overflow-x:auto;overflow-y:hidden}}.copy-feedback{display:none}.copy-prompt-button{align-self:flex-start;margin-inline-start:auto}.response-secondary-action-button[data-copied]+.copy-feedback,.copy-prompt-button[data-copied]+.copy-feedback{display:block;span{padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text--2);font-weight:var(--calcite-font-weight-medium)}}.copy-prompt-button[data-copied]~.copy-tooltip,.response-secondary-action-button[data-copied]~.copy-tooltip{display:none}code{white-space:pre;font-size:12px;margin:0;overflow-x:auto;font-family:Fira Mono,Consolas,Menlo,monospace;display:block;max-height:12rem;position:relative;padding:.5rem}.response-secondary-action-button{margin-left:.5rem}.add-to-editor-button{--calcite-internal-button-border-color: unset}}.collapsible-code{padding:.5rem}.collapsible-code summary{cursor:pointer;font-weight:500;color:var(--calcite-color-brand);outline:none;padding:.25rem 0}.collapsible-code[open] summary{color:var(--calcite-color-text-2)}.response-error-container{padding:.5rem;background:color-mix(in srgb,var(--calcite-color-status-warning) 10%,transparent);border-radius:var(--calcite-corner-radius-round);margin:1rem 0;font-size:var(--calcite-font-size--2);--calcite-input-message-icon-color: var(--calcite-color-status-warning)}.response-error-chip{--calcite-internal-chip-background-color: var(--calcite-color-status-warning);--calcite-chip-icon-color: var(--calcite-color-foreground-1);--calcite-chip-border-color: var(--calcite-color-transparent)}.feedback-actions{gap:unset}.contained{max-width:100%;max-height:100%;max-width:100cqi;max-height:75cqb;overflow-y:auto}.submission-notice{--calcite-notice-border-color: transparent;margin-block:0;width:100%;--calcite-font-size-relative-base: var(--calcite-font-size--2)}.border-block-end{border-block-end:1px solid var(--calcite-color-border-3)}.round-top{border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0}}:host([closed]){display:none}`,A=class extends Error{constructor({message:e,code:i,subCode:a,details:s,source:n}){super(e),this.name="ArcadeAssistantError",this.code=i,this.subCode=a,this.details=s,this.source=n}};function ue(t){if(!t)return;let e=t.indexOf('{"error":');if(e!==-1)try{let i=t.slice(e),a=JSON.parse(i);if(a&&typeof a=="object"&&a.error)return a.error}catch{return}}async function Pe(t){let{baseUrl:e,skillId:i,message:a,authToken:s,previousConversationId:n,context:l}=t,d=i?`${e}/skills/${i}/chat`:`${e}/chat`,c=[],o={message:a,context:l};n&&(o.conversation_id=n);let g;try{g=await pe(d,{method:"post",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(o),responseType:"json"})}catch(v){let $=v,C=$.details?.rawResponse||$.message||String(v),M=ue(C);throw M?new A(M):v}let r=g.data;c.push(r);let u=r.conversationId,m=r.inquiryId,h=r.sequenceNumber;async function f(){let v=0,$=100;for(;v<$;){await new Promise(E=>setTimeout(E,1e3));let C=Ne(u,h,m),M;try{M=await pe(d,{method:"post",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(C),responseType:"json"})}catch(E){let J=E,ke=J.details?.rawResponse||J.message||String(E),Y=ue(ke);throw Y?new A(Y):E}let x=M.data;if(x.context?.kind==="ArcgisErrorAsContext"&&x.context.error)throw new A({message:x.context.error.message||"ArcGIS Assistant error",code:x.context.error.code,subCode:x.context.error.subCode,details:x.context.error.details,source:"polling-response"});if(c.push(x),h=x.sequenceNumber,v++,!x.hasMore)break}if(v===$)throw new A({message:"Request timed out",code:"TIMEOUT",source:"polling"})}let S=120*1e3;return await Promise.race([f(),new Promise((v,$)=>setTimeout(()=>$(new A({message:"Request timed out",code:"TIMEOUT",source:"hard-timeout"})),S))]),c}function Ne(t,e,i){return{conversationId:t,inquiryId:i,ackSequenceNumber:e}}function qe(t){return t.message.match(/Error in prompt shield/u)?"I'm having trouble with this request. Try again by rephrasing the question.":t.code==="TIMEOUT"?"Request timed out. Try again by re-asking the same question or rephrasing it.":t.message}var De=({notices:t})=>t.length?p`<div class="border-block-end">${L(t,e=>e.id??e.title,e=>p`<calcite-notice class="submission-notice" .icon=${e.icon} .kind=${e.kind} scale=s open .closable=${e.closable} @calciteNoticeClose=${()=>e.onClose?.()}><div slot=title>${e.title}</div>${e.message&&p`<div slot=message>${e.message}</div>`||""}${e.actionLinkMessage&&e.onAction&&p`<calcite-link slot=link @click=${()=>e.onAction?.()}>${e.actionLinkMessage}</calcite-link>`||""}</calcite-notice>`)}</div>`:null,Ue=t=>{let e=t.value.length,i=72,a=180,s=t.offsetWidth,n=Math.max(1,Math.floor(s/8)),l=Math.ceil(e/n),d=i+(l-2)*24;t.style.setProperty("--calcite-text-area-min-height",`${Math.min(d,a)}px`)},Oe=({promptValidationMessage:t,errorMessage:e,contextTooBig:i,contextReducedNoticeDismissed:a,setContextReducedNoticeDismissed:s,setErrorMessage:n,messages:l})=>{let d=[];if(t&&d.push({id:"prompt-validation",kind:"danger",icon:"exclamation-mark-triangle",title:t,closable:!0}),e&&d.push({id:"assistant-error",kind:"danger",icon:"exclamation-mark-triangle",title:e,closable:!0,onClose:()=>n(void 0)}),i&&!a){let c=l.contextreduced??"Context reduced",o=l.contextreducedmessage??"The editor profile is too large for the assistant. It has been reduced in the assistant in order to ensure a successful request.";d.push({id:"context-reduced",kind:"warning",icon:"exclamation-mark-triangle",title:c,message:o,closable:!0,onClose:()=>s(!0)})}return d};function _e({messages:t}){return p`<calcite-chip slot=header-actions-end scale=s appearance=outline-fill .label=${t.beta??"Beta"}>${t.beta??"Beta"}</calcite-chip>`}function Fe({popoverContent:t,messages:e}){return p`<calcite-action icon=information slot=header-actions-end id=legal-disclaimer text></calcite-action><calcite-popover reference-element=legal-disclaimer .label=${e.legaldisclaimer??"Legal disclaimer"} placement=bottom auto-close focus-trap-disabled><div class="contained">${t}</div></calcite-popover>`}function ze({errorMessage:t,slot:e}){return p`<div class="error-display"><calcite-input-message id=error-message status=invalid icon=exclamation-mark-triangle scale=m slot=${e??O}>${t}</calcite-input-message></div>`}function Le({active:t,setActive:e,messages:i}){return p`<calcite-alert slot=alerts .open=${t} placement=bottom kind=success icon=check-circle-f auto-close @calciteAlertClose=${()=>e(!1)} .label=${i.expressionapplied??"Expression applied"}><div slot=message>${i.expressionapplied??"Expression applied to editor."}</div></calcite-alert>`}function Be({context:t,messages:e}){return t?p`<div class="gaps">${t.profileId&&p`<calcite-popover auto-close placement=top .label=${(e.profilecontextlabel??"Profile context: {profileId}").replace("{profileId}",t.profileId)} reference-element=profile-context-button class="context-popover contained-popover-or-tooltip"><p>${(e.profilecontextlabel??"Profile context: {profileId}").replace("{profileId}",t.profileId)}</p></calcite-popover><calcite-button round kind=neutral icon-start=map-information id=profile-context-button scale=s></calcite-button>`||""}</div>`:null}function je({isDisabled:t,isReadOnly:e,setQuestion:i,setIsViewingResult:a,textAreaRef:s,question:n,errorMessage:l,setErrorMessage:d,promptValidationMessage:c,setPromptValidationMessage:o,submitQuestion:g,messages:r,mode:u,assistantRef:m,context:h,contextReducedNoticeDismissed:f,setContextReducedNoticeDismissed:S}){let v=h?.contextTooLarge??!1,$=Oe({promptValidationMessage:c,errorMessage:l,contextTooBig:v,contextReducedNoticeDismissed:f,setContextReducedNoticeDismissed:S,setErrorMessage:d,messages:r});return p`<div class="text-area-wrapper">${De({notices:$})}<calcite-text-area scale=s resize=vertical .readOnly=${t||e} class=${ae($.length?"submission-text-area":"submission-text-area round-top")} .placeholder=${r.askaquestion??`Specify the calculation or logic you need in an Arcade expression. (e.g., 'Return "Yes" if value > 10')`} .value=${n} @calciteTextAreaInput=${C=>{Ue(C.target),i(C.target.value)}} ${te(s)}><div class="submission-actions-wrapper" slot=footer-start><div class="submission-actions">${h&&Be({context:h,messages:r})||""}<div class="align-inline-end gaps"><calcite-button round kind=neutral .hidden=${u!=="refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid scale=s .disabled=${t} @click=${async()=>{a(!1),i("")}} .label=${r.startover??"Start Over"} class="hidden-above-380" id=small-start-over-button></calcite-button><calcite-tooltip reference-element=small-start-over-button placement=top-start class="hidden-above-380">${r.startover??"Start Over"}</calcite-tooltip><calcite-button round kind=neutral .hidden=${u!=="refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid .disabled=${t} @click=${async()=>{a(!1),i("")}} class="hidden-below-380" scale=s>${r.startover??"Start Over"}</calcite-button><calcite-button round scale=s icon-end=effects appearance=solid .loading=${t} .disabled=${t} @click=${async()=>{if(d(""),!n){o(r.enteraprompt??"Please enter a prompt");return}o(void 0),await g()}} class="hidden-below-380">${u==="prompt"?r.ask??"Generate":r.refine??"Refine"}</calcite-button><calcite-button round scale=s icon-end=effects appearance=solid .loading=${t} .disabled=${t} @click=${async()=>{if(d(""),!n){o(r.enteraprompt??"Please enter a prompt");return}o(void 0),await g()}} class="hidden-above-380" .label=${u==="prompt"?r.ask??"Generate":r.refine??"Refine"}></calcite-button></div></div></div></calcite-text-area></div>`}var He="https://www.esri.com/en-us/privacy/privacy-statements/privacy-supplement",Qe="https://www.esri.com/en-us/privacy/privacy-statements";function Ge({setOpen:t,messages:e,feedback:i,learnMoreUrl:a,setFeedback:s,onSubmit:n}){return i.active?p`<calcite-sheet class="feedback-sheet" .label=${e.feedback??"Feedback"} slot=sheets display-mode=float position=block-end .open=${i.active} @calciteSheetClose=${()=>t(!1)}><calcite-panel .heading=${e.submitfeedback??"Submit feedback to Esri"} scale=s><div class="feedback-content"><calcite-text-area scale=s resize=vertical .value=${i.text} @calciteTextAreaInput=${l=>s({...i,text:l.target.value})} .disabled=${i.submitting} .placeholder=${e.donotincludepersonalinfo??"Do not include personal or sensitive information"} rows=3></calcite-text-area><calcite-label layout=inline scale=s class="terms-label"><calcite-checkbox scale=l .checked=${i.termsAccepted} @calciteCheckboxChange=${l=>{s({...i,termsAccepted:l.target.checked})}} .disabled=${i.submitting}></calcite-checkbox><span>${V((e.agreement??"I agree to the {EsriPrivacyStatement} (and {Supplement}).").replace("{EsriPrivacyStatement}",`<calcite-link href=${Qe} target="_blank">${e.esriprivacystatement??"Esri Privacy Statement"}</calcite-link>`).replace("{Supplement}",`<calcite-link href=${He} target="_blank">${e.supplement??"Supplement"}</calcite-link>`))}</span></calcite-label><calcite-notice scale=s open closable><span slot=message>${V((e.feedbackhelps??"Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used.").replace("{LearnMore}",`<calcite-link href=${a} target="_blank">${e.learnmore??"Learn more"}</calcite-link>`))}</span></calcite-notice></div><div slot=footer class="feedback-footer"><calcite-button kind=neutral appearance=outline @click=${()=>t(!1)} .disabled=${i.submitting}>${e.cancel??"Cancel"}</calcite-button><calcite-button @click=${n} .disabled=${!i.termsAccepted||i.submitting} .loading=${i.submitting} data-testid=submit-feedback-button>${e.submit??"Submit"}</calcite-button></div></calcite-panel></calcite-sheet>`:null}function me({assistantsEnabled:t,messages:e,slot:i,helpTopicUrl:a}){return p`<calcite-block .label=${e.assistantinformation??"Assistant information"} slot=${i??O} expanded class="info-block" scale=s><div class="info-heading-row"><h1 class="info-heading">${e.introducing??"Introducing Arcade Assistant (beta)"}</h1><calcite-chip .label=${e.new??"New"} kind=brand scale=s>${e.new??"New"}</calcite-chip></div>${t?p`<p>${e.capabilities??"The assistant uses artificial intelligence to generate Arcade expressions."}</p><p>${e.keepinmind??"Keep in mind the following:"}<ul><li>${e.beconsise??"Be concise, but also clear in your request"}</li><li>${e.avoidambiguity??"Avoid ambiguity and vagueness"}</li><li>${e.moredetails??"you do not need to use exact field names in your instructions, but more detail is generally better"}</li></ul>${V((e.seedocumentation??"Please see the {documentation} for more information, including limitations and additional resources.").replace("{documentation}",`<calcite-link href=${a} target="_blank">${e.documentation??"documentation"}</calcite-link>`))}</p>`:p`<p>${e.useofassistant??"The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true:"}</p><ul><li>${e.enabledinorg??"AI assistants are enabled in the organization settings"}</li><li>${e.enabledbetaapps??"Beta apps and capabilities are not blocked"}</li><li>${e.enabledroleprivilege??"Your role privilege allows you to use AI assistants"}</li></ul>`}</calcite-block>`}function Je({messages:t,onProceed:e,onExit:i,helpTopicUrl:a}){return p`<calcite-dialog close-disabled placement=top .heading=${t.welcome??"Welcome to the new assistant experience"} slot=dialogs open width-scale=m id=welcome-dialog><h3 class="unstyled-h3">${t.beforeyougetstarted??"Before you get started be aware:"}</h3><ul><li>${t.maybeincorrect??"AI generated code may occasionally be incorrect or biased. Review carefully."}</li><li>${V((t.pleasereadhelp??"Read the Arcade Assistant (beta) {helpTopic} to get started and learn details on security, privacy and limitations.").replace("{helpTopic}",`<calcite-link href=${a} target="_blank">${t.helptopic??"help topic"}</calcite-link>`))}</li></ul><calcite-button id=welcome-proceed slot=footer-end @click=${e}>${t.proceed??"Proceed"}</calcite-button><calcite-button id=welcome-decline slot=footer-start @click=${i} kind=neutral>${t.exit??"Exit"}</calcite-button></calcite-dialog>`}function Ye({messages:t,suggestions:e,onSuggestionClick:i}){return p`<calcite-block .heading=${t.promptsuggestions} expanded collapsible id=suggestion-block scale=s><div class="suggestions">${e.map(a=>p`<calcite-button round scale=s appearance=outline-fill kind=neutral .label=${t.promptsuggestion} class="suggestion-button" @click=${()=>i?.(a)}>${a}</calcite-button>`)}</div></calcite-block>`}var he=200;function ge({hidden:t=!1,expanded:e=!1,messages:i,cards:a,heading:s,collapsible:n=!1,showEffectsIcon:l=!1,onCopyCode:d,standalone:c}){return p`<calcite-block .hidden=${t} id=result-block .heading=${s??i.besteffort??"Here is the assistant's best effort"} .expanded=${e} .collapsible=${n}>${l&&p`<calcite-chip .label=${i.assistantresponses??"Assistant responses"} slot=content-start icon=effects scale=m class="suggestion-chips"></calcite-chip>`||""}<calcite-card-group .label=${i.assistantresponses??"Assistant responses"}>${L(a,o=>o.conversationId,o=>p`<calcite-card><div slot=heading><div class="prior-prompt"><span>${o.priorPrompt.length>he?`${o.priorPrompt.slice(0,he)}...`:o.priorPrompt}</span><calcite-action icon=duplicate scale=s slot=actions-end class="copy-prompt-button" text .id=${`copy-prompt-${o.conversationId}-${c?"standalone":"list"}`} @click=${g=>{let r=g.currentTarget;navigator.clipboard.writeText(o.priorPrompt).then(()=>{r.setAttribute("data-copied","true"),setTimeout(()=>r.removeAttribute("data-copied"),1500)})}}></calcite-action><calcite-popover .referenceElement=${`copy-prompt-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start class="copy-feedback" .label=${i.copiedsuccessfully??"copied successfully"} open trigger-disabled><span>${i.copiedsuccessfully??"copied successfully"}</span></calcite-popover><calcite-tooltip .referenceElement=${`copy-prompt-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start class="copy-tooltip">${i.copyprompttoclipboard??"Copy prompt to clipboard"}</calcite-tooltip></div>${o.message&&c&&p`<div class="response-error-container">${ze({errorMessage:o.message})}</div>`||""}</div><div><div class="code-response-wrapper"><div class="positioned-code-content"><calcite-chip-group .label=${i.responsecontext??"Response Context"} scale=s>${o.message&&!c&&p`<calcite-tooltip .referenceElement=${`response-chip-${o.conversationId}-error`} placement=top-start>${o.message}</calcite-tooltip><calcite-chip .id=${`response-chip-${o.conversationId}-error`} .label=${i.error??"Error"} scale=s appearance=outline icon=exclamation-mark-triangle-f class="response-error-chip"></calcite-chip>`||""}${We({card:o,messages:i})}</calcite-chip-group></div><details class="collapsible-code" open><summary>Code response</summary><arcgis-code-viewer language=arcade round>${o.code}</arcgis-code-viewer></details></div></div><div slot=footer-start class="feedback-actions"><calcite-button class="add-to-editor-button hidden-above-380" @click=${()=>o.onAddToEditor("add")} scale=s icon-start=plus round .label=${i.addtoeditor??"Add to editor"} .id=${`add-to-editor-button-${o.conversationId}-${c?"standalone":"list"}`}></calcite-button><calcite-tooltip class="hidden-above-380" .referenceElement=${`add-to-editor-button-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start>${i.addtoeditor??"Add to editor"}</calcite-tooltip><calcite-button class="add-to-editor-button hidden-below-380" @click=${()=>o.onAddToEditor("add")} scale=s icon-start=plus round>${i.addtoeditor??"Add to editor"}</calcite-button><calcite-button round icon-start=file-code kind=neutral scale=s @click=${()=>o.onAddToEditor("replace")} class="response-secondary-action-button" .id=${`replace-${o.conversationId}-${c?"standalone":"list"}`}></calcite-button><calcite-tooltip .referenceElement=${`replace-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start><span>${i.replaceineditor??"Replace all code in editor"}</span></calcite-tooltip><calcite-button round icon-start=copy-to-clipboard kind=neutral scale=s @click=${g=>{let r=g.currentTarget;d(o.code).then(()=>{r.setAttribute("data-copied","true"),setTimeout(()=>r.removeAttribute("data-copied"),1500)})}} class="response-secondary-action-button" .id=${`copy-response-${o.conversationId}-${c?"standalone":"list"}`}></calcite-button><calcite-popover .referenceElement=${`copy-response-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start class="copy-feedback" .label=${i.copiedsuccessfully??"copied successfully"} open trigger-disabled><span>${i.copiedsuccessfully??"copied successfully"}</span></calcite-popover><calcite-tooltip .referenceElement=${`copy-response-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start class="copy-tooltip">${i.copytoclipboard??"Copy code to clipboard"}</calcite-tooltip></div><div slot=footer-end class="feedback-actions"><calcite-action .text=${i.thumbsup??"Thumbs up"} scale=s icon=thumbs-up @click=${o.onThumbsUp} .id=${`thumbs-up-${o.conversationId}-${c?"standalone":"list"}`}></calcite-action><calcite-tooltip .referenceElement=${`thumbs-up-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start><span>${i.helpful??"Helpful"}</span></calcite-tooltip><calcite-action .text=${i.thumbsdown??"Thumbs down"} scale=s icon=thumbs-down @click=${o.onThumbsDown} .id=${`thumbs-down-${o.conversationId}-${c?"standalone":"list"}`}></calcite-action><calcite-tooltip .referenceElement=${`thumbs-down-${o.conversationId}-${c?"standalone":"list"}`} placement=top-start><span>${i.unhelpful??"Unhelpful"}</span></calcite-tooltip></div></calcite-card>`)}</calcite-card-group></calcite-block>`}var We=({card:t,messages:e})=>{let i=K(),a=`response-chip-profile-${t.conversationId}-${i}`,s=(e.profilecontextlabel??"Profile context: {profileId}").replace("{profileId}",t.profileId);return p`<calcite-tooltip .referenceElement=${a} placement=top-start class="contained-popover-or-tooltip">${s}</calcite-tooltip><calcite-chip .label=${t.profileId} scale=s appearance=outline icon=map-information id=${a??O}>${t.profileId}</calcite-chip>`},be=t=>t.type==="featureSet",B=t=>{if(!le(t))return[];let e=[];return t.relationships?.forEach(i=>{e.push(i.toJSON())}),e},j=t=>t.length>0?{relationships:t}:{},Ke=t=>ce(t).map(e=>({alias:e.alias,name:e.name,type:e.type,...e.domain?{domain:e.domain}:{}})),H=t=>t?{fields:Ke(t)}:{fields:[]};async function fe(t){let e=await t.loadSource(),i=F(e)&&e.isTable,a=B(e);return{name:t.name,type:"featureSet",isTable:i,...H(e?.fields),...j(a)}}async function xe(t){switch(t.type){case"feature":{let e=await t.loadSource(),i=B(e);return{name:t.name,type:t.type,...H(e?.fields),...j(i)}}case"featureSet":{let e=await t.loadSource(),i=F(e)&&e.isTable;return{name:t.name,type:"featureSet",...i?{isTable:i}:{},...H(e?.fields),...j(B(e))}}case"featureSetCollection":{let e=await t.loadSource(),i=e?.layers.filter(be)??[],a=e?.tables.filter(be)??[],s=await Promise.all(i.map(fe)),n=await Promise.all(a.map(fe));return{name:t.name,type:"featureSetCollection",layers:s,tables:n}}case"dictionary":{let e=await Promise.all(t.dictionaryVariables.map(xe));return{name:t.name,type:"dictionary",attributes:e}}case"pixel":{let e=await t.loadSource();if(!e)return{name:t.name,type:"pixel"};let i=await Me(e);return{name:t.name,type:"pixel",members:i.map(ve)}}case"voxel":{let e=await t.loadSource();if(!e)return{name:t.name,type:"voxel"};let i=await Ie(e);return{name:t.name,type:"voxel",members:i.map(ve)}}case"array":return{name:t.name,type:"array",elementType:t.elementType.type};case"number":case"text":case"boolean":case"date":case"knowledgeGraph":case"dateOnly":case"geometry":case"time":return{name:t.name,type:t.type}}}function ve(t){return t.type==="array"?{name:t.name,type:"array",elementType:t.elementType.type}:{name:t.name,type:t.type}}async function Xe(t){return{variables:await Promise.all(t.variables.map(xe))}}var Ze=1e5;function et(t){let e=new TextEncoder().encode(t).length;return Math.ceil(e/3.5)}function Q(t){return et(JSON.stringify(t))}function tt(t){let e=a=>({name:a.name,type:a.type,...a.isTable?{isTable:a.isTable}:{},...a.relationships?{relationships:a.relationships}:{}}),i=a=>{switch(a.type){case"feature":case"featureSet":case"knowledgeGraph":return{name:a.name,type:a.type,..."isTable"in a&&a.isTable?{isTable:a.isTable}:{},..."relationships"in a?{relationships:a.relationships}:{}};case"featureSetCollection":return{name:a.name,type:"featureSetCollection",layers:a.layers.map(e),tables:a.tables.map(e)};case"dictionary":return{name:a.name,type:"dictionary",attributes:a.attributes.map(i)};case"pixel":case"voxel":return{name:a.name,type:a.type};case"array":return{name:a.name,type:"array",...a.elementType?{elementType:a.elementType}:{}};default:return a}};return{variables:t.variables.map(i)}}function it(t){let e=t.variables,i=e.length,a=e.find(n=>n.name==="$feature")??e.find(n=>n.type==="feature")??e[0],s=a?[a]:[];return{context:{variables:s},wasReduced:i!==s.length,reducedToVariableName:a?.name}}function at(t){return Q(t)>Ze}var st=Object.defineProperty,ot=Object.getOwnPropertyDescriptor,y=(t,e,i,a)=>{for(var s=a>1?void 0:a?ot(e,i):e,n=t.length-1,l;n>=0;n--)(l=t[n])&&(s=(a?l(e,i,s):l(s))||s);return a&&s&&st(e,i,s),s},b=class extends Ee{constructor(t){super(t),this.viewMode="prompt",this.confirmationActive=!1,this.contextReducedNoticeDismissed=!1,this.splashActive=!0,this.isSubmitting=!1,this.question="",this.history=[],this.feedback={active:!1}}};y([w()],b.prototype,"viewMode",2);y([w()],b.prototype,"confirmationActive",2);y([w()],b.prototype,"contextReducedNoticeDismissed",2);y([w()],b.prototype,"splashActive",2);y([w()],b.prototype,"isSubmitting",2);y([w()],b.prototype,"errorMessage",2);y([w()],b.prototype,"promptValidationMessage",2);y([w()],b.prototype,"question",2);y([w()],b.prototype,"history",2);y([w()],b.prototype,"feedback",2);y([w()],b.prototype,"context",2);b=y([Re("ArcadeAssistantViewState")],b);var nt="arcade_generation",rt="ArcadeCodeRequest",ye="visualization",ct="ArcadeAssistant",lt=["your_comments","user_evaluation","question","answer","useragent","_source","version","context","extras"],we=[],$e=!0,G=class extends ie{constructor(){super(...arguments),this.textAreaRef=ee(),this.messages=oe(),this._feedbackService=void 0,this.viewState=new b,this.handleFeedbackButton=(e,i)=>{this.updateViewState({feedback:{active:!0,value:e,item:i,termsAccepted:!1,text:"",submitting:!1}})},this.handleFeedbackSheetClose=()=>{this.updateViewState({feedback:{active:!1}})},this.handleFeedbackSubmit=async()=>{if(!this.viewState.feedback.active)return;this.updateViewState({feedback:{...this.viewState.feedback,submitting:!0}});let e=await this.ensureFeedbackService();if(!e){this.handleFeedbackSheetClose();return}let i=this.viewState.feedback.item.contextSnapshot,a=Ae.applicationName;!a&&!this.appVersion&&T("warn",this,"esriConfig.applicationName is not set. Consider setting it to help identify the application version in feedback.");let{value:s,text:n,termsAccepted:l,item:{question:d,formattedScript:c,conversationId:o}}=this.viewState.feedback,g={user_evaluation:s,your_comments:n||void 0,question:d??"",answer:encodeURIComponent(c??""),useragent:navigator.userAgent,_source:ct,version:this.appVersion||a||"NOT_SET",context:i?JSON.stringify(i):"",extras:i?.profileId??"",conversation_id:o??"",privacy_statement:l?"I_agree":""};try{await e.applyEdits({addFeatures:[new Ce({attributes:g})]})}catch(r){T("error",this,"Error submitting feedback.",{detail:{error:r}})}this.handleFeedbackSheetClose()},this.handleClose=e=>{this.closed=!0,this.closePanel?.(e)},this.setQuestionState=e=>{this.updateViewState({question:e,promptValidationMessage:void 0})},this.setFeedbackState=e=>{this.updateViewState({feedback:e})},this.onSuggestionClick=e=>{this.textAreaRef.value&&(this.textAreaRef.value.value=e,this.textAreaRef.value.setFocus(),this.setQuestionState(e))},this.helpBase="",this.assistantsEnabled=!1,this.closed=!1}static{this.properties={closePanel:0,insertText:0,helpBase:1,assistantsEnabled:5,portalUrl:1,serviceUrl:1,closed:7,editorRef:0,feedbackServiceUrl:1,appVersion:1}}static{this.styles=Ve}get disclaimerComment(){return`// ${this.messages.disclaimercomment}
|
|
3
|
-
// ${this.messages.disclaimerpt2??"AI-generated content may be inaccurate. Review before using."}`}get assistantOverviewDocUrl(){return`${this.helpBase??"https://doc.arcgis.com/en/arcgis-online/"}create-maps/understand-arcade-assistant.htm`}get usingTheAssitantDocUrl(){return`${this.helpBase??"https://doc.arcgis.com/en/arcgis-online/"}create-maps/use-arcade-assistant.htm`}async destroy(){}connectedCallback(){super.connectedCallback(),this.updateViewState({history:we,splashActive:$e})}load(){let e=async()=>{let i=this.getModel();if(!i){this.updateViewState({context:void 0});return}let a=await this.getProfileAndMetadata(i.uri);this.updateViewState({context:a,contextReducedNoticeDismissed:a.contextTooLarge?!1:this.viewState.contextReducedNoticeDismissed})};e().catch(i=>{T("error",this,"Error setting initial context.",{detail:{error:i}})}),this.manager.onLifecycle(()=>
|
|
3
|
+
// ${this.messages.disclaimerpt2??"AI-generated content may be inaccurate. Review before using."}`}get assistantOverviewDocUrl(){return`${this.helpBase??"https://doc.arcgis.com/en/arcgis-online/"}create-maps/understand-arcade-assistant.htm`}get usingTheAssitantDocUrl(){return`${this.helpBase??"https://doc.arcgis.com/en/arcgis-online/"}create-maps/use-arcade-assistant.htm`}async destroy(){}connectedCallback(){super.connectedCallback(),this.updateViewState({history:we,splashActive:$e})}load(){let e=async()=>{let i=this.getModel();if(!i){this.updateViewState({context:void 0});return}let a=await this.getProfileAndMetadata(i.uri);this.updateViewState({context:a,contextReducedNoticeDismissed:a.contextTooLarge?!1:this.viewState.contextReducedNoticeDismissed})};e().catch(i=>{T("error",this,"Error setting initial context.",{detail:{error:i}})}),this.manager.onLifecycle(()=>{let i=z.onModelContextDidChange(async()=>{e().catch(a=>{T("error",this,"Error setting context.",{detail:{error:a}})})});return{remove:()=>{i.dispose()}}})}disconnectedCallback(){super.disconnectedCallback(),we=this.viewState.history,$e=this.viewState.splashActive,this.copySuccessTimer&&(clearTimeout(this.copySuccessTimer),this.copySuccessTimer=void 0)}createFeedbackContextSnapshot(e){let i=tt(e.metadata);return{...e,metadata:i,estimatedTokens:Q(i)}}updateViewState(e){this.viewState.set(e)}getHistoryCards(){return this.viewState.history.reduce((e,i)=>(!i.script||(e.push({priorPrompt:i.question,code:i.formattedScript||i.error||"",profileId:i.profile??ye,onAddToEditor:a=>{ne(this.editorRef.editorInstance,i.formattedScript??"",a,this.disclaimerComment)},onThumbsUp:()=>this.handleFeedbackButton("good",i),onThumbsDown:()=>this.handleFeedbackButton("bad",i),conversationId:i.conversationId??"",message:i.message}),this.viewState.viewMode),e),[])}async ensureFeedbackService(){if(this._feedbackService)return this._feedbackService;if(!this.feedbackServiceUrl)return;let e=new Te({url:this.feedbackServiceUrl});await e.load();let i=lt.filter(a=>!e.fields.some(s=>s.name===a));if(i.length>0){T("error",this,`Missing the following fields in feedback service: ${i.join(", ")}. Feedback will not be logged.`);return}return this._feedbackService=e,e}getModel(){return this.editorRef.editorInstance?.getModel()}async submitQuestion(){if(this.viewState.question){this.updateViewState({isSubmitting:!0,errorMessage:void 0});try{let e=await this.getToken(),i=this.getModel();if(!i)return;let a=this.viewState.context??await this.getProfileAndMetadata(i.uri),s=(await Pe({baseUrl:this.serviceUrl,skillId:nt,message:this.viewState.question,authToken:e,context:{kind:rt,context:{profile_id:a.profileId,metadata:[a.metadata]}}})).find(n=>n.context?.kind==="ArcadeCodeResponse");if(!s)return;if(s.context?.kind==="ArcadeCodeResponse"){let n=this.createFeedbackContextSnapshot(a);this.updateViewState({history:[{script:s?.context?.arcadeCode?.code,formattedScript:re(s?.context?.arcadeCode?.code??""),error:void 0,question:this.viewState.question,profile:a.profileId,conversationId:s.conversationId,contextSnapshot:n,...s.message?{message:s.message}:{}},...this.viewState.history],viewMode:"result",errorMessage:void 0})}}catch(e){e instanceof Error&&e.name==="ArcadeAssistantError"?this.updateViewState({errorMessage:qe(e)||this.messages.erroroccurred||"An error occurred."}):this.updateViewState({errorMessage:this.messages.erroroccurred||"An error occurred."}),T("error",this,"Error submitting question",{detail:{error:e}})}finally{this.updateViewState({isSubmitting:!1})}}}async getToken(){let{token:e}=await Se.getCredential(this.portalUrl);return e}async getProfileAndMetadata(e){let i=ye,a=z.getEditorProfileForModel(e);a?.loaded||await a?.loadSource();let s=this.editorRef.profile;s&&"id"in s&&(i=s.id);let n=a?await Xe(a):{variables:[]},l=at(n),d=l?it(n):void 0,c=d?d.context:n,o=Q(c);return{profileId:i,metadata:c,contextTooLarge:l,reducedToVariableName:d?.reducedToVariableName,estimatedTokens:o}}onCopyCode(e){let i=e?`${this.disclaimerComment}
|
|
4
4
|
${e}`:"";return navigator.clipboard.writeText(i)}render(){if(this.closed)return null;let e=this.viewState.viewMode==="result",i=this.getHistoryCards();return this.assistantsEnabled?p`<calcite-flow><calcite-flow-item closable heading-level=2 .heading=${this.messages.arcadeassistant??"Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${this.viewState.splashActive&&p`<calcite-scrim></calcite-scrim>`||""}${_e({messages:this.messages})}${Fe({messages:this.messages,popoverContent:me({assistantsEnabled:this.assistantsEnabled,messages:this.messages,helpTopicUrl:this.usingTheAssitantDocUrl})})}<calcite-shell class="unstyled-shell">${this.viewState.splashActive&&Je({messages:this.messages,onProceed:()=>{this.updateViewState({splashActive:!1})},helpTopicUrl:this.assistantOverviewDocUrl,onExit:a=>this.closePanel?.(a)})||""}${Le({active:this.viewState.confirmationActive,setActive:a=>this.updateViewState({confirmationActive:a}),messages:this.messages})}${je({isDisabled:this.viewState.isSubmitting,isReadOnly:!1,setQuestion:this.setQuestionState,setIsViewingResult:a=>this.updateViewState({viewMode:a?"result":"prompt"}),mode:e?"refine":"prompt",textAreaRef:this.textAreaRef,question:this.viewState.question,errorMessage:this.viewState.errorMessage,setErrorMessage:a=>this.updateViewState({errorMessage:a}),promptValidationMessage:this.viewState.promptValidationMessage,setPromptValidationMessage:a=>this.updateViewState({promptValidationMessage:a}),submitQuestion:this.submitQuestion.bind(this),assistantRef:this.el,messages:this.messages,context:this.viewState.context,contextReducedNoticeDismissed:this.viewState.contextReducedNoticeDismissed,setContextReducedNoticeDismissed:a=>this.updateViewState({contextReducedNoticeDismissed:a})})}<calcite-block-group .label=${this.messages.interactiveblocks??"interactive blocks"}>${!e&&!this.viewState.isSubmitting&&Ye({messages:this.messages,suggestions:[this.messages.prompsuggestion1??"",this.messages.prompsuggestion2??""],onSuggestionClick:this.onSuggestionClick})||""}<calcite-block .hidden=${!this.viewState.isSubmitting} .heading=${this.messages.generatingresponse??"Generating response..."}></calcite-block>${ge({expanded:e,messages:this.messages,collapsible:!0,showEffectsIcon:!0,cards:i.length?[i[0]]:[],heading:this.messages.besteffort??"Here's the assistant's best effort",hidden:this.viewState.isSubmitting||!e,onCopyCode:this.onCopyCode.bind(this),standalone:!0})}${ge({expanded:!e,messages:this.messages,collapsible:!0,cards:e?i.slice(1):i,heading:this.messages.recentprompts??"Recent prompts",hidden:this.viewState.isSubmitting||this.viewState.history.length===0,onCopyCode:this.onCopyCode.bind(this)})}</calcite-block-group>${this.viewState.feedback.active?Ge({setOpen:this.handleFeedbackSheetClose,messages:this.messages,onSubmit:this.handleFeedbackSubmit,feedback:this.viewState.feedback,setFeedback:this.setFeedbackState,learnMoreUrl:this.assistantOverviewDocUrl}):null}</calcite-shell></calcite-flow-item></calcite-flow>`:p`<calcite-flow><calcite-flow-item .selected=${!e} closable heading-level=2 .heading=${this.messages.arcadeassistant??"Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${me({slot:"content-top",messages:this.messages,assistantsEnabled:this.assistantsEnabled,helpTopicUrl:this.usingTheAssitantDocUrl})}</calcite-flow-item></calcite-flow>`}};se("arcgis-arcade-coding-assistant",G);return G},"identity/IdentityManager","request","layers/FeatureLayer","config","Graphic","applications/Components/arcadeEditorUtils","core/Accessor","core/accessorSupport/decorators",a,b)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"مساعد Arcade","beta":"تجريبي","expressionapplied":"تم تطبيق التعبير على المحرر","askaquestion":"اختر الحساب أو المنطق المطلوب في تعبير Arcade (مثل: إرجاع نعم إذا كانت القيمة > 10)","enteraprompt":"يرجى إدخال المطالبة","assistantresponse":"استجابة المساعد","
|
|
1
|
+
{"arcadeassistant":"مساعد Arcade","beta":"تجريبي","expressionapplied":"تم تطبيق التعبير على المحرر","askaquestion":"اختر الحساب أو المنطق المطلوب في تعبير Arcade (مثل: إرجاع نعم إذا كانت القيمة > 10)","enteraprompt":"يرجى إدخال المطالبة","assistantresponse":"استجابة المساعد","submitfeedback":"بيت_Submit feedback to Esri________________________لاحقة","submit":"بيت_Submit_____________لاحقة","addtoeditor":"أضف إلى المحرر","experiencehelpful":"هل أنت راضٍ عن استجابة المساعد؟","describeexperience":"صف تجربتك","besteffort":"هذه أفضل محاولة من المساعد","ask":"إنشاء","disclaimercomment":"تم إنشاء التعبير بواسطة مساعد Arcade من ArcGIS (نسخة تجريبية)","feedback":"تعليق","erroroccurred":"حدث خطأ.","recentprompts":"المطالبات الحديثة","generatingresponse":"جارٍ إنشاء الاستجابة...","introducing":"تقديم مساعد Arcade (نسخة تجريبية)","capabilities":"يستخدم المساعد الذكاء الاصطناعي لإنشاء تعبيرات Arcade.","aiassistants":"أدوات المساعدة التي تعمل بالذكاء الاصطناعي","useofassistant":"بيت_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________لاحقة:","enabledinorg":"بيت_AI assistants are enabled in the organization settings____________________________لاحقة","enabledbetaapps":"بيت_Beta apps and capabilities are not blocked______________________لاحقة","enabledroleprivilege":"بيت_Your role privilege allows you to use AI assistants___________________________لاحقة","configureassistants":"تكوين المساعدين","settings":"الإعدادات","new":"جديد","learnmore":"تعرّف على المزيد","welcome":"مرحبًا بك في تجربة المساعد الجديدة","beforeyougetstarted":"قبل أن تبدأ، انتبه إلى:","maybeincorrect":"في بعض الأحيان، يكون الكود المُنشأ بواسطة الذكاء الاصطناعي غير صحيح أو متحيزًا. راجعه بعناية.","pleasereadhelp":"اقرأ {helpTopic} الخاص بمساعد Arcade (التجريبي) للبدء ومعرفة التفاصيل المتعلقة بالأمان والخصوصية والقيود.","proceed":"متابعة","exit":"خروج","promptsuggestions":"اقتراحات الأوامر","promptsuggestion":"اقتراح الأمر","assistantresponses":"إجابات المساعد","collapse":"طي","thumbsup":"الإعجاب","thumbsdown":"إلغاء الإعجاب","refine":"تنقية","startover":"البدء من جديد","helptopic":"موضوع التعليمات","agreement":"أوافق على {EsriPrivacyStatement} (و{Supplement}).","esriprivacystatement":"بيان خصوصية Esri","supplement":"ملحق","disclaimerpt2":"قد يكون المحتوى الذي أنشأه الذكاء الاصطناعي غير دقيق. المراجعة قبل الاستخدام.","replaceineditor":"استبدال جميع الأكواد في المحرر","keepinmind":"ضع ما يلي في اعتبارك:","beconsise":"كن مختصرًا، ولكن واضحًا في طلبك","avoidambiguity":"تجنب الغموض والالتباس","documentation":"الوثائق","useexamples":"استخدم الأمثلة لتوضيح طلبك","moredetails":"لا تحتاج إلى استخدام أسماء الحقل الدقيقة في تعليماتك، لكن بشكل عام، كلما زادت التفاصيل كان ذلك أفضل.","seedocumentation":"يرجى الاطلاع على {documentation} للحصول على مزيد من المعلومات، بما في ذلك القيود والموارد الإضافية.","assistantinformation":"معلومات المساعد","profilecontextlabel":"سياق ملف التعريف: {profileId}","layercontextlabel":"سياق الطبقة: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"طبقات","numlayerssingular":"الطبقة","responsecontext":"سياق الاستجابة","error":"خطأ","copytoclipboard":"نسخ الكود إلى الحافظة","copyprompttoclipboard":"نسخ الطلب إلى الحافظة","copiedsuccessfully":"تم النسخ بنجاح","helpful":"مفيدة","unhelpful":"غير مفيد","prompsuggestion1":"تقريب القيمة إلى خانة عشرية واحدة","prompsuggestion2":"إرجاع نعم إذا كانت القيمة > 10","assistantcontext":"بيت_Assistant context__________________لاحقة","context":"بيت_Context_______________لاحقة","contextreduced":"بيت_Context reduced________________لاحقة","contextreducedmessage":"بيت_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________لاحقة.","contexttoobig":"بيت_Context size exceeds the assistant's limit_______________________لاحقة.","opencontextmenu":"بيت_Open context menu__________________لاحقة","opencontextmenutitle":"بيت_Open context menu__________________لاحقة","contexttoobigtitle":"بيت_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________لاحقة.","contextcalltoaction":"بيت_Use the checkboxes in the context menu to reduce the size of the context______________________________________لاحقة.","contextitems":"بيت_context items______________لاحقة","contextexplainer":"بيت_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________لاحقة.","donotincludepersonalinfo":"بيت_Do not include personal or sensitive information_________________________لاحقة","feedbackhelps":"بيت_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________لاحقة.","interactiveblocks":"بيت_Interactive blocks___________________لاحقة","legaldisclaimer":"بيت_Legal disclaimer_________________لاحقة","cancel":"بيت_Cancel_____________لاحقة"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Aсистент в Arcade","beta":"Бета","expressionapplied":"Израз, приложен към редактора","askaquestion":"Посочете изчислението или логиката, от които се нуждаете в израз за Arcade. (напр. Върнете „Да“, ако стойността е > 10)","enteraprompt":"Моля, въведете подкана","assistantresponse":"Отговор на асистента","
|
|
1
|
+
{"arcadeassistant":"Aсистент в Arcade","beta":"Бета","expressionapplied":"Израз, приложен към редактора","askaquestion":"Посочете изчислението или логиката, от които се нуждаете в израз за Arcade. (напр. Върнете „Да“, ако стойността е > 10)","enteraprompt":"Моля, въведете подкана","assistantresponse":"Отговор на асистента","submitfeedback":"й_Submit feedback to Esri________________________й","submit":"й_Submit_____________й","addtoeditor":"Добавяне към редактора","experiencehelpful":"Доволни ли сте от отговора на асистента?","describeexperience":"Опишете преживяването си","besteffort":"Ето най-добрите усилия на асистента","ask":"Генериране","disclaimercomment":"Израз, генериран от асистент за ArcGIS Arcade (бета)","feedback":"Обратна връзка","erroroccurred":"Появи се грешка.","recentprompts":"Нулиране на напомняния","generatingresponse":"Генериране на отговор...","introducing":"Представяме Ви асистент за Arcade (бета)","capabilities":"Асистентът използва изкуствен интелект, за да генерира аркадни изрази.","aiassistants":"Асистенти ИИ","useofassistant":"й_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________й:","enabledinorg":"й_AI assistants are enabled in the organization settings____________________________й","enabledbetaapps":"й_Beta apps and capabilities are not blocked______________________й","enabledroleprivilege":"й_Your role privilege allows you to use AI assistants___________________________й","configureassistants":"Конфигуриране на асистенти","settings":"Настройки","new":"Нови","learnmore":"Научете повече","welcome":"Добре дошли в новото изживяване на асистента","beforeyougetstarted":"Преди да започнете, имайте предвид:","maybeincorrect":"Кодът, генериран от изкуствен интелект, понякога може да е неправилен или с предубеждение. Прегледайте внимателно.","pleasereadhelp":"Прочетете Arcade Assistant (бета), {helpTopic} за да започнете и да научите подробности за сигурността, поверителността и ограниченията.","proceed":"Продължение","exit":"Изход","promptsuggestions":"Предложения за заявка","promptsuggestion":"Предложение за заявка","assistantresponses":"Отговори на асистента","collapse":"Сгъване","thumbsup":"Палец нагоре","thumbsdown":"Палец надолу","refine":"Прецизиране","startover":"Стартирането приключи","helptopic":"тема за помощ","agreement":"Съгласен съм с {EsriPrivacyStatement} (и {Supplement}).","esriprivacystatement":"Декларация за поверителност на Esri","supplement":"Допълнение","disclaimerpt2":"Съдържанието, генерирано от ИИ, може да е неточно. Прегледайте преди употреба.","replaceineditor":"Заменете целия код в редактора","keepinmind":"Имайте предвид следното:","beconsise":"Направете кратка, но също и ясна, заявка","avoidambiguity":"Избягвайте двусмислие и неясноти","documentation":"документация","useexamples":"Използвайте примери, за да изясните заявката си","moredetails":"Не е необходимо да използвате точни имена на полетата в инструкциите си, но наличието на повече подробности обикновено е по-добре.","seedocumentation":"Моля, вижте {documentation} за повече информация, включително ограничения и допълнителни ресурси.","assistantinformation":"Информация за асистента","profilecontextlabel":"Контекст на профила: {profileId}","layercontextlabel":"Контекст на слоя: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"слоеве","numlayerssingular":"слой","responsecontext":"Контекст на отговора","error":"Грешка","copytoclipboard":"Копиране на код в клипборда","copyprompttoclipboard":"Копиране на заявка в клипборда","copiedsuccessfully":"Успешно копиране","helpful":"Полезно","unhelpful":"Не е полезно","prompsuggestion1":"Закръглете стойността до един знак след десетичната запетая","prompsuggestion2":"Върнете „Да“, ако стойността е > 10","assistantcontext":"й_Assistant context__________________й","context":"й_Context_______________й","contextreduced":"й_Context reduced________________й","contextreducedmessage":"й_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________й.","contexttoobig":"й_Context size exceeds the assistant's limit_______________________й.","opencontextmenu":"й_Open context menu__________________й","opencontextmenutitle":"й_Open context menu__________________й","contexttoobigtitle":"й_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________й.","contextcalltoaction":"й_Use the checkboxes in the context menu to reduce the size of the context______________________________________й.","contextitems":"й_context items______________й","contextexplainer":"й_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________й.","donotincludepersonalinfo":"й_Do not include personal or sensitive information_________________________й","feedbackhelps":"й_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________й.","interactiveblocks":"й_Interactive blocks___________________й","legaldisclaimer":"й_Legal disclaimer_________________й","cancel":"й_Cancel_____________й"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Arcade pomoćnik","beta":"Beta","expressionapplied":"Izraz primijenjen na opciju uređivanja Editor","askaquestion":"Navedite izračun ili logiku koja vam je potrebna u arkadnom izrazu. (npr. Vrati \"Da\" ako je vrijednost > 10)","enteraprompt":"Unesite upit","assistantresponse":"Odgovor pomoćnika","
|
|
1
|
+
{"arcadeassistant":"Arcade pomoćnik","beta":"Beta","expressionapplied":"Izraz primijenjen na opciju uređivanja Editor","askaquestion":"Navedite izračun ili logiku koja vam je potrebna u arkadnom izrazu. (npr. Vrati \"Da\" ako je vrijednost > 10)","enteraprompt":"Unesite upit","assistantresponse":"Odgovor pomoćnika","submitfeedback":"Č_Submit feedback to Esri________________________ž","submit":"Č_Submit_____________ž","addtoeditor":"Dodaj u opciju uređivanja Editor","experiencehelpful":"Jeste li zadovoljni odgovorom pomoćnika?","describeexperience":"Opišite svoje iskustvo","besteffort":"Evo najboljeg pokušaja pomoćnika","ask":"Generiraj","disclaimercomment":"Izraz generiran pomoću ArcGIS Arcade pomoćnika (beta)","feedback":"Povratne informacije","erroroccurred":"Došlo je do pogreške.","recentprompts":"Nedavni upiti","generatingresponse":"Generiranje odgovora...","introducing":"Predstavljanje Arcade pomoćnika (beta)","capabilities":"Pomoćnik koristi umjetnu inteligenciju za generiranje arkadnih izraza.","aiassistants":"UI pomoćnici","useofassistant":"Č_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________ž:","enabledinorg":"Č_AI assistants are enabled in the organization settings____________________________ž","enabledbetaapps":"Č_Beta apps and capabilities are not blocked______________________ž","enabledroleprivilege":"Č_Your role privilege allows you to use AI assistants___________________________ž","configureassistants":"Konfiguriraj pomoćnike","settings":"Postavke","new":"Novo","learnmore":"Saznajte više","welcome":"Dobro došli u novo iskustvo s pomoćnicima","beforeyougetstarted":"Prije početka trebate znati:","maybeincorrect":"Kod generiran umjetnom inteligencijom može povremeno biti netočan ili pristran. Pažljivo pregledajte.","pleasereadhelp":"Pročitajte Arcade pomoćnik (beta) {helpTopic} za početak i saznajte pojedinosti o sigurnosti, privatnosti i ograničenjima.","proceed":"Nastavi","exit":"Izlaz","promptsuggestions":"Brzi prijedlozi","promptsuggestion":"Brzi prijedlog","assistantresponses":"Odgovori pomoćnika","collapse":"Sažmi","thumbsup":"Palac gore","thumbsdown":"Palac dolje","refine":"Preciziraj","startover":"Kreni ispočetka","helptopic":"tema pomoći","agreement":"Prihvaćam {EsriPrivacyStatement} (i {Supplement}).","esriprivacystatement":"Izjava o zaštiti privatnosti tvrtke Esri","supplement":"Dodatak","disclaimerpt2":"Sadržaj koji je generirala umjetna inteligencija može biti netočan. Pregledajte prije upotrebe.","replaceineditor":"Zamijenite sve šifre prilikom uređivanja","keepinmind":"Vodite računa o sljedećem:","beconsise":"Budite kratki, ali i jasni u svom zahtjevu","avoidambiguity":"Izbjegavajte dvosmislenost i nejasnoće","documentation":"dokumentacija","useexamples":"Koristite primjere kako biste pojasnili svoj zahtjev","moredetails":"Ne morate koristiti točne nazive polja u svojim uputama, ali više pojedinosti je općenito bolje","seedocumentation":"Za više informacija pogledajte{documentation} , uključujući ograničenja i dodatne resurse.","assistantinformation":"Informacije o pomoćniku","profilecontextlabel":"Kontekst profila: {profileId}","layercontextlabel":"Kontekst sloja:{layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"slojevi","numlayerssingular":"sloj","responsecontext":"Kontekst odgovora","error":"Pogreška","copytoclipboard":"Kopiraj kod u međuspremnik","copyprompttoclipboard":"Kopiraj upit u međuspremnik","copiedsuccessfully":"Uspješno kopirano","helpful":"Korisno","unhelpful":"Nekorisno","prompsuggestion1":"Zaokružite vrijednost na jedno decimalno mjesto","prompsuggestion2":"Vrati \"Da\" ako je vrijednost > 10","assistantcontext":"Č_Assistant context__________________ž","context":"Č_Context_______________ž","contextreduced":"Č_Context reduced________________ž","contextreducedmessage":"Č_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________ž.","contexttoobig":"Č_Context size exceeds the assistant's limit_______________________ž.","opencontextmenu":"Č_Open context menu__________________ž","opencontextmenutitle":"Č_Open context menu__________________ž","contexttoobigtitle":"Č_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________ž.","contextcalltoaction":"Č_Use the checkboxes in the context menu to reduce the size of the context______________________________________ž.","contextitems":"Č_context items______________ž","contextexplainer":"Č_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________ž.","donotincludepersonalinfo":"Č_Do not include personal or sensitive information_________________________ž","feedbackhelps":"Č_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________ž.","interactiveblocks":"Č_Interactive blocks___________________ž","legaldisclaimer":"Č_Legal disclaimer_________________ž","cancel":"Č_Cancel_____________ž"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Assistent d'Arcade","beta":"Beta","expressionapplied":"Expressió aplicada a l'editor","askaquestion":"Especifiqueu el càlcul o la lògica que necessiteu en una expressió d'Arcade. (p. ex., Retorna Sí si el valor > 10)","enteraprompt":"Introduïu una petició","assistantresponse":"Resposta de l'assistent","
|
|
1
|
+
{"arcadeassistant":"Assistent d'Arcade","beta":"Beta","expressionapplied":"Expressió aplicada a l'editor","askaquestion":"Especifiqueu el càlcul o la lògica que necessiteu en una expressió d'Arcade. (p. ex., Retorna Sí si el valor > 10)","enteraprompt":"Introduïu una petició","assistantresponse":"Resposta de l'assistent","submitfeedback":"ó_Submit feedback to Esri________________________à","submit":"ó_Submit_____________à","addtoeditor":"Afegeix a l'editor","experiencehelpful":"Us ha satisfet la resposta de l'assistent?","describeexperience":"Descriviu la vostra experiència","besteffort":"Aquesta és la millor resposta que us pot oferir l'assistent","ask":"Genera","disclaimercomment":"Expressió generada amb l'assistent de l'ArcGIS Arcade (beta)","feedback":"Comentaris","erroroccurred":"Hi ha hagut un error.","recentprompts":"Peticions recents","generatingresponse":"S'està generant la resposta...","introducing":"Presentem l'assistent d'Arcade (beta)","capabilities":"L'assistent fa servir intel·ligència artificial per generar expressions d'Arcade.","aiassistants":"Assistents d'IA","useofassistant":"ó_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________à:","enabledinorg":"ó_AI assistants are enabled in the organization settings____________________________à","enabledbetaapps":"ó_Beta apps and capabilities are not blocked______________________à","enabledroleprivilege":"ó_Your role privilege allows you to use AI assistants___________________________à","configureassistants":"Configura els assistents","settings":"Configuració","new":"Nou","learnmore":"Més informació","welcome":"Us donem la benvinguda a la nova experiència de l'assistent","beforeyougetstarted":"Abans de començar, tingueu en compte el següent:","maybeincorrect":"És possible que el codi generat per la IA de vegades no sigui correcte o estigui esbiaixat. Reviseu-lo amb cura.","pleasereadhelp":"Llegiu el {helpTopic} de l'assistent d'Arcade (beta) per començar i obtenir informació sobre la seguretat, la privadesa i les limitacions.","proceed":"Continua","exit":"Surt","promptsuggestions":"Suggeriments de petició","promptsuggestion":"Seggeriment de petició","assistantresponses":"Respostes de l'assistent","collapse":"Redueix","thumbsup":"Polze amunt","thumbsdown":"Polze avall","refine":"Refina","startover":"Comença de nou","helptopic":"tema d'ajuda","agreement":"Accepto la {EsriPrivacyStatement} (i el {Supplement}).","esriprivacystatement":"Declaració de privadesa d'Esri","supplement":"Suplement","disclaimerpt2":"És possible que el contingut generat per la IA no sigui precís. Reviseu-lo abans de fer-lo servir.","replaceineditor":"Substitueix tot el codi a l'editor","keepinmind":"Tingueu en compte el següent:","beconsise":"La sol·licitud ha de ser concisa, però clara","avoidambiguity":"Eviteu l'ambigüitat i la vaguetat","documentation":"documentació","useexamples":"Feu servir exemples per explicar millor la sol·licitud","moredetails":"A les instruccions, no cal que feu servir els noms de camp exactes, però normalment com més detalls aporteu, millor","seedocumentation":"Consulteu la {documentation} per obtenir més informació, com ara sobre les limitacions i recursos addicionals.","assistantinformation":"Informació de l'assistent","profilecontextlabel":"Context del perfil: {profileId}","layercontextlabel":"Context de la capa: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"capes","numlayerssingular":"capa","responsecontext":"Context de la resposta","error":"Error","copytoclipboard":"Copia el codi al porta-retalls","copyprompttoclipboard":"Copia la petició al porta-retalls","copiedsuccessfully":"S'ha copiat correctament","helpful":"És útil","unhelpful":"No és útil","prompsuggestion1":"Arrodoniu el valor a una posició decimal","prompsuggestion2":"Retorna Sí si el valor > 10","assistantcontext":"ó_Assistant context__________________à","context":"ó_Context_______________à","contextreduced":"ó_Context reduced________________à","contextreducedmessage":"ó_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________à.","contexttoobig":"ó_Context size exceeds the assistant's limit_______________________à.","opencontextmenu":"ó_Open context menu__________________à","opencontextmenutitle":"ó_Open context menu__________________à","contexttoobigtitle":"ó_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________à.","contextcalltoaction":"ó_Use the checkboxes in the context menu to reduce the size of the context______________________________________à.","contextitems":"ó_context items______________à","contextexplainer":"ó_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________à.","donotincludepersonalinfo":"ó_Do not include personal or sensitive information_________________________à","feedbackhelps":"ó_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________à.","interactiveblocks":"ó_Interactive blocks___________________à","legaldisclaimer":"ó_Legal disclaimer_________________à","cancel":"ó_Cancel_____________à"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Asistent Arcade","beta":"Beta","expressionapplied":"Výraz použitý pro editor","askaquestion":"Zadejte výpočet nebo logiku, kterou potřebujete ve výrazu Arcade. (např., 'Return \"Yes\" if value > 10')","enteraprompt":"Zadejte prosím výzvu","assistantresponse":"Odpověď asistenta","
|
|
1
|
+
{"arcadeassistant":"Asistent Arcade","beta":"Beta","expressionapplied":"Výraz použitý pro editor","askaquestion":"Zadejte výpočet nebo logiku, kterou potřebujete ve výrazu Arcade. (např., 'Return \"Yes\" if value > 10')","enteraprompt":"Zadejte prosím výzvu","assistantresponse":"Odpověď asistenta","submitfeedback":"Ř_Submit feedback to Esri________________________ů","submit":"Ř_Submit_____________ů","addtoeditor":"Přidat do editoru","experiencehelpful":"Jste s odpovědí asistenta spokojeni?","describeexperience":"Popište své zkušenosti","besteffort":"Zde je nejlepší možný výsledek asistenta","ask":"Generovat","disclaimercomment":"Výraz generovaný nástrojem ArcGIS Arcade Assistant (beta)","feedback":"Zpětná vazba","erroroccurred":"Nastala chyba.","recentprompts":"Poslední výzvy","generatingresponse":"Vytváření odpovědi...","introducing":"Představujeme asistenta Arcade Assistant (beta)","capabilities":"Tento asistent využívá umělou inteligenci k vytváření výrazů Arcade.","aiassistants":"AI asistenti","useofassistant":"Ř_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________ů:","enabledinorg":"Ř_AI assistants are enabled in the organization settings____________________________ů","enabledbetaapps":"Ř_Beta apps and capabilities are not blocked______________________ů","enabledroleprivilege":"Ř_Your role privilege allows you to use AI assistants___________________________ů","configureassistants":"Konfigurace asistentů","settings":"Nastavení","new":"Nový","learnmore":"Další informace","welcome":"Vítejte v novém prostředí asistentů","beforeyougetstarted":"Než začnete, mějte na paměti:","maybeincorrect":"Kód generovaný umělou inteligencí může být občas nesprávný nebo zkreslený. Pečlivě jej kontrolujte.","pleasereadhelp":"Přečtěte si {helpTopic} Arcade Assistant (beta), abyste mohli začít a dozvěděli se podrobnosti o zabezpečení, soukromí a omezeních.","proceed":"Pokračovat","exit":"Konec","promptsuggestions":"Návrhy výzev","promptsuggestion":"Návrh výzvy","assistantresponses":"Odpovědi asistenta","collapse":"Sbalit","thumbsup":"Palec nahoru","thumbsdown":"Palec dolů","refine":"Upřesnit","startover":"Začít znovu","helptopic":"téma nápovědy","agreement":"Souhlasím s {EsriPrivacyStatement} (a {Supplement}).","esriprivacystatement":"Prohlášení o ochraně osobních údajů společnosti Esri","supplement":"Doplněk k ochraně osobních údajů","disclaimerpt2":"Obsah generovaný pomocí AI může být nepřesný. Před použitím kontrolujte.","replaceineditor":"Nahrazení veškerého kódu v editoru","keepinmind":"Mějte na paměti následující:","beconsise":"Buďte struční, ale také jasní ve svých požadavcích.","avoidambiguity":"Vyhněte se nejednoznačnosti a neurčitosti.","documentation":"dokumentace","useexamples":"Použijte příklady, abyste objasnili svůj požadavek","moredetails":"V pokynech nemusíte používat přesné názvy polí, ale obecně platí, že podrobnější názvy jsou lepší.","seedocumentation":"Další informace, včetně omezení a dalších zdrojů, naleznete v {documentation}.","assistantinformation":"Informace o asistentovi","profilecontextlabel":"Kontext profilu: {profileId}","layercontextlabel":"Kontext vrstvy: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"vrstvy","numlayerssingular":"vrstva","responsecontext":"Kontext odpovědi","error":"Chyba","copytoclipboard":"Zkopírovat kód do schránky","copyprompttoclipboard":"Zkopírovat výzvu do schránky","copiedsuccessfully":"Úspěšně zkopírováno","helpful":"Užitečné","unhelpful":"Neužitečné","prompsuggestion1":"Zaokrouhlení hodnoty na jedno desetinné místo","prompsuggestion2":"Vrátit Ano, pokud je hodnota > 10","assistantcontext":"Ř_Assistant context__________________ů","context":"Ř_Context_______________ů","contextreduced":"Ř_Context reduced________________ů","contextreducedmessage":"Ř_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________ů.","contexttoobig":"Ř_Context size exceeds the assistant's limit_______________________ů.","opencontextmenu":"Ř_Open context menu__________________ů","opencontextmenutitle":"Ř_Open context menu__________________ů","contexttoobigtitle":"Ř_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________ů.","contextcalltoaction":"Ř_Use the checkboxes in the context menu to reduce the size of the context______________________________________ů.","contextitems":"Ř_context items______________ů","contextexplainer":"Ř_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________ů.","donotincludepersonalinfo":"Ř_Do not include personal or sensitive information_________________________ů","feedbackhelps":"Ř_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________ů.","interactiveblocks":"Ř_Interactive blocks___________________ů","legaldisclaimer":"Ř_Legal disclaimer_________________ů","cancel":"Ř_Cancel_____________ů"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Arcade-assistent","beta":"Beta","expressionapplied":"Udtryk anvendt på editor","askaquestion":"Angiv den beregning eller logik, du skal bruge i et Arcade-udtryk. (f.eks. returnér Ja, hvis værdi > 10)","enteraprompt":"Angiv en prompt","assistantresponse":"Assistent-svar","
|
|
1
|
+
{"arcadeassistant":"Arcade-assistent","beta":"Beta","expressionapplied":"Udtryk anvendt på editor","askaquestion":"Angiv den beregning eller logik, du skal bruge i et Arcade-udtryk. (f.eks. returnér Ja, hvis værdi > 10)","enteraprompt":"Angiv en prompt","assistantresponse":"Assistent-svar","submitfeedback":"ø_Submit feedback to Esri________________________å","submit":"ø_Submit_____________å","addtoeditor":"Føj til editor","experiencehelpful":"Er du tilfreds med assistentens svar?","describeexperience":"Beskriv din oplevelse","besteffort":"Her er det bedste, assistenten kan gøre","ask":"Generér","disclaimercomment":"Udtryk, der er genereret af ArcGIS Arcade Assistant (beta)","feedback":"Feedback","erroroccurred":"Der opstod en fejl.","recentprompts":"Seneste prompter","generatingresponse":"Genererer svar...","introducing":"Vi præsenterer hermed Arcade Assistant (beta)","capabilities":"Assistenten bruger kunstig intelligens til at generere Arcade-udtryk.","aiassistants":"AI-assistenter","useofassistant":"ø_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________å:","enabledinorg":"ø_AI assistants are enabled in the organization settings____________________________å","enabledbetaapps":"ø_Beta apps and capabilities are not blocked______________________å","enabledroleprivilege":"ø_Your role privilege allows you to use AI assistants___________________________å","configureassistants":"Konfigurér assistenter","settings":"Indstillinger","new":"Ny","learnmore":"Få mere at vide","welcome":"Velkommen til den nye assistent-oplevelse","beforeyougetstarted":"Før du går i gang, så vær opmærksom på følgende:","maybeincorrect":"AI-genereret kode kan nogle gange være forkert eller indeholde bias. Gennemgå den nøje.","pleasereadhelp":"Læs Arcade Assistant (beta) {helpTopic} for at komme i gang og lære om detaljer om sikkerhed, datasikkerhed og begrænsninger.","proceed":"Fortsæt","exit":"Afslut","promptsuggestions":"Forslag til prompt","promptsuggestion":"Forslag til prompt","assistantresponses":"Assistent-svar","collapse":"Skjul","thumbsup":"Tommelfinger opad","thumbsdown":"Tommelfinger nedad","refine":"Forfin","startover":"Start forfra","helptopic":"hjælp-emne","agreement":"Jeg accepterer {EsriPrivacyStatement} (og {Supplement}).","esriprivacystatement":"Esris erklæring om databeskyttelse","supplement":"Tillæg","disclaimerpt2":"AI-genereret indhold er muligvis unøjagtigt. Gennemse den før brug.","replaceineditor":"Udskift al kode i editor","keepinmind":"Husk følgende:","beconsise":"Vær præcis, men også tydelig i din anmodning","avoidambiguity":"Undgå flertydighed og vage vendiger","documentation":"dokumentation","useexamples":"Brug eksempler for at tydeliggøre din anmodning","moredetails":"Du behøver ikke bruge de nøjagtige feltnavne i dine instruktioner, men flere detaljer er generelt bedre","seedocumentation":"Se {documentation} for at få flere oplysninger, herunder begrænsninger og yderligere ressourcer.","assistantinformation":"Assistent-oplysninger","profilecontextlabel":"Profilkontekst: {profileId}","layercontextlabel":"Lagkontekst: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"lag","numlayerssingular":"lag","responsecontext":"Svarkontekst","error":"Fejl","copytoclipboard":"Kopiér kode til udklipsholder","copyprompttoclipboard":"Kopiér prompt til udklipsholder","copiedsuccessfully":"Kopiering fuldført","helpful":"Nyttige","unhelpful":"Ikke nyttigt","prompsuggestion1":"Afrund værdi til én decimal","prompsuggestion2":"Rreturnér Ja, hvis værdi > 10","assistantcontext":"ø_Assistant context__________________å","context":"ø_Context_______________å","contextreduced":"ø_Context reduced________________å","contextreducedmessage":"ø_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________å.","contexttoobig":"ø_Context size exceeds the assistant's limit_______________________å.","opencontextmenu":"ø_Open context menu__________________å","opencontextmenutitle":"ø_Open context menu__________________å","contexttoobigtitle":"ø_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________å.","contextcalltoaction":"ø_Use the checkboxes in the context menu to reduce the size of the context______________________________________å.","contextitems":"ø_context items______________å","contextexplainer":"ø_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________å.","donotincludepersonalinfo":"ø_Do not include personal or sensitive information_________________________å","feedbackhelps":"ø_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________å.","interactiveblocks":"ø_Interactive blocks___________________å","legaldisclaimer":"ø_Legal disclaimer_________________å","cancel":"ø_Cancel_____________å"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Arcade Assistant","beta":"Beta","expressionapplied":"Auf Editor angewendeter Ausdruck","askaquestion":"Geben Sie die Berechnung oder Logik an, die Sie in einem Arcade-Ausdruck benötigen. (Beispiel: \"Ja\" zurückgeben, wenn Wert > 10)","enteraprompt":"Geben Sie einen Prompt ein.","assistantresponse":"Antwort des Assistenten","
|
|
1
|
+
{"arcadeassistant":"Arcade Assistant","beta":"Beta","expressionapplied":"Auf Editor angewendeter Ausdruck","askaquestion":"Geben Sie die Berechnung oder Logik an, die Sie in einem Arcade-Ausdruck benötigen. (Beispiel: \"Ja\" zurückgeben, wenn Wert > 10)","enteraprompt":"Geben Sie einen Prompt ein.","assistantresponse":"Antwort des Assistenten","submitfeedback":"ä_Submit feedback to Esri________________________Ü","submit":"ä_Submit_____________Ü","addtoeditor":"Dem Editor hinzufügen","experiencehelpful":"Sind Sie mit den Antworten des Assistenten zufrieden?","describeexperience":"Ihre Experience beschreiben","besteffort":"Hier ist der beste Vorschlag des Assistenten","ask":"Erstellen","disclaimercomment":"Von ArcGIS Arcade Assistant generierter Ausdruck (Beta)","feedback":"Feedback","erroroccurred":"Ein Fehler ist aufgetreten.","recentprompts":"Letzte Prompts","generatingresponse":"Antwort wird generiert...","introducing":"Einführung in Arcade Assistant (Beta)","capabilities":"Der Assistent nutzt künstliche Intelligenz, um Arcade-Ausdrücke zu generieren.","aiassistants":"KI-Assistenten","useofassistant":"ä_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________Ü:","enabledinorg":"ä_AI assistants are enabled in the organization settings____________________________Ü","enabledbetaapps":"ä_Beta apps and capabilities are not blocked______________________Ü","enabledroleprivilege":"ä_Your role privilege allows you to use AI assistants___________________________Ü","configureassistants":"Assistenten konfigurieren","settings":"Einstellungen","new":"Neu","learnmore":"Weitere Informationen","welcome":"Willkommen beim neuen Assistenten","beforeyougetstarted":"Bedenken Sie Folgendes, bevor Sie beginnen:","maybeincorrect":"Von KI generierter Code ist möglicherweise fehlerhaft. Überprüfen Sie ihn sorgfältig.","pleasereadhelp":"Lesen Sie zu Beginn das Thema {helpTopic} zu Arcade Assistant (Beta), und informieren Sie sich über Sicherheit, Datenschutz und bestehende Einschränkungen.","proceed":"Fortfahren","exit":"Beenden","promptsuggestions":"Prompt-Vorschläge","promptsuggestion":"Prompt-Vorschlag","assistantresponses":"Antworten des Assistenten","collapse":"Ausblenden","thumbsup":"Daumen hoch","thumbsdown":"Daumen runter","refine":"Optimieren","startover":"Erneut starten","helptopic":"Hilfethema","agreement":"Ich stimme den {EsriPrivacyStatement} (und {Supplement}) zu.","esriprivacystatement":"Esri Datenschutzbestimmungen","supplement":"Ergänzungen","disclaimerpt2":"KI-generierte Inhalte sind möglicherweise fehlerhaft. Überprüfen Sie sie vor der Verwendung.","replaceineditor":"Gesamten Code im Editor ersetzen","keepinmind":"Bedenken Sie Folgendes:","beconsise":"Formulieren Sie Ihre Anfragen klar und deutlich","avoidambiguity":"Vermeiden Sie Mehrdeutigkeit und eine vage Ausdrucksweise","documentation":"Dokumentation","useexamples":"Verwenden Sie Beispiele, um die Anfrage zu verdeutlichen","moredetails":"Sie müssen keine genauen Feldnamen in den Anweisungen verwenden, eine detailliertere Ausdrucksweise ist jedoch generell zu bevorzugen","seedocumentation":"Weitere Informationen finden Sie in der {documentation}, etwa zu bestehenden Einschränkungen und weiteren Ressourcen.","assistantinformation":"Informationen zu Assistant","profilecontextlabel":"Profilkontext: {profileId}","layercontextlabel":"Layer-Kontext: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"Layer","numlayerssingular":"Layer","responsecontext":"Antwortkontext","error":"Fehler","copytoclipboard":"Code in die Zwischenablage kopieren","copyprompttoclipboard":"Prompt in die Zwischenablage kopieren","copiedsuccessfully":"Erfolgreich kopiert","helpful":"Hilfreich","unhelpful":"Nicht hilfreich","prompsuggestion1":"Wert auf eine Dezimalstelle runden","prompsuggestion2":"\"Ja\" zurückgeben, wenn Wert >10","assistantcontext":"ä_Assistant context__________________Ü","context":"ä_Context_______________Ü","contextreduced":"ä_Context reduced________________Ü","contextreducedmessage":"ä_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________Ü.","contexttoobig":"ä_Context size exceeds the assistant's limit_______________________Ü.","opencontextmenu":"ä_Open context menu__________________Ü","opencontextmenutitle":"ä_Open context menu__________________Ü","contexttoobigtitle":"ä_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________Ü.","contextcalltoaction":"ä_Use the checkboxes in the context menu to reduce the size of the context______________________________________Ü.","contextitems":"ä_context items______________Ü","contextexplainer":"ä_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________Ü.","donotincludepersonalinfo":"ä_Do not include personal or sensitive information_________________________Ü","feedbackhelps":"ä_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________Ü.","interactiveblocks":"ä_Interactive blocks___________________Ü","legaldisclaimer":"ä_Legal disclaimer_________________Ü","cancel":"ä_Cancel_____________Ü"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Βοηθός Arcade","beta":"Beta","expressionapplied":"Η έκφραση εφαρμόστηκε στον editor","askaquestion":"Καθορίστε τον υπολογισμό ή τη λογική που χρειάζεστε σε μια έκφραση Arcade. (π.χ., Επιστροφή «Ναι» αν η τιμή > 10)","enteraprompt":"Εισάγετε μια προτροπή","assistantresponse":"Απάντηση βοηθού","
|
|
1
|
+
{"arcadeassistant":"Βοηθός Arcade","beta":"Beta","expressionapplied":"Η έκφραση εφαρμόστηκε στον editor","askaquestion":"Καθορίστε τον υπολογισμό ή τη λογική που χρειάζεστε σε μια έκφραση Arcade. (π.χ., Επιστροφή «Ναι» αν η τιμή > 10)","enteraprompt":"Εισάγετε μια προτροπή","assistantresponse":"Απάντηση βοηθού","submitfeedback":"π_Submit feedback to Esri________________________Ω","submit":"π_Submit_____________Ω","addtoeditor":"Προσθήκη στον editor","experiencehelpful":"Είστε ικανοποιημένοι με την απάντηση του βοηθού;","describeexperience":"Περιγράψτε την εμπειρία σας","besteffort":"Αυτή είναι η καλύτερη προσπάθεια του βοηθού","ask":"Δημιουργία","disclaimercomment":"Έκφραση που δημιουργήθηκε από τον βοηθό ArcGIS Arcade (beta)","feedback":"Σχόλια","erroroccurred":"Παρουσιάστηκε σφάλμα.","recentprompts":"Πρόσφατες προτροπές","generatingresponse":"Δημιουργία απάντησης...","introducing":"Παρουσίαση του βοηθού Arcade (beta)","capabilities":"Ο βοηθός χρησιμοποιεί τεχνητή νοημοσύνη για τη δημιουργία εκφράσεων Arcade.","aiassistants":"Βοηθοί AI","useofassistant":"π_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________Ω:","enabledinorg":"π_AI assistants are enabled in the organization settings____________________________Ω","enabledbetaapps":"π_Beta apps and capabilities are not blocked______________________Ω","enabledroleprivilege":"π_Your role privilege allows you to use AI assistants___________________________Ω","configureassistants":"Διαμόρφωση βοηθών","settings":"Ρυθμίσεις","new":"Νέο","learnmore":"Περισσότερες πληροφορίες","welcome":"Καλώς ορίσατε στη νέα εμπειρία βοηθού","beforeyougetstarted":"Πριν ξεκινήσετε, λάβετε υπόψη:","maybeincorrect":"Ο κώδικας που δημιουργείται από AI ενδέχεται κατά διαστήματα να είναι εσφαλμένος ή μεροληπτικός. Επανεξετάστε προσεκτικά.","pleasereadhelp":"Διαβάστε την τεκμηρίωση του βοηθού Arcade (beta) {helpTopic} για να ξεκινήσετε και να μάθετε λεπτομέρειες σχετικά με την ασφάλεια, το απόρρητο και τους περιορισμούς.","proceed":"Συνέχεια","exit":"Έξοδος","promptsuggestions":"Προτάσεις προτροπών","promptsuggestion":"Πρόταση προτροπής","assistantresponses":"Απαντήσεις βοηθού","collapse":"Σύμπτυξη","thumbsup":"Θετική αξιολόγηση","thumbsdown":"Αρνητική αξιολόγηση","refine":"Βελτίωση","startover":"Επανέναρξη","helptopic":"θέμα βοήθειας","agreement":"Συμφωνώ με τα {EsriPrivacyStatement} (και {Supplement}).","esriprivacystatement":"Δήλωση απορρήτου της Esri","supplement":"Συμπλήρωμα","disclaimerpt2":"Το περιεχόμενο που δημιουργείται με ΑΙ μπορεί να είναι ανακριβές. Επανεξετάστε πριν από τη χρήση.","replaceineditor":"Αντικατάσταση όλου του κώδικα στον επεξεργαστή","keepinmind":"Λάβετε υπόψη τα εξής:","beconsise":"Να είστε σύντομοι αλλά σαφείς στο αίτημά σας","avoidambiguity":"Αποφύγετε την ασάφεια και την αοριστία","documentation":"τεκμηρίωση","useexamples":"Χρησιμοποιήστε παραδείγματα για να διευκρινίσετε το αίτημά σας","moredetails":"Δεν χρειάζεται να χρησιμοποιείτε τα ακριβή ονόματα πεδίων στις οδηγίες σας, αλλά γενικά είναι προτιμότερο να παρέχετε περισσότερες λεπτομέρειες","seedocumentation":"Δείτε το {documentation} για περισσότερες πληροφορίες, συμπεριλαμβανομένων περιορισμών και πρόσθετων πόρων.","assistantinformation":"Πληροφορίες βοηθού","profilecontextlabel":"Πλαίσιο προφίλ: {profileId}","layercontextlabel":"Πλαίσιο θεματικού επιπέδου: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"θεματικά επίπεδα","numlayerssingular":"θεματικό επίπεδο","responsecontext":"Πλαίσιο απόκρισης","error":"Σφάλμα","copytoclipboard":"Αντιγραφή κώδικα στο Πρόχειρο","copyprompttoclipboard":"Αντιγραφή προτροπής στο Πρόχειρο","copiedsuccessfully":"Αντιγράφηκε με επιτυχία","helpful":"Χρήσιμο","unhelpful":"Μη χρήσιμο","prompsuggestion1":"Στρογγυλοποίηση τιμής σε ένα δεκαδικό ψηφίο","prompsuggestion2":"Επιστροφή «Ναι» αν η τιμή > 10","assistantcontext":"π_Assistant context__________________Ω","context":"π_Context_______________Ω","contextreduced":"π_Context reduced________________Ω","contextreducedmessage":"π_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________Ω.","contexttoobig":"π_Context size exceeds the assistant's limit_______________________Ω.","opencontextmenu":"π_Open context menu__________________Ω","opencontextmenutitle":"π_Open context menu__________________Ω","contexttoobigtitle":"π_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________Ω.","contextcalltoaction":"π_Use the checkboxes in the context menu to reduce the size of the context______________________________________Ω.","contextitems":"π_context items______________Ω","contextexplainer":"π_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________Ω.","donotincludepersonalinfo":"π_Do not include personal or sensitive information_________________________Ω","feedbackhelps":"π_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________Ω.","interactiveblocks":"π_Interactive blocks___________________Ω","legaldisclaimer":"π_Legal disclaimer_________________Ω","cancel":"π_Cancel_____________Ω"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Asistente de Arcade","beta":"Beta","expressionapplied":"Expresión aplicada al editor","askaquestion":"Especifique el cálculo o lógica que necesita en una expresión de Arcade. (p. ej.: Return Yes if value > 10)","enteraprompt":"Introduzca una instrucción","assistantresponse":"Respuesta del asistente","
|
|
1
|
+
{"arcadeassistant":"Asistente de Arcade","beta":"Beta","expressionapplied":"Expresión aplicada al editor","askaquestion":"Especifique el cálculo o lógica que necesita en una expresión de Arcade. (p. ej.: Return Yes if value > 10)","enteraprompt":"Introduzca una instrucción","assistantresponse":"Respuesta del asistente","submitfeedback":"á_Submit feedback to Esri________________________Ó","submit":"á_Submit_____________Ó","addtoeditor":"Agregar a editor","experiencehelpful":"¿Está satisfecho con la respuesta del asistente?","describeexperience":"Describir su experiencia","besteffort":"Este es el mayor esfuerzo del asistente","ask":"Generar","disclaimercomment":"Expresión generada por el asistente de ArcGIS Arcade (beta)","feedback":"Comentarios","erroroccurred":"Se produjo un error.","recentprompts":"Solicitudes recientes","generatingresponse":"Generando respuesta...","introducing":"Presentación del asistente de Arcade (beta)","capabilities":"El asistente utiliza inteligencia artificial para generar expresiones de Arcade.","aiassistants":"Asistentes de IA","useofassistant":"á_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________Ó:","enabledinorg":"á_AI assistants are enabled in the organization settings____________________________Ó","enabledbetaapps":"á_Beta apps and capabilities are not blocked______________________Ó","enabledroleprivilege":"á_Your role privilege allows you to use AI assistants___________________________Ó","configureassistants":"Configurar asistentes","settings":"Configuración","new":"Nuevo","learnmore":"Más información","welcome":"Le damos la bienvenida a la nueva experiencia con los asistentes","beforeyougetstarted":"Antes de empezar, tenga en cuenta lo siguiente:","maybeincorrect":"En ocasiones, el código generado por IA puede ser incorrecto o estar sesgado. Revíselo detenidamente.","pleasereadhelp":"Lea el {helpTopic} del asistente de Arcade (beta) para empezar a familiarizarse con él y conocer detalles sobre seguridad, privacidad y limitaciones.","proceed":"Continuar","exit":"Salir","promptsuggestions":"Sugerencias de consultas","promptsuggestion":"Sugerencia de consulta","assistantresponses":"Respuestas del asistente","collapse":"Contraer","thumbsup":"Pulgar arriba","thumbsdown":"Pulgar abajo","refine":"Perfeccionar","startover":"Volver a empezar","helptopic":"tema de ayuda","agreement":"Acepto la {EsriPrivacyStatement} (y el {Supplement}).","esriprivacystatement":"Declaración de privacidad de Esri","supplement":"Suplemento","disclaimerpt2":"El contenido generado por IA puede ser inexacto. Revíselo antes de usarlo.","replaceineditor":"Reemplazar todo el código en el editor","keepinmind":"Tenga en cuenta lo siguiente:","beconsise":"Sea conciso, a la vez que claro, en su solicitud.","avoidambiguity":"Evite la ambigüedad y el lenguaje vago.","documentation":"documentación","useexamples":"Utilice ejemplos para aclarar su solicitud.","moredetails":"No es necesario que utilice nombres de campo exactos en sus instrucciones, pero generalmente es mejor incluir detalles.","seedocumentation":"Consulte la {documentation} para obtener más información, incluidas limitaciones y recursos adicionales.","assistantinformation":"Información del asistente","profilecontextlabel":"Contexto del perfil: {profileId}","layercontextlabel":"Contexto de la capa: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"capas","numlayerssingular":"capa","responsecontext":"Contexto de la respuesta","error":"Error","copytoclipboard":"Copiar código al portapapeles","copyprompttoclipboard":"Copiar consulta al portapapeles","copiedsuccessfully":"Copiado correctamente","helpful":"Útil","unhelpful":"No útil","prompsuggestion1":"Redondear el valor a un decimal","prompsuggestion2":"Return Yes if value > 10","assistantcontext":"á_Assistant context__________________Ó","context":"á_Context_______________Ó","contextreduced":"á_Context reduced________________Ó","contextreducedmessage":"á_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________Ó.","contexttoobig":"á_Context size exceeds the assistant's limit_______________________Ó.","opencontextmenu":"á_Open context menu__________________Ó","opencontextmenutitle":"á_Open context menu__________________Ó","contexttoobigtitle":"á_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________Ó.","contextcalltoaction":"á_Use the checkboxes in the context menu to reduce the size of the context______________________________________Ó.","contextitems":"á_context items______________Ó","contextexplainer":"á_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________Ó.","donotincludepersonalinfo":"á_Do not include personal or sensitive information_________________________Ó","feedbackhelps":"á_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________Ó.","interactiveblocks":"á_Interactive blocks___________________Ó","legaldisclaimer":"á_Legal disclaimer_________________Ó","cancel":"á_Cancel_____________Ó"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"arcadeassistant":"Arcade'i assistent","beta":"Beeta","expressionapplied":"Avaldist rakendatakse Editorile","askaquestion":"Määrake Arcade'i avaldises vajalik arvutus või loogika. (nt Tagasta Jah, kui väärtus on > 10)","enteraprompt":"Lisage päring","assistantresponse":"Assistendi vastus","
|
|
1
|
+
{"arcadeassistant":"Arcade'i assistent","beta":"Beeta","expressionapplied":"Avaldist rakendatakse Editorile","askaquestion":"Määrake Arcade'i avaldises vajalik arvutus või loogika. (nt Tagasta Jah, kui väärtus on > 10)","enteraprompt":"Lisage päring","assistantresponse":"Assistendi vastus","submitfeedback":"Š_Submit feedback to Esri________________________ä","submit":"Š_Submit_____________ä","addtoeditor":"Lisa Editorisse","experiencehelpful":"Kas olete assistendi vastusega rahul?","describeexperience":"Kirjeldage oma kogemust","besteffort":"Siin on assistendi parim vastus","ask":"Genereeri","disclaimercomment":"ArcGIS Arcade'i assistendi (beetaversioon) loodud avaldis","feedback":"Tagasiside","erroroccurred":"Ilmnes tõrge.","recentprompts":"Hiljutised päringud","generatingresponse":"Vastuse genereerimine...","introducing":"Arcade'i assistendi (beetaversioon) tutvustus","capabilities":"Assistent kasutab Arcade'i avaldiste genereerimiseks tehisintellekti.","aiassistants":"AI-assistendid","useofassistant":"Š_The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true______________________________________________________________________ä:","enabledinorg":"Š_AI assistants are enabled in the organization settings____________________________ä","enabledbetaapps":"Š_Beta apps and capabilities are not blocked______________________ä","enabledroleprivilege":"Š_Your role privilege allows you to use AI assistants___________________________ä","configureassistants":"Konfigureeri assistendid","settings":"Seaded","new":"Uus","learnmore":"Lisainfo","welcome":"Tere tulemast kasutama uut assistenti!","beforeyougetstarted":"Teadmiseks enne alustamist:","maybeincorrect":"AI loodud kood võib mõnikord olla vale või kallutatud. Kontrollige hoolikalt","pleasereadhelp":"Alustamiseks ja turvalisuse, privaatsuse ning piirangute kohta lisateabe saamiseks lugege Arcade Assistant (beeta) abi {helpTopic}.","proceed":"Jätka","exit":"Välju","promptsuggestions":"Esita soovitusi","promptsuggestion":"Esita soovitus","assistantresponses":"Assistendi vastused","collapse":"Ahenda","thumbsup":"Püstine pöial","thumbsdown":"Langetatud pöial","refine":"Täpsusta","startover":"Alusta uuesti","helptopic":"spikriteema","agreement":"Nõustun järgmisega: {EsriPrivacyStatement} (ja {Supplement}).","esriprivacystatement":"Esri privaatsusavaldus","supplement":"Lisa","disclaimerpt2":"AI genereeritud sisu võib olla ebatäpne. Enne kasutamist vaadake üle.","replaceineditor":"Asenda kõik koodid redaktoris","keepinmind":"Pidage meeles järgmist:","beconsise":"Olfe oma taotluses lühike, aga samas selge","avoidambiguity":"Vältige mitmetimõistetavust ja ebamäärasust","documentation":"dokumentatsioon","useexamples":"Kasutage oma taotluse selgitamiseks näiteid","moredetails":"Te ei pea juhistes kasutama täpseid väljanimesid, aga mida detailsem, seda parem.","seedocumentation":"Lisateabe saamiseks, sh piirangute ja lisaressursside kohta, vt {documentation}.","assistantinformation":"Assistendi teave","profilecontextlabel":"Profiili kontekst: {profileId}","layercontextlabel":"Kihi kontekst: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"kihid","numlayerssingular":"kiht","responsecontext":"Vastuse kontekst","error":"Tõrge","copytoclipboard":"Kopeeri kood lõikelauale","copyprompttoclipboard":"Kopeeri viip lõikelauale","copiedsuccessfully":"Kopeerimine õnnestus","helpful":"Oli kasulik","unhelpful":"Kasutu","prompsuggestion1":"Ümarda väärtus kümnendkohani","prompsuggestion2":"Tagasta Jah, kui väärtus on > 10)","assistantcontext":"Š_Assistant context__________________ä","context":"Š_Context_______________ä","contextreduced":"Š_Context reduced________________ä","contextreducedmessage":"Š_Some profile variable values are too large to send to the assistant. They have been reduced to ensure a successful request_______________________________________________________________ä.","contexttoobig":"Š_Context size exceeds the assistant's limit_______________________ä.","opencontextmenu":"Š_Open context menu__________________ä","opencontextmenutitle":"Š_Open context menu__________________ä","contexttoobigtitle":"Š_Context size exceeds the assistant's limit. Use the checkboxes to reduce the size of the context__________________________________________________ä.","contextcalltoaction":"Š_Use the checkboxes in the context menu to reduce the size of the context______________________________________ä.","contextitems":"Š_context items______________ä","contextexplainer":"Š_Context item counts are calculated from the relative size the variable will add to the assistant's context payload___________________________________________________________ä.","donotincludepersonalinfo":"Š_Do not include personal or sensitive information_________________________ä","feedbackhelps":"Š_Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used______________________________________________________ä.","interactiveblocks":"Š_Interactive blocks___________________ä","legaldisclaimer":"Š_Legal disclaimer_________________ä","cancel":"Š_Cancel_____________ä"}
|