@genesislcap/pbc-notify-ui 1.0.4 → 1.0.6

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 (237) hide show
  1. package/dist/dts/components/components.d.ts.map +1 -1
  2. package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts +19 -0
  4. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.d.ts.map +1 -0
  5. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.d.ts +2 -0
  6. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.d.ts.map +1 -0
  7. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts +3 -0
  8. package/dist/dts/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.d.ts.map +1 -0
  9. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts +12 -0
  10. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts.map +1 -0
  11. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.d.ts +2 -0
  12. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.d.ts.map +1 -0
  13. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts +3 -0
  14. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts.map +1 -0
  15. package/dist/dts/components/foundation-inbox/inbox.d.ts +8 -15
  16. package/dist/dts/components/foundation-inbox/inbox.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.map +1 -1
  19. package/dist/dts/components/foundation-inbox/inbox.types.d.ts +1 -1
  20. package/dist/dts/components/foundation-inbox/inbox.types.d.ts.map +1 -1
  21. package/dist/dts/components/foundation-inbox/inbox.utils.d.ts +0 -4
  22. package/dist/dts/components/foundation-inbox/inbox.utils.d.ts.map +1 -1
  23. package/dist/dts/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.d.ts.map +1 -0
  24. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts +4 -0
  25. package/dist/dts/components/foundation-notification-dashboard/components/routes/route-management.d.ts.map +1 -0
  26. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.d.ts.map +1 -0
  27. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.d.ts.map +1 -0
  28. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.d.ts.map +1 -0
  29. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.d.ts.map +1 -0
  30. package/dist/dts/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.d.ts.map +1 -0
  31. package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts +3 -0
  32. package/dist/dts/components/foundation-notification-dashboard/components/rules/columns.d.ts.map +1 -0
  33. package/dist/dts/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.d.ts +2 -2
  34. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -0
  35. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.styles.d.ts.map +1 -0
  36. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +1 -0
  37. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.d.ts.map +1 -0
  38. package/dist/dts/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-dialog.d.ts +7 -7
  39. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -0
  40. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.d.ts +2 -0
  41. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.styles.d.ts.map +1 -0
  42. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts +3 -0
  43. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -0
  44. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.d.ts +23 -0
  45. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.d.ts.map +1 -0
  46. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts +11 -0
  47. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-management.d.ts.map +1 -0
  48. package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts +3 -0
  49. package/dist/dts/components/foundation-notification-dashboard/components/templates/columns.d.ts.map +1 -0
  50. package/dist/dts/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.d.ts +3 -3
  51. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.d.ts.map +1 -0
  52. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.styles.d.ts.map +1 -0
  53. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.template.d.ts.map +1 -0
  54. package/dist/dts/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.d.ts +1 -1
  55. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.d.ts.map +1 -0
  56. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.d.ts.map +1 -0
  57. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.d.ts.map +1 -0
  58. package/dist/dts/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.d.ts +8 -8
  59. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -0
  60. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.styles.d.ts.map +1 -0
  61. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts.map +1 -0
  62. package/dist/dts/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.types.d.ts +6 -6
  63. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.d.ts.map +1 -0
  64. package/dist/dts/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.utils.d.ts +2 -2
  65. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.utils.d.ts.map +1 -0
  66. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts +11 -0
  67. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-management.d.ts.map +1 -0
  68. package/dist/dts/components/foundation-notification-dashboard/index.d.ts +0 -1
  69. package/dist/dts/components/foundation-notification-dashboard/index.d.ts.map +1 -1
  70. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts +2 -0
  71. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.d.ts.map +1 -1
  72. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.styles.d.ts.map +1 -1
  73. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts +8 -0
  74. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.tabs.d.ts.map +1 -0
  75. package/dist/dts/components/foundation-notification-dashboard/notification-dashboard.template.d.ts.map +1 -1
  76. package/dist/dts/components/foundation-notification-dashboard/styles/management.styles.d.ts +2 -0
  77. package/dist/dts/components/foundation-notification-dashboard/styles/management.styles.d.ts.map +1 -0
  78. package/dist/dts/components/foundation-notification-dashboard/styles/rules-and-templates.styles.d.ts +2 -0
  79. package/dist/dts/components/foundation-notification-dashboard/styles/rules-and-templates.styles.d.ts.map +1 -0
  80. package/dist/dts/services/alert.service.d.ts +4 -3
  81. package/dist/dts/services/alert.service.d.ts.map +1 -1
  82. package/dist/dts/services/notify.service.d.ts +2 -2
  83. package/dist/dts/services/notify.service.d.ts.map +1 -1
  84. package/dist/dts/services/rule.service.d.ts +3 -3
  85. package/dist/dts/services/rule.service.d.ts.map +1 -1
  86. package/dist/dts/services/system.service.d.ts +3 -3
  87. package/dist/dts/services/system.service.d.ts.map +1 -1
  88. package/dist/dts/services/template.service.d.ts +12 -0
  89. package/dist/dts/services/template.service.d.ts.map +1 -0
  90. package/dist/dts/utils/eventDetail.d.ts.map +1 -0
  91. package/dist/dts/utils/gridConfig.d.ts.map +1 -0
  92. package/dist/dts/utils/humanize.d.ts +2 -0
  93. package/dist/dts/utils/humanize.d.ts.map +1 -0
  94. package/dist/dts/utils/icons.d.ts.map +1 -0
  95. package/dist/dts/utils/index.d.ts +5 -0
  96. package/dist/dts/utils/index.d.ts.map +1 -1
  97. package/dist/dts/utils/logger.d.ts.map +1 -1
  98. package/dist/dts/utils/updateArray.d.ts +2 -0
  99. package/dist/dts/utils/updateArray.d.ts.map +1 -0
  100. package/dist/esm/components/components.js +28 -18
  101. package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.js +2 -0
  102. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.js +77 -0
  103. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.js +36 -0
  104. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.js +39 -0
  105. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.js +53 -0
  106. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.js +24 -0
  107. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.js +67 -0
  108. package/dist/esm/components/foundation-inbox/inbox.js +22 -54
  109. package/dist/esm/components/foundation-inbox/inbox.styles.js +29 -107
  110. package/dist/esm/components/foundation-inbox/inbox.template.js +146 -159
  111. package/dist/esm/components/foundation-inbox/inbox.utils.js +0 -90
  112. package/dist/esm/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.js +99 -0
  113. package/dist/esm/components/foundation-notification-dashboard/components/routes/route-management.js +59 -0
  114. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.js +56 -0
  115. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.js +66 -0
  116. package/dist/esm/components/foundation-notification-dashboard/{management → components/routes/tabs}/log-route-management.js +23 -2
  117. package/dist/esm/components/foundation-notification-dashboard/{management → components/routes/tabs}/ms-teams-route-management.js +28 -2
  118. package/dist/esm/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.js +76 -0
  119. package/dist/esm/components/foundation-notification-dashboard/components/rules/columns.js +46 -0
  120. package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.js +1 -1
  121. package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.template.js +1 -1
  122. package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-dialog.js +15 -16
  123. package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-dialog.styles.js +35 -37
  124. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +164 -0
  125. package/dist/esm/components/foundation-notification-dashboard/{management → components/rules}/rule-management.js +9 -51
  126. package/dist/esm/components/foundation-notification-dashboard/components/templates/columns.js +46 -0
  127. package/dist/esm/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.js +8 -4
  128. package/dist/esm/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.template.js +2 -2
  129. package/dist/esm/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.js +1 -1
  130. package/dist/esm/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.template.js +2 -2
  131. package/dist/esm/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.js +15 -16
  132. package/dist/esm/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.styles.js +36 -43
  133. package/dist/esm/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.template.js +62 -54
  134. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.js +4 -0
  135. package/dist/esm/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.utils.js +10 -9
  136. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-management.js +74 -0
  137. package/dist/esm/components/foundation-notification-dashboard/index.js +0 -1
  138. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.js +4 -0
  139. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.styles.js +3 -25
  140. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.tabs.js +28 -0
  141. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.template.js +22 -31
  142. package/dist/esm/components/foundation-notification-dashboard/{management → styles}/management.styles.js +1 -14
  143. package/dist/esm/components/foundation-notification-dashboard/styles/rules-and-templates.styles.js +17 -0
  144. package/dist/esm/services/alert.service.js +3 -14
  145. package/dist/esm/services/{rule-template.service.js → template.service.js} +3 -3
  146. package/dist/esm/utils/humanize.js +10 -0
  147. package/dist/esm/utils/index.js +5 -0
  148. package/dist/esm/utils/logger.js +1 -1
  149. package/dist/esm/utils/updateArray.js +26 -0
  150. package/package.json +1 -1
  151. package/dist/dts/components/foundation-inbox/components/components.d.ts +0 -5
  152. package/dist/dts/components/foundation-inbox/components/components.d.ts.map +0 -1
  153. package/dist/dts/components/foundation-inbox/components/index.d.ts +0 -2
  154. package/dist/dts/components/foundation-inbox/components/index.d.ts.map +0 -1
  155. package/dist/dts/components/foundation-notification-dashboard/components/condition-builder/condition-builder.d.ts.map +0 -1
  156. package/dist/dts/components/foundation-notification-dashboard/components/condition-builder/condition-builder.styles.d.ts.map +0 -1
  157. package/dist/dts/components/foundation-notification-dashboard/components/condition-builder/condition-builder.template.d.ts.map +0 -1
  158. package/dist/dts/components/foundation-notification-dashboard/components/parameter-builder/parameter-builder.d.ts.map +0 -1
  159. package/dist/dts/components/foundation-notification-dashboard/components/parameter-builder/parameter-builder.styles.d.ts.map +0 -1
  160. package/dist/dts/components/foundation-notification-dashboard/components/parameter-builder/parameter-builder.template.d.ts.map +0 -1
  161. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/index.d.ts +0 -3
  162. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/index.d.ts.map +0 -1
  163. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/index.d.ts +0 -3
  164. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/index.d.ts.map +0 -1
  165. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +0 -1
  166. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/rule-condition-builder.styles.d.ts.map +0 -1
  167. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +0 -1
  168. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/rule-condition-builder.types.d.ts.map +0 -1
  169. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.d.ts.map +0 -1
  170. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.styles.d.ts +0 -2
  171. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.styles.d.ts.map +0 -1
  172. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.template.d.ts +0 -3
  173. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.template.d.ts.map +0 -1
  174. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.types.d.ts +0 -59
  175. package/dist/dts/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.types.d.ts.map +0 -1
  176. package/dist/dts/components/foundation-notification-dashboard/components/template-dialog/template-dialog.d.ts.map +0 -1
  177. package/dist/dts/components/foundation-notification-dashboard/components/template-dialog/template-dialog.styles.d.ts.map +0 -1
  178. package/dist/dts/components/foundation-notification-dashboard/components/template-dialog/template-dialog.template.d.ts.map +0 -1
  179. package/dist/dts/components/foundation-notification-dashboard/components/template-dialog/template-dialog.types.d.ts.map +0 -1
  180. package/dist/dts/components/foundation-notification-dashboard/components/template-dialog/template-dialog.utils.d.ts.map +0 -1
  181. package/dist/dts/components/foundation-notification-dashboard/management/email-distribution-route-management.d.ts.map +0 -1
  182. package/dist/dts/components/foundation-notification-dashboard/management/email-user-route-management.d.ts.map +0 -1
  183. package/dist/dts/components/foundation-notification-dashboard/management/index.d.ts +0 -9
  184. package/dist/dts/components/foundation-notification-dashboard/management/index.d.ts.map +0 -1
  185. package/dist/dts/components/foundation-notification-dashboard/management/log-route-management.d.ts.map +0 -1
  186. package/dist/dts/components/foundation-notification-dashboard/management/management.styles.d.ts +0 -3
  187. package/dist/dts/components/foundation-notification-dashboard/management/management.styles.d.ts.map +0 -1
  188. package/dist/dts/components/foundation-notification-dashboard/management/ms-teams-route-management.d.ts.map +0 -1
  189. package/dist/dts/components/foundation-notification-dashboard/management/notify-audit-management.d.ts.map +0 -1
  190. package/dist/dts/components/foundation-notification-dashboard/management/rule-management.d.ts +0 -29
  191. package/dist/dts/components/foundation-notification-dashboard/management/rule-management.d.ts.map +0 -1
  192. package/dist/dts/components/foundation-notification-dashboard/management/rule-template-management.d.ts +0 -11
  193. package/dist/dts/components/foundation-notification-dashboard/management/rule-template-management.d.ts.map +0 -1
  194. package/dist/dts/components/foundation-notification-dashboard/management/screen-route-management.d.ts.map +0 -1
  195. package/dist/dts/components/foundation-notification-dashboard/utils/eventDetail.d.ts.map +0 -1
  196. package/dist/dts/components/foundation-notification-dashboard/utils/gridConfig.d.ts.map +0 -1
  197. package/dist/dts/components/foundation-notification-dashboard/utils/icons.d.ts.map +0 -1
  198. package/dist/dts/services/rule-template.service.d.ts +0 -12
  199. package/dist/dts/services/rule-template.service.d.ts.map +0 -1
  200. package/dist/esm/components/foundation-inbox/components/components.js +0 -50
  201. package/dist/esm/components/foundation-inbox/components/index.js +0 -1
  202. package/dist/esm/components/foundation-notification-dashboard/components/rule-dialog/index.js +0 -2
  203. package/dist/esm/components/foundation-notification-dashboard/components/rule-dialog/rule-condition-builder/index.js +0 -2
  204. package/dist/esm/components/foundation-notification-dashboard/components/rule-dialog/rule-dialog.template.js +0 -131
  205. package/dist/esm/components/foundation-notification-dashboard/components/template-dialog/template-dialog.types.js +0 -5
  206. package/dist/esm/components/foundation-notification-dashboard/management/email-distribution-route-management.js +0 -23
  207. package/dist/esm/components/foundation-notification-dashboard/management/email-user-route-management.js +0 -20
  208. package/dist/esm/components/foundation-notification-dashboard/management/index.js +0 -8
  209. package/dist/esm/components/foundation-notification-dashboard/management/notify-audit-management.js +0 -24
  210. package/dist/esm/components/foundation-notification-dashboard/management/rule-template-management.js +0 -116
  211. package/dist/esm/components/foundation-notification-dashboard/management/screen-route-management.js +0 -21
  212. /package/dist/dts/components/foundation-notification-dashboard/{management → components/notify-audit}/notify-audit-management.d.ts +0 -0
  213. /package/dist/dts/components/foundation-notification-dashboard/{management → components/routes/tabs}/email-distribution-route-management.d.ts +0 -0
  214. /package/dist/dts/components/foundation-notification-dashboard/{management → components/routes/tabs}/email-user-route-management.d.ts +0 -0
  215. /package/dist/dts/components/foundation-notification-dashboard/{management → components/routes/tabs}/log-route-management.d.ts +0 -0
  216. /package/dist/dts/components/foundation-notification-dashboard/{management → components/routes/tabs}/ms-teams-route-management.d.ts +0 -0
  217. /package/dist/dts/components/foundation-notification-dashboard/{management → components/routes/tabs}/screen-route-management.d.ts +0 -0
  218. /package/dist/dts/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.styles.d.ts +0 -0
  219. /package/dist/dts/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.template.d.ts +0 -0
  220. /package/dist/dts/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.types.d.ts +0 -0
  221. /package/dist/dts/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.styles.d.ts +0 -0
  222. /package/dist/dts/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.template.d.ts +0 -0
  223. /package/dist/dts/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.styles.d.ts +0 -0
  224. /package/dist/dts/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.template.d.ts +0 -0
  225. /package/dist/dts/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.styles.d.ts +0 -0
  226. /package/dist/dts/components/foundation-notification-dashboard/components/{template-dialog → templates/template-dialog}/template-dialog.template.d.ts +0 -0
  227. /package/dist/dts/{components/foundation-notification-dashboard/utils → utils}/eventDetail.d.ts +0 -0
  228. /package/dist/dts/{components/foundation-notification-dashboard/utils → utils}/gridConfig.d.ts +0 -0
  229. /package/dist/dts/{components/foundation-notification-dashboard/utils → utils}/icons.d.ts +0 -0
  230. /package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.styles.js +0 -0
  231. /package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-condition-builder/rule-condition-builder.types.js +0 -0
  232. /package/dist/esm/components/foundation-notification-dashboard/components/{rule-dialog → rules/rule-dialog}/rule-dialog.types.js +0 -0
  233. /package/dist/esm/components/foundation-notification-dashboard/components/{condition-builder → templates/template-dialog/condition-builder}/condition-builder.styles.js +0 -0
  234. /package/dist/esm/components/foundation-notification-dashboard/components/{parameter-builder → templates/template-dialog/parameter-builder}/parameter-builder.styles.js +0 -0
  235. /package/dist/esm/{components/foundation-notification-dashboard/utils → utils}/eventDetail.js +0 -0
  236. /package/dist/esm/{components/foundation-notification-dashboard/utils → utils}/gridConfig.js +0 -0
  237. /package/dist/esm/{components/foundation-notification-dashboard/utils → utils}/icons.js +0 -0
@@ -0,0 +1,66 @@
1
+ import { __decorate } from "tslib";
2
+ import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
+ const EMAIL_USER_ROUTE_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1
19
+ },
20
+ {
21
+ field: 'ENTITY_ID',
22
+ headerName: 'Entity Id',
23
+ flex: 1
24
+ },
25
+ {
26
+ field: 'ENTITY_ID_TYPE',
27
+ headerName: 'Entity Id Type',
28
+ flex: 1
29
+ },
30
+ {
31
+ field: 'RIGHT_CODE',
32
+ headerName: 'Right Code',
33
+ flex: 1
34
+ },
35
+ {
36
+ field: 'AUTH_CACHE_NAME',
37
+ headerName: 'Auth Cache Name',
38
+ flex: 1
39
+ },
40
+ {
41
+ field: 'EXCLUDE_SENDER',
42
+ headerName: 'Exclude Sender',
43
+ flex: 1,
44
+ },
45
+ ];
46
+ let EmailUserRouteManagement = class EmailUserRouteManagement extends FASTElement {
47
+ };
48
+ EmailUserRouteManagement = __decorate([
49
+ customElement({
50
+ name: 'email-user-route-management',
51
+ template: html `
52
+ <div class="grid">
53
+ <entity-management
54
+ resourceName="ALL_EMAIL_USER_ROUTES"
55
+ createEvent="EVENT_EMAIL_USER_ROUTE_CREATE"
56
+ updateEvent="EVENT_EMAIL_USER_ROUTE_UPDATE"
57
+ deleteEvent="EVENT_EMAIL_USER_ROUTE_DELETE"
58
+ :columns=${() => [...EMAIL_USER_ROUTE_COLUMNS]}
59
+ >
60
+ </entity-management>
61
+ </div>
62
+ `,
63
+ styles: managementGridStyles,
64
+ })
65
+ ], EmailUserRouteManagement);
66
+ export { EmailUserRouteManagement };
@@ -1,18 +1,39 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
- import { managementGridStyles } from './management.styles';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
+ const LOG_ROUTE_MANAGEMENT_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1
19
+ },
20
+ ];
4
21
  let LogRouteManagement = class LogRouteManagement extends FASTElement {
5
22
  };
6
23
  LogRouteManagement = __decorate([
7
24
  customElement({
8
25
  name: 'log-route-management',
9
26
  template: html `
27
+ <div class="grid">
10
28
  <entity-management
11
29
  resourceName="ALL_LOG_ROUTES"
12
30
  createEvent="EVENT_LOG_ROUTE_CREATE"
13
31
  updateEvent="EVENT_LOG_ROUTE_UPDATE"
14
32
  deleteEvent="EVENT_LOG_ROUTE_DELETE"
15
- ></entity-management>
33
+ :columns=${() => [...LOG_ROUTE_MANAGEMENT_COLUMNS]}
34
+ >
35
+ </entity-management>
36
+ </div>
16
37
  `,
17
38
  styles: managementGridStyles,
18
39
  })
@@ -1,18 +1,44 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
- import { managementGridStyles } from './management.styles';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
+ const MS_TEAMS_ROUTE_MANAGEMENT_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1
19
+ },
20
+ {
21
+ field: 'URL',
22
+ headerName: 'Url',
23
+ flex: 1
24
+ },
25
+ ];
4
26
  let MSTeamsRouteManagement = class MSTeamsRouteManagement extends FASTElement {
5
27
  };
6
28
  MSTeamsRouteManagement = __decorate([
7
29
  customElement({
8
30
  name: 'ms-teams-route-management',
9
31
  template: html `
32
+ <div class="grid">
10
33
  <entity-management
11
34
  resourceName="ALL_MS_TEAMS_ROUTES"
12
35
  createEvent="EVENT_MS_TEAMS_ROUTE_CREATE"
13
36
  updateEvent="EVENT_MS_TEAMS_ROUTE_UPDATE"
14
37
  deleteEvent="EVENT_MS_TEAMS_ROUTE_DELETE"
15
- ></entity-management>
38
+ :columns=${() => [...MS_TEAMS_ROUTE_MANAGEMENT_COLUMNS]}
39
+ >
40
+ </entity-management>
41
+ </div>
16
42
  `,
17
43
  styles: managementGridStyles,
18
44
  })
@@ -0,0 +1,76 @@
1
+ import { __decorate } from "tslib";
2
+ import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
+ const SCREEN_ROUTE_MANAGEMENT_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1
19
+ },
20
+ {
21
+ field: 'ENTITY_ID',
22
+ headerName: 'Entity Id',
23
+ flex: 1
24
+ },
25
+ {
26
+ field: 'ENTITY_ID_TYPE',
27
+ headerName: 'Entity Id Type',
28
+ flex: 1
29
+ },
30
+ {
31
+ field: 'RIGHT_CODE',
32
+ headerName: 'Right Code',
33
+ flex: 1
34
+ },
35
+ {
36
+ field: 'AUTH_CACHE_NAME',
37
+ headerName: 'Auth Cache Name',
38
+ flex: 1
39
+ },
40
+ {
41
+ field: 'TTL',
42
+ headerName: 'TTL',
43
+ flex: 1
44
+ },
45
+ {
46
+ field: 'TTL_TIME_UNIT',
47
+ headerName: 'TTL Time Unit',
48
+ flex: 1
49
+ },
50
+ {
51
+ field: 'EXCLUDE_SENDER',
52
+ headerName: 'Exclude Sender',
53
+ flex: 1
54
+ },
55
+ ];
56
+ let ScreenRouteManagement = class ScreenRouteManagement extends FASTElement {
57
+ };
58
+ ScreenRouteManagement = __decorate([
59
+ customElement({
60
+ name: 'screen-route-management',
61
+ template: html `
62
+ <div class="grid">
63
+ <entity-management
64
+ resourceName="ALL_SCREEN_ROUTES"
65
+ createEvent="EVENT_SCREEN_NOTIFY_ROUTE_CREATE"
66
+ updateEvent="EVENT_SCREEN_NOTIFY_ROUTE_UPDATE"
67
+ deleteEvent="EVENT_SCREEN_NOTIFY_ROUTE_DELETE"
68
+ :columns=${() => [...SCREEN_ROUTE_MANAGEMENT_COLUMNS]}
69
+ >
70
+ </entity-management>
71
+ </div>
72
+ `,
73
+ styles: managementGridStyles,
74
+ })
75
+ ], ScreenRouteManagement);
76
+ export { ScreenRouteManagement };
@@ -0,0 +1,46 @@
1
+ import { buttonCellRenderer } from "@genesislcap/foundation-entity-management";
2
+ import { deleteIcon, editIcon } from "../../../../utils";
3
+ export const RULE_MANAGEMENT_COLUMNS = (context) => [
4
+ {
5
+ field: 'NAME',
6
+ headerName: 'Name',
7
+ flex: 1
8
+ },
9
+ {
10
+ field: 'DESCRIPTION',
11
+ headerName: 'Description',
12
+ flex: 1
13
+ },
14
+ {
15
+ field: 'USER_NAME',
16
+ headerName: 'Username',
17
+ flex: 1
18
+ },
19
+ {
20
+ field: 'RULE_TABLE',
21
+ headerName: 'Table',
22
+ flex: 1
23
+ },
24
+ {
25
+ field: 'RULE_STATUS',
26
+ headerName: 'Status',
27
+ flex: 1
28
+ },
29
+ {
30
+ field: 'RULE_EXPRESSION',
31
+ headerName: 'Expression',
32
+ flex: 1
33
+ },
34
+ {
35
+ field: 'RESULT_EXPRESSION',
36
+ headerName: 'Result',
37
+ flex: 1
38
+ },
39
+ {
40
+ field: 'RULE_EXECUTION_STRATEGY',
41
+ headerName: 'Execution Strategy',
42
+ flex: 1,
43
+ },
44
+ buttonCellRenderer('Edit', (e) => context.editRule(e), editIcon),
45
+ buttonCellRenderer('Delete', (e) => context.deleteRule(e), deleteIcon)
46
+ ];
@@ -1,9 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { customElement, FASTElement, observable } from '@microsoft/fast-element';
3
- import { SystemService } from '../../../../../services/system.service';
4
3
  import { ConditionBuilderStyles as styles } from './rule-condition-builder.styles';
5
4
  import { ConditionBuilderTemplate as template } from './rule-condition-builder.template';
6
5
  import { RIGHT_CRITERIA } from './rule-condition-builder.types';
6
+ import { SystemService } from '../../../../../../services/system.service';
7
7
  const name = 'rule-condition-builder';
8
8
  let RuleConditionBuilder = class RuleConditionBuilder extends FASTElement {
9
9
  constructor() {
@@ -1,8 +1,8 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
2
  import { html, repeat } from "@microsoft/fast-element";
3
3
  import { classNames } from '@microsoft/fast-web-utilities';
4
- import { ALL_LOGICAL_OPERATORS } from '../../../types/logical-operator';
5
4
  import { RIGHT_CRITERIA } from './rule-condition-builder.types';
5
+ import { ALL_LOGICAL_OPERATORS } from '../../../../types/logical-operator';
6
6
  export const ConditionBuilderTemplate = html `
7
7
  <div class="condition-builder">
8
8
  <zero-select
@@ -1,20 +1,19 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { customElement, FASTElement, observable } from '@microsoft/fast-element';
3
- import { NotifyService } from '../../../../services/notify.service';
4
- import { RuleService } from '../../../../services/rule.service';
5
- import { SystemService } from '../../../../services/system.service';
6
- import { EXPRESSION_TYPE_PLACEHOLDER } from '../../types/expression-type';
7
- import { LOGICAL_OPERATOR_EQUALS } from '../../types/logical-operator';
8
- import { RULE_EXECUTION_UNLIMITED } from '../../types/rule-execution-strategy';
9
- import { SEVERITY_INFORMATION } from '../../types/severity';
10
- import { createAssignment, createConditions, getAssignmentValue, UUIDGenerator } from '../template-dialog/template-dialog.utils';
11
- import { RIGHT_CRITERIA } from './rule-condition-builder';
12
- import { ruleDialogStyles as styles } from './rule-dialog.styles';
13
- import { ruleDialogTemplate as template } from './rule-dialog.template';
14
3
  import { RuleDialogMode } from './rule-dialog.types';
15
4
  import { showNotification } from '@genesislcap/foundation-notifications';
16
- import { humanize } from '../../../foundation-inbox/inbox.utils';
17
- const name = 'rule-dialog';
5
+ import { RuleDialogTemplate } from './rule-dialog.template';
6
+ import { RuleDialogStyles } from './rule-dialog.styles';
7
+ import { RIGHT_CRITERIA } from './rule-condition-builder/rule-condition-builder.types';
8
+ import { RULE_EXECUTION_UNLIMITED } from '../../../types/rule-execution-strategy';
9
+ import { SEVERITY_INFORMATION } from '../../../types/severity';
10
+ import { createAssignment, createConditions, getAssignmentValue, UUIDGenerator } from '../../templates/template-dialog/template-dialog.utils';
11
+ import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
12
+ import { humanize } from '../../../../../utils';
13
+ import { LOGICAL_OPERATOR_EQUALS } from '../../../types/logical-operator';
14
+ import { NotifyService } from '../../../../../services/notify.service';
15
+ import { RuleService } from '../../../../../services/rule.service';
16
+ import { SystemService } from '../../../../../services/system.service';
18
17
  let RuleDialog = class RuleDialog extends FASTElement {
19
18
  constructor() {
20
19
  super(...arguments);
@@ -219,9 +218,9 @@ __decorate([
219
218
  ], RuleDialog.prototype, "resources", void 0);
220
219
  RuleDialog = __decorate([
221
220
  customElement({
222
- name,
223
- template,
224
- styles,
221
+ name: 'rule-dialog',
222
+ template: RuleDialogTemplate,
223
+ styles: RuleDialogStyles,
225
224
  })
226
225
  ], RuleDialog);
227
226
  export { RuleDialog };
@@ -1,21 +1,42 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  const modalWidthPx = 940;
3
- export const ruleDialogStyles = css `
4
- .template-dialog-header-title {
3
+ const header = css `
4
+ zero-modal::part(top) {
5
+ padding: calc(var(--design-unit) * 4px);
6
+ border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
7
+ }
8
+
9
+ .rule-dialog-header-title {
5
10
  font-weight: bold;
6
11
  align-self: center;
7
12
  }
13
+ `;
14
+ const footer = css `
15
+ .rule-dialog-footer {
16
+ display: flex;
17
+ padding: calc(var(--design-unit) * 4px);
18
+ }
8
19
 
9
- zero-button {
10
- margin: 0px;
20
+ .rule-dialog-footer .content-row {
21
+ margin-left: auto;
22
+ margin-bottom: 0px;
23
+ }
24
+ `;
25
+ export const RuleDialogStyles = css `
26
+ ${header}
27
+ ${footer}
28
+
29
+ zero-modal::part(dialog) {
30
+ padding: 0;
31
+ background: var(--neutral-layer-4);
32
+ border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
11
33
  }
12
34
 
13
- .template-dialog-content {
35
+ .rule-dialog-content {
14
36
  display: flex;
15
37
  justify-content: center;
16
38
  flex-direction: column;
17
39
  width: ${String(modalWidthPx)}px;
18
- max-height: 800px;
19
40
  gap: calc(var(--design-unit) * 3px);
20
41
  padding: 0 calc(var(--design-unit) * 4px);
21
42
  }
@@ -25,18 +46,13 @@ export const ruleDialogStyles = css `
25
46
  gap: calc(var(--design-unit) * 3px);
26
47
  }
27
48
 
28
- .col-4 {
29
- display: grid;
30
- grid-template-columns: repeat(2, calc(${String(modalWidthPx - 4 * 3)}px / 2));
31
- gap: calc(var(--design-unit) * 3px);
32
- }
33
-
34
49
  .control {
35
50
  display: flex;
36
51
  flex-direction: column;
37
52
  width: 100%;
38
53
  gap: calc(var(--design-unit) * 2px);
39
54
  }
55
+
40
56
  .conditions {
41
57
  height: 150px;
42
58
  max-height: 200px;
@@ -49,39 +65,21 @@ export const ruleDialogStyles = css `
49
65
  overflow-y: scroll;
50
66
  }
51
67
 
52
- .template-dialog-footer {
53
- margin-top: calc(var(--design-unit) * 2px);
54
- display: flex;
55
- padding: calc(var(--design-unit) * 4px);
56
- }
57
-
58
- .template-dialog-footer .content-row {
59
- margin-left: auto;
60
- margin-bottom: 0px;
61
- }
62
-
63
68
  .condition {
64
69
  gap: 0;
65
70
  flex-direction: column;
71
+ margin-bottom: 0px;
66
72
  }
67
73
 
68
- zero-select {
69
- min-width: auto;
70
- }
71
-
72
- zero-modal::part(dialog) {
73
- padding: 0;
74
- background: var(--neutral-layer-4);
75
- border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
74
+ zero-button {
75
+ margin: 0px;
76
76
  }
77
77
 
78
- zero-modal::part(top) {
79
- padding: calc(var(--design-unit) * 4px);
80
- border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
78
+ zero-select {
79
+ min-width: 0;
81
80
  }
82
81
 
83
- zero-select::part(control) {
84
- display: flex;
85
- width: 100%;
82
+ zero-select::part(listbox) {
83
+ max-height: 160px;
86
84
  }
87
85
  `;
@@ -0,0 +1,164 @@
1
+ import { sync } from '@genesislcap/foundation-utils';
2
+ import { html, ref, repeat } from "@microsoft/fast-element";
3
+ import { ALL_RULE_EXECUTION_STRATEGIES } from '../../../types/rule-execution-strategy';
4
+ import { ALL_SEVERITIES } from '../../../types/severity';
5
+ import { eventDetail } from '../../../../../utils/eventDetail';
6
+ export const RuleDialogTemplate = html `
7
+ <zero-modal
8
+ ${ref('dialog')}
9
+ class="rule-dialog"
10
+ :onCloseCallback=${(x) => () => x.close()}
11
+ >
12
+ <div slot="top" class="rule-dialog-header-title">
13
+ ${x => x.ruleDialogTitle}
14
+ </div>
15
+
16
+ <div class="rule-dialog-content">
17
+ <div class="content-row">
18
+ <div class="control">
19
+ <label>Name</label>
20
+ <zero-text-field
21
+ :value=${sync(x => x.name)}
22
+ autofocus
23
+ autocomplete="off"
24
+ >
25
+ </zero-text-field>
26
+ </div>
27
+
28
+ <div class="control">
29
+ <label>Description</label>
30
+ <zero-text-field
31
+ :value=${sync(x => x.description)}
32
+ autocomplete="off"
33
+ >
34
+ </zero-text-field>
35
+ </div>
36
+ </div>
37
+
38
+ <div class="content-row">
39
+ <div class="control">
40
+ <label>Resource</label>
41
+ <zero-select
42
+ :value=${sync(x => x.resource)}
43
+ position="below"
44
+ >
45
+ ${repeat(x => x.resources, html `
46
+ <zero-option value=${x => x}>${x => x}</zero-option>
47
+ `)}
48
+ </zero-select>
49
+ </div>
50
+
51
+ <div class="control">
52
+ <label>Table ID</label>
53
+ <zero-select
54
+ :value=${sync(x => x.tableId)}
55
+ >
56
+ ${repeat(x => x.resourceFields, html `
57
+ <zero-option value=${x => x.FIELD_NAME}>${x => x.FIELD_NAME}</zero-option>
58
+ `)}
59
+ </zero-select>
60
+ </div>
61
+
62
+ <div class="control">
63
+ <label>Topic</label>
64
+ <zero-select
65
+ :value=${sync(x => x.topic)}
66
+ >
67
+ ${repeat(x => x.topics, html `
68
+ <zero-option value=${x => x}>${x => x}</zero-option>
69
+ `)}
70
+ </zero-select>
71
+ </div>
72
+
73
+ <div class="control">
74
+ <label>Execution Strategy</label>
75
+ <zero-select
76
+ :value=${sync(x => x.executionStrategy)}
77
+ >
78
+ <options-datasource
79
+ value-field='value'
80
+ label-field='value'
81
+ option-element='zero-option'
82
+ :data=${_ => ALL_RULE_EXECUTION_STRATEGIES.map(value => ({ value, label: value }))}
83
+ >
84
+ </options-datasource>
85
+ </zero-select>
86
+ </div>
87
+ </div>
88
+
89
+ <div class="content-row">
90
+ <div class="control">
91
+ <label>Severity</label>
92
+ <zero-select
93
+ :value=${sync(x => x.severity)}
94
+ >
95
+ <options-datasource
96
+ value-field='value'
97
+ label-field='value'
98
+ option-element='zero-option'
99
+ :data=${_ => ALL_SEVERITIES.map(value => ({ value, label: value }))}
100
+ >
101
+ </options-datasource>
102
+ </zero-select>
103
+ </div>
104
+
105
+ <div class="control">
106
+ <label>Header</label>
107
+ <zero-text-field
108
+ :value=${sync(x => x.header)}
109
+ autocomplete="off"
110
+ >
111
+ </zero-text-field>
112
+ </div>
113
+ </div>
114
+
115
+ <div class="content-row">
116
+ <div class="control">
117
+ <label>Message</label>
118
+ <zero-text-field
119
+ :value=${sync(x => x.message)}
120
+ autocomplete="off"
121
+ >
122
+ </zero-text-field>
123
+ </div>
124
+ </div>
125
+
126
+ <div class="control">
127
+ <label>Condition(s)</label>
128
+ <div class="conditions">
129
+ <div class="content-row condition">
130
+ ${repeat(x => x.conditions, html `
131
+ <rule-condition-builder
132
+ :resource=${(x, c) => c.parent.resource}
133
+ :condition=${x => x}
134
+ @edit=${(x, c) => c.parent.editCondition(eventDetail(c))}
135
+ @delete=${(x, c) => c.parent.deleteCondition(eventDetail(c))}
136
+ >
137
+ </rule-condition-builder>
138
+ `)}
139
+ </div>
140
+
141
+ <div class="content-row">
142
+ <zero-button
143
+ @click=${x => x.newCondition()}
144
+ >
145
+ <zero-icon name="plus"></zero-icon>
146
+ Condition
147
+ </zero-button>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="rule-dialog-footer">
154
+ <div class="content-row">
155
+ <zero-button
156
+ appearance="accent"
157
+ @click=${x => x.submit()}
158
+ >
159
+ Submit
160
+ </zero-button>
161
+ </div>
162
+ </div>
163
+ </zero-modal>
164
+ `;