@arcgis/coding-components 5.0.0-next.93 → 5.0.0-next.94

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 (92) hide show
  1. package/dist/addons/arcade-coding-assistant/chat-helper.d.ts +3 -3
  2. package/dist/addons.js +1 -1
  3. package/dist/cdn/{ZBXNENKW.js → 24A2GMXS.js} +2 -2
  4. package/dist/cdn/{PGSOHB37.js → 2YVIARN5.js} +2 -2
  5. package/dist/cdn/{PQAIRRA6.js → 3OHWJOMD.js} +2 -2
  6. package/dist/cdn/{LBTNX3UD.js → 45RYMSYG.js} +2 -2
  7. package/dist/cdn/{Z4L7OJKT.js → 5WHTEHPM.js} +2 -2
  8. package/dist/cdn/{CY2NIZSQ.js → 6HA5DFLF.js} +1 -1
  9. package/dist/cdn/{VFIPWTCQ.js → 6ROKBSGI.js} +2 -2
  10. package/dist/cdn/{MIV62SB5.js → 75OSZZJF.js} +2 -2
  11. package/dist/cdn/{ETMVFEBE.js → A5WEEHGM.js} +2 -2
  12. package/dist/cdn/{3AOVYJDA.js → A6DSFADQ.js} +2 -2
  13. package/dist/cdn/{WSQRFXIA.js → APXINRPI.js} +2 -2
  14. package/dist/cdn/{GYL2QCR7.js → B5GJ3P5G.js} +2 -2
  15. package/dist/cdn/BQJBSDM2.js +4 -0
  16. package/dist/cdn/BQNN5XLA.js +6 -0
  17. package/dist/cdn/{A323TEFP.js → C7S7FIMX.js} +2 -2
  18. package/dist/cdn/{QONUPJDY.js → CBWWEN4S.js} +1 -1
  19. package/dist/cdn/{QDDMGH2B.js → CL5UX33P.js} +2 -2
  20. package/dist/cdn/{UPIRR7NI.js → CUL2JAK4.js} +2 -2
  21. package/dist/cdn/{5EBSP7DM.js → E5NOGZC7.js} +2 -2
  22. package/dist/cdn/{PO35LCAS.js → FL7A5ZFN.js} +2 -2
  23. package/dist/cdn/{SYFORY5P.js → FNP2QIRS.js} +2 -2
  24. package/dist/cdn/{V5FQNTXG.js → FQGB2RRB.js} +2 -2
  25. package/dist/cdn/{YNQH23OP.js → GNLRKAD5.js} +2 -2
  26. package/dist/cdn/{K3L3TIEP.js → H2A4L7G6.js} +2 -2
  27. package/dist/cdn/{5XCYAKJJ.js → IKQMRUER.js} +2 -2
  28. package/dist/cdn/{4P5HZOXS.js → IOYAZ7XQ.js} +2 -2
  29. package/dist/cdn/{CT7TBHUK.js → JSQ46V4B.js} +2 -2
  30. package/dist/cdn/{VAELJETA.js → JUKZO7ZY.js} +2 -2
  31. package/dist/cdn/{7FSEYOGD.js → KLR2TH2U.js} +2 -2
  32. package/dist/cdn/{2GQYFHB5.js → KMR6BDYB.js} +2 -2
  33. package/dist/cdn/{HNHID2GQ.js → M5VQUFXO.js} +2 -2
  34. package/dist/cdn/{ZCT5XGMI.js → NCWCEJ4H.js} +1 -1
  35. package/dist/cdn/{P6IUHZNJ.js → NVZTZU3Q.js} +2 -2
  36. package/dist/cdn/{XOQ3RM5Y.js → R5L3UDPZ.js} +2 -2
  37. package/dist/cdn/{53OPBGH3.js → RDOPAVSY.js} +1 -1
  38. package/dist/cdn/{I4JO32WF.js → SNLDOFIP.js} +2 -2
  39. package/dist/cdn/{ITSWV2D2.js → TTNKFUSY.js} +2 -2
  40. package/dist/cdn/{UTNSHEMF.js → UHQMWHSA.js} +1 -1
  41. package/dist/cdn/{URZFEWH3.js → UYCZT4PR.js} +2 -2
  42. package/dist/cdn/{N7HNKUKK.js → UYYBSWI5.js} +2 -2
  43. package/dist/cdn/{5CEEVUCZ.js → V6ZXLVEU.js} +2 -2
  44. package/dist/cdn/{UGVEW6ZQ.js → W3I4P6B2.js} +1 -1
  45. package/dist/cdn/{TRILF5XK.js → WZBQ3LI4.js} +2 -2
  46. package/dist/cdn/{MNSM3SGU.js → X2UROQYS.js} +1 -1
  47. package/dist/cdn/{UVW7RTZM.js → XQ7S4CXK.js} +1 -1
  48. package/dist/cdn/{LC7PNNVV.js → YAFEASDQ.js} +3 -3
  49. package/dist/cdn/{2X52Y4DY.js → YGMFTUQQ.js} +1 -1
  50. package/dist/cdn/{BYEBULNN.js → Z3ZSRJMV.js} +2 -2
  51. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.en.json +1 -1
  52. package/dist/cdn/index.js +2 -2
  53. package/dist/chunks/arcade-contribution.js +1 -1
  54. package/dist/chunks/arcade-defaults.js +1 -1
  55. package/dist/chunks/arcade-executor.js +1 -1
  56. package/dist/chunks/arcade-mode.js +1 -1
  57. package/dist/chunks/arcade-service-accessors.js +1 -1
  58. package/dist/chunks/colorize.js +1 -1
  59. package/dist/chunks/editor.js +1 -1
  60. package/dist/chunks/fields.js +1 -1
  61. package/dist/chunks/language-defaults-base.js +1 -1
  62. package/dist/chunks/markdown.js +1 -1
  63. package/dist/chunks/monaco-importer.js +1 -1
  64. package/dist/chunks/monaco-theme.js +1 -1
  65. package/dist/chunks/runtime.js +1 -1
  66. package/dist/chunks/sql-expr-defaults.js +1 -1
  67. package/dist/chunks/sql-expr-mode.js +1 -1
  68. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  69. package/dist/chunks/useT9n.js +1 -1
  70. package/dist/chunks/utilities.js +1 -1
  71. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +217 -106
  72. package/dist/components/arcgis-arcade-coding-assistant/types.d.ts +4 -4
  73. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  75. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  76. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  77. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  78. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  79. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  80. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  81. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  82. package/dist/docs/api.json +2 -2
  83. package/dist/docs/docs.json +2 -2
  84. package/dist/docs/web-types.json +1 -1
  85. package/dist/index.js +1 -1
  86. package/dist/loader.js +1 -1
  87. package/dist/monacoStyles.js +1 -1
  88. package/dist/utils/arcade-assistant/aiContext.d.ts +6 -0
  89. package/dist/utils/arcade-assistant/types.d.ts +39 -0
  90. package/package.json +5 -5
  91. package/dist/cdn/DGSXN3MJ.js +0 -6
  92. package/dist/cdn/IBBEGZKT.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.93 */
3
+ v5.0.0-next.94 */
4
4
  var n=(e,o=100)=>{let t;return(...c)=>{let i=()=>{clearTimeout(t),e(...c)};clearTimeout(t),t=setTimeout(i,o)}};export{n as a};
@@ -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.93 */
4
- import{a as T}from"./URZFEWH3.js";import{Tl as F}from"./LBTNX3UD.js";import"./UGVEW6ZQ.js";var M=Object.defineProperty,R=Object.getOwnPropertyDescriptor,K=Object.getOwnPropertyNames,E=Object.prototype.hasOwnProperty,P=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of K(t))!E.call(e,l)&&l!==o&&M(e,l,{get:()=>t[l],enumerable:!(r=R(t,l))||r.enumerable});return e},H=(e,t,o)=>(P(e,t,"default"),o&&P(o,t,"default")),n={};H(n,F);var V=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=n.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(n.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},s={};s["lib.d.ts"]=!0;s["lib.decorators.d.ts"]=!0;s["lib.decorators.legacy.d.ts"]=!0;s["lib.dom.asynciterable.d.ts"]=!0;s["lib.dom.d.ts"]=!0;s["lib.dom.iterable.d.ts"]=!0;s["lib.es2015.collection.d.ts"]=!0;s["lib.es2015.core.d.ts"]=!0;s["lib.es2015.d.ts"]=!0;s["lib.es2015.generator.d.ts"]=!0;s["lib.es2015.iterable.d.ts"]=!0;s["lib.es2015.promise.d.ts"]=!0;s["lib.es2015.proxy.d.ts"]=!0;s["lib.es2015.reflect.d.ts"]=!0;s["lib.es2015.symbol.d.ts"]=!0;s["lib.es2015.symbol.wellknown.d.ts"]=!0;s["lib.es2016.array.include.d.ts"]=!0;s["lib.es2016.d.ts"]=!0;s["lib.es2016.full.d.ts"]=!0;s["lib.es2016.intl.d.ts"]=!0;s["lib.es2017.d.ts"]=!0;s["lib.es2017.date.d.ts"]=!0;s["lib.es2017.full.d.ts"]=!0;s["lib.es2017.intl.d.ts"]=!0;s["lib.es2017.object.d.ts"]=!0;s["lib.es2017.sharedmemory.d.ts"]=!0;s["lib.es2017.string.d.ts"]=!0;s["lib.es2017.typedarrays.d.ts"]=!0;s["lib.es2018.asyncgenerator.d.ts"]=!0;s["lib.es2018.asynciterable.d.ts"]=!0;s["lib.es2018.d.ts"]=!0;s["lib.es2018.full.d.ts"]=!0;s["lib.es2018.intl.d.ts"]=!0;s["lib.es2018.promise.d.ts"]=!0;s["lib.es2018.regexp.d.ts"]=!0;s["lib.es2019.array.d.ts"]=!0;s["lib.es2019.d.ts"]=!0;s["lib.es2019.full.d.ts"]=!0;s["lib.es2019.intl.d.ts"]=!0;s["lib.es2019.object.d.ts"]=!0;s["lib.es2019.string.d.ts"]=!0;s["lib.es2019.symbol.d.ts"]=!0;s["lib.es2020.bigint.d.ts"]=!0;s["lib.es2020.d.ts"]=!0;s["lib.es2020.date.d.ts"]=!0;s["lib.es2020.full.d.ts"]=!0;s["lib.es2020.intl.d.ts"]=!0;s["lib.es2020.number.d.ts"]=!0;s["lib.es2020.promise.d.ts"]=!0;s["lib.es2020.sharedmemory.d.ts"]=!0;s["lib.es2020.string.d.ts"]=!0;s["lib.es2020.symbol.wellknown.d.ts"]=!0;s["lib.es2021.d.ts"]=!0;s["lib.es2021.full.d.ts"]=!0;s["lib.es2021.intl.d.ts"]=!0;s["lib.es2021.promise.d.ts"]=!0;s["lib.es2021.string.d.ts"]=!0;s["lib.es2021.weakref.d.ts"]=!0;s["lib.es2022.array.d.ts"]=!0;s["lib.es2022.d.ts"]=!0;s["lib.es2022.error.d.ts"]=!0;s["lib.es2022.full.d.ts"]=!0;s["lib.es2022.intl.d.ts"]=!0;s["lib.es2022.object.d.ts"]=!0;s["lib.es2022.regexp.d.ts"]=!0;s["lib.es2022.sharedmemory.d.ts"]=!0;s["lib.es2022.string.d.ts"]=!0;s["lib.es2023.array.d.ts"]=!0;s["lib.es2023.collection.d.ts"]=!0;s["lib.es2023.d.ts"]=!0;s["lib.es2023.full.d.ts"]=!0;s["lib.es5.d.ts"]=!0;s["lib.es6.d.ts"]=!0;s["lib.esnext.collection.d.ts"]=!0;s["lib.esnext.d.ts"]=!0;s["lib.esnext.decorators.d.ts"]=!0;s["lib.esnext.disposable.d.ts"]=!0;s["lib.esnext.full.d.ts"]=!0;s["lib.esnext.intl.d.ts"]=!0;s["lib.esnext.object.d.ts"]=!0;s["lib.esnext.promise.d.ts"]=!0;s["lib.scripthost.d.ts"]=!0;s["lib.webworker.asynciterable.d.ts"]=!0;s["lib.webworker.d.ts"]=!0;s["lib.webworker.importscripts.d.ts"]=!0;s["lib.webworker.iterable.d.ts"]=!0;function C(e,t,o=0){if(typeof e=="string")return e;if(e===void 0)return"";let r="";if(o){r+=t;for(let l=0;l<o;l++)r+=" "}if(r+=e.messageText,o++,e.next)for(let l of e.next)r+=C(l,t,o);return r}function _(e){return e?e.map(t=>t.text).join(""):""}var m=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let o=e.getPositionAt(t.start),r=e.getPositionAt(t.start+t.length),{lineNumber:l,column:c}=o,{lineNumber:u,column:a}=r;return{startLineNumber:l,startColumn:c,endLineNumber:u,endColumn:a}}},W=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf("/lib.")===0?!!s[e.path.slice(1)]:!1}getOrCreateModel(e){let t=n.Uri.parse(e),o=n.editor.getModel(t);if(o)return o;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return n.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let r=T.getExtraLibs()[e];return r?n.editor.createModel(r.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},j=class extends m{constructor(e,t,o,r){super(r),this._libFiles=e,this._defaults=t,this._selector=o,this._disposables=[],this._listener=Object.create(null);let l=a=>{if(a.getLanguageId()!==o)return;let i=()=>{let{onlyVisible:f}=this._defaults.getDiagnosticsOptions();f?a.isAttachedToEditor()&&this._doValidate(a):this._doValidate(a)},g,d=a.onDidChangeContent(()=>{clearTimeout(g),g=window.setTimeout(i,500)}),h=a.onDidChangeAttached(()=>{let{onlyVisible:f}=this._defaults.getDiagnosticsOptions();f&&(a.isAttachedToEditor()?i():n.editor.setModelMarkers(a,this._selector,[]))});this._listener[a.uri.toString()]={dispose(){d.dispose(),h.dispose(),clearTimeout(g)}},i()},c=a=>{n.editor.setModelMarkers(a,this._selector,[]);let i=a.uri.toString();this._listener[i]&&(this._listener[i].dispose(),delete this._listener[i])};this._disposables.push(n.editor.onDidCreateModel(a=>l(a))),this._disposables.push(n.editor.onWillDisposeModel(c)),this._disposables.push(n.editor.onDidChangeModelLanguage(a=>{c(a.model),l(a.model)})),this._disposables.push({dispose(){for(let a of n.editor.getModels())c(a)}});let u=()=>{for(let a of n.editor.getModels())c(a),l(a)};this._disposables.push(this._defaults.onDidChange(u)),this._disposables.push(this._defaults.onDidExtraLibsChange(u)),n.editor.getModels().forEach(a=>l(a))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let o=[],{noSyntaxValidation:r,noSemanticValidation:l,noSuggestionDiagnostics:c}=this._defaults.getDiagnosticsOptions();r||o.push(t.getSyntacticDiagnostics(e.uri.toString())),l||o.push(t.getSemanticDiagnostics(e.uri.toString())),c||o.push(t.getSuggestionDiagnostics(e.uri.toString()));let u=await Promise.all(o);if(!u||e.isDisposed())return;let a=u.reduce((g,d)=>d.concat(g),[]).filter(g=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(g.code)===-1),i=a.map(g=>g.relatedInformation||[]).reduce((g,d)=>d.concat(g),[]).map(g=>g.file?n.Uri.parse(g.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(i),!e.isDisposed()&&n.editor.setModelMarkers(e,this._selector,a.map(g=>this._convertDiagnostics(e,g)))}_convertDiagnostics(e,t){let o=t.start||0,r=t.length||1,{lineNumber:l,column:c}=e.getPositionAt(o),{lineNumber:u,column:a}=e.getPositionAt(o+r),i=[];return t.reportsUnnecessary&&i.push(n.MarkerTag.Unnecessary),t.reportsDeprecated&&i.push(n.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:l,startColumn:c,endLineNumber:u,endColumn:a,message:C(t.messageText,`
3
+ v5.0.0-next.94 */
4
+ import{a as T}from"./UYCZT4PR.js";import{Tl as F}from"./45RYMSYG.js";import"./W3I4P6B2.js";var M=Object.defineProperty,R=Object.getOwnPropertyDescriptor,K=Object.getOwnPropertyNames,E=Object.prototype.hasOwnProperty,P=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of K(t))!E.call(e,l)&&l!==o&&M(e,l,{get:()=>t[l],enumerable:!(r=R(t,l))||r.enumerable});return e},H=(e,t,o)=>(P(e,t,"default"),o&&P(o,t,"default")),n={};H(n,F);var V=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=n.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(n.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},s={};s["lib.d.ts"]=!0;s["lib.decorators.d.ts"]=!0;s["lib.decorators.legacy.d.ts"]=!0;s["lib.dom.asynciterable.d.ts"]=!0;s["lib.dom.d.ts"]=!0;s["lib.dom.iterable.d.ts"]=!0;s["lib.es2015.collection.d.ts"]=!0;s["lib.es2015.core.d.ts"]=!0;s["lib.es2015.d.ts"]=!0;s["lib.es2015.generator.d.ts"]=!0;s["lib.es2015.iterable.d.ts"]=!0;s["lib.es2015.promise.d.ts"]=!0;s["lib.es2015.proxy.d.ts"]=!0;s["lib.es2015.reflect.d.ts"]=!0;s["lib.es2015.symbol.d.ts"]=!0;s["lib.es2015.symbol.wellknown.d.ts"]=!0;s["lib.es2016.array.include.d.ts"]=!0;s["lib.es2016.d.ts"]=!0;s["lib.es2016.full.d.ts"]=!0;s["lib.es2016.intl.d.ts"]=!0;s["lib.es2017.d.ts"]=!0;s["lib.es2017.date.d.ts"]=!0;s["lib.es2017.full.d.ts"]=!0;s["lib.es2017.intl.d.ts"]=!0;s["lib.es2017.object.d.ts"]=!0;s["lib.es2017.sharedmemory.d.ts"]=!0;s["lib.es2017.string.d.ts"]=!0;s["lib.es2017.typedarrays.d.ts"]=!0;s["lib.es2018.asyncgenerator.d.ts"]=!0;s["lib.es2018.asynciterable.d.ts"]=!0;s["lib.es2018.d.ts"]=!0;s["lib.es2018.full.d.ts"]=!0;s["lib.es2018.intl.d.ts"]=!0;s["lib.es2018.promise.d.ts"]=!0;s["lib.es2018.regexp.d.ts"]=!0;s["lib.es2019.array.d.ts"]=!0;s["lib.es2019.d.ts"]=!0;s["lib.es2019.full.d.ts"]=!0;s["lib.es2019.intl.d.ts"]=!0;s["lib.es2019.object.d.ts"]=!0;s["lib.es2019.string.d.ts"]=!0;s["lib.es2019.symbol.d.ts"]=!0;s["lib.es2020.bigint.d.ts"]=!0;s["lib.es2020.d.ts"]=!0;s["lib.es2020.date.d.ts"]=!0;s["lib.es2020.full.d.ts"]=!0;s["lib.es2020.intl.d.ts"]=!0;s["lib.es2020.number.d.ts"]=!0;s["lib.es2020.promise.d.ts"]=!0;s["lib.es2020.sharedmemory.d.ts"]=!0;s["lib.es2020.string.d.ts"]=!0;s["lib.es2020.symbol.wellknown.d.ts"]=!0;s["lib.es2021.d.ts"]=!0;s["lib.es2021.full.d.ts"]=!0;s["lib.es2021.intl.d.ts"]=!0;s["lib.es2021.promise.d.ts"]=!0;s["lib.es2021.string.d.ts"]=!0;s["lib.es2021.weakref.d.ts"]=!0;s["lib.es2022.array.d.ts"]=!0;s["lib.es2022.d.ts"]=!0;s["lib.es2022.error.d.ts"]=!0;s["lib.es2022.full.d.ts"]=!0;s["lib.es2022.intl.d.ts"]=!0;s["lib.es2022.object.d.ts"]=!0;s["lib.es2022.regexp.d.ts"]=!0;s["lib.es2022.sharedmemory.d.ts"]=!0;s["lib.es2022.string.d.ts"]=!0;s["lib.es2023.array.d.ts"]=!0;s["lib.es2023.collection.d.ts"]=!0;s["lib.es2023.d.ts"]=!0;s["lib.es2023.full.d.ts"]=!0;s["lib.es5.d.ts"]=!0;s["lib.es6.d.ts"]=!0;s["lib.esnext.collection.d.ts"]=!0;s["lib.esnext.d.ts"]=!0;s["lib.esnext.decorators.d.ts"]=!0;s["lib.esnext.disposable.d.ts"]=!0;s["lib.esnext.full.d.ts"]=!0;s["lib.esnext.intl.d.ts"]=!0;s["lib.esnext.object.d.ts"]=!0;s["lib.esnext.promise.d.ts"]=!0;s["lib.scripthost.d.ts"]=!0;s["lib.webworker.asynciterable.d.ts"]=!0;s["lib.webworker.d.ts"]=!0;s["lib.webworker.importscripts.d.ts"]=!0;s["lib.webworker.iterable.d.ts"]=!0;function C(e,t,o=0){if(typeof e=="string")return e;if(e===void 0)return"";let r="";if(o){r+=t;for(let l=0;l<o;l++)r+=" "}if(r+=e.messageText,o++,e.next)for(let l of e.next)r+=C(l,t,o);return r}function _(e){return e?e.map(t=>t.text).join(""):""}var m=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let o=e.getPositionAt(t.start),r=e.getPositionAt(t.start+t.length),{lineNumber:l,column:c}=o,{lineNumber:u,column:a}=r;return{startLineNumber:l,startColumn:c,endLineNumber:u,endColumn:a}}},W=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf("/lib.")===0?!!s[e.path.slice(1)]:!1}getOrCreateModel(e){let t=n.Uri.parse(e),o=n.editor.getModel(t);if(o)return o;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return n.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let r=T.getExtraLibs()[e];return r?n.editor.createModel(r.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},j=class extends m{constructor(e,t,o,r){super(r),this._libFiles=e,this._defaults=t,this._selector=o,this._disposables=[],this._listener=Object.create(null);let l=a=>{if(a.getLanguageId()!==o)return;let i=()=>{let{onlyVisible:f}=this._defaults.getDiagnosticsOptions();f?a.isAttachedToEditor()&&this._doValidate(a):this._doValidate(a)},g,d=a.onDidChangeContent(()=>{clearTimeout(g),g=window.setTimeout(i,500)}),h=a.onDidChangeAttached(()=>{let{onlyVisible:f}=this._defaults.getDiagnosticsOptions();f&&(a.isAttachedToEditor()?i():n.editor.setModelMarkers(a,this._selector,[]))});this._listener[a.uri.toString()]={dispose(){d.dispose(),h.dispose(),clearTimeout(g)}},i()},c=a=>{n.editor.setModelMarkers(a,this._selector,[]);let i=a.uri.toString();this._listener[i]&&(this._listener[i].dispose(),delete this._listener[i])};this._disposables.push(n.editor.onDidCreateModel(a=>l(a))),this._disposables.push(n.editor.onWillDisposeModel(c)),this._disposables.push(n.editor.onDidChangeModelLanguage(a=>{c(a.model),l(a.model)})),this._disposables.push({dispose(){for(let a of n.editor.getModels())c(a)}});let u=()=>{for(let a of n.editor.getModels())c(a),l(a)};this._disposables.push(this._defaults.onDidChange(u)),this._disposables.push(this._defaults.onDidExtraLibsChange(u)),n.editor.getModels().forEach(a=>l(a))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let o=[],{noSyntaxValidation:r,noSemanticValidation:l,noSuggestionDiagnostics:c}=this._defaults.getDiagnosticsOptions();r||o.push(t.getSyntacticDiagnostics(e.uri.toString())),l||o.push(t.getSemanticDiagnostics(e.uri.toString())),c||o.push(t.getSuggestionDiagnostics(e.uri.toString()));let u=await Promise.all(o);if(!u||e.isDisposed())return;let a=u.reduce((g,d)=>d.concat(g),[]).filter(g=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(g.code)===-1),i=a.map(g=>g.relatedInformation||[]).reduce((g,d)=>d.concat(g),[]).map(g=>g.file?n.Uri.parse(g.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(i),!e.isDisposed()&&n.editor.setModelMarkers(e,this._selector,a.map(g=>this._convertDiagnostics(e,g)))}_convertDiagnostics(e,t){let o=t.start||0,r=t.length||1,{lineNumber:l,column:c}=e.getPositionAt(o),{lineNumber:u,column:a}=e.getPositionAt(o+r),i=[];return t.reportsUnnecessary&&i.push(n.MarkerTag.Unnecessary),t.reportsDeprecated&&i.push(n.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:l,startColumn:c,endLineNumber:u,endColumn:a,message:C(t.messageText,`
5
5
  `),code:t.code.toString(),tags:i,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];let o=[];return t.forEach(r=>{let l=e;if(r.file&&(l=this._libFiles.getOrCreateModel(r.file.fileName)),!l)return;let c=r.start||0,u=r.length||1,{lineNumber:a,column:i}=l.getPositionAt(c),{lineNumber:g,column:d}=l.getPositionAt(c+u);o.push({resource:l.uri,startLineNumber:a,startColumn:i,endLineNumber:g,endColumn:d,message:C(r.messageText,`
6
6
  `)})}),o}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return n.MarkerSeverity.Error;case 3:return n.MarkerSeverity.Info;case 0:return n.MarkerSeverity.Warning;case 2:return n.MarkerSeverity.Hint}return n.MarkerSeverity.Info}},B=class x extends m{get triggerCharacters(){return["."]}async provideCompletionItems(t,o,r,l){let c=t.getWordUntilPosition(o),u=new n.Range(o.lineNumber,c.startColumn,o.lineNumber,c.endColumn),a=t.uri,i=t.getOffsetAt(o),g=await this._worker(a);if(t.isDisposed())return;let d=await g.getCompletionsAtPosition(a.toString(),i);return!d||t.isDisposed()?void 0:{suggestions:d.entries.map(f=>{let w=u;if(f.replacementSpan){let k=t.getPositionAt(f.replacementSpan.start),v=t.getPositionAt(f.replacementSpan.start+f.replacementSpan.length);w=new n.Range(k.lineNumber,k.column,v.lineNumber,v.column)}let S=[];return f.kindModifiers!==void 0&&f.kindModifiers.indexOf("deprecated")!==-1&&S.push(n.languages.CompletionItemTag.Deprecated),{uri:a,position:o,offset:i,range:w,label:f.name,insertText:f.name,sortText:f.sortText,kind:x.convertKind(f.kind),tags:S}})}}async resolveCompletionItem(t,o){let r=t,l=r.uri,c=r.position,u=r.offset,i=await(await this._worker(l)).getCompletionEntryDetails(l.toString(),u,r.label);return i?{uri:l,position:c,label:i.name,kind:x.convertKind(i.kind),detail:_(i.displayParts),documentation:{value:x.createDocumentationString(i)}}:r}static convertKind(t){switch(t){case p.primitiveType:case p.keyword:return n.languages.CompletionItemKind.Keyword;case p.variable:case p.localVariable:return n.languages.CompletionItemKind.Variable;case p.memberVariable:case p.memberGetAccessor:case p.memberSetAccessor:return n.languages.CompletionItemKind.Field;case p.function:case p.memberFunction:case p.constructSignature:case p.callSignature:case p.indexSignature:return n.languages.CompletionItemKind.Function;case p.enum:return n.languages.CompletionItemKind.Enum;case p.module:return n.languages.CompletionItemKind.Module;case p.class:return n.languages.CompletionItemKind.Class;case p.interface:return n.languages.CompletionItemKind.Interface;case p.warning:return n.languages.CompletionItemKind.File}return n.languages.CompletionItemKind.Property}static createDocumentationString(t){let o=_(t.documentation);if(t.tags)for(let r of t.tags)o+=`
7
7
 
@@ -1 +1 @@
1
- {"arcadeassistant":"Arcade assistant","beta":"Beta","expressionapplied":"Expression applied to editor","askaquestion":"Specify the calculation or logic you need in an Arcade expression. (e.g., Return Yes if value > 10)","enteraprompt":"Please enter a prompt","assistantresponse":"Assistant response","providefeedback":"Provide feedback","experiencehelps":"Your experience helps guide future improvements","submitfeedback":"Submit feedback","addtoeditor":"Add to editor","experiencehelpful":"Are you satisfied with the assistant's response?","describeexperience":"Describe your experience","besteffort":"Here's the assistant's best effort","ask":"Generate","disclaimercomment":"Expression generated by ArcGIS Arcade Assistant (beta)","feedback":"Feedback","erroroccurred":"An error occured.","recentprompts":"Recent prompts","generatingresponse":"Generating response...","introducing":"Introducing Arcade Assistant (beta)","capabilities":"The assistant uses artificial intelligence to generate Arcade expressions.","aiassistants":"AI assistants","useofassistant":"Use of AI assistants is turned off for your organization. To enable Arcade Assistant (beta), update the {aiassistants} preference in the organization settings page, and ensure beta apps and capabilities are not blocked.","configureassistants":"Configure assistants","settings":"Settings","new":"New","learnmore":"Learn more","welcome":"Welcome to the new assistant experience","beforeyougetstarted":"Before you get started be aware:","maybeincorrect":"AI generated code may occasionally be incorrect or biased. Review carefully.","pleasereadhelp":"Read the Arcade Assistant (beta) {helpTopic} to get started and learn details on security, privacy and limitations.","proceed":"Proceed","exit":"Exit","promptsuggestions":"Prompt suggestions","promptsuggestion":"Prompt suggestion","assistantresponses":"Assistant responses","collapse":"Collapse","thumbsup":"Thumbs up","thumbsdown":"Thumbs down","refine":"Refine","startover":"Start over","helptopic":"help topic","agreement":"I agree to the {EsriPrivacyStatement} (and {Supplement}).","esriprivacystatement":"Esri Privacy Statement","supplement":"Supplement","disclaimerpt2":"AI-generated content may be inaccurate. Review before using.","replaceineditor":"Replace all code in editor","keepinmind":"Keep in mind the following:","beconsise":"Be concise, but also clear in your request","avoidambiguity":"Avoid ambiguity and vagueness","documentation":"documentation","useexamples":"Use examples to clarify your request","moredetails":"You do not need to use exact field names in your instructions, but more detail is generally better","seedocumentation":"Please see the {documentation} for more information, including limitations and additional resources.","assistantinformation":"Assistant information","profilecontextlabel":"Profile context: {profileName}","layercontextlabel":"Layer context: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"layers","numlayerssingular":"layer","responsecontext":"Response context","error":"Error","copytoclipboard":"Copy code to clipboard","copyprompttoclipboard":"Copy prompt to clipboard","copiedsuccessfully":"Copied successfully","helpful":"Helpful","unhelpful":"Unhelpful","prompsuggestion1":"Round value to one decimal place","prompsuggestion2":"Return Yes if value > 10"}
1
+ {"arcadeassistant":"Arcade assistant","beta":"Beta","expressionapplied":"Expression applied to editor","askaquestion":"Specify the calculation or logic you need in an Arcade expression. (e.g., Return Yes if value > 10)","enteraprompt":"Please enter a prompt","assistantresponse":"Assistant response","providefeedback":"Provide feedback","experiencehelps":"Your experience helps guide future improvements","submitfeedback":"Submit feedback","addtoeditor":"Add to editor","experiencehelpful":"Are you satisfied with the assistant's response?","describeexperience":"Describe your experience","besteffort":"Here's the assistant's best effort","ask":"Generate","disclaimercomment":"Expression generated by ArcGIS Arcade Assistant (beta)","feedback":"Feedback","erroroccurred":"An error occured.","recentprompts":"Recent prompts","generatingresponse":"Generating response...","introducing":"Introducing Arcade Assistant (beta)","capabilities":"The assistant uses artificial intelligence to generate Arcade expressions.","aiassistants":"AI assistants","useofassistant":"Use of AI assistants is turned off for your organization. To enable Arcade Assistant (beta), update the {aiassistants} preference in the organization settings page, and ensure beta apps and capabilities are not blocked.","configureassistants":"Configure assistants","settings":"Settings","new":"New","learnmore":"Learn more","welcome":"Welcome to the new assistant experience","beforeyougetstarted":"Before you get started be aware:","maybeincorrect":"AI generated code may occasionally be incorrect or biased. Review carefully.","pleasereadhelp":"Read the Arcade Assistant (beta) {helpTopic} to get started and learn details on security, privacy and limitations.","proceed":"Proceed","exit":"Exit","promptsuggestions":"Prompt suggestions","promptsuggestion":"Prompt suggestion","assistantresponses":"Assistant responses","collapse":"Collapse","thumbsup":"Thumbs up","thumbsdown":"Thumbs down","refine":"Refine","startover":"Start over","helptopic":"help topic","agreement":"I agree to the {EsriPrivacyStatement} (and {Supplement}).","esriprivacystatement":"Esri Privacy Statement","supplement":"Supplement","disclaimerpt2":"AI-generated content may be inaccurate. Review before using.","replaceineditor":"Replace all code in editor","keepinmind":"Keep in mind the following:","beconsise":"Be concise, but also clear in your request","avoidambiguity":"Avoid ambiguity and vagueness","documentation":"documentation","useexamples":"Use examples to clarify your request","moredetails":"You do not need to use exact field names in your instructions, but more detail is generally better","seedocumentation":"Please see the {documentation} for more information, including limitations and additional resources.","assistantinformation":"Assistant information","profilecontextlabel":"Profile context: {profileId}","layercontextlabel":"Layer context: {layerName}","numlayers":"{numLayers} {layerOrLayers}","numlayersplural":"layers","numlayerssingular":"layer","responsecontext":"Response context","error":"Error","copytoclipboard":"Copy code to clipboard","copyprompttoclipboard":"Copy prompt to clipboard","copiedsuccessfully":"Copied successfully","helpful":"Helpful","unhelpful":"Unhelpful","prompsuggestion1":"Round value to one decimal place","prompsuggestion2":"Return Yes if value > 10"}
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.93 */
4
- import{J as s,v as e}from"./YNQH23OP.js";import"./UVW7RTZM.js";import"./UGVEW6ZQ.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./DGSXN3MJ.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./VFIPWTCQ.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./4P5HZOXS.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./Z4L7OJKT.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./QDDMGH2B.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./3AOVYJDA.js"),"language,round"],"arcgis-editor-variables":[()=>import("./PQAIRRA6.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./TRILF5XK.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./WSQRFXIA.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./7FSEYOGD.js"),"loading,modelId"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
3
+ v5.0.0-next.94 */
4
+ import{J as s,v as e}from"./GNLRKAD5.js";import"./XQ7S4CXK.js";import"./W3I4P6B2.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./BQNN5XLA.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./6ROKBSGI.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./IOYAZ7XQ.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./5WHTEHPM.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./CL5UX33P.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./A6DSFADQ.js"),"language,round"],"arcgis-editor-variables":[()=>import("./3OHWJOMD.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./WZBQ3LI4.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./APXINRPI.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./KLR2TH2U.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.93 */
14
+ v5.0.0-next.94 */
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.93 */
8
+ v5.0.0-next.94 */
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,7 +1,7 @@
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.93 */
4
+ v5.0.0-next.94 */
5
5
  const O = "https://developers.arcgis.com/arcade/", P = 100, A = 100;
6
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";
@@ -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.93 */
13
+ v5.0.0-next.94 */
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.93 */
9
+ v5.0.0-next.94 */
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.93 */
7
+ v5.0.0-next.94 */
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.93 */
4
+ v5.0.0-next.94 */
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.93 */
3
+ v5.0.0-next.94 */
4
4
  const n = "cube";
5
5
  function u(e, t) {
6
6
  switch (e.type) {
@@ -17,7 +17,7 @@ import { filterApiLibraryForContext as de } from "@arcgis/languages-api-utils";
17
17
  import { Emitter as G, Uri as E } from "monaco-editor";
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.93 */
20
+ v5.0.0-next.94 */
21
21
  function k(t) {
22
22
  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";
23
23
  }
@@ -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.93 */
3
+ v5.0.0-next.94 */
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.93 */
8
+ v5.0.0-next.94 */
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.93 */
3
+ v5.0.0-next.94 */
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.93 */
6
+ v5.0.0-next.94 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-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.93 */
7
+ v5.0.0-next.94 */
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.93 */
13
+ v5.0.0-next.94 */
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.93 */
3
+ v5.0.0-next.94 */
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.93 */
5
+ v5.0.0-next.94 */
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.93 */
5
+ v5.0.0-next.94 */
6
6
  function b(e, r, s, u) {
7
7
  if (!r)
8
8
  return [];