@rxap/authentication 16.0.0-dev.2 → 16.0.0-dev.3
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.
- package/CHANGELOG.md +276 -0
- package/README.md +8 -22
- package/components/index.d.ts +8 -5
- package/components/lib/loading/loading.component.d.ts +1 -1
- package/components/lib/login/login.component.d.ts +1 -1
- package/components/lib/login/login.form.d.ts +1 -1
- package/components/lib/reset-password/reset-password.form.d.ts +2 -2
- package/esm2022/components/index.mjs +9 -0
- package/esm2022/components/lib/authentication-container/authentication-container.component.mjs +16 -17
- package/esm2022/components/lib/fade-animation.mjs +4 -4
- package/esm2022/components/lib/loading/loading.component.mjs +8 -9
- package/esm2022/components/lib/login/login.component.mjs +25 -34
- package/esm2022/components/lib/login/login.form.mjs +15 -24
- package/esm2022/components/lib/reset-password/reset-password.component.mjs +20 -28
- package/esm2022/components/lib/reset-password/reset-password.form.mjs +23 -22
- package/esm2022/components/lib/routes.mjs +8 -8
- package/esm2022/components/rxap-authentication-components.mjs +2 -2
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/authentication-routing.service.mjs +7 -8
- package/esm2022/lib/authentication.guard.mjs +7 -8
- package/esm2022/lib/authentication.service.mjs +7 -7
- package/esm2022/lib/register.service.mjs +6 -6
- package/esm2022/lib/sign-out.directive.mjs +7 -8
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/user.service.mjs +6 -6
- package/esm2022/rxap-authentication.mjs +1 -1
- package/fesm2022/rxap-authentication-components.mjs +84 -103
- package/fesm2022/rxap-authentication-components.mjs.map +1 -1
- package/fesm2022/rxap-authentication.mjs +23 -20
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/lib/authentication.guard.d.ts +1 -1
- package/package.json +57 -56
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/components/README.md +0 -3
- package/components/public_api.d.ts +0 -8
- package/esm2022/components/public_api.mjs +0 -9
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [16.0.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@16.0.0-dev.2...@rxap/authentication@16.0.0-dev.3) (2023-07-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
|
|
11
|
+
|
|
12
|
+
# [16.0.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@16.0.0-dev.1...@rxap/authentication@16.0.0-dev.2) (2023-05-31)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
15
|
+
|
|
16
|
+
# [16.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@16.0.0-dev.0...@rxap/authentication@16.0.0-dev.1) (2023-05-18)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
- update rxap packagedependencies ([6e12567](https://gitlab.com/rxap/packages/commit/6e12567c05ee3c504da5079cb393660f2ab4cd30))
|
|
21
|
+
|
|
22
|
+
# [16.0.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@15.0.0...@rxap/authentication@16.0.0-dev.0) (2023-05-18)
|
|
23
|
+
|
|
24
|
+
### chore
|
|
25
|
+
|
|
26
|
+
- upgrade to nrwl 16.x.x ([12dd87e](https://gitlab.com/rxap/packages/commit/12dd87ef38d465c8af33cd26f7d5d7714bf7c392))
|
|
27
|
+
|
|
28
|
+
### BREAKING CHANGES
|
|
29
|
+
|
|
30
|
+
- upgrade nrwl 16.x.x
|
|
31
|
+
|
|
32
|
+
# [15.0.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@14.0.5...@rxap/authentication@15.0.0) (2023-05-17)
|
|
33
|
+
|
|
34
|
+
### chore
|
|
35
|
+
|
|
36
|
+
- upgrade to nrwl 15.x.x ([ad95577](https://gitlab.com/rxap/packages/commit/ad95577538adc5cd134cde8d1ff3b8fad52c9c2b))
|
|
37
|
+
|
|
38
|
+
### BREAKING CHANGES
|
|
39
|
+
|
|
40
|
+
- upgrade nrwl 15.x.x
|
|
41
|
+
|
|
42
|
+
## [14.0.5](https://gitlab.com/rxap/packages/compare/@rxap/authentication@14.0.4...@rxap/authentication@14.0.5) (2022-12-14)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
45
|
+
|
|
46
|
+
## [14.0.4](https://gitlab.com/rxap/packages/compare/@rxap/authentication@14.0.3...@rxap/authentication@14.0.4) (2022-12-13)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
49
|
+
|
|
50
|
+
## [14.0.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@14.0.2...@rxap/authentication@14.0.3) (2022-10-31)
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- remove i18n specific ids ([21ef36d](https://gitlab.com/rxap/packages/commit/21ef36dfeaaef4e12f12dd21cdb86f6fdf8ff25a))
|
|
55
|
+
|
|
56
|
+
## [14.0.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@14.0.1...@rxap/authentication@14.0.2) (2022-10-07)
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- replace package.json withng-package.json ([ebaaf92](https://gitlab.com/rxap/packages/commit/ebaaf92a403fd31a4aa538f698fda1e004c037bd))
|
|
61
|
+
|
|
62
|
+
## [14.0.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@13.0.0...@rxap/authentication@14.0.1) (2022-09-17)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
65
|
+
|
|
66
|
+
# [13.0.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@13.0.0-next.3...@rxap/authentication@13.0.0) (2022-09-11)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
69
|
+
|
|
70
|
+
# [13.0.0-next.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@13.0.0-next.2...@rxap/authentication@13.0.0-next.3) (2022-05-02)
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
- expose animations ([b26fee6](https://gitlab.com/rxap/packages/commit/b26fee61b8ec00341b8c68a4b9e9e9a8b10934b2))
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
- add auth event system ([b421849](https://gitlab.com/rxap/packages/commit/b421849721c7b76bb7963d0fd440943e25779f5c))
|
|
79
|
+
- add auth event system ([7c7b699](https://gitlab.com/rxap/packages/commit/7c7b699aaade46640bac09c5d809de5e2c7cddde))
|
|
80
|
+
|
|
81
|
+
# [12.3.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.2.0...@rxap/authentication@12.3.0) (2022-03-25)
|
|
82
|
+
|
|
83
|
+
### Features
|
|
84
|
+
|
|
85
|
+
- add auth event system ([b421849](https://gitlab.com/rxap/packages/commit/b421849721c7b76bb7963d0fd440943e25779f5c))
|
|
86
|
+
|
|
87
|
+
# [12.2.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.7...@rxap/authentication@12.2.0) (2022-03-25)
|
|
88
|
+
|
|
89
|
+
### Features
|
|
90
|
+
|
|
91
|
+
- add auth event system ([7c7b699](https://gitlab.com/rxap/packages/commit/7c7b699aaade46640bac09c5d809de5e2c7cddde))
|
|
92
|
+
|
|
93
|
+
## [12.1.7](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.6...@rxap/authentication@12.1.7) (2022-03-25)
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
- expose animations ([b26fee6](https://gitlab.com/rxap/packages/commit/b26fee61b8ec00341b8c68a4b9e9e9a8b10934b2))
|
|
98
|
+
|
|
99
|
+
# [13.0.0-next.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@13.0.0-next.1...@rxap/authentication@13.0.0-next.2) (2022-03-29)
|
|
100
|
+
|
|
101
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
102
|
+
|
|
103
|
+
# [13.0.0-next.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.6...@rxap/authentication@13.0.0-next.1) (2022-03-17)
|
|
104
|
+
|
|
105
|
+
### Build System
|
|
106
|
+
|
|
107
|
+
- upgrade to nrwl/angular13.x.x ([f8920e7](https://gitlab.com/rxap/packages/commit/f8920e7dde7bd2d4b4efac2b7097543d51482f81))
|
|
108
|
+
|
|
109
|
+
### BREAKING CHANGES
|
|
110
|
+
|
|
111
|
+
- update the core nrwl/angular packages to 13.x.x
|
|
112
|
+
|
|
113
|
+
Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
114
|
+
|
|
115
|
+
## [12.1.6](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.5...@rxap/authentication@12.1.6) (2022-03-07)
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
- reduce log population in productionmode ([2d7186b](https://gitlab.com/rxap/packages/commit/2d7186bc32ae12f0df31d0293ade60ec25645355))
|
|
120
|
+
|
|
121
|
+
# [13.0.0-next.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.5...@rxap/authentication@13.0.0-next.0) (2022-02-19)
|
|
122
|
+
|
|
123
|
+
### Build System
|
|
124
|
+
|
|
125
|
+
- upgrade to nrwl/angular13.x.x ([f8920e7](https://gitlab.com/rxap/packages/commit/f8920e7dde7bd2d4b4efac2b7097543d51482f81))
|
|
126
|
+
|
|
127
|
+
### BREAKING CHANGES
|
|
128
|
+
|
|
129
|
+
- update the core nrwl/angular packages to 13.x.x
|
|
130
|
+
|
|
131
|
+
Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
132
|
+
|
|
133
|
+
## [12.1.5](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.5-next.0...@rxap/authentication@12.1.5) (2021-07-09)
|
|
134
|
+
|
|
135
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
136
|
+
|
|
137
|
+
## [12.1.5-next.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.4...@rxap/authentication@12.1.5-next.0) (2021-07-09)
|
|
138
|
+
|
|
139
|
+
### Bug Fixes
|
|
140
|
+
|
|
141
|
+
- split into rxjs and reflect-metadata subpackages ([ab6e325](https://gitlab.com/rxap/packages/commit/ab6e32562dbed73752165f3568624f8d3417d7ee))
|
|
142
|
+
|
|
143
|
+
## [12.1.4](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.4-next.0...@rxap/authentication@12.1.4) (2021-07-09)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
146
|
+
|
|
147
|
+
## [12.1.4-next.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.3...@rxap/authentication@12.1.4-next.0) (2021-06-29)
|
|
148
|
+
|
|
149
|
+
### Bug Fixes
|
|
150
|
+
|
|
151
|
+
- improve mobile support andstyling ([03d1dd2](https://gitlab.com/rxap/packages/commit/03d1dd2ab8f7e4361ac38b95e6423373a9dd9f4b))
|
|
152
|
+
|
|
153
|
+
## [12.1.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.2...@rxap/authentication@12.1.3) (2021-06-24)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
156
|
+
|
|
157
|
+
## [12.1.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.1...@rxap/authentication@12.1.2) (2021-06-23)
|
|
158
|
+
|
|
159
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
160
|
+
|
|
161
|
+
## [12.1.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.1.0...@rxap/authentication@12.1.1) (2021-06-23)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
164
|
+
|
|
165
|
+
# [12.1.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.0.4...@rxap/authentication@12.1.0) (2021-06-16)
|
|
166
|
+
|
|
167
|
+
### Features
|
|
168
|
+
|
|
169
|
+
- merge FormDefinition and FormDefinitionWithMetadata and enforce theFormType ([0295ee5](https://gitlab.com/rxap/packages/commit/0295ee5b9ed221101652c5e52b1108d5a9bd3051))
|
|
170
|
+
|
|
171
|
+
## [12.0.4](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.0.3...@rxap/authentication@12.0.4) (2021-06-14)
|
|
172
|
+
|
|
173
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
174
|
+
|
|
175
|
+
## [12.0.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.0.2...@rxap/authentication@12.0.3) (2021-06-09)
|
|
176
|
+
|
|
177
|
+
### Bug Fixes
|
|
178
|
+
|
|
179
|
+
- remove ng-mockspeerDependency ([0940f5f](https://gitlab.com/rxap/packages/commit/0940f5f9a79d07c3ad82d7cf6ae17aeb28b23158))
|
|
180
|
+
|
|
181
|
+
## [12.0.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.1.2...@rxap/authentication@12.0.2) (2021-06-09)
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
- add readme generator ([cccdf15](https://gitlab.com/rxap/packages/commit/cccdf155b83de02f45feb20ef6cc28531690d3cb))
|
|
186
|
+
|
|
187
|
+
## [12.0.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@12.0.0...@rxap/authentication@12.0.1) (2021-05-24)
|
|
188
|
+
|
|
189
|
+
### Bug Fixes
|
|
190
|
+
|
|
191
|
+
- add readme generator ([cccdf15](https://gitlab.com/rxap/packages/commit/cccdf155b83de02f45feb20ef6cc28531690d3cb))
|
|
192
|
+
|
|
193
|
+
# [12.0.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.1.1...@rxap/authentication@12.0.0) (2021-05-24)
|
|
194
|
+
|
|
195
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
196
|
+
|
|
197
|
+
## [11.1.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.1.0...@rxap/authentication@11.1.1) (2021-04-30)
|
|
198
|
+
|
|
199
|
+
### Bug Fixes
|
|
200
|
+
|
|
201
|
+
- **schematics:** update module toesnext ([d1e2cd2](https://gitlab.com/rxap/packages/commit/d1e2cd252f3866471935131187b3acaefe2cca82))
|
|
202
|
+
- **schematics:** update to general schematicstsconfig ([83e5f9a](https://gitlab.com/rxap/packages/commit/83e5f9a0cf1810686a503425d87a5e4ae30b8c84))
|
|
203
|
+
|
|
204
|
+
# [11.1.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.11...@rxap/authentication@11.1.0) (2021-04-21)
|
|
205
|
+
|
|
206
|
+
### Features
|
|
207
|
+
|
|
208
|
+
- partial remove the isAuthenticated$concept ([06a2a3f](https://gitlab.com/rxap/packages/commit/06a2a3f3481f93cc51671c8f202bb58b2381df09))
|
|
209
|
+
|
|
210
|
+
## [11.0.11](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.10...@rxap/authentication@11.0.11) (2021-03-28)
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
- **IAuthenticationService:** set isAuthenticated$ asObservable ([ffc15f0](https://gitlab.com/rxap/packages/commit/ffc15f06cc666df3f19e2da87134afd0bce53a26))
|
|
215
|
+
|
|
216
|
+
## [11.0.10](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.9...@rxap/authentication@11.0.10) (2021-03-19)
|
|
217
|
+
|
|
218
|
+
### Bug Fixes
|
|
219
|
+
|
|
220
|
+
- update peer dependencies ([954fde4](https://gitlab.com/rxap/packages/commit/954fde47836ff0c1f25a77c33ff871ddc7685b6c))
|
|
221
|
+
|
|
222
|
+
## [11.0.9](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.8...@rxap/authentication@11.0.9) (2021-03-19)
|
|
223
|
+
|
|
224
|
+
### Bug Fixes
|
|
225
|
+
|
|
226
|
+
- update peer dependencies ([dd22b0c](https://gitlab.com/rxap/packages/commit/dd22b0ce053bc266c7aea659a2faf3be39f424e7))
|
|
227
|
+
|
|
228
|
+
## [11.0.8](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.7...@rxap/authentication@11.0.8) (2021-03-19)
|
|
229
|
+
|
|
230
|
+
### Bug Fixes
|
|
231
|
+
|
|
232
|
+
- update peer dependencies ([2eeb7eb](https://gitlab.com/rxap/packages/commit/2eeb7eb85eedd6d610e855dc1724c7153cf01fd0))
|
|
233
|
+
- update peer dependencies ([c7d1267](https://gitlab.com/rxap/packages/commit/c7d12671f3efc198985cddee92caa2558e74b023))
|
|
234
|
+
|
|
235
|
+
## [11.0.7](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.6...@rxap/authentication@11.0.7) (2021-03-12)
|
|
236
|
+
|
|
237
|
+
### Bug Fixes
|
|
238
|
+
|
|
239
|
+
- add login submit successfulhandler ([577fb6a](https://gitlab.com/rxap/packages/commit/577fb6a663d658061a78f0e96ec532a8345115e1))
|
|
240
|
+
|
|
241
|
+
## [11.0.6](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.5...@rxap/authentication@11.0.6) (2021-03-10)
|
|
242
|
+
|
|
243
|
+
### Bug Fixes
|
|
244
|
+
|
|
245
|
+
- add missing rxap/configdep ([c3d4a43](https://gitlab.com/rxap/packages/commit/c3d4a43aaa0ba06ca438b551dc4165ffb400879d))
|
|
246
|
+
|
|
247
|
+
## [11.0.5](https://gitlab.com/rxap/packages/compare/@rxap/authentication@10.2.0...@rxap/authentication@11.0.5) (2021-02-10)
|
|
248
|
+
|
|
249
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
250
|
+
|
|
251
|
+
## [11.0.4](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.3...@rxap/authentication@11.0.4) (2021-02-04)
|
|
252
|
+
|
|
253
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
254
|
+
|
|
255
|
+
## [11.0.3](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.2...@rxap/authentication@11.0.3) (2021-01-15)
|
|
256
|
+
|
|
257
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
258
|
+
|
|
259
|
+
## [11.0.2](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.1...@rxap/authentication@11.0.2) (2021-01-12)
|
|
260
|
+
|
|
261
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
262
|
+
|
|
263
|
+
## [11.0.1](https://gitlab.com/rxap/packages/compare/@rxap/authentication@11.0.0...@rxap/authentication@11.0.1) (2021-01-05)
|
|
264
|
+
|
|
265
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
266
|
+
|
|
267
|
+
# [11.0.0](https://gitlab.com/rxap/packages/compare/@rxap/authentication@10.0.0...@rxap/authentication@11.0.0) (2021-01-03)
|
|
268
|
+
|
|
269
|
+
**Note:** Version bump only for package @rxap/authentication
|
|
270
|
+
|
|
271
|
+
# 10.0.0 (2021-01-03)
|
|
272
|
+
|
|
273
|
+
### Bug Fixes
|
|
274
|
+
|
|
275
|
+
- custom property keygeneration ([b6e6d23](https://gitlab.com/rxap/packages/commit/b6e6d23215f0b35e0de2d35003b186a3d435b8e4))
|
|
276
|
+
- replace all rxjs operators first() with take(1) ([e2ae457](https://gitlab.com/rxap/packages/commit/e2ae45771c8b01f30fc1a00f962e067d610296b7))
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@rxap/authentication
|
|
2
|
-
|
|
1
|
+
# @rxap/authentication
|
|
2
|
+
> A collection of components and services to simplify the authentication process implementation.
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@rxap/authentication)
|
|
5
5
|
[](https://commitizen.github.io/cz-cli/)
|
|
@@ -8,29 +8,15 @@
|
|
|
8
8
|

|
|
9
9
|

|
|
10
10
|
|
|
11
|
-
> A collection of components and services to simplify the authentication process implementation.
|
|
12
|
-
|
|
13
11
|
- [Installation](#installation)
|
|
14
|
-
- [Schematics](#schematics)
|
|
15
12
|
|
|
16
13
|
# Installation
|
|
17
14
|
|
|
15
|
+
**Add the package to your workspace:**
|
|
16
|
+
```bash
|
|
17
|
+
yarn add @rxap/authentication
|
|
18
18
|
```
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
*Setup the package @rxap/authentication for the workspace.*
|
|
23
|
-
|
|
24
|
-
# Schematics
|
|
25
|
-
|
|
26
|
-
## ng-add
|
|
27
|
-
> Setup the package @rxap/authentication for the workspace.
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
ng g @rxap/authentication:ng-add
|
|
19
|
+
**Install peer dependencies:**
|
|
20
|
+
```bash
|
|
21
|
+
yarn add
|
|
31
22
|
```
|
|
32
|
-
|
|
33
|
-
Option | Type | Default | Description
|
|
34
|
-
--- | --- | --- | ---
|
|
35
|
-
|
|
36
|
-
|
package/components/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export * from './
|
|
1
|
+
export * from './lib/login/login.form';
|
|
2
|
+
export * from './lib/login/login.component';
|
|
3
|
+
export * from './lib/login/login.form';
|
|
4
|
+
export * from './lib/routes';
|
|
5
|
+
export * from './lib/loading/loading.component';
|
|
6
|
+
export * from './lib/reset-password/reset-password.component';
|
|
7
|
+
export * from './lib/authentication-container/authentication-container.component';
|
|
8
|
+
export * from './lib/fade-animation';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
2
2
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import { ToggleSubject } from '@rxap/
|
|
3
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LoginComponent {
|
|
6
6
|
private readonly authentication;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
3
|
-
import {
|
|
3
|
+
import { FormSubmitMethod, FormSubmitSuccessfulMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
|
|
4
4
|
import { ConfigService } from '@rxap/config';
|
|
5
5
|
import { RxapOnInit } from '@rxap/utilities';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import {
|
|
4
|
+
import { FormSubmitMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
|
|
5
5
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
|
|
@@ -25,7 +25,7 @@ export declare class ResetPasswordForm implements FormType<IResetPasswordForm> {
|
|
|
25
25
|
rxapFormGroup: RxapFormGroup;
|
|
26
26
|
password: RxapFormControl;
|
|
27
27
|
passwordRepeat: RxapFormControl;
|
|
28
|
-
passwordEqual(): {
|
|
28
|
+
passwordEqual(control: RxapFormControl): {
|
|
29
29
|
equal: string;
|
|
30
30
|
} | null;
|
|
31
31
|
resetRepeat(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './lib/login/login.form';
|
|
2
|
+
export * from './lib/login/login.component';
|
|
3
|
+
export * from './lib/login/login.form';
|
|
4
|
+
export * from './lib/routes';
|
|
5
|
+
export * from './lib/loading/loading.component';
|
|
6
|
+
export * from './lib/reset-password/reset-password.component';
|
|
7
|
+
export * from './lib/authentication-container/authentication-container.component';
|
|
8
|
+
export * from './lib/fade-animation';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHdCQUF3QixDQUFDO0FBRXZDLGNBQWMsY0FBYyxDQUFDO0FBRTdCLGNBQWMsaUNBQWlDLENBQUM7QUFFaEQsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLG1FQUFtRSxDQUFDO0FBRWxGLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9sb2dpbi9sb2dpbi5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xvZ2luL2xvZ2luLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9sb2dpbi9sb2dpbi5mb3JtJztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvcm91dGVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbG9hZGluZy9sb2FkaW5nLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL3Jlc2V0LXBhc3N3b3JkL3Jlc2V0LXBhc3N3b3JkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9hdXRoZW50aWNhdGlvbi1jb250YWluZXIvYXV0aGVudGljYXRpb24tY29udGFpbmVyLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZhZGUtYW5pbWF0aW9uJztcbiJdfQ==
|
package/esm2022/components/lib/authentication-container/authentication-container.component.mjs
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import { RouterOutlet } from '@angular/router';
|
|
3
|
-
import {
|
|
3
|
+
import { animate, style, transition, trigger, } from '@angular/animations';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
class AuthenticationContainerComponent {
|
|
5
|
+
export class AuthenticationContainerComponent {
|
|
6
6
|
prepareRoute(outlet) {
|
|
7
7
|
return outlet.isActivated ? outlet.activatedRoute : 'true';
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AuthenticationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AuthenticationContainerComponent, isStandalone: true, selector: "rxap-authentication-container", ngImport: i0, template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n", styles: [".content{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.content .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10;background-color:var(--accent-color)}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], animations: [
|
|
11
11
|
trigger('routeAnimations', [
|
|
12
12
|
transition(':enter', [
|
|
13
13
|
style({ opacity: 0 }),
|
|
14
|
-
animate('512ms', style({ opacity: 1 }))
|
|
14
|
+
animate('512ms', style({ opacity: 1 })),
|
|
15
15
|
]),
|
|
16
16
|
transition(':leave', [
|
|
17
17
|
style({ opacity: 1 }),
|
|
18
|
-
animate('512ms', style({ opacity: 0 }))
|
|
19
|
-
])
|
|
20
|
-
])
|
|
18
|
+
animate('512ms', style({ opacity: 0 })),
|
|
19
|
+
]),
|
|
20
|
+
]),
|
|
21
21
|
] }); }
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
|
|
25
24
|
type: Component,
|
|
26
|
-
args: [{ selector: 'rxap-authentication-container',
|
|
25
|
+
args: [{ selector: 'rxap-authentication-container', animations: [
|
|
27
26
|
trigger('routeAnimations', [
|
|
28
27
|
transition(':enter', [
|
|
29
28
|
style({ opacity: 0 }),
|
|
30
|
-
animate('512ms', style({ opacity: 1 }))
|
|
29
|
+
animate('512ms', style({ opacity: 1 })),
|
|
31
30
|
]),
|
|
32
31
|
transition(':leave', [
|
|
33
32
|
style({ opacity: 1 }),
|
|
34
|
-
animate('512ms', style({ opacity: 0 }))
|
|
35
|
-
])
|
|
36
|
-
])
|
|
37
|
-
], standalone: true, imports: [RouterOutlet], template: "<div
|
|
33
|
+
animate('512ms', style({ opacity: 0 })),
|
|
34
|
+
]),
|
|
35
|
+
]),
|
|
36
|
+
], standalone: true, imports: [RouterOutlet], template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n", styles: [".content{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.content .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10;background-color:var(--accent-color)}\n"] }]
|
|
38
37
|
}] });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXIvYXV0aGVudGljYXRpb24vY29tcG9uZW50cy9zcmMvbGliL2F1dGhlbnRpY2F0aW9uLWNvbnRhaW5lci9hdXRoZW50aWNhdGlvbi1jb250YWluZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9hdXRoZW50aWNhdGlvbi9jb21wb25lbnRzL3NyYy9saWIvYXV0aGVudGljYXRpb24tY29udGFpbmVyL2F1dGhlbnRpY2F0aW9uLWNvbnRhaW5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQ0wsT0FBTyxFQUNQLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQUNSLE1BQU0scUJBQXFCLENBQUM7O0FBcUI3QixNQUFNLE9BQU8sZ0NBQWdDO0lBRXB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DEgfSksXG4gICAgICAgIGFuaW1hdGUoJzUxMm1zJywgc3R5bGUoeyBvcGFjaXR5OiAwIH0pKSxcbiAgICAgIF0pLFxuICAgIF0pLFxuICBdLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICBpbXBvcnRzOiBbIFJvdXRlck91dGxldCBdLFxufSlcbmV4cG9ydCBjbGFzcyBBdXRoZW50aWNhdGlvbkNvbnRhaW5lckNvbXBvbmVudCB7XG5cbiAgcHVibGljIHByZXBhcmVSb3V0ZShvdXRsZXQ6IFJvdXRlck91dGxldCkge1xuICAgIHJldHVybiBvdXRsZXQuaXNBY3RpdmF0ZWQgPyBvdXRsZXQuYWN0aXZhdGVkUm91dGUgOiAndHJ1ZSc7XG4gIH1cblxufVxuIiwiPGRpdiBbQHJvdXRlQW5pbWF0aW9uc109XCJwcmVwYXJlUm91dGUob3V0bGV0KVwiIGNsYXNzPVwiY29udGVudFwiPlxuXG4gIDxkaXYgY2xhc3M9XCJzcGxpdCBtYXQtZWxldmF0aW9uLXozXCI+PC9kaXY+XG5cbiAgPHJvdXRlci1vdXRsZXQgI291dGxldD1cIm91dGxldFwiPjwvcm91dGVyLW91dGxldD5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuXG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// the fade-in/fade-out animation.
|
|
2
|
-
import {
|
|
2
|
+
import { animate, state, style, transition, trigger, } from '@angular/animations';
|
|
3
3
|
export const fadeAnimation = trigger('fadeAnimation', [
|
|
4
4
|
// the "in" style determines the "resting" state of the element when it is visible.
|
|
5
5
|
state('in', style({ opacity: 1 })),
|
|
6
6
|
// fade in when created. this could also be written as transition('void => *')
|
|
7
7
|
transition(':enter', [
|
|
8
8
|
style({ opacity: 0 }),
|
|
9
|
-
animate(300)
|
|
9
|
+
animate(300),
|
|
10
10
|
]),
|
|
11
11
|
// fade out when destroyed. this could also be written as transition('void => *')
|
|
12
|
-
transition(':leave', animate(300, style({ opacity: 0 })))
|
|
12
|
+
transition(':leave', animate(300, style({ opacity: 0 }))),
|
|
13
13
|
]);
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS1hbmltYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2xpYi9mYWRlLWFuaW1hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxrQ0FBa0M7QUFDbEMsT0FBTyxFQUNMLE9BQU8sRUFDUCxLQUFLLEVBQ0wsS0FBSyxFQUNMLFVBQVUsRUFDVixPQUFPLEdBQ1IsTUFBTSxxQkFBcUIsQ0FBQztBQUU3QixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsT0FBTyxDQUFDLGVBQWUsRUFBRTtJQUVwRCxtRkFBbUY7SUFDbkYsS0FBSyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUVsQyw4RUFBOEU7SUFDOUUsVUFBVSxDQUFDLFFBQVEsRUFBRTtRQUNuQixLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDckIsT0FBTyxDQUFDLEdBQUcsQ0FBQztLQUNiLENBQUM7SUFFRixpRkFBaUY7SUFDakYsVUFBVSxDQUNSLFFBQVEsRUFDUixPQUFPLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQ3BDO0NBQ0YsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhlIGZhZGUtaW4vZmFkZS1vdXQgYW5pbWF0aW9uLlxuaW1wb3J0IHtcbiAgYW5pbWF0ZSxcbiAgc3RhdGUsXG4gIHN0eWxlLFxuICB0cmFuc2l0aW9uLFxuICB0cmlnZ2VyLFxufSBmcm9tICdAYW5ndWxhci9hbmltYXRpb25zJztcblxuZXhwb3J0IGNvbnN0IGZhZGVBbmltYXRpb24gPSB0cmlnZ2VyKCdmYWRlQW5pbWF0aW9uJywgW1xuXG4gIC8vIHRoZSBcImluXCIgc3R5bGUgZGV0ZXJtaW5lcyB0aGUgXCJyZXN0aW5nXCIgc3RhdGUgb2YgdGhlIGVsZW1lbnQgd2hlbiBpdCBpcyB2aXNpYmxlLlxuICBzdGF0ZSgnaW4nLCBzdHlsZSh7IG9wYWNpdHk6IDEgfSkpLFxuXG4gIC8vIGZhZGUgaW4gd2hlbiBjcmVhdGVkLiB0aGlzIGNvdWxkIGFsc28gYmUgd3JpdHRlbiBhcyB0cmFuc2l0aW9uKCd2b2lkID0+IConKVxuICB0cmFuc2l0aW9uKCc6ZW50ZXInLCBbXG4gICAgc3R5bGUoeyBvcGFjaXR5OiAwIH0pLFxuICAgIGFuaW1hdGUoMzAwKSxcbiAgXSksXG5cbiAgLy8gZmFkZSBvdXQgd2hlbiBkZXN0cm95ZWQuIHRoaXMgY291bGQgYWxzbyBiZSB3cml0dGVuIGFzIHRyYW5zaXRpb24oJ3ZvaWQgPT4gKicpXG4gIHRyYW5zaXRpb24oXG4gICAgJzpsZWF2ZScsXG4gICAgYW5pbWF0ZSgzMDAsIHN0eWxlKHsgb3BhY2l0eTogMCB9KSksXG4gICksXG5dKTtcbiJdfQ==
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core';
|
|
2
2
|
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
3
|
-
import { filter, tap } from 'rxjs/operators';
|
|
3
|
+
import { filter, tap, } from 'rxjs/operators';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/material/progress-bar";
|
|
8
8
|
import * as i2 from "@rxap/authentication";
|
|
9
9
|
import * as i3 from "@angular/router";
|
|
10
|
-
class LoadingComponent {
|
|
10
|
+
export class LoadingComponent {
|
|
11
11
|
constructor(authentication, router) {
|
|
12
12
|
this.authentication = authentication;
|
|
13
13
|
this.router = router;
|
|
@@ -23,13 +23,12 @@ class LoadingComponent {
|
|
|
23
23
|
ngOnDestroy() {
|
|
24
24
|
this.subscription?.unsubscribe();
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoadingComponent, deps: [{ token: RxapAuthenticationService }, { token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LoadingComponent, isStandalone: true, selector: "rxap-auth-loading", ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [".loading-bar{position:absolute;bottom:65vh;left:0;right:0;top:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
31
30
|
type: Component,
|
|
32
|
-
args: [{ selector: 'rxap-auth-loading',
|
|
31
|
+
args: [{ selector: 'rxap-auth-loading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatProgressBarModule], template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [".loading-bar{position:absolute;bottom:65vh;left:0;right:0;top:auto}\n"] }]
|
|
33
32
|
}], ctorParameters: function () { return [{ type: i2.RxapAuthenticationService, decorators: [{
|
|
34
33
|
type: Inject,
|
|
35
34
|
args: [RxapAuthenticationService]
|
|
@@ -37,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
37
36
|
type: Inject,
|
|
38
37
|
args: [Router]
|
|
39
38
|
}] }]; } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2xpYi9sb2FkaW5nL2xvYWRpbmcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9hdXRoZW50aWNhdGlvbi9jb21wb25lbnRzL3NyYy9saWIvbG9hZGluZy9sb2FkaW5nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULE1BQU0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