@ory/elements-react 1.0.0-next.46 → 1.0.0-next.47

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
@@ -94,28 +94,10 @@ function OryComponentProvider({
94
94
  }
95
95
  );
96
96
  }
97
- function isChoosingMethod(flow) {
98
- return flow.flow.ui.nodes.some(
99
- (node) => "name" in node.attributes && node.attributes.name === "screen" && "value" in node.attributes && node.attributes.value === "previous"
100
- ) || flow.flow.ui.nodes.some(
101
- (node) => node.group === clientFetch.UiNodeGroupEnum.IdentifierFirst && "name" in node.attributes && node.attributes.name === "identifier" && node.attributes.type === "hidden"
102
- ) || flow.flowType === clientFetch.FlowType.Login && flow.flow.requested_aal === "aal2";
103
- }
104
- function removeSsoNodes(nodes) {
105
- return nodes.filter(
106
- (node) => !(node.group === clientFetch.UiNodeGroupEnum.Oidc || node.group === clientFetch.UiNodeGroupEnum.Saml)
107
- );
108
- }
109
- function getFinalNodes(uniqueGroups, selectedGroup) {
110
- var _a, _b, _c, _d;
111
- const selectedNodes = selectedGroup ? (_a = uniqueGroups[selectedGroup]) != null ? _a : [] : [];
112
- return [
113
- ...(_b = uniqueGroups == null ? void 0 : uniqueGroups.identifier_first) != null ? _b : [],
114
- ...(_c = uniqueGroups == null ? void 0 : uniqueGroups.default) != null ? _c : [],
115
- ...(_d = uniqueGroups == null ? void 0 : uniqueGroups.captcha) != null ? _d : []
116
- ].flat().filter(
117
- (node) => "type" in node.attributes && node.attributes.type === "hidden"
118
- ).concat(selectedNodes);
97
+
98
+ // src/theme/default/utils/form.ts
99
+ function isGroupImmediateSubmit(group) {
100
+ return group === "code";
119
101
  }
120
102
  function triggerToWindowCall(trigger) {
121
103
  if (!trigger) {
@@ -227,6 +209,93 @@ function useNodesGroups(nodes, { omit } = {}) {
227
209
  var findNode = (nodes, opt) => nodes.find((n) => {
228
210
  return n.attributes.node_type === opt.node_type && (opt.group instanceof RegExp ? n.group.match(opt.group) : n.group === opt.group) && (opt.name && n.attributes.node_type === "input" ? opt.name instanceof RegExp ? n.attributes.name.match(opt.name) : n.attributes.name === opt.name : !opt.name);
229
211
  });
212
+ function useFunctionalNodes(nodes) {
213
+ return nodes.filter(
214
+ ({ group }) => [
215
+ clientFetch.UiNodeGroupEnum.Default,
216
+ clientFetch.UiNodeGroupEnum.IdentifierFirst,
217
+ clientFetch.UiNodeGroupEnum.Profile,
218
+ clientFetch.UiNodeGroupEnum.Captcha
219
+ ].includes(group)
220
+ );
221
+ }
222
+ function isUiNodeGroupEnum(method) {
223
+ return Object.values(clientFetch.UiNodeGroupEnum).includes(method);
224
+ }
225
+ function isSingleSignOnNode(node) {
226
+ return node.group === clientFetch.UiNodeGroupEnum.Oidc || node.group === clientFetch.UiNodeGroupEnum.Saml;
227
+ }
228
+ function hasSingleSignOnNodes(nodes) {
229
+ return nodes.some(isSingleSignOnNode);
230
+ }
231
+ function withoutSingleSignOnNodes(nodes) {
232
+ return nodes.filter((node) => !isSingleSignOnNode(node));
233
+ }
234
+ function isNodeVisible(node) {
235
+ if (clientFetch.isUiNodeScriptAttributes(node.attributes)) {
236
+ return false;
237
+ } else if (clientFetch.isUiNodeInputAttributes(node.attributes)) {
238
+ if (node.attributes.type === "hidden") {
239
+ return false;
240
+ }
241
+ }
242
+ return true;
243
+ }
244
+ function useNodeGroupsWithVisibleNodes(nodes) {
245
+ return react.useMemo(() => {
246
+ var _a, _b;
247
+ const groups = {};
248
+ const groupRetained = {};
249
+ for (const node of nodes) {
250
+ const groupNodes = (_a = groups[node.group]) != null ? _a : [];
251
+ const groupCount = (_b = groupRetained[node.group]) != null ? _b : 0;
252
+ groupNodes.push(node);
253
+ groups[node.group] = groupNodes;
254
+ if (!isNodeVisible(node)) {
255
+ continue;
256
+ }
257
+ groupRetained[node.group] = groupCount + 1;
258
+ }
259
+ const finalGroups = {};
260
+ for (const [group, count] of Object.entries(groupRetained)) {
261
+ if (count > 0) {
262
+ finalGroups[group] = groups[group];
263
+ }
264
+ }
265
+ return finalGroups;
266
+ }, [nodes]);
267
+ }
268
+
269
+ // src/components/card/two-step/utils.ts
270
+ function isChoosingMethod(flow) {
271
+ return flow.flow.ui.nodes.some(
272
+ (node) => "name" in node.attributes && node.attributes.name === "screen" && "value" in node.attributes && node.attributes.value === "previous"
273
+ ) || flow.flow.ui.nodes.some(
274
+ (node) => node.group === clientFetch.UiNodeGroupEnum.IdentifierFirst && "name" in node.attributes && node.attributes.name === "identifier" && node.attributes.type === "hidden"
275
+ ) || flow.flowType === clientFetch.FlowType.Login && flow.flow.requested_aal === "aal2";
276
+ }
277
+ function getFinalNodes(uniqueGroups, selectedGroup) {
278
+ var _a, _b, _c, _d;
279
+ const selectedNodes = selectedGroup ? (_a = uniqueGroups[selectedGroup]) != null ? _a : [] : [];
280
+ return [
281
+ ...(_b = uniqueGroups == null ? void 0 : uniqueGroups.identifier_first) != null ? _b : [],
282
+ ...(_c = uniqueGroups == null ? void 0 : uniqueGroups.default) != null ? _c : [],
283
+ ...(_d = uniqueGroups == null ? void 0 : uniqueGroups.captcha) != null ? _d : []
284
+ ].flat().filter(
285
+ (node) => "type" in node.attributes && node.attributes.type === "hidden"
286
+ ).concat(selectedNodes);
287
+ }
288
+ var handleAfterFormSubmit = (dispatchFormState) => (method) => {
289
+ if (typeof method !== "string" || !isUiNodeGroupEnum(method)) {
290
+ return;
291
+ }
292
+ if (isGroupImmediateSubmit(method)) {
293
+ dispatchFormState({
294
+ type: "action_select_method",
295
+ method
296
+ });
297
+ }
298
+ };
230
299
 
231
300
  // src/context/form-state.ts
232
301
  function findMethodWithMessage(nodes) {
@@ -492,11 +561,6 @@ function OryCardContent({ children }) {
492
561
  const { Card } = useComponents();
493
562
  return /* @__PURE__ */ jsxRuntime.jsx(Card.Content, { children });
494
563
  }
495
-
496
- // src/theme/default/utils/form.ts
497
- function isGroupImmediateSubmit(group) {
498
- return group === "code";
499
- }
500
564
  function frontendClient(sdkUrl, opts = {}) {
501
565
  const config = new clientFetch.Configuration({
502
566
  ...opts,
@@ -894,6 +958,9 @@ function OryForm({
894
958
  const onSubmit = useOryFormSubmit(onAfterSubmit);
895
959
  const hasMethods = flowContainer.flow.ui.nodes.some((node) => {
896
960
  if (clientFetch.isUiNodeInputAttributes(node.attributes)) {
961
+ if (node.attributes.type === "hidden") {
962
+ return false;
963
+ }
897
964
  return node.attributes.name !== "csrf_token";
898
965
  } else if (clientFetch.isUiNodeAnchorAttributes(node.attributes)) {
899
966
  return true;
@@ -913,12 +980,9 @@ function OryForm({
913
980
  }),
914
981
  type: "error"
915
982
  };
916
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-8", "data-testid": dataTestId, children: [
917
- /* @__PURE__ */ jsxRuntime.jsx(Message.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(Message.Content, { message: m }, m.id) }),
918
- /* @__PURE__ */ jsxRuntime.jsx(OryCardFooter, {})
919
- ] });
983
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": dataTestId, children: /* @__PURE__ */ jsxRuntime.jsx(Message.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(Message.Content, { message: m }, m.id) }) });
920
984
  }
921
- if (flowContainer.flowType === clientFetch.FlowType.Login && flowContainer.formState.current === "method_active" && flowContainer.formState.method === "code") {
985
+ if ((flowContainer.flowType === clientFetch.FlowType.Login || flowContainer.flowType === clientFetch.FlowType.Registration) && flowContainer.formState.current === "method_active" && flowContainer.formState.method === "code") {
922
986
  methods.setValue("method", "code");
923
987
  }
924
988
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -972,10 +1036,7 @@ var NodeInput = ({
972
1036
  const isResendNode = ((_a = node.meta.label) == null ? void 0 : _a.id) === 1070008;
973
1037
  const isScreenSelectionNode = "name" in node.attributes && node.attributes.name === "screen";
974
1038
  const setFormValue = () => {
975
- if (isResendNode || isScreenSelectionNode || node.group === clientFetch.UiNodeGroupEnum.Oauth2Consent) {
976
- return;
977
- }
978
- if (attrs.value !== void 0) {
1039
+ if (attrs.value && !(isResendNode || isScreenSelectionNode || node.group === clientFetch.UiNodeGroupEnum.Oauth2Consent)) {
979
1040
  setValue(attrs.name, attrs.value);
980
1041
  }
981
1042
  };
@@ -1147,24 +1208,104 @@ function OryFormSocialButtonsForm() {
1147
1208
  }
1148
1209
  return /* @__PURE__ */ jsxRuntime.jsx(OryFormProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(OryForm, { "data-testid": `ory/form/methods/oidc-saml`, children: /* @__PURE__ */ jsxRuntime.jsx(OryFormOidcButtons, {}) }) });
1149
1210
  }
1150
- function isUINodeGroupEnum(method) {
1151
- return Object.values(clientFetch.UiNodeGroupEnum).includes(method);
1211
+ function OryTwoStepCardStateMethodActive({
1212
+ formState
1213
+ }) {
1214
+ const { Form } = useComponents();
1215
+ const { flow, flowType, dispatchFormState } = useOryFlow();
1216
+ const { ui } = flow;
1217
+ const nodeSorter = useNodeSorter();
1218
+ const sortNodes = (a, b) => nodeSorter(a, b, { flowType });
1219
+ const groupsToShow = useNodeGroupsWithVisibleNodes(ui.nodes);
1220
+ const finalNodes = getFinalNodes(groupsToShow, formState.method);
1221
+ const selectedMethodIsSocial = formState.method === clientFetch.UiNodeGroupEnum.Oidc || formState.method === clientFetch.UiNodeGroupEnum.Saml;
1222
+ return /* @__PURE__ */ jsxRuntime.jsxs(OryCard, { children: [
1223
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardHeader, {}),
1224
+ /* @__PURE__ */ jsxRuntime.jsxs(OryCardContent, { children: [
1225
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardValidationMessages, {}),
1226
+ selectedMethodIsSocial && /* @__PURE__ */ jsxRuntime.jsx(OryFormSocialButtonsForm, {}),
1227
+ /* @__PURE__ */ jsxRuntime.jsx(
1228
+ OryForm,
1229
+ {
1230
+ "data-testid": `ory/form/methods/local`,
1231
+ onAfterSubmit: handleAfterFormSubmit(dispatchFormState),
1232
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1233
+ ui.nodes.filter(
1234
+ (n) => clientFetch.isUiNodeScriptAttributes(n.attributes) || n.group === clientFetch.UiNodeGroupEnum.Captcha || n.group === clientFetch.UiNodeGroupEnum.Default || n.group === clientFetch.UiNodeGroupEnum.Profile
1235
+ ).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k)),
1236
+ finalNodes.sort(sortNodes).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1237
+ ] })
1238
+ }
1239
+ )
1240
+ ] }),
1241
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardFooter, {})
1242
+ ] });
1152
1243
  }
1153
- function OryTwoStepCard() {
1154
- var _a, _b, _c, _d;
1244
+ function OryTwoStepCardStateProvideIdentifier() {
1155
1245
  const { Form, Card } = useComponents();
1156
- const { flow, flowType, formState, dispatchFormState } = useOryFlow();
1157
- const { ui } = flow;
1246
+ const { flowType, flow, dispatchFormState } = useOryFlow();
1158
1247
  const nodeSorter = useNodeSorter();
1159
1248
  const sortNodes = (a, b) => nodeSorter(a, b, { flowType });
1160
- const groupsToShow = useNodesGroups(ui.nodes, {
1161
- // We only want to render groups that have visible elements.
1162
- omit: ["script", "input_hidden"]
1163
- });
1164
- const authMethodBlocks = Object.fromEntries(
1249
+ const nonSsoNodes = withoutSingleSignOnNodes(flow.ui.nodes).sort(sortNodes);
1250
+ const hasSso = flow.ui.nodes.filter(isNodeVisible).some(
1251
+ (node) => node.group === clientFetch.UiNodeGroupEnum.Oidc || node.group === clientFetch.UiNodeGroupEnum.Saml
1252
+ );
1253
+ const showSsoDivider = hasSso && nonSsoNodes.some(isNodeVisible);
1254
+ return /* @__PURE__ */ jsxRuntime.jsxs(OryCard, { children: [
1255
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardHeader, {}),
1256
+ /* @__PURE__ */ jsxRuntime.jsxs(OryCardContent, { children: [
1257
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardValidationMessages, {}),
1258
+ /* @__PURE__ */ jsxRuntime.jsx(OryFormSocialButtonsForm, {}),
1259
+ /* @__PURE__ */ jsxRuntime.jsx(
1260
+ OryForm,
1261
+ {
1262
+ "data-testid": `ory/form/methods/local`,
1263
+ onAfterSubmit: handleAfterFormSubmit(dispatchFormState),
1264
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1265
+ showSsoDivider && /* @__PURE__ */ jsxRuntime.jsx(Card.Divider, {}),
1266
+ nonSsoNodes.map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1267
+ ] })
1268
+ }
1269
+ )
1270
+ ] }),
1271
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardFooter, {})
1272
+ ] });
1273
+ }
1274
+ function AuthMethodList({
1275
+ options,
1276
+ setSelectedGroup
1277
+ }) {
1278
+ const { Card } = useComponents();
1279
+ const { setValue, getValues } = reactHookForm.useFormContext();
1280
+ if (Object.entries(options).length === 0) {
1281
+ return null;
1282
+ }
1283
+ const handleClick = (group, options2) => {
1284
+ var _a, _b, _c, _d;
1285
+ if (isGroupImmediateSubmit(group)) {
1286
+ if (group === "code" && !getValues("identifier") && ((_b = (_a = options2 == null ? void 0 : options2.title) == null ? void 0 : _a.values) == null ? void 0 : _b.address)) {
1287
+ setValue("identifier", (_d = (_c = options2 == null ? void 0 : options2.title) == null ? void 0 : _c.values) == null ? void 0 : _d.address);
1288
+ }
1289
+ setValue("method", group);
1290
+ } else {
1291
+ setSelectedGroup(group);
1292
+ }
1293
+ };
1294
+ return /* @__PURE__ */ jsxRuntime.jsx(Card.AuthMethodListContainer, { children: Object.entries(options).map(([group, options2]) => /* @__PURE__ */ jsxRuntime.jsx(
1295
+ Card.AuthMethodListItem,
1296
+ {
1297
+ group,
1298
+ title: options2.title,
1299
+ onClick: () => handleClick(group, options2)
1300
+ },
1301
+ group
1302
+ )) });
1303
+ }
1304
+ function toAuthMethodPickerOptions(visibleGroups) {
1305
+ return Object.fromEntries(
1165
1306
  Object.values(clientFetch.UiNodeGroupEnum).filter((group) => {
1166
- var _a2;
1167
- return (_a2 = groupsToShow.groups[group]) == null ? void 0 : _a2.length;
1307
+ var _a;
1308
+ return (_a = visibleGroups[group]) == null ? void 0 : _a.length;
1168
1309
  }).filter(
1169
1310
  (group) => ![
1170
1311
  clientFetch.UiNodeGroupEnum.Oidc,
@@ -1176,16 +1317,18 @@ function OryTwoStepCard() {
1176
1317
  ].includes(group)
1177
1318
  ).map((g) => [g, {}])
1178
1319
  );
1179
- const authMethodAdditionalNodes = ui.nodes.filter(
1180
- ({ group }) => [
1181
- clientFetch.UiNodeGroupEnum.Oidc,
1182
- clientFetch.UiNodeGroupEnum.Saml,
1183
- clientFetch.UiNodeGroupEnum.Default,
1184
- clientFetch.UiNodeGroupEnum.IdentifierFirst,
1185
- clientFetch.UiNodeGroupEnum.Profile,
1186
- clientFetch.UiNodeGroupEnum.Captcha
1187
- ].includes(group)
1188
- );
1320
+ }
1321
+ function OryTwoStepCardStateSelectMethod() {
1322
+ var _a, _b, _c, _d;
1323
+ const { Form, Card, Message } = useComponents();
1324
+ const { flow, flowType, dispatchFormState } = useOryFlow();
1325
+ const { ui } = flow;
1326
+ const intl = reactIntl.useIntl();
1327
+ const nodeSorter = useNodeSorter();
1328
+ const sortNodes = (a, b) => nodeSorter(a, b, { flowType });
1329
+ const visibleGroups = useNodeGroupsWithVisibleNodes(ui.nodes);
1330
+ const authMethodBlocks = toAuthMethodPickerOptions(visibleGroups);
1331
+ const authMethodAdditionalNodes = useFunctionalNodes(ui.nodes);
1189
1332
  if (clientFetch.UiNodeGroupEnum.Code in authMethodBlocks) {
1190
1333
  let identifier = (_b = (_a = findNode(ui.nodes, {
1191
1334
  group: "identifier_first",
@@ -1206,101 +1349,58 @@ function OryTwoStepCard() {
1206
1349
  };
1207
1350
  }
1208
1351
  }
1209
- const nonSsoNodes = removeSsoNodes(ui.nodes);
1210
- const finalNodes = formState.current === "method_active" ? getFinalNodes(groupsToShow.groups, formState.method) : [];
1211
- const handleAfterFormSubmit = (method) => {
1212
- if (typeof method !== "string" || !isUINodeGroupEnum(method)) {
1213
- return;
1214
- }
1215
- if (isGroupImmediateSubmit(method)) {
1216
- dispatchFormState({
1217
- type: "action_select_method",
1218
- method
1219
- });
1220
- }
1352
+ const noMethods = {
1353
+ id: 5000002,
1354
+ text: intl.formatMessage({
1355
+ id: `identities.messages.5000002`,
1356
+ defaultMessage: "No authentication methods are available for this request. Please contact the site or app owner."
1357
+ }),
1358
+ type: "error"
1221
1359
  };
1222
- const hasSso = ui.nodes.some(
1223
- (node) => node.group === clientFetch.UiNodeGroupEnum.Oidc || node.group === clientFetch.UiNodeGroupEnum.Saml
1224
- );
1225
- const showSso = !(formState.current === "method_active" && !(formState.method === clientFetch.UiNodeGroupEnum.Oidc || formState.method === clientFetch.UiNodeGroupEnum.Saml));
1226
- const showSsoDivider = hasSso && nonSsoNodes.some((n) => {
1227
- if (clientFetch.isUiNodeInputAttributes(n.attributes)) {
1228
- return n.attributes.type !== clientFetch.UiNodeInputAttributesTypeEnum.Hidden;
1229
- } else if (clientFetch.isUiNodeScriptAttributes(n.attributes)) {
1230
- return false;
1231
- }
1232
- return true;
1233
- });
1234
1360
  return /* @__PURE__ */ jsxRuntime.jsxs(OryCard, { children: [
1235
1361
  /* @__PURE__ */ jsxRuntime.jsx(OryCardHeader, {}),
1236
1362
  /* @__PURE__ */ jsxRuntime.jsxs(OryCardContent, { children: [
1237
1363
  /* @__PURE__ */ jsxRuntime.jsx(OryCardValidationMessages, {}),
1238
- showSso && /* @__PURE__ */ jsxRuntime.jsx(OryFormSocialButtonsForm, {}),
1239
- /* @__PURE__ */ jsxRuntime.jsxs(
1364
+ /* @__PURE__ */ jsxRuntime.jsx(OryFormSocialButtonsForm, {}),
1365
+ Object.entries(authMethodBlocks).length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
1240
1366
  OryForm,
1241
1367
  {
1242
1368
  "data-testid": `ory/form/methods/local`,
1243
- onAfterSubmit: handleAfterFormSubmit,
1244
- children: [
1245
- formState.current === "provide_identifier" && /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1246
- showSsoDivider && /* @__PURE__ */ jsxRuntime.jsx(Card.Divider, {}),
1247
- nonSsoNodes.sort(sortNodes).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1248
- ] }),
1249
- formState.current === "select_method" && /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1250
- Object.entries(authMethodBlocks).length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1251
- /* @__PURE__ */ jsxRuntime.jsx(Card.Divider, {}),
1252
- /* @__PURE__ */ jsxRuntime.jsx(
1253
- AuthMethodList,
1254
- {
1255
- options: authMethodBlocks,
1256
- setSelectedGroup: (group) => dispatchFormState({
1257
- type: "action_select_method",
1258
- method: group
1259
- })
1260
- }
1261
- )
1262
- ] }),
1263
- authMethodAdditionalNodes.sort(sortNodes).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1264
- ] }),
1265
- formState.current === "method_active" && /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1266
- ui.nodes.filter(
1267
- (n) => clientFetch.isUiNodeScriptAttributes(n.attributes) || n.group === clientFetch.UiNodeGroupEnum.Captcha || n.group === clientFetch.UiNodeGroupEnum.Default || n.group === clientFetch.UiNodeGroupEnum.Profile
1268
- ).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k)),
1269
- finalNodes.sort(sortNodes).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1270
- ] }),
1271
- /* @__PURE__ */ jsxRuntime.jsx(OryCardFooter, {})
1272
- ]
1369
+ onAfterSubmit: handleAfterFormSubmit(dispatchFormState),
1370
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
1371
+ /* @__PURE__ */ jsxRuntime.jsx(Card.Divider, {}),
1372
+ /* @__PURE__ */ jsxRuntime.jsx(
1373
+ AuthMethodList,
1374
+ {
1375
+ options: authMethodBlocks,
1376
+ setSelectedGroup: (group) => dispatchFormState({
1377
+ type: "action_select_method",
1378
+ method: group
1379
+ })
1380
+ }
1381
+ ),
1382
+ authMethodAdditionalNodes.sort(sortNodes).map((node, k) => /* @__PURE__ */ jsxRuntime.jsx(Node, { node }, k))
1383
+ ] })
1273
1384
  }
1274
- )
1275
- ] })
1385
+ ) : !hasSingleSignOnNodes(ui.nodes) && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": `ory/form/methods/local`, children: /* @__PURE__ */ jsxRuntime.jsx(Message.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(Message.Content, { message: noMethods }, noMethods.id) }) })
1386
+ ] }),
1387
+ /* @__PURE__ */ jsxRuntime.jsx(OryCardFooter, {})
1276
1388
  ] });
1277
1389
  }
1278
- function AuthMethodList({ options, setSelectedGroup }) {
1279
- const { Card } = useComponents();
1280
- const { setValue, getValues } = reactHookForm.useFormContext();
1281
- if (Object.entries(options).length === 0) {
1282
- return null;
1390
+ function OryTwoStepCard() {
1391
+ const { formState } = useOryFlow();
1392
+ switch (formState.current) {
1393
+ case "provide_identifier":
1394
+ return /* @__PURE__ */ jsxRuntime.jsx(OryTwoStepCardStateProvideIdentifier, {});
1395
+ case "select_method":
1396
+ return /* @__PURE__ */ jsxRuntime.jsx(OryTwoStepCardStateSelectMethod, {});
1397
+ case "method_active":
1398
+ return /* @__PURE__ */ jsxRuntime.jsx(OryTwoStepCardStateMethodActive, { formState });
1283
1399
  }
1284
- const handleClick = (group, options2) => {
1285
- var _a, _b, _c, _d;
1286
- if (isGroupImmediateSubmit(group)) {
1287
- if (group === "code" && !getValues("identifier") && ((_b = (_a = options2 == null ? void 0 : options2.title) == null ? void 0 : _a.values) == null ? void 0 : _b.address)) {
1288
- setValue("identifier", (_d = (_c = options2 == null ? void 0 : options2.title) == null ? void 0 : _c.values) == null ? void 0 : _d.address);
1289
- }
1290
- setValue("method", group);
1291
- } else {
1292
- setSelectedGroup(group);
1293
- }
1294
- };
1295
- return /* @__PURE__ */ jsxRuntime.jsx(Card.AuthMethodListContainer, { children: Object.entries(options).map(([group, options2]) => /* @__PURE__ */ jsxRuntime.jsx(
1296
- Card.AuthMethodListItem,
1297
- {
1298
- group,
1299
- title: options2.title,
1300
- onClick: () => handleClick(group, options2)
1301
- },
1302
- group
1303
- )) });
1400
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1401
+ "unknown form state: ",
1402
+ formState.current
1403
+ ] });
1304
1404
  }
1305
1405
  function OryFormGroups({ groups }) {
1306
1406
  const {
@@ -2361,20 +2461,20 @@ var de_default = {
2361
2461
  "login.cancel-label": "Nicht das richtige Konto?",
2362
2462
  "identities.messages.1010023": "Code an {address} senden",
2363
2463
  "identities.messages.1010016": "Sie haben versucht, sich mit \u201E{duplicateIdentifier}\u201C anzumelden, aber diese E-Mail-Adresse wird bereits von einem anderen Konto verwendet. \nMelden Sie sich mit einer der folgenden Optionen bei Ihrem Konto an, um Ihr Konto \u201E{duplicateIdentifier}\u201C bei \u201E{provider}\u201C als weitere Anmeldem\xF6glichkeit hinzuzuf\xFCgen.",
2364
- "identities.messages.1010017": "",
2365
- "identities.messages.1010018": "",
2366
- "identities.messages.1010019": "",
2464
+ "identities.messages.1010017": "Anmelden und verbinden",
2465
+ "identities.messages.1010018": "Mit {provider} best\xE4tigen",
2466
+ "identities.messages.1010019": "Code senden um fortzufahren",
2367
2467
  "identities.messages.1010020": "",
2368
- "identities.messages.1010021": "",
2369
- "identities.messages.1010022": "",
2370
- "identities.messages.1040007": "",
2371
- "identities.messages.1040008": "",
2372
- "identities.messages.1040009": "",
2468
+ "identities.messages.1010021": "Mit Paskey anmelden",
2469
+ "identities.messages.1010022": "Mit Passwort anmelden",
2470
+ "identities.messages.1040007": "Mit Passkey registrieren",
2471
+ "identities.messages.1040008": "Zur\xFCck",
2472
+ "identities.messages.1040009": "Bitte w\xE4hlen Sie eine Authentifizierungsmethode, um fortzufahren.",
2373
2473
  "identities.messages.1050019": "Passkey hinzuf\xFCgen",
2374
- "identities.messages.1050020": "",
2375
- "identities.messages.4000037": "",
2376
- "identities.messages.4010009": "",
2377
- "identities.messages.4010010": "",
2474
+ "identities.messages.1050020": 'Passkey "{display_name}" entfernen',
2475
+ "identities.messages.4000037": "F\xFCr die eingegebenen Daten existiert kein Account",
2476
+ "identities.messages.4010009": "Die Authentifizierungsmethode stimmt nicht mit der vorherigen Authentifizierungsmethode \xFCberein. Bitte versuchen Sie es erneut.",
2477
+ "identities.messages.4010010": "Die eingegebene Adresse stimmt nicht mit der Adresse \xFCberein, die Sie bei der Registrierung angegeben haben. Bitte versuchen Sie es erneut.",
2378
2478
  "input.placeholder": "{placeholder} eingeben",
2379
2479
  "card.header.parts.code": "einem Code per E-Mail",
2380
2480
  "card.header.parts.identifier-first": "Ihr {identifierLabel}",
@@ -2475,7 +2575,6 @@ var es_default = {
2475
2575
  "error.back-button": "Regresar",
2476
2576
  "error.description": "Ocurri\xF3 un error con el siguiente mensaje:",
2477
2577
  "error.support-email-link": "Si el problema persiste, por favor contacte a <a>{contactSupportEmail}</a>",
2478
- "error.title": "",
2479
2578
  "error.title-internal-server-error": "Error Interno del Servidor",
2480
2579
  "error.title-not-found": "404 - P\xE1gina no encontrada",
2481
2580
  "identities.messages.1010001": "Iniciar sesi\xF3n",
@@ -2650,45 +2749,6 @@ var es_default = {
2650
2749
  "two-step.totp.description": "Utilice un c\xF3digo de un solo uso de 6 d\xEDgitos de su aplicaci\xF3n de autenticaci\xF3n",
2651
2750
  "two-step.lookup_secret.title": "C\xF3digo de recuperaci\xF3n de respaldo",
2652
2751
  "two-step.lookup_secret.description": "Utilice uno de sus c\xF3digos de respaldo de 8 d\xEDgitos para autenticarse",
2653
- "identities.messages.1010016": "",
2654
- "identities.messages.1010017": "",
2655
- "identities.messages.1010018": "",
2656
- "identities.messages.1010019": "",
2657
- "identities.messages.1010020": "",
2658
- "identities.messages.1010021": "",
2659
- "identities.messages.1010022": "",
2660
- "identities.messages.1010023": "",
2661
- "identities.messages.1040007": "",
2662
- "identities.messages.1040008": "",
2663
- "identities.messages.1040009": "",
2664
- "identities.messages.1050019": "",
2665
- "identities.messages.1050020": "",
2666
- "identities.messages.1070014": "",
2667
- "identities.messages.1070015": "",
2668
- "identities.messages.4000037": "",
2669
- "identities.messages.4000038": "",
2670
- "identities.messages.4010009": "",
2671
- "identities.messages.4010010": "",
2672
- "login.cancel-button": "",
2673
- "login.cancel-label": "",
2674
- "input.placeholder": "",
2675
- "card.header.description.login": "",
2676
- "card.header.description.registration": "",
2677
- "card.header.parts.code": "",
2678
- "card.header.parts.identifier-first": "",
2679
- "card.header.parts.oidc": "",
2680
- "card.header.parts.passkey": "",
2681
- "card.header.parts.password.login": "",
2682
- "card.header.parts.password.registration": "",
2683
- "card.header.parts.webauthn": "",
2684
- "forms.label.forgot-password": "",
2685
- "login.subtitle": "",
2686
- "login.subtitle-refresh": "",
2687
- "misc.or": "",
2688
- "recovery.subtitle": "",
2689
- "registration.subtitle": "",
2690
- "settings.subtitle": "",
2691
- "verification.subtitle": "",
2692
2752
  "settings.totp.info.linked": "Actualmente tienes una aplicaci\xF3n de autenticaci\xF3n conectada.",
2693
2753
  "settings.totp.info.not-linked": "Para habilitar, escanea el c\xF3digo QR con tu autenticador e ingresa el c\xF3digo.",
2694
2754
  "settings.totp.title": "Aplicaci\xF3n Autenticadora",
@@ -2706,25 +2766,6 @@ var es_default = {
2706
2766
  "settings.profile.title": "Configuraci\xF3n de Perfil",
2707
2767
  "settings.webauthn.description": "Administra la configuraci\xF3n de tu token de hardware",
2708
2768
  "settings.webauthn.title": "Gestionar Tokens de Hardware",
2709
- "settings.oidc.info": "",
2710
- "settings.passkey.info": "",
2711
- "settings.title-lookup-secret": "",
2712
- "settings.title-navigation": "",
2713
- "settings.title-oidc": "",
2714
- "settings.title-passkey": "",
2715
- "settings.title-password": "",
2716
- "settings.title-profile": "",
2717
- "settings.title-totp": "",
2718
- "settings.title-webauthn": "",
2719
- "settings.webauthn.info": "",
2720
- "card.footer.select-another-method": "",
2721
- "account-linking.title": "",
2722
- "property.code": "",
2723
- "property.email": "",
2724
- "property.identifier": "",
2725
- "property.password": "",
2726
- "property.phone": "",
2727
- "property.username": "",
2728
2769
  "consent.title": "Autorizar {party}",
2729
2770
  "consent.subtitle": "Una aplicaci\xF3n de terceros quiere acceder a la informaci\xF3n asociada a su cuenta {identifier}.",
2730
2771
  "consent.scope.openid.title": "Identidad",
@@ -2739,12 +2780,71 @@ var es_default = {
2739
2780
  "consent.scope.address.description": "Acceda a su direcci\xF3n postal.",
2740
2781
  "consent.scope.phone.title": "N\xFAmero de tel\xE9fono",
2741
2782
  "consent.scope.phone.description": "Recupere su n\xFAmero de tel\xE9fono y su estado de verificaci\xF3n.",
2742
- "error.action.go-back": "",
2743
- "error.footer.copy": "",
2744
- "error.footer.text": "",
2745
- "error.instructions": "",
2746
- "error.title.what-can-i-do": "",
2747
- "error.title.what-happened": ""
2783
+ "error.title": "Ocurri\xF3 un error",
2784
+ "identities.messages.1010016": 'Intentaste iniciar sesi\xF3n con "{duplicateIdentifier}", pero ese correo electr\xF3nico ya est\xE1 en uso por otra cuenta. Inicia sesi\xF3n en tu cuenta con una de las opciones a continuaci\xF3n para agregar tu cuenta "{duplicateIdentifier}" en "{provider}" como otra forma de iniciar sesi\xF3n.',
2785
+ "identities.messages.1010017": "Iniciar sesi\xF3n y vincular",
2786
+ "identities.messages.1010018": "Confirmar con {provider}",
2787
+ "identities.messages.1010019": "Solicitar c\xF3digo para continuar",
2788
+ "identities.messages.1010021": "Iniciar sesi\xF3n con clave de acceso",
2789
+ "identities.messages.1010022": "Iniciar sesi\xF3n con contrase\xF1a",
2790
+ "identities.messages.1010023": "Enviar c\xF3digo a {address}",
2791
+ "identities.messages.1040007": "Registrarse con clave de acceso",
2792
+ "identities.messages.1040008": "Atr\xE1s",
2793
+ "identities.messages.1040009": "Por favor, elige una credencial para autenticarte.",
2794
+ "identities.messages.1050019": "Agregar clave de acceso",
2795
+ "identities.messages.1070014": "Iniciar sesi\xF3n y vincular credencial",
2796
+ "identities.messages.1070015": "Por favor, completa el desaf\xEDo captcha para continuar.",
2797
+ "identities.messages.4000037": "Esta cuenta no existe o no tiene ning\xFAn m\xE9todo de inicio de sesi\xF3n configurado.",
2798
+ "identities.messages.4000038": "Fall\xF3 la verificaci\xF3n de Captcha, por favor intenta de nuevo.",
2799
+ "identities.messages.4010009": "Las credenciales vinculadas no coinciden.",
2800
+ "identities.messages.4010010": "La direcci\xF3n que ingresaste no coincide con ninguna direcci\xF3n conocida en la cuenta actual.",
2801
+ "login.cancel-button": "Cancelar",
2802
+ "login.cancel-label": "\xBFNo es la cuenta correcta?",
2803
+ "login.subtitle": "Iniciar sesi\xF3n con {parts}",
2804
+ "login.subtitle-refresh": "Confirma tu identidad con {parts}",
2805
+ "recovery.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para recibir un c\xF3digo de acceso \xFAnico",
2806
+ "registration.subtitle": "Registrarse con {parts}",
2807
+ "settings.subtitle": "Actualiza la configuraci\xF3n de tu cuenta",
2808
+ "settings.title-lookup-secret": "Administrar c\xF3digos de recuperaci\xF3n de respaldo 2FA",
2809
+ "settings.title-navigation": "Configuraci\xF3n de la cuenta",
2810
+ "settings.title-oidc": "Inicio de sesi\xF3n social",
2811
+ "settings.title-password": "Cambiar contrase\xF1a",
2812
+ "settings.title-profile": "Configuraci\xF3n del perfil",
2813
+ "settings.title-totp": "Administrar la aplicaci\xF3n de autenticaci\xF3n 2FA TOTP",
2814
+ "settings.title-webauthn": "Administrar tokens de hardware",
2815
+ "settings.title-passkey": "Administrar claves de acceso",
2816
+ "verification.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para verificarla",
2817
+ "input.placeholder": "Ingresa tu {placeholder}",
2818
+ "card.header.parts.oidc": "un proveedor social",
2819
+ "card.header.parts.password.registration": "tu {identifierLabel} y una contrase\xF1a",
2820
+ "card.header.parts.password.login": "tu {identifierLabel} y contrase\xF1a",
2821
+ "card.header.parts.code": "un c\xF3digo enviado a tu correo electr\xF3nico",
2822
+ "card.header.parts.passkey": "una clave de acceso",
2823
+ "card.header.parts.webauthn": "una clave de seguridad",
2824
+ "card.header.parts.identifier-first": "tu {identifierLabel}",
2825
+ "card.header.description.login": "Iniciar sesi\xF3n con {identifierLabel}",
2826
+ "card.header.description.registration": "Registrarse con {identifierLabel}",
2827
+ "misc.or": "o",
2828
+ "forms.label.forgot-password": "\xBFOlvidaste tu contrase\xF1a?",
2829
+ "settings.oidc.info": "Las cuentas conectadas de estos proveedores se pueden utilizar para iniciar sesi\xF3n en tu cuenta",
2830
+ "settings.webauthn.info": "Los tokens de hardware se utilizan para la autenticaci\xF3n de segundo factor o como primer factor con las claves de acceso",
2831
+ "settings.passkey.info": "Administra la configuraci\xF3n de tus claves de acceso",
2832
+ "card.footer.select-another-method": "Seleccionar otro m\xE9todo",
2833
+ "account-linking.title": "Vincular cuenta",
2834
+ "property.password": "contrase\xF1a",
2835
+ "property.email": "correo electr\xF3nico",
2836
+ "property.phone": "tel\xE9fono",
2837
+ "property.username": "nombre de usuario",
2838
+ "property.identifier": "identificador",
2839
+ "property.code": "c\xF3digo",
2840
+ "error.title.what-happened": "\xBFQu\xE9 pas\xF3?",
2841
+ "error.title.what-can-i-do": "\xBFQu\xE9 puedo hacer?",
2842
+ "error.instructions": "Por favor, int\xE9ntalo de nuevo en unos minutos o contacta al operador del sitio web.",
2843
+ "error.footer.text": "Al informar este error, incluye la siguiente informaci\xF3n:",
2844
+ "error.footer.copy": "Copiar",
2845
+ "error.action.go-back": "Regresar",
2846
+ "identities.messages.1010020": "",
2847
+ "identities.messages.1050020": 'Eliminar passkey "{display_name}"'
2748
2848
  };
2749
2849
 
2750
2850
  // src/locales/fr.json
@@ -2935,81 +3035,10 @@ var fr_default = {
2935
3035
  "two-step.totp.description": "Utilisez un code \xE0 usage unique \xE0 6 chiffres provenant de votre application d'authentification",
2936
3036
  "two-step.lookup_secret.title": "Code de r\xE9cup\xE9ration de secours",
2937
3037
  "two-step.lookup_secret.description": "Utilisez l'un de vos codes de secours \xE0 8 chiffres pour vous authentifier",
2938
- "identities.messages.1010023": "",
2939
- "identities.messages.1070015": "",
2940
- "identities.messages.4000038": "",
2941
- "login.cancel-button": "",
2942
- "login.cancel-label": "",
2943
- "identities.messages.1010016": "",
2944
- "identities.messages.1010017": "",
2945
- "identities.messages.1010018": "",
2946
- "identities.messages.1010019": "",
2947
- "identities.messages.1010020": "",
2948
- "identities.messages.1010021": "",
2949
- "identities.messages.1010022": "",
2950
- "identities.messages.1040007": "",
2951
- "identities.messages.1040008": "",
2952
- "identities.messages.1040009": "",
2953
- "identities.messages.1050019": "",
2954
- "identities.messages.1050020": "",
2955
- "identities.messages.1070014": "",
2956
- "identities.messages.4000037": "",
2957
- "identities.messages.4010009": "",
2958
- "identities.messages.4010010": "",
2959
- "input.placeholder": "",
2960
- "card.header.description.login": "",
2961
- "card.header.description.registration": "",
2962
- "card.header.parts.code": "",
2963
- "card.header.parts.identifier-first": "",
2964
- "card.header.parts.oidc": "",
2965
- "card.header.parts.passkey": "",
2966
- "card.header.parts.password.login": "",
2967
- "card.header.parts.password.registration": "",
2968
- "card.header.parts.webauthn": "",
2969
- "forms.label.forgot-password": "",
2970
- "login.subtitle": "",
2971
- "login.subtitle-refresh": "",
2972
- "misc.or": "",
2973
- "recovery.subtitle": "",
2974
- "registration.subtitle": "",
2975
- "settings.subtitle": "",
2976
- "verification.subtitle": "",
2977
3038
  "settings.totp.info.linked": "Vous avez actuellement une application d'authentification connect\xE9e.",
2978
3039
  "settings.totp.info.not-linked": "Pour activer, scannez le QR code avec votre authentificateur et entrez le code.",
2979
3040
  "settings.totp.title": "Application d'authentification",
2980
3041
  "settings.totp.description": "Ajoutez une application d'authentification TOTP \xE0 votre compte pour am\xE9liorer la s\xE9curit\xE9 de votre compte. Les applications d'authentification populaires sont LastPass et Google Authenticator.",
2981
- "settings.lookup_secret.description": "",
2982
- "settings.lookup_secret.title": "",
2983
- "settings.navigation.title": "",
2984
- "settings.oidc.description": "",
2985
- "settings.oidc.info": "",
2986
- "settings.oidc.title": "",
2987
- "settings.passkey.description": "",
2988
- "settings.passkey.info": "",
2989
- "settings.passkey.title": "",
2990
- "settings.password.description": "",
2991
- "settings.password.title": "",
2992
- "settings.profile.description": "",
2993
- "settings.profile.title": "",
2994
- "settings.title-lookup-secret": "",
2995
- "settings.title-navigation": "",
2996
- "settings.title-oidc": "",
2997
- "settings.title-passkey": "",
2998
- "settings.title-password": "",
2999
- "settings.title-profile": "",
3000
- "settings.title-totp": "",
3001
- "settings.title-webauthn": "",
3002
- "settings.webauthn.description": "",
3003
- "settings.webauthn.info": "",
3004
- "settings.webauthn.title": "",
3005
- "card.footer.select-another-method": "",
3006
- "account-linking.title": "",
3007
- "property.code": "",
3008
- "property.email": "",
3009
- "property.identifier": "",
3010
- "property.password": "",
3011
- "property.phone": "",
3012
- "property.username": "",
3013
3042
  "consent.title": "Autoriser {party}",
3014
3043
  "consent.subtitle": "Une application tierce souhaite acc\xE9der aux informations associ\xE9es \xE0 votre compte {identifier}.",
3015
3044
  "consent.scope.openid.title": "Identit\xE9",
@@ -3024,12 +3053,83 @@ var fr_default = {
3024
3053
  "consent.scope.address.description": "Acc\xE8de \xE0 votre adresse postale.",
3025
3054
  "consent.scope.phone.title": "Num\xE9ro de t\xE9l\xE9phone",
3026
3055
  "consent.scope.phone.description": "R\xE9cup\xE8re votre num\xE9ro de t\xE9l\xE9phone et son statut de v\xE9rification.",
3027
- "error.action.go-back": "",
3028
- "error.footer.copy": "",
3029
- "error.footer.text": "",
3030
- "error.title.what-can-i-do": "",
3031
- "error.title.what-happened": "",
3032
- "error.instructions": ""
3056
+ "identities.messages.1010016": "Vous avez essay\xE9 de vous connecter avec \xAB {duplicateIdentifier} \xBB, mais cet e-mail est d\xE9j\xE0 utilis\xE9 par un autre compte. Connectez-vous \xE0 votre compte avec l'une des options ci-dessous pour ajouter votre compte \xAB {duplicateIdentifier} \xBB sur \xAB {provider} \xBB comme autre moyen de vous connecter.",
3057
+ "identities.messages.1010017": "Se connecter et lier",
3058
+ "identities.messages.1010018": "Confirmer avec {provider}",
3059
+ "identities.messages.1010019": "Demander un code pour continuer",
3060
+ "identities.messages.1010021": "Se connecter avec une cl\xE9 d'acc\xE8s",
3061
+ "identities.messages.1010022": "Se connecter avec un mot de passe",
3062
+ "identities.messages.1010023": "Envoyer le code \xE0 {address}",
3063
+ "identities.messages.1040007": "S'inscrire avec une cl\xE9 d'acc\xE8s",
3064
+ "identities.messages.1040008": "Retour",
3065
+ "identities.messages.1040009": "Veuillez choisir une identification pour vous authentifier.",
3066
+ "identities.messages.1050019": "Ajouter une cl\xE9 d'acc\xE8s",
3067
+ "identities.messages.1050020": "Supprimer la cl\xE9 d'acc\xE8s \xAB {display_name} \xBB",
3068
+ "identities.messages.1070014": "Se connecter et lier l'identification",
3069
+ "identities.messages.1070015": "Veuillez compl\xE9ter le d\xE9fi captcha pour continuer.",
3070
+ "identities.messages.4000037": "Ce compte n'existe pas ou n'a aucune m\xE9thode de connexion configur\xE9e.",
3071
+ "identities.messages.4000038": "La v\xE9rification Captcha a \xE9chou\xE9, veuillez r\xE9essayer.",
3072
+ "identities.messages.4010009": "Les identifications li\xE9es ne correspondent pas.",
3073
+ "identities.messages.4010010": "L'adresse que vous avez saisie ne correspond \xE0 aucune adresse connue dans le compte actuel.",
3074
+ "login.cancel-button": "Annuler",
3075
+ "login.cancel-label": "Ce n'est pas le bon compte\xA0?",
3076
+ "login.subtitle": "Se connecter avec {parts}",
3077
+ "login.subtitle-refresh": "Confirmez votre identit\xE9 avec {parts}",
3078
+ "recovery.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour recevoir un code d'acc\xE8s unique",
3079
+ "registration.subtitle": "S'inscrire avec {parts}",
3080
+ "settings.subtitle": "Mettre \xE0 jour les param\xE8tres de votre compte",
3081
+ "settings.title-lookup-secret": "G\xE9rer les codes de r\xE9cup\xE9ration de sauvegarde 2FA",
3082
+ "settings.title-navigation": "Param\xE8tres du compte",
3083
+ "settings.title-oidc": "Connexion via les r\xE9seaux sociaux",
3084
+ "settings.title-password": "Changer le mot de passe",
3085
+ "settings.title-profile": "Param\xE8tres du profil",
3086
+ "settings.title-totp": "G\xE9rer l'application d'authentification 2FA TOTP",
3087
+ "settings.title-webauthn": "G\xE9rer les jetons mat\xE9riels",
3088
+ "settings.title-passkey": "G\xE9rer les cl\xE9s d'acc\xE8s",
3089
+ "settings.navigation.title": "Param\xE8tres du compte",
3090
+ "settings.password.title": "Changer le mot de passe",
3091
+ "settings.password.description": "Modifier votre mot de passe",
3092
+ "settings.profile.title": "Param\xE8tres du profil",
3093
+ "settings.profile.description": "Mettre \xE0 jour les informations de votre profil",
3094
+ "settings.webauthn.title": "G\xE9rer les jetons mat\xE9riels",
3095
+ "settings.webauthn.description": "G\xE9rer les param\xE8tres de votre jeton mat\xE9riel",
3096
+ "verification.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour la v\xE9rifier",
3097
+ "input.placeholder": "Saisissez votre {placeholder}",
3098
+ "card.header.parts.oidc": "un fournisseur de r\xE9seaux sociaux",
3099
+ "card.header.parts.password.registration": "votre {identifierLabel} et un mot de passe",
3100
+ "card.header.parts.password.login": "votre {identifierLabel} et votre mot de passe",
3101
+ "card.header.parts.code": "un code envoy\xE9 \xE0 votre adresse e-mail",
3102
+ "card.header.parts.passkey": "une cl\xE9 d'acc\xE8s",
3103
+ "card.header.parts.webauthn": "une cl\xE9 de s\xE9curit\xE9",
3104
+ "card.header.parts.identifier-first": "votre {identifierLabel}",
3105
+ "card.header.description.login": "Se connecter avec {identifierLabel}",
3106
+ "card.header.description.registration": "S'inscrire avec {identifierLabel}",
3107
+ "misc.or": "ou",
3108
+ "forms.label.forgot-password": "Mot de passe oubli\xE9?",
3109
+ "settings.lookup_secret.title": "Codes de r\xE9cup\xE9ration de sauvegarde (second facteur)",
3110
+ "settings.lookup_secret.description": "Les codes de r\xE9cup\xE9ration sont une sauvegarde s\xE9curis\xE9e pour l'authentification \xE0 deux facteurs (2FA), vous permettant de retrouver l'acc\xE8s \xE0 votre compte si vous perdez votre appareil 2FA.",
3111
+ "settings.oidc.title": "Comptes connect\xE9s",
3112
+ "settings.oidc.description": "Connectez un fournisseur de connexion sociale \xE0 votre compte.",
3113
+ "settings.oidc.info": "Les comptes connect\xE9s de ces fournisseurs peuvent \xEAtre utilis\xE9s pour vous connecter \xE0 votre compte",
3114
+ "settings.webauthn.info": "Les jetons mat\xE9riels sont utilis\xE9s pour l'authentification \xE0 deux facteurs ou comme premier facteur avec les cl\xE9s d'acc\xE8s",
3115
+ "settings.passkey.title": "G\xE9rer les cl\xE9s d'acc\xE8s",
3116
+ "settings.passkey.description": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
3117
+ "settings.passkey.info": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
3118
+ "card.footer.select-another-method": "S\xE9lectionner une autre m\xE9thode",
3119
+ "account-linking.title": "Lier le compte",
3120
+ "property.password": "mot de passe",
3121
+ "property.email": "e-mail",
3122
+ "property.phone": "t\xE9l\xE9phone",
3123
+ "property.username": "nom d'utilisateur",
3124
+ "property.identifier": "identifiant",
3125
+ "property.code": "code",
3126
+ "error.title.what-happened": "Que s'est-il pass\xE9?",
3127
+ "error.title.what-can-i-do": "Que puis-je faire?",
3128
+ "error.instructions": "Veuillez r\xE9essayer dans quelques minutes ou contacter l'op\xE9rateur du site Web.",
3129
+ "error.footer.text": "Lorsque vous signalez cette erreur, veuillez inclure les informations suivantes:",
3130
+ "error.footer.copy": "Copier",
3131
+ "error.action.go-back": "Retour",
3132
+ "identities.messages.1010020": ""
3033
3133
  };
3034
3134
 
3035
3135
  // src/locales/nl.json