@bitblit/ngx-acute-warden 5.0.553-alpha → 5.0.555-alpha

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.
@@ -1,4 +1,4 @@
1
- import { OnInit } from "@angular/core";
1
+ import { AfterViewChecked } from "@angular/core";
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { WardenClient } from "@bitblit/ratchet-warden-common/client/warden-client";
4
4
  import { WardenUserService } from "@bitblit/ratchet-warden-common/client/warden-user-service";
@@ -6,16 +6,18 @@ import { WardenContact } from "@bitblit/ratchet-warden-common/common/model/warde
6
6
  import { WardenRecentLoginDescriptor } from "@bitblit/ratchet-warden-common/client/provider/warden-recent-login-descriptor";
7
7
  import { DialogService } from "primeng/dynamicdialog";
8
8
  import * as i0 from "@angular/core";
9
- export declare class AcuteLoginComponent implements OnInit {
9
+ export declare class AcuteLoginComponent implements AfterViewChecked {
10
10
  private route;
11
11
  private router;
12
12
  userService: WardenUserService<any>;
13
13
  wardenClient: WardenClient;
14
14
  private dlgService;
15
+ applicationName: string;
16
+ helperText: string;
15
17
  postLoginUrl: string;
16
- showCodeCard: boolean;
17
18
  verificationCode: string;
18
19
  waitingContact: WardenContact;
20
+ showCodePage: boolean;
19
21
  newContactValue: string;
20
22
  constructor(route: ActivatedRoute, router: Router, userService: WardenUserService<any>, wardenClient: WardenClient, dlgService: DialogService);
21
23
  userById(index: number, ld: WardenRecentLoginDescriptor): string;
@@ -23,14 +25,13 @@ export declare class AcuteLoginComponent implements OnInit {
23
25
  get hasRecentLogins(): boolean;
24
26
  get recentLogins(): WardenRecentLoginDescriptor[];
25
27
  clearSavedLogins(): void;
26
- ngOnInit(): void;
28
+ ngAfterViewChecked(): void;
27
29
  sendCodeToNewContact(value: string): Promise<void>;
28
30
  sendCodeToContact(contact: WardenContact): Promise<void>;
29
31
  submitVerificationCode(input: string, verificationCode: string): Promise<void>;
30
32
  processWebAuthnLogin(userId: string): Promise<void>;
31
33
  removeSingleLogin(userId: string): void;
32
- toggleCard(clearCode: boolean): void;
33
34
  contactValueInvalidAndDirty(): boolean;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<AcuteLoginComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<AcuteLoginComponent, "ngx-acute-warden-login", never, { "postLoginUrl": { "alias": "postLoginUrl"; "required": false; }; }, {}, never, never, true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<AcuteLoginComponent, "ngx-acute-warden-login", never, { "applicationName": { "alias": "applicationName"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "postLoginUrl": { "alias": "postLoginUrl"; "required": false; }; }, {}, never, never, true, never>;
36
37
  }
@@ -17,6 +17,11 @@ import { DialogService } from "primeng/dynamicdialog";
17
17
  import { InputTextModule } from "primeng/inputtext";
18
18
  import { RequireRatchet } from "@bitblit/ratchet-common/lang/require-ratchet";
19
19
  import { InputOtpModule } from "primeng/inputotp";
20
+ import { AccordionModule } from "primeng/accordion";
21
+ import { TabViewModule } from "primeng/tabview";
22
+ import { SplitButtonModule } from "primeng/splitbutton";
23
+ import { InputGroupModule } from "primeng/inputgroup";
24
+ import { ToolbarModule } from "primeng/toolbar";
20
25
  import * as i0 from "@angular/core";
21
26
  import * as i1 from "@angular/router";
22
27
  import * as i2 from "@bitblit/ratchet-warden-common/client/warden-user-service";
@@ -25,136 +30,154 @@ import * as i4 from "primeng/dynamicdialog";
25
30
  import * as i5 from "primeng/button";
26
31
  import * as i6 from "@angular/forms";
27
32
  import * as i7 from "@angular/common";
28
- import * as i8 from "primeng/card";
29
- import * as i9 from "primeng/tooltip";
30
- import * as i10 from "primeng/fieldset";
31
- import * as i11 from "primeng/inputtext";
32
- import * as i12 from "primeng/inputotp";
33
- function AcuteLoginComponent_p_card_2_span_6_Template(rf, ctx) { if (rf & 1) {
34
- i0.ɵɵelementStart(0, "span", 12);
33
+ import * as i8 from "primeng/tooltip";
34
+ import * as i9 from "primeng/fieldset";
35
+ import * as i10 from "primeng/inputtext";
36
+ import * as i11 from "primeng/inputotp";
37
+ function AcuteLoginComponent_div_2_Template(rf, ctx) { if (rf & 1) {
38
+ i0.ɵɵelementStart(0, "div", 5);
39
+ i0.ɵɵtext(1);
40
+ i0.ɵɵelementEnd();
41
+ } if (rf & 2) {
42
+ const ctx_r0 = i0.ɵɵnextContext();
43
+ i0.ɵɵadvance();
44
+ i0.ɵɵtextInterpolate(ctx_r0.applicationName);
45
+ } }
46
+ function AcuteLoginComponent_div_3_Template(rf, ctx) { if (rf & 1) {
47
+ i0.ɵɵelementStart(0, "div", 6);
48
+ i0.ɵɵtext(1);
49
+ i0.ɵɵelementEnd();
50
+ } if (rf & 2) {
51
+ const ctx_r0 = i0.ɵɵnextContext();
52
+ i0.ɵɵadvance();
53
+ i0.ɵɵtextInterpolate(ctx_r0.helperText);
54
+ } }
55
+ function AcuteLoginComponent_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
56
+ i0.ɵɵelementStart(0, "span", 14);
35
57
  i0.ɵɵtext(1, "Valid email or phone number required");
36
58
  i0.ɵɵelementEnd();
37
59
  } }
38
- function AcuteLoginComponent_p_card_2_hr_7_Template(rf, ctx) { if (rf & 1) {
39
- i0.ɵɵelement(0, "hr");
60
+ function AcuteLoginComponent_div_4_div_6_Template(rf, ctx) { if (rf & 1) {
61
+ i0.ɵɵelementStart(0, "div", 15)(1, "div");
62
+ i0.ɵɵtext(2, "-----");
63
+ i0.ɵɵelementEnd();
64
+ i0.ɵɵelementStart(3, "div", 16);
65
+ i0.ɵɵtext(4, "Or select a previously used method");
66
+ i0.ɵɵelementEnd();
67
+ i0.ɵɵelementStart(5, "div");
68
+ i0.ɵɵtext(6, "-----");
69
+ i0.ɵɵelementEnd()();
40
70
  } }
41
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_p_button_2_Template(rf, ctx) { if (rf & 1) {
71
+ function AcuteLoginComponent_div_4_div_7_p_button_5_Template(rf, ctx) { if (rf & 1) {
42
72
  const _r4 = i0.ɵɵgetCurrentView();
43
- i0.ɵɵelementStart(0, "p-button", 19);
44
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_p_button_2_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const lg_r5 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.processWebAuthnLogin(lg_r5.user.userId)); });
73
+ i0.ɵɵelementStart(0, "p-button", 24);
74
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_4_div_7_p_button_5_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const lg_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.processWebAuthnLogin(lg_r5.user.userId)); });
45
75
  i0.ɵɵelementEnd();
46
76
  } }
47
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_1_Template(rf, ctx) { if (rf & 1) {
48
- const _r7 = i0.ɵɵgetCurrentView();
49
- i0.ɵɵelementStart(0, "p-button", 23);
50
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_1_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const e_r8 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.sendCodeToContact(e_r8)); });
77
+ function AcuteLoginComponent_div_4_div_7_div_6_p_button_1_Template(rf, ctx) { if (rf & 1) {
78
+ const _r6 = i0.ɵɵgetCurrentView();
79
+ i0.ɵɵelementStart(0, "p-button", 28);
80
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_4_div_7_div_6_p_button_1_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const e_r7 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.sendCodeToContact(e_r7)); });
51
81
  i0.ɵɵelementEnd();
52
82
  } if (rf & 2) {
53
- const e_r8 = i0.ɵɵnextContext().$implicit;
54
- i0.ɵɵpropertyInterpolate1("label", "Send magic link via email to ", e_r8.value, "");
83
+ const e_r7 = i0.ɵɵnextContext().$implicit;
84
+ i0.ɵɵpropertyInterpolate("pTooltip", e_r7.value);
55
85
  } }
56
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_2_Template(rf, ctx) { if (rf & 1) {
57
- const _r9 = i0.ɵɵgetCurrentView();
58
- i0.ɵɵelementStart(0, "p-button", 23);
59
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_2_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const e_r8 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.sendCodeToContact(e_r8)); });
86
+ function AcuteLoginComponent_div_4_div_7_div_6_p_button_2_Template(rf, ctx) { if (rf & 1) {
87
+ const _r8 = i0.ɵɵgetCurrentView();
88
+ i0.ɵɵelementStart(0, "p-button", 29);
89
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_4_div_7_div_6_p_button_2_Template_p_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const e_r7 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.sendCodeToContact(e_r7)); });
60
90
  i0.ɵɵelementEnd();
61
91
  } if (rf & 2) {
62
- const e_r8 = i0.ɵɵnextContext().$implicit;
63
- i0.ɵɵpropertyInterpolate1("label", "Send magic link via text message to ", e_r8.value, "");
92
+ const e_r7 = i0.ɵɵnextContext().$implicit;
93
+ i0.ɵɵpropertyInterpolate("pTooltip", e_r7.value);
64
94
  } }
65
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
66
- const _r6 = i0.ɵɵgetCurrentView();
67
- i0.ɵɵelementStart(0, "div", 20);
68
- i0.ɵɵtemplate(1, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_1_Template, 1, 2, "p-button", 21)(2, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_2_Template, 1, 2, "p-button", 21);
69
- i0.ɵɵelementStart(3, "p-button", 22);
70
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_Template_p_button_click_3_listener() { i0.ɵɵrestoreView(_r6); const lg_r5 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeSingleLogin(lg_r5.user.userId)); });
71
- i0.ɵɵelementEnd()();
95
+ function AcuteLoginComponent_div_4_div_7_div_6_Template(rf, ctx) { if (rf & 1) {
96
+ i0.ɵɵelementStart(0, "div", 25);
97
+ i0.ɵɵtemplate(1, AcuteLoginComponent_div_4_div_7_div_6_p_button_1_Template, 1, 1, "p-button", 26)(2, AcuteLoginComponent_div_4_div_7_div_6_p_button_2_Template, 1, 1, "p-button", 27);
98
+ i0.ɵɵelementEnd();
72
99
  } if (rf & 2) {
73
- const e_r8 = ctx.$implicit;
74
- i0.ɵɵadvance();
75
- i0.ɵɵproperty("ngIf", e_r8.type === "EmailAddress");
100
+ const e_r7 = ctx.$implicit;
76
101
  i0.ɵɵadvance();
77
- i0.ɵɵproperty("ngIf", e_r8.type === "TextCapablePhoneNumber");
102
+ i0.ɵɵproperty("ngIf", e_r7.type === "EmailAddress");
78
103
  i0.ɵɵadvance();
79
- i0.ɵɵpropertyInterpolate1("label", "Forget ", e_r8.value, "");
104
+ i0.ɵɵproperty("ngIf", e_r7.type === "TextCapablePhoneNumber");
80
105
  } }
81
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_Template(rf, ctx) { if (rf & 1) {
82
- i0.ɵɵelementStart(0, "div")(1, "p-fieldset", 16);
83
- i0.ɵɵtemplate(2, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_p_button_2_Template, 1, 0, "p-button", 17)(3, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_Template, 4, 4, "div", 18);
84
- i0.ɵɵelementEnd()();
106
+ function AcuteLoginComponent_div_4_div_7_Template(rf, ctx) { if (rf & 1) {
107
+ const _r3 = i0.ɵɵgetCurrentView();
108
+ i0.ɵɵelementStart(0, "div")(1, "div", 17)(2, "h3", 18);
109
+ i0.ɵɵtext(3);
110
+ i0.ɵɵelementEnd();
111
+ i0.ɵɵelementStart(4, "div", 19);
112
+ i0.ɵɵtemplate(5, AcuteLoginComponent_div_4_div_7_p_button_5_Template, 1, 0, "p-button", 20)(6, AcuteLoginComponent_div_4_div_7_div_6_Template, 3, 2, "div", 21);
113
+ i0.ɵɵelementEnd();
114
+ i0.ɵɵelementStart(7, "div", 22)(8, "p-button", 23);
115
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_4_div_7_Template_p_button_click_8_listener() { const lg_r5 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.removeSingleLogin(lg_r5.user.userId)); });
116
+ i0.ɵɵelementEnd()()()();
85
117
  } if (rf & 2) {
86
118
  const lg_r5 = ctx.$implicit;
87
- const ctx_r1 = i0.ɵɵnextContext(3);
88
- i0.ɵɵadvance();
89
- i0.ɵɵproperty("legend", lg_r5.user.userLabel);
90
- i0.ɵɵadvance();
119
+ const ctx_r0 = i0.ɵɵnextContext(2);
120
+ i0.ɵɵadvance(3);
121
+ i0.ɵɵtextInterpolate(lg_r5.user.userLabel);
122
+ i0.ɵɵadvance(2);
91
123
  i0.ɵɵproperty("ngIf", lg_r5 == null ? null : lg_r5.user == null ? null : lg_r5.user.webAuthnAuthenticatorSummaries == null ? null : lg_r5.user.webAuthnAuthenticatorSummaries.length);
92
124
  i0.ɵɵadvance();
93
- i0.ɵɵproperty("ngForOf", lg_r5.user.contactMethods)("ngForTrackBy", ctx_r1.contactByName);
94
- } }
95
- function AcuteLoginComponent_p_card_2_p_fieldset_8_Template(rf, ctx) { if (rf & 1) {
96
- const _r3 = i0.ɵɵgetCurrentView();
97
- i0.ɵɵelementStart(0, "p-fieldset", 13);
98
- i0.ɵɵtemplate(1, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_Template, 4, 4, "div", 14);
99
- i0.ɵɵelement(2, "hr");
100
- i0.ɵɵelementStart(3, "button", 15);
101
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_p_fieldset_8_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clearSavedLogins()); });
102
- i0.ɵɵelementEnd()();
103
- } if (rf & 2) {
104
- const ctx_r1 = i0.ɵɵnextContext(2);
105
- i0.ɵɵadvance();
106
- i0.ɵɵproperty("ngForOf", ctx_r1.recentLogins)("ngForTrackBy", ctx_r1.userById);
125
+ i0.ɵɵproperty("ngForOf", lg_r5.user.contactMethods)("ngForTrackBy", ctx_r0.contactByName);
126
+ i0.ɵɵadvance(2);
127
+ i0.ɵɵpropertyInterpolate1("pTooltip", "Forget ", lg_r5.user.userLabel, "");
107
128
  } }
108
- function AcuteLoginComponent_p_card_2_Template(rf, ctx) { if (rf & 1) {
109
- const _r1 = i0.ɵɵgetCurrentView();
110
- i0.ɵɵelementStart(0, "p-card", 4)(1, "div")(2, "p-fieldset", 5)(3, "div", 6)(4, "input", 7);
111
- i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_p_card_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.newContactValue, $event) || (ctx_r1.newContactValue = $event); return i0.ɵɵresetView($event); });
129
+ function AcuteLoginComponent_div_4_Template(rf, ctx) { if (rf & 1) {
130
+ const _r2 = i0.ɵɵgetCurrentView();
131
+ i0.ɵɵelementStart(0, "div")(1, "div", 7)(2, "div", 8)(3, "input", 9);
132
+ i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_div_4_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.newContactValue, $event) || (ctx_r0.newContactValue = $event); return i0.ɵɵresetView($event); });
112
133
  i0.ɵɵelementEnd();
113
- i0.ɵɵelementStart(5, "p-button", 8);
114
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_2_Template_p_button_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sendCodeToNewContact(ctx_r1.newContactValue)); });
134
+ i0.ɵɵelementStart(4, "p-button", 10);
135
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_4_Template_p_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.sendCodeToNewContact(ctx_r0.newContactValue)); });
115
136
  i0.ɵɵelementEnd()();
116
- i0.ɵɵtemplate(6, AcuteLoginComponent_p_card_2_span_6_Template, 2, 0, "span", 9);
137
+ i0.ɵɵtemplate(5, AcuteLoginComponent_div_4_span_5_Template, 2, 0, "span", 11);
138
+ i0.ɵɵelementEnd();
139
+ i0.ɵɵtemplate(6, AcuteLoginComponent_div_4_div_6_Template, 7, 0, "div", 12)(7, AcuteLoginComponent_div_4_div_7_Template, 9, 6, "div", 13);
117
140
  i0.ɵɵelementEnd();
118
- i0.ɵɵtemplate(7, AcuteLoginComponent_p_card_2_hr_7_Template, 1, 0, "hr", 10)(8, AcuteLoginComponent_p_card_2_p_fieldset_8_Template, 4, 2, "p-fieldset", 11);
119
- i0.ɵɵelementEnd()();
120
141
  } if (rf & 2) {
121
- const ctx_r1 = i0.ɵɵnextContext();
122
- i0.ɵɵadvance(4);
123
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.newContactValue);
124
- i0.ɵɵadvance(2);
125
- i0.ɵɵproperty("ngIf", ctx_r1.contactValueInvalidAndDirty());
142
+ const ctx_r0 = i0.ɵɵnextContext();
143
+ i0.ɵɵadvance(3);
144
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r0.newContactValue);
145
+ i0.ɵɵadvance();
146
+ i0.ɵɵproperty("disabled", ctx_r0.contactValueInvalidAndDirty());
147
+ i0.ɵɵadvance();
148
+ i0.ɵɵproperty("ngIf", ctx_r0.contactValueInvalidAndDirty());
126
149
  i0.ɵɵadvance();
127
- i0.ɵɵproperty("ngIf", ctx_r1.hasRecentLogins);
150
+ i0.ɵɵproperty("ngIf", ctx_r0.hasRecentLogins);
128
151
  i0.ɵɵadvance();
129
- i0.ɵɵproperty("ngIf", ctx_r1.hasRecentLogins);
152
+ i0.ɵɵproperty("ngForOf", ctx_r0.recentLogins)("ngForTrackBy", ctx_r0.userById);
130
153
  } }
131
- function AcuteLoginComponent_p_card_3_Template(rf, ctx) { if (rf & 1) {
132
- const _r10 = i0.ɵɵgetCurrentView();
133
- i0.ɵɵelementStart(0, "p-card", 24)(1, "p-fieldset", 25)(2, "div", 26)(3, "div");
134
- i0.ɵɵtext(4, "Code sent to ");
135
- i0.ɵɵelementStart(5, "span", 27);
154
+ function AcuteLoginComponent_div_5_Template(rf, ctx) { if (rf & 1) {
155
+ const _r9 = i0.ɵɵgetCurrentView();
156
+ i0.ɵɵelementStart(0, "div")(1, "p-fieldset", 30)(2, "div", 31)(3, "div");
157
+ i0.ɵɵtext(4, "Enter the code sent to ");
158
+ i0.ɵɵelementStart(5, "span", 32);
136
159
  i0.ɵɵtext(6);
137
160
  i0.ɵɵelementEnd()();
138
- i0.ɵɵelementStart(7, "input", 28);
139
- i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_p_card_3_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.waitingContact.value, $event) || (ctx_r1.waitingContact.value = $event); return i0.ɵɵresetView($event); });
161
+ i0.ɵɵelementStart(7, "input", 33);
162
+ i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_div_5_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.waitingContact.value, $event) || (ctx_r0.waitingContact.value = $event); return i0.ɵɵresetView($event); });
140
163
  i0.ɵɵelementEnd();
141
- i0.ɵɵelementStart(8, "p-inputOtp", 29);
142
- i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_p_card_3_Template_p_inputOtp_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.verificationCode, $event) || (ctx_r1.verificationCode = $event); return i0.ɵɵresetView($event); });
164
+ i0.ɵɵelementStart(8, "p-inputOtp", 34);
165
+ i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_div_5_Template_p_inputOtp_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.verificationCode, $event) || (ctx_r0.verificationCode = $event); return i0.ɵɵresetView($event); });
143
166
  i0.ɵɵelementEnd();
144
- i0.ɵɵelementStart(9, "div", 6)(10, "p-button", 30);
145
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_3_Template_p_button_click_10_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.submitVerificationCode(ctx_r1.waitingContact.value, ctx_r1.verificationCode)); });
167
+ i0.ɵɵelementStart(9, "div", 8)(10, "p-button", 35);
168
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_5_Template_p_button_click_10_listener() { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.submitVerificationCode(ctx_r0.waitingContact.value, ctx_r0.verificationCode)); });
146
169
  i0.ɵɵelementEnd();
147
- i0.ɵɵelementStart(11, "p-button", 31);
148
- i0.ɵɵlistener("click", function AcuteLoginComponent_p_card_3_Template_p_button_click_11_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleCard(true)); });
170
+ i0.ɵɵelementStart(11, "p-button", 36);
171
+ i0.ɵɵlistener("click", function AcuteLoginComponent_div_5_Template_p_button_click_11_listener() { i0.ɵɵrestoreView(_r9); const ctx_r0 = i0.ɵɵnextContext(); ctx_r0.verificationCode = null; return i0.ɵɵresetView(ctx_r0.showCodePage = false); });
149
172
  i0.ɵɵelementEnd()()()()();
150
173
  } if (rf & 2) {
151
- const ctx_r1 = i0.ɵɵnextContext();
174
+ const ctx_r0 = i0.ɵɵnextContext();
152
175
  i0.ɵɵadvance(6);
153
- i0.ɵɵtextInterpolate(ctx_r1.waitingContact.value);
176
+ i0.ɵɵtextInterpolate(ctx_r0.waitingContact.value);
154
177
  i0.ɵɵadvance();
155
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.waitingContact.value);
178
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r0.waitingContact.value);
156
179
  i0.ɵɵadvance();
157
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.verificationCode);
180
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r0.verificationCode);
158
181
  i0.ɵɵproperty("length", 6);
159
182
  } }
160
183
  export class AcuteLoginComponent {
@@ -163,10 +186,12 @@ export class AcuteLoginComponent {
163
186
  userService;
164
187
  wardenClient;
165
188
  dlgService;
189
+ applicationName;
190
+ helperText;
166
191
  postLoginUrl;
167
- showCodeCard = false;
168
192
  verificationCode;
169
193
  waitingContact;
194
+ showCodePage = false;
170
195
  newContactValue;
171
196
  constructor(route, router, userService, wardenClient, dlgService) {
172
197
  this.route = route;
@@ -186,14 +211,15 @@ export class AcuteLoginComponent {
186
211
  return this.recentLogins.length > 0;
187
212
  }
188
213
  get recentLogins() {
189
- return this.userService?.serviceOptions?.recentLoginProvider?.fetchAllLogins() || [];
214
+ const rval = this.userService?.serviceOptions?.recentLoginProvider?.fetchAllLogins() || [];
215
+ return rval;
190
216
  }
191
217
  clearSavedLogins() {
192
218
  if (confirm('Are you sure you want to clear saved logins?')) {
193
219
  this.userService.serviceOptions.recentLoginProvider.clearAllLogins();
194
220
  }
195
221
  }
196
- ngOnInit() {
222
+ ngAfterViewChecked() {
197
223
  RequireRatchet.notNullUndefinedOrOnlyWhitespaceString(this.postLoginUrl, 'postLoginUrl may not be empty');
198
224
  }
199
225
  async sendCodeToNewContact(value) {
@@ -213,7 +239,7 @@ export class AcuteLoginComponent {
213
239
  this.waitingContact = { type: ct, value: value };
214
240
  const val = await this.userService.sendExpiringCode(this.waitingContact);
215
241
  if (val) {
216
- this.showCodeCard = true;
242
+ this.showCodePage = true;
217
243
  }
218
244
  else {
219
245
  AlertComponent.showAlert(this.dlgService, 'Failed to send code');
@@ -222,14 +248,15 @@ export class AcuteLoginComponent {
222
248
  }
223
249
  }
224
250
  async sendCodeToContact(contact) {
251
+ Logger.info('Send code to contact %j', contact);
225
252
  if (contact && StringRatchet.trimToNull(contact.value) && contact.type) {
226
253
  this.waitingContact = contact;
227
254
  const val = await this.userService.sendExpiringCode(contact);
228
255
  if (val) {
229
- this.showCodeCard = true;
256
+ this.showCodePage = true;
230
257
  }
231
258
  else {
232
- alert('Failed to send code');
259
+ AlertComponent.showAlert(this.dlgService, 'Failed to send code');
233
260
  }
234
261
  }
235
262
  else {
@@ -242,6 +269,9 @@ export class AcuteLoginComponent {
242
269
  if (val) {
243
270
  await this.router.navigate([this.postLoginUrl]);
244
271
  }
272
+ else {
273
+ AlertComponent.showAlert(this.dlgService, 'Code submission failed');
274
+ }
245
275
  }
246
276
  async processWebAuthnLogin(userId) {
247
277
  Logger.info('processWebAuthnLogin: %s', userId);
@@ -249,36 +279,43 @@ export class AcuteLoginComponent {
249
279
  if (val) {
250
280
  await this.router.navigate([this.postLoginUrl]);
251
281
  }
282
+ else {
283
+ AlertComponent.showAlert(this.dlgService, 'Web authentication method failed');
284
+ }
252
285
  }
253
286
  removeSingleLogin(userId) {
254
287
  this.userService.serviceOptions.recentLoginProvider.removeUser(userId);
255
288
  }
256
- toggleCard(clearCode) {
257
- this.showCodeCard = !this.showCodeCard;
258
- if (clearCode) {
259
- this.verificationCode = null;
260
- }
261
- }
262
289
  contactValueInvalidAndDirty() {
263
- return StringRatchet.trimToNull(this.newContactValue) && !WardenUtils.stringIsPhoneNumber(this.newContactValue);
290
+ return StringRatchet.trimToNull(this.newContactValue) && !WardenUtils.stringIsPhoneNumber(this.newContactValue) && !WardenUtils.stringIsEmailAddress(this.newContactValue);
264
291
  }
265
292
  static ɵfac = function AcuteLoginComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AcuteLoginComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.WardenUserService), i0.ɵɵdirectiveInject(i3.WardenClient), i0.ɵɵdirectiveInject(i4.DialogService)); };
266
- static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteLoginComponent, selectors: [["ngx-acute-warden-login"]], inputs: { postLoginUrl: "postLoginUrl" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 2, consts: [[2, "display", "flex", "flex-direction", "column", "justify-content", "center"], [2, "display", "flex", "flex-direction", "row", "justify-content", "center"], ["header", "ParaTrade", 4, "ngIf"], ["header", "ParaTrade Authorization Code", 4, "ngIf"], ["header", "ParaTrade"], ["legend", "New Login"], [2, "display", "flex", "flex-direction", "row", "justify-content", "space-between", "gap", "5px"], ["id", "newContactValue", "pInputText", "", "placeholder", "Your Email or Phone", "type", "text", 1, "p-inputtext", "rounded-input", 2, "width", "100%", 3, "ngModelChange", "ngModel"], ["icon", "pi pi-envelope", "pTooltip", "Send code", 3, "click"], ["style", "color:red", 4, "ngIf"], [4, "ngIf"], ["legend", "Previous Logins", 4, "ngIf"], [2, "color", "red"], ["legend", "Previous Logins"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["pButton", "", "icon", "pi pi-ban", "label", "Clear Saved Logins", 2, "margin-top", "10px", 3, "click"], [3, "legend"], ["icon", "pi pi-lock-open", "pTooltip", "Send WebAuthn", "label", "Authenticate by device (WebAuthn)", 3, "click", 4, "ngIf"], ["style", "display: flex; flex-direction: row; gap: 5px", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["icon", "pi pi-lock-open", "pTooltip", "Send WebAuthn", "label", "Authenticate by device (WebAuthn)", 3, "click"], [2, "display", "flex", "flex-direction", "row", "gap", "5px"], ["icon", "pi pi-sign-in", 3, "label", "click", 4, "ngIf"], ["icon", "pi pi-delete-left", 3, "click", "label"], ["icon", "pi pi-sign-in", 3, "click", "label"], ["header", "ParaTrade Authorization Code"], ["legend", "Email"], [2, "display", "flex", "flex-direction", "column", "min-width", "100%", "justify-content", "center", "align-items", "center", "gap", "10px"], [2, "font-weight", "bolder"], ["type", "hidden", "id", "waitingContactValue", "readonly", "true", 1, "p-inputtext", "rounded-input", 3, "ngModelChange", "ngModel"], ["id", "verificationCode", 2, "width", "100%", 3, "ngModelChange", "ngModel", "length"], ["label", "Submit code", 3, "click"], ["label", "Cancel", 3, "click"]], template: function AcuteLoginComponent_Template(rf, ctx) { if (rf & 1) {
293
+ static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteLoginComponent, selectors: [["ngx-acute-warden-login"]], inputs: { applicationName: "applicationName", helperText: "helperText", postLoginUrl: "postLoginUrl" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 6, vars: 4, consts: [[2, "display", "flex", "flex-direction", "column", "margin", "10px", "padding", "2px", "align-content", "center", "justify-content", "center"], [2, "display", "flex", "flex-direction", "column", "align-content", "center", "justify-content", "center", "margin", "1em", "gap", "2px"], ["class", "text-3xl font-bold text-center text-primary", 4, "ngIf"], ["class", "text-base font-italic text-center text-secondary", 4, "ngIf"], [4, "ngIf"], [1, "text-3xl", "font-bold", "text-center", "text-primary"], [1, "text-base", "font-italic", "text-center", "text-secondary"], [2, "display", "flex", "flex-direction", "column"], [2, "display", "flex", "flex-direction", "row", "justify-content", "space-between", "gap", "5px"], ["id", "newContactValue", "pInputText", "", "placeholder", "Your Email or Text-Capable Phone", "type", "text", 1, "p-inputtext", "rounded-input", 2, "width", "100%", 3, "ngModelChange", "ngModel"], ["icon", "pi pi-envelope", "pTooltip", "Send code", 3, "click", "disabled"], ["style", "color:red", 4, "ngIf"], ["style", "display:flex;flex-direction: row; justify-content: space-around; margin: 2em;", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [2, "color", "red"], [2, "display", "flex", "flex-direction", "row", "justify-content", "space-around", "margin", "2em"], [1, "text-lg", "font-italic"], [2, "display", "flex", "flex-direction", "row", "justify-content", "space-between"], [1, "p-toolbar-start"], [1, "p-toolbar-center", 2, "display", "flex", "flex-direction", "row", "gap", "1em"], ["icon", "pi pi-lock-open", "pTooltip", "Authenticate by device (WebAuthn)", 3, "click", 4, "ngIf"], ["style", "display: flex; flex-direction: row; gap: 5px", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "p-toolbar-end"], ["icon", "pi pi-delete-left", "severity", "danger", 3, "click", "pTooltip"], ["icon", "pi pi-lock-open", "pTooltip", "Authenticate by device (WebAuthn)", 3, "click"], [2, "display", "flex", "flex-direction", "row", "gap", "5px"], ["icon", "pi pi-envelope", 3, "pTooltip", "click", 4, "ngIf"], ["icon", "pi pi-mobile", 3, "pTooltip", "click", 4, "ngIf"], ["icon", "pi pi-envelope", 3, "click", "pTooltip"], ["icon", "pi pi-mobile", 3, "click", "pTooltip"], ["legend", "One-Time Code"], [2, "display", "flex", "flex-direction", "column", "min-width", "100%", "justify-content", "center", "align-items", "center", "gap", "10px"], [2, "font-weight", "bolder"], ["type", "hidden", "id", "waitingContactValue", "readonly", "true", 1, "p-inputtext", "rounded-input", 3, "ngModelChange", "ngModel"], ["id", "verificationCode", 3, "ngModelChange", "ngModel", "length"], ["label", "Submit code", 3, "click"], ["label", "Cancel", 3, "click"]], template: function AcuteLoginComponent_Template(rf, ctx) { if (rf & 1) {
267
294
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
268
- i0.ɵɵtemplate(2, AcuteLoginComponent_p_card_2_Template, 9, 4, "p-card", 2)(3, AcuteLoginComponent_p_card_3_Template, 12, 4, "p-card", 3);
269
- i0.ɵɵelementEnd()();
295
+ i0.ɵɵtemplate(2, AcuteLoginComponent_div_2_Template, 2, 1, "div", 2)(3, AcuteLoginComponent_div_3_Template, 2, 1, "div", 3);
296
+ i0.ɵɵelementEnd();
297
+ i0.ɵɵtemplate(4, AcuteLoginComponent_div_4_Template, 8, 6, "div", 4)(5, AcuteLoginComponent_div_5_Template, 12, 4, "div", 4);
298
+ i0.ɵɵelementEnd();
270
299
  } if (rf & 2) {
271
300
  i0.ɵɵadvance(2);
272
- i0.ɵɵproperty("ngIf", !ctx.showCodeCard);
301
+ i0.ɵɵproperty("ngIf", ctx.applicationName);
302
+ i0.ɵɵadvance();
303
+ i0.ɵɵproperty("ngIf", ctx.helperText);
304
+ i0.ɵɵadvance();
305
+ i0.ɵɵproperty("ngIf", !ctx.showCodePage);
273
306
  i0.ɵɵadvance();
274
- i0.ɵɵproperty("ngIf", ctx.showCodeCard);
275
- } }, dependencies: [ButtonModule, i5.ButtonDirective, i5.Button, RouterModule, FormsModule, i6.DefaultValueAccessor, i6.NgControlStatus, i6.NgModel, CommonModule, i7.NgForOf, i7.NgIf, CardModule, i8.Card, TooltipModule, i9.Tooltip, FieldsetModule, i10.Fieldset, InputTextModule, i11.InputText, InputOtpModule, i12.InputOtp], encapsulation: 2 });
307
+ i0.ɵɵproperty("ngIf", ctx.showCodePage);
308
+ } }, dependencies: [ButtonModule, i5.Button, RouterModule, FormsModule, i6.DefaultValueAccessor, i6.NgControlStatus, i6.NgModel, CommonModule, i7.NgForOf, i7.NgIf, CardModule, TooltipModule, i8.Tooltip, FieldsetModule, i9.Fieldset, InputTextModule, i10.InputText, InputOtpModule, i11.InputOtp, AccordionModule, TabViewModule, SplitButtonModule, InputGroupModule, ToolbarModule], encapsulation: 2 });
276
309
  }
277
310
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteLoginComponent, [{
278
311
  type: Component,
279
- args: [{ selector: 'ngx-acute-warden-login', standalone: true, imports: [ButtonModule, RouterModule, FormsModule, CommonModule, CardModule, TooltipModule, ButtonModule, FieldsetModule, InputTextModule, InputOtpModule], template: "<div style=\"display: flex; flex-direction: column; justify-content: center\">\n <div style=\"display: flex; flex-direction: row; justify-content: center\">\n\n <p-card *ngIf=\"!showCodeCard\" header=\"ParaTrade\">\n <div>\n <p-fieldset legend=\"New Login\">\n <div style=\"display: flex; flex-direction: row; justify-content: space-between; gap: 5px\">\n <input class=\"p-inputtext rounded-input\" [(ngModel)]=\"newContactValue\" id=\"newContactValue\"\n pInputText style=\"width: 100%\"\n placeholder=\"Your Email or Phone\" type=\"text\">\n <p-button icon=\"pi pi-envelope\" (click)=\"sendCodeToNewContact(newContactValue)\"\n pTooltip=\"Send code\">\n </p-button>\n </div>\n <span *ngIf=\"contactValueInvalidAndDirty()\" style=\"color:red\">Valid email or phone number required</span>\n </p-fieldset>\n\n <hr *ngIf=\"hasRecentLogins\" />\n\n <p-fieldset *ngIf=\"hasRecentLogins\" legend=\"Previous Logins\">\n <div *ngFor=\"let lg of recentLogins; trackBy:userById\">\n\n <p-fieldset [legend]=\"lg.user.userLabel\">\n\n\n <p-button *ngIf=\"lg?.user?.webAuthnAuthenticatorSummaries?.length\" icon=\"pi pi-lock-open\"\n (click)=\"processWebAuthnLogin(lg.user.userId)\" pTooltip=\"Send WebAuthn\" label=\"Authenticate by device (WebAuthn)\">\n </p-button>\n\n <div *ngFor=\"let e of lg.user.contactMethods; trackBy:contactByName\" style=\"display: flex; flex-direction: row; gap: 5px\">\n\n <p-button *ngIf=\"e.type==='EmailAddress'\" icon=\"pi pi-sign-in\"\n (click)=\"sendCodeToContact(e)\" label=\"Send magic link via email to {{e.value}}\"></p-button>\n <p-button *ngIf=\"e.type==='TextCapablePhoneNumber'\" icon=\"pi pi-sign-in\"\n (click)=\"sendCodeToContact(e)\" label=\"Send magic link via text message to {{e.value}}\"></p-button>\n <p-button icon=\"pi pi-delete-left\"\n (click)=\"removeSingleLogin(lg.user.userId)\" label=\"Forget {{e.value}}\"></p-button>\n </div>\n </p-fieldset>\n </div>\n\n <hr/>\n <button pButton icon=\"pi pi-ban\" label=\"Clear Saved Logins\" (click)=\"clearSavedLogins()\" style=\"margin-top: 10px\"></button>\n\n </p-fieldset>\n\n\n </div>\n </p-card>\n\n <p-card *ngIf=\"showCodeCard\" header=\"ParaTrade Authorization Code\">\n\n <p-fieldset legend=\"Email\">\n <div style=\"display: flex; flex-direction: column; min-width: 100%; justify-content: center; align-items: center; gap: 10px\">\n <div>Code sent to <span style=\"font-weight: bolder\">{{waitingContact.value}}</span></div>\n <input type=\"hidden\" class=\"p-inputtext rounded-input\" [(ngModel)]=\"waitingContact.value\" id=\"waitingContactValue\" readonly=\"true\">\n <p-inputOtp [(ngModel)]=\"verificationCode\" id=\"verificationCode\" style=\"width: 100%\" [length]=\"6\" />\n <div style=\"display: flex; flex-direction: row; justify-content: space-between; gap: 5px\">\n <p-button (click)=\"submitVerificationCode(waitingContact.value, verificationCode)\"\n label=\"Submit code\">\n </p-button>\n <p-button (click)=\"toggleCard(true)\" label=\"Cancel\"></p-button>\n </div>\n </div>\n </p-fieldset>\n\n </p-card>\n\n\n </div>\n</div>\n\n" }]
280
- }], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenUserService }, { type: i3.WardenClient }, { type: i4.DialogService }], { postLoginUrl: [{
312
+ args: [{ selector: 'ngx-acute-warden-login', standalone: true, imports: [ButtonModule, RouterModule, FormsModule, CommonModule, CardModule, TooltipModule, ButtonModule, FieldsetModule, InputTextModule, InputOtpModule, AccordionModule, TabViewModule, SplitButtonModule, InputGroupModule, ToolbarModule], template: "<div style=\"display: flex; flex-direction: column; margin: 10px; padding: 2px; align-content: center; justify-content: center\">\n <div style=\"display: flex; flex-direction: column; align-content: center; justify-content: center; margin: 1em; gap: 2px\">\n <div class=\"text-3xl font-bold text-center text-primary\" *ngIf=\"applicationName\">{{applicationName}}</div>\n <div class=\"text-base font-italic text-center text-secondary\" *ngIf=\"helperText\">{{helperText}}</div>\n </div>\n\n <div *ngIf=\"!showCodePage\">\n\n <!--<button pButton icon=\"pi pi-ban\" label=\"Clear Saved Logins\" (click)=\"clearSavedLogins()\" style=\"margin-top: 10px\"></button>-->\n\n <div style=\"display: flex; flex-direction: column\">\n <div style=\"display: flex; flex-direction: row; justify-content: space-between; gap: 5px\">\n <input class=\"p-inputtext rounded-input\" [(ngModel)]=\"newContactValue\" id=\"newContactValue\"\n pInputText style=\"width: 100%\"\n placeholder=\"Your Email or Text-Capable Phone\" type=\"text\">\n <p-button icon=\"pi pi-envelope\" (click)=\"sendCodeToNewContact(newContactValue)\"\n pTooltip=\"Send code\" [disabled]=\"contactValueInvalidAndDirty()\">\n </p-button>\n </div>\n <span *ngIf=\"contactValueInvalidAndDirty()\" style=\"color:red\">Valid email or phone number required</span>\n </div>\n\n <div style=\"display:flex;flex-direction: row; justify-content: space-around; margin: 2em;\" *ngIf=\"hasRecentLogins\">\n <div>-----</div>\n <div class=\"text-lg font-italic\">Or select a previously used method</div>\n <div>-----</div>\n </div>\n\n <div *ngFor=\"let lg of recentLogins; trackBy:userById\">\n <div style=\"display: flex; flex-direction: row; justify-content: space-between;\">\n <h3 class=\"p-toolbar-start\">{{lg.user.userLabel}}</h3>\n <div class=\"p-toolbar-center\" style=\"display:flex;flex-direction: row; gap: 1em\">\n <p-button *ngIf=\"lg?.user?.webAuthnAuthenticatorSummaries?.length\" icon=\"pi pi-lock-open\"\n (click)=\"processWebAuthnLogin(lg.user.userId)\" pTooltip=\"Authenticate by device (WebAuthn)\">\n </p-button>\n <div *ngFor=\"let e of lg.user.contactMethods; trackBy:contactByName\" style=\"display: flex; flex-direction: row; gap: 5px\">\n\n <p-button *ngIf=\"e.type==='EmailAddress'\" icon=\"pi pi-envelope\"\n (click)=\"sendCodeToContact(e)\" pTooltip=\"{{e.value}}\"></p-button>\n <p-button *ngIf=\"e.type==='TextCapablePhoneNumber'\" icon=\"pi pi-mobile\"\n (click)=\"sendCodeToContact(e)\" pTooltip=\"{{e.value}}\"></p-button>\n </div>\n </div>\n\n <div class=\"p-toolbar-end\">\n <p-button icon=\"pi pi-delete-left\" severity=\"danger\"\n (click)=\"removeSingleLogin(lg.user.userId)\" pTooltip=\"Forget {{lg.user.userLabel}}\"></p-button>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"showCodePage\">\n <p-fieldset legend=\"One-Time Code\">\n <div style=\"display: flex; flex-direction: column; min-width: 100%; justify-content: center; align-items: center; gap: 10px\">\n <div>Enter the code sent to <span style=\"font-weight: bolder\">{{waitingContact.value}}</span></div>\n <input type=\"hidden\" class=\"p-inputtext rounded-input\" [(ngModel)]=\"waitingContact.value\" id=\"waitingContactValue\" readonly=\"true\">\n <p-inputOtp [(ngModel)]=\"verificationCode\" id=\"verificationCode\" [length]=\"6\" />\n <div style=\"display: flex; flex-direction: row; justify-content: space-between; gap: 5px\">\n <p-button (click)=\"submitVerificationCode(waitingContact.value, verificationCode)\"\n label=\"Submit code\">\n </p-button>\n <p-button (click)=\"verificationCode=null;showCodePage=false\" label=\"Cancel\"></p-button>\n </div>\n </div>\n </p-fieldset>\n </div>\n\n</div>\n" }]
313
+ }], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenUserService }, { type: i3.WardenClient }, { type: i4.DialogService }], { applicationName: [{
314
+ type: Input
315
+ }], helperText: [{
316
+ type: Input
317
+ }], postLoginUrl: [{
281
318
  type: Input
282
319
  }] }); })();
283
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteLoginComponent, { className: "AcuteLoginComponent", filePath: "components/acute-login/acute-login.component.ts", lineNumber: 34 }); })();
320
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteLoginComponent, { className: "AcuteLoginComponent", filePath: "components/acute-login/acute-login.component.ts", lineNumber: 39 }); })();
284
321
  //# sourceMappingURL=acute-login.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acute-login.component.js","sourceRoot":"","sources":["../../../src/components/acute-login/acute-login.component.ts","../../../src/components/acute-login/acute-login.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAAC,cAAc,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,uCAAuC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,qDAAqD,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAK1E,OAAO,EAAC,WAAW,EAAC,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,iEAAiE,CAAC;AAElG,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAA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mB;YAAnB,wCAAmB;YA+CnB,cAAkB;YAAlB,uCAAkB;4BDnBvB,YAAY,iCAAE,YAAY,EAAE,WAAW,2DAAE,YAAY,uBAAE,UAAU,WAAE,aAAa,cAAgB,cAAc,gBAAE,eAAe,iBAAE,cAAc;;iFAE9I,mBAAmB;cAN/B,SAAS;2BACE,wBAAwB,cAEtB,IAAI,WACP,CAAC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,CAAC;2JAG1I,YAAY;kBAA3B,KAAK;;kFADK,mBAAmB"}
1
+ {"version":3,"file":"acute-login.component.js","sourceRoot":"","sources":["../../../src/components/acute-login/acute-login.component.ts","../../../src/components/acute-login/acute-login.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACjE,OAAO,EAAC,cAAc,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,uCAAuC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,qDAAqD,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAC,aAAa,EAAC,MAAM,6CAA6C,CAAC;AAK1E,OAAO,EAAC,WAAW,EAAC,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,iEAAiE,CAAC;AAElG,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,E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,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,CAAC;2JAG9N,eAAe;kBAA9B,KAAK;YACU,UAAU;kBAAzB,KAAK;YAEU,YAAY;kBAA3B,KAAK;;kFAJK,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitblit/ngx-acute-warden",
3
- "version": "5.0.553-alpha",
3
+ "version": "5.0.555-alpha",
4
4
  "description": "Library for using angular with ratchet-warden",
5
5
  "module": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -43,9 +43,9 @@
43
43
  "@angular/platform-browser": "18.2.9",
44
44
  "@angular/platform-browser-dynamic": "18.2.9",
45
45
  "@angular/router": "18.2.9",
46
- "@bitblit/ngx-acute-common": "5.0.553-alpha",
47
- "@bitblit/ratchet-common": "5.0.553-alpha",
48
- "@bitblit/ratchet-warden-common": "5.0.553-alpha",
46
+ "@bitblit/ngx-acute-common": "5.0.555-alpha",
47
+ "@bitblit/ratchet-common": "5.0.555-alpha",
48
+ "@bitblit/ratchet-warden-common": "5.0.555-alpha",
49
49
  "primeflex": "3.3.1",
50
50
  "primeicons": "7.0.0",
51
51
  "primeng": "17.18.11",
@@ -61,9 +61,9 @@
61
61
  "@angular/platform-browser": "^18.2.9",
62
62
  "@angular/platform-browser-dynamic": "^18.2.9",
63
63
  "@angular/router": "^18.2.9",
64
- "@bitblit/ngx-acute-common": "5.0.553-alpha",
65
- "@bitblit/ratchet-common": "5.0.553-alpha",
66
- "@bitblit/ratchet-warden-common": "5.0.553-alpha",
64
+ "@bitblit/ngx-acute-common": "5.0.555-alpha",
65
+ "@bitblit/ratchet-common": "5.0.555-alpha",
66
+ "@bitblit/ratchet-warden-common": "5.0.555-alpha",
67
67
  "primeflex": "3.3.1",
68
68
  "primeicons": "7.0.0",
69
69
  "primeng": "17.18.11",
@@ -72,6 +72,6 @@
72
72
  },
73
73
  "devDependencies": {
74
74
  "@angular/compiler-cli": "18.2.9",
75
- "@bitblit/ratchet-node-only": "5.0.553-alpha"
75
+ "@bitblit/ratchet-node-only": "5.0.555-alpha"
76
76
  }
77
77
  }