@hexclave/tanstack-start 1.0.45 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/{admin-app-impl-Cd1wUpaM.d.ts → admin-app-impl-Wc8lgbhX.d.ts} +10 -9
  2. package/dist/{admin-app-impl-Cd1wUpaM.d.ts.map → admin-app-impl-Wc8lgbhX.d.ts.map} +1 -1
  3. package/dist/clickmap/clickmap-core.d.ts +1 -1
  4. package/dist/clickmap/index.d.ts +1 -1
  5. package/dist/{client-app-B2_F6I-2.d.ts → client-app-Cj_Ytvdo.d.ts} +2 -2
  6. package/dist/{client-app-B2_F6I-2.d.ts.map → client-app-Cj_Ytvdo.d.ts.map} +1 -1
  7. package/dist/components/api-key-dialogs.js +4 -4
  8. package/dist/components/credential-sign-in.js +3 -3
  9. package/dist/components/credential-sign-up.js +5 -5
  10. package/dist/components/elements/sidebar-layout.js +1 -1
  11. package/dist/components/elements/user-avatar.js +1 -1
  12. package/dist/components/magic-link-sign-in.js +5 -5
  13. package/dist/components/message-cards/predefined-message-card.js +1 -1
  14. package/dist/components/passkey-button.js +1 -1
  15. package/dist/components/profile-image-editor.js +1 -1
  16. package/dist/components/selected-team-switcher.d.ts +1 -1
  17. package/dist/components/team-icon.d.ts +1 -1
  18. package/dist/components/team-icon.js +1 -1
  19. package/dist/components/team-switcher.d.ts +1 -1
  20. package/dist/components/team-switcher.js +1 -1
  21. package/dist/components/user-button.js +1 -1
  22. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  23. package/dist/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  24. package/dist/components-page/account-settings/editable-text.js +1 -1
  25. package/dist/components-page/account-settings/email-and-auth/emails-section.js +3 -3
  26. package/dist/components-page/account-settings/email-and-auth/password-section.js +3 -3
  27. package/dist/components-page/account-settings/payments/payments-page.d.ts +1 -1
  28. package/dist/components-page/account-settings/teams/leave-team-section.d.ts +1 -1
  29. package/dist/components-page/account-settings/teams/team-api-keys-section.d.ts +1 -1
  30. package/dist/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  31. package/dist/components-page/account-settings/teams/team-creation-page.js +3 -3
  32. package/dist/components-page/account-settings/teams/team-display-name-section.d.ts +1 -1
  33. package/dist/components-page/account-settings/teams/team-member-invitation-section.d.ts +1 -1
  34. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
  35. package/dist/components-page/account-settings/teams/team-member-list-section.d.ts +1 -1
  36. package/dist/components-page/account-settings/teams/team-page.d.ts +1 -1
  37. package/dist/components-page/account-settings/teams/team-profile-image-section.d.ts +1 -1
  38. package/dist/components-page/account-settings/teams/team-profile-user-section.d.ts +1 -1
  39. package/dist/components-page/account-settings.js +3 -3
  40. package/dist/components-page/auth-page.js +1 -1
  41. package/dist/components-page/cli-auth-confirm.js +1 -1
  42. package/dist/components-page/forgot-password.js +5 -5
  43. package/dist/components-page/hexclave-handler-client.d.ts +1 -1
  44. package/dist/components-page/hexclave-handler-client.js +1 -1
  45. package/dist/components-page/hexclave-handler.d.ts +1 -1
  46. package/dist/components-page/mfa.js +3 -3
  47. package/dist/components-page/oauth-callback.js +1 -1
  48. package/dist/components-page/onboarding.js +4 -4
  49. package/dist/components-page/password-reset.js +8 -8
  50. package/dist/components-page/team-creation.js +5 -5
  51. package/dist/dev-tool/dev-tool-core.d.ts +1 -1
  52. package/dist/dev-tool/index.d.ts +1 -1
  53. package/dist/esm/components/api-key-dialogs.js +4 -4
  54. package/dist/esm/components/credential-sign-in.js +3 -3
  55. package/dist/esm/components/credential-sign-up.js +5 -5
  56. package/dist/esm/components/elements/sidebar-layout.js +1 -1
  57. package/dist/esm/components/elements/user-avatar.js +1 -1
  58. package/dist/esm/components/magic-link-sign-in.js +5 -5
  59. package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
  60. package/dist/esm/components/passkey-button.js +1 -1
  61. package/dist/esm/components/profile-image-editor.js +1 -1
  62. package/dist/esm/components/team-icon.js +1 -1
  63. package/dist/esm/components/team-switcher.js +1 -1
  64. package/dist/esm/components/user-button.js +1 -1
  65. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  66. package/dist/esm/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  67. package/dist/esm/components-page/account-settings/editable-text.js +1 -1
  68. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +3 -3
  69. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +3 -3
  70. package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  71. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +3 -3
  72. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
  73. package/dist/esm/components-page/account-settings.js +3 -3
  74. package/dist/esm/components-page/auth-page.js +1 -1
  75. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  76. package/dist/esm/components-page/forgot-password.js +5 -5
  77. package/dist/esm/components-page/hexclave-handler-client.js +1 -1
  78. package/dist/esm/components-page/mfa.js +3 -3
  79. package/dist/esm/components-page/oauth-callback.js +1 -1
  80. package/dist/esm/components-page/onboarding.js +4 -4
  81. package/dist/esm/components-page/password-reset.js +7 -7
  82. package/dist/esm/components-page/team-creation.js +5 -5
  83. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  84. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -5
  85. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  86. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +9 -1
  87. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  88. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +3 -3
  89. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
  90. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +2 -1
  91. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts.map +1 -1
  92. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +5 -0
  93. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  94. package/dist/esm/lib/hexclave-app/plan-usage/index.d.ts +1 -0
  95. package/dist/esm/lib/hexclave-app/plan-usage/index.d.ts.map +1 -1
  96. package/dist/esm/lib/hexclave-app/users/index.d.ts +1 -1
  97. package/dist/generated/quetzal-translations.d.ts +1 -1
  98. package/dist/{hexclave-provider-D_FKKA2y.d.ts → hexclave-provider-CMLYHba_.d.ts} +3 -3
  99. package/dist/{hexclave-provider-D_FKKA2y.d.ts.map → hexclave-provider-CMLYHba_.d.ts.map} +1 -1
  100. package/dist/{hooks-1HBybzyF.d.ts → hooks-BsrhxfR4.d.ts} +2 -2
  101. package/dist/{hooks-1HBybzyF.d.ts.map → hooks-BsrhxfR4.d.ts.map} +1 -1
  102. package/dist/{index-D7Vdg30O.d.ts → index-B594jg4e.d.ts} +2 -1
  103. package/dist/{index-D7Vdg30O.d.ts.map → index-B594jg4e.d.ts.map} +1 -1
  104. package/dist/{index-BOpaI5nd.d.ts → index-Dof7MJ5F.d.ts} +2 -2
  105. package/dist/{index-BOpaI5nd.d.ts.map → index-Dof7MJ5F.d.ts.map} +1 -1
  106. package/dist/index.d.ts +5 -5
  107. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  108. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +8 -0
  109. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  110. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  111. package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
  112. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
  113. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  114. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +5 -0
  115. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  116. package/dist/lib/hexclave-app/apps/index.d.ts +1 -1
  117. package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts +1 -1
  118. package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts +1 -1
  119. package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts +1 -1
  120. package/dist/lib/hexclave-app/index.d.ts +2 -2
  121. package/dist/lib/hexclave-app/plan-usage/index.d.ts +1 -1
  122. package/dist/lib/hexclave-app/projects/index.d.ts +1 -1
  123. package/dist/lib/hexclave-app/teams/index.d.ts +1 -1
  124. package/dist/lib/hexclave-app/users/index.d.ts +1 -1
  125. package/dist/lib/hooks.d.ts +1 -1
  126. package/dist/providers/hexclave-context.d.ts +1 -1
  127. package/dist/providers/hexclave-provider-client.d.ts +1 -1
  128. package/dist/providers/hexclave-provider.d.ts +1 -1
  129. package/dist/providers/translation-provider.d.ts +1 -1
  130. package/dist/pushed-config-error-overlay/index.d.ts +1 -1
  131. package/dist/{quetzal-translations-CwNB-iql.d.ts → quetzal-translations-XeH3zQ9l.d.ts} +3 -3
  132. package/dist/{quetzal-translations-CwNB-iql.d.ts.map → quetzal-translations-XeH3zQ9l.d.ts.map} +1 -1
  133. package/dist/{translation-provider-C0uPBd41.d.ts → translation-provider-WOaZXqAz.d.ts} +2 -2
  134. package/dist/{translation-provider-C0uPBd41.d.ts.map → translation-provider-WOaZXqAz.d.ts.map} +1 -1
  135. package/package.json +3 -3
  136. package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +17 -1
  137. package/src/lib/hexclave-app/apps/implementations/server-app-impl.ts +10 -0
  138. package/src/lib/hexclave-app/plan-usage/index.ts +1 -0
@@ -1,10 +1,10 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
- import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
3
- import { useEffect, useState } from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
+ import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
5
+ import { useEffect, useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
3
- import { useState } from "react";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
+ import { useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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";
@@ -2,10 +2,10 @@ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
2
2
  import { Button } from "@hexclave/ui";
3
3
  import { useState } from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { useStackApp, useUser } from "../../../lib/hooks.js";
6
- import { useTranslation } from "../../../lib/translations.js";
7
5
  import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
8
6
  import { ApiKeyTable } from "../../../components/api-key-table.js";
7
+ import { useStackApp, useUser } from "../../../lib/hooks.js";
8
+ import { useTranslation } from "../../../lib/translations.js";
9
9
  import { Section } from "../section.js";
10
10
  //#region src/components-page/account-settings/teams/team-api-keys-section.tsx
11
11
  function TeamApiKeysSection(props) {
@@ -1,10 +1,10 @@
1
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
- import { Button, Input } from "@hexclave/ui";
3
- import { useState } from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input } from "@hexclave/ui";
5
+ import { useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
3
- import { Trash } from "lucide-react";
4
- import { useEffect, useState } from "react";
5
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
2
  import { yupResolver } from "@hookform/resolvers/yup";
7
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
5
+ import { useEffect, useState } from "react";
8
6
  import { useForm } from "react-hook-form";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { Trash } from "lucide-react";
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,13 +1,14 @@
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";
5
4
  import { Suspense, useEffect, useMemo, useRef, useState } from "react";
6
5
  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";
7
9
  import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
8
10
  import { SidebarLayout } from "../components/elements/sidebar-layout.js";
9
11
  import { TeamIcon } from "../components/team-icon.js";
10
- import { useTranslation } from "../lib/translations.js";
11
12
  import { ActiveSessionsPage } from "./account-settings/active-sessions/active-sessions-page.js";
12
13
  import { ApiKeysPage } from "./account-settings/api-keys/api-keys-page.js";
13
14
  import { EmailsAndAuthPage } from "./account-settings/email-and-auth/email-and-auth-page.js";
@@ -17,7 +18,6 @@ import { PaymentsPage } from "./account-settings/payments/payments-page.js";
17
18
  import { SettingsPage } from "./account-settings/settings/settings-page.js";
18
19
  import { TeamCreationPage } from "./account-settings/teams/team-creation-page.js";
19
20
  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";
8
7
  import { useTranslation } from "../lib/translations.js";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
10
9
  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 { MessageCard } from "../components/message-cards/message-card.js";
9
8
  import { useStackApp } from "../lib/hooks.js";
9
+ import { MessageCard } from "../components/message-cards/message-card.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";
3
5
  import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { useStackApp, useUser } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
13
  import { StyledLink } from "../components/link.js";
10
14
  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";
6
7
  import { KnownError } from "@hexclave/shared";
7
8
  import { use } from "@hexclave/shared/dist/utils/react";
8
9
  import { KnownErrorMessageCard } from "../components/message-cards/known-error-message-card.js";
9
10
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
10
11
  import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
11
12
  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";
4
3
  import { useEffect, useMemo, useRef, useState } from "react";
5
4
  import { useStackApp } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
5
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
6
  import { useTranslation } from "../lib/translations.js";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { KnownErrors } from "@hexclave/shared";
10
- import { FormWarningText } from "../components/elements/form-warning.js";
9
+ import { CheckIcon } from "lucide-react";
10
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.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";
9
8
  import { useTranslation } from "../lib/translations.js";
10
9
  import { jsx, jsxs } from "react/jsx-runtime";
11
10
  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";
3
5
  import { Button, Input, Typography } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { useStackApp, useUser } from "../index.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
6
10
  import { useTranslation } from "../lib/translations.js";
7
11
  import { jsx, jsxs } from "react/jsx-runtime";
8
12
  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";
3
5
  import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { useStackApp } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
13
+ import * as yup from "yup";
9
14
  import { KnownErrors } from "@hexclave/shared";
15
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
10
16
  import { use } from "@hexclave/shared/dist/utils/react";
11
17
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
12
18
  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";
17
19
  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";
3
5
  import { Button, Input, Label, Typography } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { MessageCard, useStackApp, useUser } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
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";
12
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
13
13
  //#region src/components-page/team-creation.tsx
14
14
  function TeamCreation(props) {
15
15
  const { t } = useTranslation();