@arcgis/ai-components 5.0.0-next.135 → 5.0.0-next.137
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/{45J72RA5.js → 2X4MXAGP.js} +3 -2
- package/dist/cdn/{K4DOBIBC.js → 2YU5J7GR.js} +1 -1
- package/dist/cdn/{GNYKVIRC.js → 3GN2ULHI.js} +3 -3
- package/dist/cdn/{NPQWPRM6.js → 3MC7WUUS.js} +2 -2
- package/dist/cdn/{AENVX2C7.js → 4QKLAOX2.js} +2 -2
- package/dist/cdn/{IBW6D6XX.js → 5R3XBBPI.js} +2 -2
- package/dist/cdn/{H6HTZ2RZ.js → 77UW5IWK.js} +2 -2
- package/dist/cdn/7CZJHD5E.js +4 -0
- package/dist/cdn/{ETNHCA5Y.js → A4WRDZTQ.js} +2 -2
- package/dist/cdn/{NCD5D6JY.js → AAKD5SX2.js} +2 -2
- package/dist/cdn/{2I6RIEM7.js → AWERJEZY.js} +2 -2
- package/dist/cdn/{PZRNLUV2.js → BU42TIIY.js} +2 -2
- package/dist/cdn/{5EXI6IBC.js → C2KQ57RK.js} +33 -33
- package/dist/cdn/{BSFH6ITF.js → D7BNWOJC.js} +2 -2
- package/dist/cdn/{7VXM3PHG.js → EIEL6M2I.js} +2 -2
- package/dist/cdn/{KXZ5YZL6.js → ESFRLW3E.js} +2 -2
- package/dist/cdn/{3YJ4XNZB.js → FXYXZK6L.js} +2 -2
- package/dist/cdn/{LA353F4X.js → G2D5AXYL.js} +2 -2
- package/dist/cdn/HRHXMBOF.js +4 -0
- package/dist/cdn/J4W33PXP.js +134 -0
- package/dist/cdn/{YQVK2H7R.js → JEJTPF54.js} +1 -1
- package/dist/cdn/{VY47US65.js → KL6UK22M.js} +2 -2
- package/dist/cdn/{JRSCOKGO.js → KTVRK3Y4.js} +2 -2
- package/dist/cdn/{LQKHGIXO.js → LV5GG4KG.js} +2 -2
- package/dist/cdn/{6JIAN4EB.js → M4G5BT2E.js} +2 -2
- package/dist/cdn/O5MI43R3.js +6 -0
- package/dist/cdn/{XOXI7KQN.js → P5L22JWW.js} +2 -2
- package/dist/cdn/{QFWBH3U2.js → PI3TDXYV.js} +2 -2
- package/dist/cdn/{FQP72TZH.js → PMGGAZSF.js} +2 -2
- package/dist/cdn/{D5B4XO32.js → Q5GRZVLA.js} +2 -2
- package/dist/cdn/{4BKDN7AJ.js → U3XLNPGW.js} +2 -2
- package/dist/cdn/{ZHEJLKZX.js → UFFBFDYM.js} +2 -2
- package/dist/cdn/{4JWSHGI3.js → VL7UTIRF.js} +1 -1
- package/dist/cdn/{XULCWMYE.js → WD4CZF2P.js} +2 -2
- package/dist/cdn/{IHQXGVXR.js → XNR7IV6X.js} +2 -2
- package/dist/cdn/{4KXPB47L.js → XV373V66.js} +2 -2
- package/dist/cdn/{UROLRFUN.js → YFSPJOU4.js} +2 -2
- package/dist/cdn/{ZZIAB76W.js → ZJXE6HWP.js} +2 -2
- package/dist/cdn/{RTUKNJRX.js → ZYYIAOK3.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-assistant/customElement.d.ts +16 -12
- package/dist/components/arcgis-assistant/customElement.js +1 -1
- package/dist/components/arcgis-assistant/index.d.ts +0 -4
- package/dist/components/arcgis-assistant-agent/customElement.d.ts +7 -8
- package/dist/components/arcgis-assistant-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat/customElement.d.ts +15 -15
- package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat/index.d.ts +0 -1
- package/dist/components/arcgis-assistant-chat-card/customElement.d.ts +29 -16
- package/dist/components/arcgis-assistant-chat-card/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-card/index.d.ts +0 -5
- package/dist/components/arcgis-assistant-chat-card-content/customElement.d.ts +9 -9
- package/dist/components/arcgis-assistant-chat-card-content/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-card-content/index.d.ts +0 -1
- package/dist/components/arcgis-assistant-chat-entry/customElement.d.ts +28 -17
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-entry/index.d.ts +0 -3
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +25 -12
- package/dist/components/arcgis-assistant-interrupt/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt/index.d.ts +0 -5
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-navigation-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-shell/customElement.d.ts +34 -23
- package/dist/components/arcgis-assistant-shell/customElement.js +1 -1
- package/dist/components/arcgis-assistant-shell/index.d.ts +0 -5
- package/dist/docs/api.json +1 -2239
- package/dist/docs/docs.json +1 -2011
- package/dist/docs/vscode.css-custom-data.json +1 -6
- package/dist/docs/vscode.html-custom-data.json +1 -306
- package/dist/docs/web-types.json +1 -693
- package/dist/index.d.ts +28 -19
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +19 -19
- package/dist/types/preact.d.ts +19 -19
- package/dist/types/react.d.ts +19 -19
- package/dist/types/stencil.d.ts +19 -19
- package/package.json +7 -7
- package/dist/cdn/5GP65UDI.js +0 -4
- package/dist/cdn/I54YR7UU.js +0 -6
- package/dist/cdn/ODYS7BCT.js +0 -134
- package/dist/cdn/SQPT22F4.js +0 -4
- package/dist/components/arcgis-assistant/support/OrchestratorController.d.ts +0 -33
- package/dist/components/arcgis-assistant/support/utils.d.ts +0 -1
- package/dist/components/assistant/assistant-agents/support/utils.d.ts +0 -14
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/customAgents/AddAgent/AddAgent.d.ts +0 -2
- package/dist/runtime.d.ts +0 -6
|
@@ -1,18 +1,31 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
3
4
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
export abstract class ArcgisAssistantChatCard extends LitElement {
|
|
6
|
+
/** @internal */
|
|
7
|
+
protected _messages: {
|
|
8
|
+
thumbsUpLabel: string;
|
|
9
|
+
thumbsDownLabel: string;
|
|
10
|
+
copyButtonLabel: string;
|
|
11
|
+
logButtonLabel: string;
|
|
12
|
+
} & T9nMeta<{
|
|
13
|
+
thumbsUpLabel: string;
|
|
14
|
+
thumbsDownLabel: string;
|
|
15
|
+
copyButtonLabel: string;
|
|
16
|
+
logButtonLabel: string;
|
|
17
|
+
}>;
|
|
18
|
+
accessor content: string | undefined;
|
|
19
|
+
accessor error: string | undefined;
|
|
20
|
+
/** @default false */
|
|
21
|
+
accessor feedbackDisabled: boolean;
|
|
22
|
+
/** @default false */
|
|
23
|
+
accessor loading: boolean;
|
|
24
|
+
accessor loadingMessage: string | undefined;
|
|
25
|
+
accessor log: string | undefined;
|
|
26
|
+
/** @default false */
|
|
27
|
+
accessor timestampDisabled: boolean;
|
|
28
|
+
/** @default "prompt" */
|
|
29
|
+
accessor type: "prompt" | "response";
|
|
30
|
+
accessor user: string | undefined;
|
|
31
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as i } from "@arcgis/lumina";
|
|
|
4
4
|
import { u as c } from "../../chunks/useT9n.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const n = s`.assistant-chat-card__prompt-container{display:flex;align-items:center;gap:var(--calcite-spacing-md);background:color-mix(in srgb,var(--calcite-color-brand) 25%,transparent);padding:var(--calcite-spacing-md);border-radius:var(--calcite-border-radius);width:fit-content;margin-left:auto;justify-content:flex-end}.assistant-chat-card__prompt-avatar{display:flex;align-items:center;justify-content:center}.assistant-chat-card__content-container{display:flex;flex:1;flex-direction:column;width:100%}.assistant-chat-card__response-container{display:flex;flex-direction:column;align-items:flex-start;gap:var(--calcite-spacing-sm);width:100%;text-align:left}.assistant-chat-card__response-icon{padding:var(--calcite-spacing-sm);border-radius:var(--calcite-spacing-xl);background:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}.assistant-chat-card__footer{display:flex;width:100%;justify-content:space-between;padding:0 var(--calcite-spacing-xxs)}.assistant-chat-card__feedback-actions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xxs)}.assistant-chat-card__log-container{padding:0 var(--calcite-spacing-sm);border-radius:var(--calcite-border-radius);margin-bottom:var(--calcite-spacing-sm)}.assistant-chat-card__log{margin:0;font-size:var(--calcite-font-size-sm);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);width:100%;overflow:auto}.assistant-chat-card__footer-start{display:flex;gap:var(--calcite-spacing-xxs)}@media(min-width:1280px){.assistant-chat-card__prompt-container,.assistant-chat-card__response-container{max-width:80%}}`;
|
|
9
9
|
class r extends i {
|
|
10
10
|
constructor() {
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-tooltip";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-avatar";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-icon";
|
|
5
|
-
import "../arcgis-assistant-chat-card-content/index.js";
|
|
6
1
|
export * from "./customElement.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
4
|
+
export abstract class ArcgisAssistantChatCardContent extends LitElement {
|
|
5
|
+
accessor content: string | undefined;
|
|
6
|
+
/** @default false */
|
|
7
|
+
accessor loading: boolean;
|
|
8
|
+
accessor loadingMessage: string | undefined;
|
|
9
|
+
/** @default "text" */
|
|
10
|
+
accessor type: "chart" | "error" | "text";
|
|
11
|
+
}
|
|
@@ -3,7 +3,7 @@ import { css as i, html as t } from "lit";
|
|
|
3
3
|
import { LitElement as o, safeClassMap as e } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.137 */
|
|
7
7
|
const r = i`.assistant-chat-card-content__skeleton-block{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);width:100%}.assistant-chat-card-content__skeleton-text{display:block;height:.95em;border-radius:6px;background:linear-gradient(90deg,color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent),color-mix(in srgb,var(--calcite-color-foreground-3) 85%,transparent),color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent));background-size:200% 100%;animation:assistant-chat-card-content-shimmer 1.2s ease-in-out infinite;width:85%}.assistant-chat-card-content__skeleton-text:last-child{width:70%}@keyframes assistant-chat-card-content-shimmer{0%{background-position:-150% 0}to{background-position:150% 0}}@media(prefers-reduced-motion){.assistant-chat-card-content__skeleton-text{animation:none}}.assistant-chat-card-content__text-container{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.assistant-chat-card-content__text-loading{font-style:italic;word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.assistant-chat-card-content__error-notice{padding:var(--calcite-spacing-sm)}`, s = "assistant-chat-card-content", a = {
|
|
8
8
|
textLoading: `${s}__text-loading`,
|
|
9
9
|
skeletonBlock: `${s}__skeleton-block`,
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
3
4
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
export abstract class ArcgisAssistantChatEntry extends LitElement {
|
|
6
|
+
/** @internal */
|
|
7
|
+
protected _messages: {
|
|
8
|
+
entryPlaceholder: string;
|
|
9
|
+
stopButtonLabel: string;
|
|
10
|
+
askButtonLabel: string;
|
|
11
|
+
} & T9nMeta<{
|
|
12
|
+
entryPlaceholder: string;
|
|
13
|
+
stopButtonLabel: string;
|
|
14
|
+
askButtonLabel: string;
|
|
15
|
+
}>;
|
|
16
|
+
/** @default false */
|
|
17
|
+
accessor awaitingResponse: boolean;
|
|
18
|
+
/** @default true */
|
|
19
|
+
accessor enterKeySubmits: boolean;
|
|
20
|
+
accessor entryPlaceholder: string | undefined;
|
|
21
|
+
/** @default "" */
|
|
22
|
+
accessor inputValue: string;
|
|
23
|
+
accessor status: "error" | "ready" | "working" | undefined;
|
|
24
|
+
readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
25
|
+
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
26
|
+
readonly "@eventTypes": {
|
|
27
|
+
arcgisCancel: ArcgisAssistantChatEntry["arcgisCancel"]["detail"];
|
|
28
|
+
arcgisSubmit: ArcgisAssistantChatEntry["arcgisSubmit"]["detail"];
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -6,7 +6,7 @@ import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
6
6
|
import { u } from "../../chunks/useT9n.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.137 */
|
|
10
10
|
const h = i`.assistant-chat-entry__input-container{display:flex;flex-direction:column}.assistant-chat-entry__footer-start{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap;align-items:center}.assistant-chat-entry__footer-end{display:flex;gap:var(--calcite-spacing-md);align-items:center}.assistant-chat-entry__status-indicator{width:9px;height:9px;border-radius:100%;background-color:var(--calcite-color-status-success)}.assistant-chat-entry__status-indicator[data-status=working]{background-color:var(--calcite-color-status-warning)}.assistant-chat-entry__status-indicator[data-status=error]{background-color:var(--calcite-color-status-danger)}.assistant-chat-entry__status-text{text-transform:capitalize}`;
|
|
11
11
|
class d extends r {
|
|
12
12
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { ArcgisMap as ArcgisMap } from "@arcgis/map-components/components/arcgis-map";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export abstract class ArcgisAssistantDataExplorationAgent extends LitElement {
|
|
6
|
+
accessor referenceElement: ArcgisMap | string | undefined;
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import { DataExplorationAgent as s } from "@arcgis/ai-agents";
|
|
|
4
4
|
import { r as e, i } from "../../chunks/utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
class r extends a {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.agent = s;
|
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
3
4
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
export abstract class ArcgisAssistantInterrupt extends LitElement {
|
|
6
|
+
/** @internal */
|
|
7
|
+
protected _messages: {
|
|
8
|
+
optionsLabel: string;
|
|
9
|
+
enterTextLabel: string;
|
|
10
|
+
submitButtonLabel: string;
|
|
11
|
+
cancelButtonLabel: string;
|
|
12
|
+
} & T9nMeta<{
|
|
13
|
+
optionsLabel: string;
|
|
14
|
+
enterTextLabel: string;
|
|
15
|
+
submitButtonLabel: string;
|
|
16
|
+
cancelButtonLabel: string;
|
|
17
|
+
}>;
|
|
18
|
+
accessor message: string | undefined;
|
|
19
|
+
accessor options: string[] | undefined;
|
|
20
|
+
accessor type: "boolean-choice" | "multi-select" | "single-select" | "text-input";
|
|
21
|
+
readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
22
|
+
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, string[] | string>;
|
|
23
|
+
readonly "@eventTypes": {
|
|
24
|
+
arcgisCancel: ArcgisAssistantInterrupt["arcgisCancel"]["detail"];
|
|
25
|
+
arcgisSubmit: ArcgisAssistantInterrupt["arcgisSubmit"]["detail"];
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
|
4
4
|
import { u as n } from "../../chunks/useT9n.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const r = a``;
|
|
9
9
|
class o extends c {
|
|
10
10
|
constructor() {
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-input";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-panel";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
6
1
|
export * from "./customElement.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { ArcgisMap as ArcgisMap } from "@arcgis/map-components/components/arcgis-map";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export abstract class ArcgisAssistantLayerFilterAgent extends LitElement {
|
|
6
|
+
accessor referenceElement: ArcgisMap | string | undefined;
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LayerFilterAgent as r } from "@arcgis/ai-agents";
|
|
|
4
4
|
import { r as s, i } from "../../chunks/utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
class a extends e {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.agent = r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { ArcgisMap as ArcgisMap } from "@arcgis/map-components/components/arcgis-map";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export abstract class ArcgisAssistantLayerQueryAgent extends LitElement {
|
|
6
|
+
accessor referenceElement: ArcgisMap | string | undefined;
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LayerQueryAgent as r } from "@arcgis/ai-agents";
|
|
|
4
4
|
import { r as s, i as a } from "../../chunks/utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
class i extends e {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.agent = r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { ArcgisMap as ArcgisMap } from "@arcgis/map-components/components/arcgis-map";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export abstract class ArcgisAssistantLayerStylingAgent extends LitElement {
|
|
6
|
+
accessor referenceElement: ArcgisMap | string | undefined;
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LayerStylingAgent as e } from "@arcgis/ai-agents";
|
|
|
4
4
|
import { r as i, i as a } from "../../chunks/utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
class r extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.agent = e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
3
|
-
import {
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { ArcgisMap as ArcgisMap } from "@arcgis/map-components/components/arcgis-map";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export abstract class ArcgisAssistantNavigationAgent extends LitElement {
|
|
6
|
+
accessor referenceElement: ArcgisMap | string | undefined;
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import { NavigationAgent as a } from "@arcgis/ai-agents";
|
|
|
4
4
|
import { r as s, i as e } from "../../chunks/utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
class n extends i {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.agent = a;
|
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { PublicLitElement as LitElement
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
|
|
3
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
3
4
|
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
5
|
+
export abstract class ArcgisAssistantShell extends LitElement {
|
|
6
|
+
/** @internal */
|
|
7
|
+
protected _messages: {
|
|
8
|
+
shellHeading: string;
|
|
9
|
+
shellEntryMessage: string;
|
|
10
|
+
suggestedPromptsLabel: string;
|
|
11
|
+
} & T9nMeta<{
|
|
12
|
+
shellHeading: string;
|
|
13
|
+
shellEntryMessage: string;
|
|
14
|
+
suggestedPromptsLabel: string;
|
|
15
|
+
}>;
|
|
16
|
+
/** @default false */
|
|
17
|
+
accessor awaitingResponse: boolean;
|
|
18
|
+
/** @default "" */
|
|
19
|
+
accessor description: string;
|
|
20
|
+
accessor entryMessage: string | undefined;
|
|
21
|
+
/** @default false */
|
|
22
|
+
accessor entryMessageClosed: boolean;
|
|
23
|
+
accessor heading: string | undefined;
|
|
24
|
+
/** @default "" */
|
|
25
|
+
accessor inputValue: string;
|
|
26
|
+
/** @default false */
|
|
27
|
+
accessor loading: boolean;
|
|
28
|
+
accessor status: "error" | "ready" | "working" | undefined;
|
|
29
|
+
accessor suggestedPrompts: string[];
|
|
30
|
+
readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
31
|
+
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
32
|
+
readonly "@eventTypes": {
|
|
33
|
+
arcgisCancel: ArcgisAssistantShell["arcgisCancel"]["detail"];
|
|
34
|
+
arcgisSubmit: ArcgisAssistantShell["arcgisSubmit"]["detail"];
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as l, createEvent as e } from "@arcgis/lumina";
|
|
|
4
4
|
import { u as n } from "../../chunks/useT9n.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.137 */
|
|
8
8
|
const o = a`.assistant-shell__footer-container{display:flex;flex-direction:column;flex:1 1 0;gap:var(--calcite-spacing-md)}.assistant-shell__content-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0;position:relative}.assistant-shell__suggested-prompts-container{position:absolute;bottom:0;display:flex;justify-content:center;width:100%}.assistant-shell__suggested-prompts{padding:var(--calcite-spacing-md)}.assistant-shell__suggested-prompt{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}`;
|
|
9
9
|
class r extends l {
|
|
10
10
|
constructor() {
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-chip-group";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-chip";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-panel";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-notice";
|
|
5
|
-
import "../arcgis-assistant-chat-entry/index.js";
|
|
6
1
|
export * from "./customElement.js";
|