@hexclave/tanstack-start 1.0.13 → 1.0.14
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-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/passkey-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/password-section.js +2 -2
- package/dist/components-page/account-settings/payments/payments-panel.js +1 -1
- package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/esm/components/api-key-dialogs.d.ts +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/passkey-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +2 -2
- package/dist/esm/components-page/account-settings/payments/payments-panel.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +1 -1
- package/dist/generated/quetzal-translations.d.ts +2 -2
- package/dist/lib/hexclave-app/apps/implementations/common.js +1 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/components/api-key-dialogs.d.ts
|
|
5
5
|
declare const neverInMs: number;
|
|
6
6
|
declare const expiresInOptions: {
|
|
7
|
-
readonly [x: number]: "1 day" | "7 days" | "30 days" | "90 days" | "1 year"
|
|
7
|
+
readonly [x: number]: "Never" | "1 day" | "7 days" | "30 days" | "90 days" | "1 year";
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* Dialog for creating a new API key
|
|
@@ -9,8 +9,8 @@ let react_hook_form = require("react-hook-form");
|
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
11
11
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
12
|
-
let _hexclave_shared_dist_known_errors = require("@hexclave/shared/dist/known-errors");
|
|
13
12
|
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
13
|
+
let _hexclave_shared_dist_known_errors = require("@hexclave/shared/dist/known-errors");
|
|
14
14
|
|
|
15
15
|
//#region src/components-page/account-settings/email-and-auth/emails-section.tsx
|
|
16
16
|
function EmailsSection(props) {
|
|
@@ -7,12 +7,12 @@ let react = require("react");
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
9
9
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
10
|
+
let ___section_js = require("../section.js");
|
|
10
11
|
let _oslojs_otp = require("@oslojs/otp");
|
|
11
12
|
let _hexclave_shared_dist_hooks_use_async_callback = require("@hexclave/shared/dist/hooks/use-async-callback");
|
|
12
13
|
let _hexclave_shared_dist_utils_crypto = require("@hexclave/shared/dist/utils/crypto");
|
|
13
14
|
let qrcode = require("qrcode");
|
|
14
15
|
qrcode = require_chunk.__toESM(qrcode);
|
|
15
|
-
let ___section_js = require("../section.js");
|
|
16
16
|
|
|
17
17
|
//#region src/components-page/account-settings/email-and-auth/mfa-section.tsx
|
|
18
18
|
function MfaSection(props) {
|
|
@@ -5,8 +5,8 @@ let react = require("react");
|
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
7
7
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
8
|
-
let ___section_js = require("../section.js");
|
|
9
8
|
let _________index_js = require("../../../index.js");
|
|
9
|
+
let ___section_js = require("../section.js");
|
|
10
10
|
|
|
11
11
|
//#region src/components-page/account-settings/email-and-auth/passkey-section.tsx
|
|
12
12
|
function PasskeySection(props) {
|
|
@@ -12,9 +12,9 @@ let yup = require("yup");
|
|
|
12
12
|
yup = require_chunk.__toESM(yup);
|
|
13
13
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
14
14
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
15
|
-
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
16
|
-
let ___section_js = require("../section.js");
|
|
17
15
|
let _________index_js = require("../../../index.js");
|
|
16
|
+
let ___section_js = require("../section.js");
|
|
17
|
+
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
18
18
|
|
|
19
19
|
//#region src/components-page/account-settings/email-and-auth/password-section.tsx
|
|
20
20
|
function PasswordSection(props) {
|
|
@@ -9,11 +9,11 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
9
9
|
let _hexclave_shared = require("@hexclave/shared");
|
|
10
10
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
11
11
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
12
|
-
let ___section_js = require("../section.js");
|
|
13
12
|
let _________index_js = require("../../../index.js");
|
|
14
13
|
let _stripe_react_stripe_js = require("@stripe/react-stripe-js");
|
|
15
14
|
let _stripe_stripe_js = require("@stripe/stripe-js");
|
|
16
15
|
let _________generated_env_js = require("../../../generated/env.js");
|
|
16
|
+
let ___section_js = require("../section.js");
|
|
17
17
|
|
|
18
18
|
//#region src/components-page/account-settings/payments/payments-panel.tsx
|
|
19
19
|
function formatPaymentMethod(pm) {
|
|
@@ -10,8 +10,8 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
10
10
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
11
11
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
12
12
|
let ___page_layout_js = require("../page-layout.js");
|
|
13
|
-
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
14
13
|
let ___section_js = require("../section.js");
|
|
14
|
+
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
15
15
|
let _________components_message_cards_message_card_js = require("../../../components/message-cards/message-card.js");
|
|
16
16
|
|
|
17
17
|
//#region src/components-page/account-settings/teams/team-creation-page.tsx
|
|
@@ -10,8 +10,8 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
10
10
|
let lucide_react = require("lucide-react");
|
|
11
11
|
let _________lib_hooks_js = require("../../../lib/hooks.js");
|
|
12
12
|
let _________lib_translations_js = require("../../../lib/translations.js");
|
|
13
|
-
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
14
13
|
let ___section_js = require("../section.js");
|
|
14
|
+
let _________components_elements_form_warning_js = require("../../../components/elements/form-warning.js");
|
|
15
15
|
|
|
16
16
|
//#region src/components-page/account-settings/teams/team-member-invitation-section.tsx
|
|
17
17
|
function TeamMemberInvitationSection(props) {
|
|
@@ -4,7 +4,7 @@ import { ApiKey, ApiKeyCreationOptions, ApiKeyType } from "../lib/hexclave-app/a
|
|
|
4
4
|
//#region src/components/api-key-dialogs.d.ts
|
|
5
5
|
declare const neverInMs: number;
|
|
6
6
|
declare const expiresInOptions: {
|
|
7
|
-
readonly [x: number]: "1 day" | "7 days" | "30 days" | "90 days" | "1 year"
|
|
7
|
+
readonly [x: number]: "Never" | "1 day" | "7 days" | "30 days" | "90 days" | "1 year";
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* Dialog for creating a new API key
|
|
@@ -7,8 +7,8 @@ import { useForm } from "react-hook-form";
|
|
|
7
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
|
-
import { KnownErrors } from "@hexclave/shared/dist/known-errors";
|
|
11
10
|
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
11
|
+
import { KnownErrors } from "@hexclave/shared/dist/known-errors";
|
|
12
12
|
|
|
13
13
|
//#region src/components-page/account-settings/email-and-auth/emails-section.tsx
|
|
14
14
|
function EmailsSection(props) {
|
|
@@ -5,11 +5,11 @@ import { useEffect, useState } from "react";
|
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useStackApp, useUser } from "../../../lib/hooks.js";
|
|
7
7
|
import { useTranslation } from "../../../lib/translations.js";
|
|
8
|
+
import { Section } from "../section.js";
|
|
8
9
|
import { createTOTPKeyURI, verifyTOTP } from "@oslojs/otp";
|
|
9
10
|
import { useAsyncCallback } from "@hexclave/shared/dist/hooks/use-async-callback";
|
|
10
11
|
import { generateRandomValues } from "@hexclave/shared/dist/utils/crypto";
|
|
11
12
|
import * as QRCode from "qrcode";
|
|
12
|
-
import { Section } from "../section.js";
|
|
13
13
|
|
|
14
14
|
//#region src/components-page/account-settings/email-and-auth/mfa-section.tsx
|
|
15
15
|
function MfaSection(props) {
|
|
@@ -3,8 +3,8 @@ import { useState } from "react";
|
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { useUser } from "../../../lib/hooks.js";
|
|
5
5
|
import { useTranslation } from "../../../lib/translations.js";
|
|
6
|
-
import { Section } from "../section.js";
|
|
7
6
|
import { useStackApp as useStackApp$1 } from "../../../index.js";
|
|
7
|
+
import { Section } from "../section.js";
|
|
8
8
|
|
|
9
9
|
//#region src/components-page/account-settings/email-and-auth/passkey-section.tsx
|
|
10
10
|
function PasskeySection(props) {
|
|
@@ -9,9 +9,9 @@ import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
|
|
|
9
9
|
import * as yup from "yup";
|
|
10
10
|
import { useUser } from "../../../lib/hooks.js";
|
|
11
11
|
import { useTranslation } from "../../../lib/translations.js";
|
|
12
|
-
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
13
|
-
import { Section } from "../section.js";
|
|
14
12
|
import { useStackApp as useStackApp$1 } from "../../../index.js";
|
|
13
|
+
import { Section } from "../section.js";
|
|
14
|
+
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
15
15
|
|
|
16
16
|
//#region src/components-page/account-settings/email-and-auth/password-section.tsx
|
|
17
17
|
function PasswordSection(props) {
|
|
@@ -7,11 +7,11 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
import { KnownErrors } from "@hexclave/shared";
|
|
8
8
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
9
9
|
import { useTranslation } from "../../../lib/translations.js";
|
|
10
|
-
import { Section } from "../section.js";
|
|
11
10
|
import { useStackApp } from "../../../index.js";
|
|
12
11
|
import { CardElement, Elements, useElements, useStripe } from "@stripe/react-stripe-js";
|
|
13
12
|
import { loadStripe } from "@stripe/stripe-js";
|
|
14
13
|
import { envVars } from "../../../generated/env.js";
|
|
14
|
+
import { Section } from "../section.js";
|
|
15
15
|
|
|
16
16
|
//#region src/components-page/account-settings/payments/payments-panel.tsx
|
|
17
17
|
function formatPaymentMethod(pm) {
|
|
@@ -8,8 +8,8 @@ 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";
|
|
11
|
-
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
12
11
|
import { Section } from "../section.js";
|
|
12
|
+
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
13
13
|
import { MessageCard } from "../../../components/message-cards/message-card.js";
|
|
14
14
|
|
|
15
15
|
//#region src/components-page/account-settings/teams/team-creation-page.tsx
|
|
@@ -8,8 +8,8 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
import { Trash } from "lucide-react";
|
|
9
9
|
import { useUser } from "../../../lib/hooks.js";
|
|
10
10
|
import { useTranslation } from "../../../lib/translations.js";
|
|
11
|
-
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
12
11
|
import { Section } from "../section.js";
|
|
12
|
+
import { FormWarningText } from "../../../components/elements/form-warning.js";
|
|
13
13
|
|
|
14
14
|
//#region src/components-page/account-settings/teams/team-member-invitation-section.tsx
|
|
15
15
|
function TeamMemberInvitationSection(props) {
|