@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.
Files changed (128) hide show
  1. package/dist/dts/components/components.d.ts +1 -3
  2. package/dist/dts/components/components.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts +2 -2
  4. package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts.map +1 -1
  5. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts +1 -1
  6. package/dist/dts/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.d.ts.map +1 -1
  7. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts +2 -2
  8. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts.map +1 -1
  9. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts +2 -2
  10. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts.map +1 -1
  11. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts +2 -2
  12. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts.map +1 -1
  13. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts +2 -2
  14. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts.map +1 -1
  15. package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts +4 -5
  16. package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
  17. package/dist/dts/components/foundation-inbox/inbox.styles.d.ts.map +1 -1
  18. package/dist/dts/components/foundation-inbox/inbox.template.d.ts +1 -7
  19. package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
  20. package/dist/dts/components/foundation-inbox/inbox.types.d.ts +6 -0
  21. package/dist/dts/components/foundation-inbox/inbox.types.d.ts.map +1 -1
  22. package/dist/dts/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.d.ts +2 -2
  23. package/dist/dts/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.d.ts.map +1 -1
  24. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts +2 -2
  25. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts.map +1 -1
  26. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts +2 -2
  27. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts.map +1 -1
  28. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts +2 -2
  29. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts.map +1 -1
  30. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts +2 -2
  31. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts.map +1 -1
  32. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts +2 -2
  33. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts.map +1 -1
  34. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts +2 -2
  35. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts.map +1 -1
  36. package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts +1 -1
  37. package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts.map +1 -1
  38. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts +2 -2
  39. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -1
  40. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts +2 -2
  41. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +1 -1
  42. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +3 -3
  43. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
  44. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts +2 -2
  45. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
  46. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts +2 -2
  47. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts.map +1 -1
  48. package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts +1 -1
  49. package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts.map +1 -1
  50. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.d.ts +3 -3
  51. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.d.ts.map +1 -1
  52. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts +2 -2
  53. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts.map +1 -1
  54. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.d.ts +2 -2
  55. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.d.ts.map +1 -1
  56. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.d.ts +2 -2
  57. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.d.ts.map +1 -1
  58. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +3 -3
  59. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
  60. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts +2 -2
  61. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts.map +1 -1
  62. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts +3 -3
  63. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts.map +1 -1
  64. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts +2 -2
  65. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map +1 -1
  66. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts +1 -1
  67. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts.map +1 -1
  68. package/dist/dts/components/foundation-notification-dashboard/styles/condition-builder.styles.d.ts.map +1 -1
  69. package/dist/dts/components/foundation-notification-dashboard/styles/dynamic-rule.styles.d.ts.map +1 -1
  70. package/dist/dts/services/rule.service.d.ts +1 -1
  71. package/dist/dts/services/rule.service.d.ts.map +1 -1
  72. package/dist/dts/services/template.service.d.ts +1 -1
  73. package/dist/dts/services/template.service.d.ts.map +1 -1
  74. package/dist/dts/utils/eventDetail.d.ts +1 -1
  75. package/dist/dts/utils/eventDetail.d.ts.map +1 -1
  76. package/dist/esm/components/components.js +4 -33
  77. package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.js +2 -2
  78. package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.js +1 -1
  79. package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.js +1 -1
  80. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.js +1 -1
  81. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.js +3 -3
  82. package/dist/esm/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.js +6 -6
  83. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.js +2 -2
  84. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.js +2 -2
  85. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.js +3 -3
  86. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.js +2 -2
  87. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.js +2 -2
  88. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.js +13 -13
  89. package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +3 -4
  90. package/dist/esm/components/foundation-inbox/inbox.js +1 -1
  91. package/dist/esm/components/foundation-inbox/inbox.styles.js +5 -4
  92. package/dist/esm/components/foundation-inbox/inbox.template.js +26 -33
  93. package/dist/esm/components/foundation-inbox/inbox.types.js +7 -0
  94. package/dist/esm/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.js +3 -2
  95. package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js +24 -24
  96. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.js +3 -2
  97. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.js +3 -2
  98. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.js +3 -2
  99. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.js +3 -2
  100. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.js +3 -2
  101. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js +2 -2
  102. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.js +19 -21
  103. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +2 -2
  104. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +25 -25
  105. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-management.js +8 -8
  106. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.js +2 -2
  107. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.js +9 -9
  108. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.js +20 -20
  109. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.js +2 -2
  110. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.js +19 -20
  111. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +2 -2
  112. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.js +22 -22
  113. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-management.js +8 -8
  114. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.js +2 -2
  115. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js +3 -3
  116. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js +6 -6
  117. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.utils.js +1 -1
  118. package/dist/esm/components/foundation-notification-dashboard/styles/condition-builder.styles.js +13 -9
  119. package/dist/esm/components/foundation-notification-dashboard/styles/dynamic-rule.styles.js +20 -12
  120. package/dist/esm/components/foundation-notification-dashboard/styles/management.styles.js +1 -1
  121. package/dist/esm/services/alert.service.js +1 -1
  122. package/dist/esm/services/inbox.service.js +1 -1
  123. package/dist/esm/services/notify.service.js +1 -1
  124. package/dist/esm/services/rule.service.js +1 -1
  125. package/dist/esm/services/system.service.js +1 -1
  126. package/dist/esm/services/template.service.js +1 -1
  127. package/dist/esm/utils/icons.js +4 -4
  128. package/package.json +11 -6
@@ -1,10 +1,10 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { FASTElement, attr, customElement, observable } from '@microsoft/fast-element';
2
+ import { attr, customElement, GenesisElement, observable } from '@genesislcap/web-core';
3
3
  import { LogicalOperator, RightCriteria, nullAndBlankLogicalOperatorValues, } from '../../../../../../notify.types';
4
4
  import { logger } from '../../../../../../utils';
5
5
  import { ConditionBuilderStyles } from '../../../../styles/condition-builder.styles';
6
6
  import { TemplateConditionBuilderTemplate } from './template-condition-builder.template';
7
- let TemplateConditionBuilder = class TemplateConditionBuilder extends FASTElement {
7
+ let TemplateConditionBuilder = class TemplateConditionBuilder extends GenesisElement {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.leftValueItems = [];
@@ -1,20 +1,19 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
- import { html, repeat, when } from '@microsoft/fast-element';
3
- import { classNames } from '@microsoft/fast-web-utilities';
2
+ import { classNames, html, repeat, when } from '@genesislcap/web-core';
4
3
  import { LogicalOperator, RightCriteria, nullAndBlankLogicalOperatorValues, } from '../../../../../../notify.types';
5
4
  export const TemplateConditionBuilderTemplate = html `
6
5
  <div class="condition-builder">
7
- <zero-select
6
+ <rapid-select
8
7
  :value=${sync((x) => x.leftValue)}
9
8
  :initialValue=${sync((x) => x.leftValue)}
10
9
  class="left-value"
11
10
  >
12
11
  ${repeat((x) => x.leftValueItems, html `
13
- <zero-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</zero-option>
12
+ <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>
14
13
  `)}
15
- </zero-select>
14
+ </rapid-select>
16
15
 
17
- <zero-select
16
+ <rapid-select
18
17
  class="logical-operator${(x) => classNames([
19
18
  '-null-and-blank',
20
19
  nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),
@@ -22,45 +21,45 @@ export const TemplateConditionBuilderTemplate = html `
22
21
  :value=${sync((x) => x.logicalOperator)}
23
22
  >
24
23
  ${repeat((_) => Object.values(LogicalOperator), html `
25
- <zero-option value=${(x) => x}>${(x) => x}</zero-option>
24
+ <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
26
25
  `)}
27
- </zero-select>
26
+ </rapid-select>
28
27
 
29
28
  ${when((x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]), html `
30
- <zero-select class="right-criteria" :value=${sync((x) => x.rightCriteria)}>
29
+ <rapid-select class="right-criteria" :value=${sync((x) => x.rightCriteria)}>
31
30
  ${repeat((_) => Object.values(RightCriteria), html `
32
- <zero-option value=${(x) => x}>${(x) => x}</zero-option>
31
+ <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
33
32
  `)}
34
- </zero-select>
33
+ </rapid-select>
35
34
 
36
35
  ${when((x) => x.rightCriteria === RightCriteria.VALUE, html `
37
- <zero-text-field
36
+ <rapid-text-field
38
37
  class="right-criteria-text"
39
38
  :value=${sync((x) => x.rightValueText)}
40
39
  placeholder="Value"
41
40
  autocomplete="off"
42
- ></zero-text-field>
41
+ ></rapid-text-field>
43
42
  `)}
44
43
  ${when((x) => x.rightCriteria === RightCriteria.USER_ENTRY, html `
45
- <zero-select class="right-criteria-select" :value=${sync((x) => x.rightValueSelect)}>
44
+ <rapid-select class="right-criteria-select" :value=${sync((x) => x.rightValueSelect)}>
46
45
  ${(x) => rightValueItemsOptions(x.rightValueItems)}
47
- </zero-select>
46
+ </rapid-select>
48
47
  `)}
49
48
  `)}
50
49
 
51
- <zero-button appearance="icon" class="delete" @click=${(x) => x.deleteCondition()}>
52
- <zero-icon
50
+ <rapid-button appearance="icon" class="delete" @click=${(x) => x.deleteCondition()}>
51
+ <rapid-icon
53
52
  style="opacity: 0.5"
54
53
  variant="regular"
55
54
  name="trash-alt"
56
55
  size="lg"
57
56
  part="icon"
58
- ></zero-icon>
59
- </zero-button>
57
+ ></rapid-icon>
58
+ </rapid-button>
60
59
  </div>
61
60
  `;
62
61
  const rightValueItemsOptions = (rightValueItems) => html `
63
62
  ${repeat((x) => rightValueItems, html `
64
- <zero-option value="${(x) => { var _a; return (_a = x.UUID) !== null && _a !== void 0 ? _a : ''; }}">${(x) => { var _a; return (_a = x.PARAM_NAME) !== null && _a !== void 0 ? _a : ''; }}</zero-option>
63
+ <rapid-option value="${(x) => { var _a; return (_a = x.UUID) !== null && _a !== void 0 ? _a : ''; }}">${(x) => { var _a; return (_a = x.PARAM_NAME) !== null && _a !== void 0 ? _a : ''; }}</rapid-option>
65
64
  `)}
66
65
  `;
@@ -1,5 +1,5 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { customElement, FASTElement, observable, volatile } from '@microsoft/fast-element';
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 { SystemService } from '../../../../../services/system.service';
@@ -9,7 +9,7 @@ import { DynamicRuleUtils, showNotificationError, TemplateUtils, isEmpty, } from
9
9
  import { DynamicRuleDialogStyles } from '../../../styles/dynamic-rule.styles';
10
10
  import { TemplateDialogTemplate } from './template-dialog.template';
11
11
  import { TemplateDialogMode } from './template-dialog.types';
12
- let TemplateDialog = class TemplateDialog extends FASTElement {
12
+ let TemplateDialog = class TemplateDialog extends GenesisElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.templateDialogMode = null;
@@ -1,56 +1,56 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
- import { html, ref, repeat } from '@microsoft/fast-element';
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 TemplateDialogTemplate = html `
6
- <zero-modal ${ref('dialog')} class="dialog" :onCloseCallback=${(x) => () => x.close()}>
6
+ <rapid-modal ${ref('dialog')} class="dialog" :onCloseCallback=${(x) => () => x.close()}>
7
7
  <div slot="top" class="dialog-top">${(x) => x.templateDialogTitle}</div>
8
8
 
9
9
  <div class="dialog-content">
10
10
  <div class="content-row">
11
11
  <div class="control">
12
- <zero-text-field :value=${sync((x) => x.name)} autofocus>Name</zero-text-field>
12
+ <rapid-text-field :value=${sync((x) => x.name)} autofocus>Name</rapid-text-field>
13
13
  </div>
14
14
 
15
15
  <div class="control">
16
- <zero-text-field :value=${sync((x) => x.description)}>Description</zero-text-field>
16
+ <rapid-text-field :value=${sync((x) => x.description)}>Description</rapid-text-field>
17
17
  </div>
18
18
  </div>
19
19
 
20
20
  <div class="content-row">
21
21
  <div class="control">
22
22
  <label>Resource</label>
23
- <zero-select :value=${sync((x) => x.resource)} position="below">
23
+ <rapid-select :value=${sync((x) => x.resource)} position="below">
24
24
  ${repeat((x) => x.resources, html `
25
- <zero-option value=${(x) => x}>${(x) => x}</zero-option>
25
+ <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
26
26
  `)}
27
- </zero-select>
27
+ </rapid-select>
28
28
  </div>
29
29
 
30
30
  <div class="control">
31
31
  <label>Topic</label>
32
- <zero-select :value=${sync((x) => x.topic)}>
32
+ <rapid-select :value=${sync((x) => x.topic)}>
33
33
  ${repeat((x) => x.topics, html `
34
- <zero-option value=${(x) => x}>${(x) => x}</zero-option>
34
+ <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
35
35
  `)}
36
- </zero-select>
36
+ </rapid-select>
37
37
  </div>
38
38
 
39
39
  <div class="control">
40
40
  <label>Severity</label>
41
- <zero-select :value=${sync((x) => x.severity)}>
41
+ <rapid-select :value=${sync((x) => x.severity)}>
42
42
  <options-datasource
43
43
  value-field="value"
44
44
  label-field="value"
45
- option-element="zero-option"
45
+ option-element="rapid-option"
46
46
  :data=${(_) => Object.values(Severity).map((value) => ({ value }))}
47
47
  ></options-datasource>
48
- </zero-select>
48
+ </rapid-select>
49
49
  </div>
50
50
 
51
51
  <div class="control">
52
52
  <label>Update Type</label>
53
- <zero-multiselect
53
+ <rapid-multiselect
54
54
  :selectedOptions=${(x) => x.updateType}
55
55
  @selectionChange=${(x, c) => {
56
56
  x.updateType = c.event.detail;
@@ -63,17 +63,17 @@ export const TemplateDialogTemplate = html `
63
63
  label-field="value"
64
64
  :data=${() => Object.values(UpdateType).map((value) => ({ value, label: value }))}
65
65
  ></multiselect-datasource>
66
- </zero-multiselect>
66
+ </rapid-multiselect>
67
67
  </div>
68
68
  </div>
69
69
 
70
70
  <div class="content-row">
71
71
  <div class="control">
72
- <zero-text-field :value=${sync((x) => x.header)}>Header</zero-text-field>
72
+ <rapid-text-field :value=${sync((x) => x.header)}>Header</rapid-text-field>
73
73
  </div>
74
74
 
75
75
  <div class="control">
76
- <zero-text-field :value=${sync((x) => x.message)}>Message</zero-text-field>
76
+ <rapid-text-field :value=${sync((x) => x.message)}>Message</rapid-text-field>
77
77
  </div>
78
78
  </div>
79
79
 
@@ -91,7 +91,7 @@ export const TemplateDialogTemplate = html `
91
91
  </div>
92
92
 
93
93
  <div class="content-row">
94
- <zero-button @click=${(x) => x.newParameter()}>+ Parameter</zero-button>
94
+ <rapid-button @click=${(x) => x.newParameter()}>+ Parameter</rapid-button>
95
95
  </div>
96
96
  </div>
97
97
  </div>
@@ -112,20 +112,20 @@ export const TemplateDialogTemplate = html `
112
112
  </div>
113
113
 
114
114
  <div class="content-row">
115
- <zero-button @click=${(x) => x.newCondition()}>+ Condition</zero-button>
115
+ <rapid-button @click=${(x) => x.newCondition()}>+ Condition</rapid-button>
116
116
  </div>
117
117
  </div>
118
118
  </div>
119
119
  </div>
120
120
 
121
121
  <div slot="bottom" class="dialog-bottom">
122
- <zero-button
122
+ <rapid-button
123
123
  appearance="accent"
124
124
  @click=${(x) => x.submit()}
125
125
  ?disabled=${(x) => x.validateRequiredFields}
126
126
  >
127
127
  Submit
128
- </zero-button>
128
+ </rapid-button>
129
129
  </div>
130
- </zero-modal>
130
+ </rapid-modal>
131
131
  `;
@@ -1,11 +1,11 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { showNotificationDialog } from '@genesislcap/foundation-notifications';
3
- import { customElement, FASTElement, html, ref, repeat } from '@microsoft/fast-element';
3
+ import { customElement, GenesisElement, html, ref, repeat } from '@genesislcap/web-core';
4
4
  import { TemplateService } from '../../../../services/template.service';
5
5
  import { DynamicRuleManagementStyles } from '../../styles/dynamic-rule.styles';
6
6
  import { TEMPLATE_MANAGEMENT_COLUMNS } from './columns';
7
7
  import { TemplateDialogMode } from './template-dialog/template-dialog.types';
8
- let TemplateManagement = class TemplateManagement extends FASTElement {
8
+ let TemplateManagement = class TemplateManagement extends GenesisElement {
9
9
  openTemplateDialog() {
10
10
  this.templateDialog.openDialog({ mode: TemplateDialogMode.CREATE });
11
11
  }
@@ -31,7 +31,7 @@ let TemplateManagement = class TemplateManagement extends FASTElement {
31
31
  },
32
32
  ],
33
33
  },
34
- }, 'zero');
34
+ }, 'rapid');
35
35
  }
36
36
  };
37
37
  __decorate([
@@ -43,20 +43,20 @@ TemplateManagement = __decorate([
43
43
  template: html `
44
44
  <div class="container">
45
45
  <div class="header">
46
- <zero-button class="add" @click=${(x) => x.openTemplateDialog()}>
47
- <zero-icon name="plus" size="lg" variant="solid"></zero-icon>
46
+ <rapid-button class="add" @click=${(x) => x.openTemplateDialog()}>
47
+ <rapid-icon name="plus" size="lg" variant="solid"></rapid-icon>
48
48
  Add
49
- </zero-button>
49
+ </rapid-button>
50
50
  </div>
51
51
 
52
52
  <div class="grid">
53
- <zero-grid-pro only-template-col-defs>
53
+ <rapid-grid-pro only-template-col-defs>
54
54
  <grid-pro-genesis-datasource resource-name="ALL_RULE_TEMPLATES">
55
55
  ${repeat((x) => TEMPLATE_MANAGEMENT_COLUMNS(x), html `
56
56
  <grid-pro-column :definition=${(x) => x} />
57
57
  `)}
58
58
  </grid-pro-genesis-datasource>
59
- </zero-grid-pro>
59
+ </rapid-grid-pro>
60
60
  </div>
61
61
  </div>
62
62
 
@@ -1,13 +1,13 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Auth } from '@genesislcap/foundation-comms';
3
- import { FASTElement, customElement, observable } from '@microsoft/fast-element';
3
+ import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
4
4
  import { loadRemotes } from '../components';
5
5
  import { FoundationNotificationDashboardStyles as styles } from './notification-dashboard.styles';
6
6
  import { FoundationNotificationDashboardTemplate as template } from './notification-dashboard.template';
7
7
  /**
8
8
  * @public
9
9
  */
10
- let FoundationNotificationDashboard = class FoundationNotificationDashboard extends FASTElement {
10
+ let FoundationNotificationDashboard = class FoundationNotificationDashboard extends GenesisElement {
11
11
  constructor() {
12
12
  super(...arguments);
13
13
  this.ready = false;
@@ -1,11 +1,11 @@
1
- import { css } from '@microsoft/fast-element';
1
+ import { css } from '@genesislcap/web-core';
2
2
  /**
3
3
  * @public
4
4
  */
5
5
  export const FoundationNotificationDashboardStyles = css `
6
6
  .notification-dashboard,
7
- zero-tabs,
8
- zero-tab-panel {
7
+ rapid-tabs,
8
+ rapid-tab-panel {
9
9
  height: 100%;
10
10
  }
11
11
  `;
@@ -1,12 +1,12 @@
1
- import { html, repeat, when } from '@microsoft/fast-element';
1
+ import { html, repeat, when } from '@genesislcap/web-core';
2
2
  import { NOTIFICATION_DASHBOARD_TABS, } from './notification-dashboard.tabs';
3
3
  export const FoundationNotificationDashboardTemplate = html `
4
4
  <div class="notification-dashboard">
5
- <zero-tabs class="tabs">
5
+ <rapid-tabs class="tabs">
6
6
  <!-- Tabs -->
7
7
  ${repeat((_) => NOTIFICATION_DASHBOARD_TABS, html `
8
8
  ${when((x, c) => c.parent.auth.currentUser.hasPermission(x.right), html `
9
- <zero-tab slot="${(x) => x.id}-tab">${(x) => x.name}</zero-tab>
9
+ <rapid-tab slot="${(x) => x.id}-tab">${(x) => x.name}</rapid-tab>
10
10
  `)}
11
11
  `)}
12
12
 
@@ -16,12 +16,12 @@ export const FoundationNotificationDashboardTemplate = html `
16
16
  ${
17
17
  /* HTML Render */
18
18
  (x) => html `
19
- <zero-tab-panel slot="${x.id}-tab" id="${x.id}-tab-panel">
19
+ <rapid-tab-panel slot="${x.id}-tab" id="${x.id}-tab-panel">
20
20
  <${x.component}></${x.component}>
21
- </zero-tab-panel>
21
+ </rapid-tab-panel>
22
22
  `}
23
23
  `)}
24
24
  `)}
25
- </zero-tabs>
25
+ </rapid-tabs>
26
26
  </div>
27
27
  `;
@@ -254,6 +254,6 @@ export function showNotificationError(error) {
254
254
  type: 'error',
255
255
  },
256
256
  },
257
- }, 'zero');
257
+ }, 'rapid');
258
258
  }
259
259
  // #endregion
@@ -1,4 +1,4 @@
1
- import { css } from '@microsoft/fast-element';
1
+ import { css } from '@genesislcap/web-core';
2
2
  export const ConditionBuilderStyles = css `
3
3
  .condition-builder {
4
4
  display: flex;
@@ -6,7 +6,7 @@ export const ConditionBuilderStyles = css `
6
6
  margin-bottom: calc(var(--design-unit) * 2px);
7
7
  }
8
8
 
9
- zero-button {
9
+ rapid-button {
10
10
  margin: 0;
11
11
  }
12
12
 
@@ -14,19 +14,19 @@ export const ConditionBuilderStyles = css `
14
14
  margin: 0;
15
15
  }
16
16
 
17
- zero-text-field {
17
+ rapid-text-field {
18
18
  width: 100%;
19
19
  }
20
20
 
21
- zero-select {
21
+ rapid-select {
22
22
  min-width: auto;
23
23
  }
24
24
 
25
- zero-select.left-value::part(control) {
25
+ rapid-select.left-value::part(control) {
26
26
  width: 250px;
27
27
  }
28
28
 
29
- zero-select.logical-operator::part(control) {
29
+ rapid-select.logical-operator::part(control) {
30
30
  width: 160px;
31
31
  }
32
32
 
@@ -34,16 +34,20 @@ export const ConditionBuilderStyles = css `
34
34
  width: 100%;
35
35
  }
36
36
 
37
- zero-select.right-criteria::part(control) {
37
+ rapid-select.right-criteria::part(control) {
38
38
  width: 135px;
39
39
  }
40
40
 
41
- zero-select.right-criteria-select {
41
+ rapid-select.right-criteria-user-entry {
42
+ width: 100%;
43
+ }
44
+
45
+ rapid-select.right-criteria-select {
42
46
  width: 100%;
43
47
  min-width: 0;
44
48
  }
45
49
 
46
- zero-select::part(listbox) {
50
+ rapid-select::part(listbox) {
47
51
  max-height: 160px;
48
52
  }
49
53
  `;
@@ -1,4 +1,4 @@
1
- import { css } from '@microsoft/fast-element';
1
+ import { css } from '@genesislcap/web-core';
2
2
  export const DynamicRuleManagementStyles = css `
3
3
  .container {
4
4
  display: flex;
@@ -18,7 +18,7 @@ export const DynamicRuleManagementStyles = css `
18
18
  // #region Dialog
19
19
  const modalWidthPx = 940;
20
20
  const top = css `
21
- zero-modal::part(top) {
21
+ rapid-modal::part(top) {
22
22
  padding: calc(var(--design-unit) * 4px);
23
23
  border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
24
24
  margin: 0;
@@ -30,7 +30,7 @@ const top = css `
30
30
  }
31
31
  `;
32
32
  const bottom = css `
33
- zero-modal::part(bottom) {
33
+ rapid-modal::part(bottom) {
34
34
  padding: calc(var(--design-unit) * 4px);
35
35
  border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
36
36
  margin: 0;
@@ -41,32 +41,32 @@ const bottom = css `
41
41
  }
42
42
  `;
43
43
  const textField = css `
44
- zero-text-field {
44
+ rapid-text-field {
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  gap: calc(var(--design-unit) * 2px);
48
48
  }
49
49
 
50
- zero-text-field::part(label) {
50
+ rapid-text-field::part(label) {
51
51
  margin: 0;
52
52
  color: var(--neutral-foreground-rest);
53
53
  }
54
54
 
55
- zero-text-field::part(label)::after {
55
+ rapid-text-field::part(label)::after {
56
56
  content: '*';
57
57
  }
58
58
  `;
59
59
  const select = css `
60
- zero-select,
61
- zero-multiselect::part(root) {
60
+ rapid-select,
61
+ rapid-multiselect::part(root) {
62
62
  min-width: 0;
63
63
  }
64
64
 
65
- zero-select::part(listbox) {
65
+ rapid-select::part(listbox) {
66
66
  max-height: 160px;
67
67
  }
68
68
 
69
- zero-multiselect {
69
+ rapid-multiselect {
70
70
  max-height: 40px;
71
71
  }
72
72
  `;
@@ -74,7 +74,7 @@ export const DynamicRuleDialogStyles = css `
74
74
  ${top}
75
75
  ${bottom}
76
76
 
77
- zero-modal::part(dialog) {
77
+ rapid-modal::part(dialog) {
78
78
  padding: 0;
79
79
  background: var(--neutral-layer-4);
80
80
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
@@ -119,10 +119,18 @@ export const DynamicRuleDialogStyles = css `
119
119
  ${textField}
120
120
  ${select}
121
121
 
122
- zero-button {
122
+ rapid-button {
123
123
  margin: 0;
124
124
  }
125
125
 
126
+ rapid-select {
127
+ min-width: 0;
128
+ }
129
+
130
+ rapid-select::part(listbox) {
131
+ max-height: 160px;
132
+ }
133
+
126
134
  .horizontal {
127
135
  flex-direction: row;
128
136
  }
@@ -1,4 +1,4 @@
1
- import { css } from '@microsoft/fast-element';
1
+ import { css } from '@genesislcap/web-core';
2
2
  export const managementGridStyles = css `
3
3
  :host {
4
4
  height: 100%;
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  class AlertServiceImpl {
5
5
  getAlerts() {
6
6
  return this.connect.stream('ALL_NOTIFY_ALERT_RECORDS', (streamMessage) => {
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { Auth, Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  import { logger } from '../utils';
5
5
  class FoundationInboxServiceImpl {
6
6
  constructor() {
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  class NotifyServiceImpl {
5
5
  getNotifyRouteTopics() {
6
6
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  class RuleServiceImpl {
5
5
  getRules() {
6
6
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  class SystemServiceImpl {
5
5
  getResources() {
6
6
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { DI } from '@microsoft/fast-foundation';
3
+ import { DI } from '@genesislcap/web-core';
4
4
  class TemplateServiceImpl {
5
5
  createRuleTemplate(ruleTemplate) {
6
6
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,13 +1,13 @@
1
- import { html } from '@microsoft/fast-element';
1
+ import { html } from '@genesislcap/web-core';
2
2
  export const editIcon = html `
3
- <zero-icon
3
+ <rapid-icon
4
4
  style="pointer-events: none; opacity: 0.5"
5
5
  class="icon-button"
6
6
  variant="solid"
7
7
  name="pen"
8
8
  size="lg"
9
- ></zero-icon>
9
+ ></rapid-icon>
10
10
  `;
11
11
  export const deleteIcon = html `
12
- <zero-icon style="opacity: 0.5" variant="regular" name="trash-alt" size="lg"></zero-icon>
12
+ <rapid-icon style="opacity: 0.5" variant="regular" name="trash-alt" size="lg"></rapid-icon>
13
13
  `;
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.32",
4
+ "version": "1.0.33",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -39,6 +39,7 @@
39
39
  "build:webpack": "genx build",
40
40
  "build:webpack:stats": "genx analyze",
41
41
  "clean": "genx clean dist node_modules",
42
+ "circular": "npx madge --extensions ts --circular ./src",
42
43
  "commitlint": "node ./scripts/commitlint",
43
44
  "dev": "genx dev -e API_HOST",
44
45
  "dev:docker": "npm run dev -- --host 0.0.0.0",
@@ -77,6 +78,13 @@
77
78
  "extends": "@genesislcap/stylelint-config"
78
79
  },
79
80
  "prettier": "@genesislcap/prettier-config",
81
+ "madge": {
82
+ "detectiveOptions": {
83
+ "ts": {
84
+ "skipTypeImports": true
85
+ }
86
+ }
87
+ },
80
88
  "devDependencies": {
81
89
  "@commitlint/cli": "^19.2.1",
82
90
  "@commitlint/config-conventional": "^19.1.0",
@@ -105,11 +113,8 @@
105
113
  "@genesislcap/foundation-ui": "~14",
106
114
  "@genesislcap/foundation-utils": "~14",
107
115
  "@genesislcap/foundation-zero": "~14",
108
- "@microsoft/fast-components": "^2.21.3",
109
- "@microsoft/fast-element": "^1.7.0",
110
- "@microsoft/fast-foundation": "^2.33.2",
111
- "@microsoft/fast-router": "^0.4.2",
112
- "@microsoft/fast-web-utilities": "^5.4.1"
116
+ "@genesislcap/rapid-design-system": "~14",
117
+ "@genesislcap/web-core": "~14"
113
118
  },
114
119
  "publishConfig": {
115
120
  "access": "public"