@genesislcap/pbc-notify-seed 1.0.1 → 1.1.1-pre-release.1
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/.genx/versions.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"prerequisites": {
|
|
3
3
|
"foundationUI": "14.*",
|
|
4
|
-
"gsf": "
|
|
4
|
+
"gsf": "8.*"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"pbcNotify": "1.0.
|
|
8
|
-
"serverDepId": "
|
|
9
|
-
"fileServerDepId": "
|
|
7
|
+
"pbcNotify": "1.0.36",
|
|
8
|
+
"serverDepId": "8.1.0-RC0",
|
|
9
|
+
"fileServerDepId": "8.1.0-RC0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ToastButton } from '@genesislcap/foundation-notifications';
|
|
2
2
|
import type { AppElement } from '@genesislcap/foundation-shell/app';
|
|
3
|
-
import { html } from '@
|
|
3
|
+
import { html } from '@genesislcap/web-core';
|
|
4
4
|
import { getNotifyStore } from './stores';
|
|
5
5
|
|
|
6
6
|
const store = getNotifyStore();
|
|
@@ -18,7 +18,7 @@ export const notificationsButton: AppElement = {
|
|
|
18
18
|
data-pbc-asset-id="notifications-button"
|
|
19
19
|
@click=${(x, c) => c.parent.$emit('notification-icon-clicked')}
|
|
20
20
|
>
|
|
21
|
-
<
|
|
21
|
+
<rapid-icon variant="regular" name="bell" part="notifications-icon"></rapid-icon>
|
|
22
22
|
<foundation-inbox-counter part="notifications-inbox-counter"></foundation-inbox-counter>
|
|
23
23
|
</div>
|
|
24
24
|
`,
|
|
@@ -30,7 +30,7 @@ export const notificationsButton: AppElement = {
|
|
|
30
30
|
export const inboxFlyout: AppElement = {
|
|
31
31
|
targetId: 'layout',
|
|
32
32
|
elements: html`
|
|
33
|
-
<
|
|
33
|
+
<rapid-flyout
|
|
34
34
|
position="right"
|
|
35
35
|
@closed=${(x, c) => c.parent.$emit('change-inbox-display', false)}
|
|
36
36
|
?closed=${() => !store.inboxDisplayState}
|
|
@@ -38,7 +38,7 @@ export const inboxFlyout: AppElement = {
|
|
|
38
38
|
>
|
|
39
39
|
<div slot="title">Alerts Center</div>
|
|
40
40
|
<foundation-inbox></foundation-inbox>
|
|
41
|
-
</
|
|
41
|
+
</rapid-flyout>
|
|
42
42
|
`,
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@ export const inboxFlyout: AppElement = {
|
|
|
48
48
|
export const notificationListener: AppElement = {
|
|
49
49
|
targetId: 'layout',
|
|
50
50
|
elements: html`
|
|
51
|
-
<
|
|
51
|
+
<rapid-notification-listener
|
|
52
52
|
resource-name="ALL_NOTIFY_ALERT_RECORDS"
|
|
53
53
|
:toastButtons="${(): ToastButton[] => [
|
|
54
54
|
// {
|
|
@@ -62,7 +62,7 @@ export const notificationListener: AppElement = {
|
|
|
62
62
|
// },
|
|
63
63
|
]}"
|
|
64
64
|
data-pbc-asset-id="notification-listener"
|
|
65
|
-
></
|
|
65
|
+
></rapid-notification-listener>
|
|
66
66
|
`,
|
|
67
67
|
};
|
|
68
68
|
|
|
@@ -6,14 +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: '1.
|
|
9
|
+
version: '1.1.1-pre-release.1',
|
|
10
10
|
prerequisites: {
|
|
11
11
|
'@genesislcap/foundation-ui': '14.*',
|
|
12
|
-
gsf: '
|
|
12
|
+
gsf: '8.*',
|
|
13
13
|
},
|
|
14
14
|
dependencies: {
|
|
15
|
-
'@genesislcap/pbc-notify-ui': '1.0.
|
|
15
|
+
'@genesislcap/pbc-notify-ui': '1.0.36',
|
|
16
16
|
'@genesislcap/foundation-notifications': '14.*',
|
|
17
|
-
serverDepId: '
|
|
17
|
+
serverDepId: '8.1.0-RC0',
|
|
18
18
|
},
|
|
19
19
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { AppRoute } from '@genesislcap/foundation-shell/app';
|
|
2
|
-
import { css, customElement,
|
|
2
|
+
import { css, customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
const notificationsDashboardTemplate = html`
|
|
8
|
-
|
|
8
|
+
<foundation-notification-dashboard></foundation-notification-dashboard>
|
|
9
9
|
`;
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -40,12 +40,12 @@ const notificationsDashboardStyles = css`
|
|
|
40
40
|
overflow-y: auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
rapid-modal::part(dialog) {
|
|
44
44
|
padding: 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
rapid-modal.edit .wrapper,
|
|
48
|
+
rapid-modal.add .wrapper {
|
|
49
49
|
padding: 32px 12px;
|
|
50
50
|
}
|
|
51
51
|
`;
|
|
@@ -58,7 +58,7 @@ const notificationsDashboardStyles = css`
|
|
|
58
58
|
template: notificationsDashboardTemplate,
|
|
59
59
|
styles: notificationsDashboardStyles,
|
|
60
60
|
})
|
|
61
|
-
class Notifications extends
|
|
61
|
+
class Notifications extends GenesisElement {}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* @public
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { NavEventDetailMap } from '@genesislcap/foundation-header';
|
|
2
2
|
import type { AppStore } from '@genesislcap/foundation-shell/app';
|
|
3
3
|
import { AbstractStore, registerStore, Store } from '@genesislcap/foundation-store';
|
|
4
|
-
import { observable } from '@
|
|
5
|
-
import { DI } from '@microsoft/fast-foundation';
|
|
4
|
+
import { DI, observable } from '@genesislcap/web-core';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* These could be broken out into alerts, inbox etc. Basically whatever is a separate package, or a separate answer in
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import type { AppStyle } from '@genesislcap/foundation-shell/app';
|
|
2
|
-
import { css } from '@
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @privateRemarks
|
|
6
|
-
* This one was to cross-check main targeting via notify was working, nav-height change not required here.
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export const main: AppStyle = {
|
|
10
|
-
targetId: 'main',
|
|
11
|
-
styles: css`
|
|
12
|
-
:host {
|
|
13
|
-
--nav-height: 60px;
|
|
14
|
-
}
|
|
15
|
-
`,
|
|
16
|
-
};
|
|
2
|
+
import { css } from '@genesislcap/web-core';
|
|
17
3
|
|
|
18
4
|
/**
|
|
19
5
|
* @public
|
|
@@ -21,7 +7,7 @@ export const main: AppStyle = {
|
|
|
21
7
|
export const inbox: AppStyle = {
|
|
22
8
|
targetId: 'layout',
|
|
23
9
|
styles: css`
|
|
24
|
-
|
|
10
|
+
rapid-flyout::part(flyout) {
|
|
25
11
|
display: flex;
|
|
26
12
|
flex-direction: column;
|
|
27
13
|
width: 40%;
|
|
@@ -29,11 +15,11 @@ export const inbox: AppStyle = {
|
|
|
29
15
|
padding: 0;
|
|
30
16
|
}
|
|
31
17
|
|
|
32
|
-
|
|
33
|
-
border-bottom: calc(var(--stroke-width)* 1px) solid var(--neutral-stroke-divider-rest);
|
|
18
|
+
rapid-flyout::part(header) {
|
|
19
|
+
border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
|
|
34
20
|
}
|
|
35
21
|
|
|
36
|
-
|
|
22
|
+
rapid-flyout::part(content) {
|
|
37
23
|
height: 100%;
|
|
38
24
|
display: flex;
|
|
39
25
|
flex-direction: column;
|