@bitblit/ngx-acute-warden 5.0.592-alpha → 5.0.594-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.
- package/lib/components/acute-create-user/acute-create-user.component.d.ts +2 -2
- package/lib/components/acute-create-user/acute-create-user.component.js +31 -18
- package/lib/components/acute-create-user/acute-create-user.component.js.map +1 -1
- package/lib/components/acute-login/acute-login.component.d.ts +6 -6
- package/lib/components/acute-login/acute-login.component.js +52 -28
- package/lib/components/acute-login/acute-login.component.js.map +1 -1
- package/lib/components/acute-magic-lander/acute-magic-lander.component.d.ts +2 -2
- package/lib/components/acute-magic-lander/acute-magic-lander.component.js +11 -11
- package/lib/components/acute-magic-lander/acute-magic-lander.component.js.map +1 -1
- package/lib/components/acute-user-profile/acute-user-profile.component.d.ts +2 -2
- package/lib/components/acute-user-profile/acute-user-profile.component.js +7 -7
- package/lib/components/acute-user-profile/acute-user-profile.component.js.map +1 -1
- package/lib/guards/logged-in-guard.d.ts +1 -1
- package/lib/guards/logged-in-guard.js +2 -2
- package/lib/guards/logged-in-guard.js.map +1 -1
- package/lib/guards/not-logged-in-guard.d.ts +1 -1
- package/lib/guards/not-logged-in-guard.js +2 -2
- package/lib/guards/not-logged-in-guard.js.map +1 -1
- package/lib/services/warden-adapter.service.d.ts +2 -2
- package/lib/services/warden-adapter.service.js +3 -3
- package/lib/services/warden-adapter.service.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { WardenClient } from
|
|
3
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
4
4
|
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
-
import { DialogService } from
|
|
5
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AcuteCreateUserComponent implements OnInit {
|
|
8
8
|
private route;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
3
3
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
|
-
import { WardenClient } from
|
|
5
|
-
import { No } from
|
|
6
|
-
import { StringRatchet } from
|
|
4
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
5
|
+
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
6
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lang/string-ratchet';
|
|
7
7
|
import { FormBuilder, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
8
|
-
import { WardenContactType } from
|
|
9
|
-
import { EnumRatchet } from
|
|
10
|
-
import { MessagesModule } from
|
|
11
|
-
import { CommonModule } from
|
|
12
|
-
import { CardModule } from
|
|
13
|
-
import { ButtonModule } from
|
|
14
|
-
import { DropdownModule } from
|
|
15
|
-
import { AlertComponent } from
|
|
16
|
-
import { DialogService } from
|
|
17
|
-
import { Ripple } from
|
|
18
|
-
import { InputTextModule } from
|
|
8
|
+
import { WardenContactType } from '@bitblit/ratchet-warden-common/common/model/warden-contact-type';
|
|
9
|
+
import { EnumRatchet } from '@bitblit/ratchet-common/lang/enum-ratchet';
|
|
10
|
+
import { MessagesModule } from 'primeng/messages';
|
|
11
|
+
import { CommonModule } from '@angular/common';
|
|
12
|
+
import { CardModule } from 'primeng/card';
|
|
13
|
+
import { ButtonModule } from 'primeng/button';
|
|
14
|
+
import { DropdownModule } from 'primeng/dropdown';
|
|
15
|
+
import { AlertComponent } from '@bitblit/ngx-acute-common';
|
|
16
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
17
|
+
import { Ripple } from 'primeng/ripple';
|
|
18
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
import * as i1 from "@angular/router";
|
|
21
21
|
import * as i2 from "@bitblit/ratchet-warden-common/client/warden-client";
|
|
@@ -126,7 +126,7 @@ export class AcuteCreateUserComponent {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
static ɵfac = function AcuteCreateUserComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AcuteCreateUserComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.WardenClient), i0.ɵɵdirectiveInject(i3.FormBuilder), i0.ɵɵdirectiveInject(i4.DialogService)); };
|
|
129
|
-
static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteCreateUserComponent, selectors: [["ngx-acute-warden-create-user"]], decls: 23, vars: 7, consts: [[1, "row"], ["header", "Create User"], [3, "formGroup"], [2, "display", "flex", "flex-direction", "column"], [1, "p-inputgroup"], [1, "p-inputgroup-addon"], ["formControlName", "userContactType", "id", "userContactType", 3, "options"], ["pInputText", "", "formControlName", "userContactValue", "placeholder", "e.g., test@test.com", "id", "userContactValue"], [4, "ngIf"], ["pInputText", "", "formControlName", "userFullName", "id", "userFullName", "placeholder", "e.g., Tom Smith"], ["pRipple", "", "styleClass", "p-button-raised", 3, "click"], ["pRipple", "", "styleClass", "p-button-raised", "routerLink", "/public/login"], ["style", "color:red", 4, "ngIf"], [2, "color", "red"]], template: function AcuteCreateUserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteCreateUserComponent, selectors: [["ngx-acute-warden-create-user"]], decls: 23, vars: 7, consts: [[1, "row"], ["header", "Create User"], [3, "formGroup"], [2, "display", "flex", "flex-direction", "column"], [1, "p-inputgroup"], [1, "p-inputgroup-addon"], ["formControlName", "userContactType", "id", "userContactType", 3, "options"], ["pInputText", "", "formControlName", "userContactValue", "placeholder", "e.g., test@test.com", "id", "userContactValue"], [4, "ngIf"], ["pInputText", "", "formControlName", "userFullName", "id", "userFullName", "placeholder", "e.g., Tom Smith"], ["pRipple", "", "styleClass", "p-button-raised", 3, "click"], ["pRipple", "", "styleClass", "p-button-raised", "routerLink", "/public/login"], ["style", "color: red", 4, "ngIf"], [2, "color", "red"]], template: function AcuteCreateUserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
130
130
|
i0.ɵɵelementStart(0, "div", 0)(1, "p-card", 1)(2, "form", 2)(3, "div", 3)(4, "div", 4)(5, "label", 5);
|
|
131
131
|
i0.ɵɵtext(6, "Contact Type");
|
|
132
132
|
i0.ɵɵelementEnd();
|
|
@@ -161,11 +161,24 @@ export class AcuteCreateUserComponent {
|
|
|
161
161
|
i0.ɵɵproperty("ngIf", ctx.f("userContactValue").dirty);
|
|
162
162
|
i0.ɵɵadvance(5);
|
|
163
163
|
i0.ɵɵproperty("ngIf", ctx.f("userFullName").dirty);
|
|
164
|
-
} }, dependencies: [MessagesModule,
|
|
164
|
+
} }, dependencies: [MessagesModule,
|
|
165
|
+
RouterModule, i1.RouterLink, FormsModule, i3.ɵNgNoValidate, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, ReactiveFormsModule, i3.FormGroupDirective, i3.FormControlName, CommonModule, i5.NgIf, CardModule, i6.Card, ButtonModule, i7.Button, DropdownModule, i8.Dropdown, Ripple,
|
|
166
|
+
InputTextModule, i9.InputText], encapsulation: 2 });
|
|
165
167
|
}
|
|
166
168
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteCreateUserComponent, [{
|
|
167
169
|
type: Component,
|
|
168
|
-
args: [{ selector: 'ngx-acute-warden-create-user', standalone: true, imports: [
|
|
170
|
+
args: [{ selector: 'ngx-acute-warden-create-user', standalone: true, imports: [
|
|
171
|
+
MessagesModule,
|
|
172
|
+
RouterModule,
|
|
173
|
+
FormsModule,
|
|
174
|
+
ReactiveFormsModule,
|
|
175
|
+
CommonModule,
|
|
176
|
+
CardModule,
|
|
177
|
+
ButtonModule,
|
|
178
|
+
DropdownModule,
|
|
179
|
+
Ripple,
|
|
180
|
+
InputTextModule,
|
|
181
|
+
], template: "<div class=\"row\">\n <p-card header=\"Create User\">\n <form [formGroup]=\"form\">\n <div style=\"display: flex; flex-direction: column\">\n <div class=\"p-inputgroup\">\n <label class=\"p-inputgroup-addon\">Contact Type</label>\n <p-dropdown\n [options]=\"userContactTypes\"\n formControlName=\"userContactType\"\n id=\"userContactType\"\n [style]=\"{ 'min-width': '50%' }\"\n ></p-dropdown>\n </div>\n <div class=\"p-inputgroup\">\n <span class=\"p-inputgroup-addon\">Contact</span>\n <input pInputText formControlName=\"userContactValue\" placeholder=\"e.g., test@test.com\" id=\"userContactValue\" />\n <ng-container *ngIf=\"f('userContactValue').dirty\">\n <span style=\"color: red\" *ngIf=\"f('userContactValue').errors?.['required']\">Contact is Required</span>\n <span style=\"color: red\" *ngIf=\"f('userContactValue').errors?.['email']\">Please enter a valid email address</span>\n </ng-container>\n </div>\n <div class=\"p-inputgroup\">\n <span class=\"p-inputgroup-addon\">Full name</span>\n <input pInputText formControlName=\"userFullName\" id=\"userFullName\" placeholder=\"e.g., Tom Smith\" />\n <ng-container *ngIf=\"f('userFullName').dirty\">\n <span style=\"color: red\" *ngIf=\"f('userFullName').errors?.['required']\">Full name is Required</span>\n <span style=\"color: red\" *ngIf=\"f('userFullName').errors?.['minlength']\">Please enter a longer name</span>\n <span style=\"color: red\" *ngIf=\"f('userFullName').errors?.['maxlength']\">Please enter a shorter name</span>\n </ng-container>\n </div>\n </div>\n <div>\n <p-button pRipple styleClass=\"p-button-raised\" (click)=\"createUser()\">Create user</p-button>\n <p-button pRipple styleClass=\"p-button-raised\" routerLink=\"/public/login\">Cancel</p-button>\n </div>\n </form>\n </p-card>\n</div>\n" }]
|
|
169
182
|
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenClient }, { type: i3.FormBuilder }, { type: i4.DialogService }], null); })();
|
|
170
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteCreateUserComponent, { className: "AcuteCreateUserComponent", filePath: "components/acute-create-user/acute-create-user.component.ts", lineNumber:
|
|
183
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteCreateUserComponent, { className: "AcuteCreateUserComponent", filePath: "components/acute-create-user/acute-create-user.component.ts", lineNumber: 38 }); })();
|
|
171
184
|
//# sourceMappingURL=acute-create-user.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acute-create-user.component.js","sourceRoot":"","sources":["../../../src/components/acute-create-user/acute-create-user.component.ts","../../../src/components/acute-create-user/acute-create-user.component.html"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"acute-create-user.component.js","sourceRoot":"","sources":["../../../src/components/acute-create-user/acute-create-user.component.ts","../../../src/components/acute-create-user/acute-create-user.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAmB,WAAW,EAAa,WAAW,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C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B;YAAlB,oCAAkB;YAQhB,eAAgC;YAAhC,yCAAgC;YAHhC,8CAA4B;YASf,eAAiC;YAAjC,sDAAiC;YAQjC,eAA6B;YAA7B,kDAA6B;4BDClD,cAAc;YACd,YAAY,iBACZ,WAAW,0FACX,mBAAmB,6CACnB,YAAY,WACZ,UAAU,WACV,YAAY,aACZ,cAAc,eACd,MAAM;YACN,eAAe;;iFAGN,wBAAwB;cAjBpC,SAAS;2BACE,8BAA8B,cAE5B,IAAI,WACP;oBACP,cAAc;oBACd,YAAY;oBACZ,WAAW;oBACX,mBAAmB;oBACnB,YAAY;oBACZ,UAAU;oBACV,YAAY;oBACZ,cAAc;oBACd,MAAM;oBACN,eAAe;iBAChB;;kFAEU,wBAAwB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewChecked } from
|
|
1
|
+
import { AfterViewChecked } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { WardenClient } from
|
|
4
|
-
import { WardenUserService } from
|
|
5
|
-
import { WardenContact } from
|
|
6
|
-
import { WardenRecentLoginDescriptor } from
|
|
7
|
-
import { DialogService } from
|
|
3
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
4
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
5
|
+
import { WardenContact } from '@bitblit/ratchet-warden-common/common/model/warden-contact';
|
|
6
|
+
import { WardenRecentLoginDescriptor } from '@bitblit/ratchet-warden-common/client/provider/warden-recent-login-descriptor';
|
|
7
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AcuteLoginComponent implements AfterViewChecked {
|
|
10
10
|
private route;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Component, Input } from
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
3
3
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
|
-
import { WardenClient } from
|
|
5
|
-
import { WardenUserService } from
|
|
6
|
-
import { StringRatchet } from
|
|
7
|
-
import { WardenUtils } from
|
|
8
|
-
import { WardenContactType } from
|
|
9
|
-
import { ButtonModule } from
|
|
10
|
-
import { FormsModule } from
|
|
11
|
-
import { CommonModule } from
|
|
12
|
-
import { CardModule } from
|
|
13
|
-
import { TooltipModule } from
|
|
14
|
-
import { FieldsetModule } from
|
|
15
|
-
import { AlertComponent } from
|
|
16
|
-
import { DialogService } from
|
|
17
|
-
import { InputTextModule } from
|
|
18
|
-
import { RequireRatchet } from
|
|
19
|
-
import { InputOtpModule } from
|
|
20
|
-
import { AccordionModule } from
|
|
21
|
-
import { TabViewModule } from
|
|
22
|
-
import { SplitButtonModule } from
|
|
23
|
-
import { InputGroupModule } from
|
|
24
|
-
import { ToolbarModule } from
|
|
4
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
5
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
6
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lang/string-ratchet';
|
|
7
|
+
import { WardenUtils } from '@bitblit/ratchet-warden-common/common/util/warden-utils';
|
|
8
|
+
import { WardenContactType } from '@bitblit/ratchet-warden-common/common/model/warden-contact-type';
|
|
9
|
+
import { ButtonModule } from 'primeng/button';
|
|
10
|
+
import { FormsModule } from '@angular/forms';
|
|
11
|
+
import { CommonModule } from '@angular/common';
|
|
12
|
+
import { CardModule } from 'primeng/card';
|
|
13
|
+
import { TooltipModule } from 'primeng/tooltip';
|
|
14
|
+
import { FieldsetModule } from 'primeng/fieldset';
|
|
15
|
+
import { AlertComponent } from '@bitblit/ngx-acute-common';
|
|
16
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
17
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
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';
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
26
|
import * as i1 from "@angular/router";
|
|
27
27
|
import * as i2 from "@bitblit/ratchet-warden-common/client/warden-user-service";
|
|
@@ -154,7 +154,7 @@ function AcuteLoginComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
154
154
|
function AcuteLoginComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
155
155
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
156
156
|
i0.ɵɵelementStart(0, "div")(1, "p-fieldset", 30)(2, "div", 31)(3, "div");
|
|
157
|
-
i0.ɵɵtext(4, "Enter the code sent to ");
|
|
157
|
+
i0.ɵɵtext(4, " Enter the code sent to ");
|
|
158
158
|
i0.ɵɵelementStart(5, "span", 32);
|
|
159
159
|
i0.ɵɵtext(6);
|
|
160
160
|
i0.ɵɵelementEnd()();
|
|
@@ -287,10 +287,12 @@ export class AcuteLoginComponent {
|
|
|
287
287
|
this.userService.serviceOptions.recentLoginProvider.removeUser(userId);
|
|
288
288
|
}
|
|
289
289
|
contactValueInvalidAndDirty() {
|
|
290
|
-
return StringRatchet.trimToNull(this.newContactValue) &&
|
|
290
|
+
return (StringRatchet.trimToNull(this.newContactValue) &&
|
|
291
|
+
!WardenUtils.stringIsPhoneNumber(this.newContactValue) &&
|
|
292
|
+
!WardenUtils.stringIsEmailAddress(this.newContactValue));
|
|
291
293
|
}
|
|
292
294
|
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)); };
|
|
293
|
-
static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteLoginComponent, selectors: [["ngx-acute-warden-login"]], inputs: { applicationName: "applicationName", helperText: "helperText", postLoginUrl: "postLoginUrl" }, 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
|
|
295
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: AcuteLoginComponent, selectors: [["ngx-acute-warden-login"]], inputs: { applicationName: "applicationName", helperText: "helperText", postLoginUrl: "postLoginUrl" }, 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) {
|
|
294
296
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
295
297
|
i0.ɵɵtemplate(2, AcuteLoginComponent_div_2_Template, 2, 1, "div", 2)(3, AcuteLoginComponent_div_3_Template, 2, 1, "div", 3);
|
|
296
298
|
i0.ɵɵelementEnd();
|
|
@@ -305,11 +307,33 @@ export class AcuteLoginComponent {
|
|
|
305
307
|
i0.ɵɵproperty("ngIf", !ctx.showCodePage);
|
|
306
308
|
i0.ɵɵadvance();
|
|
307
309
|
i0.ɵɵproperty("ngIf", ctx.showCodePage);
|
|
308
|
-
} }, dependencies: [ButtonModule, i5.Button, RouterModule,
|
|
310
|
+
} }, dependencies: [ButtonModule, i5.Button, RouterModule,
|
|
311
|
+
FormsModule, i6.DefaultValueAccessor, i6.NgControlStatus, i6.NgModel, CommonModule, i7.NgForOf, i7.NgIf, CardModule,
|
|
312
|
+
TooltipModule, i8.Tooltip, FieldsetModule, i9.Fieldset, InputTextModule, i10.InputText, InputOtpModule, i11.InputOtp, AccordionModule,
|
|
313
|
+
TabViewModule,
|
|
314
|
+
SplitButtonModule,
|
|
315
|
+
InputGroupModule,
|
|
316
|
+
ToolbarModule], encapsulation: 2 });
|
|
309
317
|
}
|
|
310
318
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteLoginComponent, [{
|
|
311
319
|
type: Component,
|
|
312
|
-
args: [{ selector: 'ngx-acute-warden-login', standalone: true, imports: [
|
|
320
|
+
args: [{ selector: 'ngx-acute-warden-login', standalone: true, imports: [
|
|
321
|
+
ButtonModule,
|
|
322
|
+
RouterModule,
|
|
323
|
+
FormsModule,
|
|
324
|
+
CommonModule,
|
|
325
|
+
CardModule,
|
|
326
|
+
TooltipModule,
|
|
327
|
+
ButtonModule,
|
|
328
|
+
FieldsetModule,
|
|
329
|
+
InputTextModule,
|
|
330
|
+
InputOtpModule,
|
|
331
|
+
AccordionModule,
|
|
332
|
+
TabViewModule,
|
|
333
|
+
SplitButtonModule,
|
|
334
|
+
InputGroupModule,
|
|
335
|
+
ToolbarModule,
|
|
336
|
+
], 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 <!--<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\n class=\"p-inputtext rounded-input\"\n [(ngModel)]=\"newContactValue\"\n id=\"newContactValue\"\n pInputText\n style=\"width: 100%\"\n placeholder=\"Your Email or Text-Capable Phone\"\n type=\"text\"\n />\n <p-button\n icon=\"pi pi-envelope\"\n (click)=\"sendCodeToNewContact(newContactValue)\"\n pTooltip=\"Send code\"\n [disabled]=\"contactValueInvalidAndDirty()\"\n >\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\n *ngIf=\"lg?.user?.webAuthnAuthenticatorSummaries?.length\"\n icon=\"pi pi-lock-open\"\n (click)=\"processWebAuthnLogin(lg.user.userId)\"\n pTooltip=\"Authenticate by device (WebAuthn)\"\n >\n </p-button>\n <div *ngFor=\"let e of lg.user.contactMethods; trackBy: contactByName\" style=\"display: flex; flex-direction: row; gap: 5px\">\n <p-button\n *ngIf=\"e.type === 'EmailAddress'\"\n icon=\"pi pi-envelope\"\n (click)=\"sendCodeToContact(e)\"\n pTooltip=\"{{ e.value }}\"\n ></p-button>\n <p-button\n *ngIf=\"e.type === 'TextCapablePhoneNumber'\"\n icon=\"pi pi-mobile\"\n (click)=\"sendCodeToContact(e)\"\n pTooltip=\"{{ e.value }}\"\n ></p-button>\n </div>\n </div>\n\n <div class=\"p-toolbar-end\">\n <p-button\n icon=\"pi pi-delete-left\"\n severity=\"danger\"\n (click)=\"removeSingleLogin(lg.user.userId)\"\n pTooltip=\"Forget {{ lg.user.userLabel }}\"\n ></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>\n Enter the code sent to <span style=\"font-weight: bolder\">{{ waitingContact.value }}</span>\n </div>\n <input\n type=\"hidden\"\n class=\"p-inputtext rounded-input\"\n [(ngModel)]=\"waitingContact.value\"\n id=\"waitingContactValue\"\n readonly=\"true\"\n />\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)\" label=\"Submit code\"> </p-button>\n <p-button (click)=\"verificationCode = null; showCodePage = false\" label=\"Cancel\"></p-button>\n </div>\n </div>\n </p-fieldset>\n </div>\n</div>\n" }]
|
|
313
337
|
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenUserService }, { type: i3.WardenClient }, { type: i4.DialogService }], { applicationName: [{
|
|
314
338
|
type: Input
|
|
315
339
|
}], helperText: [{
|
|
@@ -317,5 +341,5 @@ export class AcuteLoginComponent {
|
|
|
317
341
|
}], postLoginUrl: [{
|
|
318
342
|
type: Input
|
|
319
343
|
}] }); })();
|
|
320
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteLoginComponent, { className: "AcuteLoginComponent", filePath: "components/acute-login/acute-login.component.ts", lineNumber:
|
|
344
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteLoginComponent, { className: "AcuteLoginComponent", filePath: "components/acute-login/acute-login.component.ts", lineNumber: 52 }); })();
|
|
321
345
|
//# 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,EAAoB,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MA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Aa,cAEb,cAAc,eACd,eAAe,iBACf,cAAc,gBACd,eAAe;YACf,aAAa;YACb,iBAAiB;YACjB,gBAAgB;YAChB,aAAa;;iFAGJ,mBAAmB;cAtB/B,SAAS;2BACE,wBAAwB,cAEtB,IAAI,WACP;oBACP,YAAY;oBACZ,YAAY;oBACZ,WAAW;oBACX,YAAY;oBACZ,UAAU;oBACV,aAAa;oBACb,YAAY;oBACZ,cAAc;oBACd,eAAe;oBACf,cAAc;oBACd,eAAe;oBACf,aAAa;oBACb,iBAAiB;oBACjB,gBAAgB;oBAChB,aAAa;iBACd;2JAGe,eAAe;kBAA9B,KAAK;YACU,UAAU;kBAAzB,KAAK;YAEU,YAAY;kBAA3B,KAAK;;kFAJK,mBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { WardenUserService } from
|
|
3
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AcuteMagicLanderComponent implements OnInit {
|
|
6
6
|
private route;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Component, Input } from
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
3
3
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
|
-
import { WardenUserService } from
|
|
5
|
-
import { No } from
|
|
6
|
-
import { StringRatchet } from
|
|
7
|
-
import { Base64Ratchet } from
|
|
8
|
-
import { CardModule } from
|
|
9
|
-
import { FormsModule } from
|
|
10
|
-
import { CommonModule } from
|
|
11
|
-
import { ButtonDirective } from
|
|
12
|
-
import { RequireRatchet } from
|
|
4
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
5
|
+
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
6
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lang/string-ratchet';
|
|
7
|
+
import { Base64Ratchet } from '@bitblit/ratchet-common/lang/base64-ratchet';
|
|
8
|
+
import { CardModule } from 'primeng/card';
|
|
9
|
+
import { FormsModule } from '@angular/forms';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import { ButtonDirective } from 'primeng/button';
|
|
12
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lang/require-ratchet';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
import * as i1 from "@angular/router";
|
|
15
15
|
import * as i2 from "@bitblit/ratchet-warden-common/client/warden-user-service";
|
|
@@ -93,7 +93,7 @@ export class AcuteMagicLanderComponent {
|
|
|
93
93
|
}
|
|
94
94
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteMagicLanderComponent, [{
|
|
95
95
|
type: Component,
|
|
96
|
-
args: [{ selector: 'ngx-acute-warden-magic-lander', standalone: true, imports: [CardModule, RouterModule, FormsModule, CommonModule, CardModule, ButtonDirective], template: "<div class=\"row\">\n
|
|
96
|
+
args: [{ selector: 'ngx-acute-warden-magic-lander', standalone: true, imports: [CardModule, RouterModule, FormsModule, CommonModule, CardModule, ButtonDirective], template: "<div class=\"row\">\n <p-card header=\"Magic Lander\">\n <div style=\"display: flex; flex-direction: column\">\n <p>{{ currentStatus }}</p>\n <a [routerLink]=\"[directLoginUrl]\" *ngIf=\"showLoginButton\" pButton>Back to login page</a>\n </div>\n </p-card>\n</div>\n" }]
|
|
97
97
|
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.WardenUserService }], { directLoginUrl: [{
|
|
98
98
|
type: Input
|
|
99
99
|
}] }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acute-magic-lander.component.js","sourceRoot":"","sources":["../../../src/components/acute-magic-lander/acute-magic-lander.component.ts","../../../src/components/acute-magic-lander/acute-magic-lander.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,
|
|
1
|
+
{"version":3,"file":"acute-magic-lander.component.js","sourceRoot":"","sources":["../../../src/components/acute-magic-lander/acute-magic-lander.component.ts","../../../src/components/acute-magic-lander/acute-magic-lander.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;;;;;;;;ICVxE,4BAAmE;IAAA,kCAAkB;IAAA,iBAAI;;;IAAtF,8EAA+B;;ADkBxC,MAAM,OAAO,yBAAyB;IAO1B;IACA;IACD;IARO,cAAc,CAAS;IAEhC,aAAa,GAAW,gBAAgB,CAAC;IACzC,eAAe,GAAY,KAAK,CAAC;IAExC,YACU,KAAqB,EACrB,MAAc,EACf,WAAmC;QAFlC,UAAK,GAAL,KAAK,CAAgB;QACrB,WAAM,GAAN,MAAM,CAAQ;QACf,gBAAW,GAAX,WAAW,C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;2BACE,+BAA+B,cAE7B,IAAI,WACP,CAAC,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,CAAC;oGAG3E,cAAc;kBAA7B,KAAK;;kFADK,yBAAyB"}
|
|
@@ -2,8 +2,8 @@ import { Router } from '@angular/router';
|
|
|
2
2
|
import { WardenContact } from '@bitblit/ratchet-warden-common/common/model/warden-contact';
|
|
3
3
|
import { WardenDelegatingCurrentUserProvidingUserServiceEventProcessingProvider } from '@bitblit/ratchet-warden-common/client/warden-delegating-current-user-providing-user-service-event-processing-provider';
|
|
4
4
|
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
5
|
-
import { WardenLoggedInUserWrapper } from
|
|
6
|
-
import { WardenWebAuthnEntrySummary } from
|
|
5
|
+
import { WardenLoggedInUserWrapper } from '@bitblit/ratchet-warden-common/client/provider/warden-logged-in-user-wrapper';
|
|
6
|
+
import { WardenWebAuthnEntrySummary } from '@bitblit/ratchet-warden-common/common/model/warden-web-authn-entry-summary';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AcuteUserProfileComponent {
|
|
9
9
|
private router;
|
|
@@ -7,10 +7,10 @@ import { WardenDelegatingCurrentUserProvidingUserServiceEventProcessingProvider
|
|
|
7
7
|
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
8
8
|
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
9
9
|
import { DurationRatchet } from '@bitblit/ratchet-common/lang/duration-ratchet';
|
|
10
|
-
import { ButtonModule } from
|
|
11
|
-
import { CardModule } from
|
|
12
|
-
import { CommonModule } from
|
|
13
|
-
import { TooltipModule } from
|
|
10
|
+
import { ButtonModule } from 'primeng/button';
|
|
11
|
+
import { CardModule } from 'primeng/card';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import { TooltipModule } from 'primeng/tooltip';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
import * as i1 from "@angular/router";
|
|
16
16
|
import * as i2 from "@bitblit/ratchet-warden-common/client/warden-user-service";
|
|
@@ -31,7 +31,7 @@ function AcuteUserProfileComponent_li_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
31
31
|
i0.ɵɵadvance();
|
|
32
32
|
i0.ɵɵpropertyInterpolate1("pTooltip", "Remove contact method ", cm_r2.value, "");
|
|
33
33
|
i0.ɵɵadvance();
|
|
34
|
-
i0.ɵɵtextInterpolate2(" ", cm_r2.type, " : ", cm_r2.value, "");
|
|
34
|
+
i0.ɵɵtextInterpolate2(" ", cm_r2.type, " : ", cm_r2.value, " ");
|
|
35
35
|
} }
|
|
36
36
|
function AcuteUserProfileComponent_ng_container_10_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
37
37
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -182,7 +182,7 @@ export class AcuteUserProfileComponent {
|
|
|
182
182
|
}
|
|
183
183
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcuteUserProfileComponent, [{
|
|
184
184
|
type: Component,
|
|
185
|
-
args: [{ selector: 'ngx-acute-warden-user-profile', standalone: true, imports: [ButtonModule, CardModule, CommonModule, TooltipModule], template: "
|
|
185
|
+
args: [{ selector: 'ngx-acute-warden-user-profile', standalone: true, imports: [ButtonModule, CardModule, CommonModule, TooltipModule], template: "<p-card header=\"User profile : {{ user.userObject.loginData.userLabel }}\">\n <div>\n ID: {{ user.userObject.loginData.userId }} <br />\n Full Name: {{ user.userObject.loginData.userLabel }} <br />\n <h3>Contacts</h3>\n <ul>\n <li *ngFor=\"let cm of user.userObject.loginData.contactMethods\">\n <p-button icon=\"pi pi-trash\" pTooltip=\"Remove contact method {{ cm.value }}\" (click)=\"removeContact(cm)\"></p-button>\n {{ cm.type }} : {{ cm.value }}\n </li>\n </ul>\n <ng-container *ngIf=\"user?.userObject?.loginData?.webAuthnAuthenticatorSummaries?.length\">\n <h3>Web Authenticators</h3>\n <ul>\n <li *ngFor=\"let waa of user.userObject.loginData.webAuthnAuthenticatorSummaries\">\n <p-button icon=\"pi pi-trash\" pTooltip=\"Remove web auth {{ webAuthLabel(waa) }}\" (click)=\"removeWebAuthn(waa)\"></p-button>\n {{ webAuthLabel(waa) }}\n </li>\n </ul>\n </ng-container>\n\n <div style=\"display: flex; flex-direction: row\">\n <p-button icon=\"pi pi-user\" pTooltip=\"Add a new contact method\" (click)=\"addContact()\" icon=\"pi pi-user-plus\"></p-button>\n <p-button icon=\"pi pi-lock\" pTooltip=\"Add this device as an authenticator\" (click)=\"addWebAuthnDevice()\"></p-button>\n </div>\n\n <br />\n Roles: {{ user.userObject.roles }} <br />\n <hr />\n Time (MS) left in token : {{ timeLeftMS }} <button (click)=\"refreshToken()\">Refresh</button>\n </div>\n</p-card>\n" }]
|
|
186
186
|
}], () => [{ type: i1.Router }, { type: i2.WardenUserService }, { type: i3.WardenDelegatingCurrentUserProvidingUserServiceEventProcessingProvider }], null); })();
|
|
187
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteUserProfileComponent, { className: "AcuteUserProfileComponent", filePath: "components/acute-user-profile/acute-user-profile.component.ts", lineNumber:
|
|
187
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AcuteUserProfileComponent, { className: "AcuteUserProfileComponent", filePath: "components/acute-user-profile/acute-user-profile.component.ts", lineNumber: 24 }); })();
|
|
188
188
|
//# sourceMappingURL=acute-user-profile.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acute-user-profile.component.js","sourceRoot":"","sources":["../../../src/components/acute-user-profile/acute-user-profile.component.ts","../../../src/components/acute-user-profile/acute-user-profile.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AACtF,OAAO,EAAE,sEAAsE,EAAE,MAAM,uHAAuH,CAAC;AAC/M,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAGhF,OAAO,
|
|
1
|
+
{"version":3,"file":"acute-user-profile.component.js","sourceRoot":"","sources":["../../../src/components/acute-user-profile/acute-user-profile.component.ts","../../../src/components/acute-user-profile/acute-user-profile.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AACtF,OAAO,EAAE,sEAAsE,EAAE,MAAM,uHAAuH,CAAC;AAC/M,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAGhF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;ICRxC,AADF,0BAAgE,kBAC2C;IAA5B,8MAAS,2BAAiB,KAAC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BAAyB;YCtBpC,AADF,iCAA0E,UACnE;YACH,YAA2C;YAAA,qBAAM;YACjD,YAAqD;YAAA,qBAAM;YAC3D,0BAAI;YAAA,wBAAQ;YAAA,iBAAK;YACjB,0BAAI;YACF,wEAAgE;YAIlE,iBAAK;YACL,8FAA0F;YAWxF,AADF,+BAAgD,mBACgE;YAA9C,yGAAS,gBAAY,IAAC;YAAwB,iBAAW;YACzH,oCAAyG;YAA9B,yGAAS,uBAAmB,IAAC;YAC1G,AAD2G,iBAAW,EAChH;YAEN,sBAAM;YACN,aAAmC;YACnC,AADmC,sBAAM,UACnC;YACN,aAA2C;YAAA,kCAAiC;YAAzB,uGAAS,kBAAc,IAAC;YAAC,wBAAO;YAEvF,AADE,AADqF,iBAAS,EACxF,EACC;;YA/BD,mGAAiE;YAErE,eAA2C;YAA3C,yEAA2C;YAC3C,eAAqD;YAArD,mFAAqD;YAGhC,eAA2C;YAA3C,sEAA2C;YAKjD,cAAyE;YAAzE,sRAAyE;YAgBxF,eAAmC;YAAnC,iEAAmC;YAEnC,eAA2C;YAA3C,yEAA2C;4BDRnC,YAAY,aAAE,UAAU,WAAE,YAAY,uBAAE,aAAa;;iFAEpD,yBAAyB;cANrC,SAAS;2BACE,+BAA+B,cAE7B,IAAI,WACP,CAAC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,CAAC;;kFAErD,yBAAyB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { WardenUserService } from
|
|
3
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LoggedInGuard implements CanActivate {
|
|
6
6
|
private userService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { WardenUserService } from
|
|
4
|
-
import { No } from
|
|
3
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
4
|
+
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@bitblit/ratchet-warden-common/client/warden-user-service";
|
|
7
7
|
import * as i2 from "@angular/router";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logged-in-guard.js","sourceRoot":"","sources":["../../src/guards/logged-in-guard.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"logged-in-guard.js","sourceRoot":"","sources":["../../src/guards/logged-in-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAuC,MAAM,EAAuB,MAAM,iBAAiB,CAAC;AAEnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;;;;AAGrD,MAAM,OAAO,aAAa;IAEd;IACA;IAFV,YACU,WAAmC,EACnC,MAAc;QADd,gBAAW,GAAX,WAAW,CAAwB;QACnC,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,WAAW,CAAC,KAA6B,EAAE,KAA0B;QACnE,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,EAAE,CAAC;YAOnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YAC/F,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;uGAlBU,aAAa;kDAAb,aAAa,WAAb,aAAa;;iFAAb,aAAa;cADzB,UAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { WardenUserService } from
|
|
3
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NotLoggedInGuard implements CanActivate {
|
|
6
6
|
private userService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
|
-
import { WardenUserService } from
|
|
5
|
-
import { No } from
|
|
4
|
+
import { WardenUserService } from '@bitblit/ratchet-warden-common/client/warden-user-service';
|
|
5
|
+
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@bitblit/ratchet-warden-common/client/warden-user-service";
|
|
8
8
|
import * as i2 from "@angular/router";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not-logged-in-guard.js","sourceRoot":"","sources":["../../src/guards/not-logged-in-guard.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"not-logged-in-guard.js","sourceRoot":"","sources":["../../src/guards/not-logged-in-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAuC,MAAM,EAAuB,MAAM,iBAAiB,CAAC;AAGnG,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;;;;AAGrD,MAAM,OAAO,gBAAgB;IAEjB;IACA;IAFV,YACU,WAAmC,EACnC,MAAc;QADd,gBAAW,GAAX,WAAW,CAAwB;QACnC,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,WAAW,CAAC,KAA6B,EAAE,KAA0B;QACnE,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;QAC3C,IAAI,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,MAAM,EAAE,CAAC;YACjD,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YAC9B,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC;YAC1B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,EAAE,CAAC;YAElC,MAAM,MAAM,GAAW,mBAAmB,CAAC;YAE3C,MAAM,CAAC,IAAI,CAAC,gEAAgE,EAAE,MAAM,CAAC,CAAC;YACtF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YAC3C,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;0GAvBU,gBAAgB;kDAAhB,gBAAgB,WAAhB,gBAAgB;;iFAAhB,gBAAgB;cAD5B,UAAU"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
2
|
import { WardenUserServiceEventProcessingProvider } from '@bitblit/ratchet-warden-common/client/provider/warden-user-service-event-processing-provider';
|
|
3
3
|
import { WardenLoggedInUserWrapper } from '@bitblit/ratchet-warden-common/client/provider/warden-logged-in-user-wrapper';
|
|
4
|
-
import { WardenContact } from
|
|
5
|
-
import { WardenClient } from
|
|
4
|
+
import { WardenContact } from '@bitblit/ratchet-warden-common/common/model/warden-contact';
|
|
5
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class WardenAdapterService implements WardenUserServiceEventProcessingProvider<any> {
|
|
8
8
|
router: Router;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
2
|
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
3
|
-
import { No } from
|
|
3
|
+
import { No } from '@bitblit/ratchet-common/lang/no';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
|
-
import { RequireRatchet } from
|
|
6
|
-
import { WardenClient } from
|
|
5
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lang/require-ratchet';
|
|
6
|
+
import { WardenClient } from '@bitblit/ratchet-warden-common/client/warden-client';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@angular/router";
|
|
9
9
|
import * as i2 from "@bitblit/ratchet-warden-common/client/warden-client";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warden-adapter.service.js","sourceRoot":"","sources":["../../src/services/warden-adapter.service.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"warden-adapter.service.js","sourceRoot":"","sources":["../../src/services/warden-adapter.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAIzC,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;;;;AAGnF,MAAM,OAAO,oBAAoB;IAEtB;IAC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AAE,QAAQ,CAAC,CAAC;QAC9B,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;QAQ/B,MAAM,IAAI,GAA2B;YACnC,QAAQ,EAAE,YAAY;SACvB,CAAC;QACF,MAAM,IAAI,GAAY,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;QAE5F,MAAM,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IACzD,CAAC;8GAtDU,oBAAoB;kDAApB,oBAAoB,WAApB,oBAAoB,mBADP,MAAM;;iFACnB,oBAAoB;cADhC,UAAU;eAAC,EAAE,UAAU,EAAE,MAAM,EAAE"}
|
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.594-alpha",
|
|
4
4
|
"description": "Library for using angular with ratchet-warden",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@angular/platform-browser": "19.1.3",
|
|
45
45
|
"@angular/platform-browser-dynamic": "19.1.3",
|
|
46
46
|
"@angular/router": "19.1.3",
|
|
47
|
-
"@bitblit/ngx-acute-common": "5.0.
|
|
48
|
-
"@bitblit/ratchet-common": "5.0.
|
|
49
|
-
"@bitblit/ratchet-warden-common": "5.0.
|
|
47
|
+
"@bitblit/ngx-acute-common": "5.0.594-alpha",
|
|
48
|
+
"@bitblit/ratchet-common": "5.0.594-alpha",
|
|
49
|
+
"@bitblit/ratchet-warden-common": "5.0.594-alpha",
|
|
50
50
|
"primeflex": "3.3.1",
|
|
51
51
|
"primeicons": "7.0.0",
|
|
52
52
|
"primeng": "19.0.5",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"@angular/platform-browser": "^19.1.3",
|
|
64
64
|
"@angular/platform-browser-dynamic": "^19.1.3",
|
|
65
65
|
"@angular/router": "^19.1.3",
|
|
66
|
-
"@bitblit/ngx-acute-common": "5.0.
|
|
67
|
-
"@bitblit/ratchet-common": "5.0.
|
|
68
|
-
"@bitblit/ratchet-warden-common": "5.0.
|
|
66
|
+
"@bitblit/ngx-acute-common": "5.0.594-alpha",
|
|
67
|
+
"@bitblit/ratchet-common": "5.0.594-alpha",
|
|
68
|
+
"@bitblit/ratchet-warden-common": "5.0.594-alpha",
|
|
69
69
|
"primeflex": "3.3.1",
|
|
70
70
|
"primeicons": "7.0.0",
|
|
71
71
|
"primeng": "19.0.5",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@angular/compiler-cli": "19.1.3",
|
|
77
|
-
"@bitblit/ratchet-node-only": "5.0.
|
|
77
|
+
"@bitblit/ratchet-node-only": "5.0.594-alpha"
|
|
78
78
|
}
|
|
79
79
|
}
|