@arcgis/coding-components 5.0.0-next.141 → 5.0.0-next.142

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 (86) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{AW57YOFI.js → 2Y6SEB6R.js} +2 -2
  3. package/dist/cdn/{2WFPKGNS.js → 3KVXW2EI.js} +2 -2
  4. package/dist/cdn/{HML5AZXI.js → 3NQ7XDHR.js} +2 -2
  5. package/dist/cdn/{DXKTKMXW.js → 3Y2VEOXX.js} +2 -2
  6. package/dist/cdn/{CTONLFET.js → 5ATYUOVJ.js} +2 -2
  7. package/dist/cdn/{G4IU5ZYX.js → 5CCHMDST.js} +2 -2
  8. package/dist/cdn/{2Q4RC3I2.js → 7EG6W4RN.js} +2 -2
  9. package/dist/cdn/{BORLI5BL.js → 7FNUPGNP.js} +2 -2
  10. package/dist/cdn/{DD7E4CTD.js → 7GNLKA22.js} +2 -2
  11. package/dist/cdn/{ZSD2KBQQ.js → 7UYDOD4C.js} +2 -2
  12. package/dist/cdn/{NL6FLTKV.js → AB4DPBZV.js} +2 -2
  13. package/dist/cdn/{Q6SKY4Y3.js → AV277PEB.js} +2 -2
  14. package/dist/cdn/{SRMRL3U2.js → B55YKSDO.js} +2 -2
  15. package/dist/cdn/{ZGLMCIOB.js → BXLM56GH.js} +1 -1
  16. package/dist/cdn/{VWEPFRQO.js → CMY3S5UD.js} +2 -2
  17. package/dist/cdn/{JZFVKLPE.js → E2OQPCQI.js} +3 -3
  18. package/dist/cdn/{WUPM5AJR.js → F2RPOFWN.js} +2 -2
  19. package/dist/cdn/{RVSQPK6O.js → FFGLKNOP.js} +2 -2
  20. package/dist/cdn/{NICG7HLY.js → FQMNRU6R.js} +2 -2
  21. package/dist/cdn/{FYTHJBIB.js → GFJO556R.js} +2 -2
  22. package/dist/cdn/{GE4G4GOF.js → GG5DIEEC.js} +1 -1
  23. package/dist/cdn/{5BOQ5CDP.js → HJLUJIY5.js} +1 -1
  24. package/dist/cdn/{2ZFE7VBS.js → I5PGI5MK.js} +2 -2
  25. package/dist/cdn/{XLJSTTSB.js → IFL4TP23.js} +2 -2
  26. package/dist/cdn/{ZVQZ4OSA.js → IQS2QWSZ.js} +2 -2
  27. package/dist/cdn/{Y3Q4THV3.js → JCSQEFFH.js} +2 -2
  28. package/dist/cdn/{V54XUQYT.js → JIQ2DVWZ.js} +2 -2
  29. package/dist/cdn/{J6YY3ZWZ.js → LSJNBWVQ.js} +1 -1
  30. package/dist/cdn/{BZCHBOQW.js → ODIC4APG.js} +2 -2
  31. package/dist/cdn/{62XTF2HV.js → OSQBJZL5.js} +2 -2
  32. package/dist/cdn/{WZNOW6ED.js → PPNSYENX.js} +2 -2
  33. package/dist/cdn/{GWVYODXM.js → Q4RKNOYO.js} +2 -2
  34. package/dist/cdn/{5WHTC46G.js → QQFWYRXA.js} +1 -1
  35. package/dist/cdn/{XEUUGRIV.js → ST5UVCT3.js} +2 -2
  36. package/dist/cdn/{GDON7RSD.js → SYPOLYJK.js} +2 -2
  37. package/dist/cdn/{BSOIYFXU.js → TAJCHYW7.js} +1 -1
  38. package/dist/cdn/{GRFHHJXW.js → TMCR2XBT.js} +2 -2
  39. package/dist/cdn/{RFWHUMFC.js → TOYKPPM4.js} +2 -2
  40. package/dist/cdn/{RGHWTK7O.js → TUXALT2R.js} +2 -2
  41. package/dist/cdn/{WXTQR45B.js → U3YJQ6AC.js} +2 -2
  42. package/dist/cdn/{LATZL6NN.js → UZMUT6ZA.js} +2 -2
  43. package/dist/cdn/{2KPWNHGP.js → VDY55TYN.js} +2 -2
  44. package/dist/cdn/{N35JT2LB.js → W3JHR5YS.js} +2 -2
  45. package/dist/cdn/{UCGGLYRZ.js → WUVUFQVS.js} +2 -2
  46. package/dist/cdn/{DP5QMA47.js → XLSEV65P.js} +1 -1
  47. package/dist/cdn/{RKGCVGAS.js → YFNKRMO7.js} +1 -1
  48. package/dist/cdn/Z7WFO7LG.js +4 -0
  49. package/dist/cdn/{LQHBSD4W.js → ZTJNMD67.js} +2 -2
  50. package/dist/cdn/assets/code-editor/sql-expr.worker.js +1 -1
  51. package/dist/cdn/index.js +2 -2
  52. package/dist/chunks/arcade-defaults.js +1 -1
  53. package/dist/chunks/arcade-executor.js +1 -1
  54. package/dist/chunks/arcade-mode.js +1 -1
  55. package/dist/chunks/arcade-service-accessors.js +1 -1
  56. package/dist/chunks/colorize.js +1 -1
  57. package/dist/chunks/fields.js +1 -1
  58. package/dist/chunks/language-defaults-base.js +1 -1
  59. package/dist/chunks/markdown.js +1 -1
  60. package/dist/chunks/monaco-importer.js +1 -1
  61. package/dist/chunks/monaco-theme.js +1 -1
  62. package/dist/chunks/runtime.js +1 -1
  63. package/dist/chunks/setup-monaco-theme.js +1 -1
  64. package/dist/chunks/sql-expr-defaults.js +1 -1
  65. package/dist/chunks/sql-expr-mode.js +1 -1
  66. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  67. package/dist/chunks/useT9n.js +1 -1
  68. package/dist/chunks/utilities.js +1 -1
  69. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  70. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  72. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
  75. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  76. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  77. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  78. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  79. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  80. package/dist/docs/api.json +1 -1
  81. package/dist/docs/docs.json +1 -1
  82. package/dist/docs/web-types.json +1 -1
  83. package/dist/index.js +1 -1
  84. package/dist/loader.js +1 -1
  85. package/package.json +6 -6
  86. package/dist/cdn/OO7CPYNX.js +0 -4
@@ -1 +1 @@
1
- {"timestamp":"2026-01-21T04:40:05","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.0-next.141","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"addons/index","sourcePath":"src/addons/index.ts","declarations":[]},{"kind":"javascript-module","path":"addons/arcade-coding-assistant/useArcadeAssistant","sourcePath":"src/addons/arcade-coding-assistant/useArcadeAssistant.tsx","declarations":[{"kind":"function","name":"useArcadeAssistant","deprecated":"This addon is deprecated and will be removed in a future release. Please use `arcadeAssistant` prop in the `arcgis-arcade-editor` component instead.","description":"Preview version of the Arcade Assistant. The application using this addon must also import the arcade-coding-assistant\ncomponent from the '@arcgis/coding-components' package.\n\nPlease note that this is a preview version and thus availability, design, and functionality may change in the future.","docsTags":[{"name":"example","text":"```tsx\nimport { useArcadeAssistant } from \"@arcgis/coding-components\";\n\nconst arcadeAssistantPanel = await useArcadeAssistant({\n portalUrl: \"https://www.arcgis.com\",\n profileId: \"popup\",\n feedbackServiceUrl: \"someFeatureServiceUrl\",\n});\n\n // Register the custom panel with the arcade editor\n\n const arcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\n arcadeEditor.customPanels = [customPanel];"}],"parameters":[{"name":"parameter0","type":{"text":"{\n portalUrl: string;\n profileId: string;\n feedbackServiceUrl: string;\n appVersion: string;\n panelName: string;\n}"}}],"return":{"description":"A promise that resolves to a custom panel object.","type":{"text":"Promise<ICustomPanel>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":8,"end":20}]}}}]},{"kind":"javascript-module","path":"components/arcgis-arcade-coding-assistant/types","sourcePath":"src/components/arcade-coding-assistant/types.ts","declarations":[{"kind":"interface","name":"IconName","type":{"text":"Icon[\"icon\"]","references":[{"name":"Icon","module":"components/calcite-icon","package":"@esri/calcite-components","start":0,"end":4}]}}]},{"kind":"javascript-module","path":"components/arcgis-arcade-editor","sourcePath":"src/components/arcade-editor/arcade-editor.tsx","declarations":[{"kind":"class","name":"ArcgisArcadeEditor","customElement":true,"tagName":"arcgis-arcade-editor","pascalCaseName":"ArcgisArcadeEditor","description":"[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)","demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/"},{"description":"Arcade editor","url":"https://developers.arcgis.com/javascript/latest/storybook/coding-components/?path=/story/arcgis-arcade-editor--demo&singleStory=true"}],"typeParameters":[{"name":"T","constraint":{"text":"WithCustomPanels","references":[{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":0,"end":16}]},"default":{"text":"object"}}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"arcadeAssistant","description":"enables and configures the arcade assistant @internal","type":{"text":"ArcadeAssistantConfig | undefined","references":[{"name":"ArcadeAssistantConfig","module":"utils/arcade-assistant/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-assistant-types.html#ArcadeAssistantConfig","start":0,"end":21}]}},{"kind":"field","name":"customPanels","description":"Custom panels to be displayed in the side panel.\nWill be placed below the default panels but above the help panel.","docsTags":[{"name":"internal"}],"type":{"text":"ICustomPanel[] | undefined","references":[{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":0,"end":12}]}},{"kind":"field","name":"editorOptions","description":"Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.","type":{"text":"Editor.IEditorOptions & Editor.IGlobalEditorOptions | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6},{"name":"editor","package":"monaco-editor","start":24,"end":30}]}},{"kind":"field","name":"hideDocumentationActions","description":"If true, it will hide the documentation action in the side panel","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-documentation-actions"},{"kind":"field","name":"hideSideBar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-side-bar"},{"kind":"field","name":"openedSidePanel","description":"The name of the opened side panel. 'none' means 'no panel opened'.","type":{"text":"T extends Required<WithCustomPanels> ? SidePanelName : string","references":[{"name":"T","start":0,"end":1},{"name":"Required","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype","start":10,"end":18},{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":19,"end":35},{"name":"SidePanelName","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#SidePanelName","start":39,"end":52}]},"default":"\"none\"","attribute":"opened-side-panel","reflects":true},{"kind":"field","name":"profile","description":"The profile contains metadata used by the editor for editing context and help.\nExample:\n```\n {\n bundles: [\"core\", \"dataAccess\", \"geometry\", \"portal-access\"],\n variables: [\n {\n name: \"$feature\",\n description: \"The feature passed to the script during execution.\",\n definition: aFeatureLayerInstance\n }\n ]\n }\n```","type":{"text":"IEditorProfileDefinition | IPredefinedProfile | undefined","references":[{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":0,"end":24},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":27,"end":45}]}},{"kind":"field","name":"script","description":"The arcade script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"script"},{"kind":"field","name":"sideActionBarExpanded","description":"If true, the side action bar will be expanded","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"side-action-bar-expanded","reflects":true},{"kind":"field","name":"snippets","description":"Collection of snippets","type":{"text":"ApiSnippet[] | undefined","references":[{"name":"ApiSnippet","package":"@arcgis/languages-api-utils","start":0,"end":10}]}},{"kind":"field","name":"suggestions","description":"Collection of suggestions","type":{"text":"IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[] | undefined","references":[{"name":"IEditorCodeSuggestion","module":"utils/editor-suggestions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestion","start":0,"end":21},{"name":"IEditorCodeSuggestionGroup","module":"utils/editor-suggestions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestionGroup","start":26,"end":52}]}},{"kind":"field","name":"testData","description":"Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.","type":{"text":"IEditorTestContext | undefined","references":[{"name":"IEditorTestContext","module":"utils/arcade-executor","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisArcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\ndocument.body.append(arcgisArcadeEditor);\nawait arcgisArcadeEditor.componentOnReady();\nconsole.log(\"arcgis-arcade-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getScript","deprecated":"**Deprecated** since 4.30. Use `script` property instead.","return":{"type":{"text":"Promise<string | undefined>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<string | undefined>"},{"kind":"method","name":"getTestResult","description":"Returns the Arcade result for the script for the provided test data.","return":{"type":{"text":"Promise<ArcadeResult>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ArcadeResult","module":"utils/arcade-executor","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":8,"end":20}]}},"signature":"(): Promise<ArcadeResult>"},{"kind":"method","name":"setFocus","description":"Set the focus on the element.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"hide-documentation-actions","description":"If true, it will hide the documentation action in the side panel","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideDocumentationActions"},{"name":"hide-side-bar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideSideBar"},{"name":"opened-side-panel","description":"The name of the opened side panel. 'none' means 'no panel opened'.","type":{"text":"T extends Required<WithCustomPanels> ? SidePanelName : string","references":[{"name":"T","start":0,"end":1},{"name":"Required","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype","start":10,"end":18},{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":19,"end":35},{"name":"SidePanelName","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#SidePanelName","start":39,"end":52}]},"default":"\"none\"","fieldName":"openedSidePanel"},{"name":"script","description":"The arcade script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"script"},{"name":"side-action-bar-expanded","description":"If true, the side action bar will be expanded","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"sideActionBarExpanded"}],"events":[{"name":"arcgisDiagnosticsChange","description":"Emitted when the diagnostics collection has changed.","type":{"text":"Diagnostic[]","references":[{"name":"Diagnostic","package":"@arcgis/arcade-languageservice","start":0,"end":10}]},"bubbles":false},{"name":"arcgisScriptChange","description":"Emitted when the script string has changed.","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-arcade-editor"},{"kind":"interface","name":"SidePanelName","type":{"text":"\"api\" | \"none\" | \"suggestions\" | \"variables\""}},{"kind":"interface","name":"WithCustomPanels","members":[{"kind":"field","name":"customPanels","type":{"text":"ICustomPanel[] | undefined","references":[{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":0,"end":12}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-arcade-editor","declaration":{"name":"ArcgisArcadeEditor"}}]},{"kind":"javascript-module","path":"components/arcgis-code-editor","sourcePath":"src/components/code-editor/code-editor.tsx","declarations":[{"kind":"class","name":"ArcgisCodeEditor","customElement":true,"tagName":"arcgis-code-editor","pascalCaseName":"ArcgisCodeEditor","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"editorInstance","description":"The instance of the Monaco Editor after the component has been rendered.\nTo determine when a component is rendered, you can use componentOnReady() method.\nThe method returns a Promise that resolves after the component rendered for the first time.","type":{"text":"Editor.IStandaloneCodeEditor | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6}]},"readonly":true},{"kind":"field","name":"editorOptions","description":"Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.","type":{"text":"Editor.IEditorOptions & Editor.IGlobalEditorOptions | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6},{"name":"editor","package":"monaco-editor","start":24,"end":30}]}},{"kind":"field","name":"language","description":"The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"language"},{"kind":"field","name":"modelId","description":"A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.","type":{"text":"`${string}-${string}-${string}-${string}-${string}`","values":[{"type":"string"}]},"attribute":"model-id"},{"kind":"field","name":"value","description":"The initial value for the editor.\nThe value is the script, code, css, json, etc.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"value"},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisCodeEditor = document.querySelector(\"arcgis-code-editor\");\ndocument.body.append(arcgisCodeEditor);\nawait arcgisCodeEditor.componentOnReady();\nconsole.log(\"arcgis-code-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getValue","deprecated":"**Deprecated** since 4.30. Use `value` property instead.","return":{"type":{"text":"Promise<string>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<string>"},{"kind":"method","name":"insertSnippet","description":"Inserts a snippet at the current position in the editor.","parameters":[{"name":"text","description":"The string snippet to insert","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"},{"kind":"method","name":"insertText","description":"Inserts a text at the current position in the editor.","parameters":[{"name":"text","description":"The string to insert","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"},{"kind":"method","name":"setFocus","description":"Sets the focus on the editor.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"setValue","deprecated":"**Deprecated** since 4.30. Use `value` property instead.","parameters":[{"name":"text","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"}],"attributes":[{"name":"language","description":"The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"language"},{"name":"model-id","description":"A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"modelId"},{"name":"value","description":"The initial value for the editor.\nThe value is the script, code, css, json, etc.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"value"}],"events":[{"name":"arcgisSelectionChange","description":"Emitted when the selection has changed.","type":{"text":"{\n selection: Selection;\n model: Editor.ITextModel | null | undefined;\n}","references":[{"name":"Selection","package":"monaco-editor","start":17,"end":26},{"name":"editor","package":"monaco-editor","start":39,"end":45}]},"bubbles":false},{"name":"arcgisValueChange","description":"Emitted when the value has changed (script, code, css, json, etc.)","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-code-editor"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-editor","declaration":{"name":"ArcgisCodeEditor"}}]},{"kind":"javascript-module","path":"components/arcgis-code-editor-shell","sourcePath":"src/components/code-editor-shell/code-editor-shell.tsx","declarations":[{"kind":"class","name":"CodeEditorShell","customElement":true,"tagName":"arcgis-code-editor-shell","pascalCaseName":"ArcgisCodeEditorShell","description":"A layout component for code editors that provides slots for an editor, results panel, side panel, and action bars.","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor-shell/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst codeEditorShell = document.querySelector(\"arcgis-code-editor-shell\");\ndocument.body.append(codeEditorShell);\nawait codeEditorShell.componentOnReady();\nconsole.log(\"arcgis-code-editor-shell is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"slots":[{"name":"top-action-bar","description":"A slot for placing a top action bar above the editor area."},{"name":"editor","description":"A slot for placing the main code editor component."},{"name":"results-panel","description":"A slot for placing a results panel below the code editor."},{"name":"side-panel","description":"A slot for placing a side panel next to the code editor area."},{"name":"side-action-bar","description":"A slot for placing a side action bar next to the side panel."}],"cssProperties":[{"name":"--arcgis-coding-components-border","description":"The border style for the editor shell *"},{"name":"--arcgis-coding-components-background-color","description":"The background color for the editor shell *"},{"name":"--arcgis-coding-components-side-action-bar-max-w","description":"The max width for the side action bar *"},{"name":"--arcgis-coding-components-code-editor-side-panel-w","description":"The width for the code editor side panel *"},{"name":"--arcgis-coding-components-code-editor-side-panel-max-w","description":"The max width for the code editor side panel *"},{"name":"--arcgis-coding-components-code-editor-results-panel-max-h","description":"The max height for the code editor results panel *"},{"name":"--arcgis-coding-components-code-editor-results-panel-h","description":"The default height for the code editor results panel (preferred over min-h). *"}],"importPath":"components/arcgis-code-editor-shell"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-editor-shell","declaration":{"name":"CodeEditorShell"}}]},{"kind":"javascript-module","path":"components/arcgis-code-viewer","sourcePath":"src/components/code-viewer/code-viewer.tsx","declarations":[{"kind":"class","name":"ArcgisCodeViewer","customElement":true,"tagName":"arcgis-code-viewer","pascalCaseName":"ArcgisCodeViewer","description":"A code viewer component for displaying code snippets.\nSupports syntax highlighting for various programming languages, include arcade and arcgis-sql-expression.","docsTags":[{"name":"example","text":"```tsx\n<arcgis-code-viewer language=\"javascript\">\nfunction greet() {\n console.log(\"Hello, World!\");\n}\n</arcgis-code-viewer>\n```"},{"name":"example","text":"HTML snippets (preserve markup)\n```tsx\n<arcgis-code-viewer language=\"html\">\n <template>\n <div class=\"greeting\"><span>Hello</span> World!</div>\n </template>\n</arcgis-code-viewer>\n```\nWhen `language=\"html\"`, the component will attempt to preserve your original markup instead of reducing it\nto plain text. For safety and to prevent the markup from rendering in-page, wrap the snippet in a `<template>`.\nIf no `<template>` is provided, the component falls back to concatenating the `outerHTML` of element nodes and the\nraw text of text nodes. Script contents are treated as inert string data; they are never executed."},{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-viewer/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"language","description":"The language for the component.\nCurrently supported language: arcade, arcgis-sql-expression, plus all the following languages found in monaco-editor's repo:\nhttps://github.com/microsoft/monaco-editor/tree/main/src/basic-languages.\n\nNote: The number of supported languages is limited in cdn builds to reduce package size. In cdn builds,\nonly the following languages are supported: css, html, javascript, typescript, and arcade, arcgis-sql-expression.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"arcade\"","attribute":"language"},{"kind":"field","name":"round","description":"When `true`, adds a round style to the component.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"round","reflects":true},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisCodeViewer = document.querySelector(\"arcgis-code-viewer\");\ndocument.body.append(arcgisCodeViewer);\nawait arcgisCodeViewer.componentOnReady();\nconsole.log(\"arcgis-code-viewer is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"language","description":"The language for the component.\nCurrently supported language: arcade, arcgis-sql-expression, plus all the following languages found in monaco-editor's repo:\nhttps://github.com/microsoft/monaco-editor/tree/main/src/basic-languages.\n\nNote: The number of supported languages is limited in cdn builds to reduce package size. In cdn builds,\nonly the following languages are supported: css, html, javascript, typescript, and arcade, arcgis-sql-expression.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"arcade\"","fieldName":"language"},{"name":"round","description":"When `true`, adds a round style to the component.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"round"}],"importPath":"components/arcgis-code-viewer"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-viewer","declaration":{"name":"ArcgisCodeViewer"}}]},{"kind":"javascript-module","path":"components/arcgis-sql-expression-editor","sourcePath":"src/components/sql-expression-editor/sql-expression-editor.tsx","declarations":[{"kind":"class","name":"ArcgisSqlExpressionEditor","customElement":true,"tagName":"arcgis-sql-expression-editor","pascalCaseName":"ArcgisSqlExpressionEditor","description":"The SQL Expression Editor provides a familiar code editor experience for writing your own SQL expressions.\nIt supports syntax highlighting, code completion, and validation, allowing users to write SQL expressions using the\n[standardized SQL functions](https://doc.arcgis.com/en/arcgis-online/reference/sql-agol.htm) supported by ArcGIS.","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-sql-expression-editor/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"hideSideBar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","docsTags":[{"name":"example","text":"```html\n <arcgis-sql-expression-editor hideSideBar></arcgis-sql-expression-editor>\n```"}],"type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-side-bar"},{"kind":"field","name":"profile","description":"The profile to use for the editor. The profile defines the variables and functions that are available to the editor.","docsTags":[{"name":"example","text":"```jsx\n<arcgis-sql-expression-editor profile={id: \"field-calculation\", definitions: { $layer: layer }}></arcgis-sql-expression-editor>\n```"}],"type":{"text":"IPredefinedProfile | undefined","references":[{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":0,"end":18}]}},{"kind":"field","name":"script","description":"The sql expression script. Use this property to define or update the script.","docsTags":[{"name":"example","text":"```html\n<arcgis-sql-expression-editor script=\"CAST(2.45 AS INTEGER)\"></arcgis-sql-expression-editor>\n```"}],"type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"script"},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisSqlExpressionEditor = document.querySelector(\"arcgis-sql-expression-editor\");\ndocument.body.append(arcgisSqlExpressionEditor);\nawait arcgisSqlExpressionEditor.componentOnReady();\nconsole.log(\"arcgis-sql-expression-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set the focus on the element.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"hide-side-bar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideSideBar"},{"name":"script","description":"The sql expression script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"script"}],"events":[{"name":"arcgisDiagnosticsChange","description":"Emitted when the diagnostics collection has changed.","type":{"text":"editor.IMarkerData[]","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6}]},"bubbles":false},{"name":"arcgisScriptChange","description":"Emitted when the script string has changed.","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-sql-expression-editor"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-sql-expression-editor","declaration":{"name":"ArcgisSqlExpressionEditor"}}]},{"kind":"javascript-module","path":"utils/arcade-executor","sourcePath":"src/utils/arcade-executor.ts","declarations":[{"kind":"interface","name":"IEditorTestContext","description":"If a profile doesn't contain a map, the spatial reference of geometries will be defaulted to\nwkid: 3857.\nThe test context objects allows to set the execution spatial reference for such scenario.","supertypes":[{"name":"IContextReferences","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IContextReferences"}],"members":[{"kind":"field","name":"profileVariableInstances","description":"An object of key/value pairs where the key is the name of a profile variable.\nThe key's value must be of type ArcGIS core ProfileVariableInstance.","type":{"text":"ProfileVariableInstances","references":[{"name":"ProfileVariableInstances","module":"arcade","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#ProfileVariableInstances","start":0,"end":24}]}}]},{"kind":"interface","name":"EditorTestContext","deprecated":"Use IEditorTestContext instead.","supertypes":[{"name":"IEditorTestContext","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext"}]},{"kind":"interface","name":"IArcadeRuntimeDictionary","members":[{"kind":"field","name":"declaredClass","type":{"text":"string | undefined"}},{"kind":"field","name":"arcadeDeclaredClass","type":{"text":"string | undefined"}},{"kind":"field","name":"keys","type":{"text":"() => string[]"}},{"kind":"field","name":"field","type":{"text":"(name: string) => unknown"}},{"kind":"field","name":"geometry","type":{"text":"() => GeometryUnion | undefined","references":[{"name":"GeometryUnion","module":"unionTypes","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html#GeometryUnion","start":6,"end":19}]}},{"kind":"field","name":"castAsJson","type":{"text":"() => Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":6,"end":12}]}}]},{"kind":"interface","name":"IAbortSignal","members":[{"kind":"field","name":"aborted","type":{"text":"boolean"}}]},{"kind":"interface","name":"ResultType","type":{"text":"\"array\" | \"attachment\" | \"boolean\" | \"date\" | \"dateOnly\" | \"dictionary\" | \"error\" | \"feature\" | \"featureSet\" | \"geometry\" | \"knowledgeGraph\" | \"null\" | \"number\" | \"pixel\" | \"portal\" | \"text\" | \"time\" | \"unknown\""}},{"kind":"interface","name":"IArcadeResultUnknown","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"unknown\""}}]},{"kind":"interface","name":"IArcadeResultNull","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"null\""}}]},{"kind":"interface","name":"IArcadeResultError","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"error\""}},{"kind":"field","name":"value","type":{"text":"string"}},{"kind":"field","name":"error","type":{"text":"unknown"}}]},{"kind":"interface","name":"IArcadeResultArray","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"array\""}},{"kind":"field","name":"value","type":{"text":"unknown[]"}}]},{"kind":"interface","name":"IArcadeResultDate","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"date\""}},{"kind":"field","name":"value","type":{"text":"Date | IArcadeRuntimeDate","references":[{"name":"Date","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date","start":0,"end":4},{"name":"IArcadeRuntimeDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDate","start":7,"end":25}]}}]},{"kind":"interface","name":"IArcadeResultDateOnly","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dateOnly\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDateOnly","references":[{"name":"IArcadeRuntimeDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDateOnly","start":0,"end":22}]}}]},{"kind":"interface","name":"IArcadeResultTimeOnly","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"time\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeTimeOnly","references":[{"name":"IArcadeRuntimeTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeTimeOnly","start":0,"end":22}]}}]},{"kind":"interface","name":"IArcadeResultString","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"text\""}},{"kind":"field","name":"value","type":{"text":"string"}}]},{"kind":"interface","name":"IArcadeResultNumber","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"number\""}},{"kind":"field","name":"value","type":{"text":"number"}}]},{"kind":"interface","name":"IArcadeResultBoolean","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"boolean\""}},{"kind":"field","name":"value","type":{"text":"boolean"}}]},{"kind":"interface","name":"IArcadeResultDictionary","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dictionary\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultGeometry","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"geometry\""}},{"kind":"field","name":"value","type":{"text":"GeometryUnion","references":[{"name":"GeometryUnion","module":"unionTypes","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html#GeometryUnion","start":0,"end":13}]}}]},{"kind":"interface","name":"IArcadeResultKnowledgeGraph","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"knowledgeGraph\""}},{"kind":"field","name":"value","type":{"text":"KnowledgeGraph","references":[{"name":"default","module":"rest/knowledgeGraph/KnowledgeGraph","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-KnowledgeGraph.html","start":0,"end":14}]}}]},{"kind":"interface","name":"IArcadeResultFeature","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"feature\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultPixel","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"pixel\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultFeatureSet","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSet\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeFeatureSet","references":[{"name":"IArcadeRuntimeFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSet","start":0,"end":24}]}},{"kind":"field","name":"iterator","type":{"text":"IArcadeRuntimeFeatureSetIterator | null","references":[{"name":"IArcadeRuntimeFeatureSetIterator","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSetIterator","start":0,"end":32}]}},{"kind":"field","name":"features","type":{"text":"IArcadeRuntimeDictionary[]","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultPortal","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"portal\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultAttachment","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"attachment\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"ArcadeResult","type":{"text":"IArcadeResultArray | IArcadeResultAttachment | IArcadeResultBoolean | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultDictionary | IArcadeResultError | IArcadeResultFeature | IArcadeResultFeatureSet | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultNull | IArcadeResultNumber | IArcadeResultPixel | IArcadeResultPortal | IArcadeResultString | IArcadeResultTimeOnly | IArcadeResultUnknown","references":[{"name":"IArcadeResultArray","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultArray","start":0,"end":18},{"name":"IArcadeResultAttachment","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultAttachment","start":21,"end":44},{"name":"IArcadeResultBoolean","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBoolean","start":47,"end":67},{"name":"IArcadeResultDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDate","start":70,"end":87},{"name":"IArcadeResultDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDateOnly","start":90,"end":111},{"name":"IArcadeResultDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDictionary","start":114,"end":137},{"name":"IArcadeResultError","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultError","start":140,"end":158},{"name":"IArcadeResultFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultFeature","start":161,"end":181},{"name":"IArcadeResultFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultFeatureSet","start":184,"end":207},{"name":"IArcadeResultGeometry","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultGeometry","start":210,"end":231},{"name":"IArcadeResultKnowledgeGraph","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultKnowledgeGraph","start":234,"end":261},{"name":"IArcadeResultNull","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultNull","start":264,"end":281},{"name":"IArcadeResultNumber","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultNumber","start":284,"end":303},{"name":"IArcadeResultPixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultPixel","start":306,"end":324},{"name":"IArcadeResultPortal","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultPortal","start":327,"end":346},{"name":"IArcadeResultString","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultString","start":349,"end":368},{"name":"IArcadeResultTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultTimeOnly","start":371,"end":392},{"name":"IArcadeResultUnknown","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultUnknown","start":395,"end":415}]}},{"kind":"function","name":"valueToArcadeResult","parameters":[{"name":"value","type":{"text":"unknown"}}],"return":{"type":{"text":"ArcadeResult","references":[{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":0,"end":12}]}}},{"kind":"function","name":"formatArcadeResultDate","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultDate","references":[{"name":"IArcadeResultDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDate","start":0,"end":17}]}},{"name":"lang","type":{"text":"string"},"default":"\"en\""}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"formatArcadeResultDateOnly","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultDateOnly","references":[{"name":"IArcadeResultDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDateOnly","start":0,"end":21}]}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"formatArcadeResultTimeOnly","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultTimeOnly","references":[{"name":"IArcadeResultTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultTimeOnly","start":0,"end":21}]}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"executeScript","parameters":[{"name":"editorProfile","type":{"text":"IEditorProfileDefinition | undefined","references":[{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":0,"end":24}]}},{"name":"script","type":{"text":"string | undefined"}},{"name":"testContext","type":{"text":"IEditorTestContext","references":[{"name":"IEditorTestContext","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext","start":0,"end":18}]}},{"name":"console","optional":true,"type":{"text":"(log: string) => void"}}],"return":{"type":{"text":"Promise<ArcadeResult>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":8,"end":20}]}}},{"kind":"variable","name":"exportsForTests","type":{"text":"{ convertScriptOutputToArcadeResult: (scriptOutput: unknown, timeZone?: string) => Promise<ArcadeResult>; }","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":83,"end":90},{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":91,"end":103}]}},{"kind":"interface","name":"IContextReferences","members":[{"kind":"field","name":"spatialReference","description":"Spatial reference object used to define the spatial reference for the arcade runtime.\nBy defaults, the spatial reference is set to Web Mercator (wkid: 3857).","type":{"text":"SpatialReference | { wkid: number; } | null | undefined","references":[{"name":"default","module":"geometry/SpatialReference","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html","start":0,"end":16}]}},{"kind":"field","name":"timeZone","description":"Defines the default time zone in which to create and display Arcade date types.\nBy default, the time zone is set to \"system\".","type":{"text":"string | undefined"}},{"kind":"field","name":"services","description":"Defines the \"services\" passed to the arcade executor.","type":{"text":"ArcadeServices | undefined","references":[{"name":"ArcadeServices","module":"arcade","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#ArcadeServices","start":0,"end":14}]}}]},{"kind":"interface","name":"IArcadeRuntimeFeatureSet","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"fields","type":{"text":"Field[] | null","references":[{"name":"default","module":"layers/support/Field","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html","start":0,"end":5}]}},{"kind":"field","name":"load","type":{"text":"() => Promise<IArcadeRuntimeFeatureSet>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":6,"end":13},{"name":"IArcadeRuntimeFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSet","start":14,"end":38}]}},{"kind":"field","name":"iterator","type":{"text":"(abortSignal: IAbortSignal) => IArcadeRuntimeFeatureSetIterator","references":[{"name":"IAbortSignal","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IAbortSignal","start":14,"end":26},{"name":"IArcadeRuntimeFeatureSetIterator","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSetIterator","start":31,"end":63}]}}]},{"kind":"interface","name":"IArcadeRuntimeFeatureSetIterator","members":[{"kind":"field","name":"nextBatchAsArcadeFeatures","type":{"text":"(bsize: number, timeZone: string) => Promise<IArcadeRuntimeDictionary[] | null>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":37,"end":44},{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":45,"end":69}]}}]},{"kind":"interface","name":"IArcadeRuntimeDate","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toDateTime","type":{"text":"() => { setLocale: (locale: string) => { toFormat: (format: string) => string; }; }"}},{"kind":"field","name":"isUnknownTimeZone","type":{"text":"boolean"}}]},{"kind":"interface","name":"IArcadeRuntimeDateOnly","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toString","description":"To ISO Date format","type":{"text":"() => string"}}]},{"kind":"interface","name":"IArcadeRuntimeTimeOnly","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toString","description":"To ISO Time format","type":{"text":"() => string"}}]},{"kind":"interface","name":"IArcadeResultBase","members":[{"kind":"field","name":"type","type":{"text":"ResultType","references":[{"name":"ResultType","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ResultType","start":0,"end":10}]}},{"kind":"field","name":"timeStamp","type":{"text":"Date | undefined","references":[{"name":"Date","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date","start":0,"end":4}]}},{"kind":"field","name":"compilationTime","type":{"text":"number | undefined"}},{"kind":"field","name":"executionTime","type":{"text":"number | undefined"}}]}]},{"kind":"javascript-module","path":"utils/custom-panel","sourcePath":"src/utils/custom-panel.ts","declarations":[{"kind":"interface","name":"ICustomPanel","supertypes":[{"name":"ICustomSidePanel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomSidePanel"}]},{"kind":"interface","name":"ICustomSidePanel","supertypes":[{"name":"IBaseCustomPanel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#IBaseCustomPanel"}],"members":[{"kind":"field","name":"icon","description":"Calcite icon","type":{"text":"IconName","references":[{"name":"IconName","module":"components/arcgis-arcade-coding-assistant/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-coding-assistant/types#IconName","start":0,"end":8}]}},{"kind":"field","name":"description","description":"Optional description","type":{"text":"string | undefined"}},{"kind":"field","name":"useFlows","deprecated":"- this is not used in the codebase and will be removed in the future.","description":"Optional flag to indicate that the user is providing custom flow items","type":{"text":"boolean | undefined"}},{"kind":"field","name":"enabled","description":"Optional flag to tell the editor if the panel is enabled, defaults to true","type":{"text":"boolean | undefined"}},{"kind":"field","name":"location","description":"location","type":{"text":"\"sidebar\""}}]},{"kind":"interface","name":"IBaseCustomPanel","members":[{"kind":"field","name":"id","description":"Unique ID","type":{"text":"string"}},{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"location","type":{"text":"\"sidebar\""}},{"kind":"field","name":"renderer","type":{"text":"({ closePanel, insertText, closed, editorRef, }: {\n closePanel: (e: Event) => void;\n insertText: (text: string) => void;\n closed: boolean;\n editorRef: ArcgisArcadeEditor;\n}) => JsxNode","references":[{"name":"Event","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/Event","start":71,"end":76},{"name":"ArcgisArcadeEditor","module":"components/arcgis-arcade-editor","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#ArcgisArcadeEditor","start":163,"end":181},{"name":"JsxNode","package":"@arcgis/lumina","start":189,"end":196}]}}]}]},{"kind":"javascript-module","path":"utils/editor-suggestions","sourcePath":"src/utils/editor-suggestions.ts","declarations":[{"kind":"interface","name":"IEditorCodeSuggestionGroup","members":[{"kind":"field","name":"label","description":"Label for the suggestion group","type":{"text":"string"}},{"kind":"field","name":"suggestions","description":"List of suggestions for the group","type":{"text":"IEditorCodeSuggestion[]","references":[{"name":"IEditorCodeSuggestion","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestion","start":0,"end":21}]}}]},{"kind":"interface","name":"IEditorCodeSuggestion","description":"Defines a code suggestion","members":[{"kind":"field","name":"label","description":"A short label for the suggestion. Can be thought as a title","type":{"text":"string"}},{"kind":"field","name":"description","description":"A short description that will be showed below the label in the list of suggestions panel","type":{"text":"string | undefined"}},{"kind":"field","name":"documentation","description":"Markdown string that will be rendered along with the code in the detail panel","type":{"text":"string | undefined"}},{"kind":"field","name":"code","description":"The code for the suggestion. Will be injected in the editor is selected","type":{"text":"string"}}]},{"kind":"function","name":"isSuggestionGroups","parameters":[{"name":"item","type":{"text":"unknown"}}],"return":{"type":{"text":"item is IEditorCodeSuggestionGroup[]","references":[{"name":"IEditorCodeSuggestionGroup","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestionGroup","start":8,"end":34}]}}}]},{"kind":"javascript-module","path":"utils/index","sourcePath":"src/utils/index.ts","declarations":[]},{"kind":"javascript-module","path":"utils/arcade-assistant/types","sourcePath":"src/utils/arcade-assistant/types.ts","declarations":[{"kind":"interface","name":"ArcadeAssistantConfig","description":"Public configuration options for the arcade assistant","members":[{"kind":"field","name":"portalUrl","description":"The URL of the portal the arcade editor is loaded for. Typically accessed via `portal.url`","type":{"text":"string"}},{"kind":"field","name":"appVersion","description":"A unique key for your application, used to identify the app in the feedback system.\nTypically you will not need to provide this, granted that you have set `esriConfig.applicationName` in your app.","type":{"text":"string | undefined"}}]}]},{"kind":"javascript-module","path":"utils/arcade-monaco/arcade-defaults","sourcePath":"src/utils/arcade-monaco/arcade-defaults.ts","declarations":[{"kind":"variable","name":"arcade","type":{"text":"{\n setProfileForModel: (modelId: string | Uri2, definition: IEditorProfileDefinition | IPredefinedProfile | undefined, apiContext?: {\n locale: string;\n snippets?: Array<ApiSnippet2> | undefined;\n }) => Promise<void>;\n getApiLibraryForModel: (modelId: string) => Promise<Array<ApiCategory>>;\n}","references":[{"name":"Uri","module":"esm/vs/editor/editor.api.js","package":"monaco-editor","start":45,"end":49},{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":63,"end":87},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":90,"end":108},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":180,"end":185},{"name":"ApiSnippet","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":186,"end":197},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":222,"end":229},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":285,"end":292},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":293,"end":298},{"name":"ApiCategory","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":299,"end":310}]}}]},{"kind":"javascript-module","path":"utils/profile/types","sourcePath":"src/utils/profile/types.ts","declarations":[{"kind":"interface","name":"ProfileStrings","description":"The editor profile strings.","supertypes":[{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","typeArguments":[{"text":"typeof profileStrings","references":[{"name":"profileStrings","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#profileStrings","start":7,"end":21}]}]}]},{"kind":"interface","name":"IEditorProfileDefinition","description":"Editor Profile definition used for configuring the editor:\n- presenting to the user the Arcade API\n- validating the expression\n- proposing code completion\n- formatting code","members":[{"kind":"field","name":"label","description":"Optional label for the profile. Used in the editor when displaying the variables panel.","type":{"text":"string | undefined"}},{"kind":"field","name":"variables","description":"The collection of variables that will be passed to the expression at execution time.\nThe variable declarations are used to help the editor provide validation and completion.","type":{"text":"IProfileVariable[]","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}},{"kind":"field","name":"apiVersion","description":"The version of the Arcade API that the editor should use during validation and completion.","type":{"text":"string | undefined"}},{"kind":"field","name":"bundles","description":"The Arcade API bundles that the editor should use during validation and completion.","type":{"text":"BundleType[] | undefined","references":[{"name":"BundleType","package":"@arcgis/languages-api-utils","start":0,"end":10}]}},{"kind":"field","name":"additionalApiItems","description":"A collection of additional Arcade API items that will be provided at runtime.","type":{"text":"ApiItem[] | undefined","references":[{"name":"ApiItem","package":"@arcgis/languages-api-utils","start":0,"end":7}]}},{"kind":"field","name":"hiddenApiItems","description":"A collection of api item names to hide.","type":{"text":"string[] | undefined"}}]},{"kind":"interface","name":"ProfileVariableType","description":"The type of variables supported.","supertypes":[{"name":"ApiVariableType","package":"@arcgis/languages-api-utils"}]},{"kind":"interface","name":"ProfileVariableValueType","description":"The type of value variables supported.","type":{"text":"\"boolean\" | \"date\" | \"dateOnly\" | \"geometry\" | \"knowledgeGraph\" | \"number\" | \"text\" | \"time\""}},{"kind":"interface","name":"IProfileVariable","description":"The supported profile variable types.\nTODO: hopefully align with @arcgis/core's Variable type in the future.","type":{"text":"IProfileArray | IProfileDictionary | IProfileFeature | IProfileFeatureSet | IProfileFeatureSetCollection | IProfilePixel | IProfileValue | IProfileVoxel","references":[{"name":"IProfileArray","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileArray","start":0,"end":13},{"name":"IProfileDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileDictionary","start":16,"end":34},{"name":"IProfileFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeature","start":37,"end":52},{"name":"IProfileFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeatureSet","start":55,"end":73},{"name":"IProfileFeatureSetCollection","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeatureSetCollection","start":76,"end":104},{"name":"IProfilePixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfilePixel","start":107,"end":120},{"name":"IProfileValue","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileValue","start":123,"end":136},{"name":"IProfileVoxel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVoxel","start":139,"end":152}]}},{"kind":"interface","name":"IProfileVariableBase","description":"Properties common to all profile variables.","members":[{"kind":"field","name":"name","description":"Name of the variable","type":{"text":"string"}},{"kind":"field","name":"description","description":"Description for the variable","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"IProfileValue","description":"Single value profile variable declaration.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"boolean\" | \"date\" | \"dateOnly\" | \"geometry\" | \"knowledgeGraph\" | \"number\" | \"text\" | \"time\""},"readonly":true}]},{"kind":"interface","name":"IProfileDictionary","description":"Dictionary profile variable declaration. Properties of a dictionary are profile variables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dictionary\""},"readonly":true},{"kind":"field","name":"properties","description":"The dictionary properties. Properties are variables as well.","type":{"text":"IProfileVariable[] | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfileArray","description":"Dictionary profile variable declaration. Properties of a dictionary are profile variables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"array\""},"readonly":true},{"kind":"field","name":"elementType","description":"The type for the array elements.","type":{"text":"IProfileVariable | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfileFeature","description":"Feature profile variable declaration.\nFeatures contains values that can be accessed by a name (aka field name or attribute name).\nOptionally features can have a geometry that can be accessed by a specialized Arcade function.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"feature\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"FeatureDefinition | undefined","references":[{"name":"FeatureDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureDefinition","start":0,"end":17}]}}]},{"kind":"interface","name":"IProfileFeatureSet","description":"FeatureSet profile variable declaration.\nFeatureSet represents a collection of Features.\nIndividual feature or subset of features can be accessed by using specialized Arcade functions.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSet\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature set.","type":{"text":"FeatureSetDefinition | undefined","references":[{"name":"FeatureSetDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetDefinition","start":0,"end":20}]}}]},{"kind":"interface","name":"IProfileFeatureSetCollection","description":"FeatureSetCollection profile variable declaration.\nFeatureSetCollections are used to represent Feature Services or Web Maps in Arcade expressions.\nFeatureSetCollections expose two collections of Layers and Tables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSetCollection\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the featureSetCollection will find its definition.","type":{"text":"FeatureSetCollectionDefinition | undefined","references":[{"name":"FeatureSetCollectionDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetCollectionDefinition","start":0,"end":30}]}}]},{"kind":"interface","name":"IProfileVoxel","description":"Voxel profile variable declaration.\nVoxel contains values that can be accessed by a name (aka field name or attribute name).","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"voxel\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"VoxelDefinition | undefined","references":[{"name":"VoxelDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#VoxelDefinition","start":0,"end":15}]}}]},{"kind":"interface","name":"IProfilePixel","description":"Pixel profile variable declaration.\nPixel contains values that can be accessed by a name (aka field name or attribute name).","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"pixel\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"PixelDefinition | undefined","references":[{"name":"PixelDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#PixelDefinition","start":0,"end":15}]}}]},{"kind":"interface","name":"IFeatureLikeProfile","type":{"text":"IProfileFeature | IProfilePixel | IProfileVoxel","references":[{"name":"IProfileFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeature","start":0,"end":15},{"name":"IProfilePixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfilePixel","start":18,"end":31},{"name":"IProfileVoxel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVoxel","start":34,"end":47}]}},{"kind":"interface","name":"IPortalItemProperties","description":"Describes a portal item.","members":[{"kind":"field","name":"id","description":"The unique portal item id.","type":{"text":"string"}},{"kind":"field","name":"portal","description":"The optional portal url. Default: www.arcgis.com.","type":{"text":"{ url: string; } | undefined"}}]},{"kind":"interface","name":"IPortalItemDefinition","description":"WebMap and Service FeatureSetCollection can be defined by a portal item.","members":[{"kind":"field","name":"portalItem","description":"Describes a portal item.","type":{"text":"IPortalItemProperties","references":[{"name":"IPortalItemProperties","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemProperties","start":0,"end":21}]}}]},{"kind":"interface","name":"IFeatureLayerItemDefinition","description":"FeatureLayer can be defined from a Feature Layer portal item.","supertypes":[{"name":"IPortalItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemDefinition"}],"members":[{"kind":"field","name":"layerId","description":"The layer id in the feature layer portal item. Default to 0.","type":{"text":"number | undefined"}}]},{"kind":"interface","name":"IUrlDefinition","description":"FeatureLayers and GroupLayers can be created by providing the url to the resource in a feature service.","members":[{"kind":"field","name":"url","description":"The url of the resource.","type":{"text":"string | null | undefined"}}]},{"kind":"interface","name":"IFieldsDefinition","description":"The most basic way to define a feature or feature set is by passing a collection of fields","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"fields\""}]}]},{"kind":"interface","name":"FeatureDefinition","description":"FeatureDefinition represents various ways a Feature variable could be defined.\nLayer instance is the most common way to define a feature,\nthe minimum required is that the layer instance exposes a collection of fields.\nAn object with just fields can be used to define a feature from a collection of fields.\nAn object with a url property can be used to define a feature from a feature service.\nAn object with minimal portal item properties and a layer id can be used to define a feature from a feature layer portal item.\nFor the last two options, a feature layer instance will be created by the editor profile.","type":{"text":"IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition","start":30,"end":47},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":50,"end":64}]}},{"kind":"interface","name":"VoxelDefinition","description":"VoxelDefinition represents various ways a Voxel variable could be defined.","type":{"text":"IFeatureLayerItemDefinition | IUrlDefinition | VoxelLayer","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":30,"end":44},{"name":"default","module":"layers/VoxelLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html","start":47,"end":57}]}},{"kind":"interface","name":"PixelDefinition","description":"PixelDefinition represents various ways a Pixel variable could be defined.","type":{"text":"IFeatureLayerItemDefinition | ImageryLayer | ImageryTileLayer | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"default","module":"layers/ImageryLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html","start":30,"end":42},{"name":"default","module":"layers/ImageryTileLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html","start":45,"end":61},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":64,"end":78}]}},{"kind":"interface","name":"FeatureSetDefinition","description":"FeatureSetDefinition represents the various ways a FeatureSet variable could be defined.\nSee FeatureDefinition for more details.","type":{"text":"IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition","start":30,"end":47},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":50,"end":64}]}},{"kind":"interface","name":"FeatureSetCollectionDefinition","description":"FeatureSetCollectionDefinition represents the various ways a FeatureSetCollection could be defined\nas a feature service or a web map.","type":{"text":"IPortalItemDefinition | IUrlDefinition | Map | WebMap | WebScene","references":[{"name":"IPortalItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemDefinition","start":0,"end":21},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":24,"end":38},{"name":"default","module":"Map","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html","start":41,"end":44},{"name":"default","module":"WebMap","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html","start":47,"end":53},{"name":"default","module":"WebScene","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html","start":56,"end":64}]}},{"kind":"interface","name":"VariableDefinitions","supertypes":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","typeArguments":[{"text":"string"},{"text":"FeatureDefinition | FeatureSetCollectionDefinition | FeatureSetDefinition | IProfileVariable[] | undefined","references":[{"name":"FeatureDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureDefinition","start":0,"end":17},{"name":"FeatureSetCollectionDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetCollectionDefinition","start":20,"end":50},{"name":"FeatureSetDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetDefinition","start":53,"end":73},{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":76,"end":92}]}]}]},{"kind":"interface","name":"IPredefinedProfile","members":[{"kind":"field","name":"id","description":"The well known profile ID.","type":{"text":"ProfileId","references":[{"name":"ProfileId","package":"@arcgis/languages-api-utils","start":0,"end":9}]}},{"kind":"field","name":"disabledVariables","description":"The variables that should be disabled for the profile.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"definitions","description":"Provides the definitions for the definition based variables (feature, featureSet, featureSetCollection).","type":{"text":"VariableDefinitions","references":[{"name":"VariableDefinitions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#VariableDefinitions","start":0,"end":19}]}},{"kind":"field","name":"hiddenApiItems","description":"A collection of api item names to hide.","type":{"text":"string[] | undefined"}}]},{"kind":"interface","name":"IndexedProfileStrings","supertypes":[{"name":"ProfileStrings","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ProfileStrings"},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","typeArguments":[{"text":"string"},{"text":"string | undefined"}]}]},{"kind":"interface","name":"SupportedSource","description":"Describe the support source for some of the editor variables.","supertypes":[{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition"}]},{"kind":"interface","name":"SupportedPixelSource","description":"Describe the supported source for pixel variables","type":{"text":"ImageryLayer | ImageryTileLayer","references":[{"name":"default","module":"layers/ImageryLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html","start":0,"end":12},{"name":"default","module":"layers/ImageryTileLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html","start":15,"end":31}]}},{"kind":"interface","name":"SupportedVoxelSource","description":"Describe the supported source for voxel variables","supertypes":[{"name":"default","module":"layers/VoxelLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html"}]},{"kind":"interface","name":"ITitleCapableSource","description":"Layer that supports title.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Layer","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":0,"end":5}]},{"text":"\"title\""}]}]},{"kind":"interface","name":"IUrlCapableSource","description":"Layer that supports url.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"url\""}]}]},{"kind":"interface","name":"ILayerIdCapableSource","description":"Layer that supports layer id.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"layerId\""}]}]},{"kind":"interface","name":"IFeatureLayerLikeInstance","description":"Layer that supports queryFeatures","supertypes":[{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition"},{"name":"ITitleCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ITitleCapableSource"}],"members":[{"kind":"field","name":"declaredClass","description":"The declared class of the layer.","type":{"text":"string"}},{"kind":"field","name":"id","description":"The unique ID assigned to the layer.","type":{"text":"string"}},{"kind":"field","name":"layerId","description":"The layer ID, or layer index, of a Feature Service layer.","type":{"text":"number | null | undefined"}},{"kind":"field","name":"queryFeatures","description":"Executes a Query against the feature service and returns a Promise to a FeatureSet.","type":{"text":"FeatureLayer[\"queryFeatures\"]","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]}},{"kind":"field","name":"sourceJSON","description":"The service's metadata JSON exposed by the ArcGIS REST API.","type":{"text":"unknown | undefined"}}]},{"kind":"interface","name":"IDomainsCapableSource","description":"Layer that supports field domains.","members":[{"kind":"field","name":"getFieldDomain","description":"Returns the Domain associated with the given field name.","type":{"text":"(fieldName: string) => Domain | null","references":[{"name":"default","module":"layers/support/Domain.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html","start":23,"end":29}]}}]},{"kind":"interface","name":"IFeatureTypesCapableSource","description":"Layer that implements types","supertypes":[{"name":"IDomainsCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IDomainsCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"typeIdField\" | \"types\""}]}]},{"kind":"interface","name":"ISubtypeFieldCapableSource","description":"Layer that has a subtype field","supertypes":[{"name":"IDomainsCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IDomainsCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"subtypeField\""}]}]},{"kind":"interface","name":"ISubtypesCapableSource","description":"Layer that exposes subtypes.","supertypes":[{"name":"ISubtypeFieldCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ISubtypeFieldCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"subtypes\""}]}]},{"kind":"interface","name":"IRelationshipsCapableSource","description":"Layer that supports relationships.","supertypes":[{"name":"ILayerIdCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ILayerIdCapableSource"},{"name":"IUrlCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"relationships\""}]}]},{"kind":"interface","name":"ITableCapableSource","description":"Layer that is capable of being non-spatial.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"isTable\""}]}]},{"kind":"interface","name":"IGeometryCapableSource","description":"Layer that is capable of having geometry","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"geometryType\""}]}],"members":[{"kind":"field","name":"isTable","type":{"text":"false | undefined"}}]},{"kind":"interface","name":"ILoadableSource","description":"An instance that requires a load operation to be performed.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Layer","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":0,"end":5}]},{"text":"\"load\""}]}]},{"kind":"interface","name":"ILoadAllCapable","description":"An instance that requires a loadAll operation to be performed.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"WebMap | WebScene","references":[{"name":"default","module":"WebMap","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html","start":0,"end":6},{"name":"default","module":"WebScene","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html","start":9,"end":17}]},{"text":"\"loadAll\""}]}]},{"kind":"interface","name":"IPortalItemCapable","description":"An instance that is based on a portal item.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"PortalItemResource","references":[{"name":"default","module":"portal/PortalItemResource","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItemResource.html","start":0,"end":18}]},{"text":"\"portalItem\""}]}]},{"kind":"interface","name":"IGroupLayerCapable","description":"An instance that exposes all layers and tables collections.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Map","references":[{"name":"default","module":"Map","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html","start":0,"end":3}]},{"text":"\"allLayers\" | \"allTables\""}]}]},{"kind":"interface","name":"IIntlString","description":"Represents a string that will have to be manufactured from a Intl strings resource.","members":[{"kind":"field","name":"code","description":"The intl code in the Intl strings resource.","type":{"text":"string"}},{"kind":"field","name":"formatValues","description":"The properties that the Intl string may leverage during the composition of the string.\nExample:\n- the intl string is defined as: \"webmaptitle\": \"Web Map - {title}\"\n- the formatValues should be an object `{title: \"California Fires\"}`","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}]},{"kind":"interface","name":"LayerInfo","description":"The bare minimum interface for layer information coming from the rest API.","members":[{"kind":"field","name":"id","type":{"text":"number"}},{"kind":"field","name":"type","type":{"text":"string"}},{"kind":"field","name":"capabilities","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"IExtendedPredefinedProfile","supertypes":[{"name":"IPredefinedProfile","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile"}],"members":[{"kind":"field","name":"additionalVariables","type":{"text":"IProfileVariable[] | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfilePolicy","description":"Represents the policy for an editor profile. The policy can influence specific configuration and loading behavior of the editor profile.","docsTags":[{"name":"privateremarks","text":"Currently we use this to ignore specific layers in feature set variables for arcade profiles, but the concept is extensible to other configuration and loading behavior in the future."}],"members":[{"kind":"field","name":"filterFsCollectionLayersFromMap","description":"A hook to filter layers to be included in a feature set collection\nthat source from a map","docsTags":[{"name":"privateremarks","text":"see https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/10715 for a use case.\nIn arcade we don't want to include certain layer types in the $map variable."}],"type":{"text":"(layer: Layer) => boolean | undefined","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":8,"end":13}]}}]},{"kind":"variable","name":"profileStrings","type":{"text":"(value: {\n layer: string;\n featureservice: string;\n mapservice: string;\n map: string;\n webmap: string;\n webscene: string;\n webmapformat: string;\n item: string;\n invoking: string;\n fields: string;\n values: string;\n relationships: string;\n layers: string;\n tables: string;\n geometry: string;\n dictionary: string;\n feature: string;\n featureset: string;\n featuresetcollection: string;\n oid: string;\n number: string;\n string: string;\n date: string;\n blob: string;\n raster: string;\n guid: string;\n \"global-id\": string;\n xml: string;\n function: string;\n domainvalues: string;\n subtypes: string;\n domainvaluesfortypeformat: string;\n domainvaluesbysubtypes: string;\n}) => {\n layer: string;\n featureservice: string;\n mapservice: string;\n map: string;\n webmap: string;\n webscene: string;\n webmapformat: string;\n item: string;\n invoking: string;\n fields: string;\n values: string;\n relationships: string;\n layers: string;\n tables: string;\n geometry: string;\n dictionary: string;\n feature: string;\n featureset: string;\n featuresetcollection: string;\n oid: string;\n number: string;\n string: string;\n date: string;\n blob: string;\n raster: string;\n guid: string;\n \"global-id\": string;\n xml: string;\n function: string;\n domainvalues: string;\n subtypes: string;\n domainvaluesfortypeformat: string;\n domainvaluesbysubtypes: string;\n}"}}]},{"kind":"javascript-module","path":"utils/sql-expr-monaco/sql-expr-defaults","sourcePath":"src/utils/sql-expr-monaco/sql-expr-defaults.ts","declarations":[{"kind":"variable","name":"sqlExpression","type":{"text":"{\n setProfileForModel: (modelId: string | Uri2, definition: IEditorProfileDefinition | IPredefinedProfile | undefined, apiContext?: { locale: string; }) => Promise<void>;\n getApiLibraryForModel: (modelId: string) => Promise<Array<ApiCategory>>;\n}","references":[{"name":"Uri","module":"esm/vs/editor/editor.api.js","package":"monaco-editor","start":45,"end":49},{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":63,"end":87},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":90,"end":108},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":159,"end":166},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":222,"end":229},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":230,"end":235},{"name":"ApiCategory","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":236,"end":247}]}}]}]}
1
+ {"timestamp":"2026-01-21T17:35:09","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.0-next.142","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"addons/index","sourcePath":"src/addons/index.ts","declarations":[]},{"kind":"javascript-module","path":"addons/arcade-coding-assistant/useArcadeAssistant","sourcePath":"src/addons/arcade-coding-assistant/useArcadeAssistant.tsx","declarations":[{"kind":"function","name":"useArcadeAssistant","deprecated":"This addon is deprecated and will be removed in a future release. Please use `arcadeAssistant` prop in the `arcgis-arcade-editor` component instead.","description":"Preview version of the Arcade Assistant. The application using this addon must also import the arcade-coding-assistant\ncomponent from the '@arcgis/coding-components' package.\n\nPlease note that this is a preview version and thus availability, design, and functionality may change in the future.","docsTags":[{"name":"example","text":"```tsx\nimport { useArcadeAssistant } from \"@arcgis/coding-components\";\n\nconst arcadeAssistantPanel = await useArcadeAssistant({\n portalUrl: \"https://www.arcgis.com\",\n profileId: \"popup\",\n feedbackServiceUrl: \"someFeatureServiceUrl\",\n});\n\n // Register the custom panel with the arcade editor\n\n const arcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\n arcadeEditor.customPanels = [customPanel];"}],"parameters":[{"name":"parameter0","type":{"text":"{\n portalUrl: string;\n profileId: string;\n feedbackServiceUrl: string;\n appVersion: string;\n panelName: string;\n}"}}],"return":{"description":"A promise that resolves to a custom panel object.","type":{"text":"Promise<ICustomPanel>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":8,"end":20}]}}}]},{"kind":"javascript-module","path":"components/arcgis-arcade-coding-assistant/types","sourcePath":"src/components/arcade-coding-assistant/types.ts","declarations":[{"kind":"interface","name":"IconName","type":{"text":"Icon[\"icon\"]","references":[{"name":"Icon","module":"components/calcite-icon","package":"@esri/calcite-components","start":0,"end":4}]}}]},{"kind":"javascript-module","path":"components/arcgis-arcade-editor","sourcePath":"src/components/arcade-editor/arcade-editor.tsx","declarations":[{"kind":"class","name":"ArcgisArcadeEditor","customElement":true,"tagName":"arcgis-arcade-editor","pascalCaseName":"ArcgisArcadeEditor","description":"[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)","demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/"},{"description":"Arcade editor","url":"https://developers.arcgis.com/javascript/latest/storybook/coding-components/?path=/story/arcgis-arcade-editor--demo&singleStory=true"}],"typeParameters":[{"name":"T","constraint":{"text":"WithCustomPanels","references":[{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":0,"end":16}]},"default":{"text":"object"}}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"arcadeAssistant","description":"enables and configures the arcade assistant @internal","type":{"text":"ArcadeAssistantConfig | undefined","references":[{"name":"ArcadeAssistantConfig","module":"utils/arcade-assistant/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-assistant-types.html#ArcadeAssistantConfig","start":0,"end":21}]}},{"kind":"field","name":"customPanels","description":"Custom panels to be displayed in the side panel.\nWill be placed below the default panels but above the help panel.","docsTags":[{"name":"internal"}],"type":{"text":"ICustomPanel[] | undefined","references":[{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":0,"end":12}]}},{"kind":"field","name":"editorOptions","description":"Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.","type":{"text":"Editor.IEditorOptions & Editor.IGlobalEditorOptions | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6},{"name":"editor","package":"monaco-editor","start":24,"end":30}]}},{"kind":"field","name":"hideDocumentationActions","description":"If true, it will hide the documentation action in the side panel","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-documentation-actions"},{"kind":"field","name":"hideSideBar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-side-bar"},{"kind":"field","name":"openedSidePanel","description":"The name of the opened side panel. 'none' means 'no panel opened'.","type":{"text":"T extends Required<WithCustomPanels> ? SidePanelName : string","references":[{"name":"T","start":0,"end":1},{"name":"Required","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype","start":10,"end":18},{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":19,"end":35},{"name":"SidePanelName","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#SidePanelName","start":39,"end":52}]},"default":"\"none\"","attribute":"opened-side-panel","reflects":true},{"kind":"field","name":"profile","description":"The profile contains metadata used by the editor for editing context and help.\nExample:\n```\n {\n bundles: [\"core\", \"dataAccess\", \"geometry\", \"portal-access\"],\n variables: [\n {\n name: \"$feature\",\n description: \"The feature passed to the script during execution.\",\n definition: aFeatureLayerInstance\n }\n ]\n }\n```","type":{"text":"IEditorProfileDefinition | IPredefinedProfile | undefined","references":[{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":0,"end":24},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":27,"end":45}]}},{"kind":"field","name":"script","description":"The arcade script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"script"},{"kind":"field","name":"sideActionBarExpanded","description":"If true, the side action bar will be expanded","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"side-action-bar-expanded","reflects":true},{"kind":"field","name":"snippets","description":"Collection of snippets","type":{"text":"ApiSnippet[] | undefined","references":[{"name":"ApiSnippet","package":"@arcgis/languages-api-utils","start":0,"end":10}]}},{"kind":"field","name":"suggestions","description":"Collection of suggestions","type":{"text":"IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[] | undefined","references":[{"name":"IEditorCodeSuggestion","module":"utils/editor-suggestions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestion","start":0,"end":21},{"name":"IEditorCodeSuggestionGroup","module":"utils/editor-suggestions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestionGroup","start":26,"end":52}]}},{"kind":"field","name":"testData","description":"Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.","type":{"text":"IEditorTestContext | undefined","references":[{"name":"IEditorTestContext","module":"utils/arcade-executor","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisArcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\ndocument.body.append(arcgisArcadeEditor);\nawait arcgisArcadeEditor.componentOnReady();\nconsole.log(\"arcgis-arcade-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getScript","deprecated":"**Deprecated** since 4.30. Use `script` property instead.","return":{"type":{"text":"Promise<string | undefined>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<string | undefined>"},{"kind":"method","name":"getTestResult","description":"Returns the Arcade result for the script for the provided test data.","return":{"type":{"text":"Promise<ArcadeResult>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ArcadeResult","module":"utils/arcade-executor","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":8,"end":20}]}},"signature":"(): Promise<ArcadeResult>"},{"kind":"method","name":"setFocus","description":"Set the focus on the element.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"hide-documentation-actions","description":"If true, it will hide the documentation action in the side panel","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideDocumentationActions"},{"name":"hide-side-bar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideSideBar"},{"name":"opened-side-panel","description":"The name of the opened side panel. 'none' means 'no panel opened'.","type":{"text":"T extends Required<WithCustomPanels> ? SidePanelName : string","references":[{"name":"T","start":0,"end":1},{"name":"Required","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype","start":10,"end":18},{"name":"WithCustomPanels","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#WithCustomPanels","start":19,"end":35},{"name":"SidePanelName","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#SidePanelName","start":39,"end":52}]},"default":"\"none\"","fieldName":"openedSidePanel"},{"name":"script","description":"The arcade script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"script"},{"name":"side-action-bar-expanded","description":"If true, the side action bar will be expanded","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"sideActionBarExpanded"}],"events":[{"name":"arcgisDiagnosticsChange","description":"Emitted when the diagnostics collection has changed.","type":{"text":"Diagnostic[]","references":[{"name":"Diagnostic","package":"@arcgis/arcade-languageservice","start":0,"end":10}]},"bubbles":false},{"name":"arcgisScriptChange","description":"Emitted when the script string has changed.","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-arcade-editor"},{"kind":"interface","name":"SidePanelName","type":{"text":"\"api\" | \"none\" | \"suggestions\" | \"variables\""}},{"kind":"interface","name":"WithCustomPanels","members":[{"kind":"field","name":"customPanels","type":{"text":"ICustomPanel[] | undefined","references":[{"name":"ICustomPanel","module":"utils/custom-panel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomPanel","start":0,"end":12}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-arcade-editor","declaration":{"name":"ArcgisArcadeEditor"}}]},{"kind":"javascript-module","path":"components/arcgis-code-editor","sourcePath":"src/components/code-editor/code-editor.tsx","declarations":[{"kind":"class","name":"ArcgisCodeEditor","customElement":true,"tagName":"arcgis-code-editor","pascalCaseName":"ArcgisCodeEditor","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"editorInstance","description":"The instance of the Monaco Editor after the component has been rendered.\nTo determine when a component is rendered, you can use componentOnReady() method.\nThe method returns a Promise that resolves after the component rendered for the first time.","type":{"text":"Editor.IStandaloneCodeEditor | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6}]},"readonly":true},{"kind":"field","name":"editorOptions","description":"Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.","type":{"text":"Editor.IEditorOptions & Editor.IGlobalEditorOptions | undefined","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6},{"name":"editor","package":"monaco-editor","start":24,"end":30}]}},{"kind":"field","name":"language","description":"The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"language"},{"kind":"field","name":"modelId","description":"A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.","type":{"text":"`${string}-${string}-${string}-${string}-${string}`","values":[{"type":"string"}]},"attribute":"model-id"},{"kind":"field","name":"value","description":"The initial value for the editor.\nThe value is the script, code, css, json, etc.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"value"},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisCodeEditor = document.querySelector(\"arcgis-code-editor\");\ndocument.body.append(arcgisCodeEditor);\nawait arcgisCodeEditor.componentOnReady();\nconsole.log(\"arcgis-code-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getValue","deprecated":"**Deprecated** since 4.30. Use `value` property instead.","return":{"type":{"text":"Promise<string>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<string>"},{"kind":"method","name":"insertSnippet","description":"Inserts a snippet at the current position in the editor.","parameters":[{"name":"text","description":"The string snippet to insert","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"},{"kind":"method","name":"insertText","description":"Inserts a text at the current position in the editor.","parameters":[{"name":"text","description":"The string to insert","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"},{"kind":"method","name":"setFocus","description":"Sets the focus on the editor.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"setValue","deprecated":"**Deprecated** since 4.30. Use `value` property instead.","parameters":[{"name":"text","type":{"text":"string | null | undefined"}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string | null | undefined): Promise<void>"}],"attributes":[{"name":"language","description":"The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"language"},{"name":"model-id","description":"A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"modelId"},{"name":"value","description":"The initial value for the editor.\nThe value is the script, code, css, json, etc.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"value"}],"events":[{"name":"arcgisSelectionChange","description":"Emitted when the selection has changed.","type":{"text":"{\n selection: Selection;\n model: Editor.ITextModel | null | undefined;\n}","references":[{"name":"Selection","package":"monaco-editor","start":17,"end":26},{"name":"editor","package":"monaco-editor","start":39,"end":45}]},"bubbles":false},{"name":"arcgisValueChange","description":"Emitted when the value has changed (script, code, css, json, etc.)","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-code-editor"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-editor","declaration":{"name":"ArcgisCodeEditor"}}]},{"kind":"javascript-module","path":"components/arcgis-code-editor-shell","sourcePath":"src/components/code-editor-shell/code-editor-shell.tsx","declarations":[{"kind":"class","name":"CodeEditorShell","customElement":true,"tagName":"arcgis-code-editor-shell","pascalCaseName":"ArcgisCodeEditorShell","description":"A layout component for code editors that provides slots for an editor, results panel, side panel, and action bars.","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor-shell/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst codeEditorShell = document.querySelector(\"arcgis-code-editor-shell\");\ndocument.body.append(codeEditorShell);\nawait codeEditorShell.componentOnReady();\nconsole.log(\"arcgis-code-editor-shell is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"slots":[{"name":"top-action-bar","description":"A slot for placing a top action bar above the editor area."},{"name":"editor","description":"A slot for placing the main code editor component."},{"name":"results-panel","description":"A slot for placing a results panel below the code editor."},{"name":"side-panel","description":"A slot for placing a side panel next to the code editor area."},{"name":"side-action-bar","description":"A slot for placing a side action bar next to the side panel."}],"cssProperties":[{"name":"--arcgis-coding-components-border","description":"The border style for the editor shell *"},{"name":"--arcgis-coding-components-background-color","description":"The background color for the editor shell *"},{"name":"--arcgis-coding-components-side-action-bar-max-w","description":"The max width for the side action bar *"},{"name":"--arcgis-coding-components-code-editor-side-panel-w","description":"The width for the code editor side panel *"},{"name":"--arcgis-coding-components-code-editor-side-panel-max-w","description":"The max width for the code editor side panel *"},{"name":"--arcgis-coding-components-code-editor-results-panel-max-h","description":"The max height for the code editor results panel *"},{"name":"--arcgis-coding-components-code-editor-results-panel-h","description":"The default height for the code editor results panel (preferred over min-h). *"}],"importPath":"components/arcgis-code-editor-shell"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-editor-shell","declaration":{"name":"CodeEditorShell"}}]},{"kind":"javascript-module","path":"components/arcgis-code-viewer","sourcePath":"src/components/code-viewer/code-viewer.tsx","declarations":[{"kind":"class","name":"ArcgisCodeViewer","customElement":true,"tagName":"arcgis-code-viewer","pascalCaseName":"ArcgisCodeViewer","description":"A code viewer component for displaying code snippets.\nSupports syntax highlighting for various programming languages, include arcade and arcgis-sql-expression.","docsTags":[{"name":"example","text":"```tsx\n<arcgis-code-viewer language=\"javascript\">\nfunction greet() {\n console.log(\"Hello, World!\");\n}\n</arcgis-code-viewer>\n```"},{"name":"example","text":"HTML snippets (preserve markup)\n```tsx\n<arcgis-code-viewer language=\"html\">\n <template>\n <div class=\"greeting\"><span>Hello</span> World!</div>\n </template>\n</arcgis-code-viewer>\n```\nWhen `language=\"html\"`, the component will attempt to preserve your original markup instead of reducing it\nto plain text. For safety and to prevent the markup from rendering in-page, wrap the snippet in a `<template>`.\nIf no `<template>` is provided, the component falls back to concatenating the `outerHTML` of element nodes and the\nraw text of text nodes. Script contents are treated as inert string data; they are never executed."},{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-viewer/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"language","description":"The language for the component.\nCurrently supported language: arcade, arcgis-sql-expression, plus all the following languages found in monaco-editor's repo:\nhttps://github.com/microsoft/monaco-editor/tree/main/src/basic-languages.\n\nNote: The number of supported languages is limited in cdn builds to reduce package size. In cdn builds,\nonly the following languages are supported: css, html, javascript, typescript, and arcade, arcgis-sql-expression.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"arcade\"","attribute":"language"},{"kind":"field","name":"round","description":"When `true`, adds a round style to the component.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"round","reflects":true},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisCodeViewer = document.querySelector(\"arcgis-code-viewer\");\ndocument.body.append(arcgisCodeViewer);\nawait arcgisCodeViewer.componentOnReady();\nconsole.log(\"arcgis-code-viewer is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"language","description":"The language for the component.\nCurrently supported language: arcade, arcgis-sql-expression, plus all the following languages found in monaco-editor's repo:\nhttps://github.com/microsoft/monaco-editor/tree/main/src/basic-languages.\n\nNote: The number of supported languages is limited in cdn builds to reduce package size. In cdn builds,\nonly the following languages are supported: css, html, javascript, typescript, and arcade, arcgis-sql-expression.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"arcade\"","fieldName":"language"},{"name":"round","description":"When `true`, adds a round style to the component.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"round"}],"importPath":"components/arcgis-code-viewer"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-code-viewer","declaration":{"name":"ArcgisCodeViewer"}}]},{"kind":"javascript-module","path":"components/arcgis-sql-expression-editor","sourcePath":"src/components/sql-expression-editor/sql-expression-editor.tsx","declarations":[{"kind":"class","name":"ArcgisSqlExpressionEditor","customElement":true,"tagName":"arcgis-sql-expression-editor","pascalCaseName":"ArcgisSqlExpressionEditor","description":"The SQL Expression Editor provides a familiar code editor experience for writing your own SQL expressions.\nIt supports syntax highlighting, code completion, and validation, allowing users to write SQL expressions using the\n[standardized SQL functions](https://doc.arcgis.com/en/arcgis-online/reference/sql-agol.htm) supported by ArcGIS.","docsTags":[{"name":"internal"}],"demos":[{"description":"Docs","url":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-sql-expression-editor/"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"hideSideBar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","docsTags":[{"name":"example","text":"```html\n <arcgis-sql-expression-editor hideSideBar></arcgis-sql-expression-editor>\n```"}],"type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"hide-side-bar"},{"kind":"field","name":"profile","description":"The profile to use for the editor. The profile defines the variables and functions that are available to the editor.","docsTags":[{"name":"example","text":"```jsx\n<arcgis-sql-expression-editor profile={id: \"field-calculation\", definitions: { $layer: layer }}></arcgis-sql-expression-editor>\n```"}],"type":{"text":"IPredefinedProfile | undefined","references":[{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":0,"end":18}]}},{"kind":"field","name":"script","description":"The sql expression script. Use this property to define or update the script.","docsTags":[{"name":"example","text":"```html\n<arcgis-sql-expression-editor script=\"CAST(2.45 AS INTEGER)\"></arcgis-sql-expression-editor>\n```"}],"type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"script"},{"kind":"method","name":"componentOnReady","description":"Create a promise that resolves once component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisSqlExpressionEditor = document.querySelector(\"arcgis-sql-expression-editor\");\ndocument.body.append(arcgisSqlExpressionEditor);\nawait arcgisSqlExpressionEditor.componentOnReady();\nconsole.log(\"arcgis-sql-expression-editor is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set the focus on the element.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"hide-side-bar","description":"If true, it will hide the side actions bar. The editor will be in a minimalistic UX.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"hideSideBar"},{"name":"script","description":"The sql expression script. Use this property to define or update the script.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"script"}],"events":[{"name":"arcgisDiagnosticsChange","description":"Emitted when the diagnostics collection has changed.","type":{"text":"editor.IMarkerData[]","references":[{"name":"editor","package":"monaco-editor","start":0,"end":6}]},"bubbles":false},{"name":"arcgisScriptChange","description":"Emitted when the script string has changed.","type":{"text":"string"},"bubbles":false}],"importPath":"components/arcgis-sql-expression-editor"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-sql-expression-editor","declaration":{"name":"ArcgisSqlExpressionEditor"}}]},{"kind":"javascript-module","path":"utils/arcade-executor","sourcePath":"src/utils/arcade-executor.ts","declarations":[{"kind":"interface","name":"IEditorTestContext","description":"If a profile doesn't contain a map, the spatial reference of geometries will be defaulted to\nwkid: 3857.\nThe test context objects allows to set the execution spatial reference for such scenario.","supertypes":[{"name":"IContextReferences","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IContextReferences"}],"members":[{"kind":"field","name":"profileVariableInstances","description":"An object of key/value pairs where the key is the name of a profile variable.\nThe key's value must be of type ArcGIS core ProfileVariableInstance.","type":{"text":"ProfileVariableInstances","references":[{"name":"ProfileVariableInstances","module":"arcade","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#ProfileVariableInstances","start":0,"end":24}]}}]},{"kind":"interface","name":"EditorTestContext","deprecated":"Use IEditorTestContext instead.","supertypes":[{"name":"IEditorTestContext","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext"}]},{"kind":"interface","name":"IArcadeRuntimeDictionary","members":[{"kind":"field","name":"declaredClass","type":{"text":"string | undefined"}},{"kind":"field","name":"arcadeDeclaredClass","type":{"text":"string | undefined"}},{"kind":"field","name":"keys","type":{"text":"() => string[]"}},{"kind":"field","name":"field","type":{"text":"(name: string) => unknown"}},{"kind":"field","name":"geometry","type":{"text":"() => GeometryUnion | undefined","references":[{"name":"GeometryUnion","module":"unionTypes","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html#GeometryUnion","start":6,"end":19}]}},{"kind":"field","name":"castAsJson","type":{"text":"() => Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":6,"end":12}]}}]},{"kind":"interface","name":"IAbortSignal","members":[{"kind":"field","name":"aborted","type":{"text":"boolean"}}]},{"kind":"interface","name":"ResultType","type":{"text":"\"array\" | \"attachment\" | \"boolean\" | \"date\" | \"dateOnly\" | \"dictionary\" | \"error\" | \"feature\" | \"featureSet\" | \"geometry\" | \"knowledgeGraph\" | \"null\" | \"number\" | \"pixel\" | \"portal\" | \"text\" | \"time\" | \"unknown\""}},{"kind":"interface","name":"IArcadeResultUnknown","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"unknown\""}}]},{"kind":"interface","name":"IArcadeResultNull","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"null\""}}]},{"kind":"interface","name":"IArcadeResultError","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"error\""}},{"kind":"field","name":"value","type":{"text":"string"}},{"kind":"field","name":"error","type":{"text":"unknown"}}]},{"kind":"interface","name":"IArcadeResultArray","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"array\""}},{"kind":"field","name":"value","type":{"text":"unknown[]"}}]},{"kind":"interface","name":"IArcadeResultDate","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"date\""}},{"kind":"field","name":"value","type":{"text":"Date | IArcadeRuntimeDate","references":[{"name":"Date","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date","start":0,"end":4},{"name":"IArcadeRuntimeDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDate","start":7,"end":25}]}}]},{"kind":"interface","name":"IArcadeResultDateOnly","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dateOnly\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDateOnly","references":[{"name":"IArcadeRuntimeDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDateOnly","start":0,"end":22}]}}]},{"kind":"interface","name":"IArcadeResultTimeOnly","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"time\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeTimeOnly","references":[{"name":"IArcadeRuntimeTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeTimeOnly","start":0,"end":22}]}}]},{"kind":"interface","name":"IArcadeResultString","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"text\""}},{"kind":"field","name":"value","type":{"text":"string"}}]},{"kind":"interface","name":"IArcadeResultNumber","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"number\""}},{"kind":"field","name":"value","type":{"text":"number"}}]},{"kind":"interface","name":"IArcadeResultBoolean","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"boolean\""}},{"kind":"field","name":"value","type":{"text":"boolean"}}]},{"kind":"interface","name":"IArcadeResultDictionary","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dictionary\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultGeometry","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"geometry\""}},{"kind":"field","name":"value","type":{"text":"GeometryUnion","references":[{"name":"GeometryUnion","module":"unionTypes","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html#GeometryUnion","start":0,"end":13}]}}]},{"kind":"interface","name":"IArcadeResultKnowledgeGraph","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"knowledgeGraph\""}},{"kind":"field","name":"value","type":{"text":"KnowledgeGraph","references":[{"name":"default","module":"rest/knowledgeGraph/KnowledgeGraph","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-KnowledgeGraph.html","start":0,"end":14}]}}]},{"kind":"interface","name":"IArcadeResultFeature","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"feature\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultPixel","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"pixel\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultFeatureSet","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSet\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeFeatureSet","references":[{"name":"IArcadeRuntimeFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSet","start":0,"end":24}]}},{"kind":"field","name":"iterator","type":{"text":"IArcadeRuntimeFeatureSetIterator | null","references":[{"name":"IArcadeRuntimeFeatureSetIterator","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSetIterator","start":0,"end":32}]}},{"kind":"field","name":"features","type":{"text":"IArcadeRuntimeDictionary[]","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultPortal","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"portal\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"IArcadeResultAttachment","supertypes":[{"name":"IArcadeResultBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"attachment\""}},{"kind":"field","name":"value","type":{"text":"IArcadeRuntimeDictionary","references":[{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":0,"end":24}]}}]},{"kind":"interface","name":"ArcadeResult","type":{"text":"IArcadeResultArray | IArcadeResultAttachment | IArcadeResultBoolean | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultDictionary | IArcadeResultError | IArcadeResultFeature | IArcadeResultFeatureSet | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultNull | IArcadeResultNumber | IArcadeResultPixel | IArcadeResultPortal | IArcadeResultString | IArcadeResultTimeOnly | IArcadeResultUnknown","references":[{"name":"IArcadeResultArray","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultArray","start":0,"end":18},{"name":"IArcadeResultAttachment","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultAttachment","start":21,"end":44},{"name":"IArcadeResultBoolean","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultBoolean","start":47,"end":67},{"name":"IArcadeResultDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDate","start":70,"end":87},{"name":"IArcadeResultDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDateOnly","start":90,"end":111},{"name":"IArcadeResultDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDictionary","start":114,"end":137},{"name":"IArcadeResultError","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultError","start":140,"end":158},{"name":"IArcadeResultFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultFeature","start":161,"end":181},{"name":"IArcadeResultFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultFeatureSet","start":184,"end":207},{"name":"IArcadeResultGeometry","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultGeometry","start":210,"end":231},{"name":"IArcadeResultKnowledgeGraph","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultKnowledgeGraph","start":234,"end":261},{"name":"IArcadeResultNull","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultNull","start":264,"end":281},{"name":"IArcadeResultNumber","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultNumber","start":284,"end":303},{"name":"IArcadeResultPixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultPixel","start":306,"end":324},{"name":"IArcadeResultPortal","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultPortal","start":327,"end":346},{"name":"IArcadeResultString","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultString","start":349,"end":368},{"name":"IArcadeResultTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultTimeOnly","start":371,"end":392},{"name":"IArcadeResultUnknown","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultUnknown","start":395,"end":415}]}},{"kind":"function","name":"valueToArcadeResult","parameters":[{"name":"value","type":{"text":"unknown"}}],"return":{"type":{"text":"ArcadeResult","references":[{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":0,"end":12}]}}},{"kind":"function","name":"formatArcadeResultDate","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultDate","references":[{"name":"IArcadeResultDate","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDate","start":0,"end":17}]}},{"name":"lang","type":{"text":"string"},"default":"\"en\""}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"formatArcadeResultDateOnly","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultDateOnly","references":[{"name":"IArcadeResultDateOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultDateOnly","start":0,"end":21}]}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"formatArcadeResultTimeOnly","parameters":[{"name":"dateObject","type":{"text":"IArcadeResultTimeOnly","references":[{"name":"IArcadeResultTimeOnly","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeResultTimeOnly","start":0,"end":21}]}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"executeScript","parameters":[{"name":"editorProfile","type":{"text":"IEditorProfileDefinition | undefined","references":[{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":0,"end":24}]}},{"name":"script","type":{"text":"string | undefined"}},{"name":"testContext","type":{"text":"IEditorTestContext","references":[{"name":"IEditorTestContext","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IEditorTestContext","start":0,"end":18}]}},{"name":"console","optional":true,"type":{"text":"(log: string) => void"}}],"return":{"type":{"text":"Promise<ArcadeResult>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":8,"end":20}]}}},{"kind":"variable","name":"exportsForTests","type":{"text":"{ convertScriptOutputToArcadeResult: (scriptOutput: unknown, timeZone?: string) => Promise<ArcadeResult>; }","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":83,"end":90},{"name":"ArcadeResult","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ArcadeResult","start":91,"end":103}]}},{"kind":"interface","name":"IContextReferences","members":[{"kind":"field","name":"spatialReference","description":"Spatial reference object used to define the spatial reference for the arcade runtime.\nBy defaults, the spatial reference is set to Web Mercator (wkid: 3857).","type":{"text":"SpatialReference | { wkid: number; } | null | undefined","references":[{"name":"default","module":"geometry/SpatialReference","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html","start":0,"end":16}]}},{"kind":"field","name":"timeZone","description":"Defines the default time zone in which to create and display Arcade date types.\nBy default, the time zone is set to \"system\".","type":{"text":"string | undefined"}},{"kind":"field","name":"services","description":"Defines the \"services\" passed to the arcade executor.","type":{"text":"ArcadeServices | undefined","references":[{"name":"ArcadeServices","module":"arcade","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html#ArcadeServices","start":0,"end":14}]}}]},{"kind":"interface","name":"IArcadeRuntimeFeatureSet","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"fields","type":{"text":"Field[] | null","references":[{"name":"default","module":"layers/support/Field","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html","start":0,"end":5}]}},{"kind":"field","name":"load","type":{"text":"() => Promise<IArcadeRuntimeFeatureSet>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":6,"end":13},{"name":"IArcadeRuntimeFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSet","start":14,"end":38}]}},{"kind":"field","name":"iterator","type":{"text":"(abortSignal: IAbortSignal) => IArcadeRuntimeFeatureSetIterator","references":[{"name":"IAbortSignal","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IAbortSignal","start":14,"end":26},{"name":"IArcadeRuntimeFeatureSetIterator","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeFeatureSetIterator","start":31,"end":63}]}}]},{"kind":"interface","name":"IArcadeRuntimeFeatureSetIterator","members":[{"kind":"field","name":"nextBatchAsArcadeFeatures","type":{"text":"(bsize: number, timeZone: string) => Promise<IArcadeRuntimeDictionary[] | null>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":37,"end":44},{"name":"IArcadeRuntimeDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#IArcadeRuntimeDictionary","start":45,"end":69}]}}]},{"kind":"interface","name":"IArcadeRuntimeDate","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toDateTime","type":{"text":"() => { setLocale: (locale: string) => { toFormat: (format: string) => string; }; }"}},{"kind":"field","name":"isUnknownTimeZone","type":{"text":"boolean"}}]},{"kind":"interface","name":"IArcadeRuntimeDateOnly","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toString","description":"To ISO Date format","type":{"text":"() => string"}}]},{"kind":"interface","name":"IArcadeRuntimeTimeOnly","members":[{"kind":"field","name":"declaredRootClass","type":{"text":"string"}},{"kind":"field","name":"toString","description":"To ISO Time format","type":{"text":"() => string"}}]},{"kind":"interface","name":"IArcadeResultBase","members":[{"kind":"field","name":"type","type":{"text":"ResultType","references":[{"name":"ResultType","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-arcade-executor.html#ResultType","start":0,"end":10}]}},{"kind":"field","name":"timeStamp","type":{"text":"Date | undefined","references":[{"name":"Date","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date","start":0,"end":4}]}},{"kind":"field","name":"compilationTime","type":{"text":"number | undefined"}},{"kind":"field","name":"executionTime","type":{"text":"number | undefined"}}]}]},{"kind":"javascript-module","path":"utils/custom-panel","sourcePath":"src/utils/custom-panel.ts","declarations":[{"kind":"interface","name":"ICustomPanel","supertypes":[{"name":"ICustomSidePanel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#ICustomSidePanel"}]},{"kind":"interface","name":"ICustomSidePanel","supertypes":[{"name":"IBaseCustomPanel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-custom-panel.html#IBaseCustomPanel"}],"members":[{"kind":"field","name":"icon","description":"Calcite icon","type":{"text":"IconName","references":[{"name":"IconName","module":"components/arcgis-arcade-coding-assistant/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-coding-assistant/types#IconName","start":0,"end":8}]}},{"kind":"field","name":"description","description":"Optional description","type":{"text":"string | undefined"}},{"kind":"field","name":"useFlows","deprecated":"- this is not used in the codebase and will be removed in the future.","description":"Optional flag to indicate that the user is providing custom flow items","type":{"text":"boolean | undefined"}},{"kind":"field","name":"enabled","description":"Optional flag to tell the editor if the panel is enabled, defaults to true","type":{"text":"boolean | undefined"}},{"kind":"field","name":"location","description":"location","type":{"text":"\"sidebar\""}}]},{"kind":"interface","name":"IBaseCustomPanel","members":[{"kind":"field","name":"id","description":"Unique ID","type":{"text":"string"}},{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"location","type":{"text":"\"sidebar\""}},{"kind":"field","name":"renderer","type":{"text":"({ closePanel, insertText, closed, editorRef, }: {\n closePanel: (e: Event) => void;\n insertText: (text: string) => void;\n closed: boolean;\n editorRef: ArcgisArcadeEditor;\n}) => JsxNode","references":[{"name":"Event","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/Event","start":71,"end":76},{"name":"ArcgisArcadeEditor","module":"components/arcgis-arcade-editor","viewUrl":"https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/#ArcgisArcadeEditor","start":163,"end":181},{"name":"JsxNode","package":"@arcgis/lumina","start":189,"end":196}]}}]}]},{"kind":"javascript-module","path":"utils/editor-suggestions","sourcePath":"src/utils/editor-suggestions.ts","declarations":[{"kind":"interface","name":"IEditorCodeSuggestionGroup","members":[{"kind":"field","name":"label","description":"Label for the suggestion group","type":{"text":"string"}},{"kind":"field","name":"suggestions","description":"List of suggestions for the group","type":{"text":"IEditorCodeSuggestion[]","references":[{"name":"IEditorCodeSuggestion","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestion","start":0,"end":21}]}}]},{"kind":"interface","name":"IEditorCodeSuggestion","description":"Defines a code suggestion","members":[{"kind":"field","name":"label","description":"A short label for the suggestion. Can be thought as a title","type":{"text":"string"}},{"kind":"field","name":"description","description":"A short description that will be showed below the label in the list of suggestions panel","type":{"text":"string | undefined"}},{"kind":"field","name":"documentation","description":"Markdown string that will be rendered along with the code in the detail panel","type":{"text":"string | undefined"}},{"kind":"field","name":"code","description":"The code for the suggestion. Will be injected in the editor is selected","type":{"text":"string"}}]},{"kind":"function","name":"isSuggestionGroups","parameters":[{"name":"item","type":{"text":"unknown"}}],"return":{"type":{"text":"item is IEditorCodeSuggestionGroup[]","references":[{"name":"IEditorCodeSuggestionGroup","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-editor-suggestions.html#IEditorCodeSuggestionGroup","start":8,"end":34}]}}}]},{"kind":"javascript-module","path":"utils/index","sourcePath":"src/utils/index.ts","declarations":[]},{"kind":"javascript-module","path":"utils/arcade-assistant/types","sourcePath":"src/utils/arcade-assistant/types.ts","declarations":[{"kind":"interface","name":"ArcadeAssistantConfig","description":"Public configuration options for the arcade assistant","members":[{"kind":"field","name":"portalUrl","description":"The URL of the portal the arcade editor is loaded for. Typically accessed via `portal.url`","type":{"text":"string"}},{"kind":"field","name":"appVersion","description":"A unique key for your application, used to identify the app in the feedback system.\nTypically you will not need to provide this, granted that you have set `esriConfig.applicationName` in your app.","type":{"text":"string | undefined"}}]}]},{"kind":"javascript-module","path":"utils/arcade-monaco/arcade-defaults","sourcePath":"src/utils/arcade-monaco/arcade-defaults.ts","declarations":[{"kind":"variable","name":"arcade","type":{"text":"{\n setProfileForModel: (modelId: string | Uri2, definition: IEditorProfileDefinition | IPredefinedProfile | undefined, apiContext?: {\n locale: string;\n snippets?: Array<ApiSnippet2> | undefined;\n }) => Promise<void>;\n getApiLibraryForModel: (modelId: string) => Promise<Array<ApiCategory>>;\n}","references":[{"name":"Uri","module":"esm/vs/editor/editor.api.js","package":"monaco-editor","start":45,"end":49},{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":63,"end":87},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":90,"end":108},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":180,"end":185},{"name":"ApiSnippet","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":186,"end":197},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":222,"end":229},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":285,"end":292},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":293,"end":298},{"name":"ApiCategory","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":299,"end":310}]}}]},{"kind":"javascript-module","path":"utils/profile/types","sourcePath":"src/utils/profile/types.ts","declarations":[{"kind":"interface","name":"ProfileStrings","description":"The editor profile strings.","supertypes":[{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","typeArguments":[{"text":"typeof profileStrings","references":[{"name":"profileStrings","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#profileStrings","start":7,"end":21}]}]}]},{"kind":"interface","name":"IEditorProfileDefinition","description":"Editor Profile definition used for configuring the editor:\n- presenting to the user the Arcade API\n- validating the expression\n- proposing code completion\n- formatting code","members":[{"kind":"field","name":"label","description":"Optional label for the profile. Used in the editor when displaying the variables panel.","type":{"text":"string | undefined"}},{"kind":"field","name":"variables","description":"The collection of variables that will be passed to the expression at execution time.\nThe variable declarations are used to help the editor provide validation and completion.","type":{"text":"IProfileVariable[]","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}},{"kind":"field","name":"apiVersion","description":"The version of the Arcade API that the editor should use during validation and completion.","type":{"text":"string | undefined"}},{"kind":"field","name":"bundles","description":"The Arcade API bundles that the editor should use during validation and completion.","type":{"text":"BundleType[] | undefined","references":[{"name":"BundleType","package":"@arcgis/languages-api-utils","start":0,"end":10}]}},{"kind":"field","name":"additionalApiItems","description":"A collection of additional Arcade API items that will be provided at runtime.","type":{"text":"ApiItem[] | undefined","references":[{"name":"ApiItem","package":"@arcgis/languages-api-utils","start":0,"end":7}]}},{"kind":"field","name":"hiddenApiItems","description":"A collection of api item names to hide.","type":{"text":"string[] | undefined"}}]},{"kind":"interface","name":"ProfileVariableType","description":"The type of variables supported.","supertypes":[{"name":"ApiVariableType","package":"@arcgis/languages-api-utils"}]},{"kind":"interface","name":"ProfileVariableValueType","description":"The type of value variables supported.","type":{"text":"\"boolean\" | \"date\" | \"dateOnly\" | \"geometry\" | \"knowledgeGraph\" | \"number\" | \"text\" | \"time\""}},{"kind":"interface","name":"IProfileVariable","description":"The supported profile variable types.\nTODO: hopefully align with @arcgis/core's Variable type in the future.","type":{"text":"IProfileArray | IProfileDictionary | IProfileFeature | IProfileFeatureSet | IProfileFeatureSetCollection | IProfilePixel | IProfileValue | IProfileVoxel","references":[{"name":"IProfileArray","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileArray","start":0,"end":13},{"name":"IProfileDictionary","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileDictionary","start":16,"end":34},{"name":"IProfileFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeature","start":37,"end":52},{"name":"IProfileFeatureSet","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeatureSet","start":55,"end":73},{"name":"IProfileFeatureSetCollection","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeatureSetCollection","start":76,"end":104},{"name":"IProfilePixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfilePixel","start":107,"end":120},{"name":"IProfileValue","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileValue","start":123,"end":136},{"name":"IProfileVoxel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVoxel","start":139,"end":152}]}},{"kind":"interface","name":"IProfileVariableBase","description":"Properties common to all profile variables.","members":[{"kind":"field","name":"name","description":"Name of the variable","type":{"text":"string"}},{"kind":"field","name":"description","description":"Description for the variable","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"IProfileValue","description":"Single value profile variable declaration.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"boolean\" | \"date\" | \"dateOnly\" | \"geometry\" | \"knowledgeGraph\" | \"number\" | \"text\" | \"time\""},"readonly":true}]},{"kind":"interface","name":"IProfileDictionary","description":"Dictionary profile variable declaration. Properties of a dictionary are profile variables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"dictionary\""},"readonly":true},{"kind":"field","name":"properties","description":"The dictionary properties. Properties are variables as well.","type":{"text":"IProfileVariable[] | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfileArray","description":"Dictionary profile variable declaration. Properties of a dictionary are profile variables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"array\""},"readonly":true},{"kind":"field","name":"elementType","description":"The type for the array elements.","type":{"text":"IProfileVariable | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfileFeature","description":"Feature profile variable declaration.\nFeatures contains values that can be accessed by a name (aka field name or attribute name).\nOptionally features can have a geometry that can be accessed by a specialized Arcade function.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"feature\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"FeatureDefinition | undefined","references":[{"name":"FeatureDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureDefinition","start":0,"end":17}]}}]},{"kind":"interface","name":"IProfileFeatureSet","description":"FeatureSet profile variable declaration.\nFeatureSet represents a collection of Features.\nIndividual feature or subset of features can be accessed by using specialized Arcade functions.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSet\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature set.","type":{"text":"FeatureSetDefinition | undefined","references":[{"name":"FeatureSetDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetDefinition","start":0,"end":20}]}}]},{"kind":"interface","name":"IProfileFeatureSetCollection","description":"FeatureSetCollection profile variable declaration.\nFeatureSetCollections are used to represent Feature Services or Web Maps in Arcade expressions.\nFeatureSetCollections expose two collections of Layers and Tables.","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"featureSetCollection\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the featureSetCollection will find its definition.","type":{"text":"FeatureSetCollectionDefinition | undefined","references":[{"name":"FeatureSetCollectionDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetCollectionDefinition","start":0,"end":30}]}}]},{"kind":"interface","name":"IProfileVoxel","description":"Voxel profile variable declaration.\nVoxel contains values that can be accessed by a name (aka field name or attribute name).","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"voxel\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"VoxelDefinition | undefined","references":[{"name":"VoxelDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#VoxelDefinition","start":0,"end":15}]}}]},{"kind":"interface","name":"IProfilePixel","description":"Pixel profile variable declaration.\nPixel contains values that can be accessed by a name (aka field name or attribute name).","supertypes":[{"name":"IProfileVariableBase","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariableBase"}],"members":[{"kind":"field","name":"type","type":{"text":"\"pixel\""},"readonly":true},{"kind":"field","name":"definition","description":"Describes how the editor will find the definition for the feature.","type":{"text":"PixelDefinition | undefined","references":[{"name":"PixelDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#PixelDefinition","start":0,"end":15}]}}]},{"kind":"interface","name":"IFeatureLikeProfile","type":{"text":"IProfileFeature | IProfilePixel | IProfileVoxel","references":[{"name":"IProfileFeature","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileFeature","start":0,"end":15},{"name":"IProfilePixel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfilePixel","start":18,"end":31},{"name":"IProfileVoxel","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVoxel","start":34,"end":47}]}},{"kind":"interface","name":"IPortalItemProperties","description":"Describes a portal item.","members":[{"kind":"field","name":"id","description":"The unique portal item id.","type":{"text":"string"}},{"kind":"field","name":"portal","description":"The optional portal url. Default: www.arcgis.com.","type":{"text":"{ url: string; } | undefined"}}]},{"kind":"interface","name":"IPortalItemDefinition","description":"WebMap and Service FeatureSetCollection can be defined by a portal item.","members":[{"kind":"field","name":"portalItem","description":"Describes a portal item.","type":{"text":"IPortalItemProperties","references":[{"name":"IPortalItemProperties","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemProperties","start":0,"end":21}]}}]},{"kind":"interface","name":"IFeatureLayerItemDefinition","description":"FeatureLayer can be defined from a Feature Layer portal item.","supertypes":[{"name":"IPortalItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemDefinition"}],"members":[{"kind":"field","name":"layerId","description":"The layer id in the feature layer portal item. Default to 0.","type":{"text":"number | undefined"}}]},{"kind":"interface","name":"IUrlDefinition","description":"FeatureLayers and GroupLayers can be created by providing the url to the resource in a feature service.","members":[{"kind":"field","name":"url","description":"The url of the resource.","type":{"text":"string | null | undefined"}}]},{"kind":"interface","name":"IFieldsDefinition","description":"The most basic way to define a feature or feature set is by passing a collection of fields","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"fields\""}]}]},{"kind":"interface","name":"FeatureDefinition","description":"FeatureDefinition represents various ways a Feature variable could be defined.\nLayer instance is the most common way to define a feature,\nthe minimum required is that the layer instance exposes a collection of fields.\nAn object with just fields can be used to define a feature from a collection of fields.\nAn object with a url property can be used to define a feature from a feature service.\nAn object with minimal portal item properties and a layer id can be used to define a feature from a feature layer portal item.\nFor the last two options, a feature layer instance will be created by the editor profile.","type":{"text":"IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition","start":30,"end":47},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":50,"end":64}]}},{"kind":"interface","name":"VoxelDefinition","description":"VoxelDefinition represents various ways a Voxel variable could be defined.","type":{"text":"IFeatureLayerItemDefinition | IUrlDefinition | VoxelLayer","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":30,"end":44},{"name":"default","module":"layers/VoxelLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html","start":47,"end":57}]}},{"kind":"interface","name":"PixelDefinition","description":"PixelDefinition represents various ways a Pixel variable could be defined.","type":{"text":"IFeatureLayerItemDefinition | ImageryLayer | ImageryTileLayer | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"default","module":"layers/ImageryLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html","start":30,"end":42},{"name":"default","module":"layers/ImageryTileLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html","start":45,"end":61},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":64,"end":78}]}},{"kind":"interface","name":"FeatureSetDefinition","description":"FeatureSetDefinition represents the various ways a FeatureSet variable could be defined.\nSee FeatureDefinition for more details.","type":{"text":"IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition","references":[{"name":"IFeatureLayerItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFeatureLayerItemDefinition","start":0,"end":27},{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition","start":30,"end":47},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":50,"end":64}]}},{"kind":"interface","name":"FeatureSetCollectionDefinition","description":"FeatureSetCollectionDefinition represents the various ways a FeatureSetCollection could be defined\nas a feature service or a web map.","type":{"text":"IPortalItemDefinition | IUrlDefinition | Map | WebMap | WebScene","references":[{"name":"IPortalItemDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPortalItemDefinition","start":0,"end":21},{"name":"IUrlDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlDefinition","start":24,"end":38},{"name":"default","module":"Map","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html","start":41,"end":44},{"name":"default","module":"WebMap","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html","start":47,"end":53},{"name":"default","module":"WebScene","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html","start":56,"end":64}]}},{"kind":"interface","name":"VariableDefinitions","supertypes":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","typeArguments":[{"text":"string"},{"text":"FeatureDefinition | FeatureSetCollectionDefinition | FeatureSetDefinition | IProfileVariable[] | undefined","references":[{"name":"FeatureDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureDefinition","start":0,"end":17},{"name":"FeatureSetCollectionDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetCollectionDefinition","start":20,"end":50},{"name":"FeatureSetDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#FeatureSetDefinition","start":53,"end":73},{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":76,"end":92}]}]}]},{"kind":"interface","name":"IPredefinedProfile","members":[{"kind":"field","name":"id","description":"The well known profile ID.","type":{"text":"ProfileId","references":[{"name":"ProfileId","package":"@arcgis/languages-api-utils","start":0,"end":9}]}},{"kind":"field","name":"disabledVariables","description":"The variables that should be disabled for the profile.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"definitions","description":"Provides the definitions for the definition based variables (feature, featureSet, featureSetCollection).","type":{"text":"VariableDefinitions","references":[{"name":"VariableDefinitions","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#VariableDefinitions","start":0,"end":19}]}},{"kind":"field","name":"hiddenApiItems","description":"A collection of api item names to hide.","type":{"text":"string[] | undefined"}}]},{"kind":"interface","name":"IndexedProfileStrings","supertypes":[{"name":"ProfileStrings","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ProfileStrings"},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","typeArguments":[{"text":"string"},{"text":"string | undefined"}]}]},{"kind":"interface","name":"SupportedSource","description":"Describe the support source for some of the editor variables.","supertypes":[{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition"}]},{"kind":"interface","name":"SupportedPixelSource","description":"Describe the supported source for pixel variables","type":{"text":"ImageryLayer | ImageryTileLayer","references":[{"name":"default","module":"layers/ImageryLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html","start":0,"end":12},{"name":"default","module":"layers/ImageryTileLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html","start":15,"end":31}]}},{"kind":"interface","name":"SupportedVoxelSource","description":"Describe the supported source for voxel variables","supertypes":[{"name":"default","module":"layers/VoxelLayer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html"}]},{"kind":"interface","name":"ITitleCapableSource","description":"Layer that supports title.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Layer","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":0,"end":5}]},{"text":"\"title\""}]}]},{"kind":"interface","name":"IUrlCapableSource","description":"Layer that supports url.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"url\""}]}]},{"kind":"interface","name":"ILayerIdCapableSource","description":"Layer that supports layer id.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"layerId\""}]}]},{"kind":"interface","name":"IFeatureLayerLikeInstance","description":"Layer that supports queryFeatures","supertypes":[{"name":"IFieldsDefinition","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IFieldsDefinition"},{"name":"ITitleCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ITitleCapableSource"}],"members":[{"kind":"field","name":"declaredClass","description":"The declared class of the layer.","type":{"text":"string"}},{"kind":"field","name":"id","description":"The unique ID assigned to the layer.","type":{"text":"string"}},{"kind":"field","name":"layerId","description":"The layer ID, or layer index, of a Feature Service layer.","type":{"text":"number | null | undefined"}},{"kind":"field","name":"queryFeatures","description":"Executes a Query against the feature service and returns a Promise to a FeatureSet.","type":{"text":"FeatureLayer[\"queryFeatures\"]","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]}},{"kind":"field","name":"sourceJSON","description":"The service's metadata JSON exposed by the ArcGIS REST API.","type":{"text":"unknown | undefined"}}]},{"kind":"interface","name":"IDomainsCapableSource","description":"Layer that supports field domains.","members":[{"kind":"field","name":"getFieldDomain","description":"Returns the Domain associated with the given field name.","type":{"text":"(fieldName: string) => Domain | null","references":[{"name":"default","module":"layers/support/Domain.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html","start":23,"end":29}]}}]},{"kind":"interface","name":"IFeatureTypesCapableSource","description":"Layer that implements types","supertypes":[{"name":"IDomainsCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IDomainsCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"typeIdField\" | \"types\""}]}]},{"kind":"interface","name":"ISubtypeFieldCapableSource","description":"Layer that has a subtype field","supertypes":[{"name":"IDomainsCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IDomainsCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"subtypeField\""}]}]},{"kind":"interface","name":"ISubtypesCapableSource","description":"Layer that exposes subtypes.","supertypes":[{"name":"ISubtypeFieldCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ISubtypeFieldCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"subtypes\""}]}]},{"kind":"interface","name":"IRelationshipsCapableSource","description":"Layer that supports relationships.","supertypes":[{"name":"ILayerIdCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#ILayerIdCapableSource"},{"name":"IUrlCapableSource","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IUrlCapableSource"},{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"relationships\""}]}]},{"kind":"interface","name":"ITableCapableSource","description":"Layer that is capable of being non-spatial.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"isTable\""}]}]},{"kind":"interface","name":"IGeometryCapableSource","description":"Layer that is capable of having geometry","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"FeatureLayer","references":[{"name":"default","module":"layers/FeatureLayer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html","start":0,"end":12}]},{"text":"\"geometryType\""}]}],"members":[{"kind":"field","name":"isTable","type":{"text":"false | undefined"}}]},{"kind":"interface","name":"ILoadableSource","description":"An instance that requires a load operation to be performed.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Layer","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":0,"end":5}]},{"text":"\"load\""}]}]},{"kind":"interface","name":"ILoadAllCapable","description":"An instance that requires a loadAll operation to be performed.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"WebMap | WebScene","references":[{"name":"default","module":"WebMap","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html","start":0,"end":6},{"name":"default","module":"WebScene","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html","start":9,"end":17}]},{"text":"\"loadAll\""}]}]},{"kind":"interface","name":"IPortalItemCapable","description":"An instance that is based on a portal item.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"PortalItemResource","references":[{"name":"default","module":"portal/PortalItemResource","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItemResource.html","start":0,"end":18}]},{"text":"\"portalItem\""}]}]},{"kind":"interface","name":"IGroupLayerCapable","description":"An instance that exposes all layers and tables collections.","supertypes":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","typeArguments":[{"text":"Map","references":[{"name":"default","module":"Map","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html","start":0,"end":3}]},{"text":"\"allLayers\" | \"allTables\""}]}]},{"kind":"interface","name":"IIntlString","description":"Represents a string that will have to be manufactured from a Intl strings resource.","members":[{"kind":"field","name":"code","description":"The intl code in the Intl strings resource.","type":{"text":"string"}},{"kind":"field","name":"formatValues","description":"The properties that the Intl string may leverage during the composition of the string.\nExample:\n- the intl string is defined as: \"webmaptitle\": \"Web Map - {title}\"\n- the formatValues should be an object `{title: \"California Fires\"}`","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}]},{"kind":"interface","name":"LayerInfo","description":"The bare minimum interface for layer information coming from the rest API.","members":[{"kind":"field","name":"id","type":{"text":"number"}},{"kind":"field","name":"type","type":{"text":"string"}},{"kind":"field","name":"capabilities","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"IExtendedPredefinedProfile","supertypes":[{"name":"IPredefinedProfile","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile"}],"members":[{"kind":"field","name":"additionalVariables","type":{"text":"IProfileVariable[] | undefined","references":[{"name":"IProfileVariable","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IProfileVariable","start":0,"end":16}]}}]},{"kind":"interface","name":"IProfilePolicy","description":"Represents the policy for an editor profile. The policy can influence specific configuration and loading behavior of the editor profile.","docsTags":[{"name":"privateremarks","text":"Currently we use this to ignore specific layers in feature set variables for arcade profiles, but the concept is extensible to other configuration and loading behavior in the future."}],"members":[{"kind":"field","name":"filterFsCollectionLayersFromMap","description":"A hook to filter layers to be included in a feature set collection\nthat source from a map","docsTags":[{"name":"privateremarks","text":"see https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/10715 for a use case.\nIn arcade we don't want to include certain layer types in the $map variable."}],"type":{"text":"(layer: Layer) => boolean | undefined","references":[{"name":"default","module":"layers/Layer","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html","start":8,"end":13}]}}]},{"kind":"variable","name":"profileStrings","type":{"text":"(value: {\n layer: string;\n featureservice: string;\n mapservice: string;\n map: string;\n webmap: string;\n webscene: string;\n webmapformat: string;\n item: string;\n invoking: string;\n fields: string;\n values: string;\n relationships: string;\n layers: string;\n tables: string;\n geometry: string;\n dictionary: string;\n feature: string;\n featureset: string;\n featuresetcollection: string;\n oid: string;\n number: string;\n string: string;\n date: string;\n blob: string;\n raster: string;\n guid: string;\n \"global-id\": string;\n xml: string;\n function: string;\n domainvalues: string;\n subtypes: string;\n domainvaluesfortypeformat: string;\n domainvaluesbysubtypes: string;\n}) => {\n layer: string;\n featureservice: string;\n mapservice: string;\n map: string;\n webmap: string;\n webscene: string;\n webmapformat: string;\n item: string;\n invoking: string;\n fields: string;\n values: string;\n relationships: string;\n layers: string;\n tables: string;\n geometry: string;\n dictionary: string;\n feature: string;\n featureset: string;\n featuresetcollection: string;\n oid: string;\n number: string;\n string: string;\n date: string;\n blob: string;\n raster: string;\n guid: string;\n \"global-id\": string;\n xml: string;\n function: string;\n domainvalues: string;\n subtypes: string;\n domainvaluesfortypeformat: string;\n domainvaluesbysubtypes: string;\n}"}}]},{"kind":"javascript-module","path":"utils/sql-expr-monaco/sql-expr-defaults","sourcePath":"src/utils/sql-expr-monaco/sql-expr-defaults.ts","declarations":[{"kind":"variable","name":"sqlExpression","type":{"text":"{\n setProfileForModel: (modelId: string | Uri2, definition: IEditorProfileDefinition | IPredefinedProfile | undefined, apiContext?: { locale: string; }) => Promise<void>;\n getApiLibraryForModel: (modelId: string) => Promise<Array<ApiCategory>>;\n}","references":[{"name":"Uri","module":"esm/vs/editor/editor.api.js","package":"monaco-editor","start":45,"end":49},{"name":"IEditorProfileDefinition","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IEditorProfileDefinition","start":63,"end":87},{"name":"IPredefinedProfile","module":"utils/profile/types","viewUrl":"https://developers.arcgis.com/javascript/latest/api-reference/esri-utils-profile-types.html#IPredefinedProfile","start":90,"end":108},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":159,"end":166},{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":222,"end":229},{"name":"Array","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array","start":230,"end":235},{"name":"ApiCategory","module":"dist/types.js","package":"@arcgis/languages-api-utils","start":236,"end":247}]}}]}]}