@arcgis/coding-components 5.0.0-next.50 → 5.0.0-next.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addons.js +1 -1
- package/dist/cdn/{EDQJ4DZR.js → 2KEAFDQY.js} +2 -2
- package/dist/cdn/3EVAMJ2S.js +62 -0
- package/dist/cdn/{NER3F7V3.js → 3K6SQGUU.js} +2 -2
- package/dist/cdn/{PYDQLQZO.js → 524JT7EM.js} +2 -2
- package/dist/cdn/{A3FAAF3H.js → 52FBXRJA.js} +1 -1
- package/dist/cdn/{YGUYBGIM.js → 55E2A3GA.js} +2 -2
- package/dist/cdn/{A7FTFLV4.js → 5FQA7UR6.js} +2 -2
- package/dist/cdn/{EPIFY2VR.js → 5GP2WUOV.js} +1 -1
- package/dist/cdn/{MHL5RKE5.js → 5MBV422N.js} +2 -2
- package/dist/cdn/{EYFVKHVP.js → 64FSGWQP.js} +2 -2
- package/dist/cdn/{HEJ2D2QU.js → 6WSHFSRP.js} +2 -2
- package/dist/cdn/{TQZF5WEI.js → 73LCXAPJ.js} +2 -2
- package/dist/cdn/{CIBOSZ2V.js → BPDO7HQA.js} +1 -1
- package/dist/cdn/{3Y733UJR.js → CBGWGP3L.js} +2 -2
- package/dist/cdn/{CPWYWNOP.js → CEHSWZKU.js} +2 -2
- package/dist/cdn/{K7PG5U6W.js → D2MCKLEA.js} +2 -2
- package/dist/cdn/{X7F5D4VA.js → DPRDBWKG.js} +2 -2
- package/dist/cdn/{63KQIV5V.js → EFWURHUS.js} +2 -2
- package/dist/cdn/{C52JGS5N.js → EPCWTDHV.js} +2 -2
- package/dist/cdn/{DA5KZLMN.js → ERTKU3QY.js} +2 -2
- package/dist/cdn/{IZBYAGUQ.js → F333TPTZ.js} +2 -2
- package/dist/cdn/{WUMWVZZK.js → F3WXN2NE.js} +2 -2
- package/dist/cdn/{NV5GKSO6.js → G3BE7TQK.js} +2 -2
- package/dist/cdn/{NKT5UZFP.js → GL44QYQA.js} +2 -2
- package/dist/cdn/{5YNQ2D5S.js → HBD22PYZ.js} +3 -3
- package/dist/cdn/{WN4IIZPY.js → HPWMAS6V.js} +2 -2
- package/dist/cdn/{OBWP5GHD.js → JHSK4EWV.js} +1 -1
- package/dist/cdn/{QS2KFOBK.js → JUDJNCPX.js} +2 -2
- package/dist/cdn/{PBECRFLR.js → MBQ26ORH.js} +2 -2
- package/dist/cdn/{3RHG7CIL.js → MI3GJFI6.js} +2 -2
- package/dist/cdn/{NB77OUMQ.js → NBHQSTDW.js} +2 -2
- package/dist/cdn/{FMBQAZAN.js → NI4HTJIA.js} +1 -1
- package/dist/cdn/{YNOGYZHA.js → NRSZ6NQW.js} +2 -2
- package/dist/cdn/{KZIT4ISV.js → NW5SSBUW.js} +2 -2
- package/dist/cdn/{4VWE222D.js → OLII3ZBA.js} +2 -2
- package/dist/cdn/{5QWAKCLT.js → RI535N3A.js} +2 -2
- package/dist/cdn/{3RBWQ2PI.js → RQPBECA6.js} +2 -2
- package/dist/cdn/{H7Z7Q333.js → S7WCHV76.js} +1 -1
- package/dist/cdn/{SCPIXD46.js → SFSX65I7.js} +2 -2
- package/dist/cdn/{MN5COMH5.js → TGKBE3TF.js} +2 -2
- package/dist/cdn/{6Y5OA6RA.js → UK4552KK.js} +2 -2
- package/dist/cdn/{AXGPWMOK.js → V7QG4PND.js} +2 -2
- package/dist/cdn/{YTCWMXES.js → WKKRDC7L.js} +1 -1
- package/dist/cdn/{RLNZT7YU.js → WLRZKOSL.js} +2 -2
- package/dist/cdn/{FW224ELU.js → XOHWIBHD.js} +2 -2
- package/dist/cdn/{36UZPGBN.js → ZDOHP46G.js} +2 -2
- package/dist/cdn/ZJ2NH2G3.js +4 -0
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/colorize.js +1 -1
- package/dist/chunks/editor.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +527 -505
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-expr-service-accessors.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utilities.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-code-viewer/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/monacoStyles.js +1 -1
- package/package.json +5 -5
- package/dist/cdn/FHDL6XJJ.js +0 -63
- package/dist/cdn/O5JPV76R.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.
|
|
4
|
-
async function t(){return await import("./
|
|
3
|
+
v5.0.0-next.51 */
|
|
4
|
+
async function t(){return await import("./ZJ2NH2G3.js").then(m=>m.default)}export{t as a};
|
|
@@ -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.
|
|
4
|
-
import{a as t,b as e}from"./
|
|
3
|
+
v5.0.0-next.51 */
|
|
4
|
+
import{a as t,b as e}from"./5MBV422N.js";import"./V7QG4PND.js";import"./JHSK4EWV.js";var i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
|
|
@@ -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.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.51 */
|
|
4
|
+
import a from"./6WSHFSRP.js";import{b as m,c as y,d as h}from"./5GP2WUOV.js";import{g as f}from"./52FBXRJA.js";import{K as u}from"./UK4552KK.js";export default $arcgis.t(([{e:b,g:d,h:g,j:F,k:M}])=>{var A=o=>{let e=o.variables[0],i=e&&e.type==="featureSet"?w(e):void 0,{apiVersion:t,bundles:a,hiddenApiItems:s}=o.toEditorProfileDefinition();return{apiVersion:t,bundles:a,variables:i?[i]:[],hiddenApiItems:s?.map(r=>r.toLowerCase())}};function w(o){let{name:e}=o,i=o.getDescription(),{definition:t}=o.toProfileVariableDefinition(),a={label:e,detail:e,insertText:e,insertTextMode:h.asIs,insertTextFormat:y.PlainText,kind:m.Field},s={name:e,description:i,type:"dictionary",properties:[],completion:a};if(!t||!("fields"in t))return s;let[r,l]=g(t.fields,i);return s.properties=r,a.documentation={kind:"markdown",value:l},s}var P={id:"field-calculation",variables:[{name:"$layer",type:"featureSet",description:"The layer being calculated."}]};function T(){return P}function I(o){if(!d(o))return;let e=T();if(!e)return;let i={variables:[],hiddenApiItems:o.hiddenApiItems?.map(t=>t.toLowerCase())};return e.variables.forEach(t=>{if(o.disabledVariables?.includes(t.name))return;let a=o.definitions[t.name];switch(t.type){case"featureSet":return b(a)?i.variables.push({...t,type:t.type,definition:a}):void 0;default:throw Error(`sdkVariable type not supported (yet) type: ${t.type}`)}}),i}var x="arcgis-sql-expression",p=class extends M{constructor(){super(x,{apiPath:"./assets/sql-language/api",apiPrefix:"sql-api.t9n."}),this._languageId=x,this._layerMap=new Map}updateFeatureLayerForModel(e,i){let t=this._getApiKey(e);this._layerMap.set(t,i)}getFeatureLayerForModel(e){let i=this._getApiKey(e);return this._layerMap.get(i)}async setProfileForModel(e,i,t={locale:"en"}){d(i)&&(i=I(i));let a=await f(t.locale,u("./assets/editor-profile/t9n"),"messages.");if(!a)throw new Error(`Failed to load the language bundle for ${t.locale}`);this.disposeForModel(e);let s=this._getApiKey(e),r=new F(i,a);this._modelToProfileMap.set(s,r);let l=A(r);this.updateApiContextForModel(e,{locale:t.locale,profile:l});let c=i?.variables?.find(v=>v.name==="$layer");c&&this.updateFeatureLayerForModel(e,c.definition)}},n=new p,k={setProfileForModel:n.setProfileForModel.bind(n),getApiLibraryForModel:n.getApiLibraryForModel.bind(n)};return n},a)
|