@arcgis/coding-components 5.0.0-next.77 → 5.0.0-next.79

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.
Files changed (88) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{XBAQR4RX.js → 2BCO6SG5.js} +1 -1
  3. package/dist/cdn/3477DX4G.js +4 -0
  4. package/dist/cdn/{ZJQO4X4Q.js → 3ATGZYPK.js} +2 -2
  5. package/dist/cdn/{F4Y5OCLJ.js → 3WYDB6WK.js} +2 -2
  6. package/dist/cdn/{XKU2UF3G.js → 4E6AI3M3.js} +2 -2
  7. package/dist/cdn/{HBE2SRY7.js → 4ZBPHVXD.js} +2 -2
  8. package/dist/cdn/{NIF66Q56.js → 5233CPHM.js} +3 -3
  9. package/dist/cdn/{OS3JLEEL.js → 56FKMMXL.js} +1 -1
  10. package/dist/cdn/{4D7CTYPQ.js → 5TRYLEX6.js} +2 -2
  11. package/dist/cdn/{G3IFQ6J5.js → 624Z75GK.js} +2 -2
  12. package/dist/cdn/{NNVNH2X7.js → 62EDUAWV.js} +1 -1
  13. package/dist/cdn/{X7X44FVH.js → 62KDE4FX.js} +2 -2
  14. package/dist/cdn/{QFSZYGEF.js → 6Z7FJFAP.js} +2 -2
  15. package/dist/cdn/{GJ5WS6S4.js → A3SXALTG.js} +2 -2
  16. package/dist/cdn/{P57C7CGK.js → ATHG4HDW.js} +2 -2
  17. package/dist/cdn/{O3CKVQLF.js → B6QSXEEJ.js} +2 -2
  18. package/dist/cdn/{222HSHNA.js → BZ7S2JIN.js} +2 -2
  19. package/dist/cdn/{RMMLQDOM.js → CA67TDRM.js} +2 -2
  20. package/dist/cdn/{HIP2GPRJ.js → CF3PEDQC.js} +2 -2
  21. package/dist/cdn/{YRWQXBAW.js → CKDTAOOH.js} +2 -2
  22. package/dist/cdn/{JVNVR2K3.js → CY3ARDC3.js} +3 -3
  23. package/dist/cdn/{5SQWI343.js → F23FPJK7.js} +2 -2
  24. package/dist/cdn/{MJPIRGST.js → G2FUIEOL.js} +2 -2
  25. package/dist/cdn/{FOJISQSB.js → GL6UZR7S.js} +2 -2
  26. package/dist/cdn/{SK4E2BBN.js → HCGO4CID.js} +2 -2
  27. package/dist/cdn/{ZQF7C5NG.js → HNHLWF6C.js} +2 -2
  28. package/dist/cdn/{WETHULC7.js → I37MPCOZ.js} +2 -2
  29. package/dist/cdn/{AXE4R6O3.js → JC5ASDOX.js} +2 -2
  30. package/dist/cdn/{PXCKGEQ3.js → JCTM4ZMN.js} +2 -2
  31. package/dist/cdn/{7FTGBEUZ.js → LX36SKEI.js} +2 -2
  32. package/dist/cdn/{WBN6DWT4.js → MS6DTZFO.js} +2 -2
  33. package/dist/cdn/{LG7G5KKG.js → NYS5HWK3.js} +2 -2
  34. package/dist/cdn/{EH5ZSBB5.js → PFV5PJCJ.js} +1 -1
  35. package/dist/cdn/{5EEQEMML.js → QANQKGY7.js} +2 -2
  36. package/dist/cdn/{64MRJU7Y.js → QT3YCSX4.js} +2 -2
  37. package/dist/cdn/{XZH2MLB2.js → RYY4FPRC.js} +2 -2
  38. package/dist/cdn/{NJHVKDMX.js → SIHZ7STO.js} +1 -1
  39. package/dist/cdn/{C6NFHNXE.js → T3UFYAPZ.js} +1 -1
  40. package/dist/cdn/{ZUII2VBD.js → TK6Z7WN3.js} +2 -2
  41. package/dist/cdn/{X56E367I.js → TOPE5YDS.js} +2 -2
  42. package/dist/cdn/{V347WVJY.js → U4GP7ZFP.js} +1 -1
  43. package/dist/cdn/{QL4Z6K5M.js → UE6WH52J.js} +1 -1
  44. package/dist/cdn/{GZ23VCFF.js → VXOM6RAS.js} +2 -2
  45. package/dist/cdn/VZVRK7RU.js +4 -0
  46. package/dist/cdn/{BHRZHJIW.js → XOQAJOTJ.js} +2 -2
  47. package/dist/cdn/{W2J5GXI5.js → XWGDWNHQ.js} +2 -2
  48. package/dist/cdn/{24YXYHS4.js → YISBCFSW.js} +2 -2
  49. package/dist/cdn/{SHZIUE3R.js → ZPVNHFPP.js} +2 -2
  50. package/dist/cdn/index.js +2 -2
  51. package/dist/chunks/arcade-contribution.js +1 -1
  52. package/dist/chunks/arcade-defaults.js +1 -1
  53. package/dist/chunks/arcade-executor.js +21 -18
  54. package/dist/chunks/arcade-mode.js +1 -1
  55. package/dist/chunks/arcade-service-accessors.js +1 -1
  56. package/dist/chunks/colorize.js +1 -1
  57. package/dist/chunks/editor.js +1 -1
  58. package/dist/chunks/fields.js +1 -1
  59. package/dist/chunks/language-defaults-base.js +1 -1
  60. package/dist/chunks/markdown.js +1 -1
  61. package/dist/chunks/monaco-importer.js +1 -1
  62. package/dist/chunks/monaco-theme.js +1 -1
  63. package/dist/chunks/runtime.js +1 -1
  64. package/dist/chunks/sql-expr-defaults.js +1 -1
  65. package/dist/chunks/sql-expr-mode.js +1 -1
  66. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  67. package/dist/chunks/useT9n.js +1 -1
  68. package/dist/chunks/utilities.js +1 -1
  69. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  70. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-results/customElement.js +3 -2
  72. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  75. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  76. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  77. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  78. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  79. package/dist/docs/api.json +15 -9
  80. package/dist/docs/docs.json +9 -4
  81. package/dist/docs/web-types.json +1 -1
  82. package/dist/index.js +1 -1
  83. package/dist/loader.js +1 -1
  84. package/dist/monacoStyles.js +1 -1
  85. package/dist/utils/arcade-executor.d.ts +6 -2
  86. package/package.json +5 -5
  87. package/dist/cdn/BHDJW32U.js +0 -4
  88. package/dist/cdn/DWWGN273.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
4
- import{a as f}from"./PXCKGEQ3.js";import{a as _}from"./QFSZYGEF.js";import"./WETHULC7.js";import e from"./O3CKVQLF.js";import"./X56E367I.js";import b from"./4D7CTYPQ.js";import a from"./24YXYHS4.js";import"./EH5ZSBB5.js";import"./NJHVKDMX.js";import"./64MRJU7Y.js";import"./NIF66Q56.js";import"./OS3JLEEL.js";import"./SK4E2BBN.js";import"./C6NFHNXE.js";import{E as l,F as p,G as h,H as o,K as g,h as n,j as t,n as s,s as c,u as d}from"./RMMLQDOM.js";import"./NNVNH2X7.js";import"./WBN6DWT4.js";import"./QL4Z6K5M.js";export default $arcgis.t(([,a,{b:u}])=>{var m=n`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%}}`,r=class extends h{constructor(){super(...arguments),this._codeEditorElt=l(),this._disposables=[],this.messages=_(),this._modelId=c(),this._preparing=!1,this.sideActionBarExpanded=!1,this.script="",this.hideSideBar=!1,this.arcgisDiagnosticsChange=s({bubbles:!1}),this.arcgisScriptChange=s({bubbles:!1})}static{this.properties={_activeAction:16,_apiLibrary:16,_editorProfile:16,_preparing:16,sideActionBarExpanded:16,profile:0,script:1,hideSideBar:5}}static{this.shadowRootOptions=d}static{this.styles=[m,f]}async setFocus(){await this._codeEditorElt.value?.setFocus()}async load(){await this._updateEditorProfile().catch(console.error)}willUpdate(i){(i.has("messages")||i.has("profile"))&&this._updateDataModelDeps()}async loaded(){let i=await u();this._disposables.push(i.onDiagnosticsChange(e=>!this._preparing&&this.arcgisDiagnosticsChange.emit(e.diagnostics)))}disconnectedCallback(){for(super.disconnectedCallback();this._disposables.length;)this._disposables.pop()?.dispose()}async _updateDataModelDeps(){await this._updateEditorProfile(),await this._updateApiLibrary()}async _updateEditorProfile(){this._preparing=!0;try{await a.setProfileForModel(this._modelId,this.profile,{locale:this.messages._t9nLocale}),this._editorProfile=a.getEditorProfileForModel(this._modelId)}catch{this._editorProfile=void 0}finally{this._preparing=!1}}_setActiveAction(i){if(this._activeAction===i){this._activeAction=void 0;return}this._activeAction=i}_handleActionClick(i){let e=i.target;this._setActiveAction(e.dataset.panelName)}_insertAsSnippet(i){this._codeEditorElt.value?.insertSnippet(i.detail).catch(console.error)}_insertAsText(i){this._codeEditorElt.value?.insertText(i.detail.replaceAll('"',"'")).catch(console.error)}async _updateApiLibrary(){this._apiLibrary=await a.getApiLibraryForModel(this._modelId)}_onCodeEditorValueChange(i){i.stopPropagation(),this.script=i.detail,this.arcgisScriptChange.emit(i.detail)}_getFeatureSetVariable(){let i,e=a.getEditorProfileForModel(this._modelId);return e?.variables?.length&&e?.variables?.[0]?.type!=="featureSet"?console.error("encountered unexpected editor profile"):i=e?.variables?.[0],i}_toggleSideActionBarExpanded(){this.sideActionBarExpanded=!this.sideActionBarExpanded}render(){let i=this._getFeatureSetVariable();return t`<div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><arcgis-code-editor language=arcgis-sql-expression .modelId=${this._modelId} .value=${this.script??""} @arcgisValueChange=${this._onCodeEditorValueChange} ${p(this._codeEditorElt)}></arcgis-code-editor></div>${!this.hideSideBar&&t`<arcgis-editor-variables .variable=${i} .closed=${this._activeAction!=="fields"} class=${o(this._activeAction==="fields"&&"code-editor-side-panel flex-panel border-inline-start")} .loading=${this._preparing} .modelId=${this._modelId} @arcgisItemSelected=${this._insertAsText} @arcgisClose=${()=>this._setActiveAction(void 0)} data-panel-name=none></arcgis-editor-variables>`||""}${!this.hideSideBar&&t`<arcgis-language-api-panel class=${o(this._activeAction==="functions"&&"code-editor-side-panel flex-panel border-inline-start")} .closed=${this._activeAction!=="functions"} @arcgisItemSelected=${this._insertAsSnippet} @arcgisClose=${()=>this._setActiveAction(void 0)} .loading=${this._preparing} .apiLibrary=${this._apiLibrary} data-panel-name=none hide-documentation-actions .languageId=${a.languageId}></arcgis-language-api-panel>`||""}${!this.hideSideBar&&t`<calcite-action-bar class="side-action-bar border-inline-start" .expanded=${this.sideActionBarExpanded} position=end @calciteActionBarToggle=${this._toggleSideActionBarExpanded}><calcite-action id=fields-action .text=${this.messages.fields??"Fields"} icon=profile-variables .active=${this._activeAction==="fields"} data-panel-name=fields @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&t`<calcite-tooltip reference-element=fields-action><span>${this.messages.fields??"Fields"}</span></calcite-tooltip>`||""}<calcite-action id=functions-action .text=${this.messages.functions??"Functions"} icon=function .active=${this._activeAction==="functions"} data-panel-name=functions @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&t`<calcite-tooltip reference-element=functions-action><span>${this.messages.functions??"Functions"}</span></calcite-tooltip>`||""}</calcite-action-bar>`||""}</div>`}};g("arcgis-sql-expression-editor",r);return r},a,b,e)
3
+ v5.0.0-next.79 */
4
+ import{a as f}from"./JCTM4ZMN.js";import{a as _}from"./6Z7FJFAP.js";import"./I37MPCOZ.js";import e from"./B6QSXEEJ.js";import"./TOPE5YDS.js";import b from"./5TRYLEX6.js";import a from"./YISBCFSW.js";import"./PFV5PJCJ.js";import"./SIHZ7STO.js";import"./QT3YCSX4.js";import"./5233CPHM.js";import"./56FKMMXL.js";import"./HCGO4CID.js";import"./T3UFYAPZ.js";import{E as l,F as p,G as h,H as o,K as g,h as n,j as t,n as s,s as c,u as d}from"./CA67TDRM.js";import"./62EDUAWV.js";import"./MS6DTZFO.js";import"./UE6WH52J.js";export default $arcgis.t(([,a,{b:u}])=>{var m=n`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%}}`,r=class extends h{constructor(){super(...arguments),this._codeEditorElt=l(),this._disposables=[],this.messages=_(),this._modelId=c(),this._preparing=!1,this.sideActionBarExpanded=!1,this.script="",this.hideSideBar=!1,this.arcgisDiagnosticsChange=s({bubbles:!1}),this.arcgisScriptChange=s({bubbles:!1})}static{this.properties={_activeAction:16,_apiLibrary:16,_editorProfile:16,_preparing:16,sideActionBarExpanded:16,profile:0,script:1,hideSideBar:5}}static{this.shadowRootOptions=d}static{this.styles=[m,f]}async setFocus(){await this._codeEditorElt.value?.setFocus()}async load(){await this._updateEditorProfile().catch(console.error)}willUpdate(i){(i.has("messages")||i.has("profile"))&&this._updateDataModelDeps()}async loaded(){let i=await u();this._disposables.push(i.onDiagnosticsChange(e=>!this._preparing&&this.arcgisDiagnosticsChange.emit(e.diagnostics)))}disconnectedCallback(){for(super.disconnectedCallback();this._disposables.length;)this._disposables.pop()?.dispose()}async _updateDataModelDeps(){await this._updateEditorProfile(),await this._updateApiLibrary()}async _updateEditorProfile(){this._preparing=!0;try{await a.setProfileForModel(this._modelId,this.profile,{locale:this.messages._t9nLocale}),this._editorProfile=a.getEditorProfileForModel(this._modelId)}catch{this._editorProfile=void 0}finally{this._preparing=!1}}_setActiveAction(i){if(this._activeAction===i){this._activeAction=void 0;return}this._activeAction=i}_handleActionClick(i){let e=i.target;this._setActiveAction(e.dataset.panelName)}_insertAsSnippet(i){this._codeEditorElt.value?.insertSnippet(i.detail).catch(console.error)}_insertAsText(i){this._codeEditorElt.value?.insertText(i.detail.replaceAll('"',"'")).catch(console.error)}async _updateApiLibrary(){this._apiLibrary=await a.getApiLibraryForModel(this._modelId)}_onCodeEditorValueChange(i){i.stopPropagation(),this.script=i.detail,this.arcgisScriptChange.emit(i.detail)}_getFeatureSetVariable(){let i,e=a.getEditorProfileForModel(this._modelId);return e?.variables?.length&&e?.variables?.[0]?.type!=="featureSet"?console.error("encountered unexpected editor profile"):i=e?.variables?.[0],i}_toggleSideActionBarExpanded(){this.sideActionBarExpanded=!this.sideActionBarExpanded}render(){let i=this._getFeatureSetVariable();return t`<div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><arcgis-code-editor language=arcgis-sql-expression .modelId=${this._modelId} .value=${this.script??""} @arcgisValueChange=${this._onCodeEditorValueChange} ${p(this._codeEditorElt)}></arcgis-code-editor></div>${!this.hideSideBar&&t`<arcgis-editor-variables .variable=${i} .closed=${this._activeAction!=="fields"} class=${o(this._activeAction==="fields"&&"code-editor-side-panel flex-panel border-inline-start")} .loading=${this._preparing} .modelId=${this._modelId} @arcgisItemSelected=${this._insertAsText} @arcgisClose=${()=>this._setActiveAction(void 0)} data-panel-name=none></arcgis-editor-variables>`||""}${!this.hideSideBar&&t`<arcgis-language-api-panel class=${o(this._activeAction==="functions"&&"code-editor-side-panel flex-panel border-inline-start")} .closed=${this._activeAction!=="functions"} @arcgisItemSelected=${this._insertAsSnippet} @arcgisClose=${()=>this._setActiveAction(void 0)} .loading=${this._preparing} .apiLibrary=${this._apiLibrary} data-panel-name=none hide-documentation-actions .languageId=${a.languageId}></arcgis-language-api-panel>`||""}${!this.hideSideBar&&t`<calcite-action-bar class="side-action-bar border-inline-start" .expanded=${this.sideActionBarExpanded} position=end @calciteActionBarToggle=${this._toggleSideActionBarExpanded}><calcite-action id=fields-action .text=${this.messages.fields??"Fields"} icon=profile-variables .active=${this._activeAction==="fields"} data-panel-name=fields @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&t`<calcite-tooltip reference-element=fields-action><span>${this.messages.fields??"Fields"}</span></calcite-tooltip>`||""}<calcite-action id=functions-action .text=${this.messages.functions??"Functions"} icon=function .active=${this._activeAction==="functions"} data-panel-name=functions @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded&&t`<calcite-tooltip reference-element=functions-action><span>${this.messages.functions??"Functions"}</span></calcite-tooltip>`||""}</calcite-action-bar>`||""}</div>`}};g("arcgis-sql-expression-editor",r);return r},a,b,e)
package/dist/cdn/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
4
- import{J as s,v as e}from"./RMMLQDOM.js";import"./NNVNH2X7.js";import"./QL4Z6K5M.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./W2J5GXI5.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./5SQWI343.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./JVNVR2K3.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./YRWQXBAW.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./HIP2GPRJ.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./AXE4R6O3.js"),"language,round"],"arcgis-editor-variables":[()=>import("./ZQF7C5NG.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./MJPIRGST.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./SHZIUE3R.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./LG7G5KKG.js"),"loading,modelId"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
3
+ v5.0.0-next.79 */
4
+ import{J as s,v as e}from"./CA67TDRM.js";import"./62EDUAWV.js";import"./UE6WH52J.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./XWGDWNHQ.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./F23FPJK7.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./CY3ARDC3.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./CKDTAOOH.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./CF3PEDQC.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./JC5ASDOX.js"),"language,round"],"arcgis-editor-variables":[()=>import("./HNHLWF6C.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./G2FUIEOL.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./ZPVNHFPP.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./NYS5HWK3.js"),"loading,modelId"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
7
7
  * Released under the MIT license
@@ -11,7 +11,7 @@ import { b as n } from "./arcade-defaults.js";
11
11
  import { g as h } from "./arcade-service-accessors.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
14
- v5.0.0-next.77 */
14
+ v5.0.0-next.79 */
15
15
  const k = ["arcade", "arcgis-sql-expression"], i = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
16
16
  function c(e) {
17
17
  let r = g.get(e);
@@ -5,7 +5,7 @@ import { CompletionItemKind as w, InsertTextFormat as u, InsertTextMode as p } f
5
5
  import { getDeclaredPixelMembers as I } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.77 */
8
+ v5.0.0-next.79 */
9
9
  async function C(e) {
10
10
  const { apiVersion: r, bundles: t, hiddenApiItems: i } = e.toEditorProfileDefinition(), n = await h(e.dictionaryVariables);
11
11
  return { apiVersion: r, bundles: t, variables: n, hiddenApiItems: i?.map((s) => s.toLowerCase()) };
@@ -1,12 +1,12 @@
1
1
  import { createArcadeExecutor as C } from "@arcgis/core/arcade.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.77 */
5
- const G = "https://developers.arcgis.com/arcade/", O = 100, A = 100;
6
- function u(t) {
4
+ v5.0.0-next.79 */
5
+ const O = "https://developers.arcgis.com/arcade/", P = 100, A = 100;
6
+ function g(t) {
7
7
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.featureset.support.FeatureSet";
8
8
  }
9
- function g(t) {
9
+ function u(t) {
10
10
  return !!t && typeof t == "object" && "arcadeDeclaredClass" in t && typeof t.arcadeDeclaredClass == "string" && t.arcadeDeclaredClass === "esri.arcade.Feature";
11
11
  }
12
12
  function b(t) {
@@ -18,26 +18,29 @@ function R(t) {
18
18
  function w(t) {
19
19
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.rest.knowledgeGraph.KnowledgeGraph");
20
20
  }
21
- function h(t) {
21
+ function D(t) {
22
22
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass === "esri.arcade.Portal";
23
23
  }
24
- function D(t) {
24
+ function h(t) {
25
25
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass === "esri.arcade.Attachment";
26
26
  }
27
- function S(t) {
27
+ function x(t) {
28
28
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.arcadedate";
29
29
  }
30
- function x(t) {
30
+ function S(t) {
31
31
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.core.sql.dateonly";
32
32
  }
33
33
  function F(t) {
34
34
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.core.sql.timeonly";
35
35
  }
36
36
  function T(t) {
37
- return !!t && typeof t == "object" && "length" in t && typeof t.length == "function" && "get" in t && typeof t.get == "function" && "toArray" in t && typeof t.toArray == "function" && "_elements" in t && Array.isArray(t._elements);
37
+ return !!t && typeof t == "object" && "arcadeDeclaredClass" in t && typeof t.arcadeDeclaredClass == "string" && t.arcadeDeclaredClass === "esri.arcade.Pixel";
38
38
  }
39
39
  function j(t) {
40
- return t == null ? { type: "null" } : Array.isArray(t) ? { type: "array", value: t } : T(t) ? { type: "array", value: t.toArray() } : t instanceof Date ? { type: "date", value: t } : typeof t == "string" ? { type: "text", value: t } : typeof t == "number" ? { type: "number", value: t } : typeof t == "boolean" ? { type: "boolean", value: t } : typeof t != "object" ? { type: "unknown" } : S(t) ? { type: "date", value: t } : x(t) ? { type: "dateOnly", value: t } : F(t) ? { type: "time", value: t } : D(t) ? { type: "attachment", value: t } : h(t) ? { type: "portal", value: t } : u(t) ? { type: "featureSet", value: t, features: [], iterator: null } : g(t) ? { type: "feature", value: t } : b(t) ? { type: "dictionary", value: t } : R(t) ? { type: "geometry", value: t } : w(t) ? { type: "knowledgeGraph", value: t } : { type: "unknown" };
40
+ return !!t && typeof t == "object" && "length" in t && typeof t.length == "function" && "get" in t && typeof t.get == "function" && "toArray" in t && typeof t.toArray == "function" && "_elements" in t && Array.isArray(t._elements);
41
+ }
42
+ function Z(t) {
43
+ return t == null ? { type: "null" } : Array.isArray(t) ? { type: "array", value: t } : j(t) ? { type: "array", value: t.toArray() } : t instanceof Date ? { type: "date", value: t } : typeof t == "string" ? { type: "text", value: t } : typeof t == "number" ? { type: "number", value: t } : typeof t == "boolean" ? { type: "boolean", value: t } : typeof t != "object" ? { type: "unknown" } : x(t) ? { type: "date", value: t } : S(t) ? { type: "dateOnly", value: t } : F(t) ? { type: "time", value: t } : h(t) ? { type: "attachment", value: t } : D(t) ? { type: "portal", value: t } : g(t) ? { type: "featureSet", value: t, features: [], iterator: null } : u(t) ? { type: "feature", value: t } : T(t) ? { type: "pixel", value: t } : b(t) ? { type: "dictionary", value: t } : R(t) ? { type: "geometry", value: t } : w(t) ? { type: "knowledgeGraph", value: t } : { type: "unknown" };
41
44
  }
42
45
  function I(t, r = "en") {
43
46
  return t.value instanceof Date ? new Intl.DateTimeFormat(r, { dateStyle: "medium", timeStyle: "long" }).format(t.value) : t.value.toDateTime().setLocale(r).toFormat(t.value.isUnknownTimeZone ? "FF" : "FF ZZZZZ");
@@ -48,11 +51,11 @@ function B(t) {
48
51
  function E(t) {
49
52
  return t.value.toString();
50
53
  }
51
- async function Z(t, r = "system") {
52
- const e = j(t);
54
+ async function k(t, r = "system") {
55
+ const e = Z(t);
53
56
  return e.type !== "featureSet" || (await e.value.load(), e.iterator = e.value.iterator({ aborted: !1 }), e.features = await e.iterator.nextBatchAsArcadeFeatures(A, r) ?? []), e;
54
57
  }
55
- async function P(t, r, e, i) {
58
+ async function W(t, r, e, i) {
56
59
  const a = /* @__PURE__ */ new Date();
57
60
  i ??= () => {
58
61
  };
@@ -68,7 +71,7 @@ async function P(t, r, e, i) {
68
71
  }, l = await o.executeAsync(
69
72
  f,
70
73
  m
71
- ), s = await Z(l, d);
74
+ ), s = await k(l, d);
72
75
  return s.timeStamp = a, s.compilationTime = c - n, s.executionTime = performance.now() - c, s;
73
76
  } catch (n) {
74
77
  let o = "Unknown Error";
@@ -84,11 +87,11 @@ async function P(t, r, e, i) {
84
87
  }
85
88
  export {
86
89
  A as B,
87
- G as D,
88
- O as M,
90
+ O as D,
91
+ P as M,
89
92
  B as a,
90
93
  I as b,
91
- P as e,
94
+ W as e,
92
95
  E as f,
93
- j as v
96
+ Z as v
94
97
  };
@@ -10,7 +10,7 @@ import { debounce as F } from "@arcgis/toolkit/function";
10
10
  import { Deferred as _ } from "@arcgis/toolkit/promise";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.77 */
13
+ v5.0.0-next.79 */
14
14
  const S = [
15
15
  "<=",
16
16
  ">=",
@@ -6,7 +6,7 @@ import { IHoverService as m } from "monaco-editor/esm/vs/platform/hover/browser/
6
6
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.77 */
9
+ v5.0.0-next.79 */
10
10
  function g() {
11
11
  return !!window.MonacoEnvironment?.getWorker;
12
12
  }
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as n } from "monaco-editor/esm/vs/editor/standa
4
4
  import { generateTokensCSSForColorMap as a } from "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.77 */
7
+ v5.0.0-next.79 */
8
8
  async function c(e, o) {
9
9
  return await (await i()).colorize(e, o, { tabSize: 2 });
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import { css as o } from "lit";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.77 */
4
+ v5.0.0-next.79 */
5
5
  const i = o`@layer{arcgis-arcade-editor,arcgis-sql-expression-editor{--arcgis-coding-components-border: 1px solid var(--calcite-color-border-3);--arcgis-coding-components-background-color: var(--calcite-color-foreground-1);--arcgis-coding-components-side-action-bar-max-w: 25%;--arcgis-coding-components-code-editor-side-panel-w: 600px;--arcgis-coding-components-code-editor-side-panel-max-w: 45%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.code-editor-side-panel{max-width:var(--arcgis-coding-components-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-side-panel-w)}.code-editor-side-panel calcite-flow{height:100%}}}`;
6
6
  export {
7
7
  i as s
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
3
+ v5.0.0-next.79 */
4
4
  const n = "cube";
5
5
  function u(e, t) {
6
6
  switch (e.type) {
@@ -16,7 +16,7 @@ import { filterApiLibraryForContext as de } from "@arcgis/languages-api-utils";
16
16
  import { Emitter as G, Uri as E } from "monaco-editor";
17
17
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
18
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
19
- v5.0.0-next.77 */
19
+ v5.0.0-next.79 */
20
20
  function k(t) {
21
21
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && w(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
22
22
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
3
+ v5.0.0-next.79 */
4
4
  function D() {
5
5
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
6
6
  }
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
5
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.77 */
8
+ v5.0.0-next.79 */
9
9
  const r = async () => {
10
10
  const { editor: t } = await import("monaco-editor/esm/vs/editor/editor.api.js");
11
11
  return t;
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
3
+ v5.0.0-next.79 */
4
4
  const e = {
5
5
  "light-theme": { comment: "#606060", constant: "#9809C8", date: "#296389", identifier: "#0000B3", keyword: "#BF4900", number: "#136D3D", string: "#A31515", operator: "#9809C8", predefined: "#0000B3" },
6
6
  "dark-theme": { comment: "#BFBFBF", constant: "#CDBAEA", date: "#97A6CE", identifier: "#9FD4F3", keyword: "#EEAA5A", number: "#AAD04B", string: "#F2877B", operator: "#CDBAEA", predefined: "#9FD4F3" }
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.77 */
6
+ v5.0.0-next.79 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/toolkit/intl";
4
4
  import { g as b } from "./runtime.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.77 */
7
+ v5.0.0-next.79 */
8
8
  const x = (r) => {
9
9
  const e = r.variables[0], i = e && e.type === "featureSet" ? A(e) : void 0, { apiVersion: t, bundles: o, hiddenApiItems: s } = r.toEditorProfileDefinition();
10
10
  return {
@@ -10,7 +10,7 @@ import { debounce as N } from "@arcgis/toolkit/function";
10
10
  import { g as f } from "./sql-expr-service-accessors.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.77 */
13
+ v5.0.0-next.79 */
14
14
  let h = new _();
15
15
  class k {
16
16
  constructor(e) {
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
3
+ v5.0.0-next.79 */
4
4
  async function t() {
5
5
  return await import("./sql-expr-mode.js");
6
6
  }
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.77 */
5
+ v5.0.0-next.79 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -2,7 +2,7 @@ import { createFilterExpression as d } from "@arcgis/toolkit/string";
2
2
  import { format as f } from "@arcgis/arcade-languageservice";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.77 */
5
+ v5.0.0-next.79 */
6
6
  function b(e, r, s, u) {
7
7
  if (!r)
8
8
  return [];
@@ -17,7 +17,7 @@ import Z from "@arcgis/core/Graphic.js";
17
17
  import { b as ee } from "../../chunks/language-defaults-base.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.77 */
20
+ v5.0.0-next.79 */
21
21
  const te = G`:host(:not([closed])){container-type:size;--calcite-block-border-color: var(--calcite-color-transparent);flex:1 0 auto;border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box;max-width:var(--arcgis-coding-components-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-side-panel-w);.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}.action .error-display{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.feedback-content{padding:1rem;display:flex;flex-direction:column;gap:.75rem;max-height:30vh;overflow-y:auto}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}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)}.type-suggestion{--calcite-color-foreground-1: var(--calcite-color-foreground-current);--calcite-color-text-3: var(--calcite-color-text-2);--calcite-icon-color: var(--calcite-color-brand)}.type-history{--calcite-icon-color: var(--calcite-color-text-2)}.type-response{--calcite-icon-color: var(--calcite-color-brand);--calcite-font-family: monospace}.block-response{align-self:flex-start;margin-block-end:4rem;border-block-end:0;--calcite-block-text-color: var(--calcite-color-brand)}calcite-list-item calcite-button{margin-inline-end:.25rem}.type-docs{--calcite-color-foreground-1: var(--calcite-color-foreground-3);--calcite-icon-color: var(--calcite-color-text-1)}.type-error{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-font-family: monospace;border:1px solid var(--calcite-color-status-danger)}#thumbs-up{margin-inline-start:auto;--calcite-icon-color: var(--calcite-color-border-input)}#thumbs-down{--calcite-icon-color: var(--calcite-color-border-input)}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}.no-space-block,.no-space-block[open]{margin:0}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}calcite-text-area{height:auto;min-height:5.75rem;overflow:hidden;border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-tooltip{--calcite-tooltip-z-index: 1000}.standalone-list{margin:1rem;width:calc(100% - 2rem)}.result-disclaimer{display:block;width:24rem;max-width:90%;margin:1rem auto;text-align:center;line-height:1.125rem;font-size:.875rem;font-style:italic}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%}.break-spaces{white-space:break-spaces}.feedback-button-container{margin-inline-start:auto;gap:0}.info-heading{font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-1)}.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)}.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=title] 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}.code-collapse{margin-inline-start:auto}.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)}.collapsible-error{padding:.5rem}.collapsible-error summary{cursor:pointer;font-weight:500;color:var(--calcite-color-status-danger);outline:none;padding:.25rem 0}.collapsible-error[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}}:host([closed]){display:none}`;
22
22
  class v extends Error {
23
23
  constructor({
@@ -17,7 +17,7 @@ import { s as U } from "../../chunks/editor.js";
17
17
  import j from "@arcgis/core/identity/IdentityManager.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.77 */
20
+ v5.0.0-next.79 */
21
21
  const z = w`@layer{arcgis-arcade-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.sticky{position:sticky;top:0;z-index:10}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}.main-action-bar{border-bottom:var(--arcgis-coding-components-border)!important;flex:0 0 auto;calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}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)}}arcgis-arcade-results{border-top:var(--arcgis-coding-components-border)!important;box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}calcite-flow{[slot=footer]{word-break:break-word}}.hidden{display:none}}}`, N = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", O = (s) => {
22
22
  const { aiAssistantsEnabled: e } = s;
23
23
  return e === void 0 ? (console.warn("areAiAssistantsEnabled is not defined in the organizations settings."), !1) : e;
@@ -11,7 +11,7 @@ import { t as k } from "../../chunks/monaco-theme.js";
11
11
  import { observeAncestorsMutation as z, unsafeGetCalciteModeName as N } from "@arcgis/toolkit/dom";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
14
- v5.0.0-next.77 */
14
+ v5.0.0-next.79 */
15
15
  const E = w`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}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)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.result-value-table{table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`, l = {
16
16
  lines: !0,
17
17
  selectionMode: "none",
@@ -188,7 +188,7 @@ class B extends A {
188
188
  return t`<calcite-loader scale=s type=indeterminate label></calcite-loader>`;
189
189
  switch (this.result?.type) {
190
190
  case "error":
191
- return t`<div class="result-value-simple flex-adjustable">${o(this.messages.executionerrorformat, { message: this.result.value })}</div>`;
191
+ return t`<div class="result-value-simple flex-adjustable">${o(this.messages.executionerrorformat ?? "", { message: this.result.value })}</div>`;
192
192
  case "null":
193
193
  case "unknown":
194
194
  return t`<div class="result-value-simple ltr-container">${p({ arcadeResult: this.result })}</div>`;
@@ -210,6 +210,7 @@ class B extends A {
210
210
  case "feature":
211
211
  case "dictionary":
212
212
  case "portal":
213
+ case "pixel":
213
214
  return t`<div class="result-value-simple ltr-container"><calcite-tree .lines=${l.lines} .selectionMode=${l.selectionMode} .scale=${l.scale} @calciteTreeSelect=${l.oncalciteTreeSelect}><calcite-tree-item expanded @click=${d.onClick}><div class="tree-item-label">${this.result.type}</div>${C({ value: this.result.value, subtree: !0, t9nStrings: this.messages })}</calcite-tree-item></calcite-tree></div>`;
214
215
  case "featureSet":
215
216
  return t`<div class="result-value-table ltr-container">${V({ arcadeResult: this.result, t9nStrings: this.messages })}${J({ arcadeResult: this.result })}</div>`;
@@ -9,7 +9,7 @@ import { c as b } from "../../chunks/markdown.js";
9
9
  import { u as _ } from "../../chunks/useT9n.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.77 */
12
+ v5.0.0-next.79 */
13
13
  function v(o) {
14
14
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
15
15
  }
@@ -10,7 +10,7 @@ import { load as I } from "@arcgis/lumina/controllers";
10
10
  import { Range as v, Uri as s, KeyMod as n, KeyCode as r } from "monaco-editor";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.77 */
13
+ v5.0.0-next.79 */
14
14
  const M = f`@layer{arcgis-code-editor{display:flex;width:100%;height:100%;flex-direction:column;direction:ltr;.monaco-editor{flex:1 1 auto;.monaco-hover,.editor-widget,.suggest-details-container{z-index:9999}div[widgetid="editor.contrib.resizableContentHoverWidget"],div[widgetid="editor.widget.suggestWidget"],div[widgetid="suggest.details"]{z-index:calc(var(--calcite-z-index-header) + 1)!important}}}}`, y = {
15
15
  autoIndent: "advanced",
16
16
  automaticLayout: !0,
@@ -11,7 +11,7 @@ import { debounce as y } from "@arcgis/toolkit/function";
11
11
  import { Task as N } from "@lit/task";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
14
- v5.0.0-next.77 */
14
+ v5.0.0-next.79 */
15
15
  const O = E`pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);white-space:pre-line;code{font-size:var(--calcite-font-size--2);font-family:var(--calcite-font-family-code)}}:host([round]){pre{border-radius:var(--calcite-corner-radius-round)}}`;
16
16
  class w extends p {
17
17
  constructor() {
@@ -7,7 +7,7 @@ import { createFilterExpression as f } from "@arcgis/toolkit/string";
7
7
  import { u as m } from "../../chunks/useT9n.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
10
- v5.0.0-next.77 */
10
+ v5.0.0-next.79 */
11
11
  const u = n`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2);word-break:break-word}}`;
12
12
  function g(l) {
13
13
  l.key === "Enter" && l.stopPropagation();
@@ -9,7 +9,7 @@ import { c as n } from "../../chunks/markdown.js";
9
9
  import { u as f } from "../../chunks/useT9n.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.77 */
12
+ v5.0.0-next.79 */
13
13
  const g = m`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
14
14
  class b extends h {
15
15
  constructor() {
@@ -9,7 +9,7 @@ import { s as f } from "../../chunks/editor.js";
9
9
  import { getSqlExprDiagnosticService as _ } from "../../chunks/sql-expr-mode.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.77 */
12
+ v5.0.0-next.79 */
13
13
  const u = n`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%}}`;
14
14
  class m extends c {
15
15
  constructor() {
@@ -6,7 +6,7 @@ import { a as m } from "../../chunks/sql-expr-defaults.js";
6
6
  import { u as d } from "../../chunks/useT9n.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.77 */
9
+ v5.0.0-next.79 */
10
10
  const h = r`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
11
11
  class g extends n {
12
12
  constructor() {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-12-03T04:35:26",
2
+ "timestamp": "2025-12-04T04:37:21",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.77",
5
+ "version": "5.0.0-next.79",
6
6
  "typescriptVersion": "5.9.3"
7
7
  },
8
8
  "schemaVersion": "2.1.0",
@@ -151,7 +151,7 @@
151
151
  "description": "Returns the Arcade result for the script for the provided test data.",
152
152
  "return": {
153
153
  "type": {
154
- "text": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
154
+ "text": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultPixel | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
155
155
  "references": [
156
156
  {
157
157
  "name": "Promise",
@@ -245,22 +245,28 @@
245
245
  "end": 328
246
246
  },
247
247
  {
248
- "name": "IArcadeResultFeatureSet",
248
+ "name": "IArcadeResultPixel",
249
249
  "module": "dist/utils/arcade-executor.d.ts",
250
250
  "start": 331,
251
- "end": 354
251
+ "end": 349
252
+ },
253
+ {
254
+ "name": "IArcadeResultFeatureSet",
255
+ "module": "dist/utils/arcade-executor.d.ts",
256
+ "start": 352,
257
+ "end": 375
252
258
  },
253
259
  {
254
260
  "name": "IArcadeResultPortal",
255
261
  "module": "dist/utils/arcade-executor.d.ts",
256
- "start": 357,
257
- "end": 376
262
+ "start": 378,
263
+ "end": 397
258
264
  },
259
265
  {
260
266
  "name": "IArcadeResultAttachment",
261
267
  "module": "dist/utils/arcade-executor.d.ts",
262
- "start": 379,
263
- "end": 402
268
+ "start": 400,
269
+ "end": 423
264
270
  }
265
271
  ]
266
272
  }
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-12-03T04:35:26",
2
+ "timestamp": "2025-12-04T04:37:21",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.77",
5
+ "version": "5.0.0-next.79",
6
6
  "typescriptVersion": "5.9.3"
7
7
  },
8
8
  "components": [
@@ -391,13 +391,13 @@
391
391
  {
392
392
  "name": "getTestResult",
393
393
  "returns": {
394
- "type": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
394
+ "type": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultPixel | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
395
395
  "docs": ""
396
396
  },
397
397
  "complexType": {
398
398
  "signature": "(): Promise<ArcadeResult>",
399
399
  "parameters": [],
400
- "return": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
400
+ "return": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultPixel | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
401
401
  "references": {
402
402
  "Promise": {
403
403
  "location": "import",
@@ -474,6 +474,11 @@
474
474
  "path": "dist/utils/arcade-executor.d.ts",
475
475
  "id": "notImplemented"
476
476
  },
477
+ "IArcadeResultPixel": {
478
+ "location": "local",
479
+ "path": "dist/utils/arcade-executor.d.ts",
480
+ "id": "notImplemented"
481
+ },
477
482
  "IArcadeResultFeatureSet": {
478
483
  "location": "local",
479
484
  "path": "dist/utils/arcade-executor.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/coding-components",
4
- "version": "5.0.0-next.77",
4
+ "version": "5.0.0-next.79",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { a as c } from "./chunks/arcade-defaults.js";
3
3
  import { s as p } from "./chunks/sql-expr-defaults.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.77 */
6
+ v5.0.0-next.79 */
7
7
  const a = s, r = t;
8
8
  export {
9
9
  c as arcade,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as s } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.77 */
5
+ v5.0.0-next.79 */
6
6
  const a = s(e, {
7
7
  "arcgis-arcade-coding-assistant": [() => import("./components/arcgis-arcade-coding-assistant/customElement.js"), "appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],
8
8
  "arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.77 */
3
+ v5.0.0-next.79 */
4
4
  const A = `/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)