@genesislcap/pbc-notify-ui 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/components/components.d.ts +1 -3
- package/dist/dts/components/components.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts +2 -2
- package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts +1 -1
- package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts +2 -2
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts +2 -2
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts +2 -2
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts +2 -2
- package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +4 -5
- package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox.styles.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox.template.d.ts +1 -7
- package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-inbox/inbox.types.d.ts +6 -0
- package/dist/dts/components/foundation-inbox/inbox.types.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +3 -3
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.d.ts +3 -3
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +3 -3
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts +3 -3
- package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts +2 -2
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts +1 -1
- package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/styles/condition-builder.styles.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/styles/dynamic-rule.styles.d.ts.map +1 -1
- package/dist/dts/services/rule.service.d.ts +1 -1
- package/dist/dts/services/rule.service.d.ts.map +1 -1
- package/dist/dts/services/template.service.d.ts +1 -1
- package/dist/dts/services/template.service.d.ts.map +1 -1
- package/dist/dts/utils/eventDetail.d.ts +1 -1
- package/dist/dts/utils/eventDetail.d.ts.map +1 -1
- package/dist/esm/components/components.js +4 -33
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.js +2 -2
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.js +1 -1
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.js +1 -1
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.js +1 -1
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.js +3 -3
- package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.js +6 -6
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.js +2 -2
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.js +2 -2
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.js +3 -3
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.js +2 -2
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.js +2 -2
- package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.js +13 -13
- package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +3 -4
- package/dist/esm/components/foundation-inbox/inbox.js +1 -1
- package/dist/esm/components/foundation-inbox/inbox.styles.js +5 -4
- package/dist/esm/components/foundation-inbox/inbox.template.js +26 -33
- package/dist/esm/components/foundation-inbox/inbox.types.js +7 -0
- package/dist/esm/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js +24 -24
- package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.js +3 -2
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.js +19 -21
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +25 -25
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-management.js +8 -8
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.js +11 -9
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.js +20 -20
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.js +19 -20
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.js +22 -22
- package/dist/esm/components/foundation-notification-dashboard/components/templates/template-management.js +8 -8
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.js +2 -2
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js +3 -3
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js +6 -6
- package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.utils.js +1 -1
- package/dist/esm/components/foundation-notification-dashboard/styles/condition-builder.styles.js +15 -9
- package/dist/esm/components/foundation-notification-dashboard/styles/dynamic-rule.styles.js +32 -12
- package/dist/esm/components/foundation-notification-dashboard/styles/management.styles.js +1 -1
- package/dist/esm/services/alert.service.js +1 -1
- package/dist/esm/services/inbox.service.js +1 -1
- package/dist/esm/services/notify.service.js +1 -1
- package/dist/esm/services/rule.service.js +1 -1
- package/dist/esm/services/system.service.js +1 -1
- package/dist/esm/services/template.service.js +1 -1
- package/dist/esm/utils/icons.js +4 -4
- package/package.json +11 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-dashboard.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-dashboard.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-notification-dashboard/notification-dashboard.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAMhF,eAAO,MAAM,uCAAuC,sFAsCnD,CAAC"}
|
|
@@ -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,
|
|
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,iDAqDlC,CAAC"}
|
package/dist/dts/components/foundation-notification-dashboard/styles/dynamic-rule.styles.d.ts.map
CHANGED
|
@@ -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;AA8DF,eAAO,MAAM,uBAAuB,
|
|
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;AA8DF,eAAO,MAAM,uBAAuB,iDAoFnC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Message } from '@genesislcap/foundation-comms';
|
|
2
|
-
import { Rule } from '../components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types';
|
|
2
|
+
import type { Rule } from '../components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types';
|
|
3
3
|
export interface RuleService {
|
|
4
4
|
subscribeRule(dynamicRuleId: string, parameterDetails: any): any;
|
|
5
5
|
unsubscribeRule(dynamicRuleId: string): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule.service.d.ts","sourceRoot":"","sources":["../../../src/services/rule.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,IAAI,EAAE,MAAM,gGAAgG,CAAC;
|
|
1
|
+
{"version":3,"file":"rule.service.d.ts","sourceRoot":"","sources":["../../../src/services/rule.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gGAAgG,CAAC;AAE3H,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,aAAa,EAAE,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAE;IAC5D,eAAe,CAAC,aAAa,EAAE,MAAM,OAAE;IACvC,UAAU,CAAC,aAAa,EAAE,MAAM,OAAE;IAClC,WAAW,CAAC,aAAa,EAAE,MAAM,OAAE;IACnC,QAAQ,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACzC,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACzC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAkHD,eAAO,MAAM,WAAW,mEAAuE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Template } from '../components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types';
|
|
1
|
+
import type { Template } from '../components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types';
|
|
2
2
|
export interface TemplateService {
|
|
3
3
|
createRuleTemplate(ruleTemplate: Template): Promise<any>;
|
|
4
4
|
editRuleTemplate(ruleTemplate: Template): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.service.d.ts","sourceRoot":"","sources":["../../../src/services/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,4GAA4G,CAAC;
|
|
1
|
+
{"version":3,"file":"template.service.d.ts","sourceRoot":"","sources":["../../../src/services/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4GAA4G,CAAC;AAE3I,MAAM,WAAW,eAAe;IAC9B,kBAAkB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACzD,gBAAgB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACvD,gBAAgB,QAAG;IACnB,sBAAsB,CAAC,aAAa,EAAE,MAAM,OAAE;IAC9C,kBAAkB,CAAC,aAAa,EAAE,MAAM,OAAE;CAC3C;AA0DD,eAAO,MAAM,eAAe,uEAE3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventDetail.d.ts","sourceRoot":"","sources":["../../../src/utils/eventDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"eventDetail.d.ts","sourceRoot":"","sources":["../../../src/utils/eventDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,wBAAgB,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,gBAAgB,KAEzD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { foundationLayoutComponents } from '@genesislcap/foundation-layout';
|
|
3
|
-
import
|
|
3
|
+
import * as rapidDesignSystem from '@genesislcap/rapid-design-system';
|
|
4
4
|
import { FoundationInboxCounter } from './foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter';
|
|
5
5
|
import { InboxSubscription } from './foundation-inbox/components/inbox-subscription/inbox-subscription';
|
|
6
6
|
import { RuleParameter } from './foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter';
|
|
@@ -40,39 +40,10 @@ LogRouteManagement;
|
|
|
40
40
|
MSTeamsRouteManagement;
|
|
41
41
|
NotifyAuditManagement;
|
|
42
42
|
// #endregion Notification Dashboard
|
|
43
|
-
var ResourceType;
|
|
44
|
-
(function (ResourceType) {
|
|
45
|
-
ResourceType["LOCAL"] = "LOCAL";
|
|
46
|
-
ResourceType["REMOTE"] = "REMOTE";
|
|
47
|
-
})(ResourceType || (ResourceType = {}));
|
|
48
|
-
// TODO: Think about sharing import functions across micro frontends.
|
|
49
|
-
function loadZeroFallback() {
|
|
50
|
-
return import(
|
|
51
|
-
/* webpackMode: "lazy" */
|
|
52
|
-
'@genesislcap/foundation-zero');
|
|
53
|
-
}
|
|
54
|
-
// Granular
|
|
55
|
-
function loadZeroDesignSystem() {
|
|
56
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
-
let type = ResourceType.REMOTE;
|
|
58
|
-
try {
|
|
59
|
-
// @ts-expect-error ignore zeroDesignSystem module
|
|
60
|
-
return yield import('foundationZero/ZeroDesignSystem');
|
|
61
|
-
}
|
|
62
|
-
catch (e) {
|
|
63
|
-
type = ResourceType.LOCAL;
|
|
64
|
-
return yield loadZeroFallback();
|
|
65
|
-
}
|
|
66
|
-
finally {
|
|
67
|
-
logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
43
|
export function loadRemotes() {
|
|
72
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
};
|
|
45
|
+
rapidDesignSystem
|
|
46
|
+
.provideDesignSystem()
|
|
47
|
+
.register(rapidDesignSystem.baseComponents, foundationLayoutComponents);
|
|
77
48
|
});
|
|
78
49
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
|
|
3
3
|
import { FoundationInboxService } from '../../../../services/inbox.service';
|
|
4
4
|
import { AlertStatus } from '../../inbox.types';
|
|
5
5
|
import { FoundationInboxCounterStyles } from './foundation-inbox-counter.styles';
|
|
6
6
|
import { FoundationInboxCounterTemplate } from './foundation-inbox-counter.template';
|
|
7
|
-
let FoundationInboxCounter = class FoundationInboxCounter extends
|
|
7
|
+
let FoundationInboxCounter = class FoundationInboxCounter extends GenesisElement {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.value = 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import { observable, customElement } from '@
|
|
2
|
+
import { observable, customElement } from '@genesislcap/web-core';
|
|
3
3
|
import { loadRemotes } from '../../../components';
|
|
4
4
|
import { FoundationInboxBase } from '../../inbox-base/inbox-base';
|
|
5
5
|
import { FoundationInboxFlyoutStyles } from './foundation-inbox-flyout.styles';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { css } from '@
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
2
2
|
import { FoundationInboxStyles } from '../../inbox.styles';
|
|
3
3
|
export const FoundationInboxFlyoutStyles = css `
|
|
4
|
-
|
|
4
|
+
rapid-flyout::part(flyout) {
|
|
5
5
|
width: 30%;
|
|
6
6
|
min-width: 320px;
|
|
7
7
|
padding: 0;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
rapid-flyout::part(content) {
|
|
11
11
|
height: 100%;
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { html, ref } from '@
|
|
1
|
+
import { html, ref } from '@genesislcap/web-core';
|
|
2
2
|
import { FoundationInboxTemplate } from '../../inbox.template';
|
|
3
3
|
export const FoundationInboxFlyoutTemplate = html `
|
|
4
|
-
<
|
|
4
|
+
<rapid-flyout
|
|
5
5
|
${ref('flyout')}
|
|
6
6
|
position="right"
|
|
7
7
|
@closed=${(x) => (x.flyoutClosed = true)}
|
|
@@ -10,11 +10,11 @@ export const FoundationInboxFlyoutTemplate = html `
|
|
|
10
10
|
>
|
|
11
11
|
<div class="inbox-header">
|
|
12
12
|
<div class="inbox-header-title">Alerts Center</div>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
</
|
|
13
|
+
<rapid-button class="inbox-header-close" @click=${(x) => x.close()}>
|
|
14
|
+
<rapid-icon part="icon" name="xmark" size="xl"></rapid-icon>
|
|
15
|
+
</rapid-button>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
${FoundationInboxTemplate}
|
|
19
|
-
</
|
|
19
|
+
</rapid-flyout>
|
|
20
20
|
`;
|
package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { attr, customElement, GenesisElement, observable } from '@genesislcap/web-core';
|
|
3
3
|
import { RuleService } from '../../../../services/rule.service';
|
|
4
4
|
import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../foundation-notification-dashboard/types/expression-type';
|
|
5
5
|
import { PARAM_SOURCE_TYPE_DEFINED_GROUP } from '../../../foundation-notification-dashboard/types/param-source-type';
|
|
6
6
|
import { InboxSubscriptionStyles } from './inbox-subscription.styles';
|
|
7
7
|
import { InboxSubscriptionTemplate } from './inbox-subscription.template';
|
|
8
|
-
let InboxSubscription = class InboxSubscription extends
|
|
8
|
+
let InboxSubscription = class InboxSubscription extends GenesisElement {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.parametersDetails = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from '@
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
2
2
|
export const InboxSubscriptionStyles = css `
|
|
3
3
|
.inbox-subscription {
|
|
4
4
|
display: flex;
|
|
@@ -28,7 +28,7 @@ export const InboxSubscriptionStyles = css `
|
|
|
28
28
|
border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
rapid-button.subscribe {
|
|
32
32
|
display: flex;
|
|
33
33
|
margin: 0;
|
|
34
34
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { html, repeat, when } from '@
|
|
1
|
+
import { html, repeat, when } from '@genesislcap/web-core';
|
|
2
2
|
import { eventDetail } from '../../../../utils';
|
|
3
3
|
export const InboxSubscriptionTemplate = html `
|
|
4
4
|
<div class="inbox-subscription">
|
|
@@ -26,13 +26,13 @@ export const InboxSubscriptionTemplate = html `
|
|
|
26
26
|
`)}
|
|
27
27
|
|
|
28
28
|
<div class="inbox-subscription-footer">
|
|
29
|
-
<
|
|
29
|
+
<rapid-button
|
|
30
30
|
class="subscribe"
|
|
31
31
|
@click=${(x) => x.subscribeTemplate()}
|
|
32
32
|
?disabled=${(x) => x.subscribeDisabled}
|
|
33
33
|
>
|
|
34
34
|
Subscribe
|
|
35
|
-
</
|
|
35
|
+
</rapid-button>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { attr, customElement, GenesisElement, observable } from '@genesislcap/web-core';
|
|
3
3
|
import { PARAM_SOURCE_TYPE_DEFINED_GROUP, PARAM_SOURCE_TYPE_USER_TEXT, } from '../../../../foundation-notification-dashboard/types/param-source-type';
|
|
4
4
|
import { PARAM_TYPE_BOOLEAN } from '../../../../foundation-notification-dashboard/types/param-type';
|
|
5
5
|
import { RuleParameterStyles } from './rule-parameter.styles';
|
|
6
6
|
import { RuleParameterTemplate } from './rule-parameter.template';
|
|
7
|
-
let RuleParameter = class RuleParameter extends
|
|
7
|
+
let RuleParameter = class RuleParameter extends GenesisElement {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.isFirstElement = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from '@
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
2
2
|
export const RuleParameterStyles = css `
|
|
3
3
|
.control {
|
|
4
4
|
display: flex;
|
|
@@ -18,7 +18,7 @@ export const RuleParameterStyles = css `
|
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
rapid-select::part(listbox) {
|
|
22
22
|
max-height: 160px;
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
-
import { html, repeat, when } from '@
|
|
2
|
+
import { html, repeat, when } from '@genesislcap/web-core';
|
|
3
3
|
import { humanize } from '../../../../../utils';
|
|
4
4
|
import { PARAM_SOURCE_TYPE_DEFINED_GROUP, PARAM_SOURCE_TYPE_REQ_REP, PARAM_SOURCE_TYPE_USER_TEXT, } from '../../../../foundation-notification-dashboard/types/param-source-type';
|
|
5
5
|
import { PARAM_TYPE_BOOLEAN, PARAM_TYPE_NUMBER, PARAM_TYPE_STRING, } from '../../../../foundation-notification-dashboard/types/param-type';
|
|
@@ -13,53 +13,53 @@ export const RuleParameterTemplate = html `
|
|
|
13
13
|
<!-- USER_TEXT -->
|
|
14
14
|
${when((x) => x.parameter.PARAM_SOURCE_TYPE === PARAM_SOURCE_TYPE_USER_TEXT, html `
|
|
15
15
|
${when((x) => x.parameter.PARAM_TYPE === PARAM_TYPE_STRING, html `
|
|
16
|
-
<
|
|
16
|
+
<rapid-text-field
|
|
17
17
|
autofocus=${(x) => x.isFirstElement}
|
|
18
18
|
class="input-field"
|
|
19
19
|
:value=${sync((x) => x.inputValue)}
|
|
20
20
|
@input=${(x, c) => x.parameterEdit(c.event.target.value)}
|
|
21
|
-
></
|
|
21
|
+
></rapid-text-field>
|
|
22
22
|
`)}
|
|
23
23
|
${when((x) => x.parameter.PARAM_TYPE === PARAM_TYPE_NUMBER, html `
|
|
24
|
-
<
|
|
24
|
+
<rapid-number-field
|
|
25
25
|
hide-step
|
|
26
26
|
autofocus=${(x) => x.isFirstElement}
|
|
27
27
|
class="input-field"
|
|
28
28
|
:value=${sync((x) => x.inputValue)}
|
|
29
29
|
@input=${(x, c) => x.parameterEdit(c.event.target.value)}
|
|
30
|
-
></
|
|
30
|
+
></rapid-number-field>
|
|
31
31
|
`)}
|
|
32
32
|
|
|
33
33
|
<!-- TODO: Implement
|
|
34
34
|
${when((x) => x.parameter.PARAM_TYPE === PARAM_TYPE_BOOLEAN, html `
|
|
35
|
-
<
|
|
35
|
+
<rapid-select
|
|
36
36
|
autofocus=${(x) => x.isFirstElement}
|
|
37
37
|
class="input-field"
|
|
38
38
|
:value=${sync((x) => x.inputValue)}
|
|
39
39
|
>
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
</
|
|
40
|
+
<rapid-option value="true">true</rapid-option>
|
|
41
|
+
<rapid-option value="false">false</rapid-option>
|
|
42
|
+
</rapid-select>
|
|
43
43
|
`)}
|
|
44
44
|
-->
|
|
45
45
|
`)}
|
|
46
46
|
|
|
47
47
|
<!-- DEFINED_GROUP -->
|
|
48
48
|
${when((x) => x.parameter.PARAM_SOURCE_TYPE === PARAM_SOURCE_TYPE_DEFINED_GROUP, html `
|
|
49
|
-
<
|
|
49
|
+
<rapid-select
|
|
50
50
|
autofocus=${(x) => x.isFirstElement}
|
|
51
51
|
class="input-field"
|
|
52
52
|
:value=${sync((x) => x.inputValue)}
|
|
53
53
|
>
|
|
54
54
|
${repeat((x) => x.parameter.PARAM_SOURCE.split(','), html `
|
|
55
|
-
<
|
|
55
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
56
56
|
`)}
|
|
57
|
-
</
|
|
57
|
+
</rapid-select>
|
|
58
58
|
`)}
|
|
59
59
|
|
|
60
60
|
<!-- TODO: REQ_REP -->
|
|
61
61
|
${when((x) => x.parameter.PARAM_SOURCE_TYPE === PARAM_SOURCE_TYPE_REQ_REP, html `
|
|
62
|
-
<
|
|
62
|
+
<rapid-select :value=${sync((x) => x.inputValue)}></rapid-select>
|
|
63
63
|
`)}
|
|
64
64
|
</div>
|
|
65
65
|
`;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
2
|
import { Auth } from '@genesislcap/foundation-comms';
|
|
3
|
-
import {
|
|
3
|
+
import { GenesisElement, observable } from '@genesislcap/web-core';
|
|
4
4
|
import { AlertService } from '../../../services/alert.service';
|
|
5
5
|
import { FoundationInboxService } from '../../../services/inbox.service';
|
|
6
6
|
import { RuleService } from '../../../services/rule.service';
|
|
7
7
|
import { TemplateService } from '../../../services/template.service';
|
|
8
8
|
import { logger } from '../../../utils';
|
|
9
|
-
import { InboxTab } from '../inbox.
|
|
10
|
-
|
|
11
|
-
export class FoundationInboxBase extends FASTElement {
|
|
9
|
+
import { AlertStatus, InboxTab, RuleStatus, } from '../inbox.types';
|
|
10
|
+
export class FoundationInboxBase extends GenesisElement {
|
|
12
11
|
constructor() {
|
|
13
12
|
super(...arguments);
|
|
14
13
|
this.alerts = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement } from '@
|
|
2
|
+
import { customElement } from '@genesislcap/web-core';
|
|
3
3
|
import { FoundationInboxBase } from './inbox-base/inbox-base';
|
|
4
4
|
import { FoundationInboxStyles } from './inbox.styles';
|
|
5
5
|
import { FoundationInboxTemplate } from './inbox.template';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from '@
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -12,18 +12,19 @@ export const FoundationInboxStyles = css `
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Tabs */
|
|
15
|
-
|
|
15
|
+
rapid-tabs {
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
rapid-tabs::part(tablist) {
|
|
22
22
|
grid-template-columns: none;
|
|
23
23
|
flex: 0;
|
|
24
|
+
width: 100%;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
rapid-tabs::part(tabpanel) {
|
|
27
28
|
display: flex;
|
|
28
29
|
flex-direction: column;
|
|
29
30
|
flex: 1;
|
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
-
import { html, ref, repeat, when } from '@
|
|
2
|
+
import { html, ref, repeat, when } from '@genesislcap/web-core';
|
|
3
3
|
import { NotifyPermission } from '../../utils/notifyPermissions';
|
|
4
|
-
import { AlertStatus } from './inbox.types';
|
|
4
|
+
import { AlertStatus, InboxTab } from './inbox.types';
|
|
5
5
|
import { getFormattedDate, getIcon, getSeverityColor, getStatus } from './inbox.utils';
|
|
6
|
-
export var InboxTab;
|
|
7
|
-
(function (InboxTab) {
|
|
8
|
-
InboxTab[InboxTab["AlertsNew"] = 0] = "AlertsNew";
|
|
9
|
-
InboxTab[InboxTab["AlertHistory"] = 1] = "AlertHistory";
|
|
10
|
-
InboxTab[InboxTab["MyAlerts"] = 2] = "MyAlerts";
|
|
11
|
-
InboxTab[InboxTab["Subscribe"] = 3] = "Subscribe";
|
|
12
|
-
})(InboxTab || (InboxTab = {}));
|
|
13
6
|
const alertsTab = (tab) => html `
|
|
14
|
-
<
|
|
7
|
+
<rapid-tab-panel
|
|
15
8
|
slot="alert-log-tab"
|
|
16
9
|
class="alert-log-tab-panel"
|
|
17
10
|
id=${tab}
|
|
18
11
|
style=${(x) => x.checkActiveTab(tab)}
|
|
19
12
|
>
|
|
20
13
|
<div class="search">
|
|
21
|
-
<
|
|
14
|
+
<rapid-text-field
|
|
22
15
|
class="search-input"
|
|
23
16
|
:value=${sync((x) => x.searchAlertLog)}
|
|
24
17
|
placeholder="Search Alerts..."
|
|
25
18
|
autocomplete="off"
|
|
26
|
-
></
|
|
19
|
+
></rapid-text-field>
|
|
27
20
|
</div>
|
|
28
21
|
<div class="alert-log-tab-content">
|
|
29
22
|
${repeat((x) => x.alertsFilter, html `
|
|
@@ -35,7 +28,7 @@ const alertsTab = (tab) => html `
|
|
|
35
28
|
<div class="toast-content">
|
|
36
29
|
${when((x) => x.ALERT_STATUS === AlertStatus.NEW, html `
|
|
37
30
|
<div class="close-icon" @click=${(x, c) => c.parent.dismissAlert(x.ALERT_ID)}>
|
|
38
|
-
<
|
|
31
|
+
<rapid-icon name="times"></rapid-icon>
|
|
39
32
|
</div>
|
|
40
33
|
`)}
|
|
41
34
|
<span class="toast-header">${(x) => x.HEADER}</span>
|
|
@@ -47,56 +40,56 @@ const alertsTab = (tab) => html `
|
|
|
47
40
|
</div>
|
|
48
41
|
`)}
|
|
49
42
|
</div>
|
|
50
|
-
</
|
|
43
|
+
</rapid-tab-panel>
|
|
51
44
|
`;
|
|
52
45
|
/**
|
|
53
46
|
* @public
|
|
54
47
|
*/
|
|
55
48
|
export const FoundationInboxTemplate = html `
|
|
56
49
|
<div class="inbox-content">
|
|
57
|
-
<
|
|
58
|
-
<
|
|
50
|
+
<rapid-tabs ${ref('tabs')} appearance="secondary" activeid=${(x) => InboxTab.AlertsNew}>
|
|
51
|
+
<rapid-tab
|
|
59
52
|
slot="alert-log-tab"
|
|
60
53
|
id=${InboxTab.AlertsNew}
|
|
61
54
|
@click=${(x) => x.inboxTabChanged(InboxTab.AlertsNew)}
|
|
62
55
|
appearance="secondary"
|
|
63
56
|
>
|
|
64
57
|
Alerts
|
|
65
|
-
</
|
|
66
|
-
<
|
|
58
|
+
</rapid-tab>
|
|
59
|
+
<rapid-tab
|
|
67
60
|
slot="alert-log-tab"
|
|
68
61
|
id=${InboxTab.AlertHistory}
|
|
69
62
|
@click=${(x) => x.inboxTabChanged(InboxTab.AlertHistory)}
|
|
70
63
|
appearance="secondary"
|
|
71
64
|
>
|
|
72
65
|
Alert History
|
|
73
|
-
</
|
|
66
|
+
</rapid-tab>
|
|
74
67
|
${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleView); }, html `
|
|
75
|
-
<
|
|
68
|
+
<rapid-tab
|
|
76
69
|
slot="my-alerts-tab"
|
|
77
70
|
id=${InboxTab.MyAlerts}
|
|
78
71
|
@click=${(x) => x.inboxTabChanged(InboxTab.MyAlerts)}
|
|
79
72
|
appearance="secondary"
|
|
80
73
|
>
|
|
81
74
|
Subscriptions
|
|
82
|
-
</
|
|
75
|
+
</rapid-tab>
|
|
83
76
|
`)}
|
|
84
77
|
${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleTemplateView); }, html `
|
|
85
|
-
<
|
|
78
|
+
<rapid-tab
|
|
86
79
|
slot="subscribe-tab"
|
|
87
80
|
id=${InboxTab.Subscribe}
|
|
88
81
|
@click=${(x) => x.inboxTabChanged(InboxTab.Subscribe)}
|
|
89
82
|
appearance="secondary"
|
|
90
83
|
>
|
|
91
84
|
Subscribe
|
|
92
|
-
</
|
|
85
|
+
</rapid-tab>
|
|
93
86
|
`)}
|
|
94
87
|
|
|
95
88
|
<!-- Alerts -->
|
|
96
89
|
${(_) => alertsTab(InboxTab.AlertsNew)} ${(_) => alertsTab(InboxTab.AlertHistory)}
|
|
97
90
|
${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleView); }, html `
|
|
98
91
|
<!-- Rules -->
|
|
99
|
-
<
|
|
92
|
+
<rapid-tab-panel
|
|
100
93
|
slot="my-alerts-tab"
|
|
101
94
|
class="my-alerts-tab-panel"
|
|
102
95
|
id=${InboxTab.MyAlerts}
|
|
@@ -115,43 +108,43 @@ export const FoundationInboxTemplate = html `
|
|
|
115
108
|
<div class="rule-actions">
|
|
116
109
|
<!--
|
|
117
110
|
<span class="rule-action-edit" @click=${(x, c) => c.parent.editAlert(x)}}>
|
|
118
|
-
<
|
|
111
|
+
<rapid-icon name="gear"></rapid-icon>
|
|
119
112
|
</span>
|
|
120
113
|
-->
|
|
121
114
|
<span
|
|
122
115
|
class="rule-action-enable-disable"
|
|
123
116
|
@click=${(x, c) => c.parent.playPauseAlert(x)}
|
|
124
117
|
>
|
|
125
|
-
<
|
|
118
|
+
<rapid-icon name=${(x) => getIcon(x.RULE_STATUS)}></rapid-icon>
|
|
126
119
|
</span>
|
|
127
120
|
<span
|
|
128
121
|
class="rule-action-delete"
|
|
129
122
|
@click=${(x, c) => c.parent.deleteAlert(x)}
|
|
130
123
|
>
|
|
131
|
-
<
|
|
124
|
+
<rapid-icon name="trash"></rapid-icon>
|
|
132
125
|
</span>
|
|
133
126
|
</div>
|
|
134
127
|
</div>
|
|
135
128
|
</div>
|
|
136
129
|
`)}
|
|
137
130
|
</div>
|
|
138
|
-
</
|
|
131
|
+
</rapid-tab-panel>
|
|
139
132
|
`)}
|
|
140
133
|
${when((x) => { var _a; return (_a = x.auth.currentUser) === null || _a === void 0 ? void 0 : _a.hasPermission(NotifyPermission.NotificationRuleTemplateView); }, html `
|
|
141
134
|
<!-- Templates -->
|
|
142
|
-
<
|
|
135
|
+
<rapid-tab-panel
|
|
143
136
|
slot="subscribe-tab"
|
|
144
137
|
class="subscribe-tab-panel"
|
|
145
138
|
id=${InboxTab.Subscribe}
|
|
146
139
|
style=${(x) => x.checkActiveTab(InboxTab.Subscribe)}
|
|
147
140
|
>
|
|
148
141
|
<div class="search">
|
|
149
|
-
<
|
|
142
|
+
<rapid-text-field
|
|
150
143
|
class="search-input"
|
|
151
144
|
:value=${sync((x) => x.searchSubscribe)}
|
|
152
145
|
placeholder="Search Templates..."
|
|
153
146
|
autocomplete="off"
|
|
154
|
-
></
|
|
147
|
+
></rapid-text-field>
|
|
155
148
|
</div>
|
|
156
149
|
<div class="subscribe-tab-content">
|
|
157
150
|
${repeat((x) => x.templatesFilter, html `
|
|
@@ -172,8 +165,8 @@ export const FoundationInboxTemplate = html `
|
|
|
172
165
|
@templateSubscribed=${(x) => (x.ruleTemplateDetails = null)}
|
|
173
166
|
></inbox-subscription>
|
|
174
167
|
`)}
|
|
175
|
-
</
|
|
168
|
+
</rapid-tab-panel>
|
|
176
169
|
`)}
|
|
177
|
-
</
|
|
170
|
+
</rapid-tabs>
|
|
178
171
|
</div>
|
|
179
172
|
`;
|
|
@@ -8,3 +8,10 @@ export var RuleStatus;
|
|
|
8
8
|
RuleStatus["ENABLED"] = "ENABLED";
|
|
9
9
|
RuleStatus["DISABLED"] = "DISABLED";
|
|
10
10
|
})(RuleStatus || (RuleStatus = {}));
|
|
11
|
+
export var InboxTab;
|
|
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";
|
|
17
|
+
})(InboxTab || (InboxTab = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { css, customElement,
|
|
2
|
+
import { css, customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../styles/management.styles';
|
|
4
4
|
const NOTIFY_AUDIT_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -73,7 +73,7 @@ const NOTIFY_AUDIT_MANAGEMENT_COLUMNS = [
|
|
|
73
73
|
flex: 1,
|
|
74
74
|
},
|
|
75
75
|
];
|
|
76
|
-
let NotifyAuditManagement = class NotifyAuditManagement extends
|
|
76
|
+
let NotifyAuditManagement = class NotifyAuditManagement extends GenesisElement {
|
|
77
77
|
};
|
|
78
78
|
NotifyAuditManagement = __decorate([
|
|
79
79
|
customElement({
|
|
@@ -81,6 +81,7 @@ NotifyAuditManagement = __decorate([
|
|
|
81
81
|
template: html `
|
|
82
82
|
<div class="grid">
|
|
83
83
|
<entity-management
|
|
84
|
+
design-system-prefix="rapid"
|
|
84
85
|
resourceName="ALL_NOTIFY_AUDIT"
|
|
85
86
|
:columns=${() => [...NOTIFY_AUDIT_MANAGEMENT_COLUMNS]}
|
|
86
87
|
></entity-management>
|