@carlonicora/nextjs-jsonapi 1.29.6 → 1.30.0

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.
@@ -9869,7 +9869,7 @@ function CompanyConfigurationEditorInternal({ company }) {
9869
9869
  /* @__PURE__ */ jsx101(DialogTrigger, { children: /* @__PURE__ */ jsx101(Button, { size: "sm", variant: `ghost`, className: "cursor-pointer", children: /* @__PURE__ */ jsx101(Settings2Icon, { className: "h-3.5 w-3.5" }) }) }),
9870
9870
  /* @__PURE__ */ jsxs58(DialogContent, { className: `flex max-h-[70vh] max-w-4xl flex-col overflow-y-auto`, children: [
9871
9871
  /* @__PURE__ */ jsxs58(DialogHeader, { children: [
9872
- /* @__PURE__ */ jsx101(DialogTitle, { children: t(`entities.configuration`, { count: 2 }) }),
9872
+ /* @__PURE__ */ jsx101(DialogTitle, { children: t(`entities.configurations`, { count: 2 }) }),
9873
9873
  /* @__PURE__ */ jsx101(DialogDescription, { className: "text-destructive", children: t(`features.configuration.warning_description`) })
9874
9874
  ] }),
9875
9875
  /* @__PURE__ */ jsx101(Form, { ...form, children: /* @__PURE__ */ jsxs58("form", { onSubmit: form.handleSubmit(onSubmit), className: `flex w-full flex-col gap-y-4`, children: [
@@ -9963,7 +9963,7 @@ function CompanyDeleterInternal({ company }) {
9963
9963
  variant: "destructive",
9964
9964
  disabled: company.name !== companyName || isDeleting,
9965
9965
  children: isDeleting ? /* @__PURE__ */ jsxs59(Fragment10, { children: [
9966
- t(`ui.buttons.is_deleting`),
9966
+ t(`ui.buttons.deleting`),
9967
9967
  /* @__PURE__ */ jsx102(LoaderCircleIcon2, { className: "animate-spin-slow h-5 w-5" })
9968
9968
  ] }) : t(`ui.buttons.delete`)
9969
9969
  }
@@ -11001,7 +11001,7 @@ function ReactMarkdownContainer({
11001
11001
  initialLines = 4,
11002
11002
  size = "normal"
11003
11003
  }) {
11004
- const t = useTranslations40("generic.buttons");
11004
+ const t = useTranslations40("ui.buttons");
11005
11005
  const [isExpanded, setIsExpanded] = useState36(false);
11006
11006
  const [showExpandButton, setShowExpandButton] = useState36(false);
11007
11007
  const contentRef = useRef13(null);
@@ -11143,7 +11143,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
11143
11143
  import dynamic from "next/dynamic";
11144
11144
  import React15 from "react";
11145
11145
  import { jsx as jsx122 } from "react/jsx-runtime";
11146
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-4NQ5LSD6.mjs"), {
11146
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-CEJE3YHQ.mjs"), {
11147
11147
  ssr: false
11148
11148
  });
11149
11149
  var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -12482,7 +12482,7 @@ function Register() {
12482
12482
  /* @__PURE__ */ jsxs78(CardHeader, { children: [
12483
12483
  /* @__PURE__ */ jsxs78(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
12484
12484
  /* @__PURE__ */ jsx136(Image7, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
12485
- t(`auth.register`)
12485
+ t(`auth.buttons.register`)
12486
12486
  ] }),
12487
12487
  /* @__PURE__ */ jsx136(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx136(Fragment19, { children: " " }) : /* @__PURE__ */ jsx136(Fragment19, { children: t(`auth.register_description`) }) })
12488
12488
  ] }),
@@ -12869,7 +12869,7 @@ function ForgotPassword() {
12869
12869
  /* @__PURE__ */ jsxs82(CardHeader, { "data-testid": "page-forgot-password-container", children: [
12870
12870
  /* @__PURE__ */ jsxs82(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
12871
12871
  /* @__PURE__ */ jsx142(Image12, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
12872
- t("auth.forgot_password")
12872
+ t("auth.buttons.forgot_password")
12873
12873
  ] }),
12874
12874
  /* @__PURE__ */ jsx142(CardDescription, { className: "text-sm", children: showConfirmation ? /* @__PURE__ */ jsx142(Fragment23, { children: " " }) : /* @__PURE__ */ jsx142(Fragment23, { children: t(`auth.add_email_to_reset`) }) })
12875
12875
  ] }),
@@ -12947,7 +12947,7 @@ function Login() {
12947
12947
  /* @__PURE__ */ jsxs83(CardHeader, { "data-testid": "page-login-container", children: [
12948
12948
  /* @__PURE__ */ jsxs83(CardTitle, { className: "text-primary flex flex-col items-center pb-10 text-4xl", children: [
12949
12949
  /* @__PURE__ */ jsx143(Image13, { src: "/logo.webp", alt: "Logo", width: 100, height: 100, priority: true }),
12950
- t("auth.login")
12950
+ t("auth.buttons.login")
12951
12951
  ] }),
12952
12952
  /* @__PURE__ */ jsx143(CardDescription, { className: "text-sm", children: t(`auth.login_description`) })
12953
12953
  ] }),
@@ -12974,7 +12974,7 @@ function Login() {
12974
12974
  testId: "form-login-input-password"
12975
12975
  }
12976
12976
  ),
12977
- /* @__PURE__ */ jsx143(Button, { className: "mt-4 w-full", type: "submit", "data-testid": "form-login-button-submit", children: t(`auth.login`) })
12977
+ /* @__PURE__ */ jsx143(Button, { className: "mt-4 w-full", type: "submit", "data-testid": "form-login-button-submit", children: t(`auth.buttons.login`) })
12978
12978
  ] }) }),
12979
12979
  /* @__PURE__ */ jsxs83(CardFooter, { className: "flex w-full flex-col gap-y-4 mt-4", children: [
12980
12980
  isDiscordAuthEnabled() && /* @__PURE__ */ jsx143(Link, { href: `${getApiUrl()}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ jsx143(Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) }),
@@ -12985,7 +12985,7 @@ function Login() {
12985
12985
  href: "#",
12986
12986
  className: "flex w-full justify-start",
12987
12987
  onClick: () => setComponentType(5 /* Register */),
12988
- children: t(`auth.register`)
12988
+ children: t(`auth.buttons.register`)
12989
12989
  }
12990
12990
  ),
12991
12991
  /* @__PURE__ */ jsx143(
@@ -12995,7 +12995,7 @@ function Login() {
12995
12995
  className: "flex w-full justify-end",
12996
12996
  onClick: () => setComponentType(1 /* ForgotPassword */),
12997
12997
  "data-testid": "form-login-link-forgot-password",
12998
- children: t(`auth.forgot_password`)
12998
+ children: t(`auth.buttons.forgot_password`)
12999
12999
  }
13000
13000
  )
13001
13001
  ] })
@@ -15093,4 +15093,4 @@ export {
15093
15093
  useOAuthClients,
15094
15094
  useOAuthClient
15095
15095
  };
15096
- //# sourceMappingURL=chunk-ZQEFAWFP.mjs.map
15096
+ //# sourceMappingURL=chunk-XY6HEWHI.mjs.map