@bitblit/ngx-acute-warden 5.0.551-alpha → 5.0.554-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 T1Component 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
- 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>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<T1Component, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<T1Component, "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
  }
@@ -16,6 +16,12 @@ import { AlertComponent } from "@bitblit/ngx-acute-common";
16
16
  import { DialogService } from "primeng/dynamicdialog";
17
17
  import { InputTextModule } from "primeng/inputtext";
18
18
  import { RequireRatchet } from "@bitblit/ratchet-common/lang/require-ratchet";
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";
19
25
  import * as i0 from "@angular/core";
20
26
  import * as i1 from "@angular/router";
21
27
  import * as i2 from "@bitblit/ratchet-warden-common/client/warden-user-service";
@@ -24,146 +30,168 @@ import * as i4 from "primeng/dynamicdialog";
24
30
  import * as i5 from "primeng/button";
25
31
  import * as i6 from "@angular/forms";
26
32
  import * as i7 from "@angular/common";
27
- import * as i8 from "primeng/card";
28
- import * as i9 from "primeng/tooltip";
29
- import * as i10 from "primeng/fieldset";
30
- import * as i11 from "primeng/inputtext";
31
- function AcuteLoginComponent_p_card_2_span_6_Template(rf, ctx) { if (rf & 1) {
32
- 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 T1Component_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 T1Component_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 T1Component_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
56
+ i0.ɵɵelementStart(0, "span", 14);
33
57
  i0.ɵɵtext(1, "Valid email or phone number required");
34
58
  i0.ɵɵelementEnd();
35
59
  } }
36
- function AcuteLoginComponent_p_card_2_hr_7_Template(rf, ctx) { if (rf & 1) {
37
- i0.ɵɵelement(0, "hr");
60
+ function T1Component_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()();
38
70
  } }
39
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_p_button_2_Template(rf, ctx) { if (rf & 1) {
71
+ function T1Component_div_4_div_7_p_button_5_Template(rf, ctx) { if (rf & 1) {
40
72
  const _r4 = i0.ɵɵgetCurrentView();
41
- i0.ɵɵelementStart(0, "p-button", 19);
42
- 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 T1Component_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)); });
43
75
  i0.ɵɵelementEnd();
44
76
  } }
45
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_1_Template(rf, ctx) { if (rf & 1) {
46
- const _r7 = i0.ɵɵgetCurrentView();
47
- i0.ɵɵelementStart(0, "p-button", 23);
48
- 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 T1Component_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 T1Component_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)); });
49
81
  i0.ɵɵelementEnd();
50
82
  } if (rf & 2) {
51
- const e_r8 = i0.ɵɵnextContext().$implicit;
52
- 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);
53
85
  } }
54
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_p_button_2_Template(rf, ctx) { if (rf & 1) {
55
- const _r9 = i0.ɵɵgetCurrentView();
56
- i0.ɵɵelementStart(0, "p-button", 23);
57
- 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 T1Component_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 T1Component_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)); });
58
90
  i0.ɵɵelementEnd();
59
91
  } if (rf & 2) {
60
- const e_r8 = i0.ɵɵnextContext().$implicit;
61
- 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);
62
94
  } }
63
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
64
- const _r6 = i0.ɵɵgetCurrentView();
65
- i0.ɵɵelementStart(0, "div", 20);
66
- 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);
67
- i0.ɵɵelementStart(3, "p-button", 22);
68
- 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)); });
69
- i0.ɵɵelementEnd()();
95
+ function T1Component_div_4_div_7_div_6_Template(rf, ctx) { if (rf & 1) {
96
+ i0.ɵɵelementStart(0, "div", 25);
97
+ i0.ɵɵtemplate(1, T1Component_div_4_div_7_div_6_p_button_1_Template, 1, 1, "p-button", 26)(2, T1Component_div_4_div_7_div_6_p_button_2_Template, 1, 1, "p-button", 27);
98
+ i0.ɵɵelementEnd();
70
99
  } if (rf & 2) {
71
- const e_r8 = ctx.$implicit;
72
- i0.ɵɵadvance();
73
- i0.ɵɵproperty("ngIf", e_r8.type === "EmailAddress");
100
+ const e_r7 = ctx.$implicit;
74
101
  i0.ɵɵadvance();
75
- i0.ɵɵproperty("ngIf", e_r8.type === "TextCapablePhoneNumber");
102
+ i0.ɵɵproperty("ngIf", e_r7.type === "EmailAddress");
76
103
  i0.ɵɵadvance();
77
- i0.ɵɵpropertyInterpolate1("label", "Forget ", e_r8.value, "");
104
+ i0.ɵɵproperty("ngIf", e_r7.type === "TextCapablePhoneNumber");
78
105
  } }
79
- function AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_Template(rf, ctx) { if (rf & 1) {
80
- i0.ɵɵelementStart(0, "div")(1, "p-fieldset", 16);
81
- 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);
82
- i0.ɵɵelementEnd()();
106
+ function T1Component_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, T1Component_div_4_div_7_p_button_5_Template, 1, 0, "p-button", 20)(6, T1Component_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 T1Component_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()()()();
83
117
  } if (rf & 2) {
84
118
  const lg_r5 = ctx.$implicit;
85
- const ctx_r1 = i0.ɵɵnextContext(3);
86
- i0.ɵɵadvance();
87
- i0.ɵɵproperty("legend", lg_r5.user.userLabel);
88
- i0.ɵɵadvance();
119
+ const ctx_r0 = i0.ɵɵnextContext(2);
120
+ i0.ɵɵadvance(3);
121
+ i0.ɵɵtextInterpolate(lg_r5.user.userLabel);
122
+ i0.ɵɵadvance(2);
89
123
  i0.ɵɵproperty("ngIf", lg_r5 == null ? null : lg_r5.user == null ? null : lg_r5.user.webAuthnAuthenticatorSummaries == null ? null : lg_r5.user.webAuthnAuthenticatorSummaries.length);
90
124
  i0.ɵɵadvance();
91
- i0.ɵɵproperty("ngForOf", lg_r5.user.contactMethods)("ngForTrackBy", ctx_r1.contactByName);
92
- } }
93
- function AcuteLoginComponent_p_card_2_p_fieldset_8_Template(rf, ctx) { if (rf & 1) {
94
- const _r3 = i0.ɵɵgetCurrentView();
95
- i0.ɵɵelementStart(0, "p-fieldset", 13);
96
- i0.ɵɵtemplate(1, AcuteLoginComponent_p_card_2_p_fieldset_8_div_1_Template, 4, 4, "div", 14);
97
- i0.ɵɵelement(2, "hr");
98
- i0.ɵɵelementStart(3, "button", 15);
99
- 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()); });
100
- i0.ɵɵelementEnd()();
101
- } if (rf & 2) {
102
- const ctx_r1 = i0.ɵɵnextContext(2);
103
- i0.ɵɵadvance();
104
- 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, "");
105
128
  } }
106
- function AcuteLoginComponent_p_card_2_Template(rf, ctx) { if (rf & 1) {
107
- const _r1 = i0.ɵɵgetCurrentView();
108
- i0.ɵɵelementStart(0, "p-card", 4)(1, "div")(2, "p-fieldset", 5)(3, "div", 6)(4, "input", 7);
109
- 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 T1Component_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 T1Component_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); });
110
133
  i0.ɵɵelementEnd();
111
- i0.ɵɵelementStart(5, "p-button", 8);
112
- 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 T1Component_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)); });
113
136
  i0.ɵɵelementEnd()();
114
- i0.ɵɵtemplate(6, AcuteLoginComponent_p_card_2_span_6_Template, 2, 0, "span", 9);
137
+ i0.ɵɵtemplate(5, T1Component_div_4_span_5_Template, 2, 0, "span", 11);
138
+ i0.ɵɵelementEnd();
139
+ i0.ɵɵtemplate(6, T1Component_div_4_div_6_Template, 7, 0, "div", 12)(7, T1Component_div_4_div_7_Template, 9, 6, "div", 13);
115
140
  i0.ɵɵelementEnd();
116
- 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);
117
- i0.ɵɵelementEnd()();
118
141
  } if (rf & 2) {
119
- const ctx_r1 = i0.ɵɵnextContext();
120
- i0.ɵɵadvance(4);
121
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.newContactValue);
122
- i0.ɵɵadvance(2);
123
- 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());
124
149
  i0.ɵɵadvance();
125
- i0.ɵɵproperty("ngIf", ctx_r1.hasRecentLogins);
150
+ i0.ɵɵproperty("ngIf", ctx_r0.hasRecentLogins);
126
151
  i0.ɵɵadvance();
127
- i0.ɵɵproperty("ngIf", ctx_r1.hasRecentLogins);
152
+ i0.ɵɵproperty("ngForOf", ctx_r0.recentLogins)("ngForTrackBy", ctx_r0.userById);
128
153
  } }
129
- function AcuteLoginComponent_p_card_3_Template(rf, ctx) { if (rf & 1) {
130
- const _r10 = i0.ɵɵgetCurrentView();
131
- i0.ɵɵelementStart(0, "p-card", 24)(1, "p-fieldset", 25)(2, "div", 26)(3, "div");
132
- i0.ɵɵtext(4, "Code sent to ");
133
- i0.ɵɵelementStart(5, "span", 27);
154
+ function T1Component_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);
134
159
  i0.ɵɵtext(6);
135
160
  i0.ɵɵelementEnd()();
136
- i0.ɵɵelementStart(7, "input", 28);
137
- 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 T1Component_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); });
138
163
  i0.ɵɵelementEnd();
139
- i0.ɵɵelementStart(8, "input", 29);
140
- i0.ɵɵtwoWayListener("ngModelChange", function AcuteLoginComponent_p_card_3_Template_input_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 T1Component_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); });
141
166
  i0.ɵɵelementEnd();
142
- i0.ɵɵelementStart(9, "div", 6)(10, "p-button", 30);
143
- 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 T1Component_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)); });
144
169
  i0.ɵɵelementEnd();
145
- i0.ɵɵelementStart(11, "p-button", 31);
146
- 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 T1Component_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); });
147
172
  i0.ɵɵelementEnd()()()()();
148
173
  } if (rf & 2) {
149
- const ctx_r1 = i0.ɵɵnextContext();
174
+ const ctx_r0 = i0.ɵɵnextContext();
150
175
  i0.ɵɵadvance(6);
151
- i0.ɵɵtextInterpolate(ctx_r1.waitingContact.value);
176
+ i0.ɵɵtextInterpolate(ctx_r0.waitingContact.value);
152
177
  i0.ɵɵadvance();
153
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.waitingContact.value);
178
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r0.waitingContact.value);
154
179
  i0.ɵɵadvance();
155
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.verificationCode);
180
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r0.verificationCode);
181
+ i0.ɵɵproperty("length", 6);
156
182
  } }
157
- export class AcuteLoginComponent {
183
+ export class T1Component {
158
184
  route;
159
185
  router;
160
186
  userService;
161
187
  wardenClient;
162
188
  dlgService;
189
+ applicationName;
190
+ helperText;
163
191
  postLoginUrl;
164
- showCodeCard = false;
165
192
  verificationCode;
166
193
  waitingContact;
194
+ showCodePage = false;
167
195
  newContactValue;
168
196
  constructor(route, router, userService, wardenClient, dlgService) {
169
197
  this.route = route;
@@ -183,14 +211,15 @@ export class AcuteLoginComponent {
183
211
  return this.recentLogins.length > 0;
184
212
  }
185
213
  get recentLogins() {
186
- return this.userService?.serviceOptions?.recentLoginProvider?.fetchAllLogins() || [];
214
+ const rval = this.userService?.serviceOptions?.recentLoginProvider?.fetchAllLogins() || [];
215
+ return rval;
187
216
  }
188
217
  clearSavedLogins() {
189
218
  if (confirm('Are you sure you want to clear saved logins?')) {
190
219
  this.userService.serviceOptions.recentLoginProvider.clearAllLogins();
191
220
  }
192
221
  }
193
- ngOnInit() {
222
+ ngAfterViewChecked() {
194
223
  RequireRatchet.notNullUndefinedOrOnlyWhitespaceString(this.postLoginUrl, 'postLoginUrl may not be empty');
195
224
  }
196
225
  async sendCodeToNewContact(value) {
@@ -210,7 +239,7 @@ export class AcuteLoginComponent {
210
239
  this.waitingContact = { type: ct, value: value };
211
240
  const val = await this.userService.sendExpiringCode(this.waitingContact);
212
241
  if (val) {
213
- this.showCodeCard = true;
242
+ this.showCodePage = true;
214
243
  }
215
244
  else {
216
245
  AlertComponent.showAlert(this.dlgService, 'Failed to send code');
@@ -219,14 +248,15 @@ export class AcuteLoginComponent {
219
248
  }
220
249
  }
221
250
  async sendCodeToContact(contact) {
251
+ Logger.info('Send code to contact %j', contact);
222
252
  if (contact && StringRatchet.trimToNull(contact.value) && contact.type) {
223
253
  this.waitingContact = contact;
224
254
  const val = await this.userService.sendExpiringCode(contact);
225
255
  if (val) {
226
- this.showCodeCard = true;
256
+ this.showCodePage = true;
227
257
  }
228
258
  else {
229
- alert('Failed to send code');
259
+ AlertComponent.showAlert(this.dlgService, 'Failed to send code');
230
260
  }
231
261
  }
232
262
  else {
@@ -239,6 +269,9 @@ export class AcuteLoginComponent {
239
269
  if (val) {
240
270
  await this.router.navigate([this.postLoginUrl]);
241
271
  }
272
+ else {
273
+ AlertComponent.showAlert(this.dlgService, 'Code submission failed');
274
+ }
242
275
  }
243
276
  async processWebAuthnLogin(userId) {
244
277
  Logger.info('processWebAuthnLogin: %s', userId);
@@ -246,36 +279,43 @@ export class AcuteLoginComponent {
246
279
  if (val) {
247
280
  await this.router.navigate([this.postLoginUrl]);
248
281
  }
282
+ else {
283
+ AlertComponent.showAlert(this.dlgService, 'Web authentication method failed');
284
+ }
249
285
  }
250
286
  removeSingleLogin(userId) {
251
287
  this.userService.serviceOptions.recentLoginProvider.removeUser(userId);
252
288
  }
253
- toggleCard(clearCode) {
254
- this.showCodeCard = !this.showCodeCard;
255
- if (clearCode) {
256
- this.verificationCode = null;
257
- }
258
- }
259
289
  contactValueInvalidAndDirty() {
260
- return StringRatchet.trimToNull(this.newContactValue) && !WardenUtils.stringIsPhoneNumber(this.newContactValue);
290
+ return StringRatchet.trimToNull(this.newContactValue) && !WardenUtils.stringIsPhoneNumber(this.newContactValue) && !WardenUtils.stringIsEmailAddress(this.newContactValue);
261
291
  }
262
- 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)); };
263
- 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"], ["type", "text", "id", "verificationCode", "placeholder", "Enter the code from your email", 1, "p-inputtext", "rounded-input", 2, "width", "100%", 3, "ngModelChange", "ngModel"], ["label", "Submit code", 3, "click"], ["label", "Cancel", 3, "click"]], template: function AcuteLoginComponent_Template(rf, ctx) { if (rf & 1) {
292
+ static ɵfac = function T1Component_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || T1Component)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.WardenUserService), i0.ɵɵdirectiveInject(i3.WardenClient), i0.ɵɵdirectiveInject(i4.DialogService)); };
293
+ static ɵcmp = i0.ɵɵdefineComponent({ type: T1Component, 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 T1Component_Template(rf, ctx) { if (rf & 1) {
264
294
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
265
- i0.ɵɵtemplate(2, AcuteLoginComponent_p_card_2_Template, 9, 4, "p-card", 2)(3, AcuteLoginComponent_p_card_3_Template, 12, 3, "p-card", 3);
266
- i0.ɵɵelementEnd()();
295
+ i0.ɵɵtemplate(2, T1Component_div_2_Template, 2, 1, "div", 2)(3, T1Component_div_3_Template, 2, 1, "div", 3);
296
+ i0.ɵɵelementEnd();
297
+ i0.ɵɵtemplate(4, T1Component_div_4_Template, 8, 6, "div", 4)(5, T1Component_div_5_Template, 12, 4, "div", 4);
298
+ i0.ɵɵelementEnd();
267
299
  } if (rf & 2) {
268
300
  i0.ɵɵadvance(2);
269
- 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);
270
306
  i0.ɵɵadvance();
271
- i0.ɵɵproperty("ngIf", ctx.showCodeCard);
272
- } }, 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], 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 });
273
309
  }
274
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteLoginComponent, [{
310
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(T1Component, [{
275
311
  type: Component,
276
- args: [{ selector: 'ngx-acute-warden-login', standalone: true, imports: [ButtonModule, RouterModule, FormsModule, CommonModule, CardModule, TooltipModule, ButtonModule, FieldsetModule, InputTextModule], 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 <input class=\"p-inputtext rounded-input\" [(ngModel)]=\"verificationCode\" type=\"text\" id=\"verificationCode\"\n placeholder=\"Enter the code from your email\" style=\"width: 100%\">\n\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\n <p-button (click)=\"toggleCard(true)\" label=\"Cancel\"></p-button>\n\n </div>\n </div>\n </p-fieldset>\n\n </p-card>\n\n\n </div>\n</div>\n\n" }]
277
- }], () => [{ 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: [{
278
318
  type: Input
279
319
  }] }); })();
280
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteLoginComponent, { className: "AcuteLoginComponent", filePath: "components/acute-login/acute-login.component.ts", lineNumber: 33 }); })();
320
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(T1Component, { className: "T1Component", filePath: "components/acute-login/acute-login.component.ts", lineNumber: 39 }); })();
281
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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I,iBAAM,EACJ;;YAvEW,eAAmB;YAAnB,wCAAmB;YA+CnB,cAAkB;YAAlB,uCAAkB;4BDpBvB,YAAY,iCAAE,YAAY,EAAE,WAAW,2DAAE,YAAY,uBAAE,UAAU,WAAE,aAAa,cAAgB,cAAc,gBAAE,eAAe;;iFAE9H,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,CAAC;2JAG1H,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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AAc,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,CAAC;2JAG9N,eAAe;kBAA9B,KAAK;YACU,UAAU;kBAAzB,KAAK;YAEU,YAAY;kBAA3B,KAAK;;kFAJK,WAAW"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitblit/ngx-acute-warden",
3
- "version": "5.0.551-alpha",
3
+ "version": "5.0.554-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.551-alpha",
47
- "@bitblit/ratchet-common": "5.0.551-alpha",
48
- "@bitblit/ratchet-warden-common": "5.0.551-alpha",
46
+ "@bitblit/ngx-acute-common": "5.0.554-alpha",
47
+ "@bitblit/ratchet-common": "5.0.554-alpha",
48
+ "@bitblit/ratchet-warden-common": "5.0.554-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.551-alpha",
65
- "@bitblit/ratchet-common": "5.0.551-alpha",
66
- "@bitblit/ratchet-warden-common": "5.0.551-alpha",
64
+ "@bitblit/ngx-acute-common": "5.0.554-alpha",
65
+ "@bitblit/ratchet-common": "5.0.554-alpha",
66
+ "@bitblit/ratchet-warden-common": "5.0.554-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.551-alpha"
75
+ "@bitblit/ratchet-node-only": "5.0.554-alpha"
76
76
  }
77
77
  }