@daffodil/auth 0.66.1 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/{esm2020 → esm2022}/driver/in-memory/backend/auth.service.mjs +4 -4
  2. package/{esm2020 → esm2022}/driver/in-memory/drivers/auth/auth.service.mjs +5 -5
  3. package/{esm2020 → esm2022}/driver/in-memory/drivers/auth-driver.module.mjs +5 -5
  4. package/{esm2020 → esm2022}/driver/in-memory/drivers/login/login.service.mjs +5 -5
  5. package/{esm2020 → esm2022}/driver/in-memory/drivers/register/register.service.mjs +5 -5
  6. package/{esm2020 → esm2022}/driver/in-memory/drivers/reset-password/service.mjs +5 -5
  7. package/{esm2020 → esm2022}/driver/magento/apollo-bearer-token-link-generator.mjs +5 -5
  8. package/{esm2020 → esm2022}/driver/magento/auth-driver.module.mjs +5 -5
  9. package/{esm2020 → esm2022}/driver/magento/auth.service.mjs +5 -5
  10. package/{esm2020 → esm2022}/driver/magento/login.service.mjs +5 -5
  11. package/{esm2020 → esm2022}/driver/magento/register.service.mjs +5 -5
  12. package/{esm2020 → esm2022}/driver/magento/reset-password.service.mjs +5 -5
  13. package/{esm2020 → esm2022}/driver/magento/transforms/auth-transformer.service.mjs +4 -4
  14. package/{esm2020 → esm2022}/driver/services/auth-check.service.mjs +6 -6
  15. package/{esm2020 → esm2022}/driver/testing/drivers/auth/auth.service.mjs +4 -4
  16. package/{esm2020 → esm2022}/driver/testing/drivers/auth-driver.module.mjs +5 -5
  17. package/{esm2020 → esm2022}/driver/testing/drivers/login/login.service.mjs +5 -5
  18. package/{esm2020 → esm2022}/driver/testing/drivers/register/register.service.mjs +5 -5
  19. package/{esm2020 → esm2022}/driver/testing/drivers/reset-password/service.mjs +5 -5
  20. package/{esm2020 → esm2022}/routing/effects/redirect.effects.mjs +6 -6
  21. package/{esm2020 → esm2022}/routing/guards/guest-only.guard.mjs +7 -7
  22. package/{esm2020 → esm2022}/routing/guards/member-only.guard.mjs +7 -7
  23. package/{esm2020 → esm2022}/routing/guards/reset-password.guard.mjs +6 -6
  24. package/{esm2020 → esm2022}/routing/module.mjs +9 -9
  25. package/esm2022/routing/redirect.module.mjs +40 -0
  26. package/esm2022/state/auth-state.module.mjs +88 -0
  27. package/{esm2020 → esm2022}/state/effects/auth.effects.mjs +6 -6
  28. package/{esm2020 → esm2022}/state/effects/login.effects.mjs +6 -6
  29. package/{esm2020 → esm2022}/state/effects/register.effects.mjs +6 -6
  30. package/{esm2020 → esm2022}/state/effects/reset-password.effects.mjs +6 -6
  31. package/{esm2020 → esm2022}/state/facades/auth/facade.mjs +5 -5
  32. package/{esm2020 → esm2022}/state/facades/login/facade.mjs +5 -5
  33. package/{esm2020 → esm2022}/state/facades/register/facade.mjs +5 -5
  34. package/{esm2020 → esm2022}/state/facades/reset-password/facade.mjs +5 -5
  35. package/{esm2020 → esm2022}/state/testing/auth-testing.module.mjs +10 -10
  36. package/{esm2020 → esm2022}/state/testing/mock-auth-facade.mjs +4 -4
  37. package/{esm2020 → esm2022}/state/testing/mock-login-facade.mjs +4 -4
  38. package/{esm2020 → esm2022}/state/testing/mock-register-facade.mjs +4 -4
  39. package/{esm2020 → esm2022}/state/testing/mock-reset-password-facade.mjs +4 -4
  40. package/{esm2020 → esm2022}/storage/auth-storage.service.mjs +6 -6
  41. package/{esm2020 → esm2022}/testing/factories/account-registration.factory.mjs +5 -5
  42. package/{esm2020 → esm2022}/testing/factories/auth-token.factory.mjs +5 -5
  43. package/{esm2020 → esm2022}/testing/factories/reset-password-info.factory.mjs +5 -5
  44. package/{fesm2020 → fesm2022}/daffodil-auth-driver-in-memory.mjs +23 -23
  45. package/{fesm2020 → fesm2022}/daffodil-auth-driver-in-memory.mjs.map +1 -1
  46. package/{fesm2020 → fesm2022}/daffodil-auth-driver-magento.mjs +27 -27
  47. package/{fesm2020 → fesm2022}/daffodil-auth-driver-magento.mjs.map +1 -1
  48. package/{fesm2020 → fesm2022}/daffodil-auth-driver-testing.mjs +19 -19
  49. package/{fesm2020 → fesm2022}/daffodil-auth-driver-testing.mjs.map +1 -1
  50. package/{fesm2020 → fesm2022}/daffodil-auth-driver.mjs +5 -5
  51. package/{fesm2020 → fesm2022}/daffodil-auth-driver.mjs.map +1 -1
  52. package/{fesm2020 → fesm2022}/daffodil-auth-routing.mjs +40 -40
  53. package/fesm2022/daffodil-auth-routing.mjs.map +1 -0
  54. package/fesm2022/daffodil-auth-state-testing.mjs +107 -0
  55. package/{fesm2020 → fesm2022}/daffodil-auth-state-testing.mjs.map +1 -1
  56. package/{fesm2020 → fesm2022}/daffodil-auth-state.mjs +64 -64
  57. package/{fesm2020 → fesm2022}/daffodil-auth-state.mjs.map +1 -1
  58. package/{fesm2020 → fesm2022}/daffodil-auth-testing.mjs +12 -12
  59. package/{fesm2020 → fesm2022}/daffodil-auth-testing.mjs.map +1 -1
  60. package/{fesm2020 → fesm2022}/daffodil-auth.mjs +5 -5
  61. package/{fesm2020 → fesm2022}/daffodil-auth.mjs.map +1 -1
  62. package/package.json +1 -1
  63. package/routing/guards/guest-only.guard.d.ts +2 -2
  64. package/routing/guards/member-only.guard.d.ts +2 -2
  65. package/routing/guards/reset-password.guard.d.ts +2 -2
  66. package/state/actions/auth.actions.d.ts +1 -1
  67. package/state/actions/login.actions.d.ts +1 -1
  68. package/state/actions/register.actions.d.ts +1 -1
  69. package/state/actions/reset-password.actions.d.ts +1 -1
  70. package/state/injection-tokens/unauthenticated/hook.type.d.ts +1 -1
  71. package/state/reducers/login/login-reducer-state.interface.d.ts +1 -1
  72. package/state/reducers/register/register-reducer-state.interface.d.ts +1 -1
  73. package/esm2020/routing/redirect.module.mjs +0 -40
  74. package/esm2020/state/auth-state.module.mjs +0 -88
  75. package/fesm2015/daffodil-auth-driver-in-memory.mjs +0 -256
  76. package/fesm2015/daffodil-auth-driver-in-memory.mjs.map +0 -1
  77. package/fesm2015/daffodil-auth-driver-magento.mjs +0 -372
  78. package/fesm2015/daffodil-auth-driver-magento.mjs.map +0 -1
  79. package/fesm2015/daffodil-auth-driver-testing.mjs +0 -139
  80. package/fesm2015/daffodil-auth-driver-testing.mjs.map +0 -1
  81. package/fesm2015/daffodil-auth-driver.mjs +0 -119
  82. package/fesm2015/daffodil-auth-driver.mjs.map +0 -1
  83. package/fesm2015/daffodil-auth-routing.mjs +0 -262
  84. package/fesm2015/daffodil-auth-routing.mjs.map +0 -1
  85. package/fesm2015/daffodil-auth-state-testing.mjs +0 -107
  86. package/fesm2015/daffodil-auth-state-testing.mjs.map +0 -1
  87. package/fesm2015/daffodil-auth-state.mjs +0 -853
  88. package/fesm2015/daffodil-auth-state.mjs.map +0 -1
  89. package/fesm2015/daffodil-auth-testing.mjs +0 -77
  90. package/fesm2015/daffodil-auth-testing.mjs.map +0 -1
  91. package/fesm2015/daffodil-auth.mjs +0 -63
  92. package/fesm2015/daffodil-auth.mjs.map +0 -1
  93. package/fesm2020/daffodil-auth-routing.mjs.map +0 -1
  94. package/fesm2020/daffodil-auth-state-testing.mjs +0 -107
  95. /package/{esm2020 → esm2022}/daffodil-auth.mjs +0 -0
  96. /package/{esm2020 → esm2022}/driver/constants/public_api.mjs +0 -0
  97. /package/{esm2020 → esm2022}/driver/constants/unauthenticated-error-codes.mjs +0 -0
  98. /package/{esm2020 → esm2022}/driver/daffodil-auth-driver.mjs +0 -0
  99. /package/{esm2020 → esm2022}/driver/errors/authentication-failed.mjs +0 -0
  100. /package/{esm2020 → esm2022}/driver/errors/codes.enum.mjs +0 -0
  101. /package/{esm2020 → esm2022}/driver/errors/invalid-api-response.mjs +0 -0
  102. /package/{esm2020 → esm2022}/driver/errors/map.mjs +0 -0
  103. /package/{esm2020 → esm2022}/driver/errors/public_api.mjs +0 -0
  104. /package/{esm2020 → esm2022}/driver/errors/registration-failed.mjs +0 -0
  105. /package/{esm2020 → esm2022}/driver/errors/unauthorized.mjs +0 -0
  106. /package/{esm2020 → esm2022}/driver/in-memory/daffodil-auth-driver-in-memory.mjs +0 -0
  107. /package/{esm2020 → esm2022}/driver/in-memory/drivers/public_api.mjs +0 -0
  108. /package/{esm2020 → esm2022}/driver/in-memory/index.mjs +0 -0
  109. /package/{esm2020 → esm2022}/driver/in-memory/models/db-customer.type.mjs +0 -0
  110. /package/{esm2020 → esm2022}/driver/in-memory/public_api.mjs +0 -0
  111. /package/{esm2020 → esm2022}/driver/index.mjs +0 -0
  112. /package/{esm2020 → esm2022}/driver/interfaces/auth-service.interface.mjs +0 -0
  113. /package/{esm2020 → esm2022}/driver/interfaces/login-service.interface.mjs +0 -0
  114. /package/{esm2020 → esm2022}/driver/interfaces/public_api.mjs +0 -0
  115. /package/{esm2020 → esm2022}/driver/interfaces/register-service.interface.mjs +0 -0
  116. /package/{esm2020 → esm2022}/driver/interfaces/reset-password-service.interface.mjs +0 -0
  117. /package/{esm2020 → esm2022}/driver/magento/daffodil-auth-driver-magento.mjs +0 -0
  118. /package/{esm2020 → esm2022}/driver/magento/errors/codes.mjs +0 -0
  119. /package/{esm2020 → esm2022}/driver/magento/errors/map.mjs +0 -0
  120. /package/{esm2020 → esm2022}/driver/magento/errors/transform.mjs +0 -0
  121. /package/{esm2020 → esm2022}/driver/magento/index.mjs +0 -0
  122. /package/{esm2020 → esm2022}/driver/magento/models/public_api.mjs +0 -0
  123. /package/{esm2020 → esm2022}/driver/magento/models/response/auth.mjs +0 -0
  124. /package/{esm2020 → esm2022}/driver/magento/models/response/register.type.mjs +0 -0
  125. /package/{esm2020 → esm2022}/driver/magento/models/response/reset-password.type.mjs +0 -0
  126. /package/{esm2020 → esm2022}/driver/magento/models/response/send-reset-email.type.mjs +0 -0
  127. /package/{esm2020 → esm2022}/driver/magento/public_api.mjs +0 -0
  128. /package/{esm2020 → esm2022}/driver/magento/queries/check-token.mjs +0 -0
  129. /package/{esm2020 → esm2022}/driver/magento/queries/create-customer.mjs +0 -0
  130. /package/{esm2020 → esm2022}/driver/magento/queries/generate-token.mjs +0 -0
  131. /package/{esm2020 → esm2022}/driver/magento/queries/public_api.mjs +0 -0
  132. /package/{esm2020 → esm2022}/driver/magento/queries/reset-password.mjs +0 -0
  133. /package/{esm2020 → esm2022}/driver/magento/queries/responses/check-token-response.mjs +0 -0
  134. /package/{esm2020 → esm2022}/driver/magento/queries/responses/generate-token-response.mjs +0 -0
  135. /package/{esm2020 → esm2022}/driver/magento/queries/responses/public_api.mjs +0 -0
  136. /package/{esm2020 → esm2022}/driver/magento/queries/responses/revoke-customer-token-response.mjs +0 -0
  137. /package/{esm2020 → esm2022}/driver/magento/queries/revoke-customer-token.mjs +0 -0
  138. /package/{esm2020 → esm2022}/driver/magento/queries/send-reset-email.mjs +0 -0
  139. /package/{esm2020 → esm2022}/driver/magento/validators/check-token.mjs +0 -0
  140. /package/{esm2020 → esm2022}/driver/magento/validators/generate-token.mjs +0 -0
  141. /package/{esm2020 → esm2022}/driver/magento/validators/public_api.mjs +0 -0
  142. /package/{esm2020 → esm2022}/driver/magento/validators/reset-password.mjs +0 -0
  143. /package/{esm2020 → esm2022}/driver/magento/validators/revoke-token.mjs +0 -0
  144. /package/{esm2020 → esm2022}/driver/magento/validators/send-reset-email.mjs +0 -0
  145. /package/{esm2020 → esm2022}/driver/public_api.mjs +0 -0
  146. /package/{esm2020 → esm2022}/driver/services/public_api.mjs +0 -0
  147. /package/{esm2020 → esm2022}/driver/testing/daffodil-auth-driver-testing.mjs +0 -0
  148. /package/{esm2020 → esm2022}/driver/testing/drivers/public_api.mjs +0 -0
  149. /package/{esm2020 → esm2022}/driver/testing/index.mjs +0 -0
  150. /package/{esm2020 → esm2022}/driver/testing/public_api.mjs +0 -0
  151. /package/{esm2020 → esm2022}/errors/codes.enum.mjs +0 -0
  152. /package/{esm2020 → esm2022}/errors/map.mjs +0 -0
  153. /package/{esm2020 → esm2022}/errors/missing-token.mjs +0 -0
  154. /package/{esm2020 → esm2022}/errors/public_api.mjs +0 -0
  155. /package/{esm2020 → esm2022}/index.mjs +0 -0
  156. /package/{esm2020 → esm2022}/models/account-registration.mjs +0 -0
  157. /package/{esm2020 → esm2022}/models/auth-token.mjs +0 -0
  158. /package/{esm2020 → esm2022}/models/login-info.mjs +0 -0
  159. /package/{esm2020 → esm2022}/models/public_api.mjs +0 -0
  160. /package/{esm2020 → esm2022}/models/reset-password-info.type.mjs +0 -0
  161. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
  162. /package/{esm2020 → esm2022}/routing/config/default.mjs +0 -0
  163. /package/{esm2020 → esm2022}/routing/config/interface.mjs +0 -0
  164. /package/{esm2020 → esm2022}/routing/config/public_api.mjs +0 -0
  165. /package/{esm2020 → esm2022}/routing/config/token.mjs +0 -0
  166. /package/{esm2020 → esm2022}/routing/daffodil-auth-routing.mjs +0 -0
  167. /package/{esm2020 → esm2022}/routing/guards/guest-only-guard-redirect.token.mjs +0 -0
  168. /package/{esm2020 → esm2022}/routing/guards/member-only-guard-redirect.token.mjs +0 -0
  169. /package/{esm2020 → esm2022}/routing/guards/public_api.mjs +0 -0
  170. /package/{esm2020 → esm2022}/routing/helpers/public_api.mjs +0 -0
  171. /package/{esm2020 → esm2022}/routing/helpers/redirect-unauthenticated-hook-factory.mjs +0 -0
  172. /package/{esm2020 → esm2022}/routing/index.mjs +0 -0
  173. /package/{esm2020 → esm2022}/routing/public_api.mjs +0 -0
  174. /package/{esm2020 → esm2022}/state/actions/auth.actions.mjs +0 -0
  175. /package/{esm2020 → esm2022}/state/actions/login.actions.mjs +0 -0
  176. /package/{esm2020 → esm2022}/state/actions/public_api.mjs +0 -0
  177. /package/{esm2020 → esm2022}/state/actions/register.actions.mjs +0 -0
  178. /package/{esm2020 → esm2022}/state/actions/reset-password.actions.mjs +0 -0
  179. /package/{esm2020 → esm2022}/state/config/default.mjs +0 -0
  180. /package/{esm2020 → esm2022}/state/config/public_api.mjs +0 -0
  181. /package/{esm2020 → esm2022}/state/config/token.mjs +0 -0
  182. /package/{esm2020 → esm2022}/state/config/type.mjs +0 -0
  183. /package/{esm2020 → esm2022}/state/daffodil-auth-state.mjs +0 -0
  184. /package/{esm2020 → esm2022}/state/facades/auth/facade.interface.mjs +0 -0
  185. /package/{esm2020 → esm2022}/state/facades/auth/public_api.mjs +0 -0
  186. /package/{esm2020 → esm2022}/state/facades/login/facade.interface.mjs +0 -0
  187. /package/{esm2020 → esm2022}/state/facades/login/public_api.mjs +0 -0
  188. /package/{esm2020 → esm2022}/state/facades/public_api.mjs +0 -0
  189. /package/{esm2020 → esm2022}/state/facades/register/facade.interface.mjs +0 -0
  190. /package/{esm2020 → esm2022}/state/facades/register/public_api.mjs +0 -0
  191. /package/{esm2020 → esm2022}/state/facades/reset-password/facade.interface.mjs +0 -0
  192. /package/{esm2020 → esm2022}/state/facades/reset-password/public_api.mjs +0 -0
  193. /package/{esm2020 → esm2022}/state/index.mjs +0 -0
  194. /package/{esm2020 → esm2022}/state/injection-tokens/error-matcher.token.mjs +0 -0
  195. /package/{esm2020 → esm2022}/state/injection-tokens/public_api.mjs +0 -0
  196. /package/{esm2020 → esm2022}/state/injection-tokens/unauthenticated/hook.token.mjs +0 -0
  197. /package/{esm2020 → esm2022}/state/injection-tokens/unauthenticated/hook.type.mjs +0 -0
  198. /package/{esm2020 → esm2022}/state/injection-tokens/unauthenticated/hooks.token.mjs +0 -0
  199. /package/{esm2020 → esm2022}/state/injection-tokens/unauthenticated/public_api.mjs +0 -0
  200. /package/{esm2020 → esm2022}/state/public_api.mjs +0 -0
  201. /package/{esm2020 → esm2022}/state/reducers/auth/auth-initial-state.mjs +0 -0
  202. /package/{esm2020 → esm2022}/state/reducers/auth/auth-reducer-state.interface.mjs +0 -0
  203. /package/{esm2020 → esm2022}/state/reducers/auth/auth.reducer.mjs +0 -0
  204. /package/{esm2020 → esm2022}/state/reducers/auth/public_api.mjs +0 -0
  205. /package/{esm2020 → esm2022}/state/reducers/auth-feature-state.interface.mjs +0 -0
  206. /package/{esm2020 → esm2022}/state/reducers/auth-reducers.mjs +0 -0
  207. /package/{esm2020 → esm2022}/state/reducers/auth-store-feature-key.mjs +0 -0
  208. /package/{esm2020 → esm2022}/state/reducers/login/login-initial-state.mjs +0 -0
  209. /package/{esm2020 → esm2022}/state/reducers/login/login-reducer-state.interface.mjs +0 -0
  210. /package/{esm2020 → esm2022}/state/reducers/login/login.reducer.mjs +0 -0
  211. /package/{esm2020 → esm2022}/state/reducers/login/public_api.mjs +0 -0
  212. /package/{esm2020 → esm2022}/state/reducers/public_api.mjs +0 -0
  213. /package/{esm2020 → esm2022}/state/reducers/register/public_api.mjs +0 -0
  214. /package/{esm2020 → esm2022}/state/reducers/register/register-initial-state.mjs +0 -0
  215. /package/{esm2020 → esm2022}/state/reducers/register/register-reducer-state.interface.mjs +0 -0
  216. /package/{esm2020 → esm2022}/state/reducers/register/register.reducer.mjs +0 -0
  217. /package/{esm2020 → esm2022}/state/reducers/reset-password/initial-state.mjs +0 -0
  218. /package/{esm2020 → esm2022}/state/reducers/reset-password/public_api.mjs +0 -0
  219. /package/{esm2020 → esm2022}/state/reducers/reset-password/reducer.mjs +0 -0
  220. /package/{esm2020 → esm2022}/state/reducers/reset-password/state.interface.mjs +0 -0
  221. /package/{esm2020 → esm2022}/state/reducers/token/extra.token.mjs +0 -0
  222. /package/{esm2020 → esm2022}/state/reducers/token/public_api.mjs +0 -0
  223. /package/{esm2020 → esm2022}/state/reducers/token/reducers.token.mjs +0 -0
  224. /package/{esm2020 → esm2022}/state/selectors/auth/auth.selector.mjs +0 -0
  225. /package/{esm2020 → esm2022}/state/selectors/auth-all.selector.mjs +0 -0
  226. /package/{esm2020 → esm2022}/state/selectors/auth-feature.selector.mjs +0 -0
  227. /package/{esm2020 → esm2022}/state/selectors/login/login.selector.mjs +0 -0
  228. /package/{esm2020 → esm2022}/state/selectors/public_api.mjs +0 -0
  229. /package/{esm2020 → esm2022}/state/selectors/register/register.selector.mjs +0 -0
  230. /package/{esm2020 → esm2022}/state/selectors/reset-password/selector.mjs +0 -0
  231. /package/{esm2020 → esm2022}/state/testing/daffodil-auth-state-testing.mjs +0 -0
  232. /package/{esm2020 → esm2022}/state/testing/index.mjs +0 -0
  233. /package/{esm2020 → esm2022}/state/testing/public_api.mjs +0 -0
  234. /package/{esm2020 → esm2022}/testing/daffodil-auth-testing.mjs +0 -0
  235. /package/{esm2020 → esm2022}/testing/factories/public_api.mjs +0 -0
  236. /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
  237. /package/{esm2020 → esm2022}/testing/public_api.mjs +0 -0
@@ -506,15 +506,15 @@ class DaffAuthFacade {
506
506
  dispatch(action) {
507
507
  this.store.dispatch(action);
508
508
  }
509
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
510
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthFacade, providedIn: 'root' }); }
509
511
  }
510
- /** @nocollapse */ DaffAuthFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
511
- /** @nocollapse */ DaffAuthFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthFacade, providedIn: 'root' });
512
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthFacade, decorators: [{
512
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthFacade, decorators: [{
513
513
  type: Injectable,
514
514
  args: [{
515
515
  providedIn: 'root',
516
516
  }]
517
- }], ctorParameters: function () { return [{ type: i1.Store }]; } });
517
+ }], ctorParameters: () => [{ type: i1.Store }] });
518
518
 
519
519
  /**
520
520
  * @inheritdoc
@@ -529,15 +529,15 @@ class DaffAuthLoginFacade {
529
529
  dispatch(action) {
530
530
  this.store.dispatch(action);
531
531
  }
532
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
533
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginFacade, providedIn: 'root' }); }
532
534
  }
533
- /** @nocollapse */ DaffAuthLoginFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
534
- /** @nocollapse */ DaffAuthLoginFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginFacade, providedIn: 'root' });
535
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginFacade, decorators: [{
535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginFacade, decorators: [{
536
536
  type: Injectable,
537
537
  args: [{
538
538
  providedIn: 'root',
539
539
  }]
540
- }], ctorParameters: function () { return [{ type: i1.Store }]; } });
540
+ }], ctorParameters: () => [{ type: i1.Store }] });
541
541
 
542
542
  /**
543
543
  * @inheritdoc
@@ -552,15 +552,15 @@ class DaffAuthRegisterFacade {
552
552
  dispatch(action) {
553
553
  this.store.dispatch(action);
554
554
  }
555
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
556
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterFacade, providedIn: 'root' }); }
555
557
  }
556
- /** @nocollapse */ DaffAuthRegisterFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
557
- /** @nocollapse */ DaffAuthRegisterFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterFacade, providedIn: 'root' });
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterFacade, decorators: [{
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterFacade, decorators: [{
559
559
  type: Injectable,
560
560
  args: [{
561
561
  providedIn: 'root',
562
562
  }]
563
- }], ctorParameters: function () { return [{ type: i1.Store }]; } });
563
+ }], ctorParameters: () => [{ type: i1.Store }] });
564
564
 
565
565
  /**
566
566
  * @inheritdoc
@@ -576,15 +576,15 @@ class DaffAuthResetPasswordFacade {
576
576
  dispatch(action) {
577
577
  this.store.dispatch(action);
578
578
  }
579
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
580
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordFacade, providedIn: 'root' }); }
579
581
  }
580
- /** @nocollapse */ DaffAuthResetPasswordFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
581
- /** @nocollapse */ DaffAuthResetPasswordFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordFacade, providedIn: 'root' });
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordFacade, decorators: [{
582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordFacade, decorators: [{
583
583
  type: Injectable,
584
584
  args: [{
585
585
  providedIn: 'root',
586
586
  }]
587
- }], ctorParameters: function () { return [{ type: i1.Store }]; } });
587
+ }], ctorParameters: () => [{ type: i1.Store }] });
588
588
 
589
589
  const TWENTY_MINUTES = 1.2e6;
590
590
  const daffAuthStateDefaultConfig = {
@@ -677,12 +677,12 @@ class DaffAuthEffects {
677
677
  this.clientCache.reset();
678
678
  }), switchMap(() => EMPTY)), { dispatch: false });
679
679
  }
680
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthEffects, deps: [{ token: i1$1.Actions }, { token: i2.DaffAuthDriverTokenCheck }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }, { token: DAFF_AUTH_STATE_CONFIG }, { token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE }, { token: DAFF_AUTH_UNAUTHENTICATED_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
681
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthEffects }); }
680
682
  }
681
- /** @nocollapse */ DaffAuthEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthEffects, deps: [{ token: i1$1.Actions }, { token: i2.DaffAuthDriverTokenCheck }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }, { token: DAFF_AUTH_STATE_CONFIG }, { token: DAFF_DRIVER_HTTP_CLIENT_CACHE_SERVICE }, { token: DAFF_AUTH_UNAUTHENTICATED_HOOK }], target: i0.ɵɵFactoryTarget.Injectable });
682
- /** @nocollapse */ DaffAuthEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthEffects });
683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthEffects, decorators: [{
683
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthEffects, decorators: [{
684
684
  type: Injectable
685
- }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: i2.DaffAuthDriverTokenCheck }, { type: undefined, decorators: [{
685
+ }], ctorParameters: () => [{ type: i1$1.Actions }, { type: i2.DaffAuthDriverTokenCheck }, { type: undefined, decorators: [{
686
686
  type: Inject,
687
687
  args: [DAFF_AUTH_ERROR_MATCHER]
688
688
  }] }, { type: i2$1.DaffAuthStorageService }, { type: undefined, decorators: [{
@@ -694,7 +694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
694
694
  }] }, { type: undefined, decorators: [{
695
695
  type: Inject,
696
696
  args: [DAFF_AUTH_UNAUTHENTICATED_HOOK]
697
- }] }]; } });
697
+ }] }] });
698
698
 
699
699
  class DaffAuthLoginEffects {
700
700
  constructor(actions$, loginDriver, errorMatcher, storage) {
@@ -723,18 +723,18 @@ class DaffAuthLoginEffects {
723
723
  }
724
724
  })))));
725
725
  }
726
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginEffects, deps: [{ token: i1$1.Actions }, { token: DaffLoginDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
727
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginEffects }); }
726
728
  }
727
- /** @nocollapse */ DaffAuthLoginEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginEffects, deps: [{ token: i1$1.Actions }, { token: DaffLoginDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
728
- /** @nocollapse */ DaffAuthLoginEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginEffects });
729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthLoginEffects, decorators: [{
729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthLoginEffects, decorators: [{
730
730
  type: Injectable
731
- }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: undefined, decorators: [{
731
+ }], ctorParameters: () => [{ type: i1$1.Actions }, { type: undefined, decorators: [{
732
732
  type: Inject,
733
733
  args: [DaffLoginDriver]
734
734
  }] }, { type: undefined, decorators: [{
735
735
  type: Inject,
736
736
  args: [DAFF_AUTH_ERROR_MATCHER]
737
- }] }, { type: i2$1.DaffAuthStorageService }]; } });
737
+ }] }, { type: i2$1.DaffAuthStorageService }] });
738
738
 
739
739
  class DaffAuthRegisterEffects {
740
740
  constructor(actions$, registerDriver, errorMatcher, storage) {
@@ -753,18 +753,18 @@ class DaffAuthRegisterEffects {
753
753
  }
754
754
  })))));
755
755
  }
756
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterEffects, deps: [{ token: i1$1.Actions }, { token: DaffRegisterDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
757
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterEffects }); }
756
758
  }
757
- /** @nocollapse */ DaffAuthRegisterEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterEffects, deps: [{ token: i1$1.Actions }, { token: DaffRegisterDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
758
- /** @nocollapse */ DaffAuthRegisterEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterEffects });
759
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthRegisterEffects, decorators: [{
759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthRegisterEffects, decorators: [{
760
760
  type: Injectable
761
- }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: undefined, decorators: [{
761
+ }], ctorParameters: () => [{ type: i1$1.Actions }, { type: undefined, decorators: [{
762
762
  type: Inject,
763
763
  args: [DaffRegisterDriver]
764
764
  }] }, { type: undefined, decorators: [{
765
765
  type: Inject,
766
766
  args: [DAFF_AUTH_ERROR_MATCHER]
767
- }] }, { type: i2$1.DaffAuthStorageService }]; } });
767
+ }] }, { type: i2$1.DaffAuthStorageService }] });
768
768
 
769
769
  class DaffAuthResetPasswordEffects {
770
770
  constructor(actions$, driver, errorMatcher, storage) {
@@ -784,18 +784,18 @@ class DaffAuthResetPasswordEffects {
784
784
  }
785
785
  })))));
786
786
  }
787
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordEffects, deps: [{ token: i1$1.Actions }, { token: DaffResetPasswordDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
788
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordEffects }); }
787
789
  }
788
- /** @nocollapse */ DaffAuthResetPasswordEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordEffects, deps: [{ token: i1$1.Actions }, { token: DaffResetPasswordDriver }, { token: DAFF_AUTH_ERROR_MATCHER }, { token: i2$1.DaffAuthStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
789
- /** @nocollapse */ DaffAuthResetPasswordEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordEffects });
790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthResetPasswordEffects, decorators: [{
790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthResetPasswordEffects, decorators: [{
791
791
  type: Injectable
792
- }], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: undefined, decorators: [{
792
+ }], ctorParameters: () => [{ type: i1$1.Actions }, { type: undefined, decorators: [{
793
793
  type: Inject,
794
794
  args: [DaffResetPasswordDriver]
795
795
  }] }, { type: undefined, decorators: [{
796
796
  type: Inject,
797
797
  args: [DAFF_AUTH_ERROR_MATCHER]
798
- }] }, { type: i2$1.DaffAuthStorageService }]; } });
798
+ }] }, { type: i2$1.DaffAuthStorageService }] });
799
799
 
800
800
  /**
801
801
  * An internal token to hold the Daffodil auth reducers.
@@ -822,34 +822,34 @@ class DaffAuthStateModule {
822
822
  ],
823
823
  };
824
824
  }
825
- }
826
- /** @nocollapse */ DaffAuthStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
827
- /** @nocollapse */ DaffAuthStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] });
828
- /** @nocollapse */ DaffAuthStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthStateModule, providers: [
829
- {
830
- provide: DAFF_AUTH_UNAUTHENTICATED_HOOKS,
831
- useFactory: (() => {
832
- const storage = inject(DaffAuthStorageService);
833
- const hook = (() => {
834
- try {
835
- return of(storage.removeAuthToken());
836
- }
837
- catch {
838
- return of(null);
839
- }
840
- });
841
- return hook;
842
- }),
843
- multi: true,
844
- },
845
- ], imports: [StoreModule.forFeature(DAFF_AUTH_STORE_FEATURE_KEY, DAFF_AUTH_REDUCERS),
846
- EffectsModule.forFeature([
847
- DaffAuthEffects,
848
- DaffAuthLoginEffects,
849
- DaffAuthRegisterEffects,
850
- DaffAuthResetPasswordEffects,
851
- ])] });
852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffAuthStateModule, decorators: [{
825
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
826
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] }); }
827
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthStateModule, providers: [
828
+ {
829
+ provide: DAFF_AUTH_UNAUTHENTICATED_HOOKS,
830
+ useFactory: (() => {
831
+ const storage = inject(DaffAuthStorageService);
832
+ const hook = (() => {
833
+ try {
834
+ return of(storage.removeAuthToken());
835
+ }
836
+ catch {
837
+ return of(null);
838
+ }
839
+ });
840
+ return hook;
841
+ }),
842
+ multi: true,
843
+ },
844
+ ], imports: [StoreModule.forFeature(DAFF_AUTH_STORE_FEATURE_KEY, DAFF_AUTH_REDUCERS),
845
+ EffectsModule.forFeature([
846
+ DaffAuthEffects,
847
+ DaffAuthLoginEffects,
848
+ DaffAuthRegisterEffects,
849
+ DaffAuthResetPasswordEffects,
850
+ ])] }); }
851
+ }
852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffAuthStateModule, decorators: [{
853
853
  type: NgModule,
854
854
  args: [{
855
855
  imports: [