@genesislcap/pbc-reconciliation-ui 0.0.2 → 0.0.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/.gradle/8.3/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.3/executionHistory/executionHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/build/distributions/web-distribution.tar +0 -0
- package/build/distributions/web-distribution.zip +0 -0
- package/dist/dts/components/components.d.ts +3 -1
- package/dist/dts/components/components.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts +5 -0
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts.map +1 -0
- package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts +2 -0
- package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts.map +1 -0
- package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts +3 -0
- package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts +4 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts +2 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts +3 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts.map +1 -0
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/index.d.ts +1 -0
- package/dist/dts/main/index.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +2 -338
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts +1 -2
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +2 -5
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/esm/components/components.js +26 -29
- package/dist/esm/components/components.js.map +1 -1
- package/dist/esm/components/configurations-panel/configurations-panel.js +17 -0
- package/dist/esm/components/configurations-panel/configurations-panel.js.map +1 -0
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js +63 -0
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js.map +1 -0
- package/dist/esm/components/configurations-panel/configurations-panel.template.js +33 -0
- package/dist/esm/components/configurations-panel/configurations-panel.template.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js +15 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js +4 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js +6 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/main/index.js +1 -0
- package/dist/esm/main/index.js.map +1 -1
- package/dist/esm/main/main.js +13 -91
- package/dist/esm/main/main.js.map +1 -1
- package/dist/esm/main/main.styles.js +5 -18
- package/dist/esm/main/main.styles.js.map +1 -1
- package/dist/esm/main/main.template.js +16 -18
- package/dist/esm/main/main.template.js.map +1 -1
- package/package.json +1 -1
- package/src/components/components.ts +40 -63
- package/src/components/configurations-panel/configurations-panel.styles.ts +65 -0
- package/src/components/configurations-panel/configurations-panel.template.ts +34 -0
- package/src/components/configurations-panel/configurations-panel.ts +14 -0
- package/src/components/reconciliations-panel/reconciliations-panel.styles.ts +4 -0
- package/src/components/reconciliations-panel/reconciliations-panel.template.ts +7 -0
- package/src/components/reconciliations-panel/reconciliations-panel.ts +11 -0
- package/src/index.ts +1 -1
- package/src/main/index.ts +1 -0
- package/src/main/main.styles.ts +8 -18
- package/src/main/main.template.ts +19 -21
- package/src/main/main.ts +15 -124
- package/src/typings.d.ts +0 -4
- package/test/unit/configurations-panel.test.ts +15 -0
- package/test/unit/main.test.ts +20 -0
- package/test/unit/reconciliations-panel.test.ts +15 -0
- package/dist/dts/components/index.d.ts +0 -2
- package/dist/dts/components/index.d.ts.map +0 -1
- package/dist/dts/layouts/default.d.ts +0 -4
- package/dist/dts/layouts/default.d.ts.map +0 -1
- package/dist/dts/layouts/index.d.ts +0 -2
- package/dist/dts/layouts/index.d.ts.map +0 -1
- package/dist/dts/routes/config.d.ts +0 -11
- package/dist/dts/routes/config.d.ts.map +0 -1
- package/dist/dts/routes/home/home.d.ts +0 -5
- package/dist/dts/routes/home/home.d.ts.map +0 -1
- package/dist/dts/routes/home/home.styles.d.ts +0 -2
- package/dist/dts/routes/home/home.styles.d.ts.map +0 -1
- package/dist/dts/routes/home/home.template.d.ts +0 -3
- package/dist/dts/routes/home/home.template.d.ts.map +0 -1
- package/dist/dts/routes/index.d.ts +0 -2
- package/dist/dts/routes/index.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.d.ts +0 -5
- package/dist/dts/routes/not-found/not-found.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.styles.d.ts +0 -2
- package/dist/dts/routes/not-found/not-found.styles.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.template.d.ts +0 -3
- package/dist/dts/routes/not-found/not-found.template.d.ts.map +0 -1
- package/dist/dts/store/index.d.ts +0 -2
- package/dist/dts/store/index.d.ts.map +0 -1
- package/dist/dts/store/store.d.ts +0 -11
- package/dist/dts/store/store.d.ts.map +0 -1
- package/dist/dts/styles/index.d.ts +0 -3
- package/dist/dts/styles/index.d.ts.map +0 -1
- package/dist/dts/styles/styles.d.ts +0 -5
- package/dist/dts/styles/styles.d.ts.map +0 -1
- package/dist/dts/styles/typography.d.ts +0 -4
- package/dist/dts/styles/typography.d.ts.map +0 -1
- package/dist/dts/types.d.ts +0 -3
- package/dist/dts/types.d.ts.map +0 -1
- package/dist/esm/components/index.js +0 -2
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/layouts/default.js +0 -139
- package/dist/esm/layouts/default.js.map +0 -1
- package/dist/esm/layouts/index.js +0 -2
- package/dist/esm/layouts/index.js.map +0 -1
- package/dist/esm/main/main.css +0 -17
- package/dist/esm/routes/config.js +0 -89
- package/dist/esm/routes/config.js.map +0 -1
- package/dist/esm/routes/home/home.js +0 -18
- package/dist/esm/routes/home/home.js.map +0 -1
- package/dist/esm/routes/home/home.styles.js +0 -7
- package/dist/esm/routes/home/home.styles.js.map +0 -1
- package/dist/esm/routes/home/home.template.js +0 -6
- package/dist/esm/routes/home/home.template.js.map +0 -1
- package/dist/esm/routes/index.js +0 -2
- package/dist/esm/routes/index.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.js +0 -20
- package/dist/esm/routes/not-found/not-found.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.styles.js +0 -11
- package/dist/esm/routes/not-found/not-found.styles.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.template.js +0 -5
- package/dist/esm/routes/not-found/not-found.template.js.map +0 -1
- package/dist/esm/store/index.js +0 -2
- package/dist/esm/store/index.js.map +0 -1
- package/dist/esm/store/store.js +0 -10
- package/dist/esm/store/store.js.map +0 -1
- package/dist/esm/styles/design-tokens.json +0 -56
- package/dist/esm/styles/index.js +0 -3
- package/dist/esm/styles/index.js.map +0 -1
- package/dist/esm/styles/styles.js +0 -24
- package/dist/esm/styles/styles.js.map +0 -1
- package/dist/esm/styles/typography.js +0 -23
- package/dist/esm/styles/typography.js.map +0 -1
- package/dist/esm/types.js +0 -4
- package/dist/esm/types.js.map +0 -1
- package/src/components/index.ts +0 -1
- package/src/layouts/default.ts +0 -152
- package/src/layouts/index.ts +0 -1
- package/src/main/main.css +0 -17
- package/src/pbc/README.md +0 -8
- package/src/routes/config.ts +0 -135
- package/src/routes/home/home.styles.ts +0 -7
- package/src/routes/home/home.template.ts +0 -7
- package/src/routes/home/home.ts +0 -14
- package/src/routes/index.ts +0 -1
- package/src/routes/not-found/not-found.styles.ts +0 -11
- package/src/routes/not-found/not-found.template.ts +0 -6
- package/src/routes/not-found/not-found.ts +0 -16
- package/src/store/index.ts +0 -1
- package/src/store/store.ts +0 -29
- package/src/styles/design-tokens.json +0 -56
- package/src/styles/index.ts +0 -2
- package/src/styles/styles.ts +0 -30
- package/src/styles/typography.ts +0 -25
- package/src/types.ts +0 -5
- package/test/unit/sample.test.ts +0 -14
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
package/dist/esm/main/main.css
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __decorate, __param } from "tslib";
|
|
2
|
-
import { Auth, Session } from '@genesislcap/foundation-comms';
|
|
3
|
-
import { defaultLoginConfig, LoginConfig, } from '@genesislcap/foundation-login';
|
|
4
|
-
import { FoundationRouterConfiguration } from '@genesislcap/foundation-ui';
|
|
5
|
-
import { optional } from '@microsoft/fast-foundation';
|
|
6
|
-
import { Route } from '@microsoft/fast-router';
|
|
7
|
-
import { defaultLayout, loginLayout } from '../layouts';
|
|
8
|
-
import { NotFound } from './not-found/not-found';
|
|
9
|
-
import { Home } from './home/home';
|
|
10
|
-
const ssoSettings = typeof ENABLE_SSO !== 'undefined' && ENABLE_SSO === 'true'
|
|
11
|
-
? {
|
|
12
|
-
autoAuth: true,
|
|
13
|
-
sso: {
|
|
14
|
-
toggled: true,
|
|
15
|
-
identityProvidersPath: 'sso/list',
|
|
16
|
-
},
|
|
17
|
-
}
|
|
18
|
-
: {};
|
|
19
|
-
let MainRouterConfig = class MainRouterConfig extends FoundationRouterConfiguration {
|
|
20
|
-
constructor(auth, session, loginConfig = Object.assign(Object.assign({}, defaultLoginConfig), { autoAuth: true, autoConnect: true })) {
|
|
21
|
-
super();
|
|
22
|
-
this.auth = auth;
|
|
23
|
-
this.session = session;
|
|
24
|
-
this.loginConfig = loginConfig;
|
|
25
|
-
}
|
|
26
|
-
configure() {
|
|
27
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
this.configureAnalytics();
|
|
29
|
-
this.title = 'Blank App Demo';
|
|
30
|
-
this.defaultLayout = defaultLayout;
|
|
31
|
-
const authPath = 'login';
|
|
32
|
-
this.routes.map({ path: '', redirect: authPath }, {
|
|
33
|
-
path: authPath,
|
|
34
|
-
name: 'login',
|
|
35
|
-
title: 'Login',
|
|
36
|
-
element: () => __awaiter(this, void 0, void 0, function* () {
|
|
37
|
-
const { configure, define } = yield import('@genesislcap/foundation-login');
|
|
38
|
-
configure(this.container, Object.assign({ autoConnect: true, defaultRedirectUrl: 'home' }, ssoSettings));
|
|
39
|
-
return define({
|
|
40
|
-
name: `reconciliation-root-login`,
|
|
41
|
-
});
|
|
42
|
-
}),
|
|
43
|
-
layout: loginLayout,
|
|
44
|
-
settings: { public: true },
|
|
45
|
-
childRouters: true,
|
|
46
|
-
}, { path: 'not-found', element: NotFound, title: 'Not Found', name: 'not-found' }, {
|
|
47
|
-
path: 'home',
|
|
48
|
-
element: Home,
|
|
49
|
-
title: 'Home',
|
|
50
|
-
name: 'home',
|
|
51
|
-
navItems: [
|
|
52
|
-
{
|
|
53
|
-
title: 'Home',
|
|
54
|
-
icon: {
|
|
55
|
-
name: 'cog',
|
|
56
|
-
variant: 'solid',
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
});
|
|
61
|
-
this.routes.fallback(() => this.auth.isLoggedIn ? { redirect: 'not-found' } : { redirect: authPath });
|
|
62
|
-
this.contributors.push({
|
|
63
|
-
navigate: (phase) => __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const settings = phase.route.settings;
|
|
65
|
-
if (settings && settings.public) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
if (this.auth.isLoggedIn) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (this.loginConfig.autoAuth && (yield this.auth.reAuthFromSession())) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
phase.cancel(() => {
|
|
75
|
-
this.session.captureReturnUrl();
|
|
76
|
-
Route.name.replace(phase.router, authPath);
|
|
77
|
-
});
|
|
78
|
-
}),
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
MainRouterConfig = __decorate([
|
|
84
|
-
__param(0, Auth),
|
|
85
|
-
__param(1, Session),
|
|
86
|
-
__param(2, optional(LoginConfig))
|
|
87
|
-
], MainRouterConfig);
|
|
88
|
-
export { MainRouterConfig };
|
|
89
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/routes/config.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,WAAW,GAEZ,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAKnC,MAAM,WAAW,GACf,OAAO,UAAU,KAAK,WAAW,IAAI,UAAU,KAAK,MAAM;IACxD,CAAC,CAAC;QACE,QAAQ,EAAE,IAAI;QACd,GAAG,EAAE;YACH,OAAO,EAAE,IAAI;YACb,qBAAqB,EAAE,UAAU;SAClC;KACF;IACH,CAAC,CAAC,EAAE,CAAC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gB,CA2G5B;SA3GY,gBAAgB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement, FASTElement } from '@microsoft/fast-element';
|
|
3
|
-
import { HomeStyles as styles } from './home.styles';
|
|
4
|
-
import { HomeTemplate as template } from './home.template';
|
|
5
|
-
let Home = class Home extends FASTElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
Home = __decorate([
|
|
11
|
-
customElement({
|
|
12
|
-
name: 'home-route',
|
|
13
|
-
template,
|
|
14
|
-
styles,
|
|
15
|
-
})
|
|
16
|
-
], Home);
|
|
17
|
-
export { Home };
|
|
18
|
-
//# sourceMappingURL=home.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../src/routes/home/home.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,UAAU,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAOpD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,WAAW;IACnC;QACE,KAAK,EAAE,CAAC;IACV,CAAC;CACF,CAAA;AAJY,IAAI;IALhB,aAAa,CAAC;QACb,IAAI,EAAE,YAAY;QAClB,QAAQ;QACR,MAAM;KACP,CAAC;GACW,IAAI,CAIhB;SAJY,IAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.styles.js","sourceRoot":"","sources":["../../../../src/routes/home/home.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;CAI5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.template.js","sourceRoot":"","sources":["../../../../src/routes/home/home.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAM;;;CAGrC,CAAC"}
|
package/dist/esm/routes/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement, FASTElement } from '@microsoft/fast-element';
|
|
3
|
-
import { logger } from '../../utils';
|
|
4
|
-
import { NotFoundStyles as styles } from './not-found.styles';
|
|
5
|
-
import { NotFoundTemplate as template } from './not-found.template';
|
|
6
|
-
let NotFound = class NotFound extends FASTElement {
|
|
7
|
-
connectedCallback() {
|
|
8
|
-
super.connectedCallback();
|
|
9
|
-
logger.debug(`${name} is now connected to the DOM`);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
NotFound = __decorate([
|
|
13
|
-
customElement({
|
|
14
|
-
name: 'not-found-route',
|
|
15
|
-
template,
|
|
16
|
-
styles,
|
|
17
|
-
})
|
|
18
|
-
], NotFound);
|
|
19
|
-
export { NotFound };
|
|
20
|
-
//# sourceMappingURL=not-found.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.js","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAO7D,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,WAAW;IAChC,iBAAiB;QACtB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,8BAA8B,CAAC,CAAC;IACtD,CAAC;CACF,CAAA;AALY,QAAQ;IALpB,aAAa,CAAC;QACb,IAAI,EAAE,iBAAiB;QACvB,QAAQ;QACR,MAAM;KACP,CAAC;GACW,QAAQ,CAKpB;SALY,QAAQ"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { css } from '@microsoft/fast-element';
|
|
2
|
-
import { mixinScreen } from '../../styles';
|
|
3
|
-
export const NotFoundStyles = css `
|
|
4
|
-
:host {
|
|
5
|
-
${mixinScreen('flex')}
|
|
6
|
-
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
}
|
|
10
|
-
`;
|
|
11
|
-
//# sourceMappingURL=not-found.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.styles.js","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;MAE3B,WAAW,CAAC,MAAM,CAAC;;;;;CAKxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.template.js","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAU;;CAE7C,CAAC"}
|
package/dist/esm/store/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
package/dist/esm/store/store.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { getApp } from '@genesislcap/foundation-shell/app';
|
|
2
|
-
import { AbstractStoreRoot, registerStore, } from '@genesislcap/foundation-store';
|
|
3
|
-
class DefaultStore extends AbstractStoreRoot {
|
|
4
|
-
constructor() {
|
|
5
|
-
super();
|
|
6
|
-
getApp().registerStoreRoot(this);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export const Store = registerStore(DefaultStore, 'Store');
|
|
10
|
-
//# sourceMappingURL=store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/store/store.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,iBAAiB,EACjB,aAAa,GAGd,MAAM,+BAA+B,CAAC;AAUvC,MAAM,YAAa,SAAQ,iBAA6C;IACtE;QACE,KAAK,EAAE,CAAC;QAKR,MAAM,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACF;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"design_tokens": {
|
|
3
|
-
"color": {
|
|
4
|
-
"accent": {
|
|
5
|
-
"$value": "#0EAFE2",
|
|
6
|
-
"$type": "color"
|
|
7
|
-
},
|
|
8
|
-
"neutral": {
|
|
9
|
-
"$value": "#7C909B",
|
|
10
|
-
"$type": "color"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"fontFamily": {
|
|
14
|
-
"bodyFont": {
|
|
15
|
-
"$value": "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif",
|
|
16
|
-
"$type": "fontFamily"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"typography": {
|
|
20
|
-
"baseFontSize": {
|
|
21
|
-
"$value": "14px",
|
|
22
|
-
"$type": "dimension"
|
|
23
|
-
},
|
|
24
|
-
"baseLineHeight": {
|
|
25
|
-
"$value": "20px",
|
|
26
|
-
"$type": "dimension"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"mode": {
|
|
30
|
-
"luminance": {
|
|
31
|
-
"$value": 0.23,
|
|
32
|
-
"$type": "number"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"style": {
|
|
36
|
-
"density": {
|
|
37
|
-
"$value": 0,
|
|
38
|
-
"$type": "number"
|
|
39
|
-
},
|
|
40
|
-
"borderRadius": {
|
|
41
|
-
"$value": 4,
|
|
42
|
-
"$type": "number"
|
|
43
|
-
},
|
|
44
|
-
"strokeWidth": {
|
|
45
|
-
"$value": 1,
|
|
46
|
-
"$type": "number"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"space": {
|
|
50
|
-
"designUnit": {
|
|
51
|
-
"$value": 4,
|
|
52
|
-
"$type": "number"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
package/dist/esm/styles/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { css } from '@microsoft/fast-element';
|
|
2
|
-
import { mixinCardTitle } from './typography';
|
|
3
|
-
export const stylesCardHeading = css `
|
|
4
|
-
header h1 {
|
|
5
|
-
${mixinCardTitle}
|
|
6
|
-
}
|
|
7
|
-
`;
|
|
8
|
-
export const mixinScreen = (display = 'block') => `
|
|
9
|
-
contain: content;
|
|
10
|
-
display: ${display};
|
|
11
|
-
height: 100%;
|
|
12
|
-
width: 100%;
|
|
13
|
-
overflow-y: auto;
|
|
14
|
-
`;
|
|
15
|
-
export const mixinCardStyles = `
|
|
16
|
-
padding: calc(var(--design-unit) * 2px);
|
|
17
|
-
`;
|
|
18
|
-
export const hideZeroButtonParts = `
|
|
19
|
-
zero-button::part(info1),
|
|
20
|
-
zero-button::part(info2) {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
`;
|
|
24
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/styles/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;MAE9B,cAAc;;CAEnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,UAAkB,OAAO,EAAE,EAAE,CAAC;;aAE7C,OAAO;;;;CAInB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;;CAE9B,CAAC;AAKF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;CAKlC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const mixinSegoeUI = (style = 'normal', weight = 'normal') => `
|
|
2
|
-
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
3
|
-
font-style: ${style};
|
|
4
|
-
font-weight: ${weight};
|
|
5
|
-
`;
|
|
6
|
-
export const stylesFontFaces = `
|
|
7
|
-
@font-face {
|
|
8
|
-
font-family: Segoe UI;
|
|
9
|
-
font-weight: 300;
|
|
10
|
-
src: local("Segoe UI Semilight"), local("Segoe UI");
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* {
|
|
14
|
-
${mixinSegoeUI()}
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
export const mixinCardTitle = mixinSegoeUI('normal', 'bold');
|
|
18
|
-
export const stylesHeaders = `
|
|
19
|
-
h1, h2, h3, h4, h5, h6 {
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
//# sourceMappingURL=typography.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/styles/typography.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG,CAAC,KAAK,GAAG,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,EAAE,CAAC;;gBAE9C,KAAK;iBACJ,MAAM;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;MAQzB,YAAY,EAAE;;CAEnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,aAAa,GAAG;;;;CAI5B,CAAC"}
|
package/dist/esm/types.js
DELETED
package/dist/esm/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,4BAA4B,CAAC;AAEhD,MAAM,CAAC,MAAM,OAAO,GAAG,EAAE,CAAC,eAAe,EAAU,CAAC;AAEpD,MAAM,CAAC,MAAM,OAAO,GAAG,EAAE,CAAC,eAAe,EAAU,CAAC"}
|
package/src/components/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
package/src/layouts/default.ts
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { getApp } from '@genesislcap/foundation-shell/app';
|
|
2
|
-
import type { FoundationRouter } from '@genesislcap/foundation-ui';
|
|
3
|
-
import { css, html } from '@microsoft/fast-element';
|
|
4
|
-
import { FASTElementLayout } from '@microsoft/fast-router';
|
|
5
|
-
import type { Store } from '../store';
|
|
6
|
-
|
|
7
|
-
type ClientAppRouter = FoundationRouter & { store: Store };
|
|
8
|
-
|
|
9
|
-
const app = getApp();
|
|
10
|
-
|
|
11
|
-
const baseLayoutCss = css`
|
|
12
|
-
.container {
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
display: block;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.content {
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
bottom: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
right: 0;
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
27
|
-
|
|
28
|
-
export const loginLayout = new FASTElementLayout(
|
|
29
|
-
html<ClientAppRouter>`
|
|
30
|
-
<div class="container">
|
|
31
|
-
<div class="content">
|
|
32
|
-
<slot></slot>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
`,
|
|
36
|
-
baseLayoutCss,
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
export const defaultLayout = new FASTElementLayout(
|
|
40
|
-
html<ClientAppRouter>`
|
|
41
|
-
<div class="container">
|
|
42
|
-
${app.registerElementsTarget('layout-start')}
|
|
43
|
-
<foundation-header
|
|
44
|
-
show-luminance-toggle-button
|
|
45
|
-
show-misc-toggle-button
|
|
46
|
-
:routeNavItems=${(x) => x.config.getNavItems()}
|
|
47
|
-
>
|
|
48
|
-
<div slot="menu-contents">
|
|
49
|
-
<span slot="group-title-1">GROUP SLOT</span>
|
|
50
|
-
<zero-tree-view slot="nav-items-1">
|
|
51
|
-
<zero-tree-item>
|
|
52
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
53
|
-
Slot Tree Item
|
|
54
|
-
</zero-tree-item>
|
|
55
|
-
<zero-tree-item>
|
|
56
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
57
|
-
Slot Tree Item
|
|
58
|
-
</zero-tree-item>
|
|
59
|
-
<zero-tree-item>
|
|
60
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
61
|
-
Slot Tree Item
|
|
62
|
-
</zero-tree-item>
|
|
63
|
-
<zero-tree-item>
|
|
64
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
65
|
-
Slot Tree Item
|
|
66
|
-
</zero-tree-item>
|
|
67
|
-
</zero-tree-view>
|
|
68
|
-
<span slot="group-title-2">GROUP SLOT 2</span>
|
|
69
|
-
<zero-tree-view slot="nav-items-2">
|
|
70
|
-
<zero-tree-item>
|
|
71
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
72
|
-
Slot Tree Item 2
|
|
73
|
-
</zero-tree-item>
|
|
74
|
-
<zero-tree-item>
|
|
75
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
76
|
-
Slot Tree Item 2
|
|
77
|
-
</zero-tree-item>
|
|
78
|
-
<zero-tree-item>
|
|
79
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
80
|
-
Slot Tree Item 2
|
|
81
|
-
</zero-tree-item>
|
|
82
|
-
<zero-tree-item>
|
|
83
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
84
|
-
Slot Tree Item 2
|
|
85
|
-
</zero-tree-item>
|
|
86
|
-
</zero-tree-view>
|
|
87
|
-
<span slot="group-title-3">GROUP SLOT 3</span>
|
|
88
|
-
<zero-tree-view slot="nav-items-3">
|
|
89
|
-
<zero-tree-item>
|
|
90
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
91
|
-
User Slot
|
|
92
|
-
</zero-tree-item>
|
|
93
|
-
<zero-tree-item>
|
|
94
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
95
|
-
Reporting Slot
|
|
96
|
-
</zero-tree-item>
|
|
97
|
-
<zero-tree-item>
|
|
98
|
-
<zero-icon variant="solid" name="location-arrow"></zero-icon>
|
|
99
|
-
Settings Slot
|
|
100
|
-
</zero-tree-item>
|
|
101
|
-
</zero-tree-view>
|
|
102
|
-
</div>
|
|
103
|
-
</foundation-header>
|
|
104
|
-
<div class="content">
|
|
105
|
-
${app.registerElementsTarget('content-start')}
|
|
106
|
-
<slot></slot>
|
|
107
|
-
${app.registerElementsTarget(['content', 'content-end'])}
|
|
108
|
-
</div>
|
|
109
|
-
${app.registerElementsTarget(['layout', 'layout-end'])}
|
|
110
|
-
</div>
|
|
111
|
-
`,
|
|
112
|
-
css`
|
|
113
|
-
${baseLayoutCss}
|
|
114
|
-
|
|
115
|
-
.content {
|
|
116
|
-
padding-top: 60px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
foundation-header {
|
|
120
|
-
z-index: 999;
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: 0;
|
|
123
|
-
left: 0;
|
|
124
|
-
width: 100%;
|
|
125
|
-
align-items: center;
|
|
126
|
-
border: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
zero-tree-item zero-icon {
|
|
130
|
-
color: #879ba6;
|
|
131
|
-
padding-right: 10px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
foundation-header::part(nav-visibility-icon) {
|
|
135
|
-
color: var(--accent-foreground-rest);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
foundation-header::part(notifications-button) {
|
|
139
|
-
position: relative;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
zero-flyout::part(flyout) {
|
|
143
|
-
width: 40%;
|
|
144
|
-
min-width: 320px;
|
|
145
|
-
padding: 0;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
zero-flyout::part(content) {
|
|
149
|
-
height: 100%;
|
|
150
|
-
}
|
|
151
|
-
`.withBehaviors(app.registerStylesTarget('layout')),
|
|
152
|
-
);
|
package/src/layouts/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './default';
|
package/src/main/main.css
DELETED
package/src/pbc/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# PBC
|
|
2
|
-
|
|
3
|
-
This directory contains PBCs that have been added dynamically via the `genx add` command. Each `genx add` will create
|
|
4
|
-
a new changeset for you and your team to review and merge. You may choose to tailor the generate PBC assets post
|
|
5
|
-
`genx add` for fine grain control, but be aware that doing so makes it more difficult to automate future PBC upgrades.
|
|
6
|
-
You may need to re-add a PBC that you have previously edited and re-merge any changes to it yourself.
|
|
7
|
-
|
|
8
|
-
See the app README.md in `@genesislcap/foundation-shell/app` or visit https://learn.genesis.global/docs/web/ to learn more.
|