@carlonicora/nextjs-jsonapi 1.42.1 → 1.43.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.
- package/dist/{BlockNoteEditor-4N7TQT7S.js → BlockNoteEditor-6JAYERF6.js} +6 -6
- package/dist/{BlockNoteEditor-4N7TQT7S.js.map → BlockNoteEditor-6JAYERF6.js.map} +1 -1
- package/dist/{BlockNoteEditor-PBQFKKXW.mjs → BlockNoteEditor-Y6CS2DE5.mjs} +2 -2
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-V35USBCM.mjs → chunk-OBPYOP7P.mjs} +17 -5
- package/dist/chunk-OBPYOP7P.mjs.map +1 -0
- package/dist/{chunk-GRMFGTY3.js → chunk-ONRK6D47.js} +17 -5
- package/dist/chunk-ONRK6D47.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +4 -2
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/forms/CommonDeleter.tsx +3 -1
- package/src/components/forms/CommonEditorTrigger.tsx +11 -4
- package/dist/chunk-GRMFGTY3.js.map +0 -1
- package/dist/chunk-V35USBCM.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-PBQFKKXW.mjs.map → BlockNoteEditor-Y6CS2DE5.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -6785,7 +6785,7 @@ __name(errorToast, "errorToast");
|
|
|
6785
6785
|
|
|
6786
6786
|
// src/components/forms/CommonDeleter.tsx
|
|
6787
6787
|
import { Fragment as Fragment4, jsx as jsx56, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6788
|
-
function CommonDeleter({ deleteFunction, redirectTo, type, forceShow }) {
|
|
6788
|
+
function CommonDeleter({ deleteFunction, redirectTo, type, forceShow, testId }) {
|
|
6789
6789
|
const t = useI18nTranslations();
|
|
6790
6790
|
const router = useI18nRouter();
|
|
6791
6791
|
const [open, setOpen] = useState11(forceShow || false);
|
|
@@ -6810,6 +6810,7 @@ function CommonDeleter({ deleteFunction, redirectTo, type, forceShow }) {
|
|
|
6810
6810
|
size: "sm",
|
|
6811
6811
|
variant: "ghost",
|
|
6812
6812
|
className: "text-muted-foreground hover:text-destructive",
|
|
6813
|
+
"data-testid": testId,
|
|
6813
6814
|
children: /* @__PURE__ */ jsx56(Trash2Icon, {})
|
|
6814
6815
|
}
|
|
6815
6816
|
) }),
|
|
@@ -6898,9 +6899,20 @@ __name(CommonEditorHeader, "CommonEditorHeader");
|
|
|
6898
6899
|
import { PencilIcon } from "lucide-react";
|
|
6899
6900
|
import { useTranslations as useTranslations8 } from "next-intl";
|
|
6900
6901
|
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6901
|
-
function CommonEditorTrigger({ isEdit, edit: _edit, create }) {
|
|
6902
|
+
function CommonEditorTrigger({ isEdit, edit: _edit, create, testId }) {
|
|
6902
6903
|
const t = useTranslations8();
|
|
6903
|
-
return /* @__PURE__ */ jsx59(DialogTrigger, { children: isEdit ? /* @__PURE__ */ jsx59(
|
|
6904
|
+
return /* @__PURE__ */ jsx59(DialogTrigger, { children: isEdit ? /* @__PURE__ */ jsx59(
|
|
6905
|
+
Button,
|
|
6906
|
+
{
|
|
6907
|
+
render: /* @__PURE__ */ jsx59("div", {}),
|
|
6908
|
+
nativeButton: false,
|
|
6909
|
+
size: "sm",
|
|
6910
|
+
variant: `ghost`,
|
|
6911
|
+
className: "text-muted-foreground",
|
|
6912
|
+
"data-testid": testId,
|
|
6913
|
+
children: /* @__PURE__ */ jsx59(PencilIcon, {})
|
|
6914
|
+
}
|
|
6915
|
+
) : /* @__PURE__ */ jsx59(Button, { render: /* @__PURE__ */ jsx59("div", {}), nativeButton: false, size: "sm", variant: `outline`, "data-testid": testId, children: create ? create : t(`ui.buttons.create`) }) });
|
|
6904
6916
|
}
|
|
6905
6917
|
__name(CommonEditorTrigger, "CommonEditorTrigger");
|
|
6906
6918
|
|
|
@@ -10866,7 +10878,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
|
|
|
10866
10878
|
import dynamic from "next/dynamic";
|
|
10867
10879
|
import React15 from "react";
|
|
10868
10880
|
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
10869
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10881
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-Y6CS2DE5.mjs"), {
|
|
10870
10882
|
ssr: false
|
|
10871
10883
|
});
|
|
10872
10884
|
var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -16433,4 +16445,4 @@ export {
|
|
|
16433
16445
|
useOAuthClients,
|
|
16434
16446
|
useOAuthClient
|
|
16435
16447
|
};
|
|
16436
|
-
//# sourceMappingURL=chunk-
|
|
16448
|
+
//# sourceMappingURL=chunk-OBPYOP7P.mjs.map
|