@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 {
|
|
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
|
|
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
|
-
|
|
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/
|
|
29
|
-
import * as i9 from "primeng/
|
|
30
|
-
import * as i10 from "primeng/
|
|
31
|
-
import * as i11 from "primeng/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
i0.ɵɵ
|
|
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
|
|
39
|
-
i0.ɵɵ
|
|
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
|
|
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",
|
|
44
|
-
i0.ɵɵlistener("click", function
|
|
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
|
|
48
|
-
const
|
|
49
|
-
i0.ɵɵelementStart(0, "p-button",
|
|
50
|
-
i0.ɵɵlistener("click", function
|
|
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
|
|
54
|
-
i0.ɵɵ
|
|
83
|
+
const e_r7 = i0.ɵɵnextContext().$implicit;
|
|
84
|
+
i0.ɵɵpropertyInterpolate("pTooltip", e_r7.value);
|
|
55
85
|
} }
|
|
56
|
-
function
|
|
57
|
-
const
|
|
58
|
-
i0.ɵɵelementStart(0, "p-button",
|
|
59
|
-
i0.ɵɵlistener("click", function
|
|
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
|
|
63
|
-
i0.ɵɵ
|
|
92
|
+
const e_r7 = i0.ɵɵnextContext().$implicit;
|
|
93
|
+
i0.ɵɵpropertyInterpolate("pTooltip", e_r7.value);
|
|
64
94
|
} }
|
|
65
|
-
function
|
|
66
|
-
|
|
67
|
-
i0.ɵɵ
|
|
68
|
-
i0.ɵɵ
|
|
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
|
|
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",
|
|
102
|
+
i0.ɵɵproperty("ngIf", e_r7.type === "EmailAddress");
|
|
78
103
|
i0.ɵɵadvance();
|
|
79
|
-
i0.ɵɵ
|
|
104
|
+
i0.ɵɵproperty("ngIf", e_r7.type === "TextCapablePhoneNumber");
|
|
80
105
|
} }
|
|
81
|
-
function
|
|
82
|
-
i0.ɵɵ
|
|
83
|
-
i0.ɵɵ
|
|
84
|
-
i0.ɵɵ
|
|
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
|
|
88
|
-
i0.ɵɵadvance();
|
|
89
|
-
i0.ɵɵ
|
|
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",
|
|
94
|
-
|
|
95
|
-
|
|
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
|
|
109
|
-
const
|
|
110
|
-
i0.ɵɵelementStart(0, "
|
|
111
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
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(
|
|
114
|
-
i0.ɵɵlistener("click", function
|
|
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(
|
|
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
|
|
122
|
-
i0.ɵɵadvance(
|
|
123
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
124
|
-
i0.ɵɵadvance(
|
|
125
|
-
i0.ɵɵproperty("
|
|
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",
|
|
150
|
+
i0.ɵɵproperty("ngIf", ctx_r0.hasRecentLogins);
|
|
128
151
|
i0.ɵɵadvance();
|
|
129
|
-
i0.ɵɵproperty("
|
|
152
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.recentLogins)("ngForTrackBy", ctx_r0.userById);
|
|
130
153
|
} }
|
|
131
|
-
function
|
|
132
|
-
const
|
|
133
|
-
i0.ɵɵelementStart(0, "
|
|
134
|
-
i0.ɵɵtext(4, "
|
|
135
|
-
i0.ɵɵelementStart(5, "span",
|
|
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",
|
|
139
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
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",
|
|
142
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
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",
|
|
145
|
-
i0.ɵɵlistener("click", function
|
|
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",
|
|
148
|
-
i0.ɵɵlistener("click", function
|
|
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
|
|
174
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
152
175
|
i0.ɵɵadvance(6);
|
|
153
|
-
i0.ɵɵtextInterpolate(
|
|
176
|
+
i0.ɵɵtextInterpolate(ctx_r0.waitingContact.value);
|
|
154
177
|
i0.ɵɵadvance();
|
|
155
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
178
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.waitingContact.value);
|
|
156
179
|
i0.ɵɵadvance();
|
|
157
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
256
|
+
this.showCodePage = true;
|
|
230
257
|
}
|
|
231
258
|
else {
|
|
232
|
-
|
|
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:
|
|
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,
|
|
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",
|
|
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.
|
|
275
|
-
} }, dependencies: [ButtonModule, i5.
|
|
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
|
|
280
|
-
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenUserService }, { type: i3.WardenClient }, { type: i4.DialogService }], {
|
|
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:
|
|
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,
|
|
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,EAAC,cAAc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Ac,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.
|
|
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.
|
|
47
|
-
"@bitblit/ratchet-common": "5.0.
|
|
48
|
-
"@bitblit/ratchet-warden-common": "5.0.
|
|
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.
|
|
65
|
-
"@bitblit/ratchet-common": "5.0.
|
|
66
|
-
"@bitblit/ratchet-warden-common": "5.0.
|
|
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.
|
|
75
|
+
"@bitblit/ratchet-node-only": "5.0.555-alpha"
|
|
76
76
|
}
|
|
77
77
|
}
|