@arcgis/ai-components 5.0.0-next.157 → 5.0.0-next.158
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.
- package/dist/cdn/{AF63DSCU.js → 3CMKYFFJ.js} +65 -65
- package/dist/cdn/3PHWKSJZ.js +3 -0
- package/dist/cdn/4GEEK3VW.js +2 -0
- package/dist/cdn/{V32SS7PJ.js → 7GTFRRWF.js} +1 -1
- package/dist/cdn/7KB4R4Z2.js +2 -0
- package/dist/cdn/AZ5XXKIT.js +2 -0
- package/dist/cdn/EJ4UHNLB.js +67 -0
- package/dist/cdn/EM4MVN4S.js +2 -0
- package/dist/cdn/FEJ3AX3C.js +2 -0
- package/dist/cdn/GIZ3VXFU.js +2 -0
- package/dist/cdn/JA77AZOL.js +2 -0
- package/dist/cdn/JAM6XGUG.js +2 -0
- package/dist/cdn/NW23TGM5.js +2 -0
- package/dist/cdn/PFUFVETM.js +2 -0
- package/dist/cdn/QFZO3GXQ.js +2 -0
- package/dist/cdn/QSWBOTEQ.js +2 -0
- package/dist/cdn/{LDS4EYQM.js → QYS2QVQH.js} +15 -0
- package/dist/cdn/RC23XIYX.js +2 -0
- package/dist/cdn/V5WWNOSQ.js +2 -0
- package/dist/cdn/{7DTHEDCA.js → WUVHD2MN.js} +77 -68
- package/dist/cdn/{AHBZA3FR.js → WWTWOB2N.js} +1 -1
- package/dist/cdn/{OEDEKAJJ.js → XJBDOKVO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/converterUtils.js +117 -0
- package/dist/chunks/utils.js +12 -14
- package/dist/chunks/utils2.js +3 -2
- package/dist/components/arcgis-assistant/customElement.d.ts +29 -11
- package/dist/components/arcgis-assistant/customElement.js +143 -125
- package/dist/components/arcgis-assistant/types.d.ts +29 -0
- package/dist/components/arcgis-assistant-chat/customElement.d.ts +8 -6
- package/dist/components/arcgis-assistant-chat/customElement.js +12 -12
- package/dist/components/arcgis-assistant-chat-card/customElement.d.ts +12 -5
- package/dist/components/arcgis-assistant-chat-card/customElement.js +59 -25
- package/dist/components/arcgis-assistant-chat-card/index.js +2 -0
- package/dist/components/arcgis-assistant-chat-card-content/customElement.js +14 -12
- package/dist/components/arcgis-assistant-chat-card-content/index.js +1 -0
- package/dist/components/arcgis-assistant-chat-entry/customElement.d.ts +5 -2
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +42 -20
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +5 -5
- package/dist/components/arcgis-assistant-help-agent/customElement.d.ts +33 -0
- package/dist/components/arcgis-assistant-help-agent/customElement.js +26 -0
- package/dist/components/arcgis-assistant-help-agent/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-help-agent/index.js +1 -0
- package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +1 -1
- package/dist/components/arcgis-assistant-interrupt/customElement.js +8 -8
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.js +2 -2
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.js +11 -11
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +6 -6
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +5 -5
- package/dist/components/arcgis-assistant-shell/customElement.d.ts +3 -0
- package/dist/components/arcgis-assistant-shell/customElement.js +12 -11
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/loader.js +8 -7
- package/dist/types/lumina.d.ts +19 -5
- package/dist/types/preact.d.ts +20 -5
- package/dist/types/react.d.ts +21 -5
- package/dist/types/stencil.d.ts +19 -5
- package/package.json +8 -6
- package/dist/cdn/2EP62G3F.js +0 -2
- package/dist/cdn/33UOPY5K.js +0 -2
- package/dist/cdn/5HW2GXLG.js +0 -2
- package/dist/cdn/67C4OJGP.js +0 -4
- package/dist/cdn/7JQF7K4O.js +0 -2
- package/dist/cdn/7TOMVUR3.js +0 -2
- package/dist/cdn/CFWC26EG.js +0 -2
- package/dist/cdn/EF43HQG4.js +0 -2
- package/dist/cdn/JMVSBIZH.js +0 -2
- package/dist/cdn/QJ3OZMLS.js +0 -2
- package/dist/cdn/QWUKKFEV.js +0 -2
- package/dist/cdn/RFHHK4CN.js +0 -2
- package/dist/cdn/TFSGIS6Z.js +0 -2
- package/dist/cdn/W5WKMUAF.js +0 -2
package/dist/docs/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/ai-components","version":"5.0.0-next.157","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-assistant","description":"The ArcGIS Assistant component provides a chat-based natural language interface for interacting with\nmap data and services. This component relies on large language models to understand user prompts and\ngenerate both text and structured responses based on the user's intent and the context of the map.\n\nBy default, the `arcgis-assistant` component does not include any agents. You must register at least one\nagent for the assistant to function. You can register agents declaratively using any of the\navailable agent components, or you can register custom agents.\n\n## Register ArcGIS agents\n\nTo register ArcGIS agents declaratively, include one or more of the following agent components as children\nof the `arcgis-assistant` component. This can be done in HTML or programmatically using JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-navigation-agent></arcgis-assistant-navigation-agent>\n <arcgis-assistant-data-exploration-agent></arcgis-assistant-data-exploration-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst navigationAgent = document.createElement(\"arcgis-assistant-navigation-agent\");\nconst dataExplorationAgent = document.createElement(\"arcgis-assistant-data-exploration-agent\");\nassistant.appendChild(navigationAgent);\nassistant.appendChild(dataExplorationAgent);\n```\n\nTo learn more about this component, try out the [demo](#demo) below.\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n\n### Slots\n- _default_ - This is the default slot\n- **header-actions-end** - Slot for adding actions to the end of the header.\n- **entry-message** - Slot for adding a welcome or entry message on load.\n- **entry-actions-start** - Slot for adding actions to the start of the entry area.\n- **footer-content** - Slot for adding content to the footer.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/","attributes":[{"name":"description","description":"The description text displayed below the heading in the assistant. This text provides additional\ncontext about the assistant's capabilities and how users can interact with it.","value":{"type":"string"}},{"name":"entry-message","description":"The message to display when the assistant is first loaded.","value":{"type":"string"}},{"name":"heading","description":"The heading text displayed at the top of the assistant. This name should be concise and\ndescriptive of the assistant's purpose.","value":{"type":"string"}},{"name":"reference-element","description":"The reference element to the map that provides context for the assistant and its agents. Currently,\nthis is only scoped to `arcgis-map` elements, but may be extended to support other elements in\nthe future.","value":{"type":["string","object"]}}],"slots":[{"name":"","description":"This is the default slot"},{"name":"header-actions-end","description":"Slot for adding actions to the end of the header."},{"name":"entry-message","description":"Slot for adding a welcome or entry message on load."},{"name":"entry-actions-start","description":"Slot for adding actions to the start of the entry area."},{"name":"footer-content","description":"Slot for adding content to the footer."}],"events":[],"js":{"properties":[{"name":"description","description":"The description text displayed below the heading in the assistant. This text provides additional\ncontext about the assistant's capabilities and how users can interact with it.","type":"string | undefined"},{"name":"entryMessage","description":"The message to display when the assistant is first loaded.","type":"string | undefined"},{"name":"heading","description":"The heading text displayed at the top of the assistant. This name should be concise and\ndescriptive of the assistant's purpose.","type":"string | undefined"},{"name":"portal","description":"The portal used for authentication and making requests to the LLM via proxy requests.","type":"Portal"},{"name":"referenceElement","description":"The reference element to the map that provides context for the assistant and its agents. Currently,\nthis is only scoped to `arcgis-map` elements, but may be extended to support other elements in\nthe future.","type":"ArcgisMap | string | null"},{"name":"suggestedPrompts","description":"Suggested prompts to display in the assistant on load. These are intended to help users get started\nwith common queries or actions.You should typically provide 2-3 suggested prompts that are\nrelevant to the context of the data being used and the capabilities of the registered agents.","type":"string[]"}],"events":[]}},{"name":"arcgis-assistant-agent","description":"The Assistant Agent component is a generic wrapper for adding custom AI agents into the ArcGIS Assistant component. To define\na custom agent, you must be familiar with [LangGraph](https://docs.langchain.com/oss/javascript/langgraph/overview). Custom agents must\ninclude a StateGraph that defines the agent's graph and subgraphs.\n\n> Building custom agents can only be done using modern JavaScript/TypeScript tooling and cannot be done directly in HTML using\nCDN imports. Therefore, you must use a package manager like npm or yarn to install the required dependencies. Please refer to the\nCreating Custom Agents guide for more instructions.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant></arcgis-assistant>\n```\n\n```js\nconst myCustomAgent = {\n id: \"my-custom-agent\",\n name: \"My Custom Agent\",\n description: \"An agent that does custom things. Use this agent when users want to do custom things.\",\n createGraph: {\n // StateGraph definition using LangGraph\n },\n workspace: {\n // AnnotationRoot definition using LangGraph\n // relevant variables and context required by the agent\n },\n};\n\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst assistantAgent = document.createElement(\"arcgis-assistant-agent\");\n\nassistantAgent.agent = myCustomAgent;\nassistant.appendChild(assistantAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-agent/","attributes":[],"events":[],"js":{"properties":[{"name":"agent","description":"The agent registration object that defines the AI agent's behavior and capabilities.\nThis must include a StateGraph definition (defined using\n[LangGraph](https://docs.langchain.com/oss/javascript/langgraph/overview)).\n\nThis is an agent defined in the client and can be invoked by the assistant within the browser to perform specific tasks\nusing functions defined in the client.\n\nSee the Creating Custom Agents guide for more instructions.","type":"AgentRegistration"},{"name":"context","description":"If the agent requires context, it can be provided via this property and accessed in the\nagent's graph nodes.","type":"TContext | undefined"}],"events":[]}},{"name":"arcgis-assistant-data-exploration-agent","description":"The Data Exploration Agent component enables the end user to query features, statistics, and spatial proximity\nof layer within a provided web map. Currently, this is only scoped to querying feature layers within\na 2D web map.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-data-exploration-agent></arcgis-assistant-data-exploration-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst dataExplorationAgent = document.createElement(\"arcgis-assistant-data-exploration-agent\");\nassistant.appendChild(dataExplorationAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-data-exploration-agent/","attributes":[{"name":"reference-element","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-filter-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-filter-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-query-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-query-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-styling-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-styling-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-navigation-agent","description":"The Navigation Agent component enables the end user to navigate to different areas of a web map.\nIt allows you to type in a place name, address, or layer title to navigate to the desired location.\nCurrently, this is only scoped to navigation within a 2D map view.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-navigation-agent></arcgis-assistant-navigation-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst navigationAgent = document.createElement(\"arcgis-assistant-navigation-agent\");\nassistant.appendChild(navigationAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-navigation-agent/","attributes":[{"name":"reference-element","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-chat","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat/","attributes":[{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","default":"\"\"","value":{"type":"string"}},{"name":"user","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string"},{"name":"messages","type":"Collection<{\n type: \"prompt\" | \"response\";\n content?: string;\n log?: string;\n error?: string;\n}>"},{"name":"user","type":"string | undefined"}],"events":[]}},{"name":"arcgis-assistant-chat-card","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-card/","attributes":[{"name":"content","value":{"type":"string"}},{"name":"error","value":{"type":"string"}},{"name":"feedback-disabled","default":"false","value":{"type":"boolean"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","value":{"type":"string"}},{"name":"log","value":{"type":"string"}},{"name":"timestamp-disabled","default":"false","value":{"type":"boolean"}},{"name":"type","default":"\"prompt\"","value":{"type":["\"prompt\"","\"response\""]}},{"name":"user","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"content","type":"string | undefined"},{"name":"error","type":"string | undefined"},{"name":"feedbackDisabled","type":"boolean"},{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string | undefined"},{"name":"log","type":"string | undefined"},{"name":"timestampDisabled","type":"boolean"},{"name":"type","type":"\"prompt\" | \"response\""},{"name":"user","type":"string | undefined"}],"events":[]}},{"name":"arcgis-assistant-chat-card-content","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-card-content/","attributes":[{"name":"content","value":{"type":"string"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","value":{"type":"string"}},{"name":"type","default":"\"text\"","value":{"type":["\"chart\"","\"error\"","\"text\""]}}],"events":[],"js":{"properties":[{"name":"content","type":"string | undefined"},{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string | undefined"},{"name":"type","type":"\"chart\" | \"error\" | \"text\""}],"events":[]}},{"name":"arcgis-assistant-chat-entry","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-entry/","attributes":[{"name":"awaiting-response","default":"false","value":{"type":"boolean"}},{"name":"enter-key-submits","default":"true","value":{"type":"boolean"}},{"name":"entry-placeholder","value":{"type":"string"}},{"name":"input-value","default":"\"\"","value":{"type":"string"}},{"name":"status","value":{"type":["\"error\"","\"ready\"","\"working\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}],"js":{"properties":[{"name":"awaitingResponse","type":"boolean"},{"name":"enterKeySubmits","type":"boolean"},{"name":"entryPlaceholder","type":"string | undefined"},{"name":"inputValue","type":"string"},{"name":"status","type":"\"error\" | \"ready\" | \"working\" | undefined"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}]}},{"name":"arcgis-assistant-interrupt","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-interrupt/","attributes":[{"name":"message","value":{"type":"string"}},{"name":"type","value":{"type":["\"boolean-choice\"","\"multi-select\"","\"single-select\"","\"text-input\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | string"}],"js":{"properties":[{"name":"message","type":"string | undefined"},{"name":"options","type":"string[] | undefined"},{"name":"type","type":"\"boolean-choice\" | \"multi-select\" | \"single-select\" | \"text-input\""}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | string"}]}},{"name":"arcgis-assistant-shell","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-shell/","attributes":[{"name":"awaiting-response","default":"false","value":{"type":"boolean"}},{"name":"description","default":"\"\"","value":{"type":"string"}},{"name":"entry-message","value":{"type":"string"}},{"name":"entry-message-closed","default":"false","value":{"type":"boolean"}},{"name":"heading","value":{"type":"string"}},{"name":"input-value","default":"\"\"","value":{"type":"string"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"status","value":{"type":["\"error\"","\"ready\"","\"working\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}],"js":{"properties":[{"name":"awaitingResponse","type":"boolean"},{"name":"description","type":"string"},{"name":"entryMessage","type":"string | undefined"},{"name":"entryMessageClosed","type":"boolean"},{"name":"heading","type":"string | undefined"},{"name":"inputValue","type":"string"},{"name":"loading","type":"boolean"},{"name":"status","type":"\"error\" | \"ready\" | \"working\" | undefined"},{"name":"suggestedPrompts","type":"string[]"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/ai-components","version":"5.0.0-next.158","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-assistant","description":"The ArcGIS Assistant component provides a chat-based natural language interface for interacting with\nmap data and services. This component relies on large language models to understand user prompts and\ngenerate both text and structured responses based on the user's intent and the context of the map.\n\nBy default, the `arcgis-assistant` component does not include any agents. You must register at least one\nagent for the assistant to function. You can register agents declaratively using any of the\navailable agent components, or you can register custom agents.\n\n## Register ArcGIS agents\n\nTo register ArcGIS agents declaratively, include one or more of the following agent components as children\nof the `arcgis-assistant` component. This can be done in HTML or programmatically using JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-navigation-agent></arcgis-assistant-navigation-agent>\n <arcgis-assistant-data-exploration-agent></arcgis-assistant-data-exploration-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst navigationAgent = document.createElement(\"arcgis-assistant-navigation-agent\");\nconst dataExplorationAgent = document.createElement(\"arcgis-assistant-data-exploration-agent\");\nassistant.appendChild(navigationAgent);\nassistant.appendChild(dataExplorationAgent);\n```\n\nTo learn more about this component, try out the [demo](#demo) below.\n--\n\n### Events\n- **arcgisCancel**\n- **arcgisError**\n- **arcgisFeedback**\n- **arcgisInterrupt**\n- **arcgisInterruptCancel**\n- **arcgisInterruptSubmit**\n- **arcgisReady**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `submitMessage(message: string): Promise<void>`\n\n### Slots\n- _default_ - This is the default slot\n- **header-actions-end** - Slot for adding actions to the end of the header.\n- **entry-message** - Slot for adding a welcome or entry message on load.\n- **entry-actions-start** - Slot for adding actions to the start of the entry area.\n- **footer-content** - Slot for adding content to the footer.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/","attributes":[{"name":"copy-enabled","default":"false","value":{"type":"boolean"}},{"name":"description","description":"The description text displayed below the heading in the assistant. This text provides additional\ncontext about the assistant's capabilities and how users can interact with it.","value":{"type":"string"}},{"name":"entry-message","description":"The message to display when the assistant is first loaded.","value":{"type":"string"}},{"name":"feedback-enabled","default":"false","value":{"type":"boolean"}},{"name":"heading","description":"The heading text displayed at the top of the assistant. This name should be concise and\ndescriptive of the assistant's purpose.","value":{"type":"string"}},{"name":"log-enabled","default":"false","value":{"type":"boolean"}},{"name":"reference-element","description":"The reference element to the map that provides context for the assistant and its agents. Currently,\nthis is only scoped to `arcgis-map` elements, but may be extended to support other elements in\nthe future.","value":{"type":["string","object"]}}],"slots":[{"name":"","description":"This is the default slot"},{"name":"header-actions-end","description":"Slot for adding actions to the end of the header."},{"name":"entry-message","description":"Slot for adding a welcome or entry message on load."},{"name":"entry-actions-start","description":"Slot for adding actions to the start of the entry area."},{"name":"footer-content","description":"Slot for adding content to the footer."}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisError","type":"Error"},{"name":"arcgisFeedback","type":"Feedback"},{"name":"arcgisInterrupt","type":"Interrupt"},{"name":"arcgisInterruptCancel","type":"void"},{"name":"arcgisInterruptSubmit","type":"string[] | boolean | string"},{"name":"arcgisReady","type":"void"},{"name":"arcgisSubmit","type":"string"}],"js":{"properties":[{"name":"copyEnabled","type":"boolean"},{"name":"description","description":"The description text displayed below the heading in the assistant. This text provides additional\ncontext about the assistant's capabilities and how users can interact with it.","type":"string | undefined"},{"name":"entryMessage","description":"The message to display when the assistant is first loaded.","type":"string | undefined"},{"name":"feedbackEnabled","type":"boolean"},{"name":"heading","description":"The heading text displayed at the top of the assistant. This name should be concise and\ndescriptive of the assistant's purpose.","type":"string | undefined"},{"name":"logEnabled","type":"boolean"},{"name":"messages","type":"Collection<ChatMessage>"},{"name":"referenceElement","description":"The reference element to the map that provides context for the assistant and its agents. Currently,\nthis is only scoped to `arcgis-map` elements, but may be extended to support other elements in\nthe future.","type":"ArcgisMap | string | null"},{"name":"suggestedPrompts","description":"Suggested prompts to display in the assistant on load. These are intended to help users get started\nwith common queries or actions.You should typically provide 2-3 suggested prompts that are\nrelevant to the context of the data being used and the capabilities of the registered agents.","type":"string[]"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisError","type":"Error"},{"name":"arcgisFeedback","type":"Feedback"},{"name":"arcgisInterrupt","type":"Interrupt"},{"name":"arcgisInterruptCancel","type":"void"},{"name":"arcgisInterruptSubmit","type":"string[] | boolean | string"},{"name":"arcgisReady","type":"void"},{"name":"arcgisSubmit","type":"string"}]}},{"name":"arcgis-assistant-agent","description":"The Assistant Agent component is a generic wrapper for adding custom AI agents into the ArcGIS Assistant component. To define\na custom agent, you must be familiar with [LangGraph](https://docs.langchain.com/oss/javascript/langgraph/overview). Custom agents must\ninclude a StateGraph that defines the agent's graph and subgraphs.\n\n> Building custom agents can only be done using modern JavaScript/TypeScript tooling and cannot be done directly in HTML using\nCDN imports. Therefore, you must use a package manager like npm or yarn to install the required dependencies. Please refer to the\nCreating Custom Agents guide for more instructions.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant></arcgis-assistant>\n```\n\n```js\nconst myCustomAgent = {\n id: \"my-custom-agent\",\n name: \"My Custom Agent\",\n description: \"An agent that does custom things. Use this agent when users want to do custom things.\",\n createGraph: {\n // StateGraph definition using LangGraph\n },\n workspace: {\n // AnnotationRoot definition using LangGraph\n // relevant variables and context required by the agent\n },\n};\n\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst assistantAgent = document.createElement(\"arcgis-assistant-agent\");\n\nassistantAgent.agent = myCustomAgent;\nassistant.appendChild(assistantAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-agent/","attributes":[],"events":[],"js":{"properties":[{"name":"agent","description":"The agent registration object that defines the AI agent's behavior and capabilities.\nThis must include a StateGraph definition (defined using\n[LangGraph](https://docs.langchain.com/oss/javascript/langgraph/overview)).\n\nThis is an agent defined in the client and can be invoked by the assistant within the browser to perform specific tasks\nusing functions defined in the client.\n\nSee the Creating Custom Agents guide for more instructions.","type":"AgentRegistration"},{"name":"context","description":"If the agent requires context, it can be provided via this property and accessed in the\nagent's graph nodes.","type":"TContext | undefined"}],"events":[]}},{"name":"arcgis-assistant-data-exploration-agent","description":"The Data Exploration Agent component enables the end user to query features, statistics, and spatial proximity\nof layer within a provided web map. Currently, this is only scoped to querying feature layers within\na 2D web map.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-data-exploration-agent></arcgis-assistant-data-exploration-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst dataExplorationAgent = document.createElement(\"arcgis-assistant-data-exploration-agent\");\nassistant.appendChild(dataExplorationAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-data-exploration-agent/","attributes":[{"name":"reference-element","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-help-agent","description":"The Help Agent component provides contextual assistance and guidance to the end user within a web map application.\nIt can offer tips, instructions, and other helpful information based on the current map view and user interactions.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-help-agent></arcgis-assistant-help-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst helpAgent = document.createElement(\"arcgis-assistant-help-agent\");\nassistant.appendChild(helpAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-help-agent/","attributes":[{"name":"reference-element","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-filter-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-filter-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-query-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-query-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-layer-styling-agent","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-layer-styling-agent/","attributes":[{"name":"reference-element","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-navigation-agent","description":"The Navigation Agent component enables the end user to navigate to different areas of a web map.\nIt allows you to type in a place name, address, or layer title to navigate to the desired location.\nCurrently, this is only scoped to navigation within a 2D map view.\n\nThis is an unrendered component that must be added as a child of the `arcgis-assistant` component in either HTML or JavaScript.\n\n```html\n<arcgis-assistant>\n <arcgis-assistant-navigation-agent></arcgis-assistant-navigation-agent>\n</arcgis-assistant>\n```\n\n```js\nconst assistant = document.querySelector(\"arcgis-assistant\");\nconst navigationAgent = document.createElement(\"arcgis-assistant-navigation-agent\");\nassistant.appendChild(navigationAgent);\n```\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-navigation-agent/","attributes":[{"name":"reference-element","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","value":{"type":["string","object"]}}],"events":[],"js":{"properties":[{"name":"referenceElement","description":"A reference to the map element or its ID string used to resolve the MapView for this agent.\nIf not provided, the agent will attempt to find the closest parent `arcgis-map` element.","type":"ArcgisMap | string | undefined"}],"events":[]}},{"name":"arcgis-assistant-chat","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat/","attributes":[{"name":"copy-enabled","default":"false","value":{"type":"boolean"}},{"name":"feedback-enabled","default":"false","value":{"type":"boolean"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","default":"\"\"","value":{"type":"string"}},{"name":"log-enabled","default":"false","value":{"type":"boolean"}},{"name":"user","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"copyEnabled","type":"boolean"},{"name":"feedbackEnabled","type":"boolean"},{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string"},{"name":"logEnabled","type":"boolean"},{"name":"messages","type":"Collection<ChatMessage>"},{"name":"user","type":"string | undefined"}],"events":[]}},{"name":"arcgis-assistant-chat-card","description":"### Events\n- **arcgisFeedback**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-card/","attributes":[{"name":"content","value":{"type":"string"}},{"name":"copy-enabled","default":"false","value":{"type":"boolean"}},{"name":"error","value":{"type":"string"}},{"name":"feedback-enabled","default":"false","value":{"type":"boolean"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","value":{"type":"string"}},{"name":"log-enabled","default":"false","value":{"type":"boolean"}},{"name":"message-role","value":{"type":["\"user\"","\"assistant\""]}},{"name":"user","value":{"type":"string"}}],"events":[{"name":"arcgisFeedback","type":"AssistantMessage"}],"js":{"properties":[{"name":"content","type":"string | undefined"},{"name":"copyEnabled","type":"boolean"},{"name":"error","type":"string | undefined"},{"name":"feedbackEnabled","type":"boolean"},{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string | undefined"},{"name":"log","type":"string[] | undefined"},{"name":"logEnabled","type":"boolean"},{"name":"message","type":"ChatMessage | undefined"},{"name":"messageRole","type":"ChatMessage[\"role\"] | undefined"},{"name":"user","type":"string | undefined"}],"events":[{"name":"arcgisFeedback","type":"AssistantMessage"}]}},{"name":"arcgis-assistant-chat-card-content","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-card-content/","attributes":[{"name":"content","value":{"type":"string"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"loading-message","value":{"type":"string"}},{"name":"type","default":"\"text\"","value":{"type":["\"chart\"","\"error\"","\"text\""]}}],"events":[],"js":{"properties":[{"name":"content","type":"string | undefined"},{"name":"loading","type":"boolean"},{"name":"loadingMessage","type":"string | undefined"},{"name":"type","type":"\"chart\" | \"error\" | \"text\""}],"events":[]}},{"name":"arcgis-assistant-chat-entry","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-chat-entry/","attributes":[{"name":"awaiting-response","default":"false","value":{"type":"boolean"}},{"name":"entry-placeholder","value":{"type":"string"}},{"name":"input-value","default":"\"\"","value":{"type":"string"}},{"name":"keyboard-shortcuts-disabled","default":"false","value":{"type":"boolean"}},{"name":"status","value":{"type":["\"error\"","\"ready\"","\"working\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}],"js":{"properties":[{"name":"awaitingResponse","type":"boolean"},{"name":"entryPlaceholder","type":"string | undefined"},{"name":"inputValue","type":"string"},{"name":"keyboardShortcutsDisabled","type":"boolean"},{"name":"messages","type":"Collection<ChatMessage>"},{"name":"status","type":"\"error\" | \"ready\" | \"working\" | undefined"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}]}},{"name":"arcgis-assistant-interrupt","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-interrupt/","attributes":[{"name":"message","value":{"type":"string"}},{"name":"type","value":{"type":["\"boolean-choice\"","\"multi-select\"","\"single-select\"","\"text-input\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}],"js":{"properties":[{"name":"message","type":"string | undefined"},{"name":"options","type":"string[] | undefined"},{"name":"type","type":"\"boolean-choice\" | \"multi-select\" | \"single-select\" | \"text-input\""}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}]}},{"name":"arcgis-assistant-shell","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","doc-url":"https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-shell/","attributes":[{"name":"awaiting-response","default":"false","value":{"type":"boolean"}},{"name":"description","default":"\"\"","value":{"type":"string"}},{"name":"entry-message","value":{"type":"string"}},{"name":"entry-message-closed","default":"false","value":{"type":"boolean"}},{"name":"heading","value":{"type":"string"}},{"name":"input-value","default":"\"\"","value":{"type":"string"}},{"name":"loading","default":"false","value":{"type":"boolean"}},{"name":"status","value":{"type":["\"error\"","\"ready\"","\"working\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}],"js":{"properties":[{"name":"awaitingResponse","type":"boolean"},{"name":"description","type":"string"},{"name":"entryMessage","type":"string | undefined"},{"name":"entryMessageClosed","type":"boolean"},{"name":"heading","type":"string | undefined"},{"name":"inputValue","type":"string"},{"name":"loading","type":"boolean"},{"name":"messages","type":"Collection<ChatMessage>"},{"name":"status","type":"\"error\" | \"ready\" | \"working\" | undefined"},{"name":"suggestedPrompts","type":"string[]"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export function setAssetPath(path: URL | string): void;
|
|
|
27
27
|
import type { ArcgisAssistant } from "./components/arcgis-assistant/customElement.js";
|
|
28
28
|
import type { ArcgisAssistantAgent } from "./components/arcgis-assistant-agent/customElement.js";
|
|
29
29
|
import type { ArcgisAssistantDataExplorationAgent } from "./components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
30
|
+
import type { ArcgisAssistantHelpAgent } from "./components/arcgis-assistant-help-agent/customElement.js";
|
|
30
31
|
import type { ArcgisAssistantLayerFilterAgent } from "./components/arcgis-assistant-layer-filter-agent/customElement.js";
|
|
31
32
|
import type { ArcgisAssistantLayerQueryAgent } from "./components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
32
33
|
import type { ArcgisAssistantLayerStylingAgent } from "./components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
@@ -40,6 +41,16 @@ import type { ArcgisAssistantShell } from "./components/arcgis-assistant-shell/c
|
|
|
40
41
|
|
|
41
42
|
export { ToEvents, TargetedEvent } from "@arcgis/lumina";
|
|
42
43
|
|
|
44
|
+
export interface ArcgisAssistantCustomEvent<T> extends CustomEvent<T> {
|
|
45
|
+
detail: T;
|
|
46
|
+
target: ArcgisAssistant;
|
|
47
|
+
currentTarget: ArcgisAssistant;
|
|
48
|
+
}
|
|
49
|
+
export interface ArcgisAssistantChatCardCustomEvent<T> extends CustomEvent<T> {
|
|
50
|
+
detail: T;
|
|
51
|
+
target: ArcgisAssistantChatCard;
|
|
52
|
+
currentTarget: ArcgisAssistantChatCard;
|
|
53
|
+
}
|
|
43
54
|
export interface ArcgisAssistantChatEntryCustomEvent<T> extends CustomEvent<T> {
|
|
44
55
|
detail: T;
|
|
45
56
|
target: ArcgisAssistantChatEntry;
|
|
@@ -62,6 +73,7 @@ declare global {
|
|
|
62
73
|
"arcgis-assistant": ArcgisAssistant;
|
|
63
74
|
"arcgis-assistant-agent": ArcgisAssistantAgent;
|
|
64
75
|
"arcgis-assistant-data-exploration-agent": ArcgisAssistantDataExplorationAgent;
|
|
76
|
+
"arcgis-assistant-help-agent": ArcgisAssistantHelpAgent;
|
|
65
77
|
"arcgis-assistant-layer-filter-agent": ArcgisAssistantLayerFilterAgent;
|
|
66
78
|
"arcgis-assistant-layer-query-agent": ArcgisAssistantLayerQueryAgent;
|
|
67
79
|
"arcgis-assistant-layer-styling-agent": ArcgisAssistantLayerStylingAgent;
|
|
@@ -75,12 +87,15 @@ declare global {
|
|
|
75
87
|
|
|
76
88
|
}
|
|
77
89
|
|
|
90
|
+
type HTMLArcgisAssistantElementEventMap = ArcgisAssistant["@eventTypes"];
|
|
78
91
|
type HTMLArcgisAssistantElement = ArcgisAssistant;
|
|
79
92
|
|
|
80
93
|
type HTMLArcgisAssistantAgentElement = ArcgisAssistantAgent;
|
|
81
94
|
|
|
82
95
|
type HTMLArcgisAssistantDataExplorationAgentElement = ArcgisAssistantDataExplorationAgent;
|
|
83
96
|
|
|
97
|
+
type HTMLArcgisAssistantHelpAgentElement = ArcgisAssistantHelpAgent;
|
|
98
|
+
|
|
84
99
|
type HTMLArcgisAssistantLayerFilterAgentElement = ArcgisAssistantLayerFilterAgent;
|
|
85
100
|
|
|
86
101
|
type HTMLArcgisAssistantLayerQueryAgentElement = ArcgisAssistantLayerQueryAgent;
|
|
@@ -91,6 +106,7 @@ declare global {
|
|
|
91
106
|
|
|
92
107
|
type HTMLArcgisAssistantChatElement = ArcgisAssistantChat;
|
|
93
108
|
|
|
109
|
+
type HTMLArcgisAssistantChatCardElementEventMap = ArcgisAssistantChatCard["@eventTypes"];
|
|
94
110
|
type HTMLArcgisAssistantChatCardElement = ArcgisAssistantChatCard;
|
|
95
111
|
|
|
96
112
|
type HTMLArcgisAssistantChatCardContentElement = ArcgisAssistantChatCardContent;
|
package/dist/loader.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
|
-
import { makeDefineCustomElements as
|
|
4
|
-
const n =
|
|
5
|
-
"arcgis-assistant": [() => import("./components/arcgis-assistant/customElement.js"), "_messages:,description,entryMessage,heading,orchestrator:,
|
|
3
|
+
import { makeDefineCustomElements as s } from "@arcgis/lumina";
|
|
4
|
+
const n = s(e, {
|
|
5
|
+
"arcgis-assistant": [() => import("./components/arcgis-assistant/customElement.js"), "_messages:,copyEnabled,description,entryMessage,feedbackEnabled,heading,logEnabled,messages:,orchestrator:,referenceElement,suggestedPrompts:;submitMessage;register"],
|
|
6
6
|
"arcgis-assistant-agent": [() => import("./components/arcgis-assistant-agent/customElement.js"), "agent:,context:;;getContext"],
|
|
7
7
|
"arcgis-assistant-data-exploration-agent": [() => import("./components/arcgis-assistant-data-exploration-agent/customElement.js"), "referenceElement;;getContext"],
|
|
8
|
+
"arcgis-assistant-help-agent": [() => import("./components/arcgis-assistant-help-agent/customElement.js"), "referenceElement;;getContext"],
|
|
8
9
|
"arcgis-assistant-layer-filter-agent": [() => import("./components/arcgis-assistant-layer-filter-agent/customElement.js"), "referenceElement;;getContext"],
|
|
9
10
|
"arcgis-assistant-layer-query-agent": [() => import("./components/arcgis-assistant-layer-query-agent/customElement.js"), "referenceElement;;getContext"],
|
|
10
11
|
"arcgis-assistant-layer-styling-agent": [() => import("./components/arcgis-assistant-layer-styling-agent/customElement.js"), "referenceElement;;getContext"],
|
|
11
12
|
"arcgis-assistant-navigation-agent": [() => import("./components/arcgis-assistant-navigation-agent/customElement.js"), "referenceElement;;getContext"],
|
|
12
|
-
"arcgis-assistant-chat": [() => import("./components/arcgis-assistant-chat/customElement.js"), "loading,loadingMessage,messages:,user"],
|
|
13
|
-
"arcgis-assistant-chat-card": [() => import("./components/arcgis-assistant-chat-card/customElement.js"), "_messages:,content,error,
|
|
13
|
+
"arcgis-assistant-chat": [() => import("./components/arcgis-assistant-chat/customElement.js"), "copyEnabled,feedbackEnabled,loading,loadingMessage,logEnabled,messages:,user"],
|
|
14
|
+
"arcgis-assistant-chat-card": [() => import("./components/arcgis-assistant-chat-card/customElement.js"), "_messages:,content,copyEnabled,error,feedbackEnabled,loading,loadingMessage,log:,logEnabled,message:,messageRole,user"],
|
|
14
15
|
"arcgis-assistant-chat-card-content": [() => import("./components/arcgis-assistant-chat-card-content/customElement.js"), "content,loading,loadingMessage,type"],
|
|
15
|
-
"arcgis-assistant-chat-entry": [() => import("./components/arcgis-assistant-chat-entry/customElement.js"), "_messages:,awaitingResponse,
|
|
16
|
+
"arcgis-assistant-chat-entry": [() => import("./components/arcgis-assistant-chat-entry/customElement.js"), "_messages:,awaitingResponse,entryPlaceholder,inputValue,keyboardShortcutsDisabled,messages:,status"],
|
|
16
17
|
"arcgis-assistant-interrupt": [() => import("./components/arcgis-assistant-interrupt/customElement.js"), "_messages:,message,options:,type"],
|
|
17
|
-
"arcgis-assistant-shell": [() => import("./components/arcgis-assistant-shell/customElement.js"), "_messages:,awaitingResponse,description,entryMessage,entryMessageClosed,heading,inputValue,loading,status,suggestedPrompts:"]
|
|
18
|
+
"arcgis-assistant-shell": [() => import("./components/arcgis-assistant-shell/customElement.js"), "_messages:,awaitingResponse,description,entryMessage,entryMessageClosed,heading,inputValue,loading,messages:,status,suggestedPrompts:"]
|
|
18
19
|
});
|
|
19
20
|
export {
|
|
20
21
|
n as defineCustomElements
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { ArcgisAssistant } from "../components/arcgis-assistant/customElement.js";
|
|
3
3
|
import type { ArcgisAssistantAgent } from "../components/arcgis-assistant-agent/customElement.js";
|
|
4
4
|
import type { ArcgisAssistantDataExplorationAgent } from "../components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
5
|
+
import type { ArcgisAssistantHelpAgent } from "../components/arcgis-assistant-help-agent/customElement.js";
|
|
5
6
|
import type { ArcgisAssistantLayerFilterAgent } from "../components/arcgis-assistant-layer-filter-agent/customElement.js";
|
|
6
7
|
import type { ArcgisAssistantLayerQueryAgent } from "../components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
7
8
|
import type { ArcgisAssistantLayerStylingAgent } from "../components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
@@ -14,7 +15,15 @@ import type { ArcgisAssistantInterrupt } from "../components/arcgis-assistant-in
|
|
|
14
15
|
import type { ArcgisAssistantShell } from "../components/arcgis-assistant-shell/customElement.js";
|
|
15
16
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
16
17
|
|
|
17
|
-
interface LuminaArcgisAssistant extends Partial<Pick<ArcgisAssistant, "description" | "entryMessage" | "heading" | "
|
|
18
|
+
interface LuminaArcgisAssistant extends Partial<Pick<ArcgisAssistant, "copyEnabled" | "description" | "entryMessage" | "feedbackEnabled" | "heading" | "logEnabled" | "messages" | "referenceElement" | "suggestedPrompts">>, h.JSX.HTMLAttributes<ArcgisAssistant> {
|
|
19
|
+
onarcgisCancel?: EventHandler<ArcgisAssistant["arcgisCancel"]>;
|
|
20
|
+
onarcgisError?: EventHandler<ArcgisAssistant["arcgisError"]>;
|
|
21
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistant["arcgisFeedback"]>;
|
|
22
|
+
onarcgisInterrupt?: EventHandler<ArcgisAssistant["arcgisInterrupt"]>;
|
|
23
|
+
onarcgisInterruptCancel?: EventHandler<ArcgisAssistant["arcgisInterruptCancel"]>;
|
|
24
|
+
onarcgisInterruptSubmit?: EventHandler<ArcgisAssistant["arcgisInterruptSubmit"]>;
|
|
25
|
+
onarcgisReady?: EventHandler<ArcgisAssistant["arcgisReady"]>;
|
|
26
|
+
onarcgisSubmit?: EventHandler<ArcgisAssistant["arcgisSubmit"]>;
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
interface LuminaArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent, "agent">>, Partial<Pick<ArcgisAssistantAgent, "context">>, h.JSX.HTMLAttributes<ArcgisAssistantAgent> {
|
|
@@ -23,6 +32,9 @@ interface LuminaArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent,
|
|
|
23
32
|
interface LuminaArcgisAssistantDataExplorationAgent extends Partial<Pick<ArcgisAssistantDataExplorationAgent, "referenceElement">>, h.JSX.HTMLAttributes<ArcgisAssistantDataExplorationAgent> {
|
|
24
33
|
}
|
|
25
34
|
|
|
35
|
+
interface LuminaArcgisAssistantHelpAgent extends Partial<Pick<ArcgisAssistantHelpAgent, "referenceElement">>, h.JSX.HTMLAttributes<ArcgisAssistantHelpAgent> {
|
|
36
|
+
}
|
|
37
|
+
|
|
26
38
|
interface LuminaArcgisAssistantLayerFilterAgent extends Partial<Pick<ArcgisAssistantLayerFilterAgent, "referenceElement">>, h.JSX.HTMLAttributes<ArcgisAssistantLayerFilterAgent> {
|
|
27
39
|
}
|
|
28
40
|
|
|
@@ -35,16 +47,17 @@ interface LuminaArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAssi
|
|
|
35
47
|
interface LuminaArcgisAssistantNavigationAgent extends Partial<Pick<ArcgisAssistantNavigationAgent, "referenceElement">>, h.JSX.HTMLAttributes<ArcgisAssistantNavigationAgent> {
|
|
36
48
|
}
|
|
37
49
|
|
|
38
|
-
interface LuminaArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "loadingMessage" | "messages" | "user">>, h.JSX.HTMLAttributes<ArcgisAssistantChat> {
|
|
50
|
+
interface LuminaArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "copyEnabled" | "feedbackEnabled" | "loading" | "loadingMessage" | "logEnabled" | "messages" | "user">>, h.JSX.HTMLAttributes<ArcgisAssistantChat> {
|
|
39
51
|
}
|
|
40
52
|
|
|
41
|
-
interface LuminaArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "error" | "
|
|
53
|
+
interface LuminaArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "copyEnabled" | "error" | "feedbackEnabled" | "loading" | "loadingMessage" | "log" | "logEnabled" | "message" | "messageRole" | "user">>, h.JSX.HTMLAttributes<ArcgisAssistantChatCard> {
|
|
54
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistantChatCard["arcgisFeedback"]>;
|
|
42
55
|
}
|
|
43
56
|
|
|
44
57
|
interface LuminaArcgisAssistantChatCardContent extends Partial<Pick<ArcgisAssistantChatCardContent, "content" | "loading" | "loadingMessage" | "type">>, h.JSX.HTMLAttributes<ArcgisAssistantChatCardContent> {
|
|
45
58
|
}
|
|
46
59
|
|
|
47
|
-
interface LuminaArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "
|
|
60
|
+
interface LuminaArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "entryPlaceholder" | "inputValue" | "keyboardShortcutsDisabled" | "messages" | "status">>, h.JSX.HTMLAttributes<ArcgisAssistantChatEntry> {
|
|
48
61
|
onarcgisCancel?: EventHandler<ArcgisAssistantChatEntry["arcgisCancel"]>;
|
|
49
62
|
onarcgisSubmit?: EventHandler<ArcgisAssistantChatEntry["arcgisSubmit"]>;
|
|
50
63
|
}
|
|
@@ -54,7 +67,7 @@ interface LuminaArcgisAssistantInterrupt extends Partial<Pick<ArcgisAssistantInt
|
|
|
54
67
|
onarcgisSubmit?: EventHandler<ArcgisAssistantInterrupt["arcgisSubmit"]>;
|
|
55
68
|
}
|
|
56
69
|
|
|
57
|
-
interface LuminaArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "status" | "suggestedPrompts">>, h.JSX.HTMLAttributes<ArcgisAssistantShell> {
|
|
70
|
+
interface LuminaArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "messages" | "status" | "suggestedPrompts">>, h.JSX.HTMLAttributes<ArcgisAssistantShell> {
|
|
58
71
|
onarcgisCancel?: EventHandler<ArcgisAssistantShell["arcgisCancel"]>;
|
|
59
72
|
onarcgisSubmit?: EventHandler<ArcgisAssistantShell["arcgisSubmit"]>;
|
|
60
73
|
}
|
|
@@ -65,6 +78,7 @@ declare module "@arcgis/lumina" {
|
|
|
65
78
|
"arcgis-assistant": LuminaArcgisAssistant;
|
|
66
79
|
"arcgis-assistant-agent": LuminaArcgisAssistantAgent;
|
|
67
80
|
"arcgis-assistant-data-exploration-agent": LuminaArcgisAssistantDataExplorationAgent;
|
|
81
|
+
"arcgis-assistant-help-agent": LuminaArcgisAssistantHelpAgent;
|
|
68
82
|
"arcgis-assistant-layer-filter-agent": LuminaArcgisAssistantLayerFilterAgent;
|
|
69
83
|
"arcgis-assistant-layer-query-agent": LuminaArcgisAssistantLayerQueryAgent;
|
|
70
84
|
"arcgis-assistant-layer-styling-agent": LuminaArcgisAssistantLayerStylingAgent;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { ArcgisAssistant } from "../components/arcgis-assistant/customElement.js";
|
|
3
3
|
import type { ArcgisAssistantAgent } from "../components/arcgis-assistant-agent/customElement.js";
|
|
4
4
|
import type { ArcgisAssistantDataExplorationAgent } from "../components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
5
|
+
import type { ArcgisAssistantHelpAgent } from "../components/arcgis-assistant-help-agent/customElement.js";
|
|
5
6
|
import type { ArcgisAssistantLayerFilterAgent } from "../components/arcgis-assistant-layer-filter-agent/customElement.js";
|
|
6
7
|
import type { ArcgisAssistantLayerQueryAgent } from "../components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
7
8
|
import type { ArcgisAssistantLayerStylingAgent } from "../components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
@@ -15,7 +16,15 @@ import type { ArcgisAssistantShell } from "../components/arcgis-assistant-shell/
|
|
|
15
16
|
import { HTMLAttributes } from "preact";
|
|
16
17
|
import type { EventHandler } from "@arcgis/lumina";
|
|
17
18
|
|
|
18
|
-
interface PreactArcgisAssistant extends Partial<Pick<ArcgisAssistant, "description" | "entryMessage" | "heading" | "
|
|
19
|
+
interface PreactArcgisAssistant extends Partial<Pick<ArcgisAssistant, "copyEnabled" | "description" | "entryMessage" | "feedbackEnabled" | "heading" | "logEnabled" | "messages" | "referenceElement" | "suggestedPrompts">>, HTMLAttributes<ArcgisAssistant> {
|
|
20
|
+
onarcgisCancel?: EventHandler<ArcgisAssistant["arcgisCancel"]>;
|
|
21
|
+
onarcgisError?: EventHandler<ArcgisAssistant["arcgisError"]>;
|
|
22
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistant["arcgisFeedback"]>;
|
|
23
|
+
onarcgisInterrupt?: EventHandler<ArcgisAssistant["arcgisInterrupt"]>;
|
|
24
|
+
onarcgisInterruptCancel?: EventHandler<ArcgisAssistant["arcgisInterruptCancel"]>;
|
|
25
|
+
onarcgisInterruptSubmit?: EventHandler<ArcgisAssistant["arcgisInterruptSubmit"]>;
|
|
26
|
+
onarcgisReady?: EventHandler<ArcgisAssistant["arcgisReady"]>;
|
|
27
|
+
onarcgisSubmit?: EventHandler<ArcgisAssistant["arcgisSubmit"]>;
|
|
19
28
|
}
|
|
20
29
|
|
|
21
30
|
interface PreactArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent, "agent">>, Partial<Pick<ArcgisAssistantAgent, "context">>, HTMLAttributes<ArcgisAssistantAgent> {
|
|
@@ -24,6 +33,9 @@ interface PreactArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent,
|
|
|
24
33
|
interface PreactArcgisAssistantDataExplorationAgent extends Partial<Pick<ArcgisAssistantDataExplorationAgent, "referenceElement">>, HTMLAttributes<ArcgisAssistantDataExplorationAgent> {
|
|
25
34
|
}
|
|
26
35
|
|
|
36
|
+
interface PreactArcgisAssistantHelpAgent extends Partial<Pick<ArcgisAssistantHelpAgent, "referenceElement">>, HTMLAttributes<ArcgisAssistantHelpAgent> {
|
|
37
|
+
}
|
|
38
|
+
|
|
27
39
|
interface PreactArcgisAssistantLayerFilterAgent extends Partial<Pick<ArcgisAssistantLayerFilterAgent, "referenceElement">>, HTMLAttributes<ArcgisAssistantLayerFilterAgent> {
|
|
28
40
|
}
|
|
29
41
|
|
|
@@ -36,16 +48,17 @@ interface PreactArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAssi
|
|
|
36
48
|
interface PreactArcgisAssistantNavigationAgent extends Partial<Pick<ArcgisAssistantNavigationAgent, "referenceElement">>, HTMLAttributes<ArcgisAssistantNavigationAgent> {
|
|
37
49
|
}
|
|
38
50
|
|
|
39
|
-
interface PreactArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "loadingMessage" | "messages" | "user">>, HTMLAttributes<ArcgisAssistantChat> {
|
|
51
|
+
interface PreactArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "copyEnabled" | "feedbackEnabled" | "loading" | "loadingMessage" | "logEnabled" | "messages" | "user">>, HTMLAttributes<ArcgisAssistantChat> {
|
|
40
52
|
}
|
|
41
53
|
|
|
42
|
-
interface PreactArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "error" | "
|
|
54
|
+
interface PreactArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "copyEnabled" | "error" | "feedbackEnabled" | "loading" | "loadingMessage" | "log" | "logEnabled" | "message" | "messageRole" | "user">>, HTMLAttributes<ArcgisAssistantChatCard> {
|
|
55
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistantChatCard["arcgisFeedback"]>;
|
|
43
56
|
}
|
|
44
57
|
|
|
45
58
|
interface PreactArcgisAssistantChatCardContent extends Partial<Pick<ArcgisAssistantChatCardContent, "content" | "loading" | "loadingMessage" | "type">>, HTMLAttributes<ArcgisAssistantChatCardContent> {
|
|
46
59
|
}
|
|
47
60
|
|
|
48
|
-
interface PreactArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "
|
|
61
|
+
interface PreactArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "entryPlaceholder" | "inputValue" | "keyboardShortcutsDisabled" | "messages" | "status">>, HTMLAttributes<ArcgisAssistantChatEntry> {
|
|
49
62
|
onarcgisCancel?: EventHandler<ArcgisAssistantChatEntry["arcgisCancel"]>;
|
|
50
63
|
onarcgisSubmit?: EventHandler<ArcgisAssistantChatEntry["arcgisSubmit"]>;
|
|
51
64
|
}
|
|
@@ -55,7 +68,7 @@ interface PreactArcgisAssistantInterrupt extends Partial<Pick<ArcgisAssistantInt
|
|
|
55
68
|
onarcgisSubmit?: EventHandler<ArcgisAssistantInterrupt["arcgisSubmit"]>;
|
|
56
69
|
}
|
|
57
70
|
|
|
58
|
-
interface PreactArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "status" | "suggestedPrompts">>, HTMLAttributes<ArcgisAssistantShell> {
|
|
71
|
+
interface PreactArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "messages" | "status" | "suggestedPrompts">>, HTMLAttributes<ArcgisAssistantShell> {
|
|
59
72
|
onarcgisCancel?: EventHandler<ArcgisAssistantShell["arcgisCancel"]>;
|
|
60
73
|
onarcgisSubmit?: EventHandler<ArcgisAssistantShell["arcgisSubmit"]>;
|
|
61
74
|
}
|
|
@@ -66,6 +79,7 @@ declare module 'preact' {
|
|
|
66
79
|
"arcgis-assistant": PreactArcgisAssistant;
|
|
67
80
|
"arcgis-assistant-agent": PreactArcgisAssistantAgent;
|
|
68
81
|
"arcgis-assistant-data-exploration-agent": PreactArcgisAssistantDataExplorationAgent;
|
|
82
|
+
"arcgis-assistant-help-agent": PreactArcgisAssistantHelpAgent;
|
|
69
83
|
"arcgis-assistant-layer-filter-agent": PreactArcgisAssistantLayerFilterAgent;
|
|
70
84
|
"arcgis-assistant-layer-query-agent": PreactArcgisAssistantLayerQueryAgent;
|
|
71
85
|
"arcgis-assistant-layer-styling-agent": PreactArcgisAssistantLayerStylingAgent;
|
|
@@ -83,6 +97,7 @@ declare module 'preact' {
|
|
|
83
97
|
"arcgis-assistant": PreactArcgisAssistant;
|
|
84
98
|
"arcgis-assistant-agent": PreactArcgisAssistantAgent;
|
|
85
99
|
"arcgis-assistant-data-exploration-agent": PreactArcgisAssistantDataExplorationAgent;
|
|
100
|
+
"arcgis-assistant-help-agent": PreactArcgisAssistantHelpAgent;
|
|
86
101
|
"arcgis-assistant-layer-filter-agent": PreactArcgisAssistantLayerFilterAgent;
|
|
87
102
|
"arcgis-assistant-layer-query-agent": PreactArcgisAssistantLayerQueryAgent;
|
|
88
103
|
"arcgis-assistant-layer-styling-agent": PreactArcgisAssistantLayerStylingAgent;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { ArcgisAssistant } from "../components/arcgis-assistant/customElement.js";
|
|
3
3
|
import type { ArcgisAssistantAgent } from "../components/arcgis-assistant-agent/customElement.js";
|
|
4
4
|
import type { ArcgisAssistantDataExplorationAgent } from "../components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
5
|
+
import type { ArcgisAssistantHelpAgent } from "../components/arcgis-assistant-help-agent/customElement.js";
|
|
5
6
|
import type { ArcgisAssistantLayerFilterAgent } from "../components/arcgis-assistant-layer-filter-agent/customElement.js";
|
|
6
7
|
import type { ArcgisAssistantLayerQueryAgent } from "../components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
7
8
|
import type { ArcgisAssistantLayerStylingAgent } from "../components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
@@ -15,7 +16,15 @@ import type { ArcgisAssistantShell } from "../components/arcgis-assistant-shell/
|
|
|
15
16
|
import type { HTMLProps } from 'react';
|
|
16
17
|
import type { EventHandler } from "@arcgis/lumina";
|
|
17
18
|
|
|
18
|
-
interface ReactArcgisAssistant extends Partial<Pick<ArcgisAssistant, "description" | "entryMessage" | "heading" | "
|
|
19
|
+
interface ReactArcgisAssistant extends Partial<Pick<ArcgisAssistant, "copyEnabled" | "description" | "entryMessage" | "feedbackEnabled" | "heading" | "logEnabled" | "messages" | "referenceElement" | "suggestedPrompts">>, HTMLProps<ArcgisAssistant> {
|
|
20
|
+
onarcgisCancel?: EventHandler<ArcgisAssistant["arcgisCancel"]>;
|
|
21
|
+
onarcgisError?: EventHandler<ArcgisAssistant["arcgisError"]>;
|
|
22
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistant["arcgisFeedback"]>;
|
|
23
|
+
onarcgisInterrupt?: EventHandler<ArcgisAssistant["arcgisInterrupt"]>;
|
|
24
|
+
onarcgisInterruptCancel?: EventHandler<ArcgisAssistant["arcgisInterruptCancel"]>;
|
|
25
|
+
onarcgisInterruptSubmit?: EventHandler<ArcgisAssistant["arcgisInterruptSubmit"]>;
|
|
26
|
+
onarcgisReady?: EventHandler<ArcgisAssistant["arcgisReady"]>;
|
|
27
|
+
onarcgisSubmit?: EventHandler<ArcgisAssistant["arcgisSubmit"]>;
|
|
19
28
|
}
|
|
20
29
|
|
|
21
30
|
interface ReactArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent, "agent">>, Partial<Pick<ArcgisAssistantAgent, "context">>, HTMLProps<ArcgisAssistantAgent> {
|
|
@@ -24,6 +33,9 @@ interface ReactArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent,
|
|
|
24
33
|
interface ReactArcgisAssistantDataExplorationAgent extends Partial<Pick<ArcgisAssistantDataExplorationAgent, "referenceElement">>, HTMLProps<ArcgisAssistantDataExplorationAgent> {
|
|
25
34
|
}
|
|
26
35
|
|
|
36
|
+
interface ReactArcgisAssistantHelpAgent extends Partial<Pick<ArcgisAssistantHelpAgent, "referenceElement">>, HTMLProps<ArcgisAssistantHelpAgent> {
|
|
37
|
+
}
|
|
38
|
+
|
|
27
39
|
interface ReactArcgisAssistantLayerFilterAgent extends Partial<Pick<ArcgisAssistantLayerFilterAgent, "referenceElement">>, HTMLProps<ArcgisAssistantLayerFilterAgent> {
|
|
28
40
|
}
|
|
29
41
|
|
|
@@ -36,16 +48,17 @@ interface ReactArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAssis
|
|
|
36
48
|
interface ReactArcgisAssistantNavigationAgent extends Partial<Pick<ArcgisAssistantNavigationAgent, "referenceElement">>, HTMLProps<ArcgisAssistantNavigationAgent> {
|
|
37
49
|
}
|
|
38
50
|
|
|
39
|
-
interface ReactArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "loadingMessage" | "messages" | "user">>, HTMLProps<ArcgisAssistantChat> {
|
|
51
|
+
interface ReactArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "copyEnabled" | "feedbackEnabled" | "loading" | "loadingMessage" | "logEnabled" | "messages" | "user">>, HTMLProps<ArcgisAssistantChat> {
|
|
40
52
|
}
|
|
41
53
|
|
|
42
|
-
interface ReactArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "error" | "
|
|
54
|
+
interface ReactArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "copyEnabled" | "error" | "feedbackEnabled" | "loading" | "loadingMessage" | "log" | "logEnabled" | "message" | "messageRole" | "user">>, HTMLProps<ArcgisAssistantChatCard> {
|
|
55
|
+
onarcgisFeedback?: EventHandler<ArcgisAssistantChatCard["arcgisFeedback"]>;
|
|
43
56
|
}
|
|
44
57
|
|
|
45
58
|
interface ReactArcgisAssistantChatCardContent extends Partial<Pick<ArcgisAssistantChatCardContent, "content" | "loading" | "loadingMessage" | "type">>, HTMLProps<ArcgisAssistantChatCardContent> {
|
|
46
59
|
}
|
|
47
60
|
|
|
48
|
-
interface ReactArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "
|
|
61
|
+
interface ReactArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "entryPlaceholder" | "inputValue" | "keyboardShortcutsDisabled" | "messages" | "status">>, HTMLProps<ArcgisAssistantChatEntry> {
|
|
49
62
|
onarcgisCancel?: EventHandler<ArcgisAssistantChatEntry["arcgisCancel"]>;
|
|
50
63
|
onarcgisSubmit?: EventHandler<ArcgisAssistantChatEntry["arcgisSubmit"]>;
|
|
51
64
|
}
|
|
@@ -55,7 +68,7 @@ interface ReactArcgisAssistantInterrupt extends Partial<Pick<ArcgisAssistantInte
|
|
|
55
68
|
onarcgisSubmit?: EventHandler<ArcgisAssistantInterrupt["arcgisSubmit"]>;
|
|
56
69
|
}
|
|
57
70
|
|
|
58
|
-
interface ReactArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "status" | "suggestedPrompts">>, HTMLProps<ArcgisAssistantShell> {
|
|
71
|
+
interface ReactArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "messages" | "status" | "suggestedPrompts">>, HTMLProps<ArcgisAssistantShell> {
|
|
59
72
|
onarcgisCancel?: EventHandler<ArcgisAssistantShell["arcgisCancel"]>;
|
|
60
73
|
onarcgisSubmit?: EventHandler<ArcgisAssistantShell["arcgisSubmit"]>;
|
|
61
74
|
}
|
|
@@ -66,6 +79,7 @@ declare module "react" {
|
|
|
66
79
|
"arcgis-assistant": ReactArcgisAssistant;
|
|
67
80
|
"arcgis-assistant-agent": ReactArcgisAssistantAgent;
|
|
68
81
|
"arcgis-assistant-data-exploration-agent": ReactArcgisAssistantDataExplorationAgent;
|
|
82
|
+
"arcgis-assistant-help-agent": ReactArcgisAssistantHelpAgent;
|
|
69
83
|
"arcgis-assistant-layer-filter-agent": ReactArcgisAssistantLayerFilterAgent;
|
|
70
84
|
"arcgis-assistant-layer-query-agent": ReactArcgisAssistantLayerQueryAgent;
|
|
71
85
|
"arcgis-assistant-layer-styling-agent": ReactArcgisAssistantLayerStylingAgent;
|
|
@@ -85,6 +99,7 @@ declare module "react/jsx-runtime" {
|
|
|
85
99
|
"arcgis-assistant": ReactArcgisAssistant;
|
|
86
100
|
"arcgis-assistant-agent": ReactArcgisAssistantAgent;
|
|
87
101
|
"arcgis-assistant-data-exploration-agent": ReactArcgisAssistantDataExplorationAgent;
|
|
102
|
+
"arcgis-assistant-help-agent": ReactArcgisAssistantHelpAgent;
|
|
88
103
|
"arcgis-assistant-layer-filter-agent": ReactArcgisAssistantLayerFilterAgent;
|
|
89
104
|
"arcgis-assistant-layer-query-agent": ReactArcgisAssistantLayerQueryAgent;
|
|
90
105
|
"arcgis-assistant-layer-styling-agent": ReactArcgisAssistantLayerStylingAgent;
|
|
@@ -104,6 +119,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
104
119
|
"arcgis-assistant": ReactArcgisAssistant;
|
|
105
120
|
"arcgis-assistant-agent": ReactArcgisAssistantAgent;
|
|
106
121
|
"arcgis-assistant-data-exploration-agent": ReactArcgisAssistantDataExplorationAgent;
|
|
122
|
+
"arcgis-assistant-help-agent": ReactArcgisAssistantHelpAgent;
|
|
107
123
|
"arcgis-assistant-layer-filter-agent": ReactArcgisAssistantLayerFilterAgent;
|
|
108
124
|
"arcgis-assistant-layer-query-agent": ReactArcgisAssistantLayerQueryAgent;
|
|
109
125
|
"arcgis-assistant-layer-styling-agent": ReactArcgisAssistantLayerStylingAgent;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { ArcgisAssistant } from "../components/arcgis-assistant/customElement.js";
|
|
3
3
|
import type { ArcgisAssistantAgent } from "../components/arcgis-assistant-agent/customElement.js";
|
|
4
4
|
import type { ArcgisAssistantDataExplorationAgent } from "../components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
5
|
+
import type { ArcgisAssistantHelpAgent } from "../components/arcgis-assistant-help-agent/customElement.js";
|
|
5
6
|
import type { ArcgisAssistantLayerFilterAgent } from "../components/arcgis-assistant-layer-filter-agent/customElement.js";
|
|
6
7
|
import type { ArcgisAssistantLayerQueryAgent } from "../components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
7
8
|
import type { ArcgisAssistantLayerStylingAgent } from "../components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
@@ -15,7 +16,15 @@ import type { ArcgisAssistantShell } from "../components/arcgis-assistant-shell/
|
|
|
15
16
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
16
17
|
import type { EventHandler } from "@arcgis/lumina";
|
|
17
18
|
|
|
18
|
-
interface StencilArcgisAssistant extends Partial<Pick<ArcgisAssistant, "description" | "entryMessage" | "heading" | "
|
|
19
|
+
interface StencilArcgisAssistant extends Partial<Pick<ArcgisAssistant, "copyEnabled" | "description" | "entryMessage" | "feedbackEnabled" | "heading" | "logEnabled" | "messages" | "referenceElement" | "suggestedPrompts">>, StencilJsx.HTMLAttributes<ArcgisAssistant> {
|
|
20
|
+
onArcgisCancel?: EventHandler<ArcgisAssistant["arcgisCancel"]>;
|
|
21
|
+
onArcgisError?: EventHandler<ArcgisAssistant["arcgisError"]>;
|
|
22
|
+
onArcgisFeedback?: EventHandler<ArcgisAssistant["arcgisFeedback"]>;
|
|
23
|
+
onArcgisInterrupt?: EventHandler<ArcgisAssistant["arcgisInterrupt"]>;
|
|
24
|
+
onArcgisInterruptCancel?: EventHandler<ArcgisAssistant["arcgisInterruptCancel"]>;
|
|
25
|
+
onArcgisInterruptSubmit?: EventHandler<ArcgisAssistant["arcgisInterruptSubmit"]>;
|
|
26
|
+
onArcgisReady?: EventHandler<ArcgisAssistant["arcgisReady"]>;
|
|
27
|
+
onArcgisSubmit?: EventHandler<ArcgisAssistant["arcgisSubmit"]>;
|
|
19
28
|
}
|
|
20
29
|
|
|
21
30
|
interface StencilArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent, "agent">>, Partial<Pick<ArcgisAssistantAgent, "context">>, StencilJsx.HTMLAttributes<ArcgisAssistantAgent> {
|
|
@@ -24,6 +33,9 @@ interface StencilArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent
|
|
|
24
33
|
interface StencilArcgisAssistantDataExplorationAgent extends Partial<Pick<ArcgisAssistantDataExplorationAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantDataExplorationAgent> {
|
|
25
34
|
}
|
|
26
35
|
|
|
36
|
+
interface StencilArcgisAssistantHelpAgent extends Partial<Pick<ArcgisAssistantHelpAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantHelpAgent> {
|
|
37
|
+
}
|
|
38
|
+
|
|
27
39
|
interface StencilArcgisAssistantLayerFilterAgent extends Partial<Pick<ArcgisAssistantLayerFilterAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantLayerFilterAgent> {
|
|
28
40
|
}
|
|
29
41
|
|
|
@@ -36,16 +48,17 @@ interface StencilArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAss
|
|
|
36
48
|
interface StencilArcgisAssistantNavigationAgent extends Partial<Pick<ArcgisAssistantNavigationAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantNavigationAgent> {
|
|
37
49
|
}
|
|
38
50
|
|
|
39
|
-
interface StencilArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "loadingMessage" | "messages" | "user">>, StencilJsx.HTMLAttributes<ArcgisAssistantChat> {
|
|
51
|
+
interface StencilArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "copyEnabled" | "feedbackEnabled" | "loading" | "loadingMessage" | "logEnabled" | "messages" | "user">>, StencilJsx.HTMLAttributes<ArcgisAssistantChat> {
|
|
40
52
|
}
|
|
41
53
|
|
|
42
|
-
interface StencilArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "error" | "
|
|
54
|
+
interface StencilArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "copyEnabled" | "error" | "feedbackEnabled" | "loading" | "loadingMessage" | "log" | "logEnabled" | "message" | "messageRole" | "user">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatCard> {
|
|
55
|
+
onArcgisFeedback?: EventHandler<ArcgisAssistantChatCard["arcgisFeedback"]>;
|
|
43
56
|
}
|
|
44
57
|
|
|
45
58
|
interface StencilArcgisAssistantChatCardContent extends Partial<Pick<ArcgisAssistantChatCardContent, "content" | "loading" | "loadingMessage" | "type">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatCardContent> {
|
|
46
59
|
}
|
|
47
60
|
|
|
48
|
-
interface StencilArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "
|
|
61
|
+
interface StencilArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "entryPlaceholder" | "inputValue" | "keyboardShortcutsDisabled" | "messages" | "status">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatEntry> {
|
|
49
62
|
onArcgisCancel?: EventHandler<ArcgisAssistantChatEntry["arcgisCancel"]>;
|
|
50
63
|
onArcgisSubmit?: EventHandler<ArcgisAssistantChatEntry["arcgisSubmit"]>;
|
|
51
64
|
}
|
|
@@ -55,7 +68,7 @@ interface StencilArcgisAssistantInterrupt extends Partial<Pick<ArcgisAssistantIn
|
|
|
55
68
|
onArcgisSubmit?: EventHandler<ArcgisAssistantInterrupt["arcgisSubmit"]>;
|
|
56
69
|
}
|
|
57
70
|
|
|
58
|
-
interface StencilArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "status" | "suggestedPrompts">>, StencilJsx.HTMLAttributes<ArcgisAssistantShell> {
|
|
71
|
+
interface StencilArcgisAssistantShell extends Partial<Pick<ArcgisAssistantShell, "awaitingResponse" | "description" | "entryMessage" | "entryMessageClosed" | "heading" | "inputValue" | "loading" | "messages" | "status" | "suggestedPrompts">>, StencilJsx.HTMLAttributes<ArcgisAssistantShell> {
|
|
59
72
|
onArcgisCancel?: EventHandler<ArcgisAssistantShell["arcgisCancel"]>;
|
|
60
73
|
onArcgisSubmit?: EventHandler<ArcgisAssistantShell["arcgisSubmit"]>;
|
|
61
74
|
}
|
|
@@ -64,6 +77,7 @@ interface ExposedElements {
|
|
|
64
77
|
"arcgis-assistant": StencilArcgisAssistant;
|
|
65
78
|
"arcgis-assistant-agent": StencilArcgisAssistantAgent;
|
|
66
79
|
"arcgis-assistant-data-exploration-agent": StencilArcgisAssistantDataExplorationAgent;
|
|
80
|
+
"arcgis-assistant-help-agent": StencilArcgisAssistantHelpAgent;
|
|
67
81
|
"arcgis-assistant-layer-filter-agent": StencilArcgisAssistantLayerFilterAgent;
|
|
68
82
|
"arcgis-assistant-layer-query-agent": StencilArcgisAssistantLayerQueryAgent;
|
|
69
83
|
"arcgis-assistant-layer-styling-agent": StencilArcgisAssistantLayerStylingAgent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/ai-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.158",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -21,13 +21,15 @@
|
|
|
21
21
|
],
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
24
25
|
"lit": "^3.3.0",
|
|
26
|
+
"marked": "~17.0.1",
|
|
25
27
|
"tslib": "^2.8.1",
|
|
26
|
-
"@arcgis/ai-agents": "5.0.0-next.
|
|
27
|
-
"@arcgis/ai-orchestrator": "5.0.0-next.
|
|
28
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
29
|
-
"@arcgis/map-components": "5.0.0-next.
|
|
30
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
28
|
+
"@arcgis/ai-agents": "5.0.0-next.158",
|
|
29
|
+
"@arcgis/ai-orchestrator": "5.0.0-next.158",
|
|
30
|
+
"@arcgis/lumina": "5.0.0-next.158",
|
|
31
|
+
"@arcgis/map-components": "5.0.0-next.158",
|
|
32
|
+
"@arcgis/toolkit": "5.0.0-next.158"
|
|
31
33
|
},
|
|
32
34
|
"peerDependencies": {
|
|
33
35
|
"@arcgis/core": "^5.0.0-next",
|
package/dist/cdn/2EP62G3F.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import c from"./7DTHEDCA.js";import b from"./AF63DSCU.js";import{a as s,b as a}from"./QWUKKFEV.js";import"./QJ3OZMLS.js";import"./2LSVWAZO.js";import{p as r,t as e}from"./OEDEKAJJ.js";import"./2GMCG6SX.js";export default $arcgis.t(([,{c:i}])=>{var t=class extends r{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-filter-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await s(this,"arcgis-assistant-layer-filter-agent"),a(this)}};e("arcgis-assistant-layer-filter-agent",t);return t},b,c)
|
package/dist/cdn/33UOPY5K.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{a as n}from"./AHBZA3FR.js";import"./2LSVWAZO.js";import{g as a,h as e,k as s,p as l,t as c}from"./OEDEKAJJ.js";import"./2GMCG6SX.js";var o=a``,i=class extends l{constructor(){super(...arguments),this.#t=[],this._messages=n({blocking:!0}),this.arcgisCancel=s(),this.arcgisSubmit=s()}static{this.properties={type:1,message:1,options:0}}static{this.styles=o}#t;_renderInterruptOptions(){switch(this.type){case"single-select":return e`<calcite-list selection-mode=single-persist .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems[0]?.value}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"multi-select":return e`<calcite-list selection-mode=multiple .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems.map(r=>r.value)}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"boolean-choice":return e`<calcite-list selection-mode=single-persist .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems[0]?.value}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"text-input":return e`<calcite-input .label=${this._messages.enterTextLabel} @calciteInputInput=${t=>this.#t=t.target.value}></calcite-input>`}}render(){return e`<calcite-panel .description=${this.message}>${this._renderInterruptOptions()}<calcite-button slot=footer-end appearance=outline @click=${()=>this.arcgisCancel.emit()}>${this._messages.cancelButtonLabel}</calcite-button><calcite-button slot=footer-end appearance=solid @click=${()=>this.arcgisSubmit.emit(this.#t)}>${this._messages.submitButtonLabel}</calcite-button></calcite-panel>`}};c("arcgis-assistant-interrupt",i);export{i as ArcgisAssistantInterrupt};
|
package/dist/cdn/5HW2GXLG.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import c from"./7DTHEDCA.js";import b from"./AF63DSCU.js";import{a as r,b as e}from"./QWUKKFEV.js";import"./QJ3OZMLS.js";import"./2LSVWAZO.js";import{p as a,t as s}from"./OEDEKAJJ.js";import"./2GMCG6SX.js";export default $arcgis.t(([,{b:i}])=>{var t=class extends a{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-data-exploration-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await r(this,"arcgis-assistant-data-exploration-agent"),e(this)}};s("arcgis-assistant-data-exploration-agent",t);return t},b,c)
|