@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.
Files changed (48) hide show
  1. package/dist/cdn/{ODCW355N.js → 363GMMQ6.js} +1 -1
  2. package/dist/cdn/{NZDJGAT2.js → 64X4ILDM.js} +1 -1
  3. package/dist/cdn/{6BS5M2LA.js → 7NI24N24.js} +1 -1
  4. package/dist/cdn/{XDBYQYMN.js → 7Z4V2ZOD.js} +1 -1
  5. package/dist/cdn/{27MWFBRL.js → CHTL74L2.js} +1 -1
  6. package/dist/cdn/GHTOL7NB.js +2 -0
  7. package/dist/cdn/{PNIRJAMR.js → GPIFJKPY.js} +1 -1
  8. package/dist/cdn/{MTIHPCIF.js → GS2ISVXJ.js} +1 -1
  9. package/dist/cdn/{C2NTBAZK.js → GVMVHGSK.js} +1 -1
  10. package/dist/cdn/{QVWSOD3N.js → GZ6HZKQZ.js} +1 -1
  11. package/dist/cdn/{OI3DH7N2.js → JLF32ABD.js} +1 -1
  12. package/dist/cdn/JQQBQXPD.js +2 -0
  13. package/dist/cdn/{MJ7MJPGA.js → KCU2C44H.js} +1 -1
  14. package/dist/cdn/{NK5J27LM.js → N33AALGQ.js} +1 -1
  15. package/dist/cdn/{VUZOZLS3.js → NOHSS7JG.js} +1 -1
  16. package/dist/cdn/{EOGGHL44.js → NWLOXWV6.js} +1 -1
  17. package/dist/cdn/{UQ6UIXTY.js → OGS4AWC2.js} +1 -1
  18. package/dist/cdn/{AHFU2DJA.js → P7I5ATMN.js} +1 -1
  19. package/dist/cdn/{SM3MA3KP.js → REL6OK2I.js} +1 -1
  20. package/dist/cdn/{MR5ZGLNC.js → SATQDL5P.js} +1 -1
  21. package/dist/cdn/{BA546EMZ.js → SB3MM5EM.js} +1 -1
  22. package/dist/cdn/{G3BWRHPC.js → SKTKTWIV.js} +1 -1
  23. package/dist/cdn/{TQNCGG32.js → TCLNQ7Z6.js} +1 -1
  24. package/dist/cdn/{CMZFQA5X.js → TNA5F36E.js} +1 -1
  25. package/dist/cdn/{UFDDEHND.js → TSZHSRGH.js} +1 -1
  26. package/dist/cdn/{FEYQMPLI.js → UCX6WHKQ.js} +1 -1
  27. package/dist/cdn/{R5QVN7GZ.js → WL2QW4SI.js} +1 -1
  28. package/dist/cdn/{Q376WIX4.js → WN4UL6U4.js} +1 -1
  29. package/dist/cdn/WP6BSOSW.js +2 -0
  30. package/dist/cdn/{UB7TEPYB.js → XN56YGFQ.js} +1 -1
  31. package/dist/cdn/Y3KOWWO5.js +2 -0
  32. package/dist/cdn/{KLNTCPWU.js → YE7HDVYS.js} +1 -1
  33. package/dist/cdn/{FZHOCYLK.js → YJW6NUWX.js} +1 -1
  34. package/dist/cdn/{VJG7CIFY.js → YTQ4K7PQ.js} +1 -1
  35. package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
  36. package/dist/cdn/assets/code-editor/sql-layer.worker.js +619 -602
  37. package/dist/cdn/index.js +1 -1
  38. package/dist/components/arcgis-arcade-editor/customElement.js +15 -17
  39. package/dist/components/arcgis-code-editor/customElement.js +88 -97
  40. package/dist/components/arcgis-sql-layer-editor/customElement.js +2 -2
  41. package/dist/docs/api.json +1 -1
  42. package/dist/docs/docs.json +1 -1
  43. package/dist/docs/web-types.json +1 -1
  44. package/package.json +6 -6
  45. package/dist/cdn/BCUUVBXH.js +0 -2
  46. package/dist/cdn/JHCVXLYB.js +0 -2
  47. package/dist/cdn/W7UVGDPL.js +0 -2
  48. 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;"), s = `${this.messages.placeholder ?? "Start filtering data using SQL query syntax"}
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";