@carlonicora/nextjs-jsonapi 1.71.0 → 1.72.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.
@@ -47,7 +47,7 @@ import {
47
47
  TabsList,
48
48
  TabsTrigger,
49
49
  useCurrentUserContext
50
- } from "../chunk-RSMG3K44.mjs";
50
+ } from "../chunk-ATOD6MGB.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
@@ -8145,6 +8145,8 @@ function EditorSheet({
8145
8145
  isFormDirty: isFormDirtyProp,
8146
8146
  entityType,
8147
8147
  entityName,
8148
+ title: titleOverride,
8149
+ description: descriptionOverride,
8148
8150
  isEdit,
8149
8151
  module,
8150
8152
  propagateChanges,
@@ -8214,8 +8216,8 @@ function EditorSheet({
8214
8216
  ) : /* @__PURE__ */ jsx63(Button, { render: /* @__PURE__ */ jsx63("div", {}), nativeButton: false, size: "sm", variant: "outline", children: t("ui.buttons.create") }) })),
8215
8217
  /* @__PURE__ */ jsxs34(SheetContent, { side: "right", className: sizeClasses[size], children: [
8216
8218
  /* @__PURE__ */ jsxs34(SheetHeader, { className: "border-b px-6 py-4", children: [
8217
- /* @__PURE__ */ jsx63(SheetTitle, { children: isEdit ? t("common.edit.update.title", { type: entityType }) : t("common.edit.create.title", { type: entityType }) }),
8218
- /* @__PURE__ */ jsx63(SheetDescription, { children: isEdit ? t("common.edit.update.description", { type: entityType, name: entityName ?? "" }) : t("common.edit.create.description", { type: entityType }) })
8219
+ /* @__PURE__ */ jsx63(SheetTitle, { children: titleOverride ?? (isEdit ? t("common.edit.update.title", { type: entityType }) : t("common.edit.create.title", { type: entityType })) }),
8220
+ /* @__PURE__ */ jsx63(SheetDescription, { children: descriptionOverride ?? (isEdit ? t("common.edit.update.description", { type: entityType, name: entityName ?? "" }) : t("common.edit.create.description", { type: entityType })) })
8219
8221
  ] }),
8220
8222
  /* @__PURE__ */ jsx63(Form, { ...form, children: /* @__PURE__ */ jsxs34("form", { onSubmit: form.handleSubmit(wrappedOnSubmit), className: "flex min-h-0 flex-1 flex-col", children: [
8221
8223
  /* @__PURE__ */ jsx63("div", { className: "flex-1 overflow-y-auto px-6 py-4", children }),
@@ -8804,7 +8806,7 @@ __name(FormCheckbox, "FormCheckbox");
8804
8806
  import dynamic from "next/dynamic";
8805
8807
  import React14 from "react";
8806
8808
  import { jsx as jsx69 } from "react/jsx-runtime";
8807
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-JWTEY33V.mjs"), {
8809
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-FGZ2MOTZ.mjs"), {
8808
8810
  ssr: false
8809
8811
  });
8810
8812
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -20422,4 +20424,4 @@ export {
20422
20424
  useOAuthClients,
20423
20425
  useOAuthClient
20424
20426
  };
20425
- //# sourceMappingURL=chunk-RSMG3K44.mjs.map
20427
+ //# sourceMappingURL=chunk-ATOD6MGB.mjs.map