@arcgis/coding-components 5.2.0-next.136 → 5.2.0-next.138

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 (255) hide show
  1. package/dist/cdn/2G4FXGUW.js +2 -0
  2. package/dist/cdn/{4OC4PWCA.js → 2K2DUTEX.js} +2 -2
  3. package/dist/cdn/2MUU37FH.js +2 -0
  4. package/dist/cdn/{JNI62OTM.js → 33VE4JBP.js} +2 -2
  5. package/dist/cdn/{HZSPZILM.js → 375DJPSU.js} +2 -2
  6. package/dist/cdn/{D4TRKALK.js → 3DMULL6Y.js} +2 -2
  7. package/dist/cdn/{W6YYQCBS.js → 3KHLUWP6.js} +2 -2
  8. package/dist/cdn/{FGO22NCZ.js → 3LLBOQET.js} +2 -2
  9. package/dist/cdn/{WBYKVSV4.js → 3MV7L6WD.js} +2 -2
  10. package/dist/cdn/{JW63G7JR.js → 4JOBVTMO.js} +2 -2
  11. package/dist/cdn/{5EIPVOGO.js → 4SCAQXGL.js} +2 -2
  12. package/dist/cdn/{4YFE3KBC.js → 55Q2G4OY.js} +2 -2
  13. package/dist/cdn/{XVT2TWEJ.js → 56TCXNYJ.js} +2 -2
  14. package/dist/cdn/{467GNIKK.js → 5M4Y6BPH.js} +2 -2
  15. package/dist/cdn/{PVTDESVT.js → 5QFCRDPV.js} +2 -2
  16. package/dist/cdn/{WMQL7T43.js → 5RKRCDUO.js} +2 -2
  17. package/dist/cdn/{XG3S7JQW.js → 6AJWW3LS.js} +2 -2
  18. package/dist/cdn/{TUQPDQ74.js → 6EM6CS5H.js} +2 -2
  19. package/dist/cdn/{J4I4EROF.js → 6NBR3CBG.js} +1 -1
  20. package/dist/cdn/{BTLDXLFC.js → 6NME5GYU.js} +2 -2
  21. package/dist/cdn/{6HKTUV2Z.js → 7IMHQO2V.js} +2 -2
  22. package/dist/cdn/7IPPBEPF.js +3 -0
  23. package/dist/cdn/{XQSXGAPV.js → 7OG57VRP.js} +2 -2
  24. package/dist/cdn/{G3F6L5BF.js → 7YGGAMMI.js} +2 -2
  25. package/dist/cdn/{MZMKV7FA.js → A3VKXFUZ.js} +1 -1
  26. package/dist/cdn/{GYG7XT3I.js → A4GZ33K7.js} +2 -2
  27. package/dist/cdn/{ZLV7T4YS.js → AFPDVDE4.js} +2 -2
  28. package/dist/cdn/{2PZP3YWM.js → AW5IMWD6.js} +2 -2
  29. package/dist/cdn/{WJYR4BJG.js → B5GJ5YJV.js} +2 -2
  30. package/dist/cdn/{LEFE3FVL.js → BQAEB2CG.js} +1 -1
  31. package/dist/cdn/{36W5RXLG.js → BYGBU3GB.js} +2 -2
  32. package/dist/cdn/{PTLGMSM7.js → C33GYZXZ.js} +2 -2
  33. package/dist/cdn/{BFPEJYVB.js → C3LWMJ56.js} +1 -1
  34. package/dist/cdn/{MLQTKNOS.js → CC73R2YO.js} +2 -2
  35. package/dist/cdn/{KY7IXKSM.js → D6IZDRAG.js} +2 -2
  36. package/dist/cdn/{GWJWZDBK.js → DEEKUI7Y.js} +2 -2
  37. package/dist/cdn/{D5GWRYT7.js → DGJ7J5FA.js} +2 -2
  38. package/dist/cdn/{N634TYFB.js → DJSVI4SW.js} +2 -2
  39. package/dist/cdn/{LDUXIRRX.js → DUOYG2IK.js} +2 -2
  40. package/dist/cdn/DWVVNZOV.js +2 -0
  41. package/dist/cdn/{H2KLFHG3.js → E2AFCZFQ.js} +2 -2
  42. package/dist/cdn/{A3TU47C5.js → FEQYLZXB.js} +2 -2
  43. package/dist/cdn/{DKAMEAFP.js → FMX4KCA2.js} +2 -2
  44. package/dist/cdn/{7Z6G332Z.js → FXTQDR6G.js} +1 -1
  45. package/dist/cdn/{UZVUXHHW.js → G7K5HHRI.js} +2 -2
  46. package/dist/cdn/{SXM2EQHN.js → GLGGJTZV.js} +2 -2
  47. package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
  48. package/dist/cdn/{HLTDO25M.js → H2UPP7AN.js} +2 -2
  49. package/dist/cdn/{Y2QWXLND.js → HBRJUCJA.js} +2 -2
  50. package/dist/cdn/{SIP637YL.js → HICJC3K4.js} +2 -2
  51. package/dist/cdn/{5YEMW2UC.js → HVCJZ7GU.js} +2 -2
  52. package/dist/cdn/{ISYMIYR5.js → HZRDPUZY.js} +2 -2
  53. package/dist/cdn/{ZRGZPKPU.js → IRADQYMM.js} +2 -2
  54. package/dist/cdn/{5HKDO4SX.js → JPCKFSCN.js} +1 -1
  55. package/dist/cdn/{CP57L67B.js → JTDC4MHL.js} +2 -2
  56. package/dist/cdn/{AGJJ7FJX.js → JUF3UYBF.js} +2 -2
  57. package/dist/cdn/JUVALRBX.js +2 -0
  58. package/dist/cdn/{GK62ODPJ.js → JVG2GEOV.js} +2 -2
  59. package/dist/cdn/KLUYWWAO.js +2 -0
  60. package/dist/cdn/{ZQZRAXQ5.js → KQXINZTZ.js} +2 -2
  61. package/dist/cdn/{P47PXEKU.js → KVWBKELA.js} +2 -2
  62. package/dist/cdn/{EQKJWVNG.js → KYZIVRRE.js} +2 -2
  63. package/dist/cdn/{TUPOE2CF.js → L55CAL6A.js} +2 -2
  64. package/dist/cdn/{KSYZD77O.js → L5EAXK66.js} +2 -2
  65. package/dist/cdn/{57E5F75J.js → LT46MQ3R.js} +2 -2
  66. package/dist/cdn/{QDUPWXLI.js → LY2IFALR.js} +2 -2
  67. package/dist/cdn/{WHOYO2EQ.js → M76B3W3Y.js} +4 -4
  68. package/dist/cdn/{ZIITPBDA.js → MPFQRTM2.js} +2 -2
  69. package/dist/cdn/{ZGH54UQL.js → MS7IKLGS.js} +2 -2
  70. package/dist/cdn/{FH5UYXIE.js → MT3EN3JQ.js} +2 -2
  71. package/dist/cdn/{YCBGCWWV.js → N2AWQ7KB.js} +2 -2
  72. package/dist/cdn/{XWEX2VS6.js → N3TIODOB.js} +2 -2
  73. package/dist/cdn/{J72JBXLX.js → N3YRPFQR.js} +2 -2
  74. package/dist/cdn/{O6XP7VU2.js → N4JLGDFS.js} +3 -3
  75. package/dist/cdn/{MB3H26SY.js → NIVPC4BK.js} +2 -2
  76. package/dist/cdn/{GLWUBI25.js → NNVH66G7.js} +2 -2
  77. package/dist/cdn/{YJ4WRZOI.js → NSOQN5L7.js} +2 -2
  78. package/dist/cdn/{UZD32YRD.js → OBV47WCU.js} +2 -2
  79. package/dist/cdn/{USFPEQ7Q.js → OEKA3QCT.js} +2 -2
  80. package/dist/cdn/{OO3J7H7X.js → OJKCX7KO.js} +2 -2
  81. package/dist/cdn/{QYQXVQVS.js → OQKFGD5F.js} +2 -2
  82. package/dist/cdn/{NGWNHRDV.js → OVXVWXRX.js} +2 -2
  83. package/dist/cdn/{XCISKBJD.js → P3M7MP34.js} +2 -2
  84. package/dist/cdn/{C5WMGZYX.js → P4SMRR2P.js} +2 -2
  85. package/dist/cdn/{P5SQNRDH.js → PBTICSC2.js} +2 -2
  86. package/dist/cdn/{HUTT2UBA.js → PCKE4TCN.js} +2 -2
  87. package/dist/cdn/{Q2IQGLDP.js → PMVQBTIZ.js} +2 -2
  88. package/dist/cdn/{SP2OSSVP.js → Q7GROPRX.js} +2 -2
  89. package/dist/cdn/{IO6Q3255.js → QAELK3EI.js} +2 -2
  90. package/dist/cdn/{KSNDH6NJ.js → QRW7RXCV.js} +2 -2
  91. package/dist/cdn/QS6XQXBD.js +2 -0
  92. package/dist/cdn/{ABZ7ZFXX.js → RIKAOQYV.js} +2 -2
  93. package/dist/cdn/{CVJM5DJ5.js → RJOVUGPB.js} +2 -2
  94. package/dist/cdn/{7IJT3Z4F.js → ROTZLDIT.js} +2 -2
  95. package/dist/cdn/{XECHDNHQ.js → RRLOGYIL.js} +2 -2
  96. package/dist/cdn/{L7DAVIBM.js → RT5UOROF.js} +13 -13
  97. package/dist/cdn/{EXVPEWWR.js → RTUQFFHX.js} +2 -2
  98. package/dist/cdn/{UF7HDQEU.js → RTWZV4XI.js} +2 -2
  99. package/dist/cdn/{MO22NTSF.js → S3HNLKHY.js} +2 -2
  100. package/dist/cdn/{VHXEN75D.js → S52OMKJQ.js} +2 -2
  101. package/dist/cdn/S5M6I2QL.js +2 -0
  102. package/dist/cdn/{S5T6XTRV.js → SOG262WW.js} +2 -2
  103. package/dist/cdn/{6VFEED45.js → SR3TBOJY.js} +2 -2
  104. package/dist/cdn/{3G26WBEK.js → SVYY36W2.js} +2 -2
  105. package/dist/cdn/{KKD3ZAX7.js → SYNWLBAF.js} +2 -2
  106. package/dist/cdn/{AI6346MJ.js → T2AUH4ME.js} +2 -2
  107. package/dist/cdn/{UHQN4ZKV.js → T2HTSGVS.js} +2 -2
  108. package/dist/cdn/T3ZUZZY2.js +2 -0
  109. package/dist/cdn/T4YNKW5K.js +6 -0
  110. package/dist/cdn/{33BRQKI6.js → TA4G2LVC.js} +2 -2
  111. package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
  112. package/dist/cdn/{ZUCC43DN.js → TIIYEBB2.js} +1 -1
  113. package/dist/cdn/{QZ5SQVOZ.js → TKEKWLBE.js} +2 -2
  114. package/dist/cdn/{ZB5LSQCI.js → TKPHDVSX.js} +2 -2
  115. package/dist/cdn/{DNFQPV52.js → TOIOFT2S.js} +2 -2
  116. package/dist/cdn/{KFZFVK3W.js → TVVA6FEQ.js} +2 -2
  117. package/dist/cdn/{Q42IHUZ3.js → TWKY4BKI.js} +2 -2
  118. package/dist/cdn/{45R5XOFL.js → TXFIQJHJ.js} +2 -2
  119. package/dist/cdn/UH3YO32A.js +2 -0
  120. package/dist/cdn/{LW6VG5BJ.js → UNPBOORD.js} +2 -2
  121. package/dist/cdn/{QGSV4ECO.js → UVUWGKLM.js} +2 -2
  122. package/dist/cdn/{R7SJNYNM.js → V5J7KWVQ.js} +2 -2
  123. package/dist/cdn/{H5EGZU2S.js → VFCQQ2QW.js} +1 -1
  124. package/dist/cdn/{U2T7AGOO.js → VIBWCDPT.js} +2 -2
  125. package/dist/cdn/{DITC5ENP.js → VJH3R5OS.js} +2 -2
  126. package/dist/cdn/{ERQORLO4.js → VK74BPIN.js} +2 -2
  127. package/dist/cdn/{TKZNHPOT.js → VQR7ACO5.js} +2 -2
  128. package/dist/cdn/{JZKEFFFC.js → VTV2VG4H.js} +2 -2
  129. package/dist/cdn/{IF6VZF56.js → VU6OVSPO.js} +2 -2
  130. package/dist/cdn/{DSXNVNHP.js → VVFPLSXK.js} +2 -2
  131. package/dist/cdn/W52HXAM3.js +2 -0
  132. package/dist/cdn/{NQOXXF5T.js → W7BJ4EJL.js} +2 -2
  133. package/dist/cdn/{CJ2MVXSJ.js → W7SAG4KR.js} +2 -2
  134. package/dist/cdn/{2AXSYZEN.js → WCI43GIC.js} +2 -2
  135. package/dist/cdn/{FUBZOMVG.js → WFTDQL2F.js} +2 -2
  136. package/dist/cdn/{FRKDR2KF.js → WQCBBI46.js} +2 -2
  137. package/dist/cdn/{NFD5QRK7.js → WYBJRCXS.js} +2 -2
  138. package/dist/cdn/{NKGAHXNJ.js → XUZB7XNL.js} +3 -3
  139. package/dist/cdn/Y735OZSU.js +2 -0
  140. package/dist/cdn/{EIKXKAAA.js → YEFVOAFD.js} +2 -2
  141. package/dist/cdn/{ML3XEYX7.js → YQITW2XJ.js} +2 -2
  142. package/dist/cdn/{UYUJZDIZ.js → Z42TYXEQ.js} +2 -2
  143. package/dist/cdn/{MZWBKK5Y.js → Z5PSDQLD.js} +2 -2
  144. package/dist/cdn/{UXE4ASGX.js → ZPFMMHAW.js} +2 -2
  145. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ar.json +1 -1
  146. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.bg.json +1 -1
  147. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.bs.json +1 -1
  148. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ca.json +1 -1
  149. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.cs.json +1 -1
  150. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.da.json +1 -1
  151. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.de.json +1 -1
  152. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.el.json +1 -1
  153. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.en.json +1 -1
  154. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.es.json +1 -1
  155. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.et.json +1 -1
  156. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.fi.json +1 -1
  157. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.fr.json +1 -1
  158. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.he.json +1 -1
  159. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.hr.json +1 -1
  160. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.hu.json +1 -1
  161. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.id.json +1 -1
  162. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.it.json +1 -1
  163. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ja.json +1 -1
  164. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ko.json +1 -1
  165. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.lt.json +1 -1
  166. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.lv.json +1 -1
  167. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.nl.json +1 -1
  168. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.no.json +1 -1
  169. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.pl.json +1 -1
  170. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.pt-BR.json +1 -1
  171. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.pt-PT.json +1 -1
  172. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ro.json +1 -1
  173. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.ru.json +1 -1
  174. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.sk.json +1 -1
  175. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.sl.json +1 -1
  176. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.sr.json +1 -1
  177. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.sv.json +1 -1
  178. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.th.json +1 -1
  179. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.tr.json +1 -1
  180. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.uk.json +1 -1
  181. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.vi.json +1 -1
  182. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.zh-CN.json +1 -1
  183. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.zh-HK.json +1 -1
  184. package/dist/cdn/assets/arcade-debugger-output/t9n/messages.zh-TW.json +1 -1
  185. package/dist/cdn/assets/code-editor/sql-expr.worker.js +4585 -4421
  186. package/dist/cdn/index.js +2 -2
  187. package/dist/chunks/ArcadeDebuggerPreviewTabsState.js +1 -1
  188. package/dist/chunks/arcade-defaults.js +96 -103
  189. package/dist/chunks/arcade-executor.js +1 -1
  190. package/dist/chunks/arcade-mode.js +1 -1
  191. package/dist/chunks/arcade-service-accessors.js +1 -1
  192. package/dist/chunks/bigquery.js +1 -1
  193. package/dist/chunks/colorize.js +1 -1
  194. package/dist/chunks/debugger-value-components.js +1 -1
  195. package/dist/chunks/debugger-value-styles.js +1 -1
  196. package/dist/chunks/fields.js +1 -1
  197. package/dist/chunks/functional.js +1 -1
  198. package/dist/chunks/language-defaults-base.js +1 -1
  199. package/dist/chunks/markdown.js +1 -1
  200. package/dist/chunks/monaco-importer.js +1 -1
  201. package/dist/chunks/monaco-theme.js +1 -1
  202. package/dist/chunks/oracle.js +1 -1
  203. package/dist/chunks/postgres.js +1 -1
  204. package/dist/chunks/runtime.js +2 -2
  205. package/dist/chunks/setup-monaco-theme.js +35 -68
  206. package/dist/chunks/sql-expr-defaults.js +1 -1
  207. package/dist/chunks/sql-expr-mode.js +74 -62
  208. package/dist/chunks/sql-expr-service-accessors.js +36 -3
  209. package/dist/chunks/sql-layer-defaults.js +1 -1
  210. package/dist/chunks/sql-layer-mode.js +1 -1
  211. package/dist/chunks/sqlServer.js +1 -1
  212. package/dist/chunks/useT9n.js +1 -1
  213. package/dist/chunks/utilities.js +1 -1
  214. package/dist/chunks/utils.js +1 -1
  215. package/dist/chunks/utils2.js +1 -1
  216. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +23 -24
  217. package/dist/components/arcgis-arcade-debugger-console/customElement.js +1 -1
  218. package/dist/components/arcgis-arcade-debugger-output/customElement.js +9 -9
  219. package/dist/components/arcgis-arcade-editor/customElement.d.ts +12 -1
  220. package/dist/components/arcgis-arcade-editor/customElement.js +105 -105
  221. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  222. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  223. package/dist/components/arcgis-code-editor/customElement.js +13 -12
  224. package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
  225. package/dist/components/arcgis-code-viewer/customElement.js +3 -2
  226. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  227. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  228. package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +2 -0
  229. package/dist/components/arcgis-sql-expression-editor/customElement.js +14 -8
  230. package/dist/components/arcgis-sql-layer-editor/customElement.js +1 -1
  231. package/dist/components/types.d.ts +11 -0
  232. package/dist/docs/api.json +1 -1
  233. package/dist/docs/docs.json +1 -1
  234. package/dist/docs/vscode.html-custom-data.json +1 -1
  235. package/dist/docs/web-types.json +1 -1
  236. package/dist/index.js +1 -1
  237. package/dist/loader.js +7 -7
  238. package/dist/types/lumina.d.ts +1 -1
  239. package/dist/types/preact.d.ts +1 -1
  240. package/dist/types/react.d.ts +1 -1
  241. package/dist/types/stencil.d.ts +1 -1
  242. package/package.json +9 -9
  243. package/dist/cdn/DBAL7LSK.js +0 -2
  244. package/dist/cdn/EDJMOEXG.js +0 -2
  245. package/dist/cdn/FFLWFFHU.js +0 -2
  246. package/dist/cdn/FQWGIGBG.js +0 -2
  247. package/dist/cdn/G4VQ7X3L.js +0 -2
  248. package/dist/cdn/M4ASZPOM.js +0 -2
  249. package/dist/cdn/OKTFDNZ2.js +0 -2
  250. package/dist/cdn/PY2Q5GGO.js +0 -2
  251. package/dist/cdn/SQQXRZAR.js +0 -2
  252. package/dist/cdn/XMKMX4RT.js +0 -2
  253. package/dist/cdn/XUI74PBQ.js +0 -2
  254. package/dist/cdn/YCA4A2EF.js +0 -6
  255. package/dist/cdn/YG3C4FVJ.js +0 -2
@@ -1,5 +1,5 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { Uri as p, languages as s } from "monaco-editor";
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import { languages as t } from "monaco-editor";
3
3
  import "monaco-editor/editor/standalone/browser/standaloneServices.js";
4
4
  import "monaco-editor/editor/standalone/common/standaloneTheme.js";
5
5
  import "monaco-editor/platform/hover/browser/hover.js";
@@ -8,98 +8,65 @@ import "monaco-editor/editor/common/languages/supports/tokenization.js";
8
8
  import "monaco-editor/base/browser/dom.js";
9
9
  import "monaco-editor/editor/browser/editorDom.js";
10
10
  import "monaco-editor/editor/browser/controller/mouseTarget.js";
11
- import { b as t } from "./arcade-defaults.js";
12
- import { g as l } from "./arcade-service-accessors.js";
13
- import { i as d } from "./monaco-importer.js";
11
+ import { a as s, m as g, g as d } from "./sql-expr-service-accessors.js";
12
+ import { b as o } from "./arcade-defaults.js";
13
+ import { g as m } from "./arcade-service-accessors.js";
14
14
  import { a } from "./sql-expr-defaults.js";
15
- import { g as f } from "./sql-expr-service-accessors.js";
16
- import { t as h } from "./monaco-theme.js";
17
- const k = [
18
- "arcade",
19
- "arcgis-sql-expression",
20
- "sql-layer-sql-server",
21
- "sql-layer-postgres",
22
- "sql-layer-bigquery"
23
- ], i = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
24
- function c(e) {
25
- let r = g.get(e);
26
- return r || (r = Promise.withResolvers(), g.set(e, r)), r;
27
- }
28
- function u(e) {
29
- c(e).resolve();
30
- }
31
- function $(e) {
32
- return k.includes(e) ? c(e).promise : Promise.resolve();
33
- }
34
- function m(e, r) {
35
- return () => {
36
- i.has(e) || i.add(e), r();
37
- };
38
- }
39
- async function A(e) {
40
- if (i.has(e))
41
- return;
42
- (await d()).createModel("", e, p.parse("")).dispose();
43
- }
44
- s.register({
45
- id: t.languageId,
15
+ import { i as p } from "./monaco-importer.js";
16
+ import { t as c } from "./monaco-theme.js";
17
+ t.register({
18
+ id: o.languageId,
46
19
  aliases: ["Arcade", "arcade"],
47
20
  extensions: [".arc"],
48
21
  mimetypes: ["application/arcade"]
49
22
  });
50
- s.onLanguage(
51
- t.languageId,
52
- m(t.languageId, () => {
53
- l().then((e) => {
54
- e.setupMode(t), u(t.languageId);
23
+ t.onLanguage(
24
+ o.languageId,
25
+ s(o.languageId, () => {
26
+ m().then((e) => {
27
+ e.setupMode(o), g(o.languageId);
55
28
  }).catch((e) => {
56
29
  throw e;
57
30
  });
58
31
  })
59
32
  );
60
- s.register({
33
+ t.register({
61
34
  id: a.languageId,
62
35
  aliases: ["EsiSqlExpression", "sql-expression"],
63
36
  extensions: [".sql-expression"],
64
37
  mimetypes: ["application/sql-expression"]
65
38
  });
66
- s.onLanguage(
39
+ t.onLanguage(
67
40
  a.languageId,
68
- m(a.languageId, () => {
69
- f().then((e) => {
70
- e.setupMode(a), u(a.languageId);
41
+ s(a.languageId, () => {
42
+ d().then((e) => {
43
+ e.setupMode(a), g(a.languageId);
71
44
  }).catch((e) => {
72
45
  throw e;
73
46
  });
74
47
  })
75
48
  );
76
- y();
77
- function y() {
78
- d().then((e) => {
79
- ["light", "dark"].forEach((r) => {
80
- const n = r === "light" ? "vs" : "vs-dark", o = h[`${r}-theme`];
81
- e.defineTheme(n, {
82
- base: n,
49
+ u();
50
+ function u() {
51
+ p().then((e) => {
52
+ ["light", "dark"].forEach((n) => {
53
+ const i = n === "light" ? "vs" : "vs-dark", r = c[`${n}-theme`];
54
+ e.defineTheme(i, {
55
+ base: i,
83
56
  inherit: !0,
84
57
  rules: [
85
- { token: "comment.arcgis", foreground: o.comment },
86
- { token: "constant.arcgis", foreground: o.constant },
87
- { token: "keyword.arcgis", foreground: o.keyword },
88
- { token: "identifier.arcgis", foreground: o.identifier },
89
- { token: "number.arcgis", foreground: o.number },
90
- { token: "string.arcgis", foreground: o.string },
91
- { token: "operator.arcgis", foreground: o.operator },
92
- { token: "predefined.arcgis", foreground: o.predefined },
93
- { token: "date.arcgis", foreground: o.date }
58
+ { token: "comment.arcgis", foreground: r.comment },
59
+ { token: "constant.arcgis", foreground: r.constant },
60
+ { token: "keyword.arcgis", foreground: r.keyword },
61
+ { token: "identifier.arcgis", foreground: r.identifier },
62
+ { token: "number.arcgis", foreground: r.number },
63
+ { token: "string.arcgis", foreground: r.string },
64
+ { token: "operator.arcgis", foreground: r.operator },
65
+ { token: "predefined.arcgis", foreground: r.predefined },
66
+ { token: "date.arcgis", foreground: r.date }
94
67
  ],
95
68
  colors: {}
96
69
  });
97
70
  });
98
71
  });
99
72
  }
100
- export {
101
- m as a,
102
- u as m,
103
- A as s,
104
- $ as w
105
- };
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { e as c, g as P } from "./utils2.js";
3
3
  import { CompletionItemKind as h, InsertTextFormat as g, InsertTextMode as F } from "vscode-languageserver-types";
4
4
  import { i as b, L as w, E as x } from "./language-defaults-base.js";
@@ -1,5 +1,5 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { languages as h, Emitter as T } from "monaco-editor";
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import { languages as l, Emitter as S } from "monaco-editor";
3
3
  import "monaco-editor/editor/standalone/browser/standaloneServices.js";
4
4
  import "monaco-editor/editor/standalone/common/standaloneTheme.js";
5
5
  import "monaco-editor/platform/hover/browser/hover.js";
@@ -8,13 +8,13 @@ import "monaco-editor/editor/common/languages/supports/tokenization.js";
8
8
  import "monaco-editor/base/browser/dom.js";
9
9
  import "monaco-editor/editor/browser/editorDom.js";
10
10
  import "monaco-editor/editor/browser/controller/mouseTarget.js";
11
- import { i as E } from "./monaco-importer.js";
11
+ import { i as h } from "./monaco-importer.js";
12
12
  import { a as d } from "./sql-expr-defaults.js";
13
- import { debounce as S } from "@arcgis/toolkit/function";
14
- import { rethrowError as g } from "@arcgis/toolkit/log";
13
+ import { debounce as T } from "@arcgis/toolkit/function";
14
+ import { rethrowError as u } from "@arcgis/toolkit/log";
15
15
  import { g as f } from "./sql-expr-service-accessors.js";
16
- let p = Promise.withResolvers();
17
- class _ {
16
+ let E = Promise.withResolvers();
17
+ class m {
18
18
  constructor(e) {
19
19
  this._defaults = e, this._worker = null, this._client = null, this._configChangeListener = this._defaults.onDidChange(() => this.stopWorker());
20
20
  }
@@ -22,27 +22,27 @@ class _ {
22
22
  this._configChangeListener.dispose(), this.stopWorker();
23
23
  }
24
24
  stopWorker() {
25
- this._worker && (this._worker.dispose(), this._worker = null, p = Promise.withResolvers()), this._client = null;
25
+ this._worker && (this._worker.dispose(), this._worker = null, E = Promise.withResolvers()), this._client = null;
26
26
  }
27
27
  /**
28
28
  * Wait for the worker to be ready.
29
29
  * @returns A promise that resolves when the worker is ready.
30
30
  */
31
31
  static async waitForWorker() {
32
- return await p.promise;
32
+ return await E.promise;
33
33
  }
34
34
  async _getClientProxy() {
35
- const e = await E();
35
+ const e = await h();
36
36
  if (!this._client) {
37
- const { languageId: t } = this._defaults, i = window.MonacoEnvironment?.getWorker;
38
- if (!i)
37
+ const { languageId: t } = this._defaults, r = window.MonacoEnvironment?.getWorker;
38
+ if (!r)
39
39
  throw new Error(
40
40
  "MonacoEnvironment.getWorker is not configured. Call setupMonacoEnvironment(...) before creating SQL Expression workers."
41
41
  );
42
42
  this._worker = e.createWebWorker({
43
- worker: i("SqlExprWorker", t),
43
+ worker: r("SqlExprWorker", t),
44
44
  host: this._defaults.workerHost
45
- }), p.resolve(this._worker), this._client = this._worker.getProxy();
45
+ }), E.resolve(this._worker), this._client = this._worker.getProxy();
46
46
  }
47
47
  return await this._client;
48
48
  }
@@ -145,7 +145,7 @@ const N = [
145
145
  "SUBSTRING",
146
146
  "TRIM",
147
147
  "UPPER"
148
- ], R = {
148
+ ], x = {
149
149
  comments: {
150
150
  lineComment: "--",
151
151
  blockComment: ["/*", "*/"]
@@ -169,7 +169,7 @@ const N = [
169
169
  { open: '"', close: '"' },
170
170
  { open: "'", close: "'" }
171
171
  ]
172
- }, x = {
172
+ }, R = {
173
173
  defaultToken: "",
174
174
  tokenPostfix: ".arcgis",
175
175
  ignoreCase: !0,
@@ -252,91 +252,100 @@ class M {
252
252
  }
253
253
  async provideCompletionItems(e, t) {
254
254
  try {
255
- const i = await this._worker(e.uri), n = e.getWordUntilPosition(t), s = {
255
+ const r = await this._worker(e.uri), i = e.getWordUntilPosition(t), s = {
256
256
  startLineNumber: t.lineNumber,
257
257
  endLineNumber: t.lineNumber,
258
- startColumn: n.startColumn,
259
- endColumn: n.endColumn
258
+ startColumn: i.startColumn,
259
+ endColumn: i.endColumn
260
260
  }, c = this._defaults.getApiContextForModel(e.uri);
261
- return await i.doComplete(e.uri.toString(), s, t, c);
262
- } catch (i) {
263
- return g("SqlExprCompletionProvider")(i), { suggestions: [] };
261
+ return await r.doComplete(e.uri.toString(), s, t, c);
262
+ } catch (r) {
263
+ return u("SqlExprCompletionProvider")(r), { suggestions: [] };
264
264
  }
265
265
  }
266
266
  }
267
+ class D {
268
+ constructor(e) {
269
+ this._worker = e;
270
+ }
271
+ async provideDocumentFormattingEdits(e) {
272
+ const t = await this._worker(e.uri), i = (await h()).tokenize(e.getValue(), e.getLanguageId());
273
+ return await t.doFormat(e.uri.toString(), i);
274
+ }
275
+ }
267
276
  class b {
268
277
  constructor(e, t, {
269
- defaults: i,
270
- diagnosticService: n
278
+ defaults: r,
279
+ diagnosticService: i
271
280
  }) {
272
- this._languageId = e, this._worker = t, this._disposables = [], this._modelListeners = /* @__PURE__ */ new Map(), this._diagnosticsService = n, this._defaults = i, E().then((s) => {
281
+ this._languageId = e, this._worker = t, this._disposables = [], this._modelListeners = /* @__PURE__ */ new Map(), this._diagnosticsService = i, this._defaults = r, h().then((s) => {
273
282
  const c = (o) => {
274
- const r = o.getLanguageId();
275
- if (r !== this._languageId)
283
+ const n = o.getLanguageId();
284
+ if (n !== this._languageId)
276
285
  return;
277
- const l = S(() => {
278
- this._doValidate(o, r).catch((I) => {
286
+ const g = T(() => {
287
+ this._doValidate(o, n).catch((I) => {
279
288
  throw I;
280
289
  });
281
- }), w = o.onDidChangeContent(l), C = o.onDidChangeAttached(l);
282
- this._modelListeners.set(o.uri.toString(), [w, C]), this._doValidate(o, r).catch(g("SqlExprDiagnosticsAdapter"));
283
- }, u = (o) => {
284
- const r = o.uri.toString();
290
+ }), _ = o.onDidChangeContent(g), C = o.onDidChangeAttached(g);
291
+ this._modelListeners.set(o.uri.toString(), [_, C]), this._doValidate(o, n).catch(u("SqlExprDiagnosticsAdapter"));
292
+ }, p = (o) => {
293
+ const n = o.uri.toString();
285
294
  s.setModelMarkers(o, this._languageId, []);
286
- const l = this._modelListeners.get(r);
287
- if (l) {
288
- for (; l.length; )
289
- l.pop()?.dispose();
290
- this._modelListeners.delete(r);
295
+ const g = this._modelListeners.get(n);
296
+ if (g) {
297
+ for (; g.length; )
298
+ g.pop()?.dispose();
299
+ this._modelListeners.delete(n);
291
300
  }
292
301
  };
293
- this._disposables.push(s.onDidCreateModel(c)), this._disposables.push(s.onWillDisposeModel((o) => u(o))), this._disposables.push(
302
+ this._disposables.push(s.onDidCreateModel(c)), this._disposables.push(s.onWillDisposeModel((o) => p(o))), this._disposables.push(
294
303
  s.onDidChangeModelLanguage((o) => {
295
- u(o.model), c(o.model);
304
+ p(o.model), c(o.model);
296
305
  })
297
306
  ), this._disposables.push(
298
- i.onDidChange(() => {
307
+ r.onDidChange(() => {
299
308
  s.getModels().forEach((o) => {
300
- o.getLanguageId() === this._languageId && (u(o), c(o));
309
+ o.getLanguageId() === this._languageId && (p(o), c(o));
301
310
  });
302
311
  })
303
312
  ), this._disposables.push(
304
- i.onModelContextDidChange((o) => {
305
- s.getModels().forEach((r) => {
306
- r.getLanguageId() === this._languageId && r.uri.toString() === o && this._doValidate(r, this._languageId).catch(g("SqlExprDiagnosticsAdapter"));
313
+ r.onModelContextDidChange((o) => {
314
+ s.getModels().forEach((n) => {
315
+ n.getLanguageId() === this._languageId && n.uri.toString() === o && this._doValidate(n, this._languageId).catch(u("SqlExprDiagnosticsAdapter"));
307
316
  });
308
317
  })
309
318
  ), this._disposables.push({
310
319
  dispose: () => {
311
- this._modelListeners.forEach((o) => o.forEach((r) => r.dispose())), this._modelListeners.clear();
320
+ this._modelListeners.forEach((o) => o.forEach((n) => n.dispose())), this._modelListeners.clear();
312
321
  }
313
322
  }), s.getModels().forEach(c);
314
323
  });
315
324
  }
316
325
  async _doValidate(e, t) {
317
- const i = await E();
326
+ const r = await h();
318
327
  if (e.isAttachedToEditor())
319
328
  try {
320
- const n = await this._worker(e.uri), s = this._defaults.getApiContextForModel(e.uri), c = await n.doValidation(e.uri.toString(), s);
321
- this._diagnosticsService.fireDiagnosticsChange(e.uri, c), i.setModelMarkers(e, t, c);
322
- } catch (n) {
323
- g("SqlExprDiagnosticsAdapter")(n);
329
+ const i = await this._worker(e.uri), s = this._defaults.getApiContextForModel(e.uri), c = await i.doValidation(e.uri.toString(), s);
330
+ this._diagnosticsService.fireDiagnosticsChange(e.uri, c), r.setModelMarkers(e, t, c);
331
+ } catch (i) {
332
+ u("SqlExprDiagnosticsAdapter")(i);
324
333
  }
325
334
  }
326
335
  }
327
- let m;
336
+ let w;
328
337
  async function Z(...a) {
329
- return await _.waitForWorker(), await new Promise((e, t) => {
330
- if (!m) {
338
+ return await m.waitForWorker(), await new Promise((e, t) => {
339
+ if (!w) {
331
340
  t(new Error("sql expression worker not registered!"));
332
341
  return;
333
342
  }
334
- e(m(...a));
343
+ e(w(...a));
335
344
  });
336
345
  }
337
- class D {
346
+ class O {
338
347
  constructor() {
339
- this._onDiagnosticsChange = new T();
348
+ this._onDiagnosticsChange = new S();
340
349
  }
341
350
  /**
342
351
  * An event to signal changes to the diagnostics.
@@ -354,15 +363,18 @@ class D {
354
363
  this._onDiagnosticsChange.fire({ uri: e, diagnostics: t });
355
364
  }
356
365
  }
357
- const k = new D();
366
+ const k = new O();
358
367
  async function X() {
359
368
  return await f(), k;
360
369
  }
361
370
  function $(a) {
362
- const e = new _(a), t = async (...n) => await e.getLanguageServiceWorker(...n);
363
- m = t, h.setMonarchTokensProvider(d.languageId, x), h.setLanguageConfiguration(d.languageId, R);
364
- const i = new M(t, d);
365
- h.registerCompletionItemProvider(d.languageId, i), new b(a.languageId, t, {
371
+ const e = new m(a), t = async (...i) => await e.getLanguageServiceWorker(...i);
372
+ w = t, l.setMonarchTokensProvider(d.languageId, R), l.setLanguageConfiguration(d.languageId, x);
373
+ const r = new M(t, d);
374
+ l.registerCompletionItemProvider(d.languageId, r), l.registerDocumentFormattingEditProvider(
375
+ d.languageId,
376
+ new D(t)
377
+ ), new b(a.languageId, t, {
366
378
  defaults: a,
367
379
  diagnosticService: k
368
380
  });
@@ -1,7 +1,40 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- async function t() {
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import { i as a } from "./monaco-importer.js";
3
+ import { Uri as n } from "monaco-editor";
4
+ const i = [
5
+ "arcade",
6
+ "arcgis-sql-expression",
7
+ "sql-layer-sql-server",
8
+ "sql-layer-postgres",
9
+ "sql-layer-bigquery"
10
+ ], s = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Map();
11
+ function o(e) {
12
+ let r = t.get(e);
13
+ return r || (r = Promise.withResolvers(), t.set(e, r)), r;
14
+ }
15
+ function g(e) {
16
+ o(e).resolve();
17
+ }
18
+ function m(e) {
19
+ return i.includes(e) ? o(e).promise : Promise.resolve();
20
+ }
21
+ function f(e, r) {
22
+ return () => {
23
+ s.has(e) || s.add(e), r();
24
+ };
25
+ }
26
+ async function l(e) {
27
+ if (s.has(e))
28
+ return;
29
+ (await a()).createModel("", e, n.parse("")).dispose();
30
+ }
31
+ async function p() {
3
32
  return await import("./sql-expr-mode.js");
4
33
  }
5
34
  export {
6
- t as g
35
+ f as a,
36
+ p as g,
37
+ g as m,
38
+ l as s,
39
+ m as w
7
40
  };
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { fetchT9nStringsBundle as v } from "@arcgis/toolkit/intl";
3
3
  import { g as C } from "./runtime.js";
4
4
  import { D as T, q as M, n as L, a as F, g as V, b as w, c as N, L as $, e as k, E as _, f as x } from "./language-defaults-base.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { languages as l, Emitter as C } from "monaco-editor";
3
3
  import "monaco-editor/editor/standalone/browser/standaloneServices.js";
4
4
  import "monaco-editor/editor/standalone/common/standaloneTheme.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  const E = {
3
3
  id: "sqlServer",
4
4
  keywords: [
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { makeT9nController as o } from "@arcgis/lumina/controllers";
3
3
  import { g as t } from "./runtime.js";
4
4
  const s = o(t);
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { createFilterExpression as d } from "@arcgis/toolkit/string";
3
3
  import { format as f } from "@arcgis/arcade-languageservice";
4
4
  import { log as g } from "@arcgis/toolkit/log";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import C from "@arcgis/core/config.js";
3
3
  import { version as I, fullVersion as E } from "@arcgis/core/kernel.js";
4
4
  import { log as y } from "@arcgis/toolkit/log";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import p from "@arcgis/core/layers/FeatureLayer.js";
3
3
  import y from "@arcgis/core/request.js";
4
4
  function S(e) {