@adobe/exc-app 1.5.8 → 1.5.10
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/CHANGELOG.md +39 -0
- package/RuntimeConfiguration.d.ts +15 -0
- package/ai.d.ts +40 -0
- package/ai.js +11 -1
- package/ai.js.map +1 -1
- package/appapi.d.ts +3 -1
- package/appapi.js +2 -0
- package/appapi.js.map +1 -1
- package/featureflags.d.ts +4 -0
- package/featureflags.js.map +1 -1
- package/interframe.d.ts +45 -1
- package/interframe.js +1 -32
- package/interframe.js.map +1 -1
- package/package.json +1 -1
- package/page.d.ts +12 -0
- package/page.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/nest.d.ts +0 -28
- package/nest.js +0 -24
- package/nest.js.map +0 -1
- package/tests/capabilityapi.test.d.ts +0 -1
- package/tests/capabilityapi.test.js +0 -89
- package/tests/capabilityapi.test.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @adobe/exc-app Changelog
|
|
2
|
+
|
|
3
|
+
## 1.5.9 (2026-04-02)
|
|
4
|
+
|
|
5
|
+
- [Feature] Auto open expanded AI Assistant using `openChat` — adds `Modality` enum (`FULLSCREEN`, `RAIL`), `modality` field to `AIMessagePayload` and `OpenChatProps` (EXC-46744) ([2cd9f29](https://github.com/Adobe-dxue/unified-shell/commit/2cd9f29ddd51054942d9842dad30d57645df630f))
|
|
6
|
+
- [Type Change] Add `TOGGLE_EXPANSION` with `isExpanded` boolean to `AIMessageEvent` for collapsed state transition before navigation (EXC-46676) ([d1b409a](https://github.com/Adobe-dxue/unified-shell/commit/d1b409afc78af5a12d91dc13dd91e68f5b02677a))
|
|
7
|
+
- [Feature] Add `openAIPanel` option to `ShellRedirectOptions` to open the AI Panel after shell redirect navigation (EXC-46805) ([d4a6e06](https://github.com/Adobe-dxue/unified-shell/commit/d4a6e06e43093ad0fe2ee6997bf0dd7b4d7bf663))
|
|
8
|
+
- [Type Change] Add `isAWSOrg` to `RuntimeConfiguration` for AEP applications ([4a52986](https://github.com/Adobe-dxue/unified-shell/commit/4a52986410755351bbf2ac2a9aaf6c05b44cb5fd))
|
|
9
|
+
- [Type Change] Add `env` to `FeatureFlagConfig` for current environment context ([daf436c](https://github.com/Adobe-dxue/unified-shell/commit/daf436cc8dfaed93ae8e4081ec4e472a04dc8c26))
|
|
10
|
+
- [Type Change] Add `STRATEGIC_IDEATION` (Catalyze) and `JOURNEY_OPTIMIZER_B2B_PRIME` (Falco) to `AppIds` (EXC-46711, SPHR-26993) ([ad1a4c6](https://github.com/Adobe-dxue/unified-shell/commit/ad1a4c6b0b0aed2f20eab4a4e03c8d9b45e9f684), [93ab68a](https://github.com/Adobe-dxue/unified-shell/commit/93ab68ad09681622169b6d8234027225c254224d))
|
|
11
|
+
- [Bug fix] Fix A11y skip menu focus target for AI Assistant chat input in expanded rail — no interface change (EXC-46771) ([c394bc2](https://github.com/Adobe-dxue/unified-shell/commit/c394bc2fbdcbdd6ccf06e83b7ca80e05c536d9be))
|
|
12
|
+
- [Improvement] Reliability: defensive null checks in metrics and util — no interface change (EXC-46335) ([cbb6868](https://github.com/Adobe-dxue/unified-shell/commit/cbb68686aefcaad3c971dc5a82a3de8120b0ed8a))
|
|
13
|
+
|
|
14
|
+
## 1.5.7, 1.5.8 (2026-03-16)
|
|
15
|
+
|
|
16
|
+
- [Feature] Hybrid mode: expand and collapse AI Assistant — adds `toggleExpansion` API, `FormFactor` enum, `SET_FORM_FACTOR`/`TOGGLE_EXPANSION` message types, and `isRightPanelExpanded` config flag (EXC-46233) ([f42e7c8](https://github.com/Adobe-dxue/unified-shell/commit/f42e7c8a811ccefb62e418ba150a74909bdbdbd5))
|
|
17
|
+
- [Feature] AI enablement for Experimentation Accelerator and Falco ([b30f301](https://github.com/Adobe-dxue/unified-shell/commit/b30f30134a270e5aa7c574b07fc50b9a4c6e56e7))
|
|
18
|
+
- [Feature] Add `DOM_SCREENSHOT` interframe action and rail navigation notification (NXUI-1073) ([31ee49f](https://github.com/Adobe-dxue/unified-shell/commit/31ee49fd394a4bfc65b87f082ff6f0232a73166e))
|
|
19
|
+
|
|
20
|
+
## 1.5.5 (2026-03-05)
|
|
21
|
+
|
|
22
|
+
- [Feature] Add LLM Optimizer to app switcher and quick access (EXC-46206) ([830bbe1](https://github.com/Adobe-dxue/unified-shell/commit/830bbe1ed7ae2c28902b784a851a765f69fbe970))
|
|
23
|
+
- [Feature] Implement opening NextGenUI Right Rail with a specific conversation loaded — overloads `openChat` to accept `OpenChatProps` with `conversationId`, `query`, and `shouldSubmit` ([7ac5569](https://github.com/Adobe-dxue/unified-shell/commit/7ac5569789f36c5790708b517b0133035ff6052e))
|
|
24
|
+
- [Feature] Add AI automation entry to AEC left nav (EXC-46490) ([4291305](https://github.com/Adobe-dxue/unified-shell/commit/429130571a7d344116138aab29230d7bcca8f18c))
|
|
25
|
+
- [Type Change] Falco composed app with home and people — adds `FALCO` to `AppParent` type ([f91dc8e](https://github.com/Adobe-dxue/unified-shell/commit/f91dc8e118523ef709f4fafc86446362bceecc2f))
|
|
26
|
+
|
|
27
|
+
## 1.5.4 (2026-02-12)
|
|
28
|
+
|
|
29
|
+
- [Feature] CHE2 support for GQL, XQL, and IO — extracts `BaseNetworkConfig` interface, adds `getRegionEndpoint` function, `ServiceType` enum, `bypassRegionLock` option, and regional endpoint types (EXC-45337) ([6780b9a](https://github.com/Adobe-dxue/unified-shell/commit/6780b9a5c8cd7eba4fb62feb447aa45a2899a8ac))
|
|
30
|
+
- [Feature] Automatically handle registered interframe actions in shell for `APP_CONTEXT` — adds `InterFrameActionType` enum and tightens interframe types to `Record<string, any>` (EXC-45538) ([a85ca9f](https://github.com/Adobe-dxue/unified-shell/commit/a85ca9f9789c8cf3c513d7c75d801d4f8ba21756))
|
|
31
|
+
- [Type Change] Add `success` boolean and `errorDetail` to `SettingsResponse` (EXC-38197) ([b44fdc5](https://github.com/Adobe-dxue/unified-shell/commit/b44fdc564973bfc129683de0339402460b440e69))
|
|
32
|
+
- [Type Change] Add `pageName` to `RuntimeConfiguration` (EXC-46035) ([8ab0c85](https://github.com/Adobe-dxue/unified-shell/commit/8ab0c856e8eb7ead9577dac58def02cadd54a8b7))
|
|
33
|
+
- [Type Change] Update collaborator types list and switcher with new types — adds `AGENCY` and `PLATFORM` collaborator types, adds `product` field to `Instance` (EXC-46214) ([ca0b14b](https://github.com/Adobe-dxue/unified-shell/commit/ca0b14b55f741cfe21fc0e09a3795d9f0c69455d))
|
|
34
|
+
- [Feature] Add Target and Workfront AI knowledge sources ([b19e00e](https://github.com/Adobe-dxue/unified-shell/commit/b19e00e5cc57e22555da36376d245c68f7b55461))
|
|
35
|
+
- [Feature] Add Sales Qualifier AI knowledge source ([dd7db6f](https://github.com/Adobe-dxue/unified-shell/commit/dd7db6f60b2c1595c7558fc08b1075b267759b35))
|
|
36
|
+
- [Feature] Add Marketo Engage AI knowledge source (EXC-46234) ([f4906f7](https://github.com/Adobe-dxue/unified-shell/commit/f4906f71bbe54a9deabdfb62bb1bfd4edbda2e58))
|
|
37
|
+
- [Bug fix] Fix Marketo Engage AI application id to lowercase ([1401515](https://github.com/Adobe-dxue/unified-shell/commit/140151514d02aa291bf397e3274bdbcd4a7763ad))
|
|
38
|
+
- [Feature] Commerce Admin UI instance switcher support (EXC-45838) ([2b43435](https://github.com/Adobe-dxue/unified-shell/commit/2b4343564df76ad6588438a610d752b1e84eb226))
|
|
39
|
+
- [Type Change] Updates for Pangea customer release — renames `PROJECT_PANGEA` to `UNIFIED_METRIC_CONTRACT_INSIGHTS` in `AppIds` (EXC-43872) ([a0cd6a5](https://github.com/Adobe-dxue/unified-shell/commit/a0cd6a5ca4a72ccd54a1dc37630ee36b0611bbea))
|
|
@@ -204,6 +204,17 @@ export interface RuntimeConfiguration extends BaseNetworkConfig {
|
|
|
204
204
|
* Active product context - Used by Adobe Analytics to determine login company
|
|
205
205
|
*/
|
|
206
206
|
activeProductContext?: ActiveProductContext;
|
|
207
|
+
/**
|
|
208
|
+
* AI solution configuration (e.g. applicationId for Agent Orchestrator).
|
|
209
|
+
* Mirrors the solution's ai config so the runtime can use it without requesting APP_CONTEXT.
|
|
210
|
+
*/
|
|
211
|
+
aiConfig?: {
|
|
212
|
+
applicationId?: AIApplicationId;
|
|
213
|
+
contextualNudge?: {
|
|
214
|
+
enabled: boolean;
|
|
215
|
+
paths?: string[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
207
218
|
/**
|
|
208
219
|
* Documentation sources that are available within the agent backend, filtered
|
|
209
220
|
* by what the user has permissions to use.
|
|
@@ -353,6 +364,10 @@ export interface RuntimeConfiguration extends BaseNetworkConfig {
|
|
|
353
364
|
* Is the configuration for the AI Panel iframe
|
|
354
365
|
*/
|
|
355
366
|
isAIPanel: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Is the org an AWS org. Required by AEP applications.
|
|
369
|
+
*/
|
|
370
|
+
isAWSOrg?: boolean;
|
|
356
371
|
/**
|
|
357
372
|
* Is the next generation AI Assistant enabled
|
|
358
373
|
*/
|
package/ai.d.ts
CHANGED
|
@@ -152,6 +152,10 @@ export declare enum FormFactor {
|
|
|
152
152
|
STANDARD = "standard",
|
|
153
153
|
EXPANDED = "expanded"
|
|
154
154
|
}
|
|
155
|
+
export declare enum Modality {
|
|
156
|
+
FULLSCREEN = "fullscreen",
|
|
157
|
+
RAIL = "rail"
|
|
158
|
+
}
|
|
155
159
|
export interface AIMessagePayload {
|
|
156
160
|
/**
|
|
157
161
|
* The active state of the button.
|
|
@@ -189,6 +193,10 @@ export interface AIMessagePayload {
|
|
|
189
193
|
* Whether the AI panel is open or closed.
|
|
190
194
|
*/
|
|
191
195
|
isOpen?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* The modality of the AI chat.
|
|
198
|
+
*/
|
|
199
|
+
modality?: Modality;
|
|
192
200
|
/**
|
|
193
201
|
* The permissions required to enable the AI UI.
|
|
194
202
|
*/
|
|
@@ -205,6 +213,10 @@ export interface AIMessagePayload {
|
|
|
205
213
|
* Whether the query should automatically be submitted.
|
|
206
214
|
*/
|
|
207
215
|
shouldSubmit?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* When true, the client requested a new conversation (e.g. from {@link AIApi.openChat}).
|
|
218
|
+
*/
|
|
219
|
+
newConversation?: boolean;
|
|
208
220
|
/**
|
|
209
221
|
* The type of message.
|
|
210
222
|
*/
|
|
@@ -223,6 +235,8 @@ export declare enum AIApplicationId {
|
|
|
223
235
|
AEM = "aem",
|
|
224
236
|
AEP = "aep",
|
|
225
237
|
ARION = "arion",
|
|
238
|
+
BEYOND = "cja",
|
|
239
|
+
CATALYZE = "catalyze",
|
|
226
240
|
CJA = "cja",
|
|
227
241
|
CJM = "cjm",
|
|
228
242
|
DATACOLLECTION = "datacollection",
|
|
@@ -246,9 +260,31 @@ export interface AppContext {
|
|
|
246
260
|
* @param shouldSubmit - Whether to submit the query automatically
|
|
247
261
|
*/
|
|
248
262
|
export interface OpenChatProps {
|
|
263
|
+
/**
|
|
264
|
+
* The id of the conversation to open. If not provided, it will be added to the existing
|
|
265
|
+
* conversation, if there is one. If there is no existing conversation, a new one will be created.
|
|
266
|
+
* Takes precedence over newConversation. If both are passed in, the conversationId will be used.
|
|
267
|
+
*/
|
|
249
268
|
conversationId?: string;
|
|
269
|
+
/**
|
|
270
|
+
* The query to submit or populate the prompt area with.
|
|
271
|
+
*/
|
|
250
272
|
query?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Whether to submit the query automatically.
|
|
275
|
+
* @default true
|
|
276
|
+
*/
|
|
251
277
|
shouldSubmit?: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Whether the AI chat should open in fullscreen or rail modality.
|
|
280
|
+
* @default Modality.RAIL
|
|
281
|
+
*/
|
|
282
|
+
modality?: Modality;
|
|
283
|
+
/**
|
|
284
|
+
* When set, generates a new thread for the message. Does not work in conjunction with conversationId.
|
|
285
|
+
* If both are passed in, the conversationId will be used.
|
|
286
|
+
*/
|
|
287
|
+
newConversation?: boolean;
|
|
252
288
|
}
|
|
253
289
|
interface AIMessageEvent {
|
|
254
290
|
BUTTON_ACTIVE: AIMessagePayload;
|
|
@@ -263,6 +299,9 @@ interface AIMessageEvent {
|
|
|
263
299
|
QUERY: AIMessagePayload;
|
|
264
300
|
RESPONSE: AIMessagePayload;
|
|
265
301
|
SET_USER_PERMISSION: AIMessagePayload;
|
|
302
|
+
TOGGLE_EXPANSION: AIMessagePayload & {
|
|
303
|
+
isExpanded: boolean;
|
|
304
|
+
};
|
|
266
305
|
USER_ACTION: AIMessagePayload;
|
|
267
306
|
}
|
|
268
307
|
export interface AIApi extends EventEmitter<AIMessageEvent> {
|
|
@@ -336,6 +375,7 @@ export interface AIApi extends EventEmitter<AIMessageEvent> {
|
|
|
336
375
|
* ai.openChat({ query: 'How do I create a new project?', shouldSubmit: false });
|
|
337
376
|
* ai.openChat({ conversationId: 'conv-123' });
|
|
338
377
|
* ai.openChat({ conversationId: 'conv-123', query: 'How do I create a new project?' });
|
|
378
|
+
* ai.openChat({ query: 'Hello', newConversation: true });
|
|
339
379
|
* ```
|
|
340
380
|
*/
|
|
341
381
|
openChat(query?: string, shouldSubmit?: boolean): void;
|
package/ai.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* written permission of Adobe.
|
|
11
11
|
**************************************************************************/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.AIApplicationId = exports.FormFactor = exports.AIMessageType = void 0;
|
|
13
|
+
exports.AIApplicationId = exports.Modality = exports.FormFactor = exports.AIMessageType = void 0;
|
|
14
14
|
const Global_1 = require("./src/Global");
|
|
15
15
|
var AIMessageType;
|
|
16
16
|
(function (AIMessageType) {
|
|
@@ -36,14 +36,24 @@ var FormFactor;
|
|
|
36
36
|
FormFactor["STANDARD"] = "standard";
|
|
37
37
|
FormFactor["EXPANDED"] = "expanded";
|
|
38
38
|
})(FormFactor || (exports.FormFactor = FormFactor = {}));
|
|
39
|
+
var Modality;
|
|
40
|
+
(function (Modality) {
|
|
41
|
+
// Fullscreen is the modality for "expanded" rail mode (i.e. isRightPanelExpanded),
|
|
42
|
+
// named to match the modality enum in the NextGen AI Assistant repository.
|
|
43
|
+
Modality["FULLSCREEN"] = "fullscreen";
|
|
44
|
+
Modality["RAIL"] = "rail";
|
|
45
|
+
})(Modality || (exports.Modality = Modality = {}));
|
|
39
46
|
/**
|
|
40
47
|
* This is the application id sent to the Agent Orchestrator.
|
|
41
48
|
*/
|
|
49
|
+
/* eslint-disable */
|
|
42
50
|
var AIApplicationId;
|
|
43
51
|
(function (AIApplicationId) {
|
|
44
52
|
AIApplicationId["AEM"] = "aem";
|
|
45
53
|
AIApplicationId["AEP"] = "aep";
|
|
46
54
|
AIApplicationId["ARION"] = "arion";
|
|
55
|
+
AIApplicationId["BEYOND"] = "cja";
|
|
56
|
+
AIApplicationId["CATALYZE"] = "catalyze";
|
|
47
57
|
AIApplicationId["CJA"] = "cja";
|
|
48
58
|
AIApplicationId["CJM"] = "cjm";
|
|
49
59
|
AIApplicationId["DATACOLLECTION"] = "datacollection";
|
package/ai.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.js","sourceRoot":"","sources":["ai.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAQ5E,yCAAqC;AA+HrC,IAAY,aAgBX;AAhBD,WAAY,aAAa;IACvB,gDAA+B,CAAA;IAC/B,kDAAiC,CAAA;IACjC,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,sDAAqC,CAAA;IACrC,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,0DAAyC,CAAA;IACzC,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,oDAAmC,CAAA;IACnC,4DAA2C,CAAA;IAC3C,sDAAqC,CAAA;IACrC,4CAA2B,CAAA;AAC7B,CAAC,EAhBW,aAAa,6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AAC,UAAU,CAAC,CAAC;IACrD,CAAC;IACD,WAAW,EAAE,CAAC,MAAe,EAAE,EAAE;QAC/B,OAAO,IAAA,gBAAO,EAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;CACO,CAAC;AAEX,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE;IACnC,GAAG,EAAE,GAA0B,EAAE;QAC/B,OAAO,IAAA,gBAAO,EAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC;IACjC,CAAC;IACD,GAAG,EAAE,CAAC,KAA4B,EAAE,EAAE;QACpC,IAAA,gBAAO,EAAC,IAAI,CAAC,EAAE,CAAC,OAAO,GAAG,KAAK,CAAC;IAClC,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,EAAE,CAAC"}
|
package/appapi.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* then your use, modification, or distribution of it requires the prior
|
|
9
9
|
* written permission of Adobe.
|
|
10
10
|
**************************************************************************/
|
|
11
|
-
export type AppParent = 'AEP' | 'AGENTCOMPOSER' | 'AICAGENTS' | 'AICAIA' | 'ARION' | 'CO' | 'CJM' | 'DC' | 'FALCO' | 'FLOODGATE' | 'GENSTUDIO' | 'ORION' | 'SAPPHIRE' | 'TARGET';
|
|
11
|
+
export type AppParent = 'AEP' | 'AGENTCOMPOSER' | 'AICAGENTS' | 'AICAIA' | 'ARION' | 'BEYOND' | 'CO' | 'CJM' | 'DC' | 'FALCO' | 'FLOODGATE' | 'GENSTUDIO' | 'ORION' | 'SAPPHIRE' | 'TARGET';
|
|
12
12
|
export interface AppResponse {
|
|
13
13
|
/**
|
|
14
14
|
* Specifies the Adobe brand icon to use.
|
|
@@ -87,6 +87,7 @@ export declare enum AppIds {
|
|
|
87
87
|
HEADLESS_CMS = "hcms",
|
|
88
88
|
JOURNEY_OPTIMIZER = "cjm-home",
|
|
89
89
|
JOURNEY_OPTIMIZER_B2B_EDITION = "sapphireHome",
|
|
90
|
+
JOURNEY_OPTIMIZER_B2B_PRIME = "falcoHome",
|
|
90
91
|
JOURNEY_ORCHESTRATION = "journeysNextAdmin",
|
|
91
92
|
LAUNCH_IMPLEMENT = "implement",
|
|
92
93
|
LLM_OPTIMIZER = "llmOptimizer",
|
|
@@ -107,6 +108,7 @@ export declare enum AppIds {
|
|
|
107
108
|
SALES_QUALIFIER = "arionHome",
|
|
108
109
|
SITES_OPTIMIZER = "experienceSuccessStudio",
|
|
109
110
|
SOFTWARE_DISTRIBUTION = "softwareDistribution",
|
|
111
|
+
STRATEGIC_IDEATION = "catalyze-frontend",
|
|
110
112
|
SUCCESS_PORTAL = "ucpapp",
|
|
111
113
|
SYSTEM_STATUS = "systemStatus",
|
|
112
114
|
TARGET = "target",
|
package/appapi.js
CHANGED
|
@@ -88,6 +88,7 @@ var AppIds;
|
|
|
88
88
|
AppIds["HEADLESS_CMS"] = "hcms";
|
|
89
89
|
AppIds["JOURNEY_OPTIMIZER"] = "cjm-home";
|
|
90
90
|
AppIds["JOURNEY_OPTIMIZER_B2B_EDITION"] = "sapphireHome";
|
|
91
|
+
AppIds["JOURNEY_OPTIMIZER_B2B_PRIME"] = "falcoHome";
|
|
91
92
|
AppIds["JOURNEY_ORCHESTRATION"] = "journeysNextAdmin";
|
|
92
93
|
AppIds["LAUNCH_IMPLEMENT"] = "implement";
|
|
93
94
|
AppIds["LLM_OPTIMIZER"] = "llmOptimizer";
|
|
@@ -108,6 +109,7 @@ var AppIds;
|
|
|
108
109
|
AppIds["SALES_QUALIFIER"] = "arionHome";
|
|
109
110
|
AppIds["SITES_OPTIMIZER"] = "experienceSuccessStudio";
|
|
110
111
|
AppIds["SOFTWARE_DISTRIBUTION"] = "softwareDistribution";
|
|
112
|
+
AppIds["STRATEGIC_IDEATION"] = "catalyze-frontend";
|
|
111
113
|
AppIds["SUCCESS_PORTAL"] = "ucpapp";
|
|
112
114
|
AppIds["SYSTEM_STATUS"] = "systemStatus";
|
|
113
115
|
AppIds["TARGET"] = "target";
|
package/appapi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appapi.js","sourceRoot":"","sources":["appapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAuCrC,0DAA0D;AAC1D,IAAY,
|
|
1
|
+
{"version":3,"file":"appapi.js","sourceRoot":"","sources":["appapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAuCrC,0DAA0D;AAC1D,IAAY,MAyEX;AAzED,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,wCAA8B,CAAA;IAC9B,oDAA0C,CAAA;IAC1C,+CAAqC,CAAA;IACrC,gEAAsD,CAAA;IACtD,iCAAuB,CAAA;IACvB,yCAA+B,CAAA;IAC/B,oCAA0B,CAAA;IAC1B,4CAAkC,CAAA;IAClC,8CAAoC,CAAA;IACpC,sCAA4B,CAAA;IAC5B,6CAAmC,CAAA;IACnC,qCAA2B,CAAA;IAC3B,yCAA+B,CAAA;IAC/B,0CAAgC,CAAA;IAChC,mCAAyB,CAAA;IACzB,6DAAmD,CAAA;IACnD,wCAA8B,CAAA;IAC9B,0DAAgD,CAAA;IAChD,kDAAwC,CAAA;IACxC,kDAAwC,CAAA;IACxC,sCAA4B,CAAA;IAC5B,+BAAqB,CAAA;IACrB,sCAA4B,CAAA;IAC5B,4CAAkC,CAAA;IAClC,sFAA4E,CAAA;IAC5E,4EAAkE,CAAA;IAClE,kDAAwC,CAAA;IACxC,kDAAwC,CAAA;IACxC,0DAAgD,CAAA;IAChD,4DAAkD,CAAA;IAClD,4DAAkD,CAAA;IAClD,4CAAkC,CAAA;IAClC,8DAAoD,CAAA;IACpD,8DAAoD,CAAA;IACpD,gDAAsC,CAAA;IACtC,sDAA4C,CAAA;IAC5C,4EAAkE,CAAA;IAClE,6CAAmC,CAAA;IACnC,iCAAuB,CAAA;IACvB,+BAAqB,CAAA;IACrB,wCAA8B,CAAA;IAC9B,wDAA8C,CAAA;IAC9C,mDAAyC,CAAA;IACzC,qDAA2C,CAAA;IAC3C,wCAA8B,CAAA;IAC9B,wCAA8B,CAAA;IAC9B,qCAA2B,CAAA;IAC3B,6BAAmB,CAAA;IACnB,0CAAgC,CAAA;IAChC,qCAA2B,CAAA;IAC3B,yCAA+B,CAAA;IAC/B,2BAAiB,CAAA;IACjB,oEAA0D,CAAA;IAC1D,mCAAyB,CAAA;IACzB,uCAA6B,CAAA;IAC7B,uCAA6B,CAAA;IAC7B,6CAAmC,CAAA;IACnC,qCAA2B,CAAA;IAC3B,iDAAuC,CAAA;IACvC,yCAA+B,CAAA;IAC/B,uCAA6B,CAAA;IAC7B,qDAA2C,CAAA;IAC3C,wDAA8C,CAAA;IAC9C,kDAAwC,CAAA;IACxC,mCAAyB,CAAA;IACzB,wCAA8B,CAAA;IAC9B,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IACrB,4DAAkD,CAAA;IAClD,iCAAuB,CAAA;IACvB,qCAA2B,CAAA;AAC7B,CAAC,EAzEW,MAAM,sBAAN,MAAM,QAyEjB;AAWD,MAAM,MAAM,GAAW;IACrB,GAAG,EAAE,MAAM,CAAC,EAAE;QACZ,OAAO,IAAA,gBAAO,EAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
package/featureflags.d.ts
CHANGED
|
@@ -79,6 +79,10 @@ export interface FeatureFlagConfig {
|
|
|
79
79
|
* The app id of the app requesting the feature flags. This is used for logging.
|
|
80
80
|
*/
|
|
81
81
|
appId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The current environment.
|
|
84
|
+
*/
|
|
85
|
+
env?: string;
|
|
82
86
|
/**
|
|
83
87
|
* If true, the feature flags will be fetched from the server and not from the cache.
|
|
84
88
|
*/
|
package/featureflags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureflags.js","sourceRoot":"","sources":["featureflags.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;AACjC,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,4CAA2B,CAAA;IAC3B,0CAAyB,CAAA;AAC3B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,yCAAqC;
|
|
1
|
+
{"version":3,"file":"featureflags.js","sourceRoot":"","sources":["featureflags.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;AACjC,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,4CAA2B,CAAA;IAC3B,0CAAyB,CAAA;AAC3B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,yCAAqC;AAoGrC,MAAM,YAAY,GAAoB;IACpC,GAAG,EAAE,CAAC,MAAkB,EAAE,EAAE;QAC1B,OAAO,IAAA,gBAAO,EAAC,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC;CACF,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
package/interframe.d.ts
CHANGED
|
@@ -8,6 +8,39 @@
|
|
|
8
8
|
* then your use, modification, or distribution of it requires the prior
|
|
9
9
|
* written permission of Adobe.
|
|
10
10
|
**************************************************************************/
|
|
11
|
+
/**
|
|
12
|
+
* APIs for inter-frame communication between app and rail iframes.
|
|
13
|
+
*
|
|
14
|
+
* ***Import:***
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import interFrame from '@adobe/exc-app/interframe';
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ***Default export:***
|
|
21
|
+
*
|
|
22
|
+
* [InterFrameApi](../interfaces/interframe.interframeapi.md#interface-interframeapi)
|
|
23
|
+
*
|
|
24
|
+
* ***Usage:***
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* // Send a message to the other frame
|
|
28
|
+
* interFrame.send('CREATE', {
|
|
29
|
+
* onComplete: (data) => console.log('Created:', data),
|
|
30
|
+
* onError: (error) => console.error('Failed:', error),
|
|
31
|
+
* onProgress: (data) => console.log('Progress:', data)
|
|
32
|
+
* }, {type: 'event', name: 'New Event'});
|
|
33
|
+
*
|
|
34
|
+
* // Listen for incoming messages
|
|
35
|
+
* interFrame.on('CREATE', ({data, callbacks}) => {
|
|
36
|
+
* // Handle the request
|
|
37
|
+
* callbacks.sendCompleted({id: 123});
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* @packageDocumentation
|
|
41
|
+
* @module interframe
|
|
42
|
+
*/
|
|
43
|
+
import type { DomInteractionConfig, ElementData } from './dom';
|
|
11
44
|
export declare enum FrameTarget {
|
|
12
45
|
APP = "app",
|
|
13
46
|
RAIL = "rail"
|
|
@@ -43,7 +76,8 @@ export declare enum InterFrameActionType {
|
|
|
43
76
|
* Automatically routes to the app frame, initializes SpotlightInjector if needed,
|
|
44
77
|
* and returns screenshot + DOM data.
|
|
45
78
|
*/
|
|
46
|
-
DOM_SCREENSHOT = "DOM_SCREENSHOT"
|
|
79
|
+
DOM_SCREENSHOT = "DOM_SCREENSHOT",
|
|
80
|
+
SPOTLIGHT_MODE = "SPOTLIGHT_MODE"
|
|
47
81
|
}
|
|
48
82
|
/**
|
|
49
83
|
* Inter-frame request message.
|
|
@@ -92,6 +126,16 @@ export interface InterFrameAcknowledge {
|
|
|
92
126
|
target: FrameTarget;
|
|
93
127
|
status: InterFrameResponseStatus.ACKNOWLEDGED;
|
|
94
128
|
}
|
|
129
|
+
export interface SpotlightModeOptions {
|
|
130
|
+
/** Whether to enable or disable spotlight mode. */
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
/** Spotlight configuration: element detection, data capture, and styling. */
|
|
133
|
+
spotlightConfig?: DomInteractionConfig;
|
|
134
|
+
/** Called when the user hovers over an element in spotlight mode. */
|
|
135
|
+
onHover?: (data: ElementData) => void;
|
|
136
|
+
/** Called when the user clicks an element in spotlight mode. */
|
|
137
|
+
onClick?: (data: ElementData) => void;
|
|
138
|
+
}
|
|
95
139
|
/**
|
|
96
140
|
* Union type for all inter-frame messages.
|
|
97
141
|
* These messages enable communication between the app and rail frames.
|
package/interframe.js
CHANGED
|
@@ -11,38 +11,6 @@
|
|
|
11
11
|
**************************************************************************/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.InterFrameActionType = exports.InterFrameError = exports.InterFrameMessageType = exports.InterFrameResponseStatus = exports.InterFrameTarget = exports.FrameTarget = void 0;
|
|
14
|
-
/**
|
|
15
|
-
* APIs for inter-frame communication between app and rail iframes.
|
|
16
|
-
*
|
|
17
|
-
* ***Import:***
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import interFrame from '@adobe/exc-app/interframe';
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* ***Default export:***
|
|
24
|
-
*
|
|
25
|
-
* [InterFrameApi](../interfaces/interframe.interframeapi.md#interface-interframeapi)
|
|
26
|
-
*
|
|
27
|
-
* ***Usage:***
|
|
28
|
-
*
|
|
29
|
-
* ```typescript
|
|
30
|
-
* // Send a message to the other frame
|
|
31
|
-
* interFrame.send('CREATE', {
|
|
32
|
-
* onComplete: (data) => console.log('Created:', data),
|
|
33
|
-
* onError: (error) => console.error('Failed:', error),
|
|
34
|
-
* onProgress: (data) => console.log('Progress:', data)
|
|
35
|
-
* }, {type: 'event', name: 'New Event'});
|
|
36
|
-
*
|
|
37
|
-
* // Listen for incoming messages
|
|
38
|
-
* interFrame.on('CREATE', ({data, callbacks}) => {
|
|
39
|
-
* // Handle the request
|
|
40
|
-
* callbacks.sendCompleted({id: 123});
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
* @packageDocumentation
|
|
44
|
-
* @module interframe
|
|
45
|
-
*/
|
|
46
14
|
const Global_1 = require("./src/Global");
|
|
47
15
|
var FrameTarget;
|
|
48
16
|
(function (FrameTarget) {
|
|
@@ -86,6 +54,7 @@ var InterFrameActionType;
|
|
|
86
54
|
* and returns screenshot + DOM data.
|
|
87
55
|
*/
|
|
88
56
|
InterFrameActionType["DOM_SCREENSHOT"] = "DOM_SCREENSHOT";
|
|
57
|
+
InterFrameActionType["SPOTLIGHT_MODE"] = "SPOTLIGHT_MODE";
|
|
89
58
|
})(InterFrameActionType || (exports.InterFrameActionType = InterFrameActionType = {}));
|
|
90
59
|
const interFrame = {
|
|
91
60
|
emit: (type, evt) => {
|
package/interframe.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interframe.js","sourceRoot":"","sources":["interframe.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;
|
|
1
|
+
{"version":3,"file":"interframe.js","sourceRoot":"","sources":["interframe.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAmC5E,yCAAqC;AAErC,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,4BAAa,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,WAAW,CAAC;AAE5C,IAAY,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EAAE;QACpF,OAAO,IAAA,gBAAO,EAAC,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACvE,CAAC;CACe,CAAC;AAEnB,kBAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
package/page.d.ts
CHANGED
|
@@ -117,6 +117,18 @@ export interface ShellRedirectOptions {
|
|
|
117
117
|
* ```
|
|
118
118
|
*/
|
|
119
119
|
replace?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Optional boolean which, when true, opens the Next Gen AI Panel once
|
|
122
|
+
* navigation completes (provided it is accessible and enabled in the
|
|
123
|
+
* destination application).
|
|
124
|
+
*
|
|
125
|
+
* ***Example:***
|
|
126
|
+
*
|
|
127
|
+
* ```typescript
|
|
128
|
+
* {openAIPanel: true}
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
openAIPanel?: boolean;
|
|
120
132
|
}
|
|
121
133
|
/**
|
|
122
134
|
* Defines the location-like object for which to get the shell URL. You can either specify a path or
|
package/page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["page.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,yCAAqC;
|
|
1
|
+
{"version":3,"file":"page.js","sourceRoot":"","sources":["page.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,yCAAqC;AA4QrC,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED;;GAEG;AACH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,8BAAa,C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,IAAI,CAAC;IACtB,CAAC,sBAAsB,CAAC;IACxB,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,eAAe,EAAE,IAAI,CAAC;IACvB,CAAC,eAAe,EAAE,IAAI,CAAC;IACvB,CAAC,wBAAwB,CAAC;IAC1B,CAAC,6BAA6B,CAAC;IAC/B,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,SAAS,CAAC;IACX,CAAC,OAAO,CAAC;IACT,CAAC,kBAAkB,CAAC;IACpB,CAAC,qBAAqB,CAAC;IACvB,CAAC,kBAAkB,EAAE,IAAI,CAAC;CAC3B,CAAC,CAAC;AAEH,kBAAe,IAAI,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* then your use, modification, or distribution of it requires the prior
|
|
9
9
|
* written permission of Adobe.
|
|
10
10
|
**************************************************************************/
|
|
11
|
-
declare const EXC_APP_VERSION = "1.5.
|
|
11
|
+
declare const EXC_APP_VERSION = "1.5.10";
|
|
12
12
|
export default EXC_APP_VERSION;
|
package/version.js
CHANGED
|
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
* then your use, modification, or distribution of it requires the prior
|
|
11
11
|
* written permission of Adobe.
|
|
12
12
|
**************************************************************************/
|
|
13
|
-
const EXC_APP_VERSION = '1.5.
|
|
13
|
+
const EXC_APP_VERSION = '1.5.10';
|
|
14
14
|
exports.default = EXC_APP_VERSION;
|
|
15
15
|
//# sourceMappingURL=version.js.map
|
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;4EAS4E;AAC5E,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;4EAS4E;AAC5E,MAAM,eAAe,GAAG,QAAQ,CAAC;AAEjC,kBAAe,eAAe,CAAC"}
|
package/nest.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*************************************************************************
|
|
2
|
-
* Copyright 2024 Adobe
|
|
3
|
-
* All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
6
|
-
* accordance with the terms of the Adobe license agreement accompanying
|
|
7
|
-
* it. If you have received this file from a source other than Adobe,
|
|
8
|
-
* then your use, modification, or distribution of it requires the prior
|
|
9
|
-
* written permission of Adobe.
|
|
10
|
-
**************************************************************************/
|
|
11
|
-
export interface InitializationOptions {
|
|
12
|
-
id: string;
|
|
13
|
-
path?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface NestApi {
|
|
16
|
-
/**
|
|
17
|
-
* Initializes the Nest API.
|
|
18
|
-
*
|
|
19
|
-
* ***Example:***
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* const frameUrl = await nest.initialize({id: 'platformAnalytics', path: '/workspace/edit/6230d3d4015694327f10aa6a'});
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
initialize: (options: InitializationOptions) => Promise<string>;
|
|
26
|
-
}
|
|
27
|
-
declare const nest: NestApi;
|
|
28
|
-
export default nest;
|
package/nest.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*************************************************************************
|
|
3
|
-
* Copyright 2024 Adobe
|
|
4
|
-
* All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
7
|
-
* accordance with the terms of the Adobe license agreement accompanying
|
|
8
|
-
* it. If you have received this file from a source other than Adobe,
|
|
9
|
-
* then your use, modification, or distribution of it requires the prior
|
|
10
|
-
* written permission of Adobe.
|
|
11
|
-
**************************************************************************/
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
/**
|
|
14
|
-
* @packageDocumentation
|
|
15
|
-
* @module nest
|
|
16
|
-
*/
|
|
17
|
-
const Global_1 = require("./src/Global");
|
|
18
|
-
const nest = {
|
|
19
|
-
initialize: (options) => {
|
|
20
|
-
return (0, Global_1.getImpl)('nestApi')().initialize(options);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.default = nest;
|
|
24
|
-
//# sourceMappingURL=nest.js.map
|
package/nest.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nest.js","sourceRoot":"","sources":["nest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;AAE5E;;;GAGG;AACH,yCAAqC;AAoBrC,MAAM,IAAI,GAAG;IACX,UAAU,EAAE,CAAC,OAA8B,EAAmB,EAAE;QAC9D,OAAO,IAAA,gBAAO,EAAC,SAAS,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAClD,CAAC;CACS,CAAC;AAEb,kBAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
/*************************************************************************
|
|
39
|
-
* Copyright 2020 Adobe
|
|
40
|
-
* All Rights Reserved.
|
|
41
|
-
*
|
|
42
|
-
* NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
43
|
-
* accordance with the terms of the Adobe license agreement accompanying
|
|
44
|
-
* it. If you have received this file from a source other than Adobe,
|
|
45
|
-
* then your use, modification, or distribution of it requires the prior
|
|
46
|
-
* written permission of Adobe.
|
|
47
|
-
**************************************************************************/
|
|
48
|
-
const capabilityapi_1 = __importStar(require("../capabilityapi"));
|
|
49
|
-
const Global_1 = __importDefault(require("../src/Global"));
|
|
50
|
-
describe('capabilityapi', () => {
|
|
51
|
-
beforeEach(() => {
|
|
52
|
-
Global_1.default['exc-module-runtime'] = {
|
|
53
|
-
capabilityApi: () => {
|
|
54
|
-
return {
|
|
55
|
-
get: (type) => {
|
|
56
|
-
if (type === 'home' || type === 'Home') {
|
|
57
|
-
return {
|
|
58
|
-
capabilityId: 'home',
|
|
59
|
-
iconUrl: 'https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Home'
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
if (type === 'assets' || type === 'Assets') {
|
|
63
|
-
return {
|
|
64
|
-
capabilityId: 'assets',
|
|
65
|
-
iconUrl: 'https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Assets'
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
return {};
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
});
|
|
74
|
-
test('get', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
75
|
-
const homeById = yield capabilityapi_1.default.get(capabilityapi_1.CapabilityIds.HOME);
|
|
76
|
-
const homeByName = yield capabilityapi_1.default.get(capabilityapi_1.CapabilityNames.HOME);
|
|
77
|
-
const assetsById = yield capabilityapi_1.default.get(capabilityapi_1.CapabilityIds.ASSETS);
|
|
78
|
-
const assetsByName = yield capabilityapi_1.default.get(capabilityapi_1.CapabilityNames.ASSETS);
|
|
79
|
-
expect(homeById.capabilityId).toBe('home');
|
|
80
|
-
expect(homeByName.capabilityId).toBe('home');
|
|
81
|
-
expect(homeById.iconUrl).toBe('https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Home');
|
|
82
|
-
expect(homeByName.iconUrl).toBe('https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Home');
|
|
83
|
-
expect(assetsById.capabilityId).toBe('assets');
|
|
84
|
-
expect(assetsByName.capabilityId).toBe('assets');
|
|
85
|
-
expect(assetsById.iconUrl).toBe('https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Assets');
|
|
86
|
-
expect(assetsByName.iconUrl).toBe('https://cdn.experience-stage.adobe.net/assets/CapabilityIcons.33cbb3cf.svg#Assets');
|
|
87
|
-
}));
|
|
88
|
-
});
|
|
89
|
-
//# sourceMappingURL=capabilityapi.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capabilityapi.test.js","sourceRoot":"","sources":["capabilityapi.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;4EAS4E;AAC5E,kEAA+E;AAC/E,2DAA8C;AAE9C,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,UAAU,CAAC,GAAG,EAAE;QACb,gBAAM,CAAC,oBAAoB,CAAa,GAAG;YAC1C,aAAa,EAAE,GAAG,EAAE;gBAClB,OAAO;oBACL,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE;wBACZ,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,MAAM,EAAE;4BACtC,OAAO;gCACL,YAAY,EAAE,MAAM;gCACpB,OAAO,EAAE,iFAAiF;6BAC3F,CAAC;yBACH;wBACD,IAAI,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,QAAQ,EAAE;4BAC1C,OAAO;gCACL,YAAY,EAAE,QAAQ;gCACtB,OAAO,EAAE,mFAAmF;6BAC7F,CAAC;yBACH;wBACD,OAAO,EAAE,CAAC;oBACZ,CAAC;iBACF,CAAC;YACJ,CAAC;SACS,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,KAAK,EAAE,GAAS,EAAE;QACrB,MAAM,QAAQ,GAAG,MAAM,uBAAa,CAAC,GAAG,CAAC,6BAAa,CAAC,IAAI,CAAC,CAAC;QAC7D,MAAM,UAAU,GAAG,MAAM,uBAAa,CAAC,GAAG,CAAC,+BAAe,CAAC,IAAI,CA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