@rtsee/ngx 0.0.61 → 0.0.63

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.
@@ -116,6 +116,22 @@ declare class PresentationComponent {
116
116
  static ɵcmp: i0.ɵɵComponentDeclaration<PresentationComponent, "rtsee-presentation", never, { "presentation": { "alias": "presentation"; "required": false; }; }, {}, never, never, true, never>;
117
117
  }
118
118
 
119
+ interface IRtseeForgotPasswordRequestOptions {
120
+ email: string;
121
+ }
122
+ interface IRtseeResetPasswordRequestOptions {
123
+ password: string;
124
+ passwordConfirm: string;
125
+ token: string;
126
+ }
127
+ interface IRTSeeForgotPasswordResponse {
128
+ success: boolean;
129
+ message: string;
130
+ }
131
+ interface IRTSeeResetPasswordResponse {
132
+ success: boolean;
133
+ message: string;
134
+ }
119
135
  declare class RTSeeAuthService {
120
136
  private http;
121
137
  rtseeAuth: RTSeeAuth<any>;
@@ -124,6 +140,8 @@ declare class RTSeeAuthService {
124
140
  init(auth: RTSeeAuth<any>): void;
125
141
  signIn(credentials: IRtseeSignInRequestOptions): Observable<IRTSeeSignInResponse>;
126
142
  signUp(credentials: IRtseeSignUpRequestOptions): Observable<IRTSeeSignUpResponse>;
143
+ forgotPassword(credentials: IRtseeForgotPasswordRequestOptions): Observable<IRTSeeForgotPasswordResponse>;
144
+ resetPassword(credentials: IRtseeResetPasswordRequestOptions): Observable<IRTSeeResetPasswordResponse>;
127
145
  static ɵfac: i0.ɵɵFactoryDeclaration<RTSeeAuthService, never>;
128
146
  static ɵprov: i0.ɵɵInjectableDeclaration<RTSeeAuthService>;
129
147
  }
@@ -131,7 +149,7 @@ declare class RTSeeAuthService {
131
149
  declare class RTSeeAuthComponent implements OnInit {
132
150
  authService: RTSeeAuthService;
133
151
  auth: RTSeeAuth<any>;
134
- activeComponent: 'reset-password' | 'sign-up' | 'sign-in' | 'forgot-password';
152
+ activeComponent: 'reset-password' | 'sign-up' | 'sign-in' | 'forgot-password' | 'privacy-policy';
135
153
  constructor(authService: RTSeeAuthService);
136
154
  ngOnInit(): void;
137
155
  static ɵfac: i0.ɵɵFactoryDeclaration<RTSeeAuthComponent, never>;
@@ -167,12 +185,16 @@ type SignInForm = {
167
185
 
168
186
  declare class ForgotPasswordComponent {
169
187
  private readonly formBuilder;
188
+ private readonly router;
170
189
  private authService;
171
190
  isLoading: boolean;
191
+ successMessage: string;
192
+ errorMessage: string;
172
193
  readonly emailForm: FormGroup<TypedReactiveForm<ForgotPasswordForm>>;
173
194
  readonly forgotPasswordFormKeys: Record<keyof ForgotPasswordForm, string>;
174
195
  authConfiguration: RTSeeAuthConfiguration;
175
- constructor(formBuilder: FormBuilder, authService: RTSeeAuthService);
196
+ constructor(formBuilder: FormBuilder, router: Router, authService: RTSeeAuthService);
197
+ get emailField(): FormControl<string>;
176
198
  submitEmail(): void;
177
199
  protected readonly AuthEndpointsKeys: typeof AuthEndpointsKeys;
178
200
  static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
@@ -202,11 +224,19 @@ declare class SignInComponent {
202
224
 
203
225
  declare class SignUpComponent {
204
226
  private readonly formBuilder;
227
+ private readonly router;
205
228
  private authService;
206
229
  readonly signUpForm: FormGroup<TypedReactiveForm<SignUpForm>>;
207
230
  readonly signUpFormKeys: Record<keyof SignUpForm, string>;
208
231
  readonly authConfiguration: RTSeeAuthConfiguration;
209
- constructor(formBuilder: FormBuilder, authService: RTSeeAuthService);
232
+ loadInProgress: boolean;
233
+ successMessage: string;
234
+ errorMessage: string;
235
+ constructor(formBuilder: FormBuilder, router: Router, authService: RTSeeAuthService);
236
+ get emailField(): FormControl<string>;
237
+ get passwordField(): FormControl<string>;
238
+ get passwordConfirmationField(): FormControl<string>;
239
+ get termsField(): FormControl<boolean>;
210
240
  signUp(): void;
211
241
  protected readonly AuthEndpointsKeys: typeof AuthEndpointsKeys;
212
242
  static ɵfac: i0.ɵɵFactoryDeclaration<SignUpComponent, never>;
@@ -323,20 +353,36 @@ declare class RtseeEventsDashboardClientComponent {
323
353
  static ɵcmp: i0.ɵɵComponentDeclaration<RtseeEventsDashboardClientComponent, "ngx-rtsee-events-dashboard-client", never, {}, {}, never, never, true, never>;
324
354
  }
325
355
 
356
+ declare enum FormErrorKey {
357
+ required = "required",
358
+ email = "email",
359
+ minLength = "minlength",
360
+ maxLength = "maxlength",
361
+ requiredLength = "requiredLength",
362
+ passwordsMismatch = "passwordsMismatch"
363
+ }
364
+
326
365
  declare class ResetPasswordComponent implements OnInit {
327
366
  private formBuilder;
328
367
  private route;
368
+ private readonly router;
329
369
  private authService;
330
370
  isLoading: boolean;
371
+ successMessage: string;
372
+ errorMessage: string;
331
373
  resetPasswordForm: FormGroup<TypedReactiveForm<ResetPasswordForm>>;
332
374
  passwordFormKeys: Record<keyof ResetPasswordForm, string>;
333
375
  hidePassword: Record<keyof ResetPasswordForm, boolean>;
334
376
  private token;
335
377
  authConfiguration: RTSeeAuthConfiguration;
336
- constructor(formBuilder: FormBuilder, route: ActivatedRoute, authService: RTSeeAuthService);
378
+ constructor(formBuilder: FormBuilder, route: ActivatedRoute, router: Router, authService: RTSeeAuthService);
379
+ get passwordField(): FormControl<string>;
380
+ get passwordConfirmField(): FormControl<string>;
337
381
  ngOnInit(): void;
338
382
  resetPassword(): void;
339
383
  private passwordMatchValidator;
384
+ protected readonly FormErrorKey: typeof FormErrorKey;
385
+ protected readonly AuthEndpointsKeys: typeof AuthEndpointsKeys;
340
386
  static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
341
387
  static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "rtsee-reset-password", never, {}, {}, never, never, true, never>;
342
388
  }
@@ -86,6 +86,7 @@
86
86
  width: 100%;
87
87
  bottom: 0;
88
88
  left: 0;
89
+ z-index: 1;
89
90
  }
90
91
 
91
92
  .rtsee-shell-panel {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.61",
2
+ "version": "0.0.63",
3
3
  "name": "@rtsee/ngx",
4
4
  "module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
5
5
  "types": "./dist/ngx/index.d.ts",
@@ -34,11 +34,11 @@
34
34
  "@angular/platform-browser-dynamic": "^20.1.2",
35
35
  "@angular/router": "^20.1.2",
36
36
  "@primeuix/themes": "^1.2.3",
37
- "@rtsee/common": "^0.0.31",
38
- "@rtsee/conference": "^0.0.32",
39
- "@rtsee/events-dashboard": "^0.0.65",
40
- "@rtsee/factory": "^0.0.74",
41
- "@rtsee/messenger": "^0.0.65",
37
+ "@rtsee/common": "^0.0.33",
38
+ "@rtsee/conference": "^0.0.34",
39
+ "@rtsee/events-dashboard": "^0.0.67",
40
+ "@rtsee/factory": "^0.0.76",
41
+ "@rtsee/messenger": "^0.0.67",
42
42
  "@rtsee/signaling-client": "^0.0.66",
43
43
  "dayjs": "^1.11.9",
44
44
  "ngx-autosize": "^2.0.4",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "1a59146001d8fefe1392187d4b0322797419f854"
67
+ "gitHead": "47400b8569141cd4d3521900ca6d45b6e89f3b1d"
68
68
  }