@arcgis/portal-components 5.2.0-next.91 → 5.2.0-next.94
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/2QCYQYNA.js +2 -0
- package/dist/cdn/4NXBBNYR.js +2 -0
- package/dist/cdn/{5Q7A62C3.js → 7VNYKGBJ.js} +85 -81
- package/dist/cdn/{QH47GJCC.js → BL2ZND4S.js} +1 -1
- package/dist/cdn/{E7MAKHJ5.js → POQBF4N7.js} +1 -1
- package/dist/cdn/{SXBAVMP3.js → R77U3ROB.js} +1 -1
- package/dist/cdn/TBQ5W7VE.js +2 -0
- package/dist/cdn/assets/portal-item-badges/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/portal-item-badge.js +74 -71
- package/dist/chunks/utils2.js +28 -20
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +516 -491
- package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +15 -8
- package/dist/components/arcgis-portal-navigation/customElement.js +159 -156
- package/dist/components/arcgis-portal-navigation/index.js +1 -0
- 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 +5 -5
- package/dist/cdn/K42KPAN7.js +0 -2
- package/dist/cdn/SKRCLDPZ.js +0 -2
- package/dist/cdn/YZNRN2K5.js +0 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { PortalContentNavigationHash, PortalGroupsNavigationHash, PortalOrgNavigationHash } from "../../agents/types.js";
|
|
2
|
+
|
|
1
3
|
/** Shape exported by a TypeScript module under data/capability-registries/. */
|
|
2
4
|
export interface CapabilityRegistry {
|
|
3
5
|
schemaVersion: "1.0";
|
|
@@ -24,11 +26,16 @@ export interface Capability {
|
|
|
24
26
|
export type CapabilityPlatform = "enterprise" | "online";
|
|
25
27
|
|
|
26
28
|
/** Host-independent navigation details declared by a capability. */
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
export type NavigateResolution = {
|
|
30
|
+
routeKey: "content";
|
|
31
|
+
hash?: PortalContentNavigationHash;
|
|
32
|
+
queryParams?: Record<string, string>;
|
|
33
|
+
} | {
|
|
34
|
+
routeKey: "groups";
|
|
35
|
+
hash?: PortalGroupsNavigationHash;
|
|
36
|
+
queryParams?: Record<string, string>;
|
|
37
|
+
} | {
|
|
38
|
+
routeKey: "organization";
|
|
39
|
+
hash?: PortalOrgNavigationHash;
|
|
40
|
+
queryParams?: Record<string, string>;
|
|
41
|
+
};
|