@genesislcap/pbc-reconciliation-ui 0.0.2 → 0.0.4
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 +1 -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 +10 -42
- 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 +6 -19
- package/dist/esm/main/main.styles.js.map +1 -1
- package/dist/esm/main/main.template.js +18 -18
- package/dist/esm/main/main.template.js.map +1 -1
- package/package.json +46 -48
- package/src/components/components.ts +21 -65
- 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 +9 -19
- package/src/main/main.template.ts +21 -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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { html } from '@genesislcap/web-core';
|
|
2
|
+
import { ConfigurationsPanel } from './configurations-panel';
|
|
3
|
+
|
|
4
|
+
export const ConfigurationsPanelTemplate = html<ConfigurationsPanel>`
|
|
5
|
+
<div class="configurations-panel">
|
|
6
|
+
<div class="all-configurations">
|
|
7
|
+
<div class="title">
|
|
8
|
+
All Configurations
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="configuration">
|
|
13
|
+
<div class="configuration-content">
|
|
14
|
+
<div class="configuration-name-and-data-sources">
|
|
15
|
+
<div class="configuration-name">
|
|
16
|
+
Configuration Name
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="data-sources">
|
|
20
|
+
Data Sources
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="reconciliation-rules">
|
|
25
|
+
Reconciliation Rules
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div class="configuration-footer">
|
|
30
|
+
<rapid-button appearance="accent" @click=${(x) => x.submit()}>Submit</rapid-button>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
`;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GenesisElement, customElement } from '@genesislcap/web-core';
|
|
2
|
+
import { ConfigurationsPanelTemplate } from './configurations-panel.template';
|
|
3
|
+
import { ConfigurationsPanelStyles } from './configurations-panel.styles';
|
|
4
|
+
|
|
5
|
+
@customElement({
|
|
6
|
+
name: 'configurations-panel',
|
|
7
|
+
template: ConfigurationsPanelTemplate,
|
|
8
|
+
styles: ConfigurationsPanelStyles,
|
|
9
|
+
})
|
|
10
|
+
export class ConfigurationsPanel extends GenesisElement {
|
|
11
|
+
|
|
12
|
+
submit() {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GenesisElement, customElement } from '@genesislcap/web-core';
|
|
2
|
+
import { ReconciliationsPanelTemplate } from './reconciliations-panel.template';
|
|
3
|
+
import { ReconciliationsPanelStyles } from './reconciliations-panel.styles';
|
|
4
|
+
|
|
5
|
+
@customElement({
|
|
6
|
+
name: 'reconciliations-panel',
|
|
7
|
+
template: ReconciliationsPanelTemplate,
|
|
8
|
+
styles: ReconciliationsPanelStyles,
|
|
9
|
+
})
|
|
10
|
+
export class ReconciliationsPanel extends GenesisElement {
|
|
11
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './main
|
|
1
|
+
export * from './main';
|
package/src/main/index.ts
CHANGED
package/src/main/main.styles.ts
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { css } from '@microsoft/fast-element';
|
|
3
|
-
import { stylesFontFaces } from '../styles';
|
|
4
|
-
import './main.css';
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
:host,
|
|
15
|
-
zero-design-system-provider,
|
|
16
|
-
.dynamic-template,
|
|
17
|
-
foundation-router {
|
|
18
|
-
display: flex;
|
|
19
|
-
width: 100%;
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export const FoundationReconciliationStyles = css`
|
|
7
|
+
.reconciliation,
|
|
8
|
+
rapid-tabs,
|
|
9
|
+
rapid-tab-panel {
|
|
20
10
|
height: 100%;
|
|
21
11
|
}
|
|
22
|
-
|
|
12
|
+
`;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
4
|
-
import type { MainApplication } from './main';
|
|
1
|
+
import { html } from '@genesislcap/web-core';
|
|
2
|
+
import { FoundationReconciliation } from './main';
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export const LoadingTemplate: ViewTemplate<MainApplication> = html`
|
|
15
|
-
<zero-progress-ring></zero-progress-ring>
|
|
16
|
-
`;
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export const FoundationReconciliationTemplate = html<FoundationReconciliation>`
|
|
8
|
+
<div class="reconciliation">
|
|
9
|
+
<rapid-tabs appearance="secondary" class="tabs">
|
|
10
|
+
<rapid-tab appearance="secondary" slot="configurations-tab">Configurations</rapid-tab>
|
|
11
|
+
<rapid-tab appearance="secondary" slot="reconciliations-tab">Reconciliations</rapid-tab>
|
|
17
12
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
<rapid-tab-panel slot="configurations-tab" id="configurations-tab-panel">
|
|
14
|
+
Configurations Panel
|
|
15
|
+
<!-- <configurations-panel></configurations-panel> -->
|
|
16
|
+
</rapid-tab-panel>
|
|
17
|
+
|
|
18
|
+
<rapid-tab-panel slot="reconciliations-tab" id="reconciliations-tab-panel">
|
|
19
|
+
Reconciliations Panel
|
|
20
|
+
<!-- <reconciliations-panel></reconciliations-panel> -->
|
|
21
|
+
</rapid-tab-panel>
|
|
22
|
+
</rapid-tabs>
|
|
23
|
+
</div>
|
|
24
24
|
`;
|
package/src/main/main.ts
CHANGED
|
@@ -1,140 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { importPBCAssets } from '@genesislcap/foundation-shell/pbc';
|
|
5
|
-
import { configureDesignSystem } from '@genesislcap/foundation-ui';
|
|
6
|
-
import { baseLayerLuminance, StandardLuminance } from '@microsoft/fast-components';
|
|
7
|
-
import { FASTElement, customElement, observable, DOM } from '@microsoft/fast-element';
|
|
8
|
-
import { Container, inject, Registration } from '@microsoft/fast-foundation';
|
|
9
|
-
import { DefaultRouteRecognizer } from '@microsoft/fast-router';
|
|
10
|
-
import * as Components from '../components';
|
|
11
|
-
import { MainRouterConfig } from '../routes';
|
|
12
|
-
import { Store, StoreEventDetailMap } from '../store';
|
|
13
|
-
import designTokens from '../styles/design-tokens.json';
|
|
14
|
-
import { MainStyles as styles } from './main.styles';
|
|
15
|
-
import { DynamicTemplate as template, LoadingTemplate, MainTemplate } from './main.template';
|
|
16
|
-
|
|
17
|
-
const name = 'reconciliation-root';
|
|
1
|
+
import { GenesisElement, customElement, observable } from '@genesislcap/web-core';
|
|
2
|
+
import { FoundationReconciliationTemplate } from './main.template';
|
|
3
|
+
import { FoundationReconciliationStyles } from './main.styles';
|
|
18
4
|
|
|
19
5
|
/**
|
|
20
|
-
* @
|
|
21
|
-
* @fires store-ready - Fired when the store is ready.
|
|
6
|
+
* @public
|
|
22
7
|
*/
|
|
23
8
|
@customElement({
|
|
24
|
-
name,
|
|
25
|
-
template,
|
|
26
|
-
styles,
|
|
9
|
+
name: 'foundation-reconciliation',
|
|
10
|
+
template: FoundationReconciliationTemplate,
|
|
11
|
+
styles: FoundationReconciliationStyles,
|
|
27
12
|
})
|
|
28
|
-
export class
|
|
29
|
-
@App app: App;
|
|
30
|
-
@Connect connect!: Connect;
|
|
31
|
-
@Container container!: Container;
|
|
32
|
-
@Store store: Store;
|
|
33
|
-
|
|
34
|
-
@inject(MainRouterConfig) config!: MainRouterConfig;
|
|
35
|
-
|
|
36
|
-
@observable provider!: any;
|
|
13
|
+
export class FoundationReconciliation extends GenesisElement {
|
|
37
14
|
@observable ready: boolean = false;
|
|
38
|
-
@observable data: any = null;
|
|
39
15
|
|
|
40
16
|
async connectedCallback() {
|
|
41
|
-
this.registerDIDependencies();
|
|
42
17
|
super.connectedCallback();
|
|
43
|
-
this.addEventListeners();
|
|
44
|
-
this.readyStore();
|
|
45
|
-
await this.loadPBCs();
|
|
46
18
|
await this.loadRemotes();
|
|
47
|
-
DOM.queueUpdate(() => {
|
|
48
|
-
configureDesignSystem(this.provider, designTokens);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
disconnectedCallback() {
|
|
53
|
-
super.disconnectedCallback();
|
|
54
|
-
this.removeEventListeners();
|
|
55
|
-
this.disconnectStore();
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
onDarkModeToggle() {
|
|
59
|
-
baseLayerLuminance.setValueFor(
|
|
60
|
-
this.provider,
|
|
61
|
-
baseLayerLuminance.getValueFor(this.provider) === StandardLuminance.DarkMode
|
|
62
|
-
? StandardLuminance.LightMode
|
|
63
|
-
: StandardLuminance.DarkMode,
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
async loadPBCs() {
|
|
68
|
-
/**
|
|
69
|
-
* Import PBC assets that may have been added to the ./pbc directory by genx or by hand
|
|
70
|
-
*/
|
|
71
|
-
const pbcAssets = await importPBCAssets();
|
|
72
|
-
/**
|
|
73
|
-
* Register bulk assets
|
|
74
|
-
*/
|
|
75
|
-
this.app.registerAssets(pbcAssets);
|
|
76
|
-
/**
|
|
77
|
-
* Register the top-level route collection
|
|
78
|
-
*/
|
|
79
|
-
this.app.registerRouteCollection(this.config.routes);
|
|
80
19
|
}
|
|
81
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Load remote components
|
|
23
|
+
* @remarks With regards to module federation
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
82
26
|
async loadRemotes() {
|
|
83
|
-
const {
|
|
84
|
-
await
|
|
27
|
+
const { registerCommonRapidComponents } = await import('../components/components');
|
|
28
|
+
await registerCommonRapidComponents();
|
|
85
29
|
this.ready = true;
|
|
86
30
|
}
|
|
87
|
-
|
|
88
|
-
selectTemplate() {
|
|
89
|
-
return this.ready ? MainTemplate : LoadingTemplate;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private registerDIDependencies() {
|
|
93
|
-
this.container.register(
|
|
94
|
-
Registration.transient(DefaultRouteRecognizer, DefaultRouteRecognizer),
|
|
95
|
-
/**
|
|
96
|
-
* Register custom configs for core services and micro frontends. Note this can also be done via
|
|
97
|
-
* provideDesignSystem().register(...) if preferred.
|
|
98
|
-
*
|
|
99
|
-
* Registration.instance<CredentialManagerConfig>(CredentialManagerConfig, {
|
|
100
|
-
* ...defaultCredentialManagerConfig,
|
|
101
|
-
* cookie: {
|
|
102
|
-
* ...defaultCredentialManagerConfig.cookie,
|
|
103
|
-
* path: '/login',
|
|
104
|
-
* },
|
|
105
|
-
* }),
|
|
106
|
-
*/
|
|
107
|
-
Registration.instance<ConnectConfig>(ConnectConfig, {
|
|
108
|
-
...defaultConnectConfig,
|
|
109
|
-
connect: {
|
|
110
|
-
...defaultConnectConfig.connect,
|
|
111
|
-
heartbeatInterval: 15_000,
|
|
112
|
-
},
|
|
113
|
-
}),
|
|
114
|
-
/**
|
|
115
|
-
* // example of setting grid options for all grids from app level
|
|
116
|
-
* Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
|
|
117
|
-
* defaultCsvExportParams: csvExportParams,
|
|
118
|
-
* }),
|
|
119
|
-
*/
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
protected addEventListeners() {
|
|
124
|
-
this.addEventListener('store-connected', this.store.onConnected);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
protected removeEventListeners() {
|
|
128
|
-
this.removeEventListener('store-connected', this.store.onConnected);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
protected readyStore() {
|
|
132
|
-
// @ts-ignore
|
|
133
|
-
this.$emit('store-connected', this);
|
|
134
|
-
this.$emit('store-ready', true);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
protected disconnectStore() {
|
|
138
|
-
this.$emit('store-disconnected');
|
|
139
|
-
}
|
|
140
31
|
}
|
package/src/typings.d.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { assert, createComponentSuite } from '@genesislcap/foundation-testing';
|
|
2
|
+
import { ConfigurationsPanel } from '../../src/components/configurations-panel/configurations-panel';
|
|
3
|
+
|
|
4
|
+
const suite = createComponentSuite<ConfigurationsPanel>(
|
|
5
|
+
'ConfigurationsPanel',
|
|
6
|
+
'configurations-panel',
|
|
7
|
+
undefined,
|
|
8
|
+
[]
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
suite('can be instantiated', ({ element }) => {
|
|
12
|
+
assert.instance(element, ConfigurationsPanel);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
suite.run();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { assert, createComponentSuite } from '@genesislcap/foundation-testing';
|
|
2
|
+
import { FoundationReconciliation } from '../../src'
|
|
3
|
+
|
|
4
|
+
const suite = createComponentSuite<FoundationReconciliation>(
|
|
5
|
+
'FoundationReconciliation',
|
|
6
|
+
'foundation-reconciliation',
|
|
7
|
+
undefined,
|
|
8
|
+
[]
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
suite('can be instantiated', ({ element }) => {
|
|
12
|
+
assert.instance(element, FoundationReconciliation);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
suite('can be connected', async ({ element }) => {
|
|
16
|
+
await element.connectedCallback();
|
|
17
|
+
assert.equal(element.ready, true);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
suite.run();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { assert, createComponentSuite } from '@genesislcap/foundation-testing';
|
|
2
|
+
import { ReconciliationsPanel } from '../../src/components/reconciliations-panel/reconciliations-panel';
|
|
3
|
+
|
|
4
|
+
const suite = createComponentSuite<ReconciliationsPanel>(
|
|
5
|
+
'ReconciliationsPanel',
|
|
6
|
+
'reconciliations-panel',
|
|
7
|
+
undefined,
|
|
8
|
+
[]
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
suite('can be instantiated', ({ element }) => {
|
|
12
|
+
assert.instance(element, ReconciliationsPanel);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
suite.run();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/layouts/default.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAwB3D,eAAO,MAAM,WAAW,mBASvB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAiHzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Auth, Session } from '@genesislcap/foundation-comms';
|
|
2
|
-
import { LoginConfig, Settings as LoginSettings } from '@genesislcap/foundation-login';
|
|
3
|
-
import { FoundationRouterConfiguration } from '@genesislcap/foundation-ui';
|
|
4
|
-
export declare class MainRouterConfig extends FoundationRouterConfiguration<LoginSettings> {
|
|
5
|
-
private auth;
|
|
6
|
-
private session;
|
|
7
|
-
private loginConfig;
|
|
8
|
-
constructor(auth: Auth, session: Session, loginConfig?: LoginConfig);
|
|
9
|
-
configure(): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/routes/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAEL,WAAW,EACX,QAAQ,IAAI,aAAa,EAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAqB3E,qBAAa,gBAAiB,SAAQ,6BAA6B,CAAC,aAAa,CAAC;IAExE,OAAO,CAAC,IAAI;IACT,OAAO,CAAC,OAAO;IAExB,OAAO,CAAC,WAAW;gBAHL,IAAI,EAAE,IAAI,EACP,OAAO,EAAE,OAAO,EAEzB,WAAW,GAAE,WAA0E;IAK3F,SAAS;CAiGhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.d.ts","sourceRoot":"","sources":["../../../../src/routes/home/home.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIrE,qBAKa,IAAK,SAAQ,WAAW;;CAIpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.styles.d.ts","sourceRoot":"","sources":["../../../../src/routes/home/home.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,iDAItB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"home.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/home/home.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,YAAY,2DAGxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.d.ts","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAKrE,qBAKa,QAAS,SAAQ,WAAW;IAChC,iBAAiB;CAIzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.styles.d.ts","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,iDAO1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/not-found/not-found.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,eAAO,MAAM,gBAAgB,+DAE5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CustomEventMap } from '@genesislcap/foundation-events';
|
|
2
|
-
import { StoreRoot, StoreRootEventDetailMap } from '@genesislcap/foundation-store';
|
|
3
|
-
export interface Store extends StoreRoot {
|
|
4
|
-
}
|
|
5
|
-
export type StoreEventDetailMap = StoreRootEventDetailMap & {};
|
|
6
|
-
declare global {
|
|
7
|
-
interface HTMLElementEventMap extends CustomEventMap<StoreEventDetailMap> {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare const Store: import("@microsoft/fast-foundation").InterfaceSymbol<import("@microsoft/fast-foundation").Key>;
|
|
11
|
-
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,EAGL,SAAS,EACT,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,KAAM,SAAQ,SAAS;CAAG;AAE3C,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG,EAAE,CAAC;AAE/D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAoB,SAAQ,cAAc,CAAC,mBAAmB,CAAC;KAAG;CAC7E;AAaD,eAAO,MAAM,KAAK,gGAAuC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const stylesCardHeading: import("@microsoft/fast-element").ElementStyles;
|
|
2
|
-
export declare const mixinScreen: (display?: string) => string;
|
|
3
|
-
export declare const mixinCardStyles = "\n padding: calc(var(--design-unit) * 2px);\n";
|
|
4
|
-
export declare const hideZeroButtonParts = "\n zero-button::part(info1),\n zero-button::part(info2) {\n display: none;\n }\n";
|
|
5
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/styles/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,iDAI7B,CAAC;AAEF,eAAO,MAAM,WAAW,aAAa,MAAM,WAM1C,CAAC;AAEF,eAAO,MAAM,eAAe,mDAE3B,CAAC;AAKF,eAAO,MAAM,mBAAmB,2FAK/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/styles/typography.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,QAU3B,CAAC;AAEF,eAAO,MAAM,cAAc,QAAiC,CAAC;AAE7D,eAAO,MAAM,aAAa,wDAIzB,CAAC"}
|
package/dist/dts/types.d.ts
DELETED
package/dist/dts/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,8DAA+B,CAAC;AAEpD,eAAO,MAAM,OAAO,8DAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|