@carlonicora/nextjs-jsonapi 1.102.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.
- package/dist/{BlockNoteEditor-PRJ3RX4E.js → BlockNoteEditor-GKROOUT5.js} +17 -17
- package/dist/{BlockNoteEditor-PRJ3RX4E.js.map → BlockNoteEditor-GKROOUT5.js.map} +1 -1
- package/dist/{BlockNoteEditor-YTSZZ27G.mjs → BlockNoteEditor-IE2G55U6.mjs} +4 -4
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-CK3BMQWY.mjs → chunk-CFECWLHH.mjs} +2 -2
- package/dist/{chunk-3LWDZZYF.js → chunk-HFLERFFJ.js} +736 -732
- package/dist/chunk-HFLERFFJ.js.map +1 -0
- package/dist/{chunk-C2RBYYRW.mjs → chunk-MPGZADJR.mjs} +54 -50
- package/dist/chunk-MPGZADJR.mjs.map +1 -0
- package/dist/{chunk-3KDGODJ7.mjs → chunk-N3NVIPSU.mjs} +8 -1
- package/dist/chunk-N3NVIPSU.mjs.map +1 -0
- package/dist/{chunk-XAWKRNYM.js → chunk-RXXZGPC3.js} +9 -2
- package/dist/chunk-RXXZGPC3.js.map +1 -0
- package/dist/{chunk-SE5HIHJS.js → chunk-VLDLERJN.js} +7 -7
- package/dist/{chunk-SE5HIHJS.js.map → chunk-VLDLERJN.js.map} +1 -1
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +2 -1
- package/dist/components/index.d.ts +2 -1
- 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 +13 -1
- package/dist/core/index.d.ts +13 -1
- package/dist/core/index.js +4 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +3 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +3 -0
- package/src/utils/date-formatter.ts +18 -0
- package/src/utils/index.ts +1 -1
- package/dist/chunk-3KDGODJ7.mjs.map +0 -1
- package/dist/chunk-3LWDZZYF.js.map +0 -1
- package/dist/chunk-C2RBYYRW.mjs.map +0 -1
- package/dist/chunk-XAWKRNYM.js.map +0 -1
- /package/dist/{BlockNoteEditor-YTSZZ27G.mjs.map → BlockNoteEditor-IE2G55U6.mjs.map} +0 -0
- /package/dist/{chunk-CK3BMQWY.mjs.map → chunk-CFECWLHH.mjs.map} +0 -0
|
@@ -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-
|
|
7622
|
+
//# sourceMappingURL=chunk-N3NVIPSU.mjs.map
|