@esri/hub-web-components 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/LICENSE.md +13 -0
  2. package/README.md +35 -0
  3. package/dist/cdn/2NFBUAOJ.js +4 -0
  4. package/dist/cdn/3ZRJV7VD.js +3 -0
  5. package/dist/cdn/CADUTR4A.js +4 -0
  6. package/dist/cdn/E5QHKHGG.js +41 -0
  7. package/dist/cdn/IDWXUFCL.js +6 -0
  8. package/dist/cdn/MNXAWZSB.js +9 -0
  9. package/dist/cdn/YBCM3RPB.js +4 -0
  10. package/dist/cdn/assets/hub-ai-assistant/t9n/messages.en.json +1 -0
  11. package/dist/cdn/assets/hub-ai-assistant/t9n/messages.es.json +1 -0
  12. package/dist/cdn/index.js +4 -0
  13. package/dist/chunks/chat-action.js +41 -0
  14. package/dist/chunks/runtime.js +12 -0
  15. package/dist/components/arcgis-chat-shell/customElement.d.ts +27 -0
  16. package/dist/components/arcgis-chat-shell/customElement.js +44 -0
  17. package/dist/components/arcgis-chat-shell/index.d.ts +5 -0
  18. package/dist/components/arcgis-chat-shell/index.js +5 -0
  19. package/dist/components/arcgis-chat-ui/components/chat-action/customElement.d.ts +9 -0
  20. package/dist/components/arcgis-chat-ui/components/chat-action/customElement.js +9 -0
  21. package/dist/components/arcgis-chat-ui/components/chat-action/index.d.ts +2 -0
  22. package/dist/components/arcgis-chat-ui/components/chat-action/index.js +2 -0
  23. package/dist/components/arcgis-chat-ui/components/chat-response/customElement.d.ts +9 -0
  24. package/dist/components/arcgis-chat-ui/components/chat-response/customElement.js +42 -0
  25. package/dist/components/arcgis-chat-ui/components/chat-response/index.d.ts +8 -0
  26. package/dist/components/arcgis-chat-ui/components/chat-response/index.js +8 -0
  27. package/dist/components/arcgis-chat-ui/components/chat-status/customElement.d.ts +6 -0
  28. package/dist/components/arcgis-chat-ui/components/chat-status/customElement.js +8 -0
  29. package/dist/components/arcgis-chat-ui/components/chat-status/index.d.ts +1 -0
  30. package/dist/components/arcgis-chat-ui/components/chat-status/index.js +1 -0
  31. package/dist/components/arcgis-chat-ui/customElement.d.ts +58 -0
  32. package/dist/components/arcgis-chat-ui/customElement.js +127 -0
  33. package/dist/components/arcgis-chat-ui/index.d.ts +3 -0
  34. package/dist/components/arcgis-chat-ui/index.js +3 -0
  35. package/dist/components/arcgis-chat-ui/util/constants.d.ts +4 -0
  36. package/dist/components/arcgis-chat-ui/util/customElement.d.ts +3 -0
  37. package/dist/components/arcgis-chat-ui/util/types.d.ts +27 -0
  38. package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +90 -0
  39. package/dist/components/arcgis-hub-ai-assistant/customElement.js +210 -0
  40. package/dist/components/arcgis-hub-ai-assistant/index.d.ts +9 -0
  41. package/dist/components/arcgis-hub-ai-assistant/index.js +9 -0
  42. package/dist/components/arcgis-hub-ai-assistant/util/api.d.ts +25 -0
  43. package/dist/components/arcgis-hub-ai-assistant/util/customElement.d.ts +18 -0
  44. package/dist/components/arcgis-hub-ai-assistant/util/customElement.js +33 -0
  45. package/dist/components/arcgis-hub-ai-assistant/util/framework.d.ts +184 -0
  46. package/dist/components/arcgis-hub-ai-assistant/util/index.d.ts +1 -0
  47. package/dist/components/arcgis-hub-ai-assistant/util/index.js +1 -0
  48. package/dist/components/arcgis-hub-ai-assistant/util/test.d.ts +1387 -0
  49. package/dist/controllers/useT9n.d.ts +1 -0
  50. package/dist/docs/api.json +1113 -0
  51. package/dist/docs/docs.json +1010 -0
  52. package/dist/docs/vscode.css-custom-data.json +6 -0
  53. package/dist/docs/vscode.html-custom-data.json +133 -0
  54. package/dist/docs/web-types.json +413 -0
  55. package/dist/embed-config.d.ts +18 -0
  56. package/dist/embed-config.js +24 -0
  57. package/dist/enums.d.ts +10 -0
  58. package/dist/index.d.ts +74 -0
  59. package/dist/index.js +8 -0
  60. package/dist/loader.d.ts +2 -0
  61. package/dist/loader.js +13 -0
  62. package/dist/main.css +1 -0
  63. package/dist/runtime.d.ts +6 -0
  64. package/dist/types/components.d.ts +1 -0
  65. package/dist/types/lumina.d.ts +28 -0
  66. package/dist/types/preact.d.ts +36 -0
  67. package/dist/types/react.d.ts +47 -0
  68. package/dist/types/stencil.d.ts +35 -0
  69. package/dist/util/configuration.d.ts +16 -0
  70. package/package.json +99 -0
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "properties": [],
5
+ "pseudoElements": []
6
+ }
@@ -0,0 +1,133 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "arcgis-chat-shell",
7
+ "description": "### Events\n- **arcgisUpdateMapVisibility**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
8
+ "attributes": [
9
+ {
10
+ "name": "about-content",
11
+ "values": []
12
+ },
13
+ {
14
+ "name": "about-visible",
15
+ "values": []
16
+ },
17
+ {
18
+ "name": "map-enabled",
19
+ "values": []
20
+ },
21
+ {
22
+ "name": "map-visible",
23
+ "values": []
24
+ }
25
+ ],
26
+ "references": []
27
+ },
28
+ {
29
+ "name": "arcgis-chat-ui",
30
+ "description": "### Events\n- **arcgisAddDataClick** - Event emitted when the user clicks to add data from a chat message.\n- **arcgisLocationClick** - Event emitted when the user clicks a zoom to location button in a chat message.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `submitUserMessage(text: string): void` - 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",
31
+ "attributes": [
32
+ {
33
+ "name": "bot-description",
34
+ "description": "The disclaimer text for the AI assistant",
35
+ "values": []
36
+ },
37
+ {
38
+ "name": "bot-title",
39
+ "description": "The title of the AI assistant",
40
+ "values": []
41
+ },
42
+ {
43
+ "name": "conversation-id",
44
+ "description": "The current conversation ID, or null if starting a new conversation.",
45
+ "values": []
46
+ },
47
+ {
48
+ "name": "input-text",
49
+ "description": "The current text input value from the user.",
50
+ "values": []
51
+ }
52
+ ],
53
+ "references": []
54
+ },
55
+ {
56
+ "name": "arcgis-hub-ai-assistant",
57
+ "description": "### Events\n- **arcgisAddLayer**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
58
+ "attributes": [
59
+ {
60
+ "name": "api-url",
61
+ "description": "The API endpoint for the AI assistant's backend service.",
62
+ "values": []
63
+ },
64
+ {
65
+ "name": "bot-description",
66
+ "description": "Basic info about the bot to display in the \"About\" panel",
67
+ "values": []
68
+ },
69
+ {
70
+ "name": "bot-title",
71
+ "description": "The title of the AI assistant bot, displayed in the UI.",
72
+ "values": []
73
+ },
74
+ {
75
+ "name": "context",
76
+ "description": "Context such as organization or theme for this AI Assistant\ne.g. \"USGS\" or \"Oceans\"",
77
+ "values": []
78
+ },
79
+ {
80
+ "name": "entity-id",
81
+ "description": "For information queries (infererence) which entity to get pages + documents",
82
+ "values": []
83
+ },
84
+ {
85
+ "name": "hub",
86
+ "description": "Hub domain to use for finding relevant datasets",
87
+ "values": []
88
+ },
89
+ {
90
+ "name": "item-id",
91
+ "description": "ArcGIS Item id for assistant configuration",
92
+ "values": []
93
+ },
94
+ {
95
+ "name": "language",
96
+ "description": "Language for the chatbot to use",
97
+ "values": []
98
+ },
99
+ {
100
+ "name": "location",
101
+ "description": "Default geographic location to limit / focus results",
102
+ "values": []
103
+ },
104
+ {
105
+ "name": "map-basemap",
106
+ "description": "The basemap for the map. List of options:\nhttps://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#basemap",
107
+ "values": []
108
+ },
109
+ {
110
+ "name": "map-enabled",
111
+ "description": "If the map is enabled (able to be togged on within the component).",
112
+ "values": []
113
+ },
114
+ {
115
+ "name": "map-show-table",
116
+ "description": "In the map, option to show the \"Table\" widget.",
117
+ "values": []
118
+ },
119
+ {
120
+ "name": "map-visible",
121
+ "description": "If the map is currently visible. Only applicable if `mapEnabled` is true.",
122
+ "values": []
123
+ },
124
+ {
125
+ "name": "portal-url",
126
+ "description": "The base URL of the ArcGIS portal to use for authentication and data requests.",
127
+ "values": []
128
+ }
129
+ ],
130
+ "references": []
131
+ }
132
+ ]
133
+ }
@@ -0,0 +1,413 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@esri/hub-web-components",
4
+ "version": "0.0.5",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "arcgis-chat-shell",
11
+ "description": "### Events\n- **arcgisUpdateMapVisibility**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
12
+ "attributes": [
13
+ {
14
+ "name": "about-content",
15
+ "default": "`\n <div style=\"padding: 20px\">\n <h2>Disclaimer</h2>\n <p>more info soon ...</p>\n </div>\n `",
16
+ "value": {
17
+ "type": "string"
18
+ }
19
+ },
20
+ {
21
+ "name": "about-visible",
22
+ "default": "false",
23
+ "value": {
24
+ "type": "boolean"
25
+ }
26
+ },
27
+ {
28
+ "name": "map-enabled",
29
+ "default": "false",
30
+ "value": {
31
+ "type": "boolean"
32
+ }
33
+ },
34
+ {
35
+ "name": "map-visible",
36
+ "default": "false",
37
+ "value": {
38
+ "type": "boolean"
39
+ }
40
+ }
41
+ ],
42
+ "events": [
43
+ {
44
+ "name": "arcgisUpdateMapVisibility",
45
+ "type": "boolean"
46
+ }
47
+ ],
48
+ "js": {
49
+ "properties": [
50
+ {
51
+ "name": "aboutContent",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "aboutVisible",
56
+ "type": "boolean"
57
+ },
58
+ {
59
+ "name": "chatComponent",
60
+ "type": "unknown"
61
+ },
62
+ {
63
+ "name": "featureTable",
64
+ "type": "ArcgisFeatureTable"
65
+ },
66
+ {
67
+ "name": "map",
68
+ "type": "LuminaArcgisMap"
69
+ },
70
+ {
71
+ "name": "mapEnabled",
72
+ "type": "boolean"
73
+ },
74
+ {
75
+ "name": "mapVisible",
76
+ "type": "boolean"
77
+ }
78
+ ],
79
+ "events": [
80
+ {
81
+ "name": "arcgisUpdateMapVisibility",
82
+ "type": "boolean"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "name": "arcgis-chat-ui",
89
+ "description": "### Events\n- **arcgisAddDataClick** - Event emitted when the user clicks to add data from a chat message.\n- **arcgisLocationClick** - Event emitted when the user clicks a zoom to location button in a chat message.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `submitUserMessage(text: string): void` - 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",
90
+ "attributes": [
91
+ {
92
+ "name": "bot-description",
93
+ "description": "The disclaimer text for the AI assistant",
94
+ "default": "\"\"",
95
+ "value": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ {
100
+ "name": "bot-title",
101
+ "description": "The title of the AI assistant",
102
+ "default": "\"\"",
103
+ "value": {
104
+ "type": "string"
105
+ }
106
+ },
107
+ {
108
+ "name": "conversation-id",
109
+ "description": "The current conversation ID, or null if starting a new conversation.",
110
+ "value": {
111
+ "type": "string"
112
+ }
113
+ },
114
+ {
115
+ "name": "input-text",
116
+ "description": "The current text input value from the user.",
117
+ "default": "\"\"",
118
+ "value": {
119
+ "type": "string"
120
+ }
121
+ }
122
+ ],
123
+ "events": [
124
+ {
125
+ "name": "arcgisAddDataClick",
126
+ "type": "{\n type: \"dataset\";\n title?: string | undefined;\n data: DataItem;\n}",
127
+ "description": "Event emitted when the user clicks to add data from a chat message."
128
+ },
129
+ {
130
+ "name": "arcgisLocationClick",
131
+ "type": "FinderLocation",
132
+ "description": "Event emitted when the user clicks a zoom to location button in a chat message."
133
+ }
134
+ ],
135
+ "js": {
136
+ "properties": [
137
+ {
138
+ "name": "botDescription",
139
+ "description": "The disclaimer text for the AI assistant",
140
+ "type": "string"
141
+ },
142
+ {
143
+ "name": "botTitle",
144
+ "description": "The title of the AI assistant",
145
+ "type": "string"
146
+ },
147
+ {
148
+ "name": "conversationId",
149
+ "description": "The current conversation ID, or null if starting a new conversation.",
150
+ "type": "string"
151
+ },
152
+ {
153
+ "name": "defaultSuggestions",
154
+ "description": "The default suggestions prompted to the user",
155
+ "type": "Array<string | {\n icon: string;\n label: string;\n query: string | Array<string>;\n}>"
156
+ },
157
+ {
158
+ "name": "devFeatureMessage",
159
+ "description": "Stores a developer feature message for quick testing or shortcuts.",
160
+ "type": "({\n kind?: string | undefined;\n text?: string | undefined;\n actions?: Array<FinderAction> | undefined;\n sources?: Array<FinderSource> | undefined;\n location?: FinderLocation | undefined;\n features?: unknown;\n tools?: Array<FinderTool> | undefined;\n} & {\n author: string;\n text: string;\n messageId?: number | undefined;\n})"
161
+ },
162
+ {
163
+ "name": "getFinderResponse",
164
+ "description": "Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.",
165
+ "type": "(message: string, conversationId: string | null) => Promise<Array<ArcgisErrorResponse> | Array<FinderSkillResponse>>"
166
+ },
167
+ {
168
+ "name": "inputText",
169
+ "description": "The current text input value from the user.",
170
+ "type": "string"
171
+ }
172
+ ],
173
+ "events": [
174
+ {
175
+ "name": "arcgisAddDataClick",
176
+ "type": "{\n type: \"dataset\";\n title?: string | undefined;\n data: DataItem;\n}",
177
+ "description": "Event emitted when the user clicks to add data from a chat message."
178
+ },
179
+ {
180
+ "name": "arcgisLocationClick",
181
+ "type": "FinderLocation",
182
+ "description": "Event emitted when the user clicks a zoom to location button in a chat message."
183
+ }
184
+ ]
185
+ }
186
+ },
187
+ {
188
+ "name": "arcgis-hub-ai-assistant",
189
+ "description": "### Events\n- **arcgisAddLayer**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
190
+ "attributes": [
191
+ {
192
+ "name": "api-url",
193
+ "description": "The API endpoint for the AI assistant's backend service.",
194
+ "default": "\"/api/assistants/v1\"",
195
+ "value": {
196
+ "type": "string"
197
+ }
198
+ },
199
+ {
200
+ "name": "bot-description",
201
+ "description": "Basic info about the bot to display in the \"About\" panel",
202
+ "default": "\"Hub AI Assistant helps you find and use open data in your community.\"",
203
+ "value": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ {
208
+ "name": "bot-title",
209
+ "description": "The title of the AI assistant bot, displayed in the UI.",
210
+ "default": "\"Hub AI Assistant\"",
211
+ "value": {
212
+ "type": "string"
213
+ }
214
+ },
215
+ {
216
+ "name": "context",
217
+ "description": "Context such as organization or theme for this AI Assistant\ne.g. \"USGS\" or \"Oceans\"",
218
+ "value": {
219
+ "type": "string"
220
+ }
221
+ },
222
+ {
223
+ "name": "entity-id",
224
+ "description": "For information queries (infererence) which entity to get pages + documents",
225
+ "value": {
226
+ "type": "string"
227
+ }
228
+ },
229
+ {
230
+ "name": "hub",
231
+ "description": "Hub domain to use for finding relevant datasets",
232
+ "default": "\"opendata.dc.gov\"",
233
+ "value": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ {
238
+ "name": "item-id",
239
+ "description": "ArcGIS Item id for assistant configuration",
240
+ "value": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ {
245
+ "name": "language",
246
+ "description": "Language for the chatbot to use",
247
+ "value": {
248
+ "type": "string"
249
+ }
250
+ },
251
+ {
252
+ "name": "location",
253
+ "description": "Default geographic location to limit / focus results",
254
+ "default": "\"Washington, DC\"",
255
+ "value": {
256
+ "type": "string"
257
+ }
258
+ },
259
+ {
260
+ "name": "map-basemap",
261
+ "description": "The basemap for the map. List of options:\nhttps://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#basemap",
262
+ "default": "\"gray-vector\"",
263
+ "value": {
264
+ "type": "string"
265
+ }
266
+ },
267
+ {
268
+ "name": "map-enabled",
269
+ "description": "If the map is enabled (able to be togged on within the component).",
270
+ "default": "false",
271
+ "value": {
272
+ "type": "boolean"
273
+ }
274
+ },
275
+ {
276
+ "name": "map-show-table",
277
+ "description": "In the map, option to show the \"Table\" widget.",
278
+ "default": "false",
279
+ "value": {
280
+ "type": "boolean"
281
+ }
282
+ },
283
+ {
284
+ "name": "map-visible",
285
+ "description": "If the map is currently visible. Only applicable if `mapEnabled` is true.",
286
+ "default": "false",
287
+ "value": {
288
+ "type": "boolean"
289
+ }
290
+ },
291
+ {
292
+ "name": "portal-url",
293
+ "description": "The base URL of the ArcGIS portal to use for authentication and data requests.",
294
+ "default": "\"\"",
295
+ "value": {
296
+ "type": "string"
297
+ }
298
+ }
299
+ ],
300
+ "events": [
301
+ {
302
+ "name": "arcgisAddLayer",
303
+ "type": "undefined"
304
+ }
305
+ ],
306
+ "js": {
307
+ "properties": [
308
+ {
309
+ "name": "apiUrl",
310
+ "description": "The API endpoint for the AI assistant's backend service.",
311
+ "type": "string"
312
+ },
313
+ {
314
+ "name": "authentication",
315
+ "type": "ArcGISIdentityManager"
316
+ },
317
+ {
318
+ "name": "botDescription",
319
+ "description": "Basic info about the bot to display in the \"About\" panel",
320
+ "type": "string"
321
+ },
322
+ {
323
+ "name": "botTitle",
324
+ "description": "The title of the AI assistant bot, displayed in the UI.",
325
+ "type": "string"
326
+ },
327
+ {
328
+ "name": "context",
329
+ "description": "Context such as organization or theme for this AI Assistant\ne.g. \"USGS\" or \"Oceans\"",
330
+ "type": "string"
331
+ },
332
+ {
333
+ "name": "defaultSuggestions",
334
+ "description": "The default suggestions for the user",
335
+ "type": "Array<string | {\n icon: string;\n label: string;\n query: string | Array<string>;\n}>"
336
+ },
337
+ {
338
+ "name": "entityId",
339
+ "description": "For information queries (infererence) which entity to get pages + documents",
340
+ "type": "string"
341
+ },
342
+ {
343
+ "name": "extent",
344
+ "description": "The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]",
345
+ "type": "Array<Array<number>>"
346
+ },
347
+ {
348
+ "name": "hub",
349
+ "description": "Hub domain to use for finding relevant datasets",
350
+ "type": "string"
351
+ },
352
+ {
353
+ "name": "itemId",
354
+ "description": "ArcGIS Item id for assistant configuration",
355
+ "type": "string"
356
+ },
357
+ {
358
+ "name": "language",
359
+ "description": "Language for the chatbot to use",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "name": "location",
364
+ "description": "Default geographic location to limit / focus results",
365
+ "type": "string"
366
+ },
367
+ {
368
+ "name": "mapBasemap",
369
+ "description": "The basemap for the map. List of options:\nhttps://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#basemap",
370
+ "type": "string"
371
+ },
372
+ {
373
+ "name": "mapEnabled",
374
+ "description": "If the map is enabled (able to be togged on within the component).",
375
+ "type": "boolean"
376
+ },
377
+ {
378
+ "name": "mapLayers",
379
+ "description": "Portal IDs of the layers on the map",
380
+ "type": "Array<string>"
381
+ },
382
+ {
383
+ "name": "mapShowTable",
384
+ "description": "In the map, option to show the \"Table\" widget.",
385
+ "type": "boolean"
386
+ },
387
+ {
388
+ "name": "mapVisible",
389
+ "description": "If the map is currently visible. Only applicable if `mapEnabled` is true.",
390
+ "type": "boolean"
391
+ },
392
+ {
393
+ "name": "portalUrl",
394
+ "description": "The base URL of the ArcGIS portal to use for authentication and data requests.",
395
+ "type": "string"
396
+ }
397
+ ],
398
+ "events": [
399
+ {
400
+ "name": "arcgisAddLayer",
401
+ "type": "undefined"
402
+ }
403
+ ]
404
+ }
405
+ }
406
+ ]
407
+ },
408
+ "css": {
409
+ "properties": [],
410
+ "pseudo-elements": []
411
+ }
412
+ }
413
+ }
@@ -0,0 +1,18 @@
1
+ export declare const environments: {
2
+ production: {
3
+ compassApiUrl: string;
4
+ compassApiUrl2: string;
5
+ clientId: string;
6
+ portalUrl: string;
7
+ };
8
+ qa: {
9
+ compassApiUrl: string;
10
+ clientId: string;
11
+ portalUrl: string;
12
+ };
13
+ dev: {
14
+ compassApiUrl: string;
15
+ clientId: string;
16
+ portalUrl: string;
17
+ };
18
+ };
@@ -0,0 +1,24 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.0/esri/copyright.txt for details.
3
+ v0.0.5 */
4
+ const t = {
5
+ production: {
6
+ compassApiUrl: "https://geoai-search-prototype.utils.hub.geocloud.com/api",
7
+ compassApiUrl2: "http://localui.arcgis.com:8000/api",
8
+ clientId: "zWjie69856WR6cWz",
9
+ portalUrl: "https://www.arcgis.com"
10
+ },
11
+ qa: {
12
+ compassApiUrl: "https://geoai-search-prototype.utils.hub.geocloud.com/api",
13
+ clientId: "2kAcJaj7GkBYg2Wp",
14
+ portalUrl: "https://qaext.arcgis.com"
15
+ },
16
+ dev: {
17
+ compassApiUrl: "http://localui.arcgis.com:8000/api",
18
+ clientId: "zWjie69856WR6cWz",
19
+ portalUrl: "https://mapsdevext.arcgis.com"
20
+ }
21
+ };
22
+ export {
23
+ t as environments
24
+ };
@@ -0,0 +1,10 @@
1
+ export declare enum HubAIModel {
2
+ NEARBY = "nearby",
3
+ TEXT = "text",
4
+ IMAGE = "image"
5
+ }
6
+ export declare enum HubChatAuthor {
7
+ USER = "Human",
8
+ HUB = "AI",
9
+ SYSTEM = "System"
10
+ }