@genesislcap/pbc-notify-seed 0.0.1 → 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.
@@ -4,7 +4,7 @@
4
4
  "gsf": "7.*"
5
5
  },
6
6
  "dependencies": {
7
- "pbcNotify": "1.0.5",
7
+ "pbcNotify": "1.0.11",
8
8
  "serverDepId": "7.1.1-SNAPSHOT",
9
9
  "fileServerDepId": "7.1.0"
10
10
  }
@@ -1,6 +1,5 @@
1
1
  import type { ToastButton } from '@genesislcap/foundation-notifications';
2
2
  import type { AppElement } from '@genesislcap/foundation-shell/app';
3
- import { Flyout } from '@genesislcap/foundation-ui';
4
3
  import { html } from '@microsoft/fast-element';
5
4
  import { getNotifyStore } from './stores';
6
5
 
@@ -35,12 +34,10 @@ export const inboxFlyout: AppElement = {
35
34
  position="right"
36
35
  @closed=${(x, c) => c.parent.$emit('change-inbox-display', false)}
37
36
  ?closed=${() => !store.inboxDisplayState}
38
- displayHeader=${false}
39
37
  data-pbc-asset-id="inbox-flyout"
40
38
  >
41
- <foundation-inbox
42
- @close=${(x, c) => (<Flyout>(<HTMLElement>c.event.target).parentNode).closeFlyout()}
43
- ></foundation-inbox>
39
+ <div slot="title">Alerts</div>
40
+ <foundation-inbox></foundation-inbox>
44
41
  </zero-flyout>
45
42
  `,
46
43
  };
@@ -6,13 +6,14 @@ import type { AppMetadata } from '@genesislcap/foundation-shell/app';
6
6
  export const metadata: AppMetadata = {
7
7
  name: '@genesislcap/pbc-notify-ui',
8
8
  description: 'Genesis Notify PBC',
9
- version: '0.0.1',
9
+ version: '0.0.3',
10
10
  prerequisites: {
11
11
  '@genesislcap/foundation-ui': '14.*',
12
12
  gsf: '7.*',
13
13
  },
14
14
  dependencies: {
15
- '@genesislcap/pbc-notify-ui': '1.0.5',
15
+ '@genesislcap/pbc-notify-ui': '1.0.11',
16
+ '@genesislcap/foundation-notifications': '14.*',
16
17
  serverDepId: '7.1.1-SNAPSHOT',
17
18
  },
18
19
  };
@@ -1,7 +1,6 @@
1
- import { FoundationAlerts } from '@genesislcap/pbc-notify-ui';
2
1
  import { FoundationInbox } from '@genesislcap/pbc-notify-ui';
3
2
  import type { AppRegistrationContext } from '@genesislcap/foundation-shell/app';
4
- import { NotificationDashboard } from '@genesislcap/pbc-notify-ui';
3
+ import { FoundationNotificationDashboard } from '@genesislcap/pbc-notify-ui';
5
4
 
6
5
  /**
7
6
  * @privateRemarks
@@ -15,8 +14,7 @@ export async function register(context: AppRegistrationContext) {
15
14
  * const { provideDesignSystem } = context.designSystem;
16
15
  * provideDesignSystem().register(foundationAlerts);
17
16
  */
18
- NotificationDashboard;
19
- FoundationAlerts;
17
+ FoundationNotificationDashboard;
20
18
  FoundationInbox;
21
19
  } catch (e) {
22
20
  console.error('Error registering notify', e);
@@ -5,14 +5,7 @@ import { css, customElement, FASTElement, html } from '@microsoft/fast-element';
5
5
  * @internal
6
6
  */
7
7
  const notificationsDashboardTemplate = html`
8
- <section>
9
- <header>
10
- <zero-button @click=${(x) => x.$emit('change-alert-rules-display', true)}>
11
- Show Alerts rules List
12
- </zero-button>
13
- </header>
14
8
  <foundation-notification-dashboard></foundation-notification-dashboard>
15
- </section>
16
9
  `;
17
10
 
18
11
  /**
@@ -27,6 +20,10 @@ const notificationsDashboardStyles = css`
27
20
  height: 100%;
28
21
  }
29
22
 
23
+ foundation-notification-dashboard {
24
+ width: 100%;
25
+ }
26
+
30
27
  header {
31
28
  width: 100%;
32
29
  text-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-seed",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Genesis Notify PBC",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "publishConfig": {
@@ -6,13 +6,13 @@ notify {
6
6
  {{/if}}
7
7
  {{#if emailGatewayEnabled}}
8
8
  email("Email") {
9
- smtpHost = {{smtpHost}}
9
+ smtpHost = "{{smtpHost}}"
10
10
  smtpPort = {{smtpPort}}
11
- smtpUser = {{smtpUser}}
12
- smtpPw = {{smtpPw}}
11
+ smtpUser = "{{smtpUser}}"
12
+ smtpPw = "{{smtpPw}}"
13
13
  smtpProtocol = {{smtpProtocol}}
14
- systemDefaultUserName = {{systemDefaultUserName}}
15
- systemDefaultEmail = {{systemDefaultEmail}}
14
+ systemDefaultUserName = "{{systemDefaultUserName}}"
15
+ systemDefaultEmail = "{{systemDefaultEmail}}"
16
16
  sendFromUserAddress = false
17
17
  }
18
18