@forgerock/login-widget 1.2.0-beta.1 → 1.2.0-beta.10
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/CHANGELOG.md +69 -0
- package/index.cjs +7974 -1824
- package/index.cjs.map +1 -1
- package/index.d.ts +150 -67
- package/index.js +7974 -1824
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +150 -67
- package/widget.css +370 -160
package/index.d.ts
CHANGED
|
@@ -169,10 +169,20 @@ declare class FRCallback {
|
|
|
169
169
|
|
|
170
170
|
type FRCallbackFactory = (callback: Callback) => FRCallback;
|
|
171
171
|
|
|
172
|
+
type LogLevel = 'none' | 'info' | 'warn' | 'error' | 'debug';
|
|
172
173
|
interface Action {
|
|
173
174
|
type: ActionTypes;
|
|
174
175
|
payload: any;
|
|
175
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Custom Logger for logger
|
|
179
|
+
*/
|
|
180
|
+
interface LoggerFunctions<W = (...msgs: unknown[]) => void, E = (...msgs: unknown[]) => void, L = (...msgs: unknown[]) => void, I = (...msgs: unknown[]) => void> {
|
|
181
|
+
warn?: W;
|
|
182
|
+
error?: E;
|
|
183
|
+
log?: L;
|
|
184
|
+
info?: I;
|
|
185
|
+
}
|
|
176
186
|
/**
|
|
177
187
|
* Configuration options.
|
|
178
188
|
*/
|
|
@@ -188,6 +198,8 @@ interface ConfigOptions {
|
|
|
188
198
|
tree?: string;
|
|
189
199
|
type?: string;
|
|
190
200
|
oauthThreshold?: number;
|
|
201
|
+
logLevel?: LogLevel;
|
|
202
|
+
logger?: LoggerFunctions;
|
|
191
203
|
}
|
|
192
204
|
/**
|
|
193
205
|
* Optional configuration for custom paths for actions
|
|
@@ -661,6 +673,7 @@ interface JourneyStoreValue {
|
|
|
661
673
|
step: StepTypes;
|
|
662
674
|
successful: boolean;
|
|
663
675
|
response: Maybe<Step>;
|
|
676
|
+
recaptchaAction?: Maybe<string>;
|
|
664
677
|
}
|
|
665
678
|
interface StepMetadata {
|
|
666
679
|
derived: {
|
|
@@ -669,6 +682,7 @@ interface StepMetadata {
|
|
|
669
682
|
numOfCallbacks: number;
|
|
670
683
|
numOfSelfSubmittableCbs: number;
|
|
671
684
|
numOfUserInputCbs: number;
|
|
685
|
+
stageName?: string;
|
|
672
686
|
};
|
|
673
687
|
platform?: Record<string, unknown>;
|
|
674
688
|
}
|
|
@@ -1033,6 +1047,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1033
1047
|
safeParse(data: unknown, params?: Partial<ParseParams>): SafeParseReturnType<Input, Output>;
|
|
1034
1048
|
parseAsync(data: unknown, params?: Partial<ParseParams>): Promise<Output>;
|
|
1035
1049
|
safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;
|
|
1050
|
+
/** Alias of safeParseAsync */
|
|
1036
1051
|
spa: (data: unknown, params?: Partial<ParseParams> | undefined) => Promise<SafeParseReturnType<Input, Output>>;
|
|
1037
1052
|
refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>;
|
|
1038
1053
|
refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;
|
|
@@ -1041,6 +1056,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1041
1056
|
_refinement(refinement: RefinementEffect<Output>["refinement"]): ZodEffects<this, Output, Input>;
|
|
1042
1057
|
superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>;
|
|
1043
1058
|
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>;
|
|
1059
|
+
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>): ZodEffects<this, Output, Input>;
|
|
1044
1060
|
constructor(def: Def);
|
|
1045
1061
|
optional(): ZodOptional<this>;
|
|
1046
1062
|
nullable(): ZodNullable<this>;
|
|
@@ -1060,6 +1076,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1060
1076
|
}) => Output): ZodCatch<this>;
|
|
1061
1077
|
describe(description: string): this;
|
|
1062
1078
|
pipe<T extends ZodTypeAny>(target: T): ZodPipeline<this, T>;
|
|
1079
|
+
readonly(): ZodReadonly<this>;
|
|
1063
1080
|
isOptional(): boolean;
|
|
1064
1081
|
isNullable(): boolean;
|
|
1065
1082
|
}
|
|
@@ -1140,7 +1157,7 @@ interface ZodStringDef extends ZodTypeDef {
|
|
|
1140
1157
|
}
|
|
1141
1158
|
declare class ZodString extends ZodType<string, ZodStringDef> {
|
|
1142
1159
|
_parse(input: ParseInput): ParseReturnType<string>;
|
|
1143
|
-
protected _regex
|
|
1160
|
+
protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;
|
|
1144
1161
|
_addCheck(check: ZodStringCheck): ZodString;
|
|
1145
1162
|
email(message?: errorUtil.ErrMessage): ZodString;
|
|
1146
1163
|
url(message?: errorUtil.ErrMessage): ZodString;
|
|
@@ -1168,10 +1185,14 @@ declare class ZodString extends ZodType<string, ZodStringDef> {
|
|
|
1168
1185
|
min(minLength: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1169
1186
|
max(maxLength: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1170
1187
|
length(len: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1188
|
+
/**
|
|
1189
|
+
* @deprecated Use z.string().min(1) instead.
|
|
1190
|
+
* @see {@link ZodString.min}
|
|
1191
|
+
*/
|
|
1192
|
+
nonempty(message?: errorUtil.ErrMessage): ZodString;
|
|
1193
|
+
trim(): ZodString;
|
|
1194
|
+
toLowerCase(): ZodString;
|
|
1195
|
+
toUpperCase(): ZodString;
|
|
1175
1196
|
get isDatetime(): boolean;
|
|
1176
1197
|
get isEmail(): boolean;
|
|
1177
1198
|
get isURL(): boolean;
|
|
@@ -1343,9 +1364,21 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
|
|
|
1343
1364
|
strict(message?: errorUtil.ErrMessage): ZodObject<T, "strict", Catchall>;
|
|
1344
1365
|
strip(): ZodObject<T, "strip", Catchall>;
|
|
1345
1366
|
passthrough(): ZodObject<T, "passthrough", Catchall>;
|
|
1367
|
+
/**
|
|
1368
|
+
* @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.
|
|
1369
|
+
* If you want to pass through unknown properties, use `.passthrough()` instead.
|
|
1370
|
+
*/
|
|
1346
1371
|
nonstrict: () => ZodObject<T, "passthrough", Catchall>;
|
|
1347
1372
|
extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;
|
|
1373
|
+
/**
|
|
1374
|
+
* @deprecated Use `.extend` instead
|
|
1375
|
+
* */
|
|
1348
1376
|
augment: <Augmentation extends ZodRawShape>(augmentation: Augmentation) => ZodObject<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, UnknownKeys, Catchall, objectOutputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>, objectInputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Prior to zod@1.0.12 there was a bug in the
|
|
1379
|
+
* inferred type of merged objects. Please
|
|
1380
|
+
* upgrade if you are experiencing issues.
|
|
1381
|
+
*/
|
|
1349
1382
|
merge<Incoming extends AnyZodObject, Augmentation extends Incoming["shape"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>;
|
|
1350
1383
|
setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & {
|
|
1351
1384
|
[k in Key]: Schema;
|
|
@@ -1357,6 +1390,9 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
|
|
|
1357
1390
|
omit<Mask extends {
|
|
1358
1391
|
[k in keyof T]?: true;
|
|
1359
1392
|
}>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;
|
|
1393
|
+
/**
|
|
1394
|
+
* @deprecated
|
|
1395
|
+
*/
|
|
1360
1396
|
deepPartial(): partialUtil.DeepPartial<this>;
|
|
1361
1397
|
partial(): ZodObject<{
|
|
1362
1398
|
[k in keyof T]: ZodOptional<T[k]>;
|
|
@@ -1515,7 +1551,7 @@ declare type TransformEffect<T> = {
|
|
|
1515
1551
|
};
|
|
1516
1552
|
declare type PreprocessEffect<T> = {
|
|
1517
1553
|
type: "preprocess";
|
|
1518
|
-
transform: (arg: T) => any;
|
|
1554
|
+
transform: (arg: T, ctx: RefinementCtx) => any;
|
|
1519
1555
|
};
|
|
1520
1556
|
declare type Effect<T> = RefinementEffect<T> | TransformEffect<T> | PreprocessEffect<T>;
|
|
1521
1557
|
interface ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
@@ -1528,7 +1564,7 @@ declare class ZodEffects<T extends ZodTypeAny, Output = output<T>, Input = input
|
|
|
1528
1564
|
sourceType(): T;
|
|
1529
1565
|
_parse(input: ParseInput): ParseReturnType<this["_output"]>;
|
|
1530
1566
|
static create: <I extends ZodTypeAny>(schema: I, effect: Effect<I["_output"]>, params?: RawCreateParams) => ZodEffects<I, I["_output"], input<I>>;
|
|
1531
|
-
static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
|
|
1567
|
+
static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
|
|
1532
1568
|
}
|
|
1533
1569
|
|
|
1534
1570
|
interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
@@ -1609,6 +1645,18 @@ declare class ZodPipeline<A extends ZodTypeAny, B extends ZodTypeAny> extends Zo
|
|
|
1609
1645
|
_parse(input: ParseInput): ParseReturnType<any>;
|
|
1610
1646
|
static create<A extends ZodTypeAny, B extends ZodTypeAny>(a: A, b: B): ZodPipeline<A, B>;
|
|
1611
1647
|
}
|
|
1648
|
+
declare type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
|
|
1649
|
+
readonly [Symbol.toStringTag]: string;
|
|
1650
|
+
} | Date | Error | Generator | Promise<unknown> | RegExp;
|
|
1651
|
+
declare type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
|
|
1652
|
+
interface ZodReadonlyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
1653
|
+
innerType: T;
|
|
1654
|
+
typeName: ZodFirstPartyTypeKind.ZodReadonly;
|
|
1655
|
+
}
|
|
1656
|
+
declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T["_output"]>, ZodReadonlyDef<T>, T["_input"]> {
|
|
1657
|
+
_parse(input: ParseInput): ParseReturnType<this["_output"]>;
|
|
1658
|
+
static create: <T_1 extends ZodTypeAny>(type: T_1, params?: RawCreateParams) => ZodReadonly<T_1>;
|
|
1659
|
+
}
|
|
1612
1660
|
declare enum ZodFirstPartyTypeKind {
|
|
1613
1661
|
ZodString = "ZodString",
|
|
1614
1662
|
ZodNumber = "ZodNumber",
|
|
@@ -1644,7 +1692,8 @@ declare enum ZodFirstPartyTypeKind {
|
|
|
1644
1692
|
ZodCatch = "ZodCatch",
|
|
1645
1693
|
ZodPromise = "ZodPromise",
|
|
1646
1694
|
ZodBranded = "ZodBranded",
|
|
1647
|
-
ZodPipeline = "ZodPipeline"
|
|
1695
|
+
ZodPipeline = "ZodPipeline",
|
|
1696
|
+
ZodReadonly = "ZodReadonly"
|
|
1648
1697
|
}
|
|
1649
1698
|
|
|
1650
1699
|
declare const partialConfigSchema: ZodObject<{
|
|
@@ -1702,55 +1751,55 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1702
1751
|
serverConfig: ZodOptional<ZodObject<{
|
|
1703
1752
|
baseUrl: ZodString;
|
|
1704
1753
|
paths: ZodOptional<ZodObject<{
|
|
1705
|
-
authenticate: ZodString
|
|
1706
|
-
authorize: ZodString
|
|
1707
|
-
accessToken: ZodString
|
|
1708
|
-
endSession: ZodString
|
|
1709
|
-
userInfo: ZodString
|
|
1710
|
-
revoke: ZodString
|
|
1711
|
-
sessions: ZodString
|
|
1712
|
-
}, "
|
|
1713
|
-
authenticate
|
|
1714
|
-
authorize
|
|
1715
|
-
accessToken
|
|
1716
|
-
endSession
|
|
1717
|
-
userInfo
|
|
1718
|
-
revoke
|
|
1719
|
-
sessions
|
|
1754
|
+
authenticate: ZodOptional<ZodString>;
|
|
1755
|
+
authorize: ZodOptional<ZodString>;
|
|
1756
|
+
accessToken: ZodOptional<ZodString>;
|
|
1757
|
+
endSession: ZodOptional<ZodString>;
|
|
1758
|
+
userInfo: ZodOptional<ZodString>;
|
|
1759
|
+
revoke: ZodOptional<ZodString>;
|
|
1760
|
+
sessions: ZodOptional<ZodString>;
|
|
1761
|
+
}, "strict", ZodTypeAny, {
|
|
1762
|
+
authenticate?: string | undefined;
|
|
1763
|
+
authorize?: string | undefined;
|
|
1764
|
+
accessToken?: string | undefined;
|
|
1765
|
+
endSession?: string | undefined;
|
|
1766
|
+
userInfo?: string | undefined;
|
|
1767
|
+
revoke?: string | undefined;
|
|
1768
|
+
sessions?: string | undefined;
|
|
1720
1769
|
}, {
|
|
1721
|
-
authenticate
|
|
1722
|
-
authorize
|
|
1723
|
-
accessToken
|
|
1724
|
-
endSession
|
|
1725
|
-
userInfo
|
|
1726
|
-
revoke
|
|
1727
|
-
sessions
|
|
1770
|
+
authenticate?: string | undefined;
|
|
1771
|
+
authorize?: string | undefined;
|
|
1772
|
+
accessToken?: string | undefined;
|
|
1773
|
+
endSession?: string | undefined;
|
|
1774
|
+
userInfo?: string | undefined;
|
|
1775
|
+
revoke?: string | undefined;
|
|
1776
|
+
sessions?: string | undefined;
|
|
1728
1777
|
}>>;
|
|
1729
|
-
timeout: ZodNumber
|
|
1730
|
-
}, "
|
|
1731
|
-
timeout: number;
|
|
1778
|
+
timeout: ZodOptional<ZodNumber>;
|
|
1779
|
+
}, "strict", ZodTypeAny, {
|
|
1732
1780
|
baseUrl: string;
|
|
1733
1781
|
paths?: {
|
|
1734
|
-
authenticate
|
|
1735
|
-
authorize
|
|
1736
|
-
accessToken
|
|
1737
|
-
endSession
|
|
1738
|
-
userInfo
|
|
1739
|
-
revoke
|
|
1740
|
-
sessions
|
|
1782
|
+
authenticate?: string | undefined;
|
|
1783
|
+
authorize?: string | undefined;
|
|
1784
|
+
accessToken?: string | undefined;
|
|
1785
|
+
endSession?: string | undefined;
|
|
1786
|
+
userInfo?: string | undefined;
|
|
1787
|
+
revoke?: string | undefined;
|
|
1788
|
+
sessions?: string | undefined;
|
|
1741
1789
|
} | undefined;
|
|
1790
|
+
timeout?: number | undefined;
|
|
1742
1791
|
}, {
|
|
1743
|
-
timeout: number;
|
|
1744
1792
|
baseUrl: string;
|
|
1745
1793
|
paths?: {
|
|
1746
|
-
authenticate
|
|
1747
|
-
authorize
|
|
1748
|
-
accessToken
|
|
1749
|
-
endSession
|
|
1750
|
-
userInfo
|
|
1751
|
-
revoke
|
|
1752
|
-
sessions
|
|
1794
|
+
authenticate?: string | undefined;
|
|
1795
|
+
authorize?: string | undefined;
|
|
1796
|
+
accessToken?: string | undefined;
|
|
1797
|
+
endSession?: string | undefined;
|
|
1798
|
+
userInfo?: string | undefined;
|
|
1799
|
+
revoke?: string | undefined;
|
|
1800
|
+
sessions?: string | undefined;
|
|
1753
1801
|
} | undefined;
|
|
1802
|
+
timeout?: number | undefined;
|
|
1754
1803
|
}>>;
|
|
1755
1804
|
support: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"legacy">, ZodLiteral<"modern">]>>>;
|
|
1756
1805
|
tokenStore: ZodOptional<ZodOptional<ZodUnion<[ZodObject<{
|
|
@@ -1772,7 +1821,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1772
1821
|
}>>>;
|
|
1773
1822
|
set: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1774
1823
|
remove: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1775
|
-
}, "
|
|
1824
|
+
}, "strict", ZodTypeAny, {
|
|
1776
1825
|
set: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1777
1826
|
remove: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1778
1827
|
get: (args_0: string, ...args_1: unknown[]) => Promise<{
|
|
@@ -1813,17 +1862,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1813
1862
|
redirectUri?: string | undefined;
|
|
1814
1863
|
scope?: string | undefined;
|
|
1815
1864
|
serverConfig?: {
|
|
1816
|
-
timeout: number;
|
|
1817
1865
|
baseUrl: string;
|
|
1818
1866
|
paths?: {
|
|
1819
|
-
authenticate
|
|
1820
|
-
authorize
|
|
1821
|
-
accessToken
|
|
1822
|
-
endSession
|
|
1823
|
-
userInfo
|
|
1824
|
-
revoke
|
|
1825
|
-
sessions
|
|
1867
|
+
authenticate?: string | undefined;
|
|
1868
|
+
authorize?: string | undefined;
|
|
1869
|
+
accessToken?: string | undefined;
|
|
1870
|
+
endSession?: string | undefined;
|
|
1871
|
+
userInfo?: string | undefined;
|
|
1872
|
+
revoke?: string | undefined;
|
|
1873
|
+
sessions?: string | undefined;
|
|
1826
1874
|
} | undefined;
|
|
1875
|
+
timeout?: number | undefined;
|
|
1827
1876
|
} | undefined;
|
|
1828
1877
|
support?: "legacy" | "modern" | undefined;
|
|
1829
1878
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1858,17 +1907,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1858
1907
|
redirectUri?: string | undefined;
|
|
1859
1908
|
scope?: string | undefined;
|
|
1860
1909
|
serverConfig?: {
|
|
1861
|
-
timeout: number;
|
|
1862
1910
|
baseUrl: string;
|
|
1863
1911
|
paths?: {
|
|
1864
|
-
authenticate
|
|
1865
|
-
authorize
|
|
1866
|
-
accessToken
|
|
1867
|
-
endSession
|
|
1868
|
-
userInfo
|
|
1869
|
-
revoke
|
|
1870
|
-
sessions
|
|
1912
|
+
authenticate?: string | undefined;
|
|
1913
|
+
authorize?: string | undefined;
|
|
1914
|
+
accessToken?: string | undefined;
|
|
1915
|
+
endSession?: string | undefined;
|
|
1916
|
+
userInfo?: string | undefined;
|
|
1917
|
+
revoke?: string | undefined;
|
|
1918
|
+
sessions?: string | undefined;
|
|
1871
1919
|
} | undefined;
|
|
1920
|
+
timeout?: number | undefined;
|
|
1872
1921
|
} | undefined;
|
|
1873
1922
|
support?: "legacy" | "modern" | undefined;
|
|
1874
1923
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1979,12 +2028,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
1979
2028
|
closeModal: ZodOptional<ZodString>;
|
|
1980
2029
|
charactersCannotRepeatMoreThan: ZodOptional<ZodString>;
|
|
1981
2030
|
charactersCannotRepeatMoreThanCaseInsensitive: ZodOptional<ZodString>;
|
|
2031
|
+
checkYourEmail: ZodOptional<ZodString>;
|
|
1982
2032
|
chooseDifferentUsername: ZodOptional<ZodString>;
|
|
1983
2033
|
chooseYourDeviceForIdentityVerification: ZodOptional<ZodString>;
|
|
1984
2034
|
confirmPassword: ZodOptional<ZodString>;
|
|
1985
2035
|
constraintViolationForPassword: ZodOptional<ZodString>;
|
|
1986
2036
|
constraintViolationForValue: ZodOptional<ZodString>;
|
|
1987
2037
|
continueWith: ZodOptional<ZodString>;
|
|
2038
|
+
copyUrl: ZodOptional<ZodString>;
|
|
2039
|
+
copyAndPasteUrlBelow: ZodOptional<ZodString>;
|
|
1988
2040
|
customSecurityQuestion: ZodOptional<ZodString>;
|
|
1989
2041
|
dontGetLockedOut: ZodOptional<ZodString>;
|
|
1990
2042
|
doesNotMeetMinimumCharacterLength: ZodOptional<ZodString>;
|
|
@@ -2009,9 +2061,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2009
2061
|
minimumNumberOfUppercase: ZodOptional<ZodString>;
|
|
2010
2062
|
minimumNumberOfSymbols: ZodOptional<ZodString>;
|
|
2011
2063
|
nameCallback: ZodOptional<ZodString>;
|
|
2064
|
+
next: ZodOptional<ZodString>;
|
|
2012
2065
|
nextButton: ZodOptional<ZodString>;
|
|
2013
2066
|
notToExceedMaximumCharacterLength: ZodOptional<ZodString>;
|
|
2014
2067
|
noLessThanMinimumCharacterLength: ZodOptional<ZodString>;
|
|
2068
|
+
onMobileOpenInAuthenticator: ZodOptional<ZodString>;
|
|
2015
2069
|
passwordCallback: ZodOptional<ZodString>;
|
|
2016
2070
|
passwordCannotContainCommonPasswords: ZodOptional<ZodString>;
|
|
2017
2071
|
passwordCannotContainCommonPasswordsOrBeReversible: ZodOptional<ZodString>;
|
|
@@ -2022,6 +2076,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2022
2076
|
preferencesMarketing: ZodOptional<ZodString>;
|
|
2023
2077
|
preferencesUpdates: ZodOptional<ZodString>;
|
|
2024
2078
|
provideCustomQuestion: ZodOptional<ZodString>;
|
|
2079
|
+
qrCodeNotWorking: ZodOptional<ZodString>;
|
|
2080
|
+
qrCodeFailedToRender: ZodOptional<ZodString>;
|
|
2081
|
+
qrCodeImportFailure: ZodOptional<ZodString>;
|
|
2025
2082
|
redirectingTo: ZodOptional<ZodString>;
|
|
2026
2083
|
registerButton: ZodOptional<ZodString>;
|
|
2027
2084
|
registerHeader: ZodOptional<ZodString>;
|
|
@@ -2029,6 +2086,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2029
2086
|
registerYourDevice: ZodOptional<ZodString>;
|
|
2030
2087
|
requiredField: ZodOptional<ZodString>;
|
|
2031
2088
|
securityAnswer: ZodOptional<ZodString>;
|
|
2089
|
+
scanQrCodeWithAuthenticator: ZodOptional<ZodString>;
|
|
2032
2090
|
securityQuestions: ZodOptional<ZodString>;
|
|
2033
2091
|
securityQuestionsPrompt: ZodOptional<ZodString>;
|
|
2034
2092
|
shouldContainANumber: ZodOptional<ZodString>;
|
|
@@ -2037,6 +2095,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2037
2095
|
shouldContainASymbol: ZodOptional<ZodString>;
|
|
2038
2096
|
showPassword: ZodOptional<ZodString>;
|
|
2039
2097
|
sn: ZodOptional<ZodString>;
|
|
2098
|
+
submit: ZodOptional<ZodString>;
|
|
2040
2099
|
submitButton: ZodOptional<ZodString>;
|
|
2041
2100
|
successMessage: ZodOptional<ZodString>;
|
|
2042
2101
|
termsAndConditions: ZodOptional<ZodString>;
|
|
@@ -2048,6 +2107,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2048
2107
|
unrecoverableError: ZodOptional<ZodString>;
|
|
2049
2108
|
unknownLoginError: ZodOptional<ZodString>;
|
|
2050
2109
|
unknownNetworkError: ZodOptional<ZodString>;
|
|
2110
|
+
url: ZodOptional<ZodString>;
|
|
2051
2111
|
useDeviceForIdentityVerification: ZodOptional<ZodString>;
|
|
2052
2112
|
userName: ZodOptional<ZodString>;
|
|
2053
2113
|
usernameRequirements: ZodOptional<ZodString>;
|
|
@@ -2066,12 +2126,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2066
2126
|
closeModal?: string | undefined;
|
|
2067
2127
|
charactersCannotRepeatMoreThan?: string | undefined;
|
|
2068
2128
|
charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
|
|
2129
|
+
checkYourEmail?: string | undefined;
|
|
2069
2130
|
chooseDifferentUsername?: string | undefined;
|
|
2070
2131
|
chooseYourDeviceForIdentityVerification?: string | undefined;
|
|
2071
2132
|
confirmPassword?: string | undefined;
|
|
2072
2133
|
constraintViolationForPassword?: string | undefined;
|
|
2073
2134
|
constraintViolationForValue?: string | undefined;
|
|
2074
2135
|
continueWith?: string | undefined;
|
|
2136
|
+
copyUrl?: string | undefined;
|
|
2137
|
+
copyAndPasteUrlBelow?: string | undefined;
|
|
2075
2138
|
customSecurityQuestion?: string | undefined;
|
|
2076
2139
|
dontGetLockedOut?: string | undefined;
|
|
2077
2140
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
@@ -2096,9 +2159,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2096
2159
|
minimumNumberOfUppercase?: string | undefined;
|
|
2097
2160
|
minimumNumberOfSymbols?: string | undefined;
|
|
2098
2161
|
nameCallback?: string | undefined;
|
|
2162
|
+
next?: string | undefined;
|
|
2099
2163
|
nextButton?: string | undefined;
|
|
2100
2164
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2101
2165
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2166
|
+
onMobileOpenInAuthenticator?: string | undefined;
|
|
2102
2167
|
passwordCallback?: string | undefined;
|
|
2103
2168
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2104
2169
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2109,6 +2174,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2109
2174
|
preferencesMarketing?: string | undefined;
|
|
2110
2175
|
preferencesUpdates?: string | undefined;
|
|
2111
2176
|
provideCustomQuestion?: string | undefined;
|
|
2177
|
+
qrCodeNotWorking?: string | undefined;
|
|
2178
|
+
qrCodeFailedToRender?: string | undefined;
|
|
2179
|
+
qrCodeImportFailure?: string | undefined;
|
|
2112
2180
|
redirectingTo?: string | undefined;
|
|
2113
2181
|
registerButton?: string | undefined;
|
|
2114
2182
|
registerHeader?: string | undefined;
|
|
@@ -2116,6 +2184,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2116
2184
|
registerYourDevice?: string | undefined;
|
|
2117
2185
|
requiredField?: string | undefined;
|
|
2118
2186
|
securityAnswer?: string | undefined;
|
|
2187
|
+
scanQrCodeWithAuthenticator?: string | undefined;
|
|
2119
2188
|
securityQuestions?: string | undefined;
|
|
2120
2189
|
securityQuestionsPrompt?: string | undefined;
|
|
2121
2190
|
shouldContainANumber?: string | undefined;
|
|
@@ -2124,6 +2193,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2124
2193
|
shouldContainASymbol?: string | undefined;
|
|
2125
2194
|
showPassword?: string | undefined;
|
|
2126
2195
|
sn?: string | undefined;
|
|
2196
|
+
submit?: string | undefined;
|
|
2127
2197
|
submitButton?: string | undefined;
|
|
2128
2198
|
successMessage?: string | undefined;
|
|
2129
2199
|
termsAndConditions?: string | undefined;
|
|
@@ -2135,6 +2205,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2135
2205
|
unrecoverableError?: string | undefined;
|
|
2136
2206
|
unknownLoginError?: string | undefined;
|
|
2137
2207
|
unknownNetworkError?: string | undefined;
|
|
2208
|
+
url?: string | undefined;
|
|
2138
2209
|
useDeviceForIdentityVerification?: string | undefined;
|
|
2139
2210
|
userName?: string | undefined;
|
|
2140
2211
|
usernameRequirements?: string | undefined;
|
|
@@ -2153,12 +2224,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2153
2224
|
closeModal?: string | undefined;
|
|
2154
2225
|
charactersCannotRepeatMoreThan?: string | undefined;
|
|
2155
2226
|
charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
|
|
2227
|
+
checkYourEmail?: string | undefined;
|
|
2156
2228
|
chooseDifferentUsername?: string | undefined;
|
|
2157
2229
|
chooseYourDeviceForIdentityVerification?: string | undefined;
|
|
2158
2230
|
confirmPassword?: string | undefined;
|
|
2159
2231
|
constraintViolationForPassword?: string | undefined;
|
|
2160
2232
|
constraintViolationForValue?: string | undefined;
|
|
2161
2233
|
continueWith?: string | undefined;
|
|
2234
|
+
copyUrl?: string | undefined;
|
|
2235
|
+
copyAndPasteUrlBelow?: string | undefined;
|
|
2162
2236
|
customSecurityQuestion?: string | undefined;
|
|
2163
2237
|
dontGetLockedOut?: string | undefined;
|
|
2164
2238
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
@@ -2183,9 +2257,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2183
2257
|
minimumNumberOfUppercase?: string | undefined;
|
|
2184
2258
|
minimumNumberOfSymbols?: string | undefined;
|
|
2185
2259
|
nameCallback?: string | undefined;
|
|
2260
|
+
next?: string | undefined;
|
|
2186
2261
|
nextButton?: string | undefined;
|
|
2187
2262
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2188
2263
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2264
|
+
onMobileOpenInAuthenticator?: string | undefined;
|
|
2189
2265
|
passwordCallback?: string | undefined;
|
|
2190
2266
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2191
2267
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2196,6 +2272,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2196
2272
|
preferencesMarketing?: string | undefined;
|
|
2197
2273
|
preferencesUpdates?: string | undefined;
|
|
2198
2274
|
provideCustomQuestion?: string | undefined;
|
|
2275
|
+
qrCodeNotWorking?: string | undefined;
|
|
2276
|
+
qrCodeFailedToRender?: string | undefined;
|
|
2277
|
+
qrCodeImportFailure?: string | undefined;
|
|
2199
2278
|
redirectingTo?: string | undefined;
|
|
2200
2279
|
registerButton?: string | undefined;
|
|
2201
2280
|
registerHeader?: string | undefined;
|
|
@@ -2203,6 +2282,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2203
2282
|
registerYourDevice?: string | undefined;
|
|
2204
2283
|
requiredField?: string | undefined;
|
|
2205
2284
|
securityAnswer?: string | undefined;
|
|
2285
|
+
scanQrCodeWithAuthenticator?: string | undefined;
|
|
2206
2286
|
securityQuestions?: string | undefined;
|
|
2207
2287
|
securityQuestionsPrompt?: string | undefined;
|
|
2208
2288
|
shouldContainANumber?: string | undefined;
|
|
@@ -2211,6 +2291,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2211
2291
|
shouldContainASymbol?: string | undefined;
|
|
2212
2292
|
showPassword?: string | undefined;
|
|
2213
2293
|
sn?: string | undefined;
|
|
2294
|
+
submit?: string | undefined;
|
|
2214
2295
|
submitButton?: string | undefined;
|
|
2215
2296
|
successMessage?: string | undefined;
|
|
2216
2297
|
termsAndConditions?: string | undefined;
|
|
@@ -2222,6 +2303,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2222
2303
|
unrecoverableError?: string | undefined;
|
|
2223
2304
|
unknownLoginError?: string | undefined;
|
|
2224
2305
|
unknownNetworkError?: string | undefined;
|
|
2306
|
+
url?: string | undefined;
|
|
2225
2307
|
useDeviceForIdentityVerification?: string | undefined;
|
|
2226
2308
|
userName?: string | undefined;
|
|
2227
2309
|
usernameRequirements?: string | undefined;
|
|
@@ -2255,14 +2337,14 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2255
2337
|
}>>>;
|
|
2256
2338
|
sections: ZodOptional<ZodOptional<ZodObject<{
|
|
2257
2339
|
header: ZodOptional<ZodBoolean>;
|
|
2258
|
-
}, "
|
|
2340
|
+
}, "strict", ZodTypeAny, {
|
|
2259
2341
|
header?: boolean | undefined;
|
|
2260
2342
|
}, {
|
|
2261
2343
|
header?: boolean | undefined;
|
|
2262
2344
|
}>>>;
|
|
2263
2345
|
stage: ZodOptional<ZodOptional<ZodObject<{
|
|
2264
2346
|
icon: ZodOptional<ZodBoolean>;
|
|
2265
|
-
}, "
|
|
2347
|
+
}, "strict", ZodTypeAny, {
|
|
2266
2348
|
icon?: boolean | undefined;
|
|
2267
2349
|
}, {
|
|
2268
2350
|
icon?: boolean | undefined;
|
|
@@ -2311,6 +2393,7 @@ interface JourneyOptionsStart {
|
|
|
2311
2393
|
forgerock?: StepOptions;
|
|
2312
2394
|
journey?: string;
|
|
2313
2395
|
resumeUrl?: string;
|
|
2396
|
+
recaptchaAction?: string;
|
|
2314
2397
|
}
|
|
2315
2398
|
interface WidgetConfigOptions {
|
|
2316
2399
|
forgerock?: TypeOf<typeof partialConfigSchema>;
|