verben-authentication-ui 1.0.12 → 1.0.13

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 (434) hide show
  1. package/esm2022/lib/components/auth-callback/auth-callback.component.mjs +57 -0
  2. package/esm2022/lib/components/auth-callback/auth-callback.module.mjs +18 -0
  3. package/esm2022/lib/components/button/button.component.mjs +46 -0
  4. package/esm2022/lib/components/button/button.module.mjs +20 -0
  5. package/esm2022/lib/components/forgot-password/ForgotPasswordData.mjs +2 -0
  6. package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +92 -0
  7. package/esm2022/lib/components/forgot-password/forgot-password.module.mjs +34 -0
  8. package/esm2022/lib/components/mail/mail.component.mjs +69 -0
  9. package/esm2022/lib/components/mail/mail.module.mjs +21 -0
  10. package/esm2022/lib/components/mail-validation/mail-validation.component.mjs +108 -0
  11. package/esm2022/lib/components/mail-validation/mail-validation.module.mjs +34 -0
  12. package/esm2022/lib/components/o-auth/o-auth.component.mjs +107 -0
  13. package/esm2022/lib/components/o-auth/o-auth.module.mjs +19 -0
  14. package/esm2022/lib/components/otp-input/otp-input.component.mjs +86 -0
  15. package/esm2022/lib/components/otp-input/otp-input.module.mjs +23 -0
  16. package/esm2022/lib/components/reset-password/ResetPasswordData.mjs +2 -0
  17. package/esm2022/lib/components/reset-password/reset-password.component.mjs +108 -0
  18. package/esm2022/lib/components/reset-password/reset-password.module.mjs +34 -0
  19. package/esm2022/lib/components/role-control/ChildrenType.mjs +6 -0
  20. package/esm2022/lib/components/role-control/MappedRole.mjs +2 -0
  21. package/esm2022/lib/components/role-control/MappedRoleAction.mjs +2 -0
  22. package/esm2022/lib/components/role-control/MappedRoleContext.mjs +2 -0
  23. package/esm2022/lib/components/role-control/UIActions.mjs +7 -0
  24. package/esm2022/lib/components/role-control/UIs.mjs +40 -0
  25. package/esm2022/lib/components/role-control/base-table-style.mjs +53 -0
  26. package/esm2022/lib/components/role-control/role-control.component.mjs +1608 -0
  27. package/esm2022/lib/components/role-control/role-control.module.mjs +18 -0
  28. package/esm2022/lib/components/role-control/role-control.service.mjs +54 -0
  29. package/esm2022/lib/components/sign-in/sign-in.component.mjs +318 -0
  30. package/esm2022/lib/components/sign-in/sign-in.module.mjs +24 -0
  31. package/esm2022/lib/components/sign-up/sign-up.component.mjs +229 -0
  32. package/esm2022/lib/components/sign-up/sign-up.module.mjs +24 -0
  33. package/esm2022/lib/components/sso/base-table-style.mjs +53 -0
  34. package/esm2022/lib/components/sso/helper.mjs +16 -0
  35. package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +74 -0
  36. package/esm2022/lib/components/sso/sso.columns.mjs +29 -0
  37. package/esm2022/lib/components/sso/sso.component.mjs +236 -0
  38. package/esm2022/lib/components/sso/sso.module.mjs +63 -0
  39. package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +209 -0
  40. package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +22 -0
  41. package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +90 -0
  42. package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +19 -0
  43. package/esm2022/lib/components/user-management/base-table-style.mjs +53 -0
  44. package/esm2022/lib/components/user-management/services/user-management.service.mjs +88 -0
  45. package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +73 -0
  46. package/esm2022/lib/components/user-management/user-management.columns.mjs +53 -0
  47. package/esm2022/lib/components/user-management/user-management.component.mjs +536 -0
  48. package/esm2022/lib/components/user-management/user-management.module.mjs +85 -0
  49. package/esm2022/lib/components/user-management/user-status-badge/user-status-badge.component.mjs +26 -0
  50. package/esm2022/lib/components/user-request/user-request.component.mjs +320 -0
  51. package/esm2022/lib/components/user-request/user-request.module.mjs +38 -0
  52. package/esm2022/lib/components/user-request-approval/access-request.columns.mjs +29 -0
  53. package/esm2022/lib/components/user-request-approval/base-table-style.mjs +53 -0
  54. package/esm2022/lib/components/user-request-approval/facades/user-access-request.facade.mjs +260 -0
  55. package/esm2022/lib/components/user-request-approval/helper.mjs +56 -0
  56. package/esm2022/lib/components/user-request-approval/services/user-access-request.service.mjs +93 -0
  57. package/esm2022/lib/components/user-request-approval/states/user-access-request.state.mjs +92 -0
  58. package/esm2022/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +26 -0
  59. package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +271 -0
  60. package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +83 -0
  61. package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +86 -0
  62. package/esm2022/lib/models/ApplicationRoleAction.mjs +2 -0
  63. package/esm2022/lib/models/ApplicationRoleContext.mjs +2 -0
  64. package/esm2022/lib/models/ErrorResponse.mjs +11 -0
  65. package/esm2022/lib/models/OAuthParam.mjs +2 -0
  66. package/esm2022/lib/models/OAuthType.mjs +9 -0
  67. package/esm2022/lib/models/PagedResult.mjs +2 -0
  68. package/esm2022/lib/models/PasswordRequestParam.mjs +2 -0
  69. package/esm2022/lib/models/PermissionConfig.mjs +2 -0
  70. package/esm2022/lib/models/ResponseKeyValue.mjs +2 -0
  71. package/esm2022/lib/models/Role.mjs +2 -0
  72. package/esm2022/lib/models/RoleAction.mjs +2 -0
  73. package/esm2022/lib/models/RoleContext.mjs +2 -0
  74. package/esm2022/lib/models/SearchDynamicWrapper.mjs +2 -0
  75. package/esm2022/lib/models/SearchOperator.mjs +6 -0
  76. package/esm2022/lib/models/SearchPropertySign.mjs +11 -0
  77. package/esm2022/lib/models/SearchPropertyValue.mjs +2 -0
  78. package/esm2022/lib/models/SearchPropertyValueType.mjs +11 -0
  79. package/esm2022/lib/models/SortDirection.mjs +7 -0
  80. package/esm2022/lib/models/Tag.mjs +2 -0
  81. package/esm2022/lib/models/TenantConfig.mjs +2 -0
  82. package/esm2022/lib/models/UserRequest.mjs +2 -0
  83. package/esm2022/lib/models/auth-mechanism.mjs +8 -0
  84. package/esm2022/lib/models/base.mjs +2 -0
  85. package/esm2022/lib/models/conditions.mjs +13 -0
  86. package/esm2022/lib/models/log-in.mjs +2 -0
  87. package/esm2022/lib/models/mainUser.mjs +2 -0
  88. package/esm2022/lib/models/oauth-resp.mjs +2 -0
  89. package/esm2022/lib/models/oauth-response.mjs +2 -0
  90. package/esm2022/lib/models/object-state.mjs +8 -0
  91. package/esm2022/lib/models/otpValue.mjs +2 -0
  92. package/esm2022/lib/models/paged.mjs +2 -0
  93. package/esm2022/lib/models/query-params.mjs +2 -0
  94. package/esm2022/lib/models/request-status.mjs +5 -0
  95. package/esm2022/lib/models/resend-otp-data.mjs +2 -0
  96. package/esm2022/lib/models/sign-up.mjs +2 -0
  97. package/esm2022/lib/models/single-sign-on.mjs +2 -0
  98. package/esm2022/lib/models/status.mjs +6 -0
  99. package/esm2022/lib/models/user-access-request-status.mjs +7 -0
  100. package/esm2022/lib/models/user-access-request.mjs +2 -0
  101. package/esm2022/lib/models/user.mjs +2 -0
  102. package/esm2022/lib/pipes/async-label.pipe.mjs +25 -0
  103. package/esm2022/lib/services/authorization.service.mjs +26 -0
  104. package/esm2022/lib/services/encryption.service.mjs +52 -0
  105. package/esm2022/lib/services/environment.service.mjs +26 -0
  106. package/esm2022/lib/services/http-web-request.service.mjs +85 -0
  107. package/esm2022/lib/services/label.service.mjs +134 -0
  108. package/esm2022/lib/services/util.service.mjs +55 -0
  109. package/esm2022/lib/shared/shared.module.mjs +84 -0
  110. package/esm2022/public-api.mjs +48 -0
  111. package/esm2022/verben-authentication-ui.mjs +5 -0
  112. package/fesm2022/verben-authentication-ui.mjs +6622 -0
  113. package/fesm2022/verben-authentication-ui.mjs.map +1 -0
  114. package/index.d.ts +5 -0
  115. package/lib/components/auth-callback/auth-callback.component.d.ts +17 -0
  116. package/lib/components/auth-callback/auth-callback.module.d.ts +8 -0
  117. package/lib/components/button/button.component.d.ts +17 -0
  118. package/lib/components/button/button.module.d.ts +10 -0
  119. package/{src/lib/components/forgot-password/ForgotPasswordData.ts → lib/components/forgot-password/ForgotPasswordData.d.ts} +1 -1
  120. package/lib/components/forgot-password/forgot-password.component.d.ts +30 -0
  121. package/lib/components/forgot-password/forgot-password.module.d.ts +10 -0
  122. package/lib/components/mail/mail.component.d.ts +32 -0
  123. package/lib/components/mail/mail.module.d.ts +11 -0
  124. package/lib/components/mail-validation/mail-validation.component.d.ts +42 -0
  125. package/lib/components/mail-validation/mail-validation.module.d.ts +10 -0
  126. package/lib/components/o-auth/o-auth.component.d.ts +30 -0
  127. package/lib/components/o-auth/o-auth.module.d.ts +9 -0
  128. package/lib/components/otp-input/otp-input.component.d.ts +21 -0
  129. package/lib/components/otp-input/otp-input.module.d.ts +13 -0
  130. package/lib/components/reset-password/ResetPasswordData.d.ts +5 -0
  131. package/lib/components/reset-password/reset-password.component.d.ts +30 -0
  132. package/lib/components/reset-password/reset-password.module.d.ts +10 -0
  133. package/lib/components/role-control/ChildrenType.d.ts +4 -0
  134. package/{src/lib/components/role-control/MappedRole.ts → lib/components/role-control/MappedRole.d.ts} +2 -3
  135. package/{src/lib/components/role-control/MappedRoleAction.ts → lib/components/role-control/MappedRoleAction.d.ts} +1 -2
  136. package/{src/lib/components/role-control/MappedRoleContext.ts → lib/components/role-control/MappedRoleContext.d.ts} +3 -4
  137. package/lib/components/role-control/UIActions.d.ts +5 -0
  138. package/lib/components/role-control/UIs.d.ts +38 -0
  139. package/lib/components/role-control/base-table-style.d.ts +1 -0
  140. package/lib/components/role-control/role-control.component.d.ts +131 -0
  141. package/lib/components/role-control/role-control.module.d.ts +8 -0
  142. package/lib/components/role-control/role-control.service.d.ts +9 -0
  143. package/lib/components/sign-in/sign-in.component.d.ts +95 -0
  144. package/lib/components/sign-in/sign-in.module.d.ts +13 -0
  145. package/lib/components/sign-up/sign-up.component.d.ts +68 -0
  146. package/lib/components/sign-up/sign-up.module.d.ts +13 -0
  147. package/lib/components/sso/base-table-style.d.ts +1 -0
  148. package/lib/components/sso/helper.d.ts +2 -0
  149. package/lib/components/sso/sso-form/sso-form.component.d.ts +21 -0
  150. package/lib/components/sso/sso.columns.d.ts +3 -0
  151. package/lib/components/sso/sso.component.d.ts +54 -0
  152. package/lib/components/sso/sso.module.d.ts +11 -0
  153. package/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +67 -0
  154. package/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.d.ts +12 -0
  155. package/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +39 -0
  156. package/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.d.ts +9 -0
  157. package/lib/components/user-management/base-table-style.d.ts +1 -0
  158. package/lib/components/user-management/services/user-management.service.d.ts +44 -0
  159. package/lib/components/user-management/user-management-form/use-management-form.component.d.ts +24 -0
  160. package/lib/components/user-management/user-management.columns.d.ts +3 -0
  161. package/lib/components/user-management/user-management.component.d.ts +134 -0
  162. package/lib/components/user-management/user-management.module.d.ts +14 -0
  163. package/lib/components/user-management/user-status-badge/user-status-badge.component.d.ts +12 -0
  164. package/lib/components/user-request/user-request.component.d.ts +80 -0
  165. package/lib/components/user-request/user-request.module.d.ts +11 -0
  166. package/lib/components/user-request-approval/access-request.columns.d.ts +3 -0
  167. package/lib/components/user-request-approval/base-table-style.d.ts +1 -0
  168. package/lib/components/user-request-approval/facades/user-access-request.facade.d.ts +39 -0
  169. package/lib/components/user-request-approval/helper.d.ts +7 -0
  170. package/lib/components/user-request-approval/services/user-access-request.service.d.ts +65 -0
  171. package/lib/components/user-request-approval/states/user-access-request.state.d.ts +35 -0
  172. package/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.d.ts +12 -0
  173. package/lib/components/user-request-approval/user-request-approval.component.d.ts +69 -0
  174. package/lib/components/user-request-approval/user-request-approval.module.d.ts +12 -0
  175. package/lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts +25 -0
  176. package/lib/models/ApplicationRoleAction.d.ts +9 -0
  177. package/{src/lib/models/ApplicationRoleContext copy.ts → lib/models/ApplicationRoleContext.d.ts} +5 -6
  178. package/lib/models/ErrorResponse.d.ts +6 -0
  179. package/lib/models/OAuthParam.d.ts +9 -0
  180. package/lib/models/OAuthType.d.ts +7 -0
  181. package/lib/models/PagedResult.d.ts +9 -0
  182. package/lib/models/PasswordRequestParam.d.ts +5 -0
  183. package/{src/lib/models/PermissionConfig.ts → lib/models/PermissionConfig.d.ts} +3 -4
  184. package/lib/models/ResponseKeyValue.d.ts +5 -0
  185. package/{src/lib/models/Role.ts → lib/models/Role.d.ts} +5 -6
  186. package/lib/models/RoleAction.d.ts +10 -0
  187. package/lib/models/RoleContext.d.ts +10 -0
  188. package/{src/lib/models/SearchDynamicWrapper.ts → lib/models/SearchDynamicWrapper.d.ts} +2 -3
  189. package/lib/models/SearchOperator.d.ts +4 -0
  190. package/lib/models/SearchPropertySign.d.ts +9 -0
  191. package/{src/lib/models/SearchPropertyValue.ts → lib/models/SearchPropertyValue.d.ts} +6 -7
  192. package/lib/models/SearchPropertyValueType.d.ts +9 -0
  193. package/lib/models/SortDirection.d.ts +5 -0
  194. package/{src/lib/models/Tag.ts → lib/models/Tag.d.ts} +3 -4
  195. package/lib/models/TenantConfig.d.ts +18 -0
  196. package/lib/models/UserRequest.d.ts +32 -0
  197. package/lib/models/auth-mechanism.d.ts +14 -0
  198. package/lib/models/base.d.ts +12 -0
  199. package/lib/models/conditions.d.ts +11 -0
  200. package/lib/models/log-in.d.ts +8 -0
  201. package/{src/lib/models/mainUser.ts → lib/models/mainUser.d.ts} +2 -3
  202. package/lib/models/oauth-resp.d.ts +6 -0
  203. package/{src/lib/models/oauth-response.ts → lib/models/oauth-response.d.ts} +1 -1
  204. package/lib/models/object-state.d.ts +6 -0
  205. package/{src/lib/models/otpValue.ts → lib/models/otpValue.d.ts} +2 -4
  206. package/lib/models/paged.d.ts +9 -0
  207. package/lib/models/query-params.d.ts +8 -0
  208. package/lib/models/request-status.d.ts +3 -0
  209. package/lib/models/resend-otp-data.d.ts +8 -0
  210. package/lib/models/sign-up.d.ts +9 -0
  211. package/lib/models/single-sign-on.d.ts +7 -0
  212. package/lib/models/status.d.ts +4 -0
  213. package/lib/models/user-access-request-status.d.ts +5 -0
  214. package/{src/lib/models/user-access-request.ts → lib/models/user-access-request.d.ts} +4 -5
  215. package/lib/models/user.d.ts +18 -0
  216. package/lib/pipes/async-label.pipe.d.ts +11 -0
  217. package/lib/services/authorization.service.d.ts +14 -0
  218. package/lib/services/encryption.service.d.ts +13 -0
  219. package/lib/services/environment.service.d.ts +22 -0
  220. package/lib/services/http-web-request.service.d.ts +23 -0
  221. package/lib/services/label.service.d.ts +15 -0
  222. package/lib/services/util.service.d.ts +11 -0
  223. package/lib/shared/shared.module.d.ts +10 -0
  224. package/package.json +14 -10
  225. package/{src/public-api.ts → public-api.d.ts} +0 -24
  226. package/ng-package.json +0 -8
  227. package/src/lib/base/base-data.component.ts +0 -86
  228. package/src/lib/base/base-data.facade.ts +0 -157
  229. package/src/lib/base/base-data.service.ts +0 -49
  230. package/src/lib/base/base-data.state.ts +0 -94
  231. package/src/lib/base/models.ts +0 -14
  232. package/src/lib/components/auth-callback/auth-callback.component.css +0 -30
  233. package/src/lib/components/auth-callback/auth-callback.component.html +0 -6
  234. package/src/lib/components/auth-callback/auth-callback.component.spec.ts +0 -23
  235. package/src/lib/components/auth-callback/auth-callback.component.ts +0 -56
  236. package/src/lib/components/auth-callback/auth-callback.module.ts +0 -10
  237. package/src/lib/components/button/button.component.css +0 -3
  238. package/src/lib/components/button/button.component.html +0 -13
  239. package/src/lib/components/button/button.component.spec.ts +0 -23
  240. package/src/lib/components/button/button.component.ts +0 -24
  241. package/src/lib/components/button/button.module.ts +0 -11
  242. package/src/lib/components/forgot-password/forgot-password.component.css +0 -50
  243. package/src/lib/components/forgot-password/forgot-password.component.html +0 -38
  244. package/src/lib/components/forgot-password/forgot-password.component.spec.ts +0 -23
  245. package/src/lib/components/forgot-password/forgot-password.component.ts +0 -90
  246. package/src/lib/components/forgot-password/forgot-password.module.ts +0 -18
  247. package/src/lib/components/mail/mail.component.css +0 -0
  248. package/src/lib/components/mail/mail.component.html +0 -11
  249. package/src/lib/components/mail/mail.component.spec.ts +0 -23
  250. package/src/lib/components/mail/mail.component.ts +0 -47
  251. package/src/lib/components/mail/mail.module.ts +0 -13
  252. package/src/lib/components/mail-validation/mail-validation.component.css +0 -59
  253. package/src/lib/components/mail-validation/mail-validation.component.html +0 -37
  254. package/src/lib/components/mail-validation/mail-validation.component.spec.ts +0 -23
  255. package/src/lib/components/mail-validation/mail-validation.component.ts +0 -66
  256. package/src/lib/components/mail-validation/mail-validation.module.ts +0 -18
  257. package/src/lib/components/o-auth/o-auth.component.css +0 -26
  258. package/src/lib/components/o-auth/o-auth.component.html +0 -26
  259. package/src/lib/components/o-auth/o-auth.component.spec.ts +0 -23
  260. package/src/lib/components/o-auth/o-auth.component.ts +0 -115
  261. package/src/lib/components/o-auth/o-auth.module.ts +0 -11
  262. package/src/lib/components/otp-input/otp-input.component.css +0 -19
  263. package/src/lib/components/otp-input/otp-input.component.html +0 -15
  264. package/src/lib/components/otp-input/otp-input.component.spec.ts +0 -23
  265. package/src/lib/components/otp-input/otp-input.component.ts +0 -88
  266. package/src/lib/components/otp-input/otp-input.module.ts +0 -15
  267. package/src/lib/components/reset-password/ResetPasswordData.ts +0 -5
  268. package/src/lib/components/reset-password/reset-password.component.css +0 -29
  269. package/src/lib/components/reset-password/reset-password.component.html +0 -24
  270. package/src/lib/components/reset-password/reset-password.component.spec.ts +0 -23
  271. package/src/lib/components/reset-password/reset-password.component.ts +0 -108
  272. package/src/lib/components/reset-password/reset-password.module.ts +0 -18
  273. package/src/lib/components/role-control/ChildrenType.ts +0 -4
  274. package/src/lib/components/role-control/UIActions.ts +0 -5
  275. package/src/lib/components/role-control/UIs.ts +0 -38
  276. package/src/lib/components/role-control/base-table-style.ts +0 -52
  277. package/src/lib/components/role-control/role-control.component.css +0 -87
  278. package/src/lib/components/role-control/role-control.component.html +0 -603
  279. package/src/lib/components/role-control/role-control.component.spec.ts +0 -23
  280. package/src/lib/components/role-control/role-control.component.ts +0 -1884
  281. package/src/lib/components/role-control/role-control.module.ts +0 -10
  282. package/src/lib/components/role-control/role-control.service.spec.ts +0 -16
  283. package/src/lib/components/role-control/role-control.service.ts +0 -53
  284. package/src/lib/components/sign-in/sign-in.component.css +0 -21
  285. package/src/lib/components/sign-in/sign-in.component.html +0 -83
  286. package/src/lib/components/sign-in/sign-in.component.spec.ts +0 -23
  287. package/src/lib/components/sign-in/sign-in.component.ts +0 -267
  288. package/src/lib/components/sign-in/sign-in.module.ts +0 -17
  289. package/src/lib/components/sign-up/sign-up.component.css +0 -36
  290. package/src/lib/components/sign-up/sign-up.component.html +0 -132
  291. package/src/lib/components/sign-up/sign-up.component.spec.ts +0 -23
  292. package/src/lib/components/sign-up/sign-up.component.ts +0 -180
  293. package/src/lib/components/sign-up/sign-up.module.ts +0 -15
  294. package/src/lib/components/sso/base-table-style.ts +0 -52
  295. package/src/lib/components/sso/helper.ts +0 -17
  296. package/src/lib/components/sso/sso-form/sso-form.component.css +0 -13
  297. package/src/lib/components/sso/sso-form/sso-form.component.html +0 -109
  298. package/src/lib/components/sso/sso-form/sso-form.component.spec.ts +0 -23
  299. package/src/lib/components/sso/sso-form/sso-form.component.ts +0 -70
  300. package/src/lib/components/sso/sso.columns.ts +0 -32
  301. package/src/lib/components/sso/sso.component.css +0 -47
  302. package/src/lib/components/sso/sso.component.html +0 -208
  303. package/src/lib/components/sso/sso.component.spec.ts +0 -23
  304. package/src/lib/components/sso/sso.component.ts +0 -261
  305. package/src/lib/components/sso/sso.module.ts +0 -40
  306. package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.css +0 -8
  307. package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.html +0 -30
  308. package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.spec.ts +0 -23
  309. package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.ts +0 -155
  310. package/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.ts +0 -15
  311. package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.css +0 -17
  312. package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.html +0 -45
  313. package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.spec.ts +0 -23
  314. package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.ts +0 -57
  315. package/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.ts +0 -11
  316. package/src/lib/components/user-management/base-table-style.ts +0 -52
  317. package/src/lib/components/user-management/facades/user-management.facades.ts +0 -133
  318. package/src/lib/components/user-management/helper.ts +0 -38
  319. package/src/lib/components/user-management/index.ts +0 -4
  320. package/src/lib/components/user-management/services/user-management.service.spec.ts +0 -16
  321. package/src/lib/components/user-management/services/user-management.service.ts +0 -111
  322. package/src/lib/components/user-management/states/user-management.state.ts +0 -65
  323. package/src/lib/components/user-management/user-management-form/use-management-form.component.ts +0 -74
  324. package/src/lib/components/user-management/user-management-form/user-management-form.component.css +0 -0
  325. package/src/lib/components/user-management/user-management-form/user-management-form.component.html +0 -89
  326. package/src/lib/components/user-management/user-management-form/user-management-form.component.spec.ts +0 -23
  327. package/src/lib/components/user-management/user-management.columns.ts +0 -57
  328. package/src/lib/components/user-management/user-management.component.css +0 -31
  329. package/src/lib/components/user-management/user-management.component.html +0 -455
  330. package/src/lib/components/user-management/user-management.component.spec.ts +0 -23
  331. package/src/lib/components/user-management/user-management.component.ts +0 -626
  332. package/src/lib/components/user-management/user-management.module.ts +0 -60
  333. package/src/lib/components/user-management/user-status-badge/user-status-badge.component.css +0 -0
  334. package/src/lib/components/user-management/user-status-badge/user-status-badge.component.html +0 -8
  335. package/src/lib/components/user-management/user-status-badge/user-status-badge.component.spec.ts +0 -22
  336. package/src/lib/components/user-management/user-status-badge/user-status-badge.component.ts +0 -22
  337. package/src/lib/components/user-request/user-request.component.css +0 -91
  338. package/src/lib/components/user-request/user-request.component.html +0 -137
  339. package/src/lib/components/user-request/user-request.component.spec.ts +0 -23
  340. package/src/lib/components/user-request/user-request.component.ts +0 -306
  341. package/src/lib/components/user-request/user-request.module.ts +0 -20
  342. package/src/lib/components/user-request-approval/access-request.columns.ts +0 -31
  343. package/src/lib/components/user-request-approval/base-table-style.ts +0 -52
  344. package/src/lib/components/user-request-approval/facades/user-access-request.facade.ts +0 -324
  345. package/src/lib/components/user-request-approval/helper.ts +0 -61
  346. package/src/lib/components/user-request-approval/services/user-access-request.service.spec.ts +0 -16
  347. package/src/lib/components/user-request-approval/services/user-access-request.service.ts +0 -122
  348. package/src/lib/components/user-request-approval/states/user-access-request.state.ts +0 -109
  349. package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.css +0 -0
  350. package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.html +0 -8
  351. package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.spec.ts +0 -23
  352. package/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.ts +0 -22
  353. package/src/lib/components/user-request-approval/user-request-approval.component.css +0 -6
  354. package/src/lib/components/user-request-approval/user-request-approval.component.html +0 -273
  355. package/src/lib/components/user-request-approval/user-request-approval.component.spec.ts +0 -23
  356. package/src/lib/components/user-request-approval/user-request-approval.component.ts +0 -328
  357. package/src/lib/components/user-request-approval/user-request-approval.module.ts +0 -56
  358. package/src/lib/components/user-request-approval/user-request-form/use-request-form.component.ts +0 -98
  359. package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.css +0 -0
  360. package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.html +0 -94
  361. package/src/lib/components/user-request-approval/user-request-form/user-request-form.component.spec.ts +0 -23
  362. package/src/lib/components/user-request-process/user-request-process.component.css +0 -0
  363. package/src/lib/components/user-request-process/user-request-process.component.html +0 -1
  364. package/src/lib/components/user-request-process/user-request-process.component.spec.ts +0 -23
  365. package/src/lib/components/user-request-process/user-request-process.component.ts +0 -12
  366. package/src/lib/components/user-request-process/user-request-process.module.ts +0 -12
  367. package/src/lib/models/ApplicationRoleAction.ts +0 -10
  368. package/src/lib/models/ApplicationRoleContext.ts +0 -10
  369. package/src/lib/models/ErrorResponse.ts +0 -7
  370. package/src/lib/models/FilterTypes.ts +0 -8
  371. package/src/lib/models/MailConfig.ts +0 -13
  372. package/src/lib/models/MessageConfig.ts +0 -5
  373. package/src/lib/models/MessageMedium.ts +0 -4
  374. package/src/lib/models/OAuthParam.ts +0 -10
  375. package/src/lib/models/OAuthType.ts +0 -7
  376. package/src/lib/models/PagedResult.ts +0 -9
  377. package/src/lib/models/PasswordRequestParam.ts +0 -5
  378. package/src/lib/models/PeriodMode.ts +0 -10
  379. package/src/lib/models/ReportSchedule.ts +0 -23
  380. package/src/lib/models/ReportType.ts +0 -5
  381. package/src/lib/models/ResponseKeyValue.ts +0 -5
  382. package/src/lib/models/RoleAction.ts +0 -11
  383. package/src/lib/models/RoleContext.ts +0 -11
  384. package/src/lib/models/SMSConfig.ts +0 -11
  385. package/src/lib/models/SearchOperator.ts +0 -4
  386. package/src/lib/models/SearchPropertySign.ts +0 -9
  387. package/src/lib/models/SearchPropertyValueType.ts +0 -9
  388. package/src/lib/models/SortDirection.ts +0 -5
  389. package/src/lib/models/TaskNotification.ts +0 -14
  390. package/src/lib/models/TaskNotificationMessageType.ts +0 -4
  391. package/src/lib/models/TaskNotificationType.ts +0 -4
  392. package/src/lib/models/Tenant.ts +0 -22
  393. package/src/lib/models/TenantConfig.ts +0 -19
  394. package/src/lib/models/UserRequest.ts +0 -38
  395. package/src/lib/models/auth-mechanism.ts +0 -15
  396. package/src/lib/models/base.ts +0 -13
  397. package/src/lib/models/conditions.ts +0 -11
  398. package/src/lib/models/log-in.ts +0 -8
  399. package/src/lib/models/oauth-resp.ts +0 -6
  400. package/src/lib/models/object-state.ts +0 -6
  401. package/src/lib/models/paged.ts +0 -9
  402. package/src/lib/models/query-params.ts +0 -9
  403. package/src/lib/models/request-status.ts +0 -4
  404. package/src/lib/models/resend-otp-data.ts +0 -8
  405. package/src/lib/models/resource.ts +0 -27
  406. package/src/lib/models/sign-up.ts +0 -11
  407. package/src/lib/models/single-sign-on.ts +0 -9
  408. package/src/lib/models/status.ts +0 -5
  409. package/src/lib/models/user-access-request-status.ts +0 -5
  410. package/src/lib/models/user-object-state.ts +0 -6
  411. package/src/lib/models/user.ts +0 -19
  412. package/src/lib/pipes/async-label.pipe.spec.ts +0 -8
  413. package/src/lib/pipes/async-label.pipe.ts +0 -20
  414. package/src/lib/services/authorization.service.spec.ts +0 -16
  415. package/src/lib/services/authorization.service.ts +0 -24
  416. package/src/lib/services/encryption.service.ts +0 -57
  417. package/src/lib/services/environment.service.spec.ts +0 -16
  418. package/src/lib/services/environment.service.ts +0 -30
  419. package/src/lib/services/http-web-request.service.spec.ts +0 -16
  420. package/src/lib/services/http-web-request.service.ts +0 -114
  421. package/src/lib/services/label.service.spec.ts +0 -16
  422. package/src/lib/services/label.service.ts +0 -177
  423. package/src/lib/services/util.service.spec.ts +0 -16
  424. package/src/lib/services/util.service.ts +0 -49
  425. package/src/lib/shared/shared.module.ts +0 -55
  426. package/src/styles.css +0 -96
  427. package/src/theme/tailwind-setup.css +0 -3
  428. package/src/theme/tailwind.css +0 -1035
  429. package/src/utils/components/base-data-view.component.ts +0 -131
  430. package/src/utils/models/DataViewConfig.ts +0 -19
  431. package/tailwind.config.js +0 -20
  432. package/tsconfig.lib.json +0 -15
  433. package/tsconfig.lib.prod.json +0 -11
  434. package/tsconfig.spec.json +0 -15
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="verben-authentication-ui" />
5
+ export * from './public-api';
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AuthCallbackComponent implements OnInit {
5
+ private router;
6
+ private route;
7
+ code: string;
8
+ previousUrl: string;
9
+ type: string;
10
+ redirectText?: string;
11
+ constructor(router: Router, route: ActivatedRoute);
12
+ ngOnInit(): void;
13
+ getType(): void;
14
+ handleRedirect(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "verben-auth-callback", never, { "redirectText": { "alias": "redirectText"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./auth-callback.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class AuthCallbackModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AuthCallbackModule, [typeof i1.AuthCallbackComponent], [typeof i2.CommonModule], [typeof i1.AuthCallbackComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AuthCallbackModule>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonComponent {
4
+ text: string;
5
+ color: string;
6
+ border: string;
7
+ borderRadius: string;
8
+ bgColor: string;
9
+ width: string;
10
+ pd: string;
11
+ buttonClass: string;
12
+ disabled: boolean;
13
+ buttonClick: EventEmitter<void>;
14
+ handleClick(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lib-button", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
17
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "verben-ng-ui";
5
+ import * as i4 from "@angular/forms";
6
+ export declare class ButtonModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.VerbenaButtonModule, typeof i4.FormsModule], [typeof i1.ButtonComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
10
+ }
@@ -1,3 +1,3 @@
1
1
  export interface ForgotPasswordData {
2
- Email: string;
2
+ Email: string;
3
3
  }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
3
+ import { ForgotPasswordData } from './ForgotPasswordData';
4
+ import { HttpWebRequestService } from '../../services/http-web-request.service';
5
+ import { ErrorResponse } from '../../models/ErrorResponse';
6
+ import { ResponseKeyValue } from '../../models/ResponseKeyValue';
7
+ import { UtilService } from '../../services/util.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ForgotPasswordComponent {
10
+ private fb;
11
+ private server;
12
+ private utilService;
13
+ title: string;
14
+ subTitle: string;
15
+ buttonCaption: string;
16
+ buttonTextColor?: string;
17
+ buttonBackgroundColor?: string;
18
+ tenant: string;
19
+ onSubmit: EventEmitter<ForgotPasswordData>;
20
+ onSubmitEnd: EventEmitter<ResponseKeyValue | ErrorResponse>;
21
+ forgotPasswordForm: FormGroup;
22
+ isSubmitted: boolean;
23
+ constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService);
24
+ isValidEmail(mail: string): boolean;
25
+ emailValidator(control: AbstractControl): ValidationErrors | null;
26
+ checkForm(): boolean;
27
+ submit(): Promise<void>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "verben-forgot-password", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "buttonCaption": { "alias": "buttonCaption"; "required": false; }; "buttonTextColor": { "alias": "buttonTextColor"; "required": false; }; "buttonBackgroundColor": { "alias": "buttonBackgroundColor"; "required": false; }; "tenant": { "alias": "tenant"; "required": false; }; }, { "onSubmit": "onSubmit"; "onSubmitEnd": "onSubmitEnd"; }, never, never, false, never>;
30
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./forgot-password.component";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "verben-ng-ui";
5
+ import * as i4 from "@angular/common";
6
+ export declare class ForgotPasswordModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ForgotPasswordModule, [typeof i1.ForgotPasswordComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.ForgotPasswordComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ForgotPasswordModule>;
10
+ }
@@ -0,0 +1,32 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MailComponent {
4
+ customClass: string;
5
+ headlingClass: string;
6
+ width: string;
7
+ maxWidth: string;
8
+ margin: string;
9
+ pd: string;
10
+ bgColor: string;
11
+ boxShadow: string;
12
+ border: string;
13
+ borderRadius: string;
14
+ textColor: string;
15
+ height: string;
16
+ buttonClick: EventEmitter<any>;
17
+ goToLogin(): void;
18
+ get styles(): {
19
+ 'background-color': string;
20
+ 'box-shadow': string;
21
+ border: string;
22
+ 'border-radius': string;
23
+ color: string;
24
+ width: string;
25
+ 'max-width': string;
26
+ margin: string;
27
+ height: string;
28
+ padding: string;
29
+ };
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<MailComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<MailComponent, "verben-mail-message", never, { "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
32
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./mail.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/router";
6
+ import * as i5 from "../button/button.module";
7
+ export declare class MailModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MailModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MailModule, [typeof i1.MailComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.RouterLink, typeof i5.ButtonModule], [typeof i1.MailComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MailModule>;
11
+ }
@@ -0,0 +1,42 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MailValidationComponent {
4
+ customClass: string;
5
+ bgColor: string;
6
+ boxShadow: string;
7
+ border: string;
8
+ borderRadius: string;
9
+ textColor: string;
10
+ height: string;
11
+ pd: string;
12
+ width: string;
13
+ text: string;
14
+ textAlign: string;
15
+ color: string;
16
+ textSize: string;
17
+ btnBorder: string;
18
+ btnBorderRadius: string;
19
+ btnBgColor: string;
20
+ btnWidth: string;
21
+ btnPd: string;
22
+ resendOtp: EventEmitter<void>;
23
+ proceedToNextStep: EventEmitter<"verified" | "accessGranted">;
24
+ login: EventEmitter<void>;
25
+ currentStep: 'linkSent' | 'verified' | 'accessGranted';
26
+ handleResendOtp(): void;
27
+ goToNextStep(): void;
28
+ get styles(): {
29
+ 'background-color': string;
30
+ 'box-shadow': string;
31
+ border: string;
32
+ 'border-radius': string;
33
+ color: string;
34
+ 'max-width': string;
35
+ margin: string;
36
+ height: string;
37
+ padding: string;
38
+ };
39
+ handleLogin(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<MailValidationComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<MailValidationComponent, "lib-mail-validation", never, { "customClass": { "alias": "customClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "width": { "alias": "width"; "required": false; }; "text": { "alias": "text"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "color": { "alias": "color"; "required": false; }; "textSize": { "alias": "textSize"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; }, { "resendOtp": "resendOtp"; "proceedToNextStep": "proceedToNextStep"; "login": "login"; }, never, never, false, never>;
42
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./mail-validation.component";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "verben-ng-ui";
5
+ import * as i4 from "@angular/common";
6
+ export declare class MailValidationModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MailValidationModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MailValidationModule, [typeof i1.MailValidationComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.MailValidationComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<MailValidationModule>;
10
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { AuthMechanism } from '../../models/auth-mechanism';
3
+ import { Router } from '@angular/router';
4
+ import * as i0 from "@angular/core";
5
+ declare global {
6
+ interface Window {
7
+ google: any;
8
+ }
9
+ }
10
+ export declare class OAuthComponent implements OnInit {
11
+ private router;
12
+ showGoogle: boolean;
13
+ showMicrosoft: boolean;
14
+ showApple: boolean;
15
+ authMechanisms: AuthMechanism[] | null;
16
+ emitMechanismFn: EventEmitter<string>;
17
+ page: string;
18
+ type: string;
19
+ constructor(router: Router);
20
+ ngOnInit(): void;
21
+ loadPage(): void;
22
+ loadGoogleScript(): void;
23
+ oAuthWithGoogle(data: AuthMechanism): void;
24
+ oAuthWithApple(): void;
25
+ oAuthWithMicrosoft(data: AuthMechanism): void;
26
+ checkForValue(value: string): "" | "google-logo" | "apple-logo" | "microsoft-logo";
27
+ handleOauthClick(value: AuthMechanism): void | "";
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<OAuthComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<OAuthComponent, "verben-o-auth", never, { "authMechanisms": { "alias": "authMechanisms"; "required": false; }; }, { "emitMechanismFn": "emitMechanismFn"; }, never, never, false, never>;
30
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./o-auth.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "verben-ng-ui";
5
+ export declare class OAuthModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<OAuthModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OAuthModule, [typeof i1.OAuthComponent], [typeof i2.CommonModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule], [typeof i1.OAuthComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<OAuthModule>;
9
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormArray, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class OtpInputComponent implements OnInit {
5
+ private fb;
6
+ length: number;
7
+ otpClass: string;
8
+ otpChange: EventEmitter<string>;
9
+ otpForm: FormGroup;
10
+ constructor(fb: FormBuilder);
11
+ ngOnInit(): void;
12
+ get otpArray(): FormArray;
13
+ handleInput(event: any, index: number): void;
14
+ handleKeydown(event: KeyboardEvent, index: number): void;
15
+ handlePaste(event: ClipboardEvent): void;
16
+ private focusNextInput;
17
+ private focusPreviousInput;
18
+ private emitOtp;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<OtpInputComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<OtpInputComponent, "verben-otp-input", never, { "length": { "alias": "length"; "required": false; }; "otpClass": { "alias": "otpClass"; "required": false; }; }, { "otpChange": "otpChange"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./otp-input.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "verben-ng-ui";
6
+ import * as i5 from "@angular/router";
7
+ import * as i6 from "../button/button.module";
8
+ import * as i7 from "../o-auth/o-auth.module";
9
+ export declare class OtpInputModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<OtpInputModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OtpInputModule, [typeof i1.OtpInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.VerbenaInputModule, typeof i5.RouterLink, typeof i6.ButtonModule, typeof i7.OAuthModule, typeof i3.ReactiveFormsModule], [typeof i1.OtpInputComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<OtpInputModule>;
13
+ }
@@ -0,0 +1,5 @@
1
+ export interface ResetPasswordData {
2
+ OldPassword?: string;
3
+ Password: string;
4
+ ConfirmPassword: string;
5
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
3
+ import { ResetPasswordData } from './ResetPasswordData';
4
+ import { HttpWebRequestService } from '../../services/http-web-request.service';
5
+ import { ErrorResponse } from '../../models/ErrorResponse';
6
+ import { ResponseKeyValue } from '../../models/ResponseKeyValue';
7
+ import { UtilService } from '../../services/util.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ResetPasswordComponent {
10
+ private fb;
11
+ private server;
12
+ private utilService;
13
+ title: string;
14
+ subTitle: string;
15
+ buttonCaption: string;
16
+ buttonTextColor?: string;
17
+ buttonBackgroundColor?: string;
18
+ showOldPassword: boolean;
19
+ token?: string;
20
+ onSubmit: EventEmitter<ResetPasswordData>;
21
+ onSubmitEnd: EventEmitter<ResponseKeyValue | ErrorResponse>;
22
+ resetPasswordForm: FormGroup;
23
+ constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService);
24
+ checkForm(): boolean;
25
+ oldPasswordValidator(control: AbstractControl): ValidationErrors | null;
26
+ confirmPasswordValidator(control: AbstractControl): ValidationErrors | null;
27
+ submit(): Promise<void>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "verben-reset-password", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "buttonCaption": { "alias": "buttonCaption"; "required": false; }; "buttonTextColor": { "alias": "buttonTextColor"; "required": false; }; "buttonBackgroundColor": { "alias": "buttonBackgroundColor"; "required": false; }; "showOldPassword": { "alias": "showOldPassword"; "required": false; }; "token": { "alias": "token"; "required": false; }; }, { "onSubmit": "onSubmit"; "onSubmitEnd": "onSubmitEnd"; }, never, never, false, never>;
30
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./reset-password.component";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "verben-ng-ui";
5
+ import * as i4 from "@angular/common";
6
+ export declare class ResetPasswordModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResetPasswordModule, [typeof i1.ResetPasswordComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.ResetPasswordComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ResetPasswordModule>;
10
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum ChildrenType {
2
+ Permission = "Permission",
3
+ Action = "Action"
4
+ }
@@ -1,8 +1,7 @@
1
1
  import { Role } from '../../models/Role';
2
2
  import { MappedRoleContext } from './MappedRoleContext';
3
3
  import { ChildrenType } from './ChildrenType';
4
-
5
4
  export interface MappedRole extends Role {
6
- RoleContexts: MappedRoleContext[];
7
- ChildrenType: ChildrenType;
5
+ RoleContexts: MappedRoleContext[];
6
+ ChildrenType: ChildrenType;
8
7
  }
@@ -1,5 +1,4 @@
1
1
  import { RoleAction } from '../../models/RoleAction';
2
-
3
2
  export interface MappedRoleAction extends RoleAction {
4
- Selected: boolean;
3
+ Selected: boolean;
5
4
  }
@@ -1,9 +1,8 @@
1
1
  import { RoleContext } from '../../models/RoleContext';
2
2
  import { ChildrenType } from './ChildrenType';
3
3
  import { MappedRoleAction } from './MappedRoleAction';
4
-
5
4
  export interface MappedRoleContext extends RoleContext {
6
- Selected: boolean;
7
- RoleActions: MappedRoleAction[];
8
- ChildrenType: ChildrenType;
5
+ Selected: boolean;
6
+ RoleActions: MappedRoleAction[];
7
+ ChildrenType: ChildrenType;
9
8
  }
@@ -0,0 +1,5 @@
1
+ export declare enum UIActions {
2
+ Save = "Save",
3
+ Edit = "Edit",
4
+ Delete = "Delete"
5
+ }
@@ -0,0 +1,38 @@
1
+ export declare enum UIs {
2
+ ProductDistribution = "ProductDistribution",
3
+ Terminals = "Terminals",
4
+ Meters = "Meters",
5
+ ProductInbound = "ProductInbound",
6
+ TerminalDocumentation = "TerminalDocumentation",
7
+ Laboratories = "Laboratories",
8
+ Surveyors = "Surveyors",
9
+ Products = "Products",
10
+ Stocks = "Stocks",
11
+ Tanks = "Tanks",
12
+ Customers = "Customers",
13
+ ProductAllocation = "ProductAllocation",
14
+ ReleaseManagement = "ReleaseManagement",
15
+ ProductPricing = "ProductPricing",
16
+ Purchases = "Purchases",
17
+ Agents = "Agents",
18
+ Banks = "Banks",
19
+ Vendors = "Vendors",
20
+ Vessels = "Vessels",
21
+ ExpenseList = "ExpenseList",
22
+ ProcurementDocumentation = "ProcurementDocumentation",
23
+ Journal = "Journal",
24
+ JournalTemplate = "JournalTemplate",
25
+ RecurringJournal = "RecurringJournal",
26
+ InterCompanyJournal = "InterCompanyJournal",
27
+ InterCompanyJournalTemplate = "InterCompanyJournalTemplate",
28
+ UserManagement = "UserManagement",
29
+ AccessRequest = "AccessRequest",
30
+ RolesAndPermissions = "RolesAndPermissions",
31
+ AuditTrail = "AuditTrail",
32
+ LogViewer = "LogViewer",
33
+ MessageHistory = "MessageHistory",
34
+ MessageConfig = "MessageConfig",
35
+ MessageList = "MessageList",
36
+ Config = "Config",
37
+ Reports = "Reports"
38
+ }
@@ -0,0 +1 @@
1
+ export declare const baseStyle: any;
@@ -0,0 +1,131 @@
1
+ import { ChangeDetectorRef, OnInit, QueryList } from '@angular/core';
2
+ import { RoleControlService } from './role-control.service';
3
+ import { CardData, CardDataViewComponent, ColumnDefinition, DataTableComponent, DataViewComponent, IDataFilter, VerbenPopUpComponent } from 'verben-ng-ui';
4
+ import { Role } from '../../models/Role';
5
+ import { RoleContext } from '../../models/RoleContext';
6
+ import { RoleAction } from '../../models/RoleAction';
7
+ import { MappedRole } from './MappedRole';
8
+ import { AuthorizationConfig, AuthorizationService } from '../../services/authorization.service';
9
+ import { ChildrenType } from './ChildrenType';
10
+ import { FormBuilder } from '@angular/forms';
11
+ import { UtilService } from '../../services/util.service';
12
+ import { HttpWebRequestService } from '../../services/http-web-request.service';
13
+ import { PagedResult } from '../../models/PagedResult';
14
+ import { EnvironmentService } from '../../services/environment.service';
15
+ import { ApplicationRoleContext } from '../../models/ApplicationRoleContext';
16
+ import { ApplicationRoleAction } from '../../models/ApplicationRoleAction';
17
+ import { Subject } from 'rxjs';
18
+ import { PermissionConfig } from '../../models/PermissionConfig';
19
+ import * as i0 from "@angular/core";
20
+ export declare class RoleControlComponent implements OnInit {
21
+ private authService;
22
+ private roleControlSvc;
23
+ private utilService;
24
+ private server;
25
+ private cdr;
26
+ private fb;
27
+ private envSvc;
28
+ visibleColumnDef: ColumnDefinition<MappedRole>[];
29
+ styles: any;
30
+ data: MappedRole[];
31
+ cardData: CardData[];
32
+ currentData: CardData | null;
33
+ currentExpandedCard: CardData | null;
34
+ cardContext: CardData | null;
35
+ cardContextHistory: CardData[];
36
+ cardContextHistoryData: CardData[][];
37
+ cardDataView: CardDataViewComponent;
38
+ dataView: DataViewComponent;
39
+ popUps: QueryList<VerbenPopUpComponent>;
40
+ tableView: DataTableComponent<MappedRole>;
41
+ isGlobal: boolean;
42
+ serviceName: string | null;
43
+ application: string | null;
44
+ pageSize: number;
45
+ searchDebounceTime: number;
46
+ permissionConfig: PermissionConfig | null;
47
+ pageState: PagedResult<Role> | null;
48
+ sourceData: AuthorizationConfig[];
49
+ isOpen: boolean;
50
+ openDropdownId: string | null;
51
+ currentFilters: IDataFilter[];
52
+ currentSorts: IDataFilter[];
53
+ searchTerm$: Subject<string>;
54
+ visibleColumns: IDataFilter[];
55
+ filterArray: IDataFilter[];
56
+ sortOptions: IDataFilter[];
57
+ searchContext: string;
58
+ searchContextHistory: string[];
59
+ isInputFocused: boolean;
60
+ childPermissionRef: ChildrenType;
61
+ roleContextsStore: ApplicationRoleContext[];
62
+ roleActionsStore: ApplicationRoleAction[];
63
+ private currentSearchTerm;
64
+ constructor(authService: AuthorizationService, roleControlSvc: RoleControlService, utilService: UtilService, server: HttpWebRequestService, cdr: ChangeDetectorRef, fb: FormBuilder, envSvc: EnvironmentService);
65
+ ngOnInit(): Promise<void>;
66
+ getSavedContexts(): Promise<ApplicationRoleContext[] | undefined>;
67
+ getAllRoles(): Promise<Role[] | undefined>;
68
+ loadMore(): Promise<void>;
69
+ getApplicationContextCode(name: string): string;
70
+ getApplicationActionCode(name: string): string;
71
+ findParent(cardData: CardData[], target: CardData): CardData | null;
72
+ isAllSelected(item: CardData): boolean;
73
+ isCheckboxDisabled(item: CardData): boolean;
74
+ setUpMappedData(data: Role[]): void;
75
+ setUpMappedDataExtra(data: Role[]): MappedRole[];
76
+ setUpCardData(): void;
77
+ setUpCardDataExtra(baseData: MappedRole[]): void;
78
+ getFormattedName(name: string): string;
79
+ viewDetailsFromTable(data: MappedRole): void;
80
+ viewDetails(context: CardData): void;
81
+ viewDetailsChild(context: CardData): void;
82
+ roleCardClicked(item: CardData): void;
83
+ toggleChildren(item: CardData): void;
84
+ goToTableView(): void;
85
+ closeDetails(): void;
86
+ getCardSubCaption(item: CardData): string;
87
+ getUpdatedRole(role: MappedRole): Role;
88
+ saveRole(): Promise<void>;
89
+ tableSaveRole(role: MappedRole, callBack: () => any): Promise<void>;
90
+ saveRoleDynamic(item: CardData): Promise<void>;
91
+ saveAllRoleDynamic(item: CardData): Promise<void>;
92
+ saveDataAll(): void;
93
+ updateTable(): void;
94
+ onViewChange(isGridView: boolean): void;
95
+ onStateChange(event: {
96
+ key: string;
97
+ value: boolean;
98
+ }): void;
99
+ showTableView: boolean;
100
+ onSelectionChange(selectedRows: Role[]): void;
101
+ retryMessage(): void;
102
+ onColumnsUpdated(updatedColumns: IDataFilter[]): void;
103
+ updateFiltersAndSorts(isSearch?: boolean): Promise<undefined>;
104
+ loadMoreFiltersAndSorts(): Promise<PagedResult<Role> | undefined>;
105
+ onFilterUpdated(updatedFilters: IDataFilter[] | string): void;
106
+ onSortUpdated(updatedSorts: IDataFilter[]): void;
107
+ handleSearch(event: {
108
+ key: string;
109
+ value: string;
110
+ }): void;
111
+ handleExport(exportedData: Partial<any>[]): void;
112
+ private downloadCSV;
113
+ getMockRoles(): Role[];
114
+ mockNames: string[];
115
+ randomName(): string;
116
+ randomContexts(): RoleContext[];
117
+ randomActions(): RoleAction[];
118
+ closePopUp(): void;
119
+ updateItem(value: any, key: string): any;
120
+ editValue(value: MappedRole): void;
121
+ tableCache: Map<string, MappedRole>;
122
+ cacheItem(item: MappedRole): void;
123
+ restoreCache(item: Role): void;
124
+ onSearchFocus(): void;
125
+ onSearchBlur(): void;
126
+ onInputFocus(): void;
127
+ onInputBlur(): void;
128
+ get filteredData(): CardData[];
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleControlComponent, never>;
130
+ static ɵcmp: i0.ɵɵComponentDeclaration<RoleControlComponent, "lib-role-control", never, { "isGlobal": { "alias": "isGlobal"; "required": false; }; "serviceName": { "alias": "serviceName"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "searchDebounceTime": { "alias": "searchDebounceTime"; "required": false; }; "permissionConfig": { "alias": "permissionConfig"; "required": false; }; }, {}, never, never, false, never>;
131
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./role-control.component";
3
+ import * as i2 from "../../shared/shared.module";
4
+ export declare class RoleControlModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleControlModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RoleControlModule, [typeof i1.RoleControlComponent], [typeof i2.SharedModule], [typeof i1.RoleControlComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<RoleControlModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { ColumnDefinition } from 'verben-ng-ui';
2
+ import { MappedRole } from './MappedRole';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RoleControlService {
5
+ constructor();
6
+ get roleColumns(): ColumnDefinition<MappedRole>[];
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleControlService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleControlService>;
9
+ }