@carlonicora/nextjs-jsonapi 1.103.0 → 1.104.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.
Files changed (43) hide show
  1. package/dist/{BlockNoteEditor-NFWTW57Y.js → BlockNoteEditor-5JVM4K6A.js} +17 -17
  2. package/dist/{BlockNoteEditor-NFWTW57Y.js.map → BlockNoteEditor-5JVM4K6A.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-HXQIR3MJ.mjs → BlockNoteEditor-OU4FCTXV.mjs} +4 -4
  4. package/dist/billing/index.js +346 -346
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-6GPAOMNR.js → chunk-A5WAZ7CI.js} +690 -690
  7. package/dist/chunk-A5WAZ7CI.js.map +1 -0
  8. package/dist/{chunk-CK3BMQWY.mjs → chunk-CFECWLHH.mjs} +2 -2
  9. package/dist/{chunk-3KDGODJ7.mjs → chunk-N3NVIPSU.mjs} +8 -1
  10. package/dist/chunk-N3NVIPSU.mjs.map +1 -0
  11. package/dist/{chunk-XAWKRNYM.js → chunk-RXXZGPC3.js} +9 -2
  12. package/dist/chunk-RXXZGPC3.js.map +1 -0
  13. package/dist/{chunk-7ATJEPFQ.mjs → chunk-SF7ZBSBS.mjs} +5 -5
  14. package/dist/{chunk-7ATJEPFQ.mjs.map → chunk-SF7ZBSBS.mjs.map} +1 -1
  15. package/dist/{chunk-SE5HIHJS.js → chunk-VLDLERJN.js} +7 -7
  16. package/dist/{chunk-SE5HIHJS.js.map → chunk-VLDLERJN.js.map} +1 -1
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.js +4 -4
  20. package/dist/components/index.mjs +3 -3
  21. package/dist/contexts/index.js +4 -4
  22. package/dist/contexts/index.mjs +3 -3
  23. package/dist/core/index.d.mts +13 -1
  24. package/dist/core/index.d.ts +13 -1
  25. package/dist/core/index.js +4 -2
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/core/index.mjs +3 -1
  28. package/dist/index.d.mts +1 -1
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +5 -3
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.mjs +4 -2
  33. package/dist/server/index.js +3 -3
  34. package/dist/server/index.mjs +1 -1
  35. package/package.json +1 -1
  36. package/src/features/how-to/components/lists/HowToList.tsx +1 -1
  37. package/src/utils/date-formatter.ts +18 -0
  38. package/src/utils/index.ts +1 -1
  39. package/dist/chunk-3KDGODJ7.mjs.map +0 -1
  40. package/dist/chunk-6GPAOMNR.js.map +0 -1
  41. package/dist/chunk-XAWKRNYM.js.map +0 -1
  42. /package/dist/{BlockNoteEditor-HXQIR3MJ.mjs.map → BlockNoteEditor-OU4FCTXV.mjs.map} +0 -0
  43. /package/dist/{chunk-CK3BMQWY.mjs.map → chunk-CFECWLHH.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  AbstractService,
3
3
  EndpointCreator,
4
4
  Modules
5
- } from "./chunk-3KDGODJ7.mjs";
5
+ } from "./chunk-N3NVIPSU.mjs";
6
6
  import {
7
7
  setBootstrapper
8
8
  } from "./chunk-KK7PYKVI.mjs";
@@ -276,4 +276,4 @@ export {
276
276
  ACTION_TYPES,
277
277
  RbacService
278
278
  };
279
- //# sourceMappingURL=chunk-CK3BMQWY.mjs.map
279
+ //# sourceMappingURL=chunk-CFECWLHH.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