@carlonicora/nextjs-jsonapi 5.7.1 → 5.7.3
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-ARUXU5AV.js → BlockNoteEditor-G45WMJ5V.js} +19 -19
- package/dist/{BlockNoteEditor-ARUXU5AV.js.map → BlockNoteEditor-G45WMJ5V.js.map} +1 -1
- package/dist/{BlockNoteEditor-MNNISNVN.mjs → BlockNoteEditor-R3745ALQ.mjs} +4 -4
- package/dist/{BlockNoteViewer-SD3ZFIXD.js → BlockNoteViewer-5PGOVURC.js} +3 -3
- package/dist/{BlockNoteViewer-SD3ZFIXD.js.map → BlockNoteViewer-5PGOVURC.js.map} +1 -1
- package/dist/{BlockNoteViewer-BVVN6D3T.mjs → BlockNoteViewer-TNK3OMH5.mjs} +2 -2
- package/dist/billing/index.d.mts +6 -5
- package/dist/billing/index.d.ts +6 -5
- package/dist/billing/index.js +493 -505
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +6 -18
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-5TH2DSAH.js → chunk-3CSPHMVK.js} +2 -3
- package/dist/chunk-3CSPHMVK.js.map +1 -0
- package/dist/{chunk-OKCV4GPJ.mjs → chunk-6KAYEYFU.mjs} +2 -2
- package/dist/{chunk-FK26NX3S.mjs → chunk-CJS5WA4E.mjs} +1 -2
- package/dist/chunk-CJS5WA4E.mjs.map +1 -0
- package/dist/{chunk-XOSC3FFP.js → chunk-CP7BXAFH.js} +8 -8
- package/dist/{chunk-XOSC3FFP.js.map → chunk-CP7BXAFH.js.map} +1 -1
- package/dist/{chunk-2WK35GO2.js → chunk-EXG4ANC7.js} +868 -869
- package/dist/chunk-EXG4ANC7.js.map +1 -0
- package/dist/{chunk-2FNSDBJG.mjs → chunk-JCNB5KTQ.mjs} +7 -8
- package/dist/{chunk-2FNSDBJG.mjs.map → chunk-JCNB5KTQ.mjs.map} +1 -1
- package/dist/{chunk-RGQYFSJF.mjs → chunk-KOA5PZZA.mjs} +2 -2
- package/dist/{chunk-WCHLCOZG.mjs → chunk-RJMLAW5O.mjs} +2 -2
- package/dist/{chunk-IJME5SAM.js → chunk-WU47MIZZ.js} +4 -4
- package/dist/{chunk-IJME5SAM.js.map → chunk-WU47MIZZ.js.map} +1 -1
- package/dist/{chunk-2TXE57LE.js → chunk-YG4YFAYY.js} +3 -3
- package/dist/{chunk-2TXE57LE.js.map → chunk-YG4YFAYY.js.map} +1 -1
- 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.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/{currency-pK9eRYRC.d.ts → currency-8ErEC39n.d.ts} +3 -2
- package/dist/{currency-DT_dveBx.d.mts → currency-DrEVd_Xs.d.mts} +3 -2
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.js +121 -121
- 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/blog/index.js +150 -150
- package/dist/features/blog/index.mjs +3 -3
- package/dist/features/blog/server.js +16 -16
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +124 -124
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/messages/en.json +0 -2
- package/messages/it.json +0 -2
- package/package.json +1 -1
- package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +13 -2
- package/src/features/billing/components/utils/date.ts +7 -5
- package/src/features/billing/components/utils/format-options.ts +4 -2
- package/src/features/billing/i18n-keys.ts +0 -2
- package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +0 -19
- package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +2 -1
- package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +2 -1
- package/src/features/oauth/components/OAuthClientDetail.tsx +2 -1
- package/dist/chunk-2WK35GO2.js.map +0 -1
- package/dist/chunk-5TH2DSAH.js.map +0 -1
- package/dist/chunk-FK26NX3S.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-MNNISNVN.mjs.map → BlockNoteEditor-R3745ALQ.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-BVVN6D3T.mjs.map → BlockNoteViewer-TNK3OMH5.mjs.map} +0 -0
- /package/dist/{chunk-OKCV4GPJ.mjs.map → chunk-6KAYEYFU.mjs.map} +0 -0
- /package/dist/{chunk-RGQYFSJF.mjs.map → chunk-KOA5PZZA.mjs.map} +0 -0
- /package/dist/{chunk-WCHLCOZG.mjs.map → chunk-RJMLAW5O.mjs.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isReferralEnabled,
|
|
17
17
|
isRegistrationAllowed,
|
|
18
18
|
useWaitlistText
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RJMLAW5O.mjs";
|
|
20
20
|
import {
|
|
21
21
|
getRoleId,
|
|
22
22
|
isRolesConfigured
|
|
@@ -33,7 +33,6 @@ import {
|
|
|
33
33
|
ClientAbstractService,
|
|
34
34
|
CompanyService,
|
|
35
35
|
ContentService,
|
|
36
|
-
DEFAULT_BILLING_LOCALE,
|
|
37
36
|
DEFAULT_GRANT_TYPES,
|
|
38
37
|
EndpointCreator,
|
|
39
38
|
FeatureService,
|
|
@@ -97,7 +96,7 @@ import {
|
|
|
97
96
|
useIsMobile,
|
|
98
97
|
validateItalianTaxCode,
|
|
99
98
|
validatePartitaIva
|
|
100
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-CJS5WA4E.mjs";
|
|
101
100
|
import {
|
|
102
101
|
ENV
|
|
103
102
|
} from "./chunk-V5MI7RNB.mjs";
|
|
@@ -10711,7 +10710,7 @@ import { useRef as useRef18 } from "react";
|
|
|
10711
10710
|
import dynamic from "next/dynamic";
|
|
10712
10711
|
import React18 from "react";
|
|
10713
10712
|
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
10714
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10713
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-R3745ALQ.mjs"), {
|
|
10715
10714
|
ssr: false
|
|
10716
10715
|
});
|
|
10717
10716
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -16918,7 +16917,7 @@ __name(BlockNoteEditorMentionSuggestionMenu, "BlockNoteEditorMentionSuggestionMe
|
|
|
16918
16917
|
import dynamic2 from "next/dynamic";
|
|
16919
16918
|
import React29 from "react";
|
|
16920
16919
|
import { jsx as jsx177 } from "react/jsx-runtime";
|
|
16921
|
-
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-
|
|
16920
|
+
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-TNK3OMH5.mjs").then((m) => m.BlockNoteViewer), { ssr: false });
|
|
16922
16921
|
var BlockNoteViewerContainer = React29.memo(/* @__PURE__ */ __name(function ViewerContainer(props) {
|
|
16923
16922
|
return /* @__PURE__ */ jsx177(BlockNoteViewer, { ...props });
|
|
16924
16923
|
}, "ViewerContainer"));
|
|
@@ -17603,7 +17602,7 @@ function formatDate2(date, options = {}) {
|
|
|
17603
17602
|
if (!date) return t ? t("billing.ui.not_available") : "N/A";
|
|
17604
17603
|
const dateObj = typeof date === "string" ? new Date(date) : date;
|
|
17605
17604
|
try {
|
|
17606
|
-
return new Intl.DateTimeFormat(locale
|
|
17605
|
+
return new Intl.DateTimeFormat(dateFormatLocale(locale), {
|
|
17607
17606
|
month: "short",
|
|
17608
17607
|
day: "numeric",
|
|
17609
17608
|
year: "numeric"
|
|
@@ -27433,7 +27432,7 @@ function OAuthClientDetail({
|
|
|
27433
27432
|
setShowRegenerateConfirm(false);
|
|
27434
27433
|
}
|
|
27435
27434
|
}, [onRegenerateSecret]);
|
|
27436
|
-
const createdDate = client.createdAt ? new Date(client.createdAt).toLocaleDateString(locale, { dateStyle: "long" }) : t("oauth.ui.card.unknown");
|
|
27435
|
+
const createdDate = client.createdAt ? new Date(client.createdAt).toLocaleDateString(dateFormatLocale(locale), { dateStyle: "long" }) : t("oauth.ui.card.unknown");
|
|
27437
27436
|
return /* @__PURE__ */ jsxs185(Fragment63, { children: [
|
|
27438
27437
|
/* @__PURE__ */ jsxs185(Card, { children: [
|
|
27439
27438
|
/* @__PURE__ */ jsx308(CardHeader, { children: /* @__PURE__ */ jsxs185("div", { className: "flex items-start justify-between", children: [
|
|
@@ -29397,4 +29396,4 @@ export {
|
|
|
29397
29396
|
useOAuthClients,
|
|
29398
29397
|
useOAuthClient
|
|
29399
29398
|
};
|
|
29400
|
-
//# sourceMappingURL=chunk-
|
|
29399
|
+
//# sourceMappingURL=chunk-JCNB5KTQ.mjs.map
|