@ory/elements-react 0.0.0-pr.7af5f16 → 0.0.0-pr.c124ca4

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.
@@ -662,7 +662,7 @@ function DefaultCurrentIdentifierButton() {
662
662
  name: screenSelectionNode.attributes.name,
663
663
  value: screenSelectionNode.attributes.value,
664
664
  title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
665
- "data-testid": "ory/screen/login/action/restart",
665
+ "data-testid": `ory/screen/${flowType}/action/restart`,
666
666
  children: /* @__PURE__ */ jsxs5("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
667
667
  /* @__PURE__ */ jsx7(
668
668
  arrow_left_default,
@@ -685,7 +685,7 @@ function DefaultCurrentIdentifierButton() {
685
685
  ...attributes,
686
686
  href: initFlowUrl2,
687
687
  title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
688
- "data-testid": "ory/screen/login/action/restart",
688
+ "data-testid": `ory/screen/${flowType}/action/restart`,
689
689
  children: /* @__PURE__ */ jsxs5("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
690
690
  /* @__PURE__ */ jsx7(
691
691
  arrow_left_default,
@@ -1036,6 +1036,24 @@ function Spinner({ className }) {
1036
1036
 
1037
1037
  // src/theme/default/components/form/social.tsx
1038
1038
  import { UiNodeGroupEnum as UiNodeGroupEnum3 } from "@ory/client-fetch";
1039
+
1040
+ // src/util/omitAttributes.ts
1041
+ function omitInputAttributes({
1042
+ ...attrs
1043
+ }) {
1044
+ return omit(attrs, [
1045
+ "autocomplete",
1046
+ "label",
1047
+ "node_type",
1048
+ "maxlength",
1049
+ "onclick",
1050
+ "onclickTrigger",
1051
+ "onload",
1052
+ "onloadTrigger"
1053
+ ]);
1054
+ }
1055
+
1056
+ // src/theme/default/components/form/social.tsx
1039
1057
  import { Fragment as Fragment2, jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
1040
1058
  function extractProvider(context) {
1041
1059
  if (context && typeof context === "object" && "provider" in context && typeof context.provider === "string") {
@@ -1052,12 +1070,7 @@ function DefaultButtonSocial({
1052
1070
  }) {
1053
1071
  var _a, _b, _c;
1054
1072
  const logos2 = { ...provider_logos_default, ...providedLogos };
1055
- const {
1056
- node_type: _ignoredNodeType,
1057
- type: _ignoredType,
1058
- name: _ignoredName,
1059
- ...props
1060
- } = attributes;
1073
+ const { type: _ignoredType, name: _ignoredName, ...rest } = attributes;
1061
1074
  const {
1062
1075
  flow: { ui }
1063
1076
  } = useOryFlow5();
@@ -1090,11 +1103,11 @@ function DefaultButtonSocial({
1090
1103
  type: "submit",
1091
1104
  name: "provider",
1092
1105
  "data-testid": `ory/form/node/input/${attributes.name}`,
1093
- ...props,
1094
1106
  onClick: localOnClick,
1095
1107
  "data-loading": clicked,
1096
1108
  disabled: isSubmitting,
1097
1109
  "aria-label": label,
1110
+ ...omitInputAttributes(rest),
1098
1111
  children: [
1099
1112
  /* @__PURE__ */ jsx27("span", { className: "size-5 relative", children: !clicked ? Logo ? /* @__PURE__ */ jsx27(Logo, { size: 20 }) : /* @__PURE__ */ jsx27("span", { className: "flex aspect-square items-center justify-center rounded-[999px] border text-xs", children: provider.slice(0, 2) }) : /* @__PURE__ */ jsx27(Spinner, { className: "size-5" }) }),
1100
1113
  showLabel && node.meta.label ? /* @__PURE__ */ jsxs19(Fragment2, { children: [
@@ -1359,19 +1372,7 @@ var DefaultButton = ({
1359
1372
  onClick
1360
1373
  }) => {
1361
1374
  var _a;
1362
- const {
1363
- type,
1364
- name,
1365
- value,
1366
- // Button does not support these attributes, so we skip them
1367
- autocomplete: _ignoredAutocomplete,
1368
- label: _ignoredLabel,
1369
- node_type: _ignoredNodeType,
1370
- maxlength: _ignoredMaxLength,
1371
- onclick: _ignoredOnClick,
1372
- // End of skipped attributes
1373
- ...rest
1374
- } = attributes;
1375
+ const { type, name, value, ...rest } = attributes;
1375
1376
  const [clicked, setClicked] = useState(false);
1376
1377
  const intl = useIntl6();
1377
1378
  const label = getNodeLabel(node);
@@ -1388,7 +1389,7 @@ var DefaultButton = ({
1388
1389
  return /* @__PURE__ */ jsxs21(
1389
1390
  "button",
1390
1391
  {
1391
- ...rest,
1392
+ ...omitInputAttributes(rest),
1392
1393
  value,
1393
1394
  name,
1394
1395
  type: type === "button" ? "button" : "submit",
@@ -1553,16 +1554,7 @@ var DefaultCheckbox = ({
1553
1554
  attributes: initialAttributes,
1554
1555
  node
1555
1556
  }) => {
1556
- const {
1557
- value,
1558
- name,
1559
- // Button does not support these attributes, so we skip them
1560
- autocomplete: _autocomplete,
1561
- onclick: _onclick,
1562
- maxlength: _max,
1563
- // End of skipped attributes
1564
- ...attributes
1565
- } = initialAttributes;
1557
+ const { value, name, ...attributes } = initialAttributes;
1566
1558
  const intl = useIntl8();
1567
1559
  const label = getNodeLabel2(node);
1568
1560
  const { register } = useFormContext4();
@@ -1572,7 +1564,7 @@ var DefaultCheckbox = ({
1572
1564
  /* @__PURE__ */ jsx39(
1573
1565
  "input",
1574
1566
  {
1575
- ...attributes,
1567
+ ...omitInputAttributes(attributes),
1576
1568
  defaultChecked: Boolean(value),
1577
1569
  type: "checkbox",
1578
1570
  className: cn(
@@ -1647,7 +1639,13 @@ function DefaultHorizontalDivider() {
1647
1639
  import { jsx as jsx42 } from "react/jsx-runtime";
1648
1640
  function DefaultImage({ attributes, node }) {
1649
1641
  var _a;
1650
- return /* @__PURE__ */ jsx42("figure", { children: /* @__PURE__ */ jsx42("img", { ...attributes, alt: ((_a = node.meta.label) == null ? void 0 : _a.text) || "" }) });
1642
+ return /* @__PURE__ */ jsx42("figure", { children: /* @__PURE__ */ jsx42(
1643
+ "img",
1644
+ {
1645
+ ...omitInputAttributes(attributes),
1646
+ alt: ((_a = node.meta.label) == null ? void 0 : _a.text) || ""
1647
+ }
1648
+ ) });
1651
1649
  }
1652
1650
 
1653
1651
  // src/theme/default/components/form/input.tsx
@@ -1690,14 +1688,7 @@ var DefaultInput = ({
1690
1688
  }) => {
1691
1689
  const label = getNodeLabel3(node);
1692
1690
  const { register } = useFormContext5();
1693
- const {
1694
- value,
1695
- autocomplete,
1696
- name,
1697
- maxlength,
1698
- node_type: _,
1699
- ...rest
1700
- } = attributes;
1691
+ const { value, autocomplete, name, maxlength, ...rest } = attributes;
1701
1692
  const intl = useIntl9();
1702
1693
  const { flowType } = useOryFlow8();
1703
1694
  const inputRef = useRef(null);
@@ -1737,7 +1728,7 @@ var DefaultInput = ({
1737
1728
  /* @__PURE__ */ jsx45(
1738
1729
  "input",
1739
1730
  {
1740
- ...rest,
1731
+ ...omitInputAttributes(rest),
1741
1732
  onClick,
1742
1733
  maxLength: maxlength,
1743
1734
  autoComplete: autocomplete,
@@ -1881,7 +1872,7 @@ var DefaultLinkButton = forwardRef(({ attributes, node }, ref) => {
1881
1872
  return /* @__PURE__ */ jsx47(
1882
1873
  "a",
1883
1874
  {
1884
- ...attributes,
1875
+ ...omitInputAttributes(attributes),
1885
1876
  ref,
1886
1877
  title: label ? uiTextToFormattedMessage8(label, intl) : "",
1887
1878
  "data-testid": `ory/form/node/link/${attributes.id}`,
@@ -3027,7 +3018,7 @@ import { jsx as jsx81 } from "react/jsx-runtime";
3027
3018
  import {
3028
3019
  isUiNodeInputAttributes as isUiNodeInputAttributes10,
3029
3020
  isUiNodeScriptAttributes as isUiNodeScriptAttributes4,
3030
- UiNodeGroupEnum as UiNodeGroupEnum11,
3021
+ UiNodeGroupEnum as UiNodeGroupEnum12,
3031
3022
  UiNodeInputAttributesTypeEnum as UiNodeInputAttributesTypeEnum2
3032
3023
  } from "@ory/client-fetch";
3033
3024
  import { useFormContext as useFormContext18 } from "react-hook-form";
@@ -3092,14 +3083,14 @@ import {
3092
3083
  } from "@ory/client-fetch";
3093
3084
 
3094
3085
  // src/components/form/form.tsx
3095
- import { jsx as jsx82, jsxs as jsxs37 } from "react/jsx-runtime";
3086
+ import { jsx as jsx82 } from "react/jsx-runtime";
3096
3087
 
3097
3088
  // src/components/form/messages.tsx
3098
3089
  import { jsx as jsx83 } from "react/jsx-runtime";
3099
3090
 
3100
3091
  // src/components/form/nodes/input.tsx
3101
3092
  import {
3102
- UiNodeGroupEnum as UiNodeGroupEnum8,
3093
+ UiNodeGroupEnum as UiNodeGroupEnum9,
3103
3094
  UiNodeInputAttributesTypeEnum
3104
3095
  } from "@ory/client-fetch";
3105
3096
  import { useEffect as useEffect5, useRef as useRef3 } from "react";
@@ -3113,19 +3104,20 @@ import {
3113
3104
  isUiNodeInputAttributes as isUiNodeInputAttributes9,
3114
3105
  isUiNodeScriptAttributes as isUiNodeScriptAttributes3,
3115
3106
  isUiNodeTextAttributes,
3116
- UiNodeGroupEnum as UiNodeGroupEnum9
3107
+ UiNodeGroupEnum as UiNodeGroupEnum10
3117
3108
  } from "@ory/client-fetch";
3118
3109
  import { jsx as jsx85 } from "react/jsx-runtime";
3119
3110
 
3120
3111
  // src/components/form/social.tsx
3121
3112
  import {
3122
- UiNodeGroupEnum as UiNodeGroupEnum10
3113
+ UiNodeGroupEnum as UiNodeGroupEnum11
3123
3114
  } from "@ory/client-fetch";
3124
3115
  import { useFormContext as useFormContext17 } from "react-hook-form";
3125
3116
  import { jsx as jsx86 } from "react/jsx-runtime";
3126
3117
 
3127
3118
  // src/components/card/card-two-step.tsx
3128
- import { jsx as jsx87, jsxs as jsxs38 } from "react/jsx-runtime";
3119
+ import { useIntl as useIntl15 } from "react-intl";
3120
+ import { Fragment as Fragment6, jsx as jsx87, jsxs as jsxs37 } from "react/jsx-runtime";
3129
3121
 
3130
3122
  // src/components/form/groups.tsx
3131
3123
  import { jsx as jsx88 } from "react/jsx-runtime";
@@ -3135,10 +3127,10 @@ import { useFormContext as useFormContext19 } from "react-hook-form";
3135
3127
  import { jsx as jsx89 } from "react/jsx-runtime";
3136
3128
 
3137
3129
  // src/components/card/card-consent.tsx
3138
- import { jsx as jsx90, jsxs as jsxs39 } from "react/jsx-runtime";
3130
+ import { jsx as jsx90, jsxs as jsxs38 } from "react/jsx-runtime";
3139
3131
 
3140
3132
  // src/components/generic/divider.tsx
3141
- import { UiNodeGroupEnum as UiNodeGroupEnum12 } from "@ory/client-fetch";
3133
+ import { UiNodeGroupEnum as UiNodeGroupEnum13 } from "@ory/client-fetch";
3142
3134
  import { jsx as jsx91 } from "react/jsx-runtime";
3143
3135
 
3144
3136
  // src/components/generic/page-header.tsx
@@ -3147,37 +3139,37 @@ import { jsx as jsx92 } from "react/jsx-runtime";
3147
3139
  // src/components/settings/settings-card.tsx
3148
3140
  import {
3149
3141
  isUiNodeScriptAttributes as isUiNodeScriptAttributes5,
3150
- UiNodeGroupEnum as UiNodeGroupEnum13
3142
+ UiNodeGroupEnum as UiNodeGroupEnum14
3151
3143
  } from "@ory/client-fetch";
3152
- import { useIntl as useIntl20 } from "react-intl";
3144
+ import { useIntl as useIntl21 } from "react-intl";
3153
3145
 
3154
3146
  // src/components/settings/oidc-settings.tsx
3155
- import { useIntl as useIntl15 } from "react-intl";
3147
+ import { useIntl as useIntl16 } from "react-intl";
3156
3148
  import { useFormContext as useFormContext20 } from "react-hook-form";
3157
- import { Fragment as Fragment6, jsx as jsx93, jsxs as jsxs40 } from "react/jsx-runtime";
3149
+ import { Fragment as Fragment7, jsx as jsx93, jsxs as jsxs39 } from "react/jsx-runtime";
3158
3150
 
3159
3151
  // src/components/settings/passkey-settings.tsx
3160
3152
  import { useFormContext as useFormContext21 } from "react-hook-form";
3161
- import { useIntl as useIntl16 } from "react-intl";
3162
- import { Fragment as Fragment7, jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
3153
+ import { useIntl as useIntl17 } from "react-intl";
3154
+ import { Fragment as Fragment8, jsx as jsx94, jsxs as jsxs40 } from "react/jsx-runtime";
3163
3155
 
3164
3156
  // src/components/settings/recovery-codes-settings.tsx
3165
- import { useIntl as useIntl17 } from "react-intl";
3157
+ import { useIntl as useIntl18 } from "react-intl";
3166
3158
  import { useFormContext as useFormContext22 } from "react-hook-form";
3167
- import { Fragment as Fragment8, jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
3159
+ import { Fragment as Fragment9, jsx as jsx95, jsxs as jsxs41 } from "react/jsx-runtime";
3168
3160
 
3169
3161
  // src/components/settings/totp-settings.tsx
3170
3162
  import { useFormContext as useFormContext23 } from "react-hook-form";
3171
- import { useIntl as useIntl18 } from "react-intl";
3172
- import { Fragment as Fragment9, jsx as jsx96, jsxs as jsxs43 } from "react/jsx-runtime";
3163
+ import { useIntl as useIntl19 } from "react-intl";
3164
+ import { Fragment as Fragment10, jsx as jsx96, jsxs as jsxs42 } from "react/jsx-runtime";
3173
3165
 
3174
3166
  // src/components/settings/webauthn-settings.tsx
3175
3167
  import { useFormContext as useFormContext24 } from "react-hook-form";
3176
- import { useIntl as useIntl19 } from "react-intl";
3177
- import { Fragment as Fragment10, jsx as jsx97, jsxs as jsxs44 } from "react/jsx-runtime";
3168
+ import { useIntl as useIntl20 } from "react-intl";
3169
+ import { Fragment as Fragment11, jsx as jsx97, jsxs as jsxs43 } from "react/jsx-runtime";
3178
3170
 
3179
3171
  // src/components/settings/settings-card.tsx
3180
- import { Fragment as Fragment11, jsx as jsx98, jsxs as jsxs45 } from "react/jsx-runtime";
3172
+ import { Fragment as Fragment12, jsx as jsx98, jsxs as jsxs44 } from "react/jsx-runtime";
3181
3173
 
3182
3174
  // src/locales/en.json
3183
3175
  var en_default = {
@@ -3648,20 +3640,20 @@ var de_default = {
3648
3640
  "login.cancel-label": "Nicht das richtige Konto?",
3649
3641
  "identities.messages.1010023": "Code an {address} senden",
3650
3642
  "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.",
3651
- "identities.messages.1010017": "",
3652
- "identities.messages.1010018": "",
3653
- "identities.messages.1010019": "",
3643
+ "identities.messages.1010017": "Anmelden und verbinden",
3644
+ "identities.messages.1010018": "Mit {provider} best\xE4tigen",
3645
+ "identities.messages.1010019": "Code senden um fortzufahren",
3654
3646
  "identities.messages.1010020": "",
3655
- "identities.messages.1010021": "",
3656
- "identities.messages.1010022": "",
3657
- "identities.messages.1040007": "",
3658
- "identities.messages.1040008": "",
3659
- "identities.messages.1040009": "",
3647
+ "identities.messages.1010021": "Mit Paskey anmelden",
3648
+ "identities.messages.1010022": "Mit Passwort anmelden",
3649
+ "identities.messages.1040007": "Mit Passkey registrieren",
3650
+ "identities.messages.1040008": "Zur\xFCck",
3651
+ "identities.messages.1040009": "Bitte w\xE4hlen Sie eine Authentifizierungsmethode, um fortzufahren.",
3660
3652
  "identities.messages.1050019": "Passkey hinzuf\xFCgen",
3661
- "identities.messages.1050020": "",
3662
- "identities.messages.4000037": "",
3663
- "identities.messages.4010009": "",
3664
- "identities.messages.4010010": "",
3653
+ "identities.messages.1050020": 'Passkey "{display_name}" entfernen',
3654
+ "identities.messages.4000037": "F\xFCr die eingegebenen Daten existiert kein Account",
3655
+ "identities.messages.4010009": "Die Authentifizierungsmethode stimmt nicht mit der vorherigen Authentifizierungsmethode \xFCberein. Bitte versuchen Sie es erneut.",
3656
+ "identities.messages.4010010": "Die eingegebene Adresse stimmt nicht mit der Adresse \xFCberein, die Sie bei der Registrierung angegeben haben. Bitte versuchen Sie es erneut.",
3665
3657
  "input.placeholder": "{placeholder} eingeben",
3666
3658
  "card.header.parts.code": "einem Code per E-Mail",
3667
3659
  "card.header.parts.identifier-first": "Ihr {identifierLabel}",
@@ -3762,7 +3754,6 @@ var es_default = {
3762
3754
  "error.back-button": "Regresar",
3763
3755
  "error.description": "Ocurri\xF3 un error con el siguiente mensaje:",
3764
3756
  "error.support-email-link": "Si el problema persiste, por favor contacte a <a>{contactSupportEmail}</a>",
3765
- "error.title": "",
3766
3757
  "error.title-internal-server-error": "Error Interno del Servidor",
3767
3758
  "error.title-not-found": "404 - P\xE1gina no encontrada",
3768
3759
  "identities.messages.1010001": "Iniciar sesi\xF3n",
@@ -3937,45 +3928,6 @@ var es_default = {
3937
3928
  "two-step.totp.description": "Utilice un c\xF3digo de un solo uso de 6 d\xEDgitos de su aplicaci\xF3n de autenticaci\xF3n",
3938
3929
  "two-step.lookup_secret.title": "C\xF3digo de recuperaci\xF3n de respaldo",
3939
3930
  "two-step.lookup_secret.description": "Utilice uno de sus c\xF3digos de respaldo de 8 d\xEDgitos para autenticarse",
3940
- "identities.messages.1010016": "",
3941
- "identities.messages.1010017": "",
3942
- "identities.messages.1010018": "",
3943
- "identities.messages.1010019": "",
3944
- "identities.messages.1010020": "",
3945
- "identities.messages.1010021": "",
3946
- "identities.messages.1010022": "",
3947
- "identities.messages.1010023": "",
3948
- "identities.messages.1040007": "",
3949
- "identities.messages.1040008": "",
3950
- "identities.messages.1040009": "",
3951
- "identities.messages.1050019": "",
3952
- "identities.messages.1050020": "",
3953
- "identities.messages.1070014": "",
3954
- "identities.messages.1070015": "",
3955
- "identities.messages.4000037": "",
3956
- "identities.messages.4000038": "",
3957
- "identities.messages.4010009": "",
3958
- "identities.messages.4010010": "",
3959
- "login.cancel-button": "",
3960
- "login.cancel-label": "",
3961
- "input.placeholder": "",
3962
- "card.header.description.login": "",
3963
- "card.header.description.registration": "",
3964
- "card.header.parts.code": "",
3965
- "card.header.parts.identifier-first": "",
3966
- "card.header.parts.oidc": "",
3967
- "card.header.parts.passkey": "",
3968
- "card.header.parts.password.login": "",
3969
- "card.header.parts.password.registration": "",
3970
- "card.header.parts.webauthn": "",
3971
- "forms.label.forgot-password": "",
3972
- "login.subtitle": "",
3973
- "login.subtitle-refresh": "",
3974
- "misc.or": "",
3975
- "recovery.subtitle": "",
3976
- "registration.subtitle": "",
3977
- "settings.subtitle": "",
3978
- "verification.subtitle": "",
3979
3931
  "settings.totp.info.linked": "Actualmente tienes una aplicaci\xF3n de autenticaci\xF3n conectada.",
3980
3932
  "settings.totp.info.not-linked": "Para habilitar, escanea el c\xF3digo QR con tu autenticador e ingresa el c\xF3digo.",
3981
3933
  "settings.totp.title": "Aplicaci\xF3n Autenticadora",
@@ -3993,25 +3945,6 @@ var es_default = {
3993
3945
  "settings.profile.title": "Configuraci\xF3n de Perfil",
3994
3946
  "settings.webauthn.description": "Administra la configuraci\xF3n de tu token de hardware",
3995
3947
  "settings.webauthn.title": "Gestionar Tokens de Hardware",
3996
- "settings.oidc.info": "",
3997
- "settings.passkey.info": "",
3998
- "settings.title-lookup-secret": "",
3999
- "settings.title-navigation": "",
4000
- "settings.title-oidc": "",
4001
- "settings.title-passkey": "",
4002
- "settings.title-password": "",
4003
- "settings.title-profile": "",
4004
- "settings.title-totp": "",
4005
- "settings.title-webauthn": "",
4006
- "settings.webauthn.info": "",
4007
- "card.footer.select-another-method": "",
4008
- "account-linking.title": "",
4009
- "property.code": "",
4010
- "property.email": "",
4011
- "property.identifier": "",
4012
- "property.password": "",
4013
- "property.phone": "",
4014
- "property.username": "",
4015
3948
  "consent.title": "Autorizar {party}",
4016
3949
  "consent.subtitle": "Una aplicaci\xF3n de terceros quiere acceder a la informaci\xF3n asociada a su cuenta {identifier}.",
4017
3950
  "consent.scope.openid.title": "Identidad",
@@ -4026,12 +3959,71 @@ var es_default = {
4026
3959
  "consent.scope.address.description": "Acceda a su direcci\xF3n postal.",
4027
3960
  "consent.scope.phone.title": "N\xFAmero de tel\xE9fono",
4028
3961
  "consent.scope.phone.description": "Recupere su n\xFAmero de tel\xE9fono y su estado de verificaci\xF3n.",
4029
- "error.action.go-back": "",
4030
- "error.footer.copy": "",
4031
- "error.footer.text": "",
4032
- "error.instructions": "",
4033
- "error.title.what-can-i-do": "",
4034
- "error.title.what-happened": ""
3962
+ "error.title": "Ocurri\xF3 un error",
3963
+ "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.',
3964
+ "identities.messages.1010017": "Iniciar sesi\xF3n y vincular",
3965
+ "identities.messages.1010018": "Confirmar con {provider}",
3966
+ "identities.messages.1010019": "Solicitar c\xF3digo para continuar",
3967
+ "identities.messages.1010021": "Iniciar sesi\xF3n con clave de acceso",
3968
+ "identities.messages.1010022": "Iniciar sesi\xF3n con contrase\xF1a",
3969
+ "identities.messages.1010023": "Enviar c\xF3digo a {address}",
3970
+ "identities.messages.1040007": "Registrarse con clave de acceso",
3971
+ "identities.messages.1040008": "Atr\xE1s",
3972
+ "identities.messages.1040009": "Por favor, elige una credencial para autenticarte.",
3973
+ "identities.messages.1050019": "Agregar clave de acceso",
3974
+ "identities.messages.1070014": "Iniciar sesi\xF3n y vincular credencial",
3975
+ "identities.messages.1070015": "Por favor, completa el desaf\xEDo captcha para continuar.",
3976
+ "identities.messages.4000037": "Esta cuenta no existe o no tiene ning\xFAn m\xE9todo de inicio de sesi\xF3n configurado.",
3977
+ "identities.messages.4000038": "Fall\xF3 la verificaci\xF3n de Captcha, por favor intenta de nuevo.",
3978
+ "identities.messages.4010009": "Las credenciales vinculadas no coinciden.",
3979
+ "identities.messages.4010010": "La direcci\xF3n que ingresaste no coincide con ninguna direcci\xF3n conocida en la cuenta actual.",
3980
+ "login.cancel-button": "Cancelar",
3981
+ "login.cancel-label": "\xBFNo es la cuenta correcta?",
3982
+ "login.subtitle": "Iniciar sesi\xF3n con {parts}",
3983
+ "login.subtitle-refresh": "Confirma tu identidad con {parts}",
3984
+ "recovery.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para recibir un c\xF3digo de acceso \xFAnico",
3985
+ "registration.subtitle": "Registrarse con {parts}",
3986
+ "settings.subtitle": "Actualiza la configuraci\xF3n de tu cuenta",
3987
+ "settings.title-lookup-secret": "Administrar c\xF3digos de recuperaci\xF3n de respaldo 2FA",
3988
+ "settings.title-navigation": "Configuraci\xF3n de la cuenta",
3989
+ "settings.title-oidc": "Inicio de sesi\xF3n social",
3990
+ "settings.title-password": "Cambiar contrase\xF1a",
3991
+ "settings.title-profile": "Configuraci\xF3n del perfil",
3992
+ "settings.title-totp": "Administrar la aplicaci\xF3n de autenticaci\xF3n 2FA TOTP",
3993
+ "settings.title-webauthn": "Administrar tokens de hardware",
3994
+ "settings.title-passkey": "Administrar claves de acceso",
3995
+ "verification.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para verificarla",
3996
+ "input.placeholder": "Ingresa tu {placeholder}",
3997
+ "card.header.parts.oidc": "un proveedor social",
3998
+ "card.header.parts.password.registration": "tu {identifierLabel} y una contrase\xF1a",
3999
+ "card.header.parts.password.login": "tu {identifierLabel} y contrase\xF1a",
4000
+ "card.header.parts.code": "un c\xF3digo enviado a tu correo electr\xF3nico",
4001
+ "card.header.parts.passkey": "una clave de acceso",
4002
+ "card.header.parts.webauthn": "una clave de seguridad",
4003
+ "card.header.parts.identifier-first": "tu {identifierLabel}",
4004
+ "card.header.description.login": "Iniciar sesi\xF3n con {identifierLabel}",
4005
+ "card.header.description.registration": "Registrarse con {identifierLabel}",
4006
+ "misc.or": "o",
4007
+ "forms.label.forgot-password": "\xBFOlvidaste tu contrase\xF1a?",
4008
+ "settings.oidc.info": "Las cuentas conectadas de estos proveedores se pueden utilizar para iniciar sesi\xF3n en tu cuenta",
4009
+ "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",
4010
+ "settings.passkey.info": "Administra la configuraci\xF3n de tus claves de acceso",
4011
+ "card.footer.select-another-method": "Seleccionar otro m\xE9todo",
4012
+ "account-linking.title": "Vincular cuenta",
4013
+ "property.password": "contrase\xF1a",
4014
+ "property.email": "correo electr\xF3nico",
4015
+ "property.phone": "tel\xE9fono",
4016
+ "property.username": "nombre de usuario",
4017
+ "property.identifier": "identificador",
4018
+ "property.code": "c\xF3digo",
4019
+ "error.title.what-happened": "\xBFQu\xE9 pas\xF3?",
4020
+ "error.title.what-can-i-do": "\xBFQu\xE9 puedo hacer?",
4021
+ "error.instructions": "Por favor, int\xE9ntalo de nuevo en unos minutos o contacta al operador del sitio web.",
4022
+ "error.footer.text": "Al informar este error, incluye la siguiente informaci\xF3n:",
4023
+ "error.footer.copy": "Copiar",
4024
+ "error.action.go-back": "Regresar",
4025
+ "identities.messages.1010020": "",
4026
+ "identities.messages.1050020": 'Eliminar passkey "{display_name}"'
4035
4027
  };
4036
4028
 
4037
4029
  // src/locales/fr.json
@@ -4222,81 +4214,10 @@ var fr_default = {
4222
4214
  "two-step.totp.description": "Utilisez un code \xE0 usage unique \xE0 6 chiffres provenant de votre application d'authentification",
4223
4215
  "two-step.lookup_secret.title": "Code de r\xE9cup\xE9ration de secours",
4224
4216
  "two-step.lookup_secret.description": "Utilisez l'un de vos codes de secours \xE0 8 chiffres pour vous authentifier",
4225
- "identities.messages.1010023": "",
4226
- "identities.messages.1070015": "",
4227
- "identities.messages.4000038": "",
4228
- "login.cancel-button": "",
4229
- "login.cancel-label": "",
4230
- "identities.messages.1010016": "",
4231
- "identities.messages.1010017": "",
4232
- "identities.messages.1010018": "",
4233
- "identities.messages.1010019": "",
4234
- "identities.messages.1010020": "",
4235
- "identities.messages.1010021": "",
4236
- "identities.messages.1010022": "",
4237
- "identities.messages.1040007": "",
4238
- "identities.messages.1040008": "",
4239
- "identities.messages.1040009": "",
4240
- "identities.messages.1050019": "",
4241
- "identities.messages.1050020": "",
4242
- "identities.messages.1070014": "",
4243
- "identities.messages.4000037": "",
4244
- "identities.messages.4010009": "",
4245
- "identities.messages.4010010": "",
4246
- "input.placeholder": "",
4247
- "card.header.description.login": "",
4248
- "card.header.description.registration": "",
4249
- "card.header.parts.code": "",
4250
- "card.header.parts.identifier-first": "",
4251
- "card.header.parts.oidc": "",
4252
- "card.header.parts.passkey": "",
4253
- "card.header.parts.password.login": "",
4254
- "card.header.parts.password.registration": "",
4255
- "card.header.parts.webauthn": "",
4256
- "forms.label.forgot-password": "",
4257
- "login.subtitle": "",
4258
- "login.subtitle-refresh": "",
4259
- "misc.or": "",
4260
- "recovery.subtitle": "",
4261
- "registration.subtitle": "",
4262
- "settings.subtitle": "",
4263
- "verification.subtitle": "",
4264
4217
  "settings.totp.info.linked": "Vous avez actuellement une application d'authentification connect\xE9e.",
4265
4218
  "settings.totp.info.not-linked": "Pour activer, scannez le QR code avec votre authentificateur et entrez le code.",
4266
4219
  "settings.totp.title": "Application d'authentification",
4267
4220
  "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.",
4268
- "settings.lookup_secret.description": "",
4269
- "settings.lookup_secret.title": "",
4270
- "settings.navigation.title": "",
4271
- "settings.oidc.description": "",
4272
- "settings.oidc.info": "",
4273
- "settings.oidc.title": "",
4274
- "settings.passkey.description": "",
4275
- "settings.passkey.info": "",
4276
- "settings.passkey.title": "",
4277
- "settings.password.description": "",
4278
- "settings.password.title": "",
4279
- "settings.profile.description": "",
4280
- "settings.profile.title": "",
4281
- "settings.title-lookup-secret": "",
4282
- "settings.title-navigation": "",
4283
- "settings.title-oidc": "",
4284
- "settings.title-passkey": "",
4285
- "settings.title-password": "",
4286
- "settings.title-profile": "",
4287
- "settings.title-totp": "",
4288
- "settings.title-webauthn": "",
4289
- "settings.webauthn.description": "",
4290
- "settings.webauthn.info": "",
4291
- "settings.webauthn.title": "",
4292
- "card.footer.select-another-method": "",
4293
- "account-linking.title": "",
4294
- "property.code": "",
4295
- "property.email": "",
4296
- "property.identifier": "",
4297
- "property.password": "",
4298
- "property.phone": "",
4299
- "property.username": "",
4300
4221
  "consent.title": "Autoriser {party}",
4301
4222
  "consent.subtitle": "Une application tierce souhaite acc\xE9der aux informations associ\xE9es \xE0 votre compte {identifier}.",
4302
4223
  "consent.scope.openid.title": "Identit\xE9",
@@ -4311,12 +4232,83 @@ var fr_default = {
4311
4232
  "consent.scope.address.description": "Acc\xE8de \xE0 votre adresse postale.",
4312
4233
  "consent.scope.phone.title": "Num\xE9ro de t\xE9l\xE9phone",
4313
4234
  "consent.scope.phone.description": "R\xE9cup\xE8re votre num\xE9ro de t\xE9l\xE9phone et son statut de v\xE9rification.",
4314
- "error.action.go-back": "",
4315
- "error.footer.copy": "",
4316
- "error.footer.text": "",
4317
- "error.title.what-can-i-do": "",
4318
- "error.title.what-happened": "",
4319
- "error.instructions": ""
4235
+ "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.",
4236
+ "identities.messages.1010017": "Se connecter et lier",
4237
+ "identities.messages.1010018": "Confirmer avec {provider}",
4238
+ "identities.messages.1010019": "Demander un code pour continuer",
4239
+ "identities.messages.1010021": "Se connecter avec une cl\xE9 d'acc\xE8s",
4240
+ "identities.messages.1010022": "Se connecter avec un mot de passe",
4241
+ "identities.messages.1010023": "Envoyer le code \xE0 {address}",
4242
+ "identities.messages.1040007": "S'inscrire avec une cl\xE9 d'acc\xE8s",
4243
+ "identities.messages.1040008": "Retour",
4244
+ "identities.messages.1040009": "Veuillez choisir une identification pour vous authentifier.",
4245
+ "identities.messages.1050019": "Ajouter une cl\xE9 d'acc\xE8s",
4246
+ "identities.messages.1050020": "Supprimer la cl\xE9 d'acc\xE8s \xAB {display_name} \xBB",
4247
+ "identities.messages.1070014": "Se connecter et lier l'identification",
4248
+ "identities.messages.1070015": "Veuillez compl\xE9ter le d\xE9fi captcha pour continuer.",
4249
+ "identities.messages.4000037": "Ce compte n'existe pas ou n'a aucune m\xE9thode de connexion configur\xE9e.",
4250
+ "identities.messages.4000038": "La v\xE9rification Captcha a \xE9chou\xE9, veuillez r\xE9essayer.",
4251
+ "identities.messages.4010009": "Les identifications li\xE9es ne correspondent pas.",
4252
+ "identities.messages.4010010": "L'adresse que vous avez saisie ne correspond \xE0 aucune adresse connue dans le compte actuel.",
4253
+ "login.cancel-button": "Annuler",
4254
+ "login.cancel-label": "Ce n'est pas le bon compte\xA0?",
4255
+ "login.subtitle": "Se connecter avec {parts}",
4256
+ "login.subtitle-refresh": "Confirmez votre identit\xE9 avec {parts}",
4257
+ "recovery.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour recevoir un code d'acc\xE8s unique",
4258
+ "registration.subtitle": "S'inscrire avec {parts}",
4259
+ "settings.subtitle": "Mettre \xE0 jour les param\xE8tres de votre compte",
4260
+ "settings.title-lookup-secret": "G\xE9rer les codes de r\xE9cup\xE9ration de sauvegarde 2FA",
4261
+ "settings.title-navigation": "Param\xE8tres du compte",
4262
+ "settings.title-oidc": "Connexion via les r\xE9seaux sociaux",
4263
+ "settings.title-password": "Changer le mot de passe",
4264
+ "settings.title-profile": "Param\xE8tres du profil",
4265
+ "settings.title-totp": "G\xE9rer l'application d'authentification 2FA TOTP",
4266
+ "settings.title-webauthn": "G\xE9rer les jetons mat\xE9riels",
4267
+ "settings.title-passkey": "G\xE9rer les cl\xE9s d'acc\xE8s",
4268
+ "settings.navigation.title": "Param\xE8tres du compte",
4269
+ "settings.password.title": "Changer le mot de passe",
4270
+ "settings.password.description": "Modifier votre mot de passe",
4271
+ "settings.profile.title": "Param\xE8tres du profil",
4272
+ "settings.profile.description": "Mettre \xE0 jour les informations de votre profil",
4273
+ "settings.webauthn.title": "G\xE9rer les jetons mat\xE9riels",
4274
+ "settings.webauthn.description": "G\xE9rer les param\xE8tres de votre jeton mat\xE9riel",
4275
+ "verification.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour la v\xE9rifier",
4276
+ "input.placeholder": "Saisissez votre {placeholder}",
4277
+ "card.header.parts.oidc": "un fournisseur de r\xE9seaux sociaux",
4278
+ "card.header.parts.password.registration": "votre {identifierLabel} et un mot de passe",
4279
+ "card.header.parts.password.login": "votre {identifierLabel} et votre mot de passe",
4280
+ "card.header.parts.code": "un code envoy\xE9 \xE0 votre adresse e-mail",
4281
+ "card.header.parts.passkey": "une cl\xE9 d'acc\xE8s",
4282
+ "card.header.parts.webauthn": "une cl\xE9 de s\xE9curit\xE9",
4283
+ "card.header.parts.identifier-first": "votre {identifierLabel}",
4284
+ "card.header.description.login": "Se connecter avec {identifierLabel}",
4285
+ "card.header.description.registration": "S'inscrire avec {identifierLabel}",
4286
+ "misc.or": "ou",
4287
+ "forms.label.forgot-password": "Mot de passe oubli\xE9?",
4288
+ "settings.lookup_secret.title": "Codes de r\xE9cup\xE9ration de sauvegarde (second facteur)",
4289
+ "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.",
4290
+ "settings.oidc.title": "Comptes connect\xE9s",
4291
+ "settings.oidc.description": "Connectez un fournisseur de connexion sociale \xE0 votre compte.",
4292
+ "settings.oidc.info": "Les comptes connect\xE9s de ces fournisseurs peuvent \xEAtre utilis\xE9s pour vous connecter \xE0 votre compte",
4293
+ "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",
4294
+ "settings.passkey.title": "G\xE9rer les cl\xE9s d'acc\xE8s",
4295
+ "settings.passkey.description": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
4296
+ "settings.passkey.info": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
4297
+ "card.footer.select-another-method": "S\xE9lectionner une autre m\xE9thode",
4298
+ "account-linking.title": "Lier le compte",
4299
+ "property.password": "mot de passe",
4300
+ "property.email": "e-mail",
4301
+ "property.phone": "t\xE9l\xE9phone",
4302
+ "property.username": "nom d'utilisateur",
4303
+ "property.identifier": "identifiant",
4304
+ "property.code": "code",
4305
+ "error.title.what-happened": "Que s'est-il pass\xE9?",
4306
+ "error.title.what-can-i-do": "Que puis-je faire?",
4307
+ "error.instructions": "Veuillez r\xE9essayer dans quelques minutes ou contacter l'op\xE9rateur du site Web.",
4308
+ "error.footer.text": "Lorsque vous signalez cette erreur, veuillez inclure les informations suivantes:",
4309
+ "error.footer.copy": "Copier",
4310
+ "error.action.go-back": "Retour",
4311
+ "identities.messages.1010020": ""
4320
4312
  };
4321
4313
 
4322
4314
  // src/locales/nl.json
@@ -5502,7 +5494,7 @@ var IntlProvider = ({
5502
5494
 
5503
5495
  // src/theme/default/flows/error.tsx
5504
5496
  import { FormattedMessage } from "react-intl";
5505
- import { jsx as jsx100, jsxs as jsxs46 } from "react/jsx-runtime";
5497
+ import { jsx as jsx100, jsxs as jsxs45 } from "react/jsx-runtime";
5506
5498
  function isOAuth2Error(error) {
5507
5499
  return !!error && typeof error === "object" && "error" in error && "error_description" in error;
5508
5500
  }
@@ -5560,38 +5552,38 @@ function Error2({
5560
5552
  {
5561
5553
  locale: (_f = (_e = config.intl) == null ? void 0 : _e.locale) != null ? _f : "en",
5562
5554
  customTranslations: (_g = config.intl) == null ? void 0 : _g.customTranslations,
5563
- children: /* @__PURE__ */ jsx100(Card, { children: /* @__PURE__ */ jsxs46(
5555
+ children: /* @__PURE__ */ jsx100(Card, { children: /* @__PURE__ */ jsxs45(
5564
5556
  "div",
5565
5557
  {
5566
5558
  className: "flex flex-col gap-6 antialiased",
5567
5559
  "data-testid": "ory/screen/error",
5568
5560
  children: [
5569
- /* @__PURE__ */ jsxs46("header", { className: "flex flex-col gap-8 antialiased", children: [
5561
+ /* @__PURE__ */ jsxs45("header", { className: "flex flex-col gap-8 antialiased", children: [
5570
5562
  /* @__PURE__ */ jsx100(ErrorLogo, { config }),
5571
- /* @__PURE__ */ jsxs46("div", { className: "flex flex-col gap-2", children: [
5563
+ /* @__PURE__ */ jsxs45("div", { className: "flex flex-col gap-2", children: [
5572
5564
  /* @__PURE__ */ jsx100("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx100(FormattedMessage, { id: "error.title.what-happened" }) }),
5573
5565
  /* @__PURE__ */ jsx100("p", { className: "leading-normal text-interface-foreground-default-secondary", children: (_h = parsed.message) != null ? _h : description }),
5574
5566
  parsed.reason && /* @__PURE__ */ jsx100("p", { className: "leading-normal text-interface-foreground-default-secondary", children: parsed.reason })
5575
5567
  ] })
5576
5568
  ] }),
5577
5569
  /* @__PURE__ */ jsx100(Divider, {}),
5578
- /* @__PURE__ */ jsxs46("div", { className: "flex flex-col gap-2", children: [
5570
+ /* @__PURE__ */ jsxs45("div", { className: "flex flex-col gap-2", children: [
5579
5571
  /* @__PURE__ */ jsx100("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx100(FormattedMessage, { id: "error.title.what-can-i-do" }) }),
5580
5572
  /* @__PURE__ */ jsx100("p", { className: "leading-normal text-interface-foreground-default-secondary", children: /* @__PURE__ */ jsx100(FormattedMessage, { id: "error.instructions" }) }),
5581
5573
  /* @__PURE__ */ jsx100("div", { children: session ? /* @__PURE__ */ jsx100(LoggedInActions, { config }) : /* @__PURE__ */ jsx100(GoBackButton, { config }) })
5582
5574
  ] }),
5583
5575
  /* @__PURE__ */ jsx100(Divider, {}),
5584
- /* @__PURE__ */ jsxs46("div", { className: "font-normal leading-normal antialiased gap-2 flex flex-col", children: [
5576
+ /* @__PURE__ */ jsxs45("div", { className: "font-normal leading-normal antialiased gap-2 flex flex-col", children: [
5585
5577
  /* @__PURE__ */ jsx100("span", { className: "text-interface-foreground-default-primary text-sm", children: /* @__PURE__ */ jsx100(FormattedMessage, { id: "error.footer.text" }) }),
5586
- parsed.id && /* @__PURE__ */ jsxs46("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5578
+ parsed.id && /* @__PURE__ */ jsxs45("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5587
5579
  "ID: ",
5588
5580
  /* @__PURE__ */ jsx100("code", { children: parsed.id })
5589
5581
  ] }),
5590
- /* @__PURE__ */ jsxs46("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5582
+ /* @__PURE__ */ jsxs45("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5591
5583
  "Time: ",
5592
5584
  /* @__PURE__ */ jsx100("code", { children: (_i = parsed.timestamp) == null ? void 0 : _i.toUTCString() })
5593
5585
  ] }),
5594
- /* @__PURE__ */ jsxs46("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5586
+ /* @__PURE__ */ jsxs45("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
5595
5587
  "Message: ",
5596
5588
  /* @__PURE__ */ jsx100("code", { children: parsed.reason })
5597
5589
  ] }),
@@ -5733,7 +5725,7 @@ import {
5733
5725
  OryProvider as OryProvider4,
5734
5726
  OrySettingsCard
5735
5727
  } from "@ory/elements-react";
5736
- import { Fragment as Fragment12, jsx as jsx104, jsxs as jsxs47 } from "react/jsx-runtime";
5728
+ import { Fragment as Fragment13, jsx as jsx104, jsxs as jsxs46 } from "react/jsx-runtime";
5737
5729
  function Settings({
5738
5730
  flow,
5739
5731
  config,
@@ -5748,7 +5740,7 @@ function Settings({
5748
5740
  flow,
5749
5741
  flowType: FlowType21.Settings,
5750
5742
  components,
5751
- children: children != null ? children : /* @__PURE__ */ jsxs47(Fragment12, { children: [
5743
+ children: children != null ? children : /* @__PURE__ */ jsxs46(Fragment13, { children: [
5752
5744
  /* @__PURE__ */ jsx104(HeadlessPageHeader, {}),
5753
5745
  /* @__PURE__ */ jsx104(OrySettingsCard, {})
5754
5746
  ] })