@arcgis/coding-components 4.30.0-next.99 → 4.30.1

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 (124) hide show
  1. package/README.md +22 -3
  2. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  3. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +1 -1
  4. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +1 -1
  5. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +1 -1
  6. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +1 -1
  7. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +6 -6
  8. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +1 -1
  9. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +1 -1
  10. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +1 -1
  11. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +1 -1
  12. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +1 -1
  13. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +1 -1
  14. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +1 -1
  15. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +1 -1
  16. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +1 -1
  17. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +1 -1
  18. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +1 -1
  19. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +1 -1
  20. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +1 -1
  21. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +1 -1
  22. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +1 -1
  23. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +1 -1
  24. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +1 -1
  25. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +1 -1
  26. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +1 -1
  27. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +1 -1
  28. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +1 -1
  29. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +1 -1
  30. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +1 -1
  31. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +1 -1
  32. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +1 -1
  33. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +5 -5
  34. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +1 -1
  35. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +1 -1
  36. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +1 -1
  37. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +1 -1
  38. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +2 -2
  39. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +1 -1
  40. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +1 -1
  41. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +1 -1
  42. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +1 -1
  43. package/dist/arcgis-coding-components/index.esm.js +2 -2
  44. package/dist/arcgis-coding-components/{p-df22caf3.js → p-0232b2fb.js} +10 -10
  45. package/dist/arcgis-coding-components/{p-88c8c547.js → p-27ea7da2.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-46fac9d8.js → p-2cfc4d18.js} +1 -1
  47. package/dist/arcgis-coding-components/{p-8e5106fd.js → p-46dc99da.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-b27225fb.js → p-4cb610e2.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-6b70d00e.js → p-5c3e678f.js} +2 -2
  50. package/dist/arcgis-coding-components/{p-8f59b7ab.js → p-9922089e.js} +1 -1
  51. package/dist/arcgis-coding-components/{p-71030413.js → p-bc2c953c.js} +2 -2
  52. package/dist/arcgis-coding-components/p-c25ef396.entry.js +6 -0
  53. package/dist/arcgis-coding-components/{p-0f86fcd3.js → p-cd85885f.js} +2 -2
  54. package/dist/arcgis-coding-components/{p-804fc70c.js → p-d9d0b022.js} +2 -2
  55. package/dist/arcgis-coding-components/{p-09fc6deb.js → p-db7dbb19.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-c5b5ad43.js → p-fab76ffc.js} +3 -3
  57. package/dist/cjs/{app-globals-4f0e7eae.js → app-globals-c2e3e121.js} +1 -1
  58. package/dist/cjs/{arcade-defaults-57559f4d.js → arcade-defaults-17049bb9.js} +23 -23
  59. package/dist/cjs/{arcade-mode-5e9d9501.js → arcade-mode-fe361808.js} +3 -3
  60. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +20 -18
  61. package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
  62. package/dist/cjs/{css-3b5f7de7.js → css-ca3b1176.js} +1 -1
  63. package/dist/cjs/{cssMode-ee50e646.js → cssMode-fc6f8598.js} +3 -3
  64. package/dist/cjs/{html-1414ae85.js → html-d2744099.js} +3 -3
  65. package/dist/cjs/{htmlMode-c04fe1a3.js → htmlMode-79660b84.js} +3 -3
  66. package/dist/cjs/{index-aa7289d7.js → index-8e9b325f.js} +1 -1
  67. package/dist/cjs/index.cjs.js +3 -3
  68. package/dist/cjs/{javascript-f871d3e1.js → javascript-0a101984.js} +4 -4
  69. package/dist/cjs/{jsonMode-d0bba5f8.js → jsonMode-a4ba65e4.js} +3 -3
  70. package/dist/cjs/loader.cjs.js +4 -4
  71. package/dist/cjs/{tsMode-2cee8df6.js → tsMode-70689995.js} +3 -3
  72. package/dist/cjs/{typescript-e699bcbb.js → typescript-dd03f9a8.js} +3 -3
  73. package/dist/components/arcade-api.js +4 -2
  74. package/dist/components/arcade-contribution.js +1 -1
  75. package/dist/components/arcade-defaults.js +14 -14
  76. package/dist/components/arcade-mode.js +1 -1
  77. package/dist/components/arcade-results.js +4 -2
  78. package/dist/components/arcade-suggestions.js +4 -2
  79. package/dist/components/arcade-variables.js +4 -2
  80. package/dist/components/arcgis-arcade-api.js +1 -1
  81. package/dist/components/arcgis-arcade-editor.js +9 -6
  82. package/dist/components/arcgis-arcade-results.js +1 -1
  83. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  84. package/dist/components/arcgis-arcade-variables.js +1 -1
  85. package/dist/components/arcgis-assets.d.ts +1 -1
  86. package/dist/components/arcgis-assets.js +2 -2
  87. package/dist/components/arcgis-code-editor.js +1 -1
  88. package/dist/components/{chunk-IHYYRFLQ.js → chunk-2CDDVOQU.js} +4 -3
  89. package/dist/components/code-editor.js +13 -11
  90. package/dist/components/fields.js +1 -1
  91. package/dist/components/index.js +1 -1
  92. package/dist/components/index2.js +1 -1
  93. package/dist/components/markdown.js +1 -1
  94. package/dist/components/useT9n.js +2 -2
  95. package/dist/components/utilities.js +1 -1
  96. package/dist/esm/{app-globals-1f81b3b1.js → app-globals-2bae24b0.js} +1 -1
  97. package/dist/esm/{arcade-defaults-73fede8d.js → arcade-defaults-fbcce3a0.js} +23 -23
  98. package/dist/esm/{arcade-mode-3719f850.js → arcade-mode-3c56bd03.js} +3 -3
  99. package/dist/esm/arcgis-arcade-api_6.entry.js +20 -18
  100. package/dist/esm/arcgis-coding-components.js +5 -5
  101. package/dist/esm/{css-a2a21514.js → css-5142d172.js} +1 -1
  102. package/dist/esm/{cssMode-a8d4806a.js → cssMode-977f92d4.js} +3 -3
  103. package/dist/esm/{html-7e9fbd0f.js → html-1090fa08.js} +3 -3
  104. package/dist/esm/{htmlMode-f2cf3793.js → htmlMode-73a1ec87.js} +3 -3
  105. package/dist/esm/{index-3f3310e0.js → index-8c96bbd6.js} +1 -1
  106. package/dist/esm/index.js +3 -3
  107. package/dist/esm/{javascript-a6285ee9.js → javascript-ce61083f.js} +4 -4
  108. package/dist/esm/{jsonMode-f88952f9.js → jsonMode-41a7cf3a.js} +3 -3
  109. package/dist/esm/loader.js +5 -5
  110. package/dist/esm/{tsMode-764b2d3b.js → tsMode-91fccac8.js} +3 -3
  111. package/dist/esm/{typescript-7eaebbd1.js → typescript-8ccfe1ce.js} +3 -3
  112. package/dist/loader/cdn.js +1 -1
  113. package/dist/loader/index.cjs.js +1 -1
  114. package/dist/loader/index.es2017.js +1 -1
  115. package/dist/loader/index.js +1 -1
  116. package/dist/types/components/arcade-editor/arcade-editor.d.ts +12 -2
  117. package/dist/types/components/code-editor/code-editor.d.ts +14 -4
  118. package/dist/types/components.d.ts +13 -13
  119. package/dist/types/data/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 +8 -1
  120. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +5 -1
  121. package/dist/types/utils/profile/types.d.ts +25 -0
  122. package/dist/types/utils/profile/utils.d.ts +1 -1
  123. package/package.json +15 -15
  124. package/dist/arcgis-coding-components/p-f7fcef66.entry.js +0 -6
@@ -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.99
4
+ * v4.30.1
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-3f3310e0.js';
7
- export { s as setNonce } from './index-3f3310e0.js';
8
- import { g as globalScripts } from './app-globals-1f81b3b1.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-8c96bbd6.js';
7
+ export { s as setNonce } from './index-8c96bbd6.js';
8
+ import { g as globalScripts } from './app-globals-2bae24b0.js';
9
9
 
10
10
  /*
11
11
  Stencil Client Patch Browser v4.17.1 | MIT Licensed | https://stenciljs.com
@@ -21,5 +21,5 @@ var patchBrowser = () => {
21
21
 
22
22
  patchBrowser().then(async (options) => {
23
23
  await globalScripts();
24
- 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);
24
+ 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"],"editorOptions":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"editorOptions":["editorOptionsPropChange"]}]]]], options);
25
25
  });
@@ -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.99
4
+ * v4.30.1
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.99
4
+ * v4.30.1
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
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.99
4
+ * v4.30.1
5
5
  */
6
- export { a as arcade } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ export { a as arcade } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-7eaebbd1.js';
7
- import './arcade-defaults-73fede8d.js';
8
- import './index-3f3310e0.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-8ccfe1ce.js';
7
+ import './arcade-defaults-fbcce3a0.js';
8
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,16 +1,16 @@
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.99
4
+ * v4.30.1
5
5
  */
6
- import { b as bootstrapLazy } from './index-3f3310e0.js';
7
- export { s as setNonce } from './index-3f3310e0.js';
8
- import { g as globalScripts } from './app-globals-1f81b3b1.js';
6
+ import { b as bootstrapLazy } from './index-8c96bbd6.js';
7
+ export { s as setNonce } from './index-8c96bbd6.js';
8
+ import { g as globalScripts } from './app-globals-2bae24b0.js';
9
9
 
10
10
  const defineCustomElements = async (win, options) => {
11
11
  if (typeof window === 'undefined') return undefined;
12
12
  await globalScripts();
13
- 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);
13
+ 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"],"editorOptions":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"editorOptions":["editorOptionsPropChange"]}]]]], options);
14
14
  };
15
15
 
16
16
  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.99
4
+ * v4.30.1
5
5
  */
6
- import { C as typescriptDefaults, B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { C as typescriptDefaults, B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-73fede8d.js';
7
- import './index-3f3310e0.js';
6
+ import { B as monaco_editor_core_star } from './arcade-defaults-fbcce3a0.js';
7
+ import './index-8c96bbd6.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.99
4
+ * v4.30.1
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.99
4
+ * v4.30.1
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.99
4
+ * v4.30.1
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.99
4
+ * v4.30.1
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';
@@ -82,11 +82,21 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
82
82
  */
83
83
  openedSidePanel: SidePanelName;
84
84
  /**
85
- * The options for the editor (see Monaco Editor options documentation for more details).
85
+ * Options to update on the editor.
86
+ * For example:
87
+ * ```json
88
+ * {
89
+ * "fontSize": 18
90
+ * }
91
+ * ```
92
+ *
93
+ * To get the full list of available options, see the Monaco Editor options documentation for more details.
86
94
  */
87
95
  editorOptions: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
88
96
  /**
89
- * The instance of the Monaco Editor.
97
+ * The instance of the Monaco Editor after the component has been rendered.
98
+ * To determine when a component is rendered, you can use componentOnReady() method.
99
+ * The method returns a Promise that resolves after the component rendered for the first time.
90
100
  * @readonly
91
101
  * @internal
92
102
  */
@@ -31,12 +31,22 @@ export declare class ArcgisCodeEditor implements ComponentInterface {
31
31
  modelId: string;
32
32
  modelIdPropChange(): void;
33
33
  /**
34
- * The options for the editor (see Monaco Editor options documentation for more details).
34
+ * Options to update on the editor.
35
+ * For example:
36
+ * ```json
37
+ * {
38
+ * "fontSize": 18
39
+ * }
40
+ * ```
41
+ *
42
+ * To get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.
35
43
  */
36
- options: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
37
- optionsPropChange(newValue: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined): void;
44
+ editorOptions: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
45
+ editorOptionsPropChange(newValue: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined): void;
38
46
  /**
39
- * The instance of the Monaco Editor.
47
+ * The instance of the Monaco Editor after the component has been rendered.
48
+ * To determine when a component is rendered, you can use componentOnReady() method.
49
+ * The method returns a Promise that resolves after the component rendered for the first time.
40
50
  * @readonly
41
51
  */
42
52
  editorInstance: editor.IStandaloneCodeEditor | undefined;
@@ -34,12 +34,12 @@ export namespace Components {
34
34
  }
35
35
  interface ArcgisArcadeEditor {
36
36
  /**
37
- * The instance of the Monaco Editor.
37
+ * The instance of the Monaco Editor after the component has been rendered. To determine when a component is rendered, you can use componentOnReady() method. The method returns a Promise that resolves after the component rendered for the first time.
38
38
  * @readonly
39
39
  */
40
40
  "editorInstance": editor.IStandaloneCodeEditor | undefined;
41
41
  /**
42
- * The options for the editor (see Monaco Editor options documentation for more details).
42
+ * Options to update on the editor. For example: ```json { "fontSize": 18 } ``` To get the full list of available options, see the Monaco Editor options documentation for more details.
43
43
  */
44
44
  "editorOptions": (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
45
45
  /**
@@ -135,10 +135,14 @@ export namespace Components {
135
135
  }
136
136
  interface ArcgisCodeEditor {
137
137
  /**
138
- * The instance of the Monaco Editor.
138
+ * The instance of the Monaco Editor after the component has been rendered. To determine when a component is rendered, you can use componentOnReady() method. The method returns a Promise that resolves after the component rendered for the first time.
139
139
  * @readonly
140
140
  */
141
141
  "editorInstance": editor.IStandaloneCodeEditor | undefined;
142
+ /**
143
+ * Options to update on the editor. For example: ```json { "fontSize": 18 } ``` To get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.
144
+ */
145
+ "editorOptions": (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
142
146
  /**
143
147
  * @deprecated Use `editorInstance` property instead.
144
148
  */
@@ -167,10 +171,6 @@ export namespace Components {
167
171
  * A unique identifier for the model. The unique identifier is sometimes used by language defaults to store model metadata. For example, with arcade, the model id is used to store the arcade profile and other metadata. The unique identifier is especially useful when there are multiple editors on the same page.
168
172
  */
169
173
  "modelId": string;
170
- /**
171
- * The options for the editor (see Monaco Editor options documentation for more details).
172
- */
173
- "options": (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
174
174
  /**
175
175
  * Sets the focus on the editor.
176
176
  * @returns
@@ -352,7 +352,7 @@ declare namespace LocalJSX {
352
352
  }
353
353
  interface ArcgisArcadeEditor {
354
354
  /**
355
- * The options for the editor (see Monaco Editor options documentation for more details).
355
+ * Options to update on the editor. For example: ```json { "fontSize": 18 } ``` To get the full list of available options, see the Monaco Editor options documentation for more details.
356
356
  */
357
357
  "editorOptions"?: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
358
358
  /**
@@ -460,10 +460,14 @@ declare namespace LocalJSX {
460
460
  }
461
461
  interface ArcgisCodeEditor {
462
462
  /**
463
- * The instance of the Monaco Editor.
463
+ * The instance of the Monaco Editor after the component has been rendered. To determine when a component is rendered, you can use componentOnReady() method. The method returns a Promise that resolves after the component rendered for the first time.
464
464
  * @readonly
465
465
  */
466
466
  "editorInstance"?: editor.IStandaloneCodeEditor | undefined;
467
+ /**
468
+ * Options to update on the editor. For example: ```json { "fontSize": 18 } ``` To get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.
469
+ */
470
+ "editorOptions"?: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
467
471
  /**
468
472
  * The language for the editor. Currently supported language: arcade, json, css, html, javascript, typescript, and text.
469
473
  */
@@ -483,10 +487,6 @@ declare namespace LocalJSX {
483
487
  * Emitted when the value has changed (script, code, css, json, etc.)
484
488
  */
485
489
  "onArcgisValueChange"?: (event: ArcgisCodeEditorCustomEvent<string>) => void;
486
- /**
487
- * The options for the editor (see Monaco Editor options documentation for more details).
488
- */
489
- "options"?: (editor.IEditorOptions & editor.IGlobalEditorOptions) | undefined;
490
490
  /**
491
491
  * The initial value for the editor. The value is the script, code, css, json, etc.
492
492
  */
@@ -1,6 +1,8 @@
1
1
  import type { Meta, StoryObj } from "@storybook/web-components";
2
2
  import type { Components } from "../../../src/components";
3
+ import type { LayerItemPopupProfileConfiguration } from "./editorContext";
3
4
  import { type PopupProfileConfiguration } from "./editorContext";
5
+ import type { BundleType } from "@arcgis/arcade-languageservice";
4
6
  declare const meta: Meta<Components.ArcgisArcadeEditor>;
5
7
  export default meta;
6
8
  interface PopupProfileAdditionalArgs {
@@ -8,8 +10,13 @@ interface PopupProfileAdditionalArgs {
8
10
  }
9
11
  type PopupProfileStoryType = Components.ArcgisArcadeEditor & PopupProfileAdditionalArgs;
10
12
  export declare const PopupProfileStory: StoryObj<PopupProfileStoryType>;
13
+ interface SLPopupProfileAdditionalArgs {
14
+ configuration: LayerItemPopupProfileConfiguration;
15
+ }
16
+ type SLPopupProfileStoryType = Components.ArcgisArcadeEditor & SLPopupProfileAdditionalArgs;
17
+ export declare const SLPopupProfileStory: StoryObj<SLPopupProfileStoryType>;
11
18
  export declare const HideItemsCustomProfileStory: StoryObj<Components.ArcgisArcadeEditor & {
12
- bundles?: string[];
19
+ bundles?: BundleType[];
13
20
  hiddenApiItems: string[];
14
21
  }>;
15
22
  export declare const HideItemsPredefinedProfileStory: StoryObj<Components.ArcgisArcadeEditor & {
@@ -1,6 +1,7 @@
1
1
  import type { Components } from "../../../src/components";
2
+ type PortalKeyType = "devext" | "qaext" | "www";
2
3
  export interface PopupProfileConfiguration {
3
- portalKey: "devext" | "qaext" | "www";
4
+ portalKey: PortalKeyType;
4
5
  itemId: string;
5
6
  layerId: string;
6
7
  subtypeCode?: number;
@@ -9,3 +10,6 @@ export interface PopupProfileConfiguration {
9
10
  }
10
11
  export type PopupProfileEditorContext = Partial<Pick<Components.ArcgisArcadeEditor, "profile" | "testData">>;
11
12
  export declare function getPopupProfileEditorContext({ portalKey, itemId, layerId, timeZone, subtypeCode, sublayerId, }: PopupProfileConfiguration): Promise<PopupProfileEditorContext>;
13
+ export type LayerItemPopupProfileConfiguration = Pick<PopupProfileConfiguration, "layerId" | "portalKey">;
14
+ export declare function getPopupProfileEditorContextForLayerItem({ portalKey, layerId }: LayerItemPopupProfileConfiguration, createTestData?: boolean): Promise<PopupProfileEditorContext>;
15
+ export {};
@@ -242,6 +242,31 @@ export interface ILayerIdCapableSource {
242
242
  */
243
243
  layerId: number;
244
244
  }
245
+ /**
246
+ * Layer that supports queryFeatures
247
+ */
248
+ export interface IFeatureLayerLikeInstance extends IFieldsDefinition, ITitleCapableSource {
249
+ /**
250
+ * The declared class of the layer.
251
+ */
252
+ declaredClass: string;
253
+ /**
254
+ * The unique ID assigned to the layer.
255
+ */
256
+ id: string;
257
+ /**
258
+ * The layer ID, or layer index, of a Feature Service layer.
259
+ */
260
+ layerId: number;
261
+ /**
262
+ * Executes a Query against the feature service and returns a Promise to a FeatureSet.
263
+ */
264
+ queryFeatures: (query?: __esri.Query | __esri.QueryProperties) => Promise<__esri.FeatureSet>;
265
+ /**
266
+ * The service's metadata JSON exposed by the ArcGIS REST API.
267
+ */
268
+ sourceJSON?: any;
269
+ }
245
270
  /**
246
271
  * Layer that supports field domains.
247
272
  */
@@ -1,5 +1,5 @@
1
1
  import type * as types from "./types";
2
- export declare function isQueryableLayerInstance(item: unknown): item is __esri.FeatureLayer;
2
+ export declare function isFeatureLayerLikeInstance(item: unknown): item is types.IFeatureLayerLikeInstance;
3
3
  export declare function isSubtypeSublayerInstance(item: unknown): item is __esri.SubtypeSublayer;
4
4
  export declare function isGroupLayerInstance(item: unknown): item is __esri.GroupLayer;
5
5
  export declare function isMapImageLayerInstance(item: unknown): item is __esri.MapImageLayer;
package/package.json CHANGED
@@ -1,11 +1,7 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components",
3
+ "version": "4.30.1",
3
4
  "description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
4
- "homepage": "https://developers.arcgis.com/javascript/latest/",
5
- "version": "4.30.0-next.99",
6
- "module": "dist/components/index.js",
7
- "main": "dist/index.cjs.js",
8
- "types": "dist/types/index.d.ts",
9
5
  "keywords": [
10
6
  "ArcGIS",
11
7
  "javascript",
@@ -17,6 +13,10 @@
17
13
  "web-components",
18
14
  "Esri"
19
15
  ],
16
+ "homepage": "https://developers.arcgis.com/javascript/latest/",
17
+ "main": "dist/index.cjs.js",
18
+ "module": "dist/components/index.js",
19
+ "types": "dist/types/index.d.ts",
20
20
  "files": [
21
21
  "dist/"
22
22
  ],
@@ -47,19 +47,19 @@
47
47
  "generate": "stencil generate"
48
48
  },
49
49
  "dependencies": {
50
- "@arcgis/arcade-languageservice": "4.30.0-next.99",
51
- "@arcgis/components-controllers": "4.30.0-next.99",
52
- "@arcgis/components-utils": "4.30.0-next.99",
50
+ "@arcgis/arcade-languageservice": "4.30.1",
51
+ "@arcgis/components-controllers": "4.30.1",
52
+ "@arcgis/components-utils": "4.30.1",
53
53
  "@stencil/core": "4.17.1",
54
54
  "monaco-editor": "0.45.0",
55
55
  "vscode-languageserver-types": "^3.17.5"
56
56
  },
57
57
  "devDependencies": {
58
- "@arcgis/components-plugins": "4.30.0-next.99",
59
- "@arcgis/core": ">=4.30.0-next <4.31",
60
- "@arcgis/core-adapter": "4.30.0-next.99",
61
- "@arcgis/storybook-utils": "4.30.0-next.99",
62
- "@arcgis/typescript-config": "4.30.0-next.99",
58
+ "@arcgis/components-plugins": "4.30.1",
59
+ "@arcgis/core": "~4.30.1",
60
+ "@arcgis/core-adapter": "4.30.1",
61
+ "@arcgis/storybook-utils": "4.30.1",
62
+ "@arcgis/typescript-config": "4.30.1",
63
63
  "@esri/calcite-components": "^2.8.0",
64
64
  "@stencil/angular-output-target": "0.8.4",
65
65
  "@stencil/react-output-target": "0.5.3",
@@ -93,8 +93,8 @@
93
93
  "yargs": "^17.1.1"
94
94
  },
95
95
  "peerDependencies": {
96
- "@arcgis/core": ">=4.30.0-next <4.31",
96
+ "@arcgis/core": "~4.30.1",
97
97
  "@esri/calcite-components": "^2.8.0"
98
98
  },
99
- "gitHead": "36cb48e1c792b762386a6a42272a02d6d76931bd"
99
+ "gitHead": "e60a123b3d1dbc9409b25d6f75f42fecf2a1873f"
100
100
  }