@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 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 production
39
- that path comes from your hosting platform — a `vercel.json` rewrite, a
40
- `netlify.toml` redirect, or a minimal Cloudflare worker — per
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
- (scaffolding tracked in [zitadel/nextgen#560](https://github.com/zitadel/nextgen/issues/560);
43
- **until that work lands, production SPA deployment is not yet supported**).
44
- Locally you can point `proxyPath` straight at the backend (cross-origin), e.g.
45
- `proxyPath: "http://localhost:4000"`.
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 e from "@angular/core";
2
- import { EventEmitter as r, ViewChild as g, Output as l, Input as t, CUSTOM_ELEMENTS_SCHEMA as m, Component as d } from "@angular/core";
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 n = class n {
4
+ const a = class a {
5
5
  constructor() {
6
- this.purpose = "login", this.flowStep = new r(), this.flowInput = new r(), this.flowComplete = new r(), this.flowError = new r();
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(o) {
13
- this.flowStep.emit(o.detail);
12
+ onFlowStep(r) {
13
+ this.flowStep.emit(r.detail);
14
14
  }
15
- onFlowInput(o) {
16
- this.flowInput.emit(o.detail);
15
+ onFlowInput(r) {
16
+ this.flowInput.emit(r.detail);
17
17
  }
18
- onFlowComplete(o) {
19
- this.flowComplete.emit(o.detail);
18
+ onFlowComplete(r) {
19
+ this.flowComplete.emit(r.detail);
20
20
  }
21
- onFlowError(o) {
22
- this.flowError.emit(o.detail);
21
+ onFlowError(r) {
22
+ this.flowError.emit(r.detail);
23
23
  }
24
24
  };
25
- n.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: n, deps: [], target: e.ɵɵFactoryTarget.Component }), n.ɵcmp = e.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: n, 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" }, outputs: { flowStep: "flowStep", flowInput: "flowInput", flowComplete: "flowComplete", flowError: "flowError" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: e, template: `<zitadel-login
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 s = n;
43
- e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: s, decorators: [{
44
- type: d,
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: [m],
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: t
70
+ type: e
69
71
  }], projectId: [{
70
- type: t
72
+ type: e
71
73
  }], proxyPath: [{
72
- type: t
74
+ type: e
73
75
  }], purpose: [{
74
- type: t
76
+ type: e
75
77
  }], flowName: [{
76
- type: t
78
+ type: e
77
79
  }], postSignInUrl: [{
78
- type: t
80
+ type: e
79
81
  }], locales: [{
80
- type: t
82
+ type: e
81
83
  }], lang: [{
82
- type: t
84
+ type: e
83
85
  }], variant: [{
84
- type: t
86
+ type: e
85
87
  }], theme: [{
86
- type: t
88
+ type: e
89
+ }], suppressHeader: [{
90
+ type: e
87
91
  }], flowStep: [{
88
- type: l
92
+ type: p
89
93
  }], flowInput: [{
90
- type: l
94
+ type: p
91
95
  }], flowComplete: [{
92
- type: l
96
+ type: p
93
97
  }], flowError: [{
94
- type: l
98
+ type: p
95
99
  }], elementRef: [{
96
100
  type: g,
97
101
  args: ["el"]
98
102
  }] } });
99
- const a = class a {
103
+ const l = class l {
100
104
  constructor() {
101
- this.signout = new r();
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(o) {
108
- this.signout.emit(o.detail);
111
+ onSignout(r) {
112
+ this.signout.emit(r.detail);
109
113
  }
110
114
  };
111
- a.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: a, deps: [], target: e.ɵɵFactoryTarget.Component }), a.ɵcmp = e.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: a, 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: e, template: `<zitadel-logout
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 = a;
121
- e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: u, decorators: [{
122
- type: d,
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: [m],
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: t
142
+ type: e
139
143
  }], projectId: [{
140
- type: t
144
+ type: e
141
145
  }], proxyPath: [{
142
- type: t
146
+ type: e
143
147
  }], postSignOutUrl: [{
144
- type: t
148
+ type: e
145
149
  }], theme: [{
146
- type: t
150
+ type: e
147
151
  }], signout: [{
148
- type: l
152
+ type: p
149
153
  }], elementRef: [{
150
154
  type: g,
151
155
  args: ["el"]
152
156
  }] } });
153
- const p = class p {
157
+ const n = class n {
154
158
  constructor() {
155
- this.signout = new r();
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(o) {
162
- this.signout.emit(o.detail);
165
+ onSignout(r) {
166
+ this.signout.emit(r.detail);
163
167
  }
164
168
  };
165
- p.ɵfac = e.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: p, deps: [], target: e.ɵɵFactoryTarget.Component }), p.ɵcmp = e.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: p, isStandalone: !0, selector: "zitadel-auth-session", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", postSignOutUrl: "postSignOutUrl", heading: "heading", logoutLabel: "logoutLabel", variant: "variant", theme: "theme" }, outputs: { signout: "signout" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: e, template: `<zitadel-session
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 = p;
178
- e.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: e, type: c, decorators: [{
179
- type: d,
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: [m],
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: t
204
+ type: e
199
205
  }], projectId: [{
200
- type: t
206
+ type: e
201
207
  }], proxyPath: [{
202
- type: t
208
+ type: e
203
209
  }], postSignOutUrl: [{
204
- type: t
210
+ type: e
205
211
  }], heading: [{
206
- type: t
212
+ type: e
207
213
  }], logoutLabel: [{
208
- type: t
214
+ type: e
209
215
  }], variant: [{
210
- type: t
216
+ type: e
211
217
  }], theme: [{
212
- type: t
218
+ type: e
219
+ }], suppressHeader: [{
220
+ type: e
213
221
  }], signout: [{
214
- type: l
222
+ type: p
215
223
  }], elementRef: [{
216
224
  type: g,
217
225
  args: ["el"]
218
226
  }] } });
219
- function y(i) {
227
+ function y(s) {
220
228
  return Object.freeze({
221
- proxyPath: i.proxyPath ?? "/__nextgen",
222
- projectId: i.projectId,
223
- url: i.url
229
+ proxyPath: s.proxyPath ?? "/__nextgen",
230
+ projectId: s.projectId,
231
+ url: s.url
224
232
  });
225
233
  }
226
234
  export {
227
- s as ZitadelLoginComponent,
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,qBAsBa,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,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C;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,qBAiBa,uBAAuB;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,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AAC,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.18",
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.18",
33
- "@zitadel/sdk-core": "0.1.0-alpha.18",
34
- "@zitadel/components": "0.1.0-alpha.18"
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",