@carlonicora/nextjs-jsonapi 1.44.0 → 1.44.2
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-6AFK4CWV.mjs → BlockNoteEditor-2ZP2BEZC.mjs} +2 -2
- package/dist/{BlockNoteEditor-B6ZR5WGS.js → BlockNoteEditor-C7CVGQDG.js} +6 -6
- package/dist/{BlockNoteEditor-B6ZR5WGS.js.map → BlockNoteEditor-C7CVGQDG.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-ODVHBYOG.js → chunk-24E7WD4J.js} +19 -10
- package/dist/chunk-24E7WD4J.js.map +1 -0
- package/dist/{chunk-7DS3XSAU.mjs → chunk-CLXIZJVH.mjs} +19 -10
- package/dist/chunk-CLXIZJVH.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -1
- 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/FormSwitch.tsx +15 -2
- package/src/components/pages/PageContentContainer.tsx +4 -2
- package/src/features/user/contexts/UserContext.tsx +1 -1
- package/dist/chunk-7DS3XSAU.mjs.map +0 -1
- package/dist/chunk-ODVHBYOG.js.map +0 -1
- /package/dist/{BlockNoteEditor-6AFK4CWV.mjs.map → BlockNoteEditor-2ZP2BEZC.mjs.map} +0 -0
|
@@ -8202,11 +8202,20 @@ __name(FormSlider, "FormSlider");
|
|
|
8202
8202
|
|
|
8203
8203
|
// src/components/forms/FormSwitch.tsx
|
|
8204
8204
|
import { jsx as jsx73, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
8205
|
-
function FormSwitch({
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8205
|
+
function FormSwitch({
|
|
8206
|
+
form,
|
|
8207
|
+
id,
|
|
8208
|
+
name,
|
|
8209
|
+
disabled,
|
|
8210
|
+
description
|
|
8211
|
+
}) {
|
|
8212
|
+
return /* @__PURE__ */ jsxs42("div", { className: "flex w-full flex-col", children: [
|
|
8213
|
+
/* @__PURE__ */ jsx73(FormFieldWrapper, { form, name: id, orientation: "horizontal", children: (field) => /* @__PURE__ */ jsxs42("div", { className: "flex flex-row gap-x-4", children: [
|
|
8214
|
+
/* @__PURE__ */ jsx73(Switch, { checked: field.value, onCheckedChange: field.onChange, disabled }),
|
|
8215
|
+
name && /* @__PURE__ */ jsx73(FieldLabel, { children: name })
|
|
8216
|
+
] }) }),
|
|
8217
|
+
description && /* @__PURE__ */ jsx73(FieldDescription, { children: description })
|
|
8218
|
+
] });
|
|
8210
8219
|
}
|
|
8211
8220
|
__name(FormSwitch, "FormSwitch");
|
|
8212
8221
|
|
|
@@ -8704,7 +8713,7 @@ var UserProvider = /* @__PURE__ */ __name(({ children, dehydratedUser }) => {
|
|
|
8704
8713
|
const response = [];
|
|
8705
8714
|
if (hasPermissionToModule({ module: Modules.User, action: "update" /* Update */ })) {
|
|
8706
8715
|
response.push({
|
|
8707
|
-
name: t(`common.settings
|
|
8716
|
+
name: t(`common.settings`, { item: "settings" }),
|
|
8708
8717
|
href: generateUrl({ page: `/settings` })
|
|
8709
8718
|
});
|
|
8710
8719
|
response.push({
|
|
@@ -10913,7 +10922,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
|
|
|
10913
10922
|
import dynamic from "next/dynamic";
|
|
10914
10923
|
import React15 from "react";
|
|
10915
10924
|
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
10916
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10925
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-2ZP2BEZC.mjs"), {
|
|
10917
10926
|
ssr: false
|
|
10918
10927
|
});
|
|
10919
10928
|
var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -11013,12 +11022,12 @@ function PageContentContainer({ header, details, footer, content, fullBleed }) {
|
|
|
11013
11022
|
id: "right-panel",
|
|
11014
11023
|
defaultSize: rightPanelDefaultSize,
|
|
11015
11024
|
className: cn("w-full", isMobile ? "pt-4" : ""),
|
|
11016
|
-
children: /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto", fullBleed ? "" : "px-4 pb-20"), children: content })
|
|
11025
|
+
children: /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto pt-4", fullBleed ? "" : "px-4 pb-20"), children: content })
|
|
11017
11026
|
}
|
|
11018
11027
|
)
|
|
11019
11028
|
]
|
|
11020
11029
|
}
|
|
11021
|
-
) : /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto", fullBleed ? "" : "px-4 pb-20"), children: content }) })
|
|
11030
|
+
) : /* @__PURE__ */ jsx128("div", { className: cn("h-full overflow-x-hidden overflow-y-auto pt-4", fullBleed ? "" : "px-4 pb-20"), children: content }) })
|
|
11022
11031
|
] });
|
|
11023
11032
|
}
|
|
11024
11033
|
__name(PageContentContainer, "PageContentContainer");
|
|
@@ -16481,4 +16490,4 @@ export {
|
|
|
16481
16490
|
useOAuthClients,
|
|
16482
16491
|
useOAuthClient
|
|
16483
16492
|
};
|
|
16484
|
-
//# sourceMappingURL=chunk-
|
|
16493
|
+
//# sourceMappingURL=chunk-CLXIZJVH.mjs.map
|