@descope/angular-sdk 0.25.10 → 0.26.1
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 +10 -0
- package/dist/esm2022/environment.mjs +2 -2
- package/dist/esm2022/lib/components/access-key-management/access-key-management.component.mjs +7 -2
- package/dist/esm2022/lib/components/applications-portal/applications-portal.component.mjs +7 -2
- package/dist/esm2022/lib/components/audit-management/audit-management.component.mjs +7 -2
- package/dist/esm2022/lib/components/role-management/role-management.component.mjs +7 -2
- package/dist/esm2022/lib/components/user-management/user-management.component.mjs +7 -2
- package/dist/esm2022/lib/components/user-profile/user-profile.component.mjs +7 -2
- package/dist/fesm2022/descope-angular-sdk.mjs +37 -7
- package/dist/fesm2022/descope-angular-sdk.mjs.map +1 -1
- package/dist/lib/components/access-key-management/access-key-management.component.d.ts +2 -1
- package/dist/lib/components/applications-portal/applications-portal.component.d.ts +2 -1
- package/dist/lib/components/audit-management/audit-management.component.d.ts +2 -1
- package/dist/lib/components/role-management/role-management.component.d.ts +2 -1
- package/dist/lib/components/user-management/user-management.component.d.ts +2 -1
- package/dist/lib/components/user-profile/user-profile.component.d.ts +2 -1
- package/package.json +11 -11
|
@@ -33,7 +33,7 @@ function observabilify(value) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
const environment = {
|
|
36
|
-
buildVersion: '0.
|
|
36
|
+
buildVersion: '0.26.1'
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
const baseHeaders = {
|
|
@@ -754,6 +754,9 @@ class UserManagementComponent extends BaseLazyWidgetComponent {
|
|
|
754
754
|
if (this.theme) {
|
|
755
755
|
this.webComponent.setAttribute('theme', this.theme);
|
|
756
756
|
}
|
|
757
|
+
if (this.locale) {
|
|
758
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
759
|
+
}
|
|
757
760
|
if (this.debug) {
|
|
758
761
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
759
762
|
}
|
|
@@ -774,7 +777,7 @@ class UserManagementComponent extends BaseLazyWidgetComponent {
|
|
|
774
777
|
}
|
|
775
778
|
}
|
|
776
779
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
777
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: UserManagementComponent, isStandalone: true, selector: "user-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
780
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: UserManagementComponent, isStandalone: true, selector: "user-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
778
781
|
}
|
|
779
782
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserManagementComponent, decorators: [{
|
|
780
783
|
type: Component,
|
|
@@ -793,6 +796,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
793
796
|
type: Input
|
|
794
797
|
}], theme: [{
|
|
795
798
|
type: Input
|
|
799
|
+
}], locale: [{
|
|
800
|
+
type: Input
|
|
796
801
|
}], debug: [{
|
|
797
802
|
type: Input
|
|
798
803
|
}], logger: [{
|
|
@@ -842,6 +847,9 @@ class RoleManagementComponent extends BaseLazyWidgetComponent {
|
|
|
842
847
|
if (this.theme) {
|
|
843
848
|
this.webComponent.setAttribute('theme', this.theme);
|
|
844
849
|
}
|
|
850
|
+
if (this.locale) {
|
|
851
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
852
|
+
}
|
|
845
853
|
if (this.debug) {
|
|
846
854
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
847
855
|
}
|
|
@@ -862,7 +870,7 @@ class RoleManagementComponent extends BaseLazyWidgetComponent {
|
|
|
862
870
|
}
|
|
863
871
|
}
|
|
864
872
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: RoleManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
865
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: RoleManagementComponent, isStandalone: true, selector: "role-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
873
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: RoleManagementComponent, isStandalone: true, selector: "role-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
866
874
|
}
|
|
867
875
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: RoleManagementComponent, decorators: [{
|
|
868
876
|
type: Component,
|
|
@@ -881,6 +889,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
881
889
|
type: Input
|
|
882
890
|
}], theme: [{
|
|
883
891
|
type: Input
|
|
892
|
+
}], locale: [{
|
|
893
|
+
type: Input
|
|
884
894
|
}], debug: [{
|
|
885
895
|
type: Input
|
|
886
896
|
}], logger: [{
|
|
@@ -930,6 +940,9 @@ class AccessKeyManagementComponent extends BaseLazyWidgetComponent {
|
|
|
930
940
|
if (this.theme) {
|
|
931
941
|
this.webComponent.setAttribute('theme', this.theme);
|
|
932
942
|
}
|
|
943
|
+
if (this.locale) {
|
|
944
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
945
|
+
}
|
|
933
946
|
if (this.debug) {
|
|
934
947
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
935
948
|
}
|
|
@@ -947,7 +960,7 @@ class AccessKeyManagementComponent extends BaseLazyWidgetComponent {
|
|
|
947
960
|
}
|
|
948
961
|
}
|
|
949
962
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AccessKeyManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
950
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AccessKeyManagementComponent, isStandalone: true, selector: "access-key-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
963
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AccessKeyManagementComponent, isStandalone: true, selector: "access-key-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
951
964
|
}
|
|
952
965
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AccessKeyManagementComponent, decorators: [{
|
|
953
966
|
type: Component,
|
|
@@ -966,6 +979,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
966
979
|
type: Input
|
|
967
980
|
}], theme: [{
|
|
968
981
|
type: Input
|
|
982
|
+
}], locale: [{
|
|
983
|
+
type: Input
|
|
969
984
|
}], debug: [{
|
|
970
985
|
type: Input
|
|
971
986
|
}], logger: [{
|
|
@@ -1015,6 +1030,9 @@ class AuditManagementComponent extends BaseLazyWidgetComponent {
|
|
|
1015
1030
|
if (this.theme) {
|
|
1016
1031
|
this.webComponent.setAttribute('theme', this.theme);
|
|
1017
1032
|
}
|
|
1033
|
+
if (this.locale) {
|
|
1034
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
1035
|
+
}
|
|
1018
1036
|
if (this.debug) {
|
|
1019
1037
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
1020
1038
|
}
|
|
@@ -1035,7 +1053,7 @@ class AuditManagementComponent extends BaseLazyWidgetComponent {
|
|
|
1035
1053
|
}
|
|
1036
1054
|
}
|
|
1037
1055
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AuditManagementComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1038
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AuditManagementComponent, isStandalone: true, selector: "audit-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1056
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AuditManagementComponent, isStandalone: true, selector: "audit-management[tenant]", inputs: { tenant: "tenant", widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1039
1057
|
}
|
|
1040
1058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AuditManagementComponent, decorators: [{
|
|
1041
1059
|
type: Component,
|
|
@@ -1054,6 +1072,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
1054
1072
|
type: Input
|
|
1055
1073
|
}], theme: [{
|
|
1056
1074
|
type: Input
|
|
1075
|
+
}], locale: [{
|
|
1076
|
+
type: Input
|
|
1057
1077
|
}], debug: [{
|
|
1058
1078
|
type: Input
|
|
1059
1079
|
}], logger: [{
|
|
@@ -1104,6 +1124,9 @@ class UserProfileComponent extends BaseLazyWidgetComponent {
|
|
|
1104
1124
|
if (this.theme) {
|
|
1105
1125
|
this.webComponent.setAttribute('theme', this.theme);
|
|
1106
1126
|
}
|
|
1127
|
+
if (this.locale) {
|
|
1128
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
1129
|
+
}
|
|
1107
1130
|
if (this.debug) {
|
|
1108
1131
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
1109
1132
|
}
|
|
@@ -1130,7 +1153,7 @@ class UserProfileComponent extends BaseLazyWidgetComponent {
|
|
|
1130
1153
|
}
|
|
1131
1154
|
}
|
|
1132
1155
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserProfileComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: DescopeAuthService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: UserProfileComponent, isStandalone: true, selector: "user-profile", inputs: { widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout", ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1156
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: UserProfileComponent, isStandalone: true, selector: "user-profile", inputs: { widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout", ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1134
1157
|
}
|
|
1135
1158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserProfileComponent, decorators: [{
|
|
1136
1159
|
type: Component,
|
|
@@ -1146,6 +1169,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
1146
1169
|
type: Input
|
|
1147
1170
|
}], theme: [{
|
|
1148
1171
|
type: Input
|
|
1172
|
+
}], locale: [{
|
|
1173
|
+
type: Input
|
|
1149
1174
|
}], debug: [{
|
|
1150
1175
|
type: Input
|
|
1151
1176
|
}], logger: [{
|
|
@@ -1197,6 +1222,9 @@ class ApplicationsPortalComponent extends BaseLazyWidgetComponent {
|
|
|
1197
1222
|
if (this.theme) {
|
|
1198
1223
|
this.webComponent.setAttribute('theme', this.theme);
|
|
1199
1224
|
}
|
|
1225
|
+
if (this.locale) {
|
|
1226
|
+
this.webComponent.setAttribute('locale', this.locale);
|
|
1227
|
+
}
|
|
1200
1228
|
if (this.debug) {
|
|
1201
1229
|
this.webComponent.setAttribute('debug', this.debug.toString());
|
|
1202
1230
|
}
|
|
@@ -1222,7 +1250,7 @@ class ApplicationsPortalComponent extends BaseLazyWidgetComponent {
|
|
|
1222
1250
|
}
|
|
1223
1251
|
}
|
|
1224
1252
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ApplicationsPortalComponent, deps: [{ token: i0.ElementRef }, { token: DescopeAuthConfig }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1225
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ApplicationsPortalComponent, isStandalone: true, selector: "applications-portal", inputs: { widgetId: "widgetId", theme: "theme", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout", ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1253
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ApplicationsPortalComponent, isStandalone: true, selector: "applications-portal", inputs: { widgetId: "widgetId", theme: "theme", locale: "locale", debug: "debug", logger: "logger", styleId: "styleId" }, outputs: { logout: "logout", ready: "ready" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
1226
1254
|
}
|
|
1227
1255
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ApplicationsPortalComponent, decorators: [{
|
|
1228
1256
|
type: Component,
|
|
@@ -1238,6 +1266,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
1238
1266
|
type: Input
|
|
1239
1267
|
}], theme: [{
|
|
1240
1268
|
type: Input
|
|
1269
|
+
}], locale: [{
|
|
1270
|
+
type: Input
|
|
1241
1271
|
}], debug: [{
|
|
1242
1272
|
type: Input
|
|
1243
1273
|
}], logger: [{
|