@carlonicora/nextjs-jsonapi 4.0.8 → 4.1.1
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-MCYQBKT5.js → BlockNoteEditor-BENYTTCZ.js} +19 -19
- package/dist/{BlockNoteEditor-MCYQBKT5.js.map → BlockNoteEditor-BENYTTCZ.js.map} +1 -1
- package/dist/{BlockNoteEditor-A2E4VUYB.mjs → BlockNoteEditor-VOYKZOP5.mjs} +4 -4
- package/dist/{BlockNoteViewer-TEC7DN2N.js → BlockNoteViewer-USLR4Y7C.js} +3 -3
- package/dist/{BlockNoteViewer-TEC7DN2N.js.map → BlockNoteViewer-USLR4Y7C.js.map} +1 -1
- package/dist/{BlockNoteViewer-4THJHQMK.mjs → BlockNoteViewer-Y2ZM4ESA.mjs} +2 -2
- package/dist/billing/index.js +399 -399
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-IOG22OAO.mjs → chunk-46S3KPLU.mjs} +2 -2
- package/dist/{chunk-5PNDDYGL.js → chunk-4BZJ4LAB.js} +16 -2
- package/dist/chunk-4BZJ4LAB.js.map +1 -0
- package/dist/{chunk-DJRTJBSZ.mjs → chunk-6ISF5KNQ.mjs} +18 -7
- package/dist/chunk-6ISF5KNQ.mjs.map +1 -0
- package/dist/{chunk-C2WQXUL5.js → chunk-F7RNBGHS.js} +3 -3
- package/dist/{chunk-C2WQXUL5.js.map → chunk-F7RNBGHS.js.map} +1 -1
- package/dist/{chunk-RDI62FAT.mjs → chunk-HZVVRIJQ.mjs} +2 -2
- package/dist/{chunk-DYTKNSHY.js → chunk-KS6WZP2E.js} +4 -4
- package/dist/{chunk-DYTKNSHY.js.map → chunk-KS6WZP2E.js.map} +1 -1
- package/dist/{chunk-PL2FHXHR.js → chunk-ORU7KLCY.js} +1068 -1057
- package/dist/chunk-ORU7KLCY.js.map +1 -0
- package/dist/{chunk-7ZRQOLSV.js → chunk-WQ77CUUZ.js} +7 -7
- package/dist/{chunk-7ZRQOLSV.js.map → chunk-WQ77CUUZ.js.map} +1 -1
- package/dist/{chunk-XTOEN5GN.mjs → chunk-ZO3QQ5CQ.mjs} +2 -2
- package/dist/{chunk-Z3226FM6.mjs → chunk-ZZ6E33FO.mjs} +16 -2
- package/dist/chunk-ZZ6E33FO.mjs.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/analytics/index.js +122 -122
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/next-config/index.d.mts +8 -1
- package/dist/next-config/index.d.ts +8 -1
- package/dist/next-config/index.js +31 -9
- package/dist/next-config/index.js.map +1 -1
- package/dist/next-config/index.mjs +31 -9
- package/dist/next-config/index.mjs.map +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/features/company/components/details/CompanyContent.tsx +9 -2
- package/src/features/company/components/forms/CompanyEditor.tsx +2 -0
- package/src/next-config/__tests__/createNextConfig.test.ts +45 -3
- package/src/next-config/csp.ts +25 -4
- package/src/next-config/index.ts +19 -12
- package/src/utils/__tests__/use-mobile.test.tsx +111 -0
- package/src/utils/use-mobile.tsx +30 -1
- package/dist/chunk-5PNDDYGL.js.map +0 -1
- package/dist/chunk-DJRTJBSZ.mjs.map +0 -1
- package/dist/chunk-PL2FHXHR.js.map +0 -1
- package/dist/chunk-Z3226FM6.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-A2E4VUYB.mjs.map → BlockNoteEditor-VOYKZOP5.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-4THJHQMK.mjs.map → BlockNoteViewer-Y2ZM4ESA.mjs.map} +0 -0
- /package/dist/{chunk-IOG22OAO.mjs.map → chunk-46S3KPLU.mjs.map} +0 -0
- /package/dist/{chunk-RDI62FAT.mjs.map → chunk-HZVVRIJQ.mjs.map} +0 -0
- /package/dist/{chunk-XTOEN5GN.mjs.map → chunk-ZO3QQ5CQ.mjs.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isInternalAuthEnabled,
|
|
14
14
|
isReferralEnabled,
|
|
15
15
|
isRegistrationAllowed
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZO3QQ5CQ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
getRoleId,
|
|
19
19
|
isRolesConfigured
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
useIsMobile,
|
|
85
85
|
validateItalianTaxCode,
|
|
86
86
|
validatePartitaIva
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ZZ6E33FO.mjs";
|
|
88
88
|
import {
|
|
89
89
|
ENV
|
|
90
90
|
} from "./chunk-V5MI7RNB.mjs";
|
|
@@ -10587,7 +10587,7 @@ import { useRef as useRef18 } from "react";
|
|
|
10587
10587
|
import dynamic from "next/dynamic";
|
|
10588
10588
|
import React18 from "react";
|
|
10589
10589
|
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
10590
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10590
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-VOYKZOP5.mjs"), {
|
|
10591
10591
|
ssr: false
|
|
10592
10592
|
});
|
|
10593
10593
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -12692,7 +12692,17 @@ function CompanyContent({ company, actions }) {
|
|
|
12692
12692
|
actions && /* @__PURE__ */ jsx132("div", { className: "flex items-center gap-x-2", children: actions })
|
|
12693
12693
|
] }),
|
|
12694
12694
|
/* @__PURE__ */ jsxs74("div", { className: "flex items-start gap-x-6", children: [
|
|
12695
|
-
company.logo && /* @__PURE__ */ jsx132(
|
|
12695
|
+
company.logo && /* @__PURE__ */ jsx132(
|
|
12696
|
+
Image5,
|
|
12697
|
+
{
|
|
12698
|
+
src: company.logo,
|
|
12699
|
+
alt: company.name,
|
|
12700
|
+
width: 150,
|
|
12701
|
+
height: 150,
|
|
12702
|
+
className: "rounded-md",
|
|
12703
|
+
unoptimized: isRemoteImageSrc(company.logo)
|
|
12704
|
+
}
|
|
12705
|
+
),
|
|
12696
12706
|
/* @__PURE__ */ jsxs74("div", { className: "flex flex-col gap-y-2", children: [
|
|
12697
12707
|
company.legal_address && /* @__PURE__ */ jsxs74("div", { className: "text-muted-foreground flex items-center gap-x-2 text-sm", children: [
|
|
12698
12708
|
/* @__PURE__ */ jsx132(MapPinIcon, { className: "h-4 w-4 shrink-0" }),
|
|
@@ -13076,7 +13086,8 @@ function CompanyEditorInternal({
|
|
|
13076
13086
|
src: file ? URL.createObjectURL(file) : company?.logo || "",
|
|
13077
13087
|
alt: "Company Logo",
|
|
13078
13088
|
width: 200,
|
|
13079
|
-
height: 200
|
|
13089
|
+
height: 200,
|
|
13090
|
+
unoptimized: isRemoteImageSrc(file ? void 0 : company?.logo)
|
|
13080
13091
|
}
|
|
13081
13092
|
) : /* @__PURE__ */ jsxs78(Fragment18, { children: [
|
|
13082
13093
|
/* @__PURE__ */ jsx136(UploadIcon3, { className: "my-4 h-8 w-8" }),
|
|
@@ -16737,7 +16748,7 @@ __name(BlockNoteEditorMentionSuggestionMenu, "BlockNoteEditorMentionSuggestionMe
|
|
|
16737
16748
|
import dynamic2 from "next/dynamic";
|
|
16738
16749
|
import React29 from "react";
|
|
16739
16750
|
import { jsx as jsx177 } from "react/jsx-runtime";
|
|
16740
|
-
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-
|
|
16751
|
+
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-Y2ZM4ESA.mjs").then((m) => m.BlockNoteViewer), { ssr: false });
|
|
16741
16752
|
var BlockNoteViewerContainer = React29.memo(/* @__PURE__ */ __name(function ViewerContainer(props) {
|
|
16742
16753
|
return /* @__PURE__ */ jsx177(BlockNoteViewer, { ...props });
|
|
16743
16754
|
}, "ViewerContainer"));
|
|
@@ -27971,4 +27982,4 @@ export {
|
|
|
27971
27982
|
useOAuthClients,
|
|
27972
27983
|
useOAuthClient
|
|
27973
27984
|
};
|
|
27974
|
-
//# sourceMappingURL=chunk-
|
|
27985
|
+
//# sourceMappingURL=chunk-6ISF5KNQ.mjs.map
|