@arcgis/coding-components 5.1.0-next.94 → 5.1.0-next.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ODCW355N.js → 363GMMQ6.js} +1 -1
- package/dist/cdn/{NZDJGAT2.js → 64X4ILDM.js} +1 -1
- package/dist/cdn/{6BS5M2LA.js → 7NI24N24.js} +1 -1
- package/dist/cdn/{XDBYQYMN.js → 7Z4V2ZOD.js} +1 -1
- package/dist/cdn/{27MWFBRL.js → CHTL74L2.js} +1 -1
- package/dist/cdn/GHTOL7NB.js +2 -0
- package/dist/cdn/{PNIRJAMR.js → GPIFJKPY.js} +1 -1
- package/dist/cdn/{MTIHPCIF.js → GS2ISVXJ.js} +1 -1
- package/dist/cdn/{C2NTBAZK.js → GVMVHGSK.js} +1 -1
- package/dist/cdn/{QVWSOD3N.js → GZ6HZKQZ.js} +1 -1
- package/dist/cdn/{OI3DH7N2.js → JLF32ABD.js} +1 -1
- package/dist/cdn/JQQBQXPD.js +2 -0
- package/dist/cdn/{MJ7MJPGA.js → KCU2C44H.js} +1 -1
- package/dist/cdn/{NK5J27LM.js → N33AALGQ.js} +1 -1
- package/dist/cdn/{VUZOZLS3.js → NOHSS7JG.js} +1 -1
- package/dist/cdn/{EOGGHL44.js → NWLOXWV6.js} +1 -1
- package/dist/cdn/{UQ6UIXTY.js → OGS4AWC2.js} +1 -1
- package/dist/cdn/{AHFU2DJA.js → P7I5ATMN.js} +1 -1
- package/dist/cdn/{SM3MA3KP.js → REL6OK2I.js} +1 -1
- package/dist/cdn/{MR5ZGLNC.js → SATQDL5P.js} +1 -1
- package/dist/cdn/{BA546EMZ.js → SB3MM5EM.js} +1 -1
- package/dist/cdn/{G3BWRHPC.js → SKTKTWIV.js} +1 -1
- package/dist/cdn/{TQNCGG32.js → TCLNQ7Z6.js} +1 -1
- package/dist/cdn/{CMZFQA5X.js → TNA5F36E.js} +1 -1
- package/dist/cdn/{UFDDEHND.js → TSZHSRGH.js} +1 -1
- package/dist/cdn/{FEYQMPLI.js → UCX6WHKQ.js} +1 -1
- package/dist/cdn/{R5QVN7GZ.js → WL2QW4SI.js} +1 -1
- package/dist/cdn/{Q376WIX4.js → WN4UL6U4.js} +1 -1
- package/dist/cdn/WP6BSOSW.js +2 -0
- package/dist/cdn/{UB7TEPYB.js → XN56YGFQ.js} +1 -1
- package/dist/cdn/Y3KOWWO5.js +2 -0
- package/dist/cdn/{KLNTCPWU.js → YE7HDVYS.js} +1 -1
- package/dist/cdn/{FZHOCYLK.js → YJW6NUWX.js} +1 -1
- package/dist/cdn/{VJG7CIFY.js → YTQ4K7PQ.js} +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
- package/dist/cdn/assets/code-editor/sql-layer.worker.js +619 -602
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +15 -17
- package/dist/components/arcgis-code-editor/customElement.js +88 -97
- package/dist/components/arcgis-sql-layer-editor/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/BCUUVBXH.js +0 -2
- package/dist/cdn/JHCVXLYB.js +0 -2
- package/dist/cdn/W7UVGDPL.js +0 -2
- package/dist/cdn/XSXXLPXK.js +0 -2
|
@@ -85,7 +85,7 @@ class L extends g {
|
|
|
85
85
|
}
|
|
86
86
|
await t.loadSource();
|
|
87
87
|
let i;
|
|
88
|
-
const s = t.fieldInfos.filter((a) => a.type === "geometry" && !i ? (i = a.name, !0) : a.type !== "geometry").map((a) => a.name).filter(Boolean), c = `select ${s.length ? s.join(", ") : "*"} from ${t.snippet}
|
|
88
|
+
const s = t.fieldInfos.filter((a) => a.type === "geometry" && !i ? (i = a.name, !0) : a.type !== "geometry").map((a) => a.name).filter(Boolean), c = `select ${s.length ? s.join(", ") : "*"} from ${t.snippet}`;
|
|
89
89
|
E(this._codeEditorElt.value?.editorInstance, c, "replace", "");
|
|
90
90
|
}
|
|
91
91
|
_getTablesVariable() {
|
|
@@ -97,7 +97,7 @@ class L extends g {
|
|
|
97
97
|
return t.tableVariables.find((i) => i.snippet === e);
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
const e = this._getTablesVariable(), i = String(this.messages.placeholderexample ?? "Example: {sqlQueryExample}").replace("{sqlQueryExample}", "select field1, field2 from db.dataset
|
|
100
|
+
const e = this._getTablesVariable(), i = String(this.messages.placeholderexample ?? "Example: {sqlQueryExample}").replace("{sqlQueryExample}", "select field1, field2 from db.dataset"), s = `${this.messages.placeholder ?? "Start filtering data using SQL query syntax"}
|
|
101
101
|
${i}`;
|
|
102
102
|
return r`<arcgis-code-editor-shell><arcgis-code-editor slot=editor .language=${this._resolvedLanguage} .modelId=${this._modelId} .value=${this.script ?? ""} @arcgisValueChange=${this._onCodeEditorValueChange} .editorOptions=${{ placeholder: s, ...this.editorOptions }} ${b(this._codeEditorElt)}></arcgis-code-editor>${!this.hideSideBar && r`<arcgis-editor-variables slot=side-panel .variable=${e} .heading=${this.messages.tables ?? "Tables"} .messageOverrides=${{ profileempty: this.messages.profileempty }} .closed=${this.openedSidePanel !== "variables"} class=${m(this.openedSidePanel === "variables" ? "" : "hidden")} .loading=${this._preparing} .modelId=${this._modelId} @arcgisInternalItemSelected=${this._onItemSelected} @arcgisInternalClosePanel=${() => {
|
|
103
103
|
this.openedSidePanel = "none";
|