@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.
Files changed (163) hide show
  1. package/.gradle/8.3/executionHistory/executionHistory.bin +0 -0
  2. package/.gradle/8.3/executionHistory/executionHistory.lock +0 -0
  3. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  4. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  5. package/.gradle/file-system.probe +0 -0
  6. package/build/distributions/web-distribution.tar +0 -0
  7. package/build/distributions/web-distribution.zip +0 -0
  8. package/dist/dts/components/components.d.ts +1 -1
  9. package/dist/dts/components/components.d.ts.map +1 -1
  10. package/dist/dts/components/configurations-panel/configurations-panel.d.ts +5 -0
  11. package/dist/dts/components/configurations-panel/configurations-panel.d.ts.map +1 -0
  12. package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts +2 -0
  13. package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts.map +1 -0
  14. package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts +3 -0
  15. package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts.map +1 -0
  16. package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts +4 -0
  17. package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts.map +1 -0
  18. package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts +2 -0
  19. package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts.map +1 -0
  20. package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts +3 -0
  21. package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts.map +1 -0
  22. package/dist/dts/index.d.ts +1 -1
  23. package/dist/dts/index.d.ts.map +1 -1
  24. package/dist/dts/main/index.d.ts +1 -0
  25. package/dist/dts/main/index.d.ts.map +1 -1
  26. package/dist/dts/main/main.d.ts +2 -338
  27. package/dist/dts/main/main.d.ts.map +1 -1
  28. package/dist/dts/main/main.styles.d.ts +1 -2
  29. package/dist/dts/main/main.styles.d.ts.map +1 -1
  30. package/dist/dts/main/main.template.d.ts +2 -5
  31. package/dist/dts/main/main.template.d.ts.map +1 -1
  32. package/dist/esm/components/components.js +10 -42
  33. package/dist/esm/components/components.js.map +1 -1
  34. package/dist/esm/components/configurations-panel/configurations-panel.js +17 -0
  35. package/dist/esm/components/configurations-panel/configurations-panel.js.map +1 -0
  36. package/dist/esm/components/configurations-panel/configurations-panel.styles.js +63 -0
  37. package/dist/esm/components/configurations-panel/configurations-panel.styles.js.map +1 -0
  38. package/dist/esm/components/configurations-panel/configurations-panel.template.js +33 -0
  39. package/dist/esm/components/configurations-panel/configurations-panel.template.js.map +1 -0
  40. package/dist/esm/components/reconciliations-panel/reconciliations-panel.js +15 -0
  41. package/dist/esm/components/reconciliations-panel/reconciliations-panel.js.map +1 -0
  42. package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js +4 -0
  43. package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js.map +1 -0
  44. package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js +6 -0
  45. package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js.map +1 -0
  46. package/dist/esm/index.js +1 -1
  47. package/dist/esm/index.js.map +1 -1
  48. package/dist/esm/main/index.js +1 -0
  49. package/dist/esm/main/index.js.map +1 -1
  50. package/dist/esm/main/main.js +13 -91
  51. package/dist/esm/main/main.js.map +1 -1
  52. package/dist/esm/main/main.styles.js +6 -19
  53. package/dist/esm/main/main.styles.js.map +1 -1
  54. package/dist/esm/main/main.template.js +18 -18
  55. package/dist/esm/main/main.template.js.map +1 -1
  56. package/package.json +46 -48
  57. package/src/components/components.ts +21 -65
  58. package/src/components/configurations-panel/configurations-panel.styles.ts +65 -0
  59. package/src/components/configurations-panel/configurations-panel.template.ts +34 -0
  60. package/src/components/configurations-panel/configurations-panel.ts +14 -0
  61. package/src/components/reconciliations-panel/reconciliations-panel.styles.ts +4 -0
  62. package/src/components/reconciliations-panel/reconciliations-panel.template.ts +7 -0
  63. package/src/components/reconciliations-panel/reconciliations-panel.ts +11 -0
  64. package/src/index.ts +1 -1
  65. package/src/main/index.ts +1 -0
  66. package/src/main/main.styles.ts +9 -19
  67. package/src/main/main.template.ts +21 -21
  68. package/src/main/main.ts +15 -124
  69. package/src/typings.d.ts +0 -4
  70. package/test/unit/configurations-panel.test.ts +15 -0
  71. package/test/unit/main.test.ts +20 -0
  72. package/test/unit/reconciliations-panel.test.ts +15 -0
  73. package/dist/dts/components/index.d.ts +0 -2
  74. package/dist/dts/components/index.d.ts.map +0 -1
  75. package/dist/dts/layouts/default.d.ts +0 -4
  76. package/dist/dts/layouts/default.d.ts.map +0 -1
  77. package/dist/dts/layouts/index.d.ts +0 -2
  78. package/dist/dts/layouts/index.d.ts.map +0 -1
  79. package/dist/dts/routes/config.d.ts +0 -11
  80. package/dist/dts/routes/config.d.ts.map +0 -1
  81. package/dist/dts/routes/home/home.d.ts +0 -5
  82. package/dist/dts/routes/home/home.d.ts.map +0 -1
  83. package/dist/dts/routes/home/home.styles.d.ts +0 -2
  84. package/dist/dts/routes/home/home.styles.d.ts.map +0 -1
  85. package/dist/dts/routes/home/home.template.d.ts +0 -3
  86. package/dist/dts/routes/home/home.template.d.ts.map +0 -1
  87. package/dist/dts/routes/index.d.ts +0 -2
  88. package/dist/dts/routes/index.d.ts.map +0 -1
  89. package/dist/dts/routes/not-found/not-found.d.ts +0 -5
  90. package/dist/dts/routes/not-found/not-found.d.ts.map +0 -1
  91. package/dist/dts/routes/not-found/not-found.styles.d.ts +0 -2
  92. package/dist/dts/routes/not-found/not-found.styles.d.ts.map +0 -1
  93. package/dist/dts/routes/not-found/not-found.template.d.ts +0 -3
  94. package/dist/dts/routes/not-found/not-found.template.d.ts.map +0 -1
  95. package/dist/dts/store/index.d.ts +0 -2
  96. package/dist/dts/store/index.d.ts.map +0 -1
  97. package/dist/dts/store/store.d.ts +0 -11
  98. package/dist/dts/store/store.d.ts.map +0 -1
  99. package/dist/dts/styles/index.d.ts +0 -3
  100. package/dist/dts/styles/index.d.ts.map +0 -1
  101. package/dist/dts/styles/styles.d.ts +0 -5
  102. package/dist/dts/styles/styles.d.ts.map +0 -1
  103. package/dist/dts/styles/typography.d.ts +0 -4
  104. package/dist/dts/styles/typography.d.ts.map +0 -1
  105. package/dist/dts/types.d.ts +0 -3
  106. package/dist/dts/types.d.ts.map +0 -1
  107. package/dist/esm/components/index.js +0 -2
  108. package/dist/esm/components/index.js.map +0 -1
  109. package/dist/esm/layouts/default.js +0 -139
  110. package/dist/esm/layouts/default.js.map +0 -1
  111. package/dist/esm/layouts/index.js +0 -2
  112. package/dist/esm/layouts/index.js.map +0 -1
  113. package/dist/esm/main/main.css +0 -17
  114. package/dist/esm/routes/config.js +0 -89
  115. package/dist/esm/routes/config.js.map +0 -1
  116. package/dist/esm/routes/home/home.js +0 -18
  117. package/dist/esm/routes/home/home.js.map +0 -1
  118. package/dist/esm/routes/home/home.styles.js +0 -7
  119. package/dist/esm/routes/home/home.styles.js.map +0 -1
  120. package/dist/esm/routes/home/home.template.js +0 -6
  121. package/dist/esm/routes/home/home.template.js.map +0 -1
  122. package/dist/esm/routes/index.js +0 -2
  123. package/dist/esm/routes/index.js.map +0 -1
  124. package/dist/esm/routes/not-found/not-found.js +0 -20
  125. package/dist/esm/routes/not-found/not-found.js.map +0 -1
  126. package/dist/esm/routes/not-found/not-found.styles.js +0 -11
  127. package/dist/esm/routes/not-found/not-found.styles.js.map +0 -1
  128. package/dist/esm/routes/not-found/not-found.template.js +0 -5
  129. package/dist/esm/routes/not-found/not-found.template.js.map +0 -1
  130. package/dist/esm/store/index.js +0 -2
  131. package/dist/esm/store/index.js.map +0 -1
  132. package/dist/esm/store/store.js +0 -10
  133. package/dist/esm/store/store.js.map +0 -1
  134. package/dist/esm/styles/design-tokens.json +0 -56
  135. package/dist/esm/styles/index.js +0 -3
  136. package/dist/esm/styles/index.js.map +0 -1
  137. package/dist/esm/styles/styles.js +0 -24
  138. package/dist/esm/styles/styles.js.map +0 -1
  139. package/dist/esm/styles/typography.js +0 -23
  140. package/dist/esm/styles/typography.js.map +0 -1
  141. package/dist/esm/types.js +0 -4
  142. package/dist/esm/types.js.map +0 -1
  143. package/src/components/index.ts +0 -1
  144. package/src/layouts/default.ts +0 -152
  145. package/src/layouts/index.ts +0 -1
  146. package/src/main/main.css +0 -17
  147. package/src/pbc/README.md +0 -8
  148. package/src/routes/config.ts +0 -135
  149. package/src/routes/home/home.styles.ts +0 -7
  150. package/src/routes/home/home.template.ts +0 -7
  151. package/src/routes/home/home.ts +0 -14
  152. package/src/routes/index.ts +0 -1
  153. package/src/routes/not-found/not-found.styles.ts +0 -11
  154. package/src/routes/not-found/not-found.template.ts +0 -6
  155. package/src/routes/not-found/not-found.ts +0 -16
  156. package/src/store/index.ts +0 -1
  157. package/src/store/store.ts +0 -29
  158. package/src/styles/design-tokens.json +0 -56
  159. package/src/styles/index.ts +0 -2
  160. package/src/styles/styles.ts +0 -30
  161. package/src/styles/typography.ts +0 -25
  162. package/src/types.ts +0 -5
  163. 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,4 @@
1
+ import { css } from '@genesislcap/web-core';
2
+
3
+ export const ReconciliationsPanelStyles = css`
4
+ `;
@@ -0,0 +1,7 @@
1
+ import { html } from '@genesislcap/web-core';
2
+ import { ReconciliationsPanel } from './reconciliations-panel';
3
+
4
+ export const ReconciliationsPanelTemplate = html<ReconciliationsPanel>`
5
+ <div class="reconciliations-panel">
6
+ </div>
7
+ `;
@@ -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/index';
1
+ export * from './main';
package/src/main/index.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './main.template';
2
+ export * from './main.styles';
2
3
  export * from './main';
@@ -1,22 +1,12 @@
1
- import { getApp } from '@genesislcap/foundation-shell/app';
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
- export const MainStyles = css`
7
- ${stylesFontFaces}
8
- :host {
9
- contain: content;
10
-
11
- --nav-height: 60px;
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
- `.withBehaviors(getApp().registerStylesTarget('main'));
12
+ `;
@@ -1,24 +1,24 @@
1
- import { LAYOUT_POPOUT_CONTAINER_CLASS } from '@genesislcap/foundation-layout';
2
- import { html, ref } from '@microsoft/fast-element';
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
- export const DynamicTemplate: ViewTemplate<MainApplication> = html`
7
- <template>
8
- <zero-design-system-provider ${ref('provider')} class="${LAYOUT_POPOUT_CONTAINER_CLASS}">
9
- <div class="dynamic-template">${(x) => x.selectTemplate()}</div>
10
- </zero-design-system-provider>
11
- </template>
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
- export const MainTemplate: ViewTemplate<MainApplication> = html`
19
- <foundation-router
20
- @luminance-icon-clicked=${(x) => x.onDarkModeToggle()}
21
- :config=${(x) => x.config}
22
- :store=${(x) => x.store}
23
- ></foundation-router>
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 { Connect, ConnectConfig, defaultConnectConfig } from '@genesislcap/foundation-comms';
2
- import { EventEmitter } from '@genesislcap/foundation-events';
3
- import { App } from '@genesislcap/foundation-shell/app';
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
- * @fires store-connected - Fired when the store is connected.
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 MainApplication extends EventEmitter<StoreEventDetailMap>(FASTElement) {
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 { registerComponents } = Components;
84
- await registerComponents();
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
@@ -1,5 +1 @@
1
1
  declare module 'foundationZero/ZeroDesignSystem';
2
- declare module '*.png';
3
- declare module '*.jpg';
4
- declare module '*.svg';
5
- declare module '*.css';
@@ -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,2 +0,0 @@
1
- export * from './components';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FASTElementLayout } from '@microsoft/fast-router';
2
- export declare const loginLayout: FASTElementLayout;
3
- export declare const defaultLayout: FASTElementLayout;
4
- //# sourceMappingURL=default.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './default';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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,5 +0,0 @@
1
- import { FASTElement } from '@microsoft/fast-element';
2
- export declare class Home extends FASTElement {
3
- constructor();
4
- }
5
- //# sourceMappingURL=home.d.ts.map
@@ -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,2 +0,0 @@
1
- export declare const HomeStyles: import("@microsoft/fast-element").ElementStyles;
2
- //# sourceMappingURL=home.styles.d.ts.map
@@ -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,3 +0,0 @@
1
- import type { Home } from './home';
2
- export declare const HomeTemplate: import("@microsoft/fast-element").ViewTemplate<Home, any>;
3
- //# sourceMappingURL=home.template.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './config';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -1,5 +0,0 @@
1
- import { FASTElement } from '@microsoft/fast-element';
2
- export declare class NotFound extends FASTElement {
3
- connectedCallback(): void;
4
- }
5
- //# sourceMappingURL=not-found.d.ts.map
@@ -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,2 +0,0 @@
1
- export declare const NotFoundStyles: import("@microsoft/fast-element").ElementStyles;
2
- //# sourceMappingURL=not-found.styles.d.ts.map
@@ -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,3 +0,0 @@
1
- import type { NotFound } from './not-found';
2
- export declare const NotFoundTemplate: import("@microsoft/fast-element").ViewTemplate<NotFound, any>;
3
- //# sourceMappingURL=not-found.template.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './store';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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,3 +0,0 @@
1
- export * from './styles';
2
- export * from './typography';
3
- //# sourceMappingURL=index.d.ts.map
@@ -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,4 +0,0 @@
1
- export declare const stylesFontFaces: string;
2
- export declare const mixinCardTitle: string;
3
- export declare const stylesHeaders = "\n h1, h2, h3, h4, h5, h6 {\n margin: 0;\n }\n";
4
- //# sourceMappingURL=typography.d.ts.map
@@ -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"}
@@ -1,3 +0,0 @@
1
- export declare const HostENV: import("@microsoft/fast-foundation").InterfaceSymbol<string>;
2
- export declare const HostURL: import("@microsoft/fast-foundation").InterfaceSymbol<string>;
3
- //# sourceMappingURL=types.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './components';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}