@genesislcap/foundation-header 9.0.1-alpha-b5c5eb7.0
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/README.md +246 -0
- package/dist/1.0.0.remoteEntry.js +1 -0
- package/dist/185.185.1368e7afe95e90687d2d.js +2 -0
- package/dist/185.bfe96e990dc6f09220d09b8c95f4b54c.js.map +1 -0
- package/dist/31607cf9ccd469a62208.svg +3 -0
- package/dist/338.338.6641454ca7888d1fe36e.js +2 -0
- package/dist/338.94cb9596c131c99ac58a37f38ad25ce7.js.map +1 -0
- package/dist/397.397.6f7ab18105495146ee4c.js +3 -0
- package/dist/397.397.6f7ab18105495146ee4c.js.LICENSE.txt +1 -0
- package/dist/397.b422a54dd9fd412d4aac2a90b8bb0e7a.js.map +1 -0
- package/dist/453.453.81dddb2e35aecdceb722.js +326 -0
- package/dist/453.547b1f466caf28aca7644e9032ba33d9.js.map +1 -0
- package/dist/506.216099078d895d583f069d47bbbbc118.js.map +1 -0
- package/dist/506.506.2df96cfa49403c056e18.js +3 -0
- package/dist/506.506.2df96cfa49403c056e18.js.LICENSE.txt +4 -0
- package/dist/540.540.16a5312961af053a4ac4.js +2 -0
- package/dist/540.6abb416013642069288d5369cb3126c7.js.map +1 -0
- package/dist/641.5d1b071000ebacbeffeb45846633c4ce.js.map +1 -0
- package/dist/641.641.0d19c60ce5b96cee96e9.js +3 -0
- package/dist/641.641.0d19c60ce5b96cee96e9.js.LICENSE.txt +4 -0
- package/dist/667.667.76a963874a8ced0ba03f.js +2 -0
- package/dist/667.e80f70ba5418c8fd00213d1c8ef97b86.js.map +1 -0
- package/dist/853.234215e17d31fe35e24b3b9241a6b6fd.js.map +1 -0
- package/dist/853.853.2cdc8d94fdad1718e016.js +2 -0
- package/dist/868.7e2669623e2fa4a4774231b5d97cd4a4.js.map +1 -0
- package/dist/868.868.db0184ec09b3ab0761a3.js +3405 -0
- package/dist/dashboard.json +1 -0
- package/dist/dts/components/components.d.ts +9 -0
- package/dist/dts/components/components.d.ts.map +1 -0
- package/dist/dts/components/index.d.ts +2 -0
- package/dist/dts/components/index.d.ts.map +1 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/dts/index.federated.d.ts +1 -0
- package/dist/dts/index.federated.d.ts.map +1 -0
- package/dist/dts/main/index.d.ts +4 -0
- package/dist/dts/main/index.d.ts.map +1 -0
- package/dist/dts/main/main.d.ts +488 -0
- package/dist/dts/main/main.d.ts.map +1 -0
- package/dist/dts/main/main.styles.d.ts +10 -0
- package/dist/dts/main/main.styles.d.ts.map +1 -0
- package/dist/dts/main/main.template.d.ts +59 -0
- package/dist/dts/main/main.template.d.ts.map +1 -0
- package/dist/dts/styles/colors.d.ts +19 -0
- package/dist/dts/styles/colors.d.ts.map +1 -0
- package/dist/dts/styles/index.d.ts +3 -0
- package/dist/dts/styles/index.d.ts.map +1 -0
- package/dist/dts/styles/styles.d.ts +10 -0
- package/dist/dts/styles/styles.d.ts.map +1 -0
- package/dist/dts/styles/typography.d.ts +5 -0
- package/dist/dts/styles/typography.d.ts.map +1 -0
- package/dist/dts/tsdoc-metadata.json +11 -0
- package/dist/dts/utils/index.d.ts +2 -0
- package/dist/dts/utils/index.d.ts.map +1 -0
- package/dist/dts/utils/logger.d.ts +2 -0
- package/dist/dts/utils/logger.d.ts.map +1 -0
- package/dist/esm/assets/logo.svg +3 -0
- package/dist/esm/components/components.js +43 -0
- package/dist/esm/components/components.js.map +1 -0
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/index.federated.js +2 -0
- package/dist/esm/index.federated.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/main/index.js +4 -0
- package/dist/esm/main/index.js.map +1 -0
- package/dist/esm/main/main.css +13 -0
- package/dist/esm/main/main.js +222 -0
- package/dist/esm/main/main.js.map +1 -0
- package/dist/esm/main/main.styles.js +250 -0
- package/dist/esm/main/main.styles.js.map +1 -0
- package/dist/esm/main/main.template.js +149 -0
- package/dist/esm/main/main.template.js.map +1 -0
- package/dist/esm/styles/colors.js +27 -0
- package/dist/esm/styles/colors.js.map +1 -0
- package/dist/esm/styles/index.js +3 -0
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/styles.js +24 -0
- package/dist/esm/styles/styles.js.map +1 -0
- package/dist/esm/styles/typography.js +20 -0
- package/dist/esm/styles/typography.js.map +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/logger.js +3 -0
- package/dist/esm/utils/logger.js.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/foundation-header.api.json +837 -0
- package/dist/foundation-header.d.ts +521 -0
- package/dist/foundationHeader.d2a8e8744f9fd401e01219ffc10795af.js.map +1 -0
- package/dist/index.ejs +23 -0
- package/dist/index.html +10 -0
- package/dist/info.ejs +13 -0
- package/dist/info.html +19 -0
- package/dist/main.93fb4f46c19086cd1c10.js +2 -0
- package/dist/main.f149477dcf975f5bec20fdc2d0fce637.js.map +1 -0
- package/dist/npm.analytics.13d3017bcb2734b958e1c261c7e620d1.js.map +1 -0
- package/dist/npm.analytics.343.868701a34bf55591b35e.js +2 -0
- package/dist/npm.consola.713.a6a01a645775febbd05a.js +2 -0
- package/dist/npm.consola.d0475457692e79d2065981689ecbe6c8.js.map +1 -0
- package/dist/npm.dialog-polyfill.39e8a4cd9784ad9e0690d28f17eefeb3.js.map +1 -0
- package/dist/npm.dialog-polyfill.47.857e1cc698756a1d4d9f.js +2 -0
- package/dist/npm.finos.690.1d362c820f7a29e44178.js +2 -0
- package/dist/npm.finos.7eb5017b5506c0dd6de2c2bee763a997.js.map +1 -0
- package/dist/npm.fortawesome.104.6fdfed399ac3d4bcd076.js +2 -0
- package/dist/npm.fortawesome.96f1e7115d1e111bde725447b64f04a9.js.map +1 -0
- package/dist/npm.microsoft.127.63be836a7ee60f2db5e3.js +6406 -0
- package/dist/npm.microsoft.127.63be836a7ee60f2db5e3.js.LICENSE.txt +14 -0
- package/dist/npm.microsoft.93b16332ce7f1e3a889ad69e0403d652.js.map +1 -0
- package/dist/npm.rxjs.271.3c690069442a312eaee2.js +2 -0
- package/dist/npm.rxjs.3e4127a7515023cc78b8548028afb653.js.map +1 -0
- package/dist/remoteEntry.js +2 -0
- package/dist/serve.json +3 -0
- package/docs/api/foundation-header.mainstyles.md +13 -0
- package/docs/api/foundation-header.md +25 -0
- package/docs/api/foundation-header.naveventdetailmap.md +17 -0
- package/docs/api/foundation-header.navigation.auth.md +11 -0
- package/docs/api/foundation-header.navigation.connectedcallback.md +15 -0
- package/docs/api/foundation-header.navigation.credentialmanager.md +11 -0
- package/docs/api/foundation-header.navigation.hidesidebar.md +13 -0
- package/docs/api/foundation-header.navigation.logosrc.md +18 -0
- package/docs/api/foundation-header.navigation.logout.md +21 -0
- package/docs/api/foundation-header.navigation.md +45 -0
- package/docs/api/foundation-header.navigation.navigateto.md +28 -0
- package/docs/api/foundation-header.navigation.provider.md +11 -0
- package/docs/api/foundation-header.navigation.ready.md +11 -0
- package/docs/api/foundation-header.navigation.routebuttons.md +19 -0
- package/docs/api/foundation-header.navigation.selecttemplate.md +15 -0
- package/docs/api/foundation-header.navigation.showluminancetogglebutton.md +18 -0
- package/docs/api/foundation-header.navigation.showmisctogglebutton.md +18 -0
- package/docs/api/foundation-header.navigation.shownotificationsbutton.md +18 -0
- package/docs/api/foundation-header.navigation.sidenavopen.md +11 -0
- package/docs/api/foundation-header.navigation.username.md +13 -0
- package/docs/api/foundation-header.navtemplate.md +18 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +75 -0
- package/docs/img/foundation-header-replaced-img.png +0 -0
- package/docs/img/foundation-header-sidebar.png +0 -0
- package/docs/img/foundation-header-standard.png +0 -0
- package/license.txt +46 -0
- package/package.json +82 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: Bring all the style and typography mixins into the design system package
|
|
3
|
+
*/
|
|
4
|
+
export declare const mixinScreen: (display?: string) => string;
|
|
5
|
+
/**
|
|
6
|
+
* TODO
|
|
7
|
+
*/
|
|
8
|
+
export declare const genesisLogo: (slot?: string) => string;
|
|
9
|
+
export declare const settingsIcon: (slot?: string) => string;
|
|
10
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/styles/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,WAAW,aAAa,MAAM,WAM1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,2BAIvB,CAAC;AAEF,eAAO,MAAM,YAAY,2BAIxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/styles/typography.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,eAAO,MAAM,eAAe,QAU3B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.34.4"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM,gDAAoC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18.7702 23.0437C18.7702 22.4675 18.8526 21.8089 19.0995 21.3149C19.3465 20.7386 19.6758 20.2447 20.0874 19.833C20.4991 19.4214 20.993 19.0921 21.5693 18.8451C22.1456 18.5982 22.7219 18.5158 23.2981 18.5158H25.9326V11.6828H19.1819V14.3172C19.1819 15.5521 18.6879 16.7047 17.8647 17.5279C17.0414 18.3512 15.8888 18.8451 14.7363 18.9275H6.7507V6.99025H16.4651V0.157227H3.54C2.63442 0.157227 1.72884 0.568855 1.07023 1.22746C0.411628 1.88606 0 2.79165 0 3.77955V22.2205C0 23.1261 0.411628 24.0316 1.07023 24.7726C1.72884 25.4312 2.63442 25.8428 3.54 25.8428H18.7702V23.0437Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
/**
|
|
3
|
+
* These DS / Component imports will be replaced with an import from the local alpha design system.
|
|
4
|
+
* We're just fixing something on our side to allow you to extend zero.
|
|
5
|
+
*/
|
|
6
|
+
import { allComponents, provideFASTDesignSystem } from '@microsoft/fast-components';
|
|
7
|
+
import { logger } from '../utils';
|
|
8
|
+
provideFASTDesignSystem().register(allComponents);
|
|
9
|
+
var ResourceType;
|
|
10
|
+
(function (ResourceType) {
|
|
11
|
+
ResourceType["local"] = "local";
|
|
12
|
+
ResourceType["remote"] = "remote";
|
|
13
|
+
})(ResourceType || (ResourceType = {}));
|
|
14
|
+
function loadZeroFallback() {
|
|
15
|
+
return import(
|
|
16
|
+
/* webpackMode: "lazy" */
|
|
17
|
+
'@genesislcap/foundation-zero');
|
|
18
|
+
}
|
|
19
|
+
export const loadZeroDesignSystem = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
20
|
+
let type = ResourceType.remote;
|
|
21
|
+
try {
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
return yield import('foundationZero/ZeroDesignSystem');
|
|
24
|
+
}
|
|
25
|
+
catch (e) {
|
|
26
|
+
type = ResourceType.local;
|
|
27
|
+
return yield loadZeroFallback();
|
|
28
|
+
}
|
|
29
|
+
finally {
|
|
30
|
+
logger.debug(`Using '${type}' version of foundationZero/DesignSystem`);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Load the wp5 module federation remote versions, or fallback to code split bundled versions.
|
|
35
|
+
* You would really be targeting the client's design system, components etc here. For now just targeting zero.
|
|
36
|
+
*/
|
|
37
|
+
export const loadRemotes = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
38
|
+
const { registerZeroDesignSystem } = yield loadZeroDesignSystem();
|
|
39
|
+
return {
|
|
40
|
+
ZeroDesignSystem: registerZeroDesignSystem(),
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,uBAAuB,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAElD,IAAK,YAGJ;AAHD,WAAK,YAAY;IACf,+BAAe,CAAA;IACf,iCAAiB,CAAA;AACnB,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB;AAED,SAAS,gBAAgB;IACvB,OAAO,MAAM;IACX,yBAAyB;IACzB,8BAA8B,CAC/B,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAS,EAAE;IAC7C,IAAI,IAAI,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/B,IAAI;QACF,aAAa;QACb,OAAO,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;KACxD;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC;QAC1B,OAAO,MAAM,gBAAgB,EAAE,CAAC;KACjC;YAAS;QACR,MAAM,CAAC,KAAK,CAAC,UAAU,IAAI,0CAA0C,CAAC,CAAC;KACxE;AACH,CAAC,CAAA,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAS,EAAE;IACpC,MAAM,EAAE,wBAAwB,EAAE,GAAG,MAAM,oBAAoB,EAAE,CAAC;IAClE,OAAO;QACL,gBAAgB,EAAE,wBAAwB,EAAE;KAC7C,CAAC;AACJ,CAAC,CAAA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.federated.js","sourceRoot":"","sources":["../../src/index.federated.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/main/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { __awaiter, __decorate } from "tslib";
|
|
2
|
+
import { Auth, CredentialManager } from '@genesislcap/foundation-comms';
|
|
3
|
+
import { EventEmitter } from '@genesislcap/foundation-events';
|
|
4
|
+
import { FASTElement, customElement, observable, attr } from '@microsoft/fast-element';
|
|
5
|
+
import { Route } from '@microsoft/fast-router';
|
|
6
|
+
import { DynamicTemplate as template, LoadingTemplate, MainTemplate } from './main.template';
|
|
7
|
+
import { MainStyles as styles } from './main.styles';
|
|
8
|
+
import { logger } from '../utils';
|
|
9
|
+
import * as Components from '../components';
|
|
10
|
+
import logo from '../assets/logo.svg';
|
|
11
|
+
const name = 'foundation-header';
|
|
12
|
+
/**
|
|
13
|
+
* Navigation micro-frontend includes navigation bar and flyout menu
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
*
|
|
17
|
+
* `foundation-header` micro-frontend can be added to the project to include a navigation bar
|
|
18
|
+
* and flyout menu. There are multiple ways that the behaviour of the component can be configured
|
|
19
|
+
* - the icon shown on the navigation bar and flyout menu (this shows the Genesis logo by default).
|
|
20
|
+
* - navigation links at the left-hand side of the navigation bar.
|
|
21
|
+
* - the control buttons on the right-hand side of the navigation bar can be shown or hidden, and their behaviour controlled via event listeners
|
|
22
|
+
* - The contents of the flyout menu.
|
|
23
|
+
*
|
|
24
|
+
* @param logo-src - Option attribute which sets the source of the image in the navigation bar and flyout menu. The Genesis logo will be shown if this attribute is not provided.
|
|
25
|
+
* @param show-luminance-toggle-button - Boolean attribute which controls whether the navigation bar will display the luminance toggle icon.
|
|
26
|
+
* @param show-misc-toggle-button - Boolean attribute which controls whether the navigation bar will display the miscellaneous behaviour icon.
|
|
27
|
+
* @param show-misc-toggle-button - Boolean attribute which controls whether the navigation bar will display the show notification icon.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
let Navigation = class Navigation extends EventEmitter(FASTElement) {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.ready = false;
|
|
35
|
+
this.sideNavOpen = false;
|
|
36
|
+
/**
|
|
37
|
+
* Optional attribute which controls the icon to show on the navigation bar and flyout
|
|
38
|
+
* Control via `logo-src`
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
*
|
|
42
|
+
* If this attribute is not set then the Genesis logo is shown instead
|
|
43
|
+
*/
|
|
44
|
+
this.logoSrc = logo;
|
|
45
|
+
}
|
|
46
|
+
connectedCallback() {
|
|
47
|
+
const _super = Object.create(null, {
|
|
48
|
+
connectedCallback: { get: () => super.connectedCallback }
|
|
49
|
+
});
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
_super.connectedCallback.call(this);
|
|
52
|
+
logger.debug(`${name} is now connected to the DOM`);
|
|
53
|
+
yield this.loadRemotes();
|
|
54
|
+
this.userName = this.auth.loggedUserResult
|
|
55
|
+
? this.auth.loggedUserResult.username
|
|
56
|
+
: 'Genesis User';
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Load remote components
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
63
|
+
*
|
|
64
|
+
* With regards to module federation
|
|
65
|
+
*
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
loadRemotes() {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
const remoteComponents = yield Components.loadRemotes();
|
|
71
|
+
this.ready = true;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
selectTemplate() {
|
|
75
|
+
return this.ready ? MainTemplate : LoadingTemplate;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Logs the user out of their session
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
*
|
|
82
|
+
* Activated when the user clicks on the logout button on the right hand side of the navigation bar. Requires
|
|
83
|
+
* the usage of the auth functionality from {@link @genesislcap/foundation-comms#Auth}.
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
logout() {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
logger.debug('logout submission');
|
|
90
|
+
try {
|
|
91
|
+
const result = yield this.auth.logout();
|
|
92
|
+
if (!result.success) {
|
|
93
|
+
logger.error(`Couldn't log out`, result);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
logger.debug('logged out', result);
|
|
97
|
+
yield this.credentialManager.preventSilentAccess();
|
|
98
|
+
this.navigateTo('/');
|
|
99
|
+
}
|
|
100
|
+
catch (err) {
|
|
101
|
+
logger.error(`Error: ${err.message}`);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Changes the route of the current page
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
*
|
|
110
|
+
* Requires setup of the Router and usage of the FAST Router
|
|
111
|
+
*
|
|
112
|
+
* @param path - string represeting the new route to move to
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
navigateTo(path) {
|
|
117
|
+
try {
|
|
118
|
+
logger.debug('navigateTo', path);
|
|
119
|
+
Route.path.push(path);
|
|
120
|
+
}
|
|
121
|
+
catch (err) {
|
|
122
|
+
logger.error(`Error: ${err.message}`);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Opens the flyout menu on the left hand side
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
*
|
|
130
|
+
* Activated when the user clicks on the menu button on the navigation
|
|
131
|
+
* bar left hand side
|
|
132
|
+
*
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
toggleNavVisibility() {
|
|
136
|
+
this.sideNavOpen = !this.sideNavOpen;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Emits the event corresponding to the luminance icon being clicked
|
|
140
|
+
*
|
|
141
|
+
* @remarks
|
|
142
|
+
*
|
|
143
|
+
* Activated when the user clicks on the moon icon on the navigation
|
|
144
|
+
* bar right hand side
|
|
145
|
+
*
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
luminanceIconEvent() {
|
|
149
|
+
this.$emit('luminance-icon-clicked');
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Emits the event corresponding to the miscellaneous icon being clicked
|
|
153
|
+
*
|
|
154
|
+
* @remarks
|
|
155
|
+
*
|
|
156
|
+
* Activated when the user clicks on the menu icon on the navigation
|
|
157
|
+
* bar right hand side
|
|
158
|
+
*
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
miscIconEvent() {
|
|
162
|
+
this.$emit('misc-icon-clicked');
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Emits the event corresponding to the notification icon being clicked
|
|
166
|
+
*
|
|
167
|
+
* @remarks
|
|
168
|
+
*
|
|
169
|
+
* Activated when the user clicks on the bell icon on the navigation
|
|
170
|
+
* bar right hand side
|
|
171
|
+
*
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
notificationIconEvent() {
|
|
175
|
+
this.$emit('notification-icon-clicked');
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
__decorate([
|
|
179
|
+
Auth
|
|
180
|
+
], Navigation.prototype, "auth", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
CredentialManager
|
|
183
|
+
], Navigation.prototype, "credentialManager", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
observable
|
|
186
|
+
], Navigation.prototype, "provider", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
observable
|
|
189
|
+
], Navigation.prototype, "ready", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
observable
|
|
192
|
+
], Navigation.prototype, "userName", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
observable
|
|
195
|
+
], Navigation.prototype, "sideNavOpen", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
attr({ attribute: 'logo-src' })
|
|
198
|
+
], Navigation.prototype, "logoSrc", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
attr({ mode: 'boolean', attribute: 'show-luminance-toggle-button' })
|
|
201
|
+
], Navigation.prototype, "showLuminanceToggleButton", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
attr({ mode: 'boolean', attribute: 'show-misc-toggle-button' })
|
|
204
|
+
], Navigation.prototype, "showMiscToggleButton", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
attr({ mode: 'boolean', attribute: 'show-notification-button' })
|
|
207
|
+
], Navigation.prototype, "showNotificationsButton", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
attr({ mode: 'boolean', attribute: 'hide-side-bar' })
|
|
210
|
+
], Navigation.prototype, "hideSideBar", void 0);
|
|
211
|
+
__decorate([
|
|
212
|
+
observable
|
|
213
|
+
], Navigation.prototype, "routeButtons", void 0);
|
|
214
|
+
Navigation = __decorate([
|
|
215
|
+
customElement({
|
|
216
|
+
name,
|
|
217
|
+
template,
|
|
218
|
+
styles,
|
|
219
|
+
})
|
|
220
|
+
], Navigation);
|
|
221
|
+
export { Navigation };
|
|
222
|
+
//# sourceMappingURL=main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { neutralLayer2, } from '@microsoft/fast-components';
|
|
2
|
+
import { css } from '@microsoft/fast-element';
|
|
3
|
+
import { stylesFontFaces } from '../styles';
|
|
4
|
+
import './main.css';
|
|
5
|
+
import { backgroundNavOption, ColorHEX, defaultBackgroundHover, defaultBackgroundItem, PrimaryRapidColorHEX, } from '../styles/colors';
|
|
6
|
+
/**
|
|
7
|
+
* Base styles for the foundation-header
|
|
8
|
+
*
|
|
9
|
+
* @returns ElementStyles instance for the foundation-header
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export const MainStyles = css `
|
|
14
|
+
${stylesFontFaces}
|
|
15
|
+
:host {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
|
|
19
|
+
--primary-gradient-angle: -113.5deg;
|
|
20
|
+
--design-unit: 2.5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
zero-design-system-provider,
|
|
24
|
+
.dynamic-template {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nav-listbox {
|
|
29
|
+
background: ${neutralLayer2};
|
|
30
|
+
display: flex;
|
|
31
|
+
flex: 1;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
fast-listbox {
|
|
39
|
+
border-color: var(--rapid-ag-background-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.nav-leftside {
|
|
43
|
+
background: ${neutralLayer2};
|
|
44
|
+
flex: 1;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
align-items: center;
|
|
47
|
+
margin-left: calc(var(--design-unit) * 6px);
|
|
48
|
+
display: flex;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nav-leftside:focus-within {
|
|
52
|
+
box-shadow: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
::slotted(fast-option),
|
|
56
|
+
.nav-listbox fast-option {
|
|
57
|
+
margin: 0 calc(var(--design-unit) * 2px);
|
|
58
|
+
padding: 0 calc(var(--design-unit) * 6px);
|
|
59
|
+
|
|
60
|
+
--focus-stroke-width: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
::slotted(fast-option.selected),
|
|
64
|
+
.nav-listbox fast-option.selected {
|
|
65
|
+
background: ${backgroundNavOption};
|
|
66
|
+
color: ${ColorHEX.white};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
::slotted(fast-option:not(.selected)),
|
|
70
|
+
.nav-listbox fast-option:not(.selected) {
|
|
71
|
+
background-color: ${defaultBackgroundItem};
|
|
72
|
+
color: #c9c9c9;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
::slotted(fast-option:not(.selected):hover),
|
|
76
|
+
.nav-listbox fast-option:not(.selected):hover {
|
|
77
|
+
background-color: ${defaultBackgroundHover};
|
|
78
|
+
color: ${ColorHEX.white};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.top-layout zero-icon {
|
|
82
|
+
position: absolute;
|
|
83
|
+
right: calc(var(--design-unit) * 6px);
|
|
84
|
+
top: 50%;
|
|
85
|
+
transform: translateY(-50%);
|
|
86
|
+
font-size: 25px;
|
|
87
|
+
opacity: 80%;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.logout-container zero-icon {
|
|
92
|
+
padding: 0 calc(var(--design-unit) * 3px);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.nav-listbox .bars-container {
|
|
96
|
+
margin-right: calc(var(--design-unit) * 3px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.user-container zero-icon {
|
|
100
|
+
font-size: 20px;
|
|
101
|
+
margin-right: calc(var(--design-unit) * 2px);
|
|
102
|
+
color: #879ba6;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.group-container zero-icon {
|
|
106
|
+
padding-right: 10px;
|
|
107
|
+
color: #879ba6;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.nav-listbox .bars-container zero-icon {
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
font-size: calc(var(--design-unit) * 8px);
|
|
113
|
+
background: linear-gradient(
|
|
114
|
+
var(--primary-gradient-angle),
|
|
115
|
+
${PrimaryRapidColorHEX.blue} 0%,
|
|
116
|
+
${PrimaryRapidColorHEX.purple} 100%
|
|
117
|
+
)
|
|
118
|
+
top/100% 1px,
|
|
119
|
+
linear-gradient(
|
|
120
|
+
var(--primary-gradient-angle),
|
|
121
|
+
${PrimaryRapidColorHEX.blue} 0%,
|
|
122
|
+
${PrimaryRapidColorHEX.purple} 100%
|
|
123
|
+
)
|
|
124
|
+
bottom/100% 1px;
|
|
125
|
+
/* stylelint-disable-next-line property-no-vendor-prefix */
|
|
126
|
+
-webkit-background-clip: text;
|
|
127
|
+
-webkit-text-fill-color: transparent;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.logo-container {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
margin-right: calc(var(--design-unit) * 3px);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.logo {
|
|
137
|
+
height: calc(var(--design-unit) * 8px);
|
|
138
|
+
width: calc(var(--design-unit) * 10px);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.nav-rightside {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex: 1;
|
|
144
|
+
flex-direction: row;
|
|
145
|
+
align-items: center;
|
|
146
|
+
justify-content: flex-end;
|
|
147
|
+
margin-right: calc(var(--design-unit) * 6px);
|
|
148
|
+
color: #c9c9c9;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.user-container {
|
|
152
|
+
background-color: ${defaultBackgroundItem};
|
|
153
|
+
padding: calc(var(--design-unit) * 1px);
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.icon-container {
|
|
162
|
+
font-size: 20px;
|
|
163
|
+
padding: calc(var(--design-unit) * 3px);
|
|
164
|
+
margin-right: calc(var(--design-unit) * 4px);
|
|
165
|
+
color: #879ba6;
|
|
166
|
+
cursor: pointer;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.open-nav {
|
|
170
|
+
width: 300px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.top-layout {
|
|
174
|
+
background: linear-gradient(
|
|
175
|
+
var(--primary-gradient-angle),
|
|
176
|
+
${PrimaryRapidColorHEX.blue} 0%,
|
|
177
|
+
${PrimaryRapidColorHEX.purple} 100%
|
|
178
|
+
)
|
|
179
|
+
top/100% 1px,
|
|
180
|
+
linear-gradient(
|
|
181
|
+
var(--primary-gradient-angle),
|
|
182
|
+
${PrimaryRapidColorHEX.blue} 0%,
|
|
183
|
+
${PrimaryRapidColorHEX.purple} 100%
|
|
184
|
+
)
|
|
185
|
+
bottom/100% 1px;
|
|
186
|
+
background-origin: border-box;
|
|
187
|
+
background-size: cover;
|
|
188
|
+
background-repeat: no-repeat;
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: 15%;
|
|
191
|
+
max-height: 120px;
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: row;
|
|
194
|
+
align-items: center;
|
|
195
|
+
position: relative;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.top-layout img {
|
|
199
|
+
width: 50px;
|
|
200
|
+
margin-left: calc(var(--design-unit) * 6px);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.top-layout zero-icon:hover {
|
|
204
|
+
opacity: 100%;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.group-container {
|
|
208
|
+
height: 100%;
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
::slotted(zero-tree-view) {
|
|
214
|
+
--type-ramp-base-font-size: 12px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
::slotted(div) {
|
|
218
|
+
color: ${PrimaryRapidColorHEX.blue};
|
|
219
|
+
font-size: var(--type-ramp-minus-1-font-size);
|
|
220
|
+
margin-bottom: calc(var(--design-unit) * 4px);
|
|
221
|
+
padding-left: calc(var(--design-unit) * 4px);
|
|
222
|
+
padding-right: calc(var(--design-unit) * 4px);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.nav-preferences {
|
|
226
|
+
width: 100%;
|
|
227
|
+
height: 25%;
|
|
228
|
+
max-height: 250px;
|
|
229
|
+
display: flex;
|
|
230
|
+
flex-direction: column;
|
|
231
|
+
justify-content: flex-start;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.logout-container {
|
|
235
|
+
align-items: center;
|
|
236
|
+
background-color: var(--neutral-fill-rest);
|
|
237
|
+
border: calc(var(--stroke-width) * 1px) solid ${defaultBackgroundItem};
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: row;
|
|
241
|
+
height: 8%;
|
|
242
|
+
max-height: 80px;
|
|
243
|
+
padding: 3%;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.logout-container:hover {
|
|
247
|
+
background-color: var(--neutral-fill-hover);
|
|
248
|
+
}
|
|
249
|
+
`;
|
|
250
|
+
//# sourceMappingURL=main.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.styles.js","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,GAGd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,YAAY,CAAC;AACpB,OAAO,EACL,mBAAmB,EACnB,QAAQ,EACR,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;IACzB,eAAe;;;;;;;;;;;;;;;kBAeD,aAAa;;;;;;;;;;;;;;kBAcb,aAAa;;;;;;;;;;;;;;;;;;;;;;kBAsBb,mBAAmB;aACxB,QAAQ,CAAC,KAAK;;;;;wBAKH,qBAAqB;;;;;;wBAMrB,sBAAsB;aACjC,QAAQ,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqCf,oBAAoB,CAAC,IAAI;YACzB,oBAAoB,CAAC,MAAM;;;;;YAK3B,oBAAoB,CAAC,IAAI;YACzB,oBAAoB,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8Bf,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;YAwBjC,oBAAoB,CAAC,IAAI;YACzB,oBAAoB,CAAC,MAAM;;;;;YAK3B,oBAAoB,CAAC,IAAI;YACzB,oBAAoB,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAmC1B,oBAAoB,CAAC,IAAI;;;;;;;;;;;;;;;;;;;oDAmBc,qBAAqB;;;;;;;;;;;;CAYxE,CAAC"}
|