@descope/angular-sdk 0.7.25 → 0.8.0
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/README.md +31 -0
- package/dist/esm2022/environment.mjs +2 -2
- package/dist/esm2022/lib/components/access-key-management/access-key-management.component.mjs +9 -5
- package/dist/esm2022/lib/components/applications-portal/applications-portal.component.mjs +9 -5
- package/dist/esm2022/lib/components/audit-management/audit-management.component.mjs +9 -5
- package/dist/esm2022/lib/components/descope/descope.component.mjs +14 -5
- package/dist/esm2022/lib/components/role-management/role-management.component.mjs +9 -5
- package/dist/esm2022/lib/components/sign-in-flow/sign-in-flow.component.mjs +8 -6
- package/dist/esm2022/lib/components/sign-up-flow/sign-up-flow.component.mjs +8 -6
- package/dist/esm2022/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.mjs +8 -6
- package/dist/esm2022/lib/components/user-management/user-management.component.mjs +9 -5
- package/dist/esm2022/lib/components/user-profile/user-profile.component.mjs +9 -5
- package/dist/esm2022/lib/descope-auth.module.mjs +7 -7
- package/dist/esm2022/lib/services/descope-auth.guard.mjs +1 -1
- package/dist/esm2022/lib/services/descope-auth.service.mjs +5 -5
- package/dist/esm2022/lib/services/descope.interceptor.mjs +1 -1
- package/dist/esm2022/lib/types/types.mjs +1 -1
- package/dist/esm2022/lib/utils/helpers.mjs +1 -1
- package/dist/fesm2022/descope-angular-sdk.mjs +93 -54
- package/dist/fesm2022/descope-angular-sdk.mjs.map +1 -1
- package/dist/lib/components/access-key-management/access-key-management.component.d.ts +1 -0
- package/dist/lib/components/applications-portal/applications-portal.component.d.ts +1 -0
- package/dist/lib/components/audit-management/audit-management.component.d.ts +1 -0
- package/dist/lib/components/descope/descope.component.d.ts +3 -1
- package/dist/lib/components/role-management/role-management.component.d.ts +1 -0
- package/dist/lib/components/sign-in-flow/sign-in-flow.component.d.ts +2 -1
- package/dist/lib/components/sign-up-flow/sign-up-flow.component.d.ts +2 -1
- package/dist/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.d.ts +2 -1
- package/dist/lib/components/user-management/user-management.component.d.ts +1 -0
- package/dist/lib/components/user-profile/user-profile.component.d.ts +1 -0
- package/dist/lib/types/types.d.ts +1 -0
- package/package.json +27 -27
|
@@ -39,7 +39,7 @@ function observabilify(value) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
const environment = {
|
|
42
|
-
buildVersion: '0.
|
|
42
|
+
buildVersion: '0.7.25'
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const baseHeaders = {
|
|
@@ -191,15 +191,15 @@ class DescopeAuthService {
|
|
|
191
191
|
user
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
195
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthService, deps: [{ token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
195
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthService, providedIn: 'root' }); }
|
|
196
196
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthService, decorators: [{
|
|
198
198
|
type: Injectable,
|
|
199
199
|
args: [{
|
|
200
200
|
providedIn: 'root'
|
|
201
201
|
}]
|
|
202
|
-
}], ctorParameters:
|
|
202
|
+
}], ctorParameters: () => [{ type: DescopeAuthConfig }] });
|
|
203
203
|
|
|
204
204
|
const descopeAuthGuard = (route) => {
|
|
205
205
|
const authService = inject(DescopeAuthService);
|
|
@@ -269,6 +269,7 @@ class DescopeComponent {
|
|
|
269
269
|
this.projectId = descopeConfig.projectId;
|
|
270
270
|
this.baseUrl = descopeConfig.baseUrl;
|
|
271
271
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
272
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
272
273
|
this.storeLastAuthenticatedUser = descopeConfig.storeLastAuthenticatedUser;
|
|
273
274
|
}
|
|
274
275
|
ngOnInit() {
|
|
@@ -309,6 +310,9 @@ class DescopeComponent {
|
|
|
309
310
|
if (this.baseStaticUrl) {
|
|
310
311
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
311
312
|
}
|
|
313
|
+
if (this.baseCdnUrl) {
|
|
314
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
315
|
+
}
|
|
312
316
|
if (this.storeLastAuthenticatedUser) {
|
|
313
317
|
this.webComponent.setAttribute('store-last-authenticated-user', this.storeLastAuthenticatedUser.toString());
|
|
314
318
|
}
|
|
@@ -345,6 +349,9 @@ class DescopeComponent {
|
|
|
345
349
|
if (this.errorTransformer) {
|
|
346
350
|
this.webComponent.errorTransformer = this.errorTransformer;
|
|
347
351
|
}
|
|
352
|
+
if (this.onScreenUpdate) {
|
|
353
|
+
this.webComponent.onScreenUpdate = this.onScreenUpdate;
|
|
354
|
+
}
|
|
348
355
|
if (this.client) {
|
|
349
356
|
this.webComponent.setAttribute('client', JSON.stringify(this.client));
|
|
350
357
|
}
|
|
@@ -374,17 +381,17 @@ class DescopeComponent {
|
|
|
374
381
|
});
|
|
375
382
|
}
|
|
376
383
|
}
|
|
377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
378
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
384
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthService }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
385
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: DescopeComponent, isStandalone: true, selector: "descope[flowId]", inputs: { flowId: "flowId", locale: "locale", theme: "theme", tenant: "tenant", telemetryKey: "telemetryKey", redirectUrl: "redirectUrl", autoFocus: "autoFocus", validateOnBlur: "validateOnBlur", restartOnError: "restartOnError", debug: "debug", errorTransformer: "errorTransformer", onScreenUpdate: "onScreenUpdate", client: "client", form: "form", logger: "logger", styleId: "styleId" }, outputs: { success: "success", error: "error", ready: "ready" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
379
386
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeComponent, decorators: [{
|
|
381
388
|
type: Component,
|
|
382
389
|
args: [{
|
|
383
390
|
selector: 'descope[flowId]',
|
|
384
391
|
standalone: true,
|
|
385
392
|
template: ''
|
|
386
393
|
}]
|
|
387
|
-
}], ctorParameters:
|
|
394
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthService }, { type: DescopeAuthConfig }], propDecorators: { flowId: [{
|
|
388
395
|
type: Input
|
|
389
396
|
}], locale: [{
|
|
390
397
|
type: Input
|
|
@@ -406,6 +413,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
406
413
|
type: Input
|
|
407
414
|
}], errorTransformer: [{
|
|
408
415
|
type: Input
|
|
416
|
+
}], onScreenUpdate: [{
|
|
417
|
+
type: Input
|
|
409
418
|
}], client: [{
|
|
410
419
|
type: Input
|
|
411
420
|
}], form: [{
|
|
@@ -428,13 +437,13 @@ class SignInFlowComponent {
|
|
|
428
437
|
this.error = new EventEmitter();
|
|
429
438
|
this.projectId = descopeConfig.projectId;
|
|
430
439
|
}
|
|
431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
432
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignInFlowComponent, deps: [{ token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
441
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: SignInFlowComponent, isStandalone: true, selector: "descope-sign-in-flow", inputs: { locale: "locale", theme: "theme", tenant: "tenant", telemetryKey: "telemetryKey", redirectUrl: "redirectUrl", autoFocus: "autoFocus", validateOnBlur: "validateOnBlur", restartOnError: "restartOnError", debug: "debug", errorTransformer: "errorTransformer", onScreenUpdate: "onScreenUpdate", client: "client", form: "form", logger: "logger", styleId: "styleId" }, outputs: { success: "success", error: "error" }, ngImport: i0, template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n", dependencies: [{ kind: "component", type: DescopeComponent, selector: "descope[flowId]", inputs: ["flowId", "locale", "theme", "tenant", "telemetryKey", "redirectUrl", "autoFocus", "validateOnBlur", "restartOnError", "debug", "errorTransformer", "onScreenUpdate", "client", "form", "logger", "styleId"], outputs: ["success", "error", "ready"] }] }); }
|
|
433
442
|
}
|
|
434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignInFlowComponent, decorators: [{
|
|
435
444
|
type: Component,
|
|
436
|
-
args: [{ selector: 'descope-sign-in-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
437
|
-
}], ctorParameters:
|
|
445
|
+
args: [{ selector: 'descope-sign-in-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
446
|
+
}], ctorParameters: () => [{ type: DescopeAuthConfig }], propDecorators: { locale: [{
|
|
438
447
|
type: Input
|
|
439
448
|
}], theme: [{
|
|
440
449
|
type: Input
|
|
@@ -454,6 +463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
454
463
|
type: Input
|
|
455
464
|
}], errorTransformer: [{
|
|
456
465
|
type: Input
|
|
466
|
+
}], onScreenUpdate: [{
|
|
467
|
+
type: Input
|
|
457
468
|
}], client: [{
|
|
458
469
|
type: Input
|
|
459
470
|
}], form: [{
|
|
@@ -474,13 +485,13 @@ class SignUpFlowComponent {
|
|
|
474
485
|
this.error = new EventEmitter();
|
|
475
486
|
this.projectId = descopeConfig.projectId;
|
|
476
487
|
}
|
|
477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
478
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignUpFlowComponent, deps: [{ token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
489
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: SignUpFlowComponent, isStandalone: true, selector: "descope-sign-up-flow", inputs: { locale: "locale", theme: "theme", tenant: "tenant", telemetryKey: "telemetryKey", redirectUrl: "redirectUrl", autoFocus: "autoFocus", validateOnBlur: "validateOnBlur", restartOnError: "restartOnError", debug: "debug", errorTransformer: "errorTransformer", onScreenUpdate: "onScreenUpdate", client: "client", form: "form", logger: "logger", styleId: "styleId" }, outputs: { success: "success", error: "error" }, ngImport: i0, template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n", dependencies: [{ kind: "component", type: DescopeComponent, selector: "descope[flowId]", inputs: ["flowId", "locale", "theme", "tenant", "telemetryKey", "redirectUrl", "autoFocus", "validateOnBlur", "restartOnError", "debug", "errorTransformer", "onScreenUpdate", "client", "form", "logger", "styleId"], outputs: ["success", "error", "ready"] }] }); }
|
|
479
490
|
}
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignUpFlowComponent, decorators: [{
|
|
481
492
|
type: Component,
|
|
482
|
-
args: [{ selector: 'descope-sign-up-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
483
|
-
}], ctorParameters:
|
|
493
|
+
args: [{ selector: 'descope-sign-up-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
494
|
+
}], ctorParameters: () => [{ type: DescopeAuthConfig }], propDecorators: { locale: [{
|
|
484
495
|
type: Input
|
|
485
496
|
}], theme: [{
|
|
486
497
|
type: Input
|
|
@@ -500,6 +511,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
500
511
|
type: Input
|
|
501
512
|
}], errorTransformer: [{
|
|
502
513
|
type: Input
|
|
514
|
+
}], onScreenUpdate: [{
|
|
515
|
+
type: Input
|
|
503
516
|
}], client: [{
|
|
504
517
|
type: Input
|
|
505
518
|
}], form: [{
|
|
@@ -520,13 +533,13 @@ class SignUpOrInFlowComponent {
|
|
|
520
533
|
this.error = new EventEmitter();
|
|
521
534
|
this.projectId = descopeConfig.projectId;
|
|
522
535
|
}
|
|
523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
524
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
536
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignUpOrInFlowComponent, deps: [{ token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
537
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: SignUpOrInFlowComponent, isStandalone: true, selector: "descope-sign-up-or-in-flow", inputs: { locale: "locale", theme: "theme", tenant: "tenant", telemetryKey: "telemetryKey", redirectUrl: "redirectUrl", autoFocus: "autoFocus", validateOnBlur: "validateOnBlur", restartOnError: "restartOnError", debug: "debug", errorTransformer: "errorTransformer", onScreenUpdate: "onScreenUpdate", client: "client", form: "form", logger: "logger", styleId: "styleId" }, outputs: { success: "success", error: "error" }, ngImport: i0, template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up-or-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n", dependencies: [{ kind: "component", type: DescopeComponent, selector: "descope[flowId]", inputs: ["flowId", "locale", "theme", "tenant", "telemetryKey", "redirectUrl", "autoFocus", "validateOnBlur", "restartOnError", "debug", "errorTransformer", "onScreenUpdate", "client", "form", "logger", "styleId"], outputs: ["success", "error", "ready"] }] }); }
|
|
525
538
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: SignUpOrInFlowComponent, decorators: [{
|
|
527
540
|
type: Component,
|
|
528
|
-
args: [{ selector: 'descope-sign-up-or-in-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up-or-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
529
|
-
}], ctorParameters:
|
|
541
|
+
args: [{ selector: 'descope-sign-up-or-in-flow', standalone: true, imports: [DescopeComponent], template: "<descope\n (success)=\"success.emit($event)\"\n (error)=\"error.emit($event)\"\n flowId=\"sign-up-or-in\"\n [locale]=\"locale\"\n [theme]=\"theme\"\n [tenant]=\"tenant\"\n [telemetryKey]=\"telemetryKey\"\n [redirectUrl]=\"redirectUrl\"\n [autoFocus]=\"autoFocus\"\n [validateOnBlur]=\"validateOnBlur\"\n [restartOnError]=\"restartOnError\"\n [debug]=\"debug\"\n [errorTransformer]=\"errorTransformer\"\n [onScreenUpdate]=\"onScreenUpdate\"\n [client]=\"client\"\n [form]=\"form\"\n [logger]=\"logger\"\n [styleId]=\"styleId\"\n>\n</descope>\n" }]
|
|
542
|
+
}], ctorParameters: () => [{ type: DescopeAuthConfig }], propDecorators: { locale: [{
|
|
530
543
|
type: Input
|
|
531
544
|
}], theme: [{
|
|
532
545
|
type: Input
|
|
@@ -546,6 +559,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
546
559
|
type: Input
|
|
547
560
|
}], errorTransformer: [{
|
|
548
561
|
type: Input
|
|
562
|
+
}], onScreenUpdate: [{
|
|
563
|
+
type: Input
|
|
549
564
|
}], client: [{
|
|
550
565
|
type: Input
|
|
551
566
|
}], form: [{
|
|
@@ -567,6 +582,7 @@ class UserManagementComponent {
|
|
|
567
582
|
this.projectId = descopeConfig.projectId;
|
|
568
583
|
this.baseUrl = descopeConfig.baseUrl;
|
|
569
584
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
585
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
570
586
|
}
|
|
571
587
|
ngOnInit() {
|
|
572
588
|
this.setupWebComponent();
|
|
@@ -585,6 +601,9 @@ class UserManagementComponent {
|
|
|
585
601
|
if (this.baseStaticUrl) {
|
|
586
602
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
587
603
|
}
|
|
604
|
+
if (this.baseCdnUrl) {
|
|
605
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
606
|
+
}
|
|
588
607
|
if (this.theme) {
|
|
589
608
|
this.webComponent.setAttribute('theme', this.theme);
|
|
590
609
|
}
|
|
@@ -598,17 +617,17 @@ class UserManagementComponent {
|
|
|
598
617
|
this.webComponent.logger = this.logger;
|
|
599
618
|
}
|
|
600
619
|
}
|
|
601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
602
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: UserManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
621
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: UserManagementComponent, isStandalone: true, selector: "user-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
603
622
|
}
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: UserManagementComponent, decorators: [{
|
|
605
624
|
type: Component,
|
|
606
625
|
args: [{
|
|
607
626
|
selector: 'user-management[tenant]',
|
|
608
627
|
standalone: true,
|
|
609
628
|
template: ''
|
|
610
629
|
}]
|
|
611
|
-
}], ctorParameters:
|
|
630
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { tenant: [{
|
|
612
631
|
type: Input
|
|
613
632
|
}], widgetId: [{
|
|
614
633
|
type: Input
|
|
@@ -629,6 +648,7 @@ class RoleManagementComponent {
|
|
|
629
648
|
this.projectId = descopeConfig.projectId;
|
|
630
649
|
this.baseUrl = descopeConfig.baseUrl;
|
|
631
650
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
651
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
632
652
|
}
|
|
633
653
|
ngOnInit() {
|
|
634
654
|
this.setupWebComponent();
|
|
@@ -647,6 +667,9 @@ class RoleManagementComponent {
|
|
|
647
667
|
if (this.baseStaticUrl) {
|
|
648
668
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
649
669
|
}
|
|
670
|
+
if (this.baseCdnUrl) {
|
|
671
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
672
|
+
}
|
|
650
673
|
if (this.theme) {
|
|
651
674
|
this.webComponent.setAttribute('theme', this.theme);
|
|
652
675
|
}
|
|
@@ -660,17 +683,17 @@ class RoleManagementComponent {
|
|
|
660
683
|
this.webComponent.logger = this.logger;
|
|
661
684
|
}
|
|
662
685
|
}
|
|
663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
664
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
686
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RoleManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
687
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: RoleManagementComponent, isStandalone: true, selector: "role-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
665
688
|
}
|
|
666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RoleManagementComponent, decorators: [{
|
|
667
690
|
type: Component,
|
|
668
691
|
args: [{
|
|
669
692
|
selector: 'role-management[tenant]',
|
|
670
693
|
standalone: true,
|
|
671
694
|
template: ''
|
|
672
695
|
}]
|
|
673
|
-
}], ctorParameters:
|
|
696
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { tenant: [{
|
|
674
697
|
type: Input
|
|
675
698
|
}], widgetId: [{
|
|
676
699
|
type: Input
|
|
@@ -691,6 +714,7 @@ class AccessKeyManagementComponent {
|
|
|
691
714
|
this.projectId = descopeConfig.projectId;
|
|
692
715
|
this.baseUrl = descopeConfig.baseUrl;
|
|
693
716
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
717
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
694
718
|
}
|
|
695
719
|
ngOnInit() {
|
|
696
720
|
this.setupWebComponent();
|
|
@@ -709,6 +733,9 @@ class AccessKeyManagementComponent {
|
|
|
709
733
|
if (this.baseStaticUrl) {
|
|
710
734
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
711
735
|
}
|
|
736
|
+
if (this.baseCdnUrl) {
|
|
737
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
738
|
+
}
|
|
712
739
|
if (this.theme) {
|
|
713
740
|
this.webComponent.setAttribute('theme', this.theme);
|
|
714
741
|
}
|
|
@@ -719,17 +746,17 @@ class AccessKeyManagementComponent {
|
|
|
719
746
|
this.webComponent.logger = this.logger;
|
|
720
747
|
}
|
|
721
748
|
}
|
|
722
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
723
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AccessKeyManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
750
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: AccessKeyManagementComponent, isStandalone: true, selector: "access-key-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
724
751
|
}
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AccessKeyManagementComponent, decorators: [{
|
|
726
753
|
type: Component,
|
|
727
754
|
args: [{
|
|
728
755
|
selector: 'access-key-management[tenant]',
|
|
729
756
|
standalone: true,
|
|
730
757
|
template: ''
|
|
731
758
|
}]
|
|
732
|
-
}], ctorParameters:
|
|
759
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { tenant: [{
|
|
733
760
|
type: Input
|
|
734
761
|
}], widgetId: [{
|
|
735
762
|
type: Input
|
|
@@ -750,6 +777,7 @@ class AuditManagementComponent {
|
|
|
750
777
|
this.projectId = descopeConfig.projectId;
|
|
751
778
|
this.baseUrl = descopeConfig.baseUrl;
|
|
752
779
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
780
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
753
781
|
}
|
|
754
782
|
ngOnInit() {
|
|
755
783
|
this.setupWebComponent();
|
|
@@ -768,6 +796,9 @@ class AuditManagementComponent {
|
|
|
768
796
|
if (this.baseStaticUrl) {
|
|
769
797
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
770
798
|
}
|
|
799
|
+
if (this.baseCdnUrl) {
|
|
800
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
801
|
+
}
|
|
771
802
|
if (this.theme) {
|
|
772
803
|
this.webComponent.setAttribute('theme', this.theme);
|
|
773
804
|
}
|
|
@@ -781,17 +812,17 @@ class AuditManagementComponent {
|
|
|
781
812
|
this.webComponent.logger = this.logger;
|
|
782
813
|
}
|
|
783
814
|
}
|
|
784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
785
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuditManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
816
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: AuditManagementComponent, isStandalone: true, selector: "audit-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
786
817
|
}
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: AuditManagementComponent, decorators: [{
|
|
788
819
|
type: Component,
|
|
789
820
|
args: [{
|
|
790
821
|
selector: 'audit-management[tenant]',
|
|
791
822
|
standalone: true,
|
|
792
823
|
template: ''
|
|
793
824
|
}]
|
|
794
|
-
}], ctorParameters:
|
|
825
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { tenant: [{
|
|
795
826
|
type: Input
|
|
796
827
|
}], widgetId: [{
|
|
797
828
|
type: Input
|
|
@@ -813,6 +844,7 @@ class UserProfileComponent {
|
|
|
813
844
|
this.projectId = descopeConfig.projectId;
|
|
814
845
|
this.baseUrl = descopeConfig.baseUrl;
|
|
815
846
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
847
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
816
848
|
}
|
|
817
849
|
ngOnInit() {
|
|
818
850
|
this.setupWebComponent();
|
|
@@ -830,6 +862,9 @@ class UserProfileComponent {
|
|
|
830
862
|
if (this.baseStaticUrl) {
|
|
831
863
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
832
864
|
}
|
|
865
|
+
if (this.baseCdnUrl) {
|
|
866
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
867
|
+
}
|
|
833
868
|
if (this.theme) {
|
|
834
869
|
this.webComponent.setAttribute('theme', this.theme);
|
|
835
870
|
}
|
|
@@ -848,17 +883,17 @@ class UserProfileComponent {
|
|
|
848
883
|
});
|
|
849
884
|
}
|
|
850
885
|
}
|
|
851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
852
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: UserProfileComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
887
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: UserProfileComponent, isStandalone: true, selector: "user-profile", inputs: { widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
853
888
|
}
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: UserProfileComponent, decorators: [{
|
|
855
890
|
type: Component,
|
|
856
891
|
args: [{
|
|
857
892
|
selector: 'user-profile',
|
|
858
893
|
standalone: true,
|
|
859
894
|
template: ''
|
|
860
895
|
}]
|
|
861
|
-
}], ctorParameters:
|
|
896
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { widgetId: [{
|
|
862
897
|
type: Input
|
|
863
898
|
}], theme: [{
|
|
864
899
|
type: Input
|
|
@@ -880,6 +915,7 @@ class ApplicationsPortalComponent {
|
|
|
880
915
|
this.projectId = descopeConfig.projectId;
|
|
881
916
|
this.baseUrl = descopeConfig.baseUrl;
|
|
882
917
|
this.baseStaticUrl = descopeConfig.baseStaticUrl;
|
|
918
|
+
this.baseCdnUrl = descopeConfig.baseCdnUrl;
|
|
883
919
|
}
|
|
884
920
|
ngOnInit() {
|
|
885
921
|
this.setupWebComponent();
|
|
@@ -897,6 +933,9 @@ class ApplicationsPortalComponent {
|
|
|
897
933
|
if (this.baseStaticUrl) {
|
|
898
934
|
this.webComponent.setAttribute('base-static-url', this.baseStaticUrl);
|
|
899
935
|
}
|
|
936
|
+
if (this.baseCdnUrl) {
|
|
937
|
+
this.webComponent.setAttribute('base-cdn-url', this.baseCdnUrl);
|
|
938
|
+
}
|
|
900
939
|
if (this.theme) {
|
|
901
940
|
this.webComponent.setAttribute('theme', this.theme);
|
|
902
941
|
}
|
|
@@ -915,17 +954,17 @@ class ApplicationsPortalComponent {
|
|
|
915
954
|
});
|
|
916
955
|
}
|
|
917
956
|
}
|
|
918
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
919
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ApplicationsPortalComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
958
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: ApplicationsPortalComponent, isStandalone: true, selector: "applications-portal", inputs: { widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true }); }
|
|
920
959
|
}
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: ApplicationsPortalComponent, decorators: [{
|
|
922
961
|
type: Component,
|
|
923
962
|
args: [{
|
|
924
963
|
selector: 'applications-portal',
|
|
925
964
|
standalone: true,
|
|
926
965
|
template: ''
|
|
927
966
|
}]
|
|
928
|
-
}], ctorParameters:
|
|
967
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DescopeAuthConfig }], propDecorators: { widgetId: [{
|
|
929
968
|
type: Input
|
|
930
969
|
}], theme: [{
|
|
931
970
|
type: Input
|
|
@@ -952,8 +991,8 @@ class DescopeAuthModule {
|
|
|
952
991
|
providers: [{ provide: DescopeAuthConfig, useValue: config }]
|
|
953
992
|
};
|
|
954
993
|
}
|
|
955
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
956
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthModule, deps: [{ token: DescopeAuthModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
995
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthModule, imports: [DescopeComponent,
|
|
957
996
|
SignInFlowComponent,
|
|
958
997
|
SignUpFlowComponent,
|
|
959
998
|
SignUpOrInFlowComponent,
|
|
@@ -972,9 +1011,9 @@ class DescopeAuthModule {
|
|
|
972
1011
|
AuditManagementComponent,
|
|
973
1012
|
UserProfileComponent,
|
|
974
1013
|
ApplicationsPortalComponent] }); }
|
|
975
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1014
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthModule }); }
|
|
976
1015
|
}
|
|
977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: DescopeAuthModule, decorators: [{
|
|
978
1017
|
type: NgModule,
|
|
979
1018
|
args: [{
|
|
980
1019
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
@@ -1003,11 +1042,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1003
1042
|
ApplicationsPortalComponent
|
|
1004
1043
|
]
|
|
1005
1044
|
}]
|
|
1006
|
-
}], ctorParameters:
|
|
1045
|
+
}], ctorParameters: () => [{ type: DescopeAuthModule, decorators: [{
|
|
1007
1046
|
type: Optional
|
|
1008
1047
|
}, {
|
|
1009
1048
|
type: SkipSelf
|
|
1010
|
-
}] }]
|
|
1049
|
+
}] }] });
|
|
1011
1050
|
|
|
1012
1051
|
/*
|
|
1013
1052
|
* Public API Surface of angular-sdk
|