@zitadel/sdk-angular 0.1.0-alpha.14 → 0.1.0-alpha.16
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/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as t from "@angular/core";
|
|
2
|
-
import { EventEmitter as r, ViewChild as g, Output as
|
|
2
|
+
import { EventEmitter as r, ViewChild as g, Output as l, Input as e, CUSTOM_ELEMENTS_SCHEMA as d, Component as m } from "@angular/core";
|
|
3
3
|
import "@zitadel/components";
|
|
4
|
-
const
|
|
4
|
+
const p = class p {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.purpose = "login", this.flowStep = new r(), this.flowInput = new r(), this.flowComplete = new r(), this.flowError = new r();
|
|
7
7
|
}
|
|
@@ -22,20 +22,23 @@ const n = class n {
|
|
|
22
22
|
this.flowError.emit(o.detail);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
p.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: p, deps: [], target: t.ɵɵFactoryTarget.Component }), p.ɵcmp = t.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: p, isStandalone: !0, selector: "zitadel-auth-login", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", purpose: "purpose", flowName: "flowName", postSignInUrl: "postSignInUrl", locales: "locales", lang: "lang" }, 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"
|
|
29
29
|
[proxyPath]="proxyPath"
|
|
30
|
+
[locales]="locales"
|
|
31
|
+
[lang]="lang"
|
|
30
32
|
[attr.purpose]="purpose"
|
|
33
|
+
[attr.flow-name]="flowName"
|
|
31
34
|
[attr.post-sign-in-url]="postSignInUrl"
|
|
32
35
|
(zitadel-flow-step)="onFlowStep($event)"
|
|
33
36
|
(zitadel-flow-input)="onFlowInput($event)"
|
|
34
37
|
(zitadel-flow-complete)="onFlowComplete($event)"
|
|
35
38
|
(zitadel-flow-error)="onFlowError($event)"
|
|
36
39
|
></zitadel-login>`, isInline: !0 });
|
|
37
|
-
let
|
|
38
|
-
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
40
|
+
let i = p;
|
|
41
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: i, decorators: [{
|
|
39
42
|
type: m,
|
|
40
43
|
args: [{
|
|
41
44
|
selector: "zitadel-auth-login",
|
|
@@ -46,7 +49,10 @@ t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport
|
|
|
46
49
|
[project]="project"
|
|
47
50
|
[projectId]="projectId"
|
|
48
51
|
[proxyPath]="proxyPath"
|
|
52
|
+
[locales]="locales"
|
|
53
|
+
[lang]="lang"
|
|
49
54
|
[attr.purpose]="purpose"
|
|
55
|
+
[attr.flow-name]="flowName"
|
|
50
56
|
[attr.post-sign-in-url]="postSignInUrl"
|
|
51
57
|
(zitadel-flow-step)="onFlowStep($event)"
|
|
52
58
|
(zitadel-flow-input)="onFlowInput($event)"
|
|
@@ -62,21 +68,27 @@ t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport
|
|
|
62
68
|
type: e
|
|
63
69
|
}], purpose: [{
|
|
64
70
|
type: e
|
|
71
|
+
}], flowName: [{
|
|
72
|
+
type: e
|
|
65
73
|
}], postSignInUrl: [{
|
|
66
74
|
type: e
|
|
75
|
+
}], locales: [{
|
|
76
|
+
type: e
|
|
77
|
+
}], lang: [{
|
|
78
|
+
type: e
|
|
67
79
|
}], flowStep: [{
|
|
68
|
-
type:
|
|
80
|
+
type: l
|
|
69
81
|
}], flowInput: [{
|
|
70
|
-
type:
|
|
82
|
+
type: l
|
|
71
83
|
}], flowComplete: [{
|
|
72
|
-
type:
|
|
84
|
+
type: l
|
|
73
85
|
}], flowError: [{
|
|
74
|
-
type:
|
|
86
|
+
type: l
|
|
75
87
|
}], elementRef: [{
|
|
76
88
|
type: g,
|
|
77
89
|
args: ["el"]
|
|
78
90
|
}] } });
|
|
79
|
-
const
|
|
91
|
+
const n = class n {
|
|
80
92
|
constructor() {
|
|
81
93
|
this.signout = new r();
|
|
82
94
|
}
|
|
@@ -88,7 +100,7 @@ const l = class l {
|
|
|
88
100
|
this.signout.emit(o.detail);
|
|
89
101
|
}
|
|
90
102
|
};
|
|
91
|
-
|
|
103
|
+
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-logout", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", postSignOutUrl: "postSignOutUrl" }, outputs: { signout: "signout" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: t, template: `<zitadel-logout
|
|
92
104
|
#el
|
|
93
105
|
[project]="project"
|
|
94
106
|
[projectId]="projectId"
|
|
@@ -96,8 +108,8 @@ l.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngIm
|
|
|
96
108
|
[attr.post-sign-out-url]="postSignOutUrl"
|
|
97
109
|
(zitadel-signout)="onSignout($event)"
|
|
98
110
|
></zitadel-logout>`, isInline: !0 });
|
|
99
|
-
let u =
|
|
100
|
-
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
111
|
+
let u = n;
|
|
112
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: u, decorators: [{
|
|
101
113
|
type: m,
|
|
102
114
|
args: [{
|
|
103
115
|
selector: "zitadel-auth-logout",
|
|
@@ -121,12 +133,12 @@ t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport
|
|
|
121
133
|
}], postSignOutUrl: [{
|
|
122
134
|
type: e
|
|
123
135
|
}], signout: [{
|
|
124
|
-
type:
|
|
136
|
+
type: l
|
|
125
137
|
}], elementRef: [{
|
|
126
138
|
type: g,
|
|
127
139
|
args: ["el"]
|
|
128
140
|
}] } });
|
|
129
|
-
const
|
|
141
|
+
const a = class a {
|
|
130
142
|
constructor() {
|
|
131
143
|
this.signout = new r();
|
|
132
144
|
}
|
|
@@ -138,7 +150,7 @@ const i = class i {
|
|
|
138
150
|
this.signout.emit(o.detail);
|
|
139
151
|
}
|
|
140
152
|
};
|
|
141
|
-
|
|
153
|
+
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-session", inputs: { project: "project", projectId: "projectId", proxyPath: "proxyPath", postSignOutUrl: "postSignOutUrl", heading: "heading", logoutLabel: "logoutLabel" }, outputs: { signout: "signout" }, viewQueries: [{ propertyName: "elementRef", first: !0, predicate: ["el"], descendants: !0 }], ngImport: t, template: `<zitadel-session
|
|
142
154
|
#el
|
|
143
155
|
[project]="project"
|
|
144
156
|
[projectId]="projectId"
|
|
@@ -148,8 +160,8 @@ i.ɵfac = t.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngIm
|
|
|
148
160
|
[attr.logout-label]="logoutLabel"
|
|
149
161
|
(zitadel-signout)="onSignout($event)"
|
|
150
162
|
></zitadel-session>`, isInline: !0 });
|
|
151
|
-
let c =
|
|
152
|
-
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
163
|
+
let c = a;
|
|
164
|
+
t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: t, type: c, decorators: [{
|
|
153
165
|
type: m,
|
|
154
166
|
args: [{
|
|
155
167
|
selector: "zitadel-auth-session",
|
|
@@ -179,7 +191,7 @@ t.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport
|
|
|
179
191
|
}], logoutLabel: [{
|
|
180
192
|
type: e
|
|
181
193
|
}], signout: [{
|
|
182
|
-
type:
|
|
194
|
+
type: l
|
|
183
195
|
}], elementRef: [{
|
|
184
196
|
type: g,
|
|
185
197
|
args: ["el"]
|
|
@@ -192,7 +204,7 @@ function w(s) {
|
|
|
192
204
|
});
|
|
193
205
|
}
|
|
194
206
|
export {
|
|
195
|
-
|
|
207
|
+
i as ZitadelLoginComponent,
|
|
196
208
|
u as ZitadelLogoutComponent,
|
|
197
209
|
c as ZitadelSessionComponent,
|
|
198
210
|
w as configureZitadel
|
|
@@ -30,7 +30,10 @@ export declare class ZitadelLoginComponent {
|
|
|
30
30
|
projectId?: string;
|
|
31
31
|
proxyPath?: string;
|
|
32
32
|
purpose: CreateFlowBodyPurpose;
|
|
33
|
+
flowName?: string;
|
|
33
34
|
postSignInUrl?: string;
|
|
35
|
+
locales?: Record<string, Record<string, string>>;
|
|
36
|
+
lang?: string;
|
|
34
37
|
flowStep: EventEmitter<ZitadelFlowStepDetail>;
|
|
35
38
|
flowInput: EventEmitter<ZitadelFlowInputDetail>;
|
|
36
39
|
flowComplete: EventEmitter<ZitadelFlowCompleteDetail>;
|
|
@@ -43,6 +46,6 @@ export declare class ZitadelLoginComponent {
|
|
|
43
46
|
onFlowComplete(event: Event): void;
|
|
44
47
|
onFlowError(event: Event): void;
|
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZitadelLoginComponent, never>;
|
|
46
|
-
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; }; "postSignInUrl": { "alias": "postSignInUrl"; "required": false; }; }, { "flowStep": "flowStep"; "flowInput": "flowInput"; "flowComplete": "flowComplete"; "flowError": "flowError"; }, never, never, true, never>;
|
|
49
|
+
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; }; }, { "flowStep": "flowStep"; "flowInput": "flowInput"; "flowComplete": "flowComplete"; "flowError": "flowError"; }, never, never, true, never>;
|
|
47
50
|
}
|
|
48
51
|
//# 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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2
2
|
"name": "@zitadel/sdk-angular",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.16",
|
|
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/
|
|
33
|
-
"@zitadel/
|
|
34
|
-
"@zitadel/
|
|
32
|
+
"@zitadel/components": "0.1.0-alpha.16",
|
|
33
|
+
"@zitadel/api": "0.1.0-alpha.16",
|
|
34
|
+
"@zitadel/sdk-core": "0.1.0-alpha.16"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@angular/common": ">=17",
|
|
@@ -40,12 +40,13 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@analogjs/vite-plugin-angular": "^2.6.1",
|
|
42
42
|
"@analogjs/vitest-angular": "^2.6.1",
|
|
43
|
-
"@angular/build": "^22.0.
|
|
44
|
-
"@angular/common": "^22.0.
|
|
45
|
-
"@angular/compiler": "^22.0.
|
|
46
|
-
"@angular/compiler-cli": "^22.0.
|
|
47
|
-
"@angular/core": "^22.0.
|
|
48
|
-
"@angular/platform-browser": "^22.0.
|
|
43
|
+
"@angular/build": "^22.0.5",
|
|
44
|
+
"@angular/common": "^22.0.5",
|
|
45
|
+
"@angular/compiler": "^22.0.5",
|
|
46
|
+
"@angular/compiler-cli": "^22.0.5",
|
|
47
|
+
"@angular/core": "^22.0.5",
|
|
48
|
+
"@angular/platform-browser": "^22.0.5",
|
|
49
|
+
"@angular/router": "^22.0.5",
|
|
49
50
|
"@eslint/js": "^9.0.0",
|
|
50
51
|
"@eslint/json": "^0.11.0",
|
|
51
52
|
"@eslint/markdown": "^6.0.0",
|