@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.
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 +3 -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 +26 -29
  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 +5 -18
  53. package/dist/esm/main/main.styles.js.map +1 -1
  54. package/dist/esm/main/main.template.js +16 -18
  55. package/dist/esm/main/main.template.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/components/components.ts +40 -63
  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 +8 -18
  67. package/src/main/main.template.ts +19 -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,11 @@
1
+ import { FASTElement, customElement } from '@microsoft/fast-element';
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 FASTElement {
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
1
  import { css } from '@microsoft/fast-element';
3
- import { stylesFontFaces } from '../styles';
4
- import './main.css';
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
+ zero-tabs,
9
+ zero-tab-panel {
20
10
  height: 100%;
21
11
  }
22
- `.withBehaviors(getApp().registerStylesTarget('main'));
12
+ `;
@@ -1,24 +1,22 @@
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 '@microsoft/fast-element';
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
+ <zero-tabs appearance="secondary" class="tabs">
10
+ <zero-tab appearance="secondary" slot="configurations-tab">Configurations</zero-tab>
11
+ <zero-tab appearance="secondary" slot="reconciliations-tab">Reconciliations</zero-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
+ <zero-tab-panel slot="configurations-tab" id="configurations-tab-panel">
14
+ <configurations-panel></configurations-panel>
15
+ </zero-tab-panel>
16
+
17
+ <zero-tab-panel slot="reconciliations-tab" id="reconciliations-tab-panel">
18
+ <reconciliations-panel></reconciliations-panel>
19
+ </zero-tab-panel>
20
+ </zero-tabs>
21
+ </div>
24
22
  `;
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 { FASTElement, customElement, observable } from '@microsoft/fast-element';
2
+ import { FoundationReconciliationTemplate } from './main.template';
3
+ import { FoundationReconciliationStyles } from './main.styles';
4
+ import { loadRemotes } from '../components/components';
18
5
 
19
6
  /**
20
- * @fires store-connected - Fired when the store is connected.
21
- * @fires store-ready - Fired when the store is ready.
7
+ * @public
22
8
  */
23
9
  @customElement({
24
- name,
25
- template,
26
- styles,
10
+ name: 'foundation-reconciliation',
11
+ template: FoundationReconciliationTemplate,
12
+ styles: FoundationReconciliationStyles,
27
13
  })
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;
14
+ export class FoundationReconciliation extends FASTElement {
37
15
  @observable ready: boolean = false;
38
- @observable data: any = null;
39
16
 
40
17
  async connectedCallback() {
41
- this.registerDIDependencies();
42
18
  super.connectedCallback();
43
- this.addEventListeners();
44
- this.readyStore();
45
- await this.loadPBCs();
46
19
  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
20
  }
81
21
 
22
+ /**
23
+ * Load remote components
24
+ * @remarks With regards to module federation
25
+ * @internal
26
+ */
82
27
  async loadRemotes() {
83
- const { registerComponents } = Components;
84
- await registerComponents();
28
+ const remoteComponents = await loadRemotes();
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"}
@@ -1,139 +0,0 @@
1
- import { getApp } from '@genesislcap/foundation-shell/app';
2
- import { css, html } from '@microsoft/fast-element';
3
- import { FASTElementLayout } from '@microsoft/fast-router';
4
- const app = getApp();
5
- const baseLayoutCss = css `
6
- .container {
7
- width: 100%;
8
- height: 100%;
9
- display: block;
10
- position: relative;
11
- }
12
-
13
- .content {
14
- position: absolute;
15
- top: 0;
16
- bottom: 0;
17
- left: 0;
18
- right: 0;
19
- }
20
- `;
21
- export const loginLayout = new FASTElementLayout(html `
22
- <div class="container">
23
- <div class="content">
24
- <slot></slot>
25
- </div>
26
- </div>
27
- `, baseLayoutCss);
28
- export const defaultLayout = new FASTElementLayout(html `
29
- <div class="container">
30
- ${app.registerElementsTarget('layout-start')}
31
- <foundation-header
32
- show-luminance-toggle-button
33
- show-misc-toggle-button
34
- :routeNavItems=${(x) => x.config.getNavItems()}
35
- >
36
- <div slot="menu-contents">
37
- <span slot="group-title-1">GROUP SLOT</span>
38
- <zero-tree-view slot="nav-items-1">
39
- <zero-tree-item>
40
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
41
- Slot Tree Item
42
- </zero-tree-item>
43
- <zero-tree-item>
44
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
45
- Slot Tree Item
46
- </zero-tree-item>
47
- <zero-tree-item>
48
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
49
- Slot Tree Item
50
- </zero-tree-item>
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-view>
56
- <span slot="group-title-2">GROUP SLOT 2</span>
57
- <zero-tree-view slot="nav-items-2">
58
- <zero-tree-item>
59
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
60
- Slot Tree Item 2
61
- </zero-tree-item>
62
- <zero-tree-item>
63
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
64
- Slot Tree Item 2
65
- </zero-tree-item>
66
- <zero-tree-item>
67
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
68
- Slot Tree Item 2
69
- </zero-tree-item>
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-view>
75
- <span slot="group-title-3">GROUP SLOT 3</span>
76
- <zero-tree-view slot="nav-items-3">
77
- <zero-tree-item>
78
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
79
- User Slot
80
- </zero-tree-item>
81
- <zero-tree-item>
82
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
83
- Reporting Slot
84
- </zero-tree-item>
85
- <zero-tree-item>
86
- <zero-icon variant="solid" name="location-arrow"></zero-icon>
87
- Settings Slot
88
- </zero-tree-item>
89
- </zero-tree-view>
90
- </div>
91
- </foundation-header>
92
- <div class="content">
93
- ${app.registerElementsTarget('content-start')}
94
- <slot></slot>
95
- ${app.registerElementsTarget(['content', 'content-end'])}
96
- </div>
97
- ${app.registerElementsTarget(['layout', 'layout-end'])}
98
- </div>
99
- `, css `
100
- ${baseLayoutCss}
101
-
102
- .content {
103
- padding-top: 60px;
104
- }
105
-
106
- foundation-header {
107
- z-index: 999;
108
- position: absolute;
109
- top: 0;
110
- left: 0;
111
- width: 100%;
112
- align-items: center;
113
- border: none;
114
- }
115
-
116
- zero-tree-item zero-icon {
117
- color: #879ba6;
118
- padding-right: 10px;
119
- }
120
-
121
- foundation-header::part(nav-visibility-icon) {
122
- color: var(--accent-foreground-rest);
123
- }
124
-
125
- foundation-header::part(notifications-button) {
126
- position: relative;
127
- }
128
-
129
- zero-flyout::part(flyout) {
130
- width: 40%;
131
- min-width: 320px;
132
- padding: 0;
133
- }
134
-
135
- zero-flyout::part(content) {
136
- height: 100%;
137
- }
138
- `.withBehaviors(app.registerStylesTarget('layout')));
139
- //# sourceMappingURL=default.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.js","sourceRoot":"","sources":["../../../src/layouts/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAK3D,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;AAErB,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;CAexB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,iBAAiB,CAC9C,IAAI,CAAiB;;;;;;GAMpB,EACD,aAAa,CACd,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,iBAAiB,CAChD,IAAI,CAAiB;;QAEf,GAAG,CAAC,sBAAsB,CAAC,cAAc,CAAC;;;;yBAIzB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2D5C,GAAG,CAAC,sBAAsB,CAAC,eAAe,CAAC;;UAE3C,GAAG,CAAC,sBAAsB,CAAC,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;;QAExD,GAAG,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;;GAEzD,EACD,GAAG,CAAA;MACC,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsChB,CAAC,aAAa,CAAC,GAAG,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CACpD,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './default';
2
- //# sourceMappingURL=index.js.map