@genesislcap/pbc-notify-ui 1.0.32 → 1.0.33
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.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 +9 -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 +13 -9
- package/dist/esm/components/foundation-notification-dashboard/styles/dynamic-rule.styles.js +20 -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
package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import {
|
|
3
|
-
let RouteManagement = class RouteManagement extends
|
|
2
|
+
import { css, customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
|
+
let RouteManagement = class RouteManagement extends GenesisElement {
|
|
4
4
|
};
|
|
5
5
|
RouteManagement = __decorate([
|
|
6
6
|
customElement({
|
|
7
7
|
name: 'route-management',
|
|
8
8
|
template: html `
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
9
|
+
<rapid-tabs appearance="secondary">
|
|
10
|
+
<rapid-tab appearance="secondary">Screen Routes</rapid-tab>
|
|
11
|
+
<rapid-tab appearance="secondary">Email Distribution Routes</rapid-tab>
|
|
12
|
+
<rapid-tab appearance="secondary">Email User Routes</rapid-tab>
|
|
13
|
+
<rapid-tab appearance="secondary">Log Routes</rapid-tab>
|
|
14
|
+
<rapid-tab appearance="secondary">MS Teams Routes</rapid-tab>
|
|
15
15
|
|
|
16
|
-
<
|
|
16
|
+
<rapid-tab-panel>
|
|
17
17
|
<screen-route-management></screen-route-management>
|
|
18
|
-
</
|
|
19
|
-
<
|
|
18
|
+
</rapid-tab-panel>
|
|
19
|
+
<rapid-tab-panel>
|
|
20
20
|
<email-distribution-route-management></email-distribution-route-management>
|
|
21
|
-
</
|
|
22
|
-
<
|
|
21
|
+
</rapid-tab-panel>
|
|
22
|
+
<rapid-tab-panel>
|
|
23
23
|
<email-user-route-management></email-user-route-management>
|
|
24
|
-
</
|
|
25
|
-
<
|
|
24
|
+
</rapid-tab-panel>
|
|
25
|
+
<rapid-tab-panel>
|
|
26
26
|
<log-route-management></log-route-management>
|
|
27
|
-
</
|
|
28
|
-
<
|
|
27
|
+
</rapid-tab-panel>
|
|
28
|
+
<rapid-tab-panel>
|
|
29
29
|
<ms-teams-route-management></ms-teams-route-management>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
30
|
+
</rapid-tab-panel>
|
|
31
|
+
</rapid-tabs>
|
|
32
32
|
`,
|
|
33
33
|
styles: css `
|
|
34
|
-
|
|
34
|
+
rapid-tabs {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
rapid-tabs::part(tablist) {
|
|
41
41
|
grid-template-columns: none;
|
|
42
42
|
flex: 0;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
rapid-tabs::part(tabpanel) {
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: column;
|
|
48
48
|
flex: 1;
|
|
49
49
|
min-height: 0;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
rapid-tabs,
|
|
53
|
+
rapid-tab-panel {
|
|
54
54
|
height: 100%;
|
|
55
55
|
}
|
|
56
56
|
`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const EMAIL_DISTRIBUTION_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -33,7 +33,7 @@ const EMAIL_DISTRIBUTION_ROUTE_MANAGEMENT_COLUMNS = [
|
|
|
33
33
|
flex: 1,
|
|
34
34
|
},
|
|
35
35
|
];
|
|
36
|
-
let EmailDistributionRouteManagement = class EmailDistributionRouteManagement extends
|
|
36
|
+
let EmailDistributionRouteManagement = class EmailDistributionRouteManagement extends GenesisElement {
|
|
37
37
|
};
|
|
38
38
|
EmailDistributionRouteManagement = __decorate([
|
|
39
39
|
customElement({
|
|
@@ -41,6 +41,7 @@ EmailDistributionRouteManagement = __decorate([
|
|
|
41
41
|
template: html `
|
|
42
42
|
<div class="grid">
|
|
43
43
|
<entity-management
|
|
44
|
+
design-system-prefix="rapid"
|
|
44
45
|
resourceName="ALL_EMAIL_DISTRIBUTION_ROUTES"
|
|
45
46
|
createEvent="EVENT_EMAIL_DISTRIBUTION_ROUTE_CREATE"
|
|
46
47
|
updateEvent="EVENT_DYNAMIC_RULE_NOTIFY_UPDATE"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const EMAIL_USER_ROUTE_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -43,7 +43,7 @@ const EMAIL_USER_ROUTE_COLUMNS = [
|
|
|
43
43
|
flex: 1,
|
|
44
44
|
},
|
|
45
45
|
];
|
|
46
|
-
let EmailUserRouteManagement = class EmailUserRouteManagement extends
|
|
46
|
+
let EmailUserRouteManagement = class EmailUserRouteManagement extends GenesisElement {
|
|
47
47
|
};
|
|
48
48
|
EmailUserRouteManagement = __decorate([
|
|
49
49
|
customElement({
|
|
@@ -51,6 +51,7 @@ EmailUserRouteManagement = __decorate([
|
|
|
51
51
|
template: html `
|
|
52
52
|
<div class="grid">
|
|
53
53
|
<entity-management
|
|
54
|
+
design-system-prefix="rapid"
|
|
54
55
|
resourceName="ALL_EMAIL_USER_ROUTES"
|
|
55
56
|
createEvent="EVENT_EMAIL_USER_ROUTE_CREATE"
|
|
56
57
|
updateEvent="EVENT_EMAIL_USER_ROUTE_UPDATE"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const LOG_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -18,7 +18,7 @@ const LOG_ROUTE_MANAGEMENT_COLUMNS = [
|
|
|
18
18
|
flex: 1,
|
|
19
19
|
},
|
|
20
20
|
];
|
|
21
|
-
let LogRouteManagement = class LogRouteManagement extends
|
|
21
|
+
let LogRouteManagement = class LogRouteManagement extends GenesisElement {
|
|
22
22
|
};
|
|
23
23
|
LogRouteManagement = __decorate([
|
|
24
24
|
customElement({
|
|
@@ -26,6 +26,7 @@ LogRouteManagement = __decorate([
|
|
|
26
26
|
template: html `
|
|
27
27
|
<div class="grid">
|
|
28
28
|
<entity-management
|
|
29
|
+
design-system-prefix="rapid"
|
|
29
30
|
resourceName="ALL_LOG_ROUTES"
|
|
30
31
|
createEvent="EVENT_LOG_ROUTE_CREATE"
|
|
31
32
|
updateEvent="EVENT_LOG_ROUTE_UPDATE"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const MS_TEAMS_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -23,7 +23,7 @@ const MS_TEAMS_ROUTE_MANAGEMENT_COLUMNS = [
|
|
|
23
23
|
flex: 1,
|
|
24
24
|
},
|
|
25
25
|
];
|
|
26
|
-
let MSTeamsRouteManagement = class MSTeamsRouteManagement extends
|
|
26
|
+
let MSTeamsRouteManagement = class MSTeamsRouteManagement extends GenesisElement {
|
|
27
27
|
};
|
|
28
28
|
MSTeamsRouteManagement = __decorate([
|
|
29
29
|
customElement({
|
|
@@ -31,6 +31,7 @@ MSTeamsRouteManagement = __decorate([
|
|
|
31
31
|
template: html `
|
|
32
32
|
<div class="grid">
|
|
33
33
|
<entity-management
|
|
34
|
+
design-system-prefix="rapid"
|
|
34
35
|
resourceName="ALL_MS_TEAMS_ROUTES"
|
|
35
36
|
createEvent="EVENT_MS_TEAMS_ROUTE_CREATE"
|
|
36
37
|
updateEvent="EVENT_MS_TEAMS_ROUTE_UPDATE"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, html } from '@genesislcap/web-core';
|
|
3
3
|
import { managementGridStyles } from '../../../styles/management.styles';
|
|
4
4
|
const SCREEN_ROUTE_MANAGEMENT_COLUMNS = [
|
|
5
5
|
{
|
|
@@ -43,7 +43,7 @@ const SCREEN_ROUTE_MANAGEMENT_UI_SCHEMA = {
|
|
|
43
43
|
{ type: 'Control', scope: '#/properties/TOPIC_MATCH', label: 'TOPIC MATCH' },
|
|
44
44
|
],
|
|
45
45
|
};
|
|
46
|
-
let ScreenRouteManagement = class ScreenRouteManagement extends
|
|
46
|
+
let ScreenRouteManagement = class ScreenRouteManagement extends GenesisElement {
|
|
47
47
|
};
|
|
48
48
|
ScreenRouteManagement = __decorate([
|
|
49
49
|
customElement({
|
|
@@ -51,6 +51,7 @@ ScreenRouteManagement = __decorate([
|
|
|
51
51
|
template: html `
|
|
52
52
|
<div class="grid">
|
|
53
53
|
<entity-management
|
|
54
|
+
design-system-prefix="rapid"
|
|
54
55
|
resourceName="ALL_SCREEN_ROUTES"
|
|
55
56
|
createEvent="EVENT_SCREEN_NOTIFY_ROUTE_CREATE"
|
|
56
57
|
updateEvent="EVENT_SCREEN_NOTIFY_ROUTE_UPDATE"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
|
|
3
3
|
import { LogicalOperator, nullAndBlankLogicalOperatorValues, } from '../../../../../../notify.types';
|
|
4
4
|
import { logger } from '../../../../../../utils';
|
|
5
5
|
import { ConditionBuilderStyles } from '../../../../styles/condition-builder.styles';
|
|
6
6
|
import { RuleConditionBuilderTemplate } from './rule-condition-builder.template';
|
|
7
7
|
import { RightCriteria } from './rule-condition-builder.types';
|
|
8
|
-
let RuleConditionBuilder = class RuleConditionBuilder extends
|
|
8
|
+
let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.leftValueItems = [];
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
-
import { html, repeat, when } from '@
|
|
3
|
-
import { classNames } from '@microsoft/fast-web-utilities';
|
|
2
|
+
import { classNames, html, repeat, when } from '@genesislcap/web-core';
|
|
4
3
|
import { LogicalOperator, nullAndBlankLogicalOperatorValues } from '../../../../../../notify.types';
|
|
5
4
|
import { RightCriteria } from './rule-condition-builder.types';
|
|
6
5
|
export const RuleConditionBuilderTemplate = html `
|
|
7
6
|
<div class="condition-builder">
|
|
8
|
-
<
|
|
7
|
+
<rapid-select
|
|
9
8
|
:value=${sync((x) => x.leftValue)}
|
|
10
9
|
:initialValue=${sync((x) => x.leftValue)}
|
|
11
10
|
class="left-value"
|
|
12
11
|
>
|
|
13
12
|
${repeat((x) => x.fields, html `
|
|
14
|
-
<
|
|
13
|
+
<rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>
|
|
15
14
|
`)}
|
|
16
|
-
</
|
|
15
|
+
</rapid-select>
|
|
17
16
|
|
|
18
|
-
<
|
|
17
|
+
<rapid-select
|
|
19
18
|
class="logical-operator${(x) => classNames([
|
|
20
19
|
'-null-and-blank',
|
|
21
20
|
nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),
|
|
@@ -23,42 +22,41 @@ export const RuleConditionBuilderTemplate = html `
|
|
|
23
22
|
:value=${sync((x) => x.logicalOperator)}
|
|
24
23
|
>
|
|
25
24
|
${repeat((_) => Object.values(LogicalOperator), html `
|
|
26
|
-
<
|
|
25
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
27
26
|
`)}
|
|
28
|
-
</
|
|
27
|
+
</rapid-select>
|
|
29
28
|
|
|
30
29
|
${when((x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]), html `
|
|
31
|
-
<
|
|
30
|
+
<rapid-select class="right-criteria" :value=${sync((x) => x.rightCriteria)}>
|
|
32
31
|
${repeat((x) => Object.values(RightCriteria), html `
|
|
33
|
-
<
|
|
32
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
34
33
|
`)}
|
|
35
|
-
</
|
|
36
|
-
|
|
34
|
+
</rapid-select>
|
|
37
35
|
${when((x) => x.rightCriteria === RightCriteria.VALUE, html `
|
|
38
|
-
<
|
|
36
|
+
<rapid-text-field
|
|
39
37
|
class="right-criteria-text"
|
|
40
38
|
:value=${sync((x) => x.rightValueText)}
|
|
41
39
|
placeholder="Value"
|
|
42
40
|
autocomplete="off"
|
|
43
|
-
></
|
|
41
|
+
></rapid-text-field>
|
|
44
42
|
`)}
|
|
45
43
|
${when((x) => x.rightCriteria === RightCriteria.FIELD, html `
|
|
46
|
-
<
|
|
44
|
+
<rapid-select class="right-criteria-select" :value=${sync((x) => x.rightValueSelect)}>
|
|
47
45
|
${repeat((x) => x.fields, html `
|
|
48
|
-
<
|
|
46
|
+
<rapid-option value=${(x) => x.FIELD_NAME}>${(x) => x.FIELD_NAME}</rapid-option>
|
|
49
47
|
`)}
|
|
50
|
-
</
|
|
48
|
+
</rapid-select>
|
|
51
49
|
`)}
|
|
52
50
|
`)}
|
|
53
51
|
|
|
54
|
-
<
|
|
55
|
-
<
|
|
52
|
+
<rapid-button appearance="icon" class="delete" @click=${(x) => x.deleteCondition()}>
|
|
53
|
+
<rapid-icon
|
|
56
54
|
style="opacity: 0.5"
|
|
57
55
|
variant="regular"
|
|
58
56
|
name="trash-alt"
|
|
59
57
|
size="lg"
|
|
60
58
|
part="icon"
|
|
61
|
-
></
|
|
62
|
-
</
|
|
59
|
+
></rapid-icon>
|
|
60
|
+
</rapid-button>
|
|
63
61
|
</div>
|
|
64
62
|
`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import { customElement,
|
|
2
|
+
import { customElement, GenesisElement, observable, volatile } from '@genesislcap/web-core';
|
|
3
3
|
import { Assignment, defaultUpdateType, Severity, } from '../../../../../notify.types';
|
|
4
4
|
import { NotifyService } from '../../../../../services/notify.service';
|
|
5
5
|
import { RuleService } from '../../../../../services/rule.service';
|
|
@@ -9,7 +9,7 @@ import { DynamicRuleUtils, RuleUtils, showNotificationError, isEmpty, } from '..
|
|
|
9
9
|
import { DynamicRuleDialogStyles } from '../../../styles/dynamic-rule.styles';
|
|
10
10
|
import { RuleDialogTemplate } from './rule-dialog.template';
|
|
11
11
|
import { RuleDialogMode } from './rule-dialog.types';
|
|
12
|
-
let RuleDialog = class RuleDialog extends
|
|
12
|
+
let RuleDialog = class RuleDialog extends GenesisElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.resource = ''; // TODO: Tables + Views
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
-
import { html, ref, repeat } from '@
|
|
2
|
+
import { html, ref, repeat } from '@genesislcap/web-core';
|
|
3
3
|
import { Severity, UpdateType } from '../../../../../notify.types';
|
|
4
4
|
import { eventDetail } from '../../../../../utils/eventDetail';
|
|
5
5
|
export const RuleDialogTemplate = html `
|
|
6
|
-
<
|
|
6
|
+
<rapid-modal ${ref('dialog')} class="dialog" :onCloseCallback=${(x) => () => x.close()}>
|
|
7
7
|
<div slot="top" class="dialog-top">${(x) => x.ruleDialogTitle}</div>
|
|
8
8
|
|
|
9
9
|
<div class="dialog-content">
|
|
10
10
|
<div class="content-row">
|
|
11
11
|
<div class="control">
|
|
12
|
-
<
|
|
12
|
+
<rapid-text-field :value=${sync((x) => x.name)} autofocus autocomplete="off" required>
|
|
13
13
|
Name
|
|
14
|
-
</
|
|
14
|
+
</rapid-text-field>
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
17
|
<div class="control">
|
|
18
|
-
<
|
|
18
|
+
<rapid-text-field :value=${sync((x) => x.description)} autocomplete="off" required>
|
|
19
19
|
Description
|
|
20
|
-
</
|
|
20
|
+
</rapid-text-field>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
24
|
<div class="content-row">
|
|
25
25
|
<div class="control">
|
|
26
26
|
<label>Resource</label>
|
|
27
|
-
<
|
|
27
|
+
<rapid-select :value=${sync((x) => x.resource)} position="below">
|
|
28
28
|
${repeat((x) => x.resources, html `
|
|
29
|
-
<
|
|
29
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
30
30
|
`)}
|
|
31
|
-
</
|
|
31
|
+
</rapid-select>
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<div class="control">
|
|
35
35
|
<label>Topic</label>
|
|
36
|
-
<
|
|
36
|
+
<rapid-select :value=${sync((x) => x.topic)}>
|
|
37
37
|
${repeat((x) => x.topics, html `
|
|
38
|
-
<
|
|
38
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
39
39
|
`)}
|
|
40
|
-
</
|
|
40
|
+
</rapid-select>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
43
43
|
<div class="control">
|
|
44
44
|
<label>Severity</label>
|
|
45
|
-
<
|
|
45
|
+
<rapid-select :value=${sync((x) => x.severity)}>
|
|
46
46
|
<options-datasource
|
|
47
47
|
value-field="value"
|
|
48
48
|
label-field="value"
|
|
49
|
-
option-element="
|
|
49
|
+
option-element="rapid-option"
|
|
50
50
|
:data=${(_) => Object.values(Severity).map((value) => ({ value }))}
|
|
51
51
|
></options-datasource>
|
|
52
|
-
</
|
|
52
|
+
</rapid-select>
|
|
53
53
|
</div>
|
|
54
54
|
|
|
55
55
|
<div class="control">
|
|
56
56
|
<label>Update Type</label>
|
|
57
|
-
<
|
|
57
|
+
<rapid-multiselect
|
|
58
58
|
:selectedOptions=${(x) => x.updateType}
|
|
59
59
|
@selectionChange=${(x, c) => {
|
|
60
60
|
x.updateType = c.event.detail;
|
|
@@ -67,21 +67,21 @@ export const RuleDialogTemplate = html `
|
|
|
67
67
|
label-field="value"
|
|
68
68
|
:data=${() => Object.values(UpdateType).map((value) => ({ value, label: value }))}
|
|
69
69
|
></multiselect-datasource>
|
|
70
|
-
</
|
|
70
|
+
</rapid-multiselect>
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
73
73
|
|
|
74
74
|
<div class="content-row">
|
|
75
75
|
<div class="control">
|
|
76
|
-
<
|
|
76
|
+
<rapid-text-field required :value=${sync((x) => x.header)} autocomplete="off">
|
|
77
77
|
Header
|
|
78
|
-
</
|
|
78
|
+
</rapid-text-field>
|
|
79
79
|
</div>
|
|
80
80
|
|
|
81
81
|
<div class="control">
|
|
82
|
-
<
|
|
82
|
+
<rapid-text-field required :value=${sync((x) => x.message)} autocomplete="off">
|
|
83
83
|
Message
|
|
84
|
-
</
|
|
84
|
+
</rapid-text-field>
|
|
85
85
|
</div>
|
|
86
86
|
</div>
|
|
87
87
|
|
|
@@ -100,20 +100,20 @@ export const RuleDialogTemplate = html `
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
102
|
<div class="content-row">
|
|
103
|
-
<
|
|
103
|
+
<rapid-button @click=${(x) => x.newCondition()}>+ Condition</rapid-button>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div slot="bottom" class="dialog-bottom">
|
|
110
|
-
<
|
|
110
|
+
<rapid-button
|
|
111
111
|
appearance="accent"
|
|
112
112
|
@click=${(x) => x.submit()}
|
|
113
113
|
?disabled=${(x) => x.validateRequiredFields}
|
|
114
114
|
>
|
|
115
115
|
Submit
|
|
116
|
-
</
|
|
116
|
+
</rapid-button>
|
|
117
117
|
</div>
|
|
118
|
-
</
|
|
118
|
+
</rapid-modal>
|
|
119
119
|
`;
|
package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-management.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
2
|
import { showNotificationDialog } from '@genesislcap/foundation-notifications';
|
|
3
|
-
import { customElement,
|
|
3
|
+
import { customElement, GenesisElement, html, ref, repeat } from '@genesislcap/web-core';
|
|
4
4
|
import { RuleService } from '../../../../services/rule.service';
|
|
5
5
|
import { DynamicRuleManagementStyles } from '../../styles/dynamic-rule.styles';
|
|
6
6
|
import { RULE_MANAGEMENT_COLUMNS } from './columns';
|
|
7
7
|
import { RuleDialogMode } from './rule-dialog/rule-dialog.types';
|
|
8
|
-
let RuleManagement = class RuleManagement extends
|
|
8
|
+
let RuleManagement = class RuleManagement extends GenesisElement {
|
|
9
9
|
openRuleDialog() {
|
|
10
10
|
this.ruleDialog.openDialog({ mode: RuleDialogMode.CREATE });
|
|
11
11
|
}
|
|
@@ -31,7 +31,7 @@ let RuleManagement = class RuleManagement extends FASTElement {
|
|
|
31
31
|
},
|
|
32
32
|
],
|
|
33
33
|
},
|
|
34
|
-
}, '
|
|
34
|
+
}, 'rapid');
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
__decorate([
|
|
@@ -43,20 +43,20 @@ RuleManagement = __decorate([
|
|
|
43
43
|
template: html `
|
|
44
44
|
<div class="container">
|
|
45
45
|
<div class="header">
|
|
46
|
-
<
|
|
47
|
-
<
|
|
46
|
+
<rapid-button class="add" @click=${(x) => x.openRuleDialog()}>
|
|
47
|
+
<rapid-icon name="plus" size="lg" variant="solid"></rapid-icon>
|
|
48
48
|
Add
|
|
49
|
-
</
|
|
49
|
+
</rapid-button>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
<div class="grid">
|
|
53
|
-
<
|
|
53
|
+
<rapid-grid-pro only-template-col-defs>
|
|
54
54
|
<grid-pro-genesis-datasource resource-name="ALL_DYNAMIC_NOTIFY_RULES">
|
|
55
55
|
${repeat((x) => RULE_MANAGEMENT_COLUMNS(x), html `
|
|
56
56
|
<grid-pro-column :definition=${(x) => x} />
|
|
57
57
|
`)}
|
|
58
58
|
</grid-pro-genesis-datasource>
|
|
59
|
-
</
|
|
59
|
+
</rapid-grid-pro>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
62
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __awaiter, __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_REQ_REP, } from '../../../../types/param-source-type';
|
|
4
4
|
import { ParameterBuilderStyles as styles } from './parameter-builder.styles';
|
|
5
5
|
import { ParameterBuilderTemplate as template } from './parameter-builder.template';
|
|
6
6
|
const name = 'parameter-builder';
|
|
7
|
-
let ParameterBuilder = class ParameterBuilder extends
|
|
7
|
+
let ParameterBuilder = class ParameterBuilder extends GenesisElement {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.reqRepItems = ['REQUEST_1', 'REQUEST_2', 'REQUEST_3'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from '@
|
|
1
|
+
import { css } from '@genesislcap/web-core';
|
|
2
2
|
const PARAM_SOURCE_WIDTH = '200';
|
|
3
3
|
export const ParameterBuilderStyles = css `
|
|
4
4
|
.parameter-builder {
|
|
@@ -7,7 +7,7 @@ export const ParameterBuilderStyles = css `
|
|
|
7
7
|
margin-bottom: calc(var(--design-unit) * 2px);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
rapid-button {
|
|
11
11
|
margin: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -20,31 +20,31 @@ export const ParameterBuilderStyles = css `
|
|
|
20
20
|
background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
rapid-text-field {
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
rapid-select {
|
|
28
28
|
min-width: auto;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
rapid-select.param-type::part(control) {
|
|
32
32
|
width: 115px;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
rapid-select.param-source-type::part(control) {
|
|
36
36
|
width: 160px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
rapid-select.param-source::part(control) {
|
|
40
40
|
width: ${PARAM_SOURCE_WIDTH}px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
rapid-text-field.param-source::part(root) {
|
|
44
44
|
width: calc(${PARAM_SOURCE_WIDTH}px + 2px);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
rapid-select::part(listbox) {
|
|
48
48
|
max-height: 160px;
|
|
49
49
|
}
|
|
50
50
|
`;
|
|
@@ -1,36 +1,36 @@
|
|
|
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 { ALL_PARAM_SOURCE_TYPES, PARAM_SOURCE_TYPE_DEFINED_GROUP, PARAM_SOURCE_TYPE_REQ_REP, PARAM_SOURCE_TYPE_USER_TEXT, } from '../../../../types/param-source-type';
|
|
4
4
|
import { ALL_PARAM_TYPES } from '../../../../types/param-type';
|
|
5
5
|
export const ParameterBuilderTemplate = html `
|
|
6
6
|
<div class="parameter-builder">
|
|
7
|
-
<
|
|
7
|
+
<rapid-text-field
|
|
8
8
|
id="param-name"
|
|
9
9
|
placeholder="Name"
|
|
10
10
|
:value=${sync((x) => x.name)}
|
|
11
|
-
></
|
|
11
|
+
></rapid-text-field>
|
|
12
12
|
|
|
13
|
-
<
|
|
13
|
+
<rapid-text-field
|
|
14
14
|
id="param-label"
|
|
15
15
|
placeholder="Label"
|
|
16
16
|
:value=${sync((x) => x.label)}
|
|
17
|
-
></
|
|
17
|
+
></rapid-text-field>
|
|
18
18
|
|
|
19
|
-
<
|
|
19
|
+
<rapid-select
|
|
20
20
|
id="param-source-type"
|
|
21
21
|
:value=${sync((x) => x.sourceType)}
|
|
22
22
|
class="param-source-type"
|
|
23
23
|
>
|
|
24
24
|
${repeat((x) => ALL_PARAM_SOURCE_TYPES, html `
|
|
25
|
-
<
|
|
25
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
26
26
|
`)}
|
|
27
|
-
</
|
|
27
|
+
</rapid-select>
|
|
28
28
|
|
|
29
29
|
${when((x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT, html `
|
|
30
|
-
<
|
|
30
|
+
<rapid-text-field class="param-source" disabled></rapid-text-field>
|
|
31
31
|
`)}
|
|
32
32
|
${when((x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP, html `
|
|
33
|
-
<
|
|
33
|
+
<rapid-select
|
|
34
34
|
${ref('sourceSelect')}
|
|
35
35
|
id="param-source"
|
|
36
36
|
:value=${sync((x) => x.sourceSelected)}
|
|
@@ -38,27 +38,27 @@ export const ParameterBuilderTemplate = html `
|
|
|
38
38
|
?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}
|
|
39
39
|
>
|
|
40
40
|
${repeat((x) => x.reqRepItems, html `
|
|
41
|
-
<
|
|
41
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
42
42
|
`)}
|
|
43
|
-
</
|
|
43
|
+
</rapid-select>
|
|
44
44
|
`)}
|
|
45
45
|
${when((x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP, html `
|
|
46
|
-
<
|
|
46
|
+
<rapid-text-field
|
|
47
47
|
${ref('sourceTextField')}
|
|
48
48
|
class="param-source"
|
|
49
49
|
placeholder="item1,item2,item3"
|
|
50
50
|
:value=${sync((x) => x.sourceTyped)}
|
|
51
|
-
></
|
|
51
|
+
></rapid-text-field>
|
|
52
52
|
`)}
|
|
53
53
|
|
|
54
|
-
<
|
|
54
|
+
<rapid-select id="param-type" :value=${sync((x) => x.type)} class="param-type">
|
|
55
55
|
${repeat((x) => ALL_PARAM_TYPES, html `
|
|
56
|
-
<
|
|
56
|
+
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
57
57
|
`)}
|
|
58
|
-
</
|
|
58
|
+
</rapid-select>
|
|
59
59
|
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
</
|
|
60
|
+
<rapid-button appearance="icon" class="delete" @click=${(x) => x.deleteParameter()}>
|
|
61
|
+
<rapid-icon name="trash" part="icon"></rapid-icon>
|
|
62
|
+
</rapid-button>
|
|
63
63
|
</div>
|
|
64
64
|
`;
|