@ory/elements-react 1.0.0-rc.5 → 1.0.0-rc.6
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/client/session-provider.d.mts +5 -0
- package/dist/client/session-provider.d.ts +5 -0
- package/dist/client/session-provider.js.map +1 -1
- package/dist/client/session-provider.mjs.map +1 -1
- package/dist/index.d.mts +505 -100
- package/dist/index.d.ts +505 -100
- package/dist/index.js +523 -185
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +521 -182
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +153 -6
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.d.mts +386 -20
- package/dist/theme/default/index.d.ts +386 -20
- package/dist/theme/default/index.js +980 -445
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +982 -440
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +6 -5
- package/tailwind/generated/default-variables.css +180 -0
- package/tsdoc.json +5 -0
|
@@ -6,8 +6,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
var SvgOryBadgeHorizontal = (props) => {
|
|
7
7
|
var _a, _b;
|
|
8
8
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, fill: "none", ...props, children: [
|
|
9
|
-
/* @__PURE__ */ jsx("path", { fill: "
|
|
10
|
-
/* @__PURE__ */ jsx("path", { fill: "
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M18.007 8h-1.71l2.007-3.996L16.296 0h1.711l1.145 2.301L20.327 0H22z" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.902 4.86a2.47 2.47 0 0 0 1.796-2.365v-.038C14.687 1.097 13.592 0 12.245 0H9.037v1.44l1.208 1.985H9.04V8h1.51V4.949h.633L13.04 8h1.775zm-.876-1.431h.223c.52 0 .943-.427.943-.953a.95.95 0 0 0-.943-.952h-1.39zM4 0a4 4 0 1 0-.001 7.999A4 4 0 0 0 4 0M1.524 4a2.476 2.476 0 1 0 4.952 0 2.476 2.476 0 0 0-4.952 0", clipRule: "evenodd" })
|
|
11
11
|
] });
|
|
12
12
|
};
|
|
13
13
|
var ory_badge_horizontal_default = SvgOryBadgeHorizontal;
|
|
@@ -18,8 +18,8 @@ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
|
18
18
|
var SvgOryBadgeVertical = (props) => {
|
|
19
19
|
var _a, _b;
|
|
20
20
|
return /* @__PURE__ */ jsxs2("svg", { xmlns: "http://www.w3.org/2000/svg", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, fill: "none", ...props, children: [
|
|
21
|
-
/* @__PURE__ */ jsx2("path", { fill: "
|
|
22
|
-
/* @__PURE__ */ jsx2("path", { fill: "
|
|
21
|
+
/* @__PURE__ */ jsx2("path", { fill: "currentColor", d: "M8 3.993v1.71L4.004 3.697 0 5.704V3.993l2.301-1.145L0 1.673V0z" }),
|
|
22
|
+
/* @__PURE__ */ jsx2("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.86 9.099a2.47 2.47 0 0 0-2.365-1.797h-.038C1.097 7.313 0 8.408 0 9.755v3.208h1.44l1.985-1.208v1.204H8v-1.51H4.949v-.633L8 8.96V7.185zm-1.431.875v-.223a.95.95 0 0 0-.953-.943.95.95 0 0 0-.952.943v1.39zM0 18a4 4 0 1 0 8 0 4 4 0 0 0-8 0m4 2.476a2.476 2.476 0 1 0 0-4.952 2.476 2.476 0 0 0 0 4.952", clipRule: "evenodd" })
|
|
23
23
|
] });
|
|
24
24
|
};
|
|
25
25
|
var ory_badge_vertical_default = SvgOryBadgeVertical;
|
|
@@ -27,7 +27,7 @@ var ory_badge_vertical_default = SvgOryBadgeVertical;
|
|
|
27
27
|
// src/theme/default/components/card/badge.tsx
|
|
28
28
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
29
29
|
function Badge() {
|
|
30
|
-
return /* @__PURE__ */ jsxs3("div", { className: "absolute bg-ory-background-default p-2 font-bold max-sm:bottom-0 max-sm:left-8 max-sm:translate-y-full max-sm:rounded-b-branding sm:right-0 sm:top-8 sm:translate-x-full sm:rounded-r-branding border-ory-border-default border max-sm:py-[7px] sm:pl-[7px]", children: [
|
|
30
|
+
return /* @__PURE__ */ jsxs3("div", { className: "absolute bg-ory-background-default text-ory-foreground-default p-2 font-bold max-sm:bottom-0 max-sm:left-8 max-sm:translate-y-full max-sm:rounded-b-branding sm:right-0 sm:top-8 sm:translate-x-full sm:rounded-r-branding border-ory-border-default border max-sm:py-[7px] sm:pl-[7px]", children: [
|
|
31
31
|
/* @__PURE__ */ jsx3(ory_badge_horizontal_default, { width: 22, height: 8, className: "sm:hidden" }),
|
|
32
32
|
/* @__PURE__ */ jsx3(ory_badge_vertical_default, { width: 8, height: 22, className: "max-sm:hidden" })
|
|
33
33
|
] });
|
|
@@ -39,7 +39,7 @@ function DefaultCardContent({ children }) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// src/theme/default/components/card/footer.tsx
|
|
42
|
-
import { FlowType as
|
|
42
|
+
import { FlowType as FlowType11 } from "@ory/client-fetch";
|
|
43
43
|
import {
|
|
44
44
|
useComponents as useComponents3,
|
|
45
45
|
useOryConfiguration as useOryConfiguration2,
|
|
@@ -48,7 +48,10 @@ import {
|
|
|
48
48
|
import { useIntl as useIntl9 } from "react-intl";
|
|
49
49
|
|
|
50
50
|
// src/components/card/two-step/state-select-method.tsx
|
|
51
|
-
import {
|
|
51
|
+
import {
|
|
52
|
+
isUiNodeScriptAttributes as isUiNodeScriptAttributes6,
|
|
53
|
+
UiNodeGroupEnum as UiNodeGroupEnum14
|
|
54
|
+
} from "@ory/client-fetch";
|
|
52
55
|
|
|
53
56
|
// src/context/component.tsx
|
|
54
57
|
import {
|
|
@@ -101,6 +104,27 @@ import {
|
|
|
101
104
|
} from "@ory/client-fetch";
|
|
102
105
|
import { UiNodeGroupEnum as UiNodeGroupEnum2 } from "@ory/client-fetch";
|
|
103
106
|
import { useMemo } from "react";
|
|
107
|
+
function triggerToFunction(trigger) {
|
|
108
|
+
if (typeof window === "undefined") {
|
|
109
|
+
console.debug(
|
|
110
|
+
"The Ory SDK is missing a required function: window is undefined."
|
|
111
|
+
);
|
|
112
|
+
return void 0;
|
|
113
|
+
}
|
|
114
|
+
const typedWindow = window;
|
|
115
|
+
if (!(trigger in typedWindow) || !typedWindow[trigger]) {
|
|
116
|
+
console.debug(`The Ory SDK is missing a required function: ${trigger}.`);
|
|
117
|
+
return void 0;
|
|
118
|
+
}
|
|
119
|
+
const triggerFn = typedWindow[trigger];
|
|
120
|
+
if (typeof triggerFn !== "function") {
|
|
121
|
+
console.debug(
|
|
122
|
+
`The Ory SDK is missing a required function: ${trigger}. It is not a function.`
|
|
123
|
+
);
|
|
124
|
+
return void 0;
|
|
125
|
+
}
|
|
126
|
+
return triggerFn;
|
|
127
|
+
}
|
|
104
128
|
function nodesToAuthMethodGroups(nodes, excludeAuthMethods = []) {
|
|
105
129
|
var _a;
|
|
106
130
|
const groups = {};
|
|
@@ -219,7 +243,6 @@ var OryConfigurationContext = createContext3({
|
|
|
219
243
|
});
|
|
220
244
|
function computeSdkConfig(config) {
|
|
221
245
|
if ((config == null ? void 0 : config.url) && typeof config.url === "string") {
|
|
222
|
-
console.debug("Using sdk url from config");
|
|
223
246
|
return {
|
|
224
247
|
url: config.url.replace(/\/$/, ""),
|
|
225
248
|
options: config.options || {}
|
|
@@ -258,7 +281,8 @@ function getSDKUrl() {
|
|
|
258
281
|
}
|
|
259
282
|
|
|
260
283
|
// src/context/intl-context.tsx
|
|
261
|
-
import {
|
|
284
|
+
import { useContext as useContext4 } from "react";
|
|
285
|
+
import { IntlProvider as OriginalIntlProvider, IntlContext } from "react-intl";
|
|
262
286
|
|
|
263
287
|
// src/components/form/form.tsx
|
|
264
288
|
import {
|
|
@@ -329,73 +353,73 @@ import { isUiNodeInputAttributes as isUiNodeInputAttributes3 } from "@ory/client
|
|
|
329
353
|
// src/components/form/form.tsx
|
|
330
354
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
331
355
|
|
|
332
|
-
// src/components/form/groups.tsx
|
|
333
|
-
import { getNodeId } from "@ory/client-fetch";
|
|
334
|
-
|
|
335
|
-
// src/components/form/nodes/input.tsx
|
|
336
|
-
import {
|
|
337
|
-
UiNodeGroupEnum as UiNodeGroupEnum6,
|
|
338
|
-
UiNodeInputAttributesTypeEnum
|
|
339
|
-
} from "@ory/client-fetch";
|
|
340
|
-
import { useEffect, useRef as useRef2 } from "react";
|
|
341
|
-
import { useFormContext as useFormContext3 } from "react-hook-form";
|
|
342
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
343
|
-
|
|
344
|
-
// src/components/form/nodes/node.tsx
|
|
345
|
-
import {
|
|
346
|
-
isUiNodeAnchorAttributes as isUiNodeAnchorAttributes2,
|
|
347
|
-
isUiNodeImageAttributes as isUiNodeImageAttributes2,
|
|
348
|
-
isUiNodeInputAttributes as isUiNodeInputAttributes5,
|
|
349
|
-
isUiNodeScriptAttributes as isUiNodeScriptAttributes3,
|
|
350
|
-
isUiNodeTextAttributes,
|
|
351
|
-
UiNodeGroupEnum as UiNodeGroupEnum7
|
|
352
|
-
} from "@ory/client-fetch";
|
|
353
|
-
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
354
|
-
|
|
355
|
-
// src/components/form/groups.tsx
|
|
356
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
357
|
-
|
|
358
356
|
// src/components/form/messages.tsx
|
|
359
|
-
import { jsx as
|
|
357
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
360
358
|
|
|
361
359
|
// src/components/form/social.tsx
|
|
362
360
|
import {
|
|
363
|
-
getNodeId
|
|
364
|
-
UiNodeGroupEnum as
|
|
361
|
+
getNodeId,
|
|
362
|
+
UiNodeGroupEnum as UiNodeGroupEnum7
|
|
365
363
|
} from "@ory/client-fetch";
|
|
366
|
-
import { useFormContext as
|
|
364
|
+
import { useFormContext as useFormContext3 } from "react-hook-form";
|
|
367
365
|
|
|
368
366
|
// src/components/form/form-provider.tsx
|
|
369
|
-
import { UiNodeGroupEnum as
|
|
367
|
+
import { UiNodeGroupEnum as UiNodeGroupEnum6 } from "@ory/client-fetch";
|
|
370
368
|
import { FormProvider, useForm } from "react-hook-form";
|
|
371
369
|
|
|
372
370
|
// src/components/form/form-resolver.ts
|
|
373
|
-
import { isUiNodeInputAttributes as
|
|
371
|
+
import { isUiNodeInputAttributes as isUiNodeInputAttributes5 } from "@ory/client-fetch";
|
|
374
372
|
|
|
375
373
|
// src/components/form/form-provider.tsx
|
|
376
|
-
import { jsx as
|
|
374
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
377
375
|
|
|
378
376
|
// src/components/form/social.tsx
|
|
379
|
-
import { jsx as
|
|
377
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
380
378
|
|
|
381
|
-
// src/components/form/section.tsx
|
|
382
|
-
import { useFormContext as
|
|
383
|
-
import { jsx as
|
|
379
|
+
// src/components/form/settings-section.tsx
|
|
380
|
+
import { useFormContext as useFormContext4 } from "react-hook-form";
|
|
381
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
384
382
|
|
|
385
383
|
// src/components/generic/divider.tsx
|
|
386
|
-
import { UiNodeGroupEnum as
|
|
387
|
-
import { jsx as
|
|
384
|
+
import { UiNodeGroupEnum as UiNodeGroupEnum8 } from "@ory/client-fetch";
|
|
385
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
388
386
|
|
|
389
387
|
// src/components/generic/page-header.tsx
|
|
390
|
-
import { jsx as
|
|
388
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
391
389
|
|
|
392
390
|
// src/components/settings/settings-card.tsx
|
|
393
391
|
import {
|
|
392
|
+
getNodeId as getNodeId2,
|
|
394
393
|
isUiNodeScriptAttributes as isUiNodeScriptAttributes4,
|
|
395
|
-
UiNodeGroupEnum as
|
|
396
|
-
getNodeId as getNodeId3
|
|
394
|
+
UiNodeGroupEnum as UiNodeGroupEnum11
|
|
397
395
|
} from "@ory/client-fetch";
|
|
396
|
+
import { useEffect as useEffect2 } from "react";
|
|
398
397
|
import { useIntl as useIntl7 } from "react-intl";
|
|
398
|
+
import { Toaster } from "sonner";
|
|
399
|
+
|
|
400
|
+
// src/util/showToast.tsx
|
|
401
|
+
import { toast as sonnerToast } from "sonner";
|
|
402
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
403
|
+
|
|
404
|
+
// src/components/form/nodes/input.tsx
|
|
405
|
+
import {
|
|
406
|
+
UiNodeGroupEnum as UiNodeGroupEnum9,
|
|
407
|
+
UiNodeInputAttributesTypeEnum
|
|
408
|
+
} from "@ory/client-fetch";
|
|
409
|
+
import { useEffect, useRef as useRef2 } from "react";
|
|
410
|
+
import { useFormContext as useFormContext5 } from "react-hook-form";
|
|
411
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
412
|
+
|
|
413
|
+
// src/components/form/nodes/node.tsx
|
|
414
|
+
import {
|
|
415
|
+
isUiNodeAnchorAttributes as isUiNodeAnchorAttributes2,
|
|
416
|
+
isUiNodeImageAttributes as isUiNodeImageAttributes2,
|
|
417
|
+
isUiNodeInputAttributes as isUiNodeInputAttributes6,
|
|
418
|
+
isUiNodeScriptAttributes as isUiNodeScriptAttributes3,
|
|
419
|
+
isUiNodeTextAttributes,
|
|
420
|
+
UiNodeGroupEnum as UiNodeGroupEnum10
|
|
421
|
+
} from "@ory/client-fetch";
|
|
422
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
399
423
|
|
|
400
424
|
// src/components/settings/oidc-settings.tsx
|
|
401
425
|
import { useIntl as useIntl2 } from "react-intl";
|
|
@@ -693,6 +717,8 @@ var en_default = {
|
|
|
693
717
|
"settings.profile.description": "Update your profile information",
|
|
694
718
|
"settings.webauthn.title": "Manage Hardware Tokens",
|
|
695
719
|
"settings.webauthn.description": "Manage your hardware token settings",
|
|
720
|
+
"settings.messages.toast-title.success": "Settings updated",
|
|
721
|
+
"settings.messages.toast-title.error": "Could not update settings",
|
|
696
722
|
"verification.registration-button": "Sign up",
|
|
697
723
|
"verification.registration-label": "Don't have an account?",
|
|
698
724
|
"verification.title": "Verify your account",
|
|
@@ -706,6 +732,7 @@ var en_default = {
|
|
|
706
732
|
"two-step.webauthn.description": "Use your security key to authenticate",
|
|
707
733
|
"two-step.passkey.title": "Passkey (recommended)",
|
|
708
734
|
"two-step.passkey.description": "Use your device's for fingerprint or face recognition",
|
|
735
|
+
"two-step.passkey.description.error": "Could not load the necessary libraries to use your Passkey. Please try again later.",
|
|
709
736
|
"two-step.totp.title": "Use your Authenticator App (TOTP)",
|
|
710
737
|
"two-step.totp.description": "Use a 6-digit one-time code from your authenticator app",
|
|
711
738
|
"two-step.lookup_secret.title": "Backup recovery code",
|
|
@@ -725,6 +752,7 @@ var en_default = {
|
|
|
725
752
|
"card.header.description.registration": "Sign up with {identifierLabel}",
|
|
726
753
|
"misc.or": "or",
|
|
727
754
|
"forms.label.forgot-password": "Forgot Password?",
|
|
755
|
+
"forms.label.recover-account": "Recover Account",
|
|
728
756
|
"settings.totp.title": "Authenticator App",
|
|
729
757
|
"settings.totp.description": "Add a TOTP Authenticator App to your account to improve your account security. Popular Authenticator Apps are LastPass and Google Authenticator",
|
|
730
758
|
"settings.totp.info.not-linked": "To enable scan the QR code with your authenticator and enter the code.",
|
|
@@ -811,10 +839,10 @@ var de_default = {
|
|
|
811
839
|
"identities.messages.1050004": "Authentifizierungs-App entkn\xFCpfen",
|
|
812
840
|
"identities.messages.1050005": "Authentifizierungs-App QR-Code",
|
|
813
841
|
"identities.messages.1050006": "{secret}",
|
|
814
|
-
"identities.messages.1050007": "Backup-
|
|
815
|
-
"identities.messages.1050008": "Neue Backup-
|
|
842
|
+
"identities.messages.1050007": "Backup-Wiederherstellungscodes anzeigen",
|
|
843
|
+
"identities.messages.1050008": "Neue Backup-Wiederherstellungscodes generieren",
|
|
816
844
|
"identities.messages.1050009": "{secret}",
|
|
817
|
-
"identities.messages.1050010": "Dies sind Ihre Backup-
|
|
845
|
+
"identities.messages.1050010": "Dies sind Ihre Backup-Wiederherstellungscodes. Bewahren Sie diese an einem sicheren Ort auf!",
|
|
818
846
|
"identities.messages.1050011": "Backup-Wiederherstellungscode best\xE4tigen",
|
|
819
847
|
"identities.messages.1050012": "Sicherheitsschl\xFCssel hinzuf\xFCgen",
|
|
820
848
|
"identities.messages.1050013": "Name des Sicherheitsschl\xFCssels",
|
|
@@ -823,7 +851,7 @@ var de_default = {
|
|
|
823
851
|
"identities.messages.1050016": "Diese Methode deaktivieren",
|
|
824
852
|
"identities.messages.1050017": "Dies ist Ihr Authentifizierungs-App-Geheimnis. Verwenden Sie es, wenn Sie den QR-Code nicht scannen k\xF6nnen.",
|
|
825
853
|
"identities.messages.1050018": 'Sicherheitsschl\xFCssel "{display_name}" entfernen',
|
|
826
|
-
"identities.messages.1060001": "Sie haben Ihr Konto erfolgreich wiederhergestellt. Bitte \xE4ndern Sie Ihr Passwort oder richten Sie eine alternative Anmeldemethode ein (z. B. Anmeldung \xFCber
|
|
854
|
+
"identities.messages.1060001": "Sie haben Ihr Konto erfolgreich wiederhergestellt. Bitte \xE4ndern Sie Ihr Passwort oder richten Sie eine alternative Anmeldemethode ein (z. B. Anmeldung \xFCber Social-Login) innerhalb der n\xE4chsten {privileged_session_expires_at_unix_until_minutes} Minuten ein.",
|
|
827
855
|
"identities.messages.1060002": "Eine E-Mail mit einem Wiederherstellungslink wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, \xFCberpr\xFCfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.",
|
|
828
856
|
"identities.messages.1060003": "Eine E-Mail mit einem Wiederherstellungscode wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, \xFCberpr\xFCfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.",
|
|
829
857
|
"identities.messages.1070001": "Passwort",
|
|
@@ -844,7 +872,7 @@ var de_default = {
|
|
|
844
872
|
"identities.messages.1080003": "Eine E-Mail mit einem Best\xE4tigungscode wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, \xFCberpr\xFCfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.",
|
|
845
873
|
"identities.messages.4000001": "{reason}",
|
|
846
874
|
"identities.messages.4000002": "Das Feld {property} muss ausgef\xFCllt werden.",
|
|
847
|
-
"identities.messages.4000003": "Die L\xE4nge muss >= {min_length} sein,
|
|
875
|
+
"identities.messages.4000003": "Die L\xE4nge muss >= {min_length} sein, {actual_length} erhalten.",
|
|
848
876
|
"identities.messages.4000004": 'entspricht nicht dem Muster "{pattern}"',
|
|
849
877
|
"identities.messages.4000005": "Das Passwort kann nicht verwendet werden, weil {reason}.",
|
|
850
878
|
"identities.messages.4000006": "Die bereitgestellten Anmeldedaten sind ung\xFCltig. \xDCberpr\xFCfen Sie auf Rechtschreibfehler in Ihrem Passwort, Benutzernamen, E-Mail-Adresse oder Telefonnummer.",
|
|
@@ -855,26 +883,26 @@ var de_default = {
|
|
|
855
883
|
"identities.messages.4000011": "Sie haben kein TOTP-Ger\xE4t eingerichtet.",
|
|
856
884
|
"identities.messages.4000012": "Dieser Backup-Wiederherstellungscode wurde bereits verwendet.",
|
|
857
885
|
"identities.messages.4000013": "Sie haben kein WebAuthn-Ger\xE4t eingerichtet.",
|
|
858
|
-
"identities.messages.4000014": "Sie haben keine Backup-
|
|
886
|
+
"identities.messages.4000014": "Sie haben keine Backup-Wiederherstellungscodes eingerichtet.",
|
|
859
887
|
"identities.messages.4000015": "Dieses Konto existiert nicht oder hat keinen Sicherheitsschl\xFCssel eingerichtet.",
|
|
860
888
|
"identities.messages.4000016": "Der Backup-Wiederherstellungscode ist ung\xFCltig.",
|
|
861
|
-
"identities.messages.4000017": "Die L\xE4nge muss <= {max_length} sein,
|
|
862
|
-
"identities.messages.4000018": "muss >= {minimum} sein,
|
|
863
|
-
"identities.messages.4000019": "muss > {minimum} sein,
|
|
864
|
-
"identities.messages.4000020": "muss <= {maximum} sein,
|
|
865
|
-
"identities.messages.4000021": "muss < {maximum} sein,
|
|
889
|
+
"identities.messages.4000017": "Die L\xE4nge muss <= {max_length} sein, {actual_length} erhalten.",
|
|
890
|
+
"identities.messages.4000018": "muss >= {minimum} sein, {actual} gefunden.",
|
|
891
|
+
"identities.messages.4000019": "muss > {minimum} sein, {actual} gefunden.",
|
|
892
|
+
"identities.messages.4000020": "muss <= {maximum} sein, {actual} gefunden.",
|
|
893
|
+
"identities.messages.4000021": "muss < {maximum} sein, {actual} gefunden.",
|
|
866
894
|
"identities.messages.4000022": "{actual} ist nicht ein Vielfaches von {base}",
|
|
867
|
-
"identities.messages.4000023": "maximal {max_items} Elemente erlaubt,
|
|
868
|
-
"identities.messages.4000024": "mindestens {min_items} Elemente erforderlich,
|
|
895
|
+
"identities.messages.4000023": "maximal {max_items} Elemente erlaubt, {actual_items} Elemente gefunden.",
|
|
896
|
+
"identities.messages.4000024": "mindestens {min_items} Elemente erforderlich, {actual_items} Elemente gefunden.",
|
|
869
897
|
"identities.messages.4000025": "Elemente an Index {index_a} und {index_b} sind gleich.",
|
|
870
|
-
"identities.messages.4000026": "erwartete {allowed_types_list},
|
|
871
|
-
"identities.messages.4000027": "Ein Konto mit demselben Identifikator (E-Mail, Telefon, Benutzername, ...) existiert bereits. Bitte melden Sie sich in Ihrem bestehenden Konto an und verkn\xFCpfen Sie
|
|
872
|
-
"identities.messages.4000028": "Sie haben versucht, sich mit {credential_identifier_hint} anzumelden, das bereits von einem anderen Konto verwendet wird. Sie k\xF6nnen sich mit {available_credential_types_list} anmelden. Sie k\xF6nnen sich mit einem der folgenden
|
|
898
|
+
"identities.messages.4000026": "erwartete {allowed_types_list}, {actual_type} gefunden.",
|
|
899
|
+
"identities.messages.4000027": "Ein Konto mit demselben Identifikator (E-Mail, Telefon, Benutzername, ...) existiert bereits. Bitte melden Sie sich in Ihrem bestehenden Konto an und verkn\xFCpfen Sie Ihren Social-Login auf der Einstellungsseite.",
|
|
900
|
+
"identities.messages.4000028": "Sie haben versucht, sich mit {credential_identifier_hint} anzumelden, das bereits von einem anderen Konto verwendet wird. Sie k\xF6nnen sich mit {available_credential_types_list} anmelden. Sie k\xF6nnen sich mit einem der folgenden Social-Logins anmelden: {Available_oidc_providers_list}.",
|
|
873
901
|
"identities.messages.4000029": "muss gleich der Konstanten {expected} sein.",
|
|
874
902
|
"identities.messages.4000030": "const fehlgeschlagen",
|
|
875
903
|
"identities.messages.4000031": "Das Passwort kann nicht verwendet werden, da es zu \xE4hnlich dem Identifikator ist.",
|
|
876
|
-
"identities.messages.4000032": "Das Passwort muss mindestens {min_length} Zeichen lang sein,
|
|
877
|
-
"identities.messages.4000033": "Das Passwort muss h\xF6chstens {max_length} Zeichen lang sein,
|
|
904
|
+
"identities.messages.4000032": "Das Passwort muss mindestens {min_length} Zeichen lang sein, {actual_length} erhalten.",
|
|
905
|
+
"identities.messages.4000033": "Das Passwort muss h\xF6chstens {max_length} Zeichen lang sein, {actual_length} erhalten.",
|
|
878
906
|
"identities.messages.4000034": "Das Passwort wurde in Datenlecks gefunden und darf nicht mehr verwendet werden.",
|
|
879
907
|
"identities.messages.4000035": "Dieses Konto existiert nicht oder hat keine Anmeldung per Code eingerichtet.",
|
|
880
908
|
"identities.messages.4000036": "Die bereitgestellten Merkmale stimmen nicht mit den zuvor mit diesem Flow assoziierten Merkmalen \xFCberein.",
|
|
@@ -891,13 +919,13 @@ var de_default = {
|
|
|
891
919
|
"identities.messages.4040003": "Der Registrierungscode ist ung\xFCltig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.",
|
|
892
920
|
"identities.messages.4050001": "Der Einstellungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.",
|
|
893
921
|
"identities.messages.4060001": "Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.",
|
|
894
|
-
"identities.messages.4060002": "Der Wiederherstellungsvorgang
|
|
922
|
+
"identities.messages.4060002": "Der Wiederherstellungsvorgang ist fehlgeschlagen und muss erneut versucht werden.",
|
|
895
923
|
"identities.messages.4060004": "Der Wiederherstellungstoken ist ung\xFCltig oder wurde bereits verwendet. Bitte wiederholen Sie den Vorgang.",
|
|
896
924
|
"identities.messages.4060005": "Der Wiederherstellungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.",
|
|
897
925
|
"identities.messages.4060006": "Der Wiederherstellungscode ist ung\xFCltig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.",
|
|
898
926
|
"identities.messages.4070001": "Der Verifizierungstoken ist ung\xFCltig oder wurde bereits verwendet. Bitte wiederholen Sie den Vorgang.",
|
|
899
927
|
"identities.messages.4070002": "Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.",
|
|
900
|
-
"identities.messages.4070003": "Der Verifizierungsvorgang
|
|
928
|
+
"identities.messages.4070003": "Der Verifizierungsvorgang ist fehlgeschlagen und muss erneut versucht werden.",
|
|
901
929
|
"identities.messages.4070005": "Der Verifizierungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.",
|
|
902
930
|
"identities.messages.4070006": "Der Verifizierungscode ist ung\xFCltig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.",
|
|
903
931
|
"identities.messages.5000001": "{reason}",
|
|
@@ -913,7 +941,7 @@ var de_default = {
|
|
|
913
941
|
"login.subtitle-aal2": "W\xE4hlen Sie eine Methode zur Best\xE4tigung Ihrer Zwei-Faktor-Authentifizierung",
|
|
914
942
|
"login.code.subtitle": "Ein Best\xE4tigungscode wird per E-Mail gesendet",
|
|
915
943
|
"login.webauthn.subtitle": "Bitte bereiten Sie Ihr WebAuthN-Ger\xE4t vor",
|
|
916
|
-
"login.totp.subtitle": "Bitte geben Sie den Code aus Ihrer
|
|
944
|
+
"login.totp.subtitle": "Bitte geben Sie den Code aus Ihrer Authentifikator-App ein",
|
|
917
945
|
"login.lookup_secret.subtitle": "Bitte geben Sie einen Ihrer 8-stelligen Backup-Wiederherstellungscodes ein",
|
|
918
946
|
"login.title-refresh": "Best\xE4tigen Sie, dass Sie es sind",
|
|
919
947
|
"login.2fa.go-back": "Funktioniert etwas nicht?",
|
|
@@ -931,22 +959,23 @@ var de_default = {
|
|
|
931
959
|
"registration.title": "Konto registrieren",
|
|
932
960
|
"verification.registration-button": "Registrieren",
|
|
933
961
|
"verification.registration-label": "Sie haben noch kein Konto?",
|
|
934
|
-
"verification.title": "Verifizieren Sie
|
|
962
|
+
"verification.title": "Verifizieren Sie Ihr Konto",
|
|
935
963
|
"verification.back-button": "Zur\xFCck",
|
|
936
964
|
"two-step.code.description": "Ein Best\xE4tigungscode wird an Ihre E-Mail gesendet.",
|
|
937
965
|
"two-step.code.title": "E-Mail-Code",
|
|
938
|
-
"two-step.passkey.description": "Verwenden Sie die Fingerabdruck- oder Gesichtserkennung Ihres Ger\xE4ts",
|
|
939
966
|
"two-step.passkey.title": "Passkey (empfohlen)",
|
|
967
|
+
"two-step.passkey.description": "Verwenden Sie die Fingerabdruck- oder Gesichtserkennung Ihres Ger\xE4ts",
|
|
968
|
+
"two-step.passkey.description.error": "Konnte die erforderlichen Bibliotheken f\xFCr Passkeys nicht laden. Bitte versuchen Sie es sp\xE4ter erneut.",
|
|
940
969
|
"two-step.password.description": "Geben Sie Ihr Passwort ein, das mit Ihrem Konto verkn\xFCpft ist",
|
|
941
970
|
"two-step.password.title": "Passwort",
|
|
942
971
|
"two-step.webauthn.title": "Sicherheitsschl\xFCssel",
|
|
943
972
|
"two-step.webauthn.description": "Verwenden Sie Ihren Sicherheitsschl\xFCssel zur Authentifizierung",
|
|
944
|
-
"two-step.totp.title": "Verwenden Sie Ihre
|
|
945
|
-
"two-step.totp.description": "Verwenden Sie einen 6-stelligen
|
|
973
|
+
"two-step.totp.title": "Verwenden Sie Ihre Authentifikator-App",
|
|
974
|
+
"two-step.totp.description": "Verwenden Sie einen 6-stelligen Einmalcode aus Ihrer Authentifikator-App",
|
|
946
975
|
"two-step.lookup_secret.title": "Backup-Wiederherstellungscode",
|
|
947
976
|
"two-step.lookup_secret.description": "Verwenden Sie einen Ihrer 8-stelligen Backup-Codes, um sich zu authentifizieren",
|
|
948
977
|
"identities.messages.1070014": "Login- und Link-Zugangsdaten",
|
|
949
|
-
"identities.messages.1070015": "Bitte schlie\xDFen Sie die Captcha
|
|
978
|
+
"identities.messages.1070015": "Bitte schlie\xDFen Sie die Captcha-\xDCberpr\xFCfung ab, um fortzufahren.",
|
|
950
979
|
"identities.messages.4000038": "Die Captcha-\xDCberpr\xFCfung ist fehlgeschlagen. Bitte versuchen Sie es erneut.",
|
|
951
980
|
"login.cancel-button": "Abbrechen",
|
|
952
981
|
"login.cancel-label": "Nicht das richtige Konto?",
|
|
@@ -956,7 +985,7 @@ var de_default = {
|
|
|
956
985
|
"identities.messages.1010018": "Mit {provider} best\xE4tigen",
|
|
957
986
|
"identities.messages.1010019": "Code senden um fortzufahren",
|
|
958
987
|
"identities.messages.1010020": "",
|
|
959
|
-
"identities.messages.1010021": "Mit
|
|
988
|
+
"identities.messages.1010021": "Mit Passkey anmelden",
|
|
960
989
|
"identities.messages.1010022": "Mit Passwort anmelden",
|
|
961
990
|
"identities.messages.1040007": "Mit Passkey registrieren",
|
|
962
991
|
"identities.messages.1040008": "Zur\xFCck",
|
|
@@ -967,45 +996,46 @@ var de_default = {
|
|
|
967
996
|
"identities.messages.4010009": "Die Authentifizierungsmethode stimmt nicht mit der vorherigen Authentifizierungsmethode \xFCberein. Bitte versuchen Sie es erneut.",
|
|
968
997
|
"identities.messages.4010010": "Die eingegebene Adresse stimmt nicht mit der Adresse \xFCberein, die Sie bei der Registrierung angegeben haben. Bitte versuchen Sie es erneut.",
|
|
969
998
|
"input.placeholder": "{placeholder} eingeben",
|
|
970
|
-
"card.header.parts.code": "
|
|
971
|
-
"card.header.parts.identifier-first": "
|
|
972
|
-
"card.header.parts.oidc": "
|
|
973
|
-
"card.header.parts.passkey": "
|
|
999
|
+
"card.header.parts.code": "einem an Sie gesendeten Code",
|
|
1000
|
+
"card.header.parts.identifier-first": "Ihrer {identifierLabel}",
|
|
1001
|
+
"card.header.parts.oidc": "einem Social-Login",
|
|
1002
|
+
"card.header.parts.passkey": "einem Passkey",
|
|
974
1003
|
"card.header.parts.password.login": "Ihrer {identifierLabel} und Ihrem Passwort",
|
|
975
1004
|
"card.header.parts.password.registration": "Ihrer {identifierLabel} und einem Passwort",
|
|
976
|
-
"card.header.parts.webauthn": "
|
|
977
|
-
"card.header.parts.totp": "
|
|
978
|
-
"card.header.parts.lookup_secret": "
|
|
1005
|
+
"card.header.parts.webauthn": "einem Sicherheitsschl\xFCssel",
|
|
1006
|
+
"card.header.parts.totp": "Ihrer Authentifikator-App",
|
|
1007
|
+
"card.header.parts.lookup_secret": "einem Backup-Wiederherstellungscode",
|
|
979
1008
|
"recovery.subtitle": "Geben Sie die mit Ihrem Konto verkn\xFCpfte E-Mail-Adresse ein, um einen einmaligen Zugangscode zu erhalten",
|
|
980
1009
|
"verification.subtitle": "Geben Sie die mit Ihrem Konto verkn\xFCpfte E-Mail-Adresse ein, um es zu best\xE4tigen",
|
|
981
1010
|
"card.header.description.login": "Melden Sie sich mit {identifierLabel} an",
|
|
982
1011
|
"card.header.description.registration": "Registrieren Sie sich mit {identifierLabel}",
|
|
983
|
-
"login.subtitle": "Melden Sie sich mit {parts} an",
|
|
984
|
-
"login.subtitle-refresh": "Best\xE4tigen Sie
|
|
1012
|
+
"login.subtitle": "Melden Sie sich mit {parts} an.",
|
|
1013
|
+
"login.subtitle-refresh": "Best\xE4tigen Sie Ihre Identit\xE4t mit {parts}.",
|
|
985
1014
|
"misc.or": "oder",
|
|
986
|
-
"registration.subtitle": "Registrieren Sie sich mit {parts}",
|
|
1015
|
+
"registration.subtitle": "Registrieren Sie sich mit {parts}.",
|
|
987
1016
|
"forms.label.forgot-password": "Passwort vergessen?",
|
|
1017
|
+
"forms.label.recover-account": "Konto wiederherstellen",
|
|
988
1018
|
"settings.title": "Kontoeinstellungen",
|
|
989
1019
|
"settings.navigation.title": "Kontoeinstellungen",
|
|
990
1020
|
"settings.subtitle": "Aktualisieren Sie Ihre Kontoeinstellungen",
|
|
991
1021
|
"settings.navigation-back-button": "Zur\xFCck",
|
|
992
|
-
"settings.navigation-backup-codes": "2FA-Backup-
|
|
1022
|
+
"settings.navigation-backup-codes": "2FA-Backup-Wiederherstellungscodes",
|
|
993
1023
|
"settings.navigation-logout": "Abmelden",
|
|
994
|
-
"settings.navigation-oidc": "
|
|
1024
|
+
"settings.navigation-oidc": "Social-Login",
|
|
995
1025
|
"settings.navigation-password": "Passwort",
|
|
996
1026
|
"settings.navigation-profile": "Profil",
|
|
997
|
-
"settings.navigation-totp": "
|
|
1027
|
+
"settings.navigation-totp": "Authentifikator-App",
|
|
998
1028
|
"settings.navigation-webauthn": "Sicherheitsschl\xFCssel",
|
|
999
1029
|
"settings.navigation-passkey": "Passkeys",
|
|
1000
1030
|
"settings.subtitle-instructions": "Hier k\xF6nnen Sie Einstellungen zu Ihrem Konto vornehmen. F\xFCr manche Einstellungen m\xFCssen Sie Ihre Identit\xE4t erneut best\xE4tigen.",
|
|
1001
|
-
"settings.totp.info.linked": "Sie haben derzeit eine
|
|
1002
|
-
"settings.totp.info.not-linked": "Um dies zu erm\xF6glichen, scannen Sie den QR-Code mit
|
|
1003
|
-
"settings.totp.title": "
|
|
1004
|
-
"settings.totp.description": "F\xFCgen Sie eine
|
|
1031
|
+
"settings.totp.info.linked": "Sie haben derzeit eine Authentifikator-App verbunden.",
|
|
1032
|
+
"settings.totp.info.not-linked": "Um dies zu erm\xF6glichen, scannen Sie den QR-Code mit Ihrer Authentifikator-App und geben Sie den Code ein.",
|
|
1033
|
+
"settings.totp.title": "Authentifikator-App",
|
|
1034
|
+
"settings.totp.description": "F\xFCgen Sie eine Authentifikator-App zu Ihrem Konto hinzu, um die Sicherheit Ihres Kontos zu verbessern. Beliebte Authentifikator-Apps sind LastPass und Google Authenticator.",
|
|
1005
1035
|
"settings.lookup_secret.description": "Verwalten Sie Ihre 2FA-Backup-Wiederherstellungscodes",
|
|
1006
1036
|
"settings.lookup_secret.title": "Wiederherstellungscodes",
|
|
1007
|
-
"settings.oidc.description": "Verwalten Sie Ihre Einstellungen f\xFCr
|
|
1008
|
-
"settings.oidc.title": "
|
|
1037
|
+
"settings.oidc.description": "Verwalten Sie Ihre Einstellungen f\xFCr den Social-Login",
|
|
1038
|
+
"settings.oidc.title": "Social-Login",
|
|
1009
1039
|
"settings.passkey.description": "Verwalten Sie Ihre Passworteinstellungen",
|
|
1010
1040
|
"settings.passkey.title": "Passkeys verwalten",
|
|
1011
1041
|
"settings.password.description": "\xC4ndern Sie Ihr Passwort",
|
|
@@ -1018,15 +1048,17 @@ var de_default = {
|
|
|
1018
1048
|
"settings.passkey.info": "Verwalten Sie Ihre Passkey-Einstellungen",
|
|
1019
1049
|
"settings.title-lookup-secret": "Verwalten Sie 2FA-Backup-Wiederherstellungscodes",
|
|
1020
1050
|
"settings.title-navigation": "Kontoeinstellungen",
|
|
1021
|
-
"settings.title-oidc": "Social
|
|
1051
|
+
"settings.title-oidc": "Social-Login",
|
|
1022
1052
|
"settings.title-passkey": "Passkeys verwalten",
|
|
1023
1053
|
"settings.title-password": "Kennwort \xE4ndern",
|
|
1024
1054
|
"settings.title-profile": "Profileinstellungen",
|
|
1025
|
-
"settings.title-totp": "Verwalten Sie die
|
|
1055
|
+
"settings.title-totp": "Verwalten Sie die Authentifikator-App",
|
|
1026
1056
|
"settings.title-webauthn": "Hardware-Token verwalten",
|
|
1027
1057
|
"settings.webauthn.info": "Hardware-Tokens werden f\xFCr die Zweitfaktor-Authentifizierung oder als Erstfaktor-Authentifizierung mit Passkeys verwendet",
|
|
1058
|
+
"settings.messages.toast-title.success": "Einstellungen aktualisiert",
|
|
1059
|
+
"settings.messages.toast-title.error": "Fehler beim Aktualisieren der Einstellungen",
|
|
1028
1060
|
"card.footer.select-another-method": "Eine andere Methode verwenden",
|
|
1029
|
-
"account-linking.title": "Account
|
|
1061
|
+
"account-linking.title": "Account verbinden",
|
|
1030
1062
|
"property.email": "E-Mail",
|
|
1031
1063
|
"property.identifier": "Kennung",
|
|
1032
1064
|
"property.password": "Passwort",
|
|
@@ -1043,14 +1075,14 @@ var de_default = {
|
|
|
1043
1075
|
"consent.scope.profile.description": "Erm\xF6glicht den Zugriff auf Ihre grundlegenden Profildetails, einschlie\xDFlich Ihres Benutzernamens, Vornamens und Nachnamens.",
|
|
1044
1076
|
"consent.scope.email.title": "E-Mail-Adresse",
|
|
1045
1077
|
"consent.scope.email.description": "Erm\xF6glicht den Abruf Ihrer E-Mail-Adresse und deren \xDCberpr\xFCfungsstatus.",
|
|
1046
|
-
"consent.scope.address.title": "
|
|
1078
|
+
"consent.scope.address.title": "Postanschrift",
|
|
1047
1079
|
"consent.scope.address.description": "Erm\xF6glicht den Zugriff auf Ihre Postanschrift.",
|
|
1048
1080
|
"consent.scope.phone.title": "Telefonnummer",
|
|
1049
1081
|
"consent.scope.phone.description": "Erm\xF6glicht den Abruf Ihrer Telefonnummer und deren \xDCberpr\xFCfungsstatus.",
|
|
1050
1082
|
"error.title.what-happened": "Was ist passiert?",
|
|
1051
1083
|
"error.footer.copy": "Kopieren",
|
|
1052
1084
|
"error.footer.text": "Bitte f\xFCgen Sie bei der Meldung dieses Fehlers die folgenden Informationen hinzu:",
|
|
1053
|
-
"error.instructions": "Bitte versuchen Sie es in wenigen Minuten erneut oder wenden Sie sich an den
|
|
1085
|
+
"error.instructions": "Bitte versuchen Sie es in wenigen Minuten erneut oder wenden Sie sich an den Webseiten-Betreiber.",
|
|
1054
1086
|
"error.title.what-can-i-do": "Was kann ich tun?",
|
|
1055
1087
|
"error.action.go-back": "Zur\xFCck"
|
|
1056
1088
|
};
|
|
@@ -1234,6 +1266,7 @@ var es_default = {
|
|
|
1234
1266
|
"two-step.code.title": "C\xF3digo de correo electr\xF3nico",
|
|
1235
1267
|
"two-step.passkey.description": "Utiliza el reconocimiento de huellas dactilares o facial de tu dispositivo.",
|
|
1236
1268
|
"two-step.passkey.title": "Clave de acceso (recomendada)",
|
|
1269
|
+
"two-step.passkey.description.error": "No se pudieron cargar las bibliotecas necesarias para usar su Passkey. Por favor, int\xE9ntelo de nuevo m\xE1s tarde.",
|
|
1237
1270
|
"two-step.password.description": "Ingrese la contrase\xF1a asociada con su cuenta",
|
|
1238
1271
|
"two-step.password.title": "Contrase\xF1a",
|
|
1239
1272
|
"two-step.webauthn.title": "Clave de Seguridad",
|
|
@@ -1259,6 +1292,8 @@ var es_default = {
|
|
|
1259
1292
|
"settings.profile.title": "Configuraci\xF3n de Perfil",
|
|
1260
1293
|
"settings.webauthn.description": "Administra la configuraci\xF3n de tu token de hardware",
|
|
1261
1294
|
"settings.webauthn.title": "Gestionar Tokens de Hardware",
|
|
1295
|
+
"settings.messages.toast-title.success": "Configuraci\xF3n actualizada con \xE9xito",
|
|
1296
|
+
"settings.messages.toast-title.error": "Error al actualizar la configuraci\xF3n",
|
|
1262
1297
|
"consent.title": "Autorizar {party}",
|
|
1263
1298
|
"consent.subtitle": "Una aplicaci\xF3n de terceros quiere acceder a la informaci\xF3n asociada a su cuenta {identifier}.",
|
|
1264
1299
|
"consent.scope.openid.title": "Identidad",
|
|
@@ -1321,6 +1356,7 @@ var es_default = {
|
|
|
1321
1356
|
"card.header.description.registration": "Registrarse con {identifierLabel}",
|
|
1322
1357
|
"misc.or": "o",
|
|
1323
1358
|
"forms.label.forgot-password": "\xBFOlvidaste tu contrase\xF1a?",
|
|
1359
|
+
"forms.label.recover-account": "Recuperar cuenta",
|
|
1324
1360
|
"settings.oidc.info": "Las cuentas conectadas de estos proveedores se pueden utilizar para iniciar sesi\xF3n en tu cuenta",
|
|
1325
1361
|
"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",
|
|
1326
1362
|
"settings.passkey.info": "Administra la configuraci\xF3n de tus claves de acceso",
|
|
@@ -1522,6 +1558,7 @@ var fr_default = {
|
|
|
1522
1558
|
"two-step.code.title": "Code de courrier \xE9lectronique",
|
|
1523
1559
|
"two-step.passkey.description": "Utilisez l'appareil pour la reconnaissance d'empreintes digitales ou de visage",
|
|
1524
1560
|
"two-step.passkey.title": "Cl\xE9 de passe (recommand\xE9e)",
|
|
1561
|
+
"two-step.passkey.description.error": "Impossible de charger les biblioth\xE8ques n\xE9cessaires pour utiliser votre Passkey. Veuillez r\xE9essayer plus tard.",
|
|
1525
1562
|
"two-step.password.description": "Entrez votre mot de passe associ\xE9 \xE0 votre compte",
|
|
1526
1563
|
"two-step.password.title": "Mot de passe",
|
|
1527
1564
|
"two-step.webauthn.title": "Cl\xE9 de S\xE9curit\xE9",
|
|
@@ -1588,6 +1625,8 @@ var fr_default = {
|
|
|
1588
1625
|
"settings.profile.description": "Mettre \xE0 jour les informations de votre profil",
|
|
1589
1626
|
"settings.webauthn.title": "G\xE9rer les jetons mat\xE9riels",
|
|
1590
1627
|
"settings.webauthn.description": "G\xE9rer les param\xE8tres de votre jeton mat\xE9riel",
|
|
1628
|
+
"settings.messages.toast-title.success": "Param\xE8tres mis \xE0 jour avec succ\xE8s",
|
|
1629
|
+
"settings.messages.toast-title.error": "\xC9chec de la mise \xE0 jour des param\xE8tres",
|
|
1591
1630
|
"verification.subtitle": "Saisissez l'adresse e-mail associ\xE9e \xE0 votre compte pour la v\xE9rifier",
|
|
1592
1631
|
"input.placeholder": "Saisissez votre {placeholder}",
|
|
1593
1632
|
"card.header.parts.oidc": "un fournisseur de r\xE9seaux sociaux",
|
|
@@ -1603,6 +1642,7 @@ var fr_default = {
|
|
|
1603
1642
|
"card.header.description.registration": "S'inscrire avec {identifierLabel}",
|
|
1604
1643
|
"misc.or": "ou",
|
|
1605
1644
|
"forms.label.forgot-password": "Mot de passe oubli\xE9?",
|
|
1645
|
+
"forms.label.recover-account": "R\xE9cup\xE9rer le compte",
|
|
1606
1646
|
"settings.lookup_secret.title": "Codes de r\xE9cup\xE9ration de sauvegarde (second facteur)",
|
|
1607
1647
|
"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.",
|
|
1608
1648
|
"settings.oidc.title": "Comptes connect\xE9s",
|
|
@@ -1808,6 +1848,7 @@ var nl_default = {
|
|
|
1808
1848
|
"two-step.code.description": "Een verificatiecode wordt naar uw e-mail gestuurd",
|
|
1809
1849
|
"two-step.code.title": "E-mailcode",
|
|
1810
1850
|
"two-step.passkey.description": "Gebruik de vingerafdruk- of gezichtsherkenning van uw apparaat",
|
|
1851
|
+
"two-step.passkey.description.error": "De benodigde bibliotheken om uw Passkey te gebruiken konden niet worden geladen. Probeer het later opnieuw.",
|
|
1811
1852
|
"two-step.passkey.title": "Toegangscode (aanbevolen)",
|
|
1812
1853
|
"two-step.password.description": "Voer uw wachtwoord in dat is gekoppeld aan uw account",
|
|
1813
1854
|
"two-step.password.title": "Wachtwoord",
|
|
@@ -1851,6 +1892,7 @@ var nl_default = {
|
|
|
1851
1892
|
"card.header.parts.password.registration": "",
|
|
1852
1893
|
"card.header.parts.webauthn": "",
|
|
1853
1894
|
"forms.label.forgot-password": "",
|
|
1895
|
+
"forms.label.recover-account": "",
|
|
1854
1896
|
"login.subtitle": "",
|
|
1855
1897
|
"login.subtitle-refresh": "",
|
|
1856
1898
|
"misc.or": "",
|
|
@@ -1886,6 +1928,8 @@ var nl_default = {
|
|
|
1886
1928
|
"settings.webauthn.description": "",
|
|
1887
1929
|
"settings.webauthn.info": "",
|
|
1888
1930
|
"settings.webauthn.title": "",
|
|
1931
|
+
"settings.messages.toast-title.success": "Instellingen bijgewerkt",
|
|
1932
|
+
"settings.messages.toast-title.error": "Fout bij het bijwerken van instellingen",
|
|
1889
1933
|
"card.footer.select-another-method": "",
|
|
1890
1934
|
"account-linking.title": "",
|
|
1891
1935
|
"property.code": "",
|
|
@@ -2095,6 +2139,7 @@ var pl_default = {
|
|
|
2095
2139
|
"two-step.code.description": "Kod weryfikacyjny zostanie wys\u0142any na Tw\xF3j adres email.",
|
|
2096
2140
|
"two-step.code.title": "Kod email",
|
|
2097
2141
|
"two-step.passkey.description": "U\u017Cyj swojego urz\u0105dzenia lub funkcji rozpoznawania twarzy na swoim urz\u0105dzeniu.",
|
|
2142
|
+
"two-step.passkey.description.error": "Nie uda\u0142o si\u0119 za\u0142adowa\u0107 niezb\u0119dnych bibliotek do u\u017Cycia Passkey. Spr\xF3buj ponownie p\xF3\u017Aniej.",
|
|
2098
2143
|
"two-step.passkey.title": "Klucz dost\u0119pu (zalecany)",
|
|
2099
2144
|
"two-step.password.description": "Wprowad\u017A has\u0142o powi\u0105zane z twoim kontem",
|
|
2100
2145
|
"two-step.password.title": "Has\u0142o",
|
|
@@ -2138,6 +2183,7 @@ var pl_default = {
|
|
|
2138
2183
|
"card.header.parts.totp": "Twoja aplikacja uwierzytelniaj\u0105ca",
|
|
2139
2184
|
"card.header.parts.lookup_secret": "kod odzyskiwania kopii zapasowej",
|
|
2140
2185
|
"forms.label.forgot-password": "",
|
|
2186
|
+
"forms.label.recover-account": "",
|
|
2141
2187
|
"login.subtitle": "",
|
|
2142
2188
|
"login.subtitle-refresh": "",
|
|
2143
2189
|
"misc.or": "",
|
|
@@ -2173,6 +2219,8 @@ var pl_default = {
|
|
|
2173
2219
|
"settings.webauthn.description": "",
|
|
2174
2220
|
"settings.webauthn.info": "",
|
|
2175
2221
|
"settings.webauthn.title": "",
|
|
2222
|
+
"settings.messages.toast-title.success": "Ustawienia zaktualizowane pomy\u015Blnie",
|
|
2223
|
+
"settings.messages.toast-title.error": "Wyst\u0105pi\u0142 b\u0142\u0105d podczas aktualizacji ustawie\u0144",
|
|
2176
2224
|
"card.footer.select-another-method": "",
|
|
2177
2225
|
"account-linking.title": "",
|
|
2178
2226
|
"property.code": "",
|
|
@@ -2382,6 +2430,7 @@ var pt_default = {
|
|
|
2382
2430
|
"two-step.code.description": "Um c\xF3digo de verifica\xE7\xE3o ser\xE1 enviado para o seu email",
|
|
2383
2431
|
"two-step.code.title": "C\xF3digo de email",
|
|
2384
2432
|
"two-step.passkey.description": "Use o seu dispositivo para reconhecimento de impress\xE3o digital ou facial.",
|
|
2433
|
+
"two-step.passkey.description.error": "N\xE3o foi poss\xEDvel carregar as bibliotecas necess\xE1rias para usar o seu Passkey. Por favor, tente novamente mais tarde.",
|
|
2385
2434
|
"two-step.passkey.title": "Chave de acesso (recomendado)",
|
|
2386
2435
|
"two-step.password.description": "Insira a sua senha associada \xE0 sua conta",
|
|
2387
2436
|
"two-step.password.title": "Senha",
|
|
@@ -2425,6 +2474,7 @@ var pt_default = {
|
|
|
2425
2474
|
"card.header.parts.password.registration": "",
|
|
2426
2475
|
"card.header.parts.webauthn": "",
|
|
2427
2476
|
"forms.label.forgot-password": "",
|
|
2477
|
+
"forms.label.recover-account": "",
|
|
2428
2478
|
"login.subtitle": "",
|
|
2429
2479
|
"login.subtitle-refresh": "",
|
|
2430
2480
|
"misc.or": "",
|
|
@@ -2460,6 +2510,8 @@ var pt_default = {
|
|
|
2460
2510
|
"settings.webauthn.description": "",
|
|
2461
2511
|
"settings.webauthn.info": "",
|
|
2462
2512
|
"settings.webauthn.title": "",
|
|
2513
|
+
"settings.messages.toast-title.success": "Configura\xE7\xF5es atualizadas com sucesso",
|
|
2514
|
+
"settings.messages.toast-title.error": "Erro ao atualizar configura\xE7\xF5es",
|
|
2463
2515
|
"card.footer.select-another-method": "",
|
|
2464
2516
|
"account-linking.title": "",
|
|
2465
2517
|
"property.code": "",
|
|
@@ -2688,6 +2740,7 @@ var sv_default = {
|
|
|
2688
2740
|
"two-step.code.title": "E-postkod",
|
|
2689
2741
|
"two-step.passkey.description": "Anv\xE4nd din enhets fingeravtryck eller ansiktsigenk\xE4nning",
|
|
2690
2742
|
"two-step.passkey.title": "Passerkod (rekommenderad)",
|
|
2743
|
+
"two-step.passkey.description.error": "Det gick inte att ladda de n\xF6dv\xE4ndiga biblioteken f\xF6r att anv\xE4nda din Passkey. F\xF6rs\xF6k igen senare.",
|
|
2691
2744
|
"two-step.password.description": "Ange ditt l\xF6senord kopplat till ditt konto",
|
|
2692
2745
|
"two-step.password.title": "L\xF6senord",
|
|
2693
2746
|
"two-step.webauthn.title": "S\xE4kerhetsnyckel",
|
|
@@ -2712,6 +2765,7 @@ var sv_default = {
|
|
|
2712
2765
|
"card.header.parts.password.registration": "din {identifierLabel} och ett l\xF6senord",
|
|
2713
2766
|
"card.header.parts.webauthn": "en s\xE4kerhetsnyckel",
|
|
2714
2767
|
"forms.label.forgot-password": "Gl\xF6mt L\xF6senord?",
|
|
2768
|
+
"forms.label.recover-account": "\xC5terst\xE4ll Konto",
|
|
2715
2769
|
"login.subtitle": "Logga in med {parts}",
|
|
2716
2770
|
"login.subtitle-refresh": "Bekr\xE4fta din identitet med {parts}",
|
|
2717
2771
|
"misc.or": "eller",
|
|
@@ -2747,6 +2801,8 @@ var sv_default = {
|
|
|
2747
2801
|
"settings.webauthn.description": "Hantera inst\xE4llningarna f\xF6r din maskinvarutoken",
|
|
2748
2802
|
"settings.webauthn.info": "H\xE5rdvarutokens anv\xE4nds f\xF6r andrafaktorsautentisering eller som f\xF6rstafaktor med l\xF6senordsnycklar",
|
|
2749
2803
|
"settings.webauthn.title": "Hantera maskinvarutokens",
|
|
2804
|
+
"settings.messages.toast-title.success": "Inst\xE4llningarna har uppdaterats",
|
|
2805
|
+
"settings.messages.toast-title.error": "Ett fel uppstod",
|
|
2750
2806
|
"card.footer.select-another-method": "V\xE4lj en annan metod",
|
|
2751
2807
|
"account-linking.title": "L\xE4nka ditt konto",
|
|
2752
2808
|
"property.password": "l\xF6senord",
|
|
@@ -2777,6 +2833,297 @@ var sv_default = {
|
|
|
2777
2833
|
"error.instructions": ""
|
|
2778
2834
|
};
|
|
2779
2835
|
|
|
2836
|
+
// src/locales/no.json
|
|
2837
|
+
var no_default = {
|
|
2838
|
+
"consent.action-accept": "Tillat",
|
|
2839
|
+
"consent.action-reject": "Avsl\xE5",
|
|
2840
|
+
"consent.description": "Gi kun tillatelser hvis du stoler p\xE5 dette nettstedet eller appen. Du trenger ikke \xE5 godta alle tillatelser.",
|
|
2841
|
+
"consent.privacy-policy-label": "Personvernerkl\xE6ring",
|
|
2842
|
+
"consent.remember-label": "Husk denne avgj\xF8relsen til neste gang. Applikasjonen vil ikke kunne be om flere tillatelser uten ditt samtykke.",
|
|
2843
|
+
"consent.remember-tooltip": "husk mitt valg",
|
|
2844
|
+
"consent.requested-permissions-label": "Applikasjonen ber om tilgang til f\xF8lgende tillatelser:",
|
|
2845
|
+
"consent.terms-of-service-label": "Vilk\xE5r for bruk",
|
|
2846
|
+
"error.back-button": "G\xE5 tilbake",
|
|
2847
|
+
"error.description": "En feil oppstod med f\xF8lgende melding:",
|
|
2848
|
+
"error.support-email-link": "Hvis problemet vedvarer, vennligst kontakt <a>{contactSupportEmail}</a>",
|
|
2849
|
+
"error.title": "En feil oppstod",
|
|
2850
|
+
"error.title-internal-server-error": "Intern serverfeil",
|
|
2851
|
+
"error.title-not-found": "404 - Siden ble ikke funnet",
|
|
2852
|
+
"identities.messages.1010001": "Logg inn",
|
|
2853
|
+
"identities.messages.1010002": "Logg inn med {provider}",
|
|
2854
|
+
"identities.messages.1010003": "Vennligst bekreft denne handlingen ved \xE5 verifisere at det er deg.",
|
|
2855
|
+
"identities.messages.1010004": "Vennligst fullf\xF8r den andre autentiseringsutfordringen.",
|
|
2856
|
+
"identities.messages.1010005": "Bekreft",
|
|
2857
|
+
"identities.messages.1010006": "Autentiseringskode",
|
|
2858
|
+
"identities.messages.1010007": "Backup gjenopprettingskode",
|
|
2859
|
+
"identities.messages.1010008": "Fortsett med sikkerhetsn\xF8kkel",
|
|
2860
|
+
"identities.messages.1010009": "Fortsett",
|
|
2861
|
+
"identities.messages.1010010": "Fortsett",
|
|
2862
|
+
"identities.messages.1010011": "Logg inn med sikkerhetsn\xF8kkel",
|
|
2863
|
+
"identities.messages.1010012": "Forbered din WebAuthn-enhet (f.eks. sikkerhetsn\xF8kkel, biometrisk skanner, ...) og trykk fortsett.",
|
|
2864
|
+
"identities.messages.1010013": "Fortsett",
|
|
2865
|
+
"identities.messages.1010014": "En kode har blitt sendt til adressen du oppga. Hvis du ikke har mottatt en melding, sjekk stavem\xE5ten p\xE5 adressen og pr\xF8v \xE5 logge inn p\xE5 nytt.",
|
|
2866
|
+
"identities.messages.1010015": "Send innloggingskode",
|
|
2867
|
+
"identities.messages.1010016": 'Du pr\xF8vde \xE5 logge inn med "{duplicateIdentifier}", men den e-posten er allerede brukt av en annen konto. Logg inn p\xE5 kontoen din med et av alternativene nedenfor for \xE5 legge til kontoen din "{duplicateIdentifier}" hos "{provider}" som en annen m\xE5te \xE5 logge inn p\xE5.',
|
|
2868
|
+
"identities.messages.1010017": "Logg inn og koble til",
|
|
2869
|
+
"identities.messages.1010018": "Bekreft med {provider}",
|
|
2870
|
+
"identities.messages.1010019": "Be om kode for \xE5 fortsette",
|
|
2871
|
+
"identities.messages.1010021": "Logg inn med passkey",
|
|
2872
|
+
"identities.messages.1010022": "Logg inn med passord",
|
|
2873
|
+
"identities.messages.1010023": "Send kode til {address}",
|
|
2874
|
+
"identities.messages.1040001": "Registrer deg",
|
|
2875
|
+
"identities.messages.1040002": "Registrer deg med {provider}",
|
|
2876
|
+
"identities.messages.1040003": "Fortsett",
|
|
2877
|
+
"identities.messages.1040004": "Registrer deg med sikkerhetsn\xF8kkel",
|
|
2878
|
+
"identities.messages.1040005": "En kode har blitt sendt til adressen(e) du oppga. Hvis du ikke har mottatt en melding, sjekk stavem\xE5ten p\xE5 adressen og pr\xF8v \xE5 registrere deg p\xE5 nytt.",
|
|
2879
|
+
"identities.messages.1040006": "Send registreringskode",
|
|
2880
|
+
"identities.messages.1040007": "Registrer deg med passkey",
|
|
2881
|
+
"identities.messages.1040008": "Tilbake",
|
|
2882
|
+
"identities.messages.1040009": "Vennligst velg en legitimasjon for \xE5 autentisere deg.",
|
|
2883
|
+
"identities.messages.1050001": "Endringene dine er lagret!",
|
|
2884
|
+
"identities.messages.1050002": "Koble til {provider}",
|
|
2885
|
+
"identities.messages.1050003": "Koble fra {provider}",
|
|
2886
|
+
"identities.messages.1050004": "Koble fra TOTP-autentiseringsapp",
|
|
2887
|
+
"identities.messages.1050005": "Autentiseringsapp QR-kode",
|
|
2888
|
+
"identities.messages.1050006": "{secret}",
|
|
2889
|
+
"identities.messages.1050007": "Vis backup gjenopprettingskoder",
|
|
2890
|
+
"identities.messages.1050008": "Aktiver",
|
|
2891
|
+
"identities.messages.1050009": "{secret}",
|
|
2892
|
+
"identities.messages.1050010": "Dette er dine backup gjenopprettingskoder. Vennligst oppbevar dem p\xE5 et trygt sted!",
|
|
2893
|
+
"identities.messages.1050011": "Bekreft backup gjenopprettingskoder",
|
|
2894
|
+
"identities.messages.1050012": "Legg til sikkerhetsn\xF8kkel",
|
|
2895
|
+
"identities.messages.1050013": "Navn p\xE5 sikkerhetsn\xF8kkel",
|
|
2896
|
+
"identities.messages.1050014": "Hemmeligheten ble brukt {used_at, date, long}",
|
|
2897
|
+
"identities.messages.1050015": "{secrets_list}",
|
|
2898
|
+
"identities.messages.1050016": "Deaktiver denne metoden",
|
|
2899
|
+
"identities.messages.1050017": "Autentiseringshemmelighet",
|
|
2900
|
+
"identities.messages.1050018": 'Fjern sikkerhetsn\xF8kkel "{display_name}"',
|
|
2901
|
+
"identities.messages.1050019": "Legg til passkey",
|
|
2902
|
+
"identities.messages.1050020": 'Fjern passkey "{display_name}"',
|
|
2903
|
+
"identities.messages.1060001": "Du har gjenopprettet kontoen din. Vennligst endre passordet ditt eller sett opp en alternativ innloggingsmetode (f.eks. sosial innlogging) innen de neste {privileged_session_expires_at_unix_until_minutes} minuttene.",
|
|
2904
|
+
"identities.messages.1060002": "En e-post med en gjenopprettingslenke har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavem\xE5ten p\xE5 adressen og s\xF8rg for \xE5 bruke adressen du registrerte deg med.",
|
|
2905
|
+
"identities.messages.1060003": "En e-post med en gjenopprettingskode har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavem\xE5ten p\xE5 adressen og s\xF8rg for \xE5 bruke adressen du registrerte deg med.",
|
|
2906
|
+
"identities.messages.1070001": "Passord",
|
|
2907
|
+
"identities.messages.1070002": "{title}",
|
|
2908
|
+
"identities.messages.1070003": "Lagre",
|
|
2909
|
+
"identities.messages.1070004": "ID",
|
|
2910
|
+
"identities.messages.1070005": "Send inn",
|
|
2911
|
+
"identities.messages.1070006": "Bekreft kode",
|
|
2912
|
+
"identities.messages.1070007": "E-post",
|
|
2913
|
+
"identities.messages.1070008": "Send kode p\xE5 nytt",
|
|
2914
|
+
"identities.messages.1070009": "Fortsett",
|
|
2915
|
+
"identities.messages.1070010": "Gjenopprettingskode",
|
|
2916
|
+
"identities.messages.1070011": "Verifiseringskode",
|
|
2917
|
+
"identities.messages.1070012": "Registreringskode",
|
|
2918
|
+
"identities.messages.1070013": "Innloggingskode",
|
|
2919
|
+
"identities.messages.1070014": "Logg inn og koble legitimasjon",
|
|
2920
|
+
"identities.messages.1070015": "Vennligst fullf\xF8r captcha-utfordringen for \xE5 fortsette.",
|
|
2921
|
+
"identities.messages.1080001": "En e-post med en verifiseringslenke har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavem\xE5ten p\xE5 adressen og s\xF8rg for \xE5 bruke adressen du registrerte deg med.",
|
|
2922
|
+
"identities.messages.1080002": "Du har bekreftet e-postadressen din.",
|
|
2923
|
+
"identities.messages.1080003": "En e-post med en verifiseringskode har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavem\xE5ten p\xE5 adressen og s\xF8rg for \xE5 bruke adressen du registrerte deg med.",
|
|
2924
|
+
"identities.messages.4000001": "{reason}",
|
|
2925
|
+
"identities.messages.4000002": "Vennligst skriv inn {property} og pr\xF8v igjen.",
|
|
2926
|
+
"identities.messages.4000003": "lengden m\xE5 v\xE6re >= {min_length}, men fikk {actual_length}",
|
|
2927
|
+
"identities.messages.4000004": 'matcher ikke m\xF8nsteret "{pattern}"',
|
|
2928
|
+
"identities.messages.4000005": "Passordet kan ikke brukes fordi {reason}.",
|
|
2929
|
+
"identities.messages.4000006": "De oppgitte legitimasjonene er ugyldige, sjekk for skrivefeil i passord, brukernavn, e-postadresse eller telefonnummer.",
|
|
2930
|
+
"identities.messages.4000007": "En konto med samme identifikator (e-post, telefon, brukernavn, ...) eksisterer allerede.",
|
|
2931
|
+
"identities.messages.4000008": "Den oppgitte autentiseringskoden er ugyldig, vennligst pr\xF8v igjen.",
|
|
2932
|
+
"identities.messages.4000009": "Fant ingen innloggingsidentifikatorer. Glemte du \xE5 sette dem? Dette kan ogs\xE5 skyldes en serverfeil.",
|
|
2933
|
+
"identities.messages.4000010": "Kontoen er ikke aktiv enn\xE5. Glemte du \xE5 bekrefte e-postadressen din?",
|
|
2934
|
+
"identities.messages.4000011": "Du har ingen TOTP-enhet satt opp.",
|
|
2935
|
+
"identities.messages.4000012": "Denne backup gjenopprettingskoden er allerede brukt.",
|
|
2936
|
+
"identities.messages.4000013": "Du har ingen WebAuthn-enhet satt opp.",
|
|
2937
|
+
"identities.messages.4000014": "Du har ingen backup gjenopprettingskoder satt opp.",
|
|
2938
|
+
"identities.messages.4000015": "Denne kontoen eksisterer ikke eller har ingen sikkerhetsn\xF8kkel satt opp.",
|
|
2939
|
+
"identities.messages.4000016": "Backup gjenopprettingskoden er ikke gyldig.",
|
|
2940
|
+
"identities.messages.4000017": "lengden m\xE5 v\xE6re <= {max_length}, men fikk {actual_length}",
|
|
2941
|
+
"identities.messages.4000018": "m\xE5 v\xE6re >= {minimum} men fant {actual}",
|
|
2942
|
+
"identities.messages.4000019": "m\xE5 v\xE6re > {minimum} men fant {actual}",
|
|
2943
|
+
"identities.messages.4000020": "m\xE5 v\xE6re <= {maximum} men fant {actual}",
|
|
2944
|
+
"identities.messages.4000021": "m\xE5 v\xE6re < {maximum} men fant {actual}",
|
|
2945
|
+
"identities.messages.4000022": "{actual} er ikke et multiplum av {base}",
|
|
2946
|
+
"identities.messages.4000023": "maksimalt {max_items} elementer tillatt, men fant {actual_items} elementer",
|
|
2947
|
+
"identities.messages.4000024": "minst {min_items} elementer kreves, men fant {actual_items} elementer",
|
|
2948
|
+
"identities.messages.4000025": "elementene p\xE5 indeks {index_a} og {index_b} er like",
|
|
2949
|
+
"identities.messages.4000026": "forventet {allowed_types_list}, men fikk {actual_type}",
|
|
2950
|
+
"identities.messages.4000027": "En konto med samme identifikator (e-post, telefon, brukernavn, ...) eksisterer allerede. Vennligst logg inn p\xE5 din eksisterende konto for \xE5 koble din sosiale profil.",
|
|
2951
|
+
"identities.messages.4000028": "Du pr\xF8vde \xE5 logge inn med {credential_identifier_hint} som allerede er i bruk av en annen konto. Du kan logge inn med {available_credential_types_list}. Du kan logge inn med en av f\xF8lgende sosiale innloggingsleverand\xF8rer: {Available_oidc_providers_list}.",
|
|
2952
|
+
"identities.messages.4000029": "m\xE5 v\xE6re lik konstanten {expected}",
|
|
2953
|
+
"identities.messages.4000030": "const feilet",
|
|
2954
|
+
"identities.messages.4000031": "Passordet kan ikke brukes fordi det er for likt identifikatoren.",
|
|
2955
|
+
"identities.messages.4000032": "Passordet m\xE5 v\xE6re minst {min_length} tegn langt, men fikk {actual_length}.",
|
|
2956
|
+
"identities.messages.4000033": "Passordet m\xE5 v\xE6re maksimalt {max_length} tegn langt, men fikk {actual_length}.",
|
|
2957
|
+
"identities.messages.4000034": "Passordet har blitt funnet i datalekkasjer og m\xE5 ikke lenger brukes.",
|
|
2958
|
+
"identities.messages.4000035": "Denne kontoen eksisterer ikke eller har ikke satt opp innlogging med kode.",
|
|
2959
|
+
"identities.messages.4000036": "De oppgitte egenskapene samsvarer ikke med egenskapene som tidligere var tilknyttet denne flyten.",
|
|
2960
|
+
"identities.messages.4000037": "Denne kontoen eksisterer ikke eller har ingen innloggingsmetode konfigurert.",
|
|
2961
|
+
"identities.messages.4000038": "Captcha-verifisering mislyktes, vennligst pr\xF8v igjen.",
|
|
2962
|
+
"identities.messages.4010001": "Innloggingsflyten utl\xF8p for {expired_at_unix_since_minutes} minutter siden, vennligst pr\xF8v igjen.",
|
|
2963
|
+
"identities.messages.4010002": "Fant ingen strategi for \xE5 logge deg inn. Fylte du ut skjemaet riktig?",
|
|
2964
|
+
"identities.messages.4010003": "Fant ingen strategi for \xE5 registrere deg. Fylte du ut skjemaet riktig?",
|
|
2965
|
+
"identities.messages.4010004": "Fant ingen strategi for \xE5 oppdatere innstillingene dine. Fylte du ut skjemaet riktig?",
|
|
2966
|
+
"identities.messages.4010005": "Fant ingen strategi for \xE5 gjenopprette kontoen din. Fylte du ut skjemaet riktig?",
|
|
2967
|
+
"identities.messages.4010006": "Fant ingen strategi for \xE5 verifisere kontoen din. Fylte du ut skjemaet riktig?",
|
|
2968
|
+
"identities.messages.4010007": "Foresp\xF8rselen ble allerede fullf\xF8rt og kan ikke gjentas.",
|
|
2969
|
+
"identities.messages.4010008": "Innloggingskoden er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v igjen.",
|
|
2970
|
+
"identities.messages.4010009": "Koblede legitimasjoner samsvarer ikke.",
|
|
2971
|
+
"identities.messages.4010010": "Adressen du oppga samsvarer ikke med noen kjente adresser i den n\xE5v\xE6rende kontoen.",
|
|
2972
|
+
"identities.messages.4040001": "Registreringsflyten utl\xF8p for {expired_at_unix_since_minutes} minutter siden, vennligst pr\xF8v igjen.",
|
|
2973
|
+
"identities.messages.4040002": "Foresp\xF8rselen ble allerede fullf\xF8rt og kan ikke gjentas.",
|
|
2974
|
+
"identities.messages.4040003": "Registreringskoden er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v igjen.",
|
|
2975
|
+
"identities.messages.4050001": "Innstillingsflyten utl\xF8p for {expired_at_unix_since_minutes} minutter siden, vennligst pr\xF8v igjen.",
|
|
2976
|
+
"identities.messages.4060001": "Foresp\xF8rselen ble allerede fullf\xF8rt og kan ikke gjentas.",
|
|
2977
|
+
"identities.messages.4060002": "Gjenopprettingsflyten n\xE5dde en feiltilstand og m\xE5 gjentas.",
|
|
2978
|
+
"identities.messages.4060004": "Gjenopprettingstokenet er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v flyten p\xE5 nytt.",
|
|
2979
|
+
"identities.messages.4060005": "Gjenopprettingsflyten utl\xF8p for {expired_at_unix_since_minutes} minutter siden, vennligst pr\xF8v igjen.",
|
|
2980
|
+
"identities.messages.4060006": "Gjenopprettingskoden er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v igjen.",
|
|
2981
|
+
"identities.messages.4070001": "Verifiseringstokenet er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v flyten p\xE5 nytt.",
|
|
2982
|
+
"identities.messages.4070002": "Foresp\xF8rselen ble allerede fullf\xF8rt og kan ikke gjentas.",
|
|
2983
|
+
"identities.messages.4070003": "Verifiseringsflyten n\xE5dde en feiltilstand og m\xE5 gjentas.",
|
|
2984
|
+
"identities.messages.4070005": "Verifiseringsflyten utl\xF8p for {expired_at_unix_since_minutes} minutter siden, vennligst pr\xF8v igjen.",
|
|
2985
|
+
"identities.messages.4070006": "Verifiseringskoden er ugyldig eller har allerede blitt brukt. Vennligst pr\xF8v igjen.",
|
|
2986
|
+
"identities.messages.5000001": "{reason}",
|
|
2987
|
+
"login.cancel-button": "Avbryt",
|
|
2988
|
+
"login.cancel-label": "Ikke riktig konto?",
|
|
2989
|
+
"login.forgot-password": "Glemt passord?",
|
|
2990
|
+
"login.logged-in-as-label": "Du bruker:",
|
|
2991
|
+
"login.logout-button": "Logg ut",
|
|
2992
|
+
"login.logout-label": "Noe fungerer ikke?",
|
|
2993
|
+
"login.registration-button": "Registrer deg",
|
|
2994
|
+
"login.registration-label": "Har du ikke en konto?",
|
|
2995
|
+
"login.subtitle-oauth2": "For \xE5 autentisere {clientName}",
|
|
2996
|
+
"login.title": "Logg inn",
|
|
2997
|
+
"login.subtitle": "Logg inn med {parts}",
|
|
2998
|
+
"login.title-aal2": "Tofaktorautentisering",
|
|
2999
|
+
"login.subtitle-aal2": "Velg en m\xE5te \xE5 fullf\xF8re tofaktorautentisering",
|
|
3000
|
+
"login.code.subtitle": "En verifiseringskode vil bli sendt p\xE5 e-post",
|
|
3001
|
+
"login.webauthn.subtitle": "Vennligst forbered din WebAuthN-enhet",
|
|
3002
|
+
"login.totp.subtitle": "Vennligst skriv inn koden generert av din autentiseringsapp",
|
|
3003
|
+
"login.lookup_secret.subtitle": "Vennligst skriv inn en av dine 8-sifrede backup gjenopprettingskoder",
|
|
3004
|
+
"login.title-refresh": "Reautentiser",
|
|
3005
|
+
"login.subtitle-refresh": "Bekreft din identitet med {parts}",
|
|
3006
|
+
"login.2fa.go-back": "Noe fungerer ikke?",
|
|
3007
|
+
"login.2fa.go-back.link": "G\xE5 tilbake",
|
|
3008
|
+
"login.2fa.method.go-back": "Velg en annen metode",
|
|
3009
|
+
"logout.accept-button": "Ja",
|
|
3010
|
+
"logout.reject-button": "Nei",
|
|
3011
|
+
"logout.title": "\xD8nsker du \xE5 logge ut?",
|
|
3012
|
+
"recovery.login-button": "Logg inn",
|
|
3013
|
+
"recovery.login-label": "Husker du legitimasjonen din?",
|
|
3014
|
+
"recovery.title": "Gjenopprett kontoen din",
|
|
3015
|
+
"recovery.subtitle": "Skriv inn e-postadressen tilknyttet kontoen din for \xE5 motta en engangskode",
|
|
3016
|
+
"registration.login-button": "Logg inn",
|
|
3017
|
+
"registration.login-label": "Har du allerede en konto?",
|
|
3018
|
+
"registration.subtitle-oauth2": "For \xE5 autentisere {clientName}",
|
|
3019
|
+
"registration.title": "Registrer en konto",
|
|
3020
|
+
"registration.subtitle": "Registrer deg med {parts}",
|
|
3021
|
+
"settings.navigation-back-button": "Tilbake",
|
|
3022
|
+
"settings.navigation-backup-codes": "2FA backupkoder",
|
|
3023
|
+
"settings.navigation-logout": "Logg ut",
|
|
3024
|
+
"settings.navigation-oidc": "Sosial innlogging",
|
|
3025
|
+
"settings.navigation-password": "Passord",
|
|
3026
|
+
"settings.navigation-profile": "Profil",
|
|
3027
|
+
"settings.navigation-totp": "Autentiseringsapp",
|
|
3028
|
+
"settings.navigation-webauthn": "Maskinvaretokener",
|
|
3029
|
+
"settings.navigation-passkey": "Passkeys",
|
|
3030
|
+
"settings.subtitle-instructions": "Her kan du administrere innstillinger relatert til kontoen din. V\xE6r oppmerksom p\xE5 at enkelte handlinger krever at du autentiserer deg p\xE5 nytt.",
|
|
3031
|
+
"settings.subtitle": "Oppdater kontoinnstillingene dine",
|
|
3032
|
+
"settings.title-lookup-secret": "Administrer 2FA backup gjenopprettingskoder",
|
|
3033
|
+
"settings.title-navigation": "Kontoinnstillinger",
|
|
3034
|
+
"settings.title-oidc": "Sosial innlogging",
|
|
3035
|
+
"settings.title-password": "Endre passord",
|
|
3036
|
+
"settings.title-profile": "Profilinnstillinger",
|
|
3037
|
+
"settings.title-totp": "Administrer 2FA TOTP-autentiseringsapp",
|
|
3038
|
+
"settings.title-webauthn": "Administrer maskinvaretokener",
|
|
3039
|
+
"settings.title-passkey": "Administrer passkeys",
|
|
3040
|
+
"settings.title": "Kontoinnstillinger",
|
|
3041
|
+
"settings.navigation.title": "Kontoinnstillinger",
|
|
3042
|
+
"settings.password.title": "Endre passord",
|
|
3043
|
+
"settings.password.description": "Endre passordet ditt",
|
|
3044
|
+
"settings.profile.title": "Profilinnstillinger",
|
|
3045
|
+
"settings.profile.description": "Oppdater profilinformasjonen din",
|
|
3046
|
+
"settings.webauthn.title": "Administrer maskinvaretokener",
|
|
3047
|
+
"settings.webauthn.description": "Administrer innstillingene for maskinvaretokener",
|
|
3048
|
+
"verification.registration-button": "Registrer deg",
|
|
3049
|
+
"verification.registration-label": "Har du ikke en konto?",
|
|
3050
|
+
"verification.title": "Bekreft kontoen din",
|
|
3051
|
+
"verification.subtitle": "Skriv inn e-postadressen tilknyttet kontoen din for \xE5 bekrefte den",
|
|
3052
|
+
"verification.back-button": "Tilbake",
|
|
3053
|
+
"two-step.password.title": "Passord",
|
|
3054
|
+
"two-step.password.description": "Skriv inn passordet tilknyttet kontoen din",
|
|
3055
|
+
"two-step.code.title": "E-postkode",
|
|
3056
|
+
"two-step.code.description": "En verifiseringskode vil bli sendt til din e-post",
|
|
3057
|
+
"two-step.webauthn.title": "Sikkerhetsn\xF8kkel",
|
|
3058
|
+
"two-step.webauthn.description": "Bruk sikkerhetsn\xF8kkelen din for \xE5 autentisere",
|
|
3059
|
+
"two-step.passkey.title": "Passkey (anbefalt)",
|
|
3060
|
+
"two-step.passkey.description": "Bruk enheten din for fingeravtrykk eller ansiktsgjenkjenning",
|
|
3061
|
+
"two-step.totp.title": "Bruk autentiseringsapp (TOTP)",
|
|
3062
|
+
"two-step.totp.description": "Bruk en 6-sifret engangskode fra autentiseringsappen din",
|
|
3063
|
+
"two-step.lookup_secret.title": "Backup gjenopprettingskode",
|
|
3064
|
+
"two-step.lookup_secret.description": "Bruk en av dine 8-sifrede backupkoder for \xE5 autentisere",
|
|
3065
|
+
"identities.messages.1010020": "",
|
|
3066
|
+
"input.placeholder": "Skriv inn din {placeholder}",
|
|
3067
|
+
"card.header.parts.oidc": "en sosial leverand\xF8r",
|
|
3068
|
+
"card.header.parts.password.registration": "din {identifierLabel} og et passord",
|
|
3069
|
+
"card.header.parts.password.login": "din {identifierLabel} og passord",
|
|
3070
|
+
"card.header.parts.code": "en kode sendt til deg",
|
|
3071
|
+
"card.header.parts.passkey": "en passkey",
|
|
3072
|
+
"card.header.parts.webauthn": "en sikkerhetsn\xF8kkel",
|
|
3073
|
+
"card.header.parts.totp": "din autentiseringsapp",
|
|
3074
|
+
"card.header.parts.lookup_secret": "en backup gjenopprettingskode",
|
|
3075
|
+
"card.header.parts.identifier-first": "din {identifierLabel}",
|
|
3076
|
+
"card.header.description.login": "Logg inn med {identifierLabel}",
|
|
3077
|
+
"card.header.description.registration": "Registrer deg med {identifierLabel}",
|
|
3078
|
+
"misc.or": "eller",
|
|
3079
|
+
"forms.label.recover-account": "Gjenopprett kontoen",
|
|
3080
|
+
"forms.label.forgot-password": "Glemt passord?",
|
|
3081
|
+
"settings.totp.title": "Autentiseringsapp",
|
|
3082
|
+
"settings.totp.description": "Legg til en TOTP-autentiseringsapp til kontoen din for \xE5 forbedre sikkerheten. Popul\xE6re autentiseringsapper er LastPass og Google Authenticator",
|
|
3083
|
+
"settings.totp.info.not-linked": "For \xE5 aktivere, skann QR-koden med autentiseringsappen og skriv inn koden.",
|
|
3084
|
+
"settings.totp.info.linked": "Du har for \xF8yeblikket en autentiseringsapp tilkoblet.",
|
|
3085
|
+
"settings.lookup_secret.title": "Backup gjenopprettingskoder (andre faktor)",
|
|
3086
|
+
"settings.lookup_secret.description": "Gjenopprettingskoder er en sikker backup for 2FA, slik at du kan f\xE5 tilgang til kontoen din hvis du mister 2FA-enheten.",
|
|
3087
|
+
"settings.oidc.title": "Tilkoblede kontoer",
|
|
3088
|
+
"settings.oidc.description": "Koble en sosial innloggingsleverand\xF8r til kontoen din.",
|
|
3089
|
+
"settings.oidc.info": "Tilkoblede kontoer fra disse leverand\xF8rene kan brukes til \xE5 logge inn p\xE5 kontoen din",
|
|
3090
|
+
"settings.webauthn.info": "Maskinvaretokener brukes for tofaktorautentisering eller som f\xF8rste faktor med passkeys",
|
|
3091
|
+
"settings.passkey.title": "Administrer passkeys",
|
|
3092
|
+
"settings.passkey.description": "Administrer innstillingene for passkeys",
|
|
3093
|
+
"settings.passkey.info": "Administrer innstillingene for passkeys",
|
|
3094
|
+
"card.footer.select-another-method": "Velg en annen metode",
|
|
3095
|
+
"account-linking.title": "Koble konto",
|
|
3096
|
+
"property.password": "passord",
|
|
3097
|
+
"property.email": "e-post",
|
|
3098
|
+
"property.phone": "telefon",
|
|
3099
|
+
"property.username": "brukernavn",
|
|
3100
|
+
"property.identifier": "identifikator",
|
|
3101
|
+
"property.code": "kode",
|
|
3102
|
+
"consent.title": "Autoriser {party}",
|
|
3103
|
+
"consent.subtitle": "En tredjepartsapplikasjon \xF8nsker \xE5 f\xE5 tilgang til informasjon tilknyttet kontoen din {identifier}.",
|
|
3104
|
+
"consent.scope.openid.title": "Identitet",
|
|
3105
|
+
"consent.scope.openid.description": "Lar applikasjonen verifisere identiteten din. Dette er n\xF8dvendig for autentisering og en trygg innloggingsopplevelse.",
|
|
3106
|
+
"consent.scope.offline_access.title": "Frakoblet tilgang",
|
|
3107
|
+
"consent.scope.offline_access.description": "Lar denne applikasjonen holde deg innlogget selv n\xE5r du ikke bruker den aktivt.",
|
|
3108
|
+
"consent.scope.profile.title": "Profilinformasjon",
|
|
3109
|
+
"consent.scope.profile.description": "Gir tilgang til grunnleggende profildetaljer, inkludert brukernavn, fornavn og etternavn.",
|
|
3110
|
+
"consent.scope.email.title": "E-postadresse",
|
|
3111
|
+
"consent.scope.email.description": "Hent e-postadressen din og dens verifiseringsstatus.",
|
|
3112
|
+
"consent.scope.address.title": "Postadresse",
|
|
3113
|
+
"consent.scope.address.description": "F\xE5 tilgang til postadressen din.",
|
|
3114
|
+
"consent.scope.phone.title": "Telefonnummer",
|
|
3115
|
+
"consent.scope.phone.description": "Hent telefonnummeret ditt og dets verifiseringsstatus.",
|
|
3116
|
+
"error.title.what-happened": "Hva skjedde?",
|
|
3117
|
+
"error.title.what-can-i-do": "Hva kan jeg gj\xF8re?",
|
|
3118
|
+
"error.instructions": "Vennligst pr\xF8v igjen om noen minutter eller kontakt nettstedets operat\xF8r.",
|
|
3119
|
+
"error.footer.text": "N\xE5r du rapporterer denne feilen, vennligst inkluder f\xF8lgende informasjon:",
|
|
3120
|
+
"error.footer.copy": "Kopier",
|
|
3121
|
+
"error.action.go-back": "G\xE5 tilbake",
|
|
3122
|
+
"settings.messages.toast-title.error": "Kunne ikke oppdatere innstillinger",
|
|
3123
|
+
"settings.messages.toast-title.success": "Innstillinger oppdatert",
|
|
3124
|
+
"two-step.passkey.description.error": "Kunne ikke laste de n\xF8dvendige bibliotekene for \xE5 bruke passordet ditt. \nVennligst pr\xF8v igjen senere."
|
|
3125
|
+
};
|
|
3126
|
+
|
|
2780
3127
|
// src/locales/index.ts
|
|
2781
3128
|
var OryLocales = {
|
|
2782
3129
|
en: en_default,
|
|
@@ -2786,7 +3133,8 @@ var OryLocales = {
|
|
|
2786
3133
|
nl: nl_default,
|
|
2787
3134
|
pl: pl_default,
|
|
2788
3135
|
pt: pt_default,
|
|
2789
|
-
sv: sv_default
|
|
3136
|
+
sv: sv_default,
|
|
3137
|
+
no: no_default
|
|
2790
3138
|
};
|
|
2791
3139
|
|
|
2792
3140
|
// src/context/intl-context.tsx
|
|
@@ -2802,7 +3150,11 @@ var IntlProvider = ({
|
|
|
2802
3150
|
locale,
|
|
2803
3151
|
customTranslations
|
|
2804
3152
|
}) => {
|
|
3153
|
+
const existingIntlContext = useContext4(IntlContext);
|
|
2805
3154
|
const messages = mergeTranslations(customTranslations != null ? customTranslations : {});
|
|
3155
|
+
if (existingIntlContext) {
|
|
3156
|
+
return children;
|
|
3157
|
+
}
|
|
2806
3158
|
return /* @__PURE__ */ jsx23(
|
|
2807
3159
|
OriginalIntlProvider,
|
|
2808
3160
|
{
|
|
@@ -2833,23 +3185,26 @@ import { jsx as jsx27 } from "react/jsx-runtime";
|
|
|
2833
3185
|
// src/components/card/content.tsx
|
|
2834
3186
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
2835
3187
|
|
|
3188
|
+
// src/components/card/card-two-step.tsx
|
|
3189
|
+
import { FlowType as FlowType10 } from "@ory/client-fetch";
|
|
3190
|
+
|
|
2836
3191
|
// src/components/card/two-step/state-method-active.tsx
|
|
2837
3192
|
import {
|
|
2838
3193
|
isUiNodeScriptAttributes as isUiNodeScriptAttributes5,
|
|
2839
|
-
UiNodeGroupEnum as
|
|
3194
|
+
UiNodeGroupEnum as UiNodeGroupEnum12
|
|
2840
3195
|
} from "@ory/client-fetch";
|
|
2841
3196
|
import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2842
3197
|
|
|
2843
3198
|
// src/components/card/two-step/state-provide-identifier.tsx
|
|
2844
|
-
import { UiNodeGroupEnum as
|
|
3199
|
+
import { UiNodeGroupEnum as UiNodeGroupEnum13 } from "@ory/client-fetch";
|
|
2845
3200
|
import { jsx as jsx30, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2846
3201
|
|
|
2847
3202
|
// src/components/card/card-two-step.tsx
|
|
2848
|
-
import { useOryFlow as useOryFlow2 } from "@ory/elements-react";
|
|
3203
|
+
import { OrySettingsCard, useOryFlow as useOryFlow2 } from "@ory/elements-react";
|
|
2849
3204
|
import { Fragment as Fragment7, jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2850
3205
|
|
|
2851
3206
|
// src/components/card/card-consent.tsx
|
|
2852
|
-
import { getNodeId as
|
|
3207
|
+
import { getNodeId as getNodeId3 } from "@ory/client-fetch";
|
|
2853
3208
|
import { jsx as jsx32, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2854
3209
|
|
|
2855
3210
|
// src/components/card/two-step/state-select-method.tsx
|
|
@@ -2864,17 +3219,17 @@ import { jsx as jsx33 } from "react/jsx-runtime";
|
|
|
2864
3219
|
import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2865
3220
|
function toAuthMethodPickerOptions(visibleGroups) {
|
|
2866
3221
|
return Object.fromEntries(
|
|
2867
|
-
Object.values(
|
|
3222
|
+
Object.values(UiNodeGroupEnum14).filter((group) => {
|
|
2868
3223
|
var _a;
|
|
2869
3224
|
return (_a = visibleGroups[group]) == null ? void 0 : _a.length;
|
|
2870
3225
|
}).filter(
|
|
2871
3226
|
(group) => ![
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
3227
|
+
UiNodeGroupEnum14.Oidc,
|
|
3228
|
+
UiNodeGroupEnum14.Saml,
|
|
3229
|
+
UiNodeGroupEnum14.Default,
|
|
3230
|
+
UiNodeGroupEnum14.IdentifierFirst,
|
|
3231
|
+
UiNodeGroupEnum14.Profile,
|
|
3232
|
+
UiNodeGroupEnum14.Captcha
|
|
2878
3233
|
].includes(group)
|
|
2879
3234
|
).map((g) => [g, {}])
|
|
2880
3235
|
);
|
|
@@ -2888,7 +3243,7 @@ function findScreenSelectionButton(nodes) {
|
|
|
2888
3243
|
}
|
|
2889
3244
|
|
|
2890
3245
|
// src/theme/default/utils/logout.ts
|
|
2891
|
-
import { useCallback, useEffect as
|
|
3246
|
+
import { useCallback, useEffect as useEffect3, useState as useState3 } from "react";
|
|
2892
3247
|
function useClientLogout(config) {
|
|
2893
3248
|
const [logoutFlow, setLogoutFlow] = useState3();
|
|
2894
3249
|
const [isLoading, setIsLoading] = useState3(true);
|
|
@@ -2906,7 +3261,7 @@ function useClientLogout(config) {
|
|
|
2906
3261
|
setIsLoading(false);
|
|
2907
3262
|
}
|
|
2908
3263
|
}, [config.sdk.url]);
|
|
2909
|
-
|
|
3264
|
+
useEffect3(() => {
|
|
2910
3265
|
void fetchLogoutFlow();
|
|
2911
3266
|
}, [fetchLogoutFlow]);
|
|
2912
3267
|
return { logoutFlow, didLoad: !isLoading };
|
|
@@ -2949,15 +3304,15 @@ import { Fragment as Fragment8, jsx as jsx35, jsxs as jsxs15 } from "react/jsx-r
|
|
|
2949
3304
|
function DefaultCardFooter() {
|
|
2950
3305
|
const oryFlow = useOryFlow3();
|
|
2951
3306
|
switch (oryFlow.flowType) {
|
|
2952
|
-
case
|
|
2953
|
-
return /* @__PURE__ */ jsx35(LoginCardFooter, {});
|
|
2954
|
-
case
|
|
3307
|
+
case FlowType11.Login:
|
|
3308
|
+
return /* @__PURE__ */ jsx35(LoginCardFooter, { flow: oryFlow.flow });
|
|
3309
|
+
case FlowType11.Registration:
|
|
2955
3310
|
return /* @__PURE__ */ jsx35(RegistrationCardFooter, {});
|
|
2956
|
-
case
|
|
3311
|
+
case FlowType11.Recovery:
|
|
2957
3312
|
return /* @__PURE__ */ jsx35(RecoveryCardFooter, {});
|
|
2958
|
-
case
|
|
3313
|
+
case FlowType11.Verification:
|
|
2959
3314
|
return /* @__PURE__ */ jsx35(VerificationCardFooter, {});
|
|
2960
|
-
case
|
|
3315
|
+
case FlowType11.OAuth2Consent:
|
|
2961
3316
|
return /* @__PURE__ */ jsx35(ConsentCardFooter, { flow: oryFlow.flow });
|
|
2962
3317
|
default:
|
|
2963
3318
|
return null;
|
|
@@ -2980,13 +3335,10 @@ function shouldShowLogoutButton(flow, formState, authMethods) {
|
|
|
2980
3335
|
}
|
|
2981
3336
|
return false;
|
|
2982
3337
|
}
|
|
2983
|
-
function LoginCardFooter() {
|
|
2984
|
-
const {
|
|
3338
|
+
function LoginCardFooter({ flow }) {
|
|
3339
|
+
const { dispatchFormState, formState } = useOryFlow3();
|
|
2985
3340
|
const config = useOryConfiguration2();
|
|
2986
3341
|
const intl = useIntl9();
|
|
2987
|
-
if (flowType !== FlowType10.Login) {
|
|
2988
|
-
return null;
|
|
2989
|
-
}
|
|
2990
3342
|
const authMethods = nodesToAuthMethodGroups(flow.ui.nodes);
|
|
2991
3343
|
let returnTo = config.project.default_redirect_url;
|
|
2992
3344
|
if (flow.return_to) {
|
|
@@ -2995,7 +3347,7 @@ function LoginCardFooter() {
|
|
|
2995
3347
|
if (!returnTo) {
|
|
2996
3348
|
returnTo = restartFlowUrl(
|
|
2997
3349
|
flow,
|
|
2998
|
-
`${config.sdk.url}/self-service/${
|
|
3350
|
+
`${config.sdk.url}/self-service/${FlowType11.Login}/browser`
|
|
2999
3351
|
);
|
|
3000
3352
|
}
|
|
3001
3353
|
if (shouldShowLogoutButton(flow, formState, authMethods)) {
|
|
@@ -3076,7 +3428,7 @@ function LogoutButton({ returnTo }) {
|
|
|
3076
3428
|
}
|
|
3077
3429
|
function RegistrationCardFooter() {
|
|
3078
3430
|
const intl = useIntl9();
|
|
3079
|
-
const { flow, formState } = useOryFlow3();
|
|
3431
|
+
const { flow, formState, dispatchFormState } = useOryFlow3();
|
|
3080
3432
|
const config = useOryConfiguration2();
|
|
3081
3433
|
const visibleGroups = useNodeGroupsWithVisibleNodes(flow.ui.nodes);
|
|
3082
3434
|
const authMethodBlocks = toAuthMethodPickerOptions(visibleGroups);
|
|
@@ -3086,12 +3438,17 @@ function RegistrationCardFooter() {
|
|
|
3086
3438
|
if (!screenSelectionNode || Object.entries(authMethodBlocks).length < 2) {
|
|
3087
3439
|
return null;
|
|
3088
3440
|
}
|
|
3089
|
-
return /* @__PURE__ */ jsx35("span", { className: "font-normal leading-normal antialiased", children: /* @__PURE__ */ jsx35(
|
|
3090
|
-
"
|
|
3441
|
+
return /* @__PURE__ */ jsx35("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx35(
|
|
3442
|
+
"button",
|
|
3091
3443
|
{
|
|
3092
|
-
className: "
|
|
3093
|
-
|
|
3444
|
+
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
3445
|
+
onClick: () => {
|
|
3446
|
+
dispatchFormState({
|
|
3447
|
+
type: "action_clear_active_method"
|
|
3448
|
+
});
|
|
3449
|
+
},
|
|
3094
3450
|
"data-testid": "ory/screen/registration/action/selectMethod",
|
|
3451
|
+
type: "button",
|
|
3095
3452
|
children: intl.formatMessage({
|
|
3096
3453
|
id: "card.footer.select-another-method",
|
|
3097
3454
|
defaultMessage: "Select another method"
|
|
@@ -3163,13 +3520,11 @@ function ConsentCardFooter({ flow }) {
|
|
|
3163
3520
|
attributes.value
|
|
3164
3521
|
);
|
|
3165
3522
|
}) }),
|
|
3166
|
-
/* @__PURE__ */
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
" "
|
|
3170
|
-
] }),
|
|
3523
|
+
/* @__PURE__ */ jsx35("p", { className: "text-sm", children: /* @__PURE__ */ jsxs15("span", { className: "text-interface-foreground-default-tertiary", children: [
|
|
3524
|
+
"Authorizing will redirect to",
|
|
3525
|
+
" ",
|
|
3171
3526
|
(_b = flow.consent_request.client) == null ? void 0 : _b.client_name
|
|
3172
|
-
] })
|
|
3527
|
+
] }) })
|
|
3173
3528
|
] });
|
|
3174
3529
|
}
|
|
3175
3530
|
|
|
@@ -3178,7 +3533,7 @@ import { messageTestId, useComponents as useComponents4, useOryFlow as useOryFlo
|
|
|
3178
3533
|
|
|
3179
3534
|
// src/theme/default/utils/constructCardHeader.ts
|
|
3180
3535
|
import {
|
|
3181
|
-
FlowType as
|
|
3536
|
+
FlowType as FlowType12,
|
|
3182
3537
|
isUiNodeInputAttributes as isUiNodeInputAttributes7
|
|
3183
3538
|
} from "@ory/client-fetch";
|
|
3184
3539
|
import { useIntl as useIntl10 } from "react-intl";
|
|
@@ -3193,11 +3548,11 @@ function joinWithCommaOr(list, orText = "or") {
|
|
|
3193
3548
|
}
|
|
3194
3549
|
}
|
|
3195
3550
|
function useCardHeaderText(container, opts) {
|
|
3196
|
-
var _a, _b, _c, _d, _e, _f;
|
|
3551
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
3197
3552
|
const nodes = container.nodes;
|
|
3198
3553
|
const intl = useIntl10();
|
|
3199
3554
|
switch (opts.flowType) {
|
|
3200
|
-
case
|
|
3555
|
+
case FlowType12.Recovery:
|
|
3201
3556
|
if (nodes.find(
|
|
3202
3557
|
(node) => "name" in node.attributes && node.attributes.name === "code"
|
|
3203
3558
|
)) {
|
|
@@ -3219,7 +3574,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3219
3574
|
id: "recovery.subtitle"
|
|
3220
3575
|
})
|
|
3221
3576
|
};
|
|
3222
|
-
case
|
|
3577
|
+
case FlowType12.Settings:
|
|
3223
3578
|
return {
|
|
3224
3579
|
title: intl.formatMessage({
|
|
3225
3580
|
id: "settings.title"
|
|
@@ -3228,7 +3583,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3228
3583
|
id: "settings.subtitle"
|
|
3229
3584
|
})
|
|
3230
3585
|
};
|
|
3231
|
-
case
|
|
3586
|
+
case FlowType12.Verification:
|
|
3232
3587
|
if (nodes.find(
|
|
3233
3588
|
(node) => "name" in node.attributes && node.attributes.name === "code"
|
|
3234
3589
|
)) {
|
|
@@ -3250,7 +3605,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3250
3605
|
id: "verification.subtitle"
|
|
3251
3606
|
})
|
|
3252
3607
|
};
|
|
3253
|
-
case
|
|
3608
|
+
case FlowType12.Login: {
|
|
3254
3609
|
const accountLinkingMessage = (_a = container.messages) == null ? void 0 : _a.find(
|
|
3255
3610
|
(m) => m.id === 1010016
|
|
3256
3611
|
);
|
|
@@ -3273,7 +3628,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3273
3628
|
const parts = [];
|
|
3274
3629
|
if (nodes.find((node) => node.group === "password")) {
|
|
3275
3630
|
switch (opts.flowType) {
|
|
3276
|
-
case
|
|
3631
|
+
case FlowType12.Registration:
|
|
3277
3632
|
parts.push(
|
|
3278
3633
|
intl.formatMessage(
|
|
3279
3634
|
{ id: "card.header.parts.password.registration" },
|
|
@@ -3331,8 +3686,25 @@ function useCardHeaderText(container, opts) {
|
|
|
3331
3686
|
);
|
|
3332
3687
|
}
|
|
3333
3688
|
}
|
|
3689
|
+
if (nodes.some((node) => node.group === "profile")) {
|
|
3690
|
+
const identifier = nodes.find(
|
|
3691
|
+
(node) => isUiNodeInputAttributes7(node.attributes) && node.attributes.name.startsWith("traits.") && node.attributes.type !== "hidden"
|
|
3692
|
+
);
|
|
3693
|
+
if (identifier) {
|
|
3694
|
+
parts.push(
|
|
3695
|
+
intl.formatMessage(
|
|
3696
|
+
{
|
|
3697
|
+
id: "card.header.parts.identifier-first"
|
|
3698
|
+
},
|
|
3699
|
+
{
|
|
3700
|
+
identifierLabel: (_c = identifier.meta.label) == null ? void 0 : _c.text
|
|
3701
|
+
}
|
|
3702
|
+
)
|
|
3703
|
+
);
|
|
3704
|
+
}
|
|
3705
|
+
}
|
|
3334
3706
|
switch (opts.flowType) {
|
|
3335
|
-
case
|
|
3707
|
+
case FlowType12.Login:
|
|
3336
3708
|
if (opts.flow.refresh) {
|
|
3337
3709
|
return {
|
|
3338
3710
|
title: intl.formatMessage({
|
|
@@ -3353,7 +3725,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3353
3725
|
id: "login.title-aal2"
|
|
3354
3726
|
}),
|
|
3355
3727
|
description: intl.formatMessage({
|
|
3356
|
-
id: ((
|
|
3728
|
+
id: ((_d = opts.formState) == null ? void 0 : _d.current) === "method_active" ? `login.${opts.formState.method}.subtitle` : "login.subtitle-aal2"
|
|
3357
3729
|
})
|
|
3358
3730
|
};
|
|
3359
3731
|
}
|
|
@@ -3373,7 +3745,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3373
3745
|
}
|
|
3374
3746
|
) : ""
|
|
3375
3747
|
};
|
|
3376
|
-
case
|
|
3748
|
+
case FlowType12.Registration:
|
|
3377
3749
|
return {
|
|
3378
3750
|
title: intl.formatMessage({
|
|
3379
3751
|
id: "registration.title"
|
|
@@ -3390,14 +3762,14 @@ function useCardHeaderText(container, opts) {
|
|
|
3390
3762
|
}
|
|
3391
3763
|
) : ""
|
|
3392
3764
|
};
|
|
3393
|
-
case
|
|
3765
|
+
case FlowType12.OAuth2Consent:
|
|
3394
3766
|
return {
|
|
3395
3767
|
title: intl.formatMessage(
|
|
3396
3768
|
{
|
|
3397
3769
|
id: "consent.title"
|
|
3398
3770
|
},
|
|
3399
3771
|
{
|
|
3400
|
-
party: (
|
|
3772
|
+
party: (_e = opts.flow.consent_request.client) == null ? void 0 : _e.client_name
|
|
3401
3773
|
}
|
|
3402
3774
|
),
|
|
3403
3775
|
description: intl.formatMessage(
|
|
@@ -3405,7 +3777,7 @@ function useCardHeaderText(container, opts) {
|
|
|
3405
3777
|
id: "consent.subtitle"
|
|
3406
3778
|
},
|
|
3407
3779
|
{
|
|
3408
|
-
identifier: (
|
|
3780
|
+
identifier: (_g = (_f = opts.flow.session.identity) == null ? void 0 : _f.traits.email) != null ? _g : ""
|
|
3409
3781
|
}
|
|
3410
3782
|
)
|
|
3411
3783
|
};
|
|
@@ -3418,11 +3790,11 @@ function useCardHeaderText(container, opts) {
|
|
|
3418
3790
|
|
|
3419
3791
|
// src/theme/default/components/card/current-identifier-button.tsx
|
|
3420
3792
|
import {
|
|
3421
|
-
FlowType as
|
|
3793
|
+
FlowType as FlowType13,
|
|
3422
3794
|
isUiNodeInputAttributes as isUiNodeInputAttributes8
|
|
3423
3795
|
} from "@ory/client-fetch";
|
|
3424
3796
|
import { useOryConfiguration as useOryConfiguration3, useOryFlow as useOryFlow4 } from "@ory/elements-react";
|
|
3425
|
-
import { useEffect as
|
|
3797
|
+
import { useEffect as useEffect4, useState as useState4 } from "react";
|
|
3426
3798
|
import { useFormContext as useFormContext12 } from "react-hook-form";
|
|
3427
3799
|
|
|
3428
3800
|
// src/theme/default/utils/attributes.ts
|
|
@@ -3469,7 +3841,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
3469
3841
|
const config = useOryConfiguration3();
|
|
3470
3842
|
const ui = flow.ui;
|
|
3471
3843
|
const captchaVerificationValue = (_a = watch("transient_payload")) == null ? void 0 : _a.captcha_turnstile_response;
|
|
3472
|
-
|
|
3844
|
+
useEffect4(() => {
|
|
3473
3845
|
if (captchaVerificationValue) {
|
|
3474
3846
|
setTurnstileResponse(captchaVerificationValue);
|
|
3475
3847
|
}
|
|
@@ -3477,7 +3849,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
3477
3849
|
if (formState.current === "provide_identifier") {
|
|
3478
3850
|
return null;
|
|
3479
3851
|
}
|
|
3480
|
-
if (flowType ===
|
|
3852
|
+
if (flowType === FlowType13.Login && (flow.requested_aal === "aal2" || flow.refresh)) {
|
|
3481
3853
|
return null;
|
|
3482
3854
|
}
|
|
3483
3855
|
const nodeBackButton = getBackButtonNodeAttributes(flowType, ui.nodes);
|
|
@@ -3493,7 +3865,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
3493
3865
|
return /* @__PURE__ */ jsxs16("form", { action: flow.ui.action, method: flow.ui.method, children: [
|
|
3494
3866
|
flow.ui.nodes.filter((n) => {
|
|
3495
3867
|
if (isUiNodeInputAttributes8(n.attributes)) {
|
|
3496
|
-
return n.attributes.type === "hidden";
|
|
3868
|
+
return n.attributes.type === "hidden" && ["default", "captcha"].includes(n.group);
|
|
3497
3869
|
}
|
|
3498
3870
|
return false;
|
|
3499
3871
|
}).map((n) => {
|
|
@@ -3570,16 +3942,16 @@ function getBackButtonNodeAttributes(flowType, nodes) {
|
|
|
3570
3942
|
var _a, _b;
|
|
3571
3943
|
let nodeBackButtonAttributes;
|
|
3572
3944
|
switch (flowType) {
|
|
3573
|
-
case
|
|
3945
|
+
case FlowType13.Login:
|
|
3574
3946
|
nodeBackButtonAttributes = (_a = nodes.find(
|
|
3575
3947
|
(node) => isUiNodeInputAttributes8(node.attributes) && node.attributes.name === "identifier" && ["default", "identifier_first"].includes(node.group)
|
|
3576
3948
|
)) == null ? void 0 : _a.attributes;
|
|
3577
3949
|
break;
|
|
3578
|
-
case
|
|
3950
|
+
case FlowType13.Registration:
|
|
3579
3951
|
nodeBackButtonAttributes = guessRegistrationBackButton(nodes);
|
|
3580
3952
|
break;
|
|
3581
|
-
case
|
|
3582
|
-
case
|
|
3953
|
+
case FlowType13.Recovery:
|
|
3954
|
+
case FlowType13.Verification:
|
|
3583
3955
|
nodeBackButtonAttributes = (_b = nodes.find(
|
|
3584
3956
|
(n) => isUiNodeInputAttributes8(n.attributes) && n.attributes.name === "email"
|
|
3585
3957
|
)) == null ? void 0 : _b.attributes;
|
|
@@ -3645,8 +4017,7 @@ function DefaultCardLogo() {
|
|
|
3645
4017
|
"img",
|
|
3646
4018
|
{
|
|
3647
4019
|
src: config.project.logo_light_url,
|
|
3648
|
-
|
|
3649
|
-
height: 36,
|
|
4020
|
+
className: "h-full max-h-9 self-start",
|
|
3650
4021
|
alt: "Logo"
|
|
3651
4022
|
}
|
|
3652
4023
|
);
|
|
@@ -3654,18 +4025,12 @@ function DefaultCardLogo() {
|
|
|
3654
4025
|
return /* @__PURE__ */ jsx39("h1", { className: "text-xl font-semibold leading-normal text-interface-foreground-default-primary", children: config.project.name });
|
|
3655
4026
|
}
|
|
3656
4027
|
|
|
3657
|
-
// src/theme/default/components/card/layout.tsx
|
|
3658
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3659
|
-
function DefaultCardLayout({ children }) {
|
|
3660
|
-
return /* @__PURE__ */ jsx40("main", { className: "p-4 pb-8 flex items-center justify-center flex-col gap-8 min-h-screen", children });
|
|
3661
|
-
}
|
|
3662
|
-
|
|
3663
4028
|
// src/theme/default/components/card/index.tsx
|
|
3664
|
-
import { jsx as
|
|
4029
|
+
import { jsx as jsx40, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3665
4030
|
function DefaultCard({ children }) {
|
|
3666
|
-
return /* @__PURE__ */
|
|
4031
|
+
return /* @__PURE__ */ jsx40("div", { className: "flex flex-1 sm:items-center justify-center font-sans items-start w-full sm:w-[480px] sm:max-w-[480px]", children: /* @__PURE__ */ jsxs18("div", { className: "relative grid grid-cols-1 gap-8 sm:rounded-cards sm:border border-form-border-default bg-form-background-default px-8 py-12 sm:px-12 sm:py-14 border-b w-full", children: [
|
|
3667
4032
|
children,
|
|
3668
|
-
/* @__PURE__ */
|
|
4033
|
+
/* @__PURE__ */ jsx40(Badge, {})
|
|
3669
4034
|
] }) });
|
|
3670
4035
|
}
|
|
3671
4036
|
|
|
@@ -3683,59 +4048,59 @@ import {
|
|
|
3683
4048
|
uiTextToFormattedMessage as uiTextToFormattedMessage3,
|
|
3684
4049
|
useOryFlow as useOryFlow7
|
|
3685
4050
|
} from "@ory/elements-react";
|
|
3686
|
-
import { FlowType as
|
|
4051
|
+
import { FlowType as FlowType14 } from "@ory/client-fetch";
|
|
3687
4052
|
|
|
3688
|
-
// src/theme/default/components/form/
|
|
4053
|
+
// src/theme/default/components/form/sso.tsx
|
|
3689
4054
|
import {
|
|
3690
4055
|
uiTextToFormattedMessage as uiTextToFormattedMessage2,
|
|
3691
4056
|
useOryFlow as useOryFlow6
|
|
3692
4057
|
} from "@ory/elements-react";
|
|
3693
|
-
import { useEffect as
|
|
4058
|
+
import { useEffect as useEffect5 } from "react";
|
|
3694
4059
|
import { useFormContext as useFormContext13 } from "react-hook-form";
|
|
3695
4060
|
import { useIntl as useIntl11 } from "react-intl";
|
|
3696
4061
|
import { useDebounceValue } from "usehooks-ts";
|
|
3697
4062
|
|
|
3698
4063
|
// src/theme/default/provider-logos/apple.svg
|
|
3699
4064
|
import * as React4 from "react";
|
|
3700
|
-
import { jsx as
|
|
4065
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
3701
4066
|
var SvgApple = (props) => {
|
|
3702
4067
|
var _a, _b;
|
|
3703
|
-
return /* @__PURE__ */
|
|
4068
|
+
return /* @__PURE__ */ jsx41("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx41("path", { fill: "#283544", d: "M27.734 11.55c-.134.078-3.317 1.724-3.317 5.374.15 4.162 4.017 5.621 4.083 5.621-.066.078-.584 1.988-2.116 3.991C25.167 28.261 23.817 30 21.767 30c-1.95 0-2.65-1.15-4.9-1.15-2.416 0-3.1 1.15-4.95 1.15-2.05 0-3.5-1.832-4.782-3.541-1.667-2.236-3.083-5.746-3.133-9.116-.034-1.786.334-3.54 1.266-5.032 1.317-2.081 3.667-3.494 6.233-3.54 1.966-.063 3.716 1.257 4.916 1.257 1.15 0 3.3-1.258 5.733-1.258 1.05.001 3.85.296 5.584 2.78M16.25 8.414c-.35-1.631.616-3.262 1.516-4.302C18.917 2.854 20.734 2 22.3 2c.1 1.63-.534 3.23-1.666 4.395-1.017 1.258-2.767 2.205-4.383 2.019" }) });
|
|
3704
4069
|
};
|
|
3705
4070
|
var apple_default = SvgApple;
|
|
3706
4071
|
|
|
3707
4072
|
// src/theme/default/provider-logos/auth0.svg
|
|
3708
4073
|
import * as React5 from "react";
|
|
3709
|
-
import { jsx as
|
|
4074
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
3710
4075
|
var SvgAuth0 = (props) => {
|
|
3711
4076
|
var _a, _b;
|
|
3712
|
-
return /* @__PURE__ */
|
|
4077
|
+
return /* @__PURE__ */ jsx42("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx42("path", { fill: "#eb5424", d: "M49.012 51.774 42.514 32l17.008-12.22h-21.02L32.005 0h21.032l6.506 19.78c3.767 11.468-.118 24.52-10.53 31.993zm-34.023 0L31.998 64l17.015-12.226-17.008-12.22zm-10.516-32c-3.976 12.1.64 24.917 10.5 32.007v-.007L21.482 32 4.474 19.774l21.025.007L31.998 0H10.972z" }) });
|
|
3713
4078
|
};
|
|
3714
4079
|
var auth0_default = SvgAuth0;
|
|
3715
4080
|
|
|
3716
4081
|
// src/theme/default/provider-logos/discord.svg
|
|
3717
4082
|
import * as React6 from "react";
|
|
3718
|
-
import { jsx as
|
|
4083
|
+
import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3719
4084
|
var SvgDiscord = (props) => {
|
|
3720
4085
|
var _a, _b;
|
|
3721
4086
|
return /* @__PURE__ */ jsxs19("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3722
|
-
/* @__PURE__ */
|
|
3723
|
-
/* @__PURE__ */
|
|
4087
|
+
/* @__PURE__ */ jsx43("path", { d: "M2 11.6c0-3.36 0-5.04.654-6.324a6 6 0 0 1 2.622-2.622C6.56 2 8.24 2 11.6 2h8.8c3.36 0 5.04 0 6.324.654a6 6 0 0 1 2.622 2.622C30 6.56 30 8.24 30 11.6v8.8c0 3.36 0 5.04-.654 6.324a6 6 0 0 1-2.622 2.622C25.44 30 23.76 30 20.4 30h-8.8c-3.36 0-5.04 0-6.324-.654a6 6 0 0 1-2.622-2.622C2 25.44 2 23.76 2 20.4z" }),
|
|
4088
|
+
/* @__PURE__ */ jsx43("path", { fill: "#5865F2", d: "M23.636 9.34A18.8 18.8 0 0 0 19.097 8c-.195.332-.424.779-.581 1.134a17.7 17.7 0 0 0-5.03 0A12 12 0 0 0 12.897 8a18.7 18.7 0 0 0-4.542 1.343c-2.872 4.078-3.65 8.055-3.262 11.975a18.6 18.6 0 0 0 5.567 2.68c.448-.58.848-1.195 1.192-1.844a12 12 0 0 1-1.877-.859 9 9 0 0 0 .46-.342c3.62 1.59 7.553 1.59 11.13 0q.225.178.46.342c-.595.337-1.225.626-1.88.86q.516.974 1.191 1.845a18.6 18.6 0 0 0 5.57-2.682c.457-4.544-.78-8.484-3.27-11.978m-11.29 9.567c-1.087 0-1.978-.953-1.978-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116.002 1.16-.872 2.113-1.978 2.113m7.308 0c-1.086 0-1.977-.953-1.977-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116 0 1.16-.872 2.113-1.978 2.113" })
|
|
3724
4089
|
] });
|
|
3725
4090
|
};
|
|
3726
4091
|
var discord_default = SvgDiscord;
|
|
3727
4092
|
|
|
3728
4093
|
// src/theme/default/provider-logos/facebook.svg
|
|
3729
4094
|
import * as React7 from "react";
|
|
3730
|
-
import { jsx as
|
|
4095
|
+
import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3731
4096
|
var SvgFacebook = (props) => {
|
|
3732
4097
|
var _a, _b;
|
|
3733
4098
|
return /* @__PURE__ */ jsxs20("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3734
|
-
/* @__PURE__ */
|
|
3735
|
-
/* @__PURE__ */
|
|
3736
|
-
/* @__PURE__ */
|
|
3737
|
-
/* @__PURE__ */
|
|
3738
|
-
/* @__PURE__ */
|
|
4099
|
+
/* @__PURE__ */ jsx44("circle", { cx: 16, cy: 16, r: 14, fill: "url(#facebook_svg__a)" }),
|
|
4100
|
+
/* @__PURE__ */ jsx44("path", { fill: "#fff", d: "m21.214 20.282.622-3.952h-3.89v-2.563c0-1.081.542-2.136 2.284-2.136H22V8.267S20.395 8 18.86 8c-3.205 0-5.298 1.893-5.298 5.318v3.012H10v3.952h3.562v9.552q1.073.165 2.191.166 1.12 0 2.192-.166v-9.552z" }),
|
|
4101
|
+
/* @__PURE__ */ jsx44("defs", { children: /* @__PURE__ */ jsxs20("linearGradient", { id: "facebook_svg__a", x1: 16, x2: 16, y1: 2, y2: 29.917, gradientUnits: "userSpaceOnUse", children: [
|
|
4102
|
+
/* @__PURE__ */ jsx44("stop", { stopColor: "#18ACFE" }),
|
|
4103
|
+
/* @__PURE__ */ jsx44("stop", { offset: 1, stopColor: "#0163E0" })
|
|
3739
4104
|
] }) })
|
|
3740
4105
|
] });
|
|
3741
4106
|
};
|
|
@@ -3743,111 +4108,111 @@ var facebook_default = SvgFacebook;
|
|
|
3743
4108
|
|
|
3744
4109
|
// src/theme/default/provider-logos/github.svg
|
|
3745
4110
|
import * as React8 from "react";
|
|
3746
|
-
import { jsx as
|
|
4111
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
3747
4112
|
var SvgGithub = (props) => {
|
|
3748
4113
|
var _a, _b;
|
|
3749
|
-
return /* @__PURE__ */
|
|
4114
|
+
return /* @__PURE__ */ jsx45("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx45("path", { d: "M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.5 11.5 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12" }) });
|
|
3750
4115
|
};
|
|
3751
4116
|
var github_default = SvgGithub;
|
|
3752
4117
|
|
|
3753
4118
|
// src/theme/default/provider-logos/gitlab.svg
|
|
3754
4119
|
import * as React9 from "react";
|
|
3755
|
-
import { jsx as
|
|
4120
|
+
import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3756
4121
|
var SvgGitlab = (props) => {
|
|
3757
4122
|
var _a, _b;
|
|
3758
4123
|
return /* @__PURE__ */ jsxs21("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3759
|
-
/* @__PURE__ */
|
|
3760
|
-
/* @__PURE__ */
|
|
3761
|
-
/* @__PURE__ */
|
|
3762
|
-
/* @__PURE__ */
|
|
4124
|
+
/* @__PURE__ */ jsx46("path", { fill: "#E24329", d: "m22.708 10.691-.031-.072-3.015-7.167a.74.74 0 0 0-.31-.34.87.87 0 0 0-.923.045.73.73 0 0 0-.268.37L16.125 9.2H7.881L5.845 3.527a.72.72 0 0 0-.268-.371.87.87 0 0 0-.923-.045.74.74 0 0 0-.31.34l-3.021 7.164-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132 2.272 1.567 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.567 4.62-3.151.012-.009c.968-.666 1.671-1.6 2.006-2.661a4.67 4.67 0 0 0-.15-3.226" }),
|
|
4125
|
+
/* @__PURE__ */ jsx46("path", { fill: "#FC6D26", d: "m22.708 10.691-.031-.072a10.7 10.7 0 0 0-4.055 1.66L12 16.839l4.218 2.904 4.621-3.152.012-.008c.969-.666 1.674-1.601 2.008-2.664a4.67 4.67 0 0 0-.15-3.228" }),
|
|
4126
|
+
/* @__PURE__ */ jsx46("path", { fill: "#FCA326", d: "m7.781 19.743 2.273 1.566 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.566S14.255 18.389 12 16.839c-2.255 1.55-4.219 2.904-4.219 2.904" }),
|
|
4127
|
+
/* @__PURE__ */ jsx46("path", { fill: "#FC6D26", d: "M5.376 12.279a10.7 10.7 0 0 0-4.053-1.664l-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132L12 16.836z" })
|
|
3763
4128
|
] });
|
|
3764
4129
|
};
|
|
3765
4130
|
var gitlab_default = SvgGitlab;
|
|
3766
4131
|
|
|
3767
4132
|
// src/theme/default/provider-logos/google.svg
|
|
3768
4133
|
import * as React10 from "react";
|
|
3769
|
-
import { jsx as
|
|
4134
|
+
import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3770
4135
|
var SvgGoogle = (props) => {
|
|
3771
4136
|
var _a, _b;
|
|
3772
4137
|
return /* @__PURE__ */ jsxs22("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3773
|
-
/* @__PURE__ */
|
|
3774
|
-
/* @__PURE__ */
|
|
3775
|
-
/* @__PURE__ */
|
|
3776
|
-
/* @__PURE__ */
|
|
4138
|
+
/* @__PURE__ */ jsx47("path", { fill: "#4285F4", d: "M30.001 16.31c0-1.15-.095-1.99-.301-2.861H16.287v5.195h7.873c-.159 1.291-1.016 3.236-2.92 4.542l-.027.174 4.24 3.22.294.029c2.699-2.443 4.254-6.036 4.254-10.298" }),
|
|
4139
|
+
/* @__PURE__ */ jsx47("path", { fill: "#34A853", d: "M16.286 30c3.857 0 7.095-1.244 9.46-3.391l-4.507-3.423c-1.207.825-2.826 1.4-4.953 1.4A8.58 8.58 0 0 1 8.16 18.77l-.167.014-4.41 3.344-.058.157C5.874 26.858 10.7 30 16.286 30" }),
|
|
4140
|
+
/* @__PURE__ */ jsx47("path", { fill: "#FBBC05", d: "M8.16 18.769a8.5 8.5 0 0 1-.476-2.77c0-.964.174-1.897.46-2.768l-.008-.185-4.465-3.399-.146.068A13.8 13.8 0 0 0 2.001 16c0 2.256.556 4.387 1.524 6.284z" }),
|
|
4141
|
+
/* @__PURE__ */ jsx47("path", { fill: "#EB4335", d: "M16.286 7.413c2.683 0 4.492 1.136 5.524 2.085l4.032-3.858C23.366 3.384 20.143 2 16.286 2 10.7 2 5.874 5.142 3.524 9.715l4.62 3.516c1.158-3.375 4.365-5.818 8.142-5.818" })
|
|
3777
4142
|
] });
|
|
3778
4143
|
};
|
|
3779
4144
|
var google_default = SvgGoogle;
|
|
3780
4145
|
|
|
3781
4146
|
// src/theme/default/provider-logos/linkedin.svg
|
|
3782
4147
|
import * as React11 from "react";
|
|
3783
|
-
import { jsx as
|
|
4148
|
+
import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3784
4149
|
var SvgLinkedin = (props) => {
|
|
3785
4150
|
var _a, _b;
|
|
3786
4151
|
return /* @__PURE__ */ jsxs23("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3787
|
-
/* @__PURE__ */
|
|
3788
|
-
/* @__PURE__ */
|
|
4152
|
+
/* @__PURE__ */ jsx48("rect", { width: 28, height: 28, x: 2, y: 2, fill: "#1275B1", rx: 14 }),
|
|
4153
|
+
/* @__PURE__ */ jsx48("path", { fill: "#fff", d: "M12.619 9.692c0 .935-.81 1.692-1.81 1.692C9.81 11.384 9 10.627 9 9.692S9.81 8 10.81 8c.999 0 1.809.758 1.809 1.692M9.247 12.628h3.093V22H9.247zM17.32 12.628h-3.093V22h3.093v-4.795c0-1.107.378-2.22 1.886-2.22 1.705 0 1.695 1.45 1.687 2.572-.01 1.467.014 2.965.014 4.443H24v-4.946c-.026-3.159-.85-4.614-3.557-4.614-1.608 0-2.604.73-3.123 1.39z" })
|
|
3789
4154
|
] });
|
|
3790
4155
|
};
|
|
3791
4156
|
var linkedin_default = SvgLinkedin;
|
|
3792
4157
|
|
|
3793
4158
|
// src/theme/default/provider-logos/microsoft.svg
|
|
3794
4159
|
import * as React12 from "react";
|
|
3795
|
-
import { jsx as
|
|
4160
|
+
import { jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3796
4161
|
var SvgMicrosoft = (props) => {
|
|
3797
4162
|
var _a, _b;
|
|
3798
4163
|
return /* @__PURE__ */ jsxs24("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 23 23", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3799
|
-
/* @__PURE__ */
|
|
3800
|
-
/* @__PURE__ */
|
|
3801
|
-
/* @__PURE__ */
|
|
3802
|
-
/* @__PURE__ */
|
|
4164
|
+
/* @__PURE__ */ jsx49("path", { fill: "#F35325", d: "M1 1h10v10H1z" }),
|
|
4165
|
+
/* @__PURE__ */ jsx49("path", { fill: "#81BC06", d: "M12 1h10v10H12z" }),
|
|
4166
|
+
/* @__PURE__ */ jsx49("path", { fill: "#05A6F0", d: "M1 12h10v10H1z" }),
|
|
4167
|
+
/* @__PURE__ */ jsx49("path", { fill: "#FFBA08", d: "M12 12h10v10H12z" })
|
|
3803
4168
|
] });
|
|
3804
4169
|
};
|
|
3805
4170
|
var microsoft_default = SvgMicrosoft;
|
|
3806
4171
|
|
|
3807
4172
|
// src/theme/default/provider-logos/slack.svg
|
|
3808
4173
|
import * as React13 from "react";
|
|
3809
|
-
import { jsx as
|
|
4174
|
+
import { jsx as jsx50, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3810
4175
|
var SvgSlack = (props) => {
|
|
3811
4176
|
var _a, _b;
|
|
3812
4177
|
return /* @__PURE__ */ jsxs25("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3813
|
-
/* @__PURE__ */
|
|
3814
|
-
/* @__PURE__ */
|
|
3815
|
-
/* @__PURE__ */
|
|
3816
|
-
/* @__PURE__ */
|
|
4178
|
+
/* @__PURE__ */ jsx50("path", { fill: "#2EB67D", d: "M26.5 15a2.5 2.5 0 1 0-2.5-2.5V15zm-7 0a2.5 2.5 0 0 0 2.5-2.5v-7a2.5 2.5 0 0 0-5 0v7a2.5 2.5 0 0 0 2.5 2.5" }),
|
|
4179
|
+
/* @__PURE__ */ jsx50("path", { fill: "#E01E5A", d: "M5.5 17A2.5 2.5 0 1 0 8 19.5V17zm7 0a2.5 2.5 0 0 0-2.5 2.5v7a2.5 2.5 0 0 0 5 0v-7a2.5 2.5 0 0 0-2.5-2.5" }),
|
|
4180
|
+
/* @__PURE__ */ jsx50("path", { fill: "#ECB22E", d: "M17 26.5a2.5 2.5 0 1 0 2.5-2.5H17zm0-7a2.5 2.5 0 0 0 2.5 2.5h7a2.5 2.5 0 0 0 0-5h-7a2.5 2.5 0 0 0-2.5 2.5" }),
|
|
4181
|
+
/* @__PURE__ */ jsx50("path", { fill: "#36C5F0", d: "M15 5.5A2.5 2.5 0 1 0 12.5 8H15zm0 7a2.5 2.5 0 0 0-2.5-2.5h-7a2.5 2.5 0 0 0 0 5h7a2.5 2.5 0 0 0 2.5-2.5" })
|
|
3817
4182
|
] });
|
|
3818
4183
|
};
|
|
3819
4184
|
var slack_default = SvgSlack;
|
|
3820
4185
|
|
|
3821
4186
|
// src/theme/default/provider-logos/spotify.svg
|
|
3822
4187
|
import * as React14 from "react";
|
|
3823
|
-
import { jsx as
|
|
4188
|
+
import { jsx as jsx51, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3824
4189
|
var SvgSpotify = (props) => {
|
|
3825
4190
|
var _a, _b;
|
|
3826
4191
|
return /* @__PURE__ */ jsxs26("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3827
|
-
/* @__PURE__ */
|
|
3828
|
-
/* @__PURE__ */
|
|
4192
|
+
/* @__PURE__ */ jsx51("circle", { cx: 16, cy: 16, r: 14, fill: "#1ED760" }),
|
|
4193
|
+
/* @__PURE__ */ jsx51("path", { fill: "#fff", d: "M22.364 21.623c-.239.38-.75.486-1.148.258-3.141-1.822-7.08-2.232-11.736-1.23-.446.091-.893-.167-.988-.592a.786.786 0 0 1 .621-.94c5.087-1.11 9.456-.639 12.964 1.41a.77.77 0 0 1 .287 1.094m1.627-3.461c-.303.47-.941.607-1.435.334-3.588-2.11-9.058-2.718-13.299-1.488-.558.152-1.132-.137-1.292-.653-.16-.531.144-1.078.702-1.23 4.848-1.396 10.875-.728 15.005 1.686.462.273.622.88.319 1.35m.143-3.613c-4.305-2.43-11.4-2.657-15.515-1.473-.654.197-1.355-.152-1.563-.79-.207-.622.176-1.29.83-1.487 4.72-1.366 12.565-1.093 17.508 1.7.59.334.781 1.063.43 1.625-.334.576-1.1.774-1.69.425" })
|
|
3829
4194
|
] });
|
|
3830
4195
|
};
|
|
3831
4196
|
var spotify_default = SvgSpotify;
|
|
3832
4197
|
|
|
3833
4198
|
// src/theme/default/provider-logos/yandex.svg
|
|
3834
4199
|
import * as React15 from "react";
|
|
3835
|
-
import { jsx as
|
|
4200
|
+
import { jsx as jsx52, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3836
4201
|
var SvgYandex = (props) => {
|
|
3837
4202
|
var _a, _b;
|
|
3838
4203
|
return /* @__PURE__ */ jsxs27("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 32 32", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: [
|
|
3839
|
-
/* @__PURE__ */
|
|
3840
|
-
/* @__PURE__ */
|
|
4204
|
+
/* @__PURE__ */ jsx52("circle", { cx: 16, cy: 16, r: 14, fill: "#fff" }),
|
|
4205
|
+
/* @__PURE__ */ jsx52("path", { fill: "#FC3F1D", d: "M21 25h-3.143V9.435h-1.402c-2.572 0-3.922 1.294-3.922 3.211 0 2.175.935 3.185 2.857 4.48l1.584 1.063L12.403 25H9l4.104-6.086c-2.363-1.684-3.688-3.316-3.688-6.087C9.416 9.357 11.83 7 16.429 7H21z" })
|
|
3841
4206
|
] });
|
|
3842
4207
|
};
|
|
3843
4208
|
var yandex_default = SvgYandex;
|
|
3844
4209
|
|
|
3845
4210
|
// src/theme/default/provider-logos/x.svg
|
|
3846
4211
|
import * as React16 from "react";
|
|
3847
|
-
import { jsx as
|
|
4212
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
3848
4213
|
var SvgX = (props) => {
|
|
3849
4214
|
var _a, _b;
|
|
3850
|
-
return /* @__PURE__ */
|
|
4215
|
+
return /* @__PURE__ */ jsx53("svg", { xmlns: "http://www.w3.org/2000/svg", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, fill: "none", ...props, children: /* @__PURE__ */ jsx53("path", { fill: "#0F172A", d: "M24.122 3h4.292L18.99 13.73 30 28.285h-8.64l-6.764-8.845-7.744 8.845H2.56l9.983-11.476L2 3h8.854l6.112 8.08zM22.62 25.766h2.379L9.604 5.426H7.048z" }) });
|
|
3851
4216
|
};
|
|
3852
4217
|
var x_default = SvgX;
|
|
3853
4218
|
|
|
@@ -3870,7 +4235,7 @@ var logos = {
|
|
|
3870
4235
|
var provider_logos_default = logos;
|
|
3871
4236
|
|
|
3872
4237
|
// src/theme/default/components/form/spinner.tsx
|
|
3873
|
-
import { jsx as
|
|
4238
|
+
import { jsx as jsx54, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3874
4239
|
function Spinner({ className }) {
|
|
3875
4240
|
return /* @__PURE__ */ jsxs28(
|
|
3876
4241
|
"svg",
|
|
@@ -3885,7 +4250,7 @@ function Spinner({ className }) {
|
|
|
3885
4250
|
fill: "none",
|
|
3886
4251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3887
4252
|
children: [
|
|
3888
|
-
/* @__PURE__ */
|
|
4253
|
+
/* @__PURE__ */ jsx54("g", { clipPath: "url(#clip0_2572_1748)", children: /* @__PURE__ */ jsx54(
|
|
3889
4254
|
"path",
|
|
3890
4255
|
{
|
|
3891
4256
|
d: "M23.364 10.6362C22.1053 9.37751 20.5016 8.52034 18.7558 8.17307C17.01 7.82581 15.2004 8.00404 13.5559 8.68523C11.9113 9.36641 10.5057 10.52 9.51678 12C8.52784 13.4801 8 15.2201 8 17.0001C8 18.7802 8.52784 20.5202 9.51678 22.0003C10.5057 23.4803 11.9113 24.6339 13.5559 25.3151C15.2004 25.9962 17.01 26.1745 18.7558 25.8272C20.5016 25.4799 22.1053 24.6228 23.364 23.3641",
|
|
@@ -3894,7 +4259,7 @@ function Spinner({ className }) {
|
|
|
3894
4259
|
strokeLinejoin: "round"
|
|
3895
4260
|
}
|
|
3896
4261
|
) }),
|
|
3897
|
-
/* @__PURE__ */
|
|
4262
|
+
/* @__PURE__ */ jsx54("defs", { children: /* @__PURE__ */ jsx54("clipPath", { id: "clip0_2572_1748", children: /* @__PURE__ */ jsx54(
|
|
3898
4263
|
"rect",
|
|
3899
4264
|
{
|
|
3900
4265
|
width: "24",
|
|
@@ -3908,9 +4273,9 @@ function Spinner({ className }) {
|
|
|
3908
4273
|
);
|
|
3909
4274
|
}
|
|
3910
4275
|
|
|
3911
|
-
// src/theme/default/components/form/
|
|
3912
|
-
import { UiNodeGroupEnum as
|
|
3913
|
-
import { Fragment as Fragment9, jsx as
|
|
4276
|
+
// src/theme/default/components/form/sso.tsx
|
|
4277
|
+
import { UiNodeGroupEnum as UiNodeGroupEnum15 } from "@ory/client-fetch";
|
|
4278
|
+
import { Fragment as Fragment9, jsx as jsx55, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3914
4279
|
function extractProvider(context) {
|
|
3915
4280
|
if (context && typeof context === "object" && "provider" in context && typeof context.provider === "string") {
|
|
3916
4281
|
return context.provider;
|
|
@@ -3935,17 +4300,17 @@ function DefaultButtonSocial({
|
|
|
3935
4300
|
const {
|
|
3936
4301
|
formState: { isSubmitting }
|
|
3937
4302
|
} = useFormContext13();
|
|
3938
|
-
const
|
|
3939
|
-
(node2) => node2.group ===
|
|
4303
|
+
const ssoNodeCount = (_a = ui.nodes.filter(
|
|
4304
|
+
(node2) => node2.group === UiNodeGroupEnum15.Oidc || node2.group === UiNodeGroupEnum15.Saml
|
|
3940
4305
|
).length) != null ? _a : 0;
|
|
3941
4306
|
const Logo = logos2[attributes.value.split("-")[0]];
|
|
3942
|
-
const showLabel = _showLabel != null ? _showLabel :
|
|
4307
|
+
const showLabel = _showLabel != null ? _showLabel : ssoNodeCount % 3 !== 0 && ssoNodeCount % 4 !== 0;
|
|
3943
4308
|
const provider = (_c = extractProvider((_b = node.meta.label) == null ? void 0 : _b.context)) != null ? _c : "";
|
|
3944
4309
|
const localOnClick = () => {
|
|
3945
4310
|
onClick == null ? void 0 : onClick();
|
|
3946
4311
|
setClicked(true);
|
|
3947
4312
|
};
|
|
3948
|
-
|
|
4313
|
+
useEffect5(() => {
|
|
3949
4314
|
if (!isSubmitting) {
|
|
3950
4315
|
setClicked(false);
|
|
3951
4316
|
}
|
|
@@ -3965,21 +4330,21 @@ function DefaultButtonSocial({
|
|
|
3965
4330
|
"aria-label": label,
|
|
3966
4331
|
...omitInputAttributes(rest),
|
|
3967
4332
|
children: [
|
|
3968
|
-
/* @__PURE__ */
|
|
4333
|
+
/* @__PURE__ */ jsx55("span", { className: "size-5 relative", children: !clicked ? Logo ? /* @__PURE__ */ jsx55(Logo, { size: 20 }) : /* @__PURE__ */ jsx55(GenericLogo, { label: provider.slice(0, 1) }) : /* @__PURE__ */ jsx55(Spinner, { className: "size-5" }) }),
|
|
3969
4334
|
showLabel && node.meta.label ? /* @__PURE__ */ jsxs29(Fragment9, { children: [
|
|
3970
|
-
/* @__PURE__ */
|
|
3971
|
-
/* @__PURE__ */
|
|
4335
|
+
/* @__PURE__ */ jsx55("span", { className: "grow text-center font-medium leading-none text-button-social-foreground-default", children: label }),
|
|
4336
|
+
/* @__PURE__ */ jsx55("span", { className: "size-5 block" })
|
|
3972
4337
|
] }) : null
|
|
3973
4338
|
]
|
|
3974
4339
|
}
|
|
3975
4340
|
);
|
|
3976
4341
|
}
|
|
3977
|
-
DefaultButtonSocial.WithLogos = (logos2) => (props) => /* @__PURE__ */
|
|
4342
|
+
DefaultButtonSocial.WithLogos = (logos2) => (props) => /* @__PURE__ */ jsx55(DefaultButtonSocial, { ...props, logos: logos2 });
|
|
3978
4343
|
function DefaultSocialButtonContainer({
|
|
3979
4344
|
children,
|
|
3980
4345
|
nodes
|
|
3981
4346
|
}) {
|
|
3982
|
-
return /* @__PURE__ */
|
|
4347
|
+
return /* @__PURE__ */ jsx55(
|
|
3983
4348
|
"div",
|
|
3984
4349
|
{
|
|
3985
4350
|
className: cn("grid gap-3", {
|
|
@@ -3993,22 +4358,20 @@ function DefaultSocialButtonContainer({
|
|
|
3993
4358
|
);
|
|
3994
4359
|
}
|
|
3995
4360
|
function GenericLogo({ label }) {
|
|
3996
|
-
return /* @__PURE__ */
|
|
4361
|
+
return /* @__PURE__ */ jsx55("span", { className: "flex rounded-buttons bg-button-social-background-generic-provider text-button-social-foreground-generic-provider border-button-social-border-generic-provider text-xs size-full items-center justify-center", children: label });
|
|
3997
4362
|
}
|
|
3998
4363
|
|
|
3999
4364
|
// src/theme/default/components/form/index.tsx
|
|
4000
|
-
import { jsx as
|
|
4365
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
4001
4366
|
function DefaultFormContainer({
|
|
4002
4367
|
children,
|
|
4003
4368
|
onSubmit,
|
|
4004
4369
|
action,
|
|
4005
|
-
method
|
|
4006
|
-
"data-testid": dataTestId
|
|
4370
|
+
method
|
|
4007
4371
|
}) {
|
|
4008
|
-
return /* @__PURE__ */
|
|
4372
|
+
return /* @__PURE__ */ jsx56(
|
|
4009
4373
|
"form",
|
|
4010
4374
|
{
|
|
4011
|
-
"data-testid": dataTestId,
|
|
4012
4375
|
onSubmit,
|
|
4013
4376
|
noValidate: true,
|
|
4014
4377
|
action,
|
|
@@ -4023,11 +4386,11 @@ function DefaultMessageContainer({ children }) {
|
|
|
4023
4386
|
if (!children || Array.isArray(children) && children.length === 0) {
|
|
4024
4387
|
return null;
|
|
4025
4388
|
}
|
|
4026
|
-
return /* @__PURE__ */
|
|
4389
|
+
return /* @__PURE__ */ jsx56(
|
|
4027
4390
|
"section",
|
|
4028
4391
|
{
|
|
4029
4392
|
className: cn(
|
|
4030
|
-
flowType ===
|
|
4393
|
+
flowType === FlowType14.Settings ? "text-center" : "text-left"
|
|
4031
4394
|
),
|
|
4032
4395
|
children
|
|
4033
4396
|
}
|
|
@@ -4035,7 +4398,7 @@ function DefaultMessageContainer({ children }) {
|
|
|
4035
4398
|
}
|
|
4036
4399
|
function DefaultMessage({ message }) {
|
|
4037
4400
|
const intl = useIntl12();
|
|
4038
|
-
return /* @__PURE__ */
|
|
4401
|
+
return /* @__PURE__ */ jsx56(
|
|
4039
4402
|
"span",
|
|
4040
4403
|
{
|
|
4041
4404
|
className: cn(
|
|
@@ -4051,46 +4414,58 @@ function DefaultMessage({ message }) {
|
|
|
4051
4414
|
}
|
|
4052
4415
|
|
|
4053
4416
|
// src/theme/default/components/card/auth-method-list-item.tsx
|
|
4417
|
+
import { useOryFlow as useOryFlow8 } from "@ory/elements-react";
|
|
4418
|
+
import { useEffect as useEffect6, useState as useState5 } from "react";
|
|
4054
4419
|
import { useIntl as useIntl13 } from "react-intl";
|
|
4420
|
+
import { useEventListener, useTimeout } from "usehooks-ts";
|
|
4055
4421
|
|
|
4056
|
-
// src/theme/default/assets/icons/
|
|
4422
|
+
// src/theme/default/assets/icons/alert-triangle.svg
|
|
4057
4423
|
import * as React17 from "react";
|
|
4424
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
4425
|
+
var SvgAlertTriangle = (props) => {
|
|
4426
|
+
var _a, _b;
|
|
4427
|
+
return /* @__PURE__ */ jsx57("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx57("path", { stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", d: "M12 9v4m0 4h.01M10.24 3.957l-8.422 14.06A1.99 1.99 0 0 0 3.518 21h16.845a1.99 1.99 0 0 0 1.7-2.983L13.64 3.957a1.988 1.988 0 0 0-3.4 0" }) });
|
|
4428
|
+
};
|
|
4429
|
+
var alert_triangle_default = SvgAlertTriangle;
|
|
4430
|
+
|
|
4431
|
+
// src/theme/default/assets/icons/code-asterix.svg
|
|
4432
|
+
import * as React18 from "react";
|
|
4058
4433
|
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
4434
|
+
var SvgCodeAsterix = (props) => {
|
|
4435
|
+
var _a, _b;
|
|
4436
|
+
return /* @__PURE__ */ jsx58("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 25", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx58("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 19.325a2 2 0 0 1-2-2v-4l-1-1 1-1v-4a2 2 0 0 1 2-2m6 6.875 3-1.687M12 12.2v3.375m0-3.375-3-1.687m3 1.687 3 1.688M12 12.2V8.825m0 3.375-3 1.688m9 5.437a2 2 0 0 0 2-2v-4l1-1-1-1v-4a2 2 0 0 0-2-2" }) });
|
|
4437
|
+
};
|
|
4438
|
+
var code_asterix_default = SvgCodeAsterix;
|
|
4439
|
+
|
|
4440
|
+
// src/theme/default/assets/icons/code.svg
|
|
4441
|
+
import * as React19 from "react";
|
|
4442
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
4059
4443
|
var SvgCode = (props) => {
|
|
4060
4444
|
var _a, _b;
|
|
4061
|
-
return /* @__PURE__ */
|
|
4445
|
+
return /* @__PURE__ */ jsx59("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 15 13", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx59("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M6.333 10.666h-4A1.333 1.333 0 0 1 1 9.333V2.666m0 0a1.333 1.333 0 0 1 1.333-1.333h9.334A1.333 1.333 0 0 1 13 2.666m-12 0 6 4 6-4m0 0v4M12.333 12l1.334-1.334-1.334-1.333m-2 0L9 10.666 10.333 12" }) });
|
|
4062
4446
|
};
|
|
4063
4447
|
var code_default = SvgCode;
|
|
4064
4448
|
|
|
4065
4449
|
// src/theme/default/assets/icons/passkey.svg
|
|
4066
|
-
import * as
|
|
4067
|
-
import { jsx as
|
|
4450
|
+
import * as React20 from "react";
|
|
4451
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
4068
4452
|
var SvgPasskey = (props) => {
|
|
4069
4453
|
var _a, _b;
|
|
4070
|
-
return /* @__PURE__ */
|
|
4454
|
+
return /* @__PURE__ */ jsx60("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 13 14", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx60("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.602 3.667c.603 1 .86 2.171.733 3.333v.667a4 4 0 0 0 .533 2M3.335 6.333a2.667 2.667 0 0 1 5.333 0V7c0 1.442.468 2.846 1.334 4m-4-4.667v1.334A9.33 9.33 0 0 0 7.668 13M3.335 9a12 12 0 0 0 1.2 4m-3.267-1.333A14.7 14.7 0 0 1 .668 7v-.667a5.333 5.333 0 0 1 8-4.633" }) });
|
|
4071
4455
|
};
|
|
4072
4456
|
var passkey_default = SvgPasskey;
|
|
4073
4457
|
|
|
4074
4458
|
// src/theme/default/assets/icons/password.svg
|
|
4075
|
-
import * as
|
|
4076
|
-
import { jsx as
|
|
4459
|
+
import * as React21 from "react";
|
|
4460
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
4077
4461
|
var SvgPassword = (props) => {
|
|
4078
4462
|
var _a, _b;
|
|
4079
|
-
return /* @__PURE__ */
|
|
4463
|
+
return /* @__PURE__ */ jsx61("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 4", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx61("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M7 .667v2.667m-1.333-.667 2.666-1.333m-2.666 0 2.666 1.333m-6-2v2.667M1 2.667l2.667-1.333M1 1.334l2.667 1.333m8-2v2.667m-1.334-.667L13 1.334m-2.667 0L13 2.667" }) });
|
|
4080
4464
|
};
|
|
4081
4465
|
var password_default = SvgPassword;
|
|
4082
4466
|
|
|
4083
|
-
// src/theme/default/assets/icons/webauthn.svg
|
|
4084
|
-
import * as React20 from "react";
|
|
4085
|
-
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
4086
|
-
var SvgWebauthn = (props) => {
|
|
4087
|
-
var _a, _b;
|
|
4088
|
-
return /* @__PURE__ */ jsx61("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx61("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5h.007m1.03-3.438 2.401 2.401a1.92 1.92 0 0 1 0 2.713l-1.762 1.762a1.92 1.92 0 0 1-2.713 0l-.2-.2-4.372 4.371a1.33 1.33 0 0 1-.826.386L2.448 13h-.781a.667.667 0 0 1-.662-.589L1 12.333v-.781c0-.313.11-.616.311-.856l.08-.087.276-.276H3V9h1.333V7.667l1.43-1.43-.201-.2a1.92 1.92 0 0 1 0-2.713l1.762-1.762a1.92 1.92 0 0 1 2.713 0" }) });
|
|
4089
|
-
};
|
|
4090
|
-
var webauthn_default = SvgWebauthn;
|
|
4091
|
-
|
|
4092
4467
|
// src/theme/default/assets/icons/totp.svg
|
|
4093
|
-
import * as
|
|
4468
|
+
import * as React22 from "react";
|
|
4094
4469
|
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
4095
4470
|
var SvgTotp = (props) => {
|
|
4096
4471
|
var _a, _b;
|
|
@@ -4098,14 +4473,14 @@ var SvgTotp = (props) => {
|
|
|
4098
4473
|
};
|
|
4099
4474
|
var totp_default = SvgTotp;
|
|
4100
4475
|
|
|
4101
|
-
// src/theme/default/assets/icons/
|
|
4102
|
-
import * as
|
|
4476
|
+
// src/theme/default/assets/icons/webauthn.svg
|
|
4477
|
+
import * as React23 from "react";
|
|
4103
4478
|
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
4104
|
-
var
|
|
4479
|
+
var SvgWebauthn = (props) => {
|
|
4105
4480
|
var _a, _b;
|
|
4106
|
-
return /* @__PURE__ */ jsx63("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0
|
|
4481
|
+
return /* @__PURE__ */ jsx63("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 14", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx63("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5h.007m1.03-3.438 2.401 2.401a1.92 1.92 0 0 1 0 2.713l-1.762 1.762a1.92 1.92 0 0 1-2.713 0l-.2-.2-4.372 4.371a1.33 1.33 0 0 1-.826.386L2.448 13h-.781a.667.667 0 0 1-.662-.589L1 12.333v-.781c0-.313.11-.616.311-.856l.08-.087.276-.276H3V9h1.333V7.667l1.43-1.43-.201-.2a1.92 1.92 0 0 1 0-2.713l1.762-1.762a1.92 1.92 0 0 1 2.713 0" }) });
|
|
4107
4482
|
};
|
|
4108
|
-
var
|
|
4483
|
+
var webauthn_default = SvgWebauthn;
|
|
4109
4484
|
|
|
4110
4485
|
// src/theme/default/components/card/list-item.tsx
|
|
4111
4486
|
import { jsx as jsx64, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
@@ -4125,6 +4500,7 @@ function ListItem({
|
|
|
4125
4500
|
...props,
|
|
4126
4501
|
className: cn(
|
|
4127
4502
|
"flex cursor-pointer gap-3 text-left items-start w-full rounded-buttons p-2 hover:bg-interface-background-default-primary-hover",
|
|
4503
|
+
"disabled:hover:bg-ui-transparent disabled:cursor-default disabled:opacity-50",
|
|
4128
4504
|
className
|
|
4129
4505
|
),
|
|
4130
4506
|
children: [
|
|
@@ -4140,6 +4516,7 @@ function ListItem({
|
|
|
4140
4516
|
}
|
|
4141
4517
|
|
|
4142
4518
|
// src/theme/default/components/card/auth-method-list-item.tsx
|
|
4519
|
+
import { useFormContext as useFormContext14 } from "react-hook-form";
|
|
4143
4520
|
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
4144
4521
|
var iconsMap = {
|
|
4145
4522
|
code: code_default,
|
|
@@ -4159,6 +4536,16 @@ function DefaultAuthMethodListItem({
|
|
|
4159
4536
|
var _a;
|
|
4160
4537
|
const intl = useIntl13();
|
|
4161
4538
|
const Icon = iconsMap[group] || null;
|
|
4539
|
+
const { flow } = useOryFlow8();
|
|
4540
|
+
const { formState } = useFormContext14();
|
|
4541
|
+
if (group === "passkey") {
|
|
4542
|
+
const passkeyNode = findPasskeyNode(flow);
|
|
4543
|
+
if (!passkeyNode) {
|
|
4544
|
+
console.error("Passkey node not found");
|
|
4545
|
+
return null;
|
|
4546
|
+
}
|
|
4547
|
+
return /* @__PURE__ */ jsx65(PasskeyListItem, { passkeyNode, group, title });
|
|
4548
|
+
}
|
|
4162
4549
|
return /* @__PURE__ */ jsx65(
|
|
4163
4550
|
ListItem,
|
|
4164
4551
|
{
|
|
@@ -4173,6 +4560,93 @@ function DefaultAuthMethodListItem({
|
|
|
4173
4560
|
}),
|
|
4174
4561
|
onClick,
|
|
4175
4562
|
type: isGroupImmediateSubmit(group) ? "submit" : "button",
|
|
4563
|
+
"data-testid": `ory/form/auth-picker/${group}`,
|
|
4564
|
+
disabled: !formState.isReady
|
|
4565
|
+
}
|
|
4566
|
+
);
|
|
4567
|
+
}
|
|
4568
|
+
function findPasskeyNode(flow) {
|
|
4569
|
+
const passkeyTriggerNode = flow.ui.nodes.find(
|
|
4570
|
+
(node) => node.attributes.node_type === "input" && ["passkey_login_trigger", "passkey_register_trigger"].includes(
|
|
4571
|
+
node.attributes.name
|
|
4572
|
+
)
|
|
4573
|
+
);
|
|
4574
|
+
if (!passkeyTriggerNode) {
|
|
4575
|
+
return void 0;
|
|
4576
|
+
}
|
|
4577
|
+
return passkeyTriggerNode;
|
|
4578
|
+
}
|
|
4579
|
+
function PasskeyListItem({ group, title, passkeyNode }) {
|
|
4580
|
+
var _a, _b;
|
|
4581
|
+
const intl = useIntl13();
|
|
4582
|
+
const Icon = iconsMap[group] || null;
|
|
4583
|
+
const { formState } = useFormContext14();
|
|
4584
|
+
const [isPasskeyScriptInitalized, setPasskeyScriptInitalized] = useState5(false);
|
|
4585
|
+
const [failedToLoad, setFailedToLoad] = useState5(false);
|
|
4586
|
+
const clickHandler = () => {
|
|
4587
|
+
if (!passkeyNode.attributes.onclickTrigger) {
|
|
4588
|
+
console.error("Passkey node not found");
|
|
4589
|
+
return;
|
|
4590
|
+
}
|
|
4591
|
+
const fn = triggerToFunction(passkeyNode.attributes.onclickTrigger);
|
|
4592
|
+
if (fn) {
|
|
4593
|
+
fn();
|
|
4594
|
+
} else {
|
|
4595
|
+
console.error("Passkey node trigger function not found");
|
|
4596
|
+
}
|
|
4597
|
+
};
|
|
4598
|
+
useEffect6(() => {
|
|
4599
|
+
if (!passkeyNode.attributes.onclickTrigger) {
|
|
4600
|
+
console.error("Passkey node not found");
|
|
4601
|
+
return;
|
|
4602
|
+
}
|
|
4603
|
+
const fn = triggerToFunction(passkeyNode.attributes.onclickTrigger);
|
|
4604
|
+
setPasskeyScriptInitalized(typeof fn === "function");
|
|
4605
|
+
}, [passkeyNode]);
|
|
4606
|
+
useEventListener("oryWebAuthnInitialized", () => {
|
|
4607
|
+
setPasskeyScriptInitalized(true);
|
|
4608
|
+
});
|
|
4609
|
+
useTimeout(() => {
|
|
4610
|
+
if (!isPasskeyScriptInitalized) {
|
|
4611
|
+
setFailedToLoad(true);
|
|
4612
|
+
}
|
|
4613
|
+
}, 5e3);
|
|
4614
|
+
if (failedToLoad) {
|
|
4615
|
+
return /* @__PURE__ */ jsx65(
|
|
4616
|
+
ListItem,
|
|
4617
|
+
{
|
|
4618
|
+
as: "button",
|
|
4619
|
+
icon: Icon,
|
|
4620
|
+
disabled: true,
|
|
4621
|
+
title: intl.formatMessage(
|
|
4622
|
+
{ id: (_a = title == null ? void 0 : title.id) != null ? _a : `two-step.${group}.title` },
|
|
4623
|
+
title == null ? void 0 : title.values
|
|
4624
|
+
),
|
|
4625
|
+
description: intl.formatMessage({
|
|
4626
|
+
id: "two-step.passkey.description.error"
|
|
4627
|
+
}),
|
|
4628
|
+
type: "button",
|
|
4629
|
+
"data-testid": `ory/form/auth-picker/${group}`,
|
|
4630
|
+
children: /* @__PURE__ */ jsx65(alert_triangle_default, {})
|
|
4631
|
+
}
|
|
4632
|
+
);
|
|
4633
|
+
}
|
|
4634
|
+
return /* @__PURE__ */ jsx65(
|
|
4635
|
+
ListItem,
|
|
4636
|
+
{
|
|
4637
|
+
as: "button",
|
|
4638
|
+
icon: Icon,
|
|
4639
|
+
disabled: !isPasskeyScriptInitalized || !formState.isReady,
|
|
4640
|
+
name: passkeyNode.attributes.name,
|
|
4641
|
+
title: intl.formatMessage(
|
|
4642
|
+
{ id: (_b = title == null ? void 0 : title.id) != null ? _b : `two-step.${group}.title` },
|
|
4643
|
+
title == null ? void 0 : title.values
|
|
4644
|
+
),
|
|
4645
|
+
description: intl.formatMessage({
|
|
4646
|
+
id: `two-step.${group}.description`
|
|
4647
|
+
}),
|
|
4648
|
+
onClick: clickHandler,
|
|
4649
|
+
type: "button",
|
|
4176
4650
|
"data-testid": `ory/form/auth-picker/${group}`
|
|
4177
4651
|
}
|
|
4178
4652
|
);
|
|
@@ -4184,9 +4658,9 @@ import {
|
|
|
4184
4658
|
uiTextToFormattedMessage as uiTextToFormattedMessage4
|
|
4185
4659
|
} from "@ory/elements-react";
|
|
4186
4660
|
import { cva } from "class-variance-authority";
|
|
4187
|
-
import { useFormContext as
|
|
4661
|
+
import { useFormContext as useFormContext15 } from "react-hook-form";
|
|
4188
4662
|
import { useIntl as useIntl14 } from "react-intl";
|
|
4189
|
-
import { useEffect as
|
|
4663
|
+
import { useEffect as useEffect7, useState as useState6 } from "react";
|
|
4190
4664
|
import { jsx as jsx66, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4191
4665
|
var buttonStyles = cva(
|
|
4192
4666
|
[
|
|
@@ -4227,14 +4701,14 @@ var DefaultButton = ({
|
|
|
4227
4701
|
}) => {
|
|
4228
4702
|
var _a;
|
|
4229
4703
|
const { type, name, value, ...rest } = attributes;
|
|
4230
|
-
const [clicked, setClicked] =
|
|
4704
|
+
const [clicked, setClicked] = useState6(false);
|
|
4231
4705
|
const intl = useIntl14();
|
|
4232
4706
|
const label = getNodeLabel(node);
|
|
4233
4707
|
const {
|
|
4234
|
-
formState: { isSubmitting },
|
|
4708
|
+
formState: { isSubmitting, isReady },
|
|
4235
4709
|
setValue
|
|
4236
|
-
} =
|
|
4237
|
-
|
|
4710
|
+
} = useFormContext15();
|
|
4711
|
+
useEffect7(() => {
|
|
4238
4712
|
if (!isSubmitting) {
|
|
4239
4713
|
setClicked(false);
|
|
4240
4714
|
}
|
|
@@ -4257,7 +4731,7 @@ var DefaultButton = ({
|
|
|
4257
4731
|
className: buttonStyles({
|
|
4258
4732
|
intent: isPrimary ? "primary" : "secondary"
|
|
4259
4733
|
}),
|
|
4260
|
-
disabled: (_a = rest.disabled) != null ? _a : isSubmitting,
|
|
4734
|
+
disabled: !isReady && ((_a = rest.disabled) != null ? _a : isSubmitting),
|
|
4261
4735
|
"data-loading": clicked,
|
|
4262
4736
|
children: [
|
|
4263
4737
|
clicked ? /* @__PURE__ */ jsx66(Spinner, {}) : null,
|
|
@@ -4274,7 +4748,7 @@ import {
|
|
|
4274
4748
|
messageTestId as messageTestId3,
|
|
4275
4749
|
uiTextToFormattedMessage as uiTextToFormattedMessage5
|
|
4276
4750
|
} from "@ory/elements-react";
|
|
4277
|
-
import { useFormContext as
|
|
4751
|
+
import { useFormContext as useFormContext16 } from "react-hook-form";
|
|
4278
4752
|
import { useIntl as useIntl16 } from "react-intl";
|
|
4279
4753
|
|
|
4280
4754
|
// src/theme/default/components/ui/checkbox-label.tsx
|
|
@@ -4353,7 +4827,7 @@ var DefaultCheckbox = ({
|
|
|
4353
4827
|
const { value, name, ...attributes } = initialAttributes;
|
|
4354
4828
|
const intl = useIntl16();
|
|
4355
4829
|
const label = getNodeLabel2(node);
|
|
4356
|
-
const { register } =
|
|
4830
|
+
const { register } = useFormContext16();
|
|
4357
4831
|
const hasError = node.messages.some((m) => m.type === "error");
|
|
4358
4832
|
return /* @__PURE__ */ jsxs32("label", { className: "flex items-start gap-3 self-stretch antialiased", children: [
|
|
4359
4833
|
/* @__PURE__ */ jsxs32("span", { className: "flex h-5 items-center", children: [
|
|
@@ -4392,8 +4866,8 @@ var DefaultCheckbox = ({
|
|
|
4392
4866
|
};
|
|
4393
4867
|
|
|
4394
4868
|
// src/theme/default/components/form/group-container.tsx
|
|
4395
|
-
import { useOryFlow as
|
|
4396
|
-
import { FlowType as
|
|
4869
|
+
import { useOryFlow as useOryFlow9 } from "@ory/elements-react";
|
|
4870
|
+
import { FlowType as FlowType15 } from "@ory/client-fetch";
|
|
4397
4871
|
|
|
4398
4872
|
// src/util/childCounter.ts
|
|
4399
4873
|
import { Children, isValidElement } from "react";
|
|
@@ -4409,7 +4883,7 @@ function countRenderableChildren(children) {
|
|
|
4409
4883
|
// src/theme/default/components/form/group-container.tsx
|
|
4410
4884
|
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
4411
4885
|
function DefaultGroupContainer({ children }) {
|
|
4412
|
-
const { flowType } =
|
|
4886
|
+
const { flowType } = useOryFlow9();
|
|
4413
4887
|
const count = countRenderableChildren(children);
|
|
4414
4888
|
if (count === 0) {
|
|
4415
4889
|
return null;
|
|
@@ -4419,7 +4893,7 @@ function DefaultGroupContainer({ children }) {
|
|
|
4419
4893
|
{
|
|
4420
4894
|
className: cn(
|
|
4421
4895
|
"grid",
|
|
4422
|
-
flowType ===
|
|
4896
|
+
flowType === FlowType15.OAuth2Consent ? "grid-cols-2 gap-2" : "grid-cols-1 gap-8"
|
|
4423
4897
|
),
|
|
4424
4898
|
children
|
|
4425
4899
|
}
|
|
@@ -4446,17 +4920,17 @@ function DefaultImage({ attributes, node }) {
|
|
|
4446
4920
|
}
|
|
4447
4921
|
|
|
4448
4922
|
// src/theme/default/components/form/input.tsx
|
|
4449
|
-
import { FlowType as
|
|
4923
|
+
import { FlowType as FlowType16, getNodeLabel as getNodeLabel3 } from "@ory/client-fetch";
|
|
4450
4924
|
import {
|
|
4451
4925
|
uiTextToFormattedMessage as uiTextToFormattedMessage6,
|
|
4452
|
-
useOryFlow as
|
|
4926
|
+
useOryFlow as useOryFlow10
|
|
4453
4927
|
} from "@ory/elements-react";
|
|
4454
|
-
import { useRef as useRef3, useState as
|
|
4455
|
-
import { useFormContext as
|
|
4928
|
+
import { useRef as useRef3, useState as useState7 } from "react";
|
|
4929
|
+
import { useFormContext as useFormContext17 } from "react-hook-form";
|
|
4456
4930
|
import { useIntl as useIntl17 } from "react-intl";
|
|
4457
4931
|
|
|
4458
4932
|
// src/theme/default/assets/icons/eye-off.svg
|
|
4459
|
-
import * as
|
|
4933
|
+
import * as React24 from "react";
|
|
4460
4934
|
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
4461
4935
|
var SvgEyeOff = (props) => {
|
|
4462
4936
|
var _a, _b;
|
|
@@ -4465,7 +4939,7 @@ var SvgEyeOff = (props) => {
|
|
|
4465
4939
|
var eye_off_default = SvgEyeOff;
|
|
4466
4940
|
|
|
4467
4941
|
// src/theme/default/assets/icons/eye.svg
|
|
4468
|
-
import * as
|
|
4942
|
+
import * as React25 from "react";
|
|
4469
4943
|
import { jsx as jsx73, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4470
4944
|
var SvgEye = (props) => {
|
|
4471
4945
|
var _a, _b;
|
|
@@ -4492,10 +4966,10 @@ var DefaultInput = ({
|
|
|
4492
4966
|
onClick
|
|
4493
4967
|
}) => {
|
|
4494
4968
|
const label = getNodeLabel3(node);
|
|
4495
|
-
const { register } =
|
|
4969
|
+
const { register } = useFormContext17();
|
|
4496
4970
|
const { value, autocomplete, name, maxlength, ...rest } = attributes;
|
|
4497
4971
|
const intl = useIntl17();
|
|
4498
|
-
const { flowType } =
|
|
4972
|
+
const { flowType } = useOryFlow10();
|
|
4499
4973
|
const inputRef = useRef3(null);
|
|
4500
4974
|
const formattedLabel = label ? intl.formatMessage(
|
|
4501
4975
|
{
|
|
@@ -4511,10 +4985,6 @@ var DefaultInput = ({
|
|
|
4511
4985
|
"input",
|
|
4512
4986
|
{
|
|
4513
4987
|
...omitInputAttributes(rest),
|
|
4514
|
-
onClick,
|
|
4515
|
-
maxLength: maxlength,
|
|
4516
|
-
autoComplete: autocomplete,
|
|
4517
|
-
placeholder: formattedLabel,
|
|
4518
4988
|
"data-testid": `ory/form/node/input/${name}`,
|
|
4519
4989
|
...register(name, { value })
|
|
4520
4990
|
}
|
|
@@ -4527,7 +4997,7 @@ var DefaultInput = ({
|
|
|
4527
4997
|
className: cn(
|
|
4528
4998
|
"relative flex justify-stretch",
|
|
4529
4999
|
// The settings flow input fields are supposed to be dense, so we don't need the extra padding we want on the user flows.
|
|
4530
|
-
flowType ===
|
|
5000
|
+
flowType === FlowType16.Settings && "max-w-[488px]"
|
|
4531
5001
|
),
|
|
4532
5002
|
children: [
|
|
4533
5003
|
/* @__PURE__ */ jsx74(
|
|
@@ -4555,7 +5025,7 @@ var DefaultInput = ({
|
|
|
4555
5025
|
function PasswordToggle({
|
|
4556
5026
|
inputRef
|
|
4557
5027
|
}) {
|
|
4558
|
-
const [shown, setShown] =
|
|
5028
|
+
const [shown, setShown] = useState7(false);
|
|
4559
5029
|
const handleClick = () => {
|
|
4560
5030
|
setShown(!shown);
|
|
4561
5031
|
if (inputRef.current) {
|
|
@@ -4566,7 +5036,7 @@ function PasswordToggle({
|
|
|
4566
5036
|
"button",
|
|
4567
5037
|
{
|
|
4568
5038
|
onClick: handleClick,
|
|
4569
|
-
className: "absolute right-0 h-full w-12 flex items-center justify-center",
|
|
5039
|
+
className: "absolute right-0 h-full w-12 flex items-center justify-center text-input-foreground-primary",
|
|
4570
5040
|
type: "button",
|
|
4571
5041
|
"aria-label": "Toggle password visibility",
|
|
4572
5042
|
children: shown ? /* @__PURE__ */ jsx74(eye_off_default, {}) : /* @__PURE__ */ jsx74(eye_default, {})
|
|
@@ -4576,7 +5046,7 @@ function PasswordToggle({
|
|
|
4576
5046
|
|
|
4577
5047
|
// src/theme/default/components/form/label.tsx
|
|
4578
5048
|
import {
|
|
4579
|
-
FlowType as
|
|
5049
|
+
FlowType as FlowType17,
|
|
4580
5050
|
getNodeLabel as getNodeLabel4,
|
|
4581
5051
|
instanceOfUiText
|
|
4582
5052
|
} from "@ory/client-fetch";
|
|
@@ -4585,10 +5055,11 @@ import {
|
|
|
4585
5055
|
uiTextToFormattedMessage as uiTextToFormattedMessage7,
|
|
4586
5056
|
useComponents as useComponents5,
|
|
4587
5057
|
useOryConfiguration as useOryConfiguration5,
|
|
4588
|
-
useOryFlow as
|
|
5058
|
+
useOryFlow as useOryFlow11
|
|
4589
5059
|
} from "@ory/elements-react";
|
|
4590
|
-
import { useFormContext as
|
|
5060
|
+
import { useFormContext as useFormContext18 } from "react-hook-form";
|
|
4591
5061
|
import { useIntl as useIntl18 } from "react-intl";
|
|
5062
|
+
import { useMemo as useMemo2 } from "react";
|
|
4592
5063
|
import { jsx as jsx75, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4593
5064
|
function findResendNode(nodes) {
|
|
4594
5065
|
return nodes.find(
|
|
@@ -4604,10 +5075,8 @@ function DefaultLabel({
|
|
|
4604
5075
|
const intl = useIntl18();
|
|
4605
5076
|
const label = getNodeLabel4(node);
|
|
4606
5077
|
const { Message } = useComponents5();
|
|
4607
|
-
const {
|
|
4608
|
-
const
|
|
4609
|
-
const { setValue, formState } = useFormContext17();
|
|
4610
|
-
const isPassword = attributes.type === "password";
|
|
5078
|
+
const { flow } = useOryFlow11();
|
|
5079
|
+
const { setValue, formState } = useFormContext18();
|
|
4611
5080
|
const resendNode = findResendNode(flow.ui.nodes);
|
|
4612
5081
|
const handleResend = () => {
|
|
4613
5082
|
if ((resendNode == null ? void 0 : resendNode.attributes) && "name" in resendNode.attributes) {
|
|
@@ -4628,18 +5097,7 @@ function DefaultLabel({
|
|
|
4628
5097
|
children: uiTextToFormattedMessage7(label, intl)
|
|
4629
5098
|
}
|
|
4630
5099
|
),
|
|
4631
|
-
|
|
4632
|
-
/* @__PURE__ */ jsx75(
|
|
4633
|
-
"a",
|
|
4634
|
-
{
|
|
4635
|
-
href: initFlowUrl(config.sdk.url, "recovery", flow),
|
|
4636
|
-
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
4637
|
-
children: intl.formatMessage({
|
|
4638
|
-
id: "forms.label.forgot-password",
|
|
4639
|
-
defaultMessage: "Forgot password?"
|
|
4640
|
-
})
|
|
4641
|
-
}
|
|
4642
|
-
),
|
|
5100
|
+
/* @__PURE__ */ jsx75(LabelAction, { attributes }),
|
|
4643
5101
|
(resendNode == null ? void 0 : resendNode.attributes.node_type) === "input" && /* @__PURE__ */ jsx75(
|
|
4644
5102
|
"button",
|
|
4645
5103
|
{
|
|
@@ -4657,6 +5115,50 @@ function DefaultLabel({
|
|
|
4657
5115
|
fieldError && instanceOfUiText(fieldError) && /* @__PURE__ */ jsx75(Message.Content, { message: fieldError })
|
|
4658
5116
|
] });
|
|
4659
5117
|
}
|
|
5118
|
+
function LabelAction({ attributes }) {
|
|
5119
|
+
const intl = useIntl18();
|
|
5120
|
+
const { flowType, flow, formState } = useOryFlow11();
|
|
5121
|
+
const config = useOryConfiguration5();
|
|
5122
|
+
const action = useMemo2(() => {
|
|
5123
|
+
if (flowType === FlowType17.Login && config.project.recovery_enabled) {
|
|
5124
|
+
if (formState.current === "provide_identifier" && !flow.refresh) {
|
|
5125
|
+
if (attributes.name === "identifier") {
|
|
5126
|
+
return {
|
|
5127
|
+
message: intl.formatMessage({
|
|
5128
|
+
id: "forms.label.recover-account",
|
|
5129
|
+
defaultMessage: "Recover Account"
|
|
5130
|
+
}),
|
|
5131
|
+
href: initFlowUrl(config.sdk.url, "recovery", flow)
|
|
5132
|
+
};
|
|
5133
|
+
}
|
|
5134
|
+
} else if (attributes.type === "password") {
|
|
5135
|
+
return {
|
|
5136
|
+
message: intl.formatMessage({
|
|
5137
|
+
id: "forms.label.forgot-password",
|
|
5138
|
+
defaultMessage: "Forgot password?"
|
|
5139
|
+
}),
|
|
5140
|
+
href: initFlowUrl(config.sdk.url, "recovery", flow)
|
|
5141
|
+
};
|
|
5142
|
+
}
|
|
5143
|
+
}
|
|
5144
|
+
}, [
|
|
5145
|
+
attributes,
|
|
5146
|
+
config.project.recovery_enabled,
|
|
5147
|
+
flow,
|
|
5148
|
+
flowType,
|
|
5149
|
+
intl,
|
|
5150
|
+
config.sdk.url,
|
|
5151
|
+
formState
|
|
5152
|
+
]);
|
|
5153
|
+
return action ? /* @__PURE__ */ jsx75(
|
|
5154
|
+
"a",
|
|
5155
|
+
{
|
|
5156
|
+
href: action.href,
|
|
5157
|
+
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
5158
|
+
children: action.message
|
|
5159
|
+
}
|
|
5160
|
+
) : null;
|
|
5161
|
+
}
|
|
4660
5162
|
|
|
4661
5163
|
// src/theme/default/components/form/link-button.tsx
|
|
4662
5164
|
import { getNodeLabel as getNodeLabel5 } from "@ory/client-fetch";
|
|
@@ -4686,13 +5188,13 @@ var DefaultLinkButton = forwardRef(({ attributes, node }, ref) => {
|
|
|
4686
5188
|
DefaultLinkButton.displayName = "DefaultLinkButton";
|
|
4687
5189
|
|
|
4688
5190
|
// src/theme/default/components/form/pin-code-input.tsx
|
|
4689
|
-
import { useFormContext as
|
|
5191
|
+
import { useFormContext as useFormContext19 } from "react-hook-form";
|
|
4690
5192
|
|
|
4691
5193
|
// src/theme/default/components/form/shadcn/otp-input.tsx
|
|
4692
5194
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
4693
|
-
import * as
|
|
5195
|
+
import * as React26 from "react";
|
|
4694
5196
|
import { jsx as jsx77, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4695
|
-
var InputOTP =
|
|
5197
|
+
var InputOTP = React26.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx77(
|
|
4696
5198
|
OTPInput,
|
|
4697
5199
|
{
|
|
4698
5200
|
ref,
|
|
@@ -4705,17 +5207,17 @@ var InputOTP = React25.forwardRef(({ className, containerClassName, ...props },
|
|
|
4705
5207
|
}
|
|
4706
5208
|
));
|
|
4707
5209
|
InputOTP.displayName = "InputOTP";
|
|
4708
|
-
var InputOTPGroup =
|
|
5210
|
+
var InputOTPGroup = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx77("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
4709
5211
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
4710
|
-
var InputOTPSlot =
|
|
4711
|
-
const inputOTPContext =
|
|
5212
|
+
var InputOTPSlot = React26.forwardRef(({ index, className, ...props }, ref) => {
|
|
5213
|
+
const inputOTPContext = React26.useContext(OTPInputContext);
|
|
4712
5214
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
4713
5215
|
return /* @__PURE__ */ jsxs36(
|
|
4714
5216
|
"div",
|
|
4715
5217
|
{
|
|
4716
5218
|
ref,
|
|
4717
5219
|
className: cn(
|
|
4718
|
-
"rounded-forms border border-solid bg-input-background-default py-[15px] text-center focus-visible:outline-none w-full",
|
|
5220
|
+
"rounded-forms border border-solid bg-input-background-default text-input-foreground-primary py-[15px] text-center focus-visible:outline-none w-full",
|
|
4719
5221
|
"relative flex items-center justify-center transition-all leading-none",
|
|
4720
5222
|
isActive ? "border-input-border-focus" : "border-input-border-default",
|
|
4721
5223
|
className
|
|
@@ -4731,14 +5233,14 @@ var InputOTPSlot = React25.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
4731
5233
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
4732
5234
|
|
|
4733
5235
|
// src/theme/default/components/form/pin-code-input.tsx
|
|
4734
|
-
import { useOryFlow as
|
|
4735
|
-
import { FlowType as
|
|
5236
|
+
import { useOryFlow as useOryFlow12 } from "@ory/elements-react";
|
|
5237
|
+
import { FlowType as FlowType18 } from "@ory/client-fetch";
|
|
4736
5238
|
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
4737
5239
|
var DefaultPinCodeInput = ({ attributes }) => {
|
|
4738
|
-
const { setValue, watch } =
|
|
5240
|
+
const { setValue, watch } = useFormContext19();
|
|
4739
5241
|
const { maxlength, name } = attributes;
|
|
4740
5242
|
const elements = maxlength != null ? maxlength : 6;
|
|
4741
|
-
const { flowType } =
|
|
5243
|
+
const { flowType } = useOryFlow12();
|
|
4742
5244
|
const handleInputChange = (v) => {
|
|
4743
5245
|
setValue(name, v);
|
|
4744
5246
|
};
|
|
@@ -4756,7 +5258,7 @@ var DefaultPinCodeInput = ({ attributes }) => {
|
|
|
4756
5258
|
className: cn(
|
|
4757
5259
|
"w-full flex gap-2 justify-stretch",
|
|
4758
5260
|
// The settings flow input fields are supposed to be dense, so we don't need the extra padding we want on the user flows.
|
|
4759
|
-
flowType ===
|
|
5261
|
+
flowType === FlowType18.Settings && "max-w-[488px]"
|
|
4760
5262
|
),
|
|
4761
5263
|
children: [...Array(elements)].map((_, index) => /* @__PURE__ */ jsx78(InputOTPSlot, { index }, index))
|
|
4762
5264
|
}
|
|
@@ -4850,7 +5352,7 @@ function DefaultText({ node, attributes }) {
|
|
|
4850
5352
|
import {
|
|
4851
5353
|
useComponents as useComponents6,
|
|
4852
5354
|
useOryConfiguration as useOryConfiguration7,
|
|
4853
|
-
useOryFlow as
|
|
5355
|
+
useOryFlow as useOryFlow13
|
|
4854
5356
|
} from "@ory/elements-react";
|
|
4855
5357
|
|
|
4856
5358
|
// src/theme/default/components/ui/user-menu.tsx
|
|
@@ -4858,7 +5360,7 @@ import { useOryConfiguration as useOryConfiguration6 } from "@ory/elements-react
|
|
|
4858
5360
|
import { DropdownMenuLabel as DropdownMenuLabel2 } from "@radix-ui/react-dropdown-menu";
|
|
4859
5361
|
|
|
4860
5362
|
// src/theme/default/assets/icons/logout.svg
|
|
4861
|
-
import * as
|
|
5363
|
+
import * as React27 from "react";
|
|
4862
5364
|
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
4863
5365
|
var SvgLogout = (props) => {
|
|
4864
5366
|
var _a, _b;
|
|
@@ -4867,7 +5369,7 @@ var SvgLogout = (props) => {
|
|
|
4867
5369
|
var logout_default = SvgLogout;
|
|
4868
5370
|
|
|
4869
5371
|
// src/theme/default/assets/icons/settings.svg
|
|
4870
|
-
import * as
|
|
5372
|
+
import * as React28 from "react";
|
|
4871
5373
|
import { jsx as jsx82, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
4872
5374
|
var SvgSettings = (props) => {
|
|
4873
5375
|
var _a, _b;
|
|
@@ -4974,7 +5476,7 @@ DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
|
4974
5476
|
import { forwardRef as forwardRef4 } from "react";
|
|
4975
5477
|
|
|
4976
5478
|
// src/theme/default/assets/icons/user.svg
|
|
4977
|
-
import * as
|
|
5479
|
+
import * as React29 from "react";
|
|
4978
5480
|
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
4979
5481
|
var SvgUser = (props) => {
|
|
4980
5482
|
var _a, _b;
|
|
@@ -5049,12 +5551,12 @@ var DefaultPageHeader = (_props) => {
|
|
|
5049
5551
|
const { Card } = useComponents6();
|
|
5050
5552
|
const { session } = useSession();
|
|
5051
5553
|
const intl = useIntl21();
|
|
5052
|
-
const { flow } =
|
|
5554
|
+
const { flow } = useOryFlow13();
|
|
5053
5555
|
const config = useOryConfiguration7();
|
|
5054
5556
|
const returnUrl = (_a = flow.return_to) != null ? _a : config.project.default_redirect_url;
|
|
5055
5557
|
return /* @__PURE__ */ jsx87("div", { className: "mt-16 flex max-w-screen-sm w-full md:max-w-[712px] lg:max-w-[802px] xl:max-w-[896px] flex-col gap-3 px-4", children: /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-12", children: [
|
|
5056
5558
|
/* @__PURE__ */ jsxs41("div", { className: "flex max-h-10 flex-1 justify-between gap-2 items-center", children: [
|
|
5057
|
-
/* @__PURE__ */ jsx87(Card.Logo, {}),
|
|
5559
|
+
/* @__PURE__ */ jsx87("div", { className: "h-9", children: /* @__PURE__ */ jsx87(Card.Logo, {}) }),
|
|
5058
5560
|
/* @__PURE__ */ jsx87(UserMenu, { session })
|
|
5059
5561
|
] }),
|
|
5060
5562
|
returnUrl && /* @__PURE__ */ jsx87("div", { children: /* @__PURE__ */ jsxs41(
|
|
@@ -5062,7 +5564,7 @@ var DefaultPageHeader = (_props) => {
|
|
|
5062
5564
|
{
|
|
5063
5565
|
"data-testid": "ory/screen/settings/back-button",
|
|
5064
5566
|
href: returnUrl,
|
|
5065
|
-
className: "inline-flex gap-2 items-center",
|
|
5567
|
+
className: "inline-flex gap-2 items-center text-button-link-default-primary hover:text-button-link-default-primary-hover",
|
|
5066
5568
|
children: [
|
|
5067
5569
|
/* @__PURE__ */ jsx87(arrow_left_default, {}),
|
|
5068
5570
|
" ",
|
|
@@ -5077,12 +5579,12 @@ var DefaultPageHeader = (_props) => {
|
|
|
5077
5579
|
};
|
|
5078
5580
|
|
|
5079
5581
|
// src/theme/default/components/settings/settings-oidc.tsx
|
|
5080
|
-
import { useEffect as
|
|
5081
|
-
import { useFormContext as
|
|
5582
|
+
import { useEffect as useEffect8 } from "react";
|
|
5583
|
+
import { useFormContext as useFormContext20 } from "react-hook-form";
|
|
5082
5584
|
import { useDebounceValue as useDebounceValue2 } from "usehooks-ts";
|
|
5083
5585
|
|
|
5084
5586
|
// src/theme/default/assets/icons/trash.svg
|
|
5085
|
-
import * as
|
|
5587
|
+
import * as React30 from "react";
|
|
5086
5588
|
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
5087
5589
|
var SvgTrash = (props) => {
|
|
5088
5590
|
var _a, _b;
|
|
@@ -5122,11 +5624,11 @@ function DefaultSettingsOidc({
|
|
|
5122
5624
|
] });
|
|
5123
5625
|
}
|
|
5124
5626
|
function UnlinkRow({ button }) {
|
|
5125
|
-
var _a, _b
|
|
5627
|
+
var _a, _b;
|
|
5126
5628
|
const [clicked, setClicked] = useDebounceValue2(false, 100);
|
|
5127
5629
|
const {
|
|
5128
5630
|
formState: { isSubmitting }
|
|
5129
|
-
} =
|
|
5631
|
+
} = useFormContext20();
|
|
5130
5632
|
const attrs = button.attributes;
|
|
5131
5633
|
const provider = (_b = extractProvider((_a = button.meta.label) == null ? void 0 : _a.context)) != null ? _b : "";
|
|
5132
5634
|
const Logo = provider_logos_default[attrs.value.split("-")[0]];
|
|
@@ -5134,12 +5636,11 @@ function UnlinkRow({ button }) {
|
|
|
5134
5636
|
button.onClick();
|
|
5135
5637
|
setClicked(true);
|
|
5136
5638
|
};
|
|
5137
|
-
|
|
5639
|
+
useEffect8(() => {
|
|
5138
5640
|
if (!isSubmitting) {
|
|
5139
5641
|
setClicked(false);
|
|
5140
5642
|
}
|
|
5141
5643
|
}, [isSubmitting, setClicked]);
|
|
5142
|
-
console.log((_c = button.meta.label) == null ? void 0 : _c.context);
|
|
5143
5644
|
return /* @__PURE__ */ jsxs42("div", { className: "flex justify-between", children: [
|
|
5144
5645
|
/* @__PURE__ */ jsxs42("div", { className: "flex items-center gap-6", children: [
|
|
5145
5646
|
Logo ? /* @__PURE__ */ jsx89(Logo, { size: 32 }) : /* @__PURE__ */ jsx89(GenericLogo, { label: provider.slice(0, 1) }),
|
|
@@ -5168,7 +5669,7 @@ function UnlinkRow({ button }) {
|
|
|
5168
5669
|
|
|
5169
5670
|
// src/theme/default/components/settings/settings-passkey.tsx
|
|
5170
5671
|
import { useComponents as useComponents7 } from "@ory/elements-react";
|
|
5171
|
-
import { useFormContext as
|
|
5672
|
+
import { useFormContext as useFormContext21 } from "react-hook-form";
|
|
5172
5673
|
import { jsx as jsx90, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
5173
5674
|
function DefaultSettingsPasskey({
|
|
5174
5675
|
triggerButton,
|
|
@@ -5176,7 +5677,7 @@ function DefaultSettingsPasskey({
|
|
|
5176
5677
|
}) {
|
|
5177
5678
|
const {
|
|
5178
5679
|
formState: { isSubmitting }
|
|
5179
|
-
} =
|
|
5680
|
+
} = useFormContext21();
|
|
5180
5681
|
const { Node: Node2 } = useComponents7();
|
|
5181
5682
|
const hasRemoveButtons = removeButtons.length > 0;
|
|
5182
5683
|
return /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-8", children: [
|
|
@@ -5246,7 +5747,7 @@ function DefaultSettingsPasskey({
|
|
|
5246
5747
|
}
|
|
5247
5748
|
|
|
5248
5749
|
// src/theme/default/assets/icons/download.svg
|
|
5249
|
-
import * as
|
|
5750
|
+
import * as React31 from "react";
|
|
5250
5751
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
5251
5752
|
var SvgDownload = (props) => {
|
|
5252
5753
|
var _a, _b;
|
|
@@ -5255,7 +5756,7 @@ var SvgDownload = (props) => {
|
|
|
5255
5756
|
var download_default = SvgDownload;
|
|
5256
5757
|
|
|
5257
5758
|
// src/theme/default/assets/icons/refresh.svg
|
|
5258
|
-
import * as
|
|
5759
|
+
import * as React32 from "react";
|
|
5259
5760
|
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
5260
5761
|
var SvgRefresh = (props) => {
|
|
5261
5762
|
var _a, _b;
|
|
@@ -5264,7 +5765,7 @@ var SvgRefresh = (props) => {
|
|
|
5264
5765
|
var refresh_default = SvgRefresh;
|
|
5265
5766
|
|
|
5266
5767
|
// src/theme/default/components/settings/settings-recovery-codes.tsx
|
|
5267
|
-
import { useFormContext as
|
|
5768
|
+
import { useFormContext as useFormContext22 } from "react-hook-form";
|
|
5268
5769
|
import { Fragment as Fragment12, jsx as jsx93, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
5269
5770
|
function DefaultSettingsRecoveryCodes({
|
|
5270
5771
|
codes,
|
|
@@ -5275,7 +5776,7 @@ function DefaultSettingsRecoveryCodes({
|
|
|
5275
5776
|
}) {
|
|
5276
5777
|
const {
|
|
5277
5778
|
formState: { isSubmitting }
|
|
5278
|
-
} =
|
|
5779
|
+
} = useFormContext22();
|
|
5279
5780
|
const onDownload = () => {
|
|
5280
5781
|
const element = document.createElement("a");
|
|
5281
5782
|
const file = new Blob([codes.join("\n")], {
|
|
@@ -5361,7 +5862,7 @@ function DefaultSettingsRecoveryCodes({
|
|
|
5361
5862
|
import { useComponents as useComponents8 } from "@ory/elements-react";
|
|
5362
5863
|
|
|
5363
5864
|
// src/theme/default/assets/icons/qrcode.svg
|
|
5364
|
-
import * as
|
|
5865
|
+
import * as React33 from "react";
|
|
5365
5866
|
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
5366
5867
|
var SvgQrcode = (props) => {
|
|
5367
5868
|
var _a, _b;
|
|
@@ -5370,7 +5871,7 @@ var SvgQrcode = (props) => {
|
|
|
5370
5871
|
var qrcode_default = SvgQrcode;
|
|
5371
5872
|
|
|
5372
5873
|
// src/theme/default/components/settings/settings-totp.tsx
|
|
5373
|
-
import { useFormContext as
|
|
5874
|
+
import { useFormContext as useFormContext23 } from "react-hook-form";
|
|
5374
5875
|
import { jsx as jsx95, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
5375
5876
|
function DefaultSettingsTotp({
|
|
5376
5877
|
totpImage,
|
|
@@ -5382,7 +5883,7 @@ function DefaultSettingsTotp({
|
|
|
5382
5883
|
const { Node: Node2, Card } = useComponents8();
|
|
5383
5884
|
const {
|
|
5384
5885
|
formState: { isSubmitting }
|
|
5385
|
-
} =
|
|
5886
|
+
} = useFormContext23();
|
|
5386
5887
|
if (totpUnlink) {
|
|
5387
5888
|
const {
|
|
5388
5889
|
type,
|
|
@@ -5469,7 +5970,7 @@ function DefaultSettingsTotp({
|
|
|
5469
5970
|
import { useComponents as useComponents9 } from "@ory/elements-react";
|
|
5470
5971
|
|
|
5471
5972
|
// src/theme/default/assets/icons/key.svg
|
|
5472
|
-
import * as
|
|
5973
|
+
import * as React34 from "react";
|
|
5473
5974
|
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
5474
5975
|
var SvgKey = (props) => {
|
|
5475
5976
|
var _a, _b;
|
|
@@ -5478,7 +5979,7 @@ var SvgKey = (props) => {
|
|
|
5478
5979
|
var key_default = SvgKey;
|
|
5479
5980
|
|
|
5480
5981
|
// src/theme/default/components/settings/settings-webauthn.tsx
|
|
5481
|
-
import { useFormContext as
|
|
5982
|
+
import { useFormContext as useFormContext24 } from "react-hook-form";
|
|
5482
5983
|
import { jsx as jsx97, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
5483
5984
|
function DefaultSettingsWebauthn({
|
|
5484
5985
|
nameInput,
|
|
@@ -5487,7 +5988,7 @@ function DefaultSettingsWebauthn({
|
|
|
5487
5988
|
}) {
|
|
5488
5989
|
const {
|
|
5489
5990
|
formState: { isSubmitting }
|
|
5490
|
-
} =
|
|
5991
|
+
} = useFormContext24();
|
|
5491
5992
|
const { Node: Node2, Card } = useComponents9();
|
|
5492
5993
|
const hasRemoveButtons = removeButtons.length > 0;
|
|
5493
5994
|
return /* @__PURE__ */ jsxs46("div", { className: "flex flex-col gap-8", children: [
|
|
@@ -5583,14 +6084,14 @@ function DefaultAuthMethodListContainer({
|
|
|
5583
6084
|
// src/theme/default/components/form/captcha.tsx
|
|
5584
6085
|
import { isUiNodeInputAttributes as isUiNodeInputAttributes9 } from "@ory/client-fetch";
|
|
5585
6086
|
import { Turnstile } from "@marsidev/react-turnstile";
|
|
5586
|
-
import { useEffect as
|
|
5587
|
-
import { useFormContext as
|
|
6087
|
+
import { useEffect as useEffect9, useRef as useRef4 } from "react";
|
|
6088
|
+
import { useFormContext as useFormContext25 } from "react-hook-form";
|
|
5588
6089
|
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
5589
6090
|
var DefaultCaptcha = ({ node }) => {
|
|
5590
|
-
const { setValue, formState } =
|
|
6091
|
+
const { setValue, formState } = useFormContext25();
|
|
5591
6092
|
const ref = useRef4();
|
|
5592
6093
|
const prevSubmitCount = useRef4(formState.submitCount);
|
|
5593
|
-
|
|
6094
|
+
useEffect9(() => {
|
|
5594
6095
|
if (formState.submitCount > prevSubmitCount.current && formState.isSubmitSuccessful) {
|
|
5595
6096
|
prevSubmitCount.current = formState.submitCount;
|
|
5596
6097
|
setTimeout(() => {
|
|
@@ -5633,25 +6134,25 @@ var DefaultCaptcha = ({ node }) => {
|
|
|
5633
6134
|
};
|
|
5634
6135
|
|
|
5635
6136
|
// src/theme/default/assets/icons/personal.svg
|
|
5636
|
-
import * as
|
|
6137
|
+
import * as React35 from "react";
|
|
5637
6138
|
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
5638
6139
|
var SvgPersonal = (props) => {
|
|
5639
6140
|
var _a, _b;
|
|
5640
|
-
return /* @__PURE__ */ jsx100("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx100("path", { stroke: "
|
|
6141
|
+
return /* @__PURE__ */ jsx100("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 16 16", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx100("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M4 14v-1.333A2.667 2.667 0 0 1 6.667 10h1m5.8 3.467 1.2 1.2m-9.334-10a2.667 2.667 0 1 0 5.334 0 2.667 2.667 0 0 0-5.334 0M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0" }) });
|
|
5641
6142
|
};
|
|
5642
6143
|
var personal_default = SvgPersonal;
|
|
5643
6144
|
|
|
5644
6145
|
// src/theme/default/assets/icons/message.svg
|
|
5645
|
-
import * as
|
|
6146
|
+
import * as React36 from "react";
|
|
5646
6147
|
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
5647
6148
|
var SvgMessage = (props) => {
|
|
5648
6149
|
var _a, _b;
|
|
5649
|
-
return /* @__PURE__ */ jsx101("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 25", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx101("path", { stroke: "
|
|
6150
|
+
return /* @__PURE__ */ jsx101("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 25", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ jsx101("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M3 7.325a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-18 0v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-10m-18 0 9 6 9-6" }) });
|
|
5650
6151
|
};
|
|
5651
6152
|
var message_default = SvgMessage;
|
|
5652
6153
|
|
|
5653
6154
|
// src/theme/default/assets/icons/phone.svg
|
|
5654
|
-
import * as
|
|
6155
|
+
import * as React37 from "react";
|
|
5655
6156
|
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
5656
6157
|
var SvgPhone = (props) => {
|
|
5657
6158
|
var _a, _b;
|
|
@@ -5707,9 +6208,50 @@ function DefaultConsentScopeCheckbox({
|
|
|
5707
6208
|
);
|
|
5708
6209
|
}
|
|
5709
6210
|
|
|
6211
|
+
// src/theme/default/components/generic/toast.tsx
|
|
6212
|
+
import {
|
|
6213
|
+
messageTestId as messageTestId5,
|
|
6214
|
+
uiTextToFormattedMessage as uiTextToFormattedMessage10
|
|
6215
|
+
} from "@ory/elements-react";
|
|
6216
|
+
import { useIntl as useIntl23 } from "react-intl";
|
|
6217
|
+
import { jsx as jsx104, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6218
|
+
function DefaultToast({
|
|
6219
|
+
message,
|
|
6220
|
+
// Id can be used to close the toast later, but we don't use it here
|
|
6221
|
+
id: _
|
|
6222
|
+
}) {
|
|
6223
|
+
const intl = useIntl23();
|
|
6224
|
+
const title = message.type === "error" ? intl.formatMessage({ id: "settings.messages.toast-title.error" }) : intl.formatMessage({ id: "settings.messages.toast-title.success" });
|
|
6225
|
+
const messageText = uiTextToFormattedMessage10(message, intl);
|
|
6226
|
+
return /* @__PURE__ */ jsxs47(
|
|
6227
|
+
"div",
|
|
6228
|
+
{
|
|
6229
|
+
className: "rounded-cards bg-interface-background-default-inverted border border-interface-border-default-primary p-5 flex-col",
|
|
6230
|
+
...messageTestId5(message),
|
|
6231
|
+
children: [
|
|
6232
|
+
/* @__PURE__ */ jsx104(
|
|
6233
|
+
"p",
|
|
6234
|
+
{
|
|
6235
|
+
className: cn("font-medium", {
|
|
6236
|
+
"text-interface-foreground-validation-success": message.type === "success",
|
|
6237
|
+
"text-interface-foreground-validation-danger": message.type === "error",
|
|
6238
|
+
"text-interface-foreground-validation-warning": (
|
|
6239
|
+
// Currently unused from Kratos, but kept for future use
|
|
6240
|
+
message.type === "warning"
|
|
6241
|
+
)
|
|
6242
|
+
}),
|
|
6243
|
+
children: title
|
|
6244
|
+
}
|
|
6245
|
+
),
|
|
6246
|
+
/* @__PURE__ */ jsx104("p", { className: "text-interface-foreground-default-inverted", children: messageText })
|
|
6247
|
+
]
|
|
6248
|
+
}
|
|
6249
|
+
);
|
|
6250
|
+
}
|
|
6251
|
+
|
|
5710
6252
|
// src/theme/default/components/default-components.tsx
|
|
5711
6253
|
function getOryComponents(overrides) {
|
|
5712
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la;
|
|
6254
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na;
|
|
5713
6255
|
return {
|
|
5714
6256
|
Card: {
|
|
5715
6257
|
Root: (_b = (_a = overrides == null ? void 0 : overrides.Card) == null ? void 0 : _a.Root) != null ? _b : DefaultCard,
|
|
@@ -5726,7 +6268,7 @@ function getOryComponents(overrides) {
|
|
|
5726
6268
|
},
|
|
5727
6269
|
Node: {
|
|
5728
6270
|
Button: (_x = (_w = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _w.Button) != null ? _x : DefaultButton,
|
|
5729
|
-
|
|
6271
|
+
SsoButton: (_z = (_y = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _y.SsoButton) != null ? _z : DefaultButtonSocial,
|
|
5730
6272
|
Input: (_B = (_A = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _A.Input) != null ? _B : DefaultInput,
|
|
5731
6273
|
CodeInput: (_D = (_C = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _C.CodeInput) != null ? _D : DefaultPinCodeInput,
|
|
5732
6274
|
Image: (_F = (_E = overrides == null ? void 0 : overrides.Node) == null ? void 0 : _E.Image) != null ? _F : DefaultImage,
|
|
@@ -5740,19 +6282,20 @@ function getOryComponents(overrides) {
|
|
|
5740
6282
|
Form: {
|
|
5741
6283
|
Root: (_T = (_S = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _S.Root) != null ? _T : DefaultFormContainer,
|
|
5742
6284
|
Group: (_V = (_U = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _U.Group) != null ? _V : DefaultGroupContainer,
|
|
5743
|
-
|
|
6285
|
+
SsoRoot: (_X = (_W = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _W.SsoRoot) != null ? _X : DefaultSocialButtonContainer,
|
|
5744
6286
|
RecoveryCodesSettings: (_Z = (_Y = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _Y.RecoveryCodesSettings) != null ? _Z : DefaultSettingsRecoveryCodes,
|
|
5745
6287
|
TotpSettings: (_$ = (__ = overrides == null ? void 0 : overrides.Form) == null ? void 0 : __.TotpSettings) != null ? _$ : DefaultSettingsTotp,
|
|
5746
|
-
|
|
6288
|
+
SsoSettings: (_ba = (_aa = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _aa.SsoSettings) != null ? _ba : DefaultSettingsOidc,
|
|
5747
6289
|
WebauthnSettings: (_da = (_ca = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _ca.WebauthnSettings) != null ? _da : DefaultSettingsWebauthn,
|
|
5748
6290
|
PasskeySettings: (_fa = (_ea = overrides == null ? void 0 : overrides.Form) == null ? void 0 : _ea.PasskeySettings) != null ? _fa : DefaultSettingsPasskey
|
|
5749
6291
|
},
|
|
5750
6292
|
Message: {
|
|
5751
6293
|
Root: (_ha = (_ga = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ga.Root) != null ? _ha : DefaultMessageContainer,
|
|
5752
|
-
Content: (_ja = (_ia = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ia.Content) != null ? _ja : DefaultMessage
|
|
6294
|
+
Content: (_ja = (_ia = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ia.Content) != null ? _ja : DefaultMessage,
|
|
6295
|
+
Toast: (_la = (_ka = overrides == null ? void 0 : overrides.Message) == null ? void 0 : _ka.Toast) != null ? _la : DefaultToast
|
|
5753
6296
|
},
|
|
5754
6297
|
Page: {
|
|
5755
|
-
Header: (
|
|
6298
|
+
Header: (_na = (_ma = overrides == null ? void 0 : overrides.Page) == null ? void 0 : _ma.Header) != null ? _na : DefaultPageHeader
|
|
5756
6299
|
}
|
|
5757
6300
|
};
|
|
5758
6301
|
}
|
|
@@ -5766,9 +6309,9 @@ import {
|
|
|
5766
6309
|
OryConfigurationProvider as OryConfigurationProvider2,
|
|
5767
6310
|
useOryConfiguration as useOryConfiguration8
|
|
5768
6311
|
} from "@ory/elements-react";
|
|
5769
|
-
import { useMemo as
|
|
6312
|
+
import { useMemo as useMemo3 } from "react";
|
|
5770
6313
|
import { FormattedMessage } from "react-intl";
|
|
5771
|
-
import { jsx as
|
|
6314
|
+
import { jsx as jsx105, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
5772
6315
|
function isOAuth2Error(error) {
|
|
5773
6316
|
return !!error && typeof error === "object" && "error" in error && "error_description" in error;
|
|
5774
6317
|
}
|
|
@@ -5777,7 +6320,7 @@ var errorDescriptions = {
|
|
|
5777
6320
|
5: "The server encountered an error and could not complete your request"
|
|
5778
6321
|
};
|
|
5779
6322
|
function useStandardize(error) {
|
|
5780
|
-
return
|
|
6323
|
+
return useMemo3(() => {
|
|
5781
6324
|
var _a;
|
|
5782
6325
|
if (isOAuth2Error(error)) {
|
|
5783
6326
|
return {
|
|
@@ -5821,47 +6364,47 @@ function Error2({
|
|
|
5821
6364
|
const Divider = (_d = (_c = Components == null ? void 0 : Components.Card) == null ? void 0 : _c.Divider) != null ? _d : DefaultHorizontalDivider;
|
|
5822
6365
|
const parsed = useStandardize(error);
|
|
5823
6366
|
const description = errorDescriptions[Math.floor(parsed.code / 100)];
|
|
5824
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsx105(OryConfigurationProvider2, { sdk: config.sdk, project: config.project, children: /* @__PURE__ */ jsx105(
|
|
5825
6368
|
IntlProvider,
|
|
5826
6369
|
{
|
|
5827
6370
|
locale: (_f = (_e = config.intl) == null ? void 0 : _e.locale) != null ? _f : "en",
|
|
5828
6371
|
customTranslations: (_g = config.intl) == null ? void 0 : _g.customTranslations,
|
|
5829
|
-
children: /* @__PURE__ */
|
|
6372
|
+
children: /* @__PURE__ */ jsx105(Card, { children: /* @__PURE__ */ jsxs48(
|
|
5830
6373
|
"div",
|
|
5831
6374
|
{
|
|
5832
6375
|
className: "flex flex-col gap-6 antialiased",
|
|
5833
6376
|
"data-testid": "ory/screen/error",
|
|
5834
6377
|
children: [
|
|
5835
|
-
/* @__PURE__ */
|
|
5836
|
-
/* @__PURE__ */
|
|
5837
|
-
/* @__PURE__ */
|
|
5838
|
-
/* @__PURE__ */
|
|
5839
|
-
/* @__PURE__ */
|
|
5840
|
-
parsed.reason && /* @__PURE__ */
|
|
6378
|
+
/* @__PURE__ */ jsxs48("header", { className: "flex flex-col gap-8 antialiased", children: [
|
|
6379
|
+
/* @__PURE__ */ jsx105("div", { className: "max-h-9 self-start", children: /* @__PURE__ */ jsx105(ErrorLogo, {}) }),
|
|
6380
|
+
/* @__PURE__ */ jsxs48("div", { className: "flex flex-col gap-2", children: [
|
|
6381
|
+
/* @__PURE__ */ jsx105("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.title.what-happened" }) }),
|
|
6382
|
+
/* @__PURE__ */ jsx105("p", { className: "leading-normal text-interface-foreground-default-secondary", children: (_h = parsed.message) != null ? _h : description }),
|
|
6383
|
+
parsed.reason && /* @__PURE__ */ jsx105("p", { className: "leading-normal text-interface-foreground-default-secondary", children: parsed.reason })
|
|
5841
6384
|
] })
|
|
5842
6385
|
] }),
|
|
5843
|
-
/* @__PURE__ */
|
|
5844
|
-
/* @__PURE__ */
|
|
5845
|
-
/* @__PURE__ */
|
|
5846
|
-
/* @__PURE__ */
|
|
5847
|
-
/* @__PURE__ */
|
|
6386
|
+
/* @__PURE__ */ jsx105(Divider, {}),
|
|
6387
|
+
/* @__PURE__ */ jsxs48("div", { className: "flex flex-col gap-2", children: [
|
|
6388
|
+
/* @__PURE__ */ jsx105("h2", { className: "text-lg font-semibold leading-normal text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.title.what-can-i-do" }) }),
|
|
6389
|
+
/* @__PURE__ */ jsx105("p", { className: "leading-normal text-interface-foreground-default-secondary", children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.instructions" }) }),
|
|
6390
|
+
/* @__PURE__ */ jsx105("div", { children: session ? /* @__PURE__ */ jsx105(LoggedInActions, {}) : /* @__PURE__ */ jsx105(GoBackButton, {}) })
|
|
5848
6391
|
] }),
|
|
5849
|
-
/* @__PURE__ */
|
|
5850
|
-
/* @__PURE__ */
|
|
5851
|
-
/* @__PURE__ */
|
|
5852
|
-
parsed.id && /* @__PURE__ */
|
|
6392
|
+
/* @__PURE__ */ jsx105(Divider, {}),
|
|
6393
|
+
/* @__PURE__ */ jsxs48("div", { className: "font-normal leading-normal antialiased gap-2 flex flex-col", children: [
|
|
6394
|
+
/* @__PURE__ */ jsx105("span", { className: "text-interface-foreground-default-primary text-sm", children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.footer.text" }) }),
|
|
6395
|
+
parsed.id && /* @__PURE__ */ jsxs48("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
|
|
5853
6396
|
"ID: ",
|
|
5854
|
-
/* @__PURE__ */
|
|
6397
|
+
/* @__PURE__ */ jsx105("code", { children: parsed.id })
|
|
5855
6398
|
] }),
|
|
5856
|
-
/* @__PURE__ */
|
|
6399
|
+
/* @__PURE__ */ jsxs48("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
|
|
5857
6400
|
"Time: ",
|
|
5858
|
-
/* @__PURE__ */
|
|
6401
|
+
/* @__PURE__ */ jsx105("code", { children: (_i = parsed.timestamp) == null ? void 0 : _i.toUTCString() })
|
|
5859
6402
|
] }),
|
|
5860
|
-
/* @__PURE__ */
|
|
6403
|
+
/* @__PURE__ */ jsxs48("p", { className: "text-interface-foreground-default-secondary text-sm", children: [
|
|
5861
6404
|
"Message: ",
|
|
5862
|
-
/* @__PURE__ */
|
|
6405
|
+
/* @__PURE__ */ jsx105("code", { children: parsed.reason })
|
|
5863
6406
|
] }),
|
|
5864
|
-
/* @__PURE__ */
|
|
6407
|
+
/* @__PURE__ */ jsx105("div", { children: /* @__PURE__ */ jsx105(
|
|
5865
6408
|
"button",
|
|
5866
6409
|
{
|
|
5867
6410
|
className: "text-interface-foreground-default-primary underline",
|
|
@@ -5873,7 +6416,7 @@ ${parsed.reason ? `Message: ${parsed.reason}` : ""}
|
|
|
5873
6416
|
`;
|
|
5874
6417
|
void navigator.clipboard.writeText(text);
|
|
5875
6418
|
},
|
|
5876
|
-
children: /* @__PURE__ */
|
|
6419
|
+
children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.footer.copy" })
|
|
5877
6420
|
}
|
|
5878
6421
|
) })
|
|
5879
6422
|
] })
|
|
@@ -5886,24 +6429,24 @@ ${parsed.reason ? `Message: ${parsed.reason}` : ""}
|
|
|
5886
6429
|
function LoggedInActions() {
|
|
5887
6430
|
const config = useOryConfiguration8();
|
|
5888
6431
|
const { logoutFlow } = useClientLogout(config);
|
|
5889
|
-
return /* @__PURE__ */
|
|
6432
|
+
return /* @__PURE__ */ jsx105(
|
|
5890
6433
|
"a",
|
|
5891
6434
|
{
|
|
5892
6435
|
href: logoutFlow == null ? void 0 : logoutFlow.logout_url,
|
|
5893
6436
|
className: "text-interface-foreground-default-primary underline",
|
|
5894
|
-
children: /* @__PURE__ */
|
|
6437
|
+
children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "login.logout-button" })
|
|
5895
6438
|
}
|
|
5896
6439
|
);
|
|
5897
6440
|
}
|
|
5898
6441
|
function GoBackButton() {
|
|
5899
6442
|
const config = useOryConfiguration8();
|
|
5900
6443
|
if ("default_redirect_url" in config.project) {
|
|
5901
|
-
return /* @__PURE__ */
|
|
6444
|
+
return /* @__PURE__ */ jsx105(
|
|
5902
6445
|
"a",
|
|
5903
6446
|
{
|
|
5904
6447
|
className: "text-interface-foreground-default-primary underline",
|
|
5905
6448
|
href: config.project.default_redirect_url,
|
|
5906
|
-
children: /* @__PURE__ */
|
|
6449
|
+
children: /* @__PURE__ */ jsx105(FormattedMessage, { id: "error.action.go-back" })
|
|
5907
6450
|
}
|
|
5908
6451
|
);
|
|
5909
6452
|
}
|
|
@@ -5912,18 +6455,18 @@ function GoBackButton() {
|
|
|
5912
6455
|
function ErrorLogo() {
|
|
5913
6456
|
const { project } = useOryConfiguration8();
|
|
5914
6457
|
if (project.logo_light_url) {
|
|
5915
|
-
return /* @__PURE__ */
|
|
6458
|
+
return /* @__PURE__ */ jsx105("img", { src: project.logo_light_url, className: "h-full", alt: "Logo" });
|
|
5916
6459
|
}
|
|
5917
|
-
return /* @__PURE__ */
|
|
6460
|
+
return /* @__PURE__ */ jsx105("h1", { className: "text-xl font-semibold leading-normal text-interface-foreground-default-primary", children: project.name });
|
|
5918
6461
|
}
|
|
5919
6462
|
|
|
5920
6463
|
// src/theme/default/flows/login.tsx
|
|
5921
|
-
import { FlowType as
|
|
6464
|
+
import { FlowType as FlowType19 } from "@ory/client-fetch";
|
|
5922
6465
|
import {
|
|
5923
6466
|
OryProvider,
|
|
5924
|
-
|
|
6467
|
+
OrySelfServiceFlowCard as OrySelfServiceFlowCard2
|
|
5925
6468
|
} from "@ory/elements-react";
|
|
5926
|
-
import { jsx as
|
|
6469
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
5927
6470
|
function Login({
|
|
5928
6471
|
flow,
|
|
5929
6472
|
config,
|
|
@@ -5931,25 +6474,25 @@ function Login({
|
|
|
5931
6474
|
components: flowOverrideComponents
|
|
5932
6475
|
}) {
|
|
5933
6476
|
const components = getOryComponents(flowOverrideComponents);
|
|
5934
|
-
return /* @__PURE__ */
|
|
6477
|
+
return /* @__PURE__ */ jsx106(
|
|
5935
6478
|
OryProvider,
|
|
5936
6479
|
{
|
|
5937
6480
|
config,
|
|
5938
6481
|
flow,
|
|
5939
|
-
flowType:
|
|
6482
|
+
flowType: FlowType19.Login,
|
|
5940
6483
|
components,
|
|
5941
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6484
|
+
children: children != null ? children : /* @__PURE__ */ jsx106(OrySelfServiceFlowCard2, {})
|
|
5942
6485
|
}
|
|
5943
6486
|
);
|
|
5944
6487
|
}
|
|
5945
6488
|
|
|
5946
6489
|
// src/theme/default/flows/recovery.tsx
|
|
5947
|
-
import { FlowType as
|
|
6490
|
+
import { FlowType as FlowType20 } from "@ory/client-fetch";
|
|
5948
6491
|
import {
|
|
5949
6492
|
OryProvider as OryProvider2,
|
|
5950
|
-
|
|
6493
|
+
OrySelfServiceFlowCard as OrySelfServiceFlowCard3
|
|
5951
6494
|
} from "@ory/elements-react";
|
|
5952
|
-
import { jsx as
|
|
6495
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
5953
6496
|
function Recovery({
|
|
5954
6497
|
flow,
|
|
5955
6498
|
config,
|
|
@@ -5957,25 +6500,25 @@ function Recovery({
|
|
|
5957
6500
|
components: flowOverrideComponents
|
|
5958
6501
|
}) {
|
|
5959
6502
|
const components = getOryComponents(flowOverrideComponents);
|
|
5960
|
-
return /* @__PURE__ */
|
|
6503
|
+
return /* @__PURE__ */ jsx107(
|
|
5961
6504
|
OryProvider2,
|
|
5962
6505
|
{
|
|
5963
6506
|
config,
|
|
5964
6507
|
flow,
|
|
5965
|
-
flowType:
|
|
6508
|
+
flowType: FlowType20.Recovery,
|
|
5966
6509
|
components,
|
|
5967
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6510
|
+
children: children != null ? children : /* @__PURE__ */ jsx107(OrySelfServiceFlowCard3, {})
|
|
5968
6511
|
}
|
|
5969
6512
|
);
|
|
5970
6513
|
}
|
|
5971
6514
|
|
|
5972
6515
|
// src/theme/default/flows/registration.tsx
|
|
5973
|
-
import { FlowType as
|
|
6516
|
+
import { FlowType as FlowType21 } from "@ory/client-fetch";
|
|
5974
6517
|
import {
|
|
5975
6518
|
OryProvider as OryProvider3,
|
|
5976
|
-
|
|
6519
|
+
OrySelfServiceFlowCard as OrySelfServiceFlowCard4
|
|
5977
6520
|
} from "@ory/elements-react";
|
|
5978
|
-
import { jsx as
|
|
6521
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
5979
6522
|
function Registration({
|
|
5980
6523
|
flow,
|
|
5981
6524
|
children,
|
|
@@ -5983,26 +6526,26 @@ function Registration({
|
|
|
5983
6526
|
config
|
|
5984
6527
|
}) {
|
|
5985
6528
|
const components = getOryComponents(flowOverrideComponents);
|
|
5986
|
-
return /* @__PURE__ */
|
|
6529
|
+
return /* @__PURE__ */ jsx108(
|
|
5987
6530
|
OryProvider3,
|
|
5988
6531
|
{
|
|
5989
6532
|
config,
|
|
5990
6533
|
flow,
|
|
5991
|
-
flowType:
|
|
6534
|
+
flowType: FlowType21.Registration,
|
|
5992
6535
|
components,
|
|
5993
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6536
|
+
children: children != null ? children : /* @__PURE__ */ jsx108(OrySelfServiceFlowCard4, {})
|
|
5994
6537
|
}
|
|
5995
6538
|
);
|
|
5996
6539
|
}
|
|
5997
6540
|
|
|
5998
6541
|
// src/theme/default/flows/settings.tsx
|
|
5999
|
-
import { FlowType as
|
|
6542
|
+
import { FlowType as FlowType22 } from "@ory/client-fetch";
|
|
6000
6543
|
import {
|
|
6001
|
-
|
|
6544
|
+
OryPageHeader,
|
|
6002
6545
|
OryProvider as OryProvider4,
|
|
6003
|
-
OrySettingsCard
|
|
6546
|
+
OrySettingsCard as OrySettingsCard2
|
|
6004
6547
|
} from "@ory/elements-react";
|
|
6005
|
-
import { Fragment as Fragment13, jsx as
|
|
6548
|
+
import { Fragment as Fragment13, jsx as jsx109, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
6006
6549
|
function Settings({
|
|
6007
6550
|
flow,
|
|
6008
6551
|
config,
|
|
@@ -6010,28 +6553,28 @@ function Settings({
|
|
|
6010
6553
|
components: flowOverrideComponents
|
|
6011
6554
|
}) {
|
|
6012
6555
|
const components = getOryComponents(flowOverrideComponents);
|
|
6013
|
-
return /* @__PURE__ */
|
|
6556
|
+
return /* @__PURE__ */ jsx109(
|
|
6014
6557
|
OryProvider4,
|
|
6015
6558
|
{
|
|
6016
6559
|
config,
|
|
6017
6560
|
flow,
|
|
6018
|
-
flowType:
|
|
6561
|
+
flowType: FlowType22.Settings,
|
|
6019
6562
|
components,
|
|
6020
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6021
|
-
/* @__PURE__ */
|
|
6022
|
-
/* @__PURE__ */
|
|
6563
|
+
children: children != null ? children : /* @__PURE__ */ jsxs49(Fragment13, { children: [
|
|
6564
|
+
/* @__PURE__ */ jsx109(OryPageHeader, {}),
|
|
6565
|
+
/* @__PURE__ */ jsx109(OrySettingsCard2, {})
|
|
6023
6566
|
] })
|
|
6024
6567
|
}
|
|
6025
6568
|
);
|
|
6026
6569
|
}
|
|
6027
6570
|
|
|
6028
6571
|
// src/theme/default/flows/verification.tsx
|
|
6029
|
-
import { FlowType as
|
|
6572
|
+
import { FlowType as FlowType23 } from "@ory/client-fetch";
|
|
6030
6573
|
import {
|
|
6031
6574
|
OryProvider as OryProvider5,
|
|
6032
|
-
|
|
6575
|
+
OrySelfServiceFlowCard as OrySelfServiceFlowCard5
|
|
6033
6576
|
} from "@ory/elements-react";
|
|
6034
|
-
import { jsx as
|
|
6577
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
6035
6578
|
function Verification({
|
|
6036
6579
|
flow,
|
|
6037
6580
|
config,
|
|
@@ -6039,20 +6582,20 @@ function Verification({
|
|
|
6039
6582
|
components: flowOverrideComponents
|
|
6040
6583
|
}) {
|
|
6041
6584
|
const components = getOryComponents(flowOverrideComponents);
|
|
6042
|
-
return /* @__PURE__ */
|
|
6585
|
+
return /* @__PURE__ */ jsx110(
|
|
6043
6586
|
OryProvider5,
|
|
6044
6587
|
{
|
|
6045
6588
|
config,
|
|
6046
6589
|
flow,
|
|
6047
|
-
flowType:
|
|
6590
|
+
flowType: FlowType23.Verification,
|
|
6048
6591
|
components,
|
|
6049
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6592
|
+
children: children != null ? children : /* @__PURE__ */ jsx110(OrySelfServiceFlowCard5, {})
|
|
6050
6593
|
}
|
|
6051
6594
|
);
|
|
6052
6595
|
}
|
|
6053
6596
|
|
|
6054
6597
|
// src/theme/default/flows/consent.tsx
|
|
6055
|
-
import { FlowType as
|
|
6598
|
+
import { FlowType as FlowType24 } from "@ory/client-fetch";
|
|
6056
6599
|
import {
|
|
6057
6600
|
OryConsentCard as OryConsentCard2,
|
|
6058
6601
|
OryProvider as OryProvider6
|
|
@@ -6199,7 +6742,7 @@ function challengeNode(challenge) {
|
|
|
6199
6742
|
}
|
|
6200
6743
|
|
|
6201
6744
|
// src/theme/default/flows/consent.tsx
|
|
6202
|
-
import { jsx as
|
|
6745
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
6203
6746
|
function Consent({
|
|
6204
6747
|
consentChallenge,
|
|
6205
6748
|
session,
|
|
@@ -6216,14 +6759,14 @@ function Consent({
|
|
|
6216
6759
|
formActionUrl,
|
|
6217
6760
|
session
|
|
6218
6761
|
);
|
|
6219
|
-
return /* @__PURE__ */
|
|
6762
|
+
return /* @__PURE__ */ jsx111(
|
|
6220
6763
|
OryProvider6,
|
|
6221
6764
|
{
|
|
6222
6765
|
config,
|
|
6223
6766
|
flow,
|
|
6224
|
-
flowType:
|
|
6767
|
+
flowType: FlowType24.OAuth2Consent,
|
|
6225
6768
|
components,
|
|
6226
|
-
children: children != null ? children : /* @__PURE__ */
|
|
6769
|
+
children: children != null ? children : /* @__PURE__ */ jsx111(OryConsentCard2, {})
|
|
6227
6770
|
}
|
|
6228
6771
|
);
|
|
6229
6772
|
}
|
|
@@ -6234,7 +6777,6 @@ export {
|
|
|
6234
6777
|
DefaultCardContent,
|
|
6235
6778
|
DefaultCardFooter,
|
|
6236
6779
|
DefaultCardHeader,
|
|
6237
|
-
DefaultCardLayout,
|
|
6238
6780
|
DefaultCardLogo,
|
|
6239
6781
|
DefaultCurrentIdentifierButton,
|
|
6240
6782
|
DefaultFormContainer,
|