@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
@@ -1,29 +0,0 @@
1
- import { FASTElement } from '@microsoft/fast-element';
2
- import { RuleServiceInterface } from '../../../services/rule.service';
3
- import { RuleDialog } from '../components/rule-dialog';
4
- type DynamicRule = {
5
- ID: string;
6
- DESCRIPTION: string;
7
- IS_TEMPLATE: boolean;
8
- MESSAGE_TYPE: string;
9
- NAME: string;
10
- PROCESS_NAME: string;
11
- RESULT_EXPRESSION: string;
12
- RULE_EXECUTION_STRATEGY: string;
13
- RULE_EXPRESSION: string;
14
- RULE_STATUS: string;
15
- RULE_TABLE: string;
16
- RULE_TYPE: string;
17
- TABLE_OPERATION: string;
18
- USER_NAME: string;
19
- };
20
- export declare const ruleColumns: (context: RuleManagement) => import("@ag-grid-community/core").ColDef<any>[];
21
- export declare class RuleManagement extends FASTElement {
22
- ruleService: RuleServiceInterface;
23
- ruleDialog: RuleDialog;
24
- openRuleDialog(): void;
25
- editRule(row: DynamicRule): Promise<void>;
26
- deleteRule(rule: DynamicRule): void;
27
- }
28
- export {};
29
- //# sourceMappingURL=rule-management.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-management.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/management/rule-management.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAe,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAkB,MAAM,2BAA2B,CAAC;AAKvE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,YAAa,cAAc,oDAmDlD,CAAC;AAEF,qBAkCa,cAAe,SAAQ,WAAW;IAEhC,WAAW,EAAE,oBAAoB,CAAC;IAC/C,UAAU,EAAE,UAAU,CAAC;IAEvB,cAAc;IAIR,QAAQ,CAAC,GAAG,EAAE,WAAW;IAK/B,UAAU,CAAC,IAAI,EAAE,WAAW;CAmB7B"}
@@ -1,11 +0,0 @@
1
- import { FASTElement } from '@microsoft/fast-element';
2
- import { RuleTemplateServiceInterface } from '../../../services/rule-template.service';
3
- import { TemplateDialog } from '../components/template-dialog/template-dialog';
4
- export declare class RuleTemplateManagement extends FASTElement {
5
- ruleTemplateService: RuleTemplateServiceInterface;
6
- templateDialog: TemplateDialog;
7
- openTemplateDialog(): void;
8
- editTemplate(row: any): Promise<void>;
9
- deleteTemplate(row: any): void;
10
- }
11
- //# sourceMappingURL=rule-template-management.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-template-management.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/management/rule-template-management.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAuB,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAK5G,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAuD/E,qBAkCa,sBAAuB,SAAQ,WAAW;IAEhC,mBAAmB,EAAE,4BAA4B,CAAC;IACvE,cAAc,EAAE,cAAc,CAAC;IAE/B,kBAAkB;IAIZ,YAAY,CAAC,GAAG,KAAA;IAKtB,cAAc,CAAC,GAAG,KAAA;CAmBnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"screen-route-management.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/management/screen-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAQ,MAAM,yBAAyB,CAAC;AAG3E,qBAaa,qBAAsB,SAAQ,WAAW;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"eventDetail.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/utils/eventDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,wBAAgB,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,gBAAgB,KAEzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"gridConfig.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/utils/gridConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;CAEtB,CAAA;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAED,eAAO,MAAM,WAAW,qBAAsB,GAAG,QAG9C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-notification-dashboard/utils/icons.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,0DASpB,CAAA;AAED,eAAO,MAAM,UAAU,0DAQtB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { RuleTemplateEntity } from '../components/foundation-notification-dashboard/components/template-dialog/template-dialog.types';
2
- export interface RuleTemplateServiceInterface {
3
- createRuleTemplate(ruleTemplate: RuleTemplateEntity): Promise<any>;
4
- editRuleTemplate(ruleTemplate: RuleTemplateEntity): Promise<any>;
5
- getResources(): Promise<string[]>;
6
- getFields(resource: string): Promise<any>;
7
- getRuleTemplates(): any;
8
- getRuleTemplateDetails(dynamicRuleId: string): any;
9
- deleteRuleTemplate(dynamicRuleId: string): any;
10
- }
11
- export declare const RuleTemplateService: import("@microsoft/fast-foundation").InterfaceSymbol<RuleTemplateServiceInterface>;
12
- //# sourceMappingURL=rule-template.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-template.service.d.ts","sourceRoot":"","sources":["../../../src/services/rule-template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kGAAkG,CAAC;AAEtI,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB,CAAC,YAAY,EAAE,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACnE,gBAAgB,CAAC,YAAY,EAAE,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAChE,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAClC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,gBAAgB,QAAG;IACnB,sBAAsB,CAAC,aAAa,EAAE,MAAM,OAAE;IAC9C,kBAAkB,CAAC,aAAa,EAAE,MAAM,OAAE;CAC3C;AAuFD,eAAO,MAAM,mBAAmB,oFAE/B,CAAC"}
@@ -1,50 +0,0 @@
1
- import { __awaiter } from "tslib";
2
- import { FoundationInbox } from '../inbox';
3
- import { logger } from '../../../utils';
4
- import { FoundationInboxCounter } from './foundation-inbox-counter/foundation-inbox-counter';
5
- var ResourceType;
6
- (function (ResourceType) {
7
- ResourceType["LOCAL"] = "LOCAL";
8
- ResourceType["REMOTE"] = "REMOTE";
9
- })(ResourceType || (ResourceType = {}));
10
- /**
11
- * TODO: Think about sharing import functions across micro frontends.
12
- */
13
- function loadZeroFallback() {
14
- return import(
15
- /* webpackMode: "lazy" */
16
- '@genesislcap/foundation-zero');
17
- }
18
- /**
19
- * Granular
20
- */
21
- function loadZeroDesignSystem() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- let type = ResourceType.REMOTE;
24
- try {
25
- // @ts-ignore
26
- return yield import('foundationZero/ZeroDesignSystem');
27
- }
28
- catch (e) {
29
- type = ResourceType.LOCAL;
30
- return yield loadZeroFallback();
31
- }
32
- finally {
33
- logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
34
- }
35
- });
36
- }
37
- export function loadRemotes() {
38
- return __awaiter(this, void 0, void 0, function* () {
39
- const { registerZeroDesignSystem } = yield loadZeroDesignSystem();
40
- return {
41
- ZeroDesignSystem: registerZeroDesignSystem(),
42
- };
43
- });
44
- }
45
- /**
46
- * Ensure tree shaking doesn't remove these
47
- * Perhaps we keep these MFs style free, ie. they need to get wrapped to have style applied. Keeping it simple for now.
48
- */
49
- FoundationInboxCounter;
50
- FoundationInbox;
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,2 +0,0 @@
1
- export * from './rule-dialog';
2
- export * from './rule-dialog.types';
@@ -1,2 +0,0 @@
1
- export * from './rule-condition-builder';
2
- export * from './rule-condition-builder.types';
@@ -1,131 +0,0 @@
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 class="template-dialog" ${ref('dialog')} :onCloseCallback=${(x) => () => x.close()}>
8
- <div slot="top" class="template-dialog-header-title">${x => x.ruleDialogTitle}</div>
9
-
10
- <div class="template-dialog-content">
11
- <div class="content-row">
12
- <div class="control">
13
- <label>Name</label>
14
- <zero-text-field
15
- :value=${sync(x => x.name)}
16
- autofocus
17
- autocomplete="off"
18
- ></zero-text-field>
19
- </div>
20
-
21
- <div class="control">
22
- <label>Description</label>
23
- <zero-text-field
24
- :value=${sync(x => x.description)}
25
- autocomplete="off"
26
- ></zero-text-field>
27
- </div>
28
- </div>
29
-
30
- <div class="col-4">
31
- <div class="content-row">
32
- <div class="control">
33
- <label>Resource</label>
34
- <zero-select
35
- :value=${sync(x => x.resource)}
36
- position="below"
37
- >
38
- ${repeat(x => x.resources, html `<zero-option value=${x => x}>${x => x}</zero-option>`)}
39
- </zero-select>
40
- </div>
41
-
42
- <div class="control">
43
- <label>Table ID</label>
44
- <zero-select :value=${sync(x => x.tableId)}>
45
- ${repeat(x => x.resourceFields, html `<zero-option value=${x => x.FIELD_NAME}>${x => x.FIELD_NAME}</zero-option>`)}
46
- </zero-select>
47
- </div>
48
- </div>
49
-
50
- <div class="content-row">
51
-
52
- <div class="control">
53
- <label>Topic</label>
54
- <zero-select :value=${sync(x => x.topic)}>
55
- ${repeat(x => x.topics, html `<zero-option value=${x => x}>${x => x}</zero-option>`)}
56
- </zero-select>
57
- </div>
58
-
59
- <div class="control">
60
- <label>Execution Strategy</label>
61
- <zero-select :value=${sync(x => x.executionStrategy)}>
62
- ${repeat(x => ALL_RULE_EXECUTION_STRATEGIES, html `<zero-option value=${x => x}>${x => x}</zero-option>`)}
63
- </zero-select>
64
- </div>
65
- </div>
66
- </div>
67
-
68
- <div class="content-row">
69
- <div class="control">
70
- <label>Severity</label>
71
- <zero-select :value=${sync(x => x.severity)}>
72
- ${repeat(_ => ALL_SEVERITIES, html `<zero-option value=${x => x}>${x => x}</zero-option>`)}
73
- </zero-select>
74
- </div>
75
- <div class="control">
76
- <label>Header</label>
77
- <zero-text-field
78
- :value=${sync(x => x.header)}
79
- autocomplete="off"
80
- ></zero-text-field>
81
- </div>
82
- </div>
83
-
84
- <div class="content-row">
85
- <div class="control">
86
- <label>Message</label>
87
- <zero-text-field
88
- :value=${sync(x => x.message)}
89
- autocomplete="off"
90
- ></zero-text-field>
91
- </div>
92
- </div>
93
-
94
- <div class="control">
95
- <label>Condition(s)</label>
96
- <div class="conditions">
97
- <div class="content-row condition">
98
- ${repeat(x => x.conditions, html `
99
- <rule-condition-builder
100
- :resource=${(x, c) => c.parent.resource}
101
- :condition=${x => x}
102
- @edit=${(x, c) => c.parent.editCondition(eventDetail(c))}
103
- @delete=${(x, c) => c.parent.deleteCondition(eventDetail(c))}
104
- >
105
- </rule-condition-builder>
106
- `)}
107
- </div>
108
-
109
- <div class="content-row">
110
- <zero-button
111
- @click=${x => x.newCondition()}
112
- >
113
- <zero-icon name="plus"></zero-icon>Condition
114
- </zero-button>
115
- </div>
116
- </div>
117
- </div>
118
- </div>
119
-
120
- <div class="template-dialog-footer">
121
- <div class="content-row">
122
- <zero-button
123
- appearance="accent"
124
- @click=${x => x.submit()}
125
- >
126
- Submit
127
- </zero-button>
128
- </div>
129
- </div>
130
- </zero-modal>
131
- `;
@@ -1,5 +0,0 @@
1
- export var TemplateDialogMode;
2
- (function (TemplateDialogMode) {
3
- TemplateDialogMode[TemplateDialogMode["CREATE"] = 0] = "CREATE";
4
- TemplateDialogMode[TemplateDialogMode["EDIT"] = 1] = "EDIT";
5
- })(TemplateDialogMode || (TemplateDialogMode = {}));
@@ -1,23 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { css, customElement, FASTElement, html } from '@microsoft/fast-element';
3
- let EmailDistributionRouteManagement = class EmailDistributionRouteManagement extends FASTElement {
4
- };
5
- EmailDistributionRouteManagement = __decorate([
6
- customElement({
7
- name: 'email-distribution-route-management',
8
- template: html `
9
- <entity-management
10
- resourceName="ALL_EMAIL_DISTRIBUTION_ROUTES"
11
- createEvent="EVENT_EMAIL_DISTRIBUTION_ROUTE_CREATE"
12
- updateEvent="EVENT_DYNAMIC_RULE_NOTIFY_UPDATE"
13
- deleteEvent="EVENT_DYNAMIC_RULE_NOTIFY_DELETE"
14
- ></entity-management>
15
- `,
16
- styles: css `
17
- :host {
18
- height: 100%;
19
- }
20
- `,
21
- })
22
- ], EmailDistributionRouteManagement);
23
- export { EmailDistributionRouteManagement };
@@ -1,20 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
- import { managementGridStyles } from './management.styles';
4
- let EmailUserRouteManagement = class EmailUserRouteManagement extends FASTElement {
5
- };
6
- EmailUserRouteManagement = __decorate([
7
- customElement({
8
- name: 'email-user-route-management',
9
- template: html `
10
- <entity-management
11
- resourceName="ALL_EMAIL_USER_ROUTES"
12
- createEvent="EVENT_EMAIL_USER_ROUTE_CREATE"
13
- updateEvent="EVENT_EMAIL_USER_ROUTE_UPDATE"
14
- deleteEvent="EVENT_EMAIL_USER_ROUTE_DELETE"
15
- ></entity-management>
16
- `,
17
- styles: managementGridStyles,
18
- })
19
- ], EmailUserRouteManagement);
20
- export { EmailUserRouteManagement };
@@ -1,8 +0,0 @@
1
- export * from './email-distribution-route-management';
2
- export * from './email-user-route-management';
3
- export * from './log-route-management';
4
- export * from './ms-teams-route-management';
5
- export * from './notify-audit-management';
6
- export * from './rule-management';
7
- export * from './rule-template-management';
8
- export * from './screen-route-management';
@@ -1,24 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { css, customElement, FASTElement, html } from '@microsoft/fast-element';
3
- import { managementGridStyles } from './management.styles';
4
- let NotifyAuditManagement = class NotifyAuditManagement extends FASTElement {
5
- };
6
- NotifyAuditManagement = __decorate([
7
- customElement({
8
- name: 'notify-audit-management',
9
- template: html `
10
- <entity-management
11
- class="notify-audit-entity-management"
12
- resourceName="ALL_NOTIFY_AUDIT"
13
- ></entity-management>
14
- `,
15
- styles: css `
16
- ${managementGridStyles}
17
-
18
- entity-management::part(header) {
19
- display: none;
20
- }
21
- `
22
- })
23
- ], NotifyAuditManagement);
24
- export { NotifyAuditManagement };
@@ -1,116 +0,0 @@
1
- import { __awaiter, __decorate } from "tslib";
2
- import { buttonCellRenderer } from '@genesislcap/foundation-entity-management';
3
- import { css, customElement, FASTElement, html, ref, repeat } from '@microsoft/fast-element';
4
- import { RuleTemplateService } from '../../../services/rule-template.service';
5
- import { TemplateDialogMode } from '../components/template-dialog/template-dialog.types';
6
- import { deleteIcon, editIcon } from '../utils/icons';
7
- import { rulesAndTemplatesStyles } from './management.styles';
8
- import { showNotificationDialog } from '@genesislcap/foundation-notifications';
9
- const ruleTemplateColumns = (context) => [
10
- {
11
- field: 'NAME',
12
- headerName: 'Name',
13
- flex: 1
14
- },
15
- {
16
- field: 'DESCRIPTION',
17
- headerName: 'Description',
18
- flex: 1
19
- },
20
- {
21
- field: 'USER_NAME',
22
- headerName: 'Username',
23
- flex: 1
24
- },
25
- {
26
- field: 'RULE_TABLE',
27
- headerName: 'Table',
28
- flex: 1
29
- },
30
- {
31
- field: 'RULE_STATUS',
32
- headerName: 'Status',
33
- flex: 1
34
- },
35
- {
36
- field: 'RULE_EXPRESSION',
37
- headerName: 'Expression',
38
- flex: 1
39
- },
40
- {
41
- field: 'RESULT_EXPRESSION',
42
- headerName: 'Result',
43
- flex: 1
44
- },
45
- {
46
- field: 'RULE_EXECUTION_STRATEGY',
47
- headerName: 'Execution Strategy',
48
- flex: 1,
49
- },
50
- buttonCellRenderer('Edit', (e) => context.editTemplate(e), editIcon),
51
- buttonCellRenderer('Delete', (e) => context.deleteTemplate(e), deleteIcon)
52
- ];
53
- let RuleTemplateManagement = class RuleTemplateManagement extends FASTElement {
54
- openTemplateDialog() {
55
- this.templateDialog.openDialog({ mode: TemplateDialogMode.CREATE });
56
- }
57
- editTemplate(row) {
58
- return __awaiter(this, void 0, void 0, function* () {
59
- const ruleTemplate = yield this.ruleTemplateService.getRuleTemplateDetails(row.ID);
60
- this.templateDialog.openDialog({ mode: TemplateDialogMode.EDIT, data: ruleTemplate });
61
- });
62
- }
63
- deleteTemplate(row) {
64
- showNotificationDialog({
65
- title: 'Confirm Delete',
66
- body: 'Do you really want to delete this template?',
67
- dialog: {
68
- dismissingAction: {
69
- label: 'Dismiss',
70
- action: () => null
71
- },
72
- confirmingActions: [{
73
- label: 'Confirm',
74
- action: () => this.ruleTemplateService.deleteRuleTemplate(row.ID)
75
- }],
76
- },
77
- }, 'zero');
78
- }
79
- };
80
- __decorate([
81
- RuleTemplateService
82
- ], RuleTemplateManagement.prototype, "ruleTemplateService", void 0);
83
- RuleTemplateManagement = __decorate([
84
- customElement({
85
- name: 'rule-template-management',
86
- template: html `
87
- <div class="container">
88
- <div class="header">
89
- <zero-button
90
- class="add"
91
- @click=${x => x.openTemplateDialog()}
92
- >
93
- <zero-icon name="plus" size="lg" variant="solid"></zero-icon>Create
94
- </zero-button>
95
- </div>
96
- <div class="grid">
97
- <zero-grid-pro only-template-col-defs>
98
- <grid-pro-genesis-datasource resource-name="ALL_RULE_TEMPLATES">
99
- ${repeat(x => ruleTemplateColumns(x), html `
100
- <grid-pro-column :definition=${x => x} />
101
- `)}
102
- </grid-pro-genesis-datasource>
103
- </zero-grid-pro>
104
- </div>
105
- </div>
106
- <template-dialog
107
- ${ref('templateDialog')}
108
- >
109
- </template-dialog>
110
- `,
111
- styles: css `
112
- ${rulesAndTemplatesStyles}
113
- `,
114
- })
115
- ], RuleTemplateManagement);
116
- export { RuleTemplateManagement };
@@ -1,21 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { customElement, FASTElement, html } from '@microsoft/fast-element';
3
- import { managementGridStyles } from './management.styles';
4
- let ScreenRouteManagement = class ScreenRouteManagement extends FASTElement {
5
- };
6
- ScreenRouteManagement = __decorate([
7
- customElement({
8
- name: 'screen-route-management',
9
- template: html `
10
- <entity-management
11
- resourceName="ALL_SCREEN_ROUTES"
12
- createEvent="EVENT_SCREEN_NOTIFY_ROUTE_CREATE"
13
- updateEvent="EVENT_SCREEN_NOTIFY_ROUTE_UPDATE"
14
- deleteEvent="EVENT_SCREEN_NOTIFY_ROUTE_DELETE"
15
- >
16
- </entity-management>
17
- `,
18
- styles: managementGridStyles,
19
- })
20
- ], ScreenRouteManagement);
21
- export { ScreenRouteManagement };