@genesislcap/pbc-notify-ui 1.0.5 → 1.0.7

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 (66) hide show
  1. package/dist/dts/components/components.d.ts.map +1 -1
  2. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts +9 -0
  3. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts.map +1 -0
  4. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.d.ts +2 -0
  5. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.d.ts.map +1 -0
  6. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.d.ts +3 -0
  7. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.d.ts.map +1 -0
  8. package/dist/dts/components/foundation-inbox/inbox.d.ts +4 -10
  9. package/dist/dts/components/foundation-inbox/inbox.d.ts.map +1 -1
  10. package/dist/dts/components/foundation-inbox/inbox.styles.d.ts.map +1 -1
  11. package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
  12. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts +4 -0
  13. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts.map +1 -0
  14. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts.map +1 -0
  15. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts.map +1 -0
  16. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts.map +1 -0
  17. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts.map +1 -0
  18. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts.map +1 -0
  19. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts +2 -0
  20. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map +1 -1
  21. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.styles.d.ts.map +1 -1
  22. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts +8 -0
  23. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts.map +1 -0
  24. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts.map +1 -1
  25. package/dist/dts/components/foundation-notification-dashboard/styles/management.styles.d.ts.map +1 -1
  26. package/dist/dts/components/foundation-notification-dashboard/styles/rules-and-templates.styles.d.ts.map +1 -1
  27. package/dist/dts/index.d.ts +1 -1
  28. package/dist/dts/index.d.ts.map +1 -1
  29. package/dist/esm/components/components.js +9 -5
  30. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.js +30 -0
  31. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.js +16 -0
  32. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.js +7 -0
  33. package/dist/esm/components/foundation-inbox/inbox.js +18 -34
  34. package/dist/esm/components/foundation-inbox/inbox.styles.js +0 -13
  35. package/dist/esm/components/foundation-inbox/inbox.template.js +0 -8
  36. package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js +59 -0
  37. package/dist/esm/components/foundation-notification-dashboard/components/routes/{email-distribution-route-management.js → tabs/email-distribution-route-management.js} +1 -1
  38. package/dist/esm/components/foundation-notification-dashboard/components/routes/{email-user-route-management.js → tabs/email-user-route-management.js} +1 -1
  39. package/dist/esm/components/foundation-notification-dashboard/components/routes/{log-route-management.js → tabs/log-route-management.js} +1 -1
  40. package/dist/esm/components/foundation-notification-dashboard/components/routes/{ms-teams-route-management.js → tabs/ms-teams-route-management.js} +1 -1
  41. package/dist/esm/components/foundation-notification-dashboard/components/routes/{screen-route-management.js → tabs/screen-route-management.js} +1 -1
  42. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.js +6 -2
  43. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js +3 -25
  44. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.tabs.js +28 -0
  45. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js +18 -69
  46. package/dist/esm/components/foundation-notification-dashboard/styles/management.styles.js +0 -4
  47. package/dist/esm/components/foundation-notification-dashboard/styles/rules-and-templates.styles.js +0 -2
  48. package/dist/esm/index.js +1 -1
  49. package/index.html +1 -1
  50. package/package.json +1 -1
  51. package/dist/dts/components/foundation-inbox/index.d.ts +0 -2
  52. package/dist/dts/components/foundation-inbox/index.d.ts.map +0 -1
  53. package/dist/dts/components/foundation-notification-dashboard/components/routes/email-distribution-route-management.d.ts.map +0 -1
  54. package/dist/dts/components/foundation-notification-dashboard/components/routes/email-user-route-management.d.ts.map +0 -1
  55. package/dist/dts/components/foundation-notification-dashboard/components/routes/log-route-management.d.ts.map +0 -1
  56. package/dist/dts/components/foundation-notification-dashboard/components/routes/ms-teams-route-management.d.ts.map +0 -1
  57. package/dist/dts/components/foundation-notification-dashboard/components/routes/screen-route-management.d.ts.map +0 -1
  58. package/dist/dts/components/index.d.ts +0 -2
  59. package/dist/dts/components/index.d.ts.map +0 -1
  60. package/dist/esm/components/foundation-inbox/index.js +0 -1
  61. package/dist/esm/components/index.js +0 -1
  62. /package/dist/dts/components/foundation-notification-dashboard/components/routes/{email-distribution-route-management.d.ts → tabs/email-distribution-route-management.d.ts} +0 -0
  63. /package/dist/dts/components/foundation-notification-dashboard/components/routes/{email-user-route-management.d.ts → tabs/email-user-route-management.d.ts} +0 -0
  64. /package/dist/dts/components/foundation-notification-dashboard/components/routes/{log-route-management.d.ts → tabs/log-route-management.d.ts} +0 -0
  65. /package/dist/dts/components/foundation-notification-dashboard/components/routes/{ms-teams-route-management.d.ts → tabs/ms-teams-route-management.d.ts} +0 -0
  66. /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":"AAyEA,wBAAsB,WAAW;;GAYhC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AA6EA,wBAAsB,WAAW;;GAYhC"}
@@ -0,0 +1,9 @@
1
+ import { Flyout } from '@genesislcap/foundation-zero';
2
+ import { FoundationInboxBase } from "../../inbox";
3
+ export declare class FoundationInboxFlyout extends FoundationInboxBase {
4
+ flyout: Flyout;
5
+ flyoutClosed: boolean;
6
+ open(): Promise<void>;
7
+ close(): void;
8
+ }
9
+ //# sourceMappingURL=foundation-inbox-flyout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation-inbox-flyout.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAItD,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,qBAKa,qBAAsB,SAAQ,mBAAmB;IAC5D,MAAM,EAAE,MAAM,CAAC;IACH,YAAY,EAAE,OAAO,CAAQ;IAE5B,IAAI;IAIV,KAAK;CAGb"}
@@ -0,0 +1,2 @@
1
+ export declare const FoundationInboxFlyoutStyles: import("@microsoft/fast-element").ElementStyles;
2
+ //# sourceMappingURL=foundation-inbox-flyout.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation-inbox-flyout.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,2BAA2B,iDAavC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FoundationInboxFlyout } from './foundation-inbox-flyout';
2
+ export declare const FoundationInboxFlyoutTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationInboxFlyout, any>;
3
+ //# sourceMappingURL=foundation-inbox-flyout.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation-inbox-flyout.template.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,eAAO,MAAM,6BAA6B,4EAIzC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { FASTElement } from '@microsoft/fast-element';
2
2
  import { InboxTab } from './inbox.template';
3
3
  import { RuleTemplate, Rule, NotificationRuleTemplateReply, Alert } from './inbox.types';
4
- import { Flyout, Tabs } from '@genesislcap/foundation-zero';
4
+ import { Tabs } from '@genesislcap/foundation-zero';
5
5
  import { AlertService } from '../../services/alert.service';
6
6
  import { RuleService } from '../../services/rule.service';
7
7
  import { TemplateService } from '../../services/template.service';
@@ -10,7 +10,7 @@ import { TemplateService } from '../../services/template.service';
10
10
  * Allow searching, filtering and deleting notifies
11
11
  * @beta
12
12
  */
13
- export declare class FoundationInbox extends FASTElement {
13
+ export declare class FoundationInboxBase extends FASTElement {
14
14
  ready: boolean;
15
15
  alertService: AlertService;
16
16
  private alerts;
@@ -25,8 +25,6 @@ export declare class FoundationInbox extends FASTElement {
25
25
  searchSubscribe: string;
26
26
  ruleTemplateDetails: NotificationRuleTemplateReply;
27
27
  tabs: Tabs;
28
- flyout: Flyout;
29
- flyoutClosed: boolean;
30
28
  connectedCallback(): Promise<void>;
31
29
  open(): Promise<void>;
32
30
  close(): void;
@@ -42,11 +40,7 @@ export declare class FoundationInbox extends FASTElement {
42
40
  playPauseAlert(ruleClicked: Rule): Promise<void>;
43
41
  deleteAlert(ruleClicked: Rule): Promise<void>;
44
42
  openTemplateSubscription(ruleTemplate: any): Promise<void>;
45
- /**
46
- * Load remote components
47
- * @remarks With regards to module federation
48
- * @internal
49
- */
50
- loadRemotes(): Promise<void>;
43
+ }
44
+ export declare class FoundationInbox extends FoundationInboxBase {
51
45
  }
52
46
  //# sourceMappingURL=inbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEjF,OAAO,EAAE,QAAQ,EAAuC,MAAM,kBAAkB,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,6BAA6B,EAAE,KAAK,EAAmC,MAAM,eAAe,CAAC;AAC1H,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE;;;;GAIG;AACH,qBAKa,eAAgB,SAAQ,WAAW;IAElC,KAAK,EAAE,OAAO,CAAS;IAErB,YAAY,EAAE,YAAY,CAAC;IAC7B,OAAO,CAAC,MAAM,CAAe;IAC7B,YAAY,EAAE,KAAK,EAAE,CAAM;IAC3B,cAAc,EAAE,MAAM,CAAM;IAE3B,WAAW,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,KAAK,CAAc;IAC3B,WAAW,EAAE,IAAI,EAAE,CAAM;IAEpB,mBAAmB,EAAE,eAAe,CAAC;IAC1C,SAAS,EAAE,YAAY,EAAE,CAAM;IAC/B,eAAe,EAAE,YAAY,EAAE,CAAM;IAErC,eAAe,EAAE,MAAM,CAAM;IAC7B,mBAAmB,EAAE,6BAA6B,CAAQ;IAE/D,IAAI,EAAE,IAAI,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;IACH,YAAY,EAAE,OAAO,CAAQ;IAEnC,iBAAiB;IAaV,IAAI;IAMV,KAAK;IAMZ,cAAc,CAAC,QAAQ,EAAE,QAAQ;IAM3B,eAAe,CAAC,QAAQ,EAAE,QAAQ;IAoBxC,aAAa,gBAAyC;IAEtD,YAAY,eAAuC;IAEnD,gBAAgB,uBAA+C;IAE/D,qBAAqB,aAWpB;IAED,sBAAsB,aAWrB;IAKK,iBAAiB,CAAC,OAAO,EAAE,MAAM;IAMvC,SAAS;IAGH,cAAc,CAAC,WAAW,EAAE,IAAI;IAgBhC,WAAW,CAAC,WAAW,EAAE,IAAI;IAO7B,wBAAwB,CAAC,YAAY,EAAE,GAAG;IAYhD;;;;OAIG;IACG,WAAW;CAIlB"}
1
+ {"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEjF,OAAO,EAAE,QAAQ,EAAuC,MAAM,kBAAkB,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,6BAA6B,EAAE,KAAK,EAAmC,MAAM,eAAe,CAAC;AAC1H,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE;;;;GAIG;AAEH,qBAAa,mBAAoB,SAAQ,WAAW;IAEtC,KAAK,EAAE,OAAO,CAAS;IAErB,YAAY,EAAE,YAAY,CAAC;IAC7B,OAAO,CAAC,MAAM,CAAe;IAC7B,YAAY,EAAE,KAAK,EAAE,CAAM;IAC3B,cAAc,EAAE,MAAM,CAAM;IAE3B,WAAW,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,KAAK,CAAc;IAC3B,WAAW,EAAE,IAAI,EAAE,CAAM;IAEpB,mBAAmB,EAAE,eAAe,CAAC;IAC1C,SAAS,EAAE,YAAY,EAAE,CAAM;IAC/B,eAAe,EAAE,YAAY,EAAE,CAAM;IAErC,eAAe,EAAE,MAAM,CAAM;IAC7B,mBAAmB,EAAE,6BAA6B,CAAQ;IAE/D,IAAI,EAAE,IAAI,CAAC;IAEZ,iBAAiB;IAaV,IAAI;IAKV,KAAK;IAKZ,cAAc,CAAC,QAAQ,EAAE,QAAQ;IAM3B,eAAe,CAAC,QAAQ,EAAE,QAAQ;IAqBxC,aAAa,gBAAyC;IAEtD,YAAY,eAAuC;IAEnD,gBAAgB,uBAA+C;IAE/D,qBAAqB,aAWpB;IAED,sBAAsB,aAWrB;IAKK,iBAAiB,CAAC,OAAO,EAAE,MAAM;IAOvC,SAAS;IAGH,cAAc,CAAC,WAAW,EAAE,IAAI;IAgBhC,WAAW,CAAC,WAAW,EAAE,IAAI;IAQ7B,wBAAwB,CAAC,YAAY,EAAE,GAAG;CAYjD;AAED,qBAKa,eAAgB,SAAQ,mBAAmB;CAEvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.styles.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,WAAW,iDAgQvB,CAAC"}
1
+ {"version":3,"file":"inbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.styles.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,WAAW,iDAmPvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,oBAAY,QAAQ;IAClB,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEA2KnC,CAAC"}
1
+ {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,oBAAY,QAAQ;IAClB,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEAmKnC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FASTElement } from "@microsoft/fast-element";
2
+ export declare class RouteManagement extends FASTElement {
3
+ }
4
+ //# sourceMappingURL=route-management.d.ts.map
@@ -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
  /**
@@ -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;AAIjF;;GAEG;AACH,qBAKa,+BAAgC,SAAQ,WAAW;IAElD,KAAK,EAAE,OAAO,CAAS;IAE7B,iBAAiB;IAKvB;;;;OAIG;IACG,WAAW;CAIlB"}
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"}
@@ -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,iDA4BjD,CAAC"}
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"}
@@ -0,0 +1,8 @@
1
+ export declare class NotificationDashboardTab {
2
+ id: string;
3
+ name: string;
4
+ component: string;
5
+ right: string;
6
+ }
7
+ export declare const NOTIFICATION_DASHBOARD_TABS: NotificationDashboardTab[];
8
+ //# sourceMappingURL=notification-dashboard.tabs.d.ts.map
@@ -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;AAE3E,eAAO,MAAM,uCAAuC,sFA0EnD,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"}
@@ -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,iDAsBhC,CAAC"}
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,iDAiBnC,CAAC"}
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"}
@@ -1,3 +1,3 @@
1
- export * from './components/foundation-inbox';
1
+ export * from './components/foundation-inbox/inbox';
2
2
  export * from './components/foundation-notification-dashboard';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gDAAgD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,gDAAgD,CAAC"}
@@ -2,14 +2,15 @@ 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 { FoundationInboxFlyout } from './foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout';
6
+ import { EmailDistributionRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management';
7
+ import { EmailUserRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/email-user-route-management';
8
+ import { LogRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/log-route-management';
9
+ import { MSTeamsRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management';
9
10
  import { NotifyAuditManagement } from './foundation-notification-dashboard/components/notify-audit/notify-audit-management';
10
11
  import { RuleManagement } from './foundation-notification-dashboard/components/rules/rule-management';
11
12
  import { TemplateManagement } from './foundation-notification-dashboard/components/templates/template-management';
12
- import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/screen-route-management';
13
+ import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/screen-route-management';
13
14
  import { InboxSubscription } from './foundation-inbox/components/inbox-subscription/inbox-subscription';
14
15
  import { TemplateDialog } from './foundation-notification-dashboard/components/templates/template-dialog/template-dialog';
15
16
  import { ConditionBuilder } from './foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder';
@@ -17,9 +18,11 @@ import { RuleDialog } from './foundation-notification-dashboard/components/rules
17
18
  import { RuleConditionBuilder } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder';
18
19
  import { ParameterBuilder } from './foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder';
19
20
  import { RuleParameter } from './foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter';
21
+ import { RouteManagement } from './foundation-notification-dashboard/components/routes/route-management';
20
22
  // Components
21
23
  // #region Inbox
22
24
  FoundationInboxCounter;
25
+ FoundationInboxFlyout;
23
26
  InboxSubscription;
24
27
  RuleParameter;
25
28
  // #endregion Inbox
@@ -31,6 +34,7 @@ TemplateManagement;
31
34
  TemplateDialog;
32
35
  ParameterBuilder;
33
36
  ConditionBuilder;
37
+ RouteManagement;
34
38
  ScreenRouteManagement;
35
39
  EmailDistributionRouteManagement;
36
40
  EmailUserRouteManagement;
@@ -0,0 +1,30 @@
1
+ import { __awaiter, __decorate } from "tslib";
2
+ import { observable, customElement } from '@microsoft/fast-element';
3
+ import { FoundationInboxFlyoutStyles } from './foundation-inbox-flyout.styles';
4
+ import { FoundationInboxFlyoutTemplate } from './foundation-inbox-flyout.template';
5
+ import { FoundationInboxBase } from "../../inbox";
6
+ let FoundationInboxFlyout = class FoundationInboxFlyout extends FoundationInboxBase {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.flyoutClosed = true;
10
+ }
11
+ open() {
12
+ return __awaiter(this, void 0, void 0, function* () {
13
+ this.flyoutClosed = false;
14
+ });
15
+ }
16
+ close() {
17
+ this.flyout.closeFlyout();
18
+ }
19
+ };
20
+ __decorate([
21
+ observable
22
+ ], FoundationInboxFlyout.prototype, "flyoutClosed", void 0);
23
+ FoundationInboxFlyout = __decorate([
24
+ customElement({
25
+ name: 'foundation-inbox-flyout',
26
+ template: FoundationInboxFlyoutTemplate,
27
+ styles: FoundationInboxFlyoutStyles,
28
+ })
29
+ ], FoundationInboxFlyout);
30
+ export { FoundationInboxFlyout };
@@ -0,0 +1,16 @@
1
+ import { css } from '@microsoft/fast-element';
2
+ import { InboxStyles } from '../../inbox.styles';
3
+ export const FoundationInboxFlyoutStyles = css `
4
+ zero-flyout::part(flyout) {
5
+ width: 30%;
6
+ min-width: 320px;
7
+ padding: 0;
8
+ }
9
+
10
+ zero-flyout::part(content) {
11
+ height: 100%;
12
+ display: flex;
13
+ flex-direction: column;
14
+ }
15
+ ${InboxStyles}
16
+ `;
@@ -0,0 +1,7 @@
1
+ import { html, ref } from '@microsoft/fast-element';
2
+ import { FoundationInboxTemplate } from '../../inbox.template';
3
+ export const FoundationInboxFlyoutTemplate = html `
4
+ <zero-flyout ${ref('flyout')} position="right" @closed=${(x) => (x.flyoutClosed = true)} :closed=${(x) => x.flyoutClosed} displayHeader=${false}>
5
+ ${FoundationInboxTemplate}
6
+ </zero-flyout>
7
+ `;
@@ -1,5 +1,4 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import * as Components from '../index';
3
2
  import { observable, customElement, FASTElement } from '@microsoft/fast-element';
4
3
  import { InboxStyles as styles } from './inbox.styles';
5
4
  import { InboxTab, FoundationInboxTemplate as template } from './inbox.template';
@@ -13,7 +12,7 @@ import { TemplateService } from '../../services/template.service';
13
12
  * Allow searching, filtering and deleting notifies
14
13
  * @beta
15
14
  */
16
- let FoundationInbox = class FoundationInbox extends FASTElement {
15
+ export class FoundationInboxBase extends FASTElement {
17
16
  constructor() {
18
17
  super(...arguments);
19
18
  this.ready = false;
@@ -26,7 +25,6 @@ let FoundationInbox = class FoundationInbox extends FASTElement {
26
25
  this.templatesFilter = [];
27
26
  this.searchSubscribe = '';
28
27
  this.ruleTemplateDetails = null;
29
- this.flyoutClosed = true;
30
28
  // #endregion
31
29
  // #region Changed Events
32
30
  this.alertsChanged = () => this.alertsFilter = this.alerts;
@@ -50,6 +48,7 @@ let FoundationInbox = class FoundationInbox extends FASTElement {
50
48
  .toLowerCase()
51
49
  .startsWith(this.searchSubscribe.toLowerCase()));
52
50
  };
51
+ // #endregion
53
52
  }
54
53
  connectedCallback() {
55
54
  const _super = Object.create(null, {
@@ -73,12 +72,10 @@ let FoundationInbox = class FoundationInbox extends FASTElement {
73
72
  return __awaiter(this, void 0, void 0, function* () {
74
73
  this.rules = yield this.ruleService.getRules();
75
74
  this.templates = yield this.ruleTemplateService.getRuleTemplates();
76
- this.flyoutClosed = false;
77
75
  });
78
76
  }
79
77
  close() {
80
78
  this.ruleTemplateDetails = null;
81
- this.flyout.closeFlyout();
82
79
  }
83
80
  // #region Tabs
84
81
  checkActiveTab(inboxTab) {
@@ -151,61 +148,48 @@ let FoundationInbox = class FoundationInbox extends FASTElement {
151
148
  this.ruleTemplateDetails = yield this.ruleTemplateService.getRuleTemplateDetails(ruleTemplate.ID);
152
149
  });
153
150
  }
154
- // #endregion
155
- /**
156
- * Load remote components
157
- * @remarks With regards to module federation
158
- * @internal
159
- */
160
- loadRemotes() {
161
- return __awaiter(this, void 0, void 0, function* () {
162
- const remoteComponents = yield Components.loadRemotes();
163
- this.ready = true;
164
- });
165
- }
166
- };
151
+ }
167
152
  __decorate([
168
153
  observable
169
- ], FoundationInbox.prototype, "ready", void 0);
154
+ ], FoundationInboxBase.prototype, "ready", void 0);
170
155
  __decorate([
171
156
  AlertService
172
- ], FoundationInbox.prototype, "alertService", void 0);
157
+ ], FoundationInboxBase.prototype, "alertService", void 0);
173
158
  __decorate([
174
159
  observable
175
- ], FoundationInbox.prototype, "alerts", void 0);
160
+ ], FoundationInboxBase.prototype, "alerts", void 0);
176
161
  __decorate([
177
162
  observable
178
- ], FoundationInbox.prototype, "alertsFilter", void 0);
163
+ ], FoundationInboxBase.prototype, "alertsFilter", void 0);
179
164
  __decorate([
180
165
  observable
181
- ], FoundationInbox.prototype, "searchAlertLog", void 0);
166
+ ], FoundationInboxBase.prototype, "searchAlertLog", void 0);
182
167
  __decorate([
183
168
  RuleService
184
- ], FoundationInbox.prototype, "ruleService", void 0);
169
+ ], FoundationInboxBase.prototype, "ruleService", void 0);
185
170
  __decorate([
186
171
  observable
187
- ], FoundationInbox.prototype, "rules", void 0);
172
+ ], FoundationInboxBase.prototype, "rules", void 0);
188
173
  __decorate([
189
174
  observable
190
- ], FoundationInbox.prototype, "rulesFilter", void 0);
175
+ ], FoundationInboxBase.prototype, "rulesFilter", void 0);
191
176
  __decorate([
192
177
  TemplateService
193
- ], FoundationInbox.prototype, "ruleTemplateService", void 0);
194
- __decorate([
195
- observable
196
- ], FoundationInbox.prototype, "templates", void 0);
178
+ ], FoundationInboxBase.prototype, "ruleTemplateService", void 0);
197
179
  __decorate([
198
180
  observable
199
- ], FoundationInbox.prototype, "templatesFilter", void 0);
181
+ ], FoundationInboxBase.prototype, "templates", void 0);
200
182
  __decorate([
201
183
  observable
202
- ], FoundationInbox.prototype, "searchSubscribe", void 0);
184
+ ], FoundationInboxBase.prototype, "templatesFilter", void 0);
203
185
  __decorate([
204
186
  observable
205
- ], FoundationInbox.prototype, "ruleTemplateDetails", void 0);
187
+ ], FoundationInboxBase.prototype, "searchSubscribe", void 0);
206
188
  __decorate([
207
189
  observable
208
- ], FoundationInbox.prototype, "flyoutClosed", void 0);
190
+ ], FoundationInboxBase.prototype, "ruleTemplateDetails", void 0);
191
+ let FoundationInbox = class FoundationInbox extends FoundationInboxBase {
192
+ };
209
193
  FoundationInbox = __decorate([
210
194
  customElement({
211
195
  name: 'foundation-inbox',
@@ -3,19 +3,6 @@ import { css } from '@microsoft/fast-element';
3
3
  * @public
4
4
  */
5
5
  export const InboxStyles = css `
6
- zero-flyout::part(flyout) {
7
- background: var(--neutral-layer-4);
8
- width: 30%;
9
- min-width: 320px;
10
- padding: 0;
11
- }
12
-
13
- zero-flyout::part(content) {
14
- height: 100%;
15
- display: flex;
16
- flex-direction: column;
17
- }
18
-
19
6
  .inbox {
20
7
  width: 100%;
21
8
  height: 100%;
@@ -11,13 +11,6 @@ export var InboxTab;
11
11
  * @public
12
12
  */
13
13
  export const FoundationInboxTemplate = html `
14
- <zero-flyout
15
- ${ref('flyout')}
16
- position="right"
17
- @closed=${(x) => (x.flyoutClosed = true)}
18
- :closed=${(x) => x.flyoutClosed}
19
- displayHeader=${false}
20
- >
21
14
  <div class="inbox-header">
22
15
  <div class="inbox-header-title">
23
16
  Alerts
@@ -168,5 +161,4 @@ export const FoundationInboxTemplate = html `
168
161
  </zero-tab-panel>
169
162
  </zero-tabs>
170
163
  </div>
171
- </zero-flyout>
172
164
  `;
@@ -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 '../../styles/management.styles';
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 '../../styles/management.styles';
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 '../../styles/management.styles';
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 '../../styles/management.styles';
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 '../../styles/management.styles';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
4
  const SCREEN_ROUTE_MANAGEMENT_COLUMNS = [
5
5
  {
6
6
  field: 'NOTIFY_ROUTE_ID',
@@ -1,8 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import * as Components from '../index';
2
+ import { loadRemotes } from '../components';
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
  */
@@ -27,11 +28,14 @@ let FoundationNotificationDashboard = class FoundationNotificationDashboard exte
27
28
  */
28
29
  loadRemotes() {
29
30
  return __awaiter(this, void 0, void 0, function* () {
30
- const remoteComponents = yield Components.loadRemotes();
31
+ const remoteComponents = yield loadRemotes();
31
32
  this.ready = true;
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);
@@ -3,31 +3,9 @@ import { css } from '@microsoft/fast-element';
3
3
  * @public
4
4
  */
5
5
  export const FoundationNotificationDashboardStyles = css `
6
- .notification-dashboard, zero-tabs, zero-tab-panel {
7
- height: 100%;
8
- }
9
-
6
+ .notification-dashboard,
7
+ zero-tabs,
10
8
  zero-tab-panel {
11
- //padding: calc(var(--design-unit) * 4px);
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
+ ];
@@ -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" data-test-id="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
- <zero-tab slot="rules-tab">Rules</zero-tab>
41
- <zero-tab slot="templates-tab">Templates</zero-tab>
42
- <zero-tab slot="screen-routes-tab">Screen Routes</zero-tab>
43
- <zero-tab slot="email-distribution-routes-tab">Email Distribution Routes</zero-tab>
44
- <zero-tab slot="email-user-routes-tab">Email User Routes</zero-tab>
45
- <zero-tab slot="log-routes-tab">Log Routes</zero-tab>
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
- <zero-tab-panel slot="rules-tab" id="rules-tab-panel">
51
- <rule-management></rule-management>
52
- </zero-tab-panel>
53
- <zero-tab-panel slot="templates-tab" id="templates-tab-panel">
54
- <template-management></template-management>
55
- </zero-tab-panel>
56
- <zero-tab-panel slot="screen-routes-tab" id="routes-tab-panel">
57
- <screen-route-management></screen-route-management>
58
- </zero-tab-panel>
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
  `;
@@ -17,8 +17,4 @@ export const managementGridStyles = css `
17
17
  .grid {
18
18
  height: 100%;
19
19
  }
20
-
21
- entity-management::part(header) {
22
- background-color: var(--neutral-layer-3);
23
- }
24
20
  `;
@@ -9,8 +9,6 @@ export const rulesAndTemplatesStyles = css `
9
9
  .header {
10
10
  display: flex;
11
11
  flex-direction: row-reverse;
12
- border-radius: calc(var(--design-unit) * 1px);
13
- background-color: var(--neutral-layer-3);
14
12
  }
15
13
 
16
14
  .grid {
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/foundation-inbox';
1
+ export * from './components/foundation-inbox/inbox';
2
2
  export * from './components/foundation-notification-dashboard';
package/index.html CHANGED
@@ -18,7 +18,7 @@
18
18
  }
19
19
  </style>
20
20
  <body>
21
- <foundation-notify></foundation-notify>
21
+ <foundation-inbox></foundation-inbox>
22
22
  {{#if insertEntryPoint}}
23
23
  <script type="module" src="/src/index.ts"></script>
24
24
  {{/if}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-notify.d.ts",
@@ -1,2 +0,0 @@
1
- export * from './inbox';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -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"}
@@ -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 +0,0 @@
1
- export * from './inbox';
@@ -1 +0,0 @@
1
- export * from './components';