@carlonicora/nextjs-jsonapi 1.103.0 → 1.104.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.
Files changed (41) hide show
  1. package/dist/{BlockNoteEditor-NFWTW57Y.js → BlockNoteEditor-GKROOUT5.js} +17 -17
  2. package/dist/{BlockNoteEditor-NFWTW57Y.js.map → BlockNoteEditor-GKROOUT5.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-HXQIR3MJ.mjs → BlockNoteEditor-IE2G55U6.mjs} +4 -4
  4. package/dist/billing/index.js +346 -346
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-CK3BMQWY.mjs → chunk-CFECWLHH.mjs} +2 -2
  7. package/dist/{chunk-6GPAOMNR.js → chunk-HFLERFFJ.js} +689 -689
  8. package/dist/{chunk-6GPAOMNR.js.map → chunk-HFLERFFJ.js.map} +1 -1
  9. package/dist/{chunk-7ATJEPFQ.mjs → chunk-MPGZADJR.mjs} +4 -4
  10. package/dist/{chunk-3KDGODJ7.mjs → chunk-N3NVIPSU.mjs} +8 -1
  11. package/dist/chunk-N3NVIPSU.mjs.map +1 -0
  12. package/dist/{chunk-XAWKRNYM.js → chunk-RXXZGPC3.js} +9 -2
  13. package/dist/chunk-RXXZGPC3.js.map +1 -0
  14. package/dist/{chunk-SE5HIHJS.js → chunk-VLDLERJN.js} +7 -7
  15. package/dist/{chunk-SE5HIHJS.js.map → chunk-VLDLERJN.js.map} +1 -1
  16. package/dist/client/index.js +4 -4
  17. package/dist/client/index.mjs +3 -3
  18. package/dist/components/index.js +4 -4
  19. package/dist/components/index.mjs +3 -3
  20. package/dist/contexts/index.js +4 -4
  21. package/dist/contexts/index.mjs +3 -3
  22. package/dist/core/index.d.mts +13 -1
  23. package/dist/core/index.d.ts +13 -1
  24. package/dist/core/index.js +4 -2
  25. package/dist/core/index.js.map +1 -1
  26. package/dist/core/index.mjs +3 -1
  27. package/dist/index.d.mts +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +5 -3
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +4 -2
  32. package/dist/server/index.js +3 -3
  33. package/dist/server/index.mjs +1 -1
  34. package/package.json +1 -1
  35. package/src/utils/date-formatter.ts +18 -0
  36. package/src/utils/index.ts +1 -1
  37. package/dist/chunk-3KDGODJ7.mjs.map +0 -1
  38. package/dist/chunk-XAWKRNYM.js.map +0 -1
  39. /package/dist/{BlockNoteEditor-HXQIR3MJ.mjs.map → BlockNoteEditor-IE2G55U6.mjs.map} +0 -0
  40. /package/dist/{chunk-CK3BMQWY.mjs.map → chunk-CFECWLHH.mjs.map} +0 -0
  41. /package/dist/{chunk-7ATJEPFQ.mjs.map → chunk-MPGZADJR.mjs.map} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  useI18nLocale,
21
21
  useI18nRouter,
22
22
  useI18nTranslations
23
- } from "./chunk-CK3BMQWY.mjs";
23
+ } from "./chunk-CFECWLHH.mjs";
24
24
  import {
25
25
  AVAILABLE_OAUTH_SCOPES,
26
26
  AssistantMessage,
@@ -60,7 +60,7 @@ import {
60
60
  showToast,
61
61
  useComposedRefs,
62
62
  useIsMobile
63
- } from "./chunk-3KDGODJ7.mjs";
63
+ } from "./chunk-N3NVIPSU.mjs";
64
64
  import {
65
65
  JsonApiContext
66
66
  } from "./chunk-VOXD3ZLY.mjs";
@@ -9509,7 +9509,7 @@ import { useRef as useRef15 } from "react";
9509
9509
  import dynamic from "next/dynamic";
9510
9510
  import React14 from "react";
9511
9511
  import { jsx as jsx73 } from "react/jsx-runtime";
9512
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-HXQIR3MJ.mjs"), {
9512
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-IE2G55U6.mjs"), {
9513
9513
  ssr: false
9514
9514
  });
9515
9515
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -22428,4 +22428,4 @@ export {
22428
22428
  useOAuthClients,
22429
22429
  useOAuthClient
22430
22430
  };
22431
- //# sourceMappingURL=chunk-7ATJEPFQ.mjs.map
22431
+ //# sourceMappingURL=chunk-MPGZADJR.mjs.map
@@ -1175,6 +1175,12 @@ function useIsMobile() {
1175
1175
  __name(useIsMobile, "useIsMobile");
1176
1176
 
1177
1177
  // src/utils/date-formatter.ts
1178
+ var formatLocalDate = /* @__PURE__ */ __name((d) => {
1179
+ const year = d.getFullYear();
1180
+ const month = String(d.getMonth() + 1).padStart(2, "0");
1181
+ const day = String(d.getDate()).padStart(2, "0");
1182
+ return `${year}-${month}-${day}`;
1183
+ }, "formatLocalDate");
1178
1184
  var formatDate = /* @__PURE__ */ __name((eventDate, formatOption, locale = "en-GB") => {
1179
1185
  const formatPart = /* @__PURE__ */ __name((date, options) => new Intl.DateTimeFormat(locale, options).format(date), "formatPart");
1180
1186
  const now = /* @__PURE__ */ new Date();
@@ -7456,6 +7462,7 @@ export {
7456
7462
  composeRefs,
7457
7463
  useComposedRefs,
7458
7464
  useIsMobile,
7465
+ formatLocalDate,
7459
7466
  formatDate,
7460
7467
  exists,
7461
7468
  TableOptions,
@@ -7612,4 +7619,4 @@ export {
7612
7619
  AuditLogService,
7613
7620
  AuditLogModule
7614
7621
  };
7615
- //# sourceMappingURL=chunk-3KDGODJ7.mjs.map
7622
+ //# sourceMappingURL=chunk-N3NVIPSU.mjs.map