@genesislcap/pbc-notify-ui 1.0.5 → 1.0.6
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/dist/dts/components/components.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts +4 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts +2 -0
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.styles.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts +8 -0
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts.map +1 -0
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/styles/management.styles.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/styles/rules-and-templates.styles.d.ts.map +1 -1
- package/dist/esm/components/components.js +7 -5
- package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js +59 -0
- package/dist/esm/components/foundation-notification-dashboard/components/routes/{email-distribution-route-management.js → tabs/email-distribution-route-management.js} +1 -1
- package/dist/esm/components/foundation-notification-dashboard/components/routes/{email-user-route-management.js → tabs/email-user-route-management.js} +1 -1
- package/dist/esm/components/foundation-notification-dashboard/components/routes/{log-route-management.js → tabs/log-route-management.js} +1 -1
- package/dist/esm/components/foundation-notification-dashboard/components/routes/{ms-teams-route-management.js → tabs/ms-teams-route-management.js} +1 -1
- package/dist/esm/components/foundation-notification-dashboard/components/routes/{screen-route-management.js → tabs/screen-route-management.js} +1 -1
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.js +4 -0
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js +3 -25
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.tabs.js +28 -0
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js +18 -69
- package/dist/esm/components/foundation-notification-dashboard/styles/management.styles.js +0 -4
- package/dist/esm/components/foundation-notification-dashboard/styles/rules-and-templates.styles.js +0 -2
- package/package.json +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/email-distribution-route-management.d.ts.map +0 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/email-user-route-management.d.ts.map +0 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/log-route-management.d.ts.map +0 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/ms-teams-route-management.d.ts.map +0 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/screen-route-management.d.ts.map +0 -1
- /package/dist/dts/components/foundation-notification-dashboard/components/routes/{email-distribution-route-management.d.ts → tabs/email-distribution-route-management.d.ts} +0 -0
- /package/dist/dts/components/foundation-notification-dashboard/components/routes/{email-user-route-management.d.ts → tabs/email-user-route-management.d.ts} +0 -0
- /package/dist/dts/components/foundation-notification-dashboard/components/routes/{log-route-management.d.ts → tabs/log-route-management.d.ts} +0 -0
- /package/dist/dts/components/foundation-notification-dashboard/components/routes/{ms-teams-route-management.d.ts → tabs/ms-teams-route-management.d.ts} +0 -0
- /package/dist/dts/components/foundation-notification-dashboard/components/routes/{screen-route-management.d.ts → tabs/screen-route-management.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AA2EA,wBAAsB,WAAW;;GAYhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA4B,MAAM,yBAAyB,CAAC;AAEhF,qBAoDa,eAAgB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-distribution-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAgB,MAAM,yBAAyB,CAAC;AAoCnF,qBAgBa,gCAAiC,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-user-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAgB,MAAM,yBAAyB,CAAC;AA8CnF,qBAgBa,wBAAyB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AAqB3E,qBAgBa,kBAAmB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ms-teams-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AA0B3E,qBAgBa,sBAAuB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AAwD3E,qBAgBa,qBAAsB,SAAQ,WAAW;CAAG"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
+
import { Auth } from '@genesislcap/foundation-comms';
|
|
2
3
|
/**
|
|
3
4
|
* @public
|
|
4
5
|
*/
|
|
5
6
|
export declare class FoundationNotificationDashboard extends FASTElement {
|
|
7
|
+
auth: Auth;
|
|
6
8
|
ready: boolean;
|
|
7
9
|
connectedCallback(): Promise<void>;
|
|
8
10
|
/**
|
package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-dashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAA6B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-dashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAA6B,MAAM,yBAAyB,CAAC;AAGjF,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD;;GAEG;AACH,qBAKa,+BAAgC,SAAQ,WAAW;IAExD,IAAI,EAAE,IAAI,CAAC;IACL,KAAK,EAAE,OAAO,CAAS;IAE7B,iBAAiB;IAKvB;;;;OAIG;IACG,WAAW;CAIlB"}
|
package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-dashboard.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"notification-dashboard.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,qCAAqC,iDAMjD,CAAC"}
|
package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-dashboard.tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"],"names":[],"mappings":"AAAA,qBAAa,wBAAwB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,2BAA2B,EAAE,wBAAwB,EAyBjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-dashboard.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-dashboard.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAI3E,eAAO,MAAM,uCAAuC,sFAqCnD,CAAC"}
|
package/dist/dts/components/foundation-notification-dashboard/styles/management.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"management.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/management.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"management.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/management.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,iDAkBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules-and-templates.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/rules-and-templates.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"rules-and-templates.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/rules-and-templates.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,iDAenC,CAAC"}
|
|
@@ -2,14 +2,14 @@ import { __awaiter } from "tslib";
|
|
|
2
2
|
import { foundationLayoutComponents } from '@genesislcap/foundation-layout';
|
|
3
3
|
import { logger } from '../utils';
|
|
4
4
|
import { FoundationInboxCounter } from './foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter';
|
|
5
|
-
import { EmailDistributionRouteManagement } from './foundation-notification-dashboard/components/routes/email-distribution-route-management';
|
|
6
|
-
import { EmailUserRouteManagement } from './foundation-notification-dashboard/components/routes/email-user-route-management';
|
|
7
|
-
import { LogRouteManagement } from './foundation-notification-dashboard/components/routes/log-route-management';
|
|
8
|
-
import { MSTeamsRouteManagement } from './foundation-notification-dashboard/components/routes/ms-teams-route-management';
|
|
5
|
+
import { EmailDistributionRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management';
|
|
6
|
+
import { EmailUserRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/email-user-route-management';
|
|
7
|
+
import { LogRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/log-route-management';
|
|
8
|
+
import { MSTeamsRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management';
|
|
9
9
|
import { NotifyAuditManagement } from './foundation-notification-dashboard/components/notify-audit/notify-audit-management';
|
|
10
10
|
import { RuleManagement } from './foundation-notification-dashboard/components/rules/rule-management';
|
|
11
11
|
import { TemplateManagement } from './foundation-notification-dashboard/components/templates/template-management';
|
|
12
|
-
import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/screen-route-management';
|
|
12
|
+
import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/screen-route-management';
|
|
13
13
|
import { InboxSubscription } from './foundation-inbox/components/inbox-subscription/inbox-subscription';
|
|
14
14
|
import { TemplateDialog } from './foundation-notification-dashboard/components/templates/template-dialog/template-dialog';
|
|
15
15
|
import { ConditionBuilder } from './foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder';
|
|
@@ -17,6 +17,7 @@ import { RuleDialog } from './foundation-notification-dashboard/components/rules
|
|
|
17
17
|
import { RuleConditionBuilder } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder';
|
|
18
18
|
import { ParameterBuilder } from './foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder';
|
|
19
19
|
import { RuleParameter } from './foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter';
|
|
20
|
+
import { RouteManagement } from './foundation-notification-dashboard/components/routes/route-management';
|
|
20
21
|
// Components
|
|
21
22
|
// #region Inbox
|
|
22
23
|
FoundationInboxCounter;
|
|
@@ -31,6 +32,7 @@ TemplateManagement;
|
|
|
31
32
|
TemplateDialog;
|
|
32
33
|
ParameterBuilder;
|
|
33
34
|
ConditionBuilder;
|
|
35
|
+
RouteManagement;
|
|
34
36
|
ScreenRouteManagement;
|
|
35
37
|
EmailDistributionRouteManagement;
|
|
36
38
|
EmailUserRouteManagement;
|
package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { FASTElement, css, customElement, html } from "@microsoft/fast-element";
|
|
3
|
+
let RouteManagement = class RouteManagement extends FASTElement {
|
|
4
|
+
};
|
|
5
|
+
RouteManagement = __decorate([
|
|
6
|
+
customElement({
|
|
7
|
+
name: 'route-management',
|
|
8
|
+
template: html `
|
|
9
|
+
<zero-tabs appearance="secondary">
|
|
10
|
+
<zero-tab appearance="secondary">Screen Routes</zero-tab>
|
|
11
|
+
<zero-tab appearance="secondary">Email Distribution Routes</zero-tab>
|
|
12
|
+
<zero-tab appearance="secondary">Email User Routes</zero-tab>
|
|
13
|
+
<zero-tab appearance="secondary">Log Routes</zero-tab>
|
|
14
|
+
<zero-tab appearance="secondary">MS Teams Routes</zero-tab>
|
|
15
|
+
|
|
16
|
+
<zero-tab-panel>
|
|
17
|
+
<screen-route-management></screen-route-management>
|
|
18
|
+
</zero-tab-panel>
|
|
19
|
+
<zero-tab-panel>
|
|
20
|
+
<email-distribution-route-management></email-distribution-route-management>
|
|
21
|
+
</zero-tab-panel>
|
|
22
|
+
<zero-tab-panel>
|
|
23
|
+
<email-user-route-management></email-user-route-management>
|
|
24
|
+
</zero-tab-panel>
|
|
25
|
+
<zero-tab-panel>
|
|
26
|
+
<log-route-management></log-route-management>
|
|
27
|
+
</zero-tab-panel>
|
|
28
|
+
<zero-tab-panel>
|
|
29
|
+
<ms-teams-route-management></ms-teams-route-management>
|
|
30
|
+
</zero-tab-panel>
|
|
31
|
+
</zero-tabs>
|
|
32
|
+
`,
|
|
33
|
+
styles: css `
|
|
34
|
+
zero-tabs {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
zero-tabs::part(tablist) {
|
|
41
|
+
grid-template-columns: none;
|
|
42
|
+
flex: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
zero-tabs::part(tabpanel) {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
flex: 1;
|
|
49
|
+
min-height: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
zero-tabs,
|
|
53
|
+
zero-tab-panel {
|
|
54
|
+
height: 100%;
|
|
55
|
+
}
|
|
56
|
+
`,
|
|
57
|
+
})
|
|
58
|
+
], RouteManagement);
|
|
59
|
+
export { RouteManagement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement, FASTElement, html } from '@microsoft/fast-element';
|
|
3
|
-
import { managementGridStyles } from '
|
|
3
|
+
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const EMAIL_DISTRIBUTION_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
6
6
|
field: 'NOTIFY_ROUTE_ID',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement, FASTElement, html } from '@microsoft/fast-element';
|
|
3
|
-
import { managementGridStyles } from '
|
|
3
|
+
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const EMAIL_USER_ROUTE_COLUMNS = [
|
|
5
5
|
{
|
|
6
6
|
field: 'NOTIFY_ROUTE_ID',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement, FASTElement, html } from '@microsoft/fast-element';
|
|
3
|
-
import { managementGridStyles } from '
|
|
3
|
+
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const LOG_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
6
6
|
field: 'NOTIFY_ROUTE_ID',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement, FASTElement, html } from '@microsoft/fast-element';
|
|
3
|
-
import { managementGridStyles } from '
|
|
3
|
+
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const MS_TEAMS_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
6
6
|
field: 'NOTIFY_ROUTE_ID',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { customElement, FASTElement, html } from '@microsoft/fast-element';
|
|
3
|
-
import { managementGridStyles } from '
|
|
3
|
+
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const SCREEN_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
6
6
|
field: 'NOTIFY_ROUTE_ID',
|
|
@@ -3,6 +3,7 @@ import * as Components from '../index';
|
|
|
3
3
|
import { FASTElement, customElement, observable } from '@microsoft/fast-element';
|
|
4
4
|
import { FoundationNotificationDashboardStyles as styles } from './notification-dashboard.styles';
|
|
5
5
|
import { FoundationNotificationDashboardTemplate as template } from './notification-dashboard.template';
|
|
6
|
+
import { Auth } from '@genesislcap/foundation-comms';
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -32,6 +33,9 @@ let FoundationNotificationDashboard = class FoundationNotificationDashboard exte
|
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
35
|
};
|
|
36
|
+
__decorate([
|
|
37
|
+
Auth
|
|
38
|
+
], FoundationNotificationDashboard.prototype, "auth", void 0);
|
|
35
39
|
__decorate([
|
|
36
40
|
observable
|
|
37
41
|
], FoundationNotificationDashboard.prototype, "ready", void 0);
|
package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js
CHANGED
|
@@ -3,31 +3,9 @@ import { css } from '@microsoft/fast-element';
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export const FoundationNotificationDashboardStyles = css `
|
|
6
|
-
.notification-dashboard,
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
6
|
+
.notification-dashboard,
|
|
7
|
+
zero-tabs,
|
|
10
8
|
zero-tab-panel {
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Tabs */
|
|
15
|
-
zero-tabs {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
zero-tabs::part(tablist) {
|
|
22
|
-
grid-template-columns: none;
|
|
23
|
-
flex: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
zero-tabs::part(tabpanel) {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
flex: 1;
|
|
30
|
-
min-height: 0;
|
|
9
|
+
height: 100%;
|
|
31
10
|
}
|
|
32
|
-
/***/
|
|
33
11
|
`;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class NotificationDashboardTab {
|
|
2
|
+
}
|
|
3
|
+
export const NOTIFICATION_DASHBOARD_TABS = [
|
|
4
|
+
{
|
|
5
|
+
id: 'rules',
|
|
6
|
+
name: 'Rules',
|
|
7
|
+
component: 'rule-management',
|
|
8
|
+
right: 'NOTIFY_RULE_VIEW'
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
id: 'templates',
|
|
12
|
+
name: 'Templates',
|
|
13
|
+
component: 'template-management',
|
|
14
|
+
right: 'NOTIFICATION_RULE_TEMPLATE_VIEW'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: 'routes',
|
|
18
|
+
name: 'Routes',
|
|
19
|
+
component: 'route-management',
|
|
20
|
+
right: 'NOTIFY_ROUTE_VIEW'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: 'notify-audit',
|
|
24
|
+
name: 'Notify Audit',
|
|
25
|
+
component: 'notify-audit-management',
|
|
26
|
+
right: 'NOTIFY_AUDIT_VIEW'
|
|
27
|
+
}
|
|
28
|
+
];
|
package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js
CHANGED
|
@@ -1,76 +1,25 @@
|
|
|
1
|
-
import { html } from '@microsoft/fast-element';
|
|
1
|
+
import { html, repeat, when } from '@microsoft/fast-element';
|
|
2
|
+
import { NOTIFICATION_DASHBOARD_TABS } from './notification-dashboard.tabs';
|
|
2
3
|
export const FoundationNotificationDashboardTemplate = html `
|
|
3
|
-
<div class="notification-dashboard"
|
|
4
|
-
<zero-tabs class="tabs">
|
|
5
|
-
<zero-tab>Rules</zero-tab>
|
|
6
|
-
<zero-tab>Templates</zero-tab>
|
|
7
|
-
<zero-tab>Routes</zero-tab>
|
|
8
|
-
<zero-tab>Notify Audit</zero-tab>
|
|
9
|
-
<zero-tab-panel>
|
|
10
|
-
<rule-management></rule-management>
|
|
11
|
-
</zero-tab-panel>
|
|
12
|
-
<zero-tab-panel>
|
|
13
|
-
<template-management></template-management>
|
|
14
|
-
</zero-tab-panel>
|
|
15
|
-
<zero-tab-panel>
|
|
16
|
-
<zero-tabs appearance="secondary">
|
|
17
|
-
<zero-tab appearance="secondary">Screen Routes</zero-tab>
|
|
18
|
-
<zero-tab appearance="secondary">Email Distribution Routes</zero-tab>
|
|
19
|
-
<zero-tab appearance="secondary">Email User Routes</zero-tab>
|
|
20
|
-
<zero-tab appearance="secondary">Log Routes</zero-tab>
|
|
21
|
-
<zero-tab appearance="secondary">MS Teams Routes</zero-tab>
|
|
22
|
-
<zero-tab-panel><screen-route-management></screen-route-management></zero-tab-panel>
|
|
23
|
-
<zero-tab-panel><email-distribution-route-management></email-distribution-route-management></zero-tab-panel>
|
|
24
|
-
<zero-tab-panel><email-user-route-management></email-user-route-management></zero-tab-panel>
|
|
25
|
-
<zero-tab-panel><log-route-management></log-route-management></zero-tab-panel>
|
|
26
|
-
<zero-tab-panel><ms-teams-route-management></ms-teams-route-management></zero-tab-panel>
|
|
27
|
-
</zero-tabs>
|
|
28
|
-
</zero-tab-panel>
|
|
29
|
-
<zero-tab-panel>
|
|
30
|
-
<notify-audit-management></notify-audit-management>
|
|
31
|
-
</zero-tab-panel>
|
|
32
|
-
</zero-tabs>
|
|
33
|
-
</div>
|
|
34
|
-
<div
|
|
35
|
-
class="notification-dashboard"
|
|
36
|
-
data-test-id="notification-dashboard"
|
|
37
|
-
>
|
|
4
|
+
<div class="notification-dashboard">
|
|
38
5
|
<zero-tabs class="tabs">
|
|
39
6
|
<!-- Tabs -->
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<zero-tab slot="ms-teams-routes-tab">MS Teams Routes</zero-tab>
|
|
47
|
-
<zero-tab slot="notify-audit-tab">Notify Audit</zero-tab>
|
|
48
|
-
|
|
7
|
+
${repeat(_ => NOTIFICATION_DASHBOARD_TABS, html `
|
|
8
|
+
${when((x, c) => c.parent.auth.currentUser.hasPermission(x.right), html `
|
|
9
|
+
<zero-tab slot="${x => x.id}-tab">${x => x.name}</zero-tab>
|
|
10
|
+
`)}
|
|
11
|
+
`)}
|
|
12
|
+
|
|
49
13
|
<!-- Panels -->
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
<zero-tab-panel slot="email-distribution-tab" id="email-distribution-routes-tab-panel">
|
|
60
|
-
<email-distribution-route-management></email-distribution-route-management>
|
|
61
|
-
</zero-tab-panel>
|
|
62
|
-
<zero-tab-panel slot="email-user-routes-tab" id="email-user-routes-tab-panel">
|
|
63
|
-
<email-user-route-management></email-user-route-management>
|
|
64
|
-
</zero-tab-panel>
|
|
65
|
-
<zero-tab-panel slot="log-routes-tab" id="log-routes-tab-panel">
|
|
66
|
-
<log-route-management></log-route-management>
|
|
67
|
-
</zero-tab-panel>
|
|
68
|
-
<zero-tab-panel slot="ms-teams-routes-tab" id="ms-teams-routes-tab-panel">
|
|
69
|
-
<ms-teams-route-management></ms-teams-route-management>
|
|
70
|
-
</zero-tab-panel>
|
|
71
|
-
<zero-tab-panel slot="notify-audit-tab" id="notify-audit-tab-panel">
|
|
72
|
-
<notify-audit-management></notify-audit-management>
|
|
73
|
-
</zero-tab-panel>
|
|
14
|
+
${repeat(_ => NOTIFICATION_DASHBOARD_TABS, html `
|
|
15
|
+
${when((x, c) => c.parent.auth.currentUser.hasPermission(x.right), html `
|
|
16
|
+
${ /* HTML Render *//* HTML Render */ x => html `
|
|
17
|
+
<zero-tab-panel slot="${x.id}-tab" id="${x.id}-tab-panel">
|
|
18
|
+
<${x.component}></${x.component}>
|
|
19
|
+
</zero-tab-panel>
|
|
20
|
+
`}
|
|
21
|
+
`)}
|
|
22
|
+
`)}
|
|
74
23
|
</zero-tabs>
|
|
75
24
|
</div>
|
|
76
25
|
`;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-distribution-route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/email-distribution-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAgB,MAAM,yBAAyB,CAAC;AAoCnF,qBAgBa,gCAAiC,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-user-route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/email-user-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAgB,MAAM,yBAAyB,CAAC;AA8CnF,qBAgBa,wBAAyB,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/log-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AAqB3E,qBAgBa,kBAAmB,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ms-teams-route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/ms-teams-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AA0B3E,qBAgBa,sBAAuB,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"screen-route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/screen-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AAwD3E,qBAgBa,qBAAsB,SAAQ,WAAW;CAAG"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|