@arcgis/coding-components 4.30.0-next.7 → 4.30.0-next.71

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 (182) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +2 -4
  3. package/dist/arcgis-coding-components/arcgis-coding-components.css +1 -1
  4. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +25 -0
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +25 -0
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +25 -0
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +25 -0
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +25 -0
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +25 -0
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +25 -0
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +25 -0
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +25 -0
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +25 -0
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +25 -0
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +25 -0
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +25 -0
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +25 -0
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +25 -0
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +25 -0
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +25 -0
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +25 -0
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +25 -0
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +25 -0
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +25 -0
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +25 -0
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +25 -0
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +25 -0
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +25 -0
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +25 -0
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +25 -0
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +25 -0
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +25 -0
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +25 -0
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +25 -0
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +25 -0
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +25 -0
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +25 -0
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +25 -0
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +25 -0
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +25 -0
  42. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +25 -0
  43. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +25 -0
  44. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +25 -0
  45. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +2 -0
  46. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +2 -0
  47. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +2 -0
  48. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +2 -0
  49. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +2 -0
  50. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +2 -0
  51. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +2 -0
  52. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +2 -0
  53. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +2 -0
  54. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +2 -0
  55. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +2 -0
  56. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +2 -0
  57. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +2 -0
  58. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +2 -0
  59. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hu.json +2 -0
  60. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +2 -0
  61. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +2 -0
  62. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ja.json +2 -0
  63. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +2 -0
  64. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lt.json +2 -0
  65. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lv.json +2 -0
  66. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +2 -0
  67. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +2 -0
  68. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +2 -0
  69. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +2 -0
  70. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +2 -0
  71. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ro.json +2 -0
  72. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +2 -0
  73. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +2 -0
  74. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +2 -0
  75. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +2 -0
  76. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +2 -0
  77. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +2 -0
  78. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +2 -0
  79. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +2 -0
  80. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +2 -0
  81. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +2 -0
  82. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +2 -0
  83. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +2 -0
  84. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +2 -2
  85. package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
  86. package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +1 -1
  87. package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
  88. package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
  89. package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
  90. package/dist/arcgis-coding-components/index.esm.js +2 -2
  91. package/dist/arcgis-coding-components/{p-7d529ae0.js → p-063a025b.js} +3 -3
  92. package/dist/arcgis-coding-components/{p-1b2a100f.js → p-07f363ba.js} +1 -1
  93. package/dist/arcgis-coding-components/p-09be08b9.js +68 -0
  94. package/dist/arcgis-coding-components/{p-7d8a653c.js → p-40c7de90.js} +2 -2
  95. package/dist/arcgis-coding-components/p-78df1d2f.js +7 -0
  96. package/dist/arcgis-coding-components/{p-43ca4ff8.js → p-7a03c214.js} +2 -2
  97. package/dist/arcgis-coding-components/p-88548ea1.entry.js +6 -0
  98. package/dist/arcgis-coding-components/{p-19e41297.js → p-93a07954.js} +2 -2
  99. package/dist/arcgis-coding-components/{p-3ad3b485.js → p-ab5bb57b.js} +3 -3
  100. package/dist/arcgis-coding-components/{p-d15b541d.js → p-c085a0af.js} +2 -2
  101. package/dist/arcgis-coding-components/{p-53a0b083.js → p-c301d376.js} +3 -3
  102. package/dist/arcgis-coding-components/{p-41f5c613.js → p-ca4f8a77.js} +2 -2
  103. package/dist/cjs/{arcade-defaults-85d2771a.js → arcade-defaults-d4681815.js} +620 -248
  104. package/dist/cjs/{arcade-mode-d675c5ea.js → arcade-mode-1bee51ae.js} +45 -51
  105. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1560 -289
  106. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  107. package/dist/cjs/{css-5e66f5d3.js → css-8c80bb2e.js} +1 -1
  108. package/dist/cjs/{cssMode-b94f6c97.js → cssMode-942065fb.js} +3 -3
  109. package/dist/cjs/{html-b264fb71.js → html-cabb489e.js} +3 -3
  110. package/dist/cjs/{htmlMode-14366ebc.js → htmlMode-915886ac.js} +3 -3
  111. package/dist/cjs/{index-6542b576.js → index-cd2104b5.js} +40 -4
  112. package/dist/cjs/index.cjs.js +3 -3
  113. package/dist/cjs/{javascript-40266757.js → javascript-3ae42af9.js} +4 -4
  114. package/dist/cjs/{jsonMode-241f2a4a.js → jsonMode-b6aa8f04.js} +3 -3
  115. package/dist/cjs/loader.cjs.js +3 -3
  116. package/dist/cjs/{tsMode-066b04bf.js → tsMode-7db5819d.js} +3 -3
  117. package/dist/cjs/{typescript-9ac6fd5a.js → typescript-457225f9.js} +3 -3
  118. package/dist/components/arcade-api.js +21 -32
  119. package/dist/components/arcade-contribution.js +72 -13
  120. package/dist/components/arcade-defaults.js +131 -149
  121. package/dist/components/arcade-mode.js +44 -50
  122. package/dist/components/arcade-results.js +47 -60
  123. package/dist/components/arcade-suggestions.js +23 -33
  124. package/dist/components/arcade-variables.js +22 -36
  125. package/dist/components/arcgis-arcade-api.js +1 -1
  126. package/dist/components/arcgis-arcade-editor.js +60 -150
  127. package/dist/components/arcgis-arcade-results.js +1 -1
  128. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  129. package/dist/components/arcgis-arcade-variables.js +1 -1
  130. package/dist/components/arcgis-assets.d.ts +1 -1
  131. package/dist/components/arcgis-assets.js +1 -1
  132. package/dist/components/arcgis-code-editor.js +1 -1
  133. package/dist/components/chunk-63RMNUHL.js +1275 -0
  134. package/dist/components/code-editor.js +70 -78
  135. package/dist/components/fields.js +45 -45
  136. package/dist/components/index.js +1 -1
  137. package/dist/components/index2.js +389 -3
  138. package/dist/components/markdown.js +9 -11
  139. package/dist/components/useT9n.js +35 -0
  140. package/dist/components/utilities.js +3 -3
  141. package/dist/esm/{arcade-defaults-ef372fd5.js → arcade-defaults-0328d43a.js} +603 -235
  142. package/dist/esm/{arcade-mode-04d65df2.js → arcade-mode-30a3c186.js} +45 -51
  143. package/dist/esm/arcgis-arcade-api_6.entry.js +1560 -289
  144. package/dist/esm/arcgis-coding-components.js +4 -4
  145. package/dist/esm/{css-50e0f632.js → css-2a675679.js} +1 -1
  146. package/dist/esm/{cssMode-0740511f.js → cssMode-d741b7f4.js} +3 -3
  147. package/dist/esm/{html-9d2b157c.js → html-50d0ec6a.js} +3 -3
  148. package/dist/esm/{htmlMode-fd1c3eea.js → htmlMode-4cb80be7.js} +3 -3
  149. package/dist/esm/{index-7f8b9422.js → index-64f782ac.js} +40 -4
  150. package/dist/esm/index.js +3 -3
  151. package/dist/esm/{javascript-014d6512.js → javascript-5607dae6.js} +4 -4
  152. package/dist/esm/{jsonMode-ccac7c7d.js → jsonMode-e9cfe47d.js} +3 -3
  153. package/dist/esm/loader.js +4 -4
  154. package/dist/esm/{tsMode-cfa861b3.js → tsMode-1be1ce42.js} +3 -3
  155. package/dist/esm/{typescript-9c1ebeca.js → typescript-2d04f7b3.js} +3 -3
  156. package/dist/loader/cdn.js +1 -1
  157. package/dist/loader/index.cjs.js +1 -1
  158. package/dist/loader/index.es2017.js +1 -1
  159. package/dist/loader/index.js +1 -1
  160. package/dist/types/components/arcade-api/arcade-api.d.ts +6 -7
  161. package/dist/types/components/arcade-editor/arcade-editor.d.ts +18 -12
  162. package/dist/types/components/arcade-results/arcade-results.d.ts +6 -9
  163. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +7 -8
  164. package/dist/types/components/arcade-variables/arcade-variables.d.ts +6 -8
  165. package/dist/types/components/code-editor/code-editor.d.ts +23 -13
  166. package/dist/types/components.d.ts +57 -35
  167. package/dist/types/controllers/useT9n.d.ts +1 -0
  168. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
  169. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +27 -0
  170. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +11 -0
  171. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +6 -0
  172. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +9 -0
  173. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +9 -0
  174. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +19 -0
  175. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +6 -0
  176. package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +1 -1
  177. package/dist/types/utils/profile/types.d.ts +15 -13
  178. package/dist/types/utils/profile/utils.d.ts +1 -3
  179. package/package.json +21 -21
  180. package/dist/arcgis-coding-components/p-1927140d.js +0 -68
  181. package/dist/arcgis-coding-components/p-6aa84514.js +0 -7
  182. package/dist/arcgis-coding-components/p-c4f70a58.entry.js +0 -6
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-7f8b9422.js';
7
- export { s as setNonce } from './index-7f8b9422.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-64f782ac.js';
7
+ export { s as setNonce } from './index-64f782ac.js';
8
8
 
9
9
  /*
10
10
  Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
@@ -19,5 +19,5 @@ const patchBrowser = () => {
19
19
  };
20
20
 
21
21
  patchBrowser().then(options => {
22
- return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
22
+ return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
23
23
  });
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
@@ -1109,6 +1109,16 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1109
1109
  maybePromise = safeCall(instance, 'componentWillLoad');
1110
1110
  }
1111
1111
  }
1112
+ else {
1113
+ {
1114
+ // Like `componentWillLoad` above, we allow Stencil component
1115
+ // authors to return a `Promise` from this lifecycle callback, and
1116
+ // we specify that our runtime will wait for that `Promise` to
1117
+ // resolve before the component re-renders. So if the method
1118
+ // returns a `Promise` we need to keep it around!
1119
+ maybePromise = safeCall(instance, 'componentWillUpdate');
1120
+ }
1121
+ }
1112
1122
  endSchedule();
1113
1123
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1114
1124
  };
@@ -1251,6 +1261,9 @@ const postUpdateComponent = (hostRef) => {
1251
1261
  }
1252
1262
  }
1253
1263
  else {
1264
+ {
1265
+ safeCall(instance, 'componentDidUpdate');
1266
+ }
1254
1267
  endPostUpdate();
1255
1268
  }
1256
1269
  {
@@ -1272,6 +1285,18 @@ const postUpdateComponent = (hostRef) => {
1272
1285
  // ( •_•)>⌐■-■
1273
1286
  // (⌐■_■)
1274
1287
  };
1288
+ const forceUpdate = (ref) => {
1289
+ {
1290
+ const hostRef = getHostRef(ref);
1291
+ const isConnected = hostRef.$hostElement$.isConnected;
1292
+ if (isConnected &&
1293
+ (hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1294
+ scheduleUpdate(hostRef, false);
1295
+ }
1296
+ // Returns "true" when the forced update was successfully scheduled
1297
+ return isConnected;
1298
+ }
1299
+ };
1275
1300
  const appDidLoad = (who) => {
1276
1301
  // on appload
1277
1302
  // we have finish the first big initial render
@@ -1337,6 +1362,11 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1337
1362
  }
1338
1363
  }
1339
1364
  if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1365
+ if (instance.componentShouldUpdate) {
1366
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1367
+ return;
1368
+ }
1369
+ }
1340
1370
  // looks like this value actually changed, so we've got work to do!
1341
1371
  // but only if we've already rendered, otherwise just chill out
1342
1372
  // queue that we need to do an update, but don't worry about queuing
@@ -1543,7 +1573,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1543
1573
  // construction in order to directly wire together the
1544
1574
  // host element and the lazy-loaded instance
1545
1575
  try {
1546
- new Cstr(hostRef);
1576
+ Cstr.__forceUpdate=forceUpdate;Cstr.__registerControllers=(component)=>{registerInstance(component,hostRef);return hostRef.$cmpMeta$.$members$??{}};new Cstr(hostRef);Cstr.__registerControllers=undefined;
1547
1577
  }
1548
1578
  catch (e) {
1549
1579
  consoleError(e);
@@ -1555,6 +1585,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1555
1585
  hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1556
1586
  }
1557
1587
  endNewInstance();
1588
+ fireConnectedCallback(hostRef.$lazyInstance$);
1558
1589
  }
1559
1590
  if (Cstr.style) {
1560
1591
  // this component has styles but we haven't registered them yet
@@ -1584,6 +1615,9 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1584
1615
  }
1585
1616
  };
1586
1617
  const fireConnectedCallback = (instance) => {
1618
+ {
1619
+ safeCall(instance, 'connectedCallback');
1620
+ }
1587
1621
  };
1588
1622
  const connectedCallback = (elm) => {
1589
1623
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
@@ -1625,9 +1659,11 @@ const connectedCallback = (elm) => {
1625
1659
  }
1626
1660
  else {
1627
1661
  // fire off connectedCallback() on component instance
1628
- if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) ;
1662
+ if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
1663
+ fireConnectedCallback(hostRef.$lazyInstance$);
1664
+ }
1629
1665
  else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
1630
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1666
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1631
1667
  }
1632
1668
  }
1633
1669
  endConnected();
package/dist/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- export { a as arcade } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ export { a as arcade } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-9c1ebeca.js';
7
- import './arcade-defaults-ef372fd5.js';
8
- import './index-7f8b9422.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-2d04f7b3.js';
7
+ import './arcade-defaults-0328d43a.js';
8
+ import './index-64f782ac.js';
9
9
 
10
10
  /*!-----------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { b as bootstrapLazy } from './index-7f8b9422.js';
7
- export { s as setNonce } from './index-7f8b9422.js';
6
+ import { b as bootstrapLazy } from './index-64f782ac.js';
7
+ export { s as setNonce } from './index-64f782ac.js';
8
8
 
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return undefined;
11
- return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
11
+ return bootstrapLazy([["arcgis-arcade-api_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  export { defineCustomElements };
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { u as typescriptDefaults, t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { E as typescriptDefaults, C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-ef372fd5.js';
7
- import './index-7f8b9422.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-0328d43a.js';
7
+ import './index-64f782ac.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.7
4
+ * v4.30.0-next.71
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -1,14 +1,13 @@
1
1
  import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
2
2
  import type { ApiCategory, ApiItem } from "@arcgis/arcade-languageservice";
3
- import type { ArcadeAPIStrings } from "./t9n-types";
3
+ import type { ControllerManager } from "@arcgis/components-controllers";
4
4
  /** @internal */
5
5
  export declare class ArcgisArcadeApi implements ComponentInterface {
6
+ manager: ControllerManager<this>;
6
7
  private _flowObserver?;
7
8
  private _themeChangedListner?;
8
- _hostElement: HTMLArcgisArcadeApiElement;
9
- _lang: string;
10
- _t9nLocale: string;
11
- _t9nStrings: ArcadeAPIStrings | undefined;
9
+ private messages;
10
+ el: HTMLArcgisArcadeApiElement;
12
11
  _selectedApiItem: ApiItem | undefined;
13
12
  _filterValue: string;
14
13
  _colorizeStyle: string;
@@ -25,11 +24,11 @@ export declare class ArcgisArcadeApi implements ComponentInterface {
25
24
  /**
26
25
  * Raised when the close action has been requested
27
26
  */
28
- close: EventEmitter<void>;
27
+ arcgisClose: EventEmitter<void>;
29
28
  /**
30
29
  * Raised when an item has been selected
31
30
  */
32
- itemSelected: EventEmitter<string>;
31
+ arcgisItemSelected: EventEmitter<string>;
33
32
  componentWillLoad(): Promise<void>;
34
33
  disconnectedCallback(): void;
35
34
  private _updateApiLibrary;
@@ -8,18 +8,20 @@ import type { EditorProfile } from "../../utils/profile/editor-profile";
8
8
  import type { ArcadeResult, IEditorTestContext } from "../../utils/arcade-executor";
9
9
  import type { IColorRules } from "../../utils/arcade-monaco/arcade-theme";
10
10
  import type { ResultPanelName } from "../arcade-results/arcade-results";
11
+ import type { ControllerManager } from "@arcgis/components-controllers";
11
12
  export type SidePanelName = "api" | "none" | "suggestions" | "variables";
12
13
  export declare class ArcgisArcadeEditor implements ComponentInterface {
14
+ manager: ControllerManager<this>;
13
15
  private _codeEditorElt?;
14
16
  private _componentReadyDefer;
15
17
  private _modelId;
16
18
  private _editorProfilePromise;
17
19
  private _disposables;
18
- _hostElement: HTMLArcgisArcadeEditorElement;
19
- _lang: string;
20
- _t9nLocale: string;
21
- _t9nStrings: ArcadeEditorStrings | undefined;
22
- _standaloneCodeEditor: editor.IStandaloneCodeEditor | undefined;
20
+ el: HTMLArcgisArcadeEditorElement;
21
+ messages: {
22
+ _lang: string;
23
+ _t9nLocale: string;
24
+ } & Partial<ArcadeEditorStrings>;
23
25
  _preparingProfile: boolean;
24
26
  _editorProfile: EditorProfile | undefined;
25
27
  _showExecutionPanel: boolean;
@@ -84,8 +86,13 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
84
86
  */
85
87
  editorOptions: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
86
88
  /**
87
- * Returns the current script.
88
- * @returns {Promise<string>}
89
+ * The instance of the Monaco Editor.
90
+ * @readonly
91
+ * @internal
92
+ */
93
+ editorInstance: editor.IStandaloneCodeEditor | undefined;
94
+ /**
95
+ * @deprecated Use `script` property instead.
89
96
  */
90
97
  getScript(): Promise<string | undefined>;
91
98
  /**
@@ -94,8 +101,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
94
101
  setFocus(): Promise<void>;
95
102
  /**
96
103
  * @internal
97
- * Returns the editor instance.
98
- * @returns {Promise<IStandaloneCodeEditor>} - The monaco editor instance
104
+ * @deprecated Use `editorInstance` property instead.
99
105
  */
100
106
  getEditorInstance(): Promise<editor.IStandaloneCodeEditor | undefined>;
101
107
  /**
@@ -110,11 +116,11 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
110
116
  /**
111
117
  * Emitted when the script string has changed.
112
118
  */
113
- scriptChange: EventEmitter<string>;
119
+ arcgisScriptChange: EventEmitter<string>;
114
120
  /**
115
121
  * Emitted when the disagnostics collection has changed.
116
122
  */
117
- diagnosticsChange: EventEmitter<Diagnostic[]>;
123
+ arcgisDiagnosticsChange: EventEmitter<Diagnostic[]>;
118
124
  componentWillLoad(): Promise<void>;
119
125
  componentDidLoad(): Promise<void>;
120
126
  disconnectedCallback(): void;
@@ -124,7 +130,7 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
124
130
  private _toggleSideActionBarExpanded;
125
131
  private _toggleSidePanel;
126
132
  private _openArcadeHelp;
127
- private _emitScriptChange;
133
+ private _onCodeEditorValueChange;
128
134
  private _insertAsSnippet;
129
135
  private _insertAsText;
130
136
  private _onResultPanelChange;
@@ -1,13 +1,12 @@
1
1
  import type { ComponentInterface, EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import type { ArcadeResult } from "../../utils/arcade-executor";
3
- import type { ArcadeResultsStrings } from "./t9n-types";
3
+ import type { ControllerManager } from "@arcgis/components-controllers";
4
4
  export type ResultPanelName = "console" | "log" | "output";
5
5
  /** @internal */
6
6
  export declare class ArcgisArcadeResults implements ComponentInterface {
7
- _hostElement: HTMLArcgisArcadeResultsElement;
8
- _lang: string;
9
- _t9nLocale: string;
10
- _t9nStrings: ArcadeResultsStrings | undefined;
7
+ manager: ControllerManager<this>;
8
+ private messages;
9
+ el: HTMLArcgisArcadeResultsElement;
11
10
  /**
12
11
  * Loading state
13
12
  */
@@ -27,13 +26,11 @@ export declare class ArcgisArcadeResults implements ComponentInterface {
27
26
  /**
28
27
  * Raised when the opened result panel has changed
29
28
  */
30
- openedResultPanelChange: EventEmitter<ResultPanelName>;
29
+ arcgisOpenedResultPanelChange: EventEmitter<ResultPanelName>;
31
30
  /**
32
31
  * Raise when the clode action has been activated
33
32
  */
34
- close: EventEmitter<void>;
35
- componentWillLoad(): Promise<void>;
36
- disconnectedCallback(): void;
33
+ arcgisClose: EventEmitter<void>;
37
34
  private updateResultPanel;
38
35
  private _switchResultPanel;
39
36
  private _emitClose;
@@ -1,14 +1,13 @@
1
1
  import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
2
2
  import type { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "../../utils/editor-suggestions";
3
- import type { ArcadeSuggestionsStrings } from "./t9n-types";
3
+ import type { ControllerManager } from "@arcgis/components-controllers";
4
4
  /** @internal */
5
5
  export declare class ArcgisArcadeSuggestions implements ComponentInterface {
6
+ manager: ControllerManager<this>;
6
7
  private _flowObserver?;
7
- private _themeChangedListner?;
8
- _hostElement: HTMLArcgisArcadeSuggestionsElement;
9
- _lang: string;
10
- _t9nLocale: string;
11
- _t9nStrings: ArcadeSuggestionsStrings | undefined;
8
+ private _themeChangedListener?;
9
+ private messages;
10
+ el: HTMLArcgisArcadeSuggestionsElement;
12
11
  _selectedSuggestion: IEditorCodeSuggestion | undefined;
13
12
  _filterValue: string;
14
13
  _colorizeStyle: string;
@@ -20,11 +19,11 @@ export declare class ArcgisArcadeSuggestions implements ComponentInterface {
20
19
  /**
21
20
  * Raised when close action has been activated
22
21
  */
23
- close: EventEmitter<void>;
22
+ arcgisClose: EventEmitter<void>;
24
23
  /**
25
24
  * Raised when an item has been selected
26
25
  */
27
- itemSelected: EventEmitter<string>;
26
+ arcgisItemSelected: EventEmitter<string>;
28
27
  componentWillLoad(): Promise<void>;
29
28
  disconnectedCallback(): void;
30
29
  private flowFocusHandler;
@@ -1,12 +1,11 @@
1
1
  import type { VNode, EventEmitter, ComponentInterface } from "../../stencil-public-runtime";
2
- import type { ArcadeVariablesStrings } from "./t9n-types";
2
+ import type { ControllerManager } from "@arcgis/components-controllers";
3
3
  /** @internal */
4
4
  export declare class ArcgisArcadeVariables implements ComponentInterface {
5
+ manager: ControllerManager<this>;
5
6
  private _flowObserver?;
6
- _hostElement: HTMLArcgisArcadeVariablesElement;
7
- _lang: string;
8
- _t9nLocale: string;
9
- _t9nStrings: ArcadeVariablesStrings | undefined;
7
+ private messages;
8
+ el: HTMLArcgisArcadeVariablesElement;
10
9
  _mutationCounter: number;
11
10
  _flowItemRenderers: (() => VNode)[];
12
11
  _filterValue: string;
@@ -22,12 +21,11 @@ export declare class ArcgisArcadeVariables implements ComponentInterface {
22
21
  /**
23
22
  * Raised when close action has been activated
24
23
  */
25
- close: EventEmitter<void>;
24
+ arcgisClose: EventEmitter<void>;
26
25
  /**
27
26
  * Raised when an item has been selected
28
27
  */
29
- itemSelected: EventEmitter<string>;
30
- componentWillLoad(): Promise<void>;
28
+ arcgisItemSelected: EventEmitter<string>;
31
29
  disconnectedCallback(): void;
32
30
  private addPanelRenderer;
33
31
  private removeLastPanelRenderer;
@@ -1,19 +1,21 @@
1
1
  import type { EventEmitter, VNode, ComponentInterface } from "../../stencil-public-runtime";
2
+ import type { Selection } from "monaco-editor";
2
3
  import { editor } from "monaco-editor";
4
+ import type { ControllerManager } from "@arcgis/components-controllers";
3
5
  import "../../utils/arcade-monaco/arcade-contribution";
4
6
  export declare class ArcgisCodeEditor implements ComponentInterface {
5
- private _editorInstance?;
7
+ manager: ControllerManager<this>;
8
+ private _editorInstance;
6
9
  private _currentTheme?;
7
10
  private _themeObserver?;
8
11
  private _componentReadyDefer;
9
12
  private _disposables;
10
- _hostElt: HTMLArcgisCodeEditorElement;
13
+ el: HTMLArcgisCodeEditorElement;
11
14
  /**
12
15
  * The initial value for the editor.
13
16
  * The value is the script, code, css, json, etc.
14
17
  */
15
- value: string | undefined;
16
- valuePropChange(newValue: string | undefined): void;
18
+ value: string;
17
19
  /**
18
20
  * The language for the editor.
19
21
  * Currently supported language: arcade, json, css, html, javascript, typescript, and text.
@@ -34,15 +36,16 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
34
36
  options: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
35
37
  optionsPropChange(newValue: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined): void;
36
38
  /**
37
- * Gets the current value in the editor.
38
- * @returns {Promise<string>}
39
+ * The instance of the Monaco Editor.
40
+ * @readonly
41
+ */
42
+ editorInstance: editor.IStandaloneCodeEditor | undefined;
43
+ /**
44
+ * @deprecated Use `value` property instead.
39
45
  */
40
46
  getValue(): Promise<string>;
41
47
  /**
42
- * Sets the new value in the editor. Use this method instead of setting the value
43
- * on the model to preserve undo/redo stack.
44
- * @param text
45
- * @returns {Promise<void>}
48
+ * @deprecated Use `value` property instead.
46
49
  */
47
50
  setValue(text: string | null | undefined): Promise<void>;
48
51
  /**
@@ -59,8 +62,7 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
59
62
  insertSnippet(text: string | null | undefined): Promise<void>;
60
63
  /**
61
64
  * @internal
62
- * Returns the editor instance.
63
- * @returns {Promise<IStandaloneCodeEditor>} - The monaco editor instance
65
+ * @deprecated Use `editorInstance` property instead.
64
66
  */
65
67
  getEditorInstance(): Promise<editor.IStandaloneCodeEditor | undefined>;
66
68
  /**
@@ -71,10 +73,18 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
71
73
  /**
72
74
  * Emitted when the value has changed (script, code, css, json, etc.)
73
75
  */
74
- valueChange: EventEmitter<string>;
76
+ arcgisValueChange: EventEmitter<string>;
77
+ /**
78
+ * Emitted when the selection has changed.
79
+ */
80
+ arcgisSelectionChange: EventEmitter<{
81
+ selection: Selection;
82
+ model: editor.ITextModel | null | undefined;
83
+ }>;
75
84
  componentWillLoad(): void;
76
85
  componentDidLoad(): void;
77
86
  disconnectedCallback(): void;
87
+ componentShouldUpdate(_newVal: any, _oldVal: any, propName: string): boolean | void;
78
88
  private updateModel;
79
89
  private getUri;
80
90
  private updateTheme;