@arcgis/coding-components 4.32.0-next.75 → 4.32.0-next.77
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/arcgis-coding-components/{QX6JC23U.js → 2BYFAVR4.js} +2 -2
- package/dist/arcgis-coding-components/{NRASYFXD.js → 2CZP5I6M.js} +2 -2
- package/dist/arcgis-coding-components/{W3QAW4SK.js → 2KBIIX3C.js} +2 -2
- package/dist/arcgis-coding-components/{ZLFJNU6W.js → 3X7TGWWB.js} +2 -2
- package/dist/arcgis-coding-components/{2U3V6HLJ.js → 42PCSMAB.js} +2 -2
- package/dist/arcgis-coding-components/{4NWRT4BQ.js → 56OWG4D3.js} +2 -2
- package/dist/arcgis-coding-components/{EU2FGJHH.js → 67G7UZN5.js} +1 -1
- package/dist/arcgis-coding-components/{Q4BJ5R27.js → D6ATTKRO.js} +2 -2
- package/dist/arcgis-coding-components/{MMPXM7U6.js → DCJ5ACXG.js} +2 -2
- package/dist/arcgis-coding-components/{SPVXY56A.js → DGYCUQRW.js} +2 -2
- package/dist/arcgis-coding-components/{SZA3BGKS.js → DYF5VC2Y.js} +2 -2
- package/dist/arcgis-coding-components/{DXTKJ2KP.js → FSYDFLPU.js} +3 -3
- package/dist/arcgis-coding-components/{WMXGLRXX.js → GGTCRTGX.js} +2 -2
- package/dist/arcgis-coding-components/{JAJSGEMB.js → GNZ4KPNB.js} +2 -2
- package/dist/arcgis-coding-components/{GC66TIUZ.js → GYCAK5SH.js} +2 -2
- package/dist/arcgis-coding-components/{J3UZXH5Z.js → H7X25QGW.js} +2 -2
- package/dist/arcgis-coding-components/{KWGUYFI7.js → HF7KLOGL.js} +2 -2
- package/dist/arcgis-coding-components/{ZJAW22KR.js → IE6W7C7X.js} +2 -2
- package/dist/arcgis-coding-components/{RNA5CDOZ.js → IS4BQICA.js} +2 -2
- package/dist/arcgis-coding-components/{KAJA2X34.js → K754VCBM.js} +2 -2
- package/dist/arcgis-coding-components/{GILUZVPK.js → KDBSP5B6.js} +2 -2
- package/dist/arcgis-coding-components/{IO62456K.js → L5XOZ7S4.js} +2 -2
- package/dist/arcgis-coding-components/{DCSGBSOH.js → ML6N4DAP.js} +1 -1
- package/dist/arcgis-coding-components/{VBPQ6LDV.js → N5NDMCD6.js} +2 -2
- package/dist/arcgis-coding-components/{72HB67M6.js → O2RXYXHG.js} +2 -2
- package/dist/arcgis-coding-components/{KDMA3ELX.js → PQ7O7HRU.js} +2 -2
- package/dist/arcgis-coding-components/{OUDP3KDY.js → RHXYLDAD.js} +2 -2
- package/dist/arcgis-coding-components/{M4SXM6SF.js → ROG2E2K2.js} +2 -2
- package/dist/arcgis-coding-components/{UA3Q7RYD.js → RPES32Y7.js} +2 -2
- package/dist/arcgis-coding-components/{BI7NWVP6.js → S4QCKN2Y.js} +2 -2
- package/dist/arcgis-coding-components/{OFYM3GAP.js → SFDRBKRD.js} +2 -2
- package/dist/arcgis-coding-components/{GJ6J5L6S.js → SYYNUSQQ.js} +2 -2
- package/dist/arcgis-coding-components/{V3EMEUWI.js → TOULL2F4.js} +1 -1
- package/dist/arcgis-coding-components/{GUQX3EFO.js → WGERBSMU.js} +2 -2
- package/dist/arcgis-coding-components/{XSUPOHRZ.js → YR2XRCAU.js} +1 -1
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +46 -46
- 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/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- 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/useT9n.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-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/utils/profile/editor-profile.d.ts +3 -3
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.77
|
|
5
5
|
*/
|
|
6
|
-
import{b as g,d,e as b,f as F,g as M}from"./
|
|
6
|
+
import{b as g,d,e as b,f as F,g as M}from"./SFDRBKRD.js";import{c as m,d as y,e as h}from"./ML6N4DAP.js";import{x as f}from"./N5NDMCD6.js";import{j as u}from"./TOULL2F4.js";var A=a=>{let e=a.variables[0],i=e&&e.type==="featureSet"?w(e):void 0,{apiVersion:t,bundles:o,hiddenApiItems:s}=a.toEditorProfileDefinition();return{apiVersion:t,bundles:o,variables:i?[i]:[],hiddenApiItems:s?.map(r=>r.toLowerCase())}};function w(a){let{name:e}=a,i=a.getDescription(),{definition:t}=a.toProfileVariableDefinition(),o={label:e,detail:e,insertText:e,insertTextMode:h.asIs,insertTextFormat:y.PlainText,kind:m.Field},s={name:e,description:i,type:"dictionary",properties:[],completion:o};if(!t||!("fields"in t))return s;let[r,l]=b(t.fields,i);return s.properties=r,o.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(a){if(!d(a))return;let e=T();if(!e)return;let i={variables:[],hiddenApiItems:a.hiddenApiItems?.map(t=>t.toLowerCase())};return e.variables.forEach(t=>{if(a.disabledVariables?.includes(t.name))return;let o=a.definitions[t.name];switch(t.type){case"featureSet":return g(o)?i.variables.push({...t,type:t.type,definition:o}):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 o=await u(t.locale,f("./assets/arcade-language/t9n"),"messages.");if(!o)throw new Error(`Failed to load the language bundle for ${t.locale}`);this.disposeForModel(e);let s=this._getApiKey(e),r=new F(i,o);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)};export{n as a};
|