@genesislcap/pbc-notify-ui 1.0.10 → 1.0.12

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 (21) hide show
  1. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts.map +1 -1
  2. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.d.ts.map +1 -1
  4. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +0 -1
  5. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
  6. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.d.ts.map +1 -1
  7. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
  8. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +0 -1
  9. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
  10. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.styles.d.ts.map +1 -1
  11. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts.map +1 -1
  12. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.js +1 -0
  13. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.js +17 -10
  14. package/dist/esm/components/foundation-inbox/inbox.template.js +129 -129
  15. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +0 -8
  16. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.js +3 -2
  17. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +0 -11
  18. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +0 -10
  19. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.styles.js +3 -2
  20. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.js +0 -12
  21. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"foundation-inbox-flyout.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAItD,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,qBAKa,qBAAsB,SAAQ,mBAAmB;IAC5D,MAAM,EAAE,MAAM,CAAC;IACH,YAAY,EAAE,OAAO,CAAQ;IAE5B,IAAI;IAIV,KAAK;CAGb"}
1
+ {"version":3,"file":"foundation-inbox-flyout.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAItD,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,qBAKa,qBAAsB,SAAQ,mBAAmB;IAE5D,MAAM,EAAE,MAAM,CAAC;IACH,YAAY,EAAE,OAAO,CAAQ;IAE5B,IAAI;IAIV,KAAK;CAGb"}
@@ -1 +1 @@
1
- {"version":3,"file":"foundation-inbox-flyout.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,2BAA2B,iDAavC,CAAC"}
1
+ {"version":3,"file":"foundation-inbox-flyout.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,2BAA2B,iDAcvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"foundation-inbox-flyout.template.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,eAAO,MAAM,6BAA6B,4EAezC,CAAC"}
1
+ {"version":3,"file":"foundation-inbox-flyout.template.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,eAAO,MAAM,6BAA6B,4EAsBzC,CAAC"}
@@ -15,7 +15,6 @@ export declare class RuleDialog extends FASTElement {
15
15
  name: string;
16
16
  description: string;
17
17
  resource: string;
18
- tableId: string;
19
18
  topic: string;
20
19
  topics: string[];
21
20
  resourceFields: Field[];
@@ -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,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAQ,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EAAE,sBAAsB,EAAE,KAAK,EAAkB,MAAM,uDAAuD,CAAC;AAOtH,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,qBAKa,UAAW,SAAQ,WAAW;IAE5B,WAAW,EAAE,WAAW,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAE5C,MAAM,EAAE,MAAM,CAAC;IACH,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,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,KAAK,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAM;IACtB,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;IAE7B,UAAU,CAAC,MAAM,EAAE,gBAAgB;IAoDhD,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,MAAM;IAmCN,gBAAgB,CAAC,QAAQ,KAAA;IAoBzB,KAAK;IAiBL,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAGrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;IAKrB,oBAAoB,IAAI,sBAAsB;CAS/C"}
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,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAQ,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC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/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,gBAAgB,iDA4D5B,CAAC"}
1
+ {"version":3,"file":"rule-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,gBAAgB,iDA4D5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAO1E,eAAO,MAAM,kBAAkB,EAAE,YAyJhC,CAAC"}
1
+ {"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAO1E,eAAO,MAAM,kBAAkB,EAAE,YA2IhC,CAAC"}
@@ -16,7 +16,6 @@ export declare class TemplateDialog extends FASTElement {
16
16
  resource: string;
17
17
  topic: any;
18
18
  severity: any;
19
- tableId: any;
20
19
  parameters: Array<ParameterBuilderEntity>;
21
20
  conditions: Array<ConditionBuilderEntity>;
22
21
  resources: Array<string>;
@@ -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,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAGjF,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,kBAAkB,EAAY,MAAM,yBAAyB,CAAC;AAGvH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtD,OAAO,E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"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAGjF,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,kBAAkB,EAAY,MAAM,yBAAyB,CAAC;AAGvH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAIvE,qBAKa,cAAe,SAAQ,WAAW;IAE5B,mBAAmB,EAAE,eAAe,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAEhC,cAAc,EAAE,MAAM,CAAC;IACvB,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;IAET,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,GAAG,CAAC,CAAM;IACxB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAE3B,kBAAkB,EAAE,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;IAE7F,MAAM,EAAE,MAAM,CAAC;IAEF,UAAU,CAAC,MAAM,EAAE,GAAG;IAmEnC,IAAI,mBAAmB,IAAI,MAAM,CAKhC;IAED,MAAM;IAsCN,gBAAgB,CAAC,QAAQ,KAAA;IAoBzB,KAAK;IAkBL,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAGrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAYxD,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;CAItB"}
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.styles.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,oBAAoB,iDA8DhC,CAAC"}
1
+ {"version":3,"file":"template-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.styles.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,oBAAoB,iDA8DhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAM1E,eAAO,MAAM,sBAAsB,EAAE,YAmLpC,CAAC"}
1
+ {"version":3,"file":"template-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAM1E,eAAO,MAAM,sBAAsB,EAAE,YAoKpC,CAAC"}
@@ -12,5 +12,6 @@ export const FoundationInboxFlyoutStyles = css `
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  }
15
+
15
16
  ${InboxStyles}
16
17
  `;
@@ -1,18 +1,25 @@
1
1
  import { html, ref } from '@microsoft/fast-element';
2
2
  import { FoundationInboxTemplate } from '../../inbox.template';
3
3
  export const FoundationInboxFlyoutTemplate = html `
4
- <zero-flyout ${ref('flyout')} position="right" @closed=${(x) => (x.flyoutClosed = true)} :closed=${(x) => x.flyoutClosed} displayHeader=${false}>
4
+ <zero-flyout
5
+ ${ref('flyout')}
6
+ position="right"
7
+ @closed=${x => x.flyoutClosed = true}
8
+ :closed=${x => x.flyoutClosed}
9
+ displayHeader=${false}
10
+ >
5
11
  <div class="inbox-header">
6
- <div class="inbox-header-title">
7
- Alerts
8
- </div>
9
- <zero-button
10
- class="inbox-header-close"
11
- @click=${x => x.close()}
12
- >
13
- <zero-icon part="icon" name="xmark" size="xl"></zero-icon>
14
- </zero-button>
12
+ <div class="inbox-header-title">
13
+ Alerts
14
+ </div>
15
+ <zero-button
16
+ class="inbox-header-close"
17
+ @click=${x => x.close()}
18
+ >
19
+ <zero-icon part="icon" name="xmark" size="xl"></zero-icon>
20
+ </zero-button>
15
21
  </div>
22
+
16
23
  ${FoundationInboxTemplate}
17
24
  </zero-flyout>
18
25
  `;
@@ -11,142 +11,142 @@ export var InboxTab;
11
11
  * @public
12
12
  */
13
13
  export const FoundationInboxTemplate = html `
14
- <div class="inbox-content">
15
- <zero-tabs ${(ref('tabs'))} appearance="secondary" activeid=${x => InboxTab.AlertLog}>
16
- <zero-tab slot="alert-log-tab"
17
- id=${x => InboxTab.AlertLog}
18
- @click=${x => x.inboxTabChanged(InboxTab.AlertLog)}
19
- appearance="secondary"
20
- >
21
- Alert Log
22
- </zero-tab>
23
- <zero-tab
24
- slot="my-alerts-tab"
25
- id=${x => InboxTab.MyAlerts}
26
- @click=${x => x.inboxTabChanged(InboxTab.MyAlerts)}
27
- appearance="secondary"
28
- >
29
- My Alerts
30
- </zero-tab>
31
- <zero-tab
32
- slot="subscribe-tab"
33
- id=${x => InboxTab.Subscribe}
34
- @click=${x => x.inboxTabChanged(InboxTab.Subscribe)}
35
- appearance="secondary"
36
- >
37
- Subscribe
38
- </zero-tab>
39
-
40
- <!-- Alerts -->
41
- <zero-tab-panel
42
- slot="alert-log-tab"
43
- class="alert-log-tab-panel"
44
- id=${x => InboxTab.AlertLog}
45
- style=${x => x.checkActiveTab(InboxTab.AlertLog)}
46
- >
47
- <div class="search">
48
- <zero-text-field
49
- class="search-input"
50
- :value=${sync((x) => x.searchAlertLog)}
51
- placeholder="Search Alerts..."
52
- autocomplete="off"
53
- >
54
- </zero-text-field>
55
- </div>
56
- <div class="alert-log-tab-content">
57
- ${repeat(x => x.alertsFilter, html `
58
- <div class="toast" id=${(x) => x.ALERT_ID}>
59
- <div class="toast-severity" style="background-color: ${(x) => getSeverityColor(x.NOTIFY_SEVERITY)}"></div>
60
- <div class="toast-content">
61
- <span class="toast-header">${(x) => x.HEADER}</span>
62
- <span class="toast-message">${(x) => x.MESSAGE}</span>
63
- <div class="toast-bottom" slot="bottom">
64
- <span class="toast-date" slot="date">${(x) => getFormattedDate(x.CREATED_AT)}</span>
65
- </div>
66
- </div>
67
- <div class="toast-delete" @click=${(x, c) => c.parent.deleteNotifyAlert(x.ALERT_ID)}>
68
- <zero-icon name="xmark" variant="solid" size="lg"><zero-icon>
14
+ <div class="inbox-content">
15
+ <zero-tabs ${(ref('tabs'))} appearance="secondary" activeid=${x => InboxTab.AlertLog}>
16
+ <zero-tab slot="alert-log-tab"
17
+ id=${x => InboxTab.AlertLog}
18
+ @click=${x => x.inboxTabChanged(InboxTab.AlertLog)}
19
+ appearance="secondary"
20
+ >
21
+ Alert Log
22
+ </zero-tab>
23
+ <zero-tab
24
+ slot="my-alerts-tab"
25
+ id=${x => InboxTab.MyAlerts}
26
+ @click=${x => x.inboxTabChanged(InboxTab.MyAlerts)}
27
+ appearance="secondary"
28
+ >
29
+ My Alerts
30
+ </zero-tab>
31
+ <zero-tab
32
+ slot="subscribe-tab"
33
+ id=${x => InboxTab.Subscribe}
34
+ @click=${x => x.inboxTabChanged(InboxTab.Subscribe)}
35
+ appearance="secondary"
36
+ >
37
+ Subscribe
38
+ </zero-tab>
39
+
40
+ <!-- Alerts -->
41
+ <zero-tab-panel
42
+ slot="alert-log-tab"
43
+ class="alert-log-tab-panel"
44
+ id=${x => InboxTab.AlertLog}
45
+ style=${x => x.checkActiveTab(InboxTab.AlertLog)}
46
+ >
47
+ <div class="search">
48
+ <zero-text-field
49
+ class="search-input"
50
+ :value=${sync((x) => x.searchAlertLog)}
51
+ placeholder="Search Alerts..."
52
+ autocomplete="off"
53
+ >
54
+ </zero-text-field>
55
+ </div>
56
+ <div class="alert-log-tab-content">
57
+ ${repeat(x => x.alertsFilter, html `
58
+ <div class="toast" id=${(x) => x.ALERT_ID}>
59
+ <div class="toast-severity" style="background-color: ${(x) => getSeverityColor(x.NOTIFY_SEVERITY)}"></div>
60
+ <div class="toast-content">
61
+ <span class="toast-header">${(x) => x.HEADER}</span>
62
+ <span class="toast-message">${(x) => x.MESSAGE}</span>
63
+ <div class="toast-bottom" slot="bottom">
64
+ <span class="toast-date" slot="date">${(x) => getFormattedDate(x.CREATED_AT)}</span>
69
65
  </div>
70
66
  </div>
71
- `)}
72
- </div>
73
- </zero-tab-panel>
67
+ <div class="toast-delete" @click=${(x, c) => c.parent.deleteNotifyAlert(x.ALERT_ID)}>
68
+ <zero-icon name="xmark" variant="solid" size="lg"><zero-icon>
69
+ </div>
70
+ </div>
71
+ `)}
72
+ </div>
73
+ </zero-tab-panel>
74
74
 
75
- <!-- Rules -->
76
- <zero-tab-panel
77
- slot="my-alerts-tab"
78
- class="my-alerts-tab-panel"
79
- id=${x => InboxTab.MyAlerts}
80
- style=${x => x.checkActiveTab(InboxTab.MyAlerts)}
81
- >
82
- <div class="my-alerts-tab-content">
83
- ${repeat((x) => x.rulesFilter, html `
84
- <div class="rule">
85
- <div class="rule-name">${x => x.NAME}</div>
86
- <div class="rule-expression">${x => x.RULE_EXPRESSION}</div>
87
- <div class="rule-datetime">${(x, c) => getFormattedDate(x.DATETIME)}</div>
88
- <div class="rule-status-actions">
89
- <div class="rule-status ${x => getStatus(x.RULE_STATUS).toLowerCase()}">
90
- ${(x, c) => getStatus(x.RULE_STATUS)}
91
- </div>
92
- <div class="rule-actions">
93
- <!--
94
- <span class="rule-action-edit" @click=${(x, c) => c.parent.editAlert(x)}}>
95
- <zero-icon name="gear"></zero-icon>
96
- </span>
97
- -->
98
- <span class="rule-action-enable-disable" @click=${(x, c) => c.parent.playPauseAlert(x)}>
99
- <zero-icon name=${x => getIcon(x.RULE_STATUS)}></zero-icon>
100
- </span>
101
- <span class="rule-action-delete" @click=${(x, c) => c.parent.deleteAlert(x)}>
102
- <zero-icon name="trash"></zero-icon>
103
- </span>
104
- </div>
75
+ <!-- Rules -->
76
+ <zero-tab-panel
77
+ slot="my-alerts-tab"
78
+ class="my-alerts-tab-panel"
79
+ id=${x => InboxTab.MyAlerts}
80
+ style=${x => x.checkActiveTab(InboxTab.MyAlerts)}
81
+ >
82
+ <div class="my-alerts-tab-content">
83
+ ${repeat((x) => x.rulesFilter, html `
84
+ <div class="rule">
85
+ <div class="rule-name">${x => x.NAME}</div>
86
+ <div class="rule-expression">${x => x.RULE_EXPRESSION}</div>
87
+ <div class="rule-datetime">${(x, c) => getFormattedDate(x.DATETIME)}</div>
88
+ <div class="rule-status-actions">
89
+ <div class="rule-status ${x => getStatus(x.RULE_STATUS).toLowerCase()}">
90
+ ${(x, c) => getStatus(x.RULE_STATUS)}
91
+ </div>
92
+ <div class="rule-actions">
93
+ <!--
94
+ <span class="rule-action-edit" @click=${(x, c) => c.parent.editAlert(x)}}>
95
+ <zero-icon name="gear"></zero-icon>
96
+ </span>
97
+ -->
98
+ <span class="rule-action-enable-disable" @click=${(x, c) => c.parent.playPauseAlert(x)}>
99
+ <zero-icon name=${x => getIcon(x.RULE_STATUS)}></zero-icon>
100
+ </span>
101
+ <span class="rule-action-delete" @click=${(x, c) => c.parent.deleteAlert(x)}>
102
+ <zero-icon name="trash"></zero-icon>
103
+ </span>
105
104
  </div>
106
105
  </div>
107
- `)}
108
- </div>
109
- </zero-tab-panel>
106
+ </div>
107
+ `)}
108
+ </div>
109
+ </zero-tab-panel>
110
110
 
111
- <!-- Templates -->
112
- <zero-tab-panel
113
- slot="subscribe-tab"
114
- class="subscribe-tab-panel"
115
- id=${x => InboxTab.Subscribe}
116
- style=${x => x.checkActiveTab(InboxTab.Subscribe)}
117
- >
118
- <div class="search">
119
- <zero-text-field
120
- class="search-input"
121
- :value=${sync(x => x.searchSubscribe)}
122
- placeholder="Search Templates..."
123
- autocomplete="off"
124
- >
125
- </zero-text-field>
126
- </div>
127
- <div
128
- class="subscribe-tab-content"
111
+ <!-- Templates -->
112
+ <zero-tab-panel
113
+ slot="subscribe-tab"
114
+ class="subscribe-tab-panel"
115
+ id=${x => InboxTab.Subscribe}
116
+ style=${x => x.checkActiveTab(InboxTab.Subscribe)}
117
+ >
118
+ <div class="search">
119
+ <zero-text-field
120
+ class="search-input"
121
+ :value=${sync(x => x.searchSubscribe)}
122
+ placeholder="Search Templates..."
123
+ autocomplete="off"
129
124
  >
130
- ${repeat((x) => x.templatesFilter, html `
131
- <div
132
- class="template"
133
- @click=${(x, c) => c.parent.openTemplateSubscription(x)}
134
- id=${(x) => x.ID}
135
- >
136
- <div class="template-name">${x => x.NAME}</div>
137
- <div class="template-description">${x => x.DESCRIPTION}</div>
138
- <div class="template-datetime">${(x, c) => getFormattedDate(x.DATETIME)}</div>
139
- </div>
140
- `)}
141
- </div>
142
- ${when(x => x.ruleTemplateDetails, html `
143
- <inbox-subscription
144
- :template=${x => x.ruleTemplateDetails}
145
- @templateSubscribed=${x => x.ruleTemplateDetails = null}
125
+ </zero-text-field>
126
+ </div>
127
+ <div
128
+ class="subscribe-tab-content"
129
+ >
130
+ ${repeat((x) => x.templatesFilter, html `
131
+ <div
132
+ class="template"
133
+ @click=${(x, c) => c.parent.openTemplateSubscription(x)}
134
+ id=${(x) => x.ID}
146
135
  >
147
- </inbox-subscription>
136
+ <div class="template-name">${x => x.NAME}</div>
137
+ <div class="template-description">${x => x.DESCRIPTION}</div>
138
+ <div class="template-datetime">${(x, c) => getFormattedDate(x.DATETIME)}</div>
139
+ </div>
148
140
  `)}
149
- </zero-tab-panel>
150
- </zero-tabs>
151
- </div>
141
+ </div>
142
+ ${when(x => x.ruleTemplateDetails, html `
143
+ <inbox-subscription
144
+ :template=${x => x.ruleTemplateDetails}
145
+ @templateSubscribed=${x => x.ruleTemplateDetails = null}
146
+ >
147
+ </inbox-subscription>
148
+ `)}
149
+ </zero-tab-panel>
150
+ </zero-tabs>
151
+ </div>
152
152
  `;
@@ -33,7 +33,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
33
33
  this.conditions.push(this.createEmptyCondition());
34
34
  this.resource = this.resources[0];
35
35
  this.resourceFields = yield this.systemService.getFields(this.resource);
36
- this.tableId = this.resourceFields[0].FIELD_NAME;
37
36
  this.topic = this.topics[0];
38
37
  this.severity = SEVERITY_INFORMATION;
39
38
  break;
@@ -65,7 +64,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
65
64
  this.message = getAssignmentValue(assignments, 'BODY');
66
65
  this.severity = (_c = getAssignmentValue(assignments, 'NOTIFY_SEVERITY')) === null || _c === void 0 ? void 0 : _c.toUpperCase();
67
66
  this.topic = getAssignmentValue(assignments, 'TOPIC');
68
- this.tableId = getAssignmentValue(assignments, 'TABLE_ENTITY_ID');
69
67
  }
70
68
  break;
71
69
  }
@@ -81,8 +79,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
81
79
  }, RESULT_EXPRESSION: {
82
80
  ASSIGNMENTS: [
83
81
  createAssignment('TOPIC', this.topic),
84
- createAssignment('TABLE_NAME', this.resource),
85
- createAssignment('TABLE_ENTITY_ID', this.tableId),
86
82
  createAssignment('HEADER', this.header),
87
83
  createAssignment('BODY', this.message),
88
84
  createAssignment('NOTIFY_SEVERITY', humanize(this.severity))
@@ -129,7 +125,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
129
125
  this.topic = null;
130
126
  this.topics = [];
131
127
  this.severity = null;
132
- this.tableId = null;
133
128
  this.conditions = [];
134
129
  }
135
130
  // #region Condition
@@ -182,9 +177,6 @@ __decorate([
182
177
  __decorate([
183
178
  observable
184
179
  ], RuleDialog.prototype, "resource", void 0);
185
- __decorate([
186
- observable
187
- ], RuleDialog.prototype, "tableId", void 0);
188
180
  __decorate([
189
181
  observable
190
182
  ], RuleDialog.prototype, "topic", void 0);
@@ -4,6 +4,7 @@ const header = css `
4
4
  zero-modal::part(top) {
5
5
  padding: calc(var(--design-unit) * 4px);
6
6
  border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
7
+ margin: 0px;
7
8
  }
8
9
 
9
10
  .rule-dialog-header-title {
@@ -14,7 +15,7 @@ const header = css `
14
15
  const footer = css `
15
16
  .rule-dialog-footer {
16
17
  display: flex;
17
- padding: calc(var(--design-unit) * 4px);
18
+ padding: 0 calc(var(--design-unit)* 4px) calc(var(--design-unit)* 4px);
18
19
  }
19
20
 
20
21
  .rule-dialog-footer .content-row {
@@ -38,7 +39,7 @@ export const RuleDialogStyles = css `
38
39
  flex-direction: column;
39
40
  width: ${String(modalWidthPx)}px;
40
41
  gap: calc(var(--design-unit) * 3px);
41
- padding: 0 calc(var(--design-unit) * 4px);
42
+ padding: calc(var(--design-unit) * 4px);
42
43
  }
43
44
 
44
45
  .content-row {
@@ -47,17 +47,6 @@ export const RuleDialogTemplate = html `
47
47
  </zero-select>
48
48
  </div>
49
49
 
50
- <div class="control">
51
- <label>Table ID</label>
52
- <zero-select
53
- :value=${sync(x => x.tableId)}
54
- >
55
- ${repeat(x => x.resourceFields, html `
56
- <zero-option value=${x => x.FIELD_NAME}>${x => x.FIELD_NAME}</zero-option>
57
- `)}
58
- </zero-select>
59
- </div>
60
-
61
50
  <div class="control">
62
51
  <label>Topic</label>
63
52
  <zero-select
@@ -34,7 +34,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
34
34
  this.conditions.push(createEmptyCondition());
35
35
  this.resource = this.resources[0];
36
36
  this.fields = yield this.ruleTemplateService.getFields(this.resource);
37
- this.tableId = this.fields[0].FIELD_NAME;
38
37
  this.topic = this.topics[0];
39
38
  this.severity = SEVERITY_INFORMATION;
40
39
  break;
@@ -78,7 +77,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
78
77
  this.message = getAssignmentValue(assignments, 'BODY');
79
78
  this.severity = (_b = getAssignmentValue(assignments, 'NOTIFY_SEVERITY')) === null || _b === void 0 ? void 0 : _b.toUpperCase();
80
79
  this.topic = getAssignmentValue(assignments, 'TOPIC');
81
- this.tableId = getAssignmentValue(assignments, 'TABLE_ENTITY_ID');
82
80
  }
83
81
  break;
84
82
  default:
@@ -100,8 +98,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
100
98
  }, RAW_RULE_EXPRESSION: null, RESULT_EXPRESSION: {
101
99
  ASSIGNMENTS: [
102
100
  createAssignment('TOPIC', this.topic),
103
- createAssignment('TABLE_NAME', this.resource),
104
- createAssignment('TABLE_ENTITY_ID', this.tableId),
105
101
  createAssignment('HEADER', this.header),
106
102
  createAssignment('BODY', this.message),
107
103
  createAssignment('NOTIFY_SEVERITY', humanize(this.severity))
@@ -186,9 +182,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
186
182
  return __awaiter(this, void 0, void 0, function* () {
187
183
  this.conditions = [createEmptyCondition()];
188
184
  this.fields = yield this.ruleTemplateService.getFields(this.resource);
189
- if (this.fields && this.fields.length > 0) {
190
- this.tableId = this.fields[0].FIELD_NAME;
191
- }
192
185
  });
193
186
  }
194
187
  };
@@ -225,9 +218,6 @@ __decorate([
225
218
  __decorate([
226
219
  observable
227
220
  ], TemplateDialog.prototype, "severity", void 0);
228
- __decorate([
229
- observable
230
- ], TemplateDialog.prototype, "tableId", void 0);
231
221
  __decorate([
232
222
  observable
233
223
  ], TemplateDialog.prototype, "parameters", void 0);
@@ -4,6 +4,7 @@ const header = css `
4
4
  zero-modal::part(top) {
5
5
  padding: calc(var(--design-unit) * 4px);
6
6
  border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
7
+ margin: 0px;
7
8
  }
8
9
 
9
10
  .template-dialog-header-title {
@@ -14,7 +15,7 @@ const header = css `
14
15
  const footer = css `
15
16
  .template-dialog-footer {
16
17
  display: flex;
17
- padding: calc(var(--design-unit) * 4px);
18
+ padding: 0 calc(var(--design-unit)* 4px) calc(var(--design-unit)* 4px);
18
19
  }
19
20
 
20
21
  .template-dialog-footer .content-row {
@@ -38,7 +39,7 @@ export const TemplateDialogStyles = css `
38
39
  flex-direction: column;
39
40
  width: ${String(modalWidthPx)}px;
40
41
  gap: calc(var(--design-unit) * 3px);
41
- padding: 0 calc(var(--design-unit) * 4px);
42
+ padding: calc(var(--design-unit) * 4px);
42
43
  }
43
44
 
44
45
  .content-row {
@@ -45,18 +45,6 @@ export const TemplateDialogTemplate = html `
45
45
  </zero-select>
46
46
  </div>
47
47
 
48
- <div class="control">
49
- <label>Table ID</label>
50
- <zero-select
51
- :value=${sync(x => x.tableId)}
52
- position="below"
53
- >
54
- ${repeat(x => x.fields, html `
55
- <zero-option value=${x => x.FIELD_NAME}>${x => x.FIELD_NAME}</zero-option>
56
- `)}
57
- </zero-select>
58
- </div>
59
-
60
48
  <div class="control">
61
49
  <label>Topic</label>
62
50
  <zero-select
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.10",
4
+ "version": "1.0.12",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",