@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.
- package/CHANGELOG.md +28 -0
- package/README.md +253 -4
- package/dist/index.js +248 -205
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +248 -205
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.js +206 -214
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +223 -231
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +5 -4
- package/tsconfig.json +2 -1
|
@@ -703,7 +703,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
703
703
|
name: screenSelectionNode.attributes.name,
|
|
704
704
|
value: screenSelectionNode.attributes.value,
|
|
705
705
|
title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
|
|
706
|
-
"data-testid":
|
|
706
|
+
"data-testid": `ory/screen/${flowType}/action/restart`,
|
|
707
707
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
|
|
708
708
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
709
709
|
arrow_left_default,
|
|
@@ -726,7 +726,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
726
726
|
...attributes,
|
|
727
727
|
href: initFlowUrl2,
|
|
728
728
|
title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
|
|
729
|
-
"data-testid":
|
|
729
|
+
"data-testid": `ory/screen/${flowType}/action/restart`,
|
|
730
730
|
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
|
|
731
731
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
732
732
|
arrow_left_default,
|
|
@@ -1070,6 +1070,24 @@ function Spinner({ className }) {
|
|
|
1070
1070
|
|
|
1071
1071
|
// src/theme/default/components/form/social.tsx
|
|
1072
1072
|
var import_client_fetch7 = require("@ory/client-fetch");
|
|
1073
|
+
|
|
1074
|
+
// src/util/omitAttributes.ts
|
|
1075
|
+
function omitInputAttributes({
|
|
1076
|
+
...attrs
|
|
1077
|
+
}) {
|
|
1078
|
+
return omit(attrs, [
|
|
1079
|
+
"autocomplete",
|
|
1080
|
+
"label",
|
|
1081
|
+
"node_type",
|
|
1082
|
+
"maxlength",
|
|
1083
|
+
"onclick",
|
|
1084
|
+
"onclickTrigger",
|
|
1085
|
+
"onload",
|
|
1086
|
+
"onloadTrigger"
|
|
1087
|
+
]);
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
// src/theme/default/components/form/social.tsx
|
|
1073
1091
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1074
1092
|
function extractProvider(context) {
|
|
1075
1093
|
if (context && typeof context === "object" && "provider" in context && typeof context.provider === "string") {
|
|
@@ -1086,12 +1104,7 @@ function DefaultButtonSocial({
|
|
|
1086
1104
|
}) {
|
|
1087
1105
|
var _a, _b, _c;
|
|
1088
1106
|
const logos2 = { ...provider_logos_default, ...providedLogos };
|
|
1089
|
-
const {
|
|
1090
|
-
node_type: _ignoredNodeType,
|
|
1091
|
-
type: _ignoredType,
|
|
1092
|
-
name: _ignoredName,
|
|
1093
|
-
...props
|
|
1094
|
-
} = attributes;
|
|
1107
|
+
const { type: _ignoredType, name: _ignoredName, ...rest } = attributes;
|
|
1095
1108
|
const {
|
|
1096
1109
|
flow: { ui }
|
|
1097
1110
|
} = (0, import_elements_react5.useOryFlow)();
|
|
@@ -1124,11 +1137,11 @@ function DefaultButtonSocial({
|
|
|
1124
1137
|
type: "submit",
|
|
1125
1138
|
name: "provider",
|
|
1126
1139
|
"data-testid": `ory/form/node/input/${attributes.name}`,
|
|
1127
|
-
...props,
|
|
1128
1140
|
onClick: localOnClick,
|
|
1129
1141
|
"data-loading": clicked,
|
|
1130
1142
|
disabled: isSubmitting,
|
|
1131
1143
|
"aria-label": label,
|
|
1144
|
+
...omitInputAttributes(rest),
|
|
1132
1145
|
children: [
|
|
1133
1146
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "size-5 relative", children: !clicked ? Logo ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Logo, { size: 20 }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "flex aspect-square items-center justify-center rounded-[999px] border text-xs", children: provider.slice(0, 2) }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Spinner, { className: "size-5" }) }),
|
|
1134
1147
|
showLabel && node.meta.label ? /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
|
@@ -1391,19 +1404,7 @@ var DefaultButton = ({
|
|
|
1391
1404
|
onClick
|
|
1392
1405
|
}) => {
|
|
1393
1406
|
var _a;
|
|
1394
|
-
const {
|
|
1395
|
-
type,
|
|
1396
|
-
name,
|
|
1397
|
-
value,
|
|
1398
|
-
// Button does not support these attributes, so we skip them
|
|
1399
|
-
autocomplete: _ignoredAutocomplete,
|
|
1400
|
-
label: _ignoredLabel,
|
|
1401
|
-
node_type: _ignoredNodeType,
|
|
1402
|
-
maxlength: _ignoredMaxLength,
|
|
1403
|
-
onclick: _ignoredOnClick,
|
|
1404
|
-
// End of skipped attributes
|
|
1405
|
-
...rest
|
|
1406
|
-
} = attributes;
|
|
1407
|
+
const { type, name, value, ...rest } = attributes;
|
|
1407
1408
|
const [clicked, setClicked] = (0, import_react4.useState)(false);
|
|
1408
1409
|
const intl = (0, import_react_intl6.useIntl)();
|
|
1409
1410
|
const label = (0, import_client_fetch9.getNodeLabel)(node);
|
|
@@ -1420,7 +1421,7 @@ var DefaultButton = ({
|
|
|
1420
1421
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1421
1422
|
"button",
|
|
1422
1423
|
{
|
|
1423
|
-
...rest,
|
|
1424
|
+
...omitInputAttributes(rest),
|
|
1424
1425
|
value,
|
|
1425
1426
|
name,
|
|
1426
1427
|
type: type === "button" ? "button" : "submit",
|
|
@@ -1582,16 +1583,7 @@ var DefaultCheckbox = ({
|
|
|
1582
1583
|
attributes: initialAttributes,
|
|
1583
1584
|
node
|
|
1584
1585
|
}) => {
|
|
1585
|
-
const {
|
|
1586
|
-
value,
|
|
1587
|
-
name,
|
|
1588
|
-
// Button does not support these attributes, so we skip them
|
|
1589
|
-
autocomplete: _autocomplete,
|
|
1590
|
-
onclick: _onclick,
|
|
1591
|
-
maxlength: _max,
|
|
1592
|
-
// End of skipped attributes
|
|
1593
|
-
...attributes
|
|
1594
|
-
} = initialAttributes;
|
|
1586
|
+
const { value, name, ...attributes } = initialAttributes;
|
|
1595
1587
|
const intl = (0, import_react_intl8.useIntl)();
|
|
1596
1588
|
const label = (0, import_client_fetch10.getNodeLabel)(node);
|
|
1597
1589
|
const { register } = (0, import_react_hook_form4.useFormContext)();
|
|
@@ -1601,7 +1593,7 @@ var DefaultCheckbox = ({
|
|
|
1601
1593
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1602
1594
|
"input",
|
|
1603
1595
|
{
|
|
1604
|
-
...attributes,
|
|
1596
|
+
...omitInputAttributes(attributes),
|
|
1605
1597
|
defaultChecked: Boolean(value),
|
|
1606
1598
|
type: "checkbox",
|
|
1607
1599
|
className: cn(
|
|
@@ -1676,7 +1668,13 @@ function DefaultHorizontalDivider() {
|
|
|
1676
1668
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1677
1669
|
function DefaultImage({ attributes, node }) {
|
|
1678
1670
|
var _a;
|
|
1679
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("figure", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("figure", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1672
|
+
"img",
|
|
1673
|
+
{
|
|
1674
|
+
...omitInputAttributes(attributes),
|
|
1675
|
+
alt: ((_a = node.meta.label) == null ? void 0 : _a.text) || ""
|
|
1676
|
+
}
|
|
1677
|
+
) });
|
|
1680
1678
|
}
|
|
1681
1679
|
|
|
1682
1680
|
// src/theme/default/components/form/input.tsx
|
|
@@ -1716,14 +1714,7 @@ var DefaultInput = ({
|
|
|
1716
1714
|
}) => {
|
|
1717
1715
|
const label = (0, import_client_fetch12.getNodeLabel)(node);
|
|
1718
1716
|
const { register } = (0, import_react_hook_form5.useFormContext)();
|
|
1719
|
-
const {
|
|
1720
|
-
value,
|
|
1721
|
-
autocomplete,
|
|
1722
|
-
name,
|
|
1723
|
-
maxlength,
|
|
1724
|
-
node_type: _,
|
|
1725
|
-
...rest
|
|
1726
|
-
} = attributes;
|
|
1717
|
+
const { value, autocomplete, name, maxlength, ...rest } = attributes;
|
|
1727
1718
|
const intl = (0, import_react_intl9.useIntl)();
|
|
1728
1719
|
const { flowType } = (0, import_elements_react10.useOryFlow)();
|
|
1729
1720
|
const inputRef = (0, import_react6.useRef)(null);
|
|
@@ -1763,7 +1754,7 @@ var DefaultInput = ({
|
|
|
1763
1754
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1764
1755
|
"input",
|
|
1765
1756
|
{
|
|
1766
|
-
...rest,
|
|
1757
|
+
...omitInputAttributes(rest),
|
|
1767
1758
|
onClick,
|
|
1768
1759
|
maxLength: maxlength,
|
|
1769
1760
|
autoComplete: autocomplete,
|
|
@@ -1896,7 +1887,7 @@ var DefaultLinkButton = (0, import_react7.forwardRef)(({ attributes, node }, ref
|
|
|
1896
1887
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1897
1888
|
"a",
|
|
1898
1889
|
{
|
|
1899
|
-
...attributes,
|
|
1890
|
+
...omitInputAttributes(attributes),
|
|
1900
1891
|
ref,
|
|
1901
1892
|
title: label ? (0, import_elements_react12.uiTextToFormattedMessage)(label, intl) : "",
|
|
1902
1893
|
"data-testid": `ory/form/node/link/${attributes.id}`,
|
|
@@ -2984,7 +2975,7 @@ var import_client_fetch36 = require("@ory/client-fetch");
|
|
|
2984
2975
|
var import_react16 = require("react");
|
|
2985
2976
|
|
|
2986
2977
|
// src/context/intl-context.tsx
|
|
2987
|
-
var
|
|
2978
|
+
var import_react_intl22 = require("react-intl");
|
|
2988
2979
|
|
|
2989
2980
|
// src/context/flow-context.tsx
|
|
2990
2981
|
var import_react14 = require("react");
|
|
@@ -3078,6 +3069,7 @@ var import_react_hook_form18 = require("react-hook-form");
|
|
|
3078
3069
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3079
3070
|
|
|
3080
3071
|
// src/components/card/card-two-step.tsx
|
|
3072
|
+
var import_react_intl15 = require("react-intl");
|
|
3081
3073
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3082
3074
|
|
|
3083
3075
|
// src/components/form/groups.tsx
|
|
@@ -3099,31 +3091,31 @@ var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
|
3099
3091
|
|
|
3100
3092
|
// src/components/settings/settings-card.tsx
|
|
3101
3093
|
var import_client_fetch35 = require("@ory/client-fetch");
|
|
3102
|
-
var
|
|
3094
|
+
var import_react_intl21 = require("react-intl");
|
|
3103
3095
|
|
|
3104
3096
|
// src/components/settings/oidc-settings.tsx
|
|
3105
|
-
var
|
|
3097
|
+
var import_react_intl16 = require("react-intl");
|
|
3106
3098
|
var import_react_hook_form21 = require("react-hook-form");
|
|
3107
3099
|
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
3108
3100
|
|
|
3109
3101
|
// src/components/settings/passkey-settings.tsx
|
|
3110
3102
|
var import_react_hook_form22 = require("react-hook-form");
|
|
3111
|
-
var
|
|
3103
|
+
var import_react_intl17 = require("react-intl");
|
|
3112
3104
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
3113
3105
|
|
|
3114
3106
|
// src/components/settings/recovery-codes-settings.tsx
|
|
3115
|
-
var
|
|
3107
|
+
var import_react_intl18 = require("react-intl");
|
|
3116
3108
|
var import_react_hook_form23 = require("react-hook-form");
|
|
3117
3109
|
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
3118
3110
|
|
|
3119
3111
|
// src/components/settings/totp-settings.tsx
|
|
3120
3112
|
var import_react_hook_form24 = require("react-hook-form");
|
|
3121
|
-
var
|
|
3113
|
+
var import_react_intl19 = require("react-intl");
|
|
3122
3114
|
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
3123
3115
|
|
|
3124
3116
|
// src/components/settings/webauthn-settings.tsx
|
|
3125
3117
|
var import_react_hook_form25 = require("react-hook-form");
|
|
3126
|
-
var
|
|
3118
|
+
var import_react_intl20 = require("react-intl");
|
|
3127
3119
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
3128
3120
|
|
|
3129
3121
|
// src/components/settings/settings-card.tsx
|
|
@@ -3598,20 +3590,20 @@ var de_default = {
|
|
|
3598
3590
|
"login.cancel-label": "Nicht das richtige Konto?",
|
|
3599
3591
|
"identities.messages.1010023": "Code an {address} senden",
|
|
3600
3592
|
"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.",
|
|
3601
|
-
"identities.messages.1010017": "",
|
|
3602
|
-
"identities.messages.1010018": "",
|
|
3603
|
-
"identities.messages.1010019": "",
|
|
3593
|
+
"identities.messages.1010017": "Anmelden und verbinden",
|
|
3594
|
+
"identities.messages.1010018": "Mit {provider} best\xE4tigen",
|
|
3595
|
+
"identities.messages.1010019": "Code senden um fortzufahren",
|
|
3604
3596
|
"identities.messages.1010020": "",
|
|
3605
|
-
"identities.messages.1010021": "",
|
|
3606
|
-
"identities.messages.1010022": "",
|
|
3607
|
-
"identities.messages.1040007": "",
|
|
3608
|
-
"identities.messages.1040008": "",
|
|
3609
|
-
"identities.messages.1040009": "",
|
|
3597
|
+
"identities.messages.1010021": "Mit Paskey anmelden",
|
|
3598
|
+
"identities.messages.1010022": "Mit Passwort anmelden",
|
|
3599
|
+
"identities.messages.1040007": "Mit Passkey registrieren",
|
|
3600
|
+
"identities.messages.1040008": "Zur\xFCck",
|
|
3601
|
+
"identities.messages.1040009": "Bitte w\xE4hlen Sie eine Authentifizierungsmethode, um fortzufahren.",
|
|
3610
3602
|
"identities.messages.1050019": "Passkey hinzuf\xFCgen",
|
|
3611
|
-
"identities.messages.1050020": "",
|
|
3612
|
-
"identities.messages.4000037": "",
|
|
3613
|
-
"identities.messages.4010009": "",
|
|
3614
|
-
"identities.messages.4010010": "",
|
|
3603
|
+
"identities.messages.1050020": 'Passkey "{display_name}" entfernen',
|
|
3604
|
+
"identities.messages.4000037": "F\xFCr die eingegebenen Daten existiert kein Account",
|
|
3605
|
+
"identities.messages.4010009": "Die Authentifizierungsmethode stimmt nicht mit der vorherigen Authentifizierungsmethode \xFCberein. Bitte versuchen Sie es erneut.",
|
|
3606
|
+
"identities.messages.4010010": "Die eingegebene Adresse stimmt nicht mit der Adresse \xFCberein, die Sie bei der Registrierung angegeben haben. Bitte versuchen Sie es erneut.",
|
|
3615
3607
|
"input.placeholder": "{placeholder} eingeben",
|
|
3616
3608
|
"card.header.parts.code": "einem Code per E-Mail",
|
|
3617
3609
|
"card.header.parts.identifier-first": "Ihr {identifierLabel}",
|
|
@@ -3712,7 +3704,6 @@ var es_default = {
|
|
|
3712
3704
|
"error.back-button": "Regresar",
|
|
3713
3705
|
"error.description": "Ocurri\xF3 un error con el siguiente mensaje:",
|
|
3714
3706
|
"error.support-email-link": "Si el problema persiste, por favor contacte a <a>{contactSupportEmail}</a>",
|
|
3715
|
-
"error.title": "",
|
|
3716
3707
|
"error.title-internal-server-error": "Error Interno del Servidor",
|
|
3717
3708
|
"error.title-not-found": "404 - P\xE1gina no encontrada",
|
|
3718
3709
|
"identities.messages.1010001": "Iniciar sesi\xF3n",
|
|
@@ -3887,45 +3878,6 @@ var es_default = {
|
|
|
3887
3878
|
"two-step.totp.description": "Utilice un c\xF3digo de un solo uso de 6 d\xEDgitos de su aplicaci\xF3n de autenticaci\xF3n",
|
|
3888
3879
|
"two-step.lookup_secret.title": "C\xF3digo de recuperaci\xF3n de respaldo",
|
|
3889
3880
|
"two-step.lookup_secret.description": "Utilice uno de sus c\xF3digos de respaldo de 8 d\xEDgitos para autenticarse",
|
|
3890
|
-
"identities.messages.1010016": "",
|
|
3891
|
-
"identities.messages.1010017": "",
|
|
3892
|
-
"identities.messages.1010018": "",
|
|
3893
|
-
"identities.messages.1010019": "",
|
|
3894
|
-
"identities.messages.1010020": "",
|
|
3895
|
-
"identities.messages.1010021": "",
|
|
3896
|
-
"identities.messages.1010022": "",
|
|
3897
|
-
"identities.messages.1010023": "",
|
|
3898
|
-
"identities.messages.1040007": "",
|
|
3899
|
-
"identities.messages.1040008": "",
|
|
3900
|
-
"identities.messages.1040009": "",
|
|
3901
|
-
"identities.messages.1050019": "",
|
|
3902
|
-
"identities.messages.1050020": "",
|
|
3903
|
-
"identities.messages.1070014": "",
|
|
3904
|
-
"identities.messages.1070015": "",
|
|
3905
|
-
"identities.messages.4000037": "",
|
|
3906
|
-
"identities.messages.4000038": "",
|
|
3907
|
-
"identities.messages.4010009": "",
|
|
3908
|
-
"identities.messages.4010010": "",
|
|
3909
|
-
"login.cancel-button": "",
|
|
3910
|
-
"login.cancel-label": "",
|
|
3911
|
-
"input.placeholder": "",
|
|
3912
|
-
"card.header.description.login": "",
|
|
3913
|
-
"card.header.description.registration": "",
|
|
3914
|
-
"card.header.parts.code": "",
|
|
3915
|
-
"card.header.parts.identifier-first": "",
|
|
3916
|
-
"card.header.parts.oidc": "",
|
|
3917
|
-
"card.header.parts.passkey": "",
|
|
3918
|
-
"card.header.parts.password.login": "",
|
|
3919
|
-
"card.header.parts.password.registration": "",
|
|
3920
|
-
"card.header.parts.webauthn": "",
|
|
3921
|
-
"forms.label.forgot-password": "",
|
|
3922
|
-
"login.subtitle": "",
|
|
3923
|
-
"login.subtitle-refresh": "",
|
|
3924
|
-
"misc.or": "",
|
|
3925
|
-
"recovery.subtitle": "",
|
|
3926
|
-
"registration.subtitle": "",
|
|
3927
|
-
"settings.subtitle": "",
|
|
3928
|
-
"verification.subtitle": "",
|
|
3929
3881
|
"settings.totp.info.linked": "Actualmente tienes una aplicaci\xF3n de autenticaci\xF3n conectada.",
|
|
3930
3882
|
"settings.totp.info.not-linked": "Para habilitar, escanea el c\xF3digo QR con tu autenticador e ingresa el c\xF3digo.",
|
|
3931
3883
|
"settings.totp.title": "Aplicaci\xF3n Autenticadora",
|
|
@@ -3943,25 +3895,6 @@ var es_default = {
|
|
|
3943
3895
|
"settings.profile.title": "Configuraci\xF3n de Perfil",
|
|
3944
3896
|
"settings.webauthn.description": "Administra la configuraci\xF3n de tu token de hardware",
|
|
3945
3897
|
"settings.webauthn.title": "Gestionar Tokens de Hardware",
|
|
3946
|
-
"settings.oidc.info": "",
|
|
3947
|
-
"settings.passkey.info": "",
|
|
3948
|
-
"settings.title-lookup-secret": "",
|
|
3949
|
-
"settings.title-navigation": "",
|
|
3950
|
-
"settings.title-oidc": "",
|
|
3951
|
-
"settings.title-passkey": "",
|
|
3952
|
-
"settings.title-password": "",
|
|
3953
|
-
"settings.title-profile": "",
|
|
3954
|
-
"settings.title-totp": "",
|
|
3955
|
-
"settings.title-webauthn": "",
|
|
3956
|
-
"settings.webauthn.info": "",
|
|
3957
|
-
"card.footer.select-another-method": "",
|
|
3958
|
-
"account-linking.title": "",
|
|
3959
|
-
"property.code": "",
|
|
3960
|
-
"property.email": "",
|
|
3961
|
-
"property.identifier": "",
|
|
3962
|
-
"property.password": "",
|
|
3963
|
-
"property.phone": "",
|
|
3964
|
-
"property.username": "",
|
|
3965
3898
|
"consent.title": "Autorizar {party}",
|
|
3966
3899
|
"consent.subtitle": "Una aplicaci\xF3n de terceros quiere acceder a la informaci\xF3n asociada a su cuenta {identifier}.",
|
|
3967
3900
|
"consent.scope.openid.title": "Identidad",
|
|
@@ -3976,12 +3909,71 @@ var es_default = {
|
|
|
3976
3909
|
"consent.scope.address.description": "Acceda a su direcci\xF3n postal.",
|
|
3977
3910
|
"consent.scope.phone.title": "N\xFAmero de tel\xE9fono",
|
|
3978
3911
|
"consent.scope.phone.description": "Recupere su n\xFAmero de tel\xE9fono y su estado de verificaci\xF3n.",
|
|
3979
|
-
"error.
|
|
3980
|
-
"
|
|
3981
|
-
"
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
3984
|
-
"
|
|
3912
|
+
"error.title": "Ocurri\xF3 un error",
|
|
3913
|
+
"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.',
|
|
3914
|
+
"identities.messages.1010017": "Iniciar sesi\xF3n y vincular",
|
|
3915
|
+
"identities.messages.1010018": "Confirmar con {provider}",
|
|
3916
|
+
"identities.messages.1010019": "Solicitar c\xF3digo para continuar",
|
|
3917
|
+
"identities.messages.1010021": "Iniciar sesi\xF3n con clave de acceso",
|
|
3918
|
+
"identities.messages.1010022": "Iniciar sesi\xF3n con contrase\xF1a",
|
|
3919
|
+
"identities.messages.1010023": "Enviar c\xF3digo a {address}",
|
|
3920
|
+
"identities.messages.1040007": "Registrarse con clave de acceso",
|
|
3921
|
+
"identities.messages.1040008": "Atr\xE1s",
|
|
3922
|
+
"identities.messages.1040009": "Por favor, elige una credencial para autenticarte.",
|
|
3923
|
+
"identities.messages.1050019": "Agregar clave de acceso",
|
|
3924
|
+
"identities.messages.1070014": "Iniciar sesi\xF3n y vincular credencial",
|
|
3925
|
+
"identities.messages.1070015": "Por favor, completa el desaf\xEDo captcha para continuar.",
|
|
3926
|
+
"identities.messages.4000037": "Esta cuenta no existe o no tiene ning\xFAn m\xE9todo de inicio de sesi\xF3n configurado.",
|
|
3927
|
+
"identities.messages.4000038": "Fall\xF3 la verificaci\xF3n de Captcha, por favor intenta de nuevo.",
|
|
3928
|
+
"identities.messages.4010009": "Las credenciales vinculadas no coinciden.",
|
|
3929
|
+
"identities.messages.4010010": "La direcci\xF3n que ingresaste no coincide con ninguna direcci\xF3n conocida en la cuenta actual.",
|
|
3930
|
+
"login.cancel-button": "Cancelar",
|
|
3931
|
+
"login.cancel-label": "\xBFNo es la cuenta correcta?",
|
|
3932
|
+
"login.subtitle": "Iniciar sesi\xF3n con {parts}",
|
|
3933
|
+
"login.subtitle-refresh": "Confirma tu identidad con {parts}",
|
|
3934
|
+
"recovery.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para recibir un c\xF3digo de acceso \xFAnico",
|
|
3935
|
+
"registration.subtitle": "Registrarse con {parts}",
|
|
3936
|
+
"settings.subtitle": "Actualiza la configuraci\xF3n de tu cuenta",
|
|
3937
|
+
"settings.title-lookup-secret": "Administrar c\xF3digos de recuperaci\xF3n de respaldo 2FA",
|
|
3938
|
+
"settings.title-navigation": "Configuraci\xF3n de la cuenta",
|
|
3939
|
+
"settings.title-oidc": "Inicio de sesi\xF3n social",
|
|
3940
|
+
"settings.title-password": "Cambiar contrase\xF1a",
|
|
3941
|
+
"settings.title-profile": "Configuraci\xF3n del perfil",
|
|
3942
|
+
"settings.title-totp": "Administrar la aplicaci\xF3n de autenticaci\xF3n 2FA TOTP",
|
|
3943
|
+
"settings.title-webauthn": "Administrar tokens de hardware",
|
|
3944
|
+
"settings.title-passkey": "Administrar claves de acceso",
|
|
3945
|
+
"verification.subtitle": "Ingresa la direcci\xF3n de correo electr\xF3nico asociada con tu cuenta para verificarla",
|
|
3946
|
+
"input.placeholder": "Ingresa tu {placeholder}",
|
|
3947
|
+
"card.header.parts.oidc": "un proveedor social",
|
|
3948
|
+
"card.header.parts.password.registration": "tu {identifierLabel} y una contrase\xF1a",
|
|
3949
|
+
"card.header.parts.password.login": "tu {identifierLabel} y contrase\xF1a",
|
|
3950
|
+
"card.header.parts.code": "un c\xF3digo enviado a tu correo electr\xF3nico",
|
|
3951
|
+
"card.header.parts.passkey": "una clave de acceso",
|
|
3952
|
+
"card.header.parts.webauthn": "una clave de seguridad",
|
|
3953
|
+
"card.header.parts.identifier-first": "tu {identifierLabel}",
|
|
3954
|
+
"card.header.description.login": "Iniciar sesi\xF3n con {identifierLabel}",
|
|
3955
|
+
"card.header.description.registration": "Registrarse con {identifierLabel}",
|
|
3956
|
+
"misc.or": "o",
|
|
3957
|
+
"forms.label.forgot-password": "\xBFOlvidaste tu contrase\xF1a?",
|
|
3958
|
+
"settings.oidc.info": "Las cuentas conectadas de estos proveedores se pueden utilizar para iniciar sesi\xF3n en tu cuenta",
|
|
3959
|
+
"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",
|
|
3960
|
+
"settings.passkey.info": "Administra la configuraci\xF3n de tus claves de acceso",
|
|
3961
|
+
"card.footer.select-another-method": "Seleccionar otro m\xE9todo",
|
|
3962
|
+
"account-linking.title": "Vincular cuenta",
|
|
3963
|
+
"property.password": "contrase\xF1a",
|
|
3964
|
+
"property.email": "correo electr\xF3nico",
|
|
3965
|
+
"property.phone": "tel\xE9fono",
|
|
3966
|
+
"property.username": "nombre de usuario",
|
|
3967
|
+
"property.identifier": "identificador",
|
|
3968
|
+
"property.code": "c\xF3digo",
|
|
3969
|
+
"error.title.what-happened": "\xBFQu\xE9 pas\xF3?",
|
|
3970
|
+
"error.title.what-can-i-do": "\xBFQu\xE9 puedo hacer?",
|
|
3971
|
+
"error.instructions": "Por favor, int\xE9ntalo de nuevo en unos minutos o contacta al operador del sitio web.",
|
|
3972
|
+
"error.footer.text": "Al informar este error, incluye la siguiente informaci\xF3n:",
|
|
3973
|
+
"error.footer.copy": "Copiar",
|
|
3974
|
+
"error.action.go-back": "Regresar",
|
|
3975
|
+
"identities.messages.1010020": "",
|
|
3976
|
+
"identities.messages.1050020": 'Eliminar passkey "{display_name}"'
|
|
3985
3977
|
};
|
|
3986
3978
|
|
|
3987
3979
|
// src/locales/fr.json
|
|
@@ -4172,81 +4164,10 @@ var fr_default = {
|
|
|
4172
4164
|
"two-step.totp.description": "Utilisez un code \xE0 usage unique \xE0 6 chiffres provenant de votre application d'authentification",
|
|
4173
4165
|
"two-step.lookup_secret.title": "Code de r\xE9cup\xE9ration de secours",
|
|
4174
4166
|
"two-step.lookup_secret.description": "Utilisez l'un de vos codes de secours \xE0 8 chiffres pour vous authentifier",
|
|
4175
|
-
"identities.messages.1010023": "",
|
|
4176
|
-
"identities.messages.1070015": "",
|
|
4177
|
-
"identities.messages.4000038": "",
|
|
4178
|
-
"login.cancel-button": "",
|
|
4179
|
-
"login.cancel-label": "",
|
|
4180
|
-
"identities.messages.1010016": "",
|
|
4181
|
-
"identities.messages.1010017": "",
|
|
4182
|
-
"identities.messages.1010018": "",
|
|
4183
|
-
"identities.messages.1010019": "",
|
|
4184
|
-
"identities.messages.1010020": "",
|
|
4185
|
-
"identities.messages.1010021": "",
|
|
4186
|
-
"identities.messages.1010022": "",
|
|
4187
|
-
"identities.messages.1040007": "",
|
|
4188
|
-
"identities.messages.1040008": "",
|
|
4189
|
-
"identities.messages.1040009": "",
|
|
4190
|
-
"identities.messages.1050019": "",
|
|
4191
|
-
"identities.messages.1050020": "",
|
|
4192
|
-
"identities.messages.1070014": "",
|
|
4193
|
-
"identities.messages.4000037": "",
|
|
4194
|
-
"identities.messages.4010009": "",
|
|
4195
|
-
"identities.messages.4010010": "",
|
|
4196
|
-
"input.placeholder": "",
|
|
4197
|
-
"card.header.description.login": "",
|
|
4198
|
-
"card.header.description.registration": "",
|
|
4199
|
-
"card.header.parts.code": "",
|
|
4200
|
-
"card.header.parts.identifier-first": "",
|
|
4201
|
-
"card.header.parts.oidc": "",
|
|
4202
|
-
"card.header.parts.passkey": "",
|
|
4203
|
-
"card.header.parts.password.login": "",
|
|
4204
|
-
"card.header.parts.password.registration": "",
|
|
4205
|
-
"card.header.parts.webauthn": "",
|
|
4206
|
-
"forms.label.forgot-password": "",
|
|
4207
|
-
"login.subtitle": "",
|
|
4208
|
-
"login.subtitle-refresh": "",
|
|
4209
|
-
"misc.or": "",
|
|
4210
|
-
"recovery.subtitle": "",
|
|
4211
|
-
"registration.subtitle": "",
|
|
4212
|
-
"settings.subtitle": "",
|
|
4213
|
-
"verification.subtitle": "",
|
|
4214
4167
|
"settings.totp.info.linked": "Vous avez actuellement une application d'authentification connect\xE9e.",
|
|
4215
4168
|
"settings.totp.info.not-linked": "Pour activer, scannez le QR code avec votre authentificateur et entrez le code.",
|
|
4216
4169
|
"settings.totp.title": "Application d'authentification",
|
|
4217
4170
|
"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.",
|
|
4218
|
-
"settings.lookup_secret.description": "",
|
|
4219
|
-
"settings.lookup_secret.title": "",
|
|
4220
|
-
"settings.navigation.title": "",
|
|
4221
|
-
"settings.oidc.description": "",
|
|
4222
|
-
"settings.oidc.info": "",
|
|
4223
|
-
"settings.oidc.title": "",
|
|
4224
|
-
"settings.passkey.description": "",
|
|
4225
|
-
"settings.passkey.info": "",
|
|
4226
|
-
"settings.passkey.title": "",
|
|
4227
|
-
"settings.password.description": "",
|
|
4228
|
-
"settings.password.title": "",
|
|
4229
|
-
"settings.profile.description": "",
|
|
4230
|
-
"settings.profile.title": "",
|
|
4231
|
-
"settings.title-lookup-secret": "",
|
|
4232
|
-
"settings.title-navigation": "",
|
|
4233
|
-
"settings.title-oidc": "",
|
|
4234
|
-
"settings.title-passkey": "",
|
|
4235
|
-
"settings.title-password": "",
|
|
4236
|
-
"settings.title-profile": "",
|
|
4237
|
-
"settings.title-totp": "",
|
|
4238
|
-
"settings.title-webauthn": "",
|
|
4239
|
-
"settings.webauthn.description": "",
|
|
4240
|
-
"settings.webauthn.info": "",
|
|
4241
|
-
"settings.webauthn.title": "",
|
|
4242
|
-
"card.footer.select-another-method": "",
|
|
4243
|
-
"account-linking.title": "",
|
|
4244
|
-
"property.code": "",
|
|
4245
|
-
"property.email": "",
|
|
4246
|
-
"property.identifier": "",
|
|
4247
|
-
"property.password": "",
|
|
4248
|
-
"property.phone": "",
|
|
4249
|
-
"property.username": "",
|
|
4250
4171
|
"consent.title": "Autoriser {party}",
|
|
4251
4172
|
"consent.subtitle": "Une application tierce souhaite acc\xE9der aux informations associ\xE9es \xE0 votre compte {identifier}.",
|
|
4252
4173
|
"consent.scope.openid.title": "Identit\xE9",
|
|
@@ -4261,12 +4182,83 @@ var fr_default = {
|
|
|
4261
4182
|
"consent.scope.address.description": "Acc\xE8de \xE0 votre adresse postale.",
|
|
4262
4183
|
"consent.scope.phone.title": "Num\xE9ro de t\xE9l\xE9phone",
|
|
4263
4184
|
"consent.scope.phone.description": "R\xE9cup\xE8re votre num\xE9ro de t\xE9l\xE9phone et son statut de v\xE9rification.",
|
|
4264
|
-
"
|
|
4265
|
-
"
|
|
4266
|
-
"
|
|
4267
|
-
"
|
|
4268
|
-
"
|
|
4269
|
-
"
|
|
4185
|
+
"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.",
|
|
4186
|
+
"identities.messages.1010017": "Se connecter et lier",
|
|
4187
|
+
"identities.messages.1010018": "Confirmer avec {provider}",
|
|
4188
|
+
"identities.messages.1010019": "Demander un code pour continuer",
|
|
4189
|
+
"identities.messages.1010021": "Se connecter avec une cl\xE9 d'acc\xE8s",
|
|
4190
|
+
"identities.messages.1010022": "Se connecter avec un mot de passe",
|
|
4191
|
+
"identities.messages.1010023": "Envoyer le code \xE0 {address}",
|
|
4192
|
+
"identities.messages.1040007": "S'inscrire avec une cl\xE9 d'acc\xE8s",
|
|
4193
|
+
"identities.messages.1040008": "Retour",
|
|
4194
|
+
"identities.messages.1040009": "Veuillez choisir une identification pour vous authentifier.",
|
|
4195
|
+
"identities.messages.1050019": "Ajouter une cl\xE9 d'acc\xE8s",
|
|
4196
|
+
"identities.messages.1050020": "Supprimer la cl\xE9 d'acc\xE8s \xAB {display_name} \xBB",
|
|
4197
|
+
"identities.messages.1070014": "Se connecter et lier l'identification",
|
|
4198
|
+
"identities.messages.1070015": "Veuillez compl\xE9ter le d\xE9fi captcha pour continuer.",
|
|
4199
|
+
"identities.messages.4000037": "Ce compte n'existe pas ou n'a aucune m\xE9thode de connexion configur\xE9e.",
|
|
4200
|
+
"identities.messages.4000038": "La v\xE9rification Captcha a \xE9chou\xE9, veuillez r\xE9essayer.",
|
|
4201
|
+
"identities.messages.4010009": "Les identifications li\xE9es ne correspondent pas.",
|
|
4202
|
+
"identities.messages.4010010": "L'adresse que vous avez saisie ne correspond \xE0 aucune adresse connue dans le compte actuel.",
|
|
4203
|
+
"login.cancel-button": "Annuler",
|
|
4204
|
+
"login.cancel-label": "Ce n'est pas le bon compte\xA0?",
|
|
4205
|
+
"login.subtitle": "Se connecter avec {parts}",
|
|
4206
|
+
"login.subtitle-refresh": "Confirmez votre identit\xE9 avec {parts}",
|
|
4207
|
+
"recovery.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour recevoir un code d'acc\xE8s unique",
|
|
4208
|
+
"registration.subtitle": "S'inscrire avec {parts}",
|
|
4209
|
+
"settings.subtitle": "Mettre \xE0 jour les param\xE8tres de votre compte",
|
|
4210
|
+
"settings.title-lookup-secret": "G\xE9rer les codes de r\xE9cup\xE9ration de sauvegarde 2FA",
|
|
4211
|
+
"settings.title-navigation": "Param\xE8tres du compte",
|
|
4212
|
+
"settings.title-oidc": "Connexion via les r\xE9seaux sociaux",
|
|
4213
|
+
"settings.title-password": "Changer le mot de passe",
|
|
4214
|
+
"settings.title-profile": "Param\xE8tres du profil",
|
|
4215
|
+
"settings.title-totp": "G\xE9rer l'application d'authentification 2FA TOTP",
|
|
4216
|
+
"settings.title-webauthn": "G\xE9rer les jetons mat\xE9riels",
|
|
4217
|
+
"settings.title-passkey": "G\xE9rer les cl\xE9s d'acc\xE8s",
|
|
4218
|
+
"settings.navigation.title": "Param\xE8tres du compte",
|
|
4219
|
+
"settings.password.title": "Changer le mot de passe",
|
|
4220
|
+
"settings.password.description": "Modifier votre mot de passe",
|
|
4221
|
+
"settings.profile.title": "Param\xE8tres du profil",
|
|
4222
|
+
"settings.profile.description": "Mettre \xE0 jour les informations de votre profil",
|
|
4223
|
+
"settings.webauthn.title": "G\xE9rer les jetons mat\xE9riels",
|
|
4224
|
+
"settings.webauthn.description": "G\xE9rer les param\xE8tres de votre jeton mat\xE9riel",
|
|
4225
|
+
"verification.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour la v\xE9rifier",
|
|
4226
|
+
"input.placeholder": "Saisissez votre {placeholder}",
|
|
4227
|
+
"card.header.parts.oidc": "un fournisseur de r\xE9seaux sociaux",
|
|
4228
|
+
"card.header.parts.password.registration": "votre {identifierLabel} et un mot de passe",
|
|
4229
|
+
"card.header.parts.password.login": "votre {identifierLabel} et votre mot de passe",
|
|
4230
|
+
"card.header.parts.code": "un code envoy\xE9 \xE0 votre adresse e-mail",
|
|
4231
|
+
"card.header.parts.passkey": "une cl\xE9 d'acc\xE8s",
|
|
4232
|
+
"card.header.parts.webauthn": "une cl\xE9 de s\xE9curit\xE9",
|
|
4233
|
+
"card.header.parts.identifier-first": "votre {identifierLabel}",
|
|
4234
|
+
"card.header.description.login": "Se connecter avec {identifierLabel}",
|
|
4235
|
+
"card.header.description.registration": "S'inscrire avec {identifierLabel}",
|
|
4236
|
+
"misc.or": "ou",
|
|
4237
|
+
"forms.label.forgot-password": "Mot de passe oubli\xE9?",
|
|
4238
|
+
"settings.lookup_secret.title": "Codes de r\xE9cup\xE9ration de sauvegarde (second facteur)",
|
|
4239
|
+
"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.",
|
|
4240
|
+
"settings.oidc.title": "Comptes connect\xE9s",
|
|
4241
|
+
"settings.oidc.description": "Connectez un fournisseur de connexion sociale \xE0 votre compte.",
|
|
4242
|
+
"settings.oidc.info": "Les comptes connect\xE9s de ces fournisseurs peuvent \xEAtre utilis\xE9s pour vous connecter \xE0 votre compte",
|
|
4243
|
+
"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",
|
|
4244
|
+
"settings.passkey.title": "G\xE9rer les cl\xE9s d'acc\xE8s",
|
|
4245
|
+
"settings.passkey.description": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
|
|
4246
|
+
"settings.passkey.info": "G\xE9rer les param\xE8tres de vos cl\xE9s d'acc\xE8s",
|
|
4247
|
+
"card.footer.select-another-method": "S\xE9lectionner une autre m\xE9thode",
|
|
4248
|
+
"account-linking.title": "Lier le compte",
|
|
4249
|
+
"property.password": "mot de passe",
|
|
4250
|
+
"property.email": "e-mail",
|
|
4251
|
+
"property.phone": "t\xE9l\xE9phone",
|
|
4252
|
+
"property.username": "nom d'utilisateur",
|
|
4253
|
+
"property.identifier": "identifiant",
|
|
4254
|
+
"property.code": "code",
|
|
4255
|
+
"error.title.what-happened": "Que s'est-il pass\xE9?",
|
|
4256
|
+
"error.title.what-can-i-do": "Que puis-je faire?",
|
|
4257
|
+
"error.instructions": "Veuillez r\xE9essayer dans quelques minutes ou contacter l'op\xE9rateur du site Web.",
|
|
4258
|
+
"error.footer.text": "Lorsque vous signalez cette erreur, veuillez inclure les informations suivantes:",
|
|
4259
|
+
"error.footer.copy": "Copier",
|
|
4260
|
+
"error.action.go-back": "Retour",
|
|
4261
|
+
"identities.messages.1010020": ""
|
|
4270
4262
|
};
|
|
4271
4263
|
|
|
4272
4264
|
// src/locales/nl.json
|
|
@@ -5436,7 +5428,7 @@ var IntlProvider = ({
|
|
|
5436
5428
|
}) => {
|
|
5437
5429
|
const messages = mergeTranslations(customTranslations != null ? customTranslations : {});
|
|
5438
5430
|
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
5439
|
-
|
|
5431
|
+
import_react_intl22.IntlProvider,
|
|
5440
5432
|
{
|
|
5441
5433
|
onWarn: () => ({}),
|
|
5442
5434
|
defaultRichTextElements: {
|
|
@@ -5451,7 +5443,7 @@ var IntlProvider = ({
|
|
|
5451
5443
|
};
|
|
5452
5444
|
|
|
5453
5445
|
// src/theme/default/flows/error.tsx
|
|
5454
|
-
var
|
|
5446
|
+
var import_react_intl23 = require("react-intl");
|
|
5455
5447
|
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
5456
5448
|
function isOAuth2Error(error) {
|
|
5457
5449
|
return !!error && typeof error === "object" && "error" in error && "error_description" in error;
|
|
@@ -5519,20 +5511,20 @@ function Error2({
|
|
|
5519
5511
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("header", { className: "flex flex-col gap-8 antialiased", children: [
|
|
5520
5512
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ErrorLogo, { config }),
|
|
5521
5513
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5522
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5514
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.title.what-happened" }) }),
|
|
5523
5515
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "leading-normal text-interface-foreground-default-secondary", children: (_h = parsed.message) != null ? _h : description }),
|
|
5524
5516
|
parsed.reason && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "leading-normal text-interface-foreground-default-secondary", children: parsed.reason })
|
|
5525
5517
|
] })
|
|
5526
5518
|
] }),
|
|
5527
5519
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Divider, {}),
|
|
5528
5520
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5529
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5530
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "leading-normal text-interface-foreground-default-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5521
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.title.what-can-i-do" }) }),
|
|
5522
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "leading-normal text-interface-foreground-default-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.instructions" }) }),
|
|
5531
5523
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { children: session ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(LoggedInActions, { config }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(GoBackButton, { config }) })
|
|
5532
5524
|
] }),
|
|
5533
5525
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Divider, {}),
|
|
5534
5526
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "font-normal leading-normal antialiased gap-2 flex flex-col", children: [
|
|
5535
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: "text-interface-foreground-default-primary text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5527
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: "text-interface-foreground-default-primary text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.footer.text" }) }),
|
|
5536
5528
|
parsed.id && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
|
|
5537
5529
|
"ID: ",
|
|
5538
5530
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("code", { children: parsed.id })
|
|
@@ -5557,7 +5549,7 @@ ${parsed.reason ? `Message: ${parsed.reason}` : ""}
|
|
|
5557
5549
|
`;
|
|
5558
5550
|
void navigator.clipboard.writeText(text);
|
|
5559
5551
|
},
|
|
5560
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5552
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.footer.copy" })
|
|
5561
5553
|
}
|
|
5562
5554
|
) })
|
|
5563
5555
|
] })
|
|
@@ -5585,7 +5577,7 @@ function GoBackButton({ config }) {
|
|
|
5585
5577
|
{
|
|
5586
5578
|
className: "text-interface-foreground-default-primary underline",
|
|
5587
5579
|
href: config.project.default_redirect_url,
|
|
5588
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5580
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl23.FormattedMessage, { id: "error.action.go-back" })
|
|
5589
5581
|
}
|
|
5590
5582
|
);
|
|
5591
5583
|
}
|