@aooth/auth-moost 0.1.6 → 0.1.8
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/atscript/index.d.mts +2 -2
- package/dist/atscript/index.mjs +2 -2
- package/dist/forms-Bkr7ECKu.mjs +375 -0
- package/dist/index.d.mts +2173 -1656
- package/dist/index.mjs +4350 -3659
- package/package.json +32 -25
- package/src/atscript/models/forms.as +474 -273
- package/src/atscript/models/forms.as.d.ts +87 -120
- package/dist/forms-sF41Fzzn.mjs +0 -380
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { AskEmailForm, AskPhoneForm,
|
|
1
|
+
import { S as WithInlineConsentForm, _ as RecoveryModeSelectForm, a as EmailIdentifierForm, b as SignupForm, c as EnrollPickMethodForm, d as MagicLinkRequestForm, f as MfaCodeForm, g as RecoveryFactorForm, h as ProveControlOtpForm, i as ConcurrencyLimitForm, l as InviteForm, m as ProveControlForm, n as AskPhoneForm, o as EnrollAddressForm, p as PincodeForm, r as ChangePasswordForm, s as EnrollConfirmForm, t as AskEmailForm, u as LoginCredentialsForm, v as Select2faForm, x as TermsBumpForm, y as SetPasswordForm } from "../forms-Bkr7ECKu.mjs";
|
|
2
|
+
export { AskEmailForm, AskPhoneForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, MfaCodeForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, Select2faForm, SetPasswordForm, SignupForm, TermsBumpForm, WithInlineConsentForm };
|
package/dist/atscript/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { AskEmailForm, AskPhoneForm,
|
|
1
|
+
import { S as WithInlineConsentForm, _ as RecoveryModeSelectForm, a as EmailIdentifierForm, b as SignupForm, c as EnrollPickMethodForm, d as MagicLinkRequestForm, f as MfaCodeForm, g as RecoveryFactorForm, h as ProveControlOtpForm, i as ConcurrencyLimitForm, l as InviteForm, m as ProveControlForm, n as AskPhoneForm, o as EnrollAddressForm, p as PincodeForm, r as ChangePasswordForm, s as EnrollConfirmForm, t as AskEmailForm, u as LoginCredentialsForm, v as Select2faForm, x as TermsBumpForm, y as SetPasswordForm } from "../forms-Bkr7ECKu.mjs";
|
|
2
|
+
export { AskEmailForm, AskPhoneForm, ChangePasswordForm, ConcurrencyLimitForm, EmailIdentifierForm, EnrollAddressForm, EnrollConfirmForm, EnrollPickMethodForm, InviteForm, LoginCredentialsForm, MagicLinkRequestForm, MfaCodeForm, PincodeForm, ProveControlForm, ProveControlOtpForm, RecoveryFactorForm, RecoveryModeSelectForm, Select2faForm, SetPasswordForm, SignupForm, TermsBumpForm, WithInlineConsentForm };
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import { defineAnnotatedType, throwFeatureDisabled } from "@atscript/typescript/utils";
|
|
2
|
+
//#region src/atscript/models/forms.as
|
|
3
|
+
var WithInlineConsentForm = class {
|
|
4
|
+
static __is_atscript_annotated_type = true;
|
|
5
|
+
static type = {};
|
|
6
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
7
|
+
static id = "WithInlineConsentForm";
|
|
8
|
+
static toJsonSchema() {
|
|
9
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var LoginCredentialsForm = class {
|
|
13
|
+
static __is_atscript_annotated_type = true;
|
|
14
|
+
static type = {};
|
|
15
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
16
|
+
static id = "LoginCredentialsForm";
|
|
17
|
+
static toJsonSchema() {
|
|
18
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var MfaCodeForm = class {
|
|
22
|
+
static __is_atscript_annotated_type = true;
|
|
23
|
+
static type = {};
|
|
24
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
25
|
+
static id = "MfaCodeForm";
|
|
26
|
+
static toJsonSchema() {
|
|
27
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var EmailIdentifierForm = class {
|
|
31
|
+
static __is_atscript_annotated_type = true;
|
|
32
|
+
static type = {};
|
|
33
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
34
|
+
static id = "EmailIdentifierForm";
|
|
35
|
+
static toJsonSchema() {
|
|
36
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var SignupForm = class {
|
|
40
|
+
static __is_atscript_annotated_type = true;
|
|
41
|
+
static type = {};
|
|
42
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
43
|
+
static id = "SignupForm";
|
|
44
|
+
static toJsonSchema() {
|
|
45
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var SetPasswordForm = class {
|
|
49
|
+
static __is_atscript_annotated_type = true;
|
|
50
|
+
static type = {};
|
|
51
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
52
|
+
static id = "SetPasswordForm";
|
|
53
|
+
static toJsonSchema() {
|
|
54
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var InviteForm = class {
|
|
58
|
+
static __is_atscript_annotated_type = true;
|
|
59
|
+
static type = {};
|
|
60
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
61
|
+
static id = "InviteForm";
|
|
62
|
+
static toJsonSchema() {
|
|
63
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
var Select2faForm = class {
|
|
67
|
+
static __is_atscript_annotated_type = true;
|
|
68
|
+
static type = {};
|
|
69
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
70
|
+
static id = "Select2faForm";
|
|
71
|
+
static toJsonSchema() {
|
|
72
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
var PincodeForm = class {
|
|
76
|
+
static __is_atscript_annotated_type = true;
|
|
77
|
+
static type = {};
|
|
78
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
79
|
+
static id = "PincodeForm";
|
|
80
|
+
static toJsonSchema() {
|
|
81
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
var AskEmailForm = class {
|
|
85
|
+
static __is_atscript_annotated_type = true;
|
|
86
|
+
static type = {};
|
|
87
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
88
|
+
static id = "AskEmailForm";
|
|
89
|
+
static toJsonSchema() {
|
|
90
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
var AskPhoneForm = class {
|
|
94
|
+
static __is_atscript_annotated_type = true;
|
|
95
|
+
static type = {};
|
|
96
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
97
|
+
static id = "AskPhoneForm";
|
|
98
|
+
static toJsonSchema() {
|
|
99
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
var EnrollPickMethodForm = class {
|
|
103
|
+
static __is_atscript_annotated_type = true;
|
|
104
|
+
static type = {};
|
|
105
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
106
|
+
static id = "EnrollPickMethodForm";
|
|
107
|
+
static toJsonSchema() {
|
|
108
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
var EnrollAddressForm = class {
|
|
112
|
+
static __is_atscript_annotated_type = true;
|
|
113
|
+
static type = {};
|
|
114
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
115
|
+
static id = "EnrollAddressForm";
|
|
116
|
+
static toJsonSchema() {
|
|
117
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
var EnrollConfirmForm = class {
|
|
121
|
+
static __is_atscript_annotated_type = true;
|
|
122
|
+
static type = {};
|
|
123
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
124
|
+
static id = "EnrollConfirmForm";
|
|
125
|
+
static toJsonSchema() {
|
|
126
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
var TermsBumpForm = class {
|
|
130
|
+
static __is_atscript_annotated_type = true;
|
|
131
|
+
static type = {};
|
|
132
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
133
|
+
static id = "TermsBumpForm";
|
|
134
|
+
static toJsonSchema() {
|
|
135
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
var ConcurrencyLimitForm = class {
|
|
139
|
+
static __is_atscript_annotated_type = true;
|
|
140
|
+
static type = {};
|
|
141
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
142
|
+
static id = "ConcurrencyLimitForm";
|
|
143
|
+
static toJsonSchema() {
|
|
144
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
var MagicLinkRequestForm = class {
|
|
148
|
+
static __is_atscript_annotated_type = true;
|
|
149
|
+
static type = {};
|
|
150
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
151
|
+
static id = "MagicLinkRequestForm";
|
|
152
|
+
static toJsonSchema() {
|
|
153
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
var RecoveryModeSelectForm = class {
|
|
157
|
+
static __is_atscript_annotated_type = true;
|
|
158
|
+
static type = {};
|
|
159
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
160
|
+
static id = "RecoveryModeSelectForm";
|
|
161
|
+
static toJsonSchema() {
|
|
162
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
var RecoveryFactorForm = class {
|
|
166
|
+
static __is_atscript_annotated_type = true;
|
|
167
|
+
static type = {};
|
|
168
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
169
|
+
static id = "RecoveryFactorForm";
|
|
170
|
+
static toJsonSchema() {
|
|
171
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var ChangePasswordForm = class {
|
|
175
|
+
static __is_atscript_annotated_type = true;
|
|
176
|
+
static type = {};
|
|
177
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
178
|
+
static id = "ChangePasswordForm";
|
|
179
|
+
static toJsonSchema() {
|
|
180
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
var ProveControlForm = class {
|
|
184
|
+
static __is_atscript_annotated_type = true;
|
|
185
|
+
static type = {};
|
|
186
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
187
|
+
static id = "ProveControlForm";
|
|
188
|
+
static toJsonSchema() {
|
|
189
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
var ProveControlOtpForm = class {
|
|
193
|
+
static __is_atscript_annotated_type = true;
|
|
194
|
+
static type = {};
|
|
195
|
+
static metadata = /* @__PURE__ */ new Map();
|
|
196
|
+
static id = "ProveControlOtpForm";
|
|
197
|
+
static toJsonSchema() {
|
|
198
|
+
throwFeatureDisabled("JSON Schema", "jsonSchema", "emit.jsonSchema");
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
defineAnnotatedType("object", WithInlineConsentForm).prop("consents", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("meta.label", "Pending consents").annotate("ui.form.component", "AsConsentArray").annotate("ui.form.fn.attr", {
|
|
202
|
+
name: "pendingConsents",
|
|
203
|
+
fn: "(_, _d, ctx) => ctx.public?.consents?.pending"
|
|
204
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.consents?.decidedAt !== undefined || (ctx.public?.consents?.pending?.length ?? 0) === 0").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).annotate("wf.context.pass", "public", true);
|
|
205
|
+
defineAnnotatedType("object", LoginCredentialsForm).prop("username", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Username").annotate("ui.form.autocomplete", "username").annotate("meta.required", {}).annotate("expect.minLength", { length: 1 }).$type).prop("password", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 20).annotate("ui.form.type", "password").annotate("meta.label", "Password").annotate("ui.form.autocomplete", "current-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 1 }).annotate("ui.form.action", {
|
|
206
|
+
id: "forgotPassword",
|
|
207
|
+
label: "Forgot password?"
|
|
208
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.altActions?.forgotPassword").annotate("wf.action.withData", "forgotPassword").$type).prop("signup", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 30).annotate("ui.form.action", {
|
|
209
|
+
id: "signup",
|
|
210
|
+
label: "Sign up"
|
|
211
|
+
}).annotate("ui.form.attr", {
|
|
212
|
+
name: "text",
|
|
213
|
+
value: "Don’t have an account?"
|
|
214
|
+
}, true).annotate("ui.form.attr", {
|
|
215
|
+
name: "align",
|
|
216
|
+
value: "center"
|
|
217
|
+
}, true).annotate("ui.form.pushDown", true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.altActions?.signup").optional().$type).prop("magicLink", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 40).annotate("ui.form.action", {
|
|
218
|
+
id: "magicLink",
|
|
219
|
+
label: "Sign in with a magic link"
|
|
220
|
+
}).annotate("ui.form.attr", {
|
|
221
|
+
name: "align",
|
|
222
|
+
value: "center"
|
|
223
|
+
}, true).annotate("ui.form.pushDown", true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.altActions?.magicLink").optional().$type).prop("ssoProvider", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 50).annotate("ui.form.component", "AsSsoProviders").annotate("ui.form.fn.attr", {
|
|
224
|
+
name: "providers",
|
|
225
|
+
fn: "(_, _d, ctx) => Array.isArray(ctx.public?.altActions?.ssoProviders) ? ctx.public.altActions.ssoProviders.map((p) => ({ id: p.id, text: \"Continue with \" + p.label, icon: p.icon })) : []"
|
|
226
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.altActions?.ssoProviders?.length ?? 0) === 0").annotate("meta.label", "Or sign in with").annotate("ui.form.action", {
|
|
227
|
+
id: "sso",
|
|
228
|
+
label: "Continue"
|
|
229
|
+
}).annotate("wf.action.withData", "sso").annotate("ui.form.grid.colSpan", { desktop: "12" }).optional().$type).annotate("meta.label", "Sign in").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Sign in");
|
|
230
|
+
defineAnnotatedType("object", MfaCodeForm).prop("transportHint", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.mfa?.method === \"totp\" ? \"Enter the current 6-digit code from your authenticator app.\" : ctx.public?.pincode?.sentTo ? \"Code sent to \" + ctx.public.pincode.sentTo + \".\" : \"Enter your verification code.\"").optional().$type).prop("code", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.type", "text").annotate("meta.label", "Verification code").annotate("ui.form.autocomplete", "one-time-code").annotate("ui.form.fn.attr", {
|
|
231
|
+
name: "maxlength",
|
|
232
|
+
fn: "(_, _d, ctx) => ctx.public?.pincode?.codeLength"
|
|
233
|
+
}, true).annotate("meta.required", {}).annotate("expect.minLength", { length: 4 }).annotate("expect.maxLength", { length: 12 }).annotate("expect.pattern", { pattern: "^[0-9]+$" }, true).$type).prop("useDifferentMethod", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
234
|
+
id: "useDifferentMethod",
|
|
235
|
+
label: "Use a different method"
|
|
236
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.mfa?.methodCount ?? 0) < 2").optional().$type).prop("rememberDevice", defineAnnotatedType().designType("boolean").tags("boolean").annotate("ui.form.type", "checkbox").annotate("meta.label", "Remember this device").annotate("meta.default", "false").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.trust?.optIn || !!ctx.public?.newPasswordRequired").$type).annotate("meta.label", "Verify your identity").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Verify");
|
|
237
|
+
defineAnnotatedType("object", EmailIdentifierForm).prop("email", defineAnnotatedType().designType("string").tags("email", "string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Email").annotate("ui.form.autocomplete", "email").annotate("meta.required", {}).annotate("expect.pattern", {
|
|
238
|
+
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
|
|
239
|
+
flags: "",
|
|
240
|
+
message: "Invalid email format."
|
|
241
|
+
}, true).$type).prop("backToLogin", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 20).annotate("ui.form.action", {
|
|
242
|
+
id: "backToLogin",
|
|
243
|
+
label: "Back to sign in"
|
|
244
|
+
}).annotate("ui.form.attr", {
|
|
245
|
+
name: "align",
|
|
246
|
+
value: "center"
|
|
247
|
+
}, true).annotate("ui.form.pushDown", true).optional().$type).annotate("meta.label", "Forgot your password?").annotate("meta.description", "Enter your account email and we will send you a recovery link.").annotate("wf.context.pass", "public", true);
|
|
248
|
+
defineAnnotatedType("object", SignupForm).prop("email", defineAnnotatedType().designType("string").tags("email", "string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Email").annotate("ui.form.autocomplete", "email").annotate("meta.required", {}).annotate("expect.pattern", {
|
|
249
|
+
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
|
|
250
|
+
flags: "",
|
|
251
|
+
message: "Invalid email format."
|
|
252
|
+
}, true).$type).prop("backToLogin", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 20).annotate("ui.form.action", {
|
|
253
|
+
id: "backToLogin",
|
|
254
|
+
label: "Sign in"
|
|
255
|
+
}).annotate("ui.form.attr", {
|
|
256
|
+
name: "text",
|
|
257
|
+
value: "Already have an account?"
|
|
258
|
+
}, true).annotate("ui.form.attr", {
|
|
259
|
+
name: "align",
|
|
260
|
+
value: "center"
|
|
261
|
+
}, true).annotate("ui.form.pushDown", true).optional().$type).annotate("meta.label", "Create your account").annotate("meta.description", "Enter your email to get started — we will send you a verification code.").annotate("wf.context.pass", "public", true);
|
|
262
|
+
defineAnnotatedType("object", SetPasswordForm).prop("consents", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("meta.label", "Pending consents").annotate("ui.form.component", "AsConsentArray").annotate("ui.form.fn.attr", {
|
|
263
|
+
name: "pendingConsents",
|
|
264
|
+
fn: "(_, _d, ctx) => ctx.public?.consents?.pending"
|
|
265
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.consents?.decidedAt !== undefined || (ctx.public?.consents?.pending?.length ?? 0) === 0").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).prop("intro", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.password?.intro || \"\"").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.password?.intro").$type).prop("newPassword", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "password").annotate("meta.label", "New password").annotate("ui.form.autocomplete", "new-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 8 }).$type).prop("confirmPassword", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 20).annotate("ui.form.type", "password").annotate("meta.label", "Confirm password").annotate("ui.form.autocomplete", "new-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 8 }).annotate("ui.form.validate", "(v, data) => v === data.newPassword || \"Passwords must match\"", true).$type).prop("passwordRules", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 25).annotate("meta.label", "Password requirements").annotate("ui.form.component", "AsPasswordRules").annotate("ui.form.fn.attr", {
|
|
266
|
+
name: "policies",
|
|
267
|
+
fn: "(_, _d, ctx) => ctx.public?.password?.policies"
|
|
268
|
+
}, true).annotate("ui.form.fn.attr", {
|
|
269
|
+
name: "password",
|
|
270
|
+
fn: "(_, data) => data.newPassword"
|
|
271
|
+
}, true).annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).annotate("ui.form.fn.title", "(_, _d, ctx) => ctx.public?.password?.heading || \"Set your password\"").annotate("wf.context.pass", "public", true);
|
|
272
|
+
defineAnnotatedType("object", InviteForm).prop("email", defineAnnotatedType().designType("string").tags("email", "string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Email").annotate("ui.form.autocomplete", "email").annotate("meta.required", {}).annotate("expect.pattern", {
|
|
273
|
+
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
|
|
274
|
+
flags: "",
|
|
275
|
+
message: "Invalid email format."
|
|
276
|
+
}, true).$type).prop("roles", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("ui.form.order", 20).annotate("ui.form.type", "select").annotate("ui.form.fn.options", "(_, _data, context) => Array.isArray(context.public?.admin?.availableRoles) ? context.public.admin.availableRoles.map(r => ({ key: r, label: r })) : []").annotate("meta.label", "Roles").$type).annotate("meta.label", "Send an invitation").annotate("meta.description", "Enter the recipient email address and pick the roles to grant on acceptance. They will receive a magic link to set their password.").annotate("wf.context.pass", "public", true);
|
|
277
|
+
defineAnnotatedType("object", Select2faForm).prop("methodName", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "radio").annotate("ui.form.fn.options", "(_, _d, ctx) => Array.isArray(ctx.public?.mfa?.enrolledMethods) ? ctx.public.mfa.enrolledMethods.map(m => ({ key: m.methodName, label: m.kind === \"totp\" ? \"TOTP (Authenticator app)\" : m.kind === \"email\" ? \"Email\" : m.kind === \"sms\" ? \"SMS\" : m.kind })) : []").annotate("meta.label", "MFA method").annotate("meta.required", {}).$type).prop("saveAsDefault", defineAnnotatedType().designType("boolean").tags("boolean").annotate("ui.form.type", "checkbox").annotate("meta.label", "Save as default").annotate("meta.default", "false").$type).prop("rememberDevice", defineAnnotatedType().designType("boolean").tags("boolean").annotate("ui.form.type", "checkbox").annotate("meta.label", "Remember this device").annotate("meta.default", "false").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.trust?.optIn || !!ctx.public?.newPasswordRequired").$type).annotate("meta.label", "Choose a verification method").annotate("meta.description", "Pick how you would like to verify your identity.").annotate("wf.context.pass", "public", true);
|
|
278
|
+
defineAnnotatedType("object", PincodeForm).prop("transportHint", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.mfa?.method === \"totp\" ? \"Enter the current 6-digit code from your authenticator app.\" : ctx.public?.pincode?.sentTo ? \"Code sent to \" + ctx.public.pincode.sentTo + \".\" : \"Enter your verification code.\"").optional().$type).prop("code", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.type", "text").annotate("meta.label", "Verification code").annotate("ui.form.autocomplete", "one-time-code").annotate("ui.form.fn.attr", {
|
|
279
|
+
name: "maxlength",
|
|
280
|
+
fn: "(_, _d, ctx) => ctx.public?.pincode?.codeLength"
|
|
281
|
+
}, true).annotate("meta.required", {}).annotate("expect.minLength", { length: 4 }).annotate("expect.maxLength", { length: 12 }).annotate("expect.pattern", { pattern: "^[0-9]+$" }, true).$type).prop("rememberDevice", defineAnnotatedType().designType("boolean").tags("boolean").annotate("ui.form.type", "checkbox").annotate("meta.label", "Remember this device").annotate("meta.default", "false").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.trust?.optIn || !!ctx.public?.newPasswordRequired").$type).prop("resend", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
282
|
+
id: "resend",
|
|
283
|
+
label: "Resend code"
|
|
284
|
+
}).annotate("ui.form.fn.attr", {
|
|
285
|
+
name: "available-at",
|
|
286
|
+
fn: "(_, _d, ctx) => ctx.public?.pincode?.resendAllowedAt"
|
|
287
|
+
}, true).optional().$type).prop("useDifferentMethod", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
288
|
+
id: "useDifferentMethod",
|
|
289
|
+
label: "Use a different method"
|
|
290
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.mfa?.methodCount ?? 0) < 2").optional().$type).prop("useDifferentTransport", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
291
|
+
id: "useDifferentTransport",
|
|
292
|
+
label: "Use a different transport"
|
|
293
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.otp?.transportCount ?? 0) < 2").optional().$type).annotate("meta.label", "Enter the verification code").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Verify");
|
|
294
|
+
defineAnnotatedType("object", AskEmailForm).prop("consents", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("meta.label", "Pending consents").annotate("ui.form.component", "AsConsentArray").annotate("ui.form.fn.attr", {
|
|
295
|
+
name: "pendingConsents",
|
|
296
|
+
fn: "(_, _d, ctx) => ctx.public?.consents?.pending"
|
|
297
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.consents?.decidedAt !== undefined || (ctx.public?.consents?.pending?.length ?? 0) === 0").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).prop("disclosure", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.channel?.otpDisclosure || \"\"").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.channel?.otpDisclosure").$type).prop("email", defineAnnotatedType().designType("string").tags("email", "string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Email").annotate("ui.form.autocomplete", "email").annotate("meta.required", {}).annotate("expect.pattern", {
|
|
298
|
+
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
|
|
299
|
+
flags: "",
|
|
300
|
+
message: "Invalid email format."
|
|
301
|
+
}, true).$type).annotate("meta.label", "Add your email address").annotate("meta.description", "We need a verified email to send security notifications and verification codes.").annotate("wf.context.pass", "public", true);
|
|
302
|
+
defineAnnotatedType("object", AskPhoneForm).prop("consents", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("meta.label", "Pending consents").annotate("ui.form.component", "AsConsentArray").annotate("ui.form.fn.attr", {
|
|
303
|
+
name: "pendingConsents",
|
|
304
|
+
fn: "(_, _d, ctx) => ctx.public?.consents?.pending"
|
|
305
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.consents?.decidedAt !== undefined || (ctx.public?.consents?.pending?.length ?? 0) === 0").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).prop("disclosure", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.channel?.otpDisclosure || \"\"").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.channel?.otpDisclosure").$type).prop("phone", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Phone number").annotate("ui.form.autocomplete", "tel").annotate("meta.required", {}).$type).annotate("meta.label", "Add your phone number").annotate("meta.description", "We need a verified phone to send security notifications and verification codes. Include your country code (for example +1 555 555 0100).").annotate("wf.context.pass", "public", true);
|
|
306
|
+
defineAnnotatedType("object", EnrollPickMethodForm).prop("method", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "radio").annotate("ui.form.fn.options", "(_, _d, ctx) => Array.isArray(ctx.public?.mfaEnroll?.availableTransports) ? ctx.public.mfaEnroll.availableTransports.map(t => ({ key: t, label: t === \"totp\" ? \"Authenticator app (TOTP)\" : t === \"sms\" ? \"SMS\" : t === \"email\" ? \"Email\" : t })) : []").annotate("meta.label", "Choose a verification method").annotate("meta.required", {}).$type).prop("skip", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
307
|
+
id: "skip",
|
|
308
|
+
label: "Skip for now"
|
|
309
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.mfaEnroll?.mode !== \"optional\"").optional().$type).annotate("meta.label", "Set up two-factor authentication").annotate("meta.description", "Pick a method to receive your verification codes.").annotate("wf.context.pass", "public", true);
|
|
310
|
+
defineAnnotatedType("object", EnrollAddressForm).prop("address", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Address").annotate("meta.required", {}).$type).prop("skip", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
311
|
+
id: "skip",
|
|
312
|
+
label: "Skip for now"
|
|
313
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.mfaEnroll?.mode !== \"optional\"").optional().$type).prop("useDifferentMethod", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
314
|
+
id: "useDifferentMethod",
|
|
315
|
+
label: "Use a different method"
|
|
316
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.mfaEnroll?.availableTransports?.length ?? 0) < 2").optional().$type).annotate("ui.form.fn.title", "(_, _d, ctx) => ctx.public?.mfaEnroll?.method === \"sms\" ? \"Add your phone number\" : \"Add your email\"").annotate("meta.description", "We will send you a one-time code to confirm.").annotate("wf.context.pass", "public", true);
|
|
317
|
+
defineAnnotatedType("object", EnrollConfirmForm).prop("transportHint", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 1).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.mfaEnroll?.method === \"totp\" ? \"Add the account to your authenticator app, then enter the 6-digit code it generates.\" : ctx.public?.pincode?.sentTo ? \"Code sent to \" + ctx.public.pincode.sentTo + \". Enter it below to confirm.\" : \"Enter the code to confirm enrollment.\"").optional().$type).prop("qrCode", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.component", "AsQrCode").annotate("ui.form.fn.attr", {
|
|
318
|
+
name: "size",
|
|
319
|
+
fn: "() => 180"
|
|
320
|
+
}, true).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.mfaEnroll?.uri || \"\"").annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.mfaEnroll?.method !== \"totp\" || !ctx.public?.mfaEnroll?.uri").$type).prop("code", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Code").annotate("ui.form.autocomplete", "one-time-code").annotate("meta.required", {}).annotate("expect.minLength", { length: 4 }).annotate("expect.maxLength", { length: 12 }).annotate("expect.pattern", { pattern: "^[0-9]+$" }, true).$type).prop("resend", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
321
|
+
id: "resend",
|
|
322
|
+
label: "Resend code"
|
|
323
|
+
}).annotate("ui.form.fn.attr", {
|
|
324
|
+
name: "available-at",
|
|
325
|
+
fn: "(_, _d, ctx) => ctx.public?.pincode?.resendAllowedAt"
|
|
326
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.mfaEnroll?.method === \"totp\"").optional().$type).prop("useDifferentMethod", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
327
|
+
id: "useDifferentMethod",
|
|
328
|
+
label: "Use a different method"
|
|
329
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => (ctx.public?.mfaEnroll?.availableTransports?.length ?? 0) < 2").optional().$type).prop("skip", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.action", {
|
|
330
|
+
id: "skip",
|
|
331
|
+
label: "Skip for now"
|
|
332
|
+
}).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.mfaEnroll?.mode !== \"optional\"").optional().$type).annotate("meta.label", "Confirm your verification code").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Confirm");
|
|
333
|
+
defineAnnotatedType("object", TermsBumpForm).prop("consents", defineAnnotatedType("array").of(defineAnnotatedType().designType("string").tags("string").$type).annotate("meta.label", "Pending consents").annotate("ui.form.component", "AsConsentArray").annotate("ui.form.fn.attr", {
|
|
334
|
+
name: "pendingConsents",
|
|
335
|
+
fn: "(_, _d, ctx) => ctx.public?.consents?.pending"
|
|
336
|
+
}, true).annotate("ui.form.fn.hidden", "(_, _d, ctx) => ctx.public?.consents?.decidedAt !== undefined || (ctx.public?.consents?.pending?.length ?? 0) === 0").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).annotate("meta.label", "Updated terms and policies").annotate("meta.description", "Please review and accept the updated terms to continue.").annotate("wf.context.pass", "public", true);
|
|
337
|
+
defineAnnotatedType("object", ConcurrencyLimitForm).annotate("meta.label", "Session limit reached").annotate("meta.description", "You are already signed in elsewhere. Other sessions will be logged out if you proceed to log in.").annotate("ui.form.submit.text", "Login");
|
|
338
|
+
defineAnnotatedType("object", MagicLinkRequestForm).prop("identifier", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Email or username").annotate("ui.form.autocomplete", "username").annotate("meta.required", {}).$type).annotate("meta.label", "Sign in with a magic link").annotate("meta.description", "Enter your account email or username and we will send you a one-time sign-in link.");
|
|
339
|
+
defineAnnotatedType("object", RecoveryModeSelectForm).prop("mode", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "radio").annotate("ui.form.options", {
|
|
340
|
+
label: "Magic link",
|
|
341
|
+
value: "magicLink"
|
|
342
|
+
}, true).annotate("ui.form.options", {
|
|
343
|
+
label: "One-time code",
|
|
344
|
+
value: "otp"
|
|
345
|
+
}, true).annotate("meta.label", "Recovery method").annotate("meta.required", {}).$type).annotate("meta.label", "Choose how to verify").annotate("meta.description", "Pick how you would like to recover access.");
|
|
346
|
+
defineAnnotatedType("object", RecoveryFactorForm).prop("factor", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "radio").annotate("ui.form.fn.options", "(_, _d, ctx) => Array.isArray(ctx.public?.preReset?.availableRecoveryFactors) ? ctx.public.preReset.availableRecoveryFactors : []").annotate("meta.label", "Factor").annotate("meta.required", {}).$type).prop("value", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 20).annotate("ui.form.type", "text").annotate("meta.label", "Value").annotate("meta.required", {}).annotate("expect.minLength", { length: 4 }).annotate("expect.maxLength", { length: 12 }).$type).annotate("meta.label", "Verify your identity").annotate("meta.description", "Confirm a detail we have on file before resetting your password.").annotate("wf.context.pass", "public", true);
|
|
347
|
+
defineAnnotatedType("object", ChangePasswordForm).prop("intro", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.password?.intro || \"\"").annotate("ui.form.fn.hidden", "(_, _d, ctx) => !ctx.public?.password?.intro").annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).prop("currentPassword", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 8).annotate("ui.form.type", "password").annotate("meta.label", "Current password").annotate("ui.form.autocomplete", "current-password").annotate("meta.sensitive", true).annotate("meta.required", {}).$type).prop("newPassword", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "password").annotate("meta.label", "New password").annotate("ui.form.autocomplete", "new-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 8 }).$type).prop("confirmPassword", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 20).annotate("ui.form.type", "password").annotate("meta.label", "Confirm new password").annotate("ui.form.autocomplete", "new-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 8 }).annotate("ui.form.validate", "(v, data) => v === data.newPassword || \"Passwords must match\"", true).$type).prop("passwordRules", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 25).annotate("meta.label", "Password requirements").annotate("ui.form.component", "AsPasswordRules").annotate("ui.form.fn.attr", {
|
|
348
|
+
name: "policies",
|
|
349
|
+
fn: "(_, _d, ctx) => ctx.public?.password?.policies"
|
|
350
|
+
}, true).annotate("ui.form.fn.attr", {
|
|
351
|
+
name: "password",
|
|
352
|
+
fn: "(_, data) => data.newPassword"
|
|
353
|
+
}, true).annotate("ui.form.grid.colSpan", { desktop: "12" }).$type).annotate("ui.form.fn.title", "(_, _d, ctx) => ctx.public?.password?.heading || \"Change your password\"").annotate("ui.form.submit.text", "Change password").annotate("wf.context.pass", "public", true);
|
|
354
|
+
defineAnnotatedType("object", ProveControlForm).prop("intro", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.proveControl?.hint ? \"An account for \" + ctx.public.proveControl.hint + \" already exists. Enter its password to link this sign-in method.\" : \"Enter your existing account password to link this sign-in method.\"").$type).prop("password", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "password").annotate("meta.label", "Password").annotate("ui.form.autocomplete", "current-password").annotate("meta.sensitive", true).annotate("meta.required", {}).annotate("expect.minLength", { length: 1 }).$type).prop("cancel", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 20).annotate("ui.form.action", {
|
|
355
|
+
id: "cancel",
|
|
356
|
+
label: "Cancel"
|
|
357
|
+
}).annotate("ui.form.attr", {
|
|
358
|
+
name: "align",
|
|
359
|
+
value: "center"
|
|
360
|
+
}, true).annotate("ui.form.pushDown", true).optional().$type).annotate("meta.label", "Confirm your identity").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Verify and link");
|
|
361
|
+
defineAnnotatedType("object", ProveControlOtpForm).prop("intro", defineAnnotatedType().designType("phantom").tags("paragraph", "ui").annotate("ui.form.order", 5).annotate("ui.form.fn.value", "(_, _d, ctx) => ctx.public?.proveControl?.sentTo ? \"We sent a verification code to \" + ctx.public.proveControl.sentTo + \". Enter it to link this sign-in method to your existing account.\" : \"Enter the verification code to link this sign-in method to your existing account.\"").$type).prop("code", defineAnnotatedType().designType("string").tags("string").annotate("ui.form.order", 10).annotate("ui.form.type", "text").annotate("meta.label", "Verification code").annotate("ui.form.autocomplete", "one-time-code").annotate("meta.required", {}).annotate("expect.minLength", { length: 4 }).annotate("expect.maxLength", { length: 12 }).annotate("expect.pattern", { pattern: "^[0-9]+$" }, true).$type).prop("resend", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 15).annotate("ui.form.action", {
|
|
362
|
+
id: "resend",
|
|
363
|
+
label: "Resend code"
|
|
364
|
+
}).annotate("ui.form.fn.attr", {
|
|
365
|
+
name: "available-at",
|
|
366
|
+
fn: "(_, _d, ctx) => ctx.public?.proveControl?.resendAllowedAt"
|
|
367
|
+
}, true).optional().$type).prop("cancel", defineAnnotatedType().designType("phantom").tags("action", "ui").annotate("ui.form.order", 20).annotate("ui.form.action", {
|
|
368
|
+
id: "cancel",
|
|
369
|
+
label: "Cancel"
|
|
370
|
+
}).annotate("ui.form.attr", {
|
|
371
|
+
name: "align",
|
|
372
|
+
value: "center"
|
|
373
|
+
}, true).annotate("ui.form.pushDown", true).optional().$type).annotate("meta.label", "Confirm your identity").annotate("wf.context.pass", "public", true).annotate("ui.form.submit.text", "Verify and link");
|
|
374
|
+
//#endregion
|
|
375
|
+
export { WithInlineConsentForm as S, RecoveryModeSelectForm as _, EmailIdentifierForm as a, SignupForm as b, EnrollPickMethodForm as c, MagicLinkRequestForm as d, MfaCodeForm as f, RecoveryFactorForm as g, ProveControlOtpForm as h, ConcurrencyLimitForm as i, InviteForm as l, ProveControlForm as m, AskPhoneForm as n, EnrollAddressForm as o, PincodeForm as p, ChangePasswordForm as r, EnrollConfirmForm as s, AskEmailForm as t, LoginCredentialsForm as u, Select2faForm as v, TermsBumpForm as x, SetPasswordForm as y };
|