@esri/hub-web-components 0.37.1 → 0.37.2
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/{V3OFOLDD.js → 3SHBZF4M.js} +1 -1
- package/dist/cdn/{TZLGC5F6.js → 425VBETO.js} +1 -1
- package/dist/cdn/{ENIUDJ7K.js → 77R2C3NY.js} +1 -1
- package/dist/cdn/{EG7UYDYW.js → CP5CMZPK.js} +1 -1
- package/dist/cdn/{I4GSA6FV.js → DEVEFEZB.js} +1 -1
- package/dist/cdn/{QA3FAKMR.js → G3DW5HI6.js} +1 -1
- package/dist/cdn/{OCLH76JV.js → GTMYGR72.js} +1 -1
- package/dist/cdn/{E5HKFFMD.js → HSKNYFFN.js} +1 -1
- package/dist/cdn/{NCDVI3CS.js → IV7AWQ4I.js} +1 -1
- package/dist/cdn/{P25YNGGG.js → JEQW7KPC.js} +1 -1
- package/dist/cdn/M3ZUOUC3.js +6 -0
- package/dist/cdn/{J2T727KW.js → MKMW2OIY.js} +1 -1
- package/dist/cdn/{5PZXLCBE.js → MTV6GBRX.js} +1 -1
- package/dist/cdn/{LGCNVPYM.js → NQJLGBVK.js} +1 -1
- package/dist/cdn/{M4WTQTD4.js → OAR2EXND.js} +1 -1
- package/dist/cdn/{PHGORKJG.js → RIMWN7PN.js} +1 -1
- package/dist/cdn/{UNAHMPVZ.js → SMQJD2L6.js} +1 -1
- package/dist/cdn/{J6YVMYK4.js → SNHGQLES.js} +1 -1
- package/dist/cdn/{LX5L3QU6.js → TWLLLMPH.js} +1 -1
- package/dist/cdn/{BFDKTUKB.js → UTLMCJD2.js} +1 -1
- package/dist/cdn/{WO6HRRH3.js → V76BJGGX.js} +1 -1
- package/dist/cdn/{6X3MZZZU.js → VJWEGXQY.js} +1 -1
- package/dist/cdn/{H4XKOYUB.js → WTEVUXDK.js} +1 -1
- package/dist/cdn/{MK2IL6EU.js → YXKNVWVS.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +42 -36
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/cdn/PQAWOUBJ.js +0 -6
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
2
|
import { c as k } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as L, createEvent as y, noShadowRoot as A } from "@arcgis/lumina";
|
|
4
|
-
import { getProp as
|
|
4
|
+
import { getProp as i, getWithDefault as H, MetricVisibility as p, getTypeFromEntity as E, Logger as c, cloneObject as m, updateHubEntity as P, capitalize as S } from "@esri/hub-common";
|
|
5
5
|
import { u as R } from "../../chunks/useT9n.js";
|
|
6
6
|
import { isTargetEntityScopeConfigured as n, showNotice as b } from "@esri/hub-components";
|
|
7
7
|
import { g as $ } from "../../chunks/state.js";
|
|
8
8
|
import { constants as w, dictionary as v } from "@esri/telemetry-dictionary-hub";
|
|
9
9
|
import { html as f } from "lit";
|
|
10
10
|
const I = async (t, e) => {
|
|
11
|
-
const
|
|
11
|
+
const a = !!t.summary, r = !!t.description, s = !!i(t, "view.embeds[0]"), C = !!i(t, "view.featuredImageUrl"), O = a || r || s || C;
|
|
12
12
|
let d = "";
|
|
13
13
|
e?.isAuthenticated && (d = `?token=${e.session.token}`);
|
|
14
|
-
const T = `${
|
|
14
|
+
const T = `${i(t, "view.featuredImageUrl")}${d}`, u = H(t, "view.metricDisplays", []), g = u.filter((o) => o.visibility === p.featured), x = u.filter((o) => o.visibility !== p.hidden);
|
|
15
15
|
let h = [];
|
|
16
|
-
h =
|
|
16
|
+
h = i(t, "typeKeywords");
|
|
17
17
|
const l = h.filter(
|
|
18
18
|
(o) => o.startsWith("ref|initiative")
|
|
19
19
|
);
|
|
@@ -103,35 +103,41 @@ const I = async (t, e) => {
|
|
|
103
103
|
html: "<h2>{{about:translate}}</h2>"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
|
|
106
|
+
// NOTE: we use getProp here and elsewhere to conditionally include nodes in the layout based on the presence of data in the project entity.
|
|
107
|
+
// we could instead use syntax like {{entity.summary:optional}} or {{entity.view.timeline.stages:optional:2}} in the properties of a node
|
|
108
|
+
// so that interpolation removes them later. however, we should not do that because that means that our layout and our processed layout
|
|
109
|
+
// in the layout container have different shapes which could lead to bugs and makes it more difficult to reason about the code.
|
|
110
|
+
// by using getProp to conditionally include nodes in the layout, we ensure that the layout and processed layout have the same shape
|
|
111
|
+
// and we can be confident that if a node is in the layout then it will be rendered in the processed layout (assuming it's not filtered out for some reason).
|
|
112
|
+
i(t, "summary") && {
|
|
107
113
|
id: "about-summary",
|
|
108
114
|
tag: "arcgis-text-card",
|
|
109
115
|
readOnly: !0,
|
|
110
116
|
properties: {
|
|
111
|
-
html: "<p>{{entity.summary
|
|
117
|
+
html: "<p>{{entity.summary}}</p>"
|
|
112
118
|
}
|
|
113
119
|
},
|
|
114
|
-
|
|
120
|
+
i(t, "view.embeds[0]") && {
|
|
115
121
|
id: "about-embed",
|
|
116
122
|
tag: "arcgis-hub-embed-card",
|
|
117
123
|
properties: {
|
|
118
|
-
embed:
|
|
124
|
+
embed: i(t, "view.embeds[0]")
|
|
119
125
|
}
|
|
120
126
|
},
|
|
121
|
-
{
|
|
127
|
+
i(t, "description") && {
|
|
122
128
|
id: "about-description",
|
|
123
129
|
tag: "arcgis-text-card",
|
|
124
130
|
readOnly: !0,
|
|
125
131
|
properties: {
|
|
126
|
-
html: "<p>{{entity.description
|
|
132
|
+
html: "<p>{{entity.description}}</p>"
|
|
127
133
|
}
|
|
128
134
|
},
|
|
129
|
-
|
|
135
|
+
i(t, "view.featuredImageUrl") && {
|
|
130
136
|
id: "about-featured-image",
|
|
131
137
|
tag: "arcgis-hub-image",
|
|
132
138
|
properties: {
|
|
133
139
|
src: T,
|
|
134
|
-
alt:
|
|
140
|
+
alt: i(t, "view.featuredImageAltText") || ""
|
|
135
141
|
}
|
|
136
142
|
},
|
|
137
143
|
g.length > 0 && {
|
|
@@ -149,14 +155,14 @@ const I = async (t, e) => {
|
|
|
149
155
|
entity: "{{entity}}"
|
|
150
156
|
}
|
|
151
157
|
},
|
|
152
|
-
|
|
158
|
+
i(t, "view.featuredContentIds.length") > 0 && {
|
|
153
159
|
id: "featured-content-header",
|
|
154
160
|
tag: "arcgis-text-card",
|
|
155
161
|
properties: {
|
|
156
162
|
html: "<h2>{{featuredContent:translate}}</h2>"
|
|
157
163
|
}
|
|
158
164
|
},
|
|
159
|
-
|
|
165
|
+
i(t, "view.featuredContentIds.length") > 0 && {
|
|
160
166
|
id: "featured-content-gallery",
|
|
161
167
|
tag: "arcgis-hub-gallery-card",
|
|
162
168
|
properties: {
|
|
@@ -178,7 +184,7 @@ const I = async (t, e) => {
|
|
|
178
184
|
{
|
|
179
185
|
predicates: [
|
|
180
186
|
{
|
|
181
|
-
id:
|
|
187
|
+
id: i(t, "view.featuredContentIds")
|
|
182
188
|
}
|
|
183
189
|
]
|
|
184
190
|
}
|
|
@@ -210,13 +216,13 @@ const I = async (t, e) => {
|
|
|
210
216
|
entity: "{{entity}}"
|
|
211
217
|
}
|
|
212
218
|
},
|
|
213
|
-
{
|
|
219
|
+
i(t, "view.timeline.stages")?.length && {
|
|
214
220
|
id: "status-timeline",
|
|
215
221
|
tag: "arcgis-hub-timeline",
|
|
216
222
|
readOnly: !0,
|
|
217
223
|
properties: {
|
|
218
224
|
canCollapse: "{{entity.view.timeline.canCollapse:optional}}",
|
|
219
|
-
stages: "{{entity.view.timeline.stages
|
|
225
|
+
stages: "{{entity.view.timeline.stages}}"
|
|
220
226
|
}
|
|
221
227
|
},
|
|
222
228
|
{
|
|
@@ -425,7 +431,7 @@ const I = async (t, e) => {
|
|
|
425
431
|
]
|
|
426
432
|
};
|
|
427
433
|
}, V = async (t, e) => {
|
|
428
|
-
const
|
|
434
|
+
const a = !!t.summary, r = !!t.description;
|
|
429
435
|
return {
|
|
430
436
|
schemaVersion: 2,
|
|
431
437
|
history: [],
|
|
@@ -505,27 +511,27 @@ const I = async (t, e) => {
|
|
|
505
511
|
columnProps: { width: { xs: 12, md: 8 } },
|
|
506
512
|
properties: {},
|
|
507
513
|
children: [
|
|
508
|
-
(
|
|
514
|
+
(a || r) && {
|
|
509
515
|
id: "about-header",
|
|
510
516
|
tag: "arcgis-text-card",
|
|
511
517
|
properties: {
|
|
512
518
|
html: "<h2>{{about:translate}}</h2>"
|
|
513
519
|
}
|
|
514
520
|
},
|
|
515
|
-
{
|
|
521
|
+
i(t, "summary") && {
|
|
516
522
|
id: "about-summary",
|
|
517
523
|
tag: "arcgis-text-card",
|
|
518
524
|
readOnly: !0,
|
|
519
525
|
properties: {
|
|
520
|
-
html: "<p>{{entity.summary
|
|
526
|
+
html: "<p>{{entity.summary}}</p>"
|
|
521
527
|
}
|
|
522
528
|
},
|
|
523
|
-
{
|
|
529
|
+
i(t, "description") && {
|
|
524
530
|
id: "about-description",
|
|
525
531
|
tag: "arcgis-text-card",
|
|
526
532
|
readOnly: !0,
|
|
527
533
|
properties: {
|
|
528
|
-
html: "<p>{{entity.description
|
|
534
|
+
html: "<p>{{entity.description}}</p>"
|
|
529
535
|
}
|
|
530
536
|
}
|
|
531
537
|
].filter(Boolean)
|
|
@@ -660,8 +666,8 @@ const I = async (t, e) => {
|
|
|
660
666
|
]
|
|
661
667
|
};
|
|
662
668
|
}, _ = async (t, e) => {
|
|
663
|
-
let
|
|
664
|
-
return E(t) === "project" ?
|
|
669
|
+
let a;
|
|
670
|
+
return E(t) === "project" ? a = await I(t, e) : a = await V(t), a;
|
|
665
671
|
};
|
|
666
672
|
class D extends L {
|
|
667
673
|
constructor() {
|
|
@@ -680,20 +686,20 @@ class D extends L {
|
|
|
680
686
|
return this.entity && E(this.entity);
|
|
681
687
|
}
|
|
682
688
|
willUpdate(e) {
|
|
683
|
-
e.has("entity") && this._init().catch((
|
|
684
|
-
c.error("Error initializing ArcgisHubEntityViewLayout >>>",
|
|
689
|
+
e.has("entity") && this._init().catch((a) => {
|
|
690
|
+
c.error("Error initializing ArcgisHubEntityViewLayout >>>", a);
|
|
685
691
|
});
|
|
686
692
|
}
|
|
687
693
|
async _init() {
|
|
688
694
|
let e;
|
|
689
|
-
this.entity && (e =
|
|
695
|
+
this.entity && (e = i(this.entity, "layout"), e || (e = await _(this.entity, this._context)), this._layout = e);
|
|
690
696
|
}
|
|
691
697
|
async _handleLayoutPublished(e) {
|
|
692
|
-
const { layout:
|
|
698
|
+
const { layout: a, successCallback: r } = e.detail;
|
|
693
699
|
try {
|
|
694
|
-
this._isPublishing = !0, this._layout =
|
|
695
|
-
const
|
|
696
|
-
|
|
700
|
+
this._isPublishing = !0, this._layout = a;
|
|
701
|
+
const s = m(this.entity);
|
|
702
|
+
s.layout = a, await P(this._entityType, s, this._context), r && await r(), c.info(`Successfully published layout for ${this._entityType} ${this.entity.id} >>>`, this._layout), b({
|
|
697
703
|
title: this._messages.publishSuccess,
|
|
698
704
|
message: "",
|
|
699
705
|
configuration: {
|
|
@@ -708,8 +714,8 @@ class D extends L {
|
|
|
708
714
|
...v.category.content.action.update.label.layout.details.publish,
|
|
709
715
|
response: w.response.SUCCESS
|
|
710
716
|
}), this.arcgisHubEntityViewPublished.emit();
|
|
711
|
-
} catch (
|
|
712
|
-
c.error(`Error publishing layout for ${this._entityType} ${this.entity.id} >>>`,
|
|
717
|
+
} catch (s) {
|
|
718
|
+
c.error(`Error publishing layout for ${this._entityType} ${this.entity.id} >>>`, s), b({
|
|
713
719
|
title: this._messages.publishError,
|
|
714
720
|
message: "",
|
|
715
721
|
configuration: {
|
|
@@ -729,8 +735,8 @@ class D extends L {
|
|
|
729
735
|
}
|
|
730
736
|
}
|
|
731
737
|
async _handleLayoutReset(e) {
|
|
732
|
-
const
|
|
733
|
-
|
|
738
|
+
const a = m(this.entity);
|
|
739
|
+
a.layout && delete a.layout, this._layout = await _(a, this._context), e.detail.successCallback && await e.detail.successCallback();
|
|
734
740
|
}
|
|
735
741
|
render() {
|
|
736
742
|
return this._layout ? f`<calcite-alert auto-close auto-close-duration=slow icon=information label="internal layout alert" kind=info open><div slot=title>${S(this._entityType || "")} view rendered as layout</div><div slot=message>We are rendering ${this._entityType} views on dev/QA alpha orgs using the new layout system. This system is
|
package/dist/docs/api.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"timestamp":"2026-03-17T15:53:32","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.9","typescriptVersion":"5.8.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-chat-shell","sourcePath":"src/components/chat-shell/chat-shell.tsx","declarations":[{"kind":"class","name":"ChatShell","customElement":true,"tagName":"arcgis-chat-shell","pascalCaseName":"ArcgisChatShell","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"aboutContent","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"about-content"},{"kind":"field","name":"mapEnabled","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-enabled"},{"kind":"field","name":"mapVisible","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-visible"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst chatShell = document.querySelector(\"arcgis-chat-shell\");\ndocument.body.append(chatShell);\nawait chatShell.componentOnReady();\nconsole.log(\"arcgis-chat-shell is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"about-content","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"aboutContent"},{"name":"map-enabled","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapEnabled"},{"name":"map-visible","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapVisible"}],"events":[{"name":"arcgisUpdateMapVisibility","type":{"text":"boolean"}},{"name":"hubTelemetry","description":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}],"type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-chat-shell"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-chat-shell","declaration":{"name":"ChatShell"}}]},{"kind":"javascript-module","path":"components/arcgis-chat-ui","sourcePath":"src/components/chat-ui/chat-ui.tsx","declarations":[{"kind":"class","name":"ArcgisChatUI","customElement":true,"tagName":"arcgis-chat-ui","pascalCaseName":"ArcgisChatUi","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"botDescription","description":"The disclaimer text for the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"bot-description"},{"kind":"field","name":"botTitle","description":"The title of the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"bot-title"},{"kind":"field","name":"conversationId","description":"The current conversation ID, or null if starting a new conversation.","type":{"text":"string | null","values":[{"type":"string"}]},"attribute":"conversation-id"},{"kind":"field","name":"defaultSuggestions","description":"The default suggestions prompted to the user","type":{"text":"string[]"}},{"kind":"field","name":"domain","type":{"text":"string","values":[{"type":"string"}]},"default":"\"hub.arcgis.com\"","attribute":"domain"},{"kind":"field","name":"getFinderResponse","description":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","docsTags":[{"name":"param","text":"message - The user message to send."},{"name":"param","text":"conversationId - The current conversation ID, or null to start a new conversation."},{"name":"returns","text":"A promise resolving to an array of ArcgisErrorResponse or FinderSkillResponse."}],"type":{"text":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":52,"end":59},{"name":"ArcgisErrorResponse","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#ArcgisErrorResponse","start":60,"end":79},{"name":"FinderSkillResponse","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderSkillResponse","start":84,"end":103}]}},{"kind":"field","name":"inputText","description":"The current text input value from the user.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"input-text"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisChatUI = document.querySelector(\"arcgis-chat-ui\");\ndocument.body.append(arcgisChatUI);\nawait arcgisChatUI.componentOnReady();\nconsole.log(\"arcgis-chat-ui is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"submitUserMessage","description":"Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","parameters":[{"name":"text","description":"The user's input message.","type":{"text":"string"}},{"name":"type","type":{"text":"\"query\" | \"suggest\""}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string, type: \"query\" | \"suggest\"): Promise<void>"}],"attributes":[{"name":"bot-description","description":"The disclaimer text for the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"botDescription"},{"name":"bot-title","description":"The title of the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"botTitle"},{"name":"conversation-id","description":"The current conversation ID, or null if starting a new conversation.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"conversationId"},{"name":"domain","type":{"text":"string","values":[{"type":"string"}]},"default":"\"hub.arcgis.com\"","fieldName":"domain"},{"name":"input-text","description":"The current text input value from the user.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"inputText"}],"events":[{"name":"arcgisAddDataClick","description":"Event emitted when the user clicks to add data from a chat message.","type":{"text":"AddDataAction","references":[{"name":"AddDataAction","module":"components/arcgis-chat-ui/util/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-chat-ui/util/types/#AddDataAction","start":0,"end":13}]}},{"name":"arcgisAppIdentityStartSignIn","type":{"text":"void"}},{"name":"arcgisLocationClick","description":"Event emitted when the user clicks a zoom to location button in a chat message.","type":{"text":"FinderLocation","references":[{"name":"FinderLocation","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderLocation","start":0,"end":14}]}},{"name":"hubTelemetry","description":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}],"type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-chat-ui"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-chat-ui","declaration":{"name":"ArcgisChatUI"}}]},{"kind":"javascript-module","path":"components/arcgis-chat-ui/util/types","sourcePath":"src/components/chat-ui/util/types.ts","declarations":[{"kind":"interface","name":"AddDataAction","members":[{"kind":"field","name":"type","type":{"text":"\"dataset\""}},{"kind":"field","name":"title","type":{"text":"string"}},{"kind":"field","name":"data","type":{"text":"DataItem","references":[{"name":"DataItem","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-chat-ui/util/types/#DataItem","start":0,"end":8}]}}]},{"kind":"interface","name":"DataItem","members":[{"kind":"field","name":"id","type":{"text":"string"}}]}]},{"kind":"javascript-module","path":"components/arcgis-hub-ai-assistant","sourcePath":"src/components/hub-ai-assistant/hub-ai-assistant.tsx","declarations":[{"kind":"class","name":"ArcGISHubAIAssistant","customElement":true,"tagName":"arcgis-hub-ai-assistant","pascalCaseName":"ArcgisHubAiAssistant","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"_layers","type":{"text":"Layer[]","references":[{"name":"default","module":"layers/Layer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/","start":0,"end":5}]}},{"kind":"field","name":"botDescription","description":"Basic info about the bot to display in the \"About\" panel","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"bot-description"},{"kind":"field","name":"botTitle","description":"The title of the AI assistant bot, displayed in the UI.","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"bot-title"},{"kind":"field","name":"defaultSuggestions","description":"The default suggestions for the user","type":{"text":"string[]"}},{"kind":"field","name":"extent","description":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","type":{"text":"number[][] | undefined"}},{"kind":"field","name":"hub","description":"Hub domain to use for finding relevant datasets","type":{"text":"string","values":[{"type":"string"}]},"default":"\"https://hub.arcgis.com\"","attribute":"hub"},{"kind":"field","name":"itemId","description":"ArcGIS Item id for assistant configuration","type":{"text":"string | null","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"itemModifiedDate","description":"The last modified timestamp of the assistant configuration item (site)","type":{"text":"number","values":[{"type":"number"}]},"default":"0","attribute":"item-modified-date"},{"kind":"field","name":"location","description":"Default geographic location to limit / focus results","type":{"text":"string","values":[{"type":"string"}]},"default":"\"USA\"","attribute":"location"},{"kind":"field","name":"mapEnabled","description":"If the map is enabled (able to be togged on within the component).","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","attribute":"map-enabled"},{"kind":"field","name":"mapLayers","description":"Portal IDs of the layers on the map","type":{"text":"string[]"}},{"kind":"field","name":"mapShowTable","description":"In the map, option to show the \"Table\" widget.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","attribute":"map-show-table"},{"kind":"field","name":"mapVisible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-visible"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcGISHubAIAssistant = document.querySelector(\"arcgis-hub-ai-assistant\");\ndocument.body.append(arcGISHubAIAssistant);\nawait arcGISHubAIAssistant.componentOnReady();\nconsole.log(\"arcgis-hub-ai-assistant is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"bot-description","description":"Basic info about the bot to display in the \"About\" panel","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"botDescription"},{"name":"bot-title","description":"The title of the AI assistant bot, displayed in the UI.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"botTitle"},{"name":"hub","description":"Hub domain to use for finding relevant datasets","type":{"text":"string","values":[{"type":"string"}]},"default":"\"https://hub.arcgis.com\"","fieldName":"hub"},{"name":"item-id","description":"ArcGIS Item id for assistant configuration","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"},{"name":"item-modified-date","description":"The last modified timestamp of the assistant configuration item (site)","type":{"text":"number","values":[{"type":"number"}]},"default":"0","fieldName":"itemModifiedDate"},{"name":"location","description":"Default geographic location to limit / focus results","type":{"text":"string","values":[{"type":"string"}]},"default":"\"USA\"","fieldName":"location"},{"name":"map-enabled","description":"If the map is enabled (able to be togged on within the component).","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","fieldName":"mapEnabled"},{"name":"map-show-table","description":"In the map, option to show the \"Table\" widget.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","fieldName":"mapShowTable"},{"name":"map-visible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapVisible"}],"importPath":"components/arcgis-hub-ai-assistant"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-ai-assistant","declaration":{"name":"ArcGISHubAIAssistant"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-ai-assistant/util/framework","sourcePath":"src/components/hub-ai-assistant/util/framework.ts","declarations":[{"kind":"interface","name":"FinderLocation","description":"FinderLocation defines the location of a response or source","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"latitude","type":{"text":"number"}},{"kind":"field","name":"longitude","type":{"text":"number"}},{"kind":"field","name":"zoom","type":{"text":"number | null"}}]},{"kind":"interface","name":"FinderSkillResponse","supertypes":[{"name":"SkillApiResponse","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#SkillApiResponse","typeArguments":[{"text":"FinderResponseContext","references":[{"name":"FinderResponseContext","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderResponseContext","start":0,"end":21}]}]}]},{"kind":"interface","name":"ArcgisErrorResponse","supertypes":[{"name":"SkillApiResponse","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#SkillApiResponse","typeArguments":[{"text":"ArcgisErrorAsContext","references":[{"name":"ArcgisErrorAsContext","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#ArcgisErrorAsContext","start":0,"end":20}]}]}]},{"kind":"interface","name":"SkillApiResponse","description":"General Skill API response type (excluding context)","typeParameters":[{"name":"TContext","default":{"text":"unknown"}}],"members":[{"kind":"field","name":"conversationId","type":{"text":"string | null"}},{"kind":"field","name":"inquiryId","type":{"text":"string"}},{"kind":"field","name":"hasMore","type":{"text":"boolean"}},{"kind":"field","name":"sequenceNumber","type":{"text":"number"}},{"kind":"field","name":"message","type":{"text":"string | undefined"}},{"kind":"field","name":"context","type":{"text":"TContext","references":[{"name":"TContext","start":0,"end":8}]}}]},{"kind":"interface","name":"FinderResponseContext","description":"FinderResponseContext defines the information sent back from the Finder skill API","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"text","type":{"text":"string"}},{"kind":"field","name":"actions","type":{"text":"FinderAction[]","references":[{"name":"FinderAction","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderAction","start":0,"end":12}]}},{"kind":"field","name":"sources","type":{"text":"FinderSource[]","references":[{"name":"FinderSource","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderSource","start":0,"end":12}]}},{"kind":"field","name":"location","type":{"text":"FinderLocation","references":[{"name":"FinderLocation","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderLocation","start":0,"end":14}]}},{"kind":"field","name":"features","type":{"text":"unknown"}},{"kind":"field","name":"tools","type":{"text":"FinderTool[]","references":[{"name":"FinderTool","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderTool","start":0,"end":10}]}}]},{"kind":"interface","name":"ArcgisErrorAsContext","members":[{"kind":"field","name":"error","type":{"text":"{\n code: number;\n messageCode: string;\n details?: unknown[];\n message: string;\n subCode?: unknown;\n}"}},{"kind":"field","name":"kind","type":{"text":"string"}}]},{"kind":"interface","name":"FinderAction","description":"FinderAction defines an action that is recommended as a follow-up user query","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"action","type":{"text":"string"}},{"kind":"field","name":"text","type":{"text":"string"}},{"kind":"field","name":"properties","type":{"text":"FinderActionProperties","references":[{"name":"FinderActionProperties","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderActionProperties","start":0,"end":22}]}}]},{"kind":"interface","name":"FinderSource","description":"FinderSource defines a source of information in a response such as a dataset, document, or app.","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"id","type":{"text":"string"}},{"kind":"field","name":"type","type":{"text":"string"}},{"kind":"field","name":"title","type":{"text":"string"}},{"kind":"field","name":"description","type":{"text":"string"}},{"kind":"field","name":"source","type":{"text":"string"}}]},{"kind":"interface","name":"FinderTool","description":"FinderTool defines a tool that can be used in the Finder skill, such as a search or geocode.","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"parameters","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}]},{"kind":"interface","name":"FinderActionProperties","description":"FinderActionProperties defines the properties for actions in the Finder skill.","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"topic","type":{"text":"string"}},{"kind":"field","name":"datasets","type":{"text":"string[] | null"}},{"kind":"field","name":"latitude","type":{"text":"number | null"}},{"kind":"field","name":"longitude","type":{"text":"number | null"}},{"kind":"field","name":"zoom","type":{"text":"number | null"}}]}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-view-layout","sourcePath":"src/components/hub-entity-view-layout/hub-entity-view-layout.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityViewLayout","customElement":true,"tagName":"arcgis-hub-entity-view-layout","pascalCaseName":"ArcgisHubEntityViewLayout","description":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"entity","description":"The Hub entity whose view will be\nrendered in a layout","type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityViewLayout = document.querySelector(\"arcgis-hub-entity-view-layout\");\ndocument.body.append(arcgisHubEntityViewLayout);\nawait arcgisHubEntityViewLayout.componentOnReady();\nconsole.log(\"arcgis-hub-entity-view-layout is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"is-edit-mode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisHubEntityViewPublished","description":"Event emitted when the layout is published.","type":{"text":"void"}},{"name":"hubTelemetry","description":"Event emitted for telemetry","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-hub-entity-view-layout"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-view-layout","declaration":{"name":"ArcgisHubEntityViewLayout"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-associations-card","sourcePath":"src/components/layouts/components/cards/hub-entity-associations-card/hub-entity-associations-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityAssociationsCard","customElement":true,"tagName":"arcgis-hub-entity-associations-card","pascalCaseName":"ArcgisHubEntityAssociationsCard","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"associationType","description":"entity type to query for","type":{"text":"HubEntityType","references":[{"name":"HubEntityType","package":"@esri/hub-common","start":0,"end":13}],"values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}]},"default":"\"initiative\"","attribute":"association-type"},{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityAssociationsCard = document.querySelector(\"arcgis-hub-entity-associations-card\");\ndocument.body.append(arcgisHubEntityAssociationsCard);\nawait arcgisHubEntityAssociationsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-associations-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"association-type","description":"entity type to query for","type":{"text":"\"template\" | \"event\" | \"group\" | \"initiative\" | \"initiativeTemplate\" | \"organization\" | \"survey\" | \"user\" | \"channel\" | \"content\" | \"org\" | \"page\" | \"project\" | \"site\" | \"discussion\"","values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}]},"default":"\"initiative\"","fieldName":"associationType"}],"importPath":"components/arcgis-hub-entity-associations-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-associations-card","declaration":{"name":"ArcgisHubEntityAssociationsCard"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-metrics-card","sourcePath":"src/components/layouts/components/cards/hub-entity-metrics-card/hub-entity-metrics-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityMetricsCard","customElement":true,"tagName":"arcgis-hub-entity-metrics-card","pascalCaseName":"ArcgisHubEntityMetricsCard","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityMetricsCard = document.querySelector(\"arcgis-hub-entity-metrics-card\");\ndocument.body.append(arcgisHubEntityMetricsCard);\nawait arcgisHubEntityMetricsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-metrics-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"importPath":"components/arcgis-hub-entity-metrics-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-metrics-card","declaration":{"name":"ArcgisHubEntityMetricsCard"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-status-card","sourcePath":"src/components/layouts/components/cards/hub-entity-status-card/hub-entity-status-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityStatusCard","customElement":true,"tagName":"arcgis-hub-entity-status-card","pascalCaseName":"ArcgisHubEntityStatusCard","description":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityStatusCard = document.querySelector(\"arcgis-hub-entity-status-card\");\ndocument.body.append(arcgisHubEntityStatusCard);\nawait arcgisHubEntityStatusCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-status-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"importPath":"components/arcgis-hub-entity-status-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-status-card","declaration":{"name":"ArcgisHubEntityStatusCard"}}]},{"kind":"javascript-module","path":"components/arcgis-nav-card","sourcePath":"src/components/layouts/components/cards/nav-card/nav-card.tsx","declarations":[{"kind":"class","name":"ArcgisNavCard","customElement":true,"tagName":"arcgis-nav-card","pascalCaseName":"ArcgisNavCard","description":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"activatedNode","description":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":{"text":"ILayoutNode | undefined","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"debug","description":"Enables debug mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug"},{"kind":"field","name":"isEditMode","description":"Whether the parent layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"node","type":{"text":"ILayoutNode","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"sections","description":"The sections to render within the nav card","type":{"text":"ISection[]","references":[{"name":"ISection","package":"@esri/hub-common","start":0,"end":8}]}},{"kind":"field","name":"translations","description":"Customer provided translations to override the\ndefault strings.","type":{"text":"ITranslationMap","references":[{"name":"ITranslationMap","package":"@esri/hub-common","start":0,"end":15}]}},{"kind":"field","name":"utils","description":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","type":{"text":"LayoutUtils | undefined","references":[{"name":"LayoutUtils","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisNavCard = document.querySelector(\"arcgis-nav-card\");\ndocument.body.append(arcgisNavCard);\nawait arcgisNavCard.componentOnReady();\nconsole.log(\"arcgis-nav-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"debug","description":"Enables debug mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the parent layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisLayoutActivateNode","type":{"text":"ILayoutNodeActivateEventDetail","references":[{"name":"ILayoutNodeActivateEventDetail","module":"components/layouts/utils/layout-event-types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/layouts/utils/layout-event-types/#ILayoutNodeActivateEventDetail","start":0,"end":30}]}},{"name":"arcgisLayoutNodeFocus","type":{"text":"boolean"}}],"importPath":"components/arcgis-nav-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-nav-card","declaration":{"name":"ArcgisNavCard"}}]},{"kind":"javascript-module","path":"components/arcgis-text-card","sourcePath":"src/components/layouts/components/cards/text-card/text-card.tsx","declarations":[{"kind":"class","name":"ArcgisTextCard","customElement":true,"tagName":"arcgis-text-card","pascalCaseName":"ArcgisTextCard","description":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"html"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisTextCard = document.querySelector(\"arcgis-text-card\");\ndocument.body.append(arcgisTextCard);\nawait arcgisTextCard.componentOnReady();\nconsole.log(\"arcgis-text-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"html"}],"importPath":"components/arcgis-text-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-text-card","declaration":{"name":"ArcgisTextCard"}}]},{"kind":"javascript-module","path":"components/arcgis-layout","sourcePath":"src/components/layouts/components/layout/layout.tsx","declarations":[{"kind":"class","name":"ArcgisLayout","customElement":true,"tagName":"arcgis-layout","pascalCaseName":"ArcgisLayout","description":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"activatedNode","description":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":{"text":"ILayoutNode | undefined","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"debug","description":"Enables debug mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug","reflects":true},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"layout","description":"The layout to render.","type":{"text":"ILayout | undefined","references":[{"name":"ILayout","package":"@esri/hub-common","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":{"text":"IProcessLayoutOptions","references":[{"name":"IProcessLayoutOptions","package":"@esri/hub-common","start":0,"end":21}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayout = document.querySelector(\"arcgis-layout\");\ndocument.body.append(arcgisLayout);\nawait arcgisLayout.componentOnReady();\nconsole.log(\"arcgis-layout is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getCardEl","description":"Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","parameters":[{"name":"nodeId","description":"The id of the node","type":{"text":"string"}}],"return":{"description":"The HTML element for the node, if found","type":{"text":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"HTMLConfigurableLayoutNodeElement","package":"@esri/hub-common","start":8,"end":41}]}},"signature":"(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>"}],"attributes":[{"name":"debug","description":"Enables debug mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the layout is in edit mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisHubLayoutRendered","description":"Event emitted when the layout has finished\nrendering.","type":{"text":"void"}}],"importPath":"components/arcgis-layout"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-layout","declaration":{"name":"ArcgisLayout"}}]},{"kind":"javascript-module","path":"components/arcgis-layout-container","sourcePath":"src/components/layouts/components/layout-container/layout-container.tsx","declarations":[{"kind":"class","name":"ArcgisLayoutContainer","customElement":true,"tagName":"arcgis-layout-container","pascalCaseName":"ArcgisLayoutContainer","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"debug","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug","reflects":true},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"isPublishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-publishing"},{"kind":"field","name":"layout","description":"The layout to render","type":{"text":"Layout","references":[{"name":"Layout","package":"@esri/hub-common","start":0,"end":6}]}},{"kind":"field","name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":{"text":"IProcessLayoutOptions","references":[{"name":"IProcessLayoutOptions","package":"@esri/hub-common","start":0,"end":21}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayoutContainer = document.querySelector(\"arcgis-layout-container\");\ndocument.body.append(arcgisLayoutContainer);\nawait arcgisLayoutContainer.componentOnReady();\nconsole.log(\"arcgis-layout-container is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"debug","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"},{"name":"is-publishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isPublishing"}],"events":[{"name":"arcgisHubLayoutChanged","description":"Event emitted when the layout is edited","type":{"text":"void"}},{"name":"arcgisHubLayoutEditorExit","description":"Event emitted when the layout editor is exited","type":{"text":"void"}},{"name":"arcgisHubLayoutPublished","description":"Event emitted when the layout is published","type":{"text":"ILayoutPublishEventDetail","references":[{"name":"ILayoutPublishEventDetail","package":"@esri/hub-common","start":0,"end":25}]}},{"name":"arcgisHubLayoutReset","description":"Event emitted when the layout is reset","type":{"text":"ILayoutResetEventDetail","references":[{"name":"ILayoutResetEventDetail","package":"@esri/hub-common","start":0,"end":23}]}},{"name":"hubTelemetry","description":"Event emitted for telemetry","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-layout-container"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-layout-container","declaration":{"name":"ArcgisLayoutContainer"}}]},{"kind":"javascript-module","path":"components/layouts/utils/layout-event-types","sourcePath":"src/components/layouts/utils/layout-event-types.ts","declarations":[{"kind":"interface","name":"ILayoutNodeActivateEventDetail","members":[{"kind":"field","name":"node","type":{"text":"LayoutNode","references":[{"name":"LayoutNode","package":"@esri/hub-common","start":0,"end":10}]}}]}]}]}
|
|
1
|
+
{"timestamp":"2026-03-18T21:10:22","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.9","typescriptVersion":"5.8.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-chat-shell","sourcePath":"src/components/chat-shell/chat-shell.tsx","declarations":[{"kind":"class","name":"ChatShell","customElement":true,"tagName":"arcgis-chat-shell","pascalCaseName":"ArcgisChatShell","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"aboutContent","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"about-content"},{"kind":"field","name":"mapEnabled","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-enabled"},{"kind":"field","name":"mapVisible","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-visible"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst chatShell = document.querySelector(\"arcgis-chat-shell\");\ndocument.body.append(chatShell);\nawait chatShell.componentOnReady();\nconsole.log(\"arcgis-chat-shell is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"about-content","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"aboutContent"},{"name":"map-enabled","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapEnabled"},{"name":"map-visible","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapVisible"}],"events":[{"name":"arcgisUpdateMapVisibility","type":{"text":"boolean"}},{"name":"hubTelemetry","description":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}],"type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-chat-shell"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-chat-shell","declaration":{"name":"ChatShell"}}]},{"kind":"javascript-module","path":"components/arcgis-chat-ui","sourcePath":"src/components/chat-ui/chat-ui.tsx","declarations":[{"kind":"class","name":"ArcgisChatUI","customElement":true,"tagName":"arcgis-chat-ui","pascalCaseName":"ArcgisChatUi","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"botDescription","description":"The disclaimer text for the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"bot-description"},{"kind":"field","name":"botTitle","description":"The title of the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"bot-title"},{"kind":"field","name":"conversationId","description":"The current conversation ID, or null if starting a new conversation.","type":{"text":"string | null","values":[{"type":"string"}]},"attribute":"conversation-id"},{"kind":"field","name":"defaultSuggestions","description":"The default suggestions prompted to the user","type":{"text":"string[]"}},{"kind":"field","name":"domain","type":{"text":"string","values":[{"type":"string"}]},"default":"\"hub.arcgis.com\"","attribute":"domain"},{"kind":"field","name":"getFinderResponse","description":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","docsTags":[{"name":"param","text":"message - The user message to send."},{"name":"param","text":"conversationId - The current conversation ID, or null to start a new conversation."},{"name":"returns","text":"A promise resolving to an array of ArcgisErrorResponse or FinderSkillResponse."}],"type":{"text":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":52,"end":59},{"name":"ArcgisErrorResponse","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#ArcgisErrorResponse","start":60,"end":79},{"name":"FinderSkillResponse","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderSkillResponse","start":84,"end":103}]}},{"kind":"field","name":"inputText","description":"The current text input value from the user.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"input-text"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisChatUI = document.querySelector(\"arcgis-chat-ui\");\ndocument.body.append(arcgisChatUI);\nawait arcgisChatUI.componentOnReady();\nconsole.log(\"arcgis-chat-ui is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"submitUserMessage","description":"Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","parameters":[{"name":"text","description":"The user's input message.","type":{"text":"string"}},{"name":"type","type":{"text":"\"query\" | \"suggest\""}}],"return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(text: string, type: \"query\" | \"suggest\"): Promise<void>"}],"attributes":[{"name":"bot-description","description":"The disclaimer text for the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"botDescription"},{"name":"bot-title","description":"The title of the AI assistant","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"botTitle"},{"name":"conversation-id","description":"The current conversation ID, or null if starting a new conversation.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"conversationId"},{"name":"domain","type":{"text":"string","values":[{"type":"string"}]},"default":"\"hub.arcgis.com\"","fieldName":"domain"},{"name":"input-text","description":"The current text input value from the user.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"inputText"}],"events":[{"name":"arcgisAddDataClick","description":"Event emitted when the user clicks to add data from a chat message.","type":{"text":"AddDataAction","references":[{"name":"AddDataAction","module":"components/arcgis-chat-ui/util/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-chat-ui/util/types/#AddDataAction","start":0,"end":13}]}},{"name":"arcgisAppIdentityStartSignIn","type":{"text":"void"}},{"name":"arcgisLocationClick","description":"Event emitted when the user clicks a zoom to location button in a chat message.","type":{"text":"FinderLocation","references":[{"name":"FinderLocation","module":"components/arcgis-hub-ai-assistant/util/framework","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderLocation","start":0,"end":14}]}},{"name":"hubTelemetry","description":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}],"type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-chat-ui"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-chat-ui","declaration":{"name":"ArcgisChatUI"}}]},{"kind":"javascript-module","path":"components/arcgis-chat-ui/util/types","sourcePath":"src/components/chat-ui/util/types.ts","declarations":[{"kind":"interface","name":"AddDataAction","members":[{"kind":"field","name":"type","type":{"text":"\"dataset\""}},{"kind":"field","name":"title","type":{"text":"string"}},{"kind":"field","name":"data","type":{"text":"DataItem","references":[{"name":"DataItem","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-chat-ui/util/types/#DataItem","start":0,"end":8}]}}]},{"kind":"interface","name":"DataItem","members":[{"kind":"field","name":"id","type":{"text":"string"}}]}]},{"kind":"javascript-module","path":"components/arcgis-hub-ai-assistant","sourcePath":"src/components/hub-ai-assistant/hub-ai-assistant.tsx","declarations":[{"kind":"class","name":"ArcGISHubAIAssistant","customElement":true,"tagName":"arcgis-hub-ai-assistant","pascalCaseName":"ArcgisHubAiAssistant","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"_layers","type":{"text":"Layer[]","references":[{"name":"default","module":"layers/Layer.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/","start":0,"end":5}]}},{"kind":"field","name":"botDescription","description":"Basic info about the bot to display in the \"About\" panel","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"bot-description"},{"kind":"field","name":"botTitle","description":"The title of the AI assistant bot, displayed in the UI.","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"bot-title"},{"kind":"field","name":"defaultSuggestions","description":"The default suggestions for the user","type":{"text":"string[]"}},{"kind":"field","name":"extent","description":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","type":{"text":"number[][] | undefined"}},{"kind":"field","name":"hub","description":"Hub domain to use for finding relevant datasets","type":{"text":"string","values":[{"type":"string"}]},"default":"\"https://hub.arcgis.com\"","attribute":"hub"},{"kind":"field","name":"itemId","description":"ArcGIS Item id for assistant configuration","type":{"text":"string | null","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"itemModifiedDate","description":"The last modified timestamp of the assistant configuration item (site)","type":{"text":"number","values":[{"type":"number"}]},"default":"0","attribute":"item-modified-date"},{"kind":"field","name":"location","description":"Default geographic location to limit / focus results","type":{"text":"string","values":[{"type":"string"}]},"default":"\"USA\"","attribute":"location"},{"kind":"field","name":"mapEnabled","description":"If the map is enabled (able to be togged on within the component).","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","attribute":"map-enabled"},{"kind":"field","name":"mapLayers","description":"Portal IDs of the layers on the map","type":{"text":"string[]"}},{"kind":"field","name":"mapShowTable","description":"In the map, option to show the \"Table\" widget.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","attribute":"map-show-table"},{"kind":"field","name":"mapVisible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"map-visible"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcGISHubAIAssistant = document.querySelector(\"arcgis-hub-ai-assistant\");\ndocument.body.append(arcGISHubAIAssistant);\nawait arcGISHubAIAssistant.componentOnReady();\nconsole.log(\"arcgis-hub-ai-assistant is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"bot-description","description":"Basic info about the bot to display in the \"About\" panel","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"botDescription"},{"name":"bot-title","description":"The title of the AI assistant bot, displayed in the UI.","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"botTitle"},{"name":"hub","description":"Hub domain to use for finding relevant datasets","type":{"text":"string","values":[{"type":"string"}]},"default":"\"https://hub.arcgis.com\"","fieldName":"hub"},{"name":"item-id","description":"ArcGIS Item id for assistant configuration","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"},{"name":"item-modified-date","description":"The last modified timestamp of the assistant configuration item (site)","type":{"text":"number","values":[{"type":"number"}]},"default":"0","fieldName":"itemModifiedDate"},{"name":"location","description":"Default geographic location to limit / focus results","type":{"text":"string","values":[{"type":"string"}]},"default":"\"USA\"","fieldName":"location"},{"name":"map-enabled","description":"If the map is enabled (able to be togged on within the component).","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","fieldName":"mapEnabled"},{"name":"map-show-table","description":"In the map, option to show the \"Table\" widget.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"true","fieldName":"mapShowTable"},{"name":"map-visible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"mapVisible"}],"importPath":"components/arcgis-hub-ai-assistant"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-ai-assistant","declaration":{"name":"ArcGISHubAIAssistant"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-ai-assistant/util/framework","sourcePath":"src/components/hub-ai-assistant/util/framework.ts","declarations":[{"kind":"interface","name":"FinderLocation","description":"FinderLocation defines the location of a response or source","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"latitude","type":{"text":"number"}},{"kind":"field","name":"longitude","type":{"text":"number"}},{"kind":"field","name":"zoom","type":{"text":"number | null"}}]},{"kind":"interface","name":"FinderSkillResponse","supertypes":[{"name":"SkillApiResponse","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#SkillApiResponse","typeArguments":[{"text":"FinderResponseContext","references":[{"name":"FinderResponseContext","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderResponseContext","start":0,"end":21}]}]}]},{"kind":"interface","name":"ArcgisErrorResponse","supertypes":[{"name":"SkillApiResponse","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#SkillApiResponse","typeArguments":[{"text":"ArcgisErrorAsContext","references":[{"name":"ArcgisErrorAsContext","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#ArcgisErrorAsContext","start":0,"end":20}]}]}]},{"kind":"interface","name":"SkillApiResponse","description":"General Skill API response type (excluding context)","typeParameters":[{"name":"TContext","default":{"text":"unknown"}}],"members":[{"kind":"field","name":"conversationId","type":{"text":"string | null"}},{"kind":"field","name":"inquiryId","type":{"text":"string"}},{"kind":"field","name":"hasMore","type":{"text":"boolean"}},{"kind":"field","name":"sequenceNumber","type":{"text":"number"}},{"kind":"field","name":"message","type":{"text":"string | undefined"}},{"kind":"field","name":"context","type":{"text":"TContext","references":[{"name":"TContext","start":0,"end":8}]}}]},{"kind":"interface","name":"FinderResponseContext","description":"FinderResponseContext defines the information sent back from the Finder skill API","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"text","type":{"text":"string"}},{"kind":"field","name":"actions","type":{"text":"FinderAction[]","references":[{"name":"FinderAction","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderAction","start":0,"end":12}]}},{"kind":"field","name":"sources","type":{"text":"FinderSource[]","references":[{"name":"FinderSource","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderSource","start":0,"end":12}]}},{"kind":"field","name":"location","type":{"text":"FinderLocation","references":[{"name":"FinderLocation","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderLocation","start":0,"end":14}]}},{"kind":"field","name":"features","type":{"text":"unknown"}},{"kind":"field","name":"tools","type":{"text":"FinderTool[]","references":[{"name":"FinderTool","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderTool","start":0,"end":10}]}}]},{"kind":"interface","name":"ArcgisErrorAsContext","members":[{"kind":"field","name":"error","type":{"text":"{\n code: number;\n messageCode: string;\n details?: unknown[];\n message: string;\n subCode?: unknown;\n}"}},{"kind":"field","name":"kind","type":{"text":"string"}}]},{"kind":"interface","name":"FinderAction","description":"FinderAction defines an action that is recommended as a follow-up user query","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"action","type":{"text":"string"}},{"kind":"field","name":"text","type":{"text":"string"}},{"kind":"field","name":"properties","type":{"text":"FinderActionProperties","references":[{"name":"FinderActionProperties","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/arcgis-hub-ai-assistant/util/framework/#FinderActionProperties","start":0,"end":22}]}}]},{"kind":"interface","name":"FinderSource","description":"FinderSource defines a source of information in a response such as a dataset, document, or app.","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"id","type":{"text":"string"}},{"kind":"field","name":"type","type":{"text":"string"}},{"kind":"field","name":"title","type":{"text":"string"}},{"kind":"field","name":"description","type":{"text":"string"}},{"kind":"field","name":"source","type":{"text":"string"}}]},{"kind":"interface","name":"FinderTool","description":"FinderTool defines a tool that can be used in the Finder skill, such as a search or geocode.","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"parameters","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}]},{"kind":"interface","name":"FinderActionProperties","description":"FinderActionProperties defines the properties for actions in the Finder skill.","members":[{"kind":"field","name":"kind","type":{"text":"string"}},{"kind":"field","name":"topic","type":{"text":"string"}},{"kind":"field","name":"datasets","type":{"text":"string[] | null"}},{"kind":"field","name":"latitude","type":{"text":"number | null"}},{"kind":"field","name":"longitude","type":{"text":"number | null"}},{"kind":"field","name":"zoom","type":{"text":"number | null"}}]}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-view-layout","sourcePath":"src/components/hub-entity-view-layout/hub-entity-view-layout.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityViewLayout","customElement":true,"tagName":"arcgis-hub-entity-view-layout","pascalCaseName":"ArcgisHubEntityViewLayout","description":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"entity","description":"The Hub entity whose view will be\nrendered in a layout","type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityViewLayout = document.querySelector(\"arcgis-hub-entity-view-layout\");\ndocument.body.append(arcgisHubEntityViewLayout);\nawait arcgisHubEntityViewLayout.componentOnReady();\nconsole.log(\"arcgis-hub-entity-view-layout is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"is-edit-mode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisHubEntityViewPublished","description":"Event emitted when the layout is published.","type":{"text":"void"}},{"name":"hubTelemetry","description":"Event emitted for telemetry","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-hub-entity-view-layout"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-view-layout","declaration":{"name":"ArcgisHubEntityViewLayout"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-associations-card","sourcePath":"src/components/layouts/components/cards/hub-entity-associations-card/hub-entity-associations-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityAssociationsCard","customElement":true,"tagName":"arcgis-hub-entity-associations-card","pascalCaseName":"ArcgisHubEntityAssociationsCard","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"associationType","description":"entity type to query for","type":{"text":"HubEntityType","references":[{"name":"HubEntityType","package":"@esri/hub-common","start":0,"end":13}],"values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}]},"default":"\"initiative\"","attribute":"association-type"},{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityAssociationsCard = document.querySelector(\"arcgis-hub-entity-associations-card\");\ndocument.body.append(arcgisHubEntityAssociationsCard);\nawait arcgisHubEntityAssociationsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-associations-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"association-type","description":"entity type to query for","type":{"text":"\"template\" | \"event\" | \"group\" | \"initiative\" | \"initiativeTemplate\" | \"organization\" | \"survey\" | \"user\" | \"channel\" | \"content\" | \"org\" | \"page\" | \"project\" | \"site\" | \"discussion\"","values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}]},"default":"\"initiative\"","fieldName":"associationType"}],"importPath":"components/arcgis-hub-entity-associations-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-associations-card","declaration":{"name":"ArcgisHubEntityAssociationsCard"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-metrics-card","sourcePath":"src/components/layouts/components/cards/hub-entity-metrics-card/hub-entity-metrics-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityMetricsCard","customElement":true,"tagName":"arcgis-hub-entity-metrics-card","pascalCaseName":"ArcgisHubEntityMetricsCard","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityMetricsCard = document.querySelector(\"arcgis-hub-entity-metrics-card\");\ndocument.body.append(arcgisHubEntityMetricsCard);\nawait arcgisHubEntityMetricsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-metrics-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"importPath":"components/arcgis-hub-entity-metrics-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-metrics-card","declaration":{"name":"ArcgisHubEntityMetricsCard"}}]},{"kind":"javascript-module","path":"components/arcgis-hub-entity-status-card","sourcePath":"src/components/layouts/components/cards/hub-entity-status-card/hub-entity-status-card.tsx","declarations":[{"kind":"class","name":"ArcgisHubEntityStatusCard","customElement":true,"tagName":"arcgis-hub-entity-status-card","pascalCaseName":"ArcgisHubEntityStatusCard","description":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"entity","docsTags":[{"name":"required"}],"type":{"text":"HubEntity | undefined","references":[{"name":"HubEntity","package":"@esri/hub-common","start":0,"end":9}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityStatusCard = document.querySelector(\"arcgis-hub-entity-status-card\");\ndocument.body.append(arcgisHubEntityStatusCard);\nawait arcgisHubEntityStatusCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-status-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"importPath":"components/arcgis-hub-entity-status-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-hub-entity-status-card","declaration":{"name":"ArcgisHubEntityStatusCard"}}]},{"kind":"javascript-module","path":"components/arcgis-nav-card","sourcePath":"src/components/layouts/components/cards/nav-card/nav-card.tsx","declarations":[{"kind":"class","name":"ArcgisNavCard","customElement":true,"tagName":"arcgis-nav-card","pascalCaseName":"ArcgisNavCard","description":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"activatedNode","description":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":{"text":"ILayoutNode | undefined","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"debug","description":"Enables debug mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug"},{"kind":"field","name":"isEditMode","description":"Whether the parent layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"node","type":{"text":"ILayoutNode","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"sections","description":"The sections to render within the nav card","type":{"text":"ISection[]","references":[{"name":"ISection","package":"@esri/hub-common","start":0,"end":8}]}},{"kind":"field","name":"translations","description":"Customer provided translations to override the\ndefault strings.","type":{"text":"ITranslationMap","references":[{"name":"ITranslationMap","package":"@esri/hub-common","start":0,"end":15}]}},{"kind":"field","name":"utils","description":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","type":{"text":"LayoutUtils | undefined","references":[{"name":"LayoutUtils","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisNavCard = document.querySelector(\"arcgis-nav-card\");\ndocument.body.append(arcgisNavCard);\nawait arcgisNavCard.componentOnReady();\nconsole.log(\"arcgis-nav-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"debug","description":"Enables debug mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the parent layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisLayoutActivateNode","type":{"text":"ILayoutNodeActivateEventDetail","references":[{"name":"ILayoutNodeActivateEventDetail","module":"components/layouts/utils/layout-event-types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/hub-web-components/components/layouts/utils/layout-event-types/#ILayoutNodeActivateEventDetail","start":0,"end":30}]}},{"name":"arcgisLayoutNodeFocus","type":{"text":"boolean"}}],"importPath":"components/arcgis-nav-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-nav-card","declaration":{"name":"ArcgisNavCard"}}]},{"kind":"javascript-module","path":"components/arcgis-text-card","sourcePath":"src/components/layouts/components/cards/text-card/text-card.tsx","declarations":[{"kind":"class","name":"ArcgisTextCard","customElement":true,"tagName":"arcgis-text-card","pascalCaseName":"ArcgisTextCard","description":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"html"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisTextCard = document.querySelector(\"arcgis-text-card\");\ndocument.body.append(arcgisTextCard);\nawait arcgisTextCard.componentOnReady();\nconsole.log(\"arcgis-text-card is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"html"}],"importPath":"components/arcgis-text-card"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-text-card","declaration":{"name":"ArcgisTextCard"}}]},{"kind":"javascript-module","path":"components/arcgis-layout","sourcePath":"src/components/layouts/components/layout/layout.tsx","declarations":[{"kind":"class","name":"ArcgisLayout","customElement":true,"tagName":"arcgis-layout","pascalCaseName":"ArcgisLayout","description":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"activatedNode","description":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":{"text":"ILayoutNode | undefined","references":[{"name":"ILayoutNode","package":"@esri/hub-common","start":0,"end":11}]}},{"kind":"field","name":"debug","description":"Enables debug mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug","reflects":true},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"layout","description":"The layout to render.","type":{"text":"ILayout | undefined","references":[{"name":"ILayout","package":"@esri/hub-common","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":{"text":"IProcessLayoutOptions","references":[{"name":"IProcessLayoutOptions","package":"@esri/hub-common","start":0,"end":21}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayout = document.querySelector(\"arcgis-layout\");\ndocument.body.append(arcgisLayout);\nawait arcgisLayout.componentOnReady();\nconsole.log(\"arcgis-layout is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getCardEl","description":"Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","parameters":[{"name":"nodeId","description":"The id of the node","type":{"text":"string"}}],"return":{"description":"The HTML element for the node, if found","type":{"text":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7},{"name":"HTMLConfigurableLayoutNodeElement","package":"@esri/hub-common","start":8,"end":41}]}},"signature":"(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>"}],"attributes":[{"name":"debug","description":"Enables debug mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the layout is in edit mode.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"}],"events":[{"name":"arcgisHubLayoutRendered","description":"Event emitted when the layout has finished\nrendering.","type":{"text":"void"}}],"importPath":"components/arcgis-layout"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-layout","declaration":{"name":"ArcgisLayout"}}]},{"kind":"javascript-module","path":"components/arcgis-layout-container","sourcePath":"src/components/layouts/components/layout-container/layout-container.tsx","declarations":[{"kind":"class","name":"ArcgisLayoutContainer","customElement":true,"tagName":"arcgis-layout-container","pascalCaseName":"ArcgisLayoutContainer","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"encapsulation":"none","members":[{"kind":"field","name":"debug","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"debug","reflects":true},{"kind":"field","name":"isEditMode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-edit-mode","reflects":true},{"kind":"field","name":"isPublishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-publishing"},{"kind":"field","name":"layout","description":"The layout to render","type":{"text":"Layout","references":[{"name":"Layout","package":"@esri/hub-common","start":0,"end":6}]}},{"kind":"field","name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":{"text":"IProcessLayoutOptions","references":[{"name":"IProcessLayoutOptions","package":"@esri/hub-common","start":0,"end":21}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayoutContainer = document.querySelector(\"arcgis-layout-container\");\ndocument.body.append(arcgisLayoutContainer);\nawait arcgisLayoutContainer.componentOnReady();\nconsole.log(\"arcgis-layout-container is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"debug","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"debug"},{"name":"is-edit-mode","description":"Whether the layout is in edit mode","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isEditMode"},{"name":"is-publishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isPublishing"}],"events":[{"name":"arcgisHubLayoutChanged","description":"Event emitted when the layout is edited","type":{"text":"void"}},{"name":"arcgisHubLayoutEditorExit","description":"Event emitted when the layout editor is exited","type":{"text":"void"}},{"name":"arcgisHubLayoutPublished","description":"Event emitted when the layout is published","type":{"text":"ILayoutPublishEventDetail","references":[{"name":"ILayoutPublishEventDetail","package":"@esri/hub-common","start":0,"end":25}]}},{"name":"arcgisHubLayoutReset","description":"Event emitted when the layout is reset","type":{"text":"ILayoutResetEventDetail","references":[{"name":"ILayoutResetEventDetail","package":"@esri/hub-common","start":0,"end":23}]}},{"name":"hubTelemetry","description":"Event emitted for telemetry","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-layout-container"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-layout-container","declaration":{"name":"ArcgisLayoutContainer"}}]},{"kind":"javascript-module","path":"components/layouts/utils/layout-event-types","sourcePath":"src/components/layouts/utils/layout-event-types.ts","declarations":[{"kind":"interface","name":"ILayoutNodeActivateEventDetail","members":[{"kind":"field","name":"node","type":{"text":"LayoutNode","references":[{"name":"LayoutNode","package":"@esri/hub-common","start":0,"end":10}]}}]}]}]}
|