verben-authentication-ui 1.0.13 → 1.0.15

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 (530) hide show
  1. package/esm2022/public-api.mjs +17 -35
  2. package/esm2022/src/lib/base/base-data.component.mjs +80 -0
  3. package/esm2022/src/lib/base/base-data.facade.mjs +130 -0
  4. package/esm2022/src/lib/base/base-data.service.mjs +21 -0
  5. package/esm2022/src/lib/base/base-data.state.mjs +74 -0
  6. package/esm2022/src/lib/base/index.mjs +2 -0
  7. package/esm2022/src/lib/base/models.mjs +2 -0
  8. package/esm2022/src/lib/base/public-api.mjs +6 -0
  9. package/esm2022/src/lib/base/verben-authentication-ui-src-lib-base.mjs +5 -0
  10. package/esm2022/src/lib/components/auth-callback/auth-callback.component.mjs +57 -0
  11. package/esm2022/{lib → src/lib}/components/auth-callback/auth-callback.module.mjs +1 -1
  12. package/esm2022/src/lib/components/auth-callback/index.mjs +2 -0
  13. package/esm2022/src/lib/components/auth-callback/public-api.mjs +3 -0
  14. package/esm2022/src/lib/components/auth-callback/verben-authentication-ui-src-lib-components-auth-callback.mjs +5 -0
  15. package/esm2022/{lib → src/lib}/components/button/button.component.mjs +1 -1
  16. package/esm2022/src/lib/components/button/button.module.mjs +20 -0
  17. package/esm2022/src/lib/components/button/index.mjs +2 -0
  18. package/esm2022/src/lib/components/button/public-api.mjs +3 -0
  19. package/esm2022/src/lib/components/button/verben-authentication-ui-src-lib-components-button.mjs +5 -0
  20. package/esm2022/src/lib/components/forgot-password/ForgotPasswordData.mjs +2 -0
  21. package/esm2022/{lib → src/lib}/components/forgot-password/forgot-password.component.mjs +8 -9
  22. package/esm2022/{lib → src/lib}/components/forgot-password/forgot-password.module.mjs +1 -1
  23. package/esm2022/src/lib/components/forgot-password/index.mjs +2 -0
  24. package/esm2022/src/lib/components/forgot-password/public-api.mjs +4 -0
  25. package/esm2022/src/lib/components/forgot-password/verben-authentication-ui-src-lib-components-forgot-password.mjs +5 -0
  26. package/esm2022/src/lib/components/mail/index.mjs +2 -0
  27. package/esm2022/src/lib/components/mail/mail.component.mjs +69 -0
  28. package/esm2022/src/lib/components/mail/mail.module.mjs +21 -0
  29. package/esm2022/src/lib/components/mail/public-api.mjs +3 -0
  30. package/esm2022/src/lib/components/mail/verben-authentication-ui-src-lib-components-mail.mjs +5 -0
  31. package/esm2022/src/lib/components/mail-validation/index.mjs +2 -0
  32. package/esm2022/{lib → src/lib}/components/mail-validation/mail-validation.component.mjs +1 -1
  33. package/esm2022/{lib → src/lib}/components/mail-validation/mail-validation.module.mjs +1 -1
  34. package/esm2022/src/lib/components/mail-validation/public-api.mjs +3 -0
  35. package/esm2022/src/lib/components/mail-validation/verben-authentication-ui-src-lib-components-mail-validation.mjs +5 -0
  36. package/esm2022/src/lib/components/o-auth/index.mjs +2 -0
  37. package/esm2022/src/lib/components/o-auth/o-auth.component.mjs +107 -0
  38. package/esm2022/{lib → src/lib}/components/o-auth/o-auth.module.mjs +1 -1
  39. package/esm2022/src/lib/components/o-auth/public-api.mjs +3 -0
  40. package/esm2022/src/lib/components/o-auth/verben-authentication-ui-src-lib-components-o-auth.mjs +5 -0
  41. package/esm2022/src/lib/components/otp-input/index.mjs +2 -0
  42. package/esm2022/src/lib/components/otp-input/otp-input.component.mjs +86 -0
  43. package/esm2022/src/lib/components/otp-input/otp-input.module.mjs +42 -0
  44. package/esm2022/src/lib/components/otp-input/public-api.mjs +3 -0
  45. package/esm2022/src/lib/components/otp-input/verben-authentication-ui-src-lib-components-otp-input.mjs +5 -0
  46. package/esm2022/src/lib/components/reset-password/ResetPasswordData.mjs +2 -0
  47. package/esm2022/src/lib/components/reset-password/index.mjs +2 -0
  48. package/esm2022/src/lib/components/reset-password/public-api.mjs +4 -0
  49. package/esm2022/{lib → src/lib}/components/reset-password/reset-password.component.mjs +8 -9
  50. package/esm2022/{lib → src/lib}/components/reset-password/reset-password.module.mjs +1 -1
  51. package/esm2022/src/lib/components/reset-password/verben-authentication-ui-src-lib-components-reset-password.mjs +5 -0
  52. package/esm2022/src/lib/components/role-control/ChildrenType.mjs +6 -0
  53. package/esm2022/src/lib/components/role-control/MappedRole.mjs +2 -0
  54. package/esm2022/src/lib/components/role-control/MappedRoleAction.mjs +2 -0
  55. package/esm2022/src/lib/components/role-control/MappedRoleContext.mjs +2 -0
  56. package/esm2022/src/lib/components/role-control/UIActions.mjs +7 -0
  57. package/esm2022/src/lib/components/role-control/UIs.mjs +40 -0
  58. package/esm2022/src/lib/components/role-control/base-table-style.mjs +53 -0
  59. package/esm2022/src/lib/components/role-control/index.mjs +2 -0
  60. package/esm2022/src/lib/components/role-control/public-api.mjs +3 -0
  61. package/esm2022/src/lib/components/role-control/role-control.component.mjs +1720 -0
  62. package/esm2022/src/lib/components/role-control/role-control.module.mjs +18 -0
  63. package/esm2022/src/lib/components/role-control/role-control.service.mjs +57 -0
  64. package/esm2022/src/lib/components/role-control/verben-authentication-ui-src-lib-components-role-control.mjs +5 -0
  65. package/esm2022/src/lib/components/sign-in/index.mjs +2 -0
  66. package/esm2022/src/lib/components/sign-in/public-api.mjs +3 -0
  67. package/esm2022/src/lib/components/sign-in/sign-in.component.mjs +316 -0
  68. package/esm2022/src/lib/components/sign-in/sign-in.module.mjs +46 -0
  69. package/esm2022/src/lib/components/sign-in/verben-authentication-ui-src-lib-components-sign-in.mjs +5 -0
  70. package/esm2022/src/lib/components/sign-up/index.mjs +2 -0
  71. package/esm2022/src/lib/components/sign-up/public-api.mjs +3 -0
  72. package/esm2022/src/lib/components/sign-up/sign-up.component.mjs +227 -0
  73. package/esm2022/src/lib/components/sign-up/sign-up.module.mjs +43 -0
  74. package/esm2022/src/lib/components/sign-up/verben-authentication-ui-src-lib-components-sign-up.mjs +5 -0
  75. package/esm2022/src/lib/components/sso/base-table-style.mjs +53 -0
  76. package/esm2022/src/lib/components/sso/helper.mjs +16 -0
  77. package/esm2022/src/lib/components/sso/index.mjs +2 -0
  78. package/esm2022/src/lib/components/sso/public-api.mjs +3 -0
  79. package/esm2022/{lib → src/lib}/components/sso/sso-form/sso-form.component.mjs +1 -1
  80. package/esm2022/src/lib/components/sso/sso.columns.mjs +29 -0
  81. package/esm2022/src/lib/components/sso/sso.component.mjs +234 -0
  82. package/esm2022/src/lib/components/sso/sso.module.mjs +63 -0
  83. package/esm2022/src/lib/components/sso/verben-authentication-ui-src-lib-components-sso.mjs +5 -0
  84. package/esm2022/src/lib/components/two-factor-auth-otp/index.mjs +2 -0
  85. package/esm2022/src/lib/components/two-factor-auth-otp/public-api.mjs +3 -0
  86. package/esm2022/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +208 -0
  87. package/esm2022/src/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +35 -0
  88. package/esm2022/src/lib/components/two-factor-auth-otp/verben-authentication-ui-src-lib-components-two-factor-auth-otp.mjs +5 -0
  89. package/esm2022/src/lib/components/two-factor-auth-setup/index.mjs +2 -0
  90. package/esm2022/src/lib/components/two-factor-auth-setup/public-api.mjs +3 -0
  91. package/esm2022/{lib → src/lib}/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +1 -1
  92. package/esm2022/src/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +19 -0
  93. package/esm2022/src/lib/components/two-factor-auth-setup/verben-authentication-ui-src-lib-components-two-factor-auth-setup.mjs +5 -0
  94. package/esm2022/src/lib/components/user-management/base-table-style.mjs +53 -0
  95. package/esm2022/src/lib/components/user-management/index.mjs +2 -0
  96. package/esm2022/src/lib/components/user-management/public-api.mjs +3 -0
  97. package/esm2022/src/lib/components/user-management/services/user-management.service.mjs +88 -0
  98. package/esm2022/{lib/components/user-management/user-management-form/use-management-form.component.mjs → src/lib/components/user-management/user-management-form/user-management-form.component.mjs} +2 -2
  99. package/esm2022/src/lib/components/user-management/user-management.columns.mjs +53 -0
  100. package/esm2022/{lib → src/lib}/components/user-management/user-management.component.mjs +20 -23
  101. package/esm2022/src/lib/components/user-management/user-management.module.mjs +91 -0
  102. package/esm2022/src/lib/components/user-management/user-status-badge/user-status-badge.component.mjs +26 -0
  103. package/esm2022/src/lib/components/user-management/verben-authentication-ui-src-lib-components-user-management.mjs +5 -0
  104. package/esm2022/src/lib/components/user-request/index.mjs +2 -0
  105. package/esm2022/src/lib/components/user-request/public-api.mjs +3 -0
  106. package/esm2022/src/lib/components/user-request/user-request.component.mjs +318 -0
  107. package/esm2022/src/lib/components/user-request/user-request.module.mjs +38 -0
  108. package/esm2022/src/lib/components/user-request/verben-authentication-ui-src-lib-components-user-request.mjs +5 -0
  109. package/esm2022/src/lib/components/user-request-approval/access-request.columns.mjs +29 -0
  110. package/esm2022/src/lib/components/user-request-approval/base-table-style.mjs +53 -0
  111. package/esm2022/src/lib/components/user-request-approval/facades/user-access-request.facade.mjs +260 -0
  112. package/esm2022/src/lib/components/user-request-approval/helper.mjs +56 -0
  113. package/esm2022/src/lib/components/user-request-approval/index.mjs +2 -0
  114. package/esm2022/src/lib/components/user-request-approval/public-api.mjs +5 -0
  115. package/esm2022/src/lib/components/user-request-approval/services/user-access-request.service.mjs +93 -0
  116. package/esm2022/src/lib/components/user-request-approval/states/user-access-request.state.mjs +92 -0
  117. package/esm2022/src/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +26 -0
  118. package/esm2022/{lib → src/lib}/components/user-request-approval/user-request-approval.component.mjs +3 -3
  119. package/esm2022/src/lib/components/user-request-approval/user-request-approval.module.mjs +83 -0
  120. package/esm2022/{lib/components/user-request-approval/user-request-form/use-request-form.component.mjs → src/lib/components/user-request-approval/user-request-form/user-request-form.component.mjs} +2 -2
  121. package/esm2022/src/lib/components/user-request-approval/verben-authentication-ui-src-lib-components-user-request-approval.mjs +5 -0
  122. package/esm2022/src/lib/components/user-request-process/index.mjs +2 -0
  123. package/esm2022/src/lib/components/user-request-process/public-api.mjs +3 -0
  124. package/esm2022/src/lib/components/user-request-process/user-request-process.component.mjs +11 -0
  125. package/esm2022/src/lib/components/user-request-process/user-request-process.module.mjs +18 -0
  126. package/esm2022/src/lib/components/user-request-process/verben-authentication-ui-src-lib-components-user-request-process.mjs +5 -0
  127. package/esm2022/src/lib/models/ApplicationRoleAction.mjs +2 -0
  128. package/esm2022/src/lib/models/ApplicationRoleContext.mjs +2 -0
  129. package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
  130. package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
  131. package/esm2022/src/lib/models/MailConfig.mjs +2 -0
  132. package/esm2022/src/lib/models/MessageConfig.mjs +2 -0
  133. package/esm2022/src/lib/models/MessageMedium.mjs +6 -0
  134. package/esm2022/src/lib/models/OAuthParam.mjs +2 -0
  135. package/esm2022/src/lib/models/OAuthType.mjs +9 -0
  136. package/esm2022/src/lib/models/PagedResult.mjs +2 -0
  137. package/esm2022/src/lib/models/PasswordRequestParam.mjs +2 -0
  138. package/esm2022/src/lib/models/PeriodMode.mjs +12 -0
  139. package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
  140. package/esm2022/src/lib/models/ReportSchedule.mjs +2 -0
  141. package/esm2022/src/lib/models/ReportType.mjs +7 -0
  142. package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
  143. package/esm2022/src/lib/models/Role.mjs +2 -0
  144. package/esm2022/src/lib/models/RoleAction.mjs +2 -0
  145. package/esm2022/src/lib/models/RoleContext.mjs +2 -0
  146. package/esm2022/src/lib/models/SMSConfig.mjs +2 -0
  147. package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
  148. package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
  149. package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
  150. package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
  151. package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
  152. package/esm2022/src/lib/models/SortDirection.mjs +7 -0
  153. package/esm2022/src/lib/models/Tag.mjs +2 -0
  154. package/esm2022/src/lib/models/TaskNotification.mjs +2 -0
  155. package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +6 -0
  156. package/esm2022/src/lib/models/TaskNotificationType.mjs +6 -0
  157. package/esm2022/src/lib/models/Tenant.mjs +2 -0
  158. package/esm2022/src/lib/models/TenantConfig.mjs +2 -0
  159. package/esm2022/src/lib/models/UserRequest.mjs +2 -0
  160. package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
  161. package/esm2022/src/lib/models/base.mjs +2 -0
  162. package/esm2022/src/lib/models/conditions.mjs +13 -0
  163. package/esm2022/src/lib/models/index.mjs +2 -0
  164. package/esm2022/src/lib/models/log-in.mjs +2 -0
  165. package/esm2022/src/lib/models/mainUser.mjs +2 -0
  166. package/esm2022/src/lib/models/oauth-resp.mjs +2 -0
  167. package/esm2022/src/lib/models/oauth-response.mjs +2 -0
  168. package/esm2022/src/lib/models/object-state.mjs +8 -0
  169. package/esm2022/src/lib/models/otpValue.mjs +2 -0
  170. package/esm2022/src/lib/models/paged.mjs +2 -0
  171. package/esm2022/src/lib/models/public-api.mjs +53 -0
  172. package/esm2022/src/lib/models/query-params.mjs +2 -0
  173. package/esm2022/src/lib/models/request-status.mjs +5 -0
  174. package/esm2022/src/lib/models/resend-otp-data.mjs +2 -0
  175. package/esm2022/src/lib/models/sign-up.mjs +2 -0
  176. package/esm2022/src/lib/models/single-sign-on.mjs +2 -0
  177. package/esm2022/src/lib/models/status.mjs +6 -0
  178. package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
  179. package/esm2022/src/lib/models/user-access-request.mjs +2 -0
  180. package/esm2022/src/lib/models/user.mjs +2 -0
  181. package/esm2022/src/lib/models/verben-authentication-ui-src-lib-models.mjs +5 -0
  182. package/esm2022/src/lib/pipes/async-label.pipe.mjs +25 -0
  183. package/esm2022/src/lib/pipes/index.mjs +2 -0
  184. package/esm2022/src/lib/pipes/public-api.mjs +2 -0
  185. package/esm2022/src/lib/pipes/verben-authentication-ui-src-lib-pipes.mjs +5 -0
  186. package/esm2022/src/lib/services/authorization.service.mjs +26 -0
  187. package/esm2022/src/lib/services/encryption.service.mjs +52 -0
  188. package/esm2022/src/lib/services/environment.service.mjs +26 -0
  189. package/esm2022/src/lib/services/http-web-request.service.mjs +85 -0
  190. package/esm2022/src/lib/services/import.service.mjs +248 -0
  191. package/esm2022/src/lib/services/index.mjs +2 -0
  192. package/esm2022/src/lib/services/label.service.mjs +134 -0
  193. package/esm2022/src/lib/services/public-api.mjs +8 -0
  194. package/esm2022/src/lib/services/util.service.mjs +55 -0
  195. package/esm2022/src/lib/services/verben-authentication-ui-src-lib-services.mjs +5 -0
  196. package/esm2022/src/lib/shared/index.mjs +2 -0
  197. package/esm2022/src/lib/shared/public-api.mjs +2 -0
  198. package/esm2022/src/lib/shared/shared.module.mjs +90 -0
  199. package/esm2022/src/lib/shared/verben-authentication-ui-src-lib-shared.mjs +5 -0
  200. package/esm2022/src/utils/components/base-data-view.component.mjs +111 -0
  201. package/esm2022/src/utils/index.mjs +2 -0
  202. package/esm2022/src/utils/models/DataViewConfig.mjs +2 -0
  203. package/esm2022/src/utils/public-api.mjs +3 -0
  204. package/esm2022/src/utils/verben-authentication-ui-src-utils.mjs +5 -0
  205. package/fesm2022/verben-authentication-ui-src-lib-base.mjs +305 -0
  206. package/fesm2022/verben-authentication-ui-src-lib-base.mjs.map +1 -0
  207. package/fesm2022/verben-authentication-ui-src-lib-components-auth-callback.mjs +79 -0
  208. package/fesm2022/verben-authentication-ui-src-lib-components-auth-callback.mjs.map +1 -0
  209. package/fesm2022/verben-authentication-ui-src-lib-components-button.mjs +70 -0
  210. package/fesm2022/verben-authentication-ui-src-lib-components-button.mjs.map +1 -0
  211. package/fesm2022/verben-authentication-ui-src-lib-components-forgot-password.mjs +128 -0
  212. package/fesm2022/verben-authentication-ui-src-lib-components-forgot-password.mjs.map +1 -0
  213. package/fesm2022/verben-authentication-ui-src-lib-components-mail-validation.mjs +146 -0
  214. package/fesm2022/verben-authentication-ui-src-lib-components-mail-validation.mjs.map +1 -0
  215. package/fesm2022/verben-authentication-ui-src-lib-components-mail.mjs +94 -0
  216. package/fesm2022/verben-authentication-ui-src-lib-components-mail.mjs.map +1 -0
  217. package/fesm2022/verben-authentication-ui-src-lib-components-o-auth.mjs +130 -0
  218. package/fesm2022/verben-authentication-ui-src-lib-components-o-auth.mjs.map +1 -0
  219. package/fesm2022/verben-authentication-ui-src-lib-components-otp-input.mjs +131 -0
  220. package/fesm2022/verben-authentication-ui-src-lib-components-otp-input.mjs.map +1 -0
  221. package/fesm2022/verben-authentication-ui-src-lib-components-reset-password.mjs +144 -0
  222. package/fesm2022/verben-authentication-ui-src-lib-components-reset-password.mjs.map +1 -0
  223. package/fesm2022/verben-authentication-ui-src-lib-components-role-control.mjs +1893 -0
  224. package/fesm2022/verben-authentication-ui-src-lib-components-role-control.mjs.map +1 -0
  225. package/fesm2022/verben-authentication-ui-src-lib-components-sign-in.mjs +363 -0
  226. package/fesm2022/verben-authentication-ui-src-lib-components-sign-in.mjs.map +1 -0
  227. package/fesm2022/verben-authentication-ui-src-lib-components-sign-up.mjs +271 -0
  228. package/fesm2022/verben-authentication-ui-src-lib-components-sign-up.mjs.map +1 -0
  229. package/fesm2022/verben-authentication-ui-src-lib-components-sso.mjs +462 -0
  230. package/fesm2022/verben-authentication-ui-src-lib-components-sso.mjs.map +1 -0
  231. package/fesm2022/verben-authentication-ui-src-lib-components-two-factor-auth-otp.mjs +245 -0
  232. package/fesm2022/verben-authentication-ui-src-lib-components-two-factor-auth-otp.mjs.map +1 -0
  233. package/fesm2022/verben-authentication-ui-src-lib-components-two-factor-auth-setup.mjs +113 -0
  234. package/fesm2022/verben-authentication-ui-src-lib-components-two-factor-auth-setup.mjs.map +1 -0
  235. package/fesm2022/verben-authentication-ui-src-lib-components-user-management.mjs +894 -0
  236. package/fesm2022/verben-authentication-ui-src-lib-components-user-management.mjs.map +1 -0
  237. package/fesm2022/verben-authentication-ui-src-lib-components-user-request-approval.mjs +1021 -0
  238. package/fesm2022/verben-authentication-ui-src-lib-components-user-request-approval.mjs.map +1 -0
  239. package/fesm2022/verben-authentication-ui-src-lib-components-user-request-process.mjs +34 -0
  240. package/fesm2022/verben-authentication-ui-src-lib-components-user-request-process.mjs.map +1 -0
  241. package/fesm2022/verben-authentication-ui-src-lib-components-user-request.mjs +355 -0
  242. package/fesm2022/verben-authentication-ui-src-lib-components-user-request.mjs.map +1 -0
  243. package/fesm2022/verben-authentication-ui-src-lib-models.mjs +153 -0
  244. package/fesm2022/verben-authentication-ui-src-lib-models.mjs.map +1 -0
  245. package/fesm2022/verben-authentication-ui-src-lib-pipes.mjs +32 -0
  246. package/fesm2022/verben-authentication-ui-src-lib-pipes.mjs.map +1 -0
  247. package/fesm2022/verben-authentication-ui-src-lib-services.mjs +610 -0
  248. package/fesm2022/verben-authentication-ui-src-lib-services.mjs.map +1 -0
  249. package/fesm2022/verben-authentication-ui-src-lib-shared.mjs +97 -0
  250. package/fesm2022/verben-authentication-ui-src-lib-shared.mjs.map +1 -0
  251. package/fesm2022/verben-authentication-ui-src-utils.mjs +118 -0
  252. package/fesm2022/verben-authentication-ui-src-utils.mjs.map +1 -0
  253. package/fesm2022/verben-authentication-ui.mjs +16 -6610
  254. package/fesm2022/verben-authentication-ui.mjs.map +1 -1
  255. package/package.json +146 -2
  256. package/public-api.d.ts +16 -34
  257. package/src/lib/base/base-data.component.d.ts +32 -0
  258. package/src/lib/base/base-data.facade.d.ts +27 -0
  259. package/src/lib/base/base-data.service.d.ts +14 -0
  260. package/src/lib/base/base-data.state.d.ts +28 -0
  261. package/src/lib/base/index.d.ts +1 -0
  262. package/src/lib/base/models.d.ts +11 -0
  263. package/src/lib/base/public-api.d.ts +5 -0
  264. package/src/lib/components/auth-callback/index.d.ts +1 -0
  265. package/src/lib/components/auth-callback/public-api.d.ts +2 -0
  266. package/src/lib/components/button/index.d.ts +1 -0
  267. package/src/lib/components/button/public-api.d.ts +2 -0
  268. package/{lib → src/lib}/components/forgot-password/forgot-password.component.d.ts +4 -4
  269. package/src/lib/components/forgot-password/index.d.ts +1 -0
  270. package/src/lib/components/forgot-password/public-api.d.ts +3 -0
  271. package/src/lib/components/mail/index.d.ts +1 -0
  272. package/{lib → src/lib}/components/mail/mail.module.d.ts +1 -1
  273. package/src/lib/components/mail/public-api.d.ts +2 -0
  274. package/src/lib/components/mail-validation/index.d.ts +1 -0
  275. package/src/lib/components/mail-validation/public-api.d.ts +2 -0
  276. package/src/lib/components/o-auth/index.d.ts +1 -0
  277. package/{lib → src/lib}/components/o-auth/o-auth.component.d.ts +1 -1
  278. package/src/lib/components/o-auth/public-api.d.ts +2 -0
  279. package/src/lib/components/otp-input/index.d.ts +1 -0
  280. package/{lib → src/lib}/components/otp-input/otp-input.module.d.ts +2 -2
  281. package/src/lib/components/otp-input/public-api.d.ts +2 -0
  282. package/src/lib/components/reset-password/index.d.ts +1 -0
  283. package/src/lib/components/reset-password/public-api.d.ts +3 -0
  284. package/{lib → src/lib}/components/reset-password/reset-password.component.d.ts +4 -4
  285. package/{lib → src/lib}/components/role-control/MappedRole.d.ts +1 -1
  286. package/{lib → src/lib}/components/role-control/MappedRoleAction.d.ts +1 -1
  287. package/{lib → src/lib}/components/role-control/MappedRoleContext.d.ts +1 -1
  288. package/src/lib/components/role-control/index.d.ts +1 -0
  289. package/src/lib/components/role-control/public-api.d.ts +2 -0
  290. package/{lib → src/lib}/components/role-control/role-control.component.d.ts +21 -13
  291. package/{lib → src/lib}/components/role-control/role-control.module.d.ts +1 -1
  292. package/src/lib/components/sign-in/index.d.ts +1 -0
  293. package/src/lib/components/sign-in/public-api.d.ts +2 -0
  294. package/{lib → src/lib}/components/sign-in/sign-in.component.d.ts +10 -10
  295. package/{lib → src/lib}/components/sign-in/sign-in.module.d.ts +2 -2
  296. package/src/lib/components/sign-up/index.d.ts +1 -0
  297. package/src/lib/components/sign-up/public-api.d.ts +2 -0
  298. package/{lib → src/lib}/components/sign-up/sign-up.component.d.ts +6 -6
  299. package/{lib → src/lib}/components/sign-up/sign-up.module.d.ts +2 -2
  300. package/src/lib/components/sso/helper.d.ts +2 -0
  301. package/src/lib/components/sso/index.d.ts +1 -0
  302. package/src/lib/components/sso/public-api.d.ts +2 -0
  303. package/{lib → src/lib}/components/sso/sso.columns.d.ts +1 -1
  304. package/{lib → src/lib}/components/sso/sso.component.d.ts +1 -1
  305. package/src/lib/components/two-factor-auth-otp/index.d.ts +1 -0
  306. package/src/lib/components/two-factor-auth-otp/public-api.d.ts +2 -0
  307. package/{lib → src/lib}/components/two-factor-auth-otp/two-factor-auth-otp.component.d.ts +6 -6
  308. package/{lib → src/lib}/components/two-factor-auth-otp/two-factor-auth-otp.module.d.ts +2 -2
  309. package/src/lib/components/two-factor-auth-setup/index.d.ts +1 -0
  310. package/src/lib/components/two-factor-auth-setup/public-api.d.ts +2 -0
  311. package/src/lib/components/user-management/index.d.ts +1 -0
  312. package/src/lib/components/user-management/public-api.d.ts +2 -0
  313. package/{lib → src/lib}/components/user-management/services/user-management.service.d.ts +4 -4
  314. package/{lib/components/user-management/user-management-form/use-management-form.component.d.ts → src/lib/components/user-management/user-management-form/user-management-form.component.d.ts} +4 -4
  315. package/{lib → src/lib}/components/user-management/user-management.columns.d.ts +1 -1
  316. package/{lib → src/lib}/components/user-management/user-management.component.d.ts +11 -11
  317. package/{lib → src/lib}/components/user-management/user-management.module.d.ts +2 -2
  318. package/{lib → src/lib}/components/user-management/user-status-badge/user-status-badge.component.d.ts +1 -1
  319. package/src/lib/components/user-request/index.d.ts +1 -0
  320. package/src/lib/components/user-request/public-api.d.ts +2 -0
  321. package/{lib → src/lib}/components/user-request/user-request.component.d.ts +7 -7
  322. package/{lib → src/lib}/components/user-request/user-request.module.d.ts +1 -1
  323. package/{lib → src/lib}/components/user-request-approval/access-request.columns.d.ts +1 -1
  324. package/{lib → src/lib}/components/user-request-approval/facades/user-access-request.facade.d.ts +4 -4
  325. package/{lib → src/lib}/components/user-request-approval/helper.d.ts +1 -1
  326. package/src/lib/components/user-request-approval/index.d.ts +1 -0
  327. package/src/lib/components/user-request-approval/public-api.d.ts +4 -0
  328. package/{lib → src/lib}/components/user-request-approval/services/user-access-request.service.d.ts +6 -6
  329. package/{lib → src/lib}/components/user-request-approval/states/user-access-request.state.d.ts +3 -3
  330. package/{lib → src/lib}/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.d.ts +1 -1
  331. package/{lib → src/lib}/components/user-request-approval/user-request-approval.component.d.ts +2 -2
  332. package/{lib → src/lib}/components/user-request-approval/user-request-approval.module.d.ts +1 -1
  333. package/{lib/components/user-request-approval/user-request-form/use-request-form.component.d.ts → src/lib/components/user-request-approval/user-request-form/user-request-form.component.d.ts} +1 -1
  334. package/src/lib/components/user-request-process/index.d.ts +1 -0
  335. package/src/lib/components/user-request-process/public-api.d.ts +2 -0
  336. package/src/lib/components/user-request-process/user-request-process.component.d.ts +5 -0
  337. package/src/lib/components/user-request-process/user-request-process.module.d.ts +7 -0
  338. package/src/lib/models/FilterTypes.d.ts +6 -0
  339. package/src/lib/models/MailConfig.d.ts +12 -0
  340. package/src/lib/models/MessageConfig.d.ts +3 -0
  341. package/src/lib/models/MessageMedium.d.ts +4 -0
  342. package/src/lib/models/PeriodMode.d.ts +10 -0
  343. package/src/lib/models/ReportSchedule.d.ts +22 -0
  344. package/src/lib/models/ReportType.d.ts +5 -0
  345. package/src/lib/models/SMSConfig.d.ts +10 -0
  346. package/src/lib/models/TaskNotification.d.ts +12 -0
  347. package/src/lib/models/TaskNotificationMessageType.d.ts +4 -0
  348. package/src/lib/models/TaskNotificationType.d.ts +4 -0
  349. package/src/lib/models/Tenant.d.ts +21 -0
  350. package/{lib → src/lib}/models/UserRequest.d.ts +6 -9
  351. package/src/lib/models/index.d.ts +1 -0
  352. package/src/lib/models/public-api.d.ts +52 -0
  353. package/{lib → src/lib}/pipes/async-label.pipe.d.ts +1 -1
  354. package/src/lib/pipes/index.d.ts +1 -0
  355. package/src/lib/pipes/public-api.d.ts +1 -0
  356. package/src/lib/services/import.service.d.ts +15 -0
  357. package/src/lib/services/index.d.ts +1 -0
  358. package/src/lib/services/public-api.d.ts +7 -0
  359. package/src/lib/shared/index.d.ts +1 -0
  360. package/src/lib/shared/public-api.d.ts +1 -0
  361. package/{lib → src/lib}/shared/shared.module.d.ts +2 -2
  362. package/src/utils/components/base-data-view.component.d.ts +34 -0
  363. package/src/utils/index.d.ts +1 -0
  364. package/src/utils/models/DataViewConfig.d.ts +11 -0
  365. package/src/utils/public-api.d.ts +2 -0
  366. package/esm2022/lib/components/auth-callback/auth-callback.component.mjs +0 -57
  367. package/esm2022/lib/components/button/button.module.mjs +0 -20
  368. package/esm2022/lib/components/forgot-password/ForgotPasswordData.mjs +0 -2
  369. package/esm2022/lib/components/mail/mail.component.mjs +0 -69
  370. package/esm2022/lib/components/mail/mail.module.mjs +0 -21
  371. package/esm2022/lib/components/o-auth/o-auth.component.mjs +0 -107
  372. package/esm2022/lib/components/otp-input/otp-input.component.mjs +0 -86
  373. package/esm2022/lib/components/otp-input/otp-input.module.mjs +0 -23
  374. package/esm2022/lib/components/reset-password/ResetPasswordData.mjs +0 -2
  375. package/esm2022/lib/components/role-control/ChildrenType.mjs +0 -6
  376. package/esm2022/lib/components/role-control/MappedRole.mjs +0 -2
  377. package/esm2022/lib/components/role-control/MappedRoleAction.mjs +0 -2
  378. package/esm2022/lib/components/role-control/MappedRoleContext.mjs +0 -2
  379. package/esm2022/lib/components/role-control/UIActions.mjs +0 -7
  380. package/esm2022/lib/components/role-control/UIs.mjs +0 -40
  381. package/esm2022/lib/components/role-control/base-table-style.mjs +0 -53
  382. package/esm2022/lib/components/role-control/role-control.component.mjs +0 -1608
  383. package/esm2022/lib/components/role-control/role-control.module.mjs +0 -18
  384. package/esm2022/lib/components/role-control/role-control.service.mjs +0 -54
  385. package/esm2022/lib/components/sign-in/sign-in.component.mjs +0 -318
  386. package/esm2022/lib/components/sign-in/sign-in.module.mjs +0 -24
  387. package/esm2022/lib/components/sign-up/sign-up.component.mjs +0 -229
  388. package/esm2022/lib/components/sign-up/sign-up.module.mjs +0 -24
  389. package/esm2022/lib/components/sso/base-table-style.mjs +0 -53
  390. package/esm2022/lib/components/sso/helper.mjs +0 -16
  391. package/esm2022/lib/components/sso/sso.columns.mjs +0 -29
  392. package/esm2022/lib/components/sso/sso.component.mjs +0 -236
  393. package/esm2022/lib/components/sso/sso.module.mjs +0 -63
  394. package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +0 -209
  395. package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.module.mjs +0 -22
  396. package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.module.mjs +0 -19
  397. package/esm2022/lib/components/user-management/base-table-style.mjs +0 -53
  398. package/esm2022/lib/components/user-management/services/user-management.service.mjs +0 -88
  399. package/esm2022/lib/components/user-management/user-management.columns.mjs +0 -53
  400. package/esm2022/lib/components/user-management/user-management.module.mjs +0 -85
  401. package/esm2022/lib/components/user-management/user-status-badge/user-status-badge.component.mjs +0 -26
  402. package/esm2022/lib/components/user-request/user-request.component.mjs +0 -320
  403. package/esm2022/lib/components/user-request/user-request.module.mjs +0 -38
  404. package/esm2022/lib/components/user-request-approval/access-request.columns.mjs +0 -29
  405. package/esm2022/lib/components/user-request-approval/base-table-style.mjs +0 -53
  406. package/esm2022/lib/components/user-request-approval/facades/user-access-request.facade.mjs +0 -260
  407. package/esm2022/lib/components/user-request-approval/helper.mjs +0 -56
  408. package/esm2022/lib/components/user-request-approval/services/user-access-request.service.mjs +0 -93
  409. package/esm2022/lib/components/user-request-approval/states/user-access-request.state.mjs +0 -92
  410. package/esm2022/lib/components/user-request-approval/user-access-request-status-badge/user-access-request-status-badge.component.mjs +0 -26
  411. package/esm2022/lib/components/user-request-approval/user-request-approval.module.mjs +0 -83
  412. package/esm2022/lib/models/ApplicationRoleAction.mjs +0 -2
  413. package/esm2022/lib/models/ApplicationRoleContext.mjs +0 -2
  414. package/esm2022/lib/models/ErrorResponse.mjs +0 -11
  415. package/esm2022/lib/models/OAuthParam.mjs +0 -2
  416. package/esm2022/lib/models/OAuthType.mjs +0 -9
  417. package/esm2022/lib/models/PagedResult.mjs +0 -2
  418. package/esm2022/lib/models/PasswordRequestParam.mjs +0 -2
  419. package/esm2022/lib/models/PermissionConfig.mjs +0 -2
  420. package/esm2022/lib/models/ResponseKeyValue.mjs +0 -2
  421. package/esm2022/lib/models/Role.mjs +0 -2
  422. package/esm2022/lib/models/RoleAction.mjs +0 -2
  423. package/esm2022/lib/models/RoleContext.mjs +0 -2
  424. package/esm2022/lib/models/SearchDynamicWrapper.mjs +0 -2
  425. package/esm2022/lib/models/SearchOperator.mjs +0 -6
  426. package/esm2022/lib/models/SearchPropertySign.mjs +0 -11
  427. package/esm2022/lib/models/SearchPropertyValue.mjs +0 -2
  428. package/esm2022/lib/models/SearchPropertyValueType.mjs +0 -11
  429. package/esm2022/lib/models/SortDirection.mjs +0 -7
  430. package/esm2022/lib/models/Tag.mjs +0 -2
  431. package/esm2022/lib/models/TenantConfig.mjs +0 -2
  432. package/esm2022/lib/models/UserRequest.mjs +0 -2
  433. package/esm2022/lib/models/auth-mechanism.mjs +0 -8
  434. package/esm2022/lib/models/base.mjs +0 -2
  435. package/esm2022/lib/models/conditions.mjs +0 -13
  436. package/esm2022/lib/models/log-in.mjs +0 -2
  437. package/esm2022/lib/models/mainUser.mjs +0 -2
  438. package/esm2022/lib/models/oauth-resp.mjs +0 -2
  439. package/esm2022/lib/models/oauth-response.mjs +0 -2
  440. package/esm2022/lib/models/object-state.mjs +0 -8
  441. package/esm2022/lib/models/otpValue.mjs +0 -2
  442. package/esm2022/lib/models/paged.mjs +0 -2
  443. package/esm2022/lib/models/query-params.mjs +0 -2
  444. package/esm2022/lib/models/request-status.mjs +0 -5
  445. package/esm2022/lib/models/resend-otp-data.mjs +0 -2
  446. package/esm2022/lib/models/sign-up.mjs +0 -2
  447. package/esm2022/lib/models/single-sign-on.mjs +0 -2
  448. package/esm2022/lib/models/status.mjs +0 -6
  449. package/esm2022/lib/models/user-access-request-status.mjs +0 -7
  450. package/esm2022/lib/models/user-access-request.mjs +0 -2
  451. package/esm2022/lib/models/user.mjs +0 -2
  452. package/esm2022/lib/pipes/async-label.pipe.mjs +0 -25
  453. package/esm2022/lib/services/authorization.service.mjs +0 -26
  454. package/esm2022/lib/services/encryption.service.mjs +0 -52
  455. package/esm2022/lib/services/environment.service.mjs +0 -26
  456. package/esm2022/lib/services/http-web-request.service.mjs +0 -85
  457. package/esm2022/lib/services/label.service.mjs +0 -134
  458. package/esm2022/lib/services/util.service.mjs +0 -55
  459. package/esm2022/lib/shared/shared.module.mjs +0 -84
  460. package/lib/components/sso/helper.d.ts +0 -2
  461. /package/{lib → src/lib}/components/auth-callback/auth-callback.component.d.ts +0 -0
  462. /package/{lib → src/lib}/components/auth-callback/auth-callback.module.d.ts +0 -0
  463. /package/{lib → src/lib}/components/button/button.component.d.ts +0 -0
  464. /package/{lib → src/lib}/components/button/button.module.d.ts +0 -0
  465. /package/{lib → src/lib}/components/forgot-password/ForgotPasswordData.d.ts +0 -0
  466. /package/{lib → src/lib}/components/forgot-password/forgot-password.module.d.ts +0 -0
  467. /package/{lib → src/lib}/components/mail/mail.component.d.ts +0 -0
  468. /package/{lib → src/lib}/components/mail-validation/mail-validation.component.d.ts +0 -0
  469. /package/{lib → src/lib}/components/mail-validation/mail-validation.module.d.ts +0 -0
  470. /package/{lib → src/lib}/components/o-auth/o-auth.module.d.ts +0 -0
  471. /package/{lib → src/lib}/components/otp-input/otp-input.component.d.ts +0 -0
  472. /package/{lib → src/lib}/components/reset-password/ResetPasswordData.d.ts +0 -0
  473. /package/{lib → src/lib}/components/reset-password/reset-password.module.d.ts +0 -0
  474. /package/{lib → src/lib}/components/role-control/ChildrenType.d.ts +0 -0
  475. /package/{lib → src/lib}/components/role-control/UIActions.d.ts +0 -0
  476. /package/{lib → src/lib}/components/role-control/UIs.d.ts +0 -0
  477. /package/{lib → src/lib}/components/role-control/base-table-style.d.ts +0 -0
  478. /package/{lib → src/lib}/components/role-control/role-control.service.d.ts +0 -0
  479. /package/{lib → src/lib}/components/sso/base-table-style.d.ts +0 -0
  480. /package/{lib → src/lib}/components/sso/sso-form/sso-form.component.d.ts +0 -0
  481. /package/{lib → src/lib}/components/sso/sso.module.d.ts +0 -0
  482. /package/{lib → src/lib}/components/two-factor-auth-setup/two-factor-auth-setup.component.d.ts +0 -0
  483. /package/{lib → src/lib}/components/two-factor-auth-setup/two-factor-auth-setup.module.d.ts +0 -0
  484. /package/{lib → src/lib}/components/user-management/base-table-style.d.ts +0 -0
  485. /package/{lib → src/lib}/components/user-request-approval/base-table-style.d.ts +0 -0
  486. /package/{lib → src/lib}/models/ApplicationRoleAction.d.ts +0 -0
  487. /package/{lib → src/lib}/models/ApplicationRoleContext.d.ts +0 -0
  488. /package/{lib → src/lib}/models/ErrorResponse.d.ts +0 -0
  489. /package/{lib → src/lib}/models/OAuthParam.d.ts +0 -0
  490. /package/{lib → src/lib}/models/OAuthType.d.ts +0 -0
  491. /package/{lib → src/lib}/models/PagedResult.d.ts +0 -0
  492. /package/{lib → src/lib}/models/PasswordRequestParam.d.ts +0 -0
  493. /package/{lib → src/lib}/models/PermissionConfig.d.ts +0 -0
  494. /package/{lib → src/lib}/models/ResponseKeyValue.d.ts +0 -0
  495. /package/{lib → src/lib}/models/Role.d.ts +0 -0
  496. /package/{lib → src/lib}/models/RoleAction.d.ts +0 -0
  497. /package/{lib → src/lib}/models/RoleContext.d.ts +0 -0
  498. /package/{lib → src/lib}/models/SearchDynamicWrapper.d.ts +0 -0
  499. /package/{lib → src/lib}/models/SearchOperator.d.ts +0 -0
  500. /package/{lib → src/lib}/models/SearchPropertySign.d.ts +0 -0
  501. /package/{lib → src/lib}/models/SearchPropertyValue.d.ts +0 -0
  502. /package/{lib → src/lib}/models/SearchPropertyValueType.d.ts +0 -0
  503. /package/{lib → src/lib}/models/SortDirection.d.ts +0 -0
  504. /package/{lib → src/lib}/models/Tag.d.ts +0 -0
  505. /package/{lib → src/lib}/models/TenantConfig.d.ts +0 -0
  506. /package/{lib → src/lib}/models/auth-mechanism.d.ts +0 -0
  507. /package/{lib → src/lib}/models/base.d.ts +0 -0
  508. /package/{lib → src/lib}/models/conditions.d.ts +0 -0
  509. /package/{lib → src/lib}/models/log-in.d.ts +0 -0
  510. /package/{lib → src/lib}/models/mainUser.d.ts +0 -0
  511. /package/{lib → src/lib}/models/oauth-resp.d.ts +0 -0
  512. /package/{lib → src/lib}/models/oauth-response.d.ts +0 -0
  513. /package/{lib → src/lib}/models/object-state.d.ts +0 -0
  514. /package/{lib → src/lib}/models/otpValue.d.ts +0 -0
  515. /package/{lib → src/lib}/models/paged.d.ts +0 -0
  516. /package/{lib → src/lib}/models/query-params.d.ts +0 -0
  517. /package/{lib → src/lib}/models/request-status.d.ts +0 -0
  518. /package/{lib → src/lib}/models/resend-otp-data.d.ts +0 -0
  519. /package/{lib → src/lib}/models/sign-up.d.ts +0 -0
  520. /package/{lib → src/lib}/models/single-sign-on.d.ts +0 -0
  521. /package/{lib → src/lib}/models/status.d.ts +0 -0
  522. /package/{lib → src/lib}/models/user-access-request-status.d.ts +0 -0
  523. /package/{lib → src/lib}/models/user-access-request.d.ts +0 -0
  524. /package/{lib → src/lib}/models/user.d.ts +0 -0
  525. /package/{lib → src/lib}/services/authorization.service.d.ts +0 -0
  526. /package/{lib → src/lib}/services/encryption.service.d.ts +0 -0
  527. /package/{lib → src/lib}/services/environment.service.d.ts +0 -0
  528. /package/{lib → src/lib}/services/http-web-request.service.d.ts +0 -0
  529. /package/{lib → src/lib}/services/label.service.d.ts +0 -0
  530. /package/{lib → src/lib}/services/util.service.d.ts +0 -0
@@ -0,0 +1,363 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/forms';
4
+ import { FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
5
+ import { MechanismType, ErrorResponse } from 'verben-authentication-ui/src/lib/models';
6
+ import CryptoJS from 'crypto-js';
7
+ import * as i2 from 'verben-authentication-ui/src/lib/services';
8
+ import * as i3 from '@angular/router';
9
+ import { RouterLink } from '@angular/router';
10
+ import * as i4 from '@angular/common';
11
+ import { CommonModule } from '@angular/common';
12
+ import * as i5 from 'verben-ng-ui';
13
+ import { VerbenaInputModule, VerbenaButtonModule } from 'verben-ng-ui';
14
+ import * as i6 from 'verben-authentication-ui/src/lib/components/o-auth';
15
+ import { OAuthModule } from 'verben-authentication-ui/src/lib/components/o-auth';
16
+ import * as i7 from 'verben-authentication-ui/src/lib/components/button';
17
+ import { ButtonModule } from 'verben-authentication-ui/src/lib/components/button';
18
+
19
+ class SignInComponent {
20
+ fb;
21
+ server;
22
+ utilService;
23
+ envSvc;
24
+ route;
25
+ router;
26
+ encryptionService;
27
+ headlingText = 'Sign in';
28
+ width = '';
29
+ maxWidth = '';
30
+ margin = '';
31
+ pd = '';
32
+ customClass = '';
33
+ headlingClass = '';
34
+ bgColor = '#fff';
35
+ boxShadow = '4px 4px 4px rgba(0, 0, 0, 0.25)';
36
+ border = '1px solid #66666680';
37
+ borderRadius = '24px';
38
+ textColor = '#333';
39
+ height = 'auto';
40
+ forgetPasswordClass = '';
41
+ requestAccessClass = '';
42
+ createAccountClass = '';
43
+ createAccountLinkClass = '';
44
+ // links
45
+ forgetPasswordLink = '';
46
+ createAccountLink = '';
47
+ requestAccessLink = '';
48
+ // button styles
49
+ btnClass = '';
50
+ btnBgColor = '#FFE681';
51
+ btnColor = '';
52
+ btnBorder = '';
53
+ btnBorderRadius = '24px';
54
+ btnPd = '';
55
+ btnText = 'Log in';
56
+ //inputStyles
57
+ inputLabelColor = '';
58
+ inputBgColor = 'transparent';
59
+ inputBorder = '1px solid #66666659';
60
+ inputBorderRadius = '12px';
61
+ termsErrorText = 'Please agree to the terms of use and privacy policy.';
62
+ formSubmit = new EventEmitter();
63
+ onSubmitEnd = new EventEmitter();
64
+ onGoogleAuthResponse = new EventEmitter();
65
+ onSubmitGoogleAuth = new EventEmitter();
66
+ tenantConfigLoaded = new EventEmitter();
67
+ googleClick = new EventEmitter();
68
+ microsoftClick = new EventEmitter();
69
+ appleClick = new EventEmitter();
70
+ tenantDetails = null;
71
+ AuthMechanisms = null;
72
+ showform = false;
73
+ loginForm;
74
+ apiKey;
75
+ secret;
76
+ isLoading = false;
77
+ code = '';
78
+ type = '';
79
+ mechanismType = '';
80
+ OauthData = {
81
+ AccessToken: '',
82
+ Email: '',
83
+ FirstName: '',
84
+ LastName: '',
85
+ };
86
+ configData = null;
87
+ constructor(fb, server, utilService, envSvc, route, router, encryptionService) {
88
+ this.fb = fb;
89
+ this.server = server;
90
+ this.utilService = utilService;
91
+ this.envSvc = envSvc;
92
+ this.route = route;
93
+ this.router = router;
94
+ this.encryptionService = encryptionService;
95
+ this.loginForm = this.fb.group({
96
+ Email: new FormControl(null, [
97
+ Validators.required,
98
+ Validators.email,
99
+ ]),
100
+ Password: new FormControl(null, [
101
+ Validators.required,
102
+ Validators.minLength(5),
103
+ ]),
104
+ });
105
+ this.apiKey = this.envSvc.environment.Tenant;
106
+ this.secret = this.envSvc.environment.Secret;
107
+ }
108
+ async ngOnInit() {
109
+ await this.getTenantConfig();
110
+ this.route.queryParams.subscribe((params) => {
111
+ this.code = params['code'];
112
+ this.type = params['type'];
113
+ if (this.code) {
114
+ this.verifyUserDetails();
115
+ }
116
+ });
117
+ }
118
+ async getTenantConfig() {
119
+ const isLocalhost = window?.location?.hostname === 'localhost';
120
+ const payload = isLocalhost
121
+ ? {
122
+ Key: 'UrlKey',
123
+ Value: 'https://bovas.white360.net',
124
+ }
125
+ : undefined;
126
+ try {
127
+ const res = await this.server.post(`Tenant/GetTenantConfigByUrlKey`, payload);
128
+ this.tenantDetails = res;
129
+ this.configData = res;
130
+ this.AuthMechanisms = this.tenantDetails?.AuthMechanisms;
131
+ if (!this.tenantDetails?.AuthMechanism &&
132
+ this.tenantDetails?.AuthMechanism !== MechanismType.InApp) {
133
+ this.showform = false;
134
+ }
135
+ else {
136
+ this.showform = true;
137
+ }
138
+ this.tenantConfigLoaded.emit(this.configData);
139
+ }
140
+ catch (err) {
141
+ const msg = err;
142
+ this.tenantConfigLoaded.emit(null);
143
+ }
144
+ }
145
+ checkForm() {
146
+ return this.loginForm.valid;
147
+ }
148
+ async verifyUserDetails() {
149
+ if (this.AuthMechanisms !== null && this.apiKey) {
150
+ const data = this.AuthMechanisms.find((item) => item.AuthMechanism.includes(this.type));
151
+ const payload = {
152
+ AuthCode: this.code,
153
+ Tenant: this.apiKey,
154
+ AuthMechanism: data.AuthMechanism,
155
+ };
156
+ this.utilService.sendBI(true);
157
+ const res = await this.server.post(`Authentication/GetUserDetails`, payload);
158
+ this.utilService.sendBI(false);
159
+ if (res instanceof ErrorResponse) {
160
+ return;
161
+ }
162
+ else {
163
+ var result = res;
164
+ this.OauthData = {
165
+ AccessToken: result?.AccessToken,
166
+ Email: result?.Email,
167
+ FirstName: result?.FirstName,
168
+ LastName: result?.LastName,
169
+ };
170
+ this.submit(data.AuthMechanism);
171
+ }
172
+ }
173
+ }
174
+ async submit(type) {
175
+ let data = {
176
+ MailAddress: '',
177
+ Password: '',
178
+ LoginType: type,
179
+ Tenant: this.tenantDetails.TenantId,
180
+ Secrete: this.secret,
181
+ Token: '',
182
+ };
183
+ if (type === MechanismType.InApp && this.checkForm()) {
184
+ data = {
185
+ ...data,
186
+ MailAddress: this.loginForm.controls['Email'].value,
187
+ Password: String(CryptoJS.MD5(this.loginForm.controls['Password'].value)),
188
+ };
189
+ }
190
+ else if (type === MechanismType.Google ||
191
+ type === MechanismType.MicrosoftAD) {
192
+ data = {
193
+ ...data,
194
+ MailAddress: this.OauthData?.Email,
195
+ Token: this.OauthData?.AccessToken,
196
+ };
197
+ }
198
+ this.formSubmit.emit(data);
199
+ this.utilService.sendBI(true); // Preserving your utilService call
200
+ this.isLoading = true;
201
+ try {
202
+ const res = await this.server.post(`Authentication/Login`, data);
203
+ console.log('Response:', res);
204
+ this.utilService.sendBI(false); // Stop utilService tracking on success/failure
205
+ this.isLoading = false;
206
+ if (res instanceof ErrorResponse) {
207
+ this.onSubmitEnd.emit(res);
208
+ }
209
+ else {
210
+ const result = res;
211
+ this.onSubmitEnd.emit(result);
212
+ }
213
+ }
214
+ catch (error) {
215
+ this.utilService.sendBI(false); // Stop utilService tracking on error
216
+ this.isLoading = false;
217
+ console.error('Error during login:', error);
218
+ }
219
+ }
220
+ get styles() {
221
+ return {
222
+ 'background-color': this.bgColor,
223
+ 'box-shadow': this.boxShadow,
224
+ border: this.border,
225
+ 'border-radius': this.borderRadius,
226
+ color: this.textColor,
227
+ width: this.width,
228
+ 'max-width': this.maxWidth,
229
+ margin: this.margin,
230
+ height: this.height,
231
+ padding: this.pd,
232
+ };
233
+ }
234
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SignInComponent, deps: [{ token: i1.FormBuilder }, { token: i2.HttpWebRequestService }, { token: i2.UtilService }, { token: i2.EnvironmentService }, { token: i3.ActivatedRoute }, { token: i3.Router }, { token: i2.EncryptionService }], target: i0.ɵɵFactoryTarget.Component });
235
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SignInComponent, selector: "verben-sign-in", inputs: { headlingText: "headlingText", width: "width", maxWidth: "maxWidth", margin: "margin", pd: "pd", customClass: "customClass", headlingClass: "headlingClass", bgColor: "bgColor", boxShadow: "boxShadow", border: "border", borderRadius: "borderRadius", textColor: "textColor", height: "height", forgetPasswordClass: "forgetPasswordClass", requestAccessClass: "requestAccessClass", createAccountClass: "createAccountClass", createAccountLinkClass: "createAccountLinkClass", forgetPasswordLink: "forgetPasswordLink", createAccountLink: "createAccountLink", requestAccessLink: "requestAccessLink", btnClass: "btnClass", btnBgColor: "btnBgColor", btnColor: "btnColor", btnBorder: "btnBorder", btnBorderRadius: "btnBorderRadius", btnPd: "btnPd", btnText: "btnText", inputLabelColor: "inputLabelColor", inputBgColor: "inputBgColor", inputBorder: "inputBorder", inputBorderRadius: "inputBorderRadius", termsErrorText: "termsErrorText" }, outputs: { formSubmit: "formSubmit", onSubmitEnd: "onSubmitEnd", onGoogleAuthResponse: "onGoogleAuthResponse", onSubmitGoogleAuth: "onSubmitGoogleAuth", tenantConfigLoaded: "tenantConfigLoaded", googleClick: "googleClick", microsoftClick: "microsoftClick", appleClick: "appleClick" }, ngImport: i0, template: "<section\n[ngStyle]=\"styles\"\nclass=\"{{ customClass }}\"\n>\n <h2 class=\"{{headlingClass}}\">{{headlingText}}</h2>\n <form [formGroup]=\"loginForm\" (ngSubmit)=\"submit('InApp')\" class=\"flexWrapper\"> \n <div class=\"formWrapper\" *ngIf=\"showform\"> \n <verbena-input\n [label]=\"'Email'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'email'\"\n formControlName=\"Email\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div> \n <verbena-input\n [label]=\"'Password'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'password'\"\n formControlName=\"Password\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n [passwordToggle]=\"true\"\n [passLength]=\"5\"\n [customErrorMessages]=\"{\n password:'Password is required'\n }\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div class=\"pwdWrapper\"> \n <p clas=\"mb-0\"> <a [routerLink]=\"forgetPasswordLink\" class=\"{{forgetPasswordClass}}\">Forgot password</a></p>\n </div>\n </div>\n <lib-button \n [buttonClass]=\"btnClass\"\n [color]=\"btnColor\"\n [border]=\"btnBorder\"\n [borderRadius]=\"btnBorderRadius\"\n [bgColor]=\"btnBgColor\"\n [pd]=\"btnPd\"\n [text]=\"btnText\" \n type=\"submit\" \n [disabled]=\"!this.checkForm()\"\n ></lib-button>\n </div>\n <div> \n <p *ngIf=\"requestAccessLink\">\n <a [routerLink]=\"requestAccessLink\" class=\"{{requestAccessClass}}\">Click here to request user access</a>\n </p>\n \n </div>\n </form>\n <div> \n <div *ngIf=\"AuthMechanisms !== null\"> \n <verben-o-auth \n [authMechanisms]=\"AuthMechanisms\"\n ></verben-o-auth>\n </div>\n <p class=\"{{createAccountClass}}\" *ngIf=\"createAccountLink\">\n Don't have an account?\n <a [routerLink]=\"createAccountLink\" class=\"{{createAccountLinkClass}}\">Create an account</a>\n </p>\n </div>\n </section>\n ", styles: ["a{text-decoration:underline}.flexWrapper{display:flex;flex-direction:column;gap:20px;margin-top:12px}.formWrapper{display:flex;flex-direction:column;gap:20px}.pwdWrapper{display:flex;justify-content:flex-end;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "component", type: i5.VerbenaInputComponent, selector: "verbena-input", inputs: ["label", "placeHolder", "required", "svgPosition", "minLength", "maxLength", "type", "bgColor", "border", "borderRadius", "textColor", "value", "labelPosition", "labelColor", "disable", "readOnly", "min", "max", "showBorder", "showErrorMessage", "errorMessageColor", "errorBorderColor", "errorPosition", "svg", "fontSize", "svgWidth", "svgHeight", "svgColor", "capitalization", "inputContainerClass", "inputFieldClass", "passLength", "inputWrapperClass", "passwordToggle", "customErrorMessages", "icon", "textPass"], outputs: ["valueChange"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i6.OAuthComponent, selector: "verben-o-auth", inputs: ["authMechanisms"], outputs: ["emitMechanismFn"] }, { kind: "component", type: i7.ButtonComponent, selector: "lib-button", inputs: ["text", "color", "border", "borderRadius", "bgColor", "width", "pd", "buttonClass", "disabled"], outputs: ["buttonClick"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] });
236
+ }
237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SignInComponent, decorators: [{
238
+ type: Component,
239
+ args: [{ selector: 'verben-sign-in', template: "<section\n[ngStyle]=\"styles\"\nclass=\"{{ customClass }}\"\n>\n <h2 class=\"{{headlingClass}}\">{{headlingText}}</h2>\n <form [formGroup]=\"loginForm\" (ngSubmit)=\"submit('InApp')\" class=\"flexWrapper\"> \n <div class=\"formWrapper\" *ngIf=\"showform\"> \n <verbena-input\n [label]=\"'Email'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'email'\"\n formControlName=\"Email\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div> \n <verbena-input\n [label]=\"'Password'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'password'\"\n formControlName=\"Password\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n [passwordToggle]=\"true\"\n [passLength]=\"5\"\n [customErrorMessages]=\"{\n password:'Password is required'\n }\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div class=\"pwdWrapper\"> \n <p clas=\"mb-0\"> <a [routerLink]=\"forgetPasswordLink\" class=\"{{forgetPasswordClass}}\">Forgot password</a></p>\n </div>\n </div>\n <lib-button \n [buttonClass]=\"btnClass\"\n [color]=\"btnColor\"\n [border]=\"btnBorder\"\n [borderRadius]=\"btnBorderRadius\"\n [bgColor]=\"btnBgColor\"\n [pd]=\"btnPd\"\n [text]=\"btnText\" \n type=\"submit\" \n [disabled]=\"!this.checkForm()\"\n ></lib-button>\n </div>\n <div> \n <p *ngIf=\"requestAccessLink\">\n <a [routerLink]=\"requestAccessLink\" class=\"{{requestAccessClass}}\">Click here to request user access</a>\n </p>\n \n </div>\n </form>\n <div> \n <div *ngIf=\"AuthMechanisms !== null\"> \n <verben-o-auth \n [authMechanisms]=\"AuthMechanisms\"\n ></verben-o-auth>\n </div>\n <p class=\"{{createAccountClass}}\" *ngIf=\"createAccountLink\">\n Don't have an account?\n <a [routerLink]=\"createAccountLink\" class=\"{{createAccountLinkClass}}\">Create an account</a>\n </p>\n </div>\n </section>\n ", styles: ["a{text-decoration:underline}.flexWrapper{display:flex;flex-direction:column;gap:20px;margin-top:12px}.formWrapper{display:flex;flex-direction:column;gap:20px}.pwdWrapper{display:flex;justify-content:flex-end;cursor:pointer}\n"] }]
240
+ }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i2.HttpWebRequestService }, { type: i2.UtilService }, { type: i2.EnvironmentService }, { type: i3.ActivatedRoute }, { type: i3.Router }, { type: i2.EncryptionService }], propDecorators: { headlingText: [{
241
+ type: Input
242
+ }], width: [{
243
+ type: Input
244
+ }], maxWidth: [{
245
+ type: Input
246
+ }], margin: [{
247
+ type: Input
248
+ }], pd: [{
249
+ type: Input
250
+ }], customClass: [{
251
+ type: Input
252
+ }], headlingClass: [{
253
+ type: Input
254
+ }], bgColor: [{
255
+ type: Input
256
+ }], boxShadow: [{
257
+ type: Input
258
+ }], border: [{
259
+ type: Input
260
+ }], borderRadius: [{
261
+ type: Input
262
+ }], textColor: [{
263
+ type: Input
264
+ }], height: [{
265
+ type: Input
266
+ }], forgetPasswordClass: [{
267
+ type: Input
268
+ }], requestAccessClass: [{
269
+ type: Input
270
+ }], createAccountClass: [{
271
+ type: Input
272
+ }], createAccountLinkClass: [{
273
+ type: Input
274
+ }], forgetPasswordLink: [{
275
+ type: Input
276
+ }], createAccountLink: [{
277
+ type: Input
278
+ }], requestAccessLink: [{
279
+ type: Input
280
+ }], btnClass: [{
281
+ type: Input
282
+ }], btnBgColor: [{
283
+ type: Input
284
+ }], btnColor: [{
285
+ type: Input
286
+ }], btnBorder: [{
287
+ type: Input
288
+ }], btnBorderRadius: [{
289
+ type: Input
290
+ }], btnPd: [{
291
+ type: Input
292
+ }], btnText: [{
293
+ type: Input
294
+ }], inputLabelColor: [{
295
+ type: Input
296
+ }], inputBgColor: [{
297
+ type: Input
298
+ }], inputBorder: [{
299
+ type: Input
300
+ }], inputBorderRadius: [{
301
+ type: Input
302
+ }], termsErrorText: [{
303
+ type: Input
304
+ }], formSubmit: [{
305
+ type: Output
306
+ }], onSubmitEnd: [{
307
+ type: Output
308
+ }], onGoogleAuthResponse: [{
309
+ type: Output
310
+ }], onSubmitGoogleAuth: [{
311
+ type: Output
312
+ }], tenantConfigLoaded: [{
313
+ type: Output
314
+ }], googleClick: [{
315
+ type: Output
316
+ }], microsoftClick: [{
317
+ type: Output
318
+ }], appleClick: [{
319
+ type: Output
320
+ }] } });
321
+
322
+ class SignInModule {
323
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SignInModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
324
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SignInModule, declarations: [SignInComponent], imports: [CommonModule,
325
+ FormsModule,
326
+ VerbenaInputModule,
327
+ VerbenaButtonModule,
328
+ RouterLink,
329
+ OAuthModule,
330
+ ButtonModule,
331
+ ReactiveFormsModule], exports: [SignInComponent] });
332
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SignInModule, imports: [CommonModule,
333
+ FormsModule,
334
+ VerbenaInputModule,
335
+ VerbenaButtonModule,
336
+ OAuthModule,
337
+ ButtonModule,
338
+ ReactiveFormsModule] });
339
+ }
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SignInModule, decorators: [{
341
+ type: NgModule,
342
+ args: [{
343
+ declarations: [SignInComponent],
344
+ imports: [
345
+ CommonModule,
346
+ FormsModule,
347
+ VerbenaInputModule,
348
+ VerbenaButtonModule,
349
+ RouterLink,
350
+ OAuthModule,
351
+ ButtonModule,
352
+ ReactiveFormsModule,
353
+ ],
354
+ exports: [SignInComponent],
355
+ }]
356
+ }] });
357
+
358
+ /**
359
+ * Generated bundle index. Do not edit.
360
+ */
361
+
362
+ export { SignInComponent, SignInModule };
363
+ //# sourceMappingURL=verben-authentication-ui-src-lib-components-sign-in.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verben-authentication-ui-src-lib-components-sign-in.mjs","sources":["../../../projects/verben-authentication-ui/src/lib/components/sign-in/sign-in.component.ts","../../../projects/verben-authentication-ui/src/lib/components/sign-in/sign-in.component.html","../../../projects/verben-authentication-ui/src/lib/components/sign-in/sign-in.module.ts","../../../projects/verben-authentication-ui/src/lib/components/sign-in/verben-authentication-ui-src-lib-components-sign-in.ts"],"sourcesContent":["import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport {\n AbstractControl,\n FormBuilder,\n FormControl,\n FormGroup,\n ValidationErrors,\n Validators,\n} from '@angular/forms';\nimport { LoginData } from 'verben-authentication-ui/src/lib/models';\nimport { HttpWebRequestService } from 'verben-authentication-ui/src/lib/services';\nimport { UtilService } from 'verben-authentication-ui/src/lib/services';\nimport { ErrorResponse } from 'verben-authentication-ui/src/lib/models';\nimport { ResponseKeyValue } from 'verben-authentication-ui/src/lib/models';\nimport { EnvironmentService } from 'verben-authentication-ui/src/lib/services';\nimport {\n AuthMechanism,\n MechanismType,\n} from 'verben-authentication-ui/src/lib/models';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { IOauthResp } from 'verben-authentication-ui/src/lib/models';\nimport { TenantConfig } from 'verben-authentication-ui/src/lib/models';\nimport { EncryptionService } from 'verben-authentication-ui/src/lib/services';\nimport CryptoJS from 'crypto-js';\n@Component({\n selector: 'verben-sign-in',\n templateUrl: './sign-in.component.html',\n styleUrl: './sign-in.component.css',\n})\nexport class SignInComponent implements OnInit {\n @Input() headlingText: string = 'Sign in';\n @Input() width: string = '';\n @Input() maxWidth: string = '';\n @Input() margin: string = '';\n @Input() pd: string = '';\n @Input() customClass: string = '';\n @Input() headlingClass: string = '';\n @Input() bgColor: string = '#fff';\n @Input() boxShadow: string = '4px 4px 4px rgba(0, 0, 0, 0.25)';\n @Input() border: string = '1px solid #66666680';\n @Input() borderRadius: string = '24px';\n @Input() textColor: string = '#333';\n @Input() height: string = 'auto';\n @Input() forgetPasswordClass: string = '';\n @Input() requestAccessClass: string = '';\n @Input() createAccountClass: string = '';\n @Input() createAccountLinkClass: string = '';\n\n // links\n @Input() forgetPasswordLink: string = '';\n @Input() createAccountLink: string = '';\n @Input() requestAccessLink: string = '';\n // button styles\n @Input() btnClass: string = '';\n @Input() btnBgColor: string = '#FFE681';\n @Input() btnColor: string = '';\n @Input() btnBorder: string = '';\n @Input() btnBorderRadius: string = '24px';\n @Input() btnPd: string = '';\n @Input() btnText: string = 'Log in';\n\n //inputStyles\n @Input() inputLabelColor: string = '';\n @Input() inputBgColor: string = 'transparent';\n @Input() inputBorder: string = '1px solid #66666659';\n @Input() inputBorderRadius: string = '12px';\n @Input() termsErrorText: string =\n 'Please agree to the terms of use and privacy policy.';\n\n @Output() formSubmit = new EventEmitter<LoginData>();\n @Output() onSubmitEnd: EventEmitter<ResponseKeyValue | ErrorResponse> =\n new EventEmitter();\n @Output() onGoogleAuthResponse: EventEmitter<\n ResponseKeyValue | ErrorResponse\n > = new EventEmitter();\n @Output() onSubmitGoogleAuth: EventEmitter<ResponseKeyValue | ErrorResponse> =\n new EventEmitter();\n @Output() tenantConfigLoaded = new EventEmitter<TenantConfig | null>();\n @Output() googleClick = new EventEmitter();\n @Output() microsoftClick = new EventEmitter();\n @Output() appleClick = new EventEmitter();\n\n tenantDetails: any | null = null;\n AuthMechanisms: AuthMechanism[] | null = null;\n showform: boolean = false;\n loginForm: FormGroup;\n apiKey: string;\n secret: string;\n isLoading: boolean = false;\n code: string = '';\n type: string = '';\n mechanismType: string = '';\n OauthData: IOauthResp = {\n AccessToken: '',\n Email: '',\n FirstName: '',\n LastName: '',\n };\n configData: TenantConfig | null = null;\n\n constructor(\n private fb: FormBuilder,\n private server: HttpWebRequestService,\n private utilService: UtilService,\n private envSvc: EnvironmentService,\n private route: ActivatedRoute,\n private router: Router,\n private encryptionService: EncryptionService\n ) {\n this.loginForm = this.fb.group({\n Email: new FormControl<string | null>(null, [\n Validators.required,\n Validators.email,\n ]),\n Password: new FormControl<string | null>(null, [\n Validators.required,\n Validators.minLength(5),\n ]),\n });\n this.apiKey = this.envSvc.environment.Tenant;\n this.secret = this.envSvc.environment.Secret;\n }\n\n async ngOnInit() {\n await this.getTenantConfig();\n this.route.queryParams.subscribe((params) => {\n this.code = params['code'];\n this.type = params['type'];\n if (this.code) {\n this.verifyUserDetails();\n }\n });\n }\n\n async getTenantConfig() {\n const isLocalhost = window?.location?.hostname === 'localhost';\n const payload = isLocalhost\n ? {\n Key: 'UrlKey',\n Value: 'https://bovas.white360.net',\n }\n : undefined;\n try {\n const res = await this.server.post<TenantConfig>(\n `Tenant/GetTenantConfigByUrlKey`,\n payload\n );\n this.tenantDetails = res;\n this.configData = res;\n this.AuthMechanisms = this.tenantDetails?.AuthMechanisms;\n if (\n !this.tenantDetails?.AuthMechanism &&\n this.tenantDetails?.AuthMechanism !== MechanismType.InApp\n ) {\n this.showform = false;\n } else {\n this.showform = true;\n }\n this.tenantConfigLoaded.emit(this.configData);\n } catch (err) {\n const msg = err;\n this.tenantConfigLoaded.emit(null);\n }\n }\n\n checkForm(): boolean {\n return this.loginForm.valid;\n }\n\n async verifyUserDetails() {\n if (this.AuthMechanisms !== null && this.apiKey) {\n const data: any = this.AuthMechanisms.find((item) =>\n item.AuthMechanism.includes(this.type)\n );\n const payload = {\n AuthCode: this.code,\n Tenant: this.apiKey,\n AuthMechanism: data.AuthMechanism,\n };\n\n this.utilService.sendBI(true);\n const res = await this.server.post(\n `Authentication/GetUserDetails`,\n payload\n );\n this.utilService.sendBI(false);\n if (res instanceof ErrorResponse) {\n return;\n } else {\n var result = res as IOauthResp;\n this.OauthData = {\n AccessToken: result?.AccessToken,\n Email: result?.Email,\n FirstName: result?.FirstName,\n LastName: result?.LastName,\n };\n\n this.submit(data.AuthMechanism);\n }\n }\n }\n\n async submit(type: string) {\n let data: LoginData = {\n MailAddress: '',\n Password: '',\n LoginType: type,\n Tenant: this.tenantDetails.TenantId,\n Secrete: this.secret,\n Token: '',\n };\n\n if (type === MechanismType.InApp && this.checkForm()) {\n data = {\n ...data,\n MailAddress: this.loginForm.controls['Email'].value,\n Password: String(\n CryptoJS.MD5(this.loginForm.controls['Password'].value)\n ),\n };\n } else if (\n type === MechanismType.Google ||\n type === MechanismType.MicrosoftAD\n ) {\n data = {\n ...data,\n MailAddress: this.OauthData?.Email,\n Token: this.OauthData?.AccessToken,\n };\n }\n\n this.formSubmit.emit(data);\n this.utilService.sendBI(true); // Preserving your utilService call\n this.isLoading = true;\n\n try {\n const res = await this.server.post(`Authentication/Login`, data);\n console.log('Response:', res);\n this.utilService.sendBI(false); // Stop utilService tracking on success/failure\n this.isLoading = false;\n\n if (res instanceof ErrorResponse) {\n this.onSubmitEnd.emit(res);\n } else {\n const result = res as ResponseKeyValue;\n this.onSubmitEnd.emit(result);\n }\n } catch (error) {\n this.utilService.sendBI(false); // Stop utilService tracking on error\n this.isLoading = false;\n console.error('Error during login:', error);\n }\n }\n\n get styles() {\n return {\n 'background-color': this.bgColor,\n 'box-shadow': this.boxShadow,\n border: this.border,\n 'border-radius': this.borderRadius,\n color: this.textColor,\n width: this.width,\n 'max-width': this.maxWidth,\n margin: this.margin,\n height: this.height,\n padding: this.pd,\n };\n }\n}\n","<section\n[ngStyle]=\"styles\"\nclass=\"{{ customClass }}\"\n>\n <h2 class=\"{{headlingClass}}\">{{headlingText}}</h2>\n <form [formGroup]=\"loginForm\" (ngSubmit)=\"submit('InApp')\" class=\"flexWrapper\"> \n <div class=\"formWrapper\" *ngIf=\"showform\"> \n <verbena-input\n [label]=\"'Email'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'email'\"\n formControlName=\"Email\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div> \n <verbena-input\n [label]=\"'Password'\"\n [labelColor]=\"inputLabelColor\"\n [placeHolder]=\"''\"\n [required]=\"true\"\n [type]=\"'password'\"\n formControlName=\"Password\"\n [showBorder]=\"true\"\n [bgColor]=\"inputBgColor\"\n [border]=\"inputBorder\"\n [borderRadius]=\"inputBorderRadius\"\n [showErrorMessage]=\"true\"\n [errorMessageColor]=\"'red'\"\n [errorBorderColor]=\"'red'\"\n [errorPosition]=\"'bottom'\"\n [passwordToggle]=\"true\"\n [passLength]=\"5\"\n [customErrorMessages]=\"{\n password:'Password is required'\n }\"\n class=\"outline-none focus-none\"\n ></verbena-input>\n <div class=\"pwdWrapper\"> \n <p clas=\"mb-0\"> <a [routerLink]=\"forgetPasswordLink\" class=\"{{forgetPasswordClass}}\">Forgot password</a></p>\n </div>\n </div>\n <lib-button \n [buttonClass]=\"btnClass\"\n [color]=\"btnColor\"\n [border]=\"btnBorder\"\n [borderRadius]=\"btnBorderRadius\"\n [bgColor]=\"btnBgColor\"\n [pd]=\"btnPd\"\n [text]=\"btnText\" \n type=\"submit\" \n [disabled]=\"!this.checkForm()\"\n ></lib-button>\n </div>\n <div> \n <p *ngIf=\"requestAccessLink\">\n <a [routerLink]=\"requestAccessLink\" class=\"{{requestAccessClass}}\">Click here to request user access</a>\n </p>\n \n </div>\n </form>\n <div> \n <div *ngIf=\"AuthMechanisms !== null\"> \n <verben-o-auth \n [authMechanisms]=\"AuthMechanisms\"\n ></verben-o-auth>\n </div>\n <p class=\"{{createAccountClass}}\" *ngIf=\"createAccountLink\">\n Don't have an account?\n <a [routerLink]=\"createAccountLink\" class=\"{{createAccountLinkClass}}\">Create an account</a>\n </p>\n </div>\n </section>\n ","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SignInComponent } from './sign-in.component';\nimport { FormsModule } from '@angular/forms';\nimport { RouterLink } from '@angular/router';\nimport { VerbenaButtonModule, VerbenaInputModule } from 'verben-ng-ui';\nimport { OAuthModule } from 'verben-authentication-ui/src/lib/components/o-auth';\nimport { ButtonModule } from 'verben-authentication-ui/src/lib/components/button';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [SignInComponent],\n imports: [\n CommonModule,\n FormsModule,\n VerbenaInputModule,\n VerbenaButtonModule,\n RouterLink,\n OAuthModule,\n ButtonModule,\n ReactiveFormsModule,\n ],\n exports: [SignInComponent],\n})\nexport class SignInModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MA6Ba,eAAe,CAAA;AAwEhB,IAAA,EAAA,CAAA;AACA,IAAA,MAAA,CAAA;AACA,IAAA,WAAA,CAAA;AACA,IAAA,MAAA,CAAA;AACA,IAAA,KAAA,CAAA;AACA,IAAA,MAAA,CAAA;AACA,IAAA,iBAAA,CAAA;IA7ED,YAAY,GAAW,SAAS,CAAC;IACjC,KAAK,GAAW,EAAE,CAAC;IACnB,QAAQ,GAAW,EAAE,CAAC;IACtB,MAAM,GAAW,EAAE,CAAC;IACpB,EAAE,GAAW,EAAE,CAAC;IAChB,WAAW,GAAW,EAAE,CAAC;IACzB,aAAa,GAAW,EAAE,CAAC;IAC3B,OAAO,GAAW,MAAM,CAAC;IACzB,SAAS,GAAW,iCAAiC,CAAC;IACtD,MAAM,GAAW,qBAAqB,CAAC;IACvC,YAAY,GAAW,MAAM,CAAC;IAC9B,SAAS,GAAW,MAAM,CAAC;IAC3B,MAAM,GAAW,MAAM,CAAC;IACxB,mBAAmB,GAAW,EAAE,CAAC;IACjC,kBAAkB,GAAW,EAAE,CAAC;IAChC,kBAAkB,GAAW,EAAE,CAAC;IAChC,sBAAsB,GAAW,EAAE,CAAC;;IAGpC,kBAAkB,GAAW,EAAE,CAAC;IAChC,iBAAiB,GAAW,EAAE,CAAC;IAC/B,iBAAiB,GAAW,EAAE,CAAC;;IAE/B,QAAQ,GAAW,EAAE,CAAC;IACtB,UAAU,GAAW,SAAS,CAA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