@genesislcap/pbc-notify-ui 1.0.42 → 1.0.44

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 (46) hide show
  1. package/README.md +27 -15
  2. package/dist/dts/components/components.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts.map +1 -1
  4. package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +4 -5
  5. package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
  6. package/dist/dts/components/foundation-inbox/inbox.d.ts +2 -0
  7. package/dist/dts/components/foundation-inbox/inbox.d.ts.map +1 -1
  8. package/dist/dts/components/foundation-inbox/inbox.styles.d.ts.map +1 -1
  9. package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
  10. package/dist/dts/components/foundation-inbox/inbox.types.d.ts +4 -4
  11. package/dist/dts/components/foundation-inbox/inbox.types.d.ts.map +1 -1
  12. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -1
  13. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
  14. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.d.ts.map +1 -1
  15. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts.map +1 -1
  16. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.d.ts.map +1 -1
  17. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +3 -3
  18. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
  19. package/dist/dts/components/foundation-notification-dashboard/styles/condition-builder.styles.d.ts.map +1 -1
  20. package/dist/dts/components/foundation-notification-dashboard/styles/dynamic-rule.styles.d.ts.map +1 -1
  21. package/dist/dts/sandbox.d.ts +9 -0
  22. package/dist/dts/sandbox.d.ts.map +1 -0
  23. package/dist/dts/styles/scrollbar.styles.d.ts +2 -0
  24. package/dist/dts/styles/scrollbar.styles.d.ts.map +1 -0
  25. package/dist/esm/components/components.js +2 -1
  26. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.js +1 -0
  27. package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +31 -29
  28. package/dist/esm/components/foundation-inbox/inbox.js +14 -1
  29. package/dist/esm/components/foundation-inbox/inbox.styles.js +3 -1
  30. package/dist/esm/components/foundation-inbox/inbox.template.js +27 -19
  31. package/dist/esm/components/foundation-inbox/inbox.types.js +4 -4
  32. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js +7 -1
  33. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +6 -0
  34. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +1 -1
  35. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.js +6 -1
  36. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.js +7 -1
  37. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.js +8 -1
  38. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +7 -3
  39. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.js +1 -1
  40. package/dist/esm/components/foundation-notification-dashboard/styles/condition-builder.styles.js +4 -0
  41. package/dist/esm/components/foundation-notification-dashboard/styles/dynamic-rule.styles.js +3 -13
  42. package/dist/esm/sandbox.js +55 -0
  43. package/dist/esm/services/alert.service.js +1 -1
  44. package/dist/esm/styles/scrollbar.styles.js +14 -0
  45. package/index.html +20 -18
  46. package/package.json +15 -5
package/README.md CHANGED
@@ -1,19 +1,31 @@
1
1
  # Client (Web)
2
2
 
3
- :hammer_and_wrench: **Development**
3
+ ## Development
4
+
5
+ ### Sandbox Environment (Preferable)
6
+ - On [.env](.env), put real server data to establish connection
7
+ - `npm run dev`
8
+
9
+ ### Manual
4
10
  - Do the [npm link](https://docs.npmjs.com/cli/v10/commands/npm-link) between the projects:
5
- - On pbc-notify-ui: ```npm i``` and ```npm link```
6
- - On client app: ```npm i``` and ```npm link @genesislcap/pbc-notify-ui```
11
+ - On pbc-notify-ui project: `npm i` and `npm link`
12
+ - On client app project: `npm i` and `npm link @genesislcap/pbc-notify-ui`
7
13
  - On pbc-notify-ui [package.json](package.json) change the following lines:
8
- - ```"main": "dist/esm/index.js",``` to ```"main": "src/index.ts",```
9
- - ```"default": "./dist/esm/index.js"``` to ```"default": "./src/index.ts"```
10
- - :warning: Always do a ```git rollback``` on the ```package.json``` before a commit or just don't commit it
11
-
12
- :package: **Build**
13
- - The recommended build command to be used is ```genx build -b ts```
14
- - Undo the following lines on pbc-notify-ui [package.json] (package.json):
15
- - ```"main": "src/index.ts",``` to ```"main": "dist/esm/index.js",```
16
- - ```"default": "./src/index.ts"``` to ```"default": "./dist/esm/index.js"```
17
- - Do a ```npm run build``` on pbc-notify-ui
18
- - Do a ```npm run build``` on client app
19
- - A ```dist``` folder will be generated with the front-end
14
+ - `"main": "dist/esm/index.js",` to `"main": "src/index.ts",`
15
+ - `"default": "./dist/esm/index.js"` to `"default": "./src/index.ts"`
16
+
17
+ **Important:** Always do a `git rollback` on the `package.json` before a commit or just don't commit it.
18
+
19
+ ## Build
20
+
21
+ - The recommended build command to be used is `genx build -b ts`
22
+
23
+ _If you developed using manual method:_
24
+
25
+ - Undo the following lines on pbc-notify-ui [package.json](package.json):
26
+ - `"main": "src/index.ts",` to `"main": "dist/esm/index.js",`
27
+ - `"default": "./src/index.ts"` to `"default": "./dist/esm/index.js"`
28
+ - Do a `npm run build` on pbc-notify-ui
29
+ - Do a `npm run build` on client app
30
+
31
+ _If not, just run the `npm run build` command._
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAgDA,wBAAsB,WAAW,kBAIhC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAiDA,wBAAsB,WAAW,kBAIhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-parameter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAMxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,qBAKa,aAAc,SAAQ,cAAc;IAC7B,SAAS,EAAE,mBAAmB,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAS;IAChC,QAAQ,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAM;IAEpC,iBAAiB;IAsBjB,oBAAoB;IAIpB,aAAa,CAAC,UAAU,KAAA;CAOzB"}
1
+ {"version":3,"file":"rule-parameter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAMxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,qBAKa,aAAc,SAAQ,cAAc;IAC7B,SAAS,EAAE,mBAAmB,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAS;IAChC,QAAQ,EAAE,MAAM,CAAQ;IAClB,UAAU,EAAE,MAAM,CAAM;IAEpC,iBAAiB;IAsBjB,oBAAoB;IAIpB,aAAa,CAAC,UAAU,KAAA;CAOzB"}
@@ -19,22 +19,21 @@ export declare class FoundationInboxBase extends GenesisElement {
19
19
  templateService: TemplateService;
20
20
  templates: RuleTemplate[];
21
21
  templatesFilter: RuleTemplate[];
22
+ searchAlertLog: string;
22
23
  searchSubscribe: string;
23
24
  ruleTemplateDetails: NotificationRuleTemplateReply;
24
25
  selectedTab: InboxTab;
25
26
  tabs: Tabs;
26
27
  connectedCallback(): Promise<void>;
27
28
  disconnectedCallback(): void;
28
- checkActiveTab(inboxTab: InboxTab): "" | "display: none;";
29
29
  inboxTabChanged(inboxTab: InboxTab): Promise<void>;
30
30
  alertsChanged: () => Alert[];
31
31
  rulesChanged: () => Rule[];
32
32
  templatesChanged: () => RuleTemplate[];
33
- searchAlertLog: string;
34
- searchAlertLogChanged: () => void;
35
- private filterAlerts;
36
- searchSubscribeChanged: () => void;
33
+ filterSearchAlertLog(): void;
34
+ filterSearchSubscribe(): void;
37
35
  dismissAlert(alertId: string): void;
36
+ validateResponse(response: any): void;
38
37
  dismissAllAlerts(): void;
39
38
  editAlert(): void;
40
39
  playPauseAlert(ruleClicked: Rule): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"inbox-base.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-inbox/inbox-base/inbox-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EACL,KAAK,EAEL,QAAQ,EACR,6BAA6B,EAC7B,IAAI,EAEJ,YAAY,EACb,MAAM,gBAAgB,CAAC;AAExB,qBAAa,m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EH,cAAc,CAAC,WAAW,EAAE,IAAI;IAgBhC,WAAW,CAAC,WAAW,EAAE,IAAI;IAO7B,wBAAwB,CAAC,YAAY,EAAE,GAAG;CAWjD"}
@@ -5,5 +5,7 @@ import { FoundationInboxBase } from './inbox-base/inbox-base';
5
5
  * @beta
6
6
  */
7
7
  export declare class FoundationInbox extends FoundationInboxBase {
8
+ connectedCallback(): Promise<void>;
9
+ disconnectedCallback(): void;
8
10
  }
9
11
  //# 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,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D;;;;GAIG;AACH,qBAKa,eAAgB,SAAQ,mBAAmB;CAAG"}
1
+ {"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D;;;;GAIG;AACH,qBAKa,eAAgB,SAAQ,mBAAmB;IAChD,iBAAiB;IAKvB,oBAAoB;CAGrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.styles.ts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,WAAW,iDA+BvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,iDAkDrC,CAAC;AAEF,eAAO,MAAM,aAAa,iDAYzB,CAAC;AAEF,eAAO,MAAM,SAAS,iDAYrB,CAAC;AAEF,eAAO,MAAM,eAAe,iDA0D3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,iDAuBjC,CAAC"}
1
+ {"version":3,"file":"inbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.styles.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,WAAW,iDA+BvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,iDAkDrC,CAAC;AAEF,eAAO,MAAM,aAAa,iDAYzB,CAAC;AAEF,eAAO,MAAM,SAAS,iDAYrB,CAAC;AAEF,eAAO,MAAM,eAAe,iDA0D3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,iDAwBjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA8D/C;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEAiJnC,CAAC"}
1
+ {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAoE/C;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEAoJnC,CAAC"}
@@ -70,9 +70,9 @@ export declare enum RuleStatus {
70
70
  DISABLED = "DISABLED"
71
71
  }
72
72
  export declare enum InboxTab {
73
- AlertsNew = 0,
74
- AlertHistory = 1,
75
- MyAlerts = 2,
76
- Subscribe = 3
73
+ ALERTS_NEW = 0,
74
+ ALERT_HISTORY = 1,
75
+ MY_ALERTS = 2,
76
+ SUBSCRIBE = 3
77
77
  }
78
78
  //# sourceMappingURL=inbox.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,WAAW,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,M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AAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE;QACf,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;KACxB,CAAC;IACF,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE;QACjB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,oBAAY,QAAQ;IAClB,SAAS,IAAA;IACT,YAAY,IAAA;IACZ,QAAQ,IAAA;IACR,SAAS,IAAA;CACV"}
1
+ {"version":3,"file":"inbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,WAAW,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WA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../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EACL,sBAAsB,EAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAMlE,qBAKa,oBAAqB,SAAQ,cAAc;IAC1C,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IAErC,eAAe;IAIT,gBAAgB;IAetB,aAAa;IASb,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAShB,gBAAgB;IAgBhB,sBAAsB;IActB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IASrB,uBAAuB;CAQxB"}
1
+ {"version":3,"file":"rule-condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EACL,sBAAsB,EAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAMlE,qBAKa,oBAAqB,SAAQ,cAAc;IAC1C,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,KAAK,EAAE,CAAM;IAErB,SAAS,EAAE,MAAM,CAAQ;IACzB,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAQ;IAE/B,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAQ;IAC9B,gBAAgB,EAAE,MAAM,CAAQ;IAE5C,eAAe;IAIT,gBAAgB;IAetB,aAAa;IASb,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAShB,gBAAgB;IAgBhB,sBAAsB;IActB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IASrB,uBAAuB;CAQxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAEL,sBAAsB,EAGtB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAU9E,OAAO,EAAQ,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,qBAKa,UAAW,SAAQ,cAAc;IAC/B,WAAW,EAAE,WAAW,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAE5C,MAAM,EAAE,KAAK,CAAC;IACF,cAAc,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;IAEjF,OAAO,CAAC,MAAM,CAAS;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,UAAU,EAAE,UAAU,EAAE,CAAqB;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAE/C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAC9B,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAM;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;IAE7B,OAAO,CAAC,cAAc,CAAkE;IAE3E,UAAU,CAAC,MAAM,EAAE,gBAAgB;IAiBhD,KAAK;YAsBS,UAAU;YASV,QAAQ;IAYtB,OAAO,CAAC,oBAAoB;IAc5B,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,MAAM;IAiBN,OAAO,CAAC,gBAAgB;IAqBxB,gBAAgB,CAAC,QAAQ,KAAA;IASnB,eAAe;IAMrB,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAErD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IASxD,IACW,sBAAsB,IAAI,OAAO,CAE3C;CACF"}
1
+ {"version":3,"file":"rule-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAEL,sBAAsB,EAGtB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAU9E,OAAO,EA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../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,iDAiDlC,CAAC"}
1
+ {"version":3,"file":"parameter-builder.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,iDAsDlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parameter-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,wBAAwB,uEA6EpC,CAAC"}
1
+ {"version":3,"file":"parameter-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,wBAAwB,uEAmFpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"template-condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,EACL,sBAAsB,EAIvB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,qBAKa,wBAAyB,SAAQ,cAAc;IACpD,SAAS,EAAE,sBAAsB,CAAC;IAClC,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC1C,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhB,SAAS,EAAE,GAAG,CAAC;IACf,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAE7C,eAAe;IAIT,gBAAgB;IAetB,iBAAiB;IAQjB,aAAa;IASb,sBAAsB;IAetB,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAkBhB,OAAO,CAAC,gBAAgB;IAcxB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IASrB,uBAAuB;CASxB"}
1
+ {"version":3,"file":"template-condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,EACL,sBAAsB,EAIvB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,qBAKa,wBAAyB,SAAQ,cAAc;IACpD,SAAS,EAAE,sBAAsB,CAAC;IAClC,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAC/C,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAErB,SAAS,EAAE,GAAG,CAAQ;IACtB,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAQ;IAC/B,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAQ;IAC9B,gBAAgB,EAAE,MAAM,CAAQ;IAChC,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAE7C,eAAe;IAIT,gBAAgB;IAetB,iBAAiB;IAQjB,aAAa;IASb,sBAAsB;IAetB,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAkBhB,OAAO,CAAC,gBAAgB;IAcxB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IASrB,uBAAuB;CASxB"}
@@ -11,14 +11,14 @@ export declare class TemplateDialog extends GenesisElement {
11
11
  notifyService: NotifyService;
12
12
  dialog: Modal;
13
13
  templateDialogMode: (typeof TemplateDialogMode)[keyof typeof TemplateDialogMode];
14
- templateId: string;
14
+ private templateId;
15
15
  name: string;
16
16
  description: string;
17
17
  header: any;
18
18
  message: any;
19
19
  resource: string;
20
- topic: any;
21
- severity: any;
20
+ topic: string;
21
+ severity: string;
22
22
  updateType: UpdateType[];
23
23
  parameters: Array<ParameterBuilderEntity>;
24
24
  conditions: Array<ConditionBuilderEntity>;
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAEL,sBAAsB,EAGtB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAU3E,OAAO,EAAE,sBAAsB,EAAY,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE/F,qBAKa,cAAe,SAAQ,cAAc;IAC/B,eAAe,EAAE,eAAe,CAAC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAE5C,MAAM,EAAE,KAAK,CAAC;IACF,kBAAkB,EAAE,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CACrF;IAEK,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,MAAC;IACP,OAAO,MAAC;IACR,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,UAAU,EAAE,UAAU,EAAE,CAAqB;IAE7C,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAC/C,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAE/C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAC9B,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAM;IAC1B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAEvC,OAAO,CAAC,cAAc,CAAkE;IAE3E,UAAU,CAAC,MAAM,EAAE,GAAG;IAoBnC,KAAK;YAuBS,cAAc;YASd,YAAY;IAgB1B,OAAO,CAAC,oBAAoB;IAc5B,IAAI,mBAAmB,IAAI,MAAM,CAEhC;IAED,MAAM;IAwBN,OAAO,CAAC,oBAAoB;IAyB5B,gBAAgB,CAAC,QAAQ,KAAA;IASnB,eAAe;IAMrB,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAErD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAUxD,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWxD,IACW,sBAAsB,IAAI,OAAO,CAE3C;CACF"}
1
+ {"version":3,"file":"template-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"],"names":[],"mappings":"AAA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AoBnC,KAAK;YAuBS,cAAc;YASd,YAAY;IAgB1B,OAAO,CAAC,oBAAoB;IAc5B,IAAI,mBAAmB,IAAI,MAAM,CAEhC;IAED,MAAM;IAwBN,OAAO,CAAC,oBAAoB;IAyB5B,gBAAgB,CAAC,QAAQ,KAAA;IASnB,eAAe;IAMrB,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAErD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAUxD,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWxD,IACW,sBAAsB,IAAI,OAAO,CAE3C;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"condition-builder.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,iDA2DlC,CAAC"}
1
+ {"version":3,"file":"condition-builder.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,iDA+DlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-rule.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,iDAevC,CAAC;AAkEF,eAAO,MAAM,uBAAuB,iDAoFnC,CAAC"}
1
+ {"version":3,"file":"dynamic-rule.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,2BAA2B,iDAevC,CAAC;AAkEF,eAAO,MAAM,uBAAuB,iDAyEnC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Auth, Connect } from '@genesislcap/foundation-comms';
2
+ import { GenesisElement } from '@genesislcap/web-core';
3
+ export declare class ReconciliationSandbox extends GenesisElement {
4
+ connect: Connect;
5
+ auth: Auth;
6
+ ready: boolean;
7
+ connectedCallback(): Promise<void>;
8
+ }
9
+ //# sourceMappingURL=sandbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../src/sandbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAsB,cAAc,EAA0B,MAAM,uBAAuB,CAAC;AAEnG,qBAea,qBAAsB,SAAQ,cAAc;IAC9C,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IACN,KAAK,UAAS;IAEpB,iBAAiB;CAqBxB"}
@@ -0,0 +1,2 @@
1
+ export declare const scrollbarStyles: import("@microsoft/fast-element").ElementStyles;
2
+ //# sourceMappingURL=scrollbar.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollbar.styles.d.ts","sourceRoot":"","sources":["../../../src/styles/scrollbar.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,iDAY3B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { __awaiter } from "tslib";
2
2
  import { foundationLayoutComponents } from '@genesislcap/foundation-layout';
3
3
  import * as rapidDesignSystem from '@genesislcap/rapid-design-system';
4
+ import { rapidGridComponents } from '@genesislcap/rapid-grid-pro';
4
5
  import { FoundationInboxCounter } from './foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter';
5
6
  import { InboxSubscription } from './foundation-inbox/components/inbox-subscription/inbox-subscription';
6
7
  import { RuleParameter } from './foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter';
@@ -44,6 +45,6 @@ export function loadRemotes() {
44
45
  return __awaiter(this, void 0, void 0, function* () {
45
46
  rapidDesignSystem
46
47
  .provideDesignSystem()
47
- .register(rapidDesignSystem.baseComponents, foundationLayoutComponents);
48
+ .register(rapidGridComponents, rapidDesignSystem.baseComponents, foundationLayoutComponents);
48
49
  });
49
50
  }
@@ -8,6 +8,7 @@ let RuleParameter = class RuleParameter extends GenesisElement {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.isFirstElement = false;
11
+ this.operator = null;
11
12
  this.inputValue = '';
12
13
  }
13
14
  connectedCallback() {
@@ -7,6 +7,7 @@ import { FoundationInboxService } from '../../../services/inbox.service';
7
7
  import { RuleService } from '../../../services/rule.service';
8
8
  import { TemplateService } from '../../../services/template.service';
9
9
  import { logger } from '../../../utils';
10
+ import { showNotificationError } from '../../foundation-notification-dashboard/notification-dashboard.utils';
10
11
  import { AlertStatus, InboxTab, RuleStatus, } from '../inbox.types';
11
12
  export class FoundationInboxBase extends GenesisElement {
12
13
  constructor() {
@@ -17,25 +18,15 @@ export class FoundationInboxBase extends GenesisElement {
17
18
  this.rulesFilter = [];
18
19
  this.templates = [];
19
20
  this.templatesFilter = [];
20
- this.searchSubscribe = '';
21
+ this.searchAlertLog = null;
22
+ this.searchSubscribe = null;
21
23
  this.ruleTemplateDetails = null;
22
- this.selectedTab = InboxTab.AlertsNew;
24
+ this.selectedTab = InboxTab.ALERTS_NEW;
23
25
  // #endregion
24
26
  // #region Changed Events
25
27
  this.alertsChanged = () => (this.alertsFilter = this.alerts);
26
28
  this.rulesChanged = () => (this.rulesFilter = this.rules);
27
29
  this.templatesChanged = () => (this.templatesFilter = this.templates);
28
- this.searchAlertLog = '';
29
- this.searchAlertLogChanged = () => {
30
- this.filterAlerts();
31
- };
32
- this.searchSubscribeChanged = () => {
33
- if (!this.searchSubscribe) {
34
- this.templatesFilter = this.templates;
35
- return;
36
- }
37
- this.templatesFilter = this.templates.filter((item) => item.NAME.toLowerCase().startsWith(this.searchSubscribe.toLowerCase()));
38
- };
39
30
  // #endregion
40
31
  }
41
32
  connectedCallback() {
@@ -46,7 +37,7 @@ export class FoundationInboxBase extends GenesisElement {
46
37
  _super.connectedCallback.call(this);
47
38
  this.alertSubscription = ({ store }) => {
48
39
  this.alerts = (store === null || store === void 0 ? void 0 : store.items) || [];
49
- this.filterAlerts();
40
+ this.filterSearchAlertLog();
50
41
  };
51
42
  this.inboxService.subscribe(this.alertSubscription);
52
43
  this.rules = yield this.ruleService.getRules();
@@ -58,22 +49,19 @@ export class FoundationInboxBase extends GenesisElement {
58
49
  this.inboxService.unsubscribe(this.alertSubscription);
59
50
  }
60
51
  // #region Tabs
61
- checkActiveTab(inboxTab) {
62
- return this.tabs.activeid === inboxTab.toString() ? '' : 'display: none;';
63
- }
64
52
  inboxTabChanged(inboxTab) {
65
53
  return __awaiter(this, void 0, void 0, function* () {
66
54
  this.selectedTab = inboxTab;
67
55
  this.ruleTemplateDetails = null;
68
56
  switch (inboxTab) {
69
- case InboxTab.AlertsNew:
70
- case InboxTab.AlertHistory:
71
- this.filterAlerts();
57
+ case InboxTab.ALERTS_NEW:
58
+ case InboxTab.ALERT_HISTORY:
59
+ this.filterSearchAlertLog();
72
60
  break;
73
- case InboxTab.MyAlerts:
61
+ case InboxTab.MY_ALERTS:
74
62
  this.rules = yield this.ruleService.getRules();
75
63
  break;
76
- case InboxTab.Subscribe:
64
+ case InboxTab.SUBSCRIBE:
77
65
  this.templates = yield this.templateService.getRuleTemplates();
78
66
  break;
79
67
  default:
@@ -82,17 +70,31 @@ export class FoundationInboxBase extends GenesisElement {
82
70
  }
83
71
  });
84
72
  }
85
- filterAlerts() {
73
+ filterSearchAlertLog() {
86
74
  this.alertsFilter = this.alerts.filter((alert) => (!this.searchAlertLog ||
87
75
  alert.HEADER.toLowerCase().startsWith(this.searchAlertLog.toLowerCase())) &&
88
- ((this.selectedTab === InboxTab.AlertsNew && alert.ALERT_STATUS === AlertStatus.NEW) ||
89
- (this.selectedTab === InboxTab.AlertHistory && alert.ALERT_STATUS !== AlertStatus.NEW)));
76
+ ((this.selectedTab === InboxTab.ALERTS_NEW && alert.ALERT_STATUS === AlertStatus.NEW) ||
77
+ (this.selectedTab === InboxTab.ALERT_HISTORY && alert.ALERT_STATUS !== AlertStatus.NEW)));
78
+ }
79
+ filterSearchSubscribe() {
80
+ if (!this.searchSubscribe) {
81
+ this.templatesFilter = this.templates;
82
+ return;
83
+ }
84
+ this.templatesFilter = this.templates.filter((item) => item.NAME.toLowerCase().startsWith(this.searchSubscribe.toLowerCase()));
90
85
  }
91
86
  // #endregion
92
87
  // #region New and History
93
88
  dismissAlert(alertId) {
94
89
  this.alertService.dismissNotifyAlert(alertId);
95
90
  }
91
+ validateResponse(response) {
92
+ if (response.MESSAGE_TYPE === 'EVENT_ACK') {
93
+ this.alertsFilter.splice(0, this.alertsFilter.length);
94
+ return;
95
+ }
96
+ showNotificationError(response.ERROR);
97
+ }
96
98
  dismissAllAlerts() {
97
99
  showNotificationDialog({
98
100
  title: 'Confirm Clear All',
@@ -105,7 +107,7 @@ export class FoundationInboxBase extends GenesisElement {
105
107
  confirmingActions: [
106
108
  {
107
109
  label: 'Confirm',
108
- action: () => this.alertService.dismissAllNotifyAlerts(),
110
+ action: () => this.alertService.dismissAllNotifyAlerts().then((response) => this.validateResponse(response)),
109
111
  },
110
112
  ],
111
113
  },
@@ -184,6 +186,9 @@ __decorate([
184
186
  __decorate([
185
187
  observable
186
188
  ], FoundationInboxBase.prototype, "templatesFilter", void 0);
189
+ __decorate([
190
+ observable
191
+ ], FoundationInboxBase.prototype, "searchAlertLog", void 0);
187
192
  __decorate([
188
193
  observable
189
194
  ], FoundationInboxBase.prototype, "searchSubscribe", void 0);
@@ -193,6 +198,3 @@ __decorate([
193
198
  __decorate([
194
199
  observable
195
200
  ], FoundationInboxBase.prototype, "selectedTab", void 0);
196
- __decorate([
197
- observable
198
- ], FoundationInboxBase.prototype, "searchAlertLog", void 0);
@@ -1,5 +1,6 @@
1
- import { __decorate } from "tslib";
1
+ import { __awaiter, __decorate } from "tslib";
2
2
  import { customElement } from '@genesislcap/web-core';
3
+ import { loadRemotes } from '../components';
3
4
  import { FoundationInboxBase } from './inbox-base/inbox-base';
4
5
  import { FoundationInboxStyles } from './inbox.styles';
5
6
  import { FoundationInboxTemplate } from './inbox.template';
@@ -9,6 +10,18 @@ import { FoundationInboxTemplate } from './inbox.template';
9
10
  * @beta
10
11
  */
11
12
  let FoundationInbox = class FoundationInbox extends FoundationInboxBase {
13
+ connectedCallback() {
14
+ const _super = Object.create(null, {
15
+ connectedCallback: { get: () => super.connectedCallback }
16
+ });
17
+ return __awaiter(this, void 0, void 0, function* () {
18
+ _super.connectedCallback.call(this);
19
+ yield loadRemotes();
20
+ });
21
+ }
22
+ disconnectedCallback() {
23
+ super.disconnectedCallback();
24
+ }
12
25
  };
13
26
  FoundationInbox = __decorate([
14
27
  customElement({
@@ -1,4 +1,5 @@
1
1
  import { css } from '@genesislcap/web-core';
2
+ import { scrollbarStyles } from '../../styles/scrollbar.styles';
2
3
  const tabs = css `
3
4
  rapid-tabs {
4
5
  display: flex;
@@ -219,8 +220,9 @@ export const ruleAndTemplate = css `
219
220
  * @public
220
221
  */
221
222
  export const FoundationInboxStyles = css `
223
+ ${scrollbarStyles}
224
+
222
225
  :host {
223
- border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
224
226
  display: flex;
225
227
  min-height: 0;
226
228
  height: 100%;
@@ -1,4 +1,3 @@
1
- import { sync } from '@genesislcap/foundation-utils';
2
1
  import { html, ref, repeat, when } from '@genesislcap/web-core';
3
2
  import { NotifyPermission } from '../../utils/notifyPermissions';
4
3
  import { AlertStatus, InboxTab } from './inbox.types';
@@ -8,16 +7,20 @@ const alertsTab = (tab) => html `
8
7
  slot="alert-log-tab"
9
8
  class="alert-log-tab-panel"
10
9
  id=${tab}
11
- style=${(x) => x.checkActiveTab(tab)}
10
+ style=${(x) => (x.selectedTab === tab ? '' : 'display: none;')}
12
11
  >
13
12
  <div class="search">
14
13
  <rapid-text-field
15
14
  class="search-input"
16
- :value=${sync((x) => x.searchAlertLog)}
15
+ @input=${(x, c) => {
16
+ x.searchAlertLog = c.event.target.value;
17
+ x.filterSearchAlertLog();
18
+ }}
17
19
  placeholder="Search Alerts..."
18
20
  autocomplete="off"
19
21
  ></rapid-text-field>
20
- ${when(() => tab === InboxTab.AlertsNew, html `
22
+
23
+ ${when(() => tab === InboxTab.ALERTS_NEW, html `
21
24
  <rapid-button
22
25
  class="clear-all"
23
26
  appearance="primary"
@@ -27,6 +30,7 @@ const alertsTab = (tab) => html `
27
30
  </rapid-button>
28
31
  `)}
29
32
  </div>
33
+
30
34
  <div class="alert-log-tab-content">
31
35
  ${repeat((x) => x.alertsFilter, html `
32
36
  <div class="toast" id=${(x) => x.ALERT_ID}>
@@ -34,6 +38,7 @@ const alertsTab = (tab) => html `
34
38
  class="toast-severity"
35
39
  style="background-color: ${(x) => getSeverityColor(x.NOTIFY_SEVERITY)}"
36
40
  ></div>
41
+
37
42
  <div class="toast-content">
38
43
  ${when((x) => x.ALERT_STATUS === AlertStatus.NEW, html `
39
44
  <div class="close-icon" @click=${(x, c) => c.parent.dismissAlert(x.ALERT_ID)}>
@@ -56,19 +61,19 @@ const alertsTab = (tab) => html `
56
61
  */
57
62
  export const FoundationInboxTemplate = html `
58
63
  <div class="inbox-content">
59
- <rapid-tabs ${ref('tabs')} appearance="secondary" activeid=${(x) => InboxTab.AlertsNew}>
64
+ <rapid-tabs ${ref('tabs')} appearance="secondary" activeid=${(x) => InboxTab.ALERTS_NEW}>
60
65
  <rapid-tab
61
66
  slot="alert-log-tab"
62
- id=${InboxTab.AlertsNew}
63
- @click=${(x) => x.inboxTabChanged(InboxTab.AlertsNew)}
67
+ id=${InboxTab.ALERTS_NEW}
68
+ @click=${(x) => x.inboxTabChanged(InboxTab.ALERTS_NEW)}
64
69
  appearance="secondary"
65
70
  >
66
71
  Alerts
67
72
  </rapid-tab>
68
73
  <rapid-tab
69
74
  slot="alert-log-tab"
70
- id=${InboxTab.AlertHistory}
71
- @click=${(x) => x.inboxTabChanged(InboxTab.AlertHistory)}
75
+ id=${InboxTab.ALERT_HISTORY}
76
+ @click=${(x) => x.inboxTabChanged(InboxTab.ALERT_HISTORY)}
72
77
  appearance="secondary"
73
78
  >
74
79
  Alert History
@@ -76,8 +81,8 @@ export const FoundationInboxTemplate = html `
76
81
  ${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleView); }, html `
77
82
  <rapid-tab
78
83
  slot="my-alerts-tab"
79
- id=${InboxTab.MyAlerts}
80
- @click=${(x) => x.inboxTabChanged(InboxTab.MyAlerts)}
84
+ id=${InboxTab.MY_ALERTS}
85
+ @click=${(x) => x.inboxTabChanged(InboxTab.MY_ALERTS)}
81
86
  appearance="secondary"
82
87
  >
83
88
  Subscriptions
@@ -86,8 +91,8 @@ export const FoundationInboxTemplate = html `
86
91
  ${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleTemplateView); }, html `
87
92
  <rapid-tab
88
93
  slot="subscribe-tab"
89
- id=${InboxTab.Subscribe}
90
- @click=${(x) => x.inboxTabChanged(InboxTab.Subscribe)}
94
+ id=${InboxTab.SUBSCRIBE}
95
+ @click=${(x) => x.inboxTabChanged(InboxTab.SUBSCRIBE)}
91
96
  appearance="secondary"
92
97
  >
93
98
  Subscribe
@@ -95,14 +100,14 @@ export const FoundationInboxTemplate = html `
95
100
  `)}
96
101
 
97
102
  <!-- Alerts -->
98
- ${(_) => alertsTab(InboxTab.AlertsNew)} ${(_) => alertsTab(InboxTab.AlertHistory)}
103
+ ${(_) => alertsTab(InboxTab.ALERTS_NEW)} ${(_) => alertsTab(InboxTab.ALERT_HISTORY)}
99
104
  ${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleView); }, html `
100
105
  <!-- Rules -->
101
106
  <rapid-tab-panel
102
107
  slot="my-alerts-tab"
103
108
  class="my-alerts-tab-panel"
104
- id=${InboxTab.MyAlerts}
105
- style=${(x) => x.checkActiveTab(InboxTab.MyAlerts)}
109
+ id=${InboxTab.MY_ALERTS}
110
+ style=${(x) => (x.selectedTab === InboxTab.MY_ALERTS ? '' : 'display: none;')}
106
111
  >
107
112
  <div class="my-alerts-tab-content">
108
113
  ${repeat((x) => x.rulesFilter, html `
@@ -144,13 +149,16 @@ export const FoundationInboxTemplate = html `
144
149
  <rapid-tab-panel
145
150
  slot="subscribe-tab"
146
151
  class="subscribe-tab-panel"
147
- id=${InboxTab.Subscribe}
148
- style=${(x) => x.checkActiveTab(InboxTab.Subscribe)}
152
+ id=${InboxTab.SUBSCRIBE}
153
+ style=${(x) => (x.selectedTab === InboxTab.SUBSCRIBE ? '' : 'display: none;')}
149
154
  >
150
155
  <div class="search">
151
156
  <rapid-text-field
152
157
  class="search-input"
153
- :value=${sync((x) => x.searchSubscribe)}
158
+ @input=${(x, c) => {
159
+ x.searchSubscribe = c.event.target.value;
160
+ x.filterSearchSubscribe();
161
+ }}
154
162
  placeholder="Search Templates..."
155
163
  autocomplete="off"
156
164
  ></rapid-text-field>
@@ -10,8 +10,8 @@ export var RuleStatus;
10
10
  })(RuleStatus || (RuleStatus = {}));
11
11
  export var InboxTab;
12
12
  (function (InboxTab) {
13
- InboxTab[InboxTab["AlertsNew"] = 0] = "AlertsNew";
14
- InboxTab[InboxTab["AlertHistory"] = 1] = "AlertHistory";
15
- InboxTab[InboxTab["MyAlerts"] = 2] = "MyAlerts";
16
- InboxTab[InboxTab["Subscribe"] = 3] = "Subscribe";
13
+ InboxTab[InboxTab["ALERTS_NEW"] = 0] = "ALERTS_NEW";
14
+ InboxTab[InboxTab["ALERT_HISTORY"] = 1] = "ALERT_HISTORY";
15
+ InboxTab[InboxTab["MY_ALERTS"] = 2] = "MY_ALERTS";
16
+ InboxTab[InboxTab["SUBSCRIBE"] = 3] = "SUBSCRIBE";
17
17
  })(InboxTab || (InboxTab = {}));
@@ -9,8 +9,13 @@ import { RightCriteria } from './rule-condition-builder.types';
9
9
  let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
10
10
  constructor() {
11
11
  super(...arguments);
12
+ this.fields = [];
13
+ this.leftValue = null;
12
14
  this.leftValueItems = [];
15
+ this.logicalOperator = null;
13
16
  this.rightCriteria = RightCriteria.VALUE;
17
+ this.rightValueText = null;
18
+ this.rightValueSelect = null;
14
19
  }
15
20
  deleteCondition() {
16
21
  this.$emit('delete', this.condition);
@@ -60,10 +65,11 @@ let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
60
65
  this.rightValueSelect = null;
61
66
  }
62
67
  leftValueChanged() {
68
+ var _a;
63
69
  if (!this.condition) {
64
70
  return;
65
71
  }
66
- this.condition.LEFT_VALUE = JSON.parse(this.leftValue);
72
+ this.condition.LEFT_VALUE = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}');
67
73
  if (this.condition.LEFT_VALUE.FIELD_TYPE === FieldTypeEnum.BOOLEAN) {
68
74
  this.rightValueText = 'true';
69
75
  }
@@ -12,13 +12,19 @@ import { RuleDialogMode } from './rule-dialog.types';
12
12
  let RuleDialog = class RuleDialog extends GenesisElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
+ this.ruleId = null;
16
+ this.name = null;
17
+ this.description = null;
15
18
  this.resource = ''; // TODO: Tables + Views
16
19
  this.topic = '';
17
20
  this.severity = '';
18
21
  this.updateType = defaultUpdateType;
22
+ this.header = null;
23
+ this.message = null;
19
24
  this.conditions = [];
20
25
  this.resources = [];
21
26
  this.fields = [];
27
+ this.topics = [];
22
28
  this.requiredFields = () => [this.name, this.description, this.header, this.message];
23
29
  }
24
30
  openDialog(params) {
@@ -107,7 +107,7 @@ export const RuleDialogTemplate = html `
107
107
  </div>
108
108
 
109
109
  <div slot="bottom" class="dialog-bottom">
110
- <rapid-button appearance="accent" @click=${(x) => x.submit()}>Submit</rapid-button>
110
+ <rapid-button appearance="primary" @click=${(x) => x.submit()}>Submit</rapid-button>
111
111
  </div>
112
112
  </rapid-modal>
113
113
  `;
@@ -13,9 +13,9 @@ export const ParameterBuilderStyles = css `
13
13
 
14
14
  .delete {
15
15
  margin: 0;
16
- background-color: var(--neutral-layer-1);
17
16
  display: flex;
18
17
  justify-content: center;
18
+ height: calc(var(--design-unit) * 9px);
19
19
  }
20
20
 
21
21
  .delete:hover {
@@ -24,6 +24,11 @@ export const ParameterBuilderStyles = css `
24
24
 
25
25
  rapid-text-field {
26
26
  width: 100%;
27
+ margin-bottom: 0;
28
+ }
29
+
30
+ rapid-text-field::part(root) {
31
+ height: calc(var(--design-unit) * 9px);
27
32
  }
28
33
 
29
34
  rapid-select {
@@ -58,7 +58,13 @@ export const ParameterBuilderTemplate = html `
58
58
  </rapid-select>
59
59
 
60
60
  <rapid-button appearance="icon" class="delete" @click=${(x) => x.deleteParameter()}>
61
- <rapid-icon name="trash" part="icon"></rapid-icon>
61
+ <rapid-icon
62
+ style="opacity: 0.5"
63
+ variant="regular"
64
+ name="trash-alt"
65
+ size="lg"
66
+ part="icon"
67
+ ></rapid-icon>
62
68
  </rapid-button>
63
69
  </div>
64
70
  `;
@@ -8,8 +8,14 @@ import { TemplateConditionBuilderTemplate } from './template-condition-builder.t
8
8
  let TemplateConditionBuilder = class TemplateConditionBuilder extends GenesisElement {
9
9
  constructor() {
10
10
  super(...arguments);
11
+ this.parameters = [];
12
+ this.fields = [];
13
+ this.leftValue = null;
11
14
  this.leftValueItems = [];
15
+ this.logicalOperator = null;
12
16
  this.rightCriteria = RightCriteria.VALUE;
17
+ this.rightValueText = null;
18
+ this.rightValueSelect = null;
13
19
  this.rightValueItems = [];
14
20
  // #endregion
15
21
  }
@@ -72,10 +78,11 @@ let TemplateConditionBuilder = class TemplateConditionBuilder extends GenesisEle
72
78
  this.condition.LEFT_VALUE = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}');
73
79
  }
74
80
  leftValueChanged() {
81
+ var _a;
75
82
  if (!this.condition) {
76
83
  return;
77
84
  }
78
- this.condition.LEFT_VALUE = JSON.parse(this.leftValue);
85
+ this.condition.LEFT_VALUE = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}');
79
86
  if (this.condition.LEFT_VALUE.FIELD_TYPE === FieldTypeEnum.BOOLEAN) {
80
87
  this.rightValueText = 'true';
81
88
  }
@@ -13,7 +13,14 @@ let TemplateDialog = class TemplateDialog extends GenesisElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.templateDialogMode = null;
16
+ this.templateId = null;
17
+ this.name = null;
18
+ this.description = null;
19
+ this.header = null;
20
+ this.message = null;
16
21
  this.resource = ''; // TODO: Tables + Views
22
+ this.topic = '';
23
+ this.severity = '';
17
24
  this.updateType = defaultUpdateType;
18
25
  this.parameters = [];
19
26
  this.conditions = [];
@@ -189,9 +196,6 @@ __decorate([
189
196
  __decorate([
190
197
  observable
191
198
  ], TemplateDialog.prototype, "templateDialogMode", void 0);
192
- __decorate([
193
- observable
194
- ], TemplateDialog.prototype, "templateId", void 0);
195
199
  __decorate([
196
200
  observable
197
201
  ], TemplateDialog.prototype, "name", void 0);
@@ -119,7 +119,7 @@ export const TemplateDialogTemplate = html `
119
119
  </div>
120
120
 
121
121
  <div slot="bottom" class="dialog-bottom">
122
- <rapid-button appearance="accent" @click=${(x) => x.submit()}>Submit</rapid-button>
122
+ <rapid-button appearance="primary" @click=${(x) => x.submit()}>Submit</rapid-button>
123
123
  </div>
124
124
  </rapid-modal>
125
125
  `;
@@ -17,6 +17,10 @@ export const ConditionBuilderStyles = css `
17
17
  height: calc(var(--design-unit) * 9px);
18
18
  }
19
19
 
20
+ .delete:hover {
21
+ background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);
22
+ }
23
+
20
24
  rapid-text-field {
21
25
  width: 100%;
22
26
  margin-bottom: 0;
@@ -1,4 +1,5 @@
1
1
  import { css } from '@genesislcap/web-core';
2
+ import { scrollbarStyles } from '../../../styles/scrollbar.styles';
2
3
  export const DynamicRuleManagementStyles = css `
3
4
  .container {
4
5
  display: flex;
@@ -70,11 +71,12 @@ const select = css `
70
71
  max-height: 40px;
71
72
  }
72
73
 
73
- rapid-multiselect::part(input) {
74
+ rapid-multiselect::part(filter-search) {
74
75
  height: calc((var(--design-unit) * 9px) - 2px);
75
76
  }
76
77
  `;
77
78
  export const DynamicRuleDialogStyles = css `
79
+ ${scrollbarStyles}
78
80
  ${top}
79
81
  ${bottom}
80
82
 
@@ -146,17 +148,5 @@ export const DynamicRuleDialogStyles = css `
146
148
  .topic {
147
149
  min-width: revert-layer;
148
150
  }
149
-
150
- ::-webkit-scrollbar {
151
- width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);
152
- }
153
-
154
- ::-webkit-scrollbar-track {
155
- background: var(--neutral-layer-1);
156
- }
157
-
158
- ::-webkit-scrollbar-thumb {
159
- background: var(--neutral-fill-rest);
160
- }
161
151
  `;
162
152
  // #endregion
@@ -0,0 +1,55 @@
1
+ import { __awaiter, __decorate } from "tslib";
2
+ import { Auth, AuthType, Connect } from '@genesislcap/foundation-comms';
3
+ import { css, customElement, GenesisElement, html, observable, when } from '@genesislcap/web-core';
4
+ let ReconciliationSandbox = class ReconciliationSandbox extends GenesisElement {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.ready = false;
8
+ }
9
+ connectedCallback() {
10
+ const _super = Object.create(null, {
11
+ connectedCallback: { get: () => super.connectedCallback }
12
+ });
13
+ return __awaiter(this, void 0, void 0, function* () {
14
+ _super.connectedCallback.call(this);
15
+ console.log('.env:', {
16
+ GENX_SANDBOX_DEFAULT_USER,
17
+ GENX_SANDBOX_DEFAULT_PASSWORD,
18
+ GENX_SANDBOX_API_HOST,
19
+ });
20
+ yield this.connect.connect(GENX_SANDBOX_API_HOST);
21
+ yield this.auth.login({
22
+ username: GENX_SANDBOX_DEFAULT_USER,
23
+ password: GENX_SANDBOX_DEFAULT_PASSWORD,
24
+ type: AuthType.BASIC,
25
+ });
26
+ this.auth.isLoggedIn$.subscribe((isLoggedIn) => {
27
+ this.ready = isLoggedIn;
28
+ });
29
+ });
30
+ }
31
+ };
32
+ __decorate([
33
+ Connect
34
+ ], ReconciliationSandbox.prototype, "connect", void 0);
35
+ __decorate([
36
+ Auth
37
+ ], ReconciliationSandbox.prototype, "auth", void 0);
38
+ __decorate([
39
+ observable
40
+ ], ReconciliationSandbox.prototype, "ready", void 0);
41
+ ReconciliationSandbox = __decorate([
42
+ customElement({
43
+ name: 'notify-sandbox',
44
+ template: html `
45
+ ${when((x) => x.ready, html `
46
+ <rapid-design-system-provider>
47
+ <foundation-notification-dashboard></foundation-notification-dashboard>
48
+ <!-- <foundation-inbox></foundation-inbox> -->
49
+ </rapid-design-system-provider>
50
+ `)}
51
+ `,
52
+ styles: css ``,
53
+ })
54
+ ], ReconciliationSandbox);
55
+ export { ReconciliationSandbox };
@@ -18,7 +18,7 @@ class AlertServiceImpl {
18
18
  }
19
19
  dismissAllNotifyAlerts() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
- return this.connect.commitEvent('EVENT_DISMISS_ALL_NOTIFY_ALERT');
21
+ return this.connect.commitEvent('EVENT_DISMISS_ALL_NOTIFY_ALERT', { DETAILS: {} });
22
22
  });
23
23
  }
24
24
  }
@@ -0,0 +1,14 @@
1
+ import { css } from '@genesislcap/web-core';
2
+ export const scrollbarStyles = css `
3
+ ::-webkit-scrollbar {
4
+ width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);
5
+ }
6
+
7
+ ::-webkit-scrollbar-track {
8
+ background: var(--neutral-layer-1);
9
+ }
10
+
11
+ ::-webkit-scrollbar-thumb {
12
+ background: var(--neutral-fill-rest);
13
+ }
14
+ `;
package/index.html CHANGED
@@ -1,26 +1,28 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
+
3
4
  <head>
4
- <meta charset="utf-8"/>
5
- <title>{{htmlWebpackPlugin.options.title}}</title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- </head>
8
- <style>
5
+ <meta charset="utf-8" />
6
+ <title>{{htmlWebpackPlugin.options.title}}</title>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <style>
9
9
  html,
10
10
  body {
11
- width: 100%;
12
- height: 100%;
13
- padding: 0;
14
- margin: 0;
15
- }
16
- :not(:defined) {
17
- visibility: hidden;
11
+ width: 100%;
12
+ height: 100%;
13
+ background: var(--neutral-layer-4);
14
+ padding: 0;
15
+ margin: 0;
18
16
  }
19
- </style>
17
+ </style>
18
+ </head>
19
+
20
20
  <body>
21
- <foundation-inbox></foundation-inbox>
22
- {{#if insertEntryPoint}}
23
- <script type="module" src="/src/index.ts"></script>
24
- {{/if}}
21
+ <notify-sandbox></notify-sandbox>
22
+ {{#if insertEntryPoint}}
23
+ <script type="module" src="/src/sandbox.ts"></script>
24
+ <script type="module" src="/src/index.ts"></script>
25
+ {{/if}}
25
26
  </body>
26
- </html>
27
+
28
+ </html>
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.42",
4
+ "version": "1.0.44",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -41,7 +41,7 @@
41
41
  "clean": "genx clean dist node_modules",
42
42
  "circular": "npx madge --extensions ts --circular ./src",
43
43
  "commitlint": "node ./scripts/commitlint",
44
- "dev": "genx dev -e API_HOST",
44
+ "dev": "genx dev",
45
45
  "dev:docker": "npm run dev -- --host 0.0.0.0",
46
46
  "dev:intellij": "genx dev -e",
47
47
  "dev:no-open": "npm run dev -- --no-open",
@@ -86,15 +86,20 @@
86
86
  }
87
87
  },
88
88
  "devDependencies": {
89
+ "@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
90
+ "@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
89
91
  "@commitlint/cli": "^19.2.1",
90
92
  "@commitlint/config-conventional": "^19.1.0",
91
93
  "@commitlint/format": "^19.0.3",
94
+ "@genesislcap/design-system-configurator": "~14",
92
95
  "@genesislcap/eslint-config": "~14",
93
96
  "@genesislcap/eslint-stylelint-builder": "~14",
94
97
  "@genesislcap/foundation-testing": "~14",
95
98
  "@genesislcap/genx": "~14",
96
99
  "@genesislcap/prettier-config": "~14",
97
100
  "@genesislcap/stylelint-config": "~14",
101
+ "@genesislcap/vite-builder": "~14",
102
+ "@genesislcap/webpack-builder": "~14",
98
103
  "conventional-changelog-conventionalcommits": "^6.1.0",
99
104
  "husky": "9.0.11",
100
105
  "lint-prepush": "^2.2.1",
@@ -105,19 +110,24 @@
105
110
  },
106
111
  "peerDependencies": {
107
112
  "@genesislcap/foundation-comms": "~14",
113
+ "@genesislcap/foundation-events": "~14",
108
114
  "@genesislcap/foundation-entity-management": "~14",
109
115
  "@genesislcap/foundation-forms": "~14",
116
+ "@genesislcap/foundation-notifications": "~14",
110
117
  "@genesislcap/foundation-layout": "~14",
111
118
  "@genesislcap/foundation-logger": "~14",
112
- "@genesislcap/foundation-notifications": "~14",
119
+ "@genesislcap/foundation-shell": "~14",
120
+ "@genesislcap/foundation-store": "~14",
113
121
  "@genesislcap/foundation-ui": "~14",
114
122
  "@genesislcap/foundation-utils": "~14",
115
123
  "@genesislcap/foundation-zero": "~14",
124
+ "@genesislcap/foundation-zero-grid-pro": "~14",
125
+ "@genesislcap/rapid-grid-pro": "~14",
116
126
  "@genesislcap/rapid-design-system": "~14",
127
+ "@genesislcap/g2plot-chart": "~14",
117
128
  "@genesislcap/web-core": "~14"
118
129
  },
119
130
  "publishConfig": {
120
131
  "access": "public"
121
- },
122
- "customElements": "dist/custom-elements.json"
132
+ }
123
133
  }