@zitadel/sdk-angular 0.1.0-alpha.18 → 0.1.0-alpha.19
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 +12 -7
- package/dist/index.js +77 -69
- package/dist/types/lib/zitadel-login.component.d.ts +2 -1
- package/dist/types/lib/zitadel-login.component.d.ts.map +1 -1
- package/dist/types/lib/zitadel-session.component.d.ts +2 -1
- package/dist/types/lib/zitadel-session.component.d.ts.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -30,16 +30,21 @@ export class LoginPage {
|
|
|
30
30
|
|
|
31
31
|
`<zitadel-auth-logout [project]="project" postSignOutUrl="/login" />` works the same way.
|
|
32
32
|
|
|
33
|
+
The signed-in session card is `<zitadel-auth-session>` (exported as `ZitadelSessionComponent`).
|
|
34
|
+
|
|
33
35
|
> The wrapper uses the selector `zitadel-auth-login` (not `zitadel-login`) because
|
|
34
36
|
> the latter is the underlying custom element the component renders internally.
|
|
35
37
|
|
|
36
38
|
## Proxying to the backend (deployment)
|
|
37
39
|
|
|
38
|
-
The widgets call `${proxyPath}/…` same-origin (default `/__nextgen`). In
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
The widgets call `${proxyPath}/…` same-origin (default `/__nextgen`). In
|
|
41
|
+
production the same-origin path must come from your hosting platform — until
|
|
42
|
+
the CLI can scaffold those configs, **production SPA deployment is not yet
|
|
43
|
+
supported**; see
|
|
41
44
|
[ADR 036](https://github.com/zitadel/nextgen/blob/main/docs/adrs/036-api-credential-planes.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
`proxyPath
|
|
45
|
+
and [zitadel/nextgen#560](https://github.com/zitadel/nextgen/issues/560). The
|
|
46
|
+
CLI dev proxy covers local development.
|
|
47
|
+
|
|
48
|
+
For local development you can also skip the proxy and point `proxyPath`
|
|
49
|
+
straight at the backend (cross-origin), e.g. `proxyPath: "http://localhost:8080"`
|
|
50
|
+
(the `zitadel start` local runtime default port).
|
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter as
|
|
1
|
+
import * as t from "@angular/core";
|
|
2
|
+
import { EventEmitter as o, ViewChild as g, Output as p, Input as e, CUSTOM_ELEMENTS_SCHEMA as d, Component as m } from "@angular/core";
|
|
3
3
|
import { businessLocales as I } from "@zitadel/components";
|
|
4
|
-
const
|
|
4
|
+
const a = class a {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.purpose = "login", this.flowStep = new
|
|
6
|
+
this.purpose = "login", this.flowStep = new o(), this.flowInput = new o(), this.flowComplete = new o(), this.flowError = new o();
|
|
7
7
|
}
|
|
8
8
|
/** The underlying `<zitadel-login>` custom element, or `null` before view init. */
|
|
9
9
|
get element() {
|
|
10
10
|
return this.elementRef?.nativeElement ?? null;
|
|
11
11
|
}
|
|
12
|
-
onFlowStep(
|
|
13
|
-
this.flowStep.emit(
|
|
12
|
+
onFlowStep(r) {
|
|
13
|
+
this.flowStep.emit(r.detail);
|
|
14
14
|
}
|
|
15
|
-
onFlowInput(
|
|
16
|
-
this.flowInput.emit(
|
|
15
|
+
onFlowInput(r) {
|
|
16
|
+
this.flowInput.emit(r.detail);
|
|
17
17
|
}
|
|
18
|
-
onFlowComplete(
|
|
19
|
-
this.flowComplete.emit(
|
|
18
|
+
onFlowComplete(r) {
|
|
19
|
+
this.flowComplete.emit(r.detail);
|
|
20
20
|
}
|
|
21
|
-
onFlowError(
|
|
22
|
-
this.flowError.emit(
|
|
21
|
+
onFlowError(r) {
|
|
22
|
+
this.flowError.emit(r.detail);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
a.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: a, deps: [], target: t.ɵɵFactoryTarget.Component }), a.ɵcmp = t.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: a, isStandalone: !0, selector: "zitadel-auth-login", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", purpose: "purpose", flowName: "flowName", postSignInUrl: "postSignInUrl", locales: "locales", lang: "lang", variant: "variant", theme: "theme", suppressHeader: "suppressHeader" }, outputs: { flowStep: "flowStep", flowInput: "flowInput", flowComplete: "flowComplete", flowError: "flowError" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: t, template: `<zitadel-login
|
|
26
26
|
#el
|
|
27
27
|
[project]="project"
|
|
28
28
|
[projectId]="projectId"
|
|
@@ -34,18 +34,19 @@ n.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngIm
|
|
|
34
34
|
[attr.post-sign-in-url]="postSignInUrl"
|
|
35
35
|
[attr.variant]="variant ?? null"
|
|
36
36
|
[attr.theme]="theme ?? null"
|
|
37
|
+
[suppressHeader]="suppressHeader"
|
|
37
38
|
(zitadel-flow-step)="onFlowStep($event)"
|
|
38
39
|
(zitadel-flow-input)="onFlowInput($event)"
|
|
39
40
|
(zitadel-flow-complete)="onFlowComplete($event)"
|
|
40
41
|
(zitadel-flow-error)="onFlowError($event)"
|
|
41
42
|
></zitadel-login>`, isInline: !0 });
|
|
42
|
-
let
|
|
43
|
-
|
|
44
|
-
type:
|
|
43
|
+
let i = a;
|
|
44
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: i, decorators: [{
|
|
45
|
+
type: m,
|
|
45
46
|
args: [{
|
|
46
47
|
selector: "zitadel-auth-login",
|
|
47
48
|
standalone: !0,
|
|
48
|
-
schemas: [
|
|
49
|
+
schemas: [d],
|
|
49
50
|
template: `<zitadel-login
|
|
50
51
|
#el
|
|
51
52
|
[project]="project"
|
|
@@ -58,6 +59,7 @@ e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport
|
|
|
58
59
|
[attr.post-sign-in-url]="postSignInUrl"
|
|
59
60
|
[attr.variant]="variant ?? null"
|
|
60
61
|
[attr.theme]="theme ?? null"
|
|
62
|
+
[suppressHeader]="suppressHeader"
|
|
61
63
|
(zitadel-flow-step)="onFlowStep($event)"
|
|
62
64
|
(zitadel-flow-input)="onFlowInput($event)"
|
|
63
65
|
(zitadel-flow-complete)="onFlowComplete($event)"
|
|
@@ -65,50 +67,52 @@ e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport
|
|
|
65
67
|
></zitadel-login>`
|
|
66
68
|
}]
|
|
67
69
|
}], propDecorators: { project: [{
|
|
68
|
-
type:
|
|
70
|
+
type: e
|
|
69
71
|
}], projectId: [{
|
|
70
|
-
type:
|
|
72
|
+
type: e
|
|
71
73
|
}], proxyPath: [{
|
|
72
|
-
type:
|
|
74
|
+
type: e
|
|
73
75
|
}], purpose: [{
|
|
74
|
-
type:
|
|
76
|
+
type: e
|
|
75
77
|
}], flowName: [{
|
|
76
|
-
type:
|
|
78
|
+
type: e
|
|
77
79
|
}], postSignInUrl: [{
|
|
78
|
-
type:
|
|
80
|
+
type: e
|
|
79
81
|
}], locales: [{
|
|
80
|
-
type:
|
|
82
|
+
type: e
|
|
81
83
|
}], lang: [{
|
|
82
|
-
type:
|
|
84
|
+
type: e
|
|
83
85
|
}], variant: [{
|
|
84
|
-
type:
|
|
86
|
+
type: e
|
|
85
87
|
}], theme: [{
|
|
86
|
-
type:
|
|
88
|
+
type: e
|
|
89
|
+
}], suppressHeader: [{
|
|
90
|
+
type: e
|
|
87
91
|
}], flowStep: [{
|
|
88
|
-
type:
|
|
92
|
+
type: p
|
|
89
93
|
}], flowInput: [{
|
|
90
|
-
type:
|
|
94
|
+
type: p
|
|
91
95
|
}], flowComplete: [{
|
|
92
|
-
type:
|
|
96
|
+
type: p
|
|
93
97
|
}], flowError: [{
|
|
94
|
-
type:
|
|
98
|
+
type: p
|
|
95
99
|
}], elementRef: [{
|
|
96
100
|
type: g,
|
|
97
101
|
args: ["el"]
|
|
98
102
|
}] } });
|
|
99
|
-
const
|
|
103
|
+
const l = class l {
|
|
100
104
|
constructor() {
|
|
101
|
-
this.signout = new
|
|
105
|
+
this.signout = new o();
|
|
102
106
|
}
|
|
103
107
|
/** The underlying `<zitadel-logout>` custom element, or `null` before view init. */
|
|
104
108
|
get element() {
|
|
105
109
|
return this.elementRef?.nativeElement ?? null;
|
|
106
110
|
}
|
|
107
|
-
onSignout(
|
|
108
|
-
this.signout.emit(
|
|
111
|
+
onSignout(r) {
|
|
112
|
+
this.signout.emit(r.detail);
|
|
109
113
|
}
|
|
110
114
|
};
|
|
111
|
-
|
|
115
|
+
l.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: l, deps: [], target: t.ɵɵFactoryTarget.Component }), l.ɵcmp = t.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: l, isStandalone: !0, selector: "zitadel-auth-logout", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", postSignOutUrl: "postSignOutUrl", theme: "theme" }, outputs: { signout: "signout" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: t, template: `<zitadel-logout
|
|
112
116
|
#el
|
|
113
117
|
[project]="project"
|
|
114
118
|
[projectId]="projectId"
|
|
@@ -117,13 +121,13 @@ a.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngIm
|
|
|
117
121
|
[attr.theme]="theme ?? null"
|
|
118
122
|
(zitadel-signout)="onSignout($event)"
|
|
119
123
|
></zitadel-logout>`, isInline: !0 });
|
|
120
|
-
let u =
|
|
121
|
-
|
|
122
|
-
type:
|
|
124
|
+
let u = l;
|
|
125
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: u, decorators: [{
|
|
126
|
+
type: m,
|
|
123
127
|
args: [{
|
|
124
128
|
selector: "zitadel-auth-logout",
|
|
125
129
|
standalone: !0,
|
|
126
|
-
schemas: [
|
|
130
|
+
schemas: [d],
|
|
127
131
|
template: `<zitadel-logout
|
|
128
132
|
#el
|
|
129
133
|
[project]="project"
|
|
@@ -135,34 +139,34 @@ e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport
|
|
|
135
139
|
></zitadel-logout>`
|
|
136
140
|
}]
|
|
137
141
|
}], propDecorators: { project: [{
|
|
138
|
-
type:
|
|
142
|
+
type: e
|
|
139
143
|
}], projectId: [{
|
|
140
|
-
type:
|
|
144
|
+
type: e
|
|
141
145
|
}], proxyPath: [{
|
|
142
|
-
type:
|
|
146
|
+
type: e
|
|
143
147
|
}], postSignOutUrl: [{
|
|
144
|
-
type:
|
|
148
|
+
type: e
|
|
145
149
|
}], theme: [{
|
|
146
|
-
type:
|
|
150
|
+
type: e
|
|
147
151
|
}], signout: [{
|
|
148
|
-
type:
|
|
152
|
+
type: p
|
|
149
153
|
}], elementRef: [{
|
|
150
154
|
type: g,
|
|
151
155
|
args: ["el"]
|
|
152
156
|
}] } });
|
|
153
|
-
const
|
|
157
|
+
const n = class n {
|
|
154
158
|
constructor() {
|
|
155
|
-
this.signout = new
|
|
159
|
+
this.signout = new o();
|
|
156
160
|
}
|
|
157
161
|
/** The underlying `<zitadel-session>` custom element, or `null` before view init. */
|
|
158
162
|
get element() {
|
|
159
163
|
return this.elementRef?.nativeElement ?? null;
|
|
160
164
|
}
|
|
161
|
-
onSignout(
|
|
162
|
-
this.signout.emit(
|
|
165
|
+
onSignout(r) {
|
|
166
|
+
this.signout.emit(r.detail);
|
|
163
167
|
}
|
|
164
168
|
};
|
|
165
|
-
|
|
169
|
+
n.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: n, deps: [], target: t.ɵɵFactoryTarget.Component }), n.ɵcmp = t.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: n, isStandalone: !0, selector: "zitadel-auth-session", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", postSignOutUrl: "postSignOutUrl", heading: "heading", logoutLabel: "logoutLabel", variant: "variant", theme: "theme", suppressHeader: "suppressHeader" }, outputs: { signout: "signout" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: t, template: `<zitadel-session
|
|
166
170
|
#el
|
|
167
171
|
[project]="project"
|
|
168
172
|
[projectId]="projectId"
|
|
@@ -172,15 +176,16 @@ p.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngIm
|
|
|
172
176
|
[attr.logout-label]="logoutLabel"
|
|
173
177
|
[attr.variant]="variant ?? null"
|
|
174
178
|
[attr.theme]="theme ?? null"
|
|
179
|
+
[suppressHeader]="suppressHeader"
|
|
175
180
|
(zitadel-signout)="onSignout($event)"
|
|
176
181
|
></zitadel-session>`, isInline: !0 });
|
|
177
|
-
let c =
|
|
178
|
-
|
|
179
|
-
type:
|
|
182
|
+
let c = n;
|
|
183
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: c, decorators: [{
|
|
184
|
+
type: m,
|
|
180
185
|
args: [{
|
|
181
186
|
selector: "zitadel-auth-session",
|
|
182
187
|
standalone: !0,
|
|
183
|
-
schemas: [
|
|
188
|
+
schemas: [d],
|
|
184
189
|
template: `<zitadel-session
|
|
185
190
|
#el
|
|
186
191
|
[project]="project"
|
|
@@ -191,40 +196,43 @@ e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport
|
|
|
191
196
|
[attr.logout-label]="logoutLabel"
|
|
192
197
|
[attr.variant]="variant ?? null"
|
|
193
198
|
[attr.theme]="theme ?? null"
|
|
199
|
+
[suppressHeader]="suppressHeader"
|
|
194
200
|
(zitadel-signout)="onSignout($event)"
|
|
195
201
|
></zitadel-session>`
|
|
196
202
|
}]
|
|
197
203
|
}], propDecorators: { project: [{
|
|
198
|
-
type:
|
|
204
|
+
type: e
|
|
199
205
|
}], projectId: [{
|
|
200
|
-
type:
|
|
206
|
+
type: e
|
|
201
207
|
}], proxyPath: [{
|
|
202
|
-
type:
|
|
208
|
+
type: e
|
|
203
209
|
}], postSignOutUrl: [{
|
|
204
|
-
type:
|
|
210
|
+
type: e
|
|
205
211
|
}], heading: [{
|
|
206
|
-
type:
|
|
212
|
+
type: e
|
|
207
213
|
}], logoutLabel: [{
|
|
208
|
-
type:
|
|
214
|
+
type: e
|
|
209
215
|
}], variant: [{
|
|
210
|
-
type:
|
|
216
|
+
type: e
|
|
211
217
|
}], theme: [{
|
|
212
|
-
type:
|
|
218
|
+
type: e
|
|
219
|
+
}], suppressHeader: [{
|
|
220
|
+
type: e
|
|
213
221
|
}], signout: [{
|
|
214
|
-
type:
|
|
222
|
+
type: p
|
|
215
223
|
}], elementRef: [{
|
|
216
224
|
type: g,
|
|
217
225
|
args: ["el"]
|
|
218
226
|
}] } });
|
|
219
|
-
function y(
|
|
227
|
+
function y(s) {
|
|
220
228
|
return Object.freeze({
|
|
221
|
-
proxyPath:
|
|
222
|
-
projectId:
|
|
223
|
-
url:
|
|
229
|
+
proxyPath: s.proxyPath ?? "/__nextgen",
|
|
230
|
+
projectId: s.projectId,
|
|
231
|
+
url: s.url
|
|
224
232
|
});
|
|
225
233
|
}
|
|
226
234
|
export {
|
|
227
|
-
|
|
235
|
+
i as ZitadelLoginComponent,
|
|
228
236
|
u as ZitadelLogoutComponent,
|
|
229
237
|
c as ZitadelSessionComponent,
|
|
230
238
|
I as businessLocales,
|
|
@@ -36,6 +36,7 @@ export declare class ZitadelLoginComponent {
|
|
|
36
36
|
lang?: string;
|
|
37
37
|
variant?: "widget" | "page";
|
|
38
38
|
theme?: "light" | "dark" | "auto";
|
|
39
|
+
suppressHeader?: boolean;
|
|
39
40
|
flowStep: EventEmitter<ZitadelFlowStepDetail>;
|
|
40
41
|
flowInput: EventEmitter<ZitadelFlowInputDetail>;
|
|
41
42
|
flowComplete: EventEmitter<ZitadelFlowCompleteDetail>;
|
|
@@ -48,6 +49,6 @@ export declare class ZitadelLoginComponent {
|
|
|
48
49
|
onFlowComplete(event: Event): void;
|
|
49
50
|
onFlowError(event: Event): void;
|
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZitadelLoginComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZitadelLoginComponent, "zitadel-auth-login", never, { "project": { "alias": "project"; "required": false; }; "projectId": { "alias": "projectId"; "required": false; }; "proxyPath": { "alias": "proxyPath"; "required": false; }; "purpose": { "alias": "purpose"; "required": false; }; "flowName": { "alias": "flowName"; "required": false; }; "postSignInUrl": { "alias": "postSignInUrl"; "required": false; }; "locales": { "alias": "locales"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "flowStep": "flowStep"; "flowInput": "flowInput"; "flowComplete": "flowComplete"; "flowError": "flowError"; }, never, never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZitadelLoginComponent, "zitadel-auth-login", never, { "project": { "alias": "project"; "required": false; }; "projectId": { "alias": "projectId"; "required": false; }; "proxyPath": { "alias": "proxyPath"; "required": false; }; "purpose": { "alias": "purpose"; "required": false; }; "flowName": { "alias": "flowName"; "required": false; }; "postSignInUrl": { "alias": "postSignInUrl"; "required": false; }; "locales": { "alias": "locales"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "suppressHeader": { "alias": "suppressHeader"; "required": false; }; }, { "flowStep": "flowStep"; "flowInput": "flowInput"; "flowComplete": "flowComplete"; "flowError": "flowError"; }, never, never, true, never>;
|
|
52
53
|
}
|
|
53
54
|
//# sourceMappingURL=zitadel-login.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zitadel-login.component.d.ts","sourceRoot":"","sources":["../../../src/lib/zitadel-login.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,qBAAqB,CAAC;;AAE7B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,
|
|
1
|
+
{"version":3,"file":"zitadel-login.component.d.ts","sourceRoot":"","sources":["../../../src/lib/zitadel-login.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,qBAAqB,CAAC;;AAE7B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAuBa,qBAAqB;IACvB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,qBAAqB,CAAW;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,sCAA6C;IACrD,SAAS,uCAA8C;IACvD,YAAY,0CAAiD;IAC7D,SAAS,uCAA8C;IAEhD,OAAO,CAAC,UAAU,CAAC,CAAkC;IAEtE,mFAAmF;IACnF,IAAI,OAAO,IAAI,mBAAmB,GAAG,IAAI,CAExC;IAED,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAI9B,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAI/B,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAIlC,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCApCpB,qBAAqB;2CAArB,qBAAqB;CAuCjC"}
|
|
@@ -25,12 +25,13 @@ export declare class ZitadelSessionComponent {
|
|
|
25
25
|
logoutLabel?: string;
|
|
26
26
|
variant?: "widget" | "page";
|
|
27
27
|
theme?: "light" | "dark" | "auto";
|
|
28
|
+
suppressHeader?: boolean;
|
|
28
29
|
signout: EventEmitter<ZitadelSignoutDetail>;
|
|
29
30
|
private elementRef?;
|
|
30
31
|
/** The underlying `<zitadel-session>` custom element, or `null` before view init. */
|
|
31
32
|
get element(): ZitadelSessionElement | null;
|
|
32
33
|
onSignout(event: Event): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZitadelSessionComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZitadelSessionComponent, "zitadel-auth-session", never, { "project": { "alias": "project"; "required": false; }; "projectId": { "alias": "projectId"; "required": false; }; "proxyPath": { "alias": "proxyPath"; "required": false; }; "postSignOutUrl": { "alias": "postSignOutUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "logoutLabel": { "alias": "logoutLabel"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "signout": "signout"; }, never, never, true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZitadelSessionComponent, "zitadel-auth-session", never, { "project": { "alias": "project"; "required": false; }; "projectId": { "alias": "projectId"; "required": false; }; "proxyPath": { "alias": "proxyPath"; "required": false; }; "postSignOutUrl": { "alias": "postSignOutUrl"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "logoutLabel": { "alias": "logoutLabel"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "suppressHeader": { "alias": "suppressHeader"; "required": false; }; }, { "signout": "signout"; }, never, never, true, never>;
|
|
35
36
|
}
|
|
36
37
|
//# sourceMappingURL=zitadel-session.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zitadel-session.component.d.ts","sourceRoot":"","sources":["../../../src/lib/zitadel-session.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,qBAAqB,CAAC;;AAE7B;;;;;;;;;;;GAWG;AACH,
|
|
1
|
+
{"version":3,"file":"zitadel-session.component.d.ts","sourceRoot":"","sources":["../../../src/lib/zitadel-session.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAGL,YAAY,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,qBAAqB,CAAC;;AAE7B;;;;;;;;;;;GAWG;AACH,qBAkBa,uBAAuB;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,qCAA4C;IAE5C,OAAO,CAAC,UAAU,CAAC,CAAoC;IAExE,qFAAqF;IACrF,IAAI,OAAO,IAAI,qBAAqB,GAAG,IAAI,CAE1C;IAED,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAnBlB,uBAAuB;2CAAvB,uBAAuB;CAsBnC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zitadel/sdk-angular",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.19",
|
|
4
4
|
"description": "Angular components for the Zitadel auth UI (client-side SPA).",
|
|
5
5
|
"homepage": "https://github.com/zitadel/nextgen/tree/main/packages/sdk-angular#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.6.0",
|
|
32
|
-
"@zitadel/api": "0.1.0-alpha.
|
|
33
|
-
"@zitadel/sdk-core": "0.1.0-alpha.
|
|
34
|
-
"@zitadel/components": "0.1.0-alpha.
|
|
32
|
+
"@zitadel/api": "0.1.0-alpha.19",
|
|
33
|
+
"@zitadel/sdk-core": "0.1.0-alpha.19",
|
|
34
|
+
"@zitadel/components": "0.1.0-alpha.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@angular/common": ">=17",
|