@adobe/exc-app 1.2.1 → 1.2.3
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/ims/ImsProfile.d.ts +5 -0
- package/package.json +1 -1
- package/page.d.ts +14 -2
- package/page.js +10 -1
- package/page.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/ims/ImsProfile.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export interface ActiveProductContext {
|
|
|
33
33
|
export interface ProjectedProductContext {
|
|
34
34
|
prodCtx: ProductContext;
|
|
35
35
|
}
|
|
36
|
+
export interface Role {
|
|
37
|
+
organization: string;
|
|
38
|
+
named_role: string;
|
|
39
|
+
}
|
|
36
40
|
export interface ImsProfile {
|
|
37
41
|
account_type: string;
|
|
38
42
|
authId: string;
|
|
@@ -48,6 +52,7 @@ export interface ImsProfile {
|
|
|
48
52
|
name: string;
|
|
49
53
|
preferred_languages: string[];
|
|
50
54
|
projectedProductContext: ProjectedProductContext[];
|
|
55
|
+
roles?: Role[];
|
|
51
56
|
session: string;
|
|
52
57
|
userId: string;
|
|
53
58
|
[key: string]: any;
|
package/package.json
CHANGED
package/page.d.ts
CHANGED
|
@@ -221,11 +221,19 @@ export declare enum ObservableType {
|
|
|
221
221
|
MODAL = "MODAL",
|
|
222
222
|
POPOVER = "POPOVER"
|
|
223
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* @deprecated Solution's list of multiple subdomains
|
|
226
|
+
*/
|
|
224
227
|
export declare enum SRC_DOC {
|
|
225
228
|
DISABLED = 0,
|
|
226
229
|
HTML = 1,
|
|
227
230
|
MANIFEST = 2
|
|
228
231
|
}
|
|
232
|
+
export declare enum THUNDERBIRD {
|
|
233
|
+
OFF = 0,
|
|
234
|
+
SRC_DOC = 1,
|
|
235
|
+
SERVICE_WORKER = 2
|
|
236
|
+
}
|
|
229
237
|
export interface LoadTimesMetrics {
|
|
230
238
|
'first-contentful-paint'?: number;
|
|
231
239
|
'first-paint'?: number;
|
|
@@ -275,8 +283,9 @@ export interface PerformanceRecord {
|
|
|
275
283
|
loadTimes?: LoadTimes;
|
|
276
284
|
loadType?: string;
|
|
277
285
|
region?: string;
|
|
286
|
+
serviceWorker: boolean;
|
|
278
287
|
spaAppId?: string;
|
|
279
|
-
|
|
288
|
+
thunderbird?: THUNDERBIRD;
|
|
280
289
|
version: string;
|
|
281
290
|
}
|
|
282
291
|
/**
|
|
@@ -488,6 +497,8 @@ export interface PageApi extends PageApiProperties {
|
|
|
488
497
|
* array, the default selectors used by runtime will be used instead. Setting additonal selectors
|
|
489
498
|
* replaces the currently set selectors, use page.getObservableQuerySelectors and append new
|
|
490
499
|
* selectors to the returned list before resetting to modify the existing list of selectors.
|
|
500
|
+
* Adding the `forceCustomOnly` parameter removes the `[data-testid="popover"]` selector that's
|
|
501
|
+
* otherwise automatically added to modals.
|
|
491
502
|
*
|
|
492
503
|
* ***Example:***
|
|
493
504
|
*
|
|
@@ -496,8 +507,9 @@ export interface PageApi extends PageApiProperties {
|
|
|
496
507
|
* ```
|
|
497
508
|
* @param type The observable type to set custom selectors for.
|
|
498
509
|
* @param selectors The list of selectors to set.
|
|
510
|
+
* @param forceCustomOnly Only use the custom selectors given.
|
|
499
511
|
*/
|
|
500
|
-
setObservableQuerySelectors(type: ObservableType, selectors?: string[]): void;
|
|
512
|
+
setObservableQuerySelectors(type: ObservableType, selectors?: string[], forceCustomOnly?: boolean): void;
|
|
501
513
|
/**
|
|
502
514
|
* Redirects to another unified shell solution. `pathOrUrl` can be either:
|
|
503
515
|
* 1. Complete relative path of a valid unified shell solution url,
|
package/page.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* written permission of Adobe.
|
|
11
11
|
**************************************************************************/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.SRC_DOC = exports.ObservableType = void 0;
|
|
13
|
+
exports.THUNDERBIRD = exports.SRC_DOC = exports.ObservableType = void 0;
|
|
14
14
|
/**
|
|
15
15
|
* APIs that let solutions interact with the main page and personalize it, e.g. setting the title,
|
|
16
16
|
* favicon, refreshing the solution iframe, etc.
|
|
@@ -55,12 +55,21 @@ var ObservableType;
|
|
|
55
55
|
ObservableType["MODAL"] = "MODAL";
|
|
56
56
|
ObservableType["POPOVER"] = "POPOVER";
|
|
57
57
|
})(ObservableType = exports.ObservableType || (exports.ObservableType = {}));
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated Solution's list of multiple subdomains
|
|
60
|
+
*/
|
|
58
61
|
var SRC_DOC;
|
|
59
62
|
(function (SRC_DOC) {
|
|
60
63
|
SRC_DOC[SRC_DOC["DISABLED"] = 0] = "DISABLED";
|
|
61
64
|
SRC_DOC[SRC_DOC["HTML"] = 1] = "HTML";
|
|
62
65
|
SRC_DOC[SRC_DOC["MANIFEST"] = 2] = "MANIFEST"; // Manifest mode will be added as phase 2, not yet supported.
|
|
63
66
|
})(SRC_DOC = exports.SRC_DOC || (exports.SRC_DOC = {}));
|
|
67
|
+
var THUNDERBIRD;
|
|
68
|
+
(function (THUNDERBIRD) {
|
|
69
|
+
THUNDERBIRD[THUNDERBIRD["OFF"] = 0] = "OFF";
|
|
70
|
+
THUNDERBIRD[THUNDERBIRD["SRC_DOC"] = 1] = "SRC_DOC";
|
|
71
|
+
THUNDERBIRD[THUNDERBIRD["SERVICE_WORKER"] = 2] = "SERVICE_WORKER";
|
|
72
|
+
})(THUNDERBIRD = exports.THUNDERBIRD || (exports.THUNDERBIRD = {}));
|
|
64
73
|
const page = (0, Global_1.connect)('page', [
|
|
65
74
|
['afterPrintHandler'],
|
|
66
75
|
['appContainer'],
|
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;AA+NrC,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CAAC,6BAA6B,CAAC;IAC/B,CAAC,SAAS,CAAC;IACX,CAAC,cAAc,EAAE,IAAI,CAAC;IACtB,CAAC,OAAO,CAAC;IACT,CAAC,iBAAiB,CAAC;IACnB,CAAC,UAAU,EAAE,IAAI,CAAC;IAClB,CAAC,cAAc,EAAE,IAAI,CAAC;IACtB,CAAC,sBAAsB,CAAC;IACxB,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,eAAe,EAAE,IAAI,CAAC;IACvB,CAAC,wBAAwB,CAAC;IAC1B,CAAC,6BAA6B,CAAC;IAC/B,CAAC,SAAS,CAAC;IACX,CAAC,OAAO,CAAC;IACT,CAAC,kBAAkB,CAAC;IACpB,CAAC,qBAAqB,CAAC;CACxB,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.2.
|
|
11
|
+
declare const EXC_APP_VERSION = "1.2.3";
|
|
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.2.
|
|
13
|
+
const EXC_APP_VERSION = '1.2.3';
|
|
14
14
|
exports.default = EXC_APP_VERSION;
|
|
15
15
|
//# sourceMappingURL=version.js.map
|