@hexclave/tanstack-start 1.0.62 → 1.0.64
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/components/api-key-dialogs.d.ts +1 -1
- package/dist/components/api-key-dialogs.js +4 -4
- package/dist/components/credential-sign-in.js +3 -3
- package/dist/components/credential-sign-up.js +5 -5
- package/dist/components/elements/sidebar-layout.js +2 -2
- package/dist/components/elements/user-avatar.js +1 -1
- package/dist/components/magic-link-sign-in.js +5 -5
- package/dist/components/message-cards/predefined-message-card.js +1 -1
- package/dist/components/passkey-button.js +1 -1
- package/dist/components/profile-image-editor.js +1 -1
- package/dist/components/team-icon.js +1 -1
- package/dist/components/team-switcher.js +1 -1
- package/dist/components/user-button.js +1 -1
- package/dist/components-page/account-settings/editable-text.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/emails-section.js +3 -3
- package/dist/components-page/account-settings/email-and-auth/password-section.js +3 -3
- package/dist/components-page/account-settings/teams/team-creation-page.js +3 -3
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
- package/dist/components-page/account-settings.js +3 -3
- package/dist/components-page/auth-page.js +1 -1
- package/dist/components-page/cli-auth-confirm.js +1 -1
- package/dist/components-page/forgot-password.js +5 -5
- package/dist/components-page/hexclave-handler-client.js +1 -1
- package/dist/components-page/mfa.js +3 -3
- package/dist/components-page/oauth-callback.js +1 -1
- package/dist/components-page/onboarding.js +4 -4
- package/dist/components-page/password-reset.js +8 -8
- package/dist/components-page/team-creation.js +5 -5
- package/dist/esm/components/api-key-dialogs.d.ts +1 -1
- package/dist/esm/components/api-key-dialogs.js +4 -4
- package/dist/esm/components/credential-sign-in.js +3 -3
- package/dist/esm/components/credential-sign-up.js +5 -5
- package/dist/esm/components/elements/sidebar-layout.js +2 -2
- package/dist/esm/components/elements/user-avatar.js +1 -1
- package/dist/esm/components/magic-link-sign-in.js +5 -5
- package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
- package/dist/esm/components/passkey-button.js +1 -1
- package/dist/esm/components/profile-image-editor.js +1 -1
- package/dist/esm/components/team-icon.js +1 -1
- package/dist/esm/components/team-switcher.js +1 -1
- package/dist/esm/components/user-button.js +1 -1
- package/dist/esm/components-page/account-settings/editable-text.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +3 -3
- package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +3 -3
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +3 -3
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
- package/dist/esm/components-page/account-settings.js +3 -3
- package/dist/esm/components-page/auth-page.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.js +1 -1
- package/dist/esm/components-page/forgot-password.js +5 -5
- package/dist/esm/components-page/hexclave-handler-client.js +1 -1
- package/dist/esm/components-page/mfa.js +3 -3
- package/dist/esm/components-page/oauth-callback.js +1 -1
- package/dist/esm/components-page/onboarding.js +4 -4
- package/dist/esm/components-page/password-reset.js +7 -7
- package/dist/esm/components-page/team-creation.js +5 -5
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/users/index.d.ts +1 -1
- package/dist/generated/quetzal-translations.d.ts +1 -1
- package/dist/{hexclave-provider-CN52q2zh.d.ts → hexclave-provider-Dxrf-i1f.d.ts} +2 -2
- package/dist/{hexclave-provider-CN52q2zh.d.ts.map → hexclave-provider-Dxrf-i1f.d.ts.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/providers/hexclave-provider.d.ts +1 -1
- package/dist/providers/translation-provider.d.ts +1 -1
- package/dist/{quetzal-translations-XeH3zQ9l.d.ts → quetzal-translations-CK45_4Dm.d.ts} +3 -3
- package/dist/{quetzal-translations-XeH3zQ9l.d.ts.map → quetzal-translations-CK45_4Dm.d.ts.map} +1 -1
- package/dist/{translation-provider-WOaZXqAz.d.ts → translation-provider-DQ3BJepJ.d.ts} +2 -2
- package/dist/{translation-provider-WOaZXqAz.d.ts.map → translation-provider-DQ3BJepJ.d.ts.map} +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Typography } from "@hexclave/ui";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useTranslation } from "../../lib/translations.js";
|
|
4
5
|
import { useStackApp } from "../../index.js";
|
|
5
6
|
import { MessageCard } from "./message-card.js";
|
|
6
|
-
import { useTranslation } from "../../lib/translations.js";
|
|
7
7
|
//#region src/components/message-cards/predefined-message-card.tsx
|
|
8
8
|
function PredefinedMessageCard({ type, fullPage = false }) {
|
|
9
9
|
const hexclaveApp = useStackApp();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Button } from "@hexclave/ui";
|
|
3
|
+
import { KeyRound } from "lucide-react";
|
|
3
4
|
import { useId } from "react";
|
|
4
5
|
import { useStackApp } from "../index.js";
|
|
5
6
|
import { useTranslation } from "../lib/translations.js";
|
|
6
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { KeyRound } from "lucide-react";
|
|
8
8
|
//#region src/components/passkey-button.tsx
|
|
9
9
|
function PasskeyButton({ type }) {
|
|
10
10
|
const { t } = useTranslation();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
2
|
import { Button, Slider, Typography } from "@hexclave/ui";
|
|
3
|
+
import { Upload } from "lucide-react";
|
|
3
4
|
import { useCallback, useState } from "react";
|
|
4
5
|
import { useTranslation } from "../lib/translations.js";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { Upload } from "lucide-react";
|
|
7
7
|
import { fileToBase64 } from "@hexclave/shared/dist/utils/base64";
|
|
8
8
|
import imageCompression from "browser-image-compression";
|
|
9
9
|
import Cropper from "react-easy-crop";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Avatar, AvatarImage, Typography } from "@hexclave/ui";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { User2 } from "lucide-react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/team-icon.tsx
|
|
5
5
|
function TeamIcon(props) {
|
|
6
6
|
if (props.team === "personal") return /* @__PURE__ */ jsx("div", {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
3
|
import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
|
|
4
4
|
import { Button, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Typography, cn } from "@hexclave/ui";
|
|
5
|
+
import { PlusCircle, Settings } from "lucide-react";
|
|
5
6
|
import { Suspense, useMemo } from "react";
|
|
6
7
|
import { useStackApp, useUser } from "../index.js";
|
|
7
8
|
import { useTranslation } from "../lib/translations.js";
|
|
8
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { PlusCircle, Settings } from "lucide-react";
|
|
10
10
|
import { TeamIcon } from "./team-icon.js";
|
|
11
11
|
//#region src/components/team-switcher.tsx
|
|
12
12
|
function TeamSwitcher(props) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
3
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Skeleton, Typography } from "@hexclave/ui";
|
|
4
|
+
import { CircleUser, LogIn, LogOut, SunMoon, UserPlus } from "lucide-react";
|
|
4
5
|
import { Suspense } from "react";
|
|
5
6
|
import { useStackApp, useUser } from "../index.js";
|
|
6
7
|
import { useTranslation } from "../lib/translations.js";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { CircleUser, LogIn, LogOut, SunMoon, UserPlus } from "lucide-react";
|
|
9
9
|
import { UserAvatar } from "./elements/user-avatar.js";
|
|
10
10
|
//#region src/components/user-button.tsx
|
|
11
11
|
function Item(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button, Input, Typography } from "@hexclave/ui";
|
|
2
|
+
import { Edit } from "lucide-react";
|
|
2
3
|
import { useState } from "react";
|
|
3
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Edit } from "lucide-react";
|
|
5
5
|
import { useTranslation } from "../../lib/translations.js";
|
|
6
6
|
//#region src/components-page/account-settings/editable-text.tsx
|
|
7
7
|
function EditableText(props) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
|
-
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
2
|
import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
|
|
5
3
|
import { useEffect, useState } from "react";
|
|
6
|
-
import { useForm } from "react-hook-form";
|
|
7
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
+
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
7
|
+
import { useForm } from "react-hook-form";
|
|
8
8
|
import { useUser } from "../../../lib/hooks.js";
|
|
9
9
|
import { useTranslation } from "../../../lib/translations.js";
|
|
10
10
|
import { KnownErrors } from "@hexclave/shared/dist/known-errors";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
|
-
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
2
|
import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
|
|
5
3
|
import { useState } from "react";
|
|
6
|
-
import { useForm } from "react-hook-form";
|
|
7
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
+
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
7
|
+
import { useForm } from "react-hook-form";
|
|
8
8
|
import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
|
|
9
9
|
import * as yup from "yup";
|
|
10
10
|
import { useUser } from "../../../lib/hooks.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
|
-
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
2
|
import { Button, Input } from "@hexclave/ui";
|
|
5
3
|
import { useState } from "react";
|
|
6
|
-
import { useForm } from "react-hook-form";
|
|
7
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
+
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
7
|
+
import { useForm } from "react-hook-form";
|
|
8
8
|
import { useStackApp, useUser } from "../../../lib/hooks.js";
|
|
9
9
|
import { useTranslation } from "../../../lib/translations.js";
|
|
10
10
|
import { PageLayout } from "../page-layout.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
|
-
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
2
|
import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
|
|
3
|
+
import { Trash } from "lucide-react";
|
|
5
4
|
import { useEffect, useState } from "react";
|
|
6
|
-
import { useForm } from "react-hook-form";
|
|
7
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import {
|
|
6
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
7
|
+
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
8
|
+
import { useForm } from "react-hook-form";
|
|
9
9
|
import { useUser } from "../../../lib/hooks.js";
|
|
10
10
|
import { useTranslation } from "../../../lib/translations.js";
|
|
11
11
|
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
3
|
import { Skeleton, Typography } from "@hexclave/ui";
|
|
4
|
+
import { Bell, CirclePlus, Contact, CreditCard, Key, Monitor, Settings, ShieldCheck } from "lucide-react";
|
|
4
5
|
import { Suspense, useEffect, useMemo, useRef, useState } from "react";
|
|
5
6
|
import { useStackApp, useUser } from "../index.js";
|
|
6
|
-
import { useTranslation } from "../lib/translations.js";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { Bell, CirclePlus, Contact, CreditCard, Key, Monitor, Settings, ShieldCheck } from "lucide-react";
|
|
9
7
|
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
8
|
import { SidebarLayout } from "../components/elements/sidebar-layout.js";
|
|
11
9
|
import { TeamIcon } from "../components/team-icon.js";
|
|
10
|
+
import { useTranslation } from "../lib/translations.js";
|
|
12
11
|
import { ActiveSessionsPage } from "./account-settings/active-sessions/active-sessions-page.js";
|
|
13
12
|
import { ApiKeysPage } from "./account-settings/api-keys/api-keys-page.js";
|
|
14
13
|
import { EmailsAndAuthPage } from "./account-settings/email-and-auth/email-and-auth-page.js";
|
|
@@ -18,6 +17,7 @@ import { PaymentsPage } from "./account-settings/payments/payments-page.js";
|
|
|
18
17
|
import { SettingsPage } from "./account-settings/settings/settings-page.js";
|
|
19
18
|
import { TeamCreationPage } from "./account-settings/teams/team-creation-page.js";
|
|
20
19
|
import { TeamPage } from "./account-settings/teams/team-page.js";
|
|
20
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
//#region src/components-page/account-settings.tsx
|
|
22
22
|
const iconMap = {
|
|
23
23
|
Contact,
|
|
@@ -4,10 +4,10 @@ import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
|
4
4
|
import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
|
|
5
5
|
import { Suspense, useMemo } from "react";
|
|
6
6
|
import { useStackApp, useUser } from "../index.js";
|
|
7
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
7
8
|
import { useTranslation } from "../lib/translations.js";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { KnownError } from "@hexclave/shared";
|
|
10
|
-
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
11
11
|
import { use } from "@hexclave/shared/dist/utils/react";
|
|
12
12
|
import { CredentialSignIn } from "../components/credential-sign-in.js";
|
|
13
13
|
import { CredentialSignUp } from "../components/credential-sign-up.js";
|
|
@@ -5,8 +5,8 @@ import { Typography } from "@hexclave/ui";
|
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
6
6
|
import { useTranslation } from "../lib/translations.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { useStackApp } from "../lib/hooks.js";
|
|
9
8
|
import { MessageCard } from "../components/message-cards/message-card.js";
|
|
9
|
+
import { useStackApp } from "../lib/hooks.js";
|
|
10
10
|
//#region src/components-page/cli-auth-confirm.tsx
|
|
11
11
|
async function postCliAuthComplete(app, body) {
|
|
12
12
|
return await app[hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
|
-
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
5
3
|
import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
|
|
6
4
|
import { useState } from "react";
|
|
7
|
-
import { useForm } from "react-hook-form";
|
|
8
5
|
import { useStackApp, useUser } from "../index.js";
|
|
9
|
-
import {
|
|
6
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
7
|
import { useTranslation } from "../lib/translations.js";
|
|
11
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
13
9
|
import { StyledLink } from "../components/link.js";
|
|
14
10
|
import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
|
|
11
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
12
|
+
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
13
|
+
import { useForm } from "react-hook-form";
|
|
14
|
+
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
15
15
|
//#region src/components-page/forgot-password.tsx
|
|
16
16
|
function ForgotPasswordForm({ onSent }) {
|
|
17
17
|
const { t } = useTranslation();
|
|
@@ -3,13 +3,13 @@ import { HexclaveAssertionError, captureError } from "@hexclave/shared/dist/util
|
|
|
3
3
|
import { Suspense, useEffect, useMemo, useRef, useSyncExternalStore } from "react";
|
|
4
4
|
import { SignIn, SignUp } from "../index.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { useStackApp as useStackApp$1 } from "../lib/hooks.js";
|
|
7
6
|
import { KnownError } from "@hexclave/shared";
|
|
8
7
|
import { use } from "@hexclave/shared/dist/utils/react";
|
|
9
8
|
import { KnownErrorMessageCard } from "../components/message-cards/known-error-message-card.js";
|
|
10
9
|
import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
|
|
11
10
|
import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
|
|
12
11
|
import { CliAuthConfirmation } from "./cli-auth-confirm.js";
|
|
12
|
+
import { useStackApp as useStackApp$1 } from "../lib/hooks.js";
|
|
13
13
|
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/index.js";
|
|
14
14
|
import { filterUndefined } from "@hexclave/shared/dist/utils/objects";
|
|
15
15
|
import { getRelativePart } from "@hexclave/shared/dist/utils/urls";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Button, InputOTP, InputOTPGroup, InputOTPSlot, Spinner, Typography, cn } from "@hexclave/ui";
|
|
3
|
+
import { CheckIcon } from "lucide-react";
|
|
3
4
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
4
5
|
import { useStackApp } from "../index.js";
|
|
5
|
-
import {
|
|
6
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
6
7
|
import { useTranslation } from "../lib/translations.js";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { KnownErrors } from "@hexclave/shared";
|
|
9
|
-
import {
|
|
10
|
-
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
|
+
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
11
11
|
//#region src/components-page/mfa.tsx
|
|
12
12
|
function MfaForm({ onSuccess, onCancel }) {
|
|
13
13
|
const hexclaveApp = useStackApp();
|
|
@@ -5,10 +5,10 @@ import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
|
5
5
|
import { Spinner, cn } from "@hexclave/ui";
|
|
6
6
|
import { useEffect, useRef, useState } from "react";
|
|
7
7
|
import { useStackApp } from "../index.js";
|
|
8
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
8
9
|
import { useTranslation } from "../lib/translations.js";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { KnownError } from "@hexclave/shared";
|
|
11
|
-
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
12
12
|
import { StyledLink } from "../components/link.js";
|
|
13
13
|
import { ErrorPage } from "./error-page.js";
|
|
14
14
|
//#region src/components-page/oauth-callback.tsx
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
|
-
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
5
3
|
import { Button, Input, Typography } from "@hexclave/ui";
|
|
6
4
|
import { useState } from "react";
|
|
7
|
-
import { useForm } from "react-hook-form";
|
|
8
5
|
import { useStackApp, useUser } from "../index.js";
|
|
9
|
-
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
10
6
|
import { useTranslation } from "../lib/translations.js";
|
|
11
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
8
|
import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
|
|
9
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
10
|
+
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
11
|
+
import { useForm } from "react-hook-form";
|
|
12
|
+
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
13
13
|
//#region src/components-page/onboarding.tsx
|
|
14
14
|
function Onboarding(props) {
|
|
15
15
|
const { t } = useTranslation();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
|
-
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
5
3
|
import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
|
|
6
4
|
import { useState } from "react";
|
|
7
|
-
import { useForm } from "react-hook-form";
|
|
8
5
|
import { useStackApp } from "../index.js";
|
|
9
|
-
import {
|
|
6
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
7
|
import { useTranslation } from "../lib/translations.js";
|
|
11
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
|
|
13
|
-
import * as yup from "yup";
|
|
14
9
|
import { KnownErrors } from "@hexclave/shared";
|
|
15
|
-
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
16
10
|
import { use } from "@hexclave/shared/dist/utils/react";
|
|
17
11
|
import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
|
|
18
12
|
import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
|
|
13
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
14
|
+
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
15
|
+
import { useForm } from "react-hook-form";
|
|
16
|
+
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
19
17
|
import { cacheFunction } from "@hexclave/shared/dist/utils/caches";
|
|
18
|
+
import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
|
|
19
|
+
import * as yup from "yup";
|
|
20
20
|
//#region src/components-page/password-reset.tsx
|
|
21
21
|
function PasswordResetForm(props) {
|
|
22
22
|
const { t } = useTranslation();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
|
-
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
5
3
|
import { Button, Input, Label, Typography } from "@hexclave/ui";
|
|
6
4
|
import { useState } from "react";
|
|
7
|
-
import { useForm } from "react-hook-form";
|
|
8
5
|
import { MessageCard, useStackApp, useUser } from "../index.js";
|
|
9
|
-
import {
|
|
6
|
+
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
7
|
import { useTranslation } from "../lib/translations.js";
|
|
11
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import {
|
|
9
|
+
import { yupResolver } from "@hookform/resolvers/yup";
|
|
10
|
+
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
11
|
+
import { useForm } from "react-hook-form";
|
|
12
|
+
import { FormWarningText } from "../components/elements/form-warning.js";
|
|
13
13
|
//#region src/components-page/team-creation.tsx
|
|
14
14
|
function TeamCreation(props) {
|
|
15
15
|
const { t } = useTranslation();
|