@carlonicora/nextjs-jsonapi 1.85.0 → 1.87.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-UKGNL227.mjs → BlockNoteEditor-BEEHBP3H.mjs} +26 -7
- package/dist/BlockNoteEditor-BEEHBP3H.mjs.map +1 -0
- package/dist/{BlockNoteEditor-NHEJMFCW.js → BlockNoteEditor-BLNCCSG4.js} +36 -17
- package/dist/BlockNoteEditor-BLNCCSG4.js.map +1 -0
- package/dist/{JsonApiRequest-I2S75QTJ.mjs → JsonApiRequest-IYL5RZ7I.mjs} +2 -2
- package/dist/JsonApiRequest-OSGJ63XR.js +24 -0
- package/dist/{JsonApiRequest-CRRH5B5V.js.map → JsonApiRequest-OSGJ63XR.js.map} +1 -1
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-6UMB5LTQ.mjs → chunk-3KDGODJ7.mjs} +5 -5
- package/dist/{chunk-TTVVHFS4.mjs → chunk-6NA65ZMT.mjs} +1415 -1306
- package/dist/chunk-6NA65ZMT.mjs.map +1 -0
- package/dist/{chunk-PV5V6CVW.mjs → chunk-CK3BMQWY.mjs} +11 -3
- package/dist/chunk-CK3BMQWY.mjs.map +1 -0
- package/dist/{chunk-UUMDUIY6.js → chunk-GNJHCLAL.js} +796 -687
- package/dist/chunk-GNJHCLAL.js.map +1 -0
- package/dist/{chunk-KJ4ETLJB.mjs → chunk-IEJYBQ6J.mjs} +2 -2
- package/dist/{chunk-KJ4ETLJB.mjs.map → chunk-IEJYBQ6J.mjs.map} +1 -1
- package/dist/{chunk-3ZPK4QOB.js → chunk-IOLU4ASD.js} +2 -2
- package/dist/{chunk-3ZPK4QOB.js.map → chunk-IOLU4ASD.js.map} +1 -1
- package/dist/{chunk-4MN547K7.js → chunk-J5LROFGL.js} +2 -2
- package/dist/{chunk-4MN547K7.js.map → chunk-J5LROFGL.js.map} +1 -1
- package/dist/{chunk-BTKJFMFL.mjs → chunk-KK7PYKVI.mjs} +2 -2
- package/dist/{chunk-ZEJSPTHS.js → chunk-SE5HIHJS.js} +27 -19
- package/dist/chunk-SE5HIHJS.js.map +1 -0
- package/dist/{chunk-N4YZ45SK.js → chunk-XAWKRNYM.js} +30 -30
- package/dist/{chunk-N4YZ45SK.js.map → chunk-XAWKRNYM.js.map} +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +7 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +6 -4
- package/dist/components/index.d.mts +45 -2
- package/dist/components/index.d.ts +45 -2
- package/dist/components/index.js +9 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +8 -4
- package/dist/{config-B5oBQVEA.d.ts → config-CLQynoaa.d.ts} +15 -1
- package/dist/{config-Bx_uh22h.d.mts → config-k61pe_o2.d.mts} +15 -1
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/{request-XABCMU25.mjs → request-6VYDNP5T.mjs} +2 -2
- package/dist/request-UR7VPG3G.js +8 -0
- package/dist/request-UR7VPG3G.js.map +1 -0
- package/dist/server/index.js +18 -18
- package/dist/server/index.mjs +3 -3
- package/package.json +2 -1
- package/src/client/config.ts +20 -0
- package/src/components/editors/BlockNoteEditor.tsx +27 -1
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +54 -0
- package/src/components/editors/BlockNoteEditorSuggestionMenuController.tsx +87 -0
- package/src/components/editors/index.ts +2 -0
- package/src/features/auth/components/buttons/GoogleSignInButton.tsx +2 -2
- package/src/features/auth/components/details/LandingComponent.tsx +2 -2
- package/src/features/auth/components/forms/Login.tsx +2 -2
- package/src/features/auth/components/forms/Register.tsx +3 -3
- package/src/index.ts +8 -1
- package/src/server/request.ts +1 -1
- package/dist/BlockNoteEditor-NHEJMFCW.js.map +0 -1
- package/dist/BlockNoteEditor-UKGNL227.mjs.map +0 -1
- package/dist/JsonApiRequest-CRRH5B5V.js +0 -24
- package/dist/chunk-PV5V6CVW.mjs.map +0 -1
- package/dist/chunk-TTVVHFS4.mjs.map +0 -1
- package/dist/chunk-UUMDUIY6.js.map +0 -1
- package/dist/chunk-ZEJSPTHS.js.map +0 -1
- package/dist/request-GBLBPYFM.js +0 -8
- package/dist/request-GBLBPYFM.js.map +0 -1
- /package/dist/{JsonApiRequest-I2S75QTJ.mjs.map → JsonApiRequest-IYL5RZ7I.mjs.map} +0 -0
- /package/dist/{chunk-6UMB5LTQ.mjs.map → chunk-3KDGODJ7.mjs.map} +0 -0
- /package/dist/{chunk-BTKJFMFL.mjs.map → chunk-KK7PYKVI.mjs.map} +0 -0
- /package/dist/{request-XABCMU25.mjs.map → request-6VYDNP5T.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
TabsList,
|
|
48
48
|
TabsTrigger,
|
|
49
49
|
useCurrentUserContext
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-6NA65ZMT.mjs";
|
|
51
51
|
import {
|
|
52
52
|
getRoleId,
|
|
53
53
|
getStripePublishableKey
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-CK3BMQWY.mjs";
|
|
55
55
|
import {
|
|
56
56
|
FeatureService,
|
|
57
57
|
StripeCustomerService,
|
|
@@ -62,10 +62,10 @@ import {
|
|
|
62
62
|
StripeSubscriptionService,
|
|
63
63
|
StripeUsageService,
|
|
64
64
|
cn
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-3KDGODJ7.mjs";
|
|
66
66
|
import "../chunk-AUXK7QSA.mjs";
|
|
67
67
|
import "../chunk-C7C7VY4F.mjs";
|
|
68
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-KK7PYKVI.mjs";
|
|
69
69
|
import "../chunk-VOXD3ZLY.mjs";
|
|
70
70
|
import {
|
|
71
71
|
__name
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
setBootstrapper,
|
|
15
15
|
translateResponse,
|
|
16
16
|
tryBootstrap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KK7PYKVI.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-PAWJFY3S.mjs";
|
|
@@ -326,7 +326,7 @@ var AbstractService = class {
|
|
|
326
326
|
* Make an API call with automatic environment detection and error handling.
|
|
327
327
|
*/
|
|
328
328
|
static async callApi(params) {
|
|
329
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-
|
|
329
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-IYL5RZ7I.mjs");
|
|
330
330
|
let apiResponse;
|
|
331
331
|
let language = "en";
|
|
332
332
|
if (typeof window === "undefined") {
|
|
@@ -416,7 +416,7 @@ var AbstractService = class {
|
|
|
416
416
|
* Make an API call and return both data and meta from the response.
|
|
417
417
|
*/
|
|
418
418
|
static async callApiWithMeta(params) {
|
|
419
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-
|
|
419
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-IYL5RZ7I.mjs");
|
|
420
420
|
let apiResponse;
|
|
421
421
|
let language = "en";
|
|
422
422
|
if (typeof window === "undefined") {
|
|
@@ -501,7 +501,7 @@ var AbstractService = class {
|
|
|
501
501
|
* Get raw JSON:API response data without deserialization.
|
|
502
502
|
*/
|
|
503
503
|
static async getRawData(params) {
|
|
504
|
-
const { JsonApiGet: JsonApiGet2 } = await import("./JsonApiRequest-
|
|
504
|
+
const { JsonApiGet: JsonApiGet2 } = await import("./JsonApiRequest-IYL5RZ7I.mjs");
|
|
505
505
|
let language = "en";
|
|
506
506
|
if (typeof window === "undefined") {
|
|
507
507
|
const { getLocale } = await import("next-intl/server");
|
|
@@ -7612,4 +7612,4 @@ export {
|
|
|
7612
7612
|
AuditLogService,
|
|
7613
7613
|
AuditLogModule
|
|
7614
7614
|
};
|
|
7615
|
-
//# sourceMappingURL=chunk-
|
|
7615
|
+
//# sourceMappingURL=chunk-3KDGODJ7.mjs.map
|